Laser wind finding radar signal processing method, device, equipment, medium and product

By allocating the FFT core on the FPGA chip, it is responsible for the echo signal processing of multiple distance layers, and adopting a time-sharing multiplexing cycle method, the resource consumption and calculation time problems caused by the increase in the number of distance layers of the laser wind measurement radar are solved, and efficient signal processing is achieved.

CN119716800APending Publication Date: 2025-03-28NANJING MOVELASER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411912954.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When the prior art increases the number of distance layers of laser wind measurement radar, it leads to an increase in FPGA chip resource consumption and an increase in costs, and commonly used software processing methods will lead to a significant increase in computing time.

Method used

By allocating the FFT cores on the FPGA chip based on the relationship between the number of distance layers and the number of FFT cores, one FFT core is responsible for processing the echo signals of multiple distance layers, and the processing is carried out using a time-sharing multiplexing cycle.

Benefits of technology

It is realized that the calculation rate is ensured without increasing the complexity of the FFT core related processing logic, while greatly reducing the consumption of the FFT core and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119716800A_ABST
    Figure CN119716800A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a laser wind finding radar signal processing method and device, equipment, a medium and a product, and the method comprises the steps: determining the FFT core corresponding to each distance layer according to the number of FFT cores contained in a field programmable gate array (FPGA) chip and the number of distance layers detected by a laser wind finding radar, the number of the FFT cores is smaller than the number of the distance layers; and receiving at least one echo signal returned by the distance layer, and when the FFT core corresponding to the distance layer is in an idle state, processing the echo signal through the FFT core corresponding to the distance layer to obtain spectrum data corresponding to the echo signal. According to the method, a time division multiplexing circulation mode is adopted, the FFT core is used for processing data of a plurality of distance layers, the configuration of the FFT core is not modified, the calculation rate is ensured, meanwhile, the complexity of related processing logic of the FFT core is not increased, and the consumption of the FFT core is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip processing technology, and in particular to a laser wind radar signal processing method, device, equipment, medium and product. Background Art

[0002] Accurately observing the atmospheric wind field is of great significance in various fields. Pulse coherent Doppler laser wind radar can effectively detect the atmospheric vector wind field in real time. A core processing of Doppler wind measurement is to obtain the spectrum of the collected signal through Fast Fourier Transform (FFT). Conventional radars use Field Programmable Gate Array (FPGA) to perform data FFT processing. The FPGA chip has an embedded FFT IP core, and the resources consumed and the calculation rate are different depending on the configuration. Common laser wind radars have 12 distance layers. In order to calculate and output the data of 12 distance layers, the general processing method is to call 12 FFT cores and divide them into 12 calculation channels for calculation.

[0003] As the market demand for wind measurement technology grows, the original 12 distance layers can no longer meet the demand, and the current required distance layers have reached twice or more of the original. Due to the increase in resource consumption, FPGA chips with more resources have to be replaced, which undoubtedly requires higher costs. In order not to increase additional costs and not to change the hardware design, it can be achieved through software. The commonly used processing method is to modify the FFT core configuration, changing the pipelined processing Pipelined, Streaming I / O to butterfly operations Radix-4, Burst I / O or Radix-2, Burst I / O, etc. This processing method reduces resource consumption, but at the same time significantly increases the calculation time. Summary of the invention

[0004] The present invention provides a laser wind radar signal processing method, device, equipment, medium and product, which achieve the goal of ensuring the calculation rate without increasing the complexity of FFT core related processing logic, and greatly reducing the consumption of FFT cores.

[0005] In a first aspect, an embodiment of the present invention provides a laser wind radar signal processing method, comprising:

[0006] According to the number of fast Fourier transform FFT cores contained in the field programmable logic gate array FPGA chip and the number of distance layers detected by the laser wind measurement radar, the FFT core corresponding to each distance layer is determined, and the number of the FFT cores is less than the number of the distance layers;

[0007] An echo signal returned by at least one of the distance layers is received, and when the FFT core corresponding to the distance layer is in an idle state, the echo signal is processed by the FFT core corresponding to the distance layer to obtain frequency spectrum data corresponding to the echo signal.

[0008] In a second aspect, an embodiment of the present invention provides a laser wind radar signal processing device, comprising:

[0009] An FFT core allocation module is used to determine the FFT core corresponding to each distance layer according to the number of fast Fourier transform FFT cores contained in the field programmable logic gate array FPGA chip and the number of distance layers detected by the laser wind measurement radar, and the number of the FFT cores is less than the number of the distance layers;

