An adaptive discrete signal acquisition device supporting waveform correction

By designing an adaptive discrete signal acquisition device, it calculates and stores the time difference, supports two working modes, solves the problem of lack of adaptive acquisition and waveform correction capabilities in traditional acquisition methods, and realizes 28V/on, ground/on and Efficient acquisition and correction of 28V/ground signals, suitable for aircraft avionics systems.

CN113777987BActive Publication Date: 2024-08-30TIANJIN JINHANG COMP TECH RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111067466.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-13
Publication Date
2024-08-30
Estimated Expiration
2041-09-13

AI Technical Summary

Technical Problem

The traditional 28V/on, ground/on discrete signal acquisition method lacks adaptive acquisition capabilities and cannot directly obtain the difference between the optocoupler turn-on and turn-off times. As a result, the output waveform cannot be corrected and requires analysis and program modification through equipment such as an oscilloscope. .

Method used

An adaptive discrete signal acquisition device is designed, which consists of an acquisition module, an attribute discrimination module, a time difference calculation module, a data access module, a signal integration and waveform modification module, an analysis module and a non-volatile storage module. By calculating the input signal The time difference is stored and supports two working modes: no correction mode and correction mode, realizing adaptive acquisition and waveform correction of 28V/on, ground/on and 28V/ground signals.

Benefits of technology

It realizes adaptive acquisition and waveform correction of 28V/on, ground/on and 28V/ground signals, improves the accuracy and flexibility of acquisition, and can automatically adjust the acquisition method according to signal attributes, making it suitable for applications such as aircraft avionics systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113777987B
    Figure CN113777987B
Patent Text Reader

Abstract

The present invention belongs to the field of discrete signal acquisition technology and discloses an adaptive discrete signal acquisition device supporting waveform correction, which is composed of a collection module, an attribute discrimination module, a time difference calculation module, a data access module, a signal integration and waveform correction module, a parsing module and a non-volatile storage module, a total of 7 modules. The present invention has the adaptive acquisition capability of 28V / open, ground / open and 28V / ground, supports waveform correction, and has high practical value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of discrete signal acquisition, and relates to an adaptive discrete signal acquisition device supporting waveform correction. Background Art

[0002] In aircraft avionics systems, 28V / open and ground / open discrete signals are widely used for control or status indication. Traditional 28V / open and ground / open discrete signals are mostly collected by a single optocoupler, that is, the input 28V / open or ground / open discrete signal is converted into a digital signal through an optocoupler, and then sent to the processor or logic device for instruction or status analysis. Although this method has the advantages of simple circuit and low hardware cost, it has the following problems:

[0003] 1. It does not have the ability to adaptively collect 28V / open signals and ground / open signals. During design, the signal properties of the sending end and the collecting end need to be unified, that is, it is necessary to clearly identify whether it is a 28V / open signal or a ground / open signal. Inconsistent signal properties will lead to collection errors.

[0004] 2. When collecting 28V / on or ground / on pulse signals, the optocoupler turn-on and turn-off times are inconsistent, which will cause the pulse width at the optocoupler output to change. Since a single optocoupler circuit cannot directly obtain the turn-on and turn-off time difference, the output waveform cannot be directly corrected. It is necessary to obtain the turn-on and turn-off time through an oscilloscope or other analytical instrument and then modify the program or logic function to correct the waveform. Summary of the invention

[0005] (I) Purpose of the invention

[0006] The purpose of the present invention is to provide an adaptive discrete signal acquisition device supporting waveform correction in view of the problems that the existing 28V / open and ground / open discrete signal acquisition methods have no adaptive acquisition capability and the like.

[0007] (II) Technical solution

[0008] In order to solve the above technical problems, the present invention provides an adaptive discrete signal acquisition device supporting waveform correction, which is composed of 7 modules: an acquisition module, an attribute discrimination module, a time difference calculation module, a data access module, a signal integration and waveform correction module, an analysis module and a non-volatile storage module, wherein:

[0009] The acquisition module is composed of an anti-reverse diode, a current limiting resistor, a pull-up resistor and two optocouplers OPT1 and OPT2. It converts the input 28V / open, ground / open or 28V / ground signals into two digital signals OPT_O1 and OPT_O2; the positive pole (ANODE) ​​of the OPT1 optocoupler input terminal is connected to 28V, and the output signal is OPT_O1; the negative pole (CATHODE) of the OPT2 optocoupler input terminal is connected to 28V ground, and the output signal is OPT_O2.

