Atmospheric optical parameter real-time inversion device and method based on ZYNQ

By using a real-time inversion device of ZYNQ chip in the atmospheric detection lidar system, combined with programmable logic and processor system, the problem of inability to invert atmospheric optical parameters in the prior art is solved, and the stability and adaptation of the system are achieved Improve sexual performance and adapt to a variety of application scenarios.

CN119044922AActive Publication Date: 2024-11-29HEFEI INSTITUTE OF PHYSICAL SCIENCE CHINESE ACADEMY OF SCIENCES

Patent Information

Application Number
CN202410972864.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-29
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The existing atmospheric detection lidar system cannot invert echo signals in real time and obtain atmospheric optical parameters. It also poses a risk of operating system complexity and software crashes, and cannot adapt to multiple application scenarios.

Method used

Using a real-time inversion device based on ZYNQ, combined with a programmable logic system and a processor system, information interaction is realized through the bus, sampling data is obtained and corrected in real time, inversion of atmospheric optical parameters, and data is ensured through Ethernet or SD NAND memory. real-time transmission and security.

Benefits of technology

Real-time acquisition and transmission of atmospheric optical parameters is realized, the stability and portability of the system are improved, and the adaptability to a variety of application scenarios is adapted to reduce the complexity risk of the operating system and enhance the anti-interference ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119044922A_ABST
    Figure CN119044922A_ABST
Patent Text Reader

Abstract

The invention relates to a ZYNQ-based atmospheric optical parameter real-time inversion device and method, the device comprises a ZYNQ chip, the ZYNQ chip module comprises a programmable logic system PL and a processor system PS which realize information interaction through a bus, the programmable logic system PL is used for obtaining accumulated data corresponding to the sampling point number in real time after obtaining the sampling point number, and the processor system PS is used for obtaining the accumulated data corresponding to the sampling point number. And the processor system PS is used for sending a control signal for controlling and acquiring the accumulated data to the programmable logic system PL, performing correction processing on the accumulated data to obtain an original signal, and performing inversion based on the original signal to obtain atmospheric optical parameters. And the original signal and the inversion result are transmitted or stored. According to the invention, on the basis of acquisition of laser radar echo signals, inversion is carried out on accumulated data obtained in real time in a board card system based on a ZYNQ chip, and an inversion result and an original signal are output together, so that the real-time performance of the data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of atmospheric detection, and in particular relates to a ZYNQ-based atmospheric optical parameter real-time inversion device and method. Background Art

[0002] After acquiring the echo signal from the atmosphere, the lidar obtains the atmospheric optical parameters through data inversion and analysis. The lidar system based on this detection method has high temporal and spatial resolution and high detection accuracy.

[0003] At present, when performing inversion calculations on atmospheric detection lidar echo signals, the current solutions are to use the already written host computer inversion software to perform inversion operations on the collected echo signals, or to use the personally written inversion algorithm in the numerical calculation software to realize the inversion calculation of the signal, and finally obtain the optical parameter information of various particles in the atmosphere. The former requires the writing of inversion software adapted to the operating system in advance, and the latter requires the inversion calculation to be performed in the numerical calculation software after obtaining the original data of the atmosphere, and it is impossible to obtain real-time atmospheric optical parameter information, and it is impossible to adapt to different application scenarios, which brings certain inconveniences to engineering applications. The existing atmospheric detection lidar acquisition system only realizes the acquisition and transmission of the original signal, and cannot realize the real-time inversion of the original signal, obtain the real-time atmospheric optical parameter information and transmit the information in real time. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a real-time inversion device and method for atmospheric optical parameters based on ZYNQ. The specific technical solution is as follows:

[0005] A ZYNQ-based real-time inversion device for atmospheric optical parameters comprises a ZYNQ chip, wherein the ZYNQ chip module comprises a programmable logic system PL and a processor system PS which realize information exchange through a bus, wherein the programmable logic system PL is used to obtain the number of sampling points and then obtain the accumulated data corresponding to the sampling points in real time, and transmit the accumulated data to the processor system PS, wherein the processor system PS is used to send a control signal for controlling the acquisition of the accumulated data to the programmable logic system PL, perform correction processing on the accumulated data to obtain an original signal, obtain an inversion result according to the original signal, and store the original signal and the inversion result.

[0006] Optionally, the programmable logic system PL includes:

[0007] An acquisition control unit, which implements signal interaction with the processor system PS, is used to obtain the control signal including the acquisition points and the cumulative number N; and is used to determine the acquisition state according to the external input trigger signal, and the acquisition state includes acquisition, idle and delay;

[0008] A real-time accumulation unit is connected to the acquisition control unit, and is used to obtain the acquisition state, the number of acquisition points, and the cumulative number of times N; and is connected to the sampling data conversion module, and is used to obtain the sampling data when the acquisition state is acquisition; and the cumulative data is obtained according to the number of acquisition points, the cumulative number of times N, and the sampling data;

