Abstract:Abstract: Aiming at the verification requirements of Gray code type wind direction sensors, especially for hidden faults that are difficult to troubleshoot, the on-site automatic verification system is designed. Through the design of the power supply module, the battery is realized, the sensor can be detected directly, and there is no need to additionally power the sensor; through the Gray code point detection (each point of the Gray code has a high and low level change, the Gray code of the adjacent 2 groups only changes by 1 point and The regularity of alternating high and low levels at different points of the Gray code) and wind direction value detection (the reading at 0° detection point is normal, the wind direction value changes in sequence, and all wind direction values should appear) and other methods, the operation method is simpler and more comprehensive troubleshooting. The system has passed the simulated fault test and the business trial of relevant meteorological departments of provinces, cities and counties. The results show that the system is portable and easy to use, the detection period is shorted to 5 seconds, the output of the detection results is clear and accurate, and it can better meet the business requirements of on-site verification of wind direction sensors.