SYNOPSIS[L, Q, SRF, len_out, fill_out, lmax] = air_coil_calc(N, len, fill, AWG, rho, dia, freq, flag)PARAMETERSINPUT PARAMETERS
OUTPUT VALUES
DESCRIPTIONFunction to analyze the electrical characteristics of a single layer, uniformly spaced, air core, solenoid inductor. The physical dimensions of the coil are given as inputs and the inductance, quality factor, and self resonant frequency are calculated. EXAMPLE % number of turns
N=5;
% we'll use the fill parameter instead
len=0;
% the coil is 20% longer than the minimum
fill=1.2;
% wire size
AWG=22;
% resistivity of copper (ohm-m)
rho=1.72e-8;
% 0.25 inches inside diameter
dia=0.25*0.0254;
% 10 MHz operation
f=10e6;
% use fill to calculate length
flag=1;
[L,Q,SRF,len_out,fill_out,Lmax] = air_coil_calc(N,len,fill,AWG,rho,dia,f,flag);
disp(sprintf('L=%g nH',L*1e9));
disp(sprintf('Q=%g at %g MHz',Q,f/1e6));
disp(sprintf('Self Resonant Freq=%g MHz',SRF/1e6));
disp(sprintf('Length=%g inches',len_out/0.0254));
disp(sprintf('Fill=%g',fill_out));
disp(sprintf('Lmax=%g nH',Lmax*1e9));
SEE ALSOair_coil_calc AUTHORDan McMahill BUGSNone known Please report any bugs on the Wcalc Sourceforge Project Page Return to the MEX-Wcalc page. |
||||||||||
|
| Copyright © 2001, 2002, 2004, 2005, 2006 Dan McMahill ALL RIGHTS RESERVED. |