Next Article in Journal
Manufacturing and Preliminary Testing of Nano-Filled Elastomeric Film Cover for Morphing Airfoil
Previous Article in Journal
Research on Crop Classification Using U-Net Integrated with Multimodal Remote Sensing Temporal Features
Previous Article in Special Issue
New Torsional Surface Elastic Waves in Cylindrical Metamaterial Waveguides for Sensing Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Convolution of Barker and Mutually Orthogonal Golay Complementary Codes for Ultrasonic Testing

1
Department of Civil Engineering and Architecture, Tallinn University of Technology, 19086 Tallinn, Estonia
2
Thomas Johann Seebeck Department of Electronics, Tallinn University of Technology, 19086 Tallinn, Estonia
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(16), 5007; https://doi.org/10.3390/s25165007
Submission received: 8 July 2025 / Revised: 4 August 2025 / Accepted: 12 August 2025 / Published: 13 August 2025
(This article belongs to the Collection Ultrasound Transducers)

Abstract

Ultrasonic testing (UT) is a vital nondestructive testing (NDT) technique used to evaluate the integrity of materials and structures. However, conventional excitation signals often suffer from significant attenuation in highly attenuative materials, resulting in low signal energy and poor signal interpretation. Coded excitation techniques, such as the Barker code and the complementary Golay code (CGC), have been used to enhance signal energy and signal-to-noise ratio. Yet, Barker codes are limited by short sequence lengths, while CGC requires two transmission events, reducing time efficiency. This paper proposes a novel excitation method: the Barker-convolved mutually orthogonal Golay complementary code (BMOGCC). By convolving the Barker code with the mutually orthogonal Golay complementary code (MOGCC), BMOGCC combines the advantages of both, including flexibility in code length, improved signal amplitude, low sidelobe levels, and enhanced time efficiency. Performance was evaluated using numerical simulations and laboratory experiments, with key indices including the peak sidelobe level (PSL), mainlobe gain (MG), and temporal resolution. The results show that BMOGCC achieves a significantly higher MG than either the Barker code or MOGCC alone while maintaining a low PSL and preserving the temporal resolution. These findings demonstrate that BMOGCC is effective and efficient for coding excitation signals in ultrasonic testing, offering improved signal quality and measurement time efficiency.

1. Introduction

Nondestructive testing (NDT) enables the inspection of materials, components, and structures without causing damage or interrupting their operation and is essential to ensure the safety and integrity of civil structures such as metal plates and pipelines [1,2,3]. Ultrasonic testing (UT), a critical NDT technique, is widely used in a number of fields, such as civil engineering, aerospace, and the energy industry, due to its high efficiency and ability to detect various types of defects [4,5,6]. UT involves the generation, transmission, and reception of ultrasonic waves that interact with defects in the material. The health condition of the material is then assessed by processing the received signals. Consequently, the quality of the received signals is vital to the reliability of UT.
Ultrasonic signals are vulnerable to attenuation and noise contamination in practical measurement environments. For example, signals can be heavily distorted due to long-distance propagation, such as in rail inspections [7]. In UT, signal energy is a valuable resource. High energy enables ultrasonic waves to propagate over longer distances, allowing the detection of material defects located farther from the ultrasonic transducer. One approach to increasing the signal energy under adverse measurement conditions is to raise the signal voltage. However, high voltage is often prohibited for various reasons, such as in flammable environments and due to limitations of data acquisition systems [8]. Another approach to increasing the signal energy is to extend the signal duration. However, simply extending the duration degrades the temporal resolution and creates strong sidelobes [9].
Coded signals employ extended coded pulses to increase signal energy without raising pulse voltage, thereby enhancing measurement reliability and safety. For a signal received from a UT system using a coded excitation signal, a decoding process commonly known as pulse compression is needed to compress the long coded signal into a narrow peak, thus enhancing signal amplitude without sacrificing temporal resolution [10,11]. These advantages make coded excitation signals widely used in UT, particularly for testing highly attenuated materials and performing long-distance inspections. Figure 1 presents a UT system using a coded excitation signal.
Coded signals were initially used in radar systems and later introduced into ultrasonic systems. In 1979, Takeuchi was the first to propose their application in medical ultrasound systems, emphasizing the benefits of spreading signal energy over time and highlighting the time-bandwidth product for improving the signal-to-noise ratio (SNR) [12]. Based on the modulation type of the carrier wave used to construct coded signals, coding methods can be categorized into frequency modulation (FM), amplitude modulation (AM), and phase modulation (PM). FM signals have a varying instantaneous frequency, resulting in better pulse compression. Numerous FM techniques, including linear FM, have been applied in UT. Linear FM is the simplest case, in which the instantaneous frequency changes linearly over time. Gan et al. demonstrated an SNR improvement in measurements of metal plates using linear FM [13]. AM encodes the signal by modulating the amplitude of the carrier wave. Eckersley et al. investigated the effectiveness of AM for imaging at low acoustic power [14]. In PM, the carrier wave retains constant amplitude and frequency, while modulation occurs through controlled phase shifts. These phase shifts facilitate more effective pulse compression by suppressing sidelobes. Various PM codes have been employed in UT, with Barker codes and the complementary Golay code (CGC) among the most commonly used. Barker codes are valued for their simplicity and relatively low sidelobe levels. For example, Jiang et al. used Barker codes to improve the SNR in the inspection of highly attenuated wood materials [15]. Using Barker codes, Xia et al. achieved greater effectiveness than average filtering in measuring material thickness [16]. CGC is capable of eliminating sidelobes, which are inevitable in Barker codes. Garcia-Rodriguez et al. employed CGC in air-coupled ultrasonic Lamb-wave systems to achieve more precise time-of-flight calculations [17]. Germano et al. applied CGC in the ultrasonic total focusing method, obtaining greater penetration depth and improved image quality [18].
However, Barker codes are limited to only seven unique sequences, with a maximum length of 13. This restricts their effectiveness in enhancing signal amplitude and SNR, and limits the flexibility to choose a suitable code length for practical measurements [19,20]. Although CGC shows excellent performance in sidelobe suppression and signal amplitude enhancement, it requires two transmission events, thereby halving the time efficiency of measurements [21,22]. Recent studies have attempted to address the limitations of Barker codes and CGC. Kim et al. proposed the Barker-convolved Golay code (BCGC), formed by convolving Barker codes with CGC, which expands code length flexibility and increases signal amplitude [23]. However, the study used only the 3-bit Barker code to construct the BCGC. Zeng et al. conducted a more comprehensive theoretical study covering all Barker code lengths [19]. Later, Zeng et al. explored the performance of BCGC for pipeline inspection [24]. BCGC provides more options in code length and improves signal amplitude but still suffers from the same low time efficiency as CGC. Yang et al. developed multivariate codes (MC), constructed from multiple convolutions of Barker codes and CGC, reducing the number of transmissions to one [25]. However, to achieve the same peak sidelobe level, MC requires nearly double the code length of BCGC, again compromising time efficiency. Although still requiring two transmission events, the mutually orthogonal Golay complementary code (MOGCC) enables simultaneous transmission from two transducers, thus achieving twice the data acquisition efficiency compared to CGC [26,27]. Although MOGCC addresses the time efficiency problem, its improvement in signal amplitude remains equivalent to that of CGC and is still inferior to BCGC. Therefore, the limitations of Barker codes and CGC have only been partially addressed, and more research is needed to achieve performance improvement.
In this paper, the Barker-convolved mutually orthogonal Golay complementary code (BMOGCC) is proposed for UT. BMOGCC combines the advantages of Barker codes and MOGCC, offering improved performance compared to conventional Barker codes, CGC, and recent developments like MOGCC, BCGC, and MC. Specifically, BMOGCC provides a higher signal amplitude than Barker codes, CGC, and MOGCC. In addition, BMOGCC achieves better time efficiency than the recently developed BCGC and MC. Moreover, BMOGCC offers more flexible code lengths to suit different testing requirements. To evaluate the effectiveness of BMOGCC, ultrasonic wave propagation in a steel block was simulated using two-dimensional (2D) finite element (FE) modeling, and corresponding laboratory experiments were conducted. The performance of BMOGCC was analyzed and compared with that of Barker codes and MOGCC. The rest of this paper is organized as follows. Section 2 introduces Barker codes and MOGCC, presents the derivation of BMOGCC, and defines the performance evaluation criteria. Section 3 validates the performance of BMOGCC through numerical simulations. Section 4 demonstrates the performance of BMOGCC on the basis of experimental data. Section 5 discusses the results, and Section 6 concludes this paper.

