MATLAB: How to construct an R-L-R type filter using RFTOOL in RF Toolbox 2.1 (R2007a)

RF Toolboxrlr

I am using RF Tool to analyze some data. I need to construct an R-L-R circuit filter, and I would like to know how to do this.

Best Answer

There are two ways to create an R-L-R type circuit. The first is using the command line and the other one is using the rftool library.
The following code demonstrates an example of how to construct an R-L-R type circuit in a MATLAB file (or in command line)
tx1=rfckt.microstrip('EpsilonR',4.34,'Width',4.3e-4,'Height',1e-3);
analyze(tx1,1.5e9);
tx1z0=getz0(tx1);
Rtop=rfckt.shuntrlc('R', 100);
Lmiddle=rfckt.shuntrlc('L', 30e-9);
Rbottom=rfckt.shuntrlc('R', 100);
h=rfckt.series('ckts',{Rtop, Lmiddle, Rbottom});
rlr_peaking=rfckt.cascade('ckts',{tx1,h});
analyze(rlr_peaking, 5e6:5e6:3e9,100,100,100);
plot(rlr_peaking,'S21')
Refer to the attached file rlr_peaking_filter.rf which demonstrates how to create an R-L-R type filer using the RF Tool interface.