[0010] The attribute discrimination module is used to determine whether the input signal is a 28V / open signal, a ground / open signal or a 28V / ground signal. The discrimination method is as follows: if OPT_O2 is 0 and remains unchanged, and OPT_O1 changes, then the input signal is a 28V / open signal; if OPT_O1 is 0 and remains unchanged, and OPT_O2 changes, then the input signal is a ground / open signal; if both OPT_O1 and OPT_O2 change, then the input signal is a 28V / ground signal.

[0011] The time difference calculation module is used to calculate the time difference t from the falling edge of OPT_O1 to the rising edge of OPT_O2 when a 28V / ground signal is input. diff1 , and the time difference from the falling edge of OPT_O2 to the rising edge of OPT_O1 t diff2 , and calculate the average value t of the two time differences diff , that is, t diff =(t diff1 +t diff2 ) / 2.

[0012] The data access module is used to calculate the time difference calculation module to obtain the t diff The value is stored in the non-volatile memory module and can be used when needed. diff The value is taken out from the non-volatile storage module and sent to the signal integration and waveform correction module.

[0013] The signal integration and waveform correction module supports signal integration and waveform correction functions. The module supports two working modes, namely, non-correction mode and correction mode. When the control instruction or status information represented by the input signal is irrelevant to the signal pulse width or is insensitive to the pulse width, it should be set to work in the non-correction mode, otherwise it should be set to work in the correction mode.

[0014] In the non-correction mode, the signal integration and waveform correction module implements the following functions:

[0015] (1) When the input signal is 28V / open signal, it outputs the OPT_O1 signal;

[0016] (2) When the input signal is a ground / open signal, it inverts the OPT_O2 signal and outputs it;

[0017] (3) When the input signal is a 28V / ground signal, it outputs the OPT_O1 signal.

[0018] In the correction mode, the signal integration and waveform correction module realizes the following functions:

[0019] (1) When the input signal is 28V / open signal, it processes the edge of OPT_O1 signal before outputting it. The specific processing method is that the rising edge remains unchanged and the falling edge is delayed by t diff time;

[0020] (2) When the input signal is a ground / open signal, it processes the edge of the OPT_O2 signal and then inverts the output. The specific processing method is that the rising edge remains unchanged and the falling edge is delayed by t diff time;

[0021] (3) When the input signal is a 28V / ground signal, it uses the OPT_O1 and OPT_O2 signals to generate the OPT_O signal output. The specific generation method is that when the OPT_O1 signal has a falling edge, the falling edge of the OPT_O signal is constructed, and when the OPT_O2 signal has a falling edge, the rising edge of the OPT_O signal is constructed.

[0022] The analysis module is used to analyze the signal output by the signal integration and waveform correction module to obtain instructions or status information.

[0023] The non-volatile storage module is used to store t diff value.

[0024] If the device needs a waveform correction function, it is necessary to input a 28V / ground signal at least once before the system is powered on for the first time and before use, and the input signal needs to be switched between 28V and ground twice in succession to ensure that the tdiff value is calculated.

[0025] (III) Beneficial effects

[0026] The above technical solution provides an adaptive discrete signal acquisition device that supports waveform correction. The device has adaptive acquisition capabilities for 28V / open, ground / open and 28V / ground, supports waveform correction, and has high practical value. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 The invention discloses a block diagram of a self-adaptive discrete signal acquisition device supporting waveform correction.

[0028] Figure 2 The invention discloses a circuit connection diagram of an acquisition module of an adaptive discrete signal acquisition device supporting waveform correction. DETAILED DESCRIPTION

[0029] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0030] Reference Figure 1 and Figure 2 The adaptive discrete signal acquisition device supporting waveform correction in this embodiment is composed of 7 modules, namely, an acquisition module, an attribute discrimination module, a time difference calculation module, a data access module, a signal integration and waveform correction module, an analysis module and a non-volatile storage module, wherein:

[0031] The acquisition module is composed of anti-reverse diodes D1, D2, current limiting resistors R1, R2, pull-up resistors R3, R4 and two optocouplers OPT1 and OPT2, which converts the input 28V / open, ground / open or 28V / ground signals into two digital signals OPT_O1 and OPT_O2; the positive pole (ANODE) ​​of the OPT1 optocoupler input terminal is connected to 28V, and the output signal is OPT_O1; the negative pole (CATHODE) of the OPT2 optocoupler input terminal is connected to 28V ground, and the output signal is OPT_O2.

[0032] The attribute identification module, time difference calculation module, data access module, signal integration and waveform correction module and analysis module are implemented inside FPGA (Field-Programmable Gate Array).

[0033] The attribute discrimination module is used to judge the input signal S IN The judgment method is: if OPT_O2 is 0 and remains unchanged, OPT_O1 changes, then the input signal S IN is 28V / on signal; if OPT_O1 is 0 and remains unchanged, OPT_O2 changes, then the input signal S IN is the ground / open signal; if both OPT_O1 and OPT_O2 change, the input signal S IN It is a 28V / ground signal.

[0034] The time difference calculation module is used to calculate the time difference t from the falling edge of OPT_O1 to the rising edge of OPT_O2 when a 28V / ground signal is input. diff1 , and the time difference from the falling edge of OPT_O2 to the rising edge of OPT_O1 t diff2 , and calculate the average value t of the two time differences diff , that is, t diff =(t diff1 +t diff2 ) / 2.

[0035] The data access module is used to calculate the time difference calculation module to obtain the tdiff The value is stored in the non-volatile memory module and can be used when needed. diff The value is taken out from the non-volatile storage module and sent to the signal integration and waveform correction module.

[0036] The signal integration and waveform correction module supports signal integration and waveform correction functions. The module supports two working modes, namely, non-correction mode and correction mode. When the input signal S IN When the control instruction or status information represented is irrelevant to the signal pulse width or is insensitive to the pulse width, it should be set to work in the non-correction mode, otherwise it should be set to work in the correction mode.

[0037] In the non-correction mode, the signal integration and waveform correction module implements the following functions:

[0038] (1) When the input signal S IN When it is 28V / open signal, it outputs OPT_O1 signal;

[0039] (2) When the input signal S IN When it is ground / open signal, it inverts the OPT_O2 signal and outputs it;

[0040] (3) When the input signal S IN When it is a 28V / ground signal, it outputs the OPT_O1 signal.

[0041] In the correction mode, the signal integration and waveform correction module realizes the following functions:

[0042] (1) When the input signal S IN When the signal is 28V / on, it processes the edge of the OPT_O1 signal before outputting it. The specific processing method is that the rising edge remains unchanged and the falling edge is delayed by t diff time;

[0043] (2) When the input signal S IN When it is a ground / open signal, it processes the edge of the OPT_O2 signal and then inverts the output. The specific processing method is that the rising edge remains unchanged and the falling edge is delayed by t diff time;

[0044] (3) When the input signal S IN When it is a 28V / ground signal, it uses the OPT_O1 and OPT_O2 signals to generate the OPT_O signal output. The specific generation method is that when the OPT_O1 signal has a falling edge, the falling edge of the OPT_O signal is constructed, and when the OPT_O2 signal has a falling edge, the rising edge of the OPT_O signal is constructed.

[0045] The analysis signal is used to analyze the signal output by the signal integration and waveform correction module to obtain instructions or status information.

[0046] If the device needs the waveform correction function, it is necessary to input a 28V / ground signal at least once before the system is powered on for the first time and before use, and the input signal needs to be switched between 28V and ground twice in succession to ensure that the calculated t diff Numeric value.

