Issues with getting capacitance using Interdigitalcapacitor both capacitance value and RF values.
显示 更早的评论
When runnign the following commands:
capacitor = interdigitalCapacitor(NumFingers=5,FingerLength=4500e-6,FingerWidth=332e-6,FingerSpacing=206e-6,FingerEdgeGap = 87e-6,TerminalStripWidth=330e-6,PortLineWidth=8000e-6,PortLineLength=pll,Height=20e-6,GroundPlaneWidth=1,Conductor=capacitor.Conductor)
capacitance(capacitor,10e9)
I do not get any values for the capcitance - not DC or RF..
Also, when i run it MATLAB window does not pruce any resuta and i cannot "stop" the run and have to kill the matlab process.
回答(1 个)
Sayan
2024-5-6
Hi Alkim Akyurtlu,
The "PortLineLength" and the "Conductor" properties are not properly defined in your "interdigitalCapacitor" object.
- "PortLineLength" is assigned to "pll" which is not defined. It should be assigned with a scalar value.
- "Conductor" should a "metal" object. However, it is assigned as "capacitor.Conductor" which is not a valid metal object.
You can refer to the following code snippet with modified values of "PortLineLength" and "Conductor".
%creating a conductor of 'copper'
m = metal('copper');
%Setting the "PortLineLength" to "0.01" and "Conductor" to "m"
capacitor = interdigitalCapacitor(NumFingers=5,FingerLength=4500e-6,FingerWidth=332e-6,FingerSpacing=206e-6,FingerEdgeGap = 87e-6,TerminalStripWidth=330e-6,PortLineWidth=8000e-6,PortLineLength=0.01,Height=20e-6,GroundPlaneWidth=1,Conductor=m);
capacitance(capacitor,10e9);
This runs for me and I get the following output.

You can further refer to the following documentation to know more on "interdigitalCapacitor".
Hope this helps in resolving the issue.
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!