A method for realizing avionics pulse parameter statistics based on self-correction algorithm

By using FPGA gate arrays and self-correcting algorithms, accurate parameter statistics of multiple avionics pulse signals were achieved, solving the problems of multiple concurrent signals and modulation signal anomalies. It also supports the statistics and anomaly handling of narrow pulses, improving the reliability and efficiency of data.

CN115580276BActive Publication Date: 2026-01-02TIANJIN JINHANG COMP TECH RES INST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211324349.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-27
Publication Date
2026-01-02
Estimated Expiration
2042-10-27

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively acquire and statistically analyze multiple concurrent avionics pulse signals, especially those with phase relationships. Furthermore, parameter statistics are inaccurate during periods when the modulation signal is at a low level, making them prone to errors.

Method used

By employing an FPGA gate array based on a self-correcting algorithm, and through parallel acquisition by ADC, digital filtering, digital shaping, and parameter statistics modules, combined with time window management of the self-correcting algorithm, accurate parameter statistics for continuous and modulated pulses can be achieved.

Benefits of technology

It achieves accurate parameter statistics for multiple avionics pulse signals, supports pulse widths from 500ns to 800ms, can maintain effective parameter output during periods when the modulation signal is zero, and discards erroneous data in abnormal situations, thus improving the reliability and efficiency of statistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115580276B_ABST
    Figure CN115580276B_ABST
Patent Text Reader

Abstract

The application discloses a system for realizing avionics pulse parameter statistics based on a self-correction algorithm, which comprises a plurality of pulse signal acquisition processing and parameter statistics units in parallel connection and an interface communication module; each pulse signal acquisition processing and parameter statistics unit comprises an avionics pulse ADC acquisition module, an avionics pulse digital filtering module, an avionics pulse digital shaping module and an avionics pulse parameter statistics module connected in series; and a plurality of avionics pulse parameter statistics modules are connected with the interface communication module; after each pulse signal is acquired by the ADC, the out-of-band interference signal is filtered out, shaping processing is performed, the pulse width, period and amplitude are counted and stored, and then the main CPU accesses the system through the interface communication module. The application adopts the hardware FPGA gate array mode to acquire the avionics pulse parameters, realizes the automatic acquisition of the parameters of the continuous pulse and the modulated pulse through the hardware mode, and correctly acquires and counts the parameter information.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of aviation computer control, and relates to a method for realizing aviation pulse parameter statistics based on a self-correction algorithm. BACKGROUND

[0002] Aviation pulses are widely applied in military equipment, and the pulse width, period, amplitude and the like of a pulse signal represent different meanings, so parameter collection of aviation pulses is very meaningful. At present, a common pulse is a continuous pulse, and a single-chip microcomputer or an FPGA is used to collect and count the single-channel pulse. However, for multi-channel concurrent pulses or pulses with a phase relationship between signals, only a hardware mode such as a CPLD or an FPGA can be used to collect and count the parallel signals, and an industrial computer software or an embedded single-chip microcomputer cannot be used to collect multi-channel parallel synchronous signals.

[0003] In addition to the above continuous pulse signal, there is also an OOK modulated pulse signal. The aviation pulse signal is multiplied by the modulated signal, and the aviation pulse signal can be successfully output during the period when the modulated signal is high. During the period when the modulated signal is low, no aviation pulse is output. In order to increase the accuracy of pulse statistics and filter out interference signals, the average value is generally used to calculate the aviation pulse parameters. In the end stage of the modulated signal, the number of average sampling points may not meet the requirements, and the calculation is ended in advance, resulting in abnormal errors.

[0004] Chinese patent 201610907941.2 discloses a continuous narrow pulse width measurement method and system, which comprises the following steps: performing logic operation on a to-be-measured continuous narrow pulse signal and a preset auxiliary wide pulse signal with a fixed period to synthesize a third pulse signal; using a first counter to count the synthesized third pulse signal according to a clock signal, and obtaining a first count value by referring to the number of clock periods corresponding to the third pulse signal; using a second counter to count the preset auxiliary wide pulse signal according to the clock signal, and obtaining a second count value by referring to the number of clock periods corresponding to the auxiliary wide pulse signal participating in the logic operation; using a third counter to count the number of pulses of the to-be-measured continuous narrow pulse signal participating in the logic operation, and obtaining the number of to-be-measured continuous narrow pulses; and obtaining the pulse width of the to-be-measured continuous narrow pulse signal according to the clock period of the clock signal, the first count value, the second count value and the number of to-be-measured continuous narrow pulses. The application only realizes a pulse counting method, and does not include parameter statistics and abnormal processing of a modulated pulse signal.

