A driving rod signal acquisition and conversion device and a signal processing method thereof
By introducing a voltage follower, Hall voltage sensor, and inverting adder into the control stick signal acquisition system, the problems of weak anti-interference and signal distortion in the existing system in complex electromagnetic environments are solved, achieving high-precision and stable signal acquisition and long-distance transmission, meeting the high sensitivity and reliability requirements of aircraft maintenance simulation training.
Patent Information
- Application Number
- CN202511398178.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-28
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2045-09-28
AI Technical Summary
Existing control stick signal acquisition systems are weak in resisting interference in complex electromagnetic environments, prone to false triggering, and the displacement signal processing path is easily affected by load, leading to signal distortion. Furthermore, the interfaces are incompatible and it is difficult to achieve long-distance, high-reliability data transmission.
The displacement signal processing module includes a voltage follower, a Hall voltage sensor, and an inverting adder. The voltage follower isolates the signal source from the load, the Hall voltage sensor converts the bipolar signal into a current signal, and the inverting adder converts it into a unipolar voltage signal that is compatible with the ADC interface of the main control processing module. Data transmission is achieved through differential bus communication.
It improves signal acquisition accuracy and system stability, enhances anti-interference capabilities, and enables reliable long-distance data transmission in complex electromagnetic environments, meeting the high sensitivity and reliability requirements of aircraft maintenance simulation training.
Smart Images