[0010] The FFT core processing module is used to receive an echo signal returned by at least one of the distance layers, and when the FFT core corresponding to the distance layer is in an idle state, process the echo signal through the FFT core corresponding to the distance layer to obtain spectrum data corresponding to the echo signal.

[0011] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0012] at least one processor; and

[0013] a memory communicatively connected to the at least one processor; wherein,

[0014] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the laser wind radar signal processing method as described in any embodiment of the present invention.

[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the laser wind radar signal processing method as described in any embodiment of the present invention when executed.

[0016] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a chip, it implements the laser wind radar signal processing method as described in any embodiment of the present invention.

[0017] The embodiment of the present invention provides a laser wind radar signal processing method, device, equipment, medium and product, the method comprising determining the FFT core corresponding to each distance layer according to the number of fast Fourier transform FFT cores contained in the field programmable logic gate array FPGA chip and the number of distance layers detected by the laser wind radar, wherein the number of the FFT cores is less than the number of the distance layers; receiving an echo signal returned by at least one of the distance layers, and when the FFT core corresponding to the distance layer is in an idle state, processing the echo signal through the FFT core corresponding to the distance layer to obtain the spectrum data corresponding to the echo signal. In the above technical solution, when the number of FFT cores is less than the number of distance layers, a corresponding FFT core is allocated to each distance layer, so that one FFT core is responsible for processing the echo signals returned by multiple distance layers, adopting a time-division multiplexing cycle mode, using the FFT core to process multiple distance layer data, not modifying the FFT core configuration, ensuring the calculation rate, and not increasing the complexity of the FFT core-related processing logic, thereby greatly reducing the consumption of the FFT core.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 This is an example diagram of a laser wind radar signal processing method in the prior art;

[0021] Figure 2 A schematic diagram of a flow chart of a laser wind radar signal processing method provided in Embodiment 1 of the present invention;

[0022] Figure 3 This is an example diagram of a laser wind radar signal processing method provided in Embodiment 1 of the present invention;

[0023] Figure 4 A schematic flow chart of another method for processing laser wind radar signals provided in Embodiment 2 of the present invention;

[0024] Figure 5 A schematic diagram of the structure of a laser wind radar signal processing device provided in Embodiment 3 of the present invention;

[0025] Figure 6A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "original", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] It should be clear that the pulsed laser wind radar uses the Doppler coherence theory, that is, it achieves wind speed measurement by comparing the frequency shift of the emitted laser and the echo signal: after the laser is emitted, the radar calculates by receiving the echo signals at different time periods. Assuming that 1~M are signal pulses reflected from different distances, the radar measurement range was relatively small in the past, and the subsequent processing and utilization of data were not sufficient, resulting in the market not having high requirements for the number of distance layers detected. Common laser wind radars have 12 distance layers, that is, the radar can simultaneously calculate and output wind conditions at 12 different distance positions.

[0029] One of the core processes of Doppler wind measurement is to obtain the spectrum of the collected signal through Fourier transform (FFT). Conventional radars use FPGA to perform data FFT processing. The IP core of FFT is embedded in the FPGA chip. The resources consumed and the calculation rate vary according to different configurations. The IP core of FFT is a pre-designed integrated circuit module with a certain function, referred to as FFT core here.

[0030] Common solutions: In order to calculate and output the data of 12 distance layers, the general processing method is to call 12 FFT cores and divide them into 12 calculation channels for calculation. If FFT uses pipeline processing mode, natural order output, and the number of FFT points is 2048, the resources consumed by an FFT IP core are as follows: Digital signal processing unit (DSP Slices): 16, 18K block random access memory (Block RAMs): 14.

[0031] As the market demand for wind measurement technology grows, the original 12 distance layers can no longer meet the demand, and the current required distance layer has reached more than twice the original. In the conventional solution described above, by copying and adding FFT cores and related calculation logic, expansion can be easily achieved, and the calculation rate is fast, but the disadvantage is that the resource consumption is large. Due to the increase in resource consumption, FPGA chips with more resources have to be replaced, which undoubtedly requires higher costs. In order not to increase additional costs and not to change the hardware design, it is implemented through software. The commonly used processing method is to modify the FFT core configuration, from pipelined processing Pipelined, Streaming I / O to butterfly operation Radix-4, Burst I / O or Radix-2, Burst I / O, etc., resource consumption is reduced, but at the same time the calculation time is significantly increased. The following is the resource consumption and calculation delay under each configuration (default 2048-point FFT and natural order output). Table 1 is a comparison table of resource consumption corresponding to different FFT core configurations, and Table 2 is a comparison table of calculation delays corresponding to different FFT core configurations.

[0032] Table 1

[0033]

[0034]

