Research of Instrument for the Measurement of the Milk Constituents Based on ARM and μC/OS-Ⅱ

Author
ZouZhongYu
Advisor
ZhouZhen
School
Harbin University of Science and Technology
Major
Measuring Technology and Instruments
Classification
TH83 Component analysis instrument
Degree
Master's thesis
Year
2008
Downloads
156
Citations
0

Request the full text

Abstract

In the process of milk collection and production control, it is needed to measure the content of the main constituents in milk accurately and rapidly. As the content of fat and protein in milk is the key quality index, most of work on the milk quality measure placed emphasis on the measurement of two indexs. Currently, there are several ways to measure the constituents of milk, and they have advantages as well as disadvantages. This thesis presents a new way for measuring milk constituents. The new technology utilizes the scattered light to transmitted light ratio of laser light to determine the amount of protein and fat in milk. In this paper, the main content is the develop process of the instrument for the measurement of the milk constituents based on the 32-bit ARM microprocessor-LPC2210 and embedded real-time operation systemμC/OS-II. And also we expatiate this instrument’s material technology and the technology’s corresponding realization methods.The main research contents of this dissertation include:1. Fundamental theories of this new technology and theoretical model are discussed in detail, based on that, the mathematical model is made by experiments between the scattered light to transmitted light ratio of laser and the content of protein and fat in milk.2. Design of instrument hardware as the ARM architecture microprocessor for core, construction of a microprocessor LPC2210, FLASH memory, SRAM memory, keyboard, LCD, data acquisition modules and temperature monitoring module as one ingredient in milk of hardware platforms.3. Design of instrument software as the embedded real-time operation systemμC/OS-IIfor platforms, completed theμC/OS-IIoperating system to the lpc2210 microprocessor transplantation, as well as related hardware drivers, completed applications in theμC/OS-IIoperation system.After designing and debugging the system to achieve the desired goals. This paper presented their test results. In order to further improve and enhance performance, this paper presents a design and its follow-up study on some of the recommendations.

Table of contents

Abstract 5-6 Abstract 6-11 Chapter 1 Introduction 11-15 1.1 Research purpose and meaning 11 1.2 milk components detection technology overview 11-13 1.2.1 chemistry 11-12 1.2.2 Ultrasonic 12 1.2.3 Mid-infrared spectroscopy 12 1.2.4 Near Infrared Spectroscopy 12-13 1.3 milk components detector overview of the development 13-14 1.3.1 Detector foreign milk components overview of the development 13-14 1.3.2 domestic research 14 1.5 The main contents 14-15 measurement principles in Chapter 2 Theoretical Analysis and Mathematical Modeling 15-23 2.1 Introduction 15 2.2 Feasibility of using laser scattering theory analysis 15-16 2.3 scattered through than the theoretical and fats, proteins associated with scattering model 16-17 2.4 Mathematical modeling 17-22 2.4.1 Experimental design 17-18 2.4.2 experimental environment to determine 18-20 2.4.3 mathematical model 20-22 2.5 Chapter Summary 22-23 Chapter 3 overall system design and analysis 23-31 3.1 overall system architecture design 23-24 3.2 overall hardware design and analysis 24-27 3.2.1 microprocessor selection 24 3.2.2 LPC2210 ARM7 microprocessor Profile 24-25 3.2.3 Hardware overall system architecture design 25-26 3.2.4 hardware design of the main contents of the 26-27 3.3 software design and analysis 27-30 3.3.1 use μC/OS- Ⅱ basis 27-28 3.3.2 RTOS μC/OS- Ⅱ Introduction 28-29 3.3.3 choice of development tools 29-30 3.3.4 software design main content 30 3.4 Summary 30-31 Chapter 4 detection system hardware design 31-45 4.1 Introduction 31 4.2 LPC2210 minimum system design 31-36 4.2.1 Power circuit 31-32 4.2.2 System Reset Circuit 32-33 4.2.3 System Clock Circuit 33-34 4.2.4 JTAG interface circuit 34 4.2.5 System memory circuit 34-36 4.3 Serial communications interface circuits 36 4.4 graphic LCD module interface circuit 36-37 4.5 electromagnetic pump drive circuit 37-38 4.6 keyboard interface circuit 38-39 4.7 light intensity detection circuit design 39-42 4.7.1 photoelectric sensor selection 39-40 4.7.2 preamplifier circuit 40-41 4.7.3 A / D converter circuit 41-42 4.8 Temperature control system 42-44 4.8.1 DS1621 Introduction 42-43 4.8.2 Temperature control system circuit design 43-44 4.9 Chapter Summary 44-45 Chapter 5 System Software Development 45-73 5.1 Introduction 45-46 5.2 μC/OS- Ⅱ operating system migration 46-52 5.2.1 header files includes.h and config.h 46 5.2.2 write OS_CPU.h 46-48 5.2.3 write OS_CPU_C.c 48-50 5.2.4 write OS_CPU_A.s 50-52 5.3 system startup code is designed 52-54 5.4 Test porting code 54-56 5.5 μC/OS- Ⅱ device driver design 56-63 5.5.1 serial driver 57-58 5.5.2 Keyboard Driver 58-60 5.5.3 I ~ 2C Interface Driver 60-62 5.5.4 LCD module driver 62-63 5.6 milk components detector application software development 63-71 5.6.1 division of tasks 63-64 5.6.2 main () function 64-65 5.6.3 initial task 65-66 5.6.4 serial communication task 66-67 5.6.5 Key tasks 67-68 5.6.6 electromagnetic pump control tasks 68-69 5.6.7 A / D conversion tasks 69-70 5.6.8 Temperature control tasks 70-71 5.6.9 data processing tasks 71 5.7 test system functionality 71-72 5.8 Chapter Summary 72-73 Conclusion 73-74 References 74-77 papers published during the master's degree 77-78 Thanks 78

