In order to solve the problem that the measurement accuracy of four-electrode electrochemical gas sensor is easily affected by ambient temperature,a temperature compensation method based on particle swarm optimization BP neural network algorithm(PSO-BP)is proposed.The modified PSO algorithm(MPSO)is used to optimize the weight and threshold of BP neural network and the temperature compensation model of four-electrode electrochemical gas sensor is constructed.The test system of gas sensor is also designed.The ex-perimental results show that MPSO-BP algorithm can effectively improve the convergence speed and generalization ability of BP neural network.The temperature compensation model of four-electrode gas sensor based on MPSO-BP algorithm can control the temperature compensation error within 0.1%.
关键词
温度补偿/电化学气体传感器/粒子群优化/BP神经网络/四电极
Key words
temperature compensation/electrochemical gas sensors/particle swarm optimization/BP neural network/four-electrode