[0035] Table 2

[0036]

[0037] From the comparison table 1 and table 2 above, we can roughly calculate that when the number of FFT cores increases from 12 to 24, in order to ensure that resource consumption does not increase, the mode must be changed from pipelined streaming I / O to butterfly operation Radix-2 Burst I / O. Although the consumed resources do not increase, the FFT calculation time increases significantly (more than 2 times), which affects the timing of the overall logic processing in the FPGA (especially the subsequent processing of FFT calculation) and cannot meet the design requirements.

[0038] For example, Figure 1is an example diagram of a laser wind radar signal processing method in the prior art, such as Figure 1 As shown in the figure, after the laser wind radar emits a laser pulse, the acquisition system receives the echo signal returned by the aerosol in real time. The echo signals returned at different distances are calculated by their respective FFT cores (including their related calculation and processing logic). Each calculation result is placed in the corresponding RAM. Each time a laser pulse is emitted, it is processed once. The calculated spectrum is continuously accumulated in the RAM, and finally the accumulated spectrum of M distances is obtained. The spectrum is then processed twice, etc. In this processing method, when M continues to increase, the corresponding FFT core and processing logic circuit will also continue to increase, and the upper limit of expansion is restricted by FPGA chip resources.

[0039] Embodiment 1

[0040] Figure 2 This is a flow chart of a laser wind radar signal processing method provided in the first embodiment of the present invention. The method is applicable to the case of processing laser wind radar signals. The method can be executed by a laser wind radar signal processing device. The device can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 2 As shown, the laser wind radar signal processing method provided in the first embodiment may specifically include the following steps:

[0041] S101, determining the FFT core corresponding to each distance layer according to the number of fast Fourier transform FFT cores contained in the field programmable gate array FPGA chip and the number of distance layers detected by the laser wind radar.

[0042] Among them, the number of FFT cores is less than the number of distance layers. The application scenario of the laser wind radar signal processing method provided in this embodiment can be described as that with the continuous development of wind measurement technology, it is necessary to detect more distance layers and process the echo signals returned from more distance layers, that is, the FFT cores contained in the FPGA chip are less than the number of distance layers detected by the laser radar. For example, it is assumed that the FPGA contains 10 FFT cores, and the laser radar needs to detect data from 20 distance layers.

[0043] It should be noted that the effective processing time of each FFT core often has a lot of margin, refer to Table 2 and Figure 1 It can be seen that when Figure 1 The FFT 1 processing calculation only takes a dozen microseconds from start to finish. Considering other related logics, the total time is several dozen microseconds. Considering that the frequency of laser pulses is generally 10KHz to 50KHz, each FFT core has already completed the calculation before the next laser beam is emitted, so it is technically feasible to process multiple data with the same FFT.

[0044] Based on the above description, in this embodiment, a corresponding FFT core can be allocated to each distance layer according to the number of FFT cores contained in the FPGA chip and the number of distance layers detected by the laser wind radar. This is equivalent to each FFT core being responsible for processing the echo signals returned by two or more distance layers. Exemplarily, the step of determining the corresponding FFT core for each distance layer can be described as: arranging each distance layer from near to far according to the distance from the laser wind radar to obtain a distance layer queue; using the number of FFT cores as the basis for division, the distance layer queue is divided in order to obtain at least two distance layer sub-queues; according to the allocation strategy that the same arrangement position corresponds to the same FFT core and different arrangement positions correspond to different FFT cores, an FFT core is allocated to each distance layer in each distance layer sub-queue.

[0045] It should be noted that when the number of distance layers is an integer multiple of the number of FFT cores, the distance layers can be divided into several parts. The specific number of parts is determined by the number of distance layers and the number of FFT cores, and no specific restrictions are made here. For example, if the number of distance layers is M and the number of FFT cores is M / 2, the M distance layers can be divided into 2 parts, the first M / 2 distance layers correspond to each M / 2 FFT core in turn, and the last M / 2 distance layers correspond to each M / 2 FFT core in turn. When the number of distance layers is 3 times the number of FFT cores, each distance layer can be evenly divided into 3 parts, and each distance layer in each part corresponds to each FFT core in turn. When the number of distance layers is not an integer multiple of the number of FFT cores, it can be divided according to the number of FFT cores. The number of distance layers contained in each part is the same as the number of FFT cores, and the number of distance layers in the last part is less than the number of FFT cores. For example, if the number of FFT cores is 10 and the number of distance layers is 22, the first 1-10 distance layers correspond to 10 FFT cores in sequence, the 11-20 distance layers correspond to these 10 FFT cores in sequence, and the 21-22 distance layers correspond to the first 2 FFT cores in sequence.

