A computationally efficient pulse compression method of Barker-coded excitation using a mismatched filter in medical ultrasound imaging
Article information
Abstract
Purpose
Barker-coded excitation, which is well suited for portable ultrasound imaging because it preserves frame rate and uses binary encoding, exhibits a high range sidelobe level of 1/N after pulse compression. This limitation can be mitigated by employing a mismatched filter, albeit at the cost of increased computational complexity. This study proposes a pulse compression technique that applies a mismatched filter for Barker-coded excitation with reduced computational complexity.
Methods
In the proposed method, pulse compression is performed using complex baseband in-phase and quadrature (IQ) data after decimation rather than beamformed radio-frequency (RF) data. By decimating both the IQ data and the coefficients of the compression filter, hardware complexity can be reduced by a factor of L2 (where L is the decimation factor) through the use of time-shared multipliers. The proposed approach was implemented in a custom-built portable ultrasound imaging system, and its performance was evaluated through simulations as well as phantom and in vivo experiments.
Results
From the simulation and phantom experiments, the proposed method achieved an identical −6 dB axial resolution compared to the conventional approach, i.e., pulse compression using RF data. The range sidelobes were comparable between the conventional and proposed methods, and consistent results were also obtained in the in vivo experiment.
Conclusion
These findings demonstrate that the proposed method substantially reduces computational complexity while maintaining pulse compression performance.
Introduction
The image quality of medical ultrasound systems is primarily determined by their spatial resolution and signal-to-noise ratio (SNR). However, a well-known trade-off exists between resolution and SNR in ultrasound imaging. Short pulses are typically used to achieve high resolution but result in lower SNR or reduced pulse energy. Although increasing the excitation amplitude can improve SNR, it may induce unwanted bioeffects, such as heating or tissue damage. Using a longer transmit pulse offers an alternative means to increase SNR, but it does so at the expense of axial resolution.
Coded excitation was first introduced in radar applications and later extended to medical ultrasound imaging [1,2]. However, it attracted limited attention in the medical ultrasound community until the 1990s, largely due to the time–bandwidth limitation identified by Takeuchi [1] and the implementation challenges associated with performing pulse compression or correlation on every channel. In 1992, O’Donnell [3] reported that coded excitation could enhance SNR by approximately 15–20 dB. By using coded excitation, a longer transmit pulse can be employed without increasing the peak intensity, as pulse compression restores axial resolution while increasing total pulse energy. For practical implementation, pulse compression was performed after beamforming. Since then, extensive studies have explored coded excitation and pulse compression techniques.
Among various coded sequences, most studies have focused on the chirp, or linear frequency modulation signal, which provides excellent SNR improvement and robustness against attenuation [3–12]. However, chirp excitation requires an arbitrary waveform generator, making it feasible only for high-end ultrasound systems. Binary complementary Golay codes, in which range sidelobes can be perfectly canceled using Golay pairs, can be transmitted with conventional bipolar pulsers [13–15]. Nevertheless, Golay coding requires two sequential transmissions, resulting in a halved frame rate and potential motion-induced decoding errors.
For single-transmit binary codes, the Barker code provides the lowest range sidelobe level (RSLL) [16]. RSLL is defined as the ratio between the mainlobe and the sidelobe peak amplitudes. When a matched filter is used for pulse compression, the RSLL of Barker codes equals 1/N (where N is the code length). Unfortunately, only seven Barker codes exist, and the longest contains 13 chips. Consequently, the RSLL remains above −22.3 dB after compression with a matched filter. Given that the dynamic range of medical ultrasound imaging systems exceeds 60 dB [8], this RSLL is insufficient for high-quality imaging.
To address this issue, pulse compression using inverse filtering, pseudoinverse filtering, or mismatched filtering has been investigated [17–21]. Ideally, an inverse filter can flatten the spectral ripples of the transmitted code, yielding a completely uniform spectrum after compression. However, the inverse filter’s performance is highly sensitive to the system SNR [8,20]. Alternatively, mismatched filters—typically three to five times longer than matched filters—can effectively reduce RSLL [18,19]. Studies have shown that mismatched filters can improve SNR while suppressing RSLL to below −40 dB. However, because their coefficients are multilevel, mismatched filters require multipliers for compression. In contrast, matched filters for binary codes can be implemented using only adders, as their coefficients are limited to ±1. Moreover, mismatched filters are significantly longer: for example, a 13-chip Barker code with center and sampling frequencies of 10 MHz and 40 MHz requires a 156- or 260-tap filter for radiofrequency (RF)-domain pulse compression. This computational demand remains prohibitive for portable ultrasound systems.
This study presents a computationally efficient pulse compression method for Barker-coded excitation using a mismatched filter designed for portable ultrasound imaging. In the proposed approach, pulse compression is performed on in-phase and quadrature (IQ) data after decimation. Because both the IQ data and the compression filter coefficients are decimated, hardware complexity can be reduced by a factor of L2 (where L is the decimation factor) using time-shared multipliers. The proposed method was implemented in a custom-built portable ultrasound imaging system, and its performance was evaluated through simulations, as well as in vitro and in vivo experiments.
Materials and Methods
Compliance with Ethical Standards
All study procedures were approved by the Institutional Review Board of Inje University (INJE 2023-11-018).
Conventional and Proposed Pulse Compression
The binary code used in this paper is Barker code with a length of 13 (Barker-13); s(n) = [1, 1, 1, 1, 1, −1, −1, 1, 1, −1, 1, −1, 1]. To effectively transmit the signal through the transducer passband, the binary codes must be modulated by a modulation sequence m(n). This modulation sequence consists of one or more cycles of a bipolar pulse at the transducer’s center frequency. To achieve this, oversampling of the code sequence is first performed:
where the number of inserted zeros is M-1 (M=fc/fs, where fc and fs are the center and sampling frequencies, respectively). The modulated code sequence is then obtained by
where * denotes the convolution operator. In conventional pulse compression with RF data after beamforming, the receive data, r(n), can be compressed by correlating it with the modulated code sequence (Fig. 1A)
Block diagrams of the conventional and proposed pulse compression methods.
In the conventional method (A), pulse compression is performed after receive beamforming, whereas it is conducted with baseband in-phase and quadrature data after decimation in the proposed methods (B).
In the proposed method, pulse compression is performed using IQ data after decimation, as shown in Fig. 1B. Since the sampling frequency is typically 40 MHz (≥4fc), the data rate of IQ can be decimated to fc; thus, at least 4-fold decimation can be performed. After demodulating the beamformed RF data, decimation is applied to produce the baseband IQ data: Id(n) and Qd(n). Then, pulse compression is performed as follows:
Although this method requires two convolution operations for pulse compression, it can be efficiently implemented using a single convolution through time-sharing, since both the IQ data and the filter coefficients are decimated.
Mismatched Filter
A mismatched filter is used to achieve a lower RSLL while maintaining the mainlobe width. For chirp-coded excitation, mismatched filters can be obtained by applying appropriate window functions to the excitation sequences [8,9]. However, for biphase codes, mismatched filters are optimized according to integrated sidelobe energy or peak sidelobe (PSL) criteria, defined as [18]:
where Rk is the cross-correlation between the coded sequence (s(n)) and the compression/sub filter. Previous studies have shown that a PSL-optimized mismatched filter with a length three times that of the original code can reduce RSLL to below −40 dB with only a marginal SNR loss [18]. Table 1 lists the RSLLs and SNR losses for PSL-optimized mismatched filters whose lengths are 3, 5, and 7 times the original code length.
RSLLs and SNR losses for mismatched filters with lengths 3, 5, and 7 times the Barker-13 code length
As shown in Table 1, increasing the filter length further suppresses RSLL with only a slight decrease in SNR. However, the difference in RSLL suppression between filters five and seven times the code length is minimal. Therefore, a mismatched filter length five times that of the code was selected for this study. Fig. 2 presents pulse compression results for the Barker-13 sequence using both matched and mismatched filters. Notably, the axial resolution remained consistent across all mismatched filter lengths, indicating that axial resolution is robust to filter length variations.
Overview of Custom-Built Portable Ultrasound Imaging System
Fig. 3 shows a block diagram and photograph of the custom-built portable ultrasound imaging system implemented on a field-programmable gate array (FPGA). The system included a 32-channel ultrasound imaging module and a power module. The imaging module comprised four 8-channel pulsers, eight 16-channel high-voltage multiplexers, a 32-channel analog front-end chip operating at 40 MHz with a low-voltage differential signaling interface, an Artix-7 FPGA, and a high-speed USB module. The sampling frequency was 40 MHz. The FPGA supported a 32-channel transmit/receive beamformer and mid-processing. To integrate all signal processing into a single FPGA, a pseudo-dynamic receive beamformer with a post-filtering method and look-up-table-based processing was used to minimize hardware complexity [22,23]. Mid-processing includes high-pass filtering, digital time-gain compensation, quadrature demodulation, and decimation. A real-time controller is integrated within the FPGA to synchronize all modules, including the transmit and receive subsystems. Baseband IQ data are transferred to an Android device via a USB 3.0 interface for back-end processing. The back-end was developed using Android Studio, and image processing was implemented using the OpenCV4Android library. Table 2 summarizes the FPGA resource utilization of the developed portable ultrasound imaging system, analyzed using Vivado 2024 (AMD, Santa Clara, CA, USA). As shown in Table 2, the 32-channel transmit/receive beamformer and mid-processing— including the proposed mismatched filtering for baseband compression—were successfully implemented on a single FPGA.
Overall block diagram and photography of developed prototype ultrasound system.
Overall block diagram of the portable ultrasound imaging system (A) and the photography of developed prototype ultrasound system (B) are shown. HV MUX, high-voltage multiplexer; FPGA, field-programmable gate array; LVDS, low-voltage differential signaling; USB, universal serial bus; Mid, mid-level processing.
Experimental Setup and Evaluation Metrics
Both Field II simulations and phantom experiments were conducted to evaluate the performance of the proposed method. In the Field II simulations, pre-beamformed RF data sampled at 40 MHz were generated using a linear array transducer with a center frequency of 10 MHz and a fractional bandwidth of 70%. The 13-chip Barker code (Barker-13) with one-cycle modulation was used for transmission. The frequency-dependent attenuation coefficient was set to 0.5 dB/cm/MHz. For the in vitro experiments, the developed ultrasound system equipped with a 10 MHz linear array transducer (FCU Co., Ltd., Daejeon, Korea) was used to scan a tissue-mimicking phantom (Multipurpose Phantom N-365, Kyoto Kagaku Co., Ltd., Kyoto, Japan). The acquired beamformed RF data were processed offline using MATLAB (MathWorks, Natick, MA, USA) for quantitative analysis. In both simulations and experiments, four-fold decimation was applied to reduce the data rate to fc.
For the in vivo experiments, the carotid artery region was imaged using the developed portable ultrasound system. Both coded excitation and the proposed pulse compression method were implemented on the FPGA. Pulse compression using four-fold-decimated IQ data was conducted on the FPGA, and the compressed IQ data were then transferred to an Android device (Samsung Galaxy Tab S6, Suwon, Korea). Only one mismatched filter with 65 coefficients (13×5) was used for baseband IQ pulse compression via the time-sharing method. In contrast, RF-domain pulse compression would require 260 filter coefficients, which exceeded the FPGA’s available resources; thus, only the proposed method was implemented in this system.
For quantitative evaluation, the −6 dB axial resolutions and RSLLs were measured. In the phantom experiments, SNR was calculated as:
where Pe(z) and Pn(z) are the powers of the ultrasound and noise signals along the imaging depth. The system noise signal was acquired without transmitting any ultrasound pulses.
Results
Fig. 4 presents the simulated ultrasound B-mode images obtained with pulsed and Barker-coded excitation using matched and mismatched filters. For the mismatched filter, pulse compression was performed using both RF and baseband signals. The dynamic range for all images was set to 50 dB. As shown in Fig. 4, the B-mode image produced by the matched filter exhibited a high RSLL, whereas the images generated with the mismatched filters (Fig. 4C, D) closely resembled those produced by the pulsed excitation method. For quantitative comparison, the axial profiles at the transmit focal depth (20 mm) are plotted in Fig. 5. The −6 dB axial resolutions were 0.16 mm for all methods. The RSLL values were −21.40 dB for the matched filter and −45.39 dB for the mismatched filters. Without attenuation, the RSLL for the mismatched filter with a length five times the code length was −57.64 dB, as listed in Table 1. However, the performance of pulse compression degraded due to frequency-dependent attenuation (0.5 dB/cm/MHz), consistent with previous reports [9]. Although this degradation can be partially mitigated using depth-dependent compression filtering [24], such an approach may introduce challenges for real-time implementation. Overall, the simulation results indicate that pulse compression with a mismatched filter substantially reduces RSLL, and the performance of the proposed method (baseband compression) is comparable to that of conventional RF compression.
Field II simulated ultrasound images.
Field II simulated ultrasound images with pulsed and Barker-coded excitation (A) using matched filtering (B), mismatched filter using radiofrequency (C), and mismatched filter using baseband signals (D) are shown. The image was logarithmically compressed with a dynamic range of 50 dB.
Fig. 6 shows the ultrasound phantom images with a dynamic range of 50 dB obtained using pulsed and coded excitation. Because of system noise, speckle patterns at greater depths were not clearly visualized even after applying time-gain compensation. In addition, the phantom used in the experiments had a relatively high attenuation coefficient (0.6 dB/cm·MHz) compared with other tissue-mimicking phantoms, further limiting speckle visibility at depth. Nevertheless, the SNR improvement achieved by coded excitation is readily apparent in Fig. 6. Consistent with the simulation results, the ultrasound images obtained using the matched filter exhibited high RSLL, whereas this artifact was not observed in the images produced by the mismatched filters. Axial beam profiles at a depth of 20 mm are presented in Fig. 7. All methods produced identical −6 dB axial resolutions (0.36 mm). The RSLL measured for the matched filter was −14.36 dB. Similar beam profiles were observed for both RF and baseband signals after pulse compression using mismatched filters. In these cases, the RSLLs were comparable to or lower than the strength of the speckle signal, rendering them obscured by the speckle patterns. The SNR values computed using Eq. (8) from the region of interest in Fig. 6A were 23.76 dB for pulsed excitation, 34.72 dB for the matched filter, and 34.15 dB for the mismatched filter. The SNR improvement achieved by coded excitation with the matched filter was 10.96 dB, slightly lower than the theoretical value of 11.14 dB (=20 log₁₀√13) [25]. The SNR loss with the mismatched filter compared with the matched filter was 0.57 dB, marginally higher than the simulated value (Table 1). As previously reported, frequency-dependent attenuation and system noise modify the spectrum of the received signal [9]. Consequently, the pulse-compression output no longer represents the ideal auto-correlation (or cross-correlation) function of the coded signal, leading to degradation in both SNR improvement and RSLL.
Tissue mimicking phantom images.
Tissue mimicking phantom images with pulsed and Barker-coded excitation (A) using matched filtering (B), mismatched filter using radiofrequency (C), and mismatched filter using baseband signals (D) are shown. The image was logarithmically compressed with a dynamic range of 50 dB.
Fig. 8 shows in vivo ultrasound images of the carotid artery acquired using the custom-built portable ultrasound imaging system with pulsed and Barker-coded excitation (Video clip 1). The frames shown in Fig. 8 were selected from Video clip 1 to provide visually comparable appearances. As shown in the figure, improved SNR achieved with coded excitation is evident in the far field and can be more clearly observed in Video clip 1. Notably, only the proposed method (baseband compression) was implemented on the FPGA of the custom-built portable ultrasound imaging system. Although slight blurring artifacts caused by post-pulse-compression error were observed in the near field, these artifacts are unlikely to affect diagnostic interpretability, as the primary goal of coded excitation is to enhance SNR in the far field. The post-compression artifacts can be mitigated by using a larger F-number (e.g., >4), though this would come at the expense of lateral resolution. In terms of spatial resolution in the far field, the proposed method provides image quality comparable to that obtained with conventional pulsed excitation, including clear delineation of the carotid artery boundaries and consistent speckle representation.
Discussion
This study proposed a pulse compression method for Barker-coded excitation using a mismatched filter designed to reduce computational complexity in portable ultrasound imaging systems. In the proposed approach, pulse compression was performed on baseband IQ data after decimation, thereby reducing computational complexity by a factor of 1/L2, since both the IQ data and the filter coefficients are decimated by L. The method was implemented on a custom-built portable ultrasound imaging system to demonstrate its feasibility and performance. Simulation, phantom, and in vivo experiments confirmed that the proposed method maintains image quality while significantly reducing computational complexity.
Notes
Author Contributions
Conceptualization: Choi HJ, Yoon C; Data acquisition: Han M; Data analysis or interpretation: Han M; Drafting of the manuscript: Han M, Yoon C; Critical revision of the manuscript: Choi HJ, Yoon C; Approval of the final version of the manuscript: all authors.
Conflict of Interest
No potential conflict of interest relevant to this article was reported.
Acknowledgments
This work was supported by a grant from Research Year of Inje University in 2025 (20240042).
Supplementary Material
Video clip 1.
Real-time ultrasound imaging of the carotid artery using conventional and coded excitation techniques.
References
Article information Continued
Notes
Key points
This study proposes a pulse compression technique that performs compression using complex baseband signals for portable ultrasound imaging systems. The proposed method was validated through simulations and experiments and implemented on a custom-built portable ultrasound imaging system for in vivo evaluation.