[0005] Chinese invention patent 201911116592.2 discloses a pulse signal output device for generating a pulse signal, the pulse signal output device comprising: a pulse signal generator for generating a pulse signal; a counter connected with the pulse signal generator for counting the number of pulse signals generated by the pulse signal generator; a latch connected with the pulse signal generator and the counter, for receiving the pulse signal generated by the pulse signal generator, and controlling the number of output pulse signals according to the number of pulse signals counted by the counter; the application also discloses a pulse signal output method; the number of pulse signals generated by the pulse signal generator is counted by the counter, and the output is controlled by the latch, so that a specific number of pulse signals are output. The application is the output and statistics of pulse signals, but does not include the parameter statistics and abnormal processing of the modulated pulse signal. SUMMARY

[0006] (I) Invention purpose

[0007] The purpose of the present application is to provide a method for realizing avionics pulse parameter statistics based on self-correction algorithm, which adopts hardware FPGA gate mode to collect avionics pulse parameters, and realizes automatic collection and correct statistics of parameter information through hardware mode for both continuous pulse and modulated pulse.

[0008] (II) Technical scheme

[0009] In order to solve the above technical problems, the present application provides a system for realizing avionics pulse parameter statistics based on self-correction algorithm, which comprises: a plurality of pulse signal collection and processing and parameter statistics units in parallel, and an interface communication module; each pulse signal collection and processing and parameter statistics unit comprises an avionics pulse ADC collection module, an avionics pulse digital filtering module, an avionics pulse digital shaping module and an avionics pulse parameter statistics module connected in series, and a plurality of avionics pulse parameter statistics modules connected with the interface communication module; after each pulse signal is collected by ADC, the out-of-band interference signal is filtered out, the pulse width, period and amplitude are counted and stored after shaping processing, and then the interface communication module is accessed by the main CPU.

[0010] The present application also provides a method for realizing avionics pulse parameter statistics based on self-correction algorithm, which comprises the following steps:

[0011] S1: avionics pulse ADC collection

[0012] The pulse signal is collected by an ADC parallel collection module, which is composed of 32 channels of ADC and FPGA interface, and the FPGA realizes data sampling by LVDS in differential mode;

[0013] S2: avionics pulse digital filtering

[0014] The 7th order FIR filter is used to filter the pulse signal collected in step S1, and the filter uses a window function with a coefficient of 1 to realize;

[0015] S3: Digital shaping of avionics pulse

[0016] After the digital filtering of the avionics pulse, a digital comparator is used to shape the sampling waveform, the digital comparator has a hysteresis function, and the threshold value is adjustable between 1-9V;

[0017] S3: Pulse parameter statistics

[0018] Through the communication interface configuration, it is identified whether the channel is a continuous pulse or a modulated pulse, and then the pulse parameter statistics is performed;

[0019] S4: Interface communication

[0020] After the avionics pulse parameter statistics is completed, the statistical results of each channel are stored in the respective registers, and the main CPU accesses the registers through the local bus.

[0021] Step S3 includes the following two sub-steps:

[0022] S31: Continuous pulse parameter statistics

[0023] After it is determined that the window is a continuous pulse, the sampling window T1 is determined, and the parameter statistics is completed;

[0024] T1 is determined according to the avionics pulse period to determine the window size, and in the window, the time of pulse edge jump is counted, wherein the two rising edges are the period t1 of an avionics pulse;

[0025] S32: Modulated pulse parameter statistics

[0026] After it is determined that the channel signal is a modulated signal, the FPGA first establishes an avionics pulse start flag and starts to start the avionics pulse parameter statistics, wherein the sampling window T1 is determined in the same way as in S31, and the pulse timeout window T2 and the modulated signal timeout window T3 are designed respectively;

