|
|
|
@ -3,7 +3,7 @@ |
|
|
|
* |
|
|
|
* Copyright (C) 2002 Claudio Girardi <in3otd@qsl.net> |
|
|
|
* Copyright (C) 2005 Stefan Jahn <stefan@lkcc.org> |
|
|
|
* Modifications for Kicad: Jean-Pierre Charras |
|
|
|
* Modifications for Kicad: 2015 Jean-Pierre Charras |
|
|
|
* |
|
|
|
* This program is free software; you can redistribute it and/or |
|
|
|
* modify it under the terms of the GNU General Public License |
|
|
|
@ -19,9 +19,9 @@ |
|
|
|
* along with this package; see the file COPYING. If not, write to |
|
|
|
* the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, |
|
|
|
* Boston, MA 02110-1301, USA. |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#ifndef _C_MICROSTRIP_H_ |
|
|
|
#define _C_MICROSTRIP_H_ |
|
|
|
|
|
|
|
@ -31,33 +31,33 @@ public: C_MICROSTRIP(); |
|
|
|
~C_MICROSTRIP(); |
|
|
|
|
|
|
|
private: |
|
|
|
double h; /* height of substrate */ |
|
|
|
double ht; /* height to the top of box */ |
|
|
|
double t; /* thickness of top metal */ |
|
|
|
double rough; /* Roughness of top metal */ |
|
|
|
double w; /* width of lines */ |
|
|
|
double w_t_e; /* even-mode thickness-corrected line width */ |
|
|
|
double w_t_o; /* odd-mode thickness-corrected line width */ |
|
|
|
double l; /* length of lines */ |
|
|
|
double s; /* spacing of lines */ |
|
|
|
double Z0_e_0; /* static even-mode impedance */ |
|
|
|
double Z0_o_0; /* static odd-mode impedance */ |
|
|
|
double Z0e; /* even-mode impedance */ |
|
|
|
double Z0o; /* odd-mode impedance */ |
|
|
|
double c_e; /* even-mode capacitance */ |
|
|
|
double c_o; /* odd-mode capacitance */ |
|
|
|
double ang_l_e; /* even-mode electrical length in angle */ |
|
|
|
double ang_l_o; /* odd-mode electrical length in angle */ |
|
|
|
double er_eff_e; /* even-mode effective dielectric constant */ |
|
|
|
double er_eff_o; /* odd-mode effective dielectric constant */ |
|
|
|
double er_eff_e_0; /* static even-mode effective dielectric constant */ |
|
|
|
double er_eff_o_0; /* static odd-mode effective dielectric constant */ |
|
|
|
double er_eff; /* FIXME: dummy */ |
|
|
|
double w_eff; /* Effective width of line */ |
|
|
|
double atten_dielectric_e; /* even-mode dielectric losses (dB) */ |
|
|
|
double atten_cond_e; /* even-mode conductors losses (dB) */ |
|
|
|
double atten_dielectric_o; /* odd-mode dielectric losses (dB) */ |
|
|
|
double atten_cond_o; /* odd-mode conductors losses (dB) */ |
|
|
|
double h; // height of substrate |
|
|
|
double ht; // height to the top of box |
|
|
|
double t; // thickness of top metal |
|
|
|
double rough; // Roughness of top metal |
|
|
|
double w; // width of lines |
|
|
|
double w_t_e; // even-mode thickness-corrected line width |
|
|
|
double w_t_o; // odd-mode thickness-corrected line width |
|
|
|
double l; // length of lines |
|
|
|
double s; // spacing of lines |
|
|
|
double Z0_e_0; // static even-mode impedance |
|
|
|
double Z0_o_0; // static odd-mode impedance |
|
|
|
double Z0e; // even-mode impedance |
|
|
|
double Z0o; // odd-mode impedance |
|
|
|
double c_e; // even-mode capacitance |
|
|
|
double c_o; // odd-mode capacitance |
|
|
|
double ang_l_e; // even-mode electrical length in angle |
|
|
|
double ang_l_o; // odd-mode electrical length in angle |
|
|
|
double er_eff_e; // even-mode effective dielectric constant |
|
|
|
double er_eff_o; // odd-mode effective dielectric constant |
|
|
|
double er_eff_e_0; // static even-mode effective dielectric constant |
|
|
|
double er_eff_o_0; // static odd-mode effective dielectric constant |
|
|
|
double er_eff; // FIXME: dummy |
|
|
|
double w_eff; // Effective width of line |
|
|
|
double atten_dielectric_e; // even-mode dielectric losses (dB) |
|
|
|
double atten_cond_e; // even-mode conductors losses (dB) |
|
|
|
double atten_dielectric_o; // odd-mode dielectric losses (dB) |
|
|
|
double atten_cond_o; // odd-mode conductors losses (dB) |
|
|
|
|
|
|
|
public: |
|
|
|
void analyze(); |
|
|
|
@ -96,4 +96,4 @@ private: |
|
|
|
MICROSTRIP* aux_ms; |
|
|
|
}; |
|
|
|
|
|
|
|
#endif /* _C_MICROSTRIP_H_ */ |
|
|
|
#endif // _C_MICROSTRIP_H_ |