Sunteți pe pagina 1din 5

Performance of a New Single-Bit Ternary Filtering

System
Adam Charles Thompson∗ , Zahir M. Hussain∗ , and Peter O’Shea†
∗ School
of Electrical and Computer Engineering
RMIT University, Melbourne, Victoria 3000, Australia
E-mails: s2114313@student.rmit.edu.au, zmhussain@ieee.org
† School
of Electrical and Electronic Systems Engineering
Queensland University of Technology, Brisbane, Queensland 4000, Australia
E-mail: pj.oshea@qut.edu.au

Abstract— Recently we have proposed a new structure for Such modulators have found widespread use as conversion
efficient single-bit filtering. The system consists of a ternary elements between analog and digital domains.
finite impulse response filter and a remodulating low-pass infinite A number of techniques for filtering of Σ∆M single-bit
impulse response filter. Embedded within the remodulating filter
is a sigma-delta modulator. In this work we examine several streams have been presented [1], [2], [3]. In [3], a fourth-order
interpolation methods for generating the ternary taps, along with low-pass Σ∆M and a zero-interleaved multi-bit FIR filter are
their effect on the system frequency response. utilized. However, this does not approach the efficiency of
the Σ∆M-based infinite response (IIR) filter in [2]. The latter
I. I NTRODUCTION technique needs only multiplexers, without the parallel multi-
The single-bit format generated via sigma-delta modulation bit multipliers that are required by the zero-interleaved filter
can greatly simplify some arithmetic operations, particulary of the former technique. However, the IIR-based filter suffers
in the silicon domain. The freely available power of off the from the disadvantages that the phase is no longer linear, and
shelf processing elements of late, has greatly increased. The the filter is much more susceptible to coefficient quantization
processing requirements of some algorithms, however, has errors than the standard FIR filter. The IIR filter coefficient
also greatly increased. For instance, consumers are demanding quantization can be alleviated, as proposed in [2], if higher-
more features, smaller devices, and longer battery lives from order IIR filters are implemented using quasi-orthonormal
products such as mobile phones, video phones, and PDA’s. structures. These structures require N Σ∆Ms for an N th -
Solutions are being developed on single chips. Hence, oper- order IIR filter realization. Increasing the number of Σ∆Ms
ations such as digital filtering are required to be as efficient greatly reduces the implementation efficiency. In addition,
as possible. Efficient reduced-silicon-space filters are required each modulator adds to the in-band noise in these structures
for such tasks. as the modulators are the main source of noise in these filters.
A solution to some digital filtering efficiency tasks is to In [4], we proposed a filtering structure that consists of
encode the finite impulse response (FIR) filter coefficients in a ternary FIR filter cascaded with a first-order Σ∆-based
a ternary format, using sigma-delta modulators (Σ∆M) with IIR filter. The resultant filter can accept either multi-bit or
ternary quantizers [1]. These Σ∆M’s trade an increase in time single-bit inputs, and produces a filtered single-bit output. The
resolution for an increase amplitude resolution. The ternary architecture contains only one multi-bit multiplier. This makes
quantizer limits the modulated FIR coefficients (or tap values) for an efficient use of processing power and silicon space. A
to the set { 1,0,-1}. This ternary modulation reduces the block diagram of the recently proposed filter is shown in figure
multitude of multi-bit multipliers found within the traditional 1.
FIR filter to a simple sign change. The ternary-encoded filter
+
taps have an advantage over multi-bit taps, as they remove x(k) g(k) s(k)
Ternary Sigma-Delta
the requirement for multipliers. Multi-bit multipliers require a b + +
FIR Modulator

large number of gates and, as such, consume large areas of y(k)