[0027] The pulse timeout window T2 is dynamically adjusted, and the initial value is designed to be 2 times larger than the longest period of the current input pulse, and subsequently, 4 times the pulse period is taken as the pulse timeout window T2 according to the average value of the counted pulse period, so as to effectively detect the falling edge of the modulated signal and ensure that when the number of avionics pulses does not meet the sampling window T1, the abnormal parameter statistics is eliminated;

[0028] The modulated signal timeout window T3 judges the disappearance of the modulated pulse, and is used to clear the parameter statistics this time, the modulated signal timeout window T3 is 2 times the period of the modulated signal, and once no avionics pulse is detected in 2 periods, it is considered that the test is completed, and all pulse parameters are cleared.

[0029] (III) Beneficial Effects

[0030] The method for realizing avionics pulse parameter statistics based on the self-correction algorithm has the advantages that, compared with the prior art, the FPGA gate array is adopted to realize the method, the narrower pulse can be counted, and the avionics pulse width is supported from 500 ns to 800 ms; the method supports the parameter statistics of the continuous pulse signal, including the pulse width, the period and the amplitude; the method supports the parameter statistics of the OOK modulated pulse signal, including the pulse width, the period and the amplitude; the latch function is adopted during the zero amplitude of the modulated signal to keep the last valid parameter statistics output; when the sampling window is less than the expected window of the average value, the method enters the abnormal processing flow, the abnormal pulse is discarded, and the parameter of the avionics pulse signal is reliably counted. BRIEF DESCRIPTION OF DRAWINGS

[0031] Figure 1 The schematic diagram of the method of the application. DETAILED DESCRIPTION

[0032] In order to make the purpose, content and advantages of the application more clear, the specific embodiments of the application are further described in detail below in combination with the drawings and examples.

[0033] The application supports the parallel input of multiple pulses, and according to the characteristics of the input pulse, the pulse is divided into continuous pulse and modulated pulse. In order to effectively guarantee the accuracy of parameter statistics, the application provides a system for realizing avionics pulse parameter statistics based on a self-correction algorithm, which comprises: multiple pulse signal acquisition processing and parameter statistics units connected in parallel, and an interface communication module; each pulse signal acquisition processing and parameter statistics unit comprises an avionics pulse ADC acquisition module, an avionics pulse digital filtering module, an avionics pulse digital shaping module and an avionics pulse parameter statistics module connected in series, and multiple avionics pulse parameter statistics modules are connected to the interface communication module; after each pulse signal is acquired by the ADC, the out-of-band interference signal is filtered out, the pulse signal is shaped, the pulse width, the period and the amplitude are counted and stored, and then the pulse signal is accessed by the main CPU through the interface communication module.

[0034] The avionics pulse comprises continuous pulse and modulated pulse, the continuous pulse refers to the continuous pulse after the instruction is sent, and the modulated pulse refers to the amplitude modulation of the continuous pulse and a period signal, that is, OOK modulation; during the period of the modulated signal being '1', the pulse signal passes normally, and during the period of the modulated signal being '0', no avionics pulse is output.

[0035] When the avionics pulse parameter statistics module performs parameter statistics, the continuous pulse is calculated by the average method, and no correction algorithm is needed; the sampling parameter of the modulated pulse is calculated by the average method, and the statistics error will occur at the jump time of the modulated signal; the self-correction algorithm determines three time windows, a sampling window T1, a pulse timeout window T2, and a modulated signal timeout window T3; the sampling window T1 is determined according to the period of the continuous avionics pulse, and generally 2 n times of the avionics pulse period is adopted; the pulse timeout window T2 is used for judging the abnormal pulse transmission and is determined according to the avionics pulse period, and if the limit is exceeded, the data of the sampling window is considered invalid, and the subsequent statistics is restarted; after the abnormal pulse is detected, the last valid parameter is kept by the keeper, and the statistical result of this time is discarded; the modulated signal timeout window T3 is used for judging the disappearance of the modulated pulse and is used for clearing the parameter statistics of this time.

[0036] The system can avoid the problem of inaccurate signal statistics near the transition of the modulated signal from high to low, and can greatly save software overhead by statistically counting multiple pulses in parallel through a hardware mode.

