How to increase resolution/quality of RF PCB Toolbox analysis

2 ビュー (過去 30 日間)
VASILEIOS CHRISTIANIDIS
VASILEIOS CHRISTIANIDIS 2024 年 5 月 4 日
回答済み: Naren 2024 年 5 月 10 日
If you run this code which requires RF PCB Toolbox:
mytrace = traceLine;
mytrace.Width = 0.0007; %0.0002
mytrace.Corner = "smooth";
sectorLength = 0.009; %0.005
midseclen = sectorLength*2
mytrace.Length = [sectorLength midseclen sectorLength];
mytrace.Angle = [0 270 180];
pcb = pcbComponent;
d = dielectric('FR4');
groundplane = traceRectangular('Length', sectorLength*3,'Width',midseclen*2,'Center',[sectorLength/2,-midseclen/2]);
d.Thickness = 0.0009;
pcb.BoardThickness = d.Thickness;
pcb.Layers = {mytrace,d,groundplane};
pcb.BoardShape = groundplane;
pcb.FeedDiameter = mytrace.Width;
pcb.FeedLocations = [0,0,1,3;0,-midseclen,1,3];
%figure;
%show(pcb)
figure;
current(pcb,10000);%10kHz
figure;
current(pcb,500e6);%500MHz
figure;
current(pcb,1e9);%1GHz
You notice the analysis is not detailed:
Notice the sharp edges on all three plots, especially on the probe points.
How can I increase the quality of the analysis?

回答 (1 件)

Naren
Naren 2024 年 5 月 10 日
I guess you can try increasing the quality of the mesh of the pcb by decreasing the 'MaxEdgeLength' property. However, in order to access the mesh function, you have to calculate the S-parameters of the pcb that you designed.
Refer the following code to change the mesh properties:
sparameters(pcb,freq);
figure;mesh(pcb,'MaxEdgeLength',[appropriateValue]); %try 1e-3 for starters
figure;current(pcb,500e6);
Here is the documentation on 'mesh' for further information: https://www.mathworks.com/help/rfpcb/ref/mesh.html
Note: Decreasing the 'MaxEdgeLength' property will increase the runtime of the model exponentially.

カテゴリ

Help Center および File ExchangeCustom Geometry and PCB Fabrication についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by