Abstract
Aiming at the shortcomings of traditional broadcast transmitter noise test methods, such as low efficiency, inconvenient data storage, and high requirements for testers, a dynamic online test method for transmitter noise is proposed. The principle of system composition and test method is given. The transmitter noise is real-time changing. The Voice Active Detection (VAD) noise estimation algorithm cannot track the transmitter noise change in real time. This paper proposes a combined noise estimation algorithm for VAD and dynamic estimation. By setting the threshold of the double-threshold VAD detection to be low, it can accurately detect the silent segment. The silent segment is used as a noise signal for noise estimation. For the nonsilent segment detected by the VAD, a minimum value search dynamic spectrum estimation algorithm based on the existence probability of the speech (IMCRA) is used for noise estimation. Transmitter noise is measured by calculating the noise figure (NF).The test method collects the input and output data of the transmitter in real time, which has better accuracy and real-time performance, and the feasibility of the method is verified by experimental simulation.
1. Introduction
The performance and quality of the broadcast transmitter directly affect the quality of broadcast program. In order to ensure the broadcast quality of the transmitter, it is necessary to carry out regular testing of the transmitter so as to make timely adjustments to the problems that occurred. Noise is one of the main parameters of transmitter performance testing. Traditional static testing methods are manually measured by the tester according to the standard method [1, 2]. As shown in Figure 1, during the nonbroadcast period of the transmitter, the transmitter is connected to the dummy load, and the audio signal generator generates a single-frequency sine wave signal input transmitter for modulation, the input voltage Us is measured when the amplitude is adjusted to 100%, the output voltage Uo is measured when no modulation signal is input, and the SNR is obtained according to the following formula:

The traditional test method has the following shortcomings [3]. First, it needs to be tested during the nonworking time of the transmitter, and the transmitter status cannot be monitored in real time. If the transmitter fails, it cannot be alerted in time. Second, because the testers have different degrees of mastery of the test instruments and test results will vary at different test times, which results in uncertain test results. Especially when some indicators need to test stability, the tester is required to record the working condition of the device under test for a long time. At this time, the traditional manual method is almost impossible to complete the test requirements. Third, the signal input during the test is a sine wave of a single frequency, but the actual broadcast signal is a multifrequency audio signal.
In view of the shortcomings of traditional measurement methods, this paper presents a new method for online dynamic testing of transmitter noise.
2. Theoretical Model
The online dynamic testing system for transmitter noise is shown in Figure 2.

In Figure 2, an audio broadcast signal x(t) is input to a transmitter, and a signal y(t) is output after being processed by a transmitter. The online test function blocks samples x(t) and y(t) by sampling frequency fs to obtain discretization x[n] and y[n]. The signals x[n] and y[n] are processed to obtain the signal-to-noise ratio of the transmitter. The test signal input to the test module is constantly changing over time during the test, so the entire test system structure and test algorithm have changed compared to traditional test methods.
The online test module collects data at regular intervals. The general acquisition interval is 2 s. After the operation processing, it is recollected once, and the data is repeatedly refreshed to realize real-time online testing. The data processing algorithm flow of the noise test function block is shown in Figure 3.

3. Signal Pretreatment
In Figure 3, the signal must be preprocessed. For the analog transmitter, the analog broadcast signal is first digitized so that it can be input into the computer for arithmetic processing. Secondly, according to the short-term stationary characteristics of the audio signal, a digital signal input to the computer is windowed and framed, and then each frame signal can be processed. For a digital transmitter, the signal is a digital audio signal, and no digital-to-analog conversion processing is required. Therefore, signal pretreatment plays a very important role in the online test system. Figure 4 shows the main flow of signal pretreatment.

