基于荧光法的溶解氧传感器研制及试验
1.
2.
3.
A Fluorescence Based Dissolved Oxygen Sensor
1.
2.
3.
通讯作者: 郭 亚(1977-),男,博士,教授,研究方向为传感器与仪器,系统建模与控制,农业物联网与大数据分析。电话:
收稿日期: 2020-05-12 修回日期: 2020-06-25 网络出版日期: 2020-08-10
基金资助: |
|
Received: 2020-05-12 Revised: 2020-06-25 Online: 2020-08-10
作者简介 About authors
顾浩(1997-),男,硕士研究生,研究方向为传感器。E-mail:guhao0222@163.com。
溶解氧含量的测量对水产养殖具有极其重要的意义,但目前中国市面上的溶解氧传感器存在价格昂贵、不能持续在线测量及更新部件维护困难等问题,难以在水产养殖物联网中大规模推广和发挥作用。本研究基于荧光淬灭原理,利用水中溶解氧浓度与荧光信号相位差的关系进行低成本、易维护溶解氧传感器的研发。首先利用自制备溶氧敏感膜,经激发光照射后产生红色荧光,该荧光寿命可由溶解氧浓度调节;然后利用光信号敏感器件设计光电转化电路实现光信号感知;再以STM32F103微处理器作为主控芯片,编写下位机程序实现激发光脉冲产生,利用相敏检波原理以及快速傅里叶变换(FFT)计算激发光与参照光的相位差,进而转化为溶解氧浓度,实现溶解氧的测量。荧光探测部分与系统主控部分采用分离式设计思想,利用屏蔽排线直接插拔连接,便于传感器探测头的拆卸、更换、维护以及实现远距离在线测量。经测试,本溶解氧传感器的测量范围是0~20 mg/L,响应延迟小于2 s,溶氧敏感膜使用寿命约1年,可以实时不间断地对溶解氧浓度进行测量。同时,本传感器具有测量方便、制作成本低、体积小等特点,为中国水产养殖低成本溶解氧传感器的研发与市场化奠定了良好的基础。
关键词:
The measurement of dissolved oxygen content in water is of great significance to aquaculture. However, the dissolved oxygen sensors on the market in China are expensive, and are difficult to maintain continuous online measurement and update parts, so they cannot be widely applied in real production and play expected role in the aquaculture Internet of things(IoT). Based on the principle of fluorescence quenching, a low cost and easy maintenance of dissolved oxygen sensor was developed in this work based on the relationship between the concentration of dissolved oxygen in water and the phase difference of fluorescence signal. The self-made oxygen-sensitive membrane was used to generate red fluorescence which being excited by blue light, and the fluorescence life was regulated by the concentration of dissolved oxygen. Photoelectric conversion circuit with optical signal sensing device was designed to sense optical signal. The STM32F103 microprocessor was used as the main control chip, and the lower computer program was programmed to generate the excitation light pulse. The phase-sensitive detection principle and fast Fourier transform (FFT) were used to calculate the phase difference between the excitation light and the reference light, which was converted into the concentration of dissolved oxygen and realized the measurement of dissolved oxygen. The fluorescence detection part and the main control part of the system were designed as detachable independent modules, and shield lines were used to plug and pull directly, so as to facilitate replacement and maintenance and realize online remote measurement. The testing results showed that, the measurement range of the sensor was 0-20 mg/L, system time delay was less than 2 s, and the life time of the oxygen sensitive membrane would be about 1 year. The dissolved oxygen sensor has the characteristics of convenient measurement, stable result output, low cost and small volume, which will lay a good foundation for the development and marketization of low-cost dissolved oxygen sensors in aquaculture industry of China.
Keywords:
本文引用格式
顾浩, 王志强, 吴昊, 蒋永年, 郭亚.
GU Hao, WANG Zhiqiang, WU Hao, JIANG Yongnian, GUO Ya.
1 引 言
当前国外在溶解氧的检测方面一般采用基于荧光淬灭效应的溶解氧测量仪,如瑞士DMP公司的MICROXI型的溶解氧测量仪、美国OXYMON氧气测量系统等,此类设备测量方便、快速,并可实现在线测量。而国产的溶氧传感器大部分是基于电流测量法,在检测速度和便捷性方面与国外传感器还有一定的差距;其他少量基于荧光法的溶解氧传感器价格也非常昂贵,大约2000~5000 元人民币,农民负担不起。通常可能约1.33 ha的池塘只安装一个溶解氧传感器,由于池水流动性差可能导致溶解氧在大面积的池塘范围内分布不均,大大增加了水产养殖的风险。同时现有的溶解氧传感器往往安装使用步骤繁琐,部件损坏后更换维护困难且维护成本高,难以在水产养殖物联网中大规模推广。总的来说,尽管目前中国在溶解氧传感器方面做了一些研究和开发,但溶解氧传感器仍是水产养殖领域众所周知的难点。因此,研制低成本、易维护的荧光淬灭型溶解氧传感器具有极为重要的意义。
2 荧光淬灭溶解氧传感器测量原理及材料制备
2.1 荧光淬灭溶解氧传感器测量原理
其中,I0、I分别为溶液中氧浓度为0 mg/L和饱和时的荧光强度;τ0、τ分别为溶液中氧浓度为0 mg/L和饱和时的寿命,s;[O2]为溶解氧的浓度,mg/L;KC是一个定值,称为Stem-Volmer常数。由
式中,f为调制信号的频率,Hz;τ为荧光寿命,s。由
其中,θ0是无氧水中荧光信号的相位差;θ是在溶解氧浓度为[O2]时的荧光信号的相位差。因此最终问题归结为荧光信号与激发光的相位差测量问题。
2.2 荧光材料制备
荧光材料(荧光敏感膜)是影响光学溶解氧传感器测量效果的关键因素之一,但在市面上价格昂贵。为降低生产成本,本研究中采用自制备的荧光材料,制备过程如下:①考虑膜基体的稳定性和荧光发光效率,将聚二甲基硅氧烷与四乙氧基硅氧烷混合;②加入四苯基铂卟啉,超声30 min;③80℃下回流8 h;④取上述混合液均匀滴涂或旋涂于聚酯片上,75℃下固化48 h,冷却至室温形成。此方法自制备的荧光膜成本可压缩至当前市面上的荧光膜价格的20%以内。
3 传感器系统设计
3.1 系统总体设计
图1
整个系统分为探测头和主控制板两部分。探测头部分主要由LED驱动模块、光电转化模块、温度测量模块以及I-V转换模块构成,其中LED驱动模块用于驱动LED发光二极管产生参照光和激发光脉冲光波,激发光为中心波长为450 nm的蓝色光,照射到自制的荧光材料上产生红色荧光[12,13]。参照光为中心波长700 nm的红色光,参照光与红色荧光为同频率、同初始相位的矩形脉冲波形,经过的光路和电路结构基本相同,减小测量误差。I-V转换电路由AD8606芯片及其外围电路组成,实现电流信号到电压信号的转换并对电压信号进行一定倍数的放大。温度测量模块由DS18B20芯片及其外围电路组成,DS18B20采用一线制结构,节约了探测头的空间。主控制板部分为系统的核心,主要由电源管理模块、RS485通信模块、时钟模块、温度采集模块以及荧光采集模块组成。其中电源管理模块为系统提供稳定的电源,时钟模块为微控制单元(Microcontroller Unit,MCU)提供运行需要的频率,温度采集模块读取DS18B20数据并将其转化为温度数据,荧光采集模块读取荧光信号并进行快速傅里叶变换(Fast Fourier Transform,FFT)以获取参照光与激发荧光的相位差。
3.2 MCU主控制芯片
3.3 电源管理模块设计
图2
3.4 485接口电路设计
图3
3.5 LED驱动电路设计
(1)打开激发脉冲,以10 kHz的方波驱动蓝光LED,同时MCU开始采集红色荧光信号并计算当前相位。
(2)关闭激发光,打开参照光脉冲,以同频率的方波波形驱动电路红光LED,MCU重新采集红光信号并计算相位。
(3)由于两次采集间隔时间很短,可以认为两次计算的相位之差即激发光与荧光之间的相位差。
图4为LED驱动电路,在本研究中LED供电与驱动信号均通过屏蔽总线提供。
图4
3.6 光电转换模块设计
图5
3.7 温度测量模块设计
3.8 物理结构设计
在结构上,传感器探测头和主控板采用分离式设计的思想,中间采用屏蔽式杜邦线总线结构进行连接,用户可根据需求选择不同长度的屏蔽线,传感器探测头的体积小,方便使用者将传感器部署至不同的环境中,同时可插拔式总线连接结构的设计便于用户更换传感器探测头,传感器电路实拍图如图6所示。
图6
3.9 下位机程序总体设计
(1)初始化各个外设模块,同时打开系统定时器,通过系统定时器协调控制整个传感器的工作流程。
(2)每次测量溶解氧浓度之前读取一次DS18B20获取当前温度值。
(3)计数器计时到达设定值time 1时打开激发光激发脉冲,同时ADC模块开始工作采集信号。
(4)计数器计时到达设定值time 2时,关闭激发光LED脉冲,打开参照光激发脉冲,同时ADC模块重新开始采集信号。
图7
4 测试试验及结果分析
由前文
表1 标准大气压下饱和溶液氧气浓度与温度关系
Table 1 Oxygen concentration vs. temperature of saturated dissolved oxygen solution at standard atmospheric pressure | |
---|---|
温度/℃ | 溶解氧浓度/(mg·L-1) |
0 | 14.64 |
5 | 12.74 |
10 | 11.26 |
15 | 10.08 |
20 | 9.08 |
25 | 8.25 |
30 | 7.56 |
35 | 6.95 |
40 | 6.41 |
45 | 5.92 |
50 | 5.47 |
经过拟合饱和有氧水中的溶解氧浓度与温度的关系,发现三阶多项式拟合效果较好,拟合误差较小(<1%)。拟合效果如图8所示。
图8
图8
饱和溶液氧气浓度与温度拟合图
Fig. 8
Fitting curve of oxygen concentration vs. temperature in saturated dissolved oxygen solution
由此可得拟合关系式为:
式中,y1(T)为氧气浓度,mg/L;T为温度值,℃。
表2 饱和溶解氧相位差正切值随温度变化
Table 2
温度/℃ | 相位差正切值 |
---|---|
20.0 | 1.030269614 |
24.3 | 1.024497333 |
25.5 | 1.024260061 |
29.7 | 1.015634698 |
35.0 | 1.010343318 |
37.9 | 1.001072992 |
40.1 | 0.996254294 |
45.3 | 0.988220595 |
通过拟合,可以看出饱和溶解氧情况下相位差正切值与温度呈线性变化规律,拟合效果如图9所示。
图9
图9
饱和溶氧水相位差正切与温度拟合图
Fig. 9
Tangent of phase difference between saturated dissolved oxygen solution and temperature fitting diagram
由此可得拟合关系式为:
式中,y2(T)为相位差的正切值;T为温度值,℃。
在自来水中加入过量的无水亚硫酸钠,制备无氧水环境,搅拌后静置一段时间等待反应完全后逐渐对水加热并测量相位差正切值与温度的关系,拟合无氧水中相位差正切值与温度的函数关系。无氧水条件下相位差正切值与温度对应关系如表3所示。
表3 无氧水中相位差正切值随温度的变化
Table 3
温度/℃ | 相位差正切值 | 温度/℃ | 相位差正切值 |
---|---|---|---|
18.0 | 1.271230 | 31.6 | 1.245970 |
18.8 | 1.274889 | 32.6 | 1.187538 |
19.5 | 1.281785 | 33.5 | 1.251782 |
20.6 | 1.279481 | 34.3 | 1.221326 |
20.8 | 1.270773 | 35.1 | 1.243305 |
22.0 | 1.251334 | 36.3 | 1.229623 |
22.5 | 1.242416 | 37.1 | 1.237545 |
23.0 | 1.262138 | 38.1 | 1.230061 |
23.8 | 1.263950 | 39.2 | 1.231378 |
24.6 | 1.275347 | 40.1 | 1.214824 |
25.2 | 1.236220 | 42.1 | 1.193445 |
26.4 | 1.201516 | 43.6 | 1.219154 |
27.8 | 1.263950 | 49.8 | 1.208792 |
30.5 | 1.249544 | 54.2 | 1.166720 |
通过拟合,可以看出无氧水情况下相位差正切值与温度呈线性变化规律,拟合效果如图10所示。
图10
图10
无氧水相位差正切值与温度拟合图
Fig. 10
Tangent values of phase difference of oxygen-free water and temperature fitting diagram
由此可得拟合关系式为:
式中,y3(T)为相位差正切值;T为温度值,℃。
(3)在上述测量的基础上,结合
由

