The Design of Blood Viscometer Based on AVR

Author
HaoSong
Advisor
LiTieYing
School
Taiyuan University of Technology
Major
Control Theory and Control Engineering
Classification
R318.0 General issues
Degree
Master's thesis
Year
2010
Downloads
50
Citations
0

Request the full text

Abstract

Blood viscosity is the most basic rheological features of blood, is the core problem in the hemorrheology research. A mass of researches indicates that many diseases which are harm to human health are concerned with blood viscosity rise, blood viscosity had abnormity before many diseases (especially cardiovascular diseases and cerebrovascular diseases) have distinct symptom. Testing blood viscosity will be important to explain the changing phenomenon in hemorrheology, it will be important to prevent and cure diseases. Therefore, the design of a low-cost, high-precision and good repeat capability blood viscosity will satisfy the requirements of hospital and laboratory.In accordance with the status of blood viscosity and the situation of medical treatment equipment, combining with embedded technology, serial communication technology, CAN and IIC technology, the author designed blood viscosity after checking a large number of books, datasheets and product descriptions.This blood viscosity uses cone and plate measurement method, has 80 postions for testing sample, through the computer control, it can realize the automatic adding samples, data measurement and automatic cleaning functions, can be used in measuring human’s whole blood viscosity and plasma viscosity. This paper mainly designs the hardware and software of the control system. In the system design of hardware, using the low powered MCU ATmega128 designs the main control board, using ATmega64 designs the CAN to IIC communication board, using ATmega48 designs the stepping motor and electromagnetic pump board. It describes in detail about the features of main control chip and the design of various external modules. Reasonable software design is the key of the blood viscosity, in the system design of software, the paper described the design method and main flow of software, each circuit board’s program.At last, the paper gives the method of checking PCB board, introduce the software compiling and debugging tools, after debugging with computer, it proves that the design of hardware and software is rational, the functions of the equipment are actualized.

Table of contents

Abstract 3-5 ABSTRACT 5-10 Chapter 1 Introduction 10-14 the the 1.1 blood viscometer research background and significance 10-11 the 1.2 blood viscometer Medical principle 11-12 1.3 topics 12-13 1.4 This chapter Summary 13-14 the introduction and design of Chapter 2 blood viscometer 14-20 the of 2.1 blood viscosity meter introduced 14-16 2.1.1 blood viscosity meter movement process 15 2.1.2 blood viscometer main technical indicators 15-16 2.2 hardware design of the overall program 16-18 2.2.1 hardware design block diagram 16-17 2.2.2 functional description 17-18 2.2.3 blood viscosity meter power 18 2.3 software overall design 18-19 2.4 This chapter Summary 19-20 Chapter 3, the main control board and communication board designed 20-32 3.1 ATmega128 minimum system circuit 20-24 3.1.1 ATmega128 Features 20-22 3.1.2 ATmega128 minimum system circuit 22-24 3.2 serial bus interface circuit 24-25 3.3 CAN bus interface circuit 25-28 3.4 communication board circuit 28-30 3.5 This chapter Summary 30-32 Chapter 4 motors and electromagnetic pump drive plate design 32-42 a 4.1 the ATmega48 minimum system circuit 32-36 4.1.1 ATmega48 Features 32-34 4.1.2 ATmega48 is the smallest system circuit 34-36 4.2 stepper motor driver module 36-39 4.2.1 stepper motor parameters 36 4.2.2 stepper motor driver chips introduced 36-37 4.2.3 motor drive circuit 37-39 4.3 optocoupler circuit 39-40 4.3.1 optocoupler limit circuit 39 4.3.2 optocoupler signal receiving circuit 39-40 4.4 electromagnetic pump drive plate circuit 40-41 4.5 of this chapter Summary 41-42 Chapter 5 temperature control unit 42-46 5.1 XMT612 basic introduction 43-44 5.1.1 XMT612 characteristics 43 5.1.2 XMT612 five control 43 5.1.3 The main technical indicators 43-44 5.2 XMT612 application 44-45 5.2.1 Parameters setup instructions 44-45 5.2.2 XMT612 wiring diagram 45 5.3 This chapter Summary 45-46 Chapter 6 Software Design 46-56 6.1 control board software design 46-51 6.1.1 serial communication software design 46-49 6.1.2 CAN communication software design 49-51 6.2 CAN turn the the IIC board software design 51-52 6.2.1 IIC communication software design 51-52 6.3 motor driver board software design 52-54 6.4 electromagnetic pump drive board software design 54-55 6.5 This chapter Summary 55-56 Chapter 7 blood viscometer debugging 56-64 7.1 circuit board design and inspection 56-57 7.1.1 circuit board design 56 7.1.2 board check 56-57 7.2 software debugging 57-62 7.2.1 hardware circuit software debugging 57-59 the the 7.2.2 host computer software debugging 59-61 problems encountered in 7.2.3 debugging process and solution 61-62 the 7.3 blood viscosity detection window 62 7.4 Chapter Summary 62-64 Chapter 8 Summary and Outlook 64-66 the References 66-69 Appendix 1 master board schematic 69-70 the Appendix 2 CAN turn IIC board schematic 70-71 Appendix 3 motor driver board schematic 71-72 the Appendix 4 SRPU PCB diagram 72-73 Appendix 5 CAN turn the IIC board PCB diagram 73-74 Appendix 6 motor driver board PCB diagram 74-75 Appendix 7 instrument physical map 75-76 the Appendix 8 ATmega128 part of the program 76-81 the Appendix 9 CAN turn the IIC board the subroutine 81-83 the Appendix 10 motor drive Banban subroutine 83-88 Acknowledgements 88-89 studying for a master's degree during the thesis 89

