1 Introduction

Impulsive noise (IN) is one of the most challenging factors of performance degradation in power line communications [1]. One of the most widely used modulation techniques for PLC and wireless/wired channels is orthogonal frequency division multiplexing (OFDM). It offers many advantages like increased data rates, robustness in multipath, and resistance to noise [2].

Impulsive noise (IN) is characterized by random occurrences of short bursts with high amplitude [3]. High-spectral-power IN pulses degrade the performance of the OFDM system by reducing its signal-to-noise ratio (SNR) and increasing symbol-error rate (SER) [4]. One of the simple methods to improve system performance is to precede a conventional OFDM demodulator with blanking nonlinearity in which a signal sample is set to zero if its amplitude exceeds a particular threshold. This threshold is conventionally fixed in an OFDM receiver [5]. The fixed value of threshold plays a very important role in the resulting SNR of the system. This is because the samples whose amplitudes are greater than the threshold are presumed to be affected by IN and are therefore blanked. Samples whose amplitudes are lesser than the fixed threshold are considered to be true values of the signal—unaffected by IN and hence remain unchanged. Therefore, fixing a very high value of threshold may not blank all the IN-affected signals, and a very low value of threshold may blank the true samples [6]. Figures 1 and 2 explain the significant role of threshold.

Fig. 1
figure 1

Blanking nonlinearity at very low fixed threshold applied to IN-affected signal

Fig. 2
figure 2

Blanking nonlinearity at very high fixed threshold applied to IN-affected signals

Various methods to find optimal threshold have been reported in [7] and [8]. However, these methods are purely theoretical. A direct relationship between the peak of the transmitted signal and optimal threshold is derived in [8], but it is not feasible to determine the exact peak of transmitted signal of OFDM receivers. In this paper, we propose an optimized threshold-calculation method for blanking nonlinearity based on impulsive noise estimation (INE) by using distribution characteristics of the received signal, i.e., peak (maximum value), median, and mean. The use of median and mean in filtering and removing impulsive noise has already resulted in many well-established algorithms in [9] and [10]. The optimized threshold-calculation method proposed in this paper is independent of the probability of IN occurrence and can be adapted to a receiver even if the probability of IN occurrence in the channel is not known. Since the proposed method determines the optimized threshold using the characteristics of the received signal, instead of the transmitted signal, it can be used in practical scenarios.

The paper is organized as follows. Section OFDM system model and optimized threshold-calculation method describes the system model and optimized threshold-calculation method. The system performance of the proposed optimized threshold (OT) is compared with a fixed threshold (FT) by simulations at different probabilities in Section Simulation results and discussions. Conclusions are presented in Section Conclusions.

2 OFDM System model and optimized threshold-calculation method

2.1 OFDM system model

The model for OFDM transmission system is shown in Fig. 3.

Fig. 3
figure 3

Block diagram of the OFDM transmission system with the blanking device at the receiver

In the OFDM system, the time-domain signal s(t) is obtained by taking the inverse Fourier transform of the frequency-domain signal by using

$$ s(t)=\frac{1}{\sqrt{N}}{\displaystyle \sum_{k=0}^{N-1}{S}_k \exp \left(j\frac{2\pi .k.t}{T_S}\right)},\kern0.75em 0<t<{T}_{\mathrm{S}} $$
(1)

Where S k denotes the frequency-domain signal, \( j=\sqrt{-1} \), N is the number of subcarriers, and T s is the active symbol interval. The transmitted signal is passed through an additive transmission channel, including additive white Gaussian noise (AWGN) and additive IN. AWGN is denoted by w k and has variance. \( {\sigma}_w^2=\left(1/2\right)E\left[{\left|{w}_k\right|}^2\right] \). IN is denoted by i k and is modeled as a Bernoulli-Gaussian random process [4] as follows:

$$ {i}_k={b}_k{g}_k,\kern1em 0\le k\le N\hbox{-} 1 $$
(2)

Where b k is the Bernoulli process of sequence ‘b k = 1’ or ‘b k = 0’ with probability of p or 1 − p, respectively, and g k is the complex–zero mean white Gaussian noise with variance \( {\sigma}_i^2=\left(1/2\right)E\left[{\left|{g}_k\right|}^2\right] \). Thus, the noisy channel can be characterized by the signal-to-AWGN ratio \( SNR=10{ \log}_{10}\left(1/{\sigma}_w^2\right) \) and signal-to-IN ratio \( SINR=10{ \log}_{10}\left(1/{\sigma}_i^2\right) \). The received time-domain signal (r k ) can be expressed as

$$ {r}_k=\left\{\begin{array}{c}\hfill {s}_k+{w}_k\kern2.25em \mathrm{if}\ {b}_k=0\hfill \\ {}\hfill {s}_k+{w}_k+{i}_k\kern0.75em \mathrm{if}\ {b}_k=1\hfill \end{array}\right., $$
(3)

Where s k = s(kT s /N) is the sampled OFDM signal in time domain with a variance of \( {\sigma}_s^2=\left(1/2\right)E{\left|{s}_k\right|}^2=1 \). The received signal is passed to the nonlinear preprocessor. The output of the nonlinear preprocessor y k is then fed to the OFDM demodulator for further processing and is represented in [5] as

$$ \mathrm{Blanking}:\cdot {y}_k=\left\{\begin{array}{c}\hfill {r}_k\ \left|{r}_k\right|\le T\hfill \\ {}\hfill 0\kern0.5em \left|{r}_k\right|>T\hfill \end{array}\right., $$
(4)

where T is the blanking threshold and k = 0, 1, …, N − 1. The threshold value is a crucial parameter in blanking nonlinearity as it is responsible for deciding which signal is to be blanked [6].

2.2 The proposed optimized threshold-calculation method

We investigated that instead of fixing a threshold, blanking can result in higher SNR if it is performed at an optimized threshold (OT) determined by the distribution characteristics of the received signal. The proposed calculation method for OT is shown in the form of a block diagram in Fig. 4.

Fig. 4
figure 4

Block diagram of calculating optimized threshold from distribution characteristics of received signals

For optimizing threshold, we define some parameters known as impulsive noise estimation (INE), alpha (α), beta (β), and gamma (γ). The value of γ can be set by the user in the range of 5.1 ± 0.1. The values of INE, α, and β are calculated as shown in Eqs. (5), (6), and (7) as follows:

$$ \mathrm{I}\mathrm{N}\mathrm{E}= \max \left({r}_k(dB)\right)- mean\left({r}_k(dB)\right) $$
(5)
$$ \alpha = median\left({r}_k(dB)\right)- mean\left({r}_k(dB)\right) $$
(6)
$$ \beta =\gamma -\alpha $$
(7)

The threshold which gives maximum SNR based on INE is calculated as shown in Eq. (8).

$$ \mathrm{O}\mathrm{T}=\mathrm{I}\mathrm{N}\mathrm{E}/\beta $$
(8)

3 Simulation results and discussions

The computer simulation of the OFDM system is carried out with 16 QAM modulation, SNR = 40 dB, SINR = −15 dB, number of subcarriers, N = 105, \( {\sigma}_w^2=\left(1/2\right)E\left[{\left|{w}_k\right|}^2\right] \), and \( {\sigma}_i^2=\left(1/2\right)E\left[{\left|{g}_k\right|}^2\right] \).

Probability (p) of IN occurrence is considered to be p = 0.01, 0.03, and 0.1, which implies that 1, 3, and 10 % of the received samples will be affected by IN, respectively. Therefore, with 105 subcarriers, the average number of IN pulses received within each OFDM symbol is (pN), i.e., about 1000, 3000, and 10,000 IN pulses per OFDM symbol for p = 0.01, 0.03, and p = 0.1, respectively. The output SNR is obtained by

$$ SNR=\left(\frac{E\left[{\left|{s}_k\right|}^2\right]}{E\left[{\left|{y}_k-{s}_k\right|}^2\right]}\right) $$
(9)

Conventionally, the fixed threshold (FT) of OFDM receivers may be selected in the range from 0 to 15 resulting in an SNR of 0 to 18 dB [5]. It is also found that the value of optimal threshold which gives maximum SNR is different for different probabilities of impulsive noise occurrence [6]. In our method of calculating optimized threshold (OT) in Eq. (8), optimum value of β lies in the range of 4 to 6 as shown in Fig. 5. In order to get more accurate results, we define β as in Eq. (7). Therefore, we have only one fixed parameter, gamma (γ), whose value can be 5.1 ± 0.1. As shown in Fig. 6, SNR fluctuates only ±0.15 dB by changing the value of γ within ±0.1 range.

Fig. 5
figure 5

SNR with varying β in OT

Fig. 6
figure 6

SNR with varying γ in OT

For blanking with FT, the fixed optimal thresholds which maximize SNR were obtained from the results reported in [6]. To check the accuracy of our simulation model in terms of the selection of FT, the SNR after blanking nonlinearity using FT was obtained in 100 iterations. Figure 7 shows that the simulation results of SNR with FT closely match the analytical results as obtained in [6]. Figure 7 also shows the plot of resulting SNR in 100 iterations after applying blanking nonlinearity using OT. It is clearly shown that OT outperforms FT in all IN scenarios by providing a higher SNR than that achieved by FT.

Fig. 7
figure 7

SNR of blanking nonlinearity with FT and OT for 100 iterations and p = 0.1, p = 0.03, and p = 0.01

The relative gain in SNR achieved by OT as compared with FT is plotted in Fig. 8 using Eq. 10. The maximum achievable relative SNR gain is about 2.24 dB for p = 0.1, 1.16 dB for p = 0.01, and 1.73 dB for p = 0.03. Figure 8 shows that the relative SNR gain is never less than 0 for all probabilities. This means that blanking nonlinearity with OT never results in lower SNR than blanking nonlinearity with FT. To further check the accuracy of the proposed method, the relative SNR gain was also plotted simulating a 64 QAM modulation. Figure 9 shows that the gain is always greater than 0 even with higher modulation index.

Fig. 8
figure 8

Relative SNR gain with OT relative to FT blanking nonlinearity, 16 QAM modulation

Fig. 9
figure 9

Relative SNR gain with OT relative to FT blanking nonlinearity, 64 QAM modulation

$$ SN{R}_{RG}(dB)=10{ \log}_{10}\left(SN{R}_{OT}/SN{R}_{FT}\right). $$
(10)

System performance of blanking nonlinearity with OT is also compared with FT in terms of symbol-error rate (SER). Figures 10, 11, and 12 show SER for p = 0.01, 0.03, and 0.1, respectively. Table 1 shows that the minimum SER achieved by OT is always lower than that achieved by the FT method in all IN scenarios. The SER of the system is given in Eq. 11 as in [6] as follows:

Fig. 10
figure 10

SER of blanking nonlinearity with OT and FT p = 0.01

Fig. 11
figure 11

SER of blanking nonlinearity with OT and FT for p = 0.03

Fig. 12
figure 12

SER with OT and FT for p = 0.1

Table 1 Minimum SER achieved by blanking nonlinearity with OT and FT
$$ \mathrm{S}\mathrm{E}\mathrm{R}=1-{\left[1-2\left(1-\frac{1}{\sqrt{m}}\right)Q\left(\sqrt{\frac{3\gamma }{m-1}}\right)\right]}^2 $$
(11)

Where m is modulation index and Q is Q function.

4 Conclusions

The optimized threshold for blanking nonlinearity for achieving higher SNR and lower SER is proposed. As the optimized threshold is determined according to the peak, mean, and median of the signal, it gives better results and better system performance regardless of the probability of impulsive noise occurrence. On the other hand, a fixed threshold is independent of the signal characteristics. Therefore, one fixed threshold is not suitable for all the received signals with different probabilities of impulsive noise which may occur in practical scenarios.

Moreover, in this paper, the optimum range for setting γ is introduced. Changing γ within the given range does not cause a greater change in SNR. The SNR remains higher than that achieved by setting a fixed threshold. Whereas, changing the conventional fixed threshold results in a drastic change in SNR.