Simulink / Stateflow configuration analysis and research development and simulation principle
- Author
- PanHu
- Advisor
- LiYi
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 106
- Citations
- 0
Abstract
With the popularity of digital computers in recent decades, domestic, outside there has been a lot of specialized languages ??and tools for computer numerical simulation,, such CSMP SIMNON, MATLAB / SIMULINK, BUILD, CSMP-C, etc.. With the development of computer-controlled technology, configuration and simulation software platform tools are maturing. Configuration Simulation Software for control engineers in industrial control process, eliminating the need for tedious programming work to resolve the long-standing lack of computer expertise and computer professionals lack of control engineering field operation technology and experience contradictions greatly improved work efficiency. Simulink / Stateflow provides a configuration of an integrated environment for the development of modeling, simulation and analysis. It is a block diagram of the design environment is a dynamic system modeling, simulation and analysis software package, has been widely applied to linear systems, nonlinear systems, digital control and digital signal processing, modeling and simulation. Based on Simulink / Stateflow configuration development and simulation analysis and research, and the eventual realization of a prototype configuration simulation. The paper first analyzes the configuration software use Simulink graphical configuration thought, then tells Simulink simulation module, module library, the general process of simulation, subsystems, and sampling time. Solver the core Simulink simulation, which provides a variety of algorithms to solve the model contains a fixed step size and adventitious step solver. Simulink simulation to go through the model compile, link, and then enter the simulation cycle stage. Stateflow is a special Simulink subsystem, it can carry out complex programming logic processing, and generates code and Simulink together. It is designed to take advantage of the finite state machine thinking, logical process to achieve conversion between different state. For the realization of the prototype is mainly composed of two parts of the graphics module and simulation module. MFC and the idea of ??object-oriented design and graphics module. Design element, abstract graphic elements common design into a base class, the base class of other classes are derived from the Properties dialog box, the dialog class derived. The use of virtual functions and polymorphism thought the time of the drawing can take advantage of the various graphical object drawing function to draw. Graphics save a lot of ways, the main advantage of the data structure of the list, and to facilitate the delete and add graphics, combined with the idea of ??the MFC serialized good graphics are saved to a file which, as well as being read from the file. Simulation design method introduces several major systems in the design of the simulation module contains a continuous system and sampling control system, as well as discrete event systems. Which focus on the sampling control system, which contains discrete simulation module and a continuous module, which is also commonly used in practice, the simulation system.
Table of contents
Abstract 4-5
ABSTRACT 5-9
first chapter 9-15
1.1 research background and significance 9-10
the purpose theoretical basis
1.2 topics 10-13
Introduction to Visual C
1.2.1 development tools
1.2.2 object-oriented thinking 11-13
1.2.3 the MFC Profile 13
1.3 topics and chapter arrangement 13-15
the second background technology and Simulink / Stateflow About 15-30
2.1 graphical configuration 15
2.2 Introduction to computer simulation 15-21
2.2.1 system with the model 16-17
2.2.2 computer simulation 17-19
2.2.3 Simulation of 19
2.2.4 simulation algorithm and simulation software 19-21
2.2.5 computer simulation of the general process 21
2.3 Simulink Introduction 21-26
2.3.1 MATLAB / Simulink development process 21-22
2.3.2 Simulink applications 22
2.3.3 Simulink MATLAB family location 22-23
key concepts 2.3.4 Simulink 23-26
2.4 Stateflow finite state automata 26-28
2.5 Simulink model and Stateflow Charts 28-29
2.6 This chapter summarizes 29-30
Chapter Simulink / Stateflow simulation mechanism 30-38
3.1 solver analysis 30-32
simulation in Simulink 3.2 Analysis 32-34
3.3 Stateflow principle analysis 34-38
3.3.1 Stateflow charts semantic analysis 34-37
3.3.2 flow diagram constructed logistic 37-38
the
graphic module design and realization 38-57
4.1 graphical configuration and function overview 38-42
the 4.1.1 configuration software structure 38-39
4.1.2 graphical configuration design with MFC key technology 39-41
the
the 4.1.3 module functions overview and overall design 41-42
4.2 primitive class design and implementation 42-48
4.2.1 class overall design 42
the 4.2.2 base class design 42-44
the 4.2.3 base class derived class and other classes designed 44-48
4.3 drawing and editing graphics 48-53
4.3.1 drawing operations 48-49
4.3.2 graphics select 49-51
4.3.3 graphical zoom and mouse adaptive 51-52
4.3.4 displays the drawing element's attributes 52
4.3.5 Remove primitives 52-53
4.4 document access 53-55
4.5 This chapter summarizes 55-57
the
design of the simulation module 57-68
5.1 Continuous System Simulation 57-61
5.1.1 numerical integration method for the design 57-60
5.1.2 Other methods and algorithms to select 60-61
5.2 discrete event system simulation 61-62
the
a 5.3 sampling control system 62-67
5.3.1 sampling control system simulation algorithm 63-64
5.3.2 sampling control system simulation design 64-67
5.4 This chapter summarizes 67-68
Chapter 6 Conclusions 68-69
Acknowledgements 69-70
the
References 70-72
Related dissertations
- Research on the Trading Strategy of Continuous Double Auction Based on Markup and Time Dimension
- Design and Implementation of Hot Rolling Simulation Platform Based on Computer Simulation Technology
- The Design and Implementation of ERP Information Simulation System
- The Implementation of Projection Method in OpenFOAM
- The Research on the Simulation of Radar Video Signal
- Analysis of Interference Signal in Electronic Experiment and Design of Anti-jamming Simulation
- The Design Method of Secondary Light Distribution for LED Lighting System
- Computer Simulation of Kinetic Relationship between Human and Apparatus in Gymnastics Vaulting Based on LifeMod
- Study on Cluster Innovation of Culture and Creative Industries
- Exploration and Research on Parameterization Method of Concert Hall Acoustical Design
- Study on the Simulation of RCC Dam Construction Based on Auto CAD
- Research on the Auto Parts Based on Milk-Run Mode with the Method of ABMS
- Simulation on Integrated Berth and Quay Crane Assignment of Container Terminal Based on Queuing Theory
- A Simulation-basod Method for Assessing Passenger Transport Capacity on an Urban Rail Network
- Study of Computer Simulation on Human Pulse Wave
- A Simulation and Experimental Study on Loading Property of Small Hybrid Bearing
- Analysis and Optimization on the Position Control System of Electro-hydraulic Proportional Valve Controlled Cylinder
- Research on optical remote sensing satellite on orbit parameters and image quality parameters
- Research on Simulation for Forming the Large Diamater Lsaw Pipes with Four-point Bending JCO Process
- Kaolin coal gangue microwave activated computer simulation process in Yunnan Laibin coal gangue as an example