How to connect a Balun to an antenna object?
2 views (last 30 days)
Show older comments
Adrian Salt
on 3 Feb 2023
Answered: Dr. JANAK TRIVEDI
on 3 Feb 2023
***Please Help - I am really struggleing with this***
My goal is create an RF network in MATLAB using the antenna and RF toolboxes where I already have a 2:1 balun that has been fully characterized as a Touchstone file.
I also have designed a loop antenna using the Antenna Toolbox and have produced successful S11 Return Loss graphs of the antenna by itself.
I need to find a way to connect the s-object (i.e. the balun) to the feed point of the antenna, and then re-run the simulation to get new S11 charts. Can anyone tell me how to do this with some brief code example? Many thanks!
P.S I am quite new to the antenna and RF toolboxes.
0 Comments
Accepted Answer
Dr. JANAK TRIVEDI
on 3 Feb 2023
To connect the s-object (i.e. the balun) to the feed point of the antenna, you can use the rfckt.series function in MATLAB. Here is an example code:
% Load the balun s-parameter file
balun = rfdata.Touchstone('Balun.s2p');
% Load the antenna
object
antenna = load('LoopAntenna.mat');
% Connect the balun and the antenna using rfckt.
series
circuit = rfckt.series(balun, antenna.loop);
% Analyze the circuit
for the S-parameters
s_params = sparameters(circuit);
% Plot the S11 parameter
rfplot(s_params, 'S11');
0 Comments
More Answers (0)
See Also
Categories
Find more on RF Network Construction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!