[0046] S102, receiving an echo signal returned by at least one distance layer, and when the FFT core corresponding to the distance layer is in an idle state, processing the echo signal through the FFT core corresponding to the distance layer to obtain spectrum data corresponding to the echo signal.

[0047] In this embodiment, the echo signals returned by multiple distance layers are processed by the FFT core in a time-division multiplexing manner. Specifically, when the current echo signals returned by each distance layer in the current distance layer subsequence are received, each current echo signal is calculated by the FFT core corresponding to each distance layer to obtain the current spectrum data corresponding to each current echo signal, and each distance layer in the current distance layer subsequence corresponds to one FFT core; when the next echo signals returned by each distance layer in the next distance layer subsequence of the current distance layer subsequence are received, each FFT core is reused, each next echo signal is calculated by each FFT core to obtain the next spectrum data corresponding to each next echo signal; the next distance layer subsequence is used as the new current distance layer subsequence, and the step of multiplexing each FFT core is re-executed when the next echo signals returned by each distance layer in the next distance layer subsequence of the current distance layer subsequence is received.

[0048] Continuing with the above description, the acquisition system receives the echo signal returned by at least one distance layer, and when the FFT core corresponding to the distance layer is in an idle state, the echo signal is processed by the FFT core corresponding to the distance layer to obtain the spectrum data corresponding to the echo signal. Specifically, the echo signal returned by a distance layer is received, and when the FFT core corresponding to the distance layer is in an idle state, the echo signal is processed by the FFT core to obtain the spectrum data corresponding to the echo signal; then the echo signal of another distance layer corresponding to the FFT core is received, and the FFT core is used to process it, and so on.

[0049] For example, Figure 3 This is an example diagram of a laser wind radar signal processing method provided in Embodiment 1 of the present invention, such as Figure 3 As shown in the figure, it is assumed that the laser wind radar needs to detect M distance layers, namely distance 1, distance 2, distance 3, etc.; the FPGA includes M / 2 FFT cores, namely FFT 1, FFT 2, FFT 3, etc. The M distance layers are divided into two parts by cyclic multiplexing. The data of the first M / 2 distance layers are calculated in sequence using the FFT core, and the data of the last M / 2 distance layers are calculated in sequence starting from FFT 1. From the design logic, distance layer 1 and distance layer 2 can also be calculated by FFT 1, and the data of distance layer 3 and distance layer 4 can be calculated by FFT 2, and so on. However, with this design logic, when the difference between the current and the next distance layers is very small, there is a waiting time. For example, if distance layer 1 is 40m and distance layer 2 is 41m, the time to collect the data is almost the same. When FFT 1 is calculating the data of distance layer 1, the data of distance layer 2 must wait. However, through Figure 3 The patrol mode shown does not require any waiting.

[0050] It should be noted that, in order to reduce costs, the FPGA resources used have a small margin, among which the FFT core is the most scarce. According to the original software design, when the distance layer continues to increase, it is bound to face insufficient resources, and it is necessary to reselect and change the board, which not only increases the cost, but also consumes a lot of development time. In this embodiment, by modifying the processing logic and adopting a circular multiplexing method, the consumption of FFT cores is greatly reduced. At the same time, the framework design is optimized to facilitate further expansion in the future. For the laser wind radar product itself, there is no need to make related changes to hardware, raw materials, etc., reducing unnecessary development time and verification costs.

[0051] The above technical solution, when the number of FFT cores is less than the number of distance layers, allocates a corresponding FFT core to each distance layer, so that one FFT core is responsible for processing the echo signals returned by multiple distance layers. A time-division multiplexing cycle is adopted to utilize the FFT core to process multiple distance layer data without modifying the FFT core configuration, thereby ensuring the calculation rate and not increasing the complexity of the FFT core-related processing logic, thereby greatly reducing the consumption of the FFT core.

[0052] As an optional embodiment of the embodiment of the present invention, based on the above embodiment, the method can be optimized to also include: if the FFT core is processing the echo signal, marking the FFT core as a non-idle state; if the FFT core has completed processing the echo signal, marking the FFT core as an idle state.

[0053] In this embodiment, if the FFT core is processing the echo signal, it is considered that the FFT is in a non-idle state, and the FFT core is marked as a non-idle state. If the FFT core has completed processing the echo signal, it is considered that the FFT core is in an idle state, and the FFT core is marked as an idle state. At this time, the FFT core can process the echo signal returned by the next range layer.

[0054] The above technical solution adds a step of marking the FFT core as being in an idle state or a non-idle state, which provides a basis for whether the subsequent FFT core processes the data of the next distance layer.

