How to increase resolution/quality of RF PCB Toolbox analysis
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (1)
Naren
el 10 de Mayo de 2024
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.
0 comentarios
Ver también
Categorías
Más información sobre Custom Geometry and PCB Fabrication en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!