2. Methodology

2.1. Barker Codes

BMOGCC is formed by convolving the Barker code with MOGCC, thereby inheriting certain properties of Barker codes. Barker codes are widely used binary phase sequences due to their low sidelobe level after decoding. For a Barker-coded sequence B of length N B composed of B ( 1 ) , B ( 2 ) , B ( 3 ) , , B ( N ) , its autocorrelation, namely the decoded sequence C B , is as follows [28]:
C B ( j ) = i = 1 N B B ( i ) B ( i + j ) = N B , j = 0 0 o r ± 1 , 0 < j < N B . 0 , j N B
Equation (1) shows that the autocorrelation peak value is equal to the coded sequence length N B , and the sidelobe level is limited to 1, demonstrating the effectiveness of Barker codes in pulse compression. It is also evident that a longer sequence results in better compression performance. However, the maximum length of Barker codes is 13, which limits the maximum value of C B to 13. Table 1 lists Barker codes of different lengths.

2.2. MOGCC

When using CGC, a transducer requires two transmissions to achieve zero sidelobes, resulting in low time efficiency. This issue becomes more serious when inspecting large areas that require transducer relocation or the use of multiple transducers. For example, the CGC consisting of two coded sequences G A and G B requires four transmission events to complete inspection at two locations, as illustrated in Figure 2. MOGCC, which consists of two pairs of mutually orthogonal complementary sequences, doubles time efficiency by enabling simultaneous transmission from two transducers, with each still transmitting twice [26], resulting in two transmission events in total. Due to the orthogonality between the pairs, the received signal can be separated into components corresponding to each individual transmitter. For the MOGCC composed of two pairs M X and M Y with length N M , where M X consists of two sequences M X 1 and M X 2 , and M Y consists of M Y 1 and M Y 2 , the combined autocorrelations are given as
C X ( j ) = C X 1 ( j ) + C X 2 ( j ) = M X 1 M X 1 ( i ) + M X 2 M X 2 ( i ) = 2 N M δ ( j ) ,
C Y ( j ) = C Y 1 ( j ) + C Y 2 ( j ) = M Y 1 M Y 1 ( i ) + M Y 2 M Y 2 ( i ) = 2 N M δ ( j ) ,
where C X and C Y denote the combined autocorrelations of M X and M Y , respectively. C X 1 , C X 2 , C Y 1 , and C Y 2 are autocorrelations for M X 1 , M X 2 , M Y 1 , and M Y 2 , respectively. The symbol ∗ denotes the convolution operation, and M Y 1 ( i ) is the time inverse of M Y 1 . Furthermore, the sum of the cross-correlations between the two pairs is given by
M X 1 M Y 1 ( i ) + M X 2 M Y 2 ( i ) = M Y 1 M X 1 ( i ) + M Y 2 M X 2 ( i ) = 0 .
Using Equations (2)–(4), MOGCC can be applied in a UT system that includes two transmitters and two receivers, where M X 1 and M X 2 are two transmitted sequences for one transmitter, and M Y 1 and M Y 2 for another. Figure 3 illustrates a UT system using MOGCC, where M X 1 and M Y 1 are sent simultaneously in the first transmission event, and M X 2 and M Y 2 are sent simultaneously in the second transmission event.
Although the receivers capture overlapping signals from both transmitters, the signals can be separated so that receiver 1 extracts only the signal from transmitter 1, and receiver 2 from transmitter 2. Taking receiver 1 as an example, to extract the signal originating from transmitter 1, we have
C X Y = ( M X 1 + M Y 1 ) M X 1 ( i ) + ( M X 2 + M Y 2 ) M X 2 ( i ) = M X 1 M X 1 ( i ) + M X 2 M X 2 ( i ) + M Y 1 M X 1 ( i ) + M Y 2 M X 2 ( i ) = M X 1 M X 1 ( i ) + M X 2 M X 2 ( i ) = 2 N M δ ( j ) ,
where C X Y is the separation result, and also the decoded result, in receiver 1. The decoded sequence C X Y has a peak amplitude of 2 N M δ ( j ) and zero sidelobes, illustrating the effectiveness of MOGCC in pulse compression. In addition, the separation result for receiver 2 is also 2 N M δ ( j ) . Moreover, CGC and MOGCC yield the same peak amplitude C X Y after decoding, provided that they have the same code length. Comparing Figure 2 and Figure 3, it is evident that MOGCC requires only two transmission events to complete inspections at two locations, which is half the time required by CGC. Table 2 lists the 4-bit MOGCC (M4) and the 8-bit MOGCC (M8), where M4 consists of M 4 X 1 , M 4 X 2 , M 4 Y 1 , and M 4 Y 2 , and M8 consists of M 8 X 1 , M 8 X 2 , M 8 Y 1 , and M 8 Y 2 .

