Design of Weighing Lighter Leakage Detector Based on μC/OS-Ⅱ Real-time Kernel

Author
XuHaiLong
Advisor
WangXiaoNa
School
China Jiliang University
Major
Measuring Technology and Instruments
Classification
TP216 Automatic testing equipment,instruments
Degree
Master's thesis
Year
2013
Downloads
2
Citations
0

Request the full text

Abstract

Gas leakage rate is one of important technical indicators to measure safetyperformance of the lighters. The in-depth study of micro gas leakage detectiontechnology of lighter can enhance the competitiveness of our lighters industry.However, conventional gas detection technologies need create complex mathematicalmodel of the gas leakage, and is vulnerable to be disturbed by external environmentalfactors such as temperature, humidity and atmospheric pressure. So they can’t meetthe highly accurate detection of lighter gas leakage.For the reason above, the design of weighing lighter leakage detector based onμC/OS-Ⅱreal-time kernel was proposed. The system through dynamic time-sharingweighing weight change for the same lighter within two times divided by the twiceweighing time interval can obtain the available lighter gas leakage rate, while takingadvantage of the two weighing interval for detection of other lighters to improve thedetection efficiency. The whole leakage detector is composed of leakage detectionand motion control part and human-computer interaction part.In terms of hardware design, the leakage detection and motion control part usingATmega128MCU as the core, using high-precision and micro-process weighingsensors to collect lighters weight data change, using inclination sensor detectsweighing system and the horizontal tilt angle data to compensate for the last result,through controlling the weighing tray bracket2D plane motion by step motors toachieve automatic, muti-batch testing for lighters. The human-computer interactionpart through embedded terminal handling and display the final data, and using serialcommunication with leakage detection and motion control part.In terms of software design, the leakage detection and motion control part usethe μC/OS-Ⅱ real-time kernel as the core of the software of leakage detection andmotion control part to realize the application functions of motion control and dataacquisition and transmission of different operating modes. The software of thehuman-computer interaction part is developed by MFC program framework, and isrunning on the embedded terminal based on WinCE operating system to realize the application of leakage data processing and storage and human-computer interaction.After the system error analysis and post-test results show that the leakagedetection range of the weighing lighter leakage detector is0-100mg/min, and overallsystem error is less than0.5mg/min, and resolution is0.1mg/min, and leakagedetection efficiency is3/sec, so the performance of the system meets to the designrequirements can long time reliable and stable run, and also applies to other smallconfined gas containers gas leakage detection.

Table of contents

