The Real-Time Transformation of Embedded Linux and Its Application on Fault Recorder

Author
HouFeng
Advisor
TongXiaoYang
School
Southwest Jiaotong University
Major
Proceedings of the
Classification
TM935 Frequency, waveform parameter measurement and instrumentation
Degree
Master's thesis
Year
2010
Downloads
71
Citations
1

Request the full text

Abstract

The traditional fault recording device there is a certain lack of real-time, reliability and stability, with the rapid development of computer technology, especially in embedded systems, embedded systems help to improve the performance of the fault recorder. And the Vxworks commercial embedded operating system is expensive, powerful embedded Linux, the performance is stable and reliable, but its essence belongs to a time-sharing operating system, there is a big disadvantage in real-time. This paper proposes the the RTLinux Linux dual-core operating system used in fault recorder research topics. This paper analyzes the real-time constraints Linux on several factors, Linux real-time transformation method based APIC clock to transform ordinary APIC clock, to meet the high-precision real-time demand, through simulation, validation the real-time performance of the real-time transformation method to achieve the the 100us level of accuracy. This article focuses on analysis of the basic principles and implementation mechanisms of RTLinux RTLinux Linux system to verify when, as a basis to create. In ordinary kernel, RTLinux Linux, the ordinary kernel RTLinux patch to seize on the three kinds of kernel patches and other operating system platforms, recompile kernel TCP data communication through shared memory interprocess communication, and floating-point operations, file creation and reading write, read random data buffer running at the same time the process of simulation experiments show that the normal kernel RTLinux 99.999% of the routine interrupt response time less than 5ms. But several jitter between 5ms ~ 10ms. The ordinary kernel the RTLinux preemption kernel patch maximum response time of 1.2ms, and 99.99992% interrupt response time of less than 100us, real-time is one of the three options best able to meet the various functions of the fault recorder requirements. In this paper, the fault recorder functional requirements in the the ARM test chamber constructed dual-core system, mainly including the NIC driver, USB and SD storage device driver. Then simulate the basic functions of a fault recorder design based Ethernet communication subroutines and the file remote transmission module. The simulation results on dual-core platform for the real-time performance conducted tests, experiments show that the RTLinux Linux dual-core platform for the real-time response performance than ordinary Linux's have greatly improved, the dual-core platform Waveform Recorder application, can be reached 30.72KHz the sampling rate 409 Road by analog or 819-way switch.

Table of contents

Abstract 6-7 Abstract 7-10 Chapter 1 Introduction 10-17 1.1 Fault Recorder nbsp development status at home and abroad ; 10-13 1.2 embedded operating system development status 13-14 1.3 of this thesis goals and content 14-15 1.4 paper tissue 15-17 Chapter 2 real-time embedded Linux transformation 17-26 2.1 Linux in embedded systems applications 17-18 2.2 embedded Linux real-time transformation 18-21 2.2.1 standard real-time performance measurement systems 18-19 2.2.2 Linux systems in real time performance deficiencies 19-21 2.3 Linux real-time to analyze several 21-22 2.4 APIC clock based on a real-time transformation method 22 -26 2.4.1 works with technology 22-24 2.4.2 Simulation 24-26 Chapter 3 working fault recorder principle and its real-time requirements 26-31 3.1 A typical fault recorder system architecture 26-27 3.1.1 acquisition front 26 -27 3.1.2 Background subsystem 27 3.1.3 Remote scheduling 27 3.2 real-time fault recorder needs analysis 27-28 3.3 COMTRADE format introduced 28-31 Chapter 4 RTLinux system in embedded platform transplant 31-48 4.1 real-time Linux system design program 31 4.2 RTLinux technology principle 31-35 4.2.1 interrupt 32-33 4.2.2 system timing clock 33 4.2.3 scheduling mechanism 33-34 4.2.4 communication mechanism 34-35 4.3 embedded real-time Linux system to build 35-43 4.3.1 Bootloader 36-37 4.3.2 Real-time kernel porting 37-38 4.3.3 build Linux root file system 38-41 4.3.4 Production YAFFS file system image 41-43 4.4 RTLinux Linux real-time performance test 43-48 Chapter 5 RTLinux application in the disturbance on the key technology 48-75 5.1 core functionality of the analog system fault recorder structures 48-50 5.2 Design and implementation of key technologies 50-61 5.2.1 CS8900A NIC driver design 51-56 5.2.2 USB device driver design 56-58 5.2. 3 SD card driver design 58-61 5.3 core functionality based on RTLinux analog design 61-72 5.3.1 Ethernet communication subroutine 61-66 5.3.2 backend subsystem and remote file upload dispatch center subroutine 66-68 5.3.3 recorded data storing analog 68-72 < br /> 5.4 simulation and analysis 72-74 5.5 Summary 74-75 Conclusion 75-76 Thanks 76 -77 References 77-81 Appendix 1 Embest EduKit Ⅲ (Embest) chamber profile 81-82 published during master's degree papers and research 82-83

Related dissertations

  1. Development of a Real-time Embedded Linux System in an Integrated Strong-Motion Seismograph Oriented to Earthquake Early Warning
  2. Research on Real-time Performance of the Embedded Linux Kernel
    LongFei ·Shenyang University of Technology ·2012 ·Master's thesis
  3. The Research of Embedded Linux and the Design of Gui
  4. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  5. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  6. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  7. Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
    LiJiaJia ·Northwest Normal University ·2013 ·Master's thesis
  8. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis
  9. Research and Design of Harmonic Detecting Device Based on ARM9
  10. Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
    HaoYongLiang ·Tianjin University of Technology ·2013 ·Master's thesis
  11. Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
  12. Research on Control System of a6-DOF Motion Platform
    YaoShiLei ·Harbin Engineering University ·2013 ·Master's thesis
  13. Design and Application Research on Multi-Master Node TTCAN Network
  14. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis
  15. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  16. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  17. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  18. The Realization and Research on Real-time of CANopen Network
  19. The Research on Ethernet_based Interface of Embeded Motion Control System
  20. Research on Intelligent Home Furnishing system based on Android