-
Z-1
silicon space. This makes multipliers an unattractive option
for real-estate conscious silicon designs. Filtering efficiency
can be further increased if the input signal to the ternary a
filter is in a single-bit format [1]. This single-bit format has
only two possible values { 1, -1}. The multiplication operator
is then reduced to a multiplexer, or a small lookup table. Fig. 1. Block diagram of the recently proposed digital Σ∆ FIR-like
The single-bit format can be obtained directly via the use of bit-stream filter.
commonly available analog-to-digital sigma-delta modulators.
II. T HE T ERNARY FIR F ILTER s(k)
g(k) + +
The ternary filter is a FIR filter with ternary taps (i.e., +1, + + + + z -1
-1, and 0). The ternary nature of the taps allows a simple - -
implementation of the FIR filter. This filter is extremely Quantizer
z -1
efficient. Efficiency can be further increased if the input to
the ternary filter is in a single-bit format. Each multiplication
in the FIR filtering operation can then be implemented in
hardware with either a couple of logic gates or a very simple
look-up table [6]. The structure of the ternary filter is shown Fig. 3. Block diagram of a 2nd -order Σ∆ modulator.
in Fig. 2.
unduly modify the shape of the impulse response; it should
x(k) -1 -1 -1 -1 -1 -1 only add quantization noise which is largely confined to the
z z z z z z
out-of-band region. The ternary filter requires operation at an
1 0 -1 -1 1 0
over-sampled rate (OSR), a requirement that will be met since
the input signal is assumed to be a Σ∆-modulated bit-stream.
The z-domain transfer function of the Σ∆M shown in Fig.
3 is given by:
H(z) = G(z)z −1 + E(z)(1 − 2z −1 + z −2 ) (2)
y(k) where G(z) represents the target impulse response, and E(z)
represents the quantization noise transfer functions. The noise
shaping effect of the Σ∆M is evident from the presence of
Fig. 2. Block diagram of a ternary FIR filter.
the filtering term (1 − 2z −1 + z −2 ), acting on the noise term
E(z). The frequency response of the above Σ∆M is given by:
Mathematically the FIR filter output y(k) can be described
by a convolution of the ternary taps hi and the input signal HΣ∆T (ejΩ ) = G(ejΩ )e−jΩ + E(ejΩ )(1 − 2e−jΩ + e−2jΩ )
x(k). If M is the filter order, then the filter output is given (3)
by: where Ω is the normalized radian frequency.
One advantage of a low-bit resolution system is that the
M
 coefficient quantization noise falls in the same spectral region
y(k) = hi xk−i , hi ∈ {1, 0, −1} (1)
(outside fo ) as the input signal quantization noise and the
i=0
remodulating filter quantization noise.
The tap values are generated via either Σ∆ modulation of a The effects of spline, linear, nearest neighbor, fft, and cubic
target impulse response, or by using optimization techniques interpolation are reviewed. For each method, sets of taps
discussed in [5] and [6]. In this paper Σ∆ modulation is are generated for ranges of OSRs and the number of target
used. The preferred method, for encoding an impulse response, impulse taps (T ). The minimum stop-band attenuation is then
using Σ∆M is a two-step process [1][8]. A target impulse found and plotted. The results are then compared to determine
response at baseband is obtained. This impulse response is the most suitable interpolation method for ternary FIR filters.
then interpolated to the required sampling frequency (fs ). Normalized low-pass target impulse responses were gener-
Ideally the choice of interpolation method would not matter. ated using the remez-exchange algorithm. The pass-band edge
However, the interpolation process is not ideal. The effect that was set to fp = 0.2, and the stop-band edge to fz = 0.3. An
different interpolation methods have on the minimum stop- example of a thirty-two tap target filter frequency response is
band attenuation of ternary FIR filters will be examined. A shown in figure 4.
second-order Σ∆M will be used to generate tap values in The normalized responses were then interpolated and mod-
ternary format. Investigation of the effects of different types ulated to the ternary format. The resultant minimum stop-band
of modulators on the ternary frequency response is a vast task attenuation for ranges of OSR and target number of taps
and will be left for future works. The Σ∆M used to encode (T )are shown in figures 5, 6, 7, 8, 9 for different interpolation
the FIR taps is shown in figure 3. methods . The 3-D plots show the variation in minimum stop-
A ternary quantizer is used to generate the tri-level output band attenuations, for the differing interpolation techniques.
in the Σ∆M. This has the advantage of having a higher signal- One interesting point gained from the these graphs is how little
to-quantization noise ratio (SQNR) than the common single- the minimum stop-band attenuation varies with increasing (T )
bit quantizer. Careful selection of the quantizers’ thresholds (the number of target taps). This effect is evident within all the
yields higher SQNR performance. The quantizers’ thresholds resultant ternary filters. Hence, there is no need to use large
were equally-spaced throughout the range of the quantizer [1]. numbers of taps in the target impulse response. This allows
The Σ∆M must also have a flat signal frequency response over the total amount of single-bit taps to remain low, thereby
the bandwidth fo of the signal. That is, the Σ∆M should not increasing the ternary filters efficiency.
Target Frequency Response Oversampling Vs Stopband Atten for FFT Interpolation

