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

Request the full text

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

  1. Research on Automatic Code Generation Technology of Automatic Mechanical Transmission Based on Real-Time Workshop
    ZhangXiaoHui ·Shandong University ·2012 ·Master's thesis
  2. Real-time Workshop Mechanism
  3. A Bus Body Control System Design Based on CAN Bus
    LiJie ·Anhui Agricultural University ·2013 ·Master's thesis
  4. Research of Hybrid Control for Three-phase Inverter
    LvFei ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Electric Vehicle Charging and Discharging Machine Development Based on Embedded Code Generation System
    YaoWenDao ·Zhongyuan Institute of Technology ·2013 ·Master's thesis
  6. Research and Implementation of Rail Transit AG Based on Virtools
    WenLu ·Chang'an University ·2013 ·Master's thesis
  7. Simulation Software Development and Experimental Research of Active Vibration Control Based on LMSAdaptive Filter Algorithm
    QiHaiChao ·Harbin Engineering University ·2012 ·Master's thesis
  8. Modeling and Simulation of Petri Net in Iron-making System
    YuShui ·Tianjin University of Technology ·2013 ·Master's thesis
  9. Auto Control System of Investment Casting Cutting Machine
    LiuDan ·Agricultural University of Hebei ·2013 ·Master's thesis
  10. The Research and Application of CAN Bus Static Scheduling Platform on S12
    ChenYu ·Wuhan University of Technology ·2012 ·Master's thesis
  11. Design of Body Control Module in Vehicle Based on CAN/LIN Bus
    WangLiang ·Hunan University ·2011 ·Master's thesis
  12. Research on Modeling, Simulation and Realization of Complex Digital System
    BaiXue ·South China University of Technology ·2013 ·Master's thesis
  13. Design and Implementation of Compiler Directives for Tasks Parallelism in Message Passing Computing
    HuangMingYi ·Sun Yat-sen University ·2012 ·Master's thesis
  14. Research on Technologies for MPI Parallel Code Generation and Communication Optimization
  15. Design and Implementation of a Component-based Configuration Modeling Tool
  16. Research of Code Automation Based on Relationship-Reuse
    QiuHuiFeng ·Nanchang University ·2012 ·Master's thesis
  17. The Study and Design of Code Generation of Frontend and Backend Based on the User’s Guidance in the Development of Workflow
  18. Research and implementation of data driven tool architecture and automation support
    WangZhenHua ·Shanghai Normal University ·2012 ·Master's thesis
  19. Research on Transformation Rule Modeling and Rule Code Generation
    SunZheng ·Chongqing University ·2012 ·Master's thesis
  20. Research and Application of Code Generation Technology in Management Information System
    DongYuMing ·Jilin University ·2012 ·Master's thesis