An underwater three-dimensional acoustic imaging method and system based on a heterogeneous system on chip
By using a heterogeneous SoC design with a heterogeneous system-on-a-chip, FFT and 2D-FFT resources are reused, solving the problems of low computing resource utilization and high power consumption in underwater 3D acoustic imaging systems. This improves the system's integration and computing efficiency, making it suitable for high-resolution imaging on embedded platforms.
Patent Information
- Application Number
- CN202510682905.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2026-11-27
AI Technical Summary
Existing underwater 3D acoustic imaging systems suffer from low computational resource utilization, complex data scheduling, high power consumption, and poor integration, making it difficult to meet the requirements for high-resolution real-time imaging.
A heterogeneous SoC-based approach is adopted, which utilizes the programmable logic terminal to realize a unified computing architecture for FFT and 2D-FFT resource reuse. The core algorithm is accelerated through the PL terminal of the heterogeneous SoC, and the algorithm is uniformly scheduled by the processing system terminal to achieve efficient collaborative acceleration.
It significantly reduces system complexity and resource consumption, improves hardware resource utilization, reduces power consumption, and enhances system integration and computing efficiency, making it suitable for real-time high-resolution underwater 3D acoustic imaging on small platforms.
Smart Images

Figure CN123176783A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of underwater acoustic imaging, and in particular, to an underwater three-dimensional acoustic imaging method and system based on an ARM+FPGA heterogeneous System on Chip (SoC). Background Art
[0002] In the process of water resource development and environmental monitoring, acquiring high-quality underwater environmental information is a key link for achieving accurate decision-making. As one of the core means for obtaining underwater information, three-dimensional acoustic imaging technology plays an important role in fields such as underwater resource exploration, ecological protection, and target recognition. Due to the complexity of underwater propagation media, traditional radio waves and light waves attenuate rapidly and have short propagation distances in water, which limits their application in underwater imaging. In contrast, sound waves have advantages such as long propagation distance, low attenuation, and strong penetrability in water, making them the main means for underwater imaging. By emitting sound waves and receiving their reflected echoes, combined with specific signal processing algorithms, efficient acquisition of underwater target positions, shapes, and environmental details can be achieved.
[0003] Underwater three-dimensional acoustic imaging systems usually use a transmitting transducer to emit acoustic pulses to illuminate the entire underwater imaging area, receive target echoes from the underwater area through a two-dimensional transducer array, and perform beamforming (two-dimensional beamforming) in two mutually perpendicular angular directions to obtain three-dimensional acoustic imaging results. The current development of three-dimensional acoustic imaging technology faces two core challenges: first, the receiving array is a two-dimensional planar array with a huge number of array element channels, resulting in a large amount of data to be received and processed; second, the imaging algorithm is complex, especially the high-resolution two-dimensional beamforming algorithm, which involves a large number of compute-intensive processing and has a very large computational load. Since the basic Delay and Sum (D&S) beamforming has an excessively large computational load, it is generally implemented in the frequency domain, and the expression of its frequency-domain two-dimensional beamforming is:
[0004]
[0005] where m is the array element channel number, M0 is the number of array element channels (1≤m<M0), S m (k) is the frequency spectrum coefficient corresponding to the time-domain signal s m (t), f k =f s ×k / K, f s is the sampling frequency, k is the frequency number (0≤k<K-1), K is the FFT length; p, q are two-dimensional beam numbers M b , N b are the number of two-dimensional beams, and usually the two take the same value. τ(r0,m,θ ap , θ eq) represents the time delay corresponding to beam (p,q).
[0006] Equation (1) above is called the frequency domain direct method. It transforms the time-domain delay operation into a multiplication with the phase factor through phase-shifting superposition calculation in the frequency domain, thereby avoiding the time-domain convolution operation involved in calculating the time-delay signal, simplifying the calculation process. At the same time, it only needs to be processed at the frequency points within the channel, which significantly reduces the computational load compared to the D&S method. Finally, performing an IFFT on the calculation result of equation (1) yields b(r0,t,θ). ap ,θ eq For a certain time t0, b(r0,t0,θ) ap ,θ ep ) represents in (θ ap ,θ ep The sound field intensity at a distance of r0+ct0 / 2 in the direction can be used to obtain a three-dimensional spatial image of the target.
[0007] Due to the large operating distance and high sampling rate, the value of K in equation (1) is usually very large, reaching hundreds of k. Therefore, it involves the problem of implementing large-point FFT. For high-resolution three-dimensional acoustic imaging, M b ×N b The numerical values are enormous, reaching the tens of kilobytes. Although the frequency domain direct method reduces the computational cost compared to the D&S method, it still consumes enormous computational resources for high-resolution imaging algorithms, failing to meet real-time requirements and leading to the development of some acceleration algorithms. Existing two-dimensional beamforming algorithms mainly include the Chirp-Z transform method for uniform grid arrays and the non-uniform fast Fourier transform (NUFFT) method for arbitrary arrays.
[0008] The two-dimensional beamforming method based on Chirp-Z transform first converts all array time-domain received signals to the frequency domain, which involves calculating a large number of points using Fast Fourier Transform (FFT). Then, at each frequency point in the frequency domain, the calculation formula for the two-dimensional beam is converted into a two-dimensional inverse fast Fourier transform (2D-IFFT) algorithm (which is implemented exactly the same as 2D-FFT, hereinafter referred to as 2D-FFT) for rapid implementation, thus involving a large amount of 2D-FFT calculation. Similarly, the two-dimensional beamforming method based on NUFFT also first performs a fast Fourier transform on all array received signals, and then converts the two-dimensional beamforming calculation formula into an adjoint operation algorithm of two-dimensional non-uniform discrete Fourier transform (2D-NUDFT) at each frequency point in the frequency domain for calculation. In specific implementation, the NUDFT at two-dimensional non-uniform points can be converted into a discrete inverse Fourier transform (2D-IDFT) at two-dimensional uniform grid points through linear interpolation, thereby utilizing the two-dimensional fast inverse Fourier transform (2D-IFFT) algorithm for implementation. Therefore, both beamforming algorithms involve the calculation of large-point-count FFTs and a large number of 2D-FFTs. Taking the NUFFT beamforming method as an example, the frequency domain beamforming algorithm of equation (1) can be transformed into the following transformation after a series of rewrites by uniformly discretizing the two-dimensional beam angle:
[0009]
[0010] Among them, w m For channel weight coefficients, (ω) am ,ω em S′ represents a two-dimensional non-uniform grid point obtained by discretizing the coordinates of two-dimensional array elements through beam angle mapping. m (k) represents the weighted spectral coefficients at non-uniform grid points.
[0011] S′ m (k)=w′ m S m (k) (3)
[0012]
[0013]
[0014] Among them, (x m ,y m Let B(r0,k,θ) be the coordinates of the array element. ap ,θ ep ) represents the value at the beam angle in a two-dimensional uniformly discretized beam.
[0015] Equation (2) above has the same form as Equation (8) of the two-dimensional discrete non-uniform Fourier transform (2D-NUDFT).
[0016]
[0017] Where, (ω 1m ,ω 2m X(ω) is a point on a non-uniform grid in the transform domain. 1m ,ω 2m ) represents the value at a non-uniform grid point. For the sample points on the two-dimensional uniform grid in the inverse transform domain, if k1,k2 (-K1 / 2≤k1≤K1 / 2-1, -K2 / 2≤k2≤K2 / 2-1) in equation (2) are corresponding to p,q, then the calculation of equation (2) can be achieved by the 2D-NUDFT calculation of equation (8). Regarding the frequency domain two-dimensional beamforming transform equation (2), the array element coordinate mapping yields (ω... am ,ω em The transform domain corresponding to a non-uniform mesh, S′ m (k) represents the transform coefficients in the transform domain, and the frequency domain beamforming result is B(r0,k,θ). ap ,θ eq The inverse transform domain corresponding to a uniform grid.
[0018] The 2D-NUDFT of equation (8) can be calculated by adjusting X(ω) 1m ,ω 2m The interpolation oversampling operation maps to uniform grid points in the transform domain and is implemented using the two-dimensional inverse fast Fourier transform (2D-IFFT). The specific implementation algorithm is as follows:
[0019]
[0020] in, X(ω) 1m ,ω 2m The result of oversampling interpolation onto a uniform grid of size K1. ′ ×K2 ′ Oversampling factor σ = K1 ′ / K1=K2 ′ / K2, the interpolation operation can be represented as:
[0021]
[0022] Where v is the interpolation coefficient, which can be obtained by the minimax criterion proposed by Fessler and Sutton.
[0023] Clearly, equation (9) can be rapidly computed using 2D-IFFT. Results for The approximate value is obtained by interpolating the coefficients. When the interpolation coefficients satisfy the minimum-maximum criterion proposed by Fessler and Sutton, the error between the two can be ignored. Since the calculation of (9) needs to be completed at all frequency points, a large number of 2D-FFT calculations are required.
[0024] In summary, while the traditional time-domain delay stacking method is intuitive in underwater 3D acoustic imaging systems, its high computational complexity makes it difficult to meet the real-time requirements of large-scale array elements and high-resolution imaging. To improve system efficiency, fast beamforming algorithms based on Chirp-Z transform or NUFFT have become important approaches. These algorithms are developed from direct frequency-domain methods. NUFFT-based beamforming algorithms, in particular, have gained wider application due to their adaptability to arbitrary array configurations. The algorithm first performs a Fourier transform on the echo signal, mapping the echo data of each channel to the frequency domain. Beamforming calculations are then performed at each frequency point. Specifically, the two-dimensional beam space is discretized into uniform grid points, and correspondingly, the positions of different array elements are mapped to two-dimensional non-uniform grid points. Then, through oversampling interpolation, the spectral values on the non-uniform grid are mapped to the oversampled two-dimensional uniform grid points. Finally, 2D-IFFT is used to achieve coherent superposition of the frequency domain of all array elements on all beams, obtaining the two-dimensional beamforming result at each frequency point. The entire process is the adjoint operation of NUFFT, which is essentially an efficient frequency domain beamforming strategy.
[0025] Currently, the most common solutions for 3D acoustic imaging systems are general-purpose platforms based on a central processing unit (CPU) or heterogeneous platforms combining a CPU and a graphics processing unit (GPU). However, these solutions suffer from high resource consumption, high power consumption, and large size, and their optimization capabilities for specific signal processing tasks are limited, making them unsuitable for deployment on mobile or resource-constrained platforms. However, with the development of System-on-Chip (SoC) technology, platforms integrating processors and programmable logic resources (such as ZYNQ) offer a new solution. ZYNQ is a heterogeneous SoC chip launched by Xilinx (now AMD) that integrates an ARM processor (Processing System, PS) and FPGA programmable logic (PL). Its core feature is the tight integration of the two through an efficient interconnect architecture, balancing the flexibility of the processor with the high-performance computing capabilities of the FPGA. It can simultaneously achieve high-speed data processing and flexible system control, and boasts advantages such as low power consumption, small size, and reconfigurability, making it suitable for deployment of complex computing tasks on embedded platforms. Especially in terms of hardware acceleration of FFT and NUFFT-like algorithms, the ZYNQ platform can significantly improve computing efficiency through parallel computing resources on the PL side; at the same time, by using the PS side processor to complete interpolation, control and parameter configuration tasks, it can achieve high system integration and low latency operation.
[0026] However, when designing and implementing 3D acoustic imaging systems based on ZYNQ, especially when accelerating large-point FFT and 2D-FFT calculations at the PL end, implementing them as independent modules leads to resource waste, lengthy computation paths, and low calling efficiency. How to achieve resource reuse for both algorithms within a unified hardware architecture, thereby improving overall system performance, is a pressing technical challenge. Summary of the Invention
[0027] The purpose of this invention is to address the technical problems of low resource utilization, complex data scheduling, high power consumption, and poor integration in existing underwater acoustic imaging systems for two-dimensional beamforming computation. It proposes an underwater three-dimensional acoustic imaging method and system based on a heterogeneous SoC (System-on-a-Chip). The core algorithm is hardware-accelerated using the programmable logic (PL) side of the heterogeneous SoC, and the algorithm is uniformly scheduled using its processing system (PS). A unified computing architecture and scheduling mechanism that reuses large-point FFT and 2D-FFT resources is adopted to achieve efficient collaborative acceleration of different computing modes, improve system integration and computational efficiency, and reduce hardware resource consumption and system power consumption.
[0028] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0029] An underwater three-dimensional acoustic imaging method based on heterogeneous on-chip systems includes the following steps:
[0030] 1) Acquire time-domain analog echo signals received by an underwater multi-channel sensor array, and obtain multi-channel digital time-domain sampling data after analog-to-digital conversion;
[0031] 2) The multi-channel digital time-domain sampling data is transmitted to the programmable logic terminal in the heterogeneous on-chip system computing platform, and Fast Fourier Transform (FFT) processing is performed to obtain frequency domain data;
[0032] 3) Continue to perform frequency domain two-dimensional beamforming calculations in all beam directions at the programmable logic end, and complete the weighted phase-shifted superposition of the spectrum of all array element channels to obtain the frequency domain two-dimensional beamforming results;
[0033] 4) Continue on the programmable logic side, based on the frequency domain two-dimensional beamforming results, perform fast inverse Fourier transform (IFFT) processing on all beams to generate time domain two-dimensional beammap data;
[0034] 5) At the processing system end, the time-domain two-dimensional beammap data is post-processed to generate three-dimensional acoustic image data of the underwater target.
[0035] Furthermore, the FFT processing in step 2) is divided into two-stage FFT, and the specific steps include:
[0036] a) Pad the number of sample points for each array element channel to a minimum power of 2 that is not less than the original number of sample points by adding zeros to the end;
[0037] b) Resample the original signal to form N (N≥2) sequences of M (M≥2) points, and perform the first-level FFT calculation on each sequence.
[0038] c) Multiply the results of the first-level FFT by their respective rotation factors to form M N-point sequences, and then perform the second-level FFT calculation.
[0039] d) Reorder the results of the second-level FFT to obtain the FFT results for the current channel;
[0040] For all array element channel signals, perform steps a) to d) to obtain the spectrum of all channels.
[0041] Further, in step 3), a beamforming algorithm based on two-dimensional non-uniform fast Fourier transform (2D-NUFFT) is used to calculate the frequency domain two-dimensional beamforming result. The specific steps include:
[0042] a) Discretize the two-dimensional beam space into M b N b (M b ≥2,N b ≥2) two-dimensional uniform grid points;
[0043] b) Map the element coordinates at each frequency point to a two-dimensional non-uniform grid (ω). am ,ω em );
[0044] c) Oversampling interpolation is used, with an oversampling rate of σ (σ being an integer greater than 1), to interpolate the coordinates of the array elements to the corresponding two-dimensional non-uniform grid points (ω). am ,ω em The spectrum of ) is mapped to the oversampled (σM) b ,σN b On ) two-dimensional uniform grid points;
[0045] d) Using two-dimensional fast inverse Fourier transform (2D-IFFT), the phase-shifted superposition calculation of the spectrum of all array elements on all beams after oversampling interpolation in step c) is completed to obtain the two-dimensional beamforming result at the current frequency point;
[0046] e) Perform steps b) to d) on all frequencies to obtain beamforming results on all frequencies.
[0047] Furthermore, the 2D-IFFT in step d) includes the following steps:
[0048] The first step is to complete the first dimension N. b M b Point IFFT calculation;
[0049] The second step is to complete the M step on the IFFT calculation results from the first step. b N b Point IFFT calculation;
[0050] The IFFT calculation results from the second step are truncated to obtain the current frequency point (M). b N b ( ) beamforming results.
[0051] Furthermore, the IFFT processing in step 4) is divided into two levels of IFFT, and the specific steps include:
[0052] a) Resample each frequency domain beam data to form a sequence of I*J (I≤N,J≤M);
[0053] b) Perform a first-level IFFT calculation with I J points on the I*J sequence;
[0054] c) Multiply the results of the first-level IFFT by their respective rotation factors, and perform a second-level IFFT calculation for J I points;
[0055] d) Reorder the calculation results of the second-level IFFT and take the envelope to obtain the current frequency domain beam time domain pattern;
[0056] e) Perform steps a) to d) on all two-dimensional frequency domain beams to obtain the time domain pattern of all frequency domain beams, which is the three-dimensional acoustic point cloud data.
[0057] An underwater three-dimensional acoustic imaging system based on a heterogeneous on-chip system includes:
[0058] The signal transmitting and receiving module is used to transmit acoustic signals and receive reflected echo signals from targets in an underwater environment.
[0059] The data acquisition and transmission module is used to sample the received multi-channel echo signals and transmit the sampled data to the signal processing module;
[0060] The signal processing module includes an algorithm acceleration module deployed on the programmable logic side of the heterogeneous on-chip system and a software implementation module running on its processing system side, wherein:
[0061] The algorithm acceleration module is used to perform Fast Fourier Transform (FFT) of all time-domain signals, oversampling interpolation processing of non-uniform grid data, two-dimensional inverse fast Fourier transform (2D-IFFT), and inverse Fourier transform (IFFT) of all frequency-domain beams, thereby accelerating the processing of the two-dimensional beamforming algorithm based on the non-uniform fast Fourier transform (NUFFT) method.
[0062] The software implementation module is used to call the processing results of the algorithm acceleration module, perform parameter reading and data storage of the storage device, perform system parameter control, perform data migration with the programmable logic terminal, and output the beamforming results.
[0063] Furthermore, the signal transmitting and receiving module specifically includes a waveform generator, a power amplifier, a transmitting transducer, a receiving transducer array, and a multi-channel receiving amplifier. The waveform generator is used to generate an excitation signal, the power amplifier is used to amplify the excitation signal, the transmitting transducer is used to transmit an acoustic signal to the underwater medium, the receiving transducer array is used to receive the target echo signal, and the receiving amplifier is used to amplify the received signal through multiple channels.
[0064] Furthermore, the data acquisition and transmission module specifically includes multiple acquisition boards, a aggregation board, and a high-speed communication link. The acquisition boards are used to perform analog-to-digital conversion on the analog sound signals of the receiving channels and form multi-channel digital sampling data. The aggregation board is used to uniformly integrate and schedule the output data of multiple acquisition boards. The high-speed communication link is used to transmit the integrated data to the heterogeneous computing platform at high speed.
[0065] Furthermore, the algorithm acceleration module includes a two-level FFT module and an interpolation calculation module; the two-level FFT module includes a first-level FFT module and a second-level FFT module, wherein the first-level FFT module includes multiple parallel first-point FFT units, used to perform first-level FFT processing on the input data or on the frequency domain beamforming results, or to perform first-dimensional FFT processing on 2D-FFT; the second-level FFT module includes multiple parallel second-point FFT units, used to perform second-level FFT processing on the first-level FFT results or to perform second-dimensional FFT processing on 2D-FFT; the number of points in the first-point FFT unit is greater than or equal to the number of points in the first dimension of 2D-FFT, and the number of points in the second-point FFT unit is greater than or equal to the number of points in the second dimension of 2D-FFT; the interpolation calculation module includes an interpolation coefficient storage unit and a multiplier-accumulator, used to complete the linear interpolation calculation from non-uniform grid point data to oversampled uniform grid points.
[0066] Furthermore, the software implementation module includes a parameter configuration module and a data interaction module. The parameter configuration module is used to configure the FFT parameters and working mode of the algorithm acceleration module, as well as the interpolation coefficients of the interpolation calculation module. The data interaction module is used to implement data reading and writing operations with external storage devices.
[0067] The beneficial effects achieved by this invention are as follows:
[0068] 1. This invention employs a heterogeneous SoC-based computing platform to implement a fast beamforming algorithm based on NUFFT, significantly reducing system complexity and resource consumption. It is suitable for real-time, high-resolution underwater 3D acoustic imaging on small platforms.
[0069] 2. This invention designs a unified FFT computing architecture and data scheduling mechanism to realize the reuse of large-point FFT, IFFT and two-dimensional FFT resources involved in two-dimensional beamforming computing, significantly improving hardware resource utilization and reducing system power consumption and hardware complexity.
[0070] 3. This invention adopts a two-level FFT module structure, which supports flexible switching of operating modes to meet the needs of different algorithms and improve system adaptability and operating efficiency.
[0071] 4. This invention is based on a heterogeneous platform (such as the ZYNQ series SoC). Through the collaborative work of programmable logic (PL) and processing system (PS), it achieves high-speed algorithm acceleration and flexible software control, thereby improving the integration, computational efficiency and real-time performance of the 3D acoustic imaging system.
[0072] 5. The overall system of this invention features high integration, low power consumption, and small size, making it suitable for engineering applications of embedded underwater three-dimensional acoustic imaging systems. Attached Figure Description
[0073] Figure 1 This is a schematic diagram of the overall structure of a three-dimensional acoustic imaging system;
[0074] Figure 2 This is a schematic diagram of the connection structure of the data acquisition and transmission module in a three-dimensional acoustic imaging system;
[0075] Figure 3 This is a structural example diagram of a two-level FFT calculation module at the PL end;
[0076] Figure 4 This is an example diagram of a data processing module architecture based on a heterogeneous system-on-a-chip. Detailed Implementation
[0077] To make the various technical features, advantages, or effects of the present invention more apparent and understandable, a detailed description is provided below in conjunction with the accompanying drawings.
[0078] To meet the requirements of 3D underwater acoustic imaging systems for efficient computation of large-point-count FFT, IFFT, and 2D non-uniform fast Fourier transform (2D-NUFFT), this invention proposes an underwater 3D acoustic imaging method and system based on heterogeneous on-chip systems (such as ZYNQ series system-on-chips). This method significantly reduces computational complexity and system resource overhead while ensuring imaging quality, enabling a highly efficient, low-power, and easily deployable underwater acoustic imaging processing solution.
[0079] The underwater three-dimensional acoustic imaging system of this invention includes the following modules: a signal transmission and reception module, a data acquisition and transmission module, a signal processing module, an image display module, and peripheral configurations of a SoC chip. The signal processing module is based on a heterogeneous SoC design and consists of an algorithm acceleration module on the programmable logic unit (PL) side and a software control module on the processing system unit (PS) side. The PL side implements a dedicated acceleration algorithm through hardware design, while the PS side is responsible for calling the PL side acceleration module and completing overall system control and imaging processing through software programming. The SoC peripheral configuration includes onboard DDR memory and an external TF card, used for high-speed data exchange and persistent data storage, respectively.
[0080] In the PL-side algorithm acceleration module, to meet the computational requirements of large-point FFT and IFFT, the input sequence is first extended to a value not less than itself, satisfying L=2, by padding with trailing zeros. n+m The minimum number of points. Then, a two-stage FFT computation structure is used for processing: the first stage is N-way (where N = 2^N). n M parallel points (where M = 2) m The first level consists of an FFT computation unit, and the second level consists of P-way (P≥1, configured based on data volume and available hardware resources) parallel N-point FFT computation units. The selection of M and N must satisfy the following conditions: M is not less than the number of points in the first dimension of the subsequent 2D-FFT, and N is not less than the number of points in the second dimension. This two-level FFT structure enables the reuse of computational resources for large-point FFT, IFFT, and 2D-FFT, thereby supporting flexible scheduling for various FFT application scenarios without increasing hardware resource overhead.
[0081] For the second-level FFT calculation module, this invention designs a configurable input scheduling and multiplexing control mechanism that supports three data input paths:
[0082] 1) Rotation factor multiplication path for large-point FFT or IFFT;
[0083] 2) Direct input path for 2D-FFT;
[0084] 3) Multi-channel raw data pass-through path for specific applications.
[0085] During operation, the system can dynamically configure the input path and FFT calculation direction through the hardware interface to support multiple working modes.
[0086] A block floating-point scaling strategy is introduced in the first-level FFT calculation module. This strategy selects an appropriate scaling factor based on the dynamic amplitude range of each FFT channel and outputs the scaling exponent information. During the output stage, the scaling strategy is applied uniformly to ensure the consistency of the accuracy of the output data across all channels, thereby effectively improving calculation accuracy.
[0087] The algorithm acceleration module at the PL end also includes an interpolation calculation module to interpolate non-uniform sampling points to a two-dimensional regular grid, providing input data for subsequent 2D-FFT calculations.
[0088] The PS-side software implementation module integrates a parameter configuration and operation control module, as well as a data interaction module. The parameter configuration and operation control module is used to configure FFT calculation parameters and control the operating status of the PL-side module; the data interaction module is responsible for data transmission with external storage devices such as TF cards and DDR, and realizes read and write operations of rotation factors, interpolation factors, large-point input data, and calculation results.
[0089] The core technology of this invention is a method for reusing computational resources for large-point FFT, IFFT, and 2D-NUFFT. This method, as the main function of the signal processing module, is primarily used for efficient time-frequency domain transformation, frequency domain filtering, and beamforming processing of the echo signals received by the array.
[0090] Traditional FFT / IFFT implementations typically perform calculations directly on fixed-length sequences. While efficient, this approach struggles to meet the reuse requirements of 2D-FFT. To achieve resource sharing, this invention improves the FFT algorithm by employing a two-level FFT structure to unify the processing of large-point FFT / IFFT and 2D-FFT. This structure is based on the divide-and-conquer approach proposed by Cooley and Tukey in 1965. It decomposes a DFT operation of length L into the form L = M × N (where M ≥ 2, N ≥ 2), performing FFT processing on subsequences of lengths M and N separately. This effectively reduces complexity and enhances hardware resource utilization.
[0091] Let X[k] be the corresponding frequency domain sequence, then we have the corresponding DFT expression:
[0092]
[0093] Given L = M × N, n and k can be written in the following form:
[0094] n = Nn1 + n2, 0 ≤ n1 ≤ M-1, 0 <n2≤N-1 (12)
[0095] k=k1+Mk2,0≤k1≤M-1,0≤k2≤N-1 (13)
[0096] Substituting equations (12) and (13) into equation (11), we get:
[0097]
[0098] As shown in equation (14), the DFT calculation of a sequence of length L can be broken down into three steps. First, the time series x[n] is rearranged into a two-dimensional M×N matrix, which can be represented as follows:
[0099]
[0100] (x[n1N],x[n1N+1],x[n1N+2],…,x[n1N+N-1]),0≤n1≤M-1 (16)
[0101] Equation (15) represents the rearranged matrix, and Equation (16) represents each column of the matrix as a column vector. This representation is also used for all matrices below. Then, an M-point FFT is performed on each column of the matrix to obtain:
[0102] (x0[k1],x1[k1],x2[k1],…,x N-1 [k1]), 0≤k1≤M-1 (17)
[0103] Then, multiply each element of the matrix resulting from equation (17) by the corresponding element of the rotation factor matrix. The rotation factor matrix can then be written as:
[0104]
[0105] Among them, W L =exp(-j2π / L), the result after multiplication is recorded as:
[0106] (X0[k1],X1[k1],X2[k1],…,X N-1 [k1]), 0≤k1≤M-1 (19)
[0107] Finally, an N-point FFT is performed on each row of the matrix, and the result is:
[0108] (X[k1],X[k1+M],…,X[k1+(N-1)M]),0≤k1≤M-1 (20)
[0109] Rearranging the matrix in equation (20) into a one-dimensional form yields the DFT result X[k] of the sequence x[n] of length L. For IDFT calculation, based on the conjugate symmetry of the Fourier transform, the above divide-and-conquer FFT calculation process can be reused by using IFFT calculation in the matrix rows and columns and taking the complex conjugate of the rotation factor.
[0110] Similarly, the computation of large-point inverse fast Fourier transform (IFFT) can also be implemented based on the conjugate symmetry of the Fourier transform. Specifically, an M-point IFFT operation is first performed on each column, then the result is multiplied point-by-point by the conjugate complex number of the twitch factor, followed by an N-point IFFT operation. This computational process is completely consistent with the aforementioned forward FFT method and can share the same hardware architecture.
[0111] Assume the FFT algorithm used is radix-2 FFT. If a one-time FFT calculation is performed directly on the original sequence x[n] of length L, a total of (L / 2)log2L+L complex multiplications and Llog2L complex additions are required. However, if the two-level splitting method proposed in this invention is used to perform FFT calculations on the subsequences separately, a total of approximately (L / 2)log2L+L complex multiplications and Llog2L complex additions are required. It is evident that, without a significant increase in computational complexity, the method of this invention achieves higher resource utilization through structural reuse.
[0112] Through the above two-level FFT structure, this invention can not only achieve efficient computation of large-point FFT / IFFT, but also directly use the first-level FFT for the first-dimensional transformation in 2D-FFT, while the second-level FFT can be used for the second-dimensional transformation without omitting the rotation factor multiplication, thereby realizing the reuse and dynamic switching of computational resources between FFT and 2D-FFT.
[0113] The following are specific examples:
[0114] like Figure 1 As shown in the figure, this embodiment illustrates the main hardware components and signal flow relationships of the underwater three-dimensional acoustic imaging system. The system includes the following functional components:
[0115] Signal transmitting and receiving module: Composed of waveform generator, power amplifier, transmitting transducer, receiving transducer array and multi-channel receiving amplifier, used to transmit acoustic signals and receive underwater echoes;
[0116] Data acquisition and transmission module: including multi-channel data acquisition unit and high-speed data transmission module, responsible for digitizing the echo signal and transmitting it to the processing platform at high speed;
[0117] Signal processing module: It consists of a main controller and signal processor (corresponding to the PS end of the ZYNQ SoC chip) and a PL end accelerator not shown in the figure, which is used to perform FFT / NUFFT calculations, interpolation processing and system control;
[0118] SoC chip peripheral configuration: including onboard DDR memory and external TF card (not explicitly shown in the figure), used for high-speed caching and long-term data storage, respectively.
[0119] From a signal flow perspective, the waveform generator outputs an excitation signal, which, after power amplification, drives the transmitting transducer to emit sound waves. The sound waves propagate underwater and are reflected, then received by the receiving transducer array and amplified as analog signals by the receiving amplifier. Subsequently, the multi-channel acquisition unit performs analog-to-digital conversion of the signal and transmits it to the ZYNQ SoC platform via a high-speed transmission link, where it performs data processing and imaging calculations.
[0120] like Figure 2 As shown in the figure, this embodiment further illustrates the structural composition and flow relationship of the data acquisition and processing link in an underwater three-dimensional acoustic imaging system. In the system architecture, multiple data acquisition boards perform parallel acquisition of multi-channel echo signals from the receiving transducer array and perform analog-to-digital conversion (A / D conversion) on the acquired analog signals. The data outputs of these acquisition boards are centrally managed and synchronized through a summarizing board, thereby integrating multiple signal data streams.
[0121] The integrated data is transmitted to the ZYNQ series SoC chip via a high-speed communication link (such as LVDS or fiber optic interface) to achieve system-level integrated processing. Within the SoC platform:
[0122] The PL (Programmable Logic Unit) is equipped with a high-performance FFT / 2D-FFT acceleration module, which supports high-speed import of multi-channel data, parallel computing and computing resource reuse, and completes core computing tasks such as large-point FFT, IFFT and 2D-NUFFT, as well as interpolation calculation.
[0123] The PS (processing system part) is responsible for the software control tasks in the signal processing flow, including system parameter configuration, working mode switching, loading of rotation factors and interpolation factors, and data read and write interaction with external storage devices (such as DDR, TF card).
[0124] like Figure 3 As shown, taking 256*1024 point FFT as an example, the PL-end acceleration module described in this invention constitutes the core hardware foundation for large-point FFT and 2D-FFT calculations. Its overall structure adopts a two-level FFT calculation architecture and is linked and controlled through a unified data interface to achieve efficient reuse of computing resources and flexible switching of working modes.
[0125] The first-level FFT calculation module consists of 256 parallel 1024-point FFT calculation units, mainly used to complete the first-dimensional transformation in two-dimensional FFT or the first-level sub-transformation in large-point FFT / IFFT. This module introduces a block floating-point scaling strategy, which can automatically select the scaling factor according to the dynamic amplitude range of the input data of each channel and output the corresponding scaling exponent, thereby significantly improving the calculation accuracy and numerical consistency under fixed-point calculation conditions.
[0126] The second-level FFT computation module consists of eight parallel 256-point FFT units and has three configurable operating modes, as follows:
[0127] Large-dot FFT / IFFT mode: This mode is used to perform a full 256×1024-dot (or less) FFT or IFFT operation. The input data is first multiplied pointwise by a preloaded twiddle factor, and then input into a 256-dot FFT cell to complete the subsequent transformation;
[0128] 2D-FFT mode: used to perform the second dimension calculation in two-dimensional fast Fourier transform. The input data does not require coefficient multiplication and is directly sent to the FFT unit for processing. It is suitable for 2D-IFFT calculation in the 2D-NUFFT adjoint operation.
[0129] Channel pass-through mode: In this mode, the input data is output directly without processing. It is suitable for certain specific application scenarios, such as raw channel data backhaul or multi-channel IFFT calculation.
[0130] The entire PL-side acceleration module is designed with a high bit width and a pipelined parallel structure, and uniformly manages the input and output of scaling factors to ensure the consistency of the calculation results of each FFT unit in terms of accuracy and format under different working modes. This module not only meets the needs of large-scale FFT / IFFT operations, but also supports 2D-FFT resource sharing, effectively improving the system's hardware utilization and operating efficiency.
[0131] like Figure 4 As shown, taking a 256*1024 point FFT as an example, the underwater three-dimensional acoustic imaging system proposed in this invention adopts a hardware-software co-processing architecture. The core platform is based on the ZYNQ series SoC chip, which is composed of a programmable logic (PL) end and a processing system (PS) end, and is equipped with an off-chip storage module (including onboard DDR memory and an external TF card). The PL end and the PS end communicate and interact with each other through the AXI4 bus protocol family (including AXI4-Lite and AXI4-Stream, etc.), realizing efficient data flow and collaborative processing between hardware and software.
[0132] The overall workflow of the system is as follows:
[0133] Step 1: System Initialization and Data Loading
[0134] After the system is powered on and initialized, the software control module on the PS side first reads the rotation factor data and input signal data to be processed required to perform large-point FFT from the TF card, and loads them into the off-chip DDR memory as a cache.
[0135] Step 2: PL-side module configuration and task branch execution
[0136] The PS terminal initializes and configures the FFT calculation module on the PL terminal via the AXI4-Lite bus. This mainly includes module reset, FFT length setting, calculation direction specification, and selection of working mode (such as large-point FFT / IFFT, 2D-FFT, multi-channel FFT mode, etc.). Subsequently, the PS terminal executes different branch operations according to the task type:
[0137] 1) When performing large-point FFT / IFFT tasks: The PS end reads the input data and corresponding rotation factor from the DDR and sends them to the PL end. The PL end completes the cascade calculation of the two-stage FFT to realize 256×1024-point (or less) FFT / IFFT calculation.
[0138] 2) When performing a 2D-FFT task: The PS terminal directly instructs the PL terminal to transmit the oversampled interpolated two-dimensional complex matrix directly to the PL terminal, and the PL terminal performs FFT operations in two dimensions respectively to complete the two-dimensional frequency domain transformation process;
[0139] 3) When performing linear interpolation in the 2D-NUFFT accompanying operation: The PS end first loads the interpolation factor from the TF card and transmits it to the PL end along with the original non-uniform grid data to complete the oversampling interpolation processing and map it to a 256×256 uniform complex grid; when the PS end receives the instruction, it transmits the interpolated matrix data to the two-level FFT module of the PL end for 2D-IFFT calculation.
[0140] Step 3: Result Return and Caching
[0141] After the PL completes the calculation, it returns the result data to the PS, which temporarily stores it in DDR for subsequent image reconstruction, display, or further analysis.
[0142] Through the above steps, this invention realizes a unified processing framework for large-point FFT / IFFT computation and 2D-NUFFT accompanying computation. Relying on the hardware and software collaboration mechanism of the ZYNQ SoC platform, this system achieves high reuse and dynamic scheduling of computing resources while ensuring computational accuracy and processing efficiency, significantly improving the integration and deployability of underwater 3D acoustic imaging systems.
[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not intended to limit the solution. Those skilled in the art can make various modifications and equivalent substitutions without departing from the principle of the present invention, and all such modifications and substitutions should fall within the protection scope of the present invention.
Claims
1. A method for underwater three-dimensional acoustic imaging based on heterogeneous on-chip systems, characterized in that, Includes the following steps: 1) Acquire time-domain analog echo signals received by an underwater multi-channel sensor array, and obtain multi-channel digital time-domain sampling data after analog-to-digital conversion; 2) The multi-channel digital time-domain sampling data is transmitted to the programmable logic terminal in the heterogeneous on-chip system computing platform, and Fast Fourier Transform (FFT) processing is performed to obtain frequency domain data; 3) Continue to perform frequency domain two-dimensional beamforming calculations in all beam directions at the programmable logic end, and complete the weighted phase-shifted superposition of the spectrum of all array element channels to obtain the frequency domain two-dimensional beamforming results; 4) Continue on the programmable logic side, based on the frequency domain two-dimensional beamforming results, perform fast inverse Fourier transform (IFFT) processing on all beams to generate time domain two-dimensional beammap data; 5) At the processing system end, the time-domain two-dimensional beammap data is post-processed to generate three-dimensional acoustic image data of the underwater target.
2. The method as described in claim 1, characterized in that, Step 2) involves a two-stage FFT process, with the specific steps including: a) Pad the number of sample points for each array element channel to a minimum power of 2 that is not less than the original number of sample points by adding zeros to the end; b) Resample the original signal to form a sequence of N M points, where N≥2 and M≥2, and perform the first-level FFT calculation on each of them; c) Multiply the results of the first-level FFT by their respective rotation factors to form M N-point sequences, and then perform the second-level FFT calculation. d) Reorder the results of the second-level FFT to obtain the FFT results for the current channel; For all array element channel signals, perform steps a) to d) to obtain the spectrum of all channels.
3. The method as described in claim 1, characterized in that, Step 3) employs a beamforming algorithm based on two-dimensional non-uniform fast Fourier transform (2D-NUFFT) to calculate the frequency domain two-dimensional beamforming result. Specific steps include: a) Discretize the two-dimensional beam space into M b N b M is a two-dimensional uniform grid of points. b ≥2,N b ≥2; b) Map the element coordinates at each frequency point to a two-dimensional non-uniform grid (ω). am ,ω em ); c) Oversampling interpolation is used, with an oversampling rate of σ, where σ is an integer greater than 1. This interpolates the coordinates of the array elements to the corresponding two-dimensional non-uniform grid points (ω). am ,ω em The spectrum of ) is mapped to the oversampled (σM) b ,σM b On ) two-dimensional uniform grid points; d) Using 2D-IFFT, the phase-shifted superposition calculation of the spectrum of all array elements on all beams after oversampling and interpolation in step c) is completed to obtain the 2D beamforming result at the current frequency. e) Perform steps b) to d) on all frequencies to obtain beamforming results on all frequencies.
4. The method as described in claim 3, characterized in that, Step d) of the 2D-IFFT includes the following steps: The first step is to complete the first dimension N. b M b Point IFFT calculation; The second step is to complete the M step on the IFFT calculation results from the first step. b M b Point IFFT calculation; The IFFT calculation results from the second step are truncated to obtain the current frequency point (M). b N b ( ) beamforming results.
5. The method as described in claim 1, characterized in that, Step 4) involves a two-stage IFFT process, specifically including the following steps: a) Resample each frequency domain beam data to form an I*J sequence, where I≤N,J≤M; b) Perform a first-level IFFT calculation with I J points on the I*J sequence; c) Multiply the results of the first-level IFFT by their respective rotation factors, and perform a second-level IFFT calculation for J I points; d) Reorder the calculation results of the second-level IFFT and take the envelope to obtain the current frequency domain beam time domain pattern; e) Perform steps a) to d) on all two-dimensional frequency domain beams to obtain the time domain pattern of all frequency domain beams, which is the three-dimensional acoustic point cloud data.
6. An underwater three-dimensional acoustic imaging system based on a heterogeneous on-chip system, used to perform the method according to any one of claims 1-5, characterized in that, include: The signal transmitting and receiving module is used to transmit acoustic signals and receive reflected echo signals from targets in an underwater environment. The data acquisition and transmission module is used to sample the received multi-channel echo signals and transmit the sampled data to the signal processing module; The signal processing module includes an algorithm acceleration module deployed on the programmable logic side of the heterogeneous on-chip system and a software implementation module running on its processing system side, wherein: The algorithm acceleration module is used to perform Fast Fourier Transform (FFT) for all time-domain signals, oversampling interpolation processing for non-uniform grid data, 2D-IFFT, and IFFT for all frequency-domain beams, thereby accelerating the processing of the 2D beamforming algorithm based on the Non-Uniform Fast Fourier Transform (NUFFT) method. The software implementation module is used to call the processing results of the algorithm acceleration module, perform parameter reading and data storage of the storage device, perform system parameter control, perform data migration with the programmable logic terminal, and output the beamforming results.
7. The system as described in claim 6, characterized in that, The signal transmission and reception module specifically includes a waveform generator, a power amplifier, a transmitting transducer, a receiving transducer array, and a multi-channel receiving amplifier. The waveform generator is used to generate an excitation signal, the power amplifier is used to amplify the excitation signal, the transmitting transducer is used to transmit an acoustic signal to the underwater medium, the receiving transducer array is used to receive the target echo signal, and the receiving amplifier is used to amplify the received signal through multiple channels.
8. The system as described in claim 6, characterized in that, The data acquisition and transmission module specifically includes multiple acquisition boards, a aggregation board, and a high-speed communication link. The acquisition boards are used to perform analog-to-digital conversion on the analog sound signals of the receiving channels and form multi-channel digital sampling data. The aggregation board is used to integrate and schedule the output data of multiple acquisition boards. The high-speed communication link is used to transmit the integrated data to the heterogeneous computing platform at high speed.
9. The system as described in claim 6, characterized in that, The algorithm acceleration module includes a two-level FFT module and an interpolation calculation module. The two-level FFT module includes a first-level FFT module and a second-level FFT module. The first-level FFT module includes multiple parallel first-point FFT units, used to perform first-level FFT processing on the input data or the frequency domain beamforming results, or to perform first-dimensional FFT processing on 2D-FFT. The second-level FFT module includes multiple parallel second-point FFT units, used to perform second-level FFT processing on the first-level FFT results or to perform second-dimensional FFT processing on 2D-FFT. The number of points in the first-point FFT unit is greater than or equal to the number of points in the first dimension of 2D-FFT, and the number of points in the second-point FFT unit is greater than or equal to the number of points in the second dimension of 2D-FFT. The interpolation calculation module includes an interpolation coefficient storage unit and a multiplier-accumulator, used to complete the linear interpolation calculation from non-uniform grid point data to oversampled uniform grid points.
10. The system as described in claim 6, characterized in that, The software implementation module includes a parameter configuration module and a data interaction module. The parameter configuration module is used to configure the FFT parameters and working mode of the algorithm acceleration module, as well as the interpolation coefficients of the interpolation calculation module. The data interaction module is used to implement data reading and writing operations with external storage devices.