2.3. BMOGCC

BMOGCC is formed by convolving the Barker code and MOGCC, thereby retaining the advantageous properties of both. The process of generating and decoding BMOGCC is illustrated in Figure 4.
The process consists of five steps. The first step involves the generation of BMOGCC, while the remaining four steps are dedicated to decoding.
Step 1: The four MOGCC sequences M X 1 ,   M X 2 ,   M Y 1 , and M Y 2 are each convolved with the Barker code. The resulting sequences, denoted as B M X 1 ,   B M X 2 ,   B M Y 1 , and B M Y 2 , make up the BMOGCC. These codes are calculated as follows:
B M X 1 = M X 1 B , B M X 2 = M X 2 B , B M Y 1 = M Y 1 B , B M Y 2 = M Y 2 B .
Step 2: A summation is performed between B M X 1 and B M Y 1 , and separately between B M X 2 and B M Y 2 .
Step 3: Each summation result from Step 2 is convolved with the time-reversed versions of M X 1 and M X 2 , respectively, yielding the decoded sequences S 1 and S 2 . The convolution operations are written as
S 1 = ( B M X 1 + B M Y 1 ) M X 1 ( i ) = B ( i ) ( M X 1 + M Y 1 ) M X 1 ( i ) , S 2 = ( B M X 2 + B M Y 2 ) M X 2 ( i ) = B ( i ) ( M X 2 + M Y 2 ) M X 2 ( i ) .
Step 4: The decoded sequences S 1 and S 2 are summed.
Step 5: The sum of S 1 and S 2 is convolved with the time-reversed Barker code B ( i ) , resulting in the final decoded sequence S 3 , which is written as
S 3 = ( S 1 + S 2 ) B ( i ) = B ( i ) [ ( M X 1 + M Y 1 ) M X 1 ( i ) + ( M X 2 + M Y 2 ) M X 2 ( i ) ] B ( i ) = B ( i ) B ( i ) ( M X 1 M X 1 ( i ) + M X 2 ( i ) M X 2 ) = C B C X Y .
From the steps above, it is clear that the length of BMOGCC is N B M = N B + N M 1 . Equation (8) demonstrates that the decoded sequence S 3 is the convolution of the decoded Barker code and MOGCC. Therefore, BMOGCC achieves a higher compression peak than either the Barker code or MOGCC alone and reaches the same compression peak as BCGC, which is formed by convolving the Barker code with CGC [23]. Moreover, BMOGCC offers the same time efficiency as MOGCC, which is twice that of BCGC and CGC.
Figure 5 presents the decoding results of B7M4, which is the convolution of the 7-bit Barker code and the M4 from Table 2. The four sequences that make up B7M4 are denoted as B 7 M 4 X 1 , B 7 M 4 X 2 , B 7 M 4 Y 1 , and B 7 M 4 Y 2 . The decoded sequence S 3 of the 10-bit B7M4 clearly shows a main peak amplitude of 56, which is significantly higher than that of the 13-bit Barker code or the 16-bit MOGCC. This highlights the superior signal-amplitude enhancement capability of BMOGCC compared to both the Barker code and MOGCC.

2.4. Performance Evaluation of Codes

In practical measurements, the carrier wave is modulated by the code to generate the coded excitation signal, where each bit of the code modulates the carrier wave. The modulated excitation signal S c is defined as
S c = i = 1 N c ( i ) w ( t i · T ) , 0 t T
where c ( i ) is the i-th bit of the code and w ( t ) is the carrier wave.
The performance of coded excitation signals, or equivalently, of codes themselves, is evaluated using several indices, including the peak sidelobe level (PSL), integrated sidelobe level, mainlobe gain (MG), and mainlobe level. Definitions may vary across studies [10,19,24,25,26,29]. Among these indices, the PSL and MG are two of the most critical for evaluating code performance. The PSL is defined as the logarithmic ratio of the mainlobe peak to the maximum sidelobe peak of the decoded signal [29]:
P S L = 20 l o g 10 ( A m A s ) ,
where A m is the amplitude of the mainlobe peak and A s is the maximum sidelobe amplitude. The PSL quantifies the code’s ability to suppress self-noise introduced in the decoding process. The MG is the logarithmic ratio of the mainlobe peak amplitude of the decoded signal obtained using a coded excitation signal to that obtained using a 1-bit pulse (unmodulated carrier wave) [24]:
M G = 20 log 10 ( A m A p ) ,
where A p is the peak amplitude of the compressed 1-bit pulse. The MG represents the ability of a code to enhance signal amplitude. Table 3 lists the theoretical PSL and MG values. Note that the PSL is not defined for CGC and MOGCC because they ideally produce zero sidelobes.
In addition to the PSL and MG, the temporal resolution, estimated by the full width at half maximum (FWHM) of the decoded signal envelope, is important in certain NDT imaging methods, such as the total focusing method [30,31]. Figure 6c shows the decoded signals for a 1-bit pulse and the 5-bit Barker-coded signal, in which the mainlobe, sidelobes, and temporal resolution are clearly characterized. The 1-bit pulse is a 2.25 MHz sine wave windowed by a Hanning window and is shown in Figure 6a. The 5-bit Barker-coded excitation signal generated using this 1-bit pulse as the carrier wave is shown in Figure 6b.