Min Stopband Atten dB


30
−20
Attenuation (dB)

25
−40
20

−60 15

−80 120
100
80
80 60
−100 60
0 0.1 0.2 0.3 0.4 0.5 40
Frequency (Hz) T (Target Taps) 40 20 OSR

Fig. 4. Normalized target filter frequency response with 32 taps and Fig. 6. Graph of Ternary Taps generated from a FFT interpolation
pass-band edges defined by the normalized frequencies fp = 0.2 and of a target response.
fz = 0.3.
Oversampling Vs Stopband Atten for Linear Interpolation
Oversampling Vs Stopband Atten for Spline Interpolation

Min Stopband Atten dB


30
Min Stopband Atten dB

30
25

25
20

20 15

15 10

120
100
120 80
80 60
100
80 60 40
80 60 T (Target Taps) 40 20 OSR
60 40
T (Target Taps) 40 20 OSR

Fig. 7. Graph of Ternary Taps generated from a linear interpolation


Fig. 5. Graph of Ternary Taps generated from a spline interpolation of a target response.
of a target response.

have an all-pass signal frequency response, and as such are


The cubic technique in figure 9, shows a saturation at vulnerable to stability problems caused by high frequency
approximately 25 dB. Hence, due to the poor stop-band components at the input. This is due to high frequency energy
performance, this technique will no longer be discussed and components increasing the quantizers input variance. As a
will be ruled out from use in ternary filtering. The graphs in result, the AC loop gain and stability margin are reduced [3].
figures 5, 6, 7 and 8 clearly show that the spline, fft, linear, To overcome this difficulty, a structure with a low-pass signal
and nearest neighbor interpolation methods generate the high- transfer function and a single-bit output are required.
est stop-band attenuations. These techniques are capable of In [2], several remodulating structures are proposed. These
generating in excess of 30 dB stop-band attenuation, at higher structures contain an IIR filter with embedded Σ∆M. The
over-sampling ratios. The spline, fft, and linear techniques (see simplest of such recursive filters has a first-order IIR structure.
figures 5, 6, and 7) show the highest stop-band attenuations, The digital Σ∆M used in the newly proposed filter must
also the least variation in minimum stop-band attenuation. The introduce only a single delay throughout the system. This
nearest neighbor stop-band attenuation varies more than other arises because the Σ∆M is used as a delay element in the
techniques with the OSR, and hence it is also ruled out as IIR filter, which limits the selection of Σ∆M’s.
suitable for ternary filtering.
The best choice of Σ∆M should provide good noise shaping
III. T HE R EMODULATING F ILTER at low OSRs. The requirement for a relatively low OSR
stems from the fact that, as the OSR increases, the number
The ternary FIR filter suffers from two disadvantages. First, of ternary taps (i.e., the order of the FIR ternary filter) should
it still contains some high frequency noise due to the coarse be increased to maintain the same frequency response. Hence,
quantization of both the impulse response and the input signal. a second-order Σ∆M is suited to the task of re-modulation in
Second, it also produces a multi-bit output. Such an output the IIR Σ∆M filter. Figure 3 shows the second-order Σ∆M
is not as conducive to efficient hardware processing as the used in this filter. This Σ∆M has the same structure as the
single-bit output. To put the output in a single-bit format modulator used to encode the impulse response, except that it
and to reduce some of the high frequency noise, a recursive utilizes a single-bit quantizer. Assuming that the Σ∆M acts
remodulating filter is used as shown in figure 1. The tasks as a unit delay, the transfer function of the IIR Σ∆ filter will
of remodulating the output of the ternary filter and reducing be as shown below:
the high frequency noise cannot be achieved efficiently by
using conventional digital Σ∆M. These modulators generally HIIR (z) = HIIRS (z) + HIIRN (z) (4)
Oversampling Vs Stopband Atten for Nearest Interpolation
From (6) and (4) we have:
 