[0009] The cache unit is used to obtain the accumulated data corresponding to the Nth accumulation.

[0010] Optionally, the processor system PS includes an APU, a DDR3 memory, and a port unit, and the APU includes:

[0011] A first correction subunit, used for acquiring the accumulated data in the programmable logic system PL, and correcting the accumulated data to obtain the original signal;

[0012] A storage controller, used for controlling the DDR3 memory to acquire and store the original signal and the inversion result;

[0013] An inversion unit, used for performing atmospheric optical parameter inversion on the original signal to obtain inversion results including extinction coefficient and backscattering coefficient;

[0014] The DDR3 memory is used to store the original signal and the inversion result;

[0015] The port unit is connected to the DDR3 memory, and is used to obtain external instructions, provide a specified number of sampling points and accumulation times N, and output the original signal and inversion result to the outside.

[0016] Optionally, the processor system PS also includes an SD NAND storage controller, which is connected to the DDR3 memory to obtain DDR3 memory data. The processor system PS also includes an Ethernet controller ENET, which implements information interaction with the DDR3 memory and outputs the original data and inversion results stored in the DDR3 memory.

[0017] Optionally, the inversion unit includes:

[0018] A noise removal subunit, used to denoise the accumulated data to remove background noise;

[0019] The data smoothing subunit uses a triangular smoothing method to perform multi-point smoothing operations on the accumulated data after removing background noise;

[0020] The distance square correction subunit is used to square the data output by the data smoothing subunit to eliminate the influence of distance on signal strength;

[0021] Determine the calibration point subunit, and obtain the calibration point where the aerosol scattering ratio is a set value;

[0022] The inversion calculation subunit performs a backward integration operation in the atmospheric space before the calibration point and performs a forward integration operation on the data points after the calibration point to obtain an inversion result including an extinction coefficient and a backscattering coefficient.

[0023] Optionally, the ZYNQ chip is an FPGA chip, and the device further includes:

[0024] A trigger module, connected to the acquisition control unit, and configured to send a trigger signal to the acquisition control unit;

[0025] The AD sampling module is connected to the real-time accumulation unit and the acquisition control unit, and is used to collect external signals and send the processed signals to the real-time accumulation unit, and send the DCO clock signal to the acquisition control unit and obtain the ENC clock signal of the acquisition control unit.

[0026] Optionally, the trigger module includes a gating circuit, an optocoupler trigger circuit connected to the gating circuit, and a comparator trigger circuit.

[0027] Optionally, the AD sampling module includes:

[0028] A filtering circuit, including a Bessel filter, is used to filter the signal obtained by laser radar detection;

[0029] The gain adjustment circuit is an inverting proportional amplifier circuit, which is used to adjust the gain of the filtered circuit;

[0030] A single-ended to differential circuit, used for converting a single-ended signal into a differential signal;

[0031] The analog-to-digital conversion circuit includes a multi-channel multi-bit analog-to-digital converter for converting an analog signal into a digital signal, and each channel outputs a corresponding DCO clock signal, wherein the DCO clock signal is used to ensure that the receiving logic has a correct latch timing.

[0032] The method of using the above-mentioned ZYNQ-based atmospheric optical parameter real-time inversion device comprises:

[0033] The processor system PS receives an external control instruction, obtains the specified number of sampling points and accumulation times, and transmits them to the programmable logic system PL through the bus; the programmable logic system PL detects whether there is an external trigger signal input, and determines the acquisition state of the programmable logic system PL according to the detection result;

[0034] When the acquisition state is a trigger signal indicating acquisition, the programmable logic system PL acquires the acquired data and the last accumulated data stored internally in real time, accumulates the last accumulated data again based on the acquired data, and repeats the accumulation step until the accumulated number of times reaches N, stores the accumulated data and sends it to the processor system PS via the bus, obtains the original signal after correction, and stores the original signal in the DDR3 memory based on the control of the storage controller; at the same time, the processor system PS inverts the atmospheric optical parameters of the original signal, and stores the inversion result in the DDR3 memory based on the control of the storage controller.

[0035] Further, after the accumulated number of times reaches N, the accumulated data is stored and sent to the processor system PS through the bus, and then the original signal is obtained after correction, the original signal is stored in the storage controller of the processor system PS, and the inversion result is stored in the storage controller of the processor system PS, and the method further includes:

[0036] The storage controller in the APU determines whether the Ethernet is normal. When it is normal, the storage controller in the APU outputs the original signal and atmospheric optical parameters stored in the DDR3 memory through the Ethernet end; when it is abnormal, the storage controller in the APU stores the original signal and atmospheric optical parameters stored in the DDR3 memory in the SD NAND memory and outputs them after the network returns to normal.

