main content

design if butterworth bandpass filter -凯发k8网页登录

this example shows how to design an intermediate frequency (if) butterworth bandpass filter with a center frequency of 400 mhz, bandwidth of 5 mhz, and insertion loss (il) of 1db [1].

account for mismatch/insertion loss (il)

practical circuits suffer a certain degree of mismatch. mismatch happens when an unmatched circuit is connected to an rf source leading to reflections that result in a loss of power delivered to the circuit. you can use il to define this mismatch. calculate the load impedance mismatch to account for the given il. the il and normalized load impedance (zl) are related as follows [2],[3]:

il (db) = -10*log10(1-| γin |^2) = -10*log10(4*zl/(1 zl)^2)

the roots of the resulting polynomial return the value of normalized load impedance. the unnormalized values are 132.986 ohms and 18.799 ohms. choose the higher value for the filter design to account for the il.

syms zl il
eqn = -10*log10(4*zl/(1 zl)^2) - il == 0;
[solx, ~, ~] = solve(eqn,zl,'returnconditions', true);
il_desired_db = 1;
zload = double(subs(solx,il,il_desired_db))*50;

load impedance:

zl = zload(2);

design filter

use to design the filter for the desired specifications.

fcenter = 400e6;
bwpass  = 5e6;
if_filter = rffilter('responsetype','bandpass',...
    'filtertype','butterworth','filterorder',4,...
    'passbandattenuation',10*log10(2),...
    'implementation','transfer function',...
    'passbandfrequency',[fcenter-bwpass/2 fcenter bwpass/2],'zout',zl);

plot s-parameters and group delay of filter

calculate s-parameters.

freq = linspace(370e6,410e6,2001);
sf = sparameters(if_filter, freq);
figure;
line = rfplot(sf);
lgd = legend;
lgd.location = "best";
[~,freq_index] = min(abs(freq-fcenter));
datatip(line(3),'dataindex',freq_index);

figure contains an axes object. the axes object with xlabel frequency (mhz), ylabel magnitude (db) contains 4 objects of type line. these objects represent db(s_{11}), db(s_{21}), db(s_{12}), db(s_{22}).

a datatip shows a 1db il at fcenter = 400 mhz.

calculate groupdelay:

gd = groupdelay(if_filter, freq);
figure;
plot(freq/1e6, gd);
xlabel('frequency (mhz)');
ylabel('group delay (s)');
grid on;

figure contains an axes object. the axes object with xlabel frequency (mhz), ylabel group delay (s) contains an object of type line.

insert filter into rfbudget object

an rffilter object can be inserted directly into an object to perform budget analysis.

rfb = rfbudget(if_filter,fcenter,-30,bwpass)
rfb = 
  rfbudget with properties:
               elements: [1x1 rffilter]
         inputfrequency: 400 mhz
    availableinputpower: -30 dbm
        signalbandwidth:   5 mhz
                 solver: friis      
             autoupdate: true
   analysis results
        outputfrequency:   400 (mhz)
            outputpower:   -31 (dbm)
         transducergain:    -1 (db) 
                     nf:     0 (db) 
                   iip2:    [] (dbm)
                   oip2:    [] (dbm)
                   iip3:   inf (dbm)
                   oip3:   inf (dbm)
                    snr: 76.99 (db) 

references

[1] hongbao zhou, bin luo. " design and budget analysis of rf receiver of 5.8ghz etc reader" published at communication technology (icct), 2010 12th ieee international conference, nanjing, china, november 2010.

[2] electronic filter analysis and synthesis, michael g. ellis, sr., artech house, chapter 7.

[3] rf circuit design, r. ludwig, g. bogdanov, pearson education, chapter 2.

see also

superheterodyne receiver using rf budget analyzer app

related topics

    网站地图