Related dissertations

  1. The Foam Insulation Greenhouse Monitoring System Design
    ZhangZuo ·Northeast Forestry University ·2013 ·Master's thesis
  2. Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
    ZhangRen ·Dalian Jiaotong University ·2013 ·Master's thesis
  3. The Wireless Temperature and Humidity Monitoring System Design
    ZuoRui ·Jilin University ·2013 ·Master's thesis
  4. The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment
    GaoHongHong ·Ningxia University ·2014 ·Master's thesis
  5. Development of Intelligent Control System for Precise Wheat Seeder with Suction and Stepless Speed Regulation
    ZhuPengFei ·Shandong Agricultural University ·2013 ·Master's thesis
  6. The Design of PCR Temperature Control System in STC
    CaoYu ·Shandong University ·2013 ·Master's thesis
  7. Design of Temperature and Humidity Control System Based on Micro-controller
    JiZuoLiang ·Shandong Normal University ·2014 ·Master's thesis
  8. The Design and Implementation of Automatic Nail System for Greenhouses Heat Preservation Quilt
  9. Research and Design of Transfer Robot Using Competition
  10. The Design of Kerosene Vapor Concentration Detector
  11. Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms
    FuJiaXin ·Shenyang University of construction ·2013 ·Master's thesis
  12. Research on System of Digital Image Proccessing and Recognition of Instruments
    BianShuHai ·Shenyang University of construction ·2013 ·Master's thesis
  13. Application Research of Wireless Anti-theft System Based on GSM/GPRS
  14. The design and Realization of DDS technology of high precision signal source based on
  15. On the Design of Digital Synthesizer Based on Phase-Locked Loop
    HanTuanJun ·Chang'an University ·2013 ·Master's thesis
  16. Design and Implementation of a MCS-51-instruction-set-compatible High Speed MCU
    ZhangShuai ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Design and Realize the JTAG Debugging Module on MCU
  18. Development of Control System for Medical Multi-leaf Collimator
  19. Measurment System Design and Experimental Study on the Thermo-physical Parameters of Blood Vessel
    LiXueMin ·Harbin Institute of Technology ·2012 ·Master's thesis
  20. Captopril and Losartan on Vascular Dementia in Rats and Its Mechanism
    LiGuoChun ·Luzhou Medical College ·2012 ·Master's thesis