[0037] (1) Based on the acquisition of atmospheric laser radar echo signals, the present invention corrects the accumulated signals acquired in real time in the board system to obtain the original signals, and then performs inversion, and outputs the atmospheric optical parameters obtained by inversion together with the original signals. The programmable logic system PL and the processor system PS work in parallel. When the programmable logic system PL performs acquisition and accumulation, the processor system PS performs inversion at the same time. After the accumulation of the programmable logic system PL is completed, an interrupt request will be sent to the PS end, and the processor system PS will read the accumulated data for subsequent processing. At the same time, the programmable logic system PL will continue to perform the next round of acquisition and accumulation. Real-time atmospheric optical parameters are obtained, which improves the real-time performance of the data.

[0038] (2) The acquisition and inversion are integrated into a circuit board card. The inversion function can be realized without an operating system. There is no need to worry about software crashes due to the complexity of the operating system. This improves the system's integration, working stability and portability, and enables the system to adapt to more application scenarios.

[0039] (3) The present invention combines two triggering modes. The optocoupler trigger circuit has the characteristics of electrical isolation and strong anti-interference ability. The comparator trigger circuit has the characteristics of fast response speed and high time resolution. The appropriate triggering mode is selected by the selection circuit in different scenarios, which improves the reliability and anti-interference ability of the system and expands the application scenarios of the system.

[0040] (4) The filtering circuit adopts Bessel filter. The bandwidth of Bessel filter and the device parameters used are determined according to the frequency characteristics of the signal to be collected. The bandwidth and device parameters are adjustable. The out-of-band noise is filtered out without affecting the signal to be collected, thereby improving the anti-interference ability of the collection system.

[0041] (5) The accumulated data and inversion results of the present application are transmitted to an external receiving end via Ethernet, and the information is stored in real time in the SD NAND memory when the network is abnormal, so as to avoid data loss in the event of failure of real-time transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 This is the hardware circuit structure diagram of the real-time inversion device for atmospheric optical parameters based on ZYNQ.

[0043] Figure 2 The following is a flow chart of the collection.

[0044] Figure 3 This is the logic block diagram of the acquisition inversion module.

[0045] Figure 4 This is the flow chart of the real-time inversion module. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0047] There are currently two solutions for inverting the atmospheric detection lidar echo signal to obtain the atmospheric optical parameters. The first is to use the already written host computer inversion software to invert the collected echo signal. The second is to use the inversion algorithm written by the individual on the numerical calculation software in the personal computer to realize the inversion calculation of the signal. The first solution requires that the lidar has an industrial computer as a device, and the inversion process is implemented in the industrial computer. This will reduce the reliability, safety and portability of the system. The second solution also relies on the numerical calculation software in the personal computer operating system, and it is impossible to obtain atmospheric optical parameter information.

[0048] In order to solve the above problems, Figure 1 and Figure 3 As shown, the present application discloses a real-time inversion device for atmospheric optical parameters based on ZYNQ, including a ZYNQ chip, wherein the ZYNQ chip module includes a programmable logic system PL and a processor system PS that realize information interaction through a bus, wherein the programmable logic system PL is used to obtain the number of sampling points and then obtain the accumulated data corresponding to the sampling points in real time, and transmit the accumulated data to the processor system PS, wherein the processor system PS is used to send a control signal for controlling the acquisition of the accumulated data to the programmable logic system PL, and perform correction processing on the accumulated data to obtain the original signal, and obtain the inversion result according to the original signal, and also store the original signal and the inversion result.

[0049] In one embodiment, the ZYNQ chip is a ZYNQ-7000 series SoC FPGA chip. The inversion unit of the real-time inversion in the present invention is set in the ARM Cortex-A9 of the ZYNQ chip. The chip is logically programmed in the programmable logic system PL using the Verilog hardware description language, and the processor system PS of the chip is programmed using the C language to realize the acquisition of the acquisition module in the present invention and the inversion operation function of the real-time inversion module.

[0050] Specifically, the programmable logic system PL includes an acquisition control unit, a real-time accumulation unit, and a cache unit. The acquisition control unit is connected to the processor system PS, and is used to obtain the number of acquisition points and the cumulative number of times N; and is used to determine the acquisition state according to the trigger signal, and the acquisition state includes acquisition, idle and delay. The real-time accumulation unit is connected to the acquisition control unit, and is used to obtain the acquisition state, the number of acquisition points and the cumulative number of times N; and is connected to the sampling data conversion module, and is used to obtain the sampling data when the acquisition state is acquisition; and the accumulated data is obtained according to the number of acquisition points, the cumulative number of times N and the sampling data; the cache unit is used to obtain the accumulated data corresponding to the Nth accumulation.

[0051] like Figure 3As shown, in one embodiment, the programmable logic system PL also includes a control register arranged between the acquisition control unit and the bus AXI, which is used to store the number of acquisition points and the cumulative number of times the processor system PS sends to the acquisition control unit.