[0055] As an optional embodiment of the present invention, based on the above embodiment, after obtaining the spectrum data corresponding to the echo signal, it can be optimized to further include: selecting the corresponding storage unit in the FPGA chip in turn to store each spectrum data in a ping-pong manner.

[0056] Among them, the number of storage units is equal to the number of distance layers, and each distance layer detected by the laser wind radar corresponds to each storage unit one by one. In this embodiment, the FPGA includes a storage unit (i.e., RAM) for caching data after FFT core processing. Compared with the existing solution, in this embodiment, the storage unit needs to be increased. It can be considered that the storage unit resources in the FPGA have sufficient margin and will not affect the overall design. After processing the echo signal returned by each distance layer, a set of spectrum data is obtained, and each distance layer corresponds to a storage unit, and the spectrum data corresponding to the distance layer is cached in its corresponding storage unit.

[0057] It should be noted that, since the laser pulses generated by the laser wind radar are emitted in real time, each time a laser pulse is emitted, the echo signals returned from each distance layer need to be processed. For each storage unit, after each laser pulse is emitted, the storage unit will cache the spectrum data corresponding to the echo signal returned from the corresponding distance layer. The spectrum data calculated will be continuously accumulated in each storage unit. Since there is one FFT core responsible for processing the data of at least two distance layers, each distance layer corresponds to a storage unit. Therefore, after each FFT core processes the echo signal returned from a distance layer, it will use a ping-pong method to select and write the processed spectrum data into the corresponding storage unit. For example, assuming that FFT core 1 is responsible for the echo signal processing of distance layer 1 and distance layer 10, distance layer 1 corresponds to RAM 1, and distance layer 10 corresponds to RAM 10. When FFT core 1 receives the echo signal of distance layer 1, it processes the echo signal of distance layer 1 to obtain the spectrum data and caches it in RAM 1. When the FFT core 1 receives the echo signal of the distance layer 10 , it processes the echo signal of the distance layer 10 to obtain spectrum data and caches it in the RAM 10 .

[0058] For example, continue to refer to Figure 3 ,When the number of distance layers M increases, the cache RAM needs to be increased, including RAM ,1, RAM 2, RAM 3, etc. The RAM is selected in turn by ,ping-pong method, and the spectrum data obtained from the ,processing of distance layer 1 is cached in RAM 1, the spectrum data obtained from the ,processing of distance layer 2 is cached in RAM 2, and the spectrum data obtained from the ,processing of distance layer M is cached in RAM M. They are not listed one by one here.

[0059] The above technical solution specifies the step of caching the spectrum data obtained by FFT core processing into a storage unit, thereby providing a basis for determining the subsequent wind measurement results.

[0060] As an optional embodiment of the embodiment of the present invention, based on the above embodiment, it can be optimized that after storing the spectrum data, the method further includes: accumulating the spectrum data in each storage unit and performing secondary processing on the accumulated spectrum data to obtain a wind measurement result.

[0061] In this embodiment, after the laser wind measurement radar emits a laser pulse, the acquisition system receives the echo signal returned by the aerosol in real time. The echo signals returned at different distances are calculated by their respective FFT cores (including their related calculation and processing logic), and each calculation result is placed in the corresponding RAM. Each time a laser pulse is emitted, the processing is performed once, and the calculated spectrum is continuously accumulated in the RAM, and finally the accumulated spectrum of M distances is obtained. The spectrum is then processed for a second time to obtain the wind measurement result.

[0062] The above technical solution specifies the steps for determining the wind measurement results.

[0063] Embodiment 2

[0064] Figure 4 A flow chart of another laser wind measuring radar signal processing method provided for Embodiment 2 of the present invention. This embodiment is a further optimization of the above embodiment. In this embodiment, “determining the FFT core corresponding to each distance layer according to the number of fast Fourier transform FFT cores contained in the field programmable gate array FPGA chip and the number of distance layers detected by the laser wind measuring radar” is further limited and optimized, and “receiving an echo signal returned from at least one of the distance layers, and when the FFT core corresponding to the distance layer is in an idle state, processing the echo signal through the FFT core corresponding to the distance layer to obtain frequency spectrum data corresponding to the echo signal” is further limited and optimized.

[0065] like Figure 4 As shown, this embodiment 2 provides a laser wind radar signal processing method, which specifically includes the following steps:

[0066] S201. Arrange each distance layer from near to far according to the distance from the laser wind radar to obtain a distance layer queue.

