Development of Real-time Simulating Verification Platform Based on xPC Target
- Author
- LuXianBiao
- Advisor
- GongYiMin
- School
- Jilin University
- Major
- Radio Physics
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 98
- Citations
- 0
Abstract
With the rapid development of economy and society, market demands for theproducts present the trend of diversity and rapidness. Traditional project developmentoften uses liner developing process, by analyzing project requirements, system-leveldesign, specific design, realization of software and hardware, design verification anddebugging, processing test, all of these steps need different work groups with varieddevelop tools. The whole develop process is sequential, not iterative developmentmodel. So, developing with traditional liner model is not efficient enough, and with itslong developing cycle, can no more meet market demands.With the demands of modern enterprises for the parallel project of designing,realizing, testing and producing simultaneously, MathWorks toolset from MathWorksCorporation provides a integrated rapid solving solution for the realizing of parallelprojects, by achieving all stages in the development process. Developers can usnSimulink and Stateflow in Matlab to build functional model and complete the initialdesign. In xPC Target environment, using Real-Time Workshop, RTW, rapidprototype system, developers can real-time test models with xPC Target or Real-TimeWindows Target. By connecting models and physical systems with rapid prototypetargets, controlling physical device with target application programs generated byMatlab/xPC real-time simulating environment, developers can observe controllingeffects on the physical device and adjust the simulation parameters or change themodel to meet the needs. These steps are called semi-physical simulation, orhardware-in-the-loop simulation. This process makes developers able to find modeldesign defects or errors in real-time simulation procedure and fix them in testing step;what’s more, semi-physical simulation is no more a kind of pure digital simulation inideal state but taken factors such as disturbance and noise into account. Thesimulation results are much better than ones of digital simulation, and more close to the actual situation.In this paper, the main goal is to build a semi-physical simulation platform, basedon xPC Target real-time simulation system verification platform. xPC Target in thispaper is used as host-target mode, with Ethernet communication on TCP/IP protocol.Flash disk is used for target boot. In xPC Target environment, driver blocks formultifunction DAQ device Advantech PCI-1711are developed with C MEXS-Function. Drivers are tested by building simulation models and verifying real-timeperformance and reliability of simulation results.
Table of contents
Summary 4-5
Abstract 5-10
Chapter 1 Introduction 10-18
research background and significance of 1.1 topics Overview 10-12
1.2 real-time simulation system composition 12-16
1.2.1 Real-time simulation system 12-13
1.2.2 common real-time simulation system introduced nbsp Research status 13-16
1.3 and abroad ; main content and structure 16-17
1.4 papers 17-18
1.4 the main content of the paper .1 17
1.4.2 thesis structure introduce 17-18
Chapter 2 xPC target 18-31
2.1 Matlab / Simulink simulation environment 18
2.2 RTW real-time simulation environment 18-19
2.3 xPC target environment 19-28
2.3.1 hardware environmental 20-23
2.3.2 software environment 23-25 ??
2.3.3 xPC target mode 25-26
2.3.4 users interact 26-28
2.4 xPC target startup mode 28-31
2.4.1 U disk boot 29-30
2.4.2 hard disk 30
2.4.3 network Boot 30-31
Chapter 3 xPC target real-time simulation based verification platform to build 31-60 <br 3.1.2 generates DOS loaded 31-33
; /> xPC target boot disk produced 3.1 goals 31-35
3.1.1 will make a U disk DOS boot disk nbsp the target of the boot disk 33-35
3.2 build communication connection host and target machines 35-36
3.3 using C MEX S- function device drivers written under xPC environment modular approach 36-48
introduction 3.3.1 S- function writing 37
3.3.2 S- function 37-45
3.3 .3 package nbsp S- functions ; 45-48
3.4 multifunction data acquisition card PCI-1711 driven design 48-60
3.4.1 introduction PCI-1711 board 48-49
3.4.2 analog Input AD 49-52
3.4.3 analog Output DA 52-55
3.4.4 digital input DI 55
3.4.5 digital output DO 55-56
3.4.6 rectangle Bobo Te rate transmitter 56-58 <br / > 3.4.7 baud Rate transmitter 58-60
Chapter 4 system based on xPC target real-time simulation model validation verification platform 60-68
4.1 AD driver test results of the simulation model building and simulation analysis 60-62
4.2 DA -driven testing to build simulation models and simulation results analysis 62-63
4.3 DI -driven simulation model building and simulation tests analysis 63-64
4.4 DO test drive to build simulation models and simulation results analysis 64-65
4.5 square wave generator driving test simulation model building and analysis of simulation results 65-66
4.6 baud rate generator driving test simulation model building and analysis of simulation results 66-68
text of Chapter 5 summary and Outlook 68-70
5.1 This work summarizes 68-69
5.2 Prospects for further work 69-70
References About 70-72
authors and research 72-73
Thanks 73
Related dissertations
- Design and Implementation of Continuous Glucose Monitoring System Based on Wireless
- Temperature Control System Design of MOCVD
- The Design and Implementation of Software System for Integrated Circuit Burn-in Test Equipment Based on Embedded Linux
- A Research of Control Method for Pneumatics ABS Based on Logic Thresholds Method
- Research on Intelligent Nonlinear Control for Turbo-Shaft Engine
- Design of Drill String Heave Compensation System Applied in the Marine Drilling
- Design and Realization of automatic controller programming based on x86
- Develop of Data Acquisition System Based on xPC Target
- Research and Development of the Hardware in the Loop Simulation Platform for the Range-extender’s ECU of Electric Vehicle
- The Design of Embedded Systems for Data Transmition Based on SOPC
- Research on Modeling and Simulation of Electrical Machine Dynamics Based on MATLAB
- Research on Impact of the Direct Drive Wind Farm on Power System Relay Protection
- Fault Analysis and the Protection Design of the Grounding Transformer
- Experimental Studies on Direct Torque Control Algorithm of Hybird Vehicle Motor
- Research of Hydraulic Excavator’s Energy-saving Control System Based on Global Power Matching
- The Study and Exploration of Excavator Robotization Experimental System
- Study on Real-Time Simulation Experiment Platform for Anti-Lock Braking System Based on xPC Target
- Turbo-shaft Engine Modeling and Real-time Simulation Based on Matlab
- Research on Simulation and Control System for Micro Turbine Engine
- Research for Matrix Converter Based on Double Space Vector Modulation Control Method