Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Analysis and Application of Analog Electronic Circuits to Biomedical Instrumentation - Northrop.pdf
Скачиваний:
205
Добавлен:
10.08.2013
Размер:
4.41 Mб
Скачать

Analog Active Filters

 

 

 

297

 

R

 

V1

 

 

 

I1

 

 

 

 

Z1

R

 

 

 

 

 

VS

 

 

 

 

 

 

 

V2

IOA

 

 

 

 

 

 

Z2

R

 

 

 

 

 

 

 

(V1)

 

 

 

Z3

C

 

 

 

 

 

Vo = V2

 

V3

 

 

IOA

 

 

 

 

 

 

 

Z4

R

 

 

C

 

 

 

 

 

 

(V1)

 

 

 

Z5

R

 

FIGURE 7.12

A GIC all-pass filter.

In summary, note again that the major reason for using the GIC architecture is to realize AFs that are useful at very low frequencies, e.g., 0.01 to 10 Hz, without having to use expensive, very large capacitances.

7.3Electronically Tunable AFs

7.3.1Introduction

In many biomedical instrumentation systems, a conditioned (by filtering) analog signal is periodically sampled and digitized. The digital number sequence is then further processed by certain digital algorithms that can include, but are not limited to: signal averaging; computation of signal statistics (e.g., mean, RMS value, etc.); computation of the discrete Fourier transform; convolution with another signal or kernel; etc. The computer is often used to change the input filter’s parameters (half-power frequencies or center frequency; damping factor or Q) to accommodate a new sampling rate or changes in the analog signal’s power spectrum.

A particular application of a computer-controlled analog filter is the antialiasing (A-A) low-pass filter. In order to prevent aliasing and the problems

© 2004 by CRC Press LLC

298

 

Analysis and Application of Analog Electronic Circuits

 

 

R

 

V1

 

 

 

 

I1

 

 

 

 

 

Z1

R

 

 

 

 

 

 

 

VS

 

 

 

 

 

 

 

 

V2

IOA

 

 

 

 

 

 

 

 

Z2

R

 

 

 

 

 

 

 

 

 

(V1)

 

 

 

 

Z3

C

 

 

 

 

 

 

 

Vo = V2

 

V3

 

 

 

IOA

 

 

 

 

 

 

 

 

 

Z4

R

 

 

 

C

 

 

 

 

 

 

 

(V1)

 

 

 

R

 

 

 

 

 

 

Z5

R

 

FIGURE 7.13

A GIC notch filter.

this creates for the signal in digital form, the A-A filter must pass no significant signal spectral power to the analog-to-digital converter at frequencies above one half the sampling frequency, fs. fs/2 is called the Nyquist frequency, fn. (See Section 10.2 in Chapter 10 for a complete treatment of sampling and aliasing.)

The key to designing a digitally tuned filter is the variable gain element (VGE) (Northrop, 1990, Section 10.1). The design of digitally-controlled variable gain elements (DCVGEs) has several approaches: one uses a digital-to- analog converter (DAC) configured to produce 0 to 10 Vdc output, VC, which is the input to an analog multiplier IC; the other input to the analog multiplier is the time-variable analog signal, vk (t), whose amplitude is to be adjusted. The output of the analog multiplier is then vk′(t) = vk (t)VC/10. VC/10 varies from 0 to 1 in steps determined by the quantization set by the number of binary bits input to the DAC. Another VGE is the digitally programmed gain amplifier (DPGA), with a gain digitally selected in 6-dB steps (i.e., 1, 2, 4, 8, 16, 32, 64, and 128) using a 3-bit input word (e.g., the MN2020). Still another class of DCVGE is represented by the AD8400, 8-bit, digitally controlled potentiometer (DCP) connected as a variable resistor. The DCP resistance is given by:

N

 

Vj′ = Rtotal Bk 2k(1+N ) = Rtotal Ak

(7.55)

k=1

© 2004 by CRC Press LLC

input (control) word

Analog Active Filters

299

R

 

R

 

V2 R/(2ξ)

R

2ξR

C

VS

V3 DPA V3’ R

IOA

R

IOA

IOA V4

WN

C

R V4

V5 = Vo

IOA

DPA

N

η = V3’/V3 = V4’/V4 = ( Σ Bk 2k 1)/2N

k = 1

k = 1 is LSB, k = 8 is MSB. WN = {Bk}

FIGURE 7.14

The use of two parallel digitally controlled attenuators to tune the break frequency of a twoloop biquad low-pass filter at constant damping. See text for analysis.

where N is the number of bits controlling the DCP and Bk is the kth bit state (0 or 1). Note that the DCP is similar in operation to a 2-quadrant multiplying digital-to-analog converter (MDAC), which also can be used as a DCVGE (Northrop, 1990).

The following sections examine how DCVGEs can tune a two-loop biquad A-A LPF’s ωn and Q.

7.3.2The Tunable Two-Loop Biquad LPF

Figure 7.14 illustrates the schematic of a 2-loop biquad LPF with digital control of its natural frequency at constant damping using 8-bit digitally controlled attenuators (DCAs). (One form of a DCA that uses DPP is shown in Figure 7.15.) It is easy to derive this digitally tuned LPF’s transfer function using Mason’s rule:

Vo

(s) =

 

(1 2ξ)(2ξ)(η)(1 sRC)(η)(1 sRC)

 

 

1[(1)(2ξ)(η)(1 sRC)+ (1)(η)(1 sRC)(η)(1 sRC)]

(7.56A)

VS

 

 

 

 

¬

 

 

 

 

 

Vo

1

 

 

 

 

 

 

(s) =

 

 

(7.56B)

 

 

 

VS

s2 (RC η)2 + s(RC η)(2ξ) + 1

© 2004 by CRC Press LLC

300

Analysis and Application of Analog Electronic Circuits

 

 

A DCA

 

 

DCP

 

Vin

 

 

 

Buffer

 

(1 − η) Rtotal

ηVin

Vo = ηVin

η Rtotal IOA

WN

FIGURE 7.15

Schematic of a digitally controlled attenuator (DCA).

From the standard quadratic format:

ωn = η/RC r/s

(7.57)

The constant damping, ξ, is set by the size of the input resistor (2 ξR) and the resistor size V2 sees (R/2 ξ). Thus, with 1 LSB in, Wn = {0,0,0,0,0,0,0,1}, ωn = (1/256)(1/RC) r/s; with WN = {1,1,1,1,1,1,1,1}, ωn = (255/256)(1/RC) r/s. The dc gain of the filter is +1.

As a second example, consider the digitally controlled band-pass filter shown in Figure 7.16 in which two N-bit, serial binary words (WN1 and WN2) are used to set the filter’s natural frequency, ωn, and a third variable gain element is used to adjust the filter’s Q. In this example, digitally controlled amplifier gains are used. Using Mason’s rule as before, the transfer function can be written as:

V4

(s) =

 

 

 

 

 

 

(−1)A1(−1 128)A2 (−1 sRC)

 

 

 

(7.58)

V

1−

−1

A

1

(

−1

128 A

(

−1 sRC

)

+

−1

A

2

(

−1 sRC A

2 (

−1 sRC

)]

S

 

 

[( )

 

 

) 2

 

 

( )

 

)

 

 

¬

V

(s) =

s(A1 A2 )RC 128

4

 

 

VS

s2 (RC A2 )2 + sRC(A1 A2 ) 128 + 1

 

where the resonant frequency is set by A2 and the Q by 1/A1: ωn = A2/RC r/s

Q = 128/A1

(7.59)

(7.60A)

(7.60B)

© 2004 by CRC Press LLC