High-precision delay scheme based on FPGA and implementation method
By implementing the 'coarse delay + fine delay' method on FPGA, combined with the Farrow fractional delay filter and parity symmetry design, the problem that traditional delay control methods are difficult to meet the accuracy and flexibility requirements of phased array systems is solved. , achieving high-precision and real-time delay control, suitable for a variety of phased array system applications.
Patent Information
- Application Number
- CN202410980427.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-25
AI Technical Summary
Traditional delay control methods are difficult to meet the delay accuracy and flexibility requirements of modern phased array systems, especially in multi-scenario applications, causing the beam to deviate from the target direction and affecting system performance and accuracy.
Adopting a high-precision delay scheme based on FPGA, through the method of 'coarse delay + fine delay', MATLAB is used to solve the Farrow fractional delay filter structure and coefficients in advance, and through the flip-flop chain, odd-even symmetry, and multi-level addition Pipeline and other designs reduce multipliers, adders and storage resources to achieve real-time multi-channel signal delay processing.
It realizes high-precision delay control of phased array systems, supports a variety of application scenarios, has flexibility and practical value, and can dynamically adjust the delay amount to meet the accuracy and real-time requirements of modern phased array systems.
Smart Images

Figure CN118842450A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of phased array beamforming technology, and specifically relates to a high-precision delay solution and implementation method based on FPGA Background Art
[0002] Phased array technology is widely used in radar, sonar, ultrasound, optical and other systems, which require strict control of the phase of the input signal to achieve accurate beamforming and target positioning. The phased array system adjusts the input phase of each element signal so that the array forms interference in a specific direction, thereby enhancing the signal reception or transmission capabilities. This phase control requires extremely high accuracy in the delay of the input signal. Any slight delay error may cause the beam to deviate from the target direction, affecting the performance and accuracy of the system.
[0003] In a phased array system, the delay control of the signal directly affects the phase control capability of the array. Therefore, designing a high-precision delay control method is crucial to ensuring the performance of the phased array system. Traditional delay control methods, such as fixed delay lines, analog delay devices, and ordinary digital delay filters, are difficult to meet the requirements of delay accuracy and flexibility in multi-scenario applications of modern phased array systems. The Farrow structure fractional delay filter, as a high-precision fractional delay device, was proposed by CW Farrow in 1988 to solve the fractional delay problem in sonar. Although the ordinary fractional delay filter has a simple structure, the coefficient calculation is complex. When the delay parameters need to change in real time, the parameter update cannot meet the real-time requirements. The present invention proposes a high-precision delay scheme and implementation method based on FPGA to meet the strict requirements of the phased array system for signal delay accuracy, which has important application value and research significance. Summary of the invention
[0004] The purpose of the present invention is to propose a high-precision delay scheme and implementation method based on FPGA. The scheme proposes to adopt the scheme of "coarse delay + fine delay" to solve the structure and coefficients of the Farrow fractional delay filter in MATLAB in advance; the fractional delay filter designed by this method can meet the application requirements of different delays in real time without recalculating the filter coefficients. At the same time, the scheme adopts methods such as trigger chain, odd-even symmetry, and multi-stage addition pipeline in design, which can reduce the number of multipliers and adders and storage resources of FPGA during implementation, especially for application scenarios that require real-time calculation of multi-channel signal delays, and has practical value.
[0005] A high-precision delay solution and implementation method based on FPGA, comprising the following steps:
[0006] Step 1: In a phased array system, the delay of signals between multiple channels is calculated according to actual engineering needs, and the delay control amount is divided into an integer N and a decimal M;
[0007] Step 2, the input waveform digital sequence is delayed by integer multiples through a coarse delay module;
[0008] Step 3: The sequence processed by integer delay in step 2 is subjected to fractional delay through a fine delay module, thereby obtaining a multi-channel delayed signal required by the phased array system.
[0009] Further explanation: the delay control amount is based on the frequency f of the input signal c , output sampling rate f s And the target delay requirement is calculated, and the integer and decimal delay points are obtained respectively, and the decimal points M are quantized to obtain the fractional delay parameter P.
[0010] To further explain, the coarse delay module is implemented by trigger beating. A trigger chain containing N triggers and forming a cascade structure is designed. The trigger chain is triggered N times to achieve a delay of N sampling clock cycles, thereby achieving N-point delay of the digital sequence. The use of trigger chain design for integer delay can reduce system storage resources.
[0011] To further illustrate, the fine delay module is implemented using a Farrow structure fractional delay filter. The specific steps are as follows:
[0012] (1) Design the Farrow filter structure and calculate the polynomial coefficients: The Farrow fractional delay filter consists of M groups of N-order FIR filters and corresponding adders and multipliers. The Farrow fractional delay filter structure is simulated using MATLAB, and the polynomial coefficients are calculated using the Lagrange interpolation method. By calculating the MSE of the Farrow filter delayed signal and the ideal delayed signal, the Farrow fractional delay filter structure and polynomial coefficients that meet the engineering application requirements are determined;
[0013] (2) Polynomial coefficient quantization: Since FPGA cannot directly process floating-point numbers, the polynomial coefficient matrix parameters H obtained in step (1) need to be quantized. First, they are normalized, then quantized into 16-bit signed integers, and finally converted into 4-bit hexadecimal strings so that these parameters can be used as coefficients of the Farrow fractional delay filter in the FPGA.
[0014] (3) FPGA logic implementation structure design: The FPGA logic implementation structure includes the following modules: data management module, sub-FIR filter modules, multiplication and accumulation module, delay parameter calculation module, downsampling module, etc. These modules work together to realize fractional delay processing of digital sequences.
[0015] To further explain, the logic implementation structure design of FPGA is as follows:
[0016] 1) Data management module: receives integer delayed data and distributes the data to each sub-FIR filter;
[0017] 2) Each sub-FIR filter module: Each sub-FIR filter is designed according to the symmetry of the calculated polynomial coefficient matrix parameter H, and the even-symmetric sub-FIR filter is designed by using the conjugate symmetry, and the odd-symmetric sub-FIR filter is designed by using the conjugate antisymmetry. According to the characteristics of the coefficient matrix parameter H, the Farrow structure is formed by alternating even filters and odd filters, which can reduce multiplier resources in implementation; multi-stage pipeline addition is used when performing accumulation operations, which can save adders and greatly improve the operation efficiency of the FIR filter;
[0018] 3) Multiplication and accumulation module: According to the output of each sub-FIR filter in the Farrow structure, multiplication operation with the delay parameter P is performed and accumulation is performed to obtain the final delayed signal;
[0019] 4) Delay P parameter calculation module: calculates the delay of the decimal part of the input signal and quantizes it into a 32-bit integer fractional delay P. According to the phase of the input signal and the target delay requirement, the value of the delay P is dynamically adjusted in real time to ensure the accurate delay of the output signal;
[0020] 5) Downsampling module: The Farrow delay filter runs at a higher system clock frequency. In order to meet the sampling rate requirements of the analog output, the delayed data is passed through the downsampling module to adjust the data sampling rate to meet the requirements of the phased array analog output.
[0021] The beneficial effects of the present invention are as follows: the present invention can support various phased array systems such as radar, sonar, ultrasound, optics, etc., complete digital delay of arbitrary delay parameters, and has a wide range of applications and strong versatility; it only needs to replace the delay parameter P, and does not need to recalculate the filter parameters to achieve arbitrary delay amounts, and has high flexibility; according to the characteristics of the Farrow filter coefficient, the odd-even symmetry design is utilized, and a multi-stage addition pipeline is adopted to save FPGA adder, multiplier and other resources, improve the FPGA calculation speed, and ensure the real-time performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0023] Figure 1 A schematic diagram of a high-precision delay solution and implementation method based on FPGA according to an embodiment of the present invention;
[0024] Figure 2 A structural block diagram of a Farrow fractional delay filter according to an embodiment of the present invention;
[0025] Figure 3 is a Farrow fractional delay filter coefficient matrix according to an embodiment of the present invention;
[0026] Figure 4 The MSE results of the ideal and actual delayed signals simulated by MATLAB in the embodiment of the present invention are as follows;
[0027] Figure 5 A block diagram of the logic implementation structure of the FPGA of the embodiment of the present invention; DETAILED DESCRIPTION
[0028] like Figure 1 A high-precision delay scheme and implementation method based on FPGA is shown, which includes two parts: "coarse delay + fine delay". The coarse delay is implemented by the trigger beat module to achieve integer delay, and the fine delay is implemented by the Farrow structure fractional delay filter to achieve fractional delay. In order to more clearly explain the delay scheme and method of the present invention, each step is described in detail below.
[0029] Step 1: In a phased array system, the delay of signals between multiple channels is calculated according to actual engineering needs, and the delay control amount is divided into an integer N and a decimal M, where N is an integer in the range of ≥ 0 and M is a decimal in the range of 0 ≤ M < 1;
[0030] Step 2, the input waveform digital sequence is delayed by integer multiples through a coarse delay module;
[0031] Step 3: The sequence processed by integer delay in step 2 is subjected to fractional delay through a fine delay module, thereby obtaining a multi-channel delayed signal required by the phased array system.
[0032] Furthermore, in step 1, the phased array system is composed of dozens or hundreds of array elements, and the output signal phase of each array element is different. The delay control amount is based on the frequency f of the input signal. c , output sampling rate f s And the target delay requirement is calculated, and the integer and decimal delay points are obtained respectively, and the decimal points M are quantized to obtain the fractional delay parameter P.
[0033] Furthermore, the coarse delay module in step 2 is implemented by trigger beating. A trigger chain including N triggers and forming a cascade structure is designed in the FPGA. The trigger chain is triggered N times to achieve a delay of N sampling clock cycles. The trigger chain structure is dynamically adjusted to achieve delay of any integer point in the digital sequence.
[0034] Furthermore, the fine delay module in step 3 is implemented using a Farrow structure fractional delay filter, and the specific steps are as follows:
[0035] (1) Design the Farrow filter structure and calculate the polynomial coefficients
[0036] like Figure 2 As shown in the figure, the Farrow fractional delay filter consists of M groups of N-order FIR filters and corresponding adders and multipliers. The Farrow fractional filter structure is simulated using MATLAB, and the polynomial coefficients are calculated using the Lagrange interpolation method. By calculating the minimum mean square error (MSE) between the delayed signal after the Farrow filter and the ideal delayed signal, the Farrow fractional delay filter structure and polynomial coefficients that meet the requirements of engineering applications are determined. Figure 3 The figure shows the ideal delay situation simulated by MATLAB and the MSE of the delay (actual) after the Farrow filter, with an error of 10 -11 Order of magnitude.
[0037] (2) Quantization of polynomial coefficients
[0038] The Farrow coefficient matrix H obtained in step (1) is as follows Figure 4 As shown in the figure, since FPGA cannot process floating point numbers directly, the obtained polynomial coefficient matrix parameters H need to be quantized. First, they are normalized, then quantized into 16-bit signed integers, and finally converted into a 4-bit hexadecimal string so that these parameters can be used as coefficients of the Farrow fractional delay filter in the FPGA. The Farrow filter delay simulation is performed using the quantized coefficients, and the error between the delay and the ideal delay is 10 -7 Order of magnitude, which meets most engineering applications.
[0039] (3) FPGA logic implementation structure design
[0040] Depend on Figure 5 As shown, the logic implementation structure of FPGA includes the following modules: data management module, sub-FIR filter modules, multiplication and accumulation module, delay parameter calculation module, downsampling module, etc. Through the collaborative work of these modules, fractional delay processing of digital sequences is realized.
[0041] Furthermore, the logic implementation structure design of FPGA is as follows:
[0042] 1) Data management module: receives integer delayed data and distributes the data to each sub-FIR filter;
[0043] 2) Each sub-FIR filter module: Each sub-FIR filter is designed according to the symmetry of the calculated polynomial coefficient matrix parameter H, Figure 4 It can be seen that the filter coefficients are symmetrical. The even-symmetric sub-FIR filter is designed using conjugate symmetry, and the odd-symmetric sub-FIR filter is designed using conjugate antisymmetry. According to the characteristics of the coefficient matrix parameter H, the Farrow structure is formed according to the rule of alternating even filters and odd filters.
[0044] The sub-FIR filter design is implemented by delay unit, conjugate addition (subtraction), tap multiplication, and multi-stage pipeline addition. Multi-stage pipeline addition is used when performing accumulation operations to improve the operational efficiency of the FIR filter; the output of each sub-FIR filter is multiplied by the delay amount P and then added to the next-stage FIR sub-filter to realize the Farrow filter structure;
[0045] 3) Multiplication and accumulation module: According to the output of each sub-FIR filter in the Farrow structure, multiplication operation with the delay parameter P is performed and accumulation is performed to obtain the final delayed signal;
[0046] 4) Delay P parameter calculation module: calculates the delay of the decimal part of the input signal and quantizes it into a 32-bit integer fractional delay P. According to the phase of the input signal and the target delay requirement, the value of the delay P is dynamically adjusted in real time to ensure the accurate delay of the output signal;
[0047] 5) Downsampling module: The Farrow delay filter runs at a higher system clock frequency. In order to meet the sampling rate requirements of the analog output, the delayed data is passed through the downsampling module to adjust the data sampling rate to meet the requirements of the phased array analog output.
Claims
1. A high-precision delay solution and implementation method based on FPGA, characterized in that: The following steps are involved: Step 1: In a phased array system, the delay of signals between multiple channels is calculated according to actual engineering needs, and the delay control amount is divided into an integer N and a decimal M; Step 2, the input waveform digital sequence is delayed by integer multiples through a coarse delay module; Step 3: The sequence processed by integer delay in step 2 is subjected to fractional delay through a fine delay module, thereby obtaining a multi-channel delayed signal required by the phased array system.
2. The high-precision delay solution and implementation method based on FPGA according to claim 1 is characterized in that: The delay control amount described in step 1 is calculated according to the frequency fc of the input signal, the output sampling rate fs and the target delay requirement, and the integer and decimal delay points are obtained respectively, and the decimal point M is quantized to obtain the fractional delay parameter P.
3. The high-precision delay solution and implementation method based on FPGA according to claim 1 is characterized in that: The coarse delay module described in step 2 is implemented by trigger beating. A trigger chain including N triggers and forming a cascade structure is designed. The trigger chain is triggered N times to achieve a delay of N sampling clock cycles, thereby achieving an N-point delay of the digital sequence.
4. The high-precision delay solution and implementation method based on FPGA according to claim 1, characterized in that: The fine delay module described in step 3 is implemented using a Farrow structure fractional delay filter, and the specific steps are as follows: (1) Design the Farrow filter structure and calculate the polynomial coefficients: The Farrow fractional delay filter consists of M groups of N-order FIR filters and corresponding adders and multipliers. The Farrow fractional delay filter structure is simulated using MATLAB, and the polynomial coefficients are calculated using the Lagrange interpolation method. The minimum mean square error (MSE) between the delayed signal after the Farrow filter and the ideal delayed signal is calculated to determine the Farrow fractional delay filter structure and polynomial coefficients that meet the requirements of engineering applications. (2) Polynomial coefficient quantization: Since FPGA cannot directly process floating-point numbers, the polynomial coefficient matrix parameters H obtained in step (1) need to be quantized. First, they are normalized, then quantized into 16-bit signed integers, and finally converted into 4-bit hexadecimal strings so that these parameters can be used as coefficients of the Farrow fractional delay filter in the FPGA. (3) FPGA logic implementation structure design: The FPGA logic implementation structure includes the following modules: data management module, sub-FIR filter modules, multiplication and accumulation module, delay parameter calculation module, downsampling module, etc. These modules work together to realize fractional delay processing of digital sequences.
5. The high-precision delay solution and implementation method based on FPGA according to claim 4 is characterized in that: The logic implementation structure design of the FPGA is specifically as follows: 1) Data management module: receives integer delayed data and distributes the data to each sub-FIR filter; 2) Each sub-FIR filter module: Each sub-FIR filter is designed according to the symmetry of the calculated polynomial coefficient matrix parameter H, and the even-symmetric sub-FIR filter is designed by using the conjugate symmetry, and the odd-symmetric sub-FIR filter is designed by using the conjugate antisymmetry. According to the characteristics of the coefficient matrix parameter H, the Farrow structure is formed by alternating even filters and odd filters; multi-stage pipeline addition is used when performing accumulation operations to improve the operational efficiency of the FIR filter; 3) Multiplication and accumulation module: According to the output of each sub-FIR filter in the Farrow structure, multiplication operation with the delay parameter P is performed and accumulation is performed to obtain the final delayed signal; 4) Delay P parameter calculation module: calculates the delay of the decimal part of the input signal and quantizes it into a 32-bit integer fractional delay P. According to the phase of the input signal and the target delay requirement, the value of the delay P is dynamically adjusted in real time to ensure the accurate delay of the output signal; 5) Downsampling module: The Farrow delay filter runs at a higher system clock frequency. In order to meet the sampling rate requirements of the analog output, the delayed data is passed through the downsampling module to adjust the data sampling rate to meet the requirements of the phased array analog output.
Citation Information
Cited By
Self-adaptive anti-interference forwarding type navigation signal generation method and system
CN122110155A