[0067] In this embodiment, each distance layer detected by the laser wind radar is arranged from near to far according to the distance from the laser wind radar, so as to obtain a queue arranged according to the distance, which is recorded as the distance layer queue. For example, assuming that the distance layers detected by the laser wind radar include distance layer 1, distance layer 2, etc., each distance layer is arranged from near to far according to the distance, and the distance layer queue obtained is: distance layer 1, distance layer 2, distance layer 3, ..., distance layer M.

[0068] S202: Using the number of FFT cores as a basis for division, the distance layer queue is divided in order to obtain at least two distance layer sub-queues.

[0069] Among them, the number of FFT cores is less than the number of distance layers. The queues obtained after the distance layer queue is divided are recorded as distance layer sub-queues. In this embodiment, the distance layer queue is divided based on the number of FFT cores contained in the FPGA, and the number of FFT cores is used as the number of distance layers that each distance layer sub-queue should contain. After determining the number of distance layers that each distance layer sub-queue should contain, the distance layer queue can be divided into several distance layer sub-queues in order based on the number. The distance layers contained in each distance layer sub-queue are different from each other. Continuing with the above example, the distance layer queues are: distance layer 1, distance layer 2, distance layer 3, ..., distance layer M, and the number of FFT cores contained in the FPGA is M / 2, then the distance layer queue is divided into two distance layer sub-queues, one distance layer sub-queue is represented as: distance layer 1, distance layer 2, ..., distance layer M / 2, and the other distance layer sub-queue is represented as: distance layer M / 2+1, M / 2+2, ..., distance layer M.

[0070] S203 , allocating an FFT core to each distance layer in each distance layer sub-queue according to an allocation strategy in which the same arrangement order corresponds to the same FFT core and different arrangement orders correspond to different FFT cores.

[0071] It can be understood that for each distance layer subqueue, the distance layers contained in the distance layer subqueue are also arranged from near to far, and each distance layer has an arrangement rank in the subqueue. For different distance layer subqueues, the same FFT core is assigned to the distance layers with the same arrangement rank, and different FFT cores are assigned to the distance layers with different arrangement rank. Thus, an FFT core is assigned to each distance layer in each distance layer subqueue. One FFT core is responsible for the data of at least two distance layers.

[0072] Continuing with the above example, the number of FFT cores included in the FPGA is M / 2, one distance layer sub-queue is represented as: distance layer 1, distance layer 2, ..., distance layer M / 2, and another distance layer sub-queue is represented as: distance layer M / 2+1, M / 2+2, ..., distance layer M. Then, FFT 1 can be allocated to distance layer 1 and distance layer M / 2+1, FFT 2 can be allocated to distance layer 2 and M / 2+2, ..., distance layer M / 2 and distance layer M can be allocated FFT M / 2.

[0073] S204, receiving the current echo signal returned by the current distance layer, and when the FFT core corresponding to the current distance layer is in an idle state, processing the current echo signal through the FFT core to obtain spectrum data corresponding to the current echo signal.

[0074] In this embodiment, there are at least two distance layers corresponding to the same FFT core. If an echo signal returned by one of the distance layers is received at the current moment, the distance layer is recorded as the current distance layer, and the received echo signal is recorded as the current echo signal. Specifically, the current echo signal returned by the current distance layer is received, and when the FFT core corresponding to the current distance layer is in an idle state, the current echo signal is processed by the FFT core to obtain the spectrum data corresponding to the current echo signal.

[0075] S205: Take another distance layer other than the current distance layer corresponding to the FFT kernel as a new current distance layer, and return to re-execute the step of receiving the current echo signal returned by the current distance layer.

[0076] In this embodiment, another distance layer other than the current distance layer corresponding to the FFT core is used as the new current distance layer, and the step of receiving the current echo signal returned by the current distance layer is returned and re-executed, so as to reuse the FFT core, and the current echo signal returned by the new current distance layer is processed by the FFT core. It should be noted that in this embodiment, for each laser pulse emitted, one FFT core corresponds to two or more distance layers, and the data of the distance layer with a short distance needs to be processed. When the data of the next distance layer with a long distance is received, the FFT core has completed the processing of the previous data, and the data of the next distance layer with a long distance can be processed. If after this, there is data of a distance layer with a longer distance returned to the FFT core for processing, the FFT core will process the newly received data after processing the previous data, and so on. Since the laser pulse is continuously emitted, the FFT core will continue to process the echo signal returned by the next emitted laser pulse after processing the echo signal returned by the laser pulse emitted once.

