Development of Vehicle-Body Control Modules Based on Simulink/Stateflow
- Author
- HuYiTing
- Advisor
- WangJunFeng
- School
- Shanghai Jiaotong University
- Major
- Electronics and Communication Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 236
- Citations
- 0
Abstract
As more and more companies start to design the electronic control units for the automobile, they are all thinking about designing the products with high quality and efficiency, and grabbing the market as soon as possible. Under this circumstances, modeling the electronic control units with Simulink/Stateflow, and generating the code with Real-Time Workshop Embedded Coder for specific hardware, becomes a popular design pattern for these companies.Based on the deeply study and research of Stateflow and Real-Time Workshop, this thesis introduces several important tools and the process of code generation in MATLAB. It also describes the two different applications of Real-Time Workshop: Rapid Simulation and Generate Embedded Code.Body Control Module is an important part of the automobile, this thesis introduces the process of modeling and code generation for BCM. Besides this, it also describes the process of model debugging, writing the test case, checking the code coverage, and defining the specific code format. There are a lot of control modules in the vehicle, they have different functions but can be designed in the same process. Based on this thesis, automobile OEM companies can improve their software development process and design more reliable products.
Table of contents
Summary 2-3
ABSTRACT 3-7
The first chapter 7-9
1.1 Background and Significance 7 < br /> 1.2 research situation at home and abroad major work 7-8
1.3 papers 8-9
Chapter II Real-Time Workshop and Stateflow development environment 9-16
2.1 product Overview 9-10
2.2 Real-Time Workshop 's main functions and features 10-12
2.2.1 Real-Time Workshop the main function of main features 10
2.2.2 Real-Time Workshop is main function 10-12
2.3 Stateflow and features 12-13 <br / > the main function 2.3.1 Stateflow of 12
2.3.2 Stateflow main features 12-13
2.4 Real-Time Workshop Embedded Coder 's main functions and features 13-15
2.4.1 RTW Embedded Coder main function 13-14
2.4.2 RTW Embedded Coder main features 14-15
2.5 Real -Time Workshop application 15-16
Chapter III Real-Time Workshop automatic code generation process Introduction 16-23
3.1 Real-Time Workshop code format introduced 16-17
compare nbsp 3.2 GRT and ERT object code ; 17-19
3.3 Real-Time Workshop to create a program in the process 19-21
3.4 generates code documents produced during 21-23
Chapter IV system model to build the body control module 23-45
4.1 BCM (Body Control Module) Introduction 23 -24
4.2 Stateflow windows model 24-32
4.2.1 windows functional requirements 24-26
4.2.2 build window model 26-28
points 4.2.3 Stateflow modeling verify 28-32
4.3 Stateflow model 32-40
4.3.1 build Simulink model for simulation window 32-34
4.3.2 test preparation 34-36
4.3.3 debugging the model 36 - 40
4.3.3.1 Stateflow debugger 36-38
4.3.3.2 set breakpoints 38-40
4.3.3.3 debugging process 40 < br /> 4.4 code coverage checking 40-45
4.4.1 commonly used code coverage testing criteria 40-41
coverage window model checking nbsp 4.4.2 ; 41-45
Chapter generate customized embedded code 45-57
5.1 TLC target language 45-47
5.1.1 TLC file Category 45
5.1.2 TLC grammar About 45-47
5.2 modify TLC file 47-50
5.2.1 modify the function of a global function name 48-49
5.2.2 modify the code in the header file references 49-50
5.3 configuration Simulink model 50-53
5.4 generation code 53-57
Chapter VI Conclusion 57-58
References 58-59
Thanks 59-60 <br / > published study for a degree during the academic catalog 60-62
Related dissertations
- Research on Automatic Code Generation Technology of Automatic Mechanical Transmission Based on Real-Time Workshop
- Real-time Workshop Mechanism
- A Bus Body Control System Design Based on CAN Bus
- Research of Hybrid Control for Three-phase Inverter
- Electric Vehicle Charging and Discharging Machine Development Based on Embedded Code Generation System
- Research and Implementation of Rail Transit AG Based on Virtools
- Simulation Software Development and Experimental Research of Active Vibration Control Based on LMSAdaptive Filter Algorithm
- Modeling and Simulation of Petri Net in Iron-making System
- Auto Control System of Investment Casting Cutting Machine
- The Research and Application of CAN Bus Static Scheduling Platform on S12
- Design of Body Control Module in Vehicle Based on CAN/LIN Bus
- Research on Modeling, Simulation and Realization of Complex Digital System
- Design and Implementation of Compiler Directives for Tasks Parallelism in Message Passing Computing
- Research on Technologies for MPI Parallel Code Generation and Communication Optimization
- Design and Implementation of a Component-based Configuration Modeling Tool
- Research of Code Automation Based on Relationship-Reuse
- The Study and Design of Code Generation of Frontend and Backend Based on the User’s Guidance in the Development of Workflow
- Research and implementation of data driven tool architecture and automation support
- Research on Transformation Rule Modeling and Rule Code Generation
- Research and Application of Code Generation Technology in Management Information System