传感技术学报2025,Vol.38Issue(1):75-81,7.DOI:10.3969/j.issn.1004-1699.2025.01.009
一种基于STM32微控制器的电阻型湿度传感器校准系统设计
Design of a Resistive Humidity Sensor Calibration System Based on STM32 Microcontroller
摘要
Abstract
A resistance humidity sensor calibration system based on STM32 microcontroller is proposed,aiming to improve the accuracy and linearity of the sensor,which mainly includes a reference standard testing environment for relative humidity of saturated salt solution based on PID(proportional differential integral)algorithm and PWM(pulse width modulation)control,and the software and hardware de-sign of the wet and dry bulb thermometer humidity auxiliary test calibration system,power circuit,constant temperature circuit,air pres-sure detection circuit,motor drive circuit,output display circuit and other modules composed of Buck(Buck chopper)switching power supply and LDO(low dropout linear regulator)circuit.Finally,the GO/ZnO/PCF(graphite oxide/zinc oxide/vegetable cellulose film)resistance humidity sensor is self-made.The resistance humidity sensor is placed in the relative humidity reference standard test envi-ronment to record the output resistance value of the sensor in real time and calibration is performed.After multiple rounds of tests and data processing,the binary search algorithm is used to obtain the corresponding humidity data of the sensor.The research shows that the designed calibration system can control the error of the humidity sensor within±2%RH,and achieve a stable response of 90%within 10 seconds in a standard humidity test environment.Furthermore,after an error calibration,the sensor takes no more than 30 seconds to recover to a new stable state.The calibration system has significant advantages such as low cost,easy operation and portability,and has important practical value.关键词
湿度传感器/校准实验箱/嵌入式系统/PIDKey words
humidity sensor/calibration test box/embedded systems/PID分类
信息技术与安全科学引用本文复制引用
张鹏,殷家璇,陶佰睿,李会..一种基于STM32微控制器的电阻型湿度传感器校准系统设计[J].传感技术学报,2025,38(1):75-81,7.基金项目
黑龙江省省属本科高校优秀青年教师基础研究支持计划项目(YQJH2023105) (YQJH2023105)
黑龙江省高等教育教学改革研究项目(SJGZB2024187) (SJGZB2024187)
2023年度黑龙江省省属高等学校基本科研业务费科研项目(145309328) (145309328)
黑龙江省自然科学基金项目(LH2023F052) (LH2023F052)