[0002] The servo system is widely used in the
aerospace field. It is inevitable that the servo system fails during operation, and the loss caused by the failure in the aerospace application is also immeasurable. In order to enhance the system response Adaptability to faults, usually using redundancy control technology, can guarantee the reliable operation of the entire system when a certain part of the system fails, and can meet certain performance requirements at the same time, but the
strong coupling characteristics between redundancy, especially the load state between redundancy The difference will lead to an increase in the difficulty of coordinated control of the servo system. In order to reasonably and effectively realize the coordinated control between dual-redundant motors, the various states of the servo system can be monitored in real time, and the speed of the motor,
bus voltage, three-phase current, and temperature can be collected. and rotor position and other parameters, people think of using DSP digital processors for
data acquisition, and using LabVIEW on the host computer for data visual display method, but there is still a lack of a
simple circuit structure in the prior art, which can collect double redundancy in real time The
data acquisition circuit of parameters such as
bus voltage, three-phase current, temperature and rotor position of the servo motor; moreover, the traditional communication scheme based on LabVIEW and DSP is easy to lose data when the amount of communication data is large and the communication time is extremely short. The program in the process of
parsing the data frame is complex and time-consuming, and it is difficult to meet the needs of the real-time
monitoring system; as the program runs for a long time, the amount of buffer data increases, resulting in a slowdown in the running speed of the program, or even a freeze; in the prior art There is still no
effective solution[0003] In LabVIEW, use the basic VISA communication "
serial port initialization - read and write
serial port - close the
serial port" to realize the sending and receiving of
serial communication data. In April 2017, Zhang Suping published "Based on DSP and LabVIEW" in the journal "Electronic Devices" In the article “Research on
Serial Communication of Advanced VISA”, on the basis of basic VISA communication, the use of while loop +
event structure enhances the real-time performance of the system and reduces the CPU usage, but it does not consider when the amount of communication data is large and the communication time is extremely short Under the requirements of the basic VISA communication, it is easy to cause
data loss. At the same time, the program is complicated and time-consuming in the process of
parsing the data frame, which is difficult to meet the needs of the real-time
monitoring system. In the patent of "LabVIEW high-speed
data processing and display method", Zhang Fan and others pointed out that in large-scale and complex LabVIEW projects, the signals in the system continue to increase, the amount of communication data is large, and the traditional
design process lacks a reasonable and effective program operation framework. The program has low efficiency during operation, large system resource occupation, and
image display freezes during high-speed
data processing and transmission. It is proposed to divide it into 11 functional modules according to the module
transmission rate, real-time performance, integrity and resource occupation. Each function The module creates a while loop to run the thread, and uses the timed while loop to set the priority of the function module and the
cycle time. Although this solution effectively solves the problems of complex communication and untimely
data processing, the overall
program structure is complex and uses many threads. Improper handling can easily increase CPU usage and make the program run slowly