The Development of Multi-parameters Online Water Quality Analytic System Based on C8051F
- Author
- FuQingBo
- Advisor
- ZhaoChun
- School
- Jilin University
- Major
- Microelectronics and Solid State Electronics
- Classification
- X853 Water quality monitoring equipment
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 262
- Citations
- 0
Abstract
Since the 1960s,people have realized the problems of Water shortage,water pollution as well as series of questions brought by it,the water treatment industry as an emerging profession obtain the considerable development.Embarked on the brand-new idea of analytic instruments intellectualization design,using microcontrollers as the core,depended on the technology of water analytic sensors, the present thesis has developed the intellectualized multi-parameters water quality online analytic system,which could reduce the water treatment industry’s energy consumption and provides a kind of reasonable effective solution to guarantee water quality standards.In structure,the system divides into two parts:the water quality metering circuit and the data analytic procedure on PC.The water quality metering circuit is an independent automated test system,and the data analytic program on PC based on WINDOWS platform,can transform the data,sent by the water quality analytic machine,and carry on the further analysis,for example the graph demonstration,the data storage,printings and so on.The system circuit design is based on high performance-to-price ratio microcontroller C8051F021.The independent time sharing data acquisition of the temperature,the millivolt,the pH value and the conductivity is carried by the integrated 12-bits analog-digital conversion subsystem.The reference voltage is provided using the internal band gap reference.The amplifying circuit widely uses integrated difference operational amplifier AD620 to simplify the hardware circuit structure、obtain the high common mode rejection ratio and increase the measuring accuracy effectively;System’s man-machine interface circuit is constituted by a resolution 128×64 liquid-crystal display and six independent keys.The water quality metering circuit and the data analytic procedure on PC communicate through the USB way,realizing plug and play.Delphi7.0 is used as the development environment of the data analytic procedure on PC.Microsoft Corporation’s Access2000 is used to construct the backstage databases.The water quality metering circuit programming adopts the modular method,including:functional module driver design,various water quality parameters measurement routine design as well as man-machine interface design.The method of digital filtering,the bubbling law and the Wright criterion is carried out in the data algorithm,and different survey parameters mathematical models are established.Comparing with the former water analytic instruments,this system has the following merits:1.Multi-parameters analysis.Has realized analysis of the water temperature, the pH value,the Oxidation-Reduction Potential,the conductivity,the Total Dissolved Solids(TDS) and the salinity.2.Highly effective and stable metering circuit.On account of using microcontroller C8051F021,the drift error and errors are possible to eliminate through the procedure due to gain variation and disturbance and the hardware circuit is simplified using the massive specific IC.3.The function perfect data analytic procedure on PC.4.It has realized the water quality online analysis,which can be used as the attachment of process control device of industrial water.5.The USB communication,plug and play.6.High accuracy and low cost.Temperature measuring range form 0℃--100℃,relative deviation is 4.26%,the average relative deviation is smaller than 1.90%;Oxidation-Reduction Potential measuring range of-850 move--+850mv,the maximum absolute value of survey absolute error is 2.00mv,the average deviation is smaller than 0.8 me;pH value survey’s scope is 0-14,the maximum absolute value of absolute error is 0.06, relative average deviation is in 0.44%;The scope of conductivity is <sub>1</sub>μs/cm<sub>-20000</sub>μs/cm,the maximum absolute value of survey absolute error is 346.28/μs/cm,the relative average deviation is in 2.4%; The scope of Total Dissolved Solids(TDS) is 0ppm-20000ppm,the precision is up to the standard.The scope of salinity is 0.01-42.00,the precision is up to the standard..In the present thesis,the system designed of the multi-parameters water quality online analytic system and the experimental verification provided a reference for the development of electrochemistry class intelligence analytic instrument.The water quality analytic system can carry out online analysis of physical and chemical targets, satisfies the request of the water quality appraisal to some extent,provides a kind of effective solution for the water quality appraisal of the production and domestic water, and has certain practical significances.
Table of contents
Summary 5-9
Chapter 1 Introduction 9-15
1.1 Objective 9
1.2 in the field of Research and Development Dynamic 9-12
1.2.1 Water Quality measurement of the electrochemical sensor technology 9-10
1.2.2 microcontrollers is in the water quality analysis equipment 10-11
1.2.3 on C8051F series microcontrollers 11-12
1.3 research 12-13
1.4 Significance 13-14
1.5 overall program design 14-15
Chapter 2, the choice of measurement parameters and sensor measurement principle analysis 15-27
2.1 the choice of measurement parameters 15-16
2.1.1 Water quality analysis of the object and standard 15
2.1.2 the choice of measurement parameters and measurement indicators to determine 15-16
2.2 sensor measurement principle analysis 16-23
2.2.1 conductance analysis principle 17-18
2.2.2 solution conductivity measurement 18-19
2.2.3 Total Dissolved Solids (TDS) and salinity measurements 19-21
2.2.4 potentials is analysis principle 21
2.2.5 pH value of the measurement 21-23
2.2.6 aqueous solution redox potential measurement 23
2.3 the influence of temperature on the water quality indicators 23-27
2.3.1 of temperature on the conductivity 23-24
2.3.2 Temperature on the pH of the 24-25
2.3.3 Temperature correction 25-27
Chapter 3 system hardware circuit design 27-42
3.1 circuit design 27-28
3.2 device selection 28-31
3.2.1 microcontroller C8051F021 28-29
3.2.2 Integrated Differential Operational Amplifier AD620 29-30
3.2.3 integration of the UART-USB communication converter chip FT232 30-31
3.3 each module circuit design 31-42
3.3.1 MCU control system circuit design 31-33
3.3.2 conductivity channel circuit design 33-35
3.3.3 pH and mV meter channel circuit design 35-36
3.3.4 thermometer channel circuit design 36-37
3.3.5 system power circuit design 37-39
3.3.6 EEPROM circuit design 39-40
3.3.7 Human Interface circuit design 40-42
Chapter 4 Systems Programming 42-56
4.1 programming development environment 42-43
4.1.1 programming language of choice 42-43
4.1.2 C51 compiler and the ML-EC3 emulator 43
4.2 driver 43-49
4.2.1 microcontroller C8051F021 configuration 43-46
4.2.2 ~~ 2PROM-driven program design 46-47
4.2.3 LCD monitor YM12864 driver 47-49
4.3 parameter mathematical model 49-52
4.3.1 temperature parameter mathematical model to establish 50
4.3.2 millivolt parameter mathematical model 50
4.3.3 pH parameter mathematical model to establish 50-51
4.3.4 conductivity parameters of mathematical model 51
4.3.5 conductivity temperature compensation mathematical model to establish 51-52
4.4 system application design 52-56
4.4.1 human-machine interface design 53-54
4.4.2 host computer application design 54-56
Chapter 5 tests and experiments 56-63
5.1 system metrics analysis 56-61
5.1.1 Temperature measurement results 57-58
5.1.2 millivolt measurement results analysis 58-59
5.1.3 pH measurement analysis 59-60
5.1.4 Conductivity measurement results 60-61
5.2 Electrical performance analysis 61-63
full text summary 63-65
Summary 65-67
Abstract 67-70
thank 70-71
References 71-74
Appendix 1 circuit schematic 74-78
Figure 1.1 single chip control system and the base generating circuit 74-75
Figure 1.2 man-machine interface circuit 75-76
Figure 1.3 Power and USB communication interface circuit 76-77
Figure 1.4 signal amplification conditioning circuit 77-78
Appendix 2 circuit PCB layout, hardware and physical map 78-80
The circuit in Figure 2.1 PCB layout 78-79
Figure 2.2 hardware kind 79-80
Appendix 3 to the PC program interface 80-81
Appendix 4 part of the driver header files 81-103
Related dissertations
- A Study on Preparation of Colloidal Silica Particles Using Seeds Growth and Its Mechanism
- The Study of Supply Chain Financial Risk Assessment Based on Energy Analysis Model
- Research and Design of Intelligent Medical Infusion Monitoring System
- Research of Permeability Testing System for Clay
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- Design and Implementation of Information Acquisition System for Industry Field
- Measurement and Control System Design of Intelligent Greenhouse Nutritional Liquid Dripirrigation Device
- Microcomputer-controled Precision AC High-Voltage Power
- The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
- A Bus Body Control System Design Based on CAN Bus
- Research on Automatic Water Supply Control System of Poultry Farms Based on Mcu Microcontroller
- Design of the Space Seat’s Acquisition and Control System
- The Design of Constant Temperature and Humidity Incubator System Based on Microcontroller
- Multi-function Smart-home Control Terminal
- Design and analysis of the movement of armed robot control system
- The Research of Fault Diagnosis for Electric Actuator Base on PCA and LS-SVM
- Design of Fingerprint Security Door Control System
- The Design and Implementation of Enterprise Production and Material Management Information System
- An Experimental Microwave Drying Device with Power Output Been Adjusted Continuously
- The Significance of Detecting NE, Citric Acid and pH of EPS in the Diagnosis of Type Ⅲ Prostatitis