Analog and Digital Filters
583
R.6.77 The MATLAB function [num L , dem L ] = lp2lp (num N , den N , w c ) is used to transform
a normalized LPF prototype given by the transfer function H(s) = num N (s)/den N (s)
into a denormalized LPF with a numerator num L , denominator den L , and cutoff frequency w c . This function fi le returns the coeffi cients of the polynomials num L and
den L as a row vector arranged in descending powers of s.
R.6.78 Similarly, the MATLAB function [num H , den H ] = lp2hp (num N , den N , w c ) is used to
transform a low-pass normalized fi lter into a denormalized HPF with the pass
band given by w c .
R.6.79 The function fi le [numbp, denbp] = lp2bp (num N , den N , w o , BW) transforms an LP normalized fi lter into a BPF or BSF (lp2bs), where w o is its center frequency with BW.
R.6.80 Some practical observations of the resulting fi lter complexity and their associated
costs are summarized as follows:
a. The complexity of a fi lter is generally given by its order n. The higher the order,
the greater the complexity and cost in term of elements.
b. Generally, for a particular set of fi lter specs, the elliptic fi lter implementation is
less complex than the equivalent Chebyshev (type 1 or 2).
c. The Chebyshev (type 1 or 2) cost is considerably less than its Butterworth equivalent counterpart.
d. An estimate of the fi lter complexity is given by the following example: an elliptic
fi lter of order 6 requires an equivalent Chebyshev fi lter (type 1 or 2) of order 10
and a Butterworth equivalent implementation of order 29.
R.6.81 Recall that digital fi lters as well as analog fi lters have as their primary objective
to fi lter, meaning to pass or reject, certain band of frequencies. Analog fi lters are
expressed as functions of w (radians per second), whereas digital fi lters are functions of W = w * T called the scaled or digital frequency, where T is the sampling
period (sometimes indicated by T s ).
R.6.82 Recall that by using the digital frequency W (some textbooks use Ω), the frequency
response of the digital fi lter is always periodic with period 2π.
R.6.83 Digital fi lters can be classifi ed based on their impulse response length as follows:
a. FIR
b. IIR
R.6.84 An FIR fi lter returns an impulse response with an amplitude that decays to zero in
a fi nite number of steps (samples) or duration.
R.6.85 An IIR fi lter returns an impulse response that has, in theory, an infi nite duration or
continues forever because of its recursive nature (feedback).
This defi nition is not accurate because the impulse response of any system
including IIR fi lters in real life eventually decay to zero in a fi nite time, which may
be long.
R.6.86 IIR fi lters are used to closely approximate the gain and phase response of analog
fi lters and the specs are usually given in terms of analog variables such as BW,
minimum pass-band ripple (R p ), and maximum stop-band ripple (R s ). These types
of fi lters can substitute analog fi lters.
R.6.87 The approach followed in the design of IIR fi lters are as follows:
a. Design an analog prototype with the desired frequency response (transfer function) given by its transfer function H(s).
CRC_47760_CH006.indd 583
CRC_47760_CH006.indd 583
7/23/2008 2:26:36 PM
7/23/2008 2:26:36 PM
Précédent

- 594/708

Suivant