[0052] like Figure 3 As shown, in one embodiment, the cache unit includes BRAM0, BRAM1 and AXI BRAM controller, and the BRAM0 is used to write the i-th accumulated data (where i is the number of accumulations, and i takes a value between 1 and N-1), and return the i-th accumulated data to the real-time accumulation unit for obtaining i+1 accumulated data. The BRAM1 is used to write the N-th accumulated data, and the accumulated data is transmitted to the processor system PS through the bus AXI through the control of the AIX BRAM controller.

[0053] Specifically, the processor system PS includes an APU, a DDR3 memory, and a port unit. The APU includes a first correction subunit, a storage controller, and an inversion unit. The first correction subunit is used to obtain the accumulated data in the programmable logic system PL, and correct the accumulated data to obtain the original signal. The storage controller is used to control the DDR3 memory to obtain and store the original signal and the inversion result, N. The inversion unit is used to invert the atmospheric optical parameters of the original signal to obtain inversion results including extinction coefficient and backscattering coefficient; the DDR3 memory is connected to the storage controller and is used to store the original signal and the inversion result. The port unit is connected to the DDR3 memory, used to obtain external instructions, give the specified number of sampling points and the number of accumulation times N, and also used to output the original signal and the inversion result to the outside. The port unit is connected to the DDR3 memory, used to obtain external instructions, give the specified number of sampling points and the number of accumulation times, and also used to output the original signal and the inversion result to the outside.

[0054] Specifically, the inversion unit includes a noise removal subunit, a data smoothing subunit, a distance square correction subunit, a calibration point determination subunit, and an inversion calculation subunit, which are sequentially arranged. The noise removal subunit is used to denoise the accumulated data and remove background noise; the data smoothing subunit uses a triangular smoothing method to perform a multi-point smoothing operation on the accumulated data after removing background noise; the distance square correction subunit is used to perform a distance square on the data output by the data smoothing subunit to eliminate the influence of distance on signal strength; the calibration point determination subunit obtains a calibration point with an aerosol scattering ratio of a set value; the inversion calculation subunit performs a backward integration operation on the atmospheric space before the calibration point, and performs a forward integration operation on the data points after the calibration point to obtain an inversion result including an extinction coefficient and a backscattering coefficient.

[0055] The first correction subunit includes an acquisition control and read-write part and an accumulated data correction part, which are used to acquire the accumulated data of the programmable logic system PL through the bus AXI, correct the accumulated data through the accumulated data correction part to obtain the original signal, and then store the original signal in the storage controller. In addition, the acquisition control and read-write part transmits the external signal input from the port connected to the processor system PS to the programmable logic system PL, and the external signal includes the number of sampling points and the number of accumulation times N.

[0056] In one embodiment, the processor system PS further includes an SD NAND storage controller, which is connected to the DDR3 memory to obtain DDR3 memory data, and the processor system PS further includes an Ethernet controller ENET, which implements information interaction with the DDR3 memory and outputs the original data and inversion results stored in the DDR3 memory. In one solution, the SD NAND storage controller and the Ethernet controller ENET are both connected to external devices through MIO ports.

[0057] like Figure 1 As shown, the ZYNQ chip is an FPGA chip, and the device also includes a trigger module, an AD sampling module, and a real-time clock module arranged on the FPGA board. The trigger module is connected to the acquisition control unit and is used to send a trigger signal to the acquisition control unit; the AD sampling module is connected to the real-time accumulation unit and the acquisition control unit, and is used to collect external signals and send them to the real-time accumulation unit after processing, and send a DCO clock signal to the acquisition control unit and obtain the ENC clock signal of the acquisition control unit.

[0058] The trigger module includes a gating circuit, an optocoupler trigger circuit connected to the gating circuit, and a comparator trigger circuit. The core component of the optocoupler trigger circuit is a logic output optocoupler, which consists of a light emitting diode (LED) and a photosensitive receiver (such as a phototransistor, a photosensitive diode or a phototransistor). The two parts are encapsulated in a black package to prevent external light interference, and there is no electrical connection between them, and they only interact through optical signals. When the input end receives a logic high level signal (or a logic low level, depending on the type of optocoupler), the light emitting diode (LED) lights up, and the emitted light signal propagates inside the optocoupler. After the photosensitive receiver (such as a phototransistor) receives the light signal, it converts it into a corresponding electrical signal according to the intensity of the light, realizing the "electric-optical-electrical" conversion of the input end trigger signal, and outputting a standard digital logic level to trigger the acquisition. The electrical signal at the output end is consistent with the electrical signal at the input end in logical state (or opposite according to the design), but they are electrically isolated, so that the trigger input end and the acquisition end of the acquisition control system are effectively isolated, protecting the acquisition control system from interference from the trigger input signal. The core component of the comparator trigger circuit is the comparator. In the comparator circuit, a stable reference voltage is set as the trigger threshold. The input signal is sent to the non-inverting input terminal of the comparator (usually the "+" input terminal), and the inverting input terminal (usually the "-" input terminal) is connected to the set reference voltage. When the input signal voltage is higher than the reference voltage, the comparator outputs a high-level signal (usually close to the power supply voltage). When the input signal voltage is lower than the reference voltage, the comparator outputs a low-level signal (usually close to ground or zero voltage). The level change of the output signal can be used as a trigger event to control the acquisition action of the FPGA connected to it. According to the setting of the selection circuit, the trigger requirements of more scenarios can be met. For example, a comparison trigger circuit is used for high-speed acquisition. When it is necessary to avoid external interference, an optocoupler trigger circuit is used to achieve electrical isolation.