[0037] Based on the above avionics pulse parameter statistics system, the method for realizing avionics pulse parameter statistics based on the self-correction algorithm of the embodiment comprises the following steps:

[0038] S1: avionics pulse ADC acquisition

[0039] The ADC parallel acquisition module is composed of 32-channel ADC and FPGA interface, the front-end pulse sampling of the application uses high-integration ADC, and the sampling precision is 12 bits. The FPGA realizes data sampling in a differential mode through LVDS. The LVDS interface has small voltage swing, and compared with the single-ended parallel interface, the power consumption is greatly reduced. In addition, the LVDS adopts current transmission, and has stronger anti-interference ability compared with voltage transmission.

[0040] S2: avionics pulse digital filtering

[0041] Because of the problems such as impedance mismatch, reflection, overshoot and even coupled high-frequency interference of the avionics pulse after long-line transmission, digital filtering is very necessary. The digital filter module adopts a 7-order FIR filter, which is realized by a window function with a coefficient of 1, and has the advantages of simple realization, saving of a large number of valuable hardware multipliers, and about 15dB of out-of-band attenuation, which can effectively filter out out-of-band interference signals.

[0042] S2: avionics pulse digital shaping

[0043] The output result of the digital filtering of the avionics pulse is 12-bit complement, still containing the fluctuation of the signal, and therefore, the period, pulse width and other parameters of the signal cannot be accurately measured. The present application adopts a digital comparator to perform shaping processing on the sampling waveform. The digital comparator module designs a digital comparator with hysteresis function according to the signal characteristics, and the threshold value 1-9V is adjustable. According to the pulse characteristics, the threshold value of the comparator includes two positive and negative threshold values, and according to the input signal and interference characteristics, the threshold value can be flexibly set.

[0044] S3: Pulse parameter statistics

[0045] The pulse parameter statistics first need to configure the channel through software whether it is a continuous pulse or a modulated pulse. The function is identified through communication interface configuration, and the continuous pulse parameter statistics and modulated pulse parameter statistics are introduced below.

[0046] S31: Continuous pulse parameter statistics

[0047] Since the continuous pulse is continuous and uninterrupted, after it is determined that the window is a continuous pulse, only the sampling window T1 needs to be determined to complete the parameter statistics. After the time window of the sampling window T1 is determined, the average method can be used to calculate the period, pulse width and amplitude of the pulse in the sampling window.

[0048] T1 is determined according to the window size of the avionics pulse period, and T1 generally samples 128 or 64 periods of signals. In the window, the time of the pulse edge jump is counted. The period t1 of an avionics pulse is between two rising edges, and the avionics pulse width t2. The average method can be used to calculate the period, pulse width and amplitude of the pulse in the sampling window. For FPGA, 128 or 64 sampling periods are taken, and an integrator is realized through FPGA. Every 128 or 64 sampling periods are counted, and the average value operation is realized through shift operation. This not only saves logic resources, but also outputs the result with one system clock, greatly reducing the calculation delay. In order to prevent abnormal data, the present application adopts peak clipping processing to ensure that the integrator does not overflow.

[0049] S32: Modulated pulse parameter statistics

[0050] For the OOK modulated pulse signal, the avionics pulse signal is multiplied by the modulated signal. During the high level period of the modulated signal, the avionics pulse signal can be smoothly outputted. During the low level period of the modulated signal, no avionics pulse is outputted. Since the above-mentioned avionics pulse is not continuous, it cannot be simply set to a sampling window to calculate the pulse parameters, and the position of the modulated signal falling edge and whether the modulated signal is timed out need to be identified, otherwise, the statistical abnormality will occur at the critical discontinuous avionics pulse.

[0051] After the channel signal is determined to be a modulation signal, the FPGA first establishes an avionics pulse start flag and starts to start avionics pulse parameter statistics. The sampling window T1 is determined in the same way as the S31 determination method, and the pulse timeout window T2 and the modulation signal timeout window T3 are designed respectively.

[0052] The pulse timeout window T2 is used to record the falling edge time of the modulation signal. Once the timeout serial port T2 is detected, the FPGA uses the latch function to maintain the valid parameters of the last sampling window and discard the statistical results of this time. The pulse timeout window T2 is dynamically adjusted. The initial value is designed to be greater than 2 times the longest period of the current input pulse, and the subsequent 4 times the pulse period is taken as the pulse timeout window T2 according to the average value of the statistical pulse period, so as to effectively detect the falling edge of the modulation signal and ensure that the number of avionics pulses does not meet the sampling window T1, and the abnormal parameter statistics of this time is discarded.