其中,[O2]即待测量的氧气浓度值,mg/L;tanθ是当前环境下测量得到的相位差的正切值;tanθ0可通过公式(6)计算得到;KC(T)可通过
即在每次溶解氧浓度测量之前先进行一次温度测量,测得当前水温度后分别根据公式(6)和
经测试,本系统的测量范围是0~20 mg/L,响应延迟小于2 s(探测头放入水中到测量所得相位差相位稳定所经过的时间),溶氧敏感膜使用寿命约1年(正常淡水养殖水域测试),可以实时不间断地对溶解氧浓度进行测量,并且支持无线数据传输,方便接入物联网系统,能够满足正常水体溶解氧检测要求。
5 结 论
本研究设计了一种基于荧光淬灭原理的溶解氧浓度测量传感器,并实现了传感器系统的正常工作和持续稳定测量,本传感器的测量范围大约在0~20 mg/L,响应延迟小于2 s,溶氧敏感膜使用寿命约1年。该传感器可以通过485接口传感器组网,也可以直接通过串口进行数据交互,支持自定义协议,软件滤波与硬件滤波相结合,同时采用FFT计算,降低了系统的干扰。综上,本传感器主要有如下优势。
(1)实现了荧光材料的自制备,极大降低了生产开发成本。
(2)实现了传感器探测部分与主控板分离式设计,通过屏蔽杜邦线总线进行连接,实现了探测头的小型化设计,便于传感器部署和更换维护传感器探测头。
(3)实现了485接口电路,使其能够方便地接入互联网以及局域自组网。使数据传输更加稳定,网络容纳量更高。
本研究系统在水产养殖、环境检测等的溶解氧持续测量方面具有良好的应用前景。
参考文献
基于物联网的水产养殖池塘智能管控系统设计
[J].
A control system of an aquaculture pond based on Internet of Things
[J].
基于物联网技术的水质监测系统中不同溶解氧传感器应用效果初探
[J].
Preliminary study on application effect of different dissolved oxygen sensors in online water environment monitoring system based on the Internet of Things
[J].
基于荧光猝灭法的溶解氧传感器研制
[D].
Development of dissolved oxygen sensor based on fluorescence quenching principle
[D].
基于氧敏感膜的海水溶解氧测定技术研究
[J].
A dissolved oxygen detection technique based on an oxygen sensitive membrane in seawater
[J].
基于荧光猝灭原理的溶解氧浓度传感器的研究设计
[D].
The study and design of dissolved oxygen potency sensor based on fluorescence quenching principle
[D].
基于单光源频域荧光寿命的水体溶解氧浓度检测方法
[J].
Detection method of dissolved oxygen concentration in water based on single source frequency domain fluorescence lifetime
[J].
Design and research on the optical sensor of dissolved oxygen in water based on fluorescence quenching
[C]// International Symposium on Advanced Optical Manufacturing & Testing Technologies: Optical Test & Measurement Technology & Equipment.
The research of dissolved oxygen detection system based on fluorescence quenching principle
[C]//
光纤溶解氧传感器特性研究
[D].
The property study of fiber optic dissolved oxygen sensor
[D].
基于STM32微处理器的可编程序控制器设计
[J].
Design of programmable logic controller based on STM32
[J].
基于单片机的可编程序控制器设计
[J].
Design of programmable controller based on microcomputer
[J].
新型1,2,4-三唑重金属离子荧光淬灭剂的合成、表征与性能
[J].
Synthesis, characterization and properties of novel 1, 2, 4-triazole heavy metal ion fluorescence quencher
[J].
4-氨基-3,5-二(2-羟基苯基)-1,2,4-三唑的合成、表征及其光物理性能
[J].
Synthesis, characterization and photophysical properties of 4-Amino-3, 5-bis(o-Hydroxyphenyl)-1, 2, 4-Triazole
[J].
基于STM32微控制器的光谱仪控制系统设计
[J].
Simulation on miniature control system of FSV-305spectrometer based on STM32
[J].
基于STM32控制器的检测系统设计
[J].
Design of detection system based on STM32 controller
[J].
基于STM32的智能照明监控系统的设计与实现
[J].
Design and realization of intelligent lighting monitoring system based on STM32
[J].
开关电源对电子设备的电磁干扰分析
[J].
Analysis of electromagnetic interference of switching power supply to electronic equipment
[J].
基于单片机的开关电源设计
[J].
Design of switching power supply based on single chip microcomputer
[J].
LED负载恒流驱动电源电路的研究
[J].
Study on constant current-driven LED power circuit
[J].
RS485 总线接口性能测试仪设计与开发
[J].
Design and development of RS485 bus interface performance tester
[J].
负载源极连接谐振式Buck-Boost LED驱动电源
[J/OL].
Resonant Buck-Boost LED driver based on output common-source connection
[J/OL].
基于STM32大功率LED调光控制器设计
[J].
High-power LED dimming controller based on STM
[J].
The wide range of output frequency regulation method for the inverter using the combination of PWM and DDS
[J].
基于PWM调光的LED驱动器设计
[J].
LED driver design based on PWM dimming
[J].
基于STM32的微弱光电信号检测系统的设计与实现
[J].
Design and implementation of weak photoelectric signal detection system based on STM32
[J].
基于DS18B20温度传感器的温度测量系统设计
[J].
Design of temperature measurement system based on DS18B20 temperature sensor
[J].
数字温度传感器DS18B20的关键时序研究
[J].
Study on critical timing sequence of digital sensor DS1820
[J].
基于STM32的OLED音乐频谱显示器的设计
[J].
Design of OLED music spectrum display based on STM32
[J].
基于FFT算法的两相式测量在单片机中的实现
[J].
Two phases measurement in monolithic microprocessor based on FFT algorithmic
[J].
数字相敏检波在DSP中的实现
[J].
The realization of digital phase sensitivity detection technique in DSP
[J].
相敏检波技术测量微弱信号的原理与方法
[J].
To measure small signal by the technique of the coherent detection
[J].
/
〈 |
|
〉 |