In Figure 4, the signal y(t) is sampled and quantized to obtain the discrete signal y[n], and then multiplied by y[n] with a window function , and the obtained signal is the framed signal:
It can be seen from (2) that the method of weighting y(n) by a finite-length movable window function can realize the framing, that is, the broadcast signal after the framing is multiplied by the selected window function :
If the signal is multiplied in the time domain, then the convolution operation is performed in the frequency domain, so equation (3) can also be expressed by the following equation:where and represent the window function spectrum and the unwindowed signal spectrum, respectively. It can be seen that the window function has an effect on the shape of the broadcast signal in the frequency domain, the window function is different, and the resulting windowing function is also different. Rectangular windows, Hanning windows, and Hamming windows are three commonly used window functions.
4. Broadcast Signal Noise Estimation Algorithm Based on VAD
The traditional noise estimation algorithm uses VAD to discriminate whether the voice appears and separates the silent segment. At this time, the silent segment mainly exhibits noise characteristics and then obtains some statistical methods in the silent region. Update the noise power spectrum with an approximate estimate of the noise characteristics. The threshold-based dual-threshold endpoint detection method assumes that the beginning part of the speech signal is a silent segment without speech, and then the threshold can be set according to the characteristic value of the leading unvoiced segment [4]. The broadcast signal is an uninterrupted continuous audio signal without a leading silence segment, so the conventional method of setting the threshold value as the silence frame for the first few frames of the voice signal is not applicable. If the traditional threshold setting method is used, the threshold will be set incorrectly, eventually causing the endpoint to detect the error. A method for determining the low threshold and the high threshold is given in (5) and (6):where is the short-term energy of the entire audio y:
The endpoint detection algorithm is used to continuously estimate and update the average amplitude spectrum of the noise in the input and output signals of the transmitter. The specific steps are as follows: Step 1: calculate the high and low thresholds of energy from equations (5) and (6), calculate the short-term zero-crossing rate from equation (7), and then use the double-threshold method to determine whether the signal frame is silent. Step 2: when it is judged as a nonsilent frame, the average amplitude spectrum of the noise is unchanged. When it is judged to be a silence frame, the amplitude spectrum of the noise is updated at this time:where N(λ, m − 1) is the average amplitude of the noise before the frame, N(λ, m) is the amplitude spectrum of the frame, c is a set constant generally taken as 9, and equation (8) is to calculate the new one.
5. Noise Estimation Algorithm Based on Dynamic Spectrum Estimation
The VAD method is feasible when the noise is stable, but the characteristics of the noise spectrum vary greatly in the actual noise environment [5, 6]. Under the low SNR, the false detection rate of the VAD will increase, and the silent segment cannot be correctly judged. It is difficult to guarantee the accuracy of the estimated noise. It can also be seen from Figure 4 that the noise spectrum of the VAD algorithm is updated only when the silent segment is detected, and the noise spectrum for the nonsilent segment remains unchanged, and the noise of the transmitter changes in real time. Therefore, in order to achieve accurate transmitter noise estimation, the noise spectrum is estimated in real time [7–9].
In Figure 1, the online test module collects the transmitter signal at regular intervals. The length of the transmitter signal in the time domain is a finite value, and the transmitter output signal is y(n), and the output signal contains a pure audio signal as and the noise signal contained in the output signal is represented as , where n is the sampling time point. Then, the transmitter output signal can be expressed as follows:
Do Fourier transform on both sides of formula (9):where ω_k = 2πk/L, L = 0, 1, 2, …, L − 1, and L is the length of one sample frame, and equation (10) can also be expressed in the polar form:where and represent the pure signal contained in the transmitter output signal and the output signal, respectively, and the amplitude and phase of the noise signal at frequency point K. The signal y(n) containing L samples is subjected to frame processing by the window function , and the overlap between frames is set to R point. The FFT operation of the L point for y(n) can transform the noisy signal y(n) into the frequency domain:where the frame number is the time label, m is the label of the frequency component point, Z, k {0, 1, …, L − 1}, and is a window sequence.
Since the speech and noise are assumed to be relatively independent, equation (10) can be approximated as follows:where , are, respectively, the noisy signal, the periodogram amplitude of the pure signal, and the noise signal The power spectrum, λ represents the frequency and m represents the frame number, that is, the value at the λth frequency of the mth frame. A recursive averaging algorithm based on the probability of existence of a signal is based on two assumptions shown by the following equation:
A smoothing process is used to estimate the noise power spectral density P(λ, m):
Equation (16) gives the calculation of the α optimal value :where can be calculated from the following equation:
The value of in formula (16) is generally 0.96.
Equation (18) expresses that the noise power spectral density estimate is constant when the signal is present, and the noise power spectral density estimate is updated when the signal is not present. Equation (19) gives an estimate of the noise power spectral density:
Based on the abovementioned assumptions, can be expressed as follows:where = represents the conditional probability of the presence of a speech signal, and equation (17) can be simplified to where is obtained by the following formula:
In equation (19), is the prior probability of the existence of the speech signal, , is the a priori signal-to-noise ratio of the frequency point λ, and is the a posteriori signal-to-noise ratio of the frequency point λ. After p(λ, m) is obtained by equation (21), it is substituted into equations (15) and (21), and the noise power spectrum can be estimated. A deviation compensation factor of β = 1.47 is also introduced in the noise power spectrum estimation, as shown in the following equation:
According to equation (24), it is necessary to estimate the prior probability q(λ, m) in which the speech does not exist, and then the conditional probability p(λ, m) can be obtained, and the noisy signal smoothing power spectrum minimum search will be performed. The estimation of q(λ, m) has an effect. The IMCRA algorithm performs two smoothing and minimum tracking iterations on the signal. First, a rough voice activity detection is provided for each frequency point by iteration. Then, after an iteration, the relatively strong speech components are eliminated by the smoothing operation, and the shorter window can be used for the minimum search tracking. For highly unstable noise, better tracking results can be achieved with short windows.
In the first iteration, the minimum value tracking search is performed on the past D frame by the estimated value of S(λ, m) according to the smoothing formula (15), and is obtained by equation (24). To make a rough judgment on the existence of speech,
In equation (24), and are threshold parameters. and are obtained as shown in formulas (25) and (26), respectively:where the factor is the deviation value of the minimum noise estimate. To ensure that the decision to voice is more accurate, use two different ratios.
In the second iteration, only those frequency components that have been substantially discriminated as noise by equation (24) are smoothed. That is to say, smoothing is mainly for those spectral components containing noise, and can be obtained by the following equation:where is the window function in the frequency domain and is the window length. After calculating the abovementioned , the first-order smoothing is performed by the following equation:
In the second iteration, a relatively long smoothing window can be chosen because the high energy speech component has been eliminated by the first iteration smoothing. The minimum search window length D can be shortened, which reduces the tracking delay when the noise power increases. The minimum value is tracked on the value of . Let the minimum value of obtained from equation (28) in the past D frame be , and the prior probability q(λ, m) of the absence of speech can pass the following formula:where is a threshold parameter, are obtained, as shown in formulas (30) and (31), respectively:
Equation (29) expresses that when both posterior probability estimates exceed a set threshold, it is indicated that there is speech. When both signal-to-noise ratios based on instantaneous power and smoothed power are below a set threshold, no speech is present. If it is between the two, q(λ, m) provides a smooth transition between the presence of speech and the absence of speech. For the weaker speech components, if only is not well judged, and are used for estimation. During weak speech activity, combined estimation with and can increase the accuracy of noise estimation.
6. Transmitter Noise Test Algorithm Based on VAD and Dynamic Spectrum Joint Estimation
When the double threshold setting is low enough, the VAD algorithm will not misjudge the nonsilent segment as a silent segment, but some silent segments will be mistakenly judged as nonsilent segments [10–12]. This paper proposes a VAD and IMCRA joint detection algorithm. The VAD algorithm determines whether the signal is silent. If it is a silent segment, the noise power spectrum is updated by formula (32). If the nonsilent segment is used, the dynamic spectrum update algorithm is used to update the noise power spectrum:where and represent the power spectrum of the current frame noise signal and the power spectrum of the previous frame noise signal, respectively. The average power spectrum of several frames at the beginning of the noisy speech signal is generally used as the initial value of .
Figure 5 shows the flow of the dynamic update of the broadcast signal noise spectrum.

