The Full-automated Urine Analyzer Based on MSP430 & Embedded Motherboard
- Author
- ZhangXuBing
- Advisor
- ChenJinRun
- School
- Chongqing University
- Major
- Detection Technology and Automation
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 214
- Citations
- 2
Abstract
Urine analysis is one of the important ways of the diagnosis of urinary system diseases. The doctor judge whether a person is a patient with kidney and urinary tract diseases or a healthy man thought understanding the person’s urine physical properties and chemical composition changes. With photoelectric technology, computer technol- ogy applications and the development of basic medicine, all kinds of dry chemical urine analysis equipment have emerged. But the traditional urine analyzer has a common shortcoming that measurement process is slow because the block of urine reagent strips is itemized test by the the stepper motor driving. Meanwhile, Photodiode as the original use of the Sensor, and the use of halogen lamp as a light source, often bring on misjudgment of the result. Sometimes the result judged by naked eye better than the result of the traditional urine. As a result, to solve the default of mention, adopte the full-automated urine analyzer project based on low-cost, low power consumption, the structure of the upper and lower part. The project consists of two major components:(1) Base on the minimum system of the MSP430F149, add asynchronous serial communication module and keyboard I2c communication module thus constitute the entire lower hardware systems. At the same time in the IAR environment transplante the embedded real-time operating systemμC /OS-II on the MSP430F149 MCU and make up the software platform of the lower part. The function of the lower part is the following mention: key information is transferred to MSP430 through I2C communication bus, and then sent it to the PC through the serial port. Use a 16-bit timer/counter with multiple capture/compare registers Timer_B to control coordinate motion of the six stepper motor, consequently finish the task of transferring the urine reagent strips to the proper postion, washing and egesting pipeline.(2) Base on Embedded motherboard as the core hardware resources of the upper part. On the Linux software platform, it sends the instructions to the lower part. The purpose is that the urine reagent strips which had a chemical reaction with urine will be transported to the proper location. Then the CCD camera gathers image which contains a lot of information about the urine composition. When the upper programe get the image, it analyzes the image data and prodeces a result. At last it prints the result through micro printe which connects the upper part by the parallel interface. To ensure the accuracy of checking results of this urine analyzer, we treate the test result of the US-2100R, a urine analyzer made by Sysmex as the the instrument calibration. By comparing the test results, the equipment is consistent with the design requirements. The features: 120 samples/hour, the entirely automatic process, convenience operation, and the use of advanced CCD real-time image analysis system. Thus it can replace the similar foreign imported products such as US-2100R.
Table of contents
Chinese Abstract 4-5
Abstract 5-10
1 Introduction 10-19
1.1 Introduction 10
1.2 dry chemical urinalysis principle 10-15
1.2.1 Optical characteristics 10-11
1.2.2 urine analyzer reagents with 11-14
1.2.3 Principles for determining the concentration of the reagent block 14-15
1.3 urine dry chemistry analyzer domestic development and current situation 15-16
1.4 of this thesis content and meaning 16-19
2 theory of embedded systems , the overall system architecture and program flow 19-32
2.1 Introduction 19
2.2 Overview of embedded systems 19-27
2.2.1 Embedded system components , features 20-22
2.2.2 Embedded Processor 22-25
2.2.3 Embedded operating system 25-27
2.3 overall system architecture 27-30
2.3.1 embedded hardware platform of choice 27-28
2.3.2 embedded software platform of choice 28-29
2.3.3 urinary dry chemical instrumentation system architecture 29-30
2.3.4 urinary dry chemical instrumentation system software processes 30
2.4 Summary 30-32
3 Based on MSP430F149 lower computer hardware design and software implementation 32-61
3.1 Introduction 32
3.2 controller MSP430F149 features 32-33
3.3 Based on MSP430F149 lower computer hardware design 33-41
3.3.1 MSP430F149 main module circuit 33-35
3.3.2 I ~ 2c way communication keypad interface circuit design 35-39
3.3.3 with PC asynchronous serial communication interface circuit design 39-41
3.4 Based on MSP430F149 lower computer software design and implementation 41-60
3.4.1 system software integration and development, compilation environment 41-42
3.4.2 debug interface and environment 42-43
3.4.3 Instruction Descriptions 43-45
3.4.4 real-time kernel μC / OS-II transplanted to MSP430F149 45-52
3.4.5 serial port driver module 52-55
3.4.6 I ~ 2c way communication keyboard driver module 55-56
3.4.7 Timer controlled stepper motor 56-59
3.4.8 lower machine main realization 59-60
3.5 Summary 60-61
4 motherboard based on embedded PC hardware and underlying software implementation 61-66
4.1 Introduction 61
4.2 PC Hardware Introduction 61-62
4.3 Linux software development infrastructure 62-65
4.3.1 Linux operating system overview 62-63
4.3.2 Linux kernel modules 63-64
4.3.3 Linux kernel configuration and compilation 64-65
4.4 Summary 65-66
5 PC application development 66-83
5.1 Introduction 66
5.2 Linux Device Drivers 66-69
5.2.1 Device Drivers Overview 66-67
5.2.2 device driver classification 67-69
5.3 CCD camera video capture 69-72
5.3.1 CCD camera driver installation 69
5.3.2 Vide04Linux video capture module interfaces and methods Introduction 69-71
5.3.3 Vide04Linux video capture process 71-72
5.4 multithreaded programming 72-74
5.4.1 multithreaded create 72
5.4.2 multi-threaded end 72-73
5.4.3 thread data processing 73-74
5.5 serial communication 74-76
5.5.1 serial property 74-76
5.5.2 serial communication procedures 76
5.6 graphical interface to achieve 76-80
5.6.1 Gtk Profile 76-79
5.6.2 Gtk achieve PC interface 79-80
5.7 image analysis 80-82
5.8 Parallel communication 82
5.9 Chapter Summary 82-83
6 overall debugging and results analysis 83-88
6.1 Introduction 83
6.2 machine commissioning and calibration 83-84
6.3 Instrument analysis of test results 84-87
6.3.1 and calibration control solution concentrations comparative analysis 84-85
6.3.2 with US-2100R -based urine analyzer comparative analysis of test results 85-87
6.4 Test System error analysis 87
6.5 Chapter Summary 87-88
7 Conclusion 88-90
Thanks 90-91
References 91-94
Appendix 94-102
A. The authors of papers published during the study for a degree directory 94-95
B. IIC communication part of the code 95-97
C. PC main part of the code 97-102
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The software design of intelligent control Home Furnishing gateway based on ARM11
- The System Design and Implementation of Smart Home Control Terminal Based on Linux
- Movement Gait Control Research of Six Feet Bionic Robot
- Research on Embedded Control System for Palletizing Robot
- Control system design of robot based on ARM
- AGV car design and development of image recognition and motion control technology based on