Study on Multitask Real-time Measurement and Control System Based on RTX and LabVIEW

Author
GongHouLiang
Advisor
ChenZengHan
School
Chongqing University
Major
Electrical Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2008
Downloads
569
Citations
6

Request the full text

Abstract

Multitask real-time measurement and control systems are widely used in our society, and real-time systems are reseach hot spots now. Most real-time systems which are of special purpose using special hardwares are special. These systems are not universal and have a little extension, so they can’t be used freely. But the real-time system based on industrial computer can conquer the defaults of the former syetems.This paper presents a new kind real-time system. The hardware of the system is industrial compuer, and Windows 2000+RTX is the softeware of the system. In the system, the human interface and network communication programes are designed in LabVIEW.At the beginning of this paper, the limitation of Windows real-time performance is analysed. In order to add‘hard’real-time capabilities to Windows 2000, this paper choses RTX developed by Ardence. The structure and scheduling policy of RTX are also analysed in this paper.Next the multitask real-time measurement and control system is designed. In the system the taskes are divided into two parts: real-time and non real-time. The real-time tasks run under RTSS subsystem, as the mean time non real-time tasks run under Win32 subsystem. The two parts communicate with each other through shared memory. Using CIN node to load extra codes in LabVIEW, the shared memory can be read and written.Then the whole system is introduced in detail. The real-time part includes analog signal acquisition, switch signal acquisition, temperature measurement, setp motor control, direct current motor speed measure and control. Real-time part programs are designed in Visual C++ using API provided by RTX. Non real-time part includes human computer interface and network communication. The non real-time part program is designed in LabVIEW, and network communication is based on TCP/IP protocol.At the end, the real-time and non real-time parts are combined together. The whole system is tested using RTX tools. The test results and performences of the system show that this excogitation meets the real-time and stability requirements, so this excogitation is feasible.

Table of contents

Abstract 4-5 ABSTRACT 5-9 1 Introduction 9-14 1.1 Overview 9-10 1.2 research status 10-12 1.2.1 Windows and its lack of real improvement 10-11 1.2.2 adopting the LabVIEW control system advantage 11-12 1.3 This paper studies the content 12-14 2 programming languages ??and development tools 14-23 2.1 RTX Introduction 14-19 2.1.1 RTX structural 14 2.1.2 depth RTX 14-16 2.1.3 RTX interrupt latency 16-17 2.1.4 RTX tools and applications 17-19 2.2 LabVIEW Introduction 19-23 2.2.1 LabVIEW features 19-20 2.2.2 LabVIEW external interface 20 2.2.3 LabVIEW multithreaded 20-21 2.2.4 LabVIEW run control technology 21 2.2.5 LabVIEW network communications 21-22 2.2.6 SQL and database access 22-23 3 real-time multi-task control system design 23-32 3.1 real-time multi-task control system overview 23-26 3.1.1 multitasking 23-25 3.1.2 Real-time task scheduling 25-26 3.1.3 real-time scheduling algorithm 26 3.2 system in the process and thread management 26-28 3.2.1 running on the RTSS process under 27 3.2.2 running under the RTSS thread 27 3.2.3 System memory management 27-28 3.3 hardware platform 28 3.4 system task 28-31 3.4.1 system tasks constitute 28-29 3.4.2 System Task division 29-30 3.4.3 system task scheduling 30 3.4.4 inter-task communication 30-31 3.5 Summary 31-32 4 multi-tasking real-time monitoring and control system implementation 32-57 4.1 overall structure of the system software 32 4.2 RTX under the program design 32-36 4.2.1 using Visual Studio to build applications 33 4.2.2 using RTX application development wizards develop programs and dynamic link library 33-34 4.2.3 Makefile for the use of RTX to develop applications and dynamic -link library 34 4.2.4 debug RTSS program 34-35 4.2.5 RTX under API 35-36 4.3 real-time part of the program design 36-42 4.3.1 real-time task main design 36-39 4.3.2 Real-time sub-task programming 39-42 4.4 Non- real-time part of the program design 42-52 4.4.1 interprocess communication program design 42-44 4.4.2 CIN node called 44-47 4.4.3 interactive interface design 47-48 4.4.4 Network Communication Program Design 48-51 4.4.5 Task priority setting 51-52 4.5 system real-time performance test 52-56 4.5.1 Platform Evaluator Profile 53 4.5.2 System Performance Testing 53-55 4.5.3 Data Analysis 55-56 4.6 Chapter Summary 56-57 5 Conclusion and Outlook 57-59 5.1 Conclusion 57-58 5.2 Prospects 58-59 Thanks 59-60 References 60-63 Appendix 63-65

Related dissertations

  1. Real-time Performance of the Semi-physical Simulation System Based on RTX
  2. The Research of CNC System of Grinder Based on Windows+RTX
    SiJinBao ·Yanshan University ·2013 ·Master's thesis
  3. Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
    LuJiaLong ·Harbin Institute of Technology ·2013 ·Master's thesis
  4. Design of Home Environment Monitoring System Based on ZigBee Technology
    ZhangXinShun ·Dalian Polytechnic University ·2012 ·Master's thesis
  5. Research and Application on the Remote Intelligent Monitoring System of Grain Depot
  6. The LabVIEW-based Design of Filling Stations Monitoring System
  7. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  8. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  9. Smart Home Monitoring System Based on Ni Wireless Sensor Network
    LuZuoChao ·Zhejiang Normal University ·2013 ·Master's thesis
  10. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  11. Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
  12. Study on the System of Greenhouse Environment Measurement Based on Zigbee Technology
  13. Research of Permeability Testing System for Clay
  14. The Research of Rocket Sled Orbit Measuring System
    LiGuoQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. The Design of Data Monitoring and Control System Based on USB and Lab VIEW
  16. Design and Implementation of an Automatic Test System for Secondary Power Supply
  17. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  18. Research of Electrostatic Monitoring Signal Conditioning Technology
  19. A Type of Drive Receiver Test System Based on Pxi Bus
  20. Research and Design of the Measuring and Controlling System for Paver Simulated Experimental Bench
    LiYuanCai ·Chang'an University ·2013 ·Master's thesis