[0047] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An adaptive discrete signal acquisition device supporting waveform correction, characterized in that: It includes an acquisition module, an attribute discrimination module, a time difference calculation module, a data access module, a signal integration and waveform correction module, an analysis module and a non-volatile storage module; the acquisition module converts the input signal into two digital signal outputs, and the two digital signals are respectively transmitted to the signal integration and waveform correction module, the attribute discrimination module and the time difference calculation module, the attribute discrimination module is used to judge the type of the input signal, the time difference calculation module calculates the average value of the time difference from the falling edge to the rising edge of the two digital signals, the data access module stores the average value calculated by the time difference calculation module in the non-volatile storage module, and when necessary, takes the average value out of the non-volatile storage module and sends it to the signal integration and waveform correction module, the signal integration and waveform correction module is connected to the attribute discrimination module, the data access module and the analysis module, the signal integration and waveform correction module performs signal integration and waveform correction according to different input signal types, and the integrated and corrected signals are analyzed by the analysis module to obtain instructions or status information; The input signal S IN 28V / open signal, ground / open signal or 28V / ground signal; The acquisition module includes anti-reverse diodes D1 and D2, current limiting resistors R1 and R2, pull-up resistors R3 and R4, and optical couplers OPT1 and OPT2. The positive electrodes of the anti-reverse diodes D1 and D2 are connected to the input signal S IN , the cathode of the anti-reverse diode D1 is connected to one end of the current limiting resistor R1, the other end of the current limiting resistor R1 is connected to the negative input end of the optocoupler OPT1, the cathode of the anti-reverse diode D2 is connected to one end of the current limiting resistor R2, the other end of the current limiting resistor R2 is connected to the positive input end of the optocoupler OPT2, the positive input end of the optocoupler OPT1 is connected to 28V, the negative input end of the optocoupler OPT2 is connected to the 28V ground GND, the output emitters of the optocoupler OPT1 and the optocoupler OPT2 are connected to DGND, and the output collector of the optocoupler OPT1 is connected to the pull-up resistor R 3 and output a digital signal OPT_O1, the output collector of the optocoupler OPT1 is connected to one end of the pull-up resistor R3 and outputs a digital signal OPT_O1, the output collector of the optocoupler OPT2 is connected to one end of the pull-up resistor R4 and outputs a digital signal OPT_O2, the other end of the pull-up resistor R3 and the other end of the pull-up resistor R4 are connected to +3V3; the acquisition module converts the input 28V / open, ground / open or 28V / ground signal into two digital signals OPT_O1 and OPT_O2; The attribute identification module, time difference calculation module, data access module, signal integration and waveform correction module, and analysis module are implemented inside the FPGA; The attribute discrimination module determines the input signal S IN 28V / open signal, ground / open signal, or 28V / ground signal; The attribute discrimination module has the following discrimination method: if OPT_O2 is 0 and remains unchanged, and OPT_O1 changes, then the input signal S IN is 28V / on signal; if OPT_O1 is 0 and remains unchanged, OPT_O2 changes, then the input signal S IN is the ground / open signal; if both OPT_O1 and OPT_O2 change, the input signal S IN It is 28V / ground signal; When a 28V / ground signal is input, the time difference calculation module calculates the time difference t from the falling edge of OPT_O1 to the rising edge of OPT_O2. diff1 , and the time difference t from the falling edge of OPT_O2 to the rising edge of OPT_O1 diff2 , and calculate the average value t of the two time differences diff , that is, t diff =(t diff1 +t diff2 ) / 2; The signal integration and waveform correction module supports two working modes, including non-correction mode and correction mode. IN When the control instruction or status information represented is irrelevant to the signal pulse width or is insensitive to the pulse width, it works in the non-correction mode, otherwise it works in the correction mode; In the non-correction mode, the signal integration and waveform correction module implements the following functions: (1) When the input signal S IN When it is 28V / open signal, it outputs OPT_O1 signal; (2) When the input signal S IN When it is ground / open signal, it inverts the OPT_O2 signal and outputs it; (3) When the input signal S IN When it is 28V / ground signal, it outputs OPT_O1 signal; In the correction mode, the signal integration and waveform correction module realizes the following functions: (1) When the input signal S IN When the signal is 28V / on, it processes the edge of the OPT_O1 signal before outputting it. The processing method is that the rising edge remains unchanged and the falling edge is delayed by t diff time; (2) When the input signal S IN When it is a ground / open signal, it processes the edge of the OPT_O2 signal and then inverts the output. The processing method is that the rising edge remains unchanged and the falling edge is delayed by t diff time; (3) When the input signal S IN When it is a 28V / ground signal, it uses the OPT_O1 and OPT_O2 signals to generate the OPT_O signal output. The generation method is: when the OPT_O1 signal has a falling edge, the falling edge of the OPT_O signal is constructed, and when the OPT_O2 signal has a falling edge, the rising edge of the OPT_O signal is constructed.

Citation Information

Patent Citations

  • Grid frequency measuring method and system for digital display meter

    CN103913631A

  • Apparatus and method for comb spectrum generator phase spectrum calibration

    CN104914393A