Design of the Intelligent Online DO Analyzer Based on the ATmega128 Micro-controller
摘要:本文介绍了基于ATmega128单片机的智能在线溶解氧分析仪的设计。本设计综合应用了低功耗的单片机和外围芯片,并采用了灵敏度高、稳定性强的电化学传感器。总体设计实现了系统的测量精度高、低功耗、稳定性好等特性,同时达到智能化处理和中英文操作的功能,已广泛应用于水质溶解氧的在线检测。
关键字:溶解氧;极谱式;电化学;ATmega128
Abstract: A kind of design scheme of the Intelligent Online DO Analyzer based on the ATmega128 Micro-conteoller has been now presented. The ultralow-power single-chip ATmega128, other peripheral chips and high sensitivity and strong stability electrochemistry sensors are used synthetically in this scheme. The whole design can realize some traits such as high- precision, ultralow-power, strong stability of the system and it can also perform functions like intelligent processing and English-Chinese hinting, which have been widely used to measure the water DO property on line.
Keywords: dissolved oxygen, polarographic, electrochemistry, ATmega128
0 引言
近年来,随着科学技术的不断发展,越来越多的人开始意识到监测水中溶氧的必要性和重要性。尤其是大中型发电厂、水处理厂、油田及环保等单位,为确保水质,保证设备长期正常运行,必须严格地监测和控制所用水中的溶解氧含量。
目前,普遍采用专用仪器(溶氧仪)代替化学法测定溶解氧含量。溶氧仪主要由主机和传感器(电极) 构成。传感器主要有两种,即原电池式“DO”电极和极谱式复膜电极。原电池式“DO”电极由于消耗电极材料、精度低、寿命短而逐渐被淘汰。而极谱式复膜电极以其受干扰小、使用寿命长、便于储存等优点被大量应用在DO测量上。目前,国内也生产极谱式电极溶氧仪,但存在准确度差、稳定性差、定标复杂、各种补偿功能不足的缺点。国外的溶氧仪虽然精度高 ,但其价格昂贵,维护困难,难以满足国内的需求。因此,设计了基于ATmega128微控制器的智能在线溶解氧分析仪,该系统具有低功耗、精确度高、稳定性好、存储量大等特点。
1测量原理
测量水中溶解氧含量的仪表属于电流式分析仪器,电流式分析仪的传感器能够把被分析物质浓度的变化转换成电流信号的变化。按工作原理的不同,又可分为原电池式和极普式。本设计是基于极普式工作原理的。
1.1极普式原理
在极普型电流传感器的阴、阳电极间施加从小到大的电压时,由于溶液中某种被分析物质的存在,测量输出电流可以得到如图1所示的极谱图。