Min Stopband Atten dB 35 HF IL (ejΩ ) = HΣ∆T (e−jΩ ) HIIRS (e−jΩ ) + HIIRN (e−jΩ )
30 (7)
25 which can explicitly be expressed as follows:
G(ejΩ )[e−jΩ + e−2jΩ (b − 1)]
20

15 HF IL (ejΩ ) = +
1 − (1 − a)e−jΩ
120
100
E(ejΩ ) 
1 + e−jΩ (b − 3) +
80
80 60
T (Target Taps)
60 40
1 − (1 − a)e −jΩ

40 20 OSR

e−2jΩ (3 − 2b) + e−3jΩ (b − 1) . (8)


Fig. 8. Graph of Ternary Taps generated from a nearest neighbor
interpolation of a target response. This newly proposed filter lends itself to implementation
using Field Programmable Gate Arrays (FPGA’s)[7].
Oversampling Vs Stopband Atten for Cubic Interpolation

V. S IMULATIONS
24
The filtering system frequency response was determined
Min Stopband Atten dB

22
20
18
through simulation. The response was generated via sinusoidal
16 stimulation at the system input, then measuring the resultant
14
12 output sinusoids. This process was repeated at varying fre-
120
100
quencies which, when combined, form the frequency response
80
80
60 40
60
of the system. Figures 10, 11, and 12 show the minimum stop-
band attenuations, again with ranges of OSR and T , with the
T (Target Taps) 40 20 OSR

preferred interpolation methods discussed in section II.


Fig. 9. Graph of ternary taps generated from a cubic interpolation
of a target response. Min Stopband Attenuation using Spline

where HIIRS and HIIRN are given by:


30

25
Min Atten dB

−1
bz
20

1−z −1
HIIRS (z) = , HIIRN (z) = 1−(1−a)z −1 (5) 15

1 − (1 − a)z −1 10

Note that HIIRS and HIIRN represent the signal and noise 0
120
transfer functions, respectively. 100
80
80

The IIR filter coefficient a is set so as to give the transfer


60
60 40
T (Target Taps) 40 20 OSR

function HIIRs (z) a cut-off frequency corresponding to the


desired cut-off frequency of the system. The coefficient b Fig. 10. Graph of minimum stop-band attenuation for the filtering
is a gain parameter; it should be set so that the overall system using spline interpolated ternary taps.
filtering system has a gain of one. This parameter allows the
gain introduced by the ternary filter to be trimmed out of
Min Stopband Attenuation using FFT
the system. The above method of determining the IIR filter
coefficients is extremely simple. A more accurate (but more
30
complex) method of obtaining the coefficients of both the 25

ternary and the IIR filters can be found by optimization (in a 20


Min Atten dB

least-square sense) to closely approximate a desired frequency 15

10
response (see [6], [5]). 5

IV. T HE S INGLE -B IT F ILTER 120


100
80

The frequency response of the single-bit filtering system, 80


60 40
60

HF IL , will be the combination of both the ternary filter


40 20
T (Target Taps) OSR

