Code-Generation for Autonomous Vehicles Based on Ptolemy Ⅱ

Author
HeYue
Advisor
CaiWeiHong
School
Shantou University
Major
Computer Software and Theory
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2010
Downloads
51
Citations
0

Request the full text

Abstract

According to the unceasing increment of functional requirement and system complexity of the autonomous vehicles control systems, defect and deficiency of traditional software development methodology is becoming manifest. Given guaranteeing the correctness and safety of autonomous vehicles control systems software and increasing the efficiency of software development, this thesis proposes a kind method of autonomous vehicles control systems software development based on Ptolemy II after summarized and compared M MBD (Model-based Development) with MDD (Model Driven Development), and analyzed the shortcomings of traditional software development methodology. This method realized code generation from system model and communication model, which do increase the e efficiency of autonomous vehicles control systems software development. Further more, this method verified the correctness of design by deploy the generated code onto distributed computation platform performing HILS (Hardware-in-The-Loop Simulation). The main contains and contributions of this thesis are as follows.First, we put forward the autonomous vehicle control system software development method based on Ptolemy II. Model-based design methodology is introduced to solve the problem of correctness and dependability in autonomous vehicle control system software design. Synchronous dataflow is a model of computation suitable for modeling control systems. In a synchronous dataflow model, the underlying model of computation governs the interaction and communication of the components in the model. MIC (Model-Integrated Computing)is utilized to build CME meta-model by UML in GME. Based on the CME meta-model, the code interpreter is built for generating communication code, and the model transfer interpreter is built for transferring CME models to models which can be parsed in Ptolemy II simulation environment. Code interpreter and model transfer interpreter have the universal properties of code generation and model transformation form different models of different systems.Second, Ptolemy II is used to model autonomous vehicles control system,which is a system level heterogeneous model design and simulation platform. Model code can be g enerated from the Ptolemy II after we improved on some defects of the code generator. The code of communication for fulfills distribution data transformation is automatically generated by CME code interpreter. The autonomous vehicle control system software development method based on Ptolemy II increase of efficiency of software development by automation code generation.Third, we take controlling fly the quid-rotor helicopter performing distributed HILS by autonomous vehicle control system as an instance to explore the feasibility and validity of the autonomous vehicle control system software development method. The experimental results validate the correctness of the software designed by the method.

Table of contents

Abstract 3-4 Abstract 4-6 directory 6-8 Chapter 1 Introduction 8-17 1.1 Background 8-10 1.2 embedded systems software development methods outlined 10-13 1.2.1 model-based development Overview 10-12 1.2.2 model-driven development thinking Overview 12-13 1.3 Overview of code generation 13-14 1.4 In this paper, the objectives and content of 14-15 1.5 This article structure 15-17 Chapter 2 Research Foundation and related tools 17-22 2.1 based on the model of software design methods and model-driven software design methods 17-18 2.2 model integrated computing 18-20 2.3 related tools introduced 20-22 2.3.1 Ptolemy II 20-21 2.3.2 GME 21-22 Chapter 3 autonomous vehicle control system software design 22-26 3.1 traditional autonomous vehicle control system software development methods 22-23 3.1.1 autonomous vehicle control system software development challenges 22 3.1.2 traditional autonomous vehicle control system software development methods defect 22-23 3.2 based on Ptolemy II development of autonomous vehicle control system software 23-24 3.2.1 23 autonomous aircraft based on Ptolemy II control system software development ideas 3.2.2 autonomous aircraft based on Ptolemy II control system software development points 23-24 3.3 independent of overall structure and function of the aircraft control system design 24-26 Chapter 4 autonomous vehicle control system code generation 26-42 4.1 based computing model code generated 26-34 4.1.1 computing model (Models of Computation) 26-27 4.1.2 synchronous data flow computing model code generation mechanism 27-30 4.1.3 Ptolemy II code generation mechanism 30-32 4.1.4 Ptolemy II code generated defects and improved 32-34 4.2 MIC-based communication code generation 34-42 4.2.1 CME yuan model building 34-36 the 4.2.2 model code interpreter design 36-40 4.2.3 model conversion interpreter design 40-42 the of Chapter 5 distributed platform hardware in the loop simulation experiments 42-52 the the 5.1 embedded distributed experimental platform 42-44 5.2 aircraft control system modeling and code generated 44-50 5.2.1 Ptolemy II environment control system modeling 44-45 5.2.2 The control system model code generated 45-46 the a 5.2.3 distributed communication code generated 46-50 5.3 distributed hardware in the loop simulation results 50-52 Chapter 6 papers Summary and Outlook 52-54 6.1 work and progress 52-53 6.2 follow-up Outlook 53-54 the References 54-58 part of the role in the appendix modified Template File 58-62 Acknowledgements 62-63 the papers of 63

Related dissertations

  1. Applied Research on HIL Simulation of Fused Quartz Furnace Control System
  2. Optimization Control Method and Hardware-in-the-loop Simulation Platform of the Raw Slurry Blending Process
    RenQunYing ·Liaoning University of Technology ·2014 ·Master's thesis
  3. Power Hardware In the Loop Simulation Technology of Microgrid
    BaiJianCheng ·Beijing Jiaotong University ·2014 ·Master's thesis
  4. The Software Design and Implementation of Hardware-in-the-loop Simulation Platform for Pump-turbine Transient Process
  5. Electric Vehicle Charging and Discharging Machine Development Based on Embedded Code Generation System
    YaoWenDao ·Zhongyuan Institute of Technology ·2013 ·Master's thesis
  6. The Simulation Research on Control Strategy of ISG Hybrid Electric Vehicle with Dual Clutches
    WangMing ·Hefei University of Technology ·2013 ·Master's thesis
  7. Study on Hardware-in-the-loop Simulation Test-bed for Steer-by-wire System Based on Model-based Design
  8. Research on SINS/GNSS integrated navigation system for Missile
  9. Design of Hardware-In-The-Loop Simulation Platform for Aircraft Braking System Based on LabVIEW
    BianJing ·Central South University ·2013 ·Master's thesis
  10. VxWorks electro-optical targeting pod technology transfer alignment based on
  11. Simulation Software Development and Experimental Research of Active Vibration Control Based on LMSAdaptive Filter Algorithm
    QiHaiChao ·Harbin Engineering University ·2012 ·Master's thesis
  12. Study and Design of Controllers and Communication Protocols for Networked Control Systems
  13. Research on Automatic Code Generation Technology of Automatic Mechanical Transmission Based on Real-Time Workshop
    ZhangXiaoHui ·Shandong University ·2012 ·Master's thesis
  14. Research and Development of the Hardware in the Loop Simulation Platform for the Range-extender’s ECU of Electric Vehicle
    ZhouMingZuo ·China Jiliang University ·2012 ·Master's thesis
  15. Design and Implementation of Compiler Directives for Tasks Parallelism in Message Passing Computing
    HuangMingYi ·Sun Yat-sen University ·2012 ·Master's thesis
  16. Research on Technologies for MPI Parallel Code Generation and Communication Optimization
  17. Design and Implementation of a Component-based Configuration Modeling Tool
  18. Research of Code Automation Based on Relationship-Reuse
    QiuHuiFeng ·Nanchang University ·2012 ·Master's thesis
  19. The Study and Design of Code Generation of Frontend and Backend Based on the User’s Guidance in the Development of Workflow
  20. Research and implementation of data driven tool architecture and automation support
    WangZhenHua ·Shanghai Normal University ·2012 ·Master's thesis