[0053] The modulation signal timeout window T3 judges the disappearance of the modulation pulse and is used to clear the parameter statistics of this time. The modulation signal timeout window T3 is designed to be 2 times the period of the modulation signal. Once it is detected that there is no avionics pulse in 2 periods, it is considered that the test is finished, and all pulse parameters are cleared.

[0054] S4: Interface communication

[0055] After the avionics pulse parameter statistics are completed, the statistical results of each channel are stored in the respective registers. The main CPU can access the registers through the local bus and also can complete the parameter setting of the collected pulses.

[0056] Compared with the prior art, the method can be realized by using the FPGA gate array mode, can count narrower pulses, supports avionics pulse width from 500ns to 800ms, uses digital signal processing technology to maximize the accuracy of the sampling parameters, supports parameter statistics of continuous pulse signals including pulse width, period and amplitude, supports parameter statistics of OOK modulation pulse signals including pulse width, period and amplitude, uses the latch function to maintain the last valid parameter statistical output during the modulation signal amplitude is zero, enters the abnormal processing flow when the sampling window is less than the average value calculation expected window, discards the abnormal pulse, and guarantees reliable statistics of the parameters of the avionics pulse signal.

[0057] From the above technical scheme can be seen, the present application has the following remarkable features: using FPGA gate array mode, supporting parameter statistics of continuous pulse signal, including pulse width, period, amplitude; supporting parameter statistics of OOK modulated pulse signal, including pulse width, period, amplitude; during the modulation signal amplitude is 0, using latch function, keeping the last valid parameter statistics output; when the sampling window is less than the average value calculation expected window, entering abnormal processing flow, discarding abnormal pulse; after the pulse period is greater than the timeout time, clearing all avionics parameters; supporting all common avionics pulse width statistics, pulse width range includes 500ns to 800ms.

[0058] The above description is only the preferred embodiment of the present application, it should be pointed out that, for those skilled in the art, without departing from the technical principles of the present application, can make a number of improvements and deformation, these improvements and deformation should also be considered as the protection scope of the present application.

Claims

1. A system for implementing avionics pulse parameter statistics based on a self-correcting algorithm, characterized in that, It comprises: A plurality of parallel pulse signal acquisition processing and parameter statistics units and an interface communication module; each pulse signal acquisition processing and parameter statistics unit comprises, in series, an avionics pulse ADC acquisition module, an avionics pulse digital filtering module, an avionics pulse digital shaping module and an avionics pulse parameter statistics module, and a plurality of avionics pulse parameter statistics modules are connected to the interface communication module; after each pulse signal is acquired by the ADC, out-of-band interference signals are filtered out, the pulse signal is shaped, the pulse width, period and amplitude are counted and stored, and the interface communication module is accessed by the main CPU; The avionics pulse comprises continuous avionics pulses and modulated avionics pulses, and the continuous avionics pulses continuously and uninterruptedly output after an instruction is sent out; The modulated avionics pulse is amplitude modulated by a continuous avionics pulse and a modulated signal, i.e. OOK modulation, and during the period when the modulated signal is '1', the pulse signal normally passes through, and during the period when the modulated signal is '0', no avionics pulse is output; When the avionics pulse parameter statistics module performs parameter statistics, the continuous avionics pulse is calculated by the average value method without a correction algorithm; when the modulated avionics pulse is calculated by the average value method, a self-correction algorithm is introduced; In the self-correction algorithm, three time windows are determined, i.e. a sampling window T1, a pulse timeout window T2 and a modulated signal timeout window T3; the sampling window T1 is determined according to the period of the continuous avionics pulse; the pulse timeout window T2 is used to judge abnormal pulse transmission and is determined according to the period of the continuous avionics pulse, and if the limit is exceeded, the data of the current sampling window is considered invalid and the subsequent statistics is restarted; after an abnormal pulse is detected, the last valid parameter is kept by a keeper and the current statistical result is discarded; the modulated signal timeout window T3 is used to judge the disappearance of the modulated pulse and is determined according to the period of the modulated signal and is used to clear the current parameter statistics.

