Create Gerber file from antenna design

3 次查看(过去 30 天)
The ultimate goal is to be able to print the actual size antenna on paper and also create a Gerber file for PCB manufacturing. I thought that the following four functions would do the trick, but as you can see I am stuck on the second one (pcbStack):
ant = spiralArchimedean('Turns',6, ...
'InnerRadius',12e-4, ...
'OuterRadius',975e-4, ...
'Tilt',0, ...
'TiltAxis',[0 0 1]);
p = pcbStack(ant);
PC = PCBWriter(p);
gerberWrite(PC);
The error is thrown:
Error using pcbStack/parsePcbStack (line 1447)
Expected a string scalar or character vector for the parameter name, instead the input type
was 'spiralArchimedean'.
Error in pcbStack (line 178)
parsePcbStack(obj,varargin{:});

回答(1 个)

Da Huang
Da Huang 2019-9-24
Hi,
You need to specify a substrate in order to generate the gerber file. Please see the following code.
ant = spiralArchimedean('Turns',6, ...
'InnerRadius',12e-4, ...
'OuterRadius',975e-4, ...
'Tilt',0, ...
'TiltAxis',[0 0 1]);
r = reflector('Exciter',ant,'Substrate',dielectric('fr4'))
r.Spacing = 0.025;
p = pcbStack(r);
p.gerberWrite

类别

Help CenterFile Exchange 中查找有关 Get Started with Antenna Toolbox 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by