3. Numerical Simulations

3.1. Finite Element Modeling

Simulations were conducted using the software ABAQUS version 2021 [32] to evaluate the performance of the coded signals. A 2D finite element model (Figure 7) was developed, consisting of a steel plate of size 75 mm × 140 mm, with two parallel excitation source nodes and two parallel receiver nodes aligned accordingly. The vertical distance between the source nodes and receiver nodes was 74 mm. The material properties of the steel used in the simulations are listed in Table 4. The model was meshed using the CPE4R element type. To prevent reflections at the model boundaries, a layer of CINPE4 elements was applied outside the model perimeter. The excitation was applied as a vertical force at the source nodes, and the vertical displacements were recorded at the receiver nodes.
The 1-bit pulse used to construct the coded excitation signals is shown in Figure 6a, with a center frequency of 2.25 MHz, matching that of the ultrasonic transducers used in the experiments. In ABAQUS, the maximum frequency that can be simulated is limited by the element size; higher frequencies require smaller elements [33]. Coded excitation signals may contain high-frequency components that are several times the center frequency because of the phase modulation. To ensure that the simulations were convergent, an element size of 0.025 mm was used, which corresponds to approximately 102 elements per wavelength. If a larger element size, such as 0.05 mm, is used, the resulting wave may fail to converge, leading to incorrect signals for further analysis.
A series of simulations was performed using different excitation signals to evaluate the performance of BMOGCC. Specifically, codes B5M4, B5M8, B7M4, and B7M8 were evaluated. For comparison, three Barker codes (from Table 1), as well as M4 and M8 (from Table 2), were tested. In addition, the 1-bit pulse was included as a reference excitation signal for calculating the mainlobe gain. Since both BMOGCC and MOGCC require two transmission events, two separate simulations were conducted for each of these codes. For simulations involving two sources, the excitations were applied simultaneously. Table 5 lists the excitation signals applied to each source across all simulations. Figure 7 also illustrates the displacement field for simulation 5 as an example, where the faster-propagating compression wave was used in the decoding, while the slower-propagating shear wave was filtered out by a time window.

3.2. Results of Decoding

Figure 8 presents the decoded signals for the 1-bit pulse (simulation 1) and the three Barker codes (simulations 2–4), where only source 1 was excited. In simulations involving MOGCC or BMOGCC, only the decoded signals from receiver 1 are shown, as the decoded signals from both receivers were symmetric. Figure 9 shows the decoded signals for MOGCC (simulations 5–8), with each decoded signal based on the signals received from two transmission events. Figure 10 displays the decoded signals for BMOGCC (simulations 9–16), including B5M4, B5M8, B7M4, and B7M8. The amplitude of the decoded signals was normalized to the maximum amplitude value of all decoded signals to clearly illustrate the amplitude difference among the codes.
It can be observed in Figure 8, Figure 9 and Figure 10 that the signal amplitudes varied depending on the code type, reflecting the distinct properties of each coding scheme. As shown in Figure 8, the amplitude of the decoded signals increased progressively with the length of the Barker code, and visually uniform sidelobes were present due to the inherent correlation characteristics of these codes. Figure 9 shows that MOGCC produced no sidelobes and that M8 exhibited a higher amplitude than M4, attributed to its longer code length. In contrast, Figure 10 demonstrates that BMOGCC achieved a markedly higher decoded amplitude compared to both MOGCC and the Barker codes. This result aligns with Equation (8), which expresses the BMOGCC-decoded signal as the convolution of the MOGCC- and Barker-code-decoded signals.

4. Experimental Measurements

4.1. Experimental Setup

To further evaluate the performance of the coded signals, experimental measurements were carried out to ensure that factors such as the transducer response and data acquisition (DAQ) system characteristics did not significantly impact the results. The experimental setup, shown in Figure 11a, included a 140 mm × 74 mm × 100 mm steel block, two ultrasonic transducers, and a DAQ system. The transducers (M1036, Olympus, Hamburg, Germany) had a center frequency of 2.25 MHz and were attached to the steel block using magnetic holders. Ultrasonic coupling gel was applied to ensure good acoustic contact. The DAQ system included a signal generator (HS805, TiePie, Sneek, The Netherlands) with an 8-bit amplitude resolution. It was connected to a computer via USB and operated using the TiePie oscilloscope software version 1.33.2.0/0.5.6.2, which allowed configuration of the excitation signals, voltage, and sampling rate.
A through-transmission scheme was used to capture the ultrasonic compression waves, with the transducers placed on opposite sides of the steel block. The transmission and reception locations mirrored the simulation setup shown in Figure 7. As in the simulations, the setup included two transmission and two receiving locations, requiring four transducers in total. The distance between the two transmission locations was 13 mm, which is equal to the diameter of the ultrasonic transducers (Figure 11b). However, due to the availability of only two suitable transducers, a practical workaround was adopted: one transducer was moved from one transmission location to the other, and the signals received at the same receiving location were added. This approach effectively replicated the signal that would have been obtained if both transmitters had operated simultaneously.
The excitation signals used in the experiments were identical to those used in the simulations, resulting in a total of 16 experimental trials. The settings of the excitation signals for experiments 1–16 were identical to those of simulations 1–16.

4.2. Results of Decoding

As in the simulations, only the decoded signals from receiving location 1 are presented, since the decoded signals from both locations were symmetric. Figure 12 shows the decoded signals for the 1-bit pulse (experiment 1) and the Barker codes (experiments 2–4). Figure 13 displays the decoded signals for MOGCC (experiments 5–8). Figure 14 presents the decoded signals for BMOGCC (experiments 9–16), including B5M4, B5M8, B7M4, and B7M8. The decoded signals were normalized using the same method as in the simulations, dividing by the global maximum amplitude, to facilitate comparison across different codes.
The amplitudes of the decoded signals were found to be consistent with the simulation results. Figure 12 shows that the amplitude increased with the length of the Barker codes, accompanied by low-level sidelobes. As depicted in Figure 13, M8 yielded a higher amplitude than M4, owing to its doubled code length. Figure 14 demonstrates that BMOGCC produced a higher decoded signal amplitude than both MOGCC and the Barker codes. However, the sidelobes were less uniform than those seen in the simulations, likely due to factors such as modulation by the transducer’s impulse response and increased noise resulting from the limited amplitude resolution of the DAQ system.

