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

Request the full text

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

  1. Based on Simulink and Stateflow modeling of embedded software development platform
  2. Design and Rasearch of the Electric Control Suspension’s Hardware in the Loop Experiment Platform
    WangWei ·Southwest Jiaotong University ·2011 ·Master's thesis
  3. Temperature Control System Design of MOCVD
    ZhouFeng ·Zhejiang University ·2014 ·Master's thesis
  4. Research&Realization on Key Technologies of Semi-physical Simulation Platform Based on RTAI
  5. Motion Object Detection Based on Dm642
    SunLei ·Tianjin University of Technology ·2013 ·Master's thesis
  6. Simulation Research on Modulation Technology for THz Communication System
  7. Study of Lead-acid Battery Bank Applied in Long Pulse Magnet Power Supply System
  8. The Research of Improved Dual-Windowed Interpolation Harmonic Detection and Hybrid Active Power Filter Simulation
    ZhouHuiLong ·Guangxi University ·2012 ·Master's thesis
  9. The Research of Photovoltaic Grid-connected System Islanding
    ZhangCheng ·Nanchang University ·2013 ·Master's thesis
  10. The Control Strategy of Wind Power System Based on Direct-drive Type of PMSG
    WangHongHai ·Yanshan University ·2013 ·Master's thesis
  11. Research on the Control Strategy of the Single-phase Photovoltaic Grid-connected Inverter with LCL Filter
    ZhangXiaoE ·Ningxia University ·2014 ·Master's thesis
  12. Study for Cascade Brushless Doubly-fed Machine and Its Speed Control System Application
    ZhaoBo ·Hebei University of Technology ·2013 ·Master's thesis
  13. The Hardware-in-the-loop Real-time Simulation Research of PMSM with RT-LAB
    QiuHuaJing ·Yangzhou University ·2013 ·Master's thesis
  14. Study on Application of Intelligent Algorithm in Control System of Brushless DC Motor
  15. Research of High-performance Permanent Magnet Brushless DC Motor Speed Control System
  16. Research on Modeling and the Energy Saving Control Strategies of Hybrid Hydraulic Excavator
    ShaQingQuan ·Northeastern University ·2012 ·Master's thesis
  17. The Simulation Study on Semi-active Control of MR Damper to Excvavtor
    ZhangZhanGe ·Northeastern University ·2012 ·Master's thesis
  18. The Analysis of Semi-active Control of Structure Vibration Based on Ant Colony Algorithm
  19. Modeling and Simulating of Ship Power Station
    WuSaiSai ·Harbin Engineering University ·2013 ·Master's thesis
  20. Research on Testing Bench of Heavy-duty Vehicle AMT
    LiJunYu ·Zhejiang University ·2014 ·Master's thesis