当前位置:主页 > 科技论文 > 计算机论文 >

基于Stateflow的空气消毒器设计

发布时间:2019-07-09 09:57
【摘要】:随着电子产品的发展,嵌入式系统应用越来越广泛,功能也日益强大,人们对电子类产品的需求逐渐增大,功能和要求也越来越多,控制软件的规模与系统的逻辑和复杂性也随之增加。其中有些嵌入式系统是基于复杂逻辑控制的事件响应的,这类系统用传统的开发手段既费时又费力,,维护起来也相当麻烦。开发者开始思考新的开发手段,针对于软件开发的这种需求,MATLAB推出了基于系统建模的Simulink和Stateflow工具,Stateflow是集成Simulink图形化设计与开发的工具,运用Stateflow进行逻辑系统的建模,可以使产品的开发周期极大地缩短,维护起来也更加方便。 本文首先介绍了Simulink基于模型设计的过程,什么是有限状态机,然后介绍了逻辑系统建模Stateflow图形化设计与开发工具,以及GUI用户界面图形的设计与其开发环境,最后基于Stateflow完成对空气清新器设计的实例 空气清新器实例根据客户需求做出前期的需求分析,主要采用ST公司的STM8S105S68位超低功耗芯片作为主控芯片,搭建硬件系统平台的主控板。空气消毒器实际上是通过遥控器对它消毒模式及时间进行操作,相当于事件响应系统或者说是动态变换系统,软件平台搭建利用状态流Stateflow通过创建空气消毒器的主控状态图、按键状态图和继电器状态图进行控制系统状态的切换,遥控器控制部分通过Simulink模型以及运用GUIDE设计遥控器界面,对遥控器控制的事件驱动系统进行建模和仿真,从而实现空气消毒器复杂逻辑系统的建模,使得空气清新器系统的设计更加直观简洁,易于维护,再利用Real-Time Workshop工具生成目标代码。最后对论文进行了工作总结与展望。
文内图片:Simulink基本模块库
图片说明:Simulink基本模块库
[Abstract]:With the development of electronic products, the application of embedded system is becoming more and more extensive and the function is becoming more and more powerful. Some embedded systems are based on the event response of complex logic control. The developer began to think about the new development means, aiming at the demand of software development, the Simulink and the Staeflow tool based on the system modeling are introduced in the MATLAB, and the Stateflow is a tool for graphical design and development of the integrated Simulink, and the modeling of the logic system is carried out by using the Stateflow, so that the development cycle of the product can be greatly shortened, And the maintenance is more convenient. This paper first introduces the process of Simulink based on the model design, what is the finite state machine, then introduces the modeling of the logic system and the development tool, and the design of the GUI user interface graph and its development ring. where the air freshener is designed based on Stateful The example of the air freshener is based on the demand of the customer, and the STM8S105S68 bit ultra-low power chip of ST company is used as the main control chip, and the hardware system platform is set up. The main control board. The air sterilizer is in fact operated by the remote controller to the disinfection mode and time, which is equivalent to the event response system or the dynamic transformation system, and the software platform sets up the main control for creating the air sterilizer by using the state flow Statulow the state diagram, the key state diagram and the relay state diagram are used for switching the state of the control system; the control part of the remote controller is used for modeling and simulating the event driven system controlled by the remote controller through the Simulink model and the GUI design remote controller interface so as to realize the complex logic system of the air sterilizer The modeling of the air freshener system makes the design of the air freshener system more intuitive and simple, is easy to maintain, and uses the Real-Time Workshop tool to generate the mesh. Standard code. Finally, a summary of the work is carried out
【学位授予单位】:吉林大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP368.1

【参考文献】

相关期刊论文 前4条

1 沈凌庆;;产房两种空气消毒方法效果对比[J];菏泽医学专科学校学报;2009年04期

2 张文斗;陈t

本文编号:2512073


资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2512073.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户fdaf4***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com