5. Discussion

By comparing Figure 8, Figure 9 and Figure 10 and Figure 12, Figure 13 and Figure 14, it is evident that all coded signals yielded higher decoded mainlobe amplitudes than the 1-bit pulse, with BMOGCC yielding the highest amplitudes among all the codes evaluated. The experimental results (Figure 12, Figure 13 and Figure 14) showed that the mainlobe amplitudes of the decoded signals were approximately consistent with those of the corresponding simulation results. These observations confirm the capability of BMOGCC to significantly enhance the mainlobe amplitude.
Two key indicators, the peak sidelobe level (PSL) and the mainlobe gain (MG), were calculated and compared to evaluate the code performance, based on the decoded signals from Figure 8, Figure 9 and Figure 10 and Figure 12, Figure 13 and Figure 14. The MG values from both the simulations and experiments are shown in Figure 15, along with the corresponding theoretical values based on Table 2. The measured MG values closely matched the theoretical predictions. Notably, BMOGCC achieved significantly higher MG values than either the Barker codes or MOGCC, reaching maximum values for B7M8. Moreover, the MG value of each BMOGCC was approximately equal to the sum of the MG values of the corresponding Barker and MOGCC in its construction, as expected. For instance, in the experiments, the MG values of B7M4, B7, and M4 were 34.90 dB, 16.84 dB, and 18.19 dB, respectively. The difference between the MG of B7M4 and the sum of the MG values of B7 and M4 was only 0.13 dB. Significantly, the 8-bit B5M4 and 10-bit B7M4 outperformed the 11-bit Barker code, demonstrating that BMOGCC achieves higher signal amplitude even with shorter code lengths. This is particularly advantageous in scenarios where shorter excitation signals are needed, for example, when DAQ memory is limited or boundary reflections interfere with useful signals [34]. These results further validate the superior performance of BMOGCC in enhancing the mainlobe amplitude.
The PSL values obtained from both the simulations and experiments are shown in Figure 16, along with the theoretical values from Table 2. The PSL values from the simulations closely matched the theoretical expectations, with a maximum deviation of only 0.37 dB observed for the 11-bit Barker code. In the simulations, the PSL values of B5M4 and B5M8 were nearly identical to those of the 5-bit Barker code, while the PSL values of B7M4 and B7M8 were similar to those of the 7-bit Barker code. In the experimental results, the PSL values were lower than those of the simulations, with the largest discrepancy being 2.40 dB for the 11-bit Barker code. This variation was likely caused by the impulse response of the transducers and the quantization noise resulting from the low amplitude resolution of the DAQ system, both of which influenced the shape of the excitation signals and affected the PSL. Despite this, the PSL values observed in the experiments and simulations were generally consistent, confirming that BMOGCC provides sidelobe suppression comparable to that of the Barker code used in its formation.
The temporal resolution, estimated by the full width at half maximum (FWHM) of the decoded signal envelope, is shown in Table 6 for both the simulations and experiments. All decoded signals from simulations had a constant FWHM of 0.35 μs, regardless of the code type. The experimental FWHM values were higher and varied between 0.67 μs and 0.89 μs, mainly due to the transducer impulse response. Importantly, the results showed that BMOGCC maintained comparable temporal resolutions to those of the 1-bit pulse and other codes, confirming that it does not degrade the temporal resolution.
Overall, the results from both the simulations and experiments confirm the effectiveness of BMOGCC as the excitation signal for ultrasonic measurements.
  • BMOGCC retains the low sidelobe levels of Barker codes and the double time efficiency of MOGCC, offering a key advantage over CGC and BCGC, which require two sequential transmissions.
  • BMOGCC also provides a higher mainlobe amplitude than both Barker codes and MOGCC, even at shorter lengths, allowing more flexibility in signal design.
  • Finally, BMOGCC preserves the temporal resolution, making it suitable for imaging applications where resolution is critical.

6. Conclusions

This study presented a novel coded excitation method, the Barker-convolved mutually orthogonal Golay complementary code (BMOGCC), designed to improve both time efficiency and signal quality in ultrasonic NDT. The proposed method is based on convolving the Barker code with MOGCC, combining the beneficial properties of both. BMOGCC retains the low sidelobe level of the Barker code and the simultaneous transmission capability of MOGCC, thereby doubling the time efficiency compared to traditional complementary Golay codes. In contrast to the Barker code, BMOGCC provides a greater signal amplitude and allows for flexible code-length selection, enhancing adaptability in practical measurements. The method was validated through both numerical simulations and laboratory experiments involving BMOGCC, the Barker code, MOGCC, and the 1-bit pulse. The results showed strong agreement between the simulations and experimental data. The findings demonstrated that the PSL of BMOGCC was comparable to that of the Barker codes used in its construction, confirming effective sidelobe suppression; BMOGCC achieved a significantly higher mainlobe amplitude than the other tested codes, even when using shorter sequences, indicating enhanced signal energy; and BMOGCC maintained the temporal resolution without any degradation compared to other coded excitation signals, ensuring its suitability for high-resolution ultrasonic imaging applications. Overall, BMOGCC shows excellent performance and provides a practical advancement in the field of coded excitation for ultrasonic testing, particularly in applications requiring high energy or time-efficient measurements.
One limitation of the proposed coded excitation method is that only two excitation signals can be transmitted simultaneously due to the inherent structure of BMOGCC codes. This constraint limits its broader applicability in array transducer systems with a larger number of elements. Future work should focus on developing convolved codes that enable the simultaneous transmission of multiple excitation signals. Moreover, the present study concentrated on ultrasonic compression waves, which are non-dispersive. Future research should be extended to investigate dispersive wave modes. Additionally, the influence of transducer characteristics on the performance of coded excitation signals warrants further detailed investigation.