2. The system for implementing avionics pulse parameter statistics based on self-correcting algorithm according to claim 1, characterized in that, The sampling window T1 is 2 n times the continuous navigation pulse period.

3. The system for implementing avionics pulse parameter statistics based on self-correcting algorithm according to claim 2, characterized in that, The plurality of avionics pulse ADC acquisition modules are composed of 32-channel ADCs and FPGA interfaces, and the FPGA realizes data sampling in a differential manner through LVDS.

4. The system for implementing avionics pulse parameter statistics based on self-correcting algorithm according to claim 3, characterized in that, The avionics pulse digital filtering module is composed of a 7th-order FIR filter, and the 7th-order FIR filter is realized by a window function with a coefficient of 1.

5. The system for implementing avionics pulse parameter statistics based on self-correcting algorithm according to claim 4, characterized in that, The avionics pulse digital shaping module is realized by a digital comparator for shaping processing of a sampling waveform.

6. A method for implementing avionics pulse parameter statistics based on a self-correcting algorithm, characterized in that, The method comprises the following steps: S1: avionics pulse ADC acquisition The pulse signal is acquired by an ADC parallel acquisition module composed of 32-channel ADCs and FPGA interfaces, and the FPGA realizes data sampling in a differential manner through LVDS; S2: avionics pulse digital filtering The pulse signal acquired in step S1 is filtered by a 7th-order FIR filter, and the filter is realized by a window function with a coefficient of 1; S3: avionics pulse digital shaping After the avionics pulse is digitally filtered, a digital comparator is used for shaping processing of a sampling waveform, and the digital comparator has a hysteresis function and a threshold of 1-9V which is adjustable; S4: pulse parameter statistics Whether the channel is a continuous avionics pulse or a modulated avionics pulse is identified by a communication interface configuration, and then pulse parameter statistics is performed. Continuous navigation pulse indicates that the pulse is uninterrupted after the instruction; Modulation navigation pulse refers to the amplitude modulation of continuous navigation pulse and a modulation signal, namely OOK modulation. During the period of '1', the pulse signal passes normally. During the period of '0', there is no navigation pulse output. S5: interface communication After the navigation pulse parameter statistics is completed, the statistical results of each channel are stored in the respective registers, and the main CPU accesses the registers through the local bus; Step S4 includes the following two sub-steps: S41: continuous navigation pulse parameter statistics After it is determined that the current window is a continuous navigation pulse, the sampling window T1 is determined to complete the parameter statistics. T1 is determined according to the continuous navigation pulse period, and in the window, the time of pulse edge jump is counted, in which the two rising edges are the period t1 of one continuous navigation pulse. S42: modulation navigation pulse parameter statistics After it is determined that the current channel signal is a modulation navigation pulse, the FPGA first establishes a navigation pulse start flag to start the navigation pulse parameter statistics, and the sampling window T1 is determined in the same way as in S31. The pulse timeout window T2 and the modulation signal timeout window T3 are designed respectively. The pulse timeout window T2 is dynamically adjusted, and the initial value is designed to be 2 times greater than the longest period of the current continuous navigation pulse. Subsequently, 4 times the pulse period is taken as the pulse timeout window T2 according to the average value of the counted continuous navigation pulse period, so as to effectively detect the falling edge of the modulation signal and ensure that the number of navigation pulses does not meet the sampling window T1, so as to eliminate the abnormal parameter statistics this time. The modulation signal timeout window T3 judges the disappearance of the modulation navigation pulse and is used to clear the parameter statistics this time. The modulation signal timeout window T3 is 2 times the period of the modulation signal. Once it is detected that there is no navigation pulse in 2 periods, it is considered that the test is completed, and all pulse parameters are cleared.

Citation Information

Patent Citations

  • Method and system for measuring pulse width of continuous narrow pulses

    CN106656114A

  • Pulse signal output device and method

    CN110798183A

  • Method and device capable of measuring both frequency of continuous waves and frequency of pulse modulation carrier waves

    CN103487649A

  • Frequency measurement device applied to inertial navigation system and frequency measurement method thereof

    CN110988468A