Figure CN120871725B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of signal processing of simulation training equipment, more particularly, it relates to a kind of driving column signal acquisition and conversion device and its signal processing method. BACKGROUND
[0002] Maintenance simulation training is an indispensable part of modern aviation, aerospace and military fields, which provides highly realistic training experience for pilots or operators by simulating real operating environment. As a key operating component in maintenance simulation training, the accurate acquisition and conversion of the signal of the driving column are crucial for achieving the training goal. With the continuous development of simulation training technology, higher requirements are put forward for the accuracy, stability and anti-interference ability of the driving column signal acquisition.
[0003] Currently, the mainstream driving column signal acquisition system on the market mainly adopts two technical routes: one is to use a digital signal acquisition method of switch array + direct sampling, which connects the button and switch signal to the GPIO port of the single-chip microcomputer or acquisition module through pull-up / pull-down resistor, and uses software polling or interrupt mode to acquire the state. For example, the existing patent with application publication number "CN106675437A" discloses a driving column acquisition circuit for flight simulator, which uses matrix encoding method to acquire key signal and uses STM32 processor to complete state recognition. The second is to use displacement detection method of analog signal + single-chip microcomputer ADC acquisition, which uses potentiometer or Hall displacement sensor to output analog voltage, and inputs the analog voltage to the single-chip microcomputer ADC module after being processed by operational amplifier for position recognition. Among them, the existing patent with application publication number "CN110096697A" discloses a multi-degree-of-freedom analog flight controller, which also uses voltage sensor + analog acquisition method.
[0004] Although the above-mentioned schemes can realize basic signal acquisition function, there are still many defects in actual maintenance simulation training system. First, the button switch acquisition circuit has weak anti-interference ability, which is difficult to adapt to complex electromagnetic environment and is easy to cause false triggering; second, the displacement signal processing path is easily affected by load, resulting in signal distortion, especially in the case of multiple parallel inputs or long-distance wiring; third, the bipolar signal is not easy to be directly acquired, and the interface is not compatible, most single-chip microcomputer ADCs only support unipolar input, while high-precision displacement sensors often output ±10V analog signal; finally, the interface communication ability is insufficient, lacks standardized protocol support, and it is difficult to realize long-distance high-reliability data transmission.
[0005] The present application is just for these problems, and an improved driving column signal acquisition and conversion device and its signal processing method are proposed. SUMMARY
[0006] In view of the deficiencies of the prior art, the purpose of the present application is to provide a driving rod signal acquisition and conversion device and a signal processing method thereof.
[0007] To achieve the above object, the present application provides the following technical solutions:
[0008] A driving rod signal acquisition and conversion device comprises:
[0009] A displacement signal processing module is connected to the driving rod displacement sensor at the input end and connected to the main control processing module at the output end, used for collecting the bipolar analog displacement signal output by the driving rod and conditioning it into a unipolar voltage signal suitable for the ADC interface of the main control processing module; the displacement signal processing module comprises a voltage follower, a Hall voltage sensor and an inverting adder; wherein the voltage follower is connected to the displacement sensor of the driving rod and the Hall voltage sensor respectively, used for isolating the front-stage signal source of the driving rod displacement sensor from the load of the rear-stage Hall voltage sensor; the Hall voltage sensor is used for receiving the bipolar analog displacement signal buffered by the voltage follower and converting it into a current signal; the inverting adder is connected to the Hall voltage sensor, used for receiving the current signal output by the Hall voltage sensor and converting it into a unipolar voltage signal suitable for the ADC interface of the main control processing module;
[0010] A main control processing module is connected to the displacement signal processing module and the communication module respectively; used for collecting the unipolar voltage signal output by the displacement signal processing module and performing data packaging processing;
[0011] A communication module is connected to the main control processing module and the upper computer respectively; adopts a differential bus communication mode, used for realizing data communication with the upper computer.
[0012] The voltage follower effectively isolates the front-stage signal source from the rear-stage load, avoids signal attenuation and non-linear distortion, and improves the collection accuracy; the Hall voltage sensor converts the bipolar signal into a current signal, enhances the anti-interference capability; the inverting adder converts the current signal into a unipolar voltage signal suitable for the ADC, solves the compatibility problem. In combination with the main control processing module and the differential communication module, high-precision and anti-interference signal acquisition and long-distance stable transmission are realized, meeting the high sensitivity and reliability requirements of the maintenance simulation training.
[0013] Preferably, the driving rod signal acquisition and conversion device further comprises:
[0014] A button signal acquisition module is connected to the multiple switch signals on the driving rod, accesses the GPIO port of the main control processing module through the current limiting resistor array and the pull-up resistor, and suppresses signal jitter in combination with the filtering and de-bouncing algorithm.
[0015] Preferably, the driving rod signal acquisition and conversion device further comprises:
[0016] The power module is connected with the button signal acquisition module, the displacement signal processing module, the main control processing module and the communication module respectively, and is used for providing working voltage for the device and having reverse connection protection and filtering function.
[0017] Preferably, the voltage follower in the displacement signal processing module is constructed by using an operational amplifier with model OP07; the Hall voltage sensor is a Hall voltage sensor with model VSM025A; the inverting adder cooperates with a reference voltage source and a potentiometer bias circuit, and converts the current signal output by the Hall voltage sensor into a unipolar voltage signal suitable for the ADC interface of the main control processing module through a sampling resistor.
[0018] Preferably, the voltage follower includes an operational amplifier, an input filter unit and a symmetric power supply unit.
[0019] The input filter unit is connected with the output end of the driving rod displacement sensor and the non-inverting input end of the operational amplifier, and is used for filtering high-frequency interference in the output signal of the displacement sensor.
[0020] The inverting input end of the operational amplifier is directly connected with the output end, and is used for high-impedance following of the signal processed by the input filter unit, and isolating the front-stage signal source of the driving rod displacement sensor from the load of the rear-stage Hall voltage sensor.
[0021] The symmetric power supply unit is connected with the power supply pin of the operational amplifier, and provides positive and negative symmetric power supply for the operational amplifier, so as to guarantee undistorted following of the wide dynamic range signal.
[0022] Preferably, the inverting adder circuit includes a precise adjustable reference source and a bias compensation network.
[0023] The precise adjustable reference source is used for providing stable reference voltage, and realizes signal bias compensation by cooperating with the potentiometer zero adjustment network.
[0024] The bias compensation network accurately adjusts the unipolar voltage signal output by the inverting adder to the center of the ADC sampling range by adjusting the resistance voltage division ratio, so as to improve the signal linearity.
[0025] Preferably, the communication module constructs an RS485 bus communication circuit by using a bidirectional transceiver chip; and the model of the bidirectional transceiver chip is SN75176.
[0026] Preferably, the communication module includes a differential bus transceiver chip, a terminal resistor, a power supply isolation unit and an electromagnetic filter network.
[0027] The signal end of the differential bus transceiver chip is connected with the master control processing module and the upper computer respectively, the terminal resistor is connected in parallel with the differential signal output end of the differential bus transceiver chip, the power supply isolation unit is connected with the power supply loop of the differential bus transceiver chip, and the electromagnetic filter network is connected with the signal transmission path between the differential bus transceiver chip and the master control processing module.
[0028] The differential bus transceiver chip is used for realizing bidirectional conversion of differential signals between the master control processing module and the upper computer, the terminal resistor is used for matching bus impedance to inhibit signal reflection, the power supply isolation unit is used for isolating internal and external power supplies of the module to block interference coupling, and the electromagnetic filter network is used for filtering high-frequency noise of signals.
[0029] A signal processing method of a driving rod signal acquisition and conversion device, comprising:
[0030] The bipolar analog displacement signal output by the driving rod displacement sensor is input into the Hall voltage sensor after being buffered and isolated by the voltage follower.
[0031] The Hall voltage sensor converts the bipolar analog displacement signal into a current signal.
[0032] The inverting adder receives the current signal and converts it into a unipolar voltage signal suitable for the ADC interface of the master control processing module.
[0033] The master control processing module acquires the unipolar voltage signal, performs data packaging processing, and then uploads the signal to the upper computer through the communication module.
[0034] Preferably, the signal processing method of the driving rod signal acquisition and conversion device further comprises a system startup process and a button signal processing process.
[0035] The system startup process comprises:
[0036] The power module is connected with external power supply to generate the voltage required for the operation of each functional module of the device and complete power supply initialization.
[0037] The button signal processing process comprises:
[0038] After the switch signal on the driving rod is triggered, the button signal acquisition module processes the switch signal through the current limiting resistor array and the pull-up resistor, and cooperates with the filtering and de-bouncing algorithm to suppress signal jitter.
[0039] The master control processing module detects the switch signal state and updates the state cache, and uploads the button state data to the upper computer through the communication module.
[0040] Compared with the prior art, the present application has the following beneficial effects:
[0041] (1) The voltage follower constructed by introducing the operational amplifier OP07 at the signal input end of the driving rod displacement sensor effectively isolates the front-stage signal source and the rear-stage load, avoids signal attenuation and nonlinear distortion, significantly improves the collection accuracy and system response speed; compared with the existing potentiometer or direct ADC sampling mode, the system stability and sampling linearity are obviously improved, and it is especially suitable for the high sensitivity demand of subtle attitude adjustment in analog training scenes.
[0042] (2) The Hall voltage sensor is used to convert the voltage signal into a current signal for transmission, and the differential bus communication mode is combined, so that the immunity of the system to common mode noise and complex electromagnetic interference is greatly enhanced, and reliable data transmission can be stably carried out at a long distance in the occasion of severe electromagnetic environment such as cabin.
[0043] (3) The button signal acquisition module of the present application forms double protection through current limiting resistor array, pull-up resistor, filtering and de-bouncing algorithm, effectively suppresses signal jitter, avoids key continuous jumping and false triggering, and meets the demand of high reliability control of maintenance simulation training.
[0044] (4) The communication module of the present application constructs the RS485 bus communication circuit with a bidirectional transceiver chip, cooperates with terminal resistance and power isolation unit, realizes stable data transmission at a long distance, and has strong anti-noise interference ability, which can adapt to the complex deployment scene of various back-end systems such as host computer console and flight control simulation platform. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 The structure block diagram of the driving rod signal acquisition and conversion device provided by the embodiment of the present application is shown in the figure;
[0046] Figure 2 The function block diagram of the displacement signal processing module provided by the embodiment of the present application is shown in the figure;
[0047] Figure 3(a) is the driving rod pitch displacement signal processing circuit provided by the embodiment of the present application;
[0048] Figure 3(b) is the driving rod roll displacement signal processing circuit provided by the embodiment of the present application;
[0049] Figure 4 The circuit diagram of the main control processing module provided by the embodiment of the present application is shown in the figure;
[0050] Figure 5 The circuit diagram of the communication module provided by the embodiment of the present application is shown in the figure;
[0051] Figure 6 The circuit diagram of the button signal acquisition module provided by the embodiment of the present application is shown in the figure;
[0052] Figure 7 (a) is a ±15V power supply conversion circuit diagram of the power supply module provided by the embodiment of the application;
[0053] Figure 7 (b) is a ±12V power supply conversion circuit diagram of the power supply module provided by the embodiment of the application;
[0054] Figure 7 (c) is a 5V power supply conversion and protection circuit diagram of the power supply module provided by the embodiment of the application;
[0055] Figure 8 The signal processing method flow chart of the driving rod signal acquisition and conversion device provided by the embodiment of the application. DETAILED DESCRIPTION
[0056] The application aims to design a driving rod signal acquisition and conversion device with strong pertinence, good universality and strong anti-interference capability, improve the precision, stability and reliability of the maintenance simulation training control device, and has obvious practical value and popularization prospect. The following will be expanded, explained and introduced by combining the drawings through multiple embodiments.
[0057] The driving rod signal acquisition and conversion device provided by the embodiment of the application is used for collecting, conditioning and converting the multi-channel button control signal and the analog displacement signal of the maintenance simulation training driving rod into digital signals, and then uploading to the upper computer system through the serial communication mode, so as to realize complete recognition of the operation intention of weapon launching control, mode switching and the like. The device is widely applied in the fields of maintenance simulation training and simulation platform.
[0058] Figure 1 The functional block diagram of the driving rod signal acquisition and conversion device is provided for the application. Referring to Figure 1 The driving rod signal acquisition and conversion device provided by the embodiment of the application at least includes:
[0059] The displacement signal processing module is connected with the displacement sensor of the driving rod at the input end and connected with the main control processing module at the output end, and is used for collecting the bipolar analog displacement signal output by the driving rod and conditioning it into a unipolar voltage signal suitable for the ADC interface of the main control processing module; the displacement signal processing module includes a voltage follower, a Hall voltage sensor and an inverting adder; wherein the voltage follower is connected with the displacement sensor of the driving rod and the Hall voltage sensor respectively, and is used for isolating the front-stage signal source of the driving rod displacement sensor and the load of the rear-stage Hall voltage sensor; the Hall voltage sensor is used for receiving the bipolar analog displacement signal buffered by the voltage follower and converting it into a current signal; the inverting adder is connected with the Hall voltage sensor, and is used for receiving the current signal output by the Hall voltage sensor and converting the current signal into a unipolar voltage signal suitable for the ADC interface of the main control processing module;
[0060] The main control processing module is connected with the displacement signal processing module and the communication module respectively; the single pole voltage signal output by the displacement signal processing module is collected and data packaging processing is performed;
[0061] The communication module is connected with the main control processing module and the upper computer respectively; a differential bus communication mode is adopted to realize data communication with the upper computer.
[0062] Specifically, the input end of the displacement signal processing module is connected with the driving rod displacement sensor, receives the ±10V bipolar analog displacement signal output by the sensor, and the output end is connected with the ADC interface of the main control processing module; the core function is to adjust the ±10V bipolar analog displacement signal to 0~5V single pole voltage signal suitable for the ADC interface of the main control processing module. The functional modules (power supply, buffer, conversion, control, communication) of the driving rod signal acquisition and conversion device of the application are designed in a standardized manner, which is convenient for maintenance, upgrading and system integration; the module layout is clear and the interface is clear; the input channel can be expanded or the sensor can be replaced according to the application scene; compared with the existing hard-wired / integrated board system, it is more conducive to wiring and embedding in a complex cabin environment.
[0063] Figure 2 The functional block diagram of the displacement signal processing module provided by the embodiment of the application is shown in FIG. 3(a) and FIG. 3(b). Among them, FIG. 3(a) is a driving rod pitch displacement signal processing circuit provided by the embodiment of the application; FIG. 3(b) is a driving rod roll displacement signal processing circuit provided by the embodiment of the application. Referring to Figure 2 , FIG. 3(a) and FIG. 3(b), the internal specific structure and connection relationship of the displacement signal processing module are as follows:
[0064] The voltage follower is built with an operational amplifier of OP07 type, and specifically includes an operational amplifier, an input filter unit, and a symmetric power supply unit. The inverting input terminal of the operational amplifier is directly connected with the output terminal, forming a voltage follower topology; the operational amplifier is used to follow the driving lever displacement sensor signal processed by the input filter unit with high impedance, isolate the front-stage signal source of the driving lever displacement sensor from the load of the rear-stage Hall voltage sensor, and avoid the influence of the rear-stage load on the front-stage signal output, leading to distortion. The input filter unit is composed of an inductor and a capacitor, forming an LC input filter unit; one end of the input filter unit is connected with the output terminal of the driving lever displacement sensor, and the other end is connected with the non-inverting input terminal of the operational amplifier, for filtering high-frequency interference in the displacement sensor output signal, and ensuring the stability of the signal input to the operational amplifier. The output terminals of the symmetric power supply unit are respectively connected with the power supply pins of the operational amplifier, providing ±15V symmetric power supply for the operational amplifier; the ±15V power supply is generated by a DC-DC module of WRA2415S type in the power supply module, which can ensure the distortionless following of the operational amplifier to the wide dynamic range signal, and adapt to the ±10V bipolar analog displacement signal output by the driving lever displacement sensor.
[0065] The Hall voltage sensor is of VSM025A type, with the V+ pin connected with the output terminal of the voltage follower, the V- pin grounded, and the power supply pins connected with ±12V symmetric power supply respectively; the sensor receives the ±10V bipolar analog displacement signal buffered by the voltage follower, converts it into ±25mA current signal, and transmits it to the inverting adder through the output pin, using the strong anti-interference ability of the current signal to adapt to the complex electromagnetic environment of the maintenance analog training cabin and the long-distance wiring scene.
[0066] The inverting adder is built with an operational amplifier of OP07 type, with the inverting input terminal of the operational amplifier connected with the output terminal of the Hall voltage sensor through a 75Ω precision sampling resistor, and also connected with a bias compensation network composed of a reference voltage source of TL431 type and a potentiometer of 3296 type; the non-inverting input terminal of the operational amplifier is grounded, and the output terminal serves as the total output terminal of the displacement signal processing module, and is connected with the ADC interface of the main control processing module; the power supply pins of the operational amplifier are also connected with ±15V power supply. After receiving the ±25mA current signal output by the Hall voltage sensor, the inverting adder first converts the current signal into a voltage signal through the 75Ω precision sampling resistor, and then adjusts the resistance voltage division ratio through the bias compensation network composed of the TL431 reference voltage source and the 3296 potentiometer, finally regulates the voltage signal into a 0~5V unipolar voltage signal, realizing the adaptation with the ADC interface of the main control processing module.
[0067] The application effectively isolates the front signal source and the rear load by introducing the voltage follower constructed by the operational amplifier OP07 at the signal input end of the driving rod displacement sensor, avoids signal attenuation and nonlinear distortion, and significantly improves the collection accuracy and system response speed; compared with the existing potentiometer or direct ADC sampling mode, the system stability and sampling linearity are obviously improved, and it is especially suitable for high sensitivity demand of subtle attitude adjustment in analog training scene.
[0068] The application adopts the Hall voltage sensor to convert the voltage signal into a current signal for transmission, and combines the differential bus communication mode, so that the immunity of the system to common mode noise and complex electromagnetic interference is greatly enhanced, and the system can stably perform reliable data transmission at a long distance in a cabin or other electromagnetic environment.
[0069] Figure 4 The circuit diagram of the main control processing module provided for the embodiment of the application is shown in Figure 4 The main control processing module adopts a single-chip microcomputer with a model of ATMEGA32A-AU, which is an AVR architecture 8-bit processor with a clock frequency of 10MHz. The ADC interface (PA0, PA1, PA2, PA3 pins) of the single-chip microcomputer is directly connected to the output end of the displacement signal processing module, and the UART interface of the single-chip microcomputer is connected to the communication module. At the same time, the power supply pin of the single-chip microcomputer is connected to a 5V power supply, and a power-on reset circuit and a power supply filtering circuit composed of a capacitor are configured.
[0070] The function of the main control processing module is realized as follows: the 0~5V unipolar voltage signal output by the displacement signal processing module is collected through the ADC interface of the single-chip microcomputer, the collected voltage signal is converted into a digital signal, the displacement data and other state data (such as button signal state) are integrated and packaged according to a preset protocol, a standardized data packet is formed, and the data packet is sent to the communication module through the UART interface, so as to prepare for subsequent data uploading to the upper computer.
[0071] In the embodiment of the application, the main control processing module adopts the ATMEGA32A-AU single-chip microcomputer, collects the 0-5V unipolar voltage signal output by the displacement signal processing module through the ADC interface, integrates the displacement data and other state data according to a preset protocol after analog-digital conversion, forms a standardized data packet, and sends the data packet to the communication module through the UART interface, so as to realize efficient connection of signal collection, processing and transmission, provide reliable support for data uploading to the upper computer, and ensure the stability and continuity of the signal processing process.
[0072] Figure 5 The circuit diagram of the communication module provided for the embodiment of the application is shown in Figure 5The communication module uses an SN75176 bidirectional transceiver chip to construct an RS485 bus communication circuit, realizing differential bus communication. The D pin (data input pin) of the SN75176 bidirectional transceiver chip is connected to the TXD pin (PD1) of the main control processing module, and the R pin (data output pin) is connected to the RXD pin (PD0) of the main control processing module. The RE pin and DE pin are shorted and connected to a high level to enable the chip for transmission and reception. The A and B pins of the SN75176 bidirectional transceiver chip serve as differential signal output terminals, and are also connected to a bias resistor and a TVS device, where the TVS device is used for surge protection. The chip's power supply pins are connected to a 5V power supply. A self-resetting fuse is connected in series in the power supply circuit, and an electromagnetic filter network is configured to achieve power isolation and high-frequency noise filtering. The A and B pins of the communication module are connected to the RS485 interface of the host computer via a bus.
[0073] The communication module specifically includes a differential bus transceiver chip, a terminating resistor, a power isolation unit, and an electromagnetic filter network. The signal terminals of the differential bus transceiver chip are connected to both the main control processing module and the host computer, ensuring smooth data transmission between them. The terminating resistor is connected in parallel to the differential signal output terminal of the differential bus transceiver chip, achieving bus impedance matching through parallel connection. The power isolation unit is connected to the power supply circuit of the differential bus transceiver chip, forming isolation protection between the internal and external power supplies of the module. The electromagnetic filter network is connected to the signal transmission path between the differential bus transceiver chip and the main control processing module, specifically filtering out interference components in signal transmission. The specific functions of each component are as follows: the differential bus transceiver chip is used to realize bidirectional conversion of differential signals between the main control processing module and the host computer, and to complete the format adaptation of digital signals and differential signals; the terminating resistor is used to match the bus impedance to suppress signal reflection and avoid signal distortion due to impedance mismatch during transmission; the power isolation unit is used to isolate the internal and external power supplies of the module to block interference coupling and prevent external power interference from entering the module and affecting signal processing; the electromagnetic filter network is used to filter out high-frequency noise in the signal, further improving the purity of signal transmission and ensuring communication quality.
[0074] The communication module functions as follows: it receives standardized data packets sent by the main control processing module, converts them into RS485 differential signals, and uploads them to the host computer. It can achieve stable data transmission over a distance of more than 50 meters, with a data transmission reliability of over 99.9%. It can also resist complex electromagnetic interference in the aircraft maintenance simulation training cockpit, ensuring the stability of data interaction.
[0075] The communication module of this invention uses a bidirectional transceiver chip to build an RS485 bus communication circuit, and is equipped with a terminating resistor and a power isolation unit to achieve stable data transmission over long distances. It also has strong anti-noise interference capabilities and can be adapted to complex deployment scenarios of various back-end systems such as host computer consoles and flight control simulation platforms.
[0076] In the embodiment of the application, the driving rod displacement signal collection process of the driving rod signal collection and conversion device is as follows: first, the driving rod displacement sensor outputs a ±10V bipolar analog displacement signal to the displacement signal processing module. Then, the processing flow of the displacement signal processing module includes: LC filter unit filters out high-frequency interference→OP07 voltage follower isolation buffer→VSM025A Hall voltage sensor converts the ±10V voltage signal into a ±25mA current signal→OP07 inverting adder adjusts the ±25mA current signal into a 0~5V unipolar voltage signal through a 75Ω precision resistor, a TL431 reference source and a 3296 potentiometer. Then, the ATMEGA32A-AU master control processing module collects the 0~5V unipolar voltage signal through the ADC interface and packs it into a standardized data packet. Further, the RS485 communication module constructed by the SN75176 bidirectional transceiver chip converts the data packet into a differential signal and uploads the differential signal to the upper computer, completing the collection, conditioning, processing and transmission of the entire displacement signal. Experimental simulation data shows that under the condition of ±10V sinusoidal signal input, the linear error of the master control processing module ADC output after processing by the present scheme is controlled within ±0.8%, which is much better than the ±3% error range of similar unbuffered schemes. The system transmits no error frame through RS485 under 30 meters of communication cable, and has high stability.
[0077] The application effectively isolates the front signal source and the rear load through the voltage follower, avoids signal attenuation and nonlinear distortion, and improves the collection accuracy; the Hall voltage sensor converts the bipolar signal into a current signal, enhancing the anti-interference ability; the inverting adder converts the current signal into a unipolar voltage signal suitable for ADC, solving the compatibility problem. In combination with the master control processing module and the differential communication module, the precision, stability and reliability of the maintenance simulation training control device are significantly improved, realizing high-precision, anti-interference signal collection and long-distance stable transmission, meeting the high sensitivity and reliability requirements of maintenance simulation training.
[0078] In a preferred embodiment of the application, with reference to Figure 1 , the driving rod signal collection and conversion device further comprises:
[0079] The button signal collection module connects the multi-channel switch signal on the driving rod, accesses the GPIO port of the master control processing module through the current limiting resistor array and the pull-up resistor, and suppresses signal jitter in combination with the filtering and debouncing algorithm.
[0080] Specifically, with reference to Figure 1 and Figure 6The button signal acquisition module is connected with multiple switch signals on the driving rod, specifically, 9 switch signals on the driving rod, including sensor selection switch signal, transmission switch signal, trigger switch signal, missile switch signal, etc., to form a signal source of the button signal acquisition module. The button signal acquisition module is connected with the pull-up resistor through the current limiting resistor array and accesses the GPIO port of the main control processing module, wherein the main control processing module adopts the ATMEGA32A-AU type single-chip microcomputer, and the input end of the button signal acquisition module adopts the centralized grounding layout to reduce the influence of the grounding interference on the signal.
[0081] The current limiting resistor array is an array composed of 9 1kΩ resistors, and each switch signal is connected with a 1kΩ current limiting resistor in series to prevent overcurrent damage to the circuit. The pull-up resistor adopts a 10kΩ resistor and is connected to a 5V power supply to ensure that the GPIO port maintains a high level when the switch is off. Meanwhile, a 100nF filtering capacitor is connected in parallel to the GPIO port to filter out the high-frequency jitter components in the switch signal and form a hardware filtering mechanism.
[0082] To suppress signal jitter, the button signal acquisition module cooperates with the capacitor hardware filtering and the software debouncing algorithm to form a double debouncing mechanism: the capacitor hardware filtering filters out the high-frequency jitter components in the switch signal through the 100nF capacitor, and the software debouncing algorithm eliminates the signal fluctuation caused by the mechanical jitter of the button through the preset 10ms delay detection program logic, thereby avoiding the signal false triggering and the button continuous jumping caused by the jitter.
[0083] The function of the button signal acquisition module is to realize the control logic state input in the maintenance simulation training, collect the switch signal state corresponding to the operations such as missile abandonment or trim switching, and transmit the collected button state signal to the main control processing module, so as to provide button operation data support for the main control processing module to integrate displacement data and button data and form a standardized data packet. In addition, a TVS diode (such as SMAJ5.0A) is connected in parallel across the switch to provide surge protection and ensure the stability of the circuit in a complex electromagnetic environment. The grounding layout adopts a star grounding mode, and the 10Ω resistor and the 0.1μF capacitor are connected with the shell ground to effectively suppress low-frequency and high-frequency interference.
[0084] In the embodiment of the application, the button signal acquisition module is connected with multiple switch signals on the driving rod to build a complete control logic input link. The cooperation of the current limiting resistor array and the pull-up resistor ensures the safety of the circuit and the stability of the signal level, effectively avoiding the overcurrent risk and signal anomaly. Through the hardware filtering combined with the software debouncing algorithm, the double mechanism accurately suppresses the signal jitter, eliminates the unstable interference of the mechanical button, greatly reduces the false triggering probability, and ensures the accurate recognition of the button operation signal.
[0085] In a preferred embodiment of the application, referring to Figure 1 The driving rod signal acquisition and conversion device further comprises:
[0086] The power module is connected with the button signal acquisition module, the displacement signal processing module, the main control processing module and the communication module respectively, and is used for providing working voltage for the device and having reverse connection protection and filtering function.
[0087] Fig. 7(a), Fig. 7(b) and Fig. 7(c) show the circuit diagrams of the power module, wherein Fig. 7(a) is a ±15V power conversion circuit diagram of the power module provided by the embodiment of the application; Fig. 7(b) is a ±12V power conversion circuit diagram of the power module provided by the embodiment of the application; and Fig. 7(c) is a 5V power conversion and protection circuit diagram of the power module provided by the embodiment of the application. Referring to Figure 1 and Fig. 7, the 24V (18-36V) input of the power module is connected through the CN4 interface, the front end is connected in series with a diode D1 of model 1N5822 to realize reverse connection protection, so as to prevent damage of the circuit caused by reverse connection of the external power supply; and a 1A self-recovery fuse F1 is connected in series to realize overcurrent protection. After the input power supply is filtered by a filtering capacitor C0 (223 / 3KV) to remove high-frequency interference, the input power supply is divided into three DC-DC conversion circuits:
[0088] The ±15V power conversion circuit shown in Fig. 7(a) adopts a power module of model WRA2415S-3WR3, the input is 24V, and the output is ±15V symmetrical power supply. The module is matched with 68uH inductors L4 and L5, and capacitors C35, C36, C39 and C40 of 104 specification to form an LC filter network, so as to provide stable power supply for OP07 operational amplifiers of the voltage follower and the inverting adder in the displacement signal processing module, and guarantee the power supply precision of wide dynamic signal processing.
[0089] The ±12V power conversion circuit shown in Fig. 7(b) adopts a power module of model WRA2412S-3WR3, the input is 24V, and the output is ±12V symmetrical power supply. A filter circuit is constructed by 68uH inductors L6 and L7, and capacitors C37, C38, C41 and C42 of 104 specification, so as to provide power supply for a VSM025A Hall voltage sensor of the displacement signal processing module, and meet the power supply voltage requirement of the Hall voltage sensor.
[0090] The 5V power circuit shown in Fig. 7(c) adopts a power module of model WRB2405S-3WR3, the input is 24V, and the output is 5V power supply. With the help of a 100 / 50V capacitor C57 and capacitors C58 and C61 of 104 specification, working voltage is provided for the main control processing module ATMEGA32A-AU, the communication module SN75176 and the button signal acquisition module.
[0091] The power module provided by the application has reverse connection protection and overcurrent protection functions, can effectively prevent external power polarity reverse connection and overcurrent from damaging the circuit, and enhances the reliability of the device. Through the three-way DC-DC conversion circuit, ±15V, ±12V and 5V power supplies are accurately output, which respectively meet the power supply requirements of different components such as operational amplifiers, Hall voltage sensors and master control processing modules in the displacement signal processing module. The use of LC filter networks and filter elements effectively filters out high-frequency interference in the power supply, ensures the power supply accuracy of each module during wide dynamic signal processing, and lays a solid foundation for stable and accurate operation of the device.
[0092] Figure 8 The signal processing method flow chart of the driving rod signal acquisition and conversion device provided by the embodiment of the application is shown in Figure 8 The signal processing method of the driving rod signal acquisition and conversion device comprises the following steps:
[0093] The driving rod displacement sensor outputs a bipolar analog displacement signal, which is input into the Hall voltage sensor after being buffered and isolated by the voltage follower;
[0094] The Hall voltage sensor converts the bipolar analog displacement signal into a current signal;
[0095] The inverting adder receives the current signal and converts it into a unipolar voltage signal suitable for the ADC interface of the master control processing module;
[0096] The master control processing module collects the unipolar voltage signal, performs data packaging processing, and then uploads it to the upper computer through the communication module.
[0097] Specifically, the driving rod displacement sensor outputs a ±10V bipolar analog displacement signal, which is first input into the voltage follower. The voltage follower is constructed by an OP07 operational amplifier, the in-phase input end of which receives the displacement signal through an LC input filter unit composed of a 68uH inductor and a 1nF capacitor to filter out high-frequency interference; the opposite-phase input end and the output end of the operational amplifier are directly short-circuited to form a high-impedance following topology, which isolates the front-stage signal source of the driving rod displacement sensor from the rear-stage load of the Hall voltage sensor, and the buffered signal is input into the V+ pin of the Hall voltage sensor (VSM025A model).
[0098] The Hall voltage sensor receives the buffered ±10V bipolar analog displacement signal, converts it into a ±25mA current signal, and transmits it to the inverting adder through the output pin.
[0099] The inverting adder is built by an OP07 operational amplifier, the inverting input end of which is connected with the output end of the Hall voltage sensor through a 75Ω precision sampling resistor, and is connected with a bias compensation network composed of a TL431 reference voltage source and a 3296 model potentiometer; the non-inverting input end of the operational amplifier is grounded, and the power supply pin is connected with a ±15V power supply. After the current signal is converted into a voltage signal through the 75Ω resistor, the resistance voltage division ratio of the bias compensation network is adjusted, and finally a 0~5V unipolar voltage signal is output, which is suitable for the ADC interface of the main control processing module (ATMEGA32A-AU model single-chip microcomputer).
[0100] The main control processing module collects the 0~5V unipolar voltage signal through the ADC interface (PA0, PA1, PA2, PA3 pins), integrates the displacement data and button signal and other device state data after analog-to-digital conversion, packs them into a standardized data packet according to a preset protocol, and then sends them to the communication module through the UART interface. The communication module uses a SN75176 bidirectional transceiver chip to build an RS485 bus circuit, converts the data packet into a differential signal, and transmits it to the upper computer through the bus, realizes stable data transmission over a distance of more than 50 meters, resists the complex electromagnetic interference of the cabin in the maintenance simulation training, and ensures stable data interaction.
[0101] The signal processing method of the driving rod signal acquisition and conversion device provided by the embodiment of the application realizes buffer isolation of the displacement signal through the voltage follower, avoids load interference, and ensures the initial integrity of the signal; the Hall voltage sensor converts the voltage signal into a current signal, strengthens the anti-interference ability, and adapts to the complex electromagnetic environment of the cabin; the inverting adder accurately regulates the unipolar voltage, matches the main control ADC interface, and ensures the signal conversion accuracy. The main control processing module integrates the displacement and button data and standardizes the package, and the communication module realizes long-distance stable transmission with the help of the differential bus and resists interference. The whole process is coordinated, optimized layer by layer from signal acquisition, conditioning to transmission, the precision, stability and anti-interference of the driving rod signal processing are improved, the high reliability requirement of signal acquisition and conversion in the maintenance simulation training is met, and the real interactive experience of the simulation training is supported.
[0102] On the basis of the above embodiment, the signal processing method of the driving rod signal acquisition and conversion device further includes a system startup process and a button signal processing process.
[0103] The system startup process is:
[0104] The power module is connected with external power supply to generate the voltage required for the work of each functional module of the device, and completes the power supply initialization.
[0105] The button signal processing process is:
[0106] After the switch signal on the driving rod triggers, the button signal acquisition module processes the switch signal through a current limiting resistor array and a pull-up resistor, and cooperates with a filtering and de-bouncing algorithm to suppress signal jitter.
[0107] The master control processing module detects the switch signal state and updates the state cache, and uploads the button state data to the upper computer through the communication module.
[0108] Specifically, the system startup process is as follows: the power module is connected to an external 24V power supply, the internal DC-DC module starts to work, the WRB2405S generates a 5V voltage, the WRA2415S generates a ±15V voltage, and the WRA2412S generates a ±12V voltage, which respectively provide the working voltage required by the button signal acquisition module, the displacement signal processing module, the master control processing module and the communication module, complete the power supply initialization of the entire device, and ensure that each module has the starting running conditions.
[0109] The button signal processing flow is as follows: after the sensor selection switch signal, the trigger switch signal, the trigger switch signal, the missile switch signal and other 9 switch signals on the driving rod trigger, the button signal acquisition module processes the switch signal through a current limiting resistor array composed of 9 1kΩ resistors and a 10kΩ pull-up resistor, and cooperates with a capacitor filter and a software de-bouncing algorithm to suppress signal jitter; the master control processing module uses an ATMEGA32A-AU type single-chip microcomputer, detects the switch signal state through the GPIO port and updates the state cache, and then sends the button state data to the communication module through the UART interface; the communication module uses a SN75176 bidirectional transceiver chip to build an RS485 bus circuit, and uploads the button state data to the upper computer.
[0110] In the embodiment of the application, the power module is designed with a wide voltage input and a multi-specification DC-DC module to accurately adapt to the voltage requirements of each functional module, a self-restoring fuse and a reverse connection protection function to effectively resist power supply abnormalities such as overcurrent and reverse connection, and a filter network to filter power supply noise, ensuring stable power supply and providing a reliable initialization basis for the system startup process, ensuring stable operation of each module after startup. In the button signal processing flow, the current limiting resistor array and the pull-up resistor ensure stable signal level, the filtering and de-bouncing algorithm eliminates jitter interference, avoids false triggering of the button signal, the master control module efficiently detects and uploads state data, cooperates with the communication module to realize reliable transmission, and overall ensures that the driving rod button operation intention is accurately transmitted to the upper computer, adapts to the high reliability requirement of the control logic input in the maintenance simulation training, and improves the accuracy and stability of the simulation training operation feedback.
[0111] Those skilled in the art can clearly understand the technical solutions of the various embodiments from the above description of the embodiments, and the various embodiments can be implemented by means of software with the necessary general hardware platforms, and of course, can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that makes a contribution, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0112] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A control stick signal acquisition and conversion device, characterized in that: include: A displacement signal processing module, with its input connected to the control stick displacement sensor and its output connected to the main control processing module, is used to acquire the bipolar analog displacement signal output by the control stick and condition it into a unipolar voltage signal compatible with the ADC interface of the main control processing module. The displacement signal processing module includes a voltage follower, a Hall voltage sensor, and an inverting adder. The voltage follower is connected to both the control stick displacement sensor and the Hall voltage sensor, isolating the signal source before the control stick displacement sensor from the load of the Hall voltage sensor after it. The Hall voltage sensor receives the bipolar analog displacement signal buffered by the voltage follower and converts it into a current signal. The inverting adder is connected to the Hall voltage sensor and receives the current signal output by the Hall voltage sensor, converting it into a unipolar voltage signal compatible with the ADC interface of the main control processing module. The main control processing module is connected to the displacement signal processing module and the communication module respectively; it is used to acquire the unipolar voltage signal output by the displacement signal processing module and perform data packaging processing. The communication module connects to the main control processing module and the host computer respectively; it adopts differential bus communication to realize data communication with the host computer.
2. The control stick signal acquisition and conversion device according to claim 1, characterized in that: Also includes: The button signal acquisition module connects to the multi-channel switch signal on the control stick, and is connected to the GPIO port of the main control processing module through a current-limiting resistor array and pull-up resistors. It also works with filtering and debouncing algorithms to suppress signal jitter.
3. The control stick signal acquisition and conversion device according to claim 2, characterized in that: Also includes: The power supply module is connected to the button signal acquisition module, displacement signal processing module, main control processing module and communication module respectively. It is used to provide the working voltage for the device and has reverse connection protection and filtering functions.
4. The control stick signal acquisition and conversion device according to claim 3, characterized in that: The voltage follower in the displacement signal processing module is constructed using an operational amplifier of model OP07; the Hall voltage sensor is a Hall voltage sensor of model VSM025A; the inverting adder, together with the reference voltage source and potentiometer bias circuit, converts the current signal output by the Hall voltage sensor into a unipolar voltage signal that is compatible with the ADC interface of the main control processing module through the sampling resistor.
5. The control stick signal acquisition and conversion device according to claim 1, characterized in that: The voltage follower includes an operational amplifier, an input filter unit, and a symmetrical power supply unit; The input filtering unit is connected to the output terminal of the control stick displacement sensor and the non-inverting input terminal of the operational amplifier, and is used to filter out high-frequency interference in the displacement sensor output signal. The inverting input and output terminals of the operational amplifier are directly connected to perform high-impedance following of the signal processed by the input filtering unit, and to isolate the front-stage signal source of the control stick displacement sensor from the load of the rear-stage Hall voltage sensor. The symmetrical power supply unit is connected to the power supply pins of the operational amplifier, providing positive and negative symmetrical power supplies to the operational amplifier and ensuring distortion-free tracking of wide dynamic range signals.
6. The control stick signal acquisition and conversion device according to claim 1, characterized in that: The inverting adder circuit includes a precision adjustable reference source and a bias compensation network; The precision adjustable reference source is used to provide a stable reference voltage, and works with the potentiometer zeroing network to achieve signal bias compensation. The bias compensation network adjusts the resistor voltage division ratio to precisely adjust the unipolar voltage signal output by the inverting adder to the center of the ADC sampling range, thereby improving signal linearity.
7. The control stick signal acquisition and conversion device according to claim 1, characterized in that: The communication module uses a bidirectional transceiver chip to construct an RS485 bus communication circuit; the model of the bidirectional transceiver chip is SN75176.
8. The control stick signal acquisition and conversion device according to claim 7, characterized in that: The communication module includes a differential bus transceiver chip, a terminating resistor, a power isolation unit, and an electromagnetic filter network. The signal terminals of the differential bus transceiver chip are respectively connected to the main control processing module and the host computer. The terminating resistor is connected in parallel to the differential signal output terminal of the differential bus transceiver chip. The power isolation unit is connected to the power supply circuit of the differential bus transceiver chip. The electromagnetic filter network is connected to the signal transmission path between the differential bus transceiver chip and the main control processing module. The differential bus transceiver chip is used to realize bidirectional conversion of differential signals between the main control processing module and the host computer. The terminating resistor is used to match the bus impedance to suppress signal reflection. The power isolation unit is used to isolate the internal and external power supplies of the module to block interference coupling. The electromagnetic filter network is used to filter out high-frequency noise in the signal.
9. A signal processing method for the control stick signal acquisition and conversion device according to any one of claims 1-8, characterized in that: include: The control stick displacement sensor outputs a bipolar analog displacement signal, which is buffered and isolated by a voltage follower before being input to the Hall voltage sensor. Hall voltage sensors convert bipolar analog displacement signals into current signals; The inverting adder receives the current signal and converts it into a unipolar voltage signal that is compatible with the ADC interface of the main control processing module; The main control processing module collects the unipolar voltage signal, performs data packaging processing, and then uploads it to the host computer through the communication module.
10. The signal processing method according to claim 9, characterized in that: It also includes the system startup process and button signal processing process; The system startup process is as follows: The power module connects to an external power supply, generates the voltage required for the operation of each functional module of the device, and completes the power supply initialization. The button signal processing procedure is as follows: After the switch signal on the control stick is triggered, the button signal acquisition module processes the switch signal through the current limiting resistor array and pull-up resistor, and uses filtering and debouncing algorithms to suppress signal jitter. The main control processing module detects the status of the switch signal and updates the status cache, and uploads the button status data to the host computer through the communication module.
Citation Information
Patent Citations
Oxidized starch modifier and preparation method thereof
CN106675437A
Word vector matrix compression method and device and word vector acquisition method and device
CN110096697A
Armoured vehicle stopper wearing and tearing volume detects sensor
CN207501857U
Split type displacement sensor
CN216977929U