[0059] In one embodiment, the AD sampling module includes a filter circuit, a gain adjustment circuit, a single-ended to differential circuit, and an analog-to-digital conversion circuit arranged in sequence. The filter circuit includes a Bessel filter for filtering the signal obtained by laser radar detection; the gain adjustment circuit is an inverting proportional amplifier circuit for gain adjustment of the filtered circuit; the single-ended to differential circuit is used to convert the single-ended signal into a differential signal; the analog-to-digital conversion circuit includes a multi-channel multi-bit analog-to-digital converter for converting the analog signal into a digital signal, and each channel outputs a corresponding DCO clock signal, and the DCO clock signal is used to ensure that the receiving logic has the correct latch timing. Specifically, the AD acquisition module includes a filter circuit, a gain adjustment circuit, a single-ended to differential circuit, and an analog-to-digital conversion circuit. The filter circuit adopts an LC type Bessel filter, and the gain change of the LC type Bessel filter in the passband is very small, almost flat, and the attenuation speed in the stopband is very fast, which can quickly suppress unnecessary frequencies, and has a linear phase characteristic, which is conducive to maintaining the signal waveform. The circuit is composed of a series LC resonant circuit to form a π-shaped structure. The selection of LC elements depends on the required filter characteristics. In this application, by performing spectrum analysis on the typical signal collected by the system board, the frequency characteristics of the signal to be collected and the spectrum information of the time domain details of the signal to be collected are obtained, the bandwidth of the Bessel filter and the required device parameters are determined, and the bandwidth of the filter is changed by adjusting the parameters of the components used. The out-of-band noise is filtered out without affecting the signal to be collected, thereby improving the signal's anti-interference ability. The gain adjustment circuit and the single-ended to differential circuit are composed of a fully differential operational amplifier and its peripheral circuits. The single-ended signal is first input to one input terminal of the differential amplifier, and the other input terminal is connected to the ground or a reference voltage. The internal circuit of the fully differential operational amplifier compares the voltages of the two input terminals (non-inverting input terminal and inverting input terminal), and the output of the differential amplifier is two signals with opposite voltages, namely, a differential signal. The difference between the two output signals is the result of amplifying the input signal. In this circuit, the gain adjustment of the input signal is achieved by adjusting the ratio between the feedback resistor and the input resistor of the differential operational amplifier. The input signal passes through an input resistor (R in ) is connected to the inverting input of the operational amplifier, while the feedback resistor (R f ) is connected between the inverting input and the output. According to the virtual short and virtual open principles of the operational amplifier, the voltage difference between the inverting input and the non-inverting input is close to zero, so the voltage at the inverting input is close to the voltage at the non-inverting input. Ideally, the gain (A v ) can be obtained through A v =-R f / R inThe negative sign indicates that the output signal is inverted with respect to the input signal. In a fully differential operational amplifier, the input signal is usually passed through two equal input resistors (R in ) are input to the two input terminals (non-inverting and inverting input terminals) of the operational amplifier, and the feedback resistor (R f ) is connected between the two input resistors, and by adjusting R f and R in The ratio of adjusts the gain of the differential amplifier. The output signal of the operational amplifier circuit is a differential signal, which enters the analog-to-digital conversion circuit. The analog-to-digital conversion circuit includes a dual-channel 14-bit analog-to-digital converter. The chip adopts a multi-stage differential pipeline architecture and uses a differential clock input to control all internal conversion cycles. The digital output data format is offset binary, Gray code or binary complement. Each ADC channel has a data output clock (DCO) to ensure that the receiving logic has the correct latch timing. The differential signal output by the single-ended to differential circuit enters the analog-to-digital converter, converted into a 14-bit output digital signal, and enters the FPGA chip for processing.