The flow of the NF online test algorithm is shown in Figure 6.

The SNR of the transmitter output signal can be obtained bywhere is the useful signal power of the transmitter output signal, is the noise signal power of the transmitter output signal, and and can be obtained by (34) and (37):wherewhere,
Similarly, the signal-to-noise ratio of the transmitter input signal can be calculated.
The NF of the transmitter is available from the following equation:
7. Results and Analysis
7.1. Noise Power Spectrum
In order to verify the performance of the noise power spectrum estimation algorithm proposed in this paper, the noise power spectrum estimation algorithm based on IMCRA, the VAD noise power spectrum estimation algorithm, and the proposed noise power spectrum estimation algorithm in this paper are simulated [13, 14]. Figures 7 and 8 show the effect of the IMCRA algorithm, the VAD algorithm, and the method proposed in this paper on the noise amplitude spectrum when the input signal-to-noise ratio is 30 dB. In order to facilitate the observation and comparison, the true amplitude spectrum of the noise signal is given in each figure.


Figure 7 shows the noise amplitude spectrum estimation at a frequency of 562.5 Hz for the signal with a signal-to-noise ratio of 30 dB under the IMCRA and VAD noise estimation algorithms, where the black dotted line is the actual noise amplitude spectrum curve and the black thick curve is the VAD noise estimation algorithm. The resulting noise amplitude spectrum curve, the black fine curve, is the noise amplitude spectrum curve obtained using the IMCRA noise estimation algorithm. It can be seen from the figure that the IMCRA algorithm has better tracking effect on the noise amplitude spectrum than the VAD algorithm. However, in the case of high SNR, the IMCRA algorithm estimates the noise amplitude spectrum around the noise amplitude spectrum without tracking the change in the amplitude spectrum of the noise. The VAD algorithm only tracks the noise amplitude spectrum when the mute portion is detected.
Figure 8 shows the noise amplitude spectrum estimation curve at a frequency of 562.5 Hz for a signal with a signal-to-noise ratio of 30 dB under the joint noise estimation algorithm of IMCRA and VAD. The black dotted line is the actual noise spectrum curve, and the black solid line is the estimate noise spectrum by the proposed algorithm in this paper. It can be seen from Figure 7 that the new algorithm uses the IMCRA algorithm to track the noise amplitude spectrum in the nonsilent segment and uses the VAD algorithm to track the noise amplitude spectrum value in the silent segment. The joint estimation algorithm proposed in this paper is better than the IMCRA algorithm or the VAD algorithm. It has a good effect on estimating the noise amplitude spectrum.
7.2. Noise Estimation Performance
In order to test the effect of the noise power spectrum estimation algorithm proposed in this paper, we compared it with the IMCRA method in this section of the experiment. The comparison includes weighted spectral slope (WSS) and log likelihood ratio (LLR) [15–18]. The noise power spectrum estimation effects of the two algorithms are evaluated. The WSS and LLR simulation results are, respectively, shown in Figures 9 and 10.


In the experiment, a broadcast signal with 6 s is a useful signal. The noise signal is volvo noise, babble noise, f16 signal Noise, m109 noise, machinegun noise, and white noise from the Noise-92 database. Different noise signals are used as additive noise, and, respectively, mixed with useful signals into noise-containing signals with signal-to-noise ratios of 0 dB, 5 dB, 10 dB, 15 dB, 20 dB, and 25 dB, respectively. After the noisy signal is estimated by the noise power spectrum estimation algorithm, the estimated value of the useful signal is obtained by the basic spectral subtraction algorithm, and the WSS is calculated by formula (38) for the estimated signal and the LSS is calculated by formula (39).
The WSS reflects the weighted difference between the spectral slopes at each frequency point, and the difference between adjacent amplitude spectra is calculated in the form of decibels. The more smaller the WSS distance, the more closer the estimated signal is to the useful signal, and the better the noise estimation algorithm:where M is the total number of frames of the signal, m is the frame index number of the signal, K is the length of the noise frame, and is the frequency index number, is weighting factor. and are representing the spectral amplitude of the frequency point of the m frame of the actual useful signal and the estimated useful signal, respectively:where is the linear prediction coefficient vector of the useful signal, is a linear prediction coefficient vector of the estimated useful signal, and is a linear prediction autocorrelation matrix of the useful signal. The LLR is a spectral distance measure that primarily reflects the degree of mismatch between the estimated useful signal and the original useful signal. The value of LLR ranges from 0 to 2. The smaller the value is, the smaller the difference between the estimated useful signal and the original useful signal, and the better the performance of the noise estimation is.
By observing the simulation results in Figures 9 and 10, the following conclusions can be drawn:(1)Under different noise backgrounds and input signal-to-noise ratios, the WSS and LLR values of the two noise spectrum estimation algorithms tend to decrease with the increase of the signal-to-noise ratio.(2)Under different noise backgrounds and input signal-to-noise ratios, the proposed IMCRA and VAD joint noise spectrum estimation algorithm has smaller WSS and LLR values than the IMCRA noise spectrum estimation algorithm, indicating that the proposed algorithm is better than the IMCRA algorithm alone. The estimation of the noise spectrum is more accurate.
7.3. Transmitter NF Test Performance
Figure 11 shows the calculated NF value curve after the signal-to-noise ratio of the input signal is 5 dB and the signal-to-noise ratio of the output signal is 15 dB. The noise is calculated by two different noise estimation algorithms. The square black line is the actual NF value. The diamond black curve is the NF value estimated by t algorithm proposed in this paper, and the triangle black curve is the NF value estimated by the IMCRA algorithm. It can be seen from the figure that the algorithm proposed in this paper is closer to the true value than the NF value estimated by the IMCRA algorithm. After 2.5 s, it fluctuates at nearly 10 dB, which is the fluctuation around the true value, indicating that the proposed method is better for measuring the noise figure of the transmitter.

8. Conclusion
The transmitter noise online test algorithm proposed in this paper collects the broadcast audio signal transmitted in real time online, studies the signal-to-noise ratio of the signal to study the noise of the transmitter, and proposes a new dynamic update algorithm for noise spectrum. Compared with traditional test methods, it has better real-time performance. From the simulation results, the new noise spectrum update algorithm proposed in this paper can better track the noise. The error between the NF value and the real value obtained by the online test is very small, which can be used to measure the noise performance of the transmitter. The feasibility of studying transmitter noise performance by measuring the signal-to-noise ratio of broadcast audio signals online is confirmed.
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.