Develop of Data Acquisition System Based on xPC Target
- Author
- LiDingXia
- Advisor
- GongYiMin
- School
- Jilin University
- Major
- Radio Physics
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 60
- Citations
- 0
Abstract
As an applied discipline alone with theoretical derivation and scientificexperiments, simulation has many advantages such as good controllability,non-destructive, low cost and not condition-restricted. So it’s widely used inproduct design and development to production test, and then to use maintenanceand other aspects. Semi-physical simulation has obvious advantages compared withthe traditional simulation process. Since the semi-physical simulation technologyassociates simulation platform with real hardware, reduces the errors due to theimprecision in the modeling of the simulation object and improves the accuracy ofthe simulation. In the field, many companies have introduced finishedsemi-physical simulation platforms, most of them use dedicated simulation systemsand interface devices. Although these dedicated systems have some advantages interms of compatibility and real-time performance, however, there is obviouslyinsufficient in scalability and post-use costs, which makes them difficult to meet thediverse needs that may arise in the research tasks. Therefore, there is considerablepractical significance in discovering real-time semi-physical simulation platformusing general-purpose computer system as well as for general industrial useinterface devices.In this paper, firstly summarized the current mainstream real-timesemi-physical simulation platform, and after a comprehensive analysis of theadvantages and disadvantages of each platform, platform based onMATLAB/Simulink combined with Real-time Workshop is selected as study object.The main contents include:1. Build of real-time simulation environment based on MATLAB/Simulink,including software part, hardware part and connecting target computer with hostcomputer.2. Device driver developing in xPC Target environment. Because xPC Targetuses a special real-time core, windows drivers are not available in xPC Targetenvironment. So manual driver writing is needed.3. Based on the above, a real-time semi-physical simulation prototype systemis built. With it, data acquisition function is achieved. For the possible futuresemi-physical simulation and model validation task, functions involved arecommissioned.
Table of contents
Summary 4-5
Abstract 5-8
first chapter 8-12
1 -loop simulation Introduction 8 - 9
2 common semi-physical simulation platform to introduce research 9-10
3 of this paper build a 10-12
Chapter II simulation environment 12-25
1 RTW basic concepts 12-13
1.1 goals and target profile 12
1.2 host and target machines 12
1.3 code format 12
1.4 target language compiler 12-13
1.5 TLC file 13
1.6 Template makefile, and binder template file called 13
build 2 MATLAB / Simulink software system 13-15
3 xPC Target settings 15-19
4 model runs and Scheduling 19-25
4.1 xPC Target Explorer mode 20-22
4.2 using Simulink external mode control 22-25 <br / > the third chapter written xPC Target interface card driver 25-48
1 Overview 25-27
2 preparation prepared 27-33 < way br /> 2.1 I / O operations 27-31
determine nbsp 2.2 memory address ; 31-33
3 simple driver 33-40
3.1 xpc-Target in a simple device driver overview writing 33-34
3.2 simple device driver 34-37
3.3 xpc-Target driver package 37-40
4 interrupt driver 40-48
4.1 xpc-Target interrupt processing Overview 40-43
4.2 Advantech PCI- 1751 interrupt function 43-44
4.3 interrupt -driven document written testing and application 44-48
Chapter real-time data acquisition system 48-56
1 data acquisition system functionality and performance testing 48-53
1.1 analog capture part 48-50
1.2 digital acquisition part 50-51
1.3 document capture functional part extended 51-53
2 semi-physical simulation platform direction 53-56
2.1 analog output section 54-55
2.2 digital output section 55-56
Chapter summary and Outlook 56-57
References 57-58
Thanks 58
Related dissertations
- Based on Simulink and Stateflow modeling of embedded software development platform
- Design and Rasearch of the Electric Control Suspension’s Hardware in the Loop Experiment Platform
- Temperature Control System Design of MOCVD
- Research&Realization on Key Technologies of Semi-physical Simulation Platform Based on RTAI
- Motion Object Detection Based on Dm642
- Simulation Research on Modulation Technology for THz Communication System
- Study of Lead-acid Battery Bank Applied in Long Pulse Magnet Power Supply System
- The Research of Improved Dual-Windowed Interpolation Harmonic Detection and Hybrid Active Power Filter Simulation
- The Research of Photovoltaic Grid-connected System Islanding
- The Control Strategy of Wind Power System Based on Direct-drive Type of PMSG
- Research on the Control Strategy of the Single-phase Photovoltaic Grid-connected Inverter with LCL Filter
- Study for Cascade Brushless Doubly-fed Machine and Its Speed Control System Application
- The Hardware-in-the-loop Real-time Simulation Research of PMSM with RT-LAB
- Study on Application of Intelligent Algorithm in Control System of Brushless DC Motor
- Research of High-performance Permanent Magnet Brushless DC Motor Speed Control System
- Research on Modeling and the Energy Saving Control Strategies of Hybrid Hydraulic Excavator
- The Simulation Study on Semi-active Control of MR Damper to Excvavtor
- The Analysis of Semi-active Control of Structure Vibration Based on Ant Colony Algorithm
- Modeling and Simulating of Ship Power Station
- Research on Testing Bench of Heavy-duty Vehicle AMT