[0060] In one embodiment, the chip of the analog-to-digital conversion circuit is AD9251, and the acquisition control unit of the programmable logic system PL controls the analog-to-digital conversion circuit through the ENC clock output, and the output data of the analog-to-digital conversion circuit is added to the acquisition control unit in the programmable logic system PL along with the DCO clock input. Before the acquisition starts, the external control terminal sends instructions through MIO to give the specified number of sampling points and the number of accumulations. The acquisition control unit inside the programmable logic system PL receives the input of the external trigger signal, detects whether there is a trigger signal input, and determines the acquisition state of the programmable logic system PL according to the detection result. Before the trigger signal arrives, the acquisition part of the programmable logic system PL is in an idle state. After the trigger signal is detected, the programmable logic system PL is in an acquisition state. After one acquisition is completed, before the next trigger signal arrives, the system is in a delayed state. When the rising edge of the trigger signal is detected, the real-time accumulation module reads the 14-bit data input by the analog-to-digital conversion circuit and the last accumulated data stored in BRAM0 respectively, and the two data are accumulated at one time, and the accumulated result is written into BRAM0. When the specified number of accumulations N is reached, the result of the last accumulation is stored in BRAM1. At the same time, the control unit of the programmable logic system PL sends an interrupt request to the processor system PS, and the processor system PS controls the AXI bus to read the accumulated data in BRAM1 through the AXI BRAM controller as the output transmission unit. The processor system PS stores the original signal obtained after correcting the accumulated data in the storage controller. At the same time, the application processor unit (APU) of the processor system PS performs atmospheric optical parameter inversion on the original signal. The final inversion result is stored in the storage controller, and the original signal and inversion result are controlled to be stored in the DDR3 memory. When the network is normal, Ethernet reads the original signal and inversion result stored in the DDR3 memory and transmits it to the external receiving end through Ethernet. In the case of abnormal network, the original signal and inversion result in the DDR3 memory are stored in the on-chip SD NAND storage controller. When the network connection is restored or conditions permit, the acquisition inversion module reads the data from the SD NAND memory and tries to transmit the data to the external device again through Ethernet.

[0061] In another embodiment, a method for using the above-mentioned ZYNQ-based atmospheric optical parameter real-time inversion device is also disclosed, comprising:

[0062] The processor system PS receives an external control instruction, obtains the specified number of sampling points and accumulation times, and transmits them to the programmable logic system PL through the bus; the programmable logic system PL detects whether there is an external trigger signal input, and determines the acquisition state of the programmable logic system PL according to the detection result;

[0063] When the acquisition state is a trigger signal indicating acquisition, the programmable logic system PL acquires the acquired data and the last accumulated data stored internally in real time, accumulates the last accumulated data again based on the acquired data, and repeats the accumulation step until the accumulated number of times reaches N, stores the accumulated data and sends it to the processor system PS via the bus, obtains the original signal after correction, and stores the original signal in the DDR3 memory based on the control of the storage controller; at the same time, the processor system PS inverts the atmospheric optical parameters of the original signal, and stores the inversion result in the DDR3 memory based on the control of the storage controller.

[0064] Specifically, the method further includes storing the accumulated data after the accumulated number of times reaches N and sending the accumulated data to the processor system PS through the bus to obtain the original signal after correction, storing the original signal in the storage controller of the processor system PS and storing the inversion result in the storage controller of the processor system PS, and:

[0065] The storage controller in the APU determines whether the Ethernet is normal. When it is normal, the storage controller in the APU outputs the original signal and atmospheric optical parameters stored in the DDR3 memory through the Ethernet end; when it is abnormal, the storage controller in the APU stores the original signal and atmospheric optical parameters stored in the DDR3 memory in the SD NAND memory and outputs them after the network returns to normal.

[0066] like Figure 2 As shown, before the acquisition starts, the information of the number of sampling points and the number of accumulations is transmitted to the system board through Ethernet. The board parses the information transmitted by Ethernet and sets the number of sampling points and the number of accumulations in FPGA. After the two parameters are set, the acquisition starts and waits for the trigger signal to arrive. If the trigger signal does not arrive, the board is always in the waiting state for acquisition. After the trigger signal arrives, the acquisition starts. After the signal passes through the AD acquisition module, the programmable logic system PL in ZYNQ performs acquisition and accumulation. Before the last accumulation number is reached, the result of each accumulation is stored in the BRAM0 of the cache unit. After the set number of accumulations is reached, the last accumulation result is stored in the BRAM1 of the programmable logic system PL. The processor system PS in ZYNQ reads the data stored in BRAM1 in the programmable logic system PL and performs subsequent inversion calculations on the corrected accumulated data.

[0067] Specifically, if Figure 4 As shown, the processor system PS performs atmospheric optical parameter inversion on the accumulated data, including:

[0068] Before starting the calculation, the U.S. standard atmospheric model data is imported. When the interrupt of the programmable logic system PL arrives, the processor system PS reads the accumulated data corresponding to the Nth accumulation of the programmable logic system PL;

