Real-time correction for sensor's dynamic error based on DSP
Jian Wu, Zhijie Zhang, Ganggang Dong, Wenlian Wang · 2011
In order to realize real-time correction for sensor's dynamic error, a novel test system is designed. In this design, TMS320F2812 DSP is adopted for data acquisition and storage, the dynamic compensation algorithm is used for data processing. In this paper, the dynamic compensation algorithm is based on Particle Swarm Optimization(PSO), with this algorithm a dynamic compensator can be realized without knowing the dynamic characteristics of the sensor, the parameters of the compensator is optimized using PSO algorithm according to the step response of the sensor and the reference model. The test system is adopted for sampling data from simulator of sensor, the results show that the system does not only sample and store data accurately, but also corrects the dynamic error caused by simulator of sensor.