| Angular velocity sensors are sensors used to measure the speed at which an object rotates around a specific axis.They are widely used in the aerospace field,where measurement accuracy is one of their key performance indicators,directly affecting the accuracy and reliability of tracking and striking targets.With the mass production of a new type of aircraft by a certain company within the Aerospace Science and Technology Group,it has become a top priority to efficiently and accurately measure and evaluate the various parameters of its angular velocity sensors to ensure they meet the design requirements.In response to the above situation,commissioned by the aforementioned company within the Aerospace Science and Technology Group,a software for an automated testing system for the angular velocity sensors of a certain type of aircraft was developed to measure the performance parameters of the sensors under different working environments and states,and efficiently screen the products.Based on the technical agreement,requirements analysis and solution design were carried out,using PCI measurement and control units and industrial computers as the core,and design implementation was carried out using the PCI bus standard and virtual instrument technology.To meet the requirements of the PCI measurement and control unit for input and output signals,the signal conditioning unit was designed and developed.The multiplexing of the measurement and control card’s frequency measurement channels and I/O expansion were realized,and waveform conversion units and filtering and conditioning units were designed for analog/digital signals in the testing system.In order to ensure the reliability of instruction transmission and control by the main control chip,a communication protocol and feedback mechanism were formulated.The software was designed using modular design theory to implement the testing system’s functions of analog signal acquisition and display,frequency measurement,and digital signal instruction transmission and reception.The automated testing method of the testing system was analyzed and designed,and multi-threading technology was used to realize parallel control of various functional modules,achieving real-time data acquisition,processing,and storage to improve the operating efficiency of the system,ensure data timeliness,and enhance testing performance.The EF framework was used for database mapping and ORM operation,and database management software(SSMS)was used to design data tables and comprehensively manage stored data.We have designed the command sending and receiving method,as well as the stability judgment method for the turntable/mechanism.Without occupying too much resources,we have developed communication protocols and feedback methods to make the command sending and receiving control more stable.We have also used the first in,first out characteristics of the queue for stability judgment design,making stable state identification more accurate.This article tested and verified each module of the testing system and developed a simulator system for simulating field signals to cooperate with software debugging.The testing system was simulated and tested,field-tested,and accuracy-tested and verified using unit testing,integration testing,and system testing methods.The testing system software functioned and performed well,the testing process was concise and efficient,and the measurement error met the protocol requirements,and it has now been delivered for use. |