[0069] The first correction subunit is used to correct the accumulated data; first, a certain data space is allocated for the accumulated data, and the accumulated data is corrected. The corrected data value is the same as the original data, corresponding to the voltage value of the real echo signal;

[0070] Use the noise removal subunit to remove the background of the raw data, subtract the background noise from the raw signal, and obtain a signal with a baseline of 0.

[0071] Use the data smoothing subunit to perform triangular smoothing on the signal. Any odd number of points can be selected for triangular smoothing, thereby improving the signal-to-noise ratio of the signal.

[0072] The distance square correction subunit is used to perform distance square correction on the smoothed signal, and the smoothed signal is multiplied by the square of the distance.

[0073] Use the Determine Calibration Point subunit to determine the calibration point. The selection of the calibration point follows the conventional experience. The distance square correction signal is divided by the US standard atmospheric model to obtain a profile. The minimum value of the profile within a certain range is the calibration point. The range here needs to be determined by referring to the hardware parameters of the lidar.

[0074] Using the inversion calculation subunit, the atmospheric optical parameter inversion here takes the extinction coefficient and backscattering coefficient of aerosol particles as an example, and performs inversion based on the Fernald method. Backward integration is performed in the atmospheric space before the calibration point, and forward integration is performed on the data points after the calibration point. According to the lidar equation and the Fernald method inversion formula, the inversion formula at the calibration point Z is directly obtained. C The backscattering coefficient β1(Z) and extinction coefficient α1(Z) of the following aerosol particles are:

[0075]

[0076]

[0077] At the calibration point Z C The backscattering coefficient β1(Z) and extinction coefficient α1(Z) of the above aerosol particles are:

[0078]

[0079] In the above formula, α2(Z) and β2(Z) are the extinction coefficient and backscattering coefficient of air molecules, respectively. is the aerosol extinction backscattering ratio. In the inversion calculation, S1=50 for stratospheric and tropospheric aerosols in the background period. is the extinction backscattering ratio of air molecules, generally taken as X(Z c ) is the value of the distance square correction signal at the calibration point.

[0080] After the inversion calculation in ARM is completed, the calculated extinction coefficient and backscattering coefficient are stored and transmitted together with the original signal. If the system receives an instruction to stop acquisition at this time, the entire acquisition and inversion calculation process will be stopped. If no instruction to end acquisition is received, the acquisition system will work normally and continue to collect signals and perform inversion calculations.

[0081] The inversion algorithm in the acquisition inversion module of the above embodiment takes the inversion of aerosol optical parameters of aerosol lidar as an example. The acquisition inversion process and framework protected by this application are also applicable to other atmospheric detection lidars, such as water vapor lidar, ozone lidar, etc.

[0082] In the description of this specification, the description with reference to the terms "some embodiments" or "examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.

[0083] The above is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any technician in the relevant technical field, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present invention, which does not depart from the content of the technical solution of the present invention and still falls within the protection scope of the present invention.

Claims

1. A real-time inversion device for atmospheric optical parameters based on ZYNQ, characterized in that: It includes a ZYNQ chip. The ZYNQ chip module includes a programmable logic system PL and a processor system PS that realize information exchange through a bus. The programmable logic system PL is used to obtain the number of sampling points and then obtain the accumulated data corresponding to the sampling points in real time, and transmit the accumulated data to the processor system PS. The processor system PS is used to send a control signal for controlling the acquisition of the accumulated data to the programmable logic system PL, and correct the accumulated data to obtain the original signal, and obtain the inversion result according to the original signal, and also store the original signal and the inversion result.

2. The device according to claim 1, characterized in that The programmable logic system PL comprises: An acquisition control unit, which implements signal interaction with the processor system PS, is used to obtain the control signal including the acquisition points and the cumulative number N; and is used to determine the acquisition state according to the external input trigger signal, and the acquisition state includes acquisition, idle and delay; A real-time accumulation unit is connected to the acquisition control unit, and is used to obtain the acquisition state, the number of acquisition points, and the cumulative number of times N; and is connected to the sampling data conversion module, and is used to obtain the sampling data when the acquisition state is acquisition; and the cumulative data is obtained according to the number of acquisition points, the cumulative number of times N, and the sampling data; The cache unit is used to obtain the accumulated data corresponding to the Nth accumulation.

3. The device according to claim 2, characterized in that The processor system PS includes an APU, a DDR3 memory, and a port unit, and the APU includes: A first correction subunit, used for acquiring the accumulated data in the programmable logic system PL, and correcting the accumulated data to obtain the original signal; A storage controller, used for controlling the DDR3 memory to acquire and store the original signal and the inversion result; An inversion unit, used for performing atmospheric optical parameter inversion on the original signal to obtain atmospheric optical parameters including extinction coefficient and backscattering coefficient; The DDR3 memory is used to store the original signal and the inversion result; The port unit is connected to the DDR3 memory, and is used to obtain external instructions, provide a specified number of sampling points and accumulation times N, and output the original signal and inversion result to the outside.

