How to increase resolution/quality of RF PCB Toolbox analysis
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Custom Geometry and PCB Fabrication에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!