Related dissertations

  1. Construction and Study of Embedded Production Data Acquisition System
    LiuHeSheng ·Nanchang University ·2008 ·Master's thesis
  2. Research on the Transplant and Application of the OS for the Vehicular Information Platform
    XuHaiBo ·Wuhan University of Technology ·2007 ·Master's thesis
  3. Research on USB Device in Embedded System
    ZhangBo ·Jiangnan University ·2008 ·Master's thesis
  4. Research on Embedded USB Host System Based on ARM
  5. Research of System for the Measurement of the Milk Constituents Based on ARM9
  6. Research on a Portable Moisture Detector of the Building Envelope
  7. The Research on Measurement and Control System of Rotating Bending Fatigue Testing Machine Based on ARM
    WangYongZuo ·Zhejiang University of Technology ·2009 ·Master's thesis
  8. ARM-based embedded operating system μC / OS-II porting and applied research
  9. Development of Experimental Robot Control System Based on ARM
    AnShaoYin ·Harbin Institute of Technology ·2008 ·Master's thesis
  10. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis
  11. Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
    ShengQingPeng ·Qilu Industrial University ·2014 ·Master's thesis
  12. Design of CTD Sensor and Research of Data Processing Technology
    LvZhi ·Harbin Engineering University ·2013 ·Master's thesis
  13. Research on the Iris Recogniton System Based on DSP
  14. μC/OS-Ⅱ-based Recording Player Software Design and Implementation
  15. Design and Implementation of Industrial Gateway Device Based on ARM
    ZuoXiaoJing ·Harbin Engineering University ·2013 ·Master's thesis
  16. Study on the Dtermination of FQs Multiresidue with Enzyme Immunoassay
  17. On Determination of Cephapirin Benzathine and Cephalonium Residues in Milk and Withrdawal Time for Milk of Their Intrammary Infusion
    ZhangAoBo ·Yangzhou University ·2013 ·Master's thesis
  18. Study on the Immunoassay for Detection of Penicillin Drugs in Milk
    JiaoSaiNan ·Agricultural University of Hebei ·2013 ·Master's thesis
  19. Development of Rapid Detection Methods Based on Dihydropteroate Synthase for Sulfonamides
    LiangXiao ·China Agricultural University ·2014 ·Doctoral dissertation
  20. A Comparative Study of the Reproductive Performance and Behavior of Pregnant Sows Under Stall and Group Housing Conditions
    ZhouQin ·Nanjing Agricultural College ·2012 ·Master's thesis