4. The device according to claim 3, characterized in that The processor system PS also includes an SD NAND storage controller, which is connected to the DDR3 memory to obtain DDR3 memory data. The processor system PS also includes an Ethernet controller ENET, which implements information interaction with the DDR3 memory and outputs the original data and inversion results stored in the DDR3 memory.

5. The device according to claim 3, characterized in that The inversion unit comprises: A noise removal subunit, used to denoise the accumulated data to remove background noise; The data smoothing subunit uses a triangular smoothing method to perform multi-point smoothing operations on the accumulated data after removing background noise; The distance square correction subunit is used to square the data output by the data smoothing subunit to eliminate the influence of distance on signal strength; Determine the calibration point subunit, and obtain the calibration point where the aerosol scattering ratio is a set value; The inversion calculation subunit performs a backward integration operation in the atmospheric space before the calibration point and performs a forward integration operation on the data points after the calibration point to obtain an inversion result including an extinction coefficient and a backscattering coefficient.

6. The device according to claim 3, characterized in that The ZYNQ chip is an FPGA chip, and the device further includes: A trigger module, connected to the acquisition control unit, and configured to send a trigger signal to the acquisition control unit; The AD sampling module is connected to the real-time accumulation unit and the acquisition control unit, and is used to collect external signals and send the processed signals to the real-time accumulation unit, and send the DCO clock signal to the acquisition control unit and obtain the ENC clock signal of the acquisition control unit.

7. The device according to claim 6, characterized in that The trigger module comprises a gating circuit, an optocoupler trigger circuit connected to the gating circuit, and a comparator trigger circuit.

8. The device according to claim 6, characterized in that The AD sampling module includes the following components which are arranged in sequence: A filtering circuit, including a Bessel filter, is used to filter the signal obtained by laser radar detection; The gain adjustment circuit is an inverting proportional amplifier circuit, which is used to adjust the gain of the filtered circuit; A single-ended to differential circuit, used for converting a single-ended signal into a differential signal; The analog-to-digital conversion circuit includes a multi-channel multi-bit analog-to-digital converter for converting an analog signal into a digital signal, and each channel outputs a corresponding DCO clock signal, wherein the DCO clock signal is used to ensure that the receiving logic has a correct latch timing.

9. A method for using the ZYNQ-based atmospheric optical parameter real-time inversion device according to any one of claims 1 to 7, characterized in that: include: The processor system PS receives an external control instruction, obtains the specified number of sampling points and accumulation times, and transmits them to the programmable logic system PL through the bus; the programmable logic system PL detects whether there is an external trigger signal input, and determines the acquisition state of the programmable logic system PL according to the detection result; When the acquisition state is a trigger signal indicating acquisition, the programmable logic system PL acquires the acquired data and the last accumulated data stored internally in real time, accumulates the last accumulated data again based on the acquired data, and repeats the accumulation step until the accumulated number of times reaches N, stores the accumulated data and sends it to the processor system PS via the bus, obtains the original signal after correction, and stores the original signal in the DDR3 memory based on the control of the storage controller; at the same time, the processor system PS inverts the atmospheric optical parameters of the original signal, and stores the inversion result in the DDR3 memory based on the control of the storage controller.

10. The method according to claim 9, characterized in that After the accumulated number of times reaches N, the accumulated data is stored and sent to the processor system PS through the bus, and then the original signal is obtained after correction, the original signal is stored in the storage controller of the processor system PS, and the inversion result is stored in the storage controller of the processor system PS, and the method further includes: The storage controller in the APU determines whether the Ethernet is normal. When it is normal, the storage controller in the APU outputs the original signal and atmospheric optical parameters stored in the DDR3 memory through the Ethernet end; when it is abnormal, the storage controller in the APU stores the original signal and atmospheric optical parameters stored in the DDR3 memory in the SD NAND memory and outputs them after the network returns to normal.

Citation Information

Patent Citations

  • Multi-channel high-speed real-time cross-correlation operation device based on comparator and FPGA

    CN112487354A

  • Design of satellite-borne laser radar data acquisition and automatic gain control system

    CN115327986A

  • Software and hardware collaborative design method of satellite-borne photon counting laser radar detection and acquisition system

    CN115343721A

  • System for adjusting ship data transmission in real time according to ship navigation state

    CN116506513A

  • Real-time video stitching system based on ZYNQ

    CN118075408A

Cited By

  • Laser radar signal processing and control device based on embedded system

    CN120103749A

  • Uniform atmosphere laser radar background noise determination method

    CN120703778A

  • A uniform atmospheric laser radar background noise determination method

    CN120703778B