Author Contributions

Conceptualization, C.P., M.R. (Madis Ratassepp) and P.A.; methodology, C.P.; simulations and data acquisition, C.P.; experimental setup and software, M.R. (Marek Rist) and R.L.; writing—original draft preparation, C.P.; writing—review and editing, C.P., M.R. (Madis Ratassepp) and P.A.; project administration and funding acquisition, M.R. (Madis Ratassepp). All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Estonian Research Council under grant PRG737.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this article are available on request from the authors.

Acknowledgments

The authors would like to thank Carlos-Omar Rasgado-Moreno for the discussions regarding the setup of the numerical simulations. The authors gratefully acknowledge the use of AI-based tools for language editing and proofreading assistance in the preparation of this manuscript. In addition, they thank the Taltech High-Performance Computing Center for the computing resources for numerical simulations.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tolbert, C.L. Leveraging variable frequency drive data for nondestructive testing and predictive maintenance in industrial systems. NDT 2025, 3, 7. [Google Scholar] [CrossRef]
  2. Khatun, H.; Hazarika, S.; Sarma, U. Aluminium plate surface defect detection and classification based on piezoelectric transducers. In Proceedings of the 2021 IEEE 18th India Council International Conference (INDICON), Guwahati, India, 19–21 December 2021; pp. 1–6. [Google Scholar] [CrossRef]
  3. Peng, C.; Annus, P.; Rist, M.; Land, R.; Ratassepp, M. Fractional fourier transform-based signal separation for ultrasonic guided wave inspection of plates. Sensors 2024, 24, 7564. [Google Scholar] [CrossRef]
  4. Rasgado-Moreno, C.O.; Rist, M.; Land, R.; Ratassepp, M. Guided wave tomography of pipe bends based on full waveform inversion. Ultrasonics 2025, 148, 107560. [Google Scholar] [CrossRef]
  5. Sarabia, E.G.; Llata, J.R.; Robla, S.; Torre-Ferrero, C.; Oria, J.P. Accurate estimation of airborne ultrasonic time-of-flight for overlapping echoes. Sensors 2013, 13, 15465–15488. [Google Scholar] [CrossRef]
  6. Kong, K.; Dyer, K.; Payne, C.; Hamerton, I.; Weaver, P.M. Progress and trends in damage detection methods, maintenance, and data-driven monitoring of wind turbine blades—A review. Renew. Energy Focus 2023, 44, 390–412. [Google Scholar] [CrossRef]
  7. Wei, X.; Yang, Y.; Ureña, J.; Yan, J.; Wang, H. An adaptive peak detection method for inspection of breakages in long rails by using Barker coded UGW. IEEE Access 2020, 8, 48529–48542. [Google Scholar] [CrossRef]
  8. Simon, L.H.; Wilkens, V.; Beyer, M. Safety-related conclusions for the application of ultrasound in explosive atmospheres. J. Loss Prev. Process Ind. 2015, 36, 522–531. [Google Scholar] [CrossRef]
  9. Chiao, R.; Hao, X. Coded excitation for diagnostic ultrasound: A system developer’s perspective. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2005, 52, 160–170. [Google Scholar] [CrossRef]
  10. Misaridis, A. Ultrasound Imaging Using Coded Signals. Ph.D. Thesis, Technical University of Denmark, Lyngby, Denmark, 2001. [Google Scholar]
  11. Kiefer, D.A.; Fink, M.; Rupitsch, S.J. Simultaneous ultrasonic measurement of thickness and speed of sound in elastic plates using coded excitation signals. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2017, 64, 1744–1757. [Google Scholar] [CrossRef] [PubMed]
  12. Takeuchi, Y. An investigation of a spread energy method for medical ultrasound systems: Part one: Theory and investigation. Ultrasonics 1979, 17, 175–182. [Google Scholar] [CrossRef]
  13. Gan, T.; Hutchins, D.; Billson, D.; Schindel, D. The use of broadband acoustic transducers and pulse-compression techniques for air-coupled ultrasonic imaging. Ultrasonics 2001, 39, 181–194. [Google Scholar] [CrossRef]
  14. Eckersley, R.J.; Chin, C.T.; Burns, P.N. Optimising phase and amplitude modulation schemes for imaging microbubble contrast agents at low acoustic power. Ultrasound Med. Biol. 2005, 31, 213–219. [Google Scholar] [CrossRef]
  15. Jiang, X.; Wang, J.; Zhang, Y.; Jiang, S. Defect detection in solid timber panels using air-coupled ultrasonic imaging techniques. Appl. Sci. 2024, 14, 434. [Google Scholar] [CrossRef]
  16. Xia, S.; Li, Z.P.; Jiang, C.L.; Wang, S.J.; Wang, K.C. Application of pulse compression technology in electromagnetic ultrasonic thickness measurement. In Proceedings of the 2018 IEEE Far East NDT New Technology & Application Forum (FENDT), Xiamen, China, 6–8 July 2018; pp. 37–41. [Google Scholar] [CrossRef]
  17. Garcia-Rodriguez, M.; Yañez, Y.; Garcia-Hernandez, M.; Salazar, J.; Turo, A.; Chavez, J. Application of Golay codes to improve the dynamic range in ultrasonic Lamb waves air-coupled systems. NDT E Int. 2010, 43, 677–686. [Google Scholar] [CrossRef]
  18. Germano, E.; Tabatabaeipour, M.; Mohseni, E.; Lines, D.; MacLeod, C.N.; Lam, K.H.; Hughes, D.; Trodden, H.; Gachagan, A. Application of Golay-based total focusing method using a high-frequency, lead-free, flexible ultrasonic array for inspection of thick non-planar industrial components. NDT E Int. 2025, 150, 103282. [Google Scholar] [CrossRef]
  19. Fan, Z.; Rudlin, J.; Asfis, G.; Meng, H. Convolution of Barker and Golay codes for low voltage ultrasonic testing. Technologies 2019, 7, 72. [Google Scholar] [CrossRef]
  20. Weng, C.; Gu, X.; Jin, H. Coded excitation for ultrasonic testing: A review. Sensors 2024, 24, 2167. [Google Scholar] [CrossRef]
  21. Kim, B.H.; Kim, G.D.; Song, T.K. A post-compression based ultrasound imaging technique for simultaneous transmit multi-zone focusing. Ultrasonics 2007, 46, 148–154. [Google Scholar] [CrossRef]
  22. Nowicki, A.; Trots, I.; Secomski, W.; Litniewski, J. Golay’s codes sequences in ultrasonography. Hydroacoustics 2004, 7, 173–182. [Google Scholar]
  23. Kim, P.; Jung, E.; Bae, S.; Kim, K.; Song, T. Barker-sequence-modulated golay coded excitation technique for ultrasound imaging. In Proceedings of the 2016 IEEE International Ultrasonics Symposium (IUS), Tours, France, 18–21 September 2016; pp. 1–4. [Google Scholar] [CrossRef]
  24. Fan, Z.; Niu, X.; Miao, B.; Meng, H. Hybrid coded excitation of the torsional guided wave mode T(0,1) for Oil and gas pipeline inspection. Appl. Sci. 2022, 12, 777. [Google Scholar] [CrossRef]
  25. Yang, Y.; Wang, P.; Jia, Y.; Jing, L.; Shi, Y.; Sheng, H.; Jiang, Y.; Liu, R.; Xu, Y.; Li, X. Rail fracture monitoring based on ultrasonic-guided wave technology with multivariate coded excitation. Ultrasonics 2024, 136, 107164. [Google Scholar] [CrossRef] [PubMed]
  26. Trots, I. Mutually orthogonal Golay complementary sequences in synthetic aperture imaging systems. Arch. Acoust. 2015, 40, 283–289. [Google Scholar] [CrossRef]
  27. Tasinkevych, Y.; Trots, I.; Nowicki, A. Mutually orthogonal Golay complementary sequences in the simultaneous synthetic aperture method for medical ultrasound diagnostics. An experimental study. Ultrasonics 2021, 115, 106434. [Google Scholar] [CrossRef] [PubMed]
  28. Cook, C. Radar Signals: An Introduction to Theory and Application; Elsevier: Amsterdam, The Netherlands, 2012. [Google Scholar]
  29. Tang, J.; Zhu, W.; Qiu, X.; Song, A.; Xiang, Y.; Xuan, F.Z. Non-contact phase coded excitation of ultrasonic Lamb wave for blind hole inspection. Ultrasonics 2022, 119, 106606. [Google Scholar] [CrossRef] [PubMed]
  30. Laroche, N.; Bourguignon, S.; Carcreff, E.; Idier, J.; Duclos, A. An inverse approach for ultrasonic imaging from full matrix capture data: Application to resolution enhancement in NDT. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2020, 67, 1877–1887. [Google Scholar] [CrossRef]
  31. Holmes, C.; Drinkwater, B.W.; Wilcox, P.D. Post-processing of the full matrix of ultrasonic transmit–receive array data for non-destructive evaluation. NDT E Int. 2005, 38, 701–711. [Google Scholar] [CrossRef]
  32. Smith, M. ABAQUS/Standard User’s Manual; Version 6.9; Dassault Systèmes Simulia Corp: Waltham, MA, USA, 2009. [Google Scholar]
  33. Hamam, Z.; Godin, N.; Fusco, C.; Monnier, T. Modelling of acoustic emission signals due to fiber break in a model composite carbon/epoxy: Experimental validation and parametric study. Appl. Sci. 2019, 9, 5124. [Google Scholar] [CrossRef]
  34. Rasgado-Moreno, C.O.; Rist, M.; Land, R.; Ratassepp, M. Acoustic Forward Model for Guided Wave Propagation and Scattering in a Pipe Bend. Sensors 2022, 22, 486. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of a UT system using a coded excitation signal.