and the IIR Σ∆M filter. The ternary filter will dominate
the low frequency response, where the IIR Σ∆M filter has Fig. 11. Graph of minimum stop-band attenuation for the filtering
a relatively flat frequency response. The IIR Σ∆M filter system using fft interpolated ternary taps.
will dominate the higher frequency response, attenuating the
coefficient quantization noise of the ternary filter. Using (3) As expected, the system minimum stop-band attenuation
and (4), the system frequency response is given by: is very similar to the results obtained for the ternary filter
attenuation in section II. The final system minimum stop-
HF IL (ejΩ ) = HΣ∆T (e−jΩ ).HIIR (e−jΩ ) (6) band attenuation has decreased by a few decibels. This is
Min Stopband Attenuation using Linear
[2] David A. Johns and David M. Lewis, “Design and Analysis of Delta-
Sigma Based IIR Filters,” IEEE Transactions on Circuits and Systems
30 -II: Analog and Digital Signal Processing, vol. 40, no. 4, pp. 233-240,
April 1993.
Min Atten dB

20 [3] S. M. Kershaw, S. Summerfield, M. B. Sandler, and M. Anderson,


“Realisation and implementation of a sigma-delta bit stream FIR filter”,
10 IEE Proc.-Circuits, Devices, and Systems, vol. 143, no. 5, October 1996.
[4] Adam Charles Thompson, Peter O’shea, Zahir M. Hussain, and Brenton
0 R. Steele. “Efficient Single-Bit Ternary Digital Filter Using Sigma-Delta
120
100
Modulator” IEEE Letters on Signal Processing, in press, 2004.
80
80 60 [5] Nevio Benvenuto, Lewis E. Franks, and F. S. Hill, Jr. “Realization of
60 40
T (Target Taps) 40 20
OSR Finite Impulse Response Filters Using Coefficients +1, 0 and -1” IEEE
Transactions on Communications, vol. COMM-33, no. 10, October 1985.
[6] Brenton R. Steele and Peter O’Shea, “Design of Ternary Digital Fil-
Fig. 12. Graph of minimum stop-band attenuation for the filtering ters” Proceedings of the Third International Conference on Information,
system using linear interpolated ternary taps. Communications and Signal Processing (ICICS’2001), October 2001.
[7] Jia-Long Cao and Peter O’Shea, “A novel FPGA based ternary filter
Implementation” Proceedings of the Third International Conference
on Information, Communications and Signal Processing (ICICS’2001),
due to the addition of the Σ∆M in the IIR loop, which adds October 2001.
more quantization noise. Finally, as an example, the system [8] Saman S. Abeysekera and Kabi Prakash Padhi, “Design of Multiplier
Free FIR Filters Using a LADF Sigma-Delta (Σ∆) Modulator” IEEE
frequency response for FFT, spline, and linearly interpolated International Symposium on Circuits and Systems, (ISCAS’2000), May
ternary taps is shown in figure 13. 28-32, 2000.

Signal Frequency Responses


0 Spline
Fft
−5 Linear

−10

−15
Magnitude dB

−20

−25

−30

−35

−40

−45

−50
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Frequency Hz

Fig. 13. Graph of final signal frequency response, using spline, FFT
and linear ternary taps. Target number of taps is T = 64 and OSR
is 96.

VI. C ONCLUSION
A new single-bit filtering structure has recently been pro-
posed by the authors. This filtering system consists of a ternary
FIR filter cascaded with an IIR Σ∆M structure. In this work
a method for generating the ternary tap values is presented.
Spline and FFT interpolation methods are shown to have the
highest stop-band attenuation with the least variation. Hence,
these methods are deemed most suitable for interpolating tar-
get impulse responses prior to ternary encoding. The number
of target taps in the impulse response was found to have
little influence over the minimum stop-band attenuation. This
reduces the overall required number of taps and enhances the
system efficiency. Performance enhancement is shown to be
possible through increasing the over-sampling ratio, however,
this requires increasing the number of taps and the sampling
rate of the system. Hence, there is an inherent trade-off
between hardware efficiency and performance.

R EFERENCES
[1] Ping Wah Wong, “Fully Sigma-Delta Modulation Encoded FIR Filters”
IEEE Transactions on Signal Processing, vol. 40, no. 6, pp. 1605-1610,
June 1992.

S-ar putea să vă placă și