[0077] Exemplarily, if three distance layers correspond to the same FFT kernel, the two distance layers are respectively recorded as the first distance layer and the second distance layer, and the corresponding FFT kernel is recorded as the first FFT kernel; the process of processing the echo signals returned by the two distance layers based on the first FFT kernel can be described as: receiving the first echo signal returned by the current distance layer, and when the first FFT kernel is in an idle state, processing the first echo signal through the first FFT kernel to obtain the frequency spectrum data corresponding to the first echo signal; receiving the second echo signal returned by the second distance layer, and when the first FFT kernel completes processing the first echo signal, processing the second echo signal through the first FFT kernel to obtain the frequency spectrum data corresponding to the second echo signal.

[0078] Exemplarily, if three distance layers correspond to the same FFT kernel, the three distance layers are respectively recorded as the first distance layer, the second distance layer and the third distance layer, and the corresponding FFT kernel is recorded as the second FFT kernel; the process of processing the echo signals returned from the three distance layers based on the second FFT kernel can be described as: receiving the first echo signal returned from the first distance layer, and when the second FFT kernel is in an idle state, processing the first echo signal through the second FFT kernel to obtain the frequency spectrum data corresponding to the first echo signal; receiving the second echo signal returned from the second distance layer, and when the second FFT kernel completes processing the first echo signal, processing the second echo signal through the second FFT kernel to obtain the frequency spectrum data corresponding to the second echo signal; receiving the third echo signal returned from the third distance layer, and when the second FFT kernel completes processing the second echo signal, processing the third echo signal through the second FFT kernel to obtain the frequency spectrum data corresponding to the third echo signal.

[0079] The above technical solution specifies the steps of determining the FFT core corresponding to each distance layer and how to cyclically reuse the FFT core, assigning a corresponding FFT core to each distance layer, so that each FFT core is responsible for the data of two or more distance layers, and greatly reduces the consumption of FFT cores through time-division multiplexing, while optimizing the framework design to facilitate further expansion in the future. The calculation rate is guaranteed without increasing the complexity of the FFT core-related processing logic.

[0080] Embodiment 3

[0081] Figure 5 Schematic diagram of the structure of a laser wind radar signal processing device provided in Embodiment 3 of the present invention. The device can be applied to the case of processing laser wind radar signals. The laser wind radar signal processing device can be configured in an electronic device, such as Figure 5 As shown, the device includes: an FFT core allocation module 31 and an FFT core processing module 32; wherein,

[0082] The FFT core allocation module 31 is used to determine the FFT core corresponding to each distance layer according to the number of fast Fourier transform FFT cores contained in the field programmable logic gate array FPGA chip and the number of distance layers detected by the laser wind measurement radar, and the number of FFT cores is less than the number of distance layers;

[0083] The FFT core processing module 32 is used to receive an echo signal returned from at least one distance layer, and when the FFT core corresponding to the distance layer is in an idle state, the echo signal is processed by the FFT core corresponding to the distance layer to obtain spectrum data corresponding to the echo signal.

[0084] The above technical solution, when the number of FFT cores is less than the number of distance layers, allocates a corresponding FFT core to each distance layer, so that one FFT core is responsible for processing the echo signals returned by multiple distance layers. A time-division multiplexing cycle is adopted to utilize the FFT core to process multiple distance layer data without modifying the FFT core configuration, thereby ensuring the calculation rate and not increasing the complexity of the FFT core-related processing logic, thereby greatly reducing the consumption of the FFT core.

[0085] Optionally, the FFT core allocation module 31 is specifically used for:

[0086] Arrange each distance layer from near to far according to the distance from the laser wind radar to obtain a distance layer queue;

[0087] The distance layer queue is divided in order using the number of FFT cores as a division basis to obtain at least two distance layer sub-queues;

[0088] According to the allocation strategy that the same arrangement position corresponds to the same FFT core and different arrangement positions correspond to different FFT cores, an FFT core is allocated to each distance layer in each distance layer sub-queue.

[0089] Optionally, the device further comprises a marking module, for:

[0090] If the FFT core is processing the echo signal, the FFT core is marked as non-idle;

[0091] If the FFT core has finished processing the echo signal, the FFT core is marked as idle.

[0092] Optionally, if at least two distance levels correspond to the same FFT kernel;

[0093] The FFT core processing module 32 is specifically used for:

[0094] Receive the current echo signal returned by the current distance layer, and when the FFT core corresponding to the current distance layer is in an idle state, process the current echo signal through the FFT core to obtain the spectrum data corresponding to the current echo signal;

[0095] Another distance layer other than the current distance layer corresponding to the FFT kernel is used as a new current distance layer, and the step of receiving the current echo signal returned by the current distance layer is returned and re-executed.

[0096] Optionally, the device further includes a storage module, which is used to:

