TSTE16: Filter order as function of transition band

Just a small, trivial MATLAB script to illustrate analog filter order as function of transition band width and signal bandwidth. This example illustrates well how, for example, the analog reconstruction filter after a DAC has to be dimensioned to attenuate the images.

For illustration purposes, we have chosen Butterworth filter approximation, eventhough it is not the best one. What the graph shows is that the filter order increases dramatically for narrow transition bands, and eventhough we step away 10 MHz from a 500-kHz bandwidth, the filter order is still two or more.

fp = 500e3;
Wp = 2*pi*fp;

deltafs = logspace(1,7);
deltaWs = 2*pi*deltafs;

for m = 1:length(deltafs)
deltaW = deltaWs(m);
[N, Wn] = buttord(Wp, Wp + deltaW, ...
0.1, 60, 's');
M(m) = N;

sl = loglog(deltafs/1000, M);
xlabel('Transition band width [kHz]');
ylabel('Butterworth filter order');
title('Filter order as function of transition band width');


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.