Thanks 5-6 Summary 6-7 Abstract 7-12 chart and schedule list 12-15 <br / > 1 Introduction 15-25 1.1 research background and significance development status and application of 15-16 1.2 This topic related technologies 16-22 1.2.1 development Status of embedded real-time kernel 16-18 1.2.2 development Status precision micro- process weighing technology 18-20 1.2. Research Status 3 gas leak detection technology main contents of 20-22 1.3 article core content and technology roadmap 22-24 1.3.1 of this topic difficulties and innovation 22-23 1.3.2 of this topic 23-24 1.4 Summary 24-25 2 weighing lighter leak principle and overall design 25-36 2.1 weighing lighter leak detector principle and related algorithms 25-28 2.1.1 leak lighter weighing dynamic time-sharing principle 25 2.1.2 leak dynamic weighing system response time sharing mathematical model 25-26 2.1.3 dynamic adaptive sharing weighing steady leak detection system recognition algorithm 26-27 2.1.4 dynamic weighing timesharing system tilted automatically compensates for leak detection algorithm 27-28 2.2 weighing lighter leak detector needs analysis 28-29 2.3 leak detector weighing lighter overall design 29-35 2.3.1 machine design 30-32 2.3.2 hardware design brief 32-33 2.3.3 software architecture design brief 33-35 2.4 Summary 35-36 <br / > 3 leak detector weighing lighter hardware design 36-45 3.1 leak detector weighing lighter hardware block 36-37 3.2 weighing lighter measure leak detector hardware core circuit design 37-39 3.2.1 weighing lighter leak detector control center - ATmega128 microcontroller 37-38 3.2.2 ATmega128 core microcontroller circuit design and resource allocation 38-39 3.3 leak detector weighing lighter core sensors and interface circuit design 39-41 3.3.1 high-precision weighing sensor selection process trace Selection 39-40 3.3.2 machine balance detection sensor 40 3.3.3 leak sensor and core Interface Circuit Design 40-41 3.4 dynamic weighing leak timeshare related motion control circuit design 41-43 3.4.1 lighter tray bracket motion control circuit design 42-43 3.4.2 horizontal movement of the sunroof closed control circuit design 43 3.5 other functional modules circuit design 43-44 3.5.1 leak motion control section and leak human-computer interaction part of the communication circuit design 43 3.5.2 alarm system circuit design 43-44 3.5.3 system power supply circuit design 44 3.6 Summary 44-45 optimization transplantation and device driver framework 4 μC/OS- Ⅱ real-time kernel designed 45-56 4.1 in embedded system development using μC/OS- Ⅱ strengths and software architecture 45-46 4.2 μC/OS- Ⅱ real-time kernel on the microcontroller optimized transplant 46-52 4.2.1 μC/OS- Ⅱ content on the main microcontroller transplant 46-47 4.2.2 μC/OS- Ⅱ optimization principle nbsp transplant on the microcontroller ; 47-49 4.2.3 μC/OS- Ⅱ optimized microcontroller ATmge128 transplant realize device driver framework 49-52 4.3 μC/OS- Ⅱ real-time kernel design advantage 52-55 4.3.1 device driver framework in device driver development in 52 device driver framework software architecture 4.3.2 μC/OS- Ⅱ of design 52-53 4.3.3 device driver development related core data structure design 53-54 4.3.4 application Layer unified device access interface 54 -55 4.4 Summary 55-56 5 weighing lighter leak detector software design 56-81 5.1 weighing the lighter leak detector the overall software architecture 56-57 5.2 dynamic time-sharing systems weighing leak and motion control algorithm software 57-60 5.2.1 dynamic load sharing measure and data leakage compensation algorithms implemented in software 57-58 5.2.2 system software motion control algorithm 58-60 5.3 leak and leak Human motion control section interactive communication protocol design nbsp part ; 60-61 5.4 leak movement μC/OS- Ⅱ based control part of the hardware device driver design 61-69 5.4.1 based hierarchical thinking device driver architecture drivers 61-62 5.4.2 serial communication device core layer design 62-64 5.4.3 weighing, tilt sensor embedded terminal and serial communication drivers 64-66 5.4.4 stepper motor motion control device driver core layer design 66-67 5.4.5 lighter tray bracket and closed sunroof motion control to achieve drivers 67-69 5.5 leak movement μC/OS- Ⅱ based control part of the application design 69-75 5.5.1 leak motion control part of the application software functional partitioning 69-70 5.5.2 leak motion control part of the application runtime environment and software architecture 70-72 5.5.3 leak motion control part of multi-tasking application design 72-75 5.6 leak human-computer interaction part of the MFC application design 75-80 5.6. a leak HCI MFC application architecture 76 realize 5.6.2 event input and the message loop 76-77 5.6.3 message response window procedure function achieve 77-79 5.6.4 leak data processing and storage to achieve 79-80 5.7 Summary 80-81 6 says lighter weight leak test instrument performance analysis and 81-87 6.1 leak detector weighing lighter immunity analysis 81-82 6.2 weighing lighter measure leak detector error analysis 82-84 6.3 weighing lighter leak detector performance testing 84-86 6.3.1 precision weighing performance test 84-85 6.3.2 lighter gas leak detection performance test 85-86 6.4 summary 86-87 7 summary and Outlook 87 -89 7.1 summarizes 87-88 7.2 Prospects 88-89 References 89-93 Appendix weighing lighter leak detector physical map 93-94 Author Biography 94

Related dissertations

  1. Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
  2. The Research and Design of Infrared Sensor Monitoring System Based on STM32
    WangHuaJie ·Hunan University ·2013 ·Master's thesis
  3. Design and Realization of Eco-hydrological Data Acquisition System Based on SDI-12Interface
    DongCunHui ·Northwest Normal University ·2013 ·Master's thesis
  4. Wireless environmental monitoring system based on multi sensor data fusion
  5. Desigen of Weighing Controller Based on LAN
  6. The Design and Implementation of SIP Based Managing and Control System for Smart Electricity
    GuanYunChong ·Northeastern University ·2013 ·Master's thesis
  7. The Multi-label Learning Algorithm Study Based on Data Conversion and Co-training Technology
    LiYaLin ·Shandong Normal University ·2014 ·Master's thesis
  8. Research on Multi-label Learning and Algorithms Based on Data and Label Correlations
    QiuJiZuo ·Shandong Normal University ·2014 ·Master's thesis
  9. Design and Implementation of Ethernet Transfer Based on ARM
    LiMingJian ·Dalian University of Technology ·2013 ·Master's thesis
  10. The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
  11. The Artillery Battlefield Environment Information Management System Research and design
  12. Design of Wireless Sensor Network System Based on Multi-sensor
    XuJiaDong ·University of North ·2014 ·Master's thesis
  13. Design and Implementation of Video Transmission System in Underground Coal Mine Based on WiFi Technology
    WangJianFei ·Liaoning University of Technology ·2014 ·Master's thesis
  14. Study and Design on Power Quality Online Monitoring System Based on ATT7022CU
    WangYang ·Bohai University ·2014 ·Master's thesis
  15. Study of Automatic Bus Transfer System for Substation Based on ARM
  16. Research on the Design and Control Method of Electric Vehicle Charging Pile
  17. Design and implementation of embedded software of high frequency charger
  18. Research on Battery Management System for Hybrid Electric Bus
    WuYanMing ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. A Large Parking Area Guidance System Based on STM32
  20. Research and Design of Rotating Blade Vibration Acquisition System
    YangLei ·Chang'an University ·2013 ·Master's thesis