Liquid level identification method based on infrared temperature measurement and Nelder-Mead algorithm
摘要
传统液位检测的方法主要是利用红外热像仪,得到待检测目标的红外图像后,再通过图像处理得到液位值,存在精度低,处理速度慢的缺点.针对上述缺点,提出了一种基于储罐红外图像处理的液位初提取与Nelder-Mead算法耦合的液位精确识别方法.首先,将采集到的储罐红外图像进行图像处理,以得到液位初值;然后,基于储罐的传热物理模型和液位初值,获取储罐表面温度分布的数值模拟结果;最后,通过Nelder-Mead算法来反演识别液位.为了验证算法有效性,设计了多组在不同液位和温度情况下进行识别的实验,实验结果表明:在工程允许的误差范围内,该方法有效提高了液位识别精度,液位识别的相对误差均可控制在1%,证明该方法具有很好的准确性和适应性.
Conventional liquid level detection methods primarily rely on infrared thermal imagers to capture infrared images of the target,and the liquid level value is then obtained via image processing,which has disadvantages of low precision and slow processing speed.Aiming at the above disadvantages,a new method for precise liquid level identification is proposed that couples initial liquid level extraction from tank infrared image processing with the Nelder-Mead algorithm.Firstly,the acquired infrared images of the tank are processed to obtain an initial liquid level value.Then,numerical simulation results of the surface temperature distribution of the tank are obtained based on the heat transfer physical model of tank and initial liquid level value.Finally,the Nelder-Mead algorithm is used to invert and identify the liquid level.To verify the effectiveness of the algorithm,multiple groups of experiments for identification in different liquid level and temperature conditions are designed.Experimental results show that this method effectively improves the liquid level identification precision,within the allowable engineering error range,the relative error can be controlled within 1%,which verifies that the method has good accuracy and adaptability.