Method and device for realizing sound wave imaging based on single FPGA (Field Programmable Gate Array), and computer equipment
By combining the time-delay acoustic imaging algorithm and the bilinear interpolation algorithm on a single FPGA chip, the problems of low efficiency and high hardware complexity of traditional acoustic imaging technology are solved, efficient and accurate acoustic imaging is achieved, and power consumption and cost.
Patent Information
- Application Number
- CN202410832803.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Traditional acoustic wave imaging technology has problems such as low efficiency, complex hardware connections, high power consumption, and high cost. In particular, it is impossible to implement complete acoustic wave imaging functions on a single FPGA chip.
The time-delay acoustic wave imaging algorithm is used to process the acoustic wave signal to obtain the acoustic wave image of the first resolution, and further processed through the bilinear interpolation algorithm to obtain the acoustic wave image of the second resolution, thereby reducing the amount of calculation and realizing a single FPGA. It can complete the complete functions of acoustic imaging.
It achieves efficient completion of acoustic wave imaging on a single FPGA chip, ensures sound imaging positioning accuracy, simplifies hardware connections, reduces power consumption and production costs, and improves the resolution of acoustic wave images.
Smart Images

Figure CN118777981A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of acoustic wave imaging, and in particular to a method, a device and a computer device for realizing acoustic wave imaging based on a single FPGA. Background Art
[0002] Traditional acoustic imaging technology usually uses FPGA (Field Programmable Gate Array) chips to collect or filter acoustic waves, and then transmits the data to a dedicated processing chip with ARM architecture for conversion and calculation, and finally outputs the acoustic image. However, the current acoustic imaging method has problems such as low efficiency, complex hardware connection, high power consumption, and high cost. Summary of the invention
[0003] Based on this, it is necessary to provide a method, device, and computer equipment for implementing acoustic wave imaging based on a single FPGA in response to the problems existing in the current acoustic wave imaging method.
[0004] A method for realizing acoustic wave imaging based on a single FPGA comprises collecting an acoustic wave signal of a sound source by using a microphone array board; processing the acoustic wave signal based on a time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of a first resolution; processing the acoustic wave image of the first resolution based on a bilinear interpolation algorithm to obtain an acoustic wave image of a second resolution; the second resolution is greater than the first resolution.
[0005] In one of the embodiments, before processing the acoustic wave signal based on a time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of a first resolution, the method further includes preprocessing the acoustic wave signal; the preprocessing includes data integration and filtering conversion.
[0006] In one embodiment, the microphone array board includes multiple microphones, and the sound wave signal is processed based on the time-delay sound wave imaging algorithm to obtain the sound wave image of the first resolution, including calculating the sound wave delay of the sound wave signal to determine the delay correction parameters of each of the microphones; performing delay correction on the sound wave signal based on the delay correction parameters of each of the microphones; calculating the sound intensity of the sound wave signal to determine the sound intensity of each of the microphones; and arranging and combining the sound intensities of pixels of the sound wave signal to form the sound wave image of the first resolution.
[0007] In one embodiment, calculating the sound wave delay of the sound wave signal to determine the delay correction parameters of each microphone includes:
[0008] t=(x*sin(θ)*cos(φ)+y*cos(θ)*sin(φ)) / c;
[0009] In the formula, t represents the time delay correction parameter of each microphone, x represents the horizontal coordinate of each microphone in the sound wave area to be detected, y represents the vertical coordinate of each microphone in the sound wave area to be detected, θ represents the azimuth angle between the sound source and each microphone, φ represents the pitch angle between the sound source and each microphone, and c represents the speed of sound.
[0010] In one of the embodiments, after calculating the acoustic wave delay of the acoustic wave signal and determining the delay correction parameters of each of the microphones, the method further includes converting the delay correction parameters of each of the microphones into a system clock number of the FPGA.
[0011] In one embodiment, converting the delay correction parameters of each microphone into the system clock number of the FPGA includes:
[0012] t clk =t*fs;
[0013] In the formula, t clk represents the system clock number of FPGA, t represents the delay correction parameter of each microphone, and fs represents the sampling rate of FPGA.
[0014] In one of the embodiments, the acoustic wave image of the first resolution is processed based on the bilinear interpolation algorithm to obtain the acoustic wave image of the second resolution, including allocating, for any target floating-point coordinate in the acoustic wave image of the first resolution, the target floating-point coordinate to four integer coordinates closest to the target floating-point coordinate according to a weight; and determining the pixel value of the target floating-point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating-point coordinate.
[0015] In one embodiment, determining the pixel value of the target floating-point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating-point coordinate comprises:
[0016] f(i+u,j+v)=(1-u)(1-v)f(i,j)+(1-u)vf(i,j+1)+u(1-v)f(i+1,j)+uvf(i+1,j+1);
[0017] In the formula, (i+u, j+v) represents the coordinates of the floating point number, f() represents the pixel value, i and j represent the integer part of the floating point number, u and v represent the decimal part of the floating point number, (i,j), (i,j+1), (i+1,j), (i+1,j+1) respectively represent the four integer coordinates closest to the target floating point coordinates.
[0018] A device for realizing sound wave imaging based on a single FPGA comprises a microphone array board for collecting sound wave signals of a sound source; an FPGA processing module connected to the microphone array board and used to process the sound wave signals based on a time-delay sound wave imaging algorithm to obtain a sound wave image of a first resolution, and to process the sound wave image of the first resolution based on a bilinear interpolation algorithm to obtain a sound wave image of a second resolution.
[0019] In one embodiment, the FPGA processing module includes a data integration unit for performing data integration on the acoustic wave signal; a low-pass filtering unit connected to the data integration unit for performing low-pass filtering on the acoustic wave signal; and a band-pass filtering unit connected to the low-pass filtering unit for performing band-pass filtering on the acoustic wave signal.
[0020] In one embodiment, the FPGA processing module also includes a delay calculation unit, which is connected to the bandpass filtering unit, and is used to perform sound wave delay calculation on the sound wave signal, determine the delay correction parameters of each microphone, and perform delay correction on the sound wave signal based on the delay correction parameters of each microphone; a sound intensity calculation unit, which is connected to the delay calculation unit, and is used to perform sound intensity calculation on the sound wave signal, and determine the sound intensity of each microphone; a pixel point sound intensity arrangement unit, which is connected to the sound intensity calculation unit, and is used to arrange and combine pixel point sound intensities of the sound wave signal to form the sound wave image of the first resolution.
[0021] In one embodiment, the FPGA processing module also includes a bilinear interpolation calculation unit, which is connected to the pixel point sound intensity arrangement unit, and is used to assign the target floating-point coordinate to the four integer coordinates closest to the target floating-point coordinate according to a weight for any target floating-point coordinate in the acoustic wave image of the first resolution, and determine the pixel value of the target floating-point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating-point coordinate.
[0022] In one of the embodiments, the device further includes a DC-DC power supply integrated module connected to the FPGA processing module for providing working power to the FPGA processing module.
[0023] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method for realizing acoustic wave imaging by a single FPGA as described in any one of the above embodiments are implemented.
[0024] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for implementing acoustic wave imaging using a single FPGA as described in any one of the above embodiments.
[0025] The above-mentioned method for realizing sound wave imaging based on a single FPGA uses a microphone array board to collect the sound wave signal of the sound source, processes the sound wave signal based on a time-delay sound wave imaging algorithm to form a sound wave image of a first resolution, and processes the sound wave image of the first resolution based on a bilinear interpolation algorithm to form a sound wave signal of a second resolution. By combining the time-delay sound wave imaging algorithm and the bilinear interpolation algorithm, the amount of calculation of sound wave imaging can be reduced, thereby realizing the complete function of sound wave imaging using a single FPGA, while ensuring the imaging positioning accuracy of the sound. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the implementation methods of this specification or the technical solutions in the prior art, the drawings required for use in the implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some implementation methods recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0027] Figure 1 It is a structural schematic diagram of an existing acoustic wave imaging device;
[0028] Figure 2 This is a flow chart of a method for implementing acoustic wave imaging based on a single FPGA in one of the embodiments of the present application;
[0029] Figure 3 This is a schematic diagram comparing the FPGA resource usage of the acoustic imaging algorithm based on the time delay method and the Fourier transform calculation based on the frequency domain method, where: Figure 3 a is a statistical diagram of FPGA resource usage based on the time-delay acoustic imaging algorithm. Figure 3 b is a statistical diagram of FPGA resource usage for Fourier transform calculation based on frequency domain method;
[0030] Figure 4 This is a schematic diagram of a comparison between a first resolution acoustic wave image and a second resolution acoustic wave image in one embodiment of the present application, wherein: Figure 4 a is a schematic diagram of an acoustic wave image of the first resolution in one embodiment of the present application, Figure 4 b is a schematic diagram of an acoustic wave image of a second resolution in one embodiment of the present application;
[0031] Figure 5This is a flow chart of a method for obtaining an acoustic wave image of a first resolution based on a time-delay acoustic wave imaging algorithm in one of the embodiments of the present application;
[0032] Figure 6 This is a schematic diagram of the positions of the area to be detected and the microphone array board in one of the embodiments of the present application;
[0033] Figure 7 This is a schematic flow chart of a method for obtaining an acoustic wave image of a second resolution based on a bilinear interpolation algorithm in one embodiment of the present application;
[0034] Figure 8 This is a schematic diagram of the structure of a device for implementing acoustic wave imaging based on a single FPGA in one of the embodiments of the present application;
[0035] Fig. 9 This is a schematic diagram of the performance parameters of a device for implementing acoustic wave imaging based on a single FPGA in an aging test in one embodiment of the present application, wherein: Fig. 9 a is a statistical diagram of current changes in a whole-machine aging test of a device for implementing acoustic wave imaging based on a single FPGA in one embodiment of the present application, Fig. 9 b is a statistical diagram of temperature changes in an aging test of a device for implementing acoustic wave imaging based on a single FPGA in one of the embodiments of the present application;
[0036] Fig.10 This is a schematic diagram of the structure of the FPGA processing module in one of the embodiments of the present application;
[0037] Fig.11 This is a schematic diagram of the structure of a device for implementing acoustic wave imaging based on a single FPGA in another embodiment of the present application;
[0038] Fig.12 This is a schematic diagram of the circuit principle of a DC-DC power supply integrated module in one of the embodiments of the present application;
[0039] Fig.13 This is a schematic diagram of the system structure for implementing a method for acoustic wave imaging based on a single FPGA in one of the embodiments of the present application;
[0040] Fig.14 This is a diagram of the internal structure of a computer device in one of the embodiments of the present application. DETAILED DESCRIPTION
[0041] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to understand the disclosure of the present invention more thoroughly and comprehensively.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0043] Figure 1 The present invention is a structural diagram of an existing acoustic wave imaging device, which includes a microphone array board, a DC-DC power supply, an FPGA chip, a 5SPI Nor flash storage chip, an ARM architecture data processing chip, and a DDR memory chip (Double Data Rate SDRAM). The existing acoustic wave imaging device requires an FPGA chip and an ARM architecture processing chip to jointly realize the acoustic wave imaging function. The FPGA chip is used for acquisition or filtering, and then the data is transmitted to a dedicated processing chip of the ARM architecture for conversion and calculation. The ARM chip is mainly used for beamforming calculation and interpolation calculation of the data. This process is relatively cumbersome and inefficient. At the same time, since the existing acoustic wave imaging device needs to use multiple chips and hardware components, the connection of the entire device becomes complicated and the overall power consumption is high, and the production cost is also high. In addition, in the existing acoustic wave imaging device, if the function of the ARM chip is directly transplanted to the FPGA chip, it will cause the serious shortage of FPGA resources and the problem of being unable to realize the complete function of acoustic wave imaging.
[0044] The present application provides a method for realizing sound wave imaging based on a single FPGA, which can realize complete sound wave imaging function by using a single FPGA chip while ensuring the imaging positioning accuracy of the sound. Figure 2 This is a flow chart of a method for implementing acoustic wave imaging based on a single FPGA in one of the embodiments of the present application. In one of the embodiments, the method for implementing acoustic wave imaging based on a single FPGA may include the following steps S100 to S300.
[0045] Step S100: using a microphone array board to collect sound wave signals from a sound source.
[0046] A plurality of microphones may be provided on the microphone array board, and the plurality of microphones may be arranged regularly or irregularly to form a microphone array. When the sound waves generated by the sound source propagate to the microphone array board, each microphone on the microphone array board may collect the sound waves within the pickup range of the microphone, and the microphone array board may realize the collection of the sound wave signals of the sound source. In this embodiment, the sound wave signals may include the data collected by all the microphones on the microphone array board.
[0047] Step S200: Processing the acoustic wave signal based on a time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of a first resolution.
[0048] There are two commonly used acoustic wave imaging algorithms, namely the time-delay acoustic wave imaging algorithm based on time domain calculation and the frequency domain acoustic wave imaging algorithm based on frequency calculation. The essence of these two algorithms is to compensate for the phase difference caused by the different times when the acoustic wave signals arrive at different microphones. The difference is that different methods are used to compensate for the phase difference. The time-delay acoustic wave imaging algorithm adjusts the phase by delay, and applies different delays to the signals received by each microphone to achieve the purpose of phase alignment. The process only involves delay calculation and shift registers, and occupies less FPGA resources. In the frequency domain, the signal is Fourier transformed, and phase compensation is applied to the signals of the same frequency received by the microphone. This involves complex Fourier transform and phase compensation multiplication, which will occupy a lot of FPGA resources.
[0049] Figure 3 This is a schematic diagram comparing the FPGA resource usage of the acoustic imaging algorithm based on the time delay method and the Fourier transform calculation based on the frequency domain method, where: Figure 3 a is a statistical diagram of FPGA resource usage based on the time-delay acoustic imaging algorithm. Figure 3 b is a statistical diagram of FPGA resource usage based on the frequency domain method for Fourier transform calculation. A targeted comparison of the resource occupancy rates of the delay acoustic wave imaging algorithm based on time domain calculation and the frequency domain acoustic wave imaging algorithm based on frequency calculation in FPGA can be obtained. Figure 3 a and Figure 3 Statistical diagram of b. Figure 3 a and Figure 3 The utilization rate of FPGA resources (BRAM, DSP) in b is obviously Figure 3 a is used less frequently.
[0050] Figure 3 a shows the resource occupancy statistics of the FPGA chip that implements the acoustic wave imaging function using the method for implementing acoustic wave imaging based on a single FPGA provided by the present application. Figure 3 b shows the resource usage rate of the FPGA chip based only on the Fourier transform calculation based on the frequency domain algorithm (no acoustic imaging calculation has been performed, that is, the acoustic imaging function has not been realized). Its FPGA resource utilization rate has obviously exceeded Figure 3 a, if in Figure 3 If we add acoustic imaging calculation on the basis of b, the FPGA resources will be seriously insufficient. It can be seen that the traditional frequency domain acoustic imaging algorithm cannot realize the complete acoustic imaging function on a single FPGA, and the time-delay acoustic imaging algorithm is more suitable for running on FPGA chips.
[0051] In the method for implementing acoustic wave imaging based on a single FPGA provided in the present application, a time-delay acoustic wave imaging algorithm is used to perform time delay compensation on the phases of different microphones in the acoustic wave signal, and an acoustic wave image of a first resolution is formed based on the data processed by the time-delay acoustic wave imaging algorithm.
[0052] Step S300: Processing the acoustic wave image of the first resolution based on a bilinear interpolation algorithm to obtain an acoustic wave image of the second resolution; the second resolution is greater than the first resolution.
[0053] After forming an acoustic wave image of a first resolution based on the data processed by the time-delay acoustic wave imaging algorithm, a bilinear interpolation algorithm may be used to enlarge the acoustic wave image of the first resolution to obtain an acoustic wave image of a second resolution. Figure 4 This is a schematic diagram of a comparison between a first resolution acoustic wave image and a second resolution acoustic wave image in one embodiment of the present application, wherein: Figure 4 a is a schematic diagram of an acoustic wave image of the first resolution in one embodiment of the present application, Figure 4 b is a schematic diagram of an acoustic wave image of the second resolution in one embodiment of the present application. Using the time-delay acoustic wave imaging algorithm, the collected acoustic wave signal can be processed to form a Figure 4 The first resolution sound wave image shown in a has a low image resolution. The first resolution sound wave image can be magnified using a bilinear interpolation algorithm to generate the following: Figure 4 b is an acoustic wave image of the second resolution. It can be seen that the bilinear interpolation algorithm can improve the resolution of the acoustic wave image to ensure the image accuracy when the acoustic wave imaging is realized based on a single FPGA.
[0054] The method for realizing acoustic wave imaging based on a single FPGA provided in the present application combines a time-delay acoustic wave imaging algorithm and a bilinear interpolation algorithm, which can significantly reduce the amount of calculation in the FPGA chip, so as to ensure that a complete acoustic wave imaging function can be realized using a single FPGA chip, while also ensuring the image accuracy of the output acoustic wave image.
[0055] In one embodiment, before processing the acoustic wave signal based on the time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of the first resolution, the method may further include the following steps:
[0056] Preprocess the acoustic wave signal; preprocessing includes data integration and filtering conversion.
[0057] Before processing the acoustic wave signal using the time-delay acoustic wave imaging algorithm, the acoustic wave signal can be preprocessed to improve the signal quality, extract useful information, and prepare for subsequent analysis or processing. Specifically, data integration of acoustic wave signals can be to convert the acoustic wave signals collected from different microphones into the same sampling rate, quantization accuracy, etc. to ensure the consistency of processing. It can also combine the acoustic wave signals from multiple microphones to improve the signal quality or extract spatial information through weighted averaging, maximum value selection, etc. After the data integration of the acoustic wave signal is completed, the acoustic wave signal is filtered and converted. High-frequency noise is removed by low-pass filtering, random noise and pulse interference are reduced, and acoustic wave signals in a specific frequency range are selectively allowed to pass through by band-pass filtering to eliminate interference from irrelevant frequency bands and reduce the impact of noise.
[0058] By preprocessing the acoustic wave signal, the acoustic wave signal can be converted into a representation suitable for further analysis or application, unnecessary noise can be removed, the quality of the acoustic wave signal can be improved, and more accurate and effective data can be provided for the realization of acoustic wave imaging.
[0059] Figure 5 This is a flow chart of a method for obtaining an acoustic wave image of a first resolution based on a time-delay acoustic wave imaging algorithm in one of the embodiments of the present application. In one of the embodiments, processing the acoustic wave signal based on the time-delay acoustic wave imaging algorithm, and obtaining an acoustic wave image of a first resolution may include the following steps S210 to S240.
[0060] Step S210: Calculate the acoustic wave delay of the acoustic wave signal to determine the delay correction parameters of each microphone.
[0061] The delay acoustic wave imaging algorithm can be used to calculate the delay of the acoustic wave signal of each microphone to correct the delay of each microphone. For a sound wave area to be detected, it can be divided into different grid points, and the distance from each grid point to each microphone is different, which leads to different times for the sound wave signal to arrive at the microphone. The core of the delay acoustic wave imaging algorithm is to accurately align the signal received by each microphone, that is, to correct the time domain offset of the signal by introducing appropriate delays. In this embodiment, the time domain offset of the signal received by each microphone is corrected using the delay correction parameter. Through the delay correction process, the sound wave signals that are misaligned in the time domain can be aligned, so as to achieve synchronization in phase. This process can ensure that the sound wave signals from the sound source can be superimposed in phase at each microphone to significantly enhance the coherence of the signal. Finally, based on this coherence enhancement effect, it can be ensured that the spatial distribution of the sound source can be accurately reconstructed in subsequent processing.
[0062] In order to achieve precise alignment of the sound wave signals, a set of specific delay correction parameters can be assigned to each point in the target area. When the sound source is located at a certain point, the sound wave signal received by the microphone is corrected according to the delay parameters corresponding to the point, which can effectively achieve the same-phase superposition of the sound wave signals, thereby obtaining the strongest sound energy concentration at this point.
[0063] For example, Figure 6 This is a schematic diagram of the positions of the area to be detected and the microphone array board in one embodiment of the present application. A sound source is located at point A in the area to be detected. At the same time, the area to be detected includes an array formed by multiple microphone array boards, and the array includes array element 1, array element 2, ..., array element M. Figure 6 As shown, the azimuth angle between point A and the microphone in array element 1 may be θ, and the elevation angle between point A and the microphone in array element 1 may be φ. In this embodiment, the azimuth angle θ may range from -37.8° to 37.8°, and the elevation angle φ may range from -21° to 21°.
[0064] In one embodiment, calculating the acoustic wave delay of the acoustic wave signal and determining the delay correction parameters of each microphone may include the following calculation method:
[0065] t=(x*sin(θ)*cos(φ)+y*cos(θ)*sin(φ)) / c;
[0066] In the formula, t can represent the delay correction parameter of each microphone, x can represent the horizontal coordinate of each microphone in the sound wave area to be detected, y can represent the vertical coordinate of each microphone in the sound wave area to be detected, θ can represent the azimuth angle between the sound source and each microphone, φ can represent the pitch angle between the sound source and each microphone, and c can represent the speed of sound. In the above formula, the time unit of t is second, and the speed of sound c = 345m / s.
[0067] Step S220: performing delay correction on the sound wave signal based on the delay correction parameters of each microphone.
[0068] By using the above steps to calculate the time delay of the sound wave signal collected by the microphone in each array element from the sound source at point A, the time delay correction parameters corresponding to each microphone can be determined, and then the time delay correction parameters corresponding to each microphone can be used to perform time delay correction on the sound wave signal, so that the sound wave signals collected by the microphone in each array element can be accurately aligned in phase.
[0069] Step S230: Calculate the sound intensity of the sound wave signal to determine the sound intensity of each microphone.
[0070] Step S240: Arrange and combine the sound intensities of the pixels of the sound wave signal to form a sound wave image of the first resolution.
[0071] After the delay correction of the sound wave signal is implemented, the corresponding sound intensity value of each microphone can be calculated according to the in-phase superposition sound wave signal received by each microphone at its position. The pixel sound intensity permutation and combination calculation is performed based on the corresponding sound intensity value of each microphone. Specifically, the sound intensity value can be assigned to the virtual pixel point in the two-dimensional or three-dimensional space. This process can reversely determine the direction of the sound source based on the geometric layout of the microphone array board and the time difference of the sound wave reaching each microphone (wherein the time difference can be determined based on the delay calculation in the above steps). The sound intensity value of each pixel point is mapped to a grayscale or color intensity to form a sound wave image of the first resolution. Among them, the area with higher sound intensity value in the sound wave image can be displayed as a brighter or darker area in the image, and the area with lower sound intensity value in the sound wave image can be displayed as a darker or lighter area in the image. Figure 3 a and Figure 3 As shown in b, the area with higher sound intensity value in the sound wave image is darker in color, and the area with lower sound intensity value in the sound wave image is brighter in color.
[0072] In one embodiment, after calculating the acoustic wave delay of the acoustic wave signal and determining the delay correction parameters of each microphone, the method may further include the following steps:
[0073] Convert the delay correction parameters of each microphone into the system clock number of the FPGA.
[0074] By converting the delay correction parameters of each microphone into the system clock number of the FPGA, the delay correction parameters can be kept consistent with the system clock to ensure that subsequent processing steps can work correctly and synchronously.
[0075] In one embodiment, the method for converting the delay correction parameters of each microphone into the number of system clocks of the FPGA may be:
[0076] t clk =t*fs;
[0077] Where, t clk It can represent the system clock number of FPGA, t can represent the delay correction parameter of each microphone, and fs can represent the sampling rate of FPGA. Among them, fs=192000.
[0078] Figure 7 This is a flow chart of a method for obtaining an acoustic wave image of a second resolution based on a bilinear interpolation algorithm in one of the embodiments of the present application. In one of the embodiments, the acoustic wave image of a first resolution is processed based on a bilinear interpolation algorithm, and obtaining the acoustic wave image of the second resolution may include the following steps S310 to S320.
[0079] Step S310: for any target floating-point coordinate in the acoustic wave image of the first resolution, the target floating-point coordinate is allocated to four integer coordinates closest to the target floating-point coordinate according to a weight.
[0080] Step S320: Determine the pixel value of the target floating-point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating-point coordinate.
[0081] Based on the bilinear interpolation algorithm, the acoustic wave image of the first resolution can be smoothly enlarged to obtain the acoustic wave image of the second resolution. The bilinear interpolation algorithm can be used to estimate the value of any point between two known data points in the acoustic wave image of the first resolution, and realize the estimation of the color value of non-integer pixel positions in the acoustic wave image of the first resolution.
[0082] Specifically, a floating point coordinate (i+u, j+v) in the acoustic wave image of the first resolution can be distributed to the four nearest integer coordinates according to the weight, and then the pixel value of the floating point coordinate is obtained by the pixel values of the four integer coordinates. Among them, a floating point number can refer to a non-integer point between two known data points. A floating point number is a format of data, which represents the composition of the data and includes two parts, an integer and a decimal. The core of smoothly amplifying the acoustic wave image of the first resolution based on the bilinear interpolation algorithm is to perform an interpolation calculation in the x and y directions respectively, so as to obtain the value of the floating point coordinate. In this embodiment, the farther the distance, the smaller the integer coordinate weight of the floating point coordinate (i+u, j+v).
[0083] In one embodiment, determining the pixel value of the target floating point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating point coordinate may include the following calculation method:
[0084] f(i+u,j+v)=(1-u)(1-v)f(i,j)+(1-u)vf(i,j+1)+u(1-v)f(i+1,j)+uvf(i+1,j+1);
[0085] In the formula, (i+u, j+v) can represent the coordinates of a floating-point number, f() can represent a pixel value, i and j can represent the integer part of a floating-point number, u and v can represent the decimal part of a floating-point number, and (i,j), (i,j+1), (i+1,j), and (i+1,j+1) can respectively represent the four integer coordinates closest to the target floating-point coordinates.
[0086] It should be understood that, although the steps in the flowcharts of the accompanying drawings of the specification are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts of the accompanying drawings of the specification may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0087] Based on the description of the above-mentioned method embodiment for realizing acoustic wave imaging based on a single FPGA, the present disclosure also provides a device for realizing acoustic wave imaging based on a single FPGA. The device may include a device (including a distributed system), software (application), module, component, server, client, etc. using the method described in the embodiment of this specification and a device combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided by the embodiment of the present disclosure is as described in the following embodiments. Since the implementation scheme and method for solving the problem of the device are similar, the implementation of the specific device in the embodiment of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware for predetermined functions. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0088] The present application also provides a device for realizing acoustic wave imaging based on a single FPGA. Figure 8 This is a structural schematic diagram of an apparatus for implementing acoustic wave imaging based on a single FPGA in one of the embodiments of the present application. In one of the embodiments, the apparatus for implementing acoustic wave imaging based on a single FPGA may include a microphone array board 100 and an FPGA processing module 200.
[0089] The microphone array board 100 can be used to collect sound wave signals from a sound source. The FPGA processing module 200 can be connected to the microphone array board 100. Specifically, the FPGA processing module 200 and the microphone array board 100 can be connected via a data connection line. A plurality of microphones can be provided on the microphone array board 100. The microphone array board can collect sound wave signals from a sound source. In this embodiment, the sound wave signal may include data collected by all microphones on the microphone array board.
[0090] The FPGA processing module 200 can be used to process the acoustic wave signal based on the time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of a first resolution, and to process the acoustic wave image of the first resolution based on the bilinear interpolation algorithm to obtain an acoustic wave image of a second resolution. The FPGA processing module 200 uses the time-delay acoustic wave imaging algorithm to perform time delay compensation on the phases of different microphones in the acoustic wave signal, and forms an acoustic wave image of a first resolution based on the data processed by the time-delay acoustic wave imaging algorithm. After forming an acoustic wave image of a first resolution based on the data processed by the time-delay acoustic wave imaging algorithm, the bilinear interpolation algorithm can be used to amplify the acoustic wave image of the first resolution to obtain an acoustic wave image of a second resolution.
[0091] In some embodiments, the FPGA processing module 200 can transmit the sound wave pattern of the second resolution to an external device through the sound wave output interface data connection line.
[0092] The device for implementing acoustic wave imaging based on a single FPGA provided in the present application greatly reduces the amount of calculation in the FPGA chip by combining the time-delay acoustic wave imaging algorithm and the bilinear interpolation algorithm. In addition, compared with the traditional frequency-domain acoustic wave imaging algorithm, the improved time-delay acoustic wave imaging algorithm used in the present application greatly reduces the resources occupied by the FPGA, making it more suitable for running on the FPGA chip, while not losing the imaging positioning accuracy of the sound, so that the acoustic wave imaging algorithm can be implemented in an FPGA chip. The above-mentioned device for implementing acoustic wave imaging based on a single FPGA can ensure that the acoustic wave imaging function can run efficiently on a single FPGA chip through the coordinated optimization design of the software algorithm and the hardware architecture, and can also improve the quality of acoustic wave imaging. In addition, the integrated single-chip device can improve the processing speed and efficiency of acoustic wave imaging and reduce the time for data processing and conversion.
[0093] refer to Figure 1 and Figure 8 It can be seen that compared with Figure 1 Compared with the existing acoustic wave shaping devices, the device for realizing acoustic wave imaging based on a single FPGA provided by the present application reduces one ARM chip, and a single FPGA chip can realize the complete acoustic wave imaging function. By integrating the functions that originally required the FPGA chip and the ARM architecture processing chip to be completed together into one FPGA chip for operation, the number of hardware components and the complexity of the connection can be reduced, and the number of required hardware components can be reduced, thereby simplifying the hardware structure of the entire device. Simpler hardware connections and the number of components can also make the device for realizing acoustic wave imaging based on a single FPGA provided by the present application easier to integrate into a larger system, and it is also more convenient to maintain. In addition, the device provided by the present application uses a single-chip design, which requires fewer chips and a simpler assembly process, thereby also reducing material and production costs.
[0094] Fig. 9 This is a schematic diagram of the performance parameters of a device for implementing acoustic wave imaging based on a single FPGA in an aging test in one embodiment of the present application, wherein: Fig. 9 a is a statistical diagram of current changes in a whole-machine aging test of a device for implementing acoustic wave imaging based on a single FPGA in one embodiment of the present application, Fig. 9 b is a statistical diagram of temperature changes during the aging test of a device for implementing acoustic wave imaging based on a single FPGA in one of the embodiments of the present application. Fig. 9 a shows the current change of the whole device based on a single FPGA for acoustic imaging provided by the present application after aging for 2 hours at a power supply voltage of 5V. Fig. 9 It can be seen from a that after 2 hours of aging, the current of the whole machine is stabilized at 0.6 amperes. According to the power calculation formula P=UI, it can be calculated that the whole machine power consumption of the device for realizing acoustic wave imaging based on a single FPGA provided by the present application is 3 watts, which is significantly lower than the whole machine power consumption of 7 watts of similar products in the industry.
[0095] Fig. 9 b shows the temperature change of the whole device for acoustic imaging based on a single FPGA provided in this application after aging for 2 hours at a power supply voltage of 5V. Fig. 9 b It can be seen that after aging for 2 hours, the temperature of the whole machine is stable at 70 degrees Celsius without large fluctuations, and the temperature rise of the device is within a reasonable range and relatively stable, which can indicate that the whole machine is relatively stable. It can be seen that the device for realizing acoustic wave imaging based on a single FPGA provided by this application can realize reliable acoustic wave imaging after aging for 2 hours.
[0096] Combination Fig. 9 a and Fig. 9 b It can be seen that compared with the traditional acoustic wave imaging device, the device for implementing acoustic wave imaging based on a single FPGA provided by the present application can reduce the overall power consumption of the system due to the simplified hardware structure and low-power design. Compared with the traditional multi-chip solution, it is more energy-efficient, and the working state of the device is more stable and reliable. Reducing power consumption also means reducing energy consumption and heat generation, which helps to build a more environmentally friendly system.
[0097] Fig.10 This is a structural diagram of the FPGA processing module in one of the embodiments of the present application. In one of the embodiments, the FPGA processing module 200 may include a data integration unit 210, a low-pass filtering unit 220 and a band-pass filtering unit 230.
[0098] The data integration unit 210 can be used to perform data integration on the sound wave signal. The microphone array board 100 can transmit the sound wave signal collected from the sound source to the data integration unit 210, and the data integration unit 210 can perform data integration on the sound wave signal. Among them, the data integration operation can be to convert the sound wave signals collected from different microphones into the same sampling rate, quantization accuracy, etc. to ensure the consistency of processing, and can also combine the sound wave signals from multiple microphones to improve the signal quality or extract spatial information through weighted averaging, maximum value selection, etc.
[0099] The low-pass filter unit 220 can be connected to the data integration unit 210, and the low-pass filter unit 220 can be used to perform low-pass filtering on the sound wave signal. The data integration unit 210 can transmit the sound wave signal after data integration to the low-pass filter unit 220, and the low-pass filter unit 220 performs low-pass filtering on the sound wave signal. The high-frequency noise in the sound wave signal can be removed by low-pass filtering to reduce random noise and pulse interference in the sound wave signal.
[0100] The bandpass filter unit 230 can be connected to the low-pass filter unit 220, and the bandpass filter unit 230 can be used to perform bandpass filtering on the sound wave signal. The low-pass filter unit 220 can transmit the sound wave signal that has completed the low-pass filtering to the bandpass filter unit 230, and the bandpass filter unit 230 performs bandpass filtering on the sound wave signal. Through bandpass filtering, sound wave signals in a specific frequency range can be selectively allowed to pass, so as to eliminate the interference of irrelevant frequency bands on the sound wave signal and reduce the influence of noise.
[0101] Before using the time-delay acoustic imaging algorithm to process the acoustic wave signal, the above-mentioned device first uses the data integration unit 210, the low-pass filter unit 220 and the band-pass filter unit 230 to pre-process the acoustic wave signal, which can convert the acoustic wave signal into a representation suitable for further analysis or application, remove unnecessary noise, improve the quality of the acoustic wave signal, extract useful information, and provide more accurate and effective data for realizing acoustic wave imaging.
[0102] In one embodiment, see Fig.10 The FPGA processing module 200 may further include a delay calculation unit 240 , a sound intensity calculation unit 250 , and a pixel point sound intensity arrangement unit 260 .
[0103] The delay calculation unit 240 can be connected to the bandpass filtering unit 230, and the delay calculation unit 240 can be used to perform sound wave delay calculation on the sound wave signal, determine the delay correction parameters of each microphone, and perform delay correction on the sound wave signal based on the delay correction parameters of each microphone.
[0104] In one embodiment, the delay calculation unit 240 performs sound wave delay calculation on the sound wave signal, and can perform the following calculation method when determining the delay correction parameters of each microphone:
[0105] t=(x*sin(θ)*cos(φ)+y*cos(θ)*sin(φ)) / c;
[0106] In the formula, t can represent the delay correction parameter of each microphone, x can represent the horizontal coordinate of each microphone in the sound wave area to be detected, y can represent the vertical coordinate of each microphone in the sound wave area to be detected, θ can represent the azimuth angle between the sound source and each microphone, φ can represent the pitch angle between the sound source and each microphone, and c can represent the speed of sound. In the above formula, the time unit of t is second, and the speed of sound c = 345m / s.
[0107] The delay calculation unit 240 uses the above-mentioned calculation method to perform delay calculation on the sound wave signals of the sound source collected by each microphone, and can determine the delay correction parameters corresponding to each microphone, so that the delay correction parameters corresponding to each microphone can be used to perform delay correction on the sound wave signals, so that the sound wave signals collected by each microphone can be accurately aligned in phase.
[0108] The sound intensity calculation unit 250 can be connected to the time delay calculation unit 240, and the sound intensity calculation unit 250 can be used to calculate the sound intensity of the sound wave signal and determine the sound intensity of each microphone. After the time delay correction of the sound wave signal is realized, the sound intensity calculation unit 250 can calculate the corresponding sound intensity value of each microphone according to the sound wave signal after the same phase superposition received by each microphone.
[0109] The pixel sound intensity arrangement unit 260 can be connected to the sound intensity calculation unit 250, and the pixel sound intensity arrangement unit 260 can be used to arrange and combine the sound wave signals by pixel sound intensity to form a sound wave image of the first resolution. The pixel sound intensity arrangement unit 260 can perform pixel sound intensity arrangement and combination calculation based on the sound intensity value corresponding to each microphone. Specifically, the pixel sound intensity arrangement unit 260 can assign the sound intensity value to the virtual pixel points in the two-dimensional or three-dimensional space. This process can reversely determine the direction of the sound source based on the geometric layout of the microphone array board and the time difference of the sound wave reaching each microphone (wherein the time difference can be determined based on the time delay calculation in the above steps). The sound intensity value of each pixel is mapped to a grayscale or color intensity to form a sound wave image of the first resolution.
[0110] In one embodiment, see Fig.10 , the FPGA processing module 200 may further include a bilinear interpolation calculation unit 270 .
[0111] The bilinear interpolation calculation unit 270 can be connected to the pixel sound intensity arrangement unit 260. The bilinear interpolation calculation unit 270 can be used to assign the target floating-point coordinate to the four integer coordinates closest to the target floating-point coordinate according to the weight for any target floating-point coordinate in the sound wave image of the first resolution, and determine the pixel value of the target floating-point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating-point coordinate.
[0112] The bilinear interpolation calculation unit 270 can smoothly enlarge the acoustic wave image of the first resolution based on the bilinear interpolation algorithm to obtain the acoustic wave image of the second resolution. Specifically, the bilinear interpolation calculation unit 270 can distribute a floating point coordinate (i+u, j+v) in the acoustic wave image of the first resolution to the four nearest integer coordinates according to the weight, and then obtain the pixel value of the floating point coordinate through the pixel values of the four integer coordinates. Among them, a floating point number can refer to a non-integer point between two known data points. A floating point number is a format of data that represents the composition of the data, including two parts: an integer and a decimal.
[0113] In one embodiment, the bilinear interpolation calculation unit 270 may perform the following calculation method when determining the pixel value of the target floating point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating point coordinate:
[0114] f(i+u,j+v)=(1-u)(1-v)f(i,j)+(1-u)vf(i,j+1)+u(1-v)f(i+1,j)+uvf(i+1,j+1);
[0115] In the formula, (i+u, j+v) can represent the coordinates of a floating-point number, f() can represent a pixel value, i and j can represent the integer part of a floating-point number, u and v can represent the decimal part of a floating-point number, and (i,j), (i,j+1), (i+1,j), and (i+1,j+1) can respectively represent the four integer coordinates closest to the target floating-point coordinates.
[0116] The device for implementing acoustic wave imaging based on a single FPGA provided in the present application also has the advantage of high integration. By performing a highly integrated chip design on the FPGA processing module 200 and integrating multiple functional units into a single FPGA chip, dependence on external components can be reduced.
[0117] Fig.11 This is a schematic diagram of the structure of a device for implementing acoustic wave imaging based on a single FPGA in another embodiment of the present application. In one of the embodiments, the device for implementing acoustic wave imaging based on a single FPGA may also include a DC-DC power supply integrated module 300.
[0118] The DC-DC power integrated module 300 may be connected to the FPGA processing module 200 , and the DC-DC power integrated module 300 may be used to provide working power to the FPGA processing module 200 . Fig.12 FIG. 1 is a schematic diagram of the circuit principle of a DC-DC power supply integrated module in one embodiment of the present application. In this embodiment, the DC-DC power supply integrated module 300 is designed as follows: Fig.12 The circuit shown can integrate the power inductor in the traditional DC-DC power supply circuit into the DC-DC chip, thereby greatly reducing the PCB area used in the circuit design, reducing the complexity of the PCB design, and also reducing the electromagnetic radiation problem caused by the external power inductor.
[0119] In one embodiment, if Fig.11 As shown, the device for implementing acoustic wave imaging based on a single FPGA may further include a DDR memory chip 400. The DDR memory chip 400 may be used to store and transmit data processed in the device for implementing acoustic wave imaging based on a single FPGA.
[0120] It is understandable that the various embodiments of the above methods, systems, etc. in this specification are described in a progressive manner, and the same / similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. For related parts, refer to the description of other method embodiments.
[0121] Fig.13 This is a schematic diagram of the system structure for implementing a method for acoustic wave imaging based on a single FPGA in one embodiment of the present application. Fig.13 The system S00 for implementing acoustic wave imaging based on a single FPGA may include a processing component S20, which further includes one or more processors, and a memory resource represented by a memory S22 for storing instructions executable by the processing component S20, such as an application. The application stored in the memory S22 may include one or more instructions, and each module corresponds to a set of instructions. In addition, the processing component S20 is configured to execute instructions to perform the above-mentioned method for implementing acoustic wave imaging based on a single FPGA.
[0122] The system S00 for implementing acoustic wave imaging based on a single FPGA may further include: a power supply component S24 configured to perform power management of the system S00 for implementing acoustic wave imaging based on a single FPGA, a wired or wireless network interface S26 configured to connect the system S00 for implementing acoustic wave imaging based on a single FPGA to a network, and an input / output (I / O) interface S28. The system S00 for implementing acoustic wave imaging based on a single FPGA may operate based on an operating system stored in the memory S22, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD or the like.
[0123] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory S22 including instructions, and the above instructions can be executed by a processor of a system S00 for implementing acoustic wave imaging based on a single FPGA to complete the above method. The storage medium can be a computer-readable storage medium, for example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0124] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by a processor of the system S00 for implementing acoustic wave imaging based on a single FPGA to complete the above method.
[0125] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.14 As shown, Fig.14 This is an internal structure diagram of a computer device in one of the embodiments of the present application. The computer device includes a processor, a memory and a network interface connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to users and tasks used in the above-mentioned method for realizing acoustic wave imaging based on a single FPGA. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a method for realizing acoustic wave imaging based on a single FPGA.
[0126] Those skilled in the art will understand that Fig.14The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0128] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0129] It should be noted that the above-mentioned devices, electronic devices, servers, etc. may also include other implementation methods according to the description of the method embodiments, and the specific implementation methods may refer to the description of the relevant method embodiments. At the same time, the new embodiments composed of the mutual combination of the features between the various methods and device, equipment, and server embodiments still fall within the scope of implementation covered by the present disclosure, and will not be described one by one here.
[0130] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", "ideal embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
[0131] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0132] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.
Claims
1. A method for realizing acoustic wave imaging based on a single FPGA, characterized in that: include: The sound wave signal of the sound source is collected by using a microphone array board; Processing the acoustic wave signal based on a time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of a first resolution; The acoustic wave image of the first resolution is processed based on a bilinear interpolation algorithm to obtain an acoustic wave image of a second resolution; the second resolution is greater than the first resolution.
2. The method for realizing acoustic wave imaging based on a single FPGA according to claim 1, characterized in that: Before processing the acoustic wave signal based on the time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of the first resolution, the method further includes: The acoustic wave signal is preprocessed; the preprocessing includes data integration and filtering conversion.
3. The method for realizing acoustic wave imaging based on a single FPGA according to claim 1 or 2, characterized in that: The microphone array board includes a plurality of microphones, and the processing of the acoustic wave signal based on the time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of a first resolution includes: Performing sound wave delay calculation on the sound wave signal to determine the delay correction parameters of each microphone; Performing delay correction on the sound wave signal based on the delay correction parameters of each of the microphones; Calculating the sound intensity of the sound wave signal to determine the sound intensity of each microphone; The acoustic wave signal is subjected to pixel point sound intensity arrangement and combination to form the acoustic wave image of the first resolution.
4. The method for realizing acoustic wave imaging based on a single FPGA according to claim 3, characterized in that: The step of calculating the acoustic wave delay of the acoustic wave signal and determining the delay correction parameters of each microphone includes: t=(x*sin(θ)*cos(φ)+y*cos(θ)*sin(φ)) / c; In the formula, t represents the time delay correction parameter of each microphone, x represents the horizontal coordinate of each microphone in the sound wave area to be detected, y represents the vertical coordinate of each microphone in the sound wave area to be detected, θ represents the azimuth angle between the sound source and each microphone, φ represents the pitch angle between the sound source and each microphone, and c represents the speed of sound.
5. The method for realizing acoustic wave imaging based on a single FPGA according to claim 3, characterized in that: After calculating the acoustic wave delay of the acoustic wave signal and determining the delay correction parameters of each microphone, the method further includes: The delay correction parameters of each microphone are converted into the system clock number of the FPGA.
6. The method for realizing acoustic wave imaging based on a single FPGA according to claim 1, characterized in that: The step of converting the delay correction parameters of each microphone into the system clock number of the FPGA includes: t clk =t*fs; In the formula, t clk represents the system clock number of FPGA, t represents the delay correction parameter of each microphone, and fs represents the sampling rate of FPGA.
7. The method for realizing acoustic wave imaging based on a single FPGA according to claim 1, characterized in that: The step of processing the acoustic wave image of the first resolution based on a bilinear interpolation algorithm to obtain an acoustic wave image of a second resolution includes: For any target floating-point coordinate in the acoustic wave image of the first resolution, assigning the target floating-point coordinate to four integer coordinates closest to the target floating-point coordinate according to a weight; The pixel value of the target floating-point coordinate is determined according to the pixel values respectively corresponding to the four integer coordinates closest to the target floating-point coordinate.
8. The method for realizing acoustic wave imaging based on a single FPGA according to claim 7, characterized in that: Determining the pixel value of the target floating-point coordinate according to the pixel values respectively corresponding to the four integer coordinates closest to the target floating-point coordinate comprises: f(i+u,j+v)=(1-u)(1-v)f(i,j)+(1-u)vf(i,j+1)+u(1-v)f(i+1,j)+uvf(i+1,j+1); In the formula, (i+u, j+v) represents the coordinates of the floating point number, f() represents the pixel value, i and j represent the integer part of the floating point number, u and v represent the decimal part of the floating point number, (i,j), (i,j+1), (i+1,j), (i+1,j+1) respectively represent the four integer coordinates closest to the target floating point coordinates.
9. A device for realizing acoustic wave imaging based on a single FPGA, characterized in that: include: A microphone array board is used to collect sound wave signals from sound sources; The FPGA processing module is connected to the microphone array board and is used to process the acoustic wave signal based on a time-delay acoustic wave imaging algorithm to obtain an acoustic wave image of a first resolution, and to process the acoustic wave image of the first resolution based on a bilinear interpolation algorithm to obtain an acoustic wave image of a second resolution.
10. The device for realizing acoustic wave imaging based on a single FPGA according to claim 9, characterized in that: The FPGA processing module includes: A data integration unit, used for performing data integration on the acoustic wave signal; A low-pass filtering unit, connected to the data integration unit, for performing low-pass filtering on the sound wave signal; The bandpass filter unit is connected to the low-pass filter unit and is used to perform bandpass filtering on the sound wave signal.
11. The device for realizing acoustic wave imaging based on a single FPGA according to claim 10, characterized in that: The FPGA processing module also includes: A delay calculation unit, connected to the bandpass filtering unit, for performing sound wave delay calculation on the sound wave signal, determining a delay correction parameter of each of the microphones, and performing delay correction on the sound wave signal based on the delay correction parameter of each of the microphones; A sound intensity calculation unit, connected to the time delay calculation unit, for calculating the sound intensity of the sound wave signal to determine the sound intensity of each microphone; The pixel point sound intensity arrangement unit is connected to the sound intensity calculation unit and is used to arrange and combine the pixel point sound intensities of the sound wave signal to form the sound wave image of the first resolution.
12. The device for realizing acoustic wave imaging based on a single FPGA according to claim 11, characterized in that: The FPGA processing module also includes: A bilinear interpolation calculation unit is connected to the pixel sound intensity arrangement unit, and is used to assign, for any target floating-point coordinate in the acoustic wave image of the first resolution, the target floating-point coordinate to the four integer coordinates closest to the target floating-point coordinate according to a weight, and determine the pixel value of the target floating-point coordinate according to the pixel values corresponding to the four integer coordinates closest to the target floating-point coordinate.
13. The device for realizing acoustic wave imaging based on a single FPGA according to claim 9, characterized in that: The device also includes: A DC-DC power supply integrated module is connected to the FPGA processing module and is used to provide working power to the FPGA processing module.
14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for implementing acoustic wave imaging using a single FPGA as described in any one of claims 1 to 9 are implemented.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for implementing acoustic wave imaging using a single FPGA as described in any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Method for self-adapting to system error of self-adaptive ultrasonic phased-array detection device
CN102866209A
Method for delaying self-adaptive ultrasonic phased array wedge
CN102879480A
Doppler full-process quantitative analysis method and device, electronic equipment and storage medium
CN114255226A
Matrix scanning-based macroscopic Fourier lamination super-resolution imaging method
CN114660060A
Array panel of microphone array and acoustic imager
CN116437269A