Figure 1. Schematic diagram of a UT system using a coded excitation signal.
Sensors 25 05007 g001
Figure 2. Use of the complementary Golay code (CGC) for ultrasonic testing.
Figure 2. Use of the complementary Golay code (CGC) for ultrasonic testing.
Sensors 25 05007 g002
Figure 3. Implementation of MOGCC in a UT system.
Figure 3. Implementation of MOGCC in a UT system.
Sensors 25 05007 g003
Figure 4. Flow of generating and decoding BMOGCC.
Figure 4. Flow of generating and decoding BMOGCC.
Sensors 25 05007 g004
Figure 5. Decoding process for B7M4.
Figure 5. Decoding process for B7M4.
Sensors 25 05007 g005
Figure 6. (a) 1-bit pulse. (b) 5-bit Barker-coded excitation signal. (c) Decoded results.
Figure 6. (a) 1-bit pulse. (b) 5-bit Barker-coded excitation signal. (c) Decoded results.
Sensors 25 05007 g006
Figure 7. Geometry of the simulation model and the displacement of the propagating waves from two sources, shown at 3 μs.
Figure 7. Geometry of the simulation model and the displacement of the propagating waves from two sources, shown at 3 μs.
Sensors 25 05007 g007
Figure 8. Decoded signals for the 1-bit pulse and the Barker codes (simulations 1–4). (ad) 1-bit pulse, 5-bit Barker, 7-bit Barker, and 11-bit Barker, respectively.
Figure 8. Decoded signals for the 1-bit pulse and the Barker codes (simulations 1–4). (ad) 1-bit pulse, 5-bit Barker, 7-bit Barker, and 11-bit Barker, respectively.
Sensors 25 05007 g008
Figure 9. Decoded signals for MOGCC (simulations 5–8). (a,b) M4 (simulations 5–6) and M8 (simulations 7–8), respectively.
Figure 9. Decoded signals for MOGCC (simulations 5–8). (a,b) M4 (simulations 5–6) and M8 (simulations 7–8), respectively.
Sensors 25 05007 g009
Figure 10. Decoded signals for BMOGCC (simulations 9–16). (ad) B5M4 (simulations 9–10), B5M8 (simulations 11–12), B7M4 (simulations 13–14), and B7M8 (simulations 15–16), respectively.
Figure 10. Decoded signals for BMOGCC (simulations 9–16). (ad) B5M4 (simulations 9–10), B5M8 (simulations 11–12), B7M4 (simulations 13–14), and B7M8 (simulations 15–16), respectively.
Sensors 25 05007 g010
Figure 11. Experimental setup. (a) Measurement setup including ultrasonic transducers, a signal generator, and a laptop. (b) Transmission locations on the steel block.
Figure 11. Experimental setup. (a) Measurement setup including ultrasonic transducers, a signal generator, and a laptop. (b) Transmission locations on the steel block.
Sensors 25 05007 g011
Figure 12. Decoded signals for experiments 1–4. (ad) 1-bit pulse, 5-bit Barker, 7-bit Barker, and 11-bit Barker, respectively.
Figure 12. Decoded signals for experiments 1–4. (ad) 1-bit pulse, 5-bit Barker, 7-bit Barker, and 11-bit Barker, respectively.
Sensors 25 05007 g012
Figure 13. Decoded signals for MOGCC (experiments 5–8). (a,b) Decoded signal of M4 (experiments 5–6) and M8 (experiments 7–8), respectively.
Figure 13. Decoded signals for MOGCC (experiments 5–8). (a,b) Decoded signal of M4 (experiments 5–6) and M8 (experiments 7–8), respectively.
Sensors 25 05007 g013
Figure 14. Decoded signals for BMOGCC (experiments 9–16). (ad) B5M4 (experiments 9–10), B5M8 (experiments 11–12), B7M4 (experiments 13–14), and B7M8 (experiments 15–16), respectively.
Figure 14. Decoded signals for BMOGCC (experiments 9–16). (ad) B5M4 (experiments 9–10), B5M8 (experiments 11–12), B7M4 (experiments 13–14), and B7M8 (experiments 15–16), respectively.
Sensors 25 05007 g014
Figure 15. MG values of different codes.
Figure 15. MG values of different codes.
Sensors 25 05007 g015
Figure 16. PSL values of different codes.
Figure 16. PSL values of different codes.
Sensors 25 05007 g016
Table 1. Barker codes.
Table 1. Barker codes.
Coded Sequence Notation N B Code Bit Value
B 2 2 1 , 1 or 1 , 1
B 3 3 1 , 1 , 1
B 4 4 1 , 1 , 1 , 1 or 1 , 1 , 1 , 1
B 5 5 1 , 1 , 1 , 1 , 1
B 7 7 1 , 1 , 1 , 1 , 1 , 1 , 1
B 11 11 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1
B 13 13 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1
Table 2. MOGCC.
Table 2. MOGCC.
Coded Sequence NotationCode Bit Value
M 4 X 1 1 , 1 , 1 , 1
M 4 Y 1 1 , 1 , 1 , 1
M 4 X 2 1 , 1 , 1 , 1
M 4 Y 2 1 , 1 , 1 , 1
M 8 X 1 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1
M 8 Y 1 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1
M 8 X 2 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1
M 8 Y 2 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1
Table 3. PSL and MG values of codes.
Table 3. PSL and MG values of codes.
CodeLengthPSLMG
Barker N B 20 log 10 ( N B ) 20 log 10 ( N B )
CGC N C - 20 log 10 ( 2 N C )
MOGCC N M - 20 log 10 ( 2 N M )
BMOGCC N B + N M 1 20 log 10 N B 20 log 10 ( 2 N B N M )
Table 4. Steel properties.
Table 4. Steel properties.
Young’s ModulusPoisson RatioDensity
195 GPa 0.3 7910 kg / m 3
Table 5. Excitation signals for sources.
Table 5. Excitation signals for sources.
Simulation No.CodeSource 1Source 2
1-1-bit pulse-
2Barker B 5 -
3Barker B 7 -
4Barker B 11 -
5M4 M X 1 4 M Y 1 4
6M4 M X 2 4 M Y 2 4
7M8 M X 1 8 M Y 1 8
8M8 M X 2 8 M Y 2 8
9B5M4 B 5 M X 1 4 B 5 M Y 1 4
10B5M4 B 5 M X 2 4 B 5 M Y 2 4
11B5M8 B 5 M X 1 8 B 5 M Y 1 8
12B5M8 B 5 M X 2 8 B 5 M Y 2 8
13B7M4 B 7 M X 1 4 B 7 M Y 1 4
14B7M4 B 7 M X 2 4 B 7 M Y 2 4
15B7M8 B 7 M X 1 8 B 7 M Y 1 8
16B7M8 B 7 M X 2 8 B 7 M Y 2 8
Table 6. Temporal resolution for different excitation signals.
Table 6. Temporal resolution for different excitation signals.
Excitation SignalFWHM of Simulations (μs)FWHM of Experiments (μs)
1-bit Pulse0.350.75
5-bit Barker0.350.89
7-bit Barker0.350.78
11-bit Barker0.350.78
M40.350.70
M80.350.69
B5M40.350.68
B5M80.350.67
B7M40.350.67
B7M80.350.68
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Peng, C.; Annus, P.; Rist, M.; Land, R.; Ratassepp, M. Convolution of Barker and Mutually Orthogonal Golay Complementary Codes for Ultrasonic Testing. Sensors 2025, 25, 5007. https://doi.org/10.3390/s25165007

AMA Style

Peng C, Annus P, Rist M, Land R, Ratassepp M. Convolution of Barker and Mutually Orthogonal Golay Complementary Codes for Ultrasonic Testing. Sensors. 2025; 25(16):5007. https://doi.org/10.3390/s25165007

Chicago/Turabian Style

Peng, Chengxiang, Paul Annus, Marek Rist, Raul Land, and Madis Ratassepp. 2025. "Convolution of Barker and Mutually Orthogonal Golay Complementary Codes for Ultrasonic Testing" Sensors 25, no. 16: 5007. https://doi.org/10.3390/s25165007

APA Style

Peng, C., Annus, P., Rist, M., Land, R., & Ratassepp, M. (2025). Convolution of Barker and Mutually Orthogonal Golay Complementary Codes for Ultrasonic Testing. Sensors, 25(16), 5007. https://doi.org/10.3390/s25165007

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop