# Filter-Based Fading Channel Modeling

Authors: Amirhossein Alimohammad; Saeed Fouladi Fard; Bruce F. Cockburn
Journal: Modelling and Simulation in Engineering
 (2012)

---

## Abstract

A channel simulator is an essential component in the development and accurate performance evaluation of wireless systems. A key technique for producing statistically accurate fading variates is to shape the flat spectrum of Gaussian variates using digital filters. This paper addresses various challenges when designing real and complex spectrum shaping filters with quantized coefficients for efficient realization of both isotropic and nonisotropic fading channels. An iterative algorithm for designing stable complex infinite impulse response (IIR) filters with fixed-point coefficients is presented. The performance of the proposed filter design algorithm is verified with 16-bit fixed-point simulations of two example fading filters.


---

## Body

## 1. Introduction

Wireless communication systems must be designed to operate over radio channels in a wide variety of expected environments. Testing wireless transceivers is challenging due to unrepeatable and uncontrollable channel conditions. The initial performance verification of communication systems at the early stages of the design cycle is performed based on the channel characteristics defined by the underlying wireless communication standard. Therefore, accurate emulation of fading channels is a key step in the design and verification of wireless communication systems.In the multipath propagation scenario, the received signal contains different faded copies of the transmitted signal. The effect of the multipath fading channel on the baseband signal can be modeled with a time-variant linear system with the following impulse response [1]:
(1)α(τ;t)=∑n=0Np-1‍μn|cn(t)|ej∠cn(t)δ(τ-τn(t)),
where Np is the number of independent paths, μn is the average attenuation of the nth path, and cn(t) and τn(t) denote the complex gain and delay of the nth path. Each path gain cn(t) is commonly modeled as a complex Gaussian wide-sense stationary (WSS) process [2].To simulate a fading channel, we need to generate a suitable sequence of complex path gains{cn(t)} and then superimpose delayed replicas of the transmitted samples with the given delays {τn(t)} and path attenuations {μn}. Two major techniques have been widely used for simulating fading channels. In the first approach, the so-called sum-of-sinusoids (SoS) model, the fading process is modeled as the superposition of a sufficiently large number of sinusoidal waves. This approach was originally proposed by Clarke [3] and later simplified by Jakes [4]. Over the past four decades several modified SoS-based models have been proposed (e.g., [5, 6]).The second approach, which is used in this paper, is called the filter-based scheme. In this approach, to generate the in-phaseci(t) and quadrature components cq(t) of complex fading process cn(t)=ci,n(t)+jcq,n(t) with a particular correlation between variates, a complex zero-mean and unit-variance Gaussian random process n(t)=ni(t)+jnq(t) with independent samples is passed through a spectrum shaping filter (SSF) [7] with an appropriate frequency response H(f). A linear filtering operation on the complex Gaussian samples with flat power spectral density (PSD) yields samples that also have a Gaussian distribution, with spectrum Sy(f)=Sn(f)|H(f)|2, where Sn(f) is the PSD of the input samples and Sy(f) is the PSD of the output samples.Compared to the SoS-based method, the filter-based fading simulation method is much trickier to design and implement. A filter-based simulator needs to be designed carefully because of possible instability and possible finite word-length effects when implemented with fixed-point arithmetic. On the other hand, filter-based fading simulation has several advantages over the SoS-based method. First, with the filter-based method, it is possible to simulate a wide range of power spectral densities. Second, the filters can be designed to provide a high level of statistical accuracy. Finally, the generated samples have very accurate Gaussian distribution.In this paper, we present various considerations for designing stable fixed-point spectrum shaping filters for modeling both isotropic and nonisotropic fading channels. We propose an iterative filter design technique. The least-squares cost function is suggested in polar coordinates and augmented with a barrier function that keeps the poles (and potentially also the zeros) within the unit circle to enforce filter stability.The rest of this paper is organized as follows. Section2 discusses various considerations when designing isotropic fading channels. Section 3 presents filter design techniques for isotropic fading channels. Section 4 discusses the modeling of nonisotropic fading channels. In Section 5, we present our stable real and complex filter design techniques for stable fixed-point implementations. Finally, Section 6 makes some concluding remarks.


## 2. Isotropic Fading Channels

Isotropic scattering refers to the case in which the distribution of the incident directions of the received multipath signals, or angle of arrival (AoA), are equally distributed. Assuming an isotropic scattering Rayleigh fading channel with an omnidirectional antenna at the receiver, the path gains are modeled using a unit-variance zero-mean complex Gaussian processc(t)=ci(t)+jcq(t) [2]. Both ci(t) and cq(t) are Gaussian-distributed independent stochastic processes that have the same autocorrelation function (ACF) Rci,ci(τ)=Rcq,cq(τ)=𝒥0(2πfDτ)/2, where fD is the maximum Doppler frequency and 𝒥o(·) is the zeroth-order Bessel function of the first kind [4]. The PSD associated with either the in-phase or quadrature component of a complex fading signal has the well known Jakes' U-shaped band-limited form with independent in-phase and quadrature samples [8]:
(2)Sc(f)={1πfD2-f2if|f|<fD,0otherwise.
Fading samples can be generated by passing a stream of independent Gaussian samples through a SSF with the magnitude response equal to the square root of the magnitude of the PSD of the desired fading process (i.e., |H(f)|=|Sc(f)|1/2).The filtering process can be carried out in the time or frequency domains. In the frequency domain, the Gaussian samples are multiplied by|Sc(f)|1/2. Then, an inverse fast Fourier transform (IFFT) can be applied to the resulting discrete spectrum to obtain time series fading samples [9]. The resulting series is still Gaussian by virtue of the linearity of the IFFT, and it has the desired Jakes' spectrum. One major disadvantage of the IFFT method is its block-oriented nature, which requires all fading coefficients to be generated and stored before the data is sent through the channel. This implies significant memory requirements and precludes unbounded continuous transmission, which is usually preferred in long running characterization applications such as hardware fading simulation.In the time domain, the SSF can be implemented with either finite-impulse response (FIR) filters [10, 11] or infinite impulse response (IIR) filters [12, 13]. When implementing fading channel simulators using FIR and IIR filters, it is important to note that the degree of the FIR filter is related to the time span of the truncated signal held in the filter and inversely proportional to the Doppler frequency. Specifically, implementation of an extremely narrowband digital filter with a sharp cutoff and a very large attenuation in the stop-band requires a high-order FIR filter. Meeting the same specifications with an IIR filter typically requires fewer hardware resources than an FIR filter. In fact, utilizing both feedforward and feedback polynomials in an IIR filter permits steeper frequency roll-offs to be implemented for a given filter order than an FIR filter [14]. However, an FIR filter has no feedback and is thus inherently stable. As the coefficients are quantized in any fixed-point implementation, the resulting numerical error is fed back in the IIR filter, possibly causing instability. Moreover, such effects can cause significant deviations from the expected response. Thus we must ensure that the designed SSF is stable.The autoregressive (AR) modeling approach has also been proposed for generating fading processes by passing the noise through an all-pole IIR filter [15]. To produce samples with accurate statistics, the AR model needs a large filter order, which greatly increases the number of required multiplications per output sample. Also, implementation of the AR fading simulator demands highly accurate floating-point variables, which makes it unappealing for compact fixed-point implementations.


## 3. Spectrum Shaping Filter Design for Isotropic Fading Channels

In the design of the SSF, IIR filters are widely preferred to FIR filters due to their reduced computational complexity and their higher stopband attenuation. Moreover, since no constraints are imposed on the phase response, we choose to use IIR filters. We approximate the desired magnitude response of the SSF with an IIR filter of orderΓ. The magnitude response of the SSF is expressed as(3)H(ejω)=∏q=1Γ/2‍{gq×1+b1,qe-jω+b2,qe-j2ω1+a1,qe-jω+a2,qe-j2ω},
which is equivalent to the magnitude response of Γ/2 cascaded canonic second-order sections (SOSs), also known as biquads. In (3), b1,q, b2,q, a1,q, and a2,q denote the coefficients and gq denotes the real-valued scaling factor of the qth biquad.For a typical wireless communication scenario, the Doppler frequencyfD is significantly lower than the signal sample rate Fs. Thus, SSF would have an extremely narrow bandwidth and a very sharp cut-off. We can reduce the complexity of SSF by designing it at a much lower sampling frequency, F1≪Fs thereby reducing the required computations and also improving the accuracy of the designed filter. The resulting low-rate signal can then be interpolated to reach the target sampling frequency Fs=F1×∏j=1Tg‍Ij=Fs, where Tg denotes the number of interpolation stages and Ij is the interpolation factor at the jth interpolation stage. Given the desired frequency response Sc1/2(f)=(π2(fD2-f2))-1/4,|f|<fD, we can find the IIR filter coefficients using the MATLAB function iirlpnorm. This function uses double-precision floating-point variables and calculates the optimal values by minimizing the p-norm [16].Due to the higher hardware cost and complexity of floating-point hardware, fixed-point arithmetic is often preferred in very-large-scale integration (VLSI) and field-programmable gate array (FPGA) implementations. After the initial filter design, the filter coefficients and scaling factors are then quantized for fixed-point implementation. For a compact hardware implementation, variables should be implemented with the minimum possible fixed-point word-length. However, reducing the word-length impacts the response, and potentially the stability, of the designed IIR filter. When the filter coefficients are quantized from floating-point to fixed-point, the poles and zeros of the system function typically shift to new positions in thez-plane. Unfortunately, this step can perturb the implemented frequency response from its intended response. If the designed IIR filter is extremely sensitive to coefficient changes, the filter response might not meet the target specifications or the filter might even become unstable [17]. At this step, the filter has to be tested with fixed-point variables, and scaling factors gq are determined that sufficiently limit the magnitude of the generated samples to keep them within the representable range. To make sure that the filters are stable under quantization effects, we have designed the filters in fixed-point format using Filter Design Toolbox [18], which offers bit-true implementations of SOSs with section scaling and reordering to obtain maximum accuracy.An important observation is that if the stopband attenuation of the shaping filter is not sufficiently high, then the out-of-band noise that passes through the filter will degrade the accuracy of the statistics of the generated fading variates. Specifically, since designing a narrowband filter with a sharp cutoff and large attenuation invariably leads to a high-order filter, to obtain the closest approximation to the desired frequency response with a relatively small filter order, we only minimized the approximation error in the passband of the SSF. The low-pass filters utilized downstream in the interpolator stages can then be designed with extra attenuation over the transition region to ensure a sharp cut-off.To generate the Rayleigh fading process, independent samples of a zero-mean complex Gaussian process, generated by the Gaussian noise generator (GNG) block in Figure1, pass through an SSF with a magnitude response equal to the square root of the magnitude of (2). Samples generated by the shaping filter at a low sampling frequency need to be oversampled and passed through lowpass filters in order to obtain the target sample rate Fs. Let P denote the integer upsampling factor. Interpolation of the signal {x[n]} is performed by inserting P-1 zeros between each pair of successive samples of {x[n]} and then passing the resulting stream through a low-pass filter with cut-off frequency π/P radian/sec. In order to reduce the computational complexity, we perform the interpolation in multiple stages. Since only the amplitude response affects the correlation properties and no restrictions are imposed on the phase response, we use an elliptic IIR low-pass filter (EILPF) in the first stage. The lowpass filter has a symmetric frequency response and hence its poles and zeros appear in complex conjugate pairs, therefore, this filter can be realized using cascaded biquads. The SSF output is upsampled I1 times and passed to the EILPF generating F2=I1×F1 samples per second. The samples are further upsampled and interpolated using fading-specific interpolation low-pass filters (SILPFs) to obtain the desired output sample rate Fs. Since the maximum Doppler frequency is typically much smaller than the sampling frequency, we use a multiplication-free SILPF with frequency response:
(4)DPlz(ejω)=(1-e-jωPP-Pe-jω)lz,lz≥1,
where lz is the number of cascaded stages.Figure 1
Block diagram of the fading simulator.We propose to design the SSF at a sampling frequencyF1, where 4fD<F1≤8fD. Choosing F1 in this range satisfies the minimum Nyquist rate while keeping the computational complexity low. In addition, we have the opportunity to exploit power-of-2 interpolation factors to further reduce the hardware complexity and simplify the filter design. The generated samples from the SSF are upsampled I1=16 times and passed through the EILPF. Note that since the SILPF stages are designed to operate on narrowband signals, the first interpolation stage is positioned prior to the SILPF stages. Then, the samples are passed through successive SILPFs. The ith SILPF interpolates the signal 2ki times. Based on the processing architecture, the relation between F1 and the target output sampling rate is Fs=16×F1×∏i=1Tg‍2ki. From here we have F1=2-(4+Sg)Fs, where Sg=∑i=1Tg‍ki is an integer value in the range log2(Fs/fD)-7≤Sg<log2(Fs/fD)-6. Based on the maximum interpolation factor 2Kmax, where Kmax=4+max{Sg}, each SILPF is assigned a specific interpolation factor. The minimum Doppler frequency that can be simulated by this system is
(5)fDmin=2-(Kmax+3)Fs.To ensure accuracy, we measured the ACF and the probability density function (PDF) of the generated fixed-point fading samples against the ideal functions. Figure2 shows the autocorrelation of the real part of the generated fading process. The Doppler frequency is set to fD=0.6 Hz and the sample rate is Fs=2.5 million samples per second. This figure confirms a close match between the desired response and the generated results over up to 60 seconds. In another example, we measured the PDF for the amplitude of the generated samples with fD=200 Hz and Fs=10 MHz. The plots in Figure 3 show that the measured PDF accurately matches the ideal Rayleigh PDF.Figure 2
ACF of the generated fading samples withfD=0.6 Hz, Fs=2.5 MHz over 60 seconds.Figure 3
PDF of the generated fading samples withfD=200 Hz, Fs=10 MHz.


## 4. Modeling Nonisotropic Fading Channels

Isotropic scattering assumption has been challenged [19] due to the blockage of some propagation directions and antenna directivity, resulting in a nonuniform PDF for AoA at the receiver. Several nonuniform PDFs have been proposed in the literature to represent the AoA including the geometrically based PDFs [20], Gaussian PDF [21], quadratic PDF [22], Laplace PDF [23], cosine PDF [24], and von Mises PDF [25]. The von Mises PDF, which includes the uniform AoA distribution as a special case, is supported with empirical measurements of narrowband fading channels in [25]. Also it is argued that the von Mises PDF is attractive because it can approximate other nonuniform PDFs and can provide mathematical convenience for analysis [25].When the scattering encountered in the propagation environment is nonisotropic [26, 27], the complex envelope of the fading process is
(6)c(t)=ci(t)+jcq(t)=limN→∞1N∑n=1N‍αnej(2πfDcos(Ψn)+φn),
where ψn, n=1,…,N are independent and identically distributed (i.i.d.) angles of arrival of the incoming wave at the receiver antenna with distribution pΨ(ψ), φn, n=1,…,N are i.i.d. phases with uniform distribution over [-π,π), and αn, n=1,…,N are deterministic normalized complex constants that satisfy ∑n=1N‍|αn|2=N. The PSD function associated with c(t) is given by [25]
(7)Sc(f)=eκcos(ψ~)(f/fD)cosh(κsin(ψ~)1-(f/fD)2)πI0(κ)1-(f/fD)2,
where κ controls the beam width, ψ~ denotes the average AoA of the scattered component, and Im(·) is the mth order modified Bessel function of the first kind. To obtain (7), it is assumed that the AoA of the scattered component is distributed with the von Mises/Tikhonov distribution [28] as follows:
(8)pΨ(ψ)=exp[κcos(ψ-ψ~)]2πI0(κ),ψ∈[-π,π).
Note that when the beam-width parameter κ is zero, the AoA has a uniform distribution over [-π,π), and (7) reduces to Jakes’ “U-shaped” spectrum Sc(f)=(π1-(f/fD)2)-1.One of the important steps for generating the fading samples is designing the SSF. While most of the previously proposed filter design techniques might be appropriate for simulations of isotropic fading, they are not the best candidates for nonisotropic scattering scenarios, where AoA is not uniformly distributed or when the antennas are not omnidirectional. In contrast to isotropic fading, the PSD of fading samples in nonisotropic scattering (7) is not symmetric in general, and hence the filter coefficients are potentially complex [29] (e.g., the TGn fading channel models for simulating IEEE 802.11 radio propagation [30]). We will refer to filters with real coefficients as “real filters” and filters with complex coefficients “complex filters.”Various methods such as nonlinear optimization [31], linear programming [32], and semidefinite programming [33] have been suggested for designing IIR digital filters in the complex Chebyshev sense. Least-squares methods have also been applied extensively to design IIR filters [34]. For filter stabilization, several approaches have also been proposed. One method, proposed in [35], is to start the optimization from a stable point and then control the step size so that the solution never leaves the stable region. However, this method is computationally expensive and not easy to implement with traditional optimization procedures. In a second method, explicit constraints are imposed on the coefficients of the denominator of the transfer function [36]. This technique, however, has some limitations that affect the filter quality [37]. Finally, in a third method, the least squares cost function is modified so that the minimum always falls in the stable region [37]. This is ensured by adding a barrier function to the original cost function to avoid filter instability. To design the barrier function, an all-pole proxy transfer function is formed consisting of all of the filter poles. The barrier function is basically the sum of the squared amplitude of a section of the impulse response of the proxy transfer function. If the filter is unstable, the trailing tail of the response will have (large) nonzero values.For efficient filter implementation, the filter design method needs to produce filters that can be implemented with the minimum word-length while providing the required accuracy. The bit-precision selected for implementing the SSF plays an important role in the accuracy, stability, and efficiency of the filter implementation. Various methods have been proposed for designing IIR filters with fixed-point coefficients [38–41]. In [38], the optimal fixed-point real-valued filter is found by reformulating a cost function to include the hardware complexity. The cost function is then minimized using the simulated annealing method [42]. In this approach, no constraints are imposed on the precision of the intermediate signals, which can result in inefficient implementations. The filter design method proposed in [39] is based on FIR-to-IIR filter conversion. However, the resulting IIR filter has significantly higher complexity than its FIR prototype. In [40], IIR filter design is framed as a combinatorial optimization problem that is solved using a genetic algorithm. The design approach in [41] proposes bit-flipping and the downhill-simplex method for fixed-point IIR filter design.


## 5. Spectrum Shaping Filter Design forNonisotropic Fading Channels

We represent the IIR filter as a product of first-order sections (FOSs) [43]:
(9)H(ejω)=A∏k=1Γ‍1-rkej(θk-ω)1-skej(ϕk-ω),
where A is a positive scaling factor, rkejθk and skejϕk are the kth complex zero and pole, respectively, and Γ is the number of FOSs, that is, the filter order. Here, we focus on designing IIR filters with a prescribed amplitude response. When the amplitude of the frequency response is symmetric, the poles and zeros of (9) appear as complex conjugate pairs and the IIR filter can be implemented using Γ/2 biquads.We assume that the desired amplitude response is represented with2×M samples yid, where
(10)yid={|G(ej2πui)|if2πuiisinthepassbandε,otherwise,
and where G(ej2πui) is the desired response, ui∈[-0.5,0.5] is the normalized sampling frequency, and ε>0 is the attenuation in the stopband. Similar to the work in [44], we express H(ejω)=AF(x;ejω), where F(x;ejω) represents the product of FOSs in (9) and the column vector x of length 4Γ contains rk, sk, θk, and ϕk for k=1,…,Γ. Next, to find the filter parameters we define the cost function as follows:
(11)q(A,x)=∑i=02M-1‍vi(log(A|F(x;ejω)|)-log(yid))2+B(ϑ;ϱ;x),
where the weight vector v=[v1,v2,…,v2M]T allows us to emphasize the error minimization for certain frequency bands. Note that the sum of squared errors on a logarithmic scale is augmented by a parametric barrier function B(ϑ;ϱ;x). Function B(ϑ;ϱ;x) is included to keep the poles (and zeros, if necessary) within the unit circle to enforce filter stability and is defined as
(12)B(ϑ;ϱ;x)=∑k=k02Γ‍b(ϑ;ϱ;xk),
where
(13)b(ϑ;ϱ;τ)={0if|τ|≤ϱ,ϑ(|τ|-ϱ1-ϱ)2ifϱ<|τ|≤1,2ϑ1-ϱ|τ|-ϑ(1+ϱ1-ϱ)if|τ|>1.
In (12), ϑ determines how fast the barrier function grows outside of the unit circle and the parameter ϱ≤1 determines an outer boundary for the poles and zeros. When k0=Γ+1, the barrier function tries to keep the poles within a circle of radius ϱ. Setting k0=1, on the other hand, forces both the poles and zeros into the same boundary. The barrier function (12) is especially useful when designing filters for fixed-point implementation since it can be parameterized to keep the poles and zeros at any desired safe distance from the unit circle. Moreover, using this technique, the quantization noise can be reduced to acceptable levels. It can be shown that the variance of the quantization noise that originates in the k-th FOS when implemented in direct-form-I (DF-I) is
(14)σf2(k)=7×2-2(Ωk-1)6×(1-sk2),
where Ωk is the number of bits used to quantize the coefficients (and the intermediate variables) at the kth stage. To derive (14), it is assumed that the quantization noise after each multiplier is uniformly distributed, wide-sense stationary white noise that is uncorrelated with both the input signal and the quantization noise in other stages. We also assume that the samples are truncated and represented in 2's-complement. Controlling the maximum absolute value of the filter poles limits the quantization effects to an acceptable level.The coefficients of the IIR filter are calculated using an iterative optimization algorithm. At each iteration, the optimum scaling factorAo is calculated as
(15)Ao=∏i=02M-1‍(yid|F(x;ej2πui)|)(vi/∑i=02M-1vi).
This expression for Ao is found by differentiating (11) with respect to A and setting the resulting expression to zero. To calculate the gradient vector
(16)g(Ao,x)=[∂q(Ao,x)∂x1,…,∂q(Ao,x)∂x4Γ]T,
the partial derivative of q(Ao,x) with respect to the kth component xk of x can be calculated as
(17)∂q(Ao,x)∂xk=2∑i=02M-1‍[vilog(Ao|F(x;ejωi)|yid)|F(x;ejωi)|vilog(Ao|F(x;ejωi)|/yid)|F(x;ejωi)|21∑i=02M-1‍×∂|F(x;ejωi)|∂xkvilog(Ao|F(x;ejωi)|yid)|F(x;ejωi)|]+∂B(ϑ;ϱ;x)∂xk,
where ωi=2πui,(18)∂|F(x;ejω)|∂rk=|F(x;ejω)|rk-cos(θk-ω)|1-rkej(θk-ω)|2,∂|F(x;ejω)|∂θk=|F(x;ejω)|rksin(θk-ω)|1-rkej(θk-ω)|2,∂|F(x;ejω)|∂sk=|F(x;ejω)|cos(ϕk-ω)-sk|1-skej(ϕk-ω)|2,∂|F(x;ejω)|∂ϕk=|F(x;ejω)|-sksin(ϕk-ω)|1-skej(ϕk-ω)|2,
and each partial derivative of the barrier function is given by
(19)∂B(ϑ;ϱ;x)∂xk={0if|xk|≤ϱork<k0ork>2Γ,2ϑ(|xk|-ϱ)(1-ϱ)2sign(xk)ifϱ<|xk|≤1,2ϑ1-ϱsign(xk)if|xk|≥1.Algorithm1 summarizes the steps for our proposed iterative filter design. We utilized the ellipsoid algorithm [45] here for its simplicity; however, other optimization techniques could be used. This filter design algorithm can be parameterized to provide a close approximation of the desired response. The desired response yd=[yid], the fixed-point format Ω used for the filter coefficients, a weight vector v, and the outer boundary ϱ for zeros and poles are passed to Algorithm 1. The filter design procedure can start with a reasonable order Γ for the initial approximation. The filter order can be increased gradually if the desired filter characteristics are not met. The algorithm starts from an arbitrary point x0 contained within the unit sphere and a relatively large (20 times in this algorithm) initial ellipsoid matrix E0=20I4Γ×4Γ, where I denotes the identity matrix. The algorithm then searches for the optimal solution within the present ellipsoid of feasible points. This algorithm then converges on the optimal solution by successively reducing the size of the ellipsoid by χk until it is small enough (i.e., the algorithm has converged) or when |xk+1-xk| is within a chosen accuracy ϵ. The function 𝒬[Ω,x] represents the quantization effects that affect each element of x in the Cartesian coordinate system (coefficients are transferred to Cartesian coordinates, quantized, and then transferred back to the polar coordinates). Note that stable real IIR filters can be designed with the above algorithm as well. To design such filters, the sample update is only performed for half of the poles and zeros, and the others are simply the complex conjugates of the updated samples.Algorithm 1:Iterative calculation of the filter coefficients [43].
Require:
ϱ
;
ϑ
;
Ω; v=[vi], and yd=[yid]
fori=0,…,2M-1
Initializek=0, x0, E0=20I4Γ×4Γ
while|xk+1-xk|≥ϵdo
findAko from (15)
findgk=g(Ako;xk)
χk=gkTEkgk
g~k=gk/χk
xk+1=𝒬[Ω,xk-(1/(4Γ+1))Ekg~k]
Ek+1=((4Γ)2/((4Γ)2-1))(Ek-(2/(4Γ+1))Ekg~kg~kTEk)
k=k+1
end whileAn important point to note is that IIR filters are naturally susceptible to arithmetic overflow and instability due to the inherent feedback. Both the design and implementation of digital IIR filters must be carried out carefully to avoid such pitfalls. While scaling techniques are commonly used to keep the filter variables in range [46], a poor choice of scaling factor can result in a loss of signal precision and an increase in quantization noise. Another technique is to use more bits to represent intermediate signals. This method, however, is inefficient on DSPs with a fixed word-length. Moreover, simply adding extra bits increases resource utilization in FPGA and ASIC implementations. We suggest to use (i) pole-zero ordering and/or (ii) augmenting auxiliary poles and zeros techniques for minimizing the range of intermediate signals that can be effectively used for reducing the signal range, overflow probability, and resource utilization in hardware implementations [47].Considering a small section of an IIR filter, overflows are mainly caused by oscillations around resonant frequencies. Assuming a limited input signal range, we can reduce the signal range by reducing the maximum oscillation magnitude. The oscillation frequency is mainly determined by filter poles. Consider a single FOS of an IIR filter with only one pole at frequencyej2πfpole. The output range of this section can be reduced significantly if the input signal to this section is attenuated around frequency ej2πfpole. In pole-zero ordering technique, we need to implement the IIR filter with the DF-I structure so that the input signal experiences a zero before it is affected by the pole. We thus sort the filter sections according to their pole magnitude in an ascending order and match the filter poles with the closest zeros. Further, signals are scaled in the different stages to assure filter stability.The second method for reducing the signal range is to attenuate the input signal around the resonant frequencies of an IIR filterej2πfNat, that could potentially result in oscillation or overflow. This imposed distortion can be later compensated for with additional poles and/or zeros. This technique is applicable only if the input signal does not have a major frequency component around ej2πfNat. One example is the implementation of narrowband low-pass filters with an approximate resonance frequency around DC. If the input signal does not have a DC component, it can be first passed through a high-pass filter D(ejω)=1-e-jω (difference) prior to being passed through the filter. The filter output can then be later compensated by passing the output signal through the integrator I(ejω)=(1-ρe-jω)-1. The coefficient ρ∈[1-ϵ,1) is intentionally added here since quantization noise and computational errors can render a perfect integrator (i.e., ρ=1) unstable.When employed along with pole-zero ordering, the augmented poles and zeros are not included in the ordering process, and instead they keep their position in the DF-I structure, that is, the augmented zero appears first and the pole appears last. This technique, when used in conjunction with pole-zero ordering and scaling, can provide efficient, accurate, and compact implementation of real and complex IIR filters.To demonstrate the performance of our filter design procedure, we design two IIR filters withΓ=12 FOSs. Here, the SSF is approximated with
(20)H(ejω)=∏k=1Γ‍gk×1-b1,ke-jω1-a1,ke-jω,
where gk is the positive scaling factor, b1,k and a1,k are the kth complex zero and pole, respectively, and Γ is the filter order. This filter can be realized as a cascade of Γ FOSs. For isotropic scattering, however, poles and zeros of (20) appear in complex conjugate pairs and the shaping filter can be implemented using Γ/2 canonic second-order sections. We set the parameters ϑ=5 and ϱ=0.99, that is, the poles and zeros are bounded within a circle of radius 0.99. For all of the FOSs, the number of bits for representing each coefficient is set to Ω=12. Figure 4 shows the frequency responses of the designed filters (with out-of-band attenuation ε=0.001) as well as the desired responses. In this figure, filter (a) is a lowpass filter with normalized pass frequency fp=0.3, and filter (b) is a complex filter with frequency response H(f)=α+βf3 for |f|≤0.2 and H(f)=ε for |f|>0.2. As Figure 4 shows, the frequency responses of the designed fixed-point filters closely match the desired responses. Figure 5 shows the position of the poles and zeros for the designed filters. Note that all of the poles and zeros lie within a circle of radius ϱ=0.99.Figure 4
Frequency response of the designed fixed-point filters and the desired responses.Positions of the poles and zeros in the unit circle for the designed filters.
(a)
(b)To illustrate the effectiveness of these range reduction techniques, we simulated an orderΓ=6 Elliptic low-pass filter with sample rate Fs=4800 Hz, pass frequency Fpass=1200 Hz, stop frequency Fstop=1500 Hz, passband ripple Apass= 1 dB, and stopband attenuation Astop=50 dB. We measured the maximum absolute range of variables by passing 108 uncorrelated zero-mean Gaussian samples through the designed filter. It is assumed that the input signal (white Gaussian noise) does not have a DC component. Table 1 shows the maximum absolute signal ranges for different filter implementations. The output of each FOS or SOS is scaled to lie within [-1,+1]. As this table shows, the direct-form-II (DF-II) implementation requires the most number of bits (at least nine bits for the integer part). The DF-I implementation of this filter with the pole-zero ordering (DF-I + ord.) reduces the signal range significantly. Moreover, augmenting a zero at DC (DF-I + ord. + aug.) can further reduce the signal range such that the minimum number of integer bits is reduced to five. In this example, the range reduction technique saves four bits in word-length, which can significantly reduce the hardware complexity.Table 1
Maximum absolute signal range in different sections of a low-pass filter implemented with different techniques.
1st section
2nd section
3rd section
DF-II
182.22
422.82
421.44
DF-I + ord.
35.43
20.93
9.79
DF-I + ord. + aug.
20.87
14.81
11.04


## 6. Conclusions

In this paper we discussed various considerations when designing accurate isotropic and nonisotropic fading channels. We investigated the filter-based approach, which can be customized to accurately provide the statistical properties required for simulating different fading scenarios. We proposed an iterative technique that can be used to design both complex and real IIR filters with fixed-point coefficients. We augmented the least-squares cost function with a specific barrier function to control the location of the poles (and potentially also the zeros) within the unit circle to ensure numerical stability. We also suggested two techniques for reducing the signal range. Signal range reduction is particularly important in hardware implementation since it can directly reduce hardware complexity. Simulation results showed that the proposed filter design technique can significantly reduce the required word-length for fixed-point IIR filter implementations.



---

*Source: 705078-2012-10-03.xml*