Research on Automatic Code Generation Technology of Automatic Mechanical Transmission Based on Real-Time Workshop
- Author
- ZhangXiaoHui
- Advisor
- LiuRiLiang , ZhangChengRui
- School
- Shandong University
- Major
- Mechanical Engineering
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 209
- Citations
- 0
Abstract
With the development of automative electronic control systems, the vehicle integrates more and more features, automotive electronic control systems are complex increasingly. Automotive electronic control technology relys on embedded software, so the function is complex increasingly, which has brought the development of embedded software a great deal of difficulty. Traditional development method of automotive electronic control system software is more and more restricted. AMT technology is the development direction of the automatic trasmission technology, and is the core of today’s car manufacturers. Therefore, how to seek a rapid, efficient development process is the goal of the major manufacturers have been striving for. In this thesis, According to the typical characteristics of the AMT system, Introduce the method of code generation based on model-based design, and use the Matlab/RTW code generation toolbox to achieve code generation of AMT system.Firstly, describe the AMT technology and automotive electronics software development briefly, and introduce the drawbacks of traditional development model and the advantages of model-based design. Secondly, describe hardware platform design and software system architecture of AMT system. And then study the secondary development technology of Matlab/RTW, Including how to write S Function and TLC file, use the RTW toolbox to develop the device driver module of AMT hardware platform. Complete the package of device driver module and study the generated code. In addition, according to the typical event-driven architecture of AMT system, the application layer to be divided into several levels, then use the Matlab/stateflow toolbox to build AMT system models. Complete code generation and integration of system models, and verify the generated code by the means of bench and road tests, and analyze the collected test data to verify the feasibility of the model codeThe test prove that using the model-based design has some advantage,including it has clear structure, convenient and functional extensions and cutting, code generation techniques speed up the development process, reduce the labor intensity of manually writing code. The generated code is clear,efficient and close to the handwritting code. The experiment results show that the method is effective and pratical.
Table of contents
Summary 9-10
ABSTRACT 10-12
Chapter 1 Introduction 12-20
1.1 subject background and significance 12 -14
1.2 AMT technology overview 14-15
1.3 domestic and foreign research status 15-17
1.3.1 code generation tools introduced 15 -17
1.3.2 development Trend research 17
1.4 topics 17-20
Chapter 2 AMT system design 20-30
2.1 AMT system works 20-21
2.2 TCU hardware platform 21-24
2.3 AMT software system architecture 24-27 <br / > 2.3.1 software overall structure 24-26
2.3.2 system tasks into 26-27
2.4 Summary 27-30
Article Chapter 3 device Driver development module 30-52
3.1 Matlab / RTW development environment 30-33
3.1.1 RTW features 30-31
3.1.2 RTW program creation process 31-32
3.1.3 open architecture 32-33
3.2 device driver modules preparation methods 33 -40
3.2.1 S function mechanism 33-35
3.2.2 S function written 35-39
3.2.3 compiler target language TLC 39-40
3.3 STM32 driver module written 40-50
3.3.1 S write non- inline function 40-44
3.3. 2 write TLC file 44-47
3.3.3 Creating GPIO module 47-50
3.4 Summary 50-52
Chapter 4 AMT system modeling and code generation 52-72
4.1 Stateflow technical presentations 52-54
4.2 AMT system modeling 54-66
4.2. an application layer logic 54-55
4.2.2 control decision-making model 55-56
4.2.3 initial state control strategy 56-58 <br / > 4.2.4 running state control strategy 58-66
4.3 model code generation 66-68
4.4 generated code file analysis 68-70
4.5 Summary 70-72
Chapter 5 bench and road tests 72-86
5.1 code integration 72-75
5.2 bench test 75-80
5.2.1 shift Mechanism test 76-79
5.2.2 clutch actuator test 79-80
5.3 road test 80-85
5.3.1 initial state testing and data analysis 81-82
5.3.2 shift Strategy testing and data analysis 82 - 85
5.4 Summary 85-86
Conclusion and Outlook 86-88
References 88-94
Thanks 94-95
dissertation defense review and table 95
Related dissertations
- Real-time Workshop Mechanism
- Research on Modeling, Simulation and Realization of Complex Digital System
- Based on Simulink and Stateflow modeling of embedded software development platform
- Development of Vehicle-Body Control Modules Based on Simulink/Stateflow
- Research&Realization on Key Technologies of Semi-physical Simulation Platform Based on RTAI
- Research of Hybrid Control for Three-phase Inverter
- The Hardware-in-the-loop Real-time Simulation Research of PMSM with RT-LAB
- The Design and Realization of Hardware of Tractor AMT Controller Based on DSP
- Software Design of Tractor AMT Control System Based on DSP/BIOS
- Study on Control Strategy for Automated Mechanical Transmission of Tractor
- Electric Vehicle Charging and Discharging Machine Development Based on Embedded Code Generation System
- Research on Testing Bench of Heavy-duty Vehicle AMT
- Research on the Control Strategies of AMT's Clutch Engagement at Vehicle Start
- Research and Simulation on Shift Schedule in Automated Mechanical Transmission (AMT)
- Study of AMT clutch control system
- Hill-start Control Strategy of Heavy Off-road Vehicles Equipped with AMT Based on Multi-signal Integration
- Unmanned ground chassis overall design of mobile platform
- 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