[0097] Each spectrum data is stored in the corresponding storage unit in the FPGA chip in turn using a ping-pong method. The number of storage units is equal to the number of distance layers. Each distance layer detected by the laser wind radar corresponds to each storage unit one by one.

[0098] Optionally, the device further comprises a secondary processing module, which is used for:

[0099] The frequency spectrum data in each storage unit is accumulated and the accumulated frequency spectrum data is processed twice to obtain the wind measurement result.

[0100] The laser wind radar signal processing device provided in the embodiment of the present invention can execute the laser wind radar signal processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0101] Embodiment 4

[0102] Figure 6 A schematic diagram of the structure of an electronic device provided for Embodiment 4 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0103] like Figure 6 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0104] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0105] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 performs the various methods and processes described above, such as a laser wind radar signal processing method.

[0106] In some embodiments, the laser wind radar signal processing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the laser wind radar signal processing method described above can be performed. Alternatively, in other embodiments, the processor 41 can be configured to perform the laser wind radar signal processing method in any other appropriate manner (for example, by means of firmware).

[0107] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0108] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0109] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0110] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0111] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0112] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0113] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the laser wind radar signal processing method provided in any embodiment of the present invention.

[0114] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code for the operation of the present disclosure, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0115] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0116] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A laser wind radar signal processing method, characterized in that: include: According to the number of fast Fourier transform FFT cores contained in the field programmable logic gate array FPGA chip and the number of distance layers detected by the laser wind measurement radar, the FFT core corresponding to each distance layer is determined, and the number of the FFT cores is less than the number of the distance layers; An echo signal returned by at least one of the distance layers is received, and when the FFT core corresponding to the distance layer is in an idle state, the echo signal is processed by the FFT core corresponding to the distance layer to obtain frequency spectrum data corresponding to the echo signal.

2. The method according to claim 1, characterized in that: The method of determining the FFT core corresponding to each distance layer according to the number of fast Fourier transform FFT cores contained in the field programmable gate array FPGA chip and the number of distance layers detected by the laser wind radar includes: Arrange the distance layers from the laser wind radar from near to far to obtain a distance layer queue; Taking the number of the FFT cores as a basis for division, the distance layer queue is divided in order to obtain at least two distance layer sub-queues; According to the allocation strategy that the same arrangement position corresponds to the same FFT core and different arrangement positions correspond to different FFT cores, an FFT core is allocated to each distance layer in each of the distance layer sub-queues.

3. The method according to claim 1, characterized in that Also includes: If the FFT core is processing the echo signal, the FFT core is marked as a non-idle state; If the FFT core has completed processing the echo signal, the FFT core is marked as being in an idle state.

4. The method according to claim 1, characterized in that If at least two distance layers correspond to the same FFT kernel; The receiving of the echo signal returned by at least one of the distance layers, and when the FFT core corresponding to the distance layer is in an idle state, processing the echo signal through the FFT core corresponding to the distance layer to obtain spectrum data corresponding to the echo signal, includes: Receiving a current echo signal returned by a current distance layer, and when an FFT core corresponding to the current distance layer is in an idle state, processing the current echo signal through the FFT core to obtain spectrum data corresponding to the current echo signal; Another distance layer other than the current distance layer corresponding to the FFT core is used as a new current distance layer, and the step of receiving the current echo signal returned by the current distance layer is returned and re-executed.

5. The method according to claim 1, characterized in that After obtaining the spectrum data corresponding to the echo signal, the method further includes: Each of the spectrum data is stored in a corresponding storage unit in the FPGA chip in turn using a ping-pong method, the number of the storage units is equal to the number of the distance layers, and each distance layer detected by the laser wind radar corresponds to each storage unit one by one.

6. The method according to claim 5, characterized in that After storing the spectrum data, the method further includes: The frequency spectrum data in each of the storage units is accumulated and the accumulated frequency spectrum data is processed twice to obtain a wind measurement result.

7. A laser wind radar signal processing device, characterized in that: include: An FFT core allocation module is used to determine the FFT core corresponding to each distance layer according to the number of fast Fourier transform FFT cores contained in the field programmable logic gate array FPGA chip and the number of distance layers detected by the laser wind measurement radar, and the number of the FFT cores is less than the number of the distance layers; The FFT core processing module is used to receive an echo signal returned by at least one of the distance layers, and when the FFT core corresponding to the distance layer is in an idle state, process the echo signal through the FFT core corresponding to the distance layer to obtain spectrum data corresponding to the echo signal.

8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the laser wind radar signal processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the laser wind radar signal processing method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a chip, the laser wind radar signal processing method according to any one of claims 1 to 6 is implemented.