KiCad PCB EDA Suite
MICROSTRIP Class Reference

#include <microstrip.h>

Inheritance diagram for MICROSTRIP:
TRANSLINE

Public Member Functions

 MICROSTRIP ()
 
void setProperty (enum PRMS_ID aPrmId, double aValue)
 
double getProperty (enum PRMS_ID aPrmId)
 
void getProperties ()
 @function getProperties More...
 
void checkProperties ()
 @function checkProperties More...
 
void setResult (int, const wxString &)
 
void setResult (int, double, const wxString &)
 
bool isSelected (enum PRMS_ID aPrmId)
 
void Init ()
 
virtual void synthesize ()
 
virtual void calc ()
 
void analyze ()
 

Public Attributes

const char * m_Name
 
KIGFX::COLOR4D errCol = KIGFX::COLOR4D( 1, 0.63, 0.63, 1 )
 
KIGFX::COLOR4D warnCol = KIGFX::COLOR4D( 1, 1, 0.57, 1 )
 
KIGFX::COLOR4D okCol = KIGFX::COLOR4D( 1, 1, 1, 1 )
 

Protected Member Functions

bool minimizeZ0Error1D (double *)
 @function minimizeZ0Error1D More...
 
double skin_depth ()
 @function skin_depth calculate skin depth More...
 
void ellipke (double, double &, double &)
 
double ellipk (double)
 
void setErrorLevel (PRMS_ID, char)
 @function setErrorLevel More...
 

Protected Attributes

double m_parameters [EXTRA_PRMS_COUNT]
 
double len
 
double er_eff
 
double ang_l
 

Private Member Functions

double er_eff_freq ()
 
double alpha_c ()
 
double alpha_c_roughness ()
 
double alpha_dielectric ()
 
double char_impedance_ht ()
 
double synth_width ()
 
double ereff_dispersion ()
 
double Z0_dispersion ()
 
double Z0_homogeneous (double)
 
double delta_Z0_cover (double, double)
 
double filling_factor (double, double)
 
double delta_q_cover (double)
 
double delta_q_thickness (double, double)
 
double e_r_effective (double, double)
 
double delta_u_thickness (double, double, double)
 
double e_r_dispersion (double, double, double)
 
double Z0_dispersion (double, double, double, double, double)
 
double conductor_losses ()
 
double dielectric_losses ()
 
void microstrip_Z0 ()
 
void dispersion ()
 
void attenuation ()
 
void mur_eff_ms ()
 
void line_angle ()
 
void show_results () override
 Shows results. More...
 
void showSynthesize () override
 Shows analysis results and checks for errors / warnings. More...
 
void showAnalyze () override
 Shows synthesis results and checks for errors / warnings. More...
 
void calcAnalyze () override
 Computation for analysis. More...
 
void calcSynthesize () override
 Computation for synthesis. More...
 

Private Attributes

double h
 
double ht
 
double t
 
double rough
 
double mur
 
double w
 
double l
 
double Z0_0
 
double Z0
 
double er_eff_0
 
double mur_eff
 
double w_eff
 
double atten_dielectric
 
double atten_cond
 
double Z0_h_1
 

Friends

class C_MICROSTRIP
 

Detailed Description

Definition at line 30 of file microstrip.h.

Constructor & Destructor Documentation

◆ MICROSTRIP()

MICROSTRIP::MICROSTRIP ( )

Definition at line 42 of file microstrip.cpp.

42  : TRANSLINE(),
43  h( 0.0 ), // height of substrate
44  ht( 0.0 ), // height to the top of box
45  t( 0.0 ), // thickness of top metal
46  rough( 0.0 ), // Roughness of top metal
47  mur( 0.0 ), // magnetic permeability of substrate
48  w( 0.0 ), // width of line
49  l( 0.0 ), // length of line
50  Z0_0( 0.0 ), // static characteristic impedance
51  Z0( 0.0 ), // characteristic impedance
52  er_eff_0( 0.0 ), // Static effective dielectric constant
53  mur_eff( 0.0 ), // Effective mag. permeability
54  w_eff( 0.0 ), // Effective width of line
55  atten_dielectric( 0.0 ), // Loss in dielectric (dB)
56  atten_cond( 0.0 ), // Loss in conductors (dB)
57  Z0_h_1( 0.0 ) // homogeneous stripline impedance
58 {
59  m_Name = "MicroStrip";
60  Init();
61 }
double mur_eff
Definition: microstrip.h:50
void Init()
Definition: transline.cpp:98
double rough
Definition: microstrip.h:41
double l
Definition: microstrip.h:44
double Z0_0
Definition: microstrip.h:45
double t
Definition: microstrip.h:40
double ht
Definition: microstrip.h:39
double Z0_h_1
Definition: microstrip.h:56
double Z0
Definition: microstrip.h:46
double er_eff_0
Definition: microstrip.h:48
double mur
Definition: microstrip.h:42
const char * m_Name
Definition: transline.h:84
double atten_dielectric
Definition: microstrip.h:52
double atten_cond
Definition: microstrip.h:53
double h
Definition: microstrip.h:38
double w
Definition: microstrip.h:43
double w_eff
Definition: microstrip.h:51

References TRANSLINE::Init(), and TRANSLINE::m_Name.

Member Function Documentation

◆ alpha_c()

double MICROSTRIP::alpha_c ( )
private

Referenced by conductor_losses().

◆ alpha_c_roughness()

double MICROSTRIP::alpha_c_roughness ( )
private

◆ alpha_dielectric()

double MICROSTRIP::alpha_dielectric ( )
private

◆ analyze()

void TRANSLINE::analyze ( )
inherited

Definition at line 219 of file transline.cpp.

220 {
221  getProperties();
222  checkProperties();
223  calcAnalyze();
224  showAnalyze();
225  show_results();
226 }
virtual void calcAnalyze()
Computation for analysis.
Definition: transline.h:102
virtual void show_results()
Shows results.
Definition: transline.h:122
void checkProperties()
@function checkProperties
Definition: transline.cpp:177
void getProperties()
@function getProperties
Definition: transline.cpp:158
virtual void showAnalyze()
Shows synthesis results and checks for errors / warnings.
Definition: transline.h:112

References TRANSLINE::calcAnalyze(), TRANSLINE::checkProperties(), TRANSLINE::getProperties(), TRANSLINE::show_results(), and TRANSLINE::showAnalyze().

Referenced by PANEL_TRANSLINE::OnTranslineAnalyse().

◆ attenuation()

void MICROSTRIP::attenuation ( )
private

Definition at line 373 of file microstrip.cpp.

374 {
376 
379 }
double conductor_losses()
Definition: microstrip.cpp:316
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
double atten_dielectric
Definition: microstrip.h:52
double atten_cond
Definition: microstrip.h:53
double skin_depth()
@function skin_depth calculate skin depth
Definition: transline.cpp:245
double dielectric_losses()
Definition: microstrip.cpp:354

References atten_cond, atten_dielectric, conductor_losses(), dielectric_losses(), TRANSLINE::m_parameters, PHYS_LEN_PRM, TRANSLINE::skin_depth(), and SKIN_DEPTH_PRM.

Referenced by calcAnalyze().

◆ calc()

virtual void TRANSLINE::calc ( )
inlinevirtualinherited

Definition at line 97 of file transline.h.

97 {}

◆ calcAnalyze()

void MICROSTRIP::calcAnalyze ( )
overrideprivatevirtual

Computation for analysis.

Reimplemented from TRANSLINE.

Definition at line 446 of file microstrip.cpp.

447 {
448  /* effective permeability */
449  mur_eff_ms();
450  /* static impedance */
451  microstrip_Z0();
452  /* calculate freq dependence of er and Z0 */
453  dispersion();
454  /* calculate electrical lengths */
455  line_angle();
456  /* calculate losses */
457  attenuation();
458 }
void dispersion()
Definition: microstrip.cpp:288
void microstrip_Z0()
Definition: microstrip.cpp:176
void mur_eff_ms()
Definition: microstrip.cpp:385
void line_angle()
Definition: microstrip.cpp:430
void attenuation()
Definition: microstrip.cpp:373

References attenuation(), dispersion(), line_angle(), microstrip_Z0(), and mur_eff_ms().

Referenced by calcSynthesize().

◆ calcSynthesize()

void MICROSTRIP::calcSynthesize ( )
overrideprivatevirtual

Computation for synthesis.

Reimplemented from TRANSLINE.

Definition at line 517 of file microstrip.cpp.

518 {
519  double angl_dest, z0_dest;
520  z0_dest = m_parameters[Z0_PRM];
521  angl_dest = m_parameters[ANG_L_PRM];
522  /* calculate width and use for initial value in Newton's method */
525  m_parameters[Z0_PRM] = z0_dest;
526  m_parameters[ANG_L_PRM] = angl_dest;
528  * m_parameters[ANG_L_PRM] / 2.0 / M_PI; /* in m */
529  calcAnalyze();
530  m_parameters[Z0_PRM] = z0_dest;
531  m_parameters[ANG_L_PRM] = angl_dest;
533  * m_parameters[ANG_L_PRM] / 2.0 / M_PI; /* in m */
534 }
double mur_eff
Definition: microstrip.h:50
bool minimizeZ0Error1D(double *)
@function minimizeZ0Error1D
Definition: transline.cpp:357
double er_eff
Definition: transline.h:133
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
double synth_width()
Definition: microstrip.cpp:396
#define C0
Definition: units.h:61
void calcAnalyze() override
Computation for analysis.
Definition: microstrip.cpp:446

References ANG_L_PRM, C0, calcAnalyze(), TRANSLINE::er_eff, FREQUENCY_PRM, TRANSLINE::m_parameters, TRANSLINE::minimizeZ0Error1D(), mur_eff, PHYS_LEN_PRM, PHYS_WIDTH_PRM, synth_width(), and Z0_PRM.

◆ char_impedance_ht()

double MICROSTRIP::char_impedance_ht ( )
private

◆ checkProperties()

void TRANSLINE::checkProperties ( )
inherited

@function checkProperties

Checks the input parameters (ie: negative length). Does not check for incompatibility between values as this depends on the line shape.

Definition at line 177 of file transline.cpp.

178 {
179  // Do not check for values that are results of analyzing / synthesizing
180  // Do not check for transline specific incompatibilities ( like " conductor height should be lesser than dielectric height")
181  if( !std::isfinite( m_parameters[EPSILONR_PRM] ) || m_parameters[EPSILONR_PRM] <= 0 )
183 
184  if( !std::isfinite( m_parameters[TAND_PRM] ) || m_parameters[TAND_PRM] < 0 )
186 
187  if( !std::isfinite( m_parameters[RHO_PRM] ) || m_parameters[RHO_PRM] < 0 )
189 
190  if( !std::isfinite( m_parameters[H_PRM] ) || m_parameters[H_PRM] < 0 )
192 
193  if( !std::isfinite( m_parameters[TWISTEDPAIR_TWIST_PRM] )
196 
197  if( !std::isfinite( m_parameters[STRIPLINE_A_PRM] ) || m_parameters[STRIPLINE_A_PRM] <= 0 )
199 
200  if( !std::isfinite( m_parameters[H_T_PRM] ) || m_parameters[H_T_PRM] <= 0 )
202 
203  // How can we check ROUGH_PRM ?
204 
205  if( !std::isfinite( m_parameters[MUR_PRM] ) || m_parameters[MUR_PRM] < 0 )
207 
208  if( !std::isfinite( m_parameters[TWISTEDPAIR_EPSILONR_ENV_PRM] )
211 
212  if( !std::isfinite( m_parameters[MURC_PRM] ) || m_parameters[MURC_PRM] < 0 )
214 
215  if( !std::isfinite( m_parameters[FREQUENCY_PRM] ) || m_parameters[FREQUENCY_PRM] <= 0 )
217 }
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
#define TRANSLINE_WARNING
Definition: transline.h:30
void setErrorLevel(PRMS_ID, char)
@function setErrorLevel
Definition: transline.cpp:443

References EPSILONR_PRM, FREQUENCY_PRM, H_PRM, H_T_PRM, TRANSLINE::m_parameters, MUR_PRM, MURC_PRM, RHO_PRM, TRANSLINE::setErrorLevel(), STRIPLINE_A_PRM, TAND_PRM, TRANSLINE_WARNING, TWISTEDPAIR_EPSILONR_ENV_PRM, and TWISTEDPAIR_TWIST_PRM.

Referenced by TRANSLINE::analyze(), and TRANSLINE::synthesize().

◆ conductor_losses()

double MICROSTRIP::conductor_losses ( )
private

Definition at line 316 of file microstrip.cpp.

317 {
318  double e_r_eff_0, delta;
319  double K, R_s, Q_c, alpha_c;
320 
321  e_r_eff_0 = er_eff_0;
323 
324  if( m_parameters[FREQUENCY_PRM] > 0.0 )
325  {
326  /* current distribution factor */
327  K = exp( -1.2 * pow( Z0_h_1 / ZF0, 0.7 ) );
328  /* skin resistance */
329  R_s = 1.0 / ( m_parameters[SIGMA_PRM] * delta );
330 
331  /* correction for surface roughness */
332  R_s *= 1.0
333  + ( ( 2.0 / M_PI )
334  * atan( 1.40 * pow( ( m_parameters[ROUGH_PRM] / delta ), 2.0 ) ) );
335  /* strip inductive quality factor */
337  / ( R_s * C0 * K );
338  alpha_c = ( 20.0 * M_PI / log( 10.0 ) ) * m_parameters[FREQUENCY_PRM] * sqrt( e_r_eff_0 )
339  / ( C0 * Q_c );
340  }
341  else
342  {
343  alpha_c = 0.0;
344  }
345 
346  return alpha_c;
347 }
double Z0_h_1
Definition: microstrip.h:56
#define ZF0
Definition: units.h:62
double er_eff_0
Definition: microstrip.h:48
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
double alpha_c()
#define C0
Definition: units.h:61
constexpr int delta

References alpha_c(), C0, delta, er_eff_0, FREQUENCY_PRM, TRANSLINE::m_parameters, PHYS_WIDTH_PRM, ROUGH_PRM, SIGMA_PRM, SKIN_DEPTH_PRM, Z0_h_1, and ZF0.

Referenced by attenuation().

◆ delta_q_cover()

double MICROSTRIP::delta_q_cover ( double  h2h)
private

Definition at line 116 of file microstrip.cpp.

117 {
118  double q_c;
119 
120  q_c = tanh( 1.043 + 0.121 * h2h - 1.164 / h2h );
121  return q_c;
122 }

Referenced by microstrip_Z0().

◆ delta_q_thickness()

double MICROSTRIP::delta_q_thickness ( double  u,
double  t_h 
)
private

Definition at line 128 of file microstrip.cpp.

129 {
130  double q_t;
131 
132  q_t = ( 2.0 * log( 2.0 ) / M_PI ) * ( t_h / sqrt( u ) );
133  return q_t;
134 }

Referenced by C_MICROSTRIP::er_eff_static(), and microstrip_Z0().

◆ delta_u_thickness()

double MICROSTRIP::delta_u_thickness ( double  u,
double  t_h,
double  e_r 
)
private

Definition at line 153 of file microstrip.cpp.

154 {
155  double delta_u;
156 
157  if( t_h > 0.0 )
158  {
159  /* correction for thickness for a homogeneous microstrip */
160  delta_u = ( t_h / M_PI )
161  * log( 1.0 + ( 4.0 * M_E ) * pow( tanh( sqrt( 6.517 * u ) ), 2.0 ) / t_h );
162  /* correction for strip on a substrate with relative permettivity e_r */
163  delta_u = 0.5 * delta_u * ( 1.0 + 1.0 / cosh( sqrt( e_r - 1.0 ) ) );
164  }
165  else
166  {
167  delta_u = 0.0;
168  }
169  return delta_u;
170 }

Referenced by microstrip_Z0().

◆ delta_Z0_cover()

double MICROSTRIP::delta_Z0_cover ( double  u,
double  h2h 
)
private

Definition at line 82 of file microstrip.cpp.

83 {
84  double P, Q;
85  double h2hp1;
86 
87  h2hp1 = 1.0 + h2h;
88  P = 270.0 * ( 1.0 - tanh( 1.192 + 0.706 * sqrt( h2hp1 ) - 1.389 / h2hp1 ) );
89  Q = 1.0109 - atanh( ( 0.012 * u + 0.177 * u * u - 0.027 * u * u * u ) / ( h2hp1 * h2hp1 ) );
90  return P * Q;
91 }
double atanh(double x)
Definition: units.h:51

References atanh().

◆ dielectric_losses()

double MICROSTRIP::dielectric_losses ( )
private

Definition at line 354 of file microstrip.cpp.

355 {
356  double e_r, e_r_eff_0;
357  double alpha_d;
358 
359  e_r = m_parameters[EPSILONR_PRM];
360  e_r_eff_0 = er_eff_0;
361 
362  alpha_d = ( 20.0 * M_PI / log( 10.0 ) ) * ( m_parameters[FREQUENCY_PRM] / C0 )
363  * ( e_r / sqrt( e_r_eff_0 ) ) * ( ( e_r_eff_0 - 1.0 ) / ( e_r - 1.0 ) )
365 
366  return alpha_d;
367 }
double er_eff_0
Definition: microstrip.h:48
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
#define C0
Definition: units.h:61

References C0, EPSILONR_PRM, er_eff_0, FREQUENCY_PRM, TRANSLINE::m_parameters, and TAND_PRM.

Referenced by attenuation().

◆ dispersion()

void MICROSTRIP::dispersion ( )
private

Definition at line 288 of file microstrip.cpp.

289 {
290  double e_r, e_r_eff_0;
291  double u, f_n, P, e_r_eff_f, D, Z0_f;
292 
293  e_r = m_parameters[EPSILONR_PRM];
294  e_r_eff_0 = er_eff_0;
296 
297  /* normalized frequency [GHz * mm] */
298  f_n = m_parameters[FREQUENCY_PRM] * m_parameters[H_PRM] / 1e06;
299 
300  P = e_r_dispersion( u, e_r, f_n );
301  /* effective dielectric constant corrected for dispersion */
302  e_r_eff_f = e_r - ( e_r - e_r_eff_0 ) / ( 1.0 + P );
303 
304  D = Z0_dispersion( u, e_r, e_r_eff_0, e_r_eff_f, f_n );
305  Z0_f = Z0_0 * D;
306 
307  er_eff = e_r_eff_f;
308  m_parameters[Z0_PRM] = Z0_f;
309 }
double er_eff
Definition: transline.h:133
double Z0_0
Definition: microstrip.h:45
double e_r_dispersion(double, double, double)
Definition: microstrip.cpp:227
double er_eff_0
Definition: microstrip.h:48
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
double Z0_dispersion()

References D, e_r_dispersion(), EPSILONR_PRM, TRANSLINE::er_eff, er_eff_0, FREQUENCY_PRM, H_PRM, TRANSLINE::m_parameters, PHYS_WIDTH_PRM, Z0_0, Z0_dispersion(), and Z0_PRM.

Referenced by calcAnalyze(), and C_MICROSTRIP::compute_single_line().

◆ e_r_dispersion()

double MICROSTRIP::e_r_dispersion ( double  u,
double  e_r,
double  f_n 
)
private

Definition at line 227 of file microstrip.cpp.

228 {
229  double P_1, P_2, P_3, P_4, P;
230 
231  P_1 = 0.27488 + u * ( 0.6315 + 0.525 / pow( 1.0 + 0.0157 * f_n, 20.0 ) )
232  - 0.065683 * exp( -8.7513 * u );
233  P_2 = 0.33622 * ( 1.0 - exp( -0.03442 * e_r ) );
234  P_3 = 0.0363 * exp( -4.6 * u ) * ( 1.0 - exp( -pow( f_n / 38.7, 4.97 ) ) );
235  P_4 = 1.0 + 2.751 * ( 1.0 - exp( -pow( e_r / 15.916, 8.0 ) ) );
236 
237  P = P_1 * P_2 * pow( ( P_3 * P_4 + 0.1844 ) * f_n, 1.5763 );
238 
239  return P;
240 }

Referenced by dispersion().

◆ e_r_effective()

double MICROSTRIP::e_r_effective ( double  e_r,
double  q 
)
private

Definition at line 141 of file microstrip.cpp.

142 {
143  double e_r_eff;
144 
145  e_r_eff = 0.5 * ( e_r + 1.0 ) + 0.5 * q * ( e_r - 1.0 );
146  return e_r_eff;
147 }

Referenced by microstrip_Z0().

◆ ellipk()

double TRANSLINE::ellipk ( double  k)
protectedinherited

Definition at line 332 of file transline.cpp.

333 {
334  double r, lost;
335 
336  ellipke( k, r, lost );
337  return r;
338 }
E_SERIE r
Definition: eserie.cpp:41
void ellipke(double, double &, double &)
Definition: transline.cpp:267

References TRANSLINE::ellipke(), and r.

Referenced by COPLANAR::calcAnalyze().

◆ ellipke()

void TRANSLINE::ellipke ( double  arg,
double &  k,
double &  e 
)
protectedinherited

Definition at line 267 of file transline.cpp.

268 {
269  int iMax = 16;
270 
271  if( arg == 1.0 )
272  {
273  k = INFINITY; // infinite
274  e = 0;
275  }
276  else if( std::isinf( arg ) && arg < 0 )
277  {
278  k = 0;
279  e = INFINITY; // infinite
280  }
281  else
282  {
283  double a, b, c, fr, s, fk = 1, fe = 1, t, da = arg;
284  int i;
285 
286  if( arg < 0 )
287  {
288  fk = 1 / sqrt( 1 - arg );
289  fe = sqrt( 1 - arg );
290  da = -arg / ( 1 - arg );
291  }
292 
293  a = 1;
294  b = sqrt( 1 - da );
295  c = sqrt( da );
296  fr = 0.5;
297  s = fr * c * c;
298 
299  for( i = 0; i < iMax; i++ )
300  {
301  t = ( a + b ) / 2;
302  c = ( a - b ) / 2;
303  b = sqrt( a * b );
304  a = t;
305  fr *= 2;
306  s += fr * c * c;
307 
308  if( c / a < NR_EPSI )
309  break;
310  }
311 
312  if( i >= iMax )
313  {
314  k = 0;
315  e = 0;
316  }
317  else
318  {
319  k = M_PI_2 / a;
320  e = M_PI_2 * ( 1 - s ) / a;
321  if( arg < 0 )
322  {
323  k *= fk;
324  e *= fe;
325  }
326  }
327  }
328 }
#define M_PI_2
Definition: transline.cpp:40
#define NR_EPSI
Definition: transline.cpp:261
#define INFINITY
Definition: transline.cpp:35

References INFINITY, M_PI_2, and NR_EPSI.

Referenced by TRANSLINE::ellipk().

◆ er_eff_freq()

double MICROSTRIP::er_eff_freq ( )
private

◆ ereff_dispersion()

double MICROSTRIP::ereff_dispersion ( )
private

◆ filling_factor()

double MICROSTRIP::filling_factor ( double  u,
double  e_r 
)
private

Definition at line 98 of file microstrip.cpp.

99 {
100  double a, b, q_inf;
101  double u2, u3, u4;
102 
103  u2 = u * u;
104  u3 = u2 * u;
105  u4 = u3 * u;
106  a = 1.0 + log( ( u4 + u2 / 2704 ) / ( u4 + 0.432 ) ) / 49.0 + log( 1.0 + u3 / 5929.741 ) / 18.7;
107  b = 0.564 * pow( ( e_r - 0.9 ) / ( e_r + 3.0 ), 0.053 );
108  q_inf = pow( 1.0 + 10.0 / u, -a * b );
109  return q_inf;
110 }

Referenced by microstrip_Z0().

◆ getProperties()

void TRANSLINE::getProperties ( )
inherited

@function getProperties

Get all properties from the UI. Computes some extra ones.

Definition at line 158 of file transline.cpp.

159 {
160  for( int i = 0; i < DUMMY_PRM; ++i )
161  {
162  m_parameters[i] = getProperty( (PRMS_ID) i );
164  }
165 
169 }
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
PRMS_ID
Definition: transline.h:36
double getProperty(enum PRMS_ID aPrmId)
Definition: transline.cpp:148
#define TRANSLINE_OK
Definition: transline.h:29
double skin_depth()
@function skin_depth calculate skin depth
Definition: transline.cpp:245
void setErrorLevel(PRMS_ID, char)
@function setErrorLevel
Definition: transline.cpp:443

References DUMMY_PRM, EPSILON_EFF_PRM, TRANSLINE::getProperty(), TRANSLINE::m_parameters, RHO_PRM, TRANSLINE::setErrorLevel(), SIGMA_PRM, TRANSLINE::skin_depth(), SKIN_DEPTH_PRM, and TRANSLINE_OK.

Referenced by TRANSLINE::analyze(), and TRANSLINE::synthesize().

◆ getProperty()

double TRANSLINE::getProperty ( enum PRMS_ID  aPrmId)
inherited

◆ Init()

void TRANSLINE::Init ( )
inherited

Definition at line 98 of file transline.cpp.

99 {
100  wxColour wxcol = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW );
101  okCol = KIGFX::COLOR4D( wxcol );
102  okCol.r = wxcol.Red() / 255.0;
103  okCol.g = wxcol.Green() / 255.0;
104  okCol.b = wxcol.Blue() / 255.0;
105  int i;
106  // Initialize these variables mainly to avoid warnings from a static analyzer
107  for( i = 0; i < EXTRA_PRMS_COUNT; ++i )
108  {
109  m_parameters[i] = 0;
110  }
111 }
double g
Green component.
Definition: color4d.h:385
double b
Blue component.
Definition: color4d.h:386
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
KIGFX::COLOR4D okCol
Definition: transline.h:128
double r
Red component.
Definition: color4d.h:384
A color representation with 4 components: red, green, blue, alpha.
Definition: color4d.h:103

References KIGFX::COLOR4D::b, EXTRA_PRMS_COUNT, KIGFX::COLOR4D::g, TRANSLINE::m_parameters, TRANSLINE::okCol, and KIGFX::COLOR4D::r.

Referenced by C_MICROSTRIP::C_MICROSTRIP(), COAX::COAX(), COPLANAR::COPLANAR(), MICROSTRIP(), RECTWAVEGUIDE::RECTWAVEGUIDE(), STRIPLINE::STRIPLINE(), TRANSLINE::TRANSLINE(), and TWISTEDPAIR::TWISTEDPAIR().

◆ isSelected()

bool TRANSLINE::isSelected ( enum PRMS_ID  aPrmId)
inherited

◆ line_angle()

void MICROSTRIP::line_angle ( )
private

Definition at line 430 of file microstrip.cpp.

431 {
432  double e_r_eff;
433  double v, lambda_g;
434 
435  e_r_eff = er_eff;
436 
437  /* velocity */
438  v = C0 / sqrt( e_r_eff * mur_eff );
439  /* wavelength */
440  lambda_g = v / m_parameters[FREQUENCY_PRM];
441  /* electrical angles */
442  m_parameters[ANG_L_PRM] = 2.0 * M_PI * m_parameters[PHYS_LEN_PRM] / lambda_g; /* in radians */
443 }
double mur_eff
Definition: microstrip.h:50
double er_eff
Definition: transline.h:133
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
#define C0
Definition: units.h:61

References ANG_L_PRM, C0, TRANSLINE::er_eff, FREQUENCY_PRM, TRANSLINE::m_parameters, mur_eff, and PHYS_LEN_PRM.

Referenced by calcAnalyze().

◆ microstrip_Z0()

void MICROSTRIP::microstrip_Z0 ( )
private

Definition at line 176 of file microstrip.cpp.

177 {
178  double e_r, h2, h2h, u, t_h;
179  double Z0_h_r;
180  double delta_u_1, delta_u_r, q_inf, q_c, q_t, e_r_eff, e_r_eff_t, q;
181 
182  e_r = m_parameters[EPSILONR_PRM];
183  h2 = m_parameters[H_T_PRM];
184  h2h = h2 / m_parameters[H_PRM];
187 
188  /* compute normalized width correction for e_r = 1.0 */
189  delta_u_1 = delta_u_thickness( u, t_h, 1.0 );
190  /* compute homogeneous stripline impedance */
191  Z0_h_1 = Z0_homogeneous( u + delta_u_1 );
192  /* compute normalized width correction */
193  delta_u_r = delta_u_thickness( u, t_h, e_r );
194  u += delta_u_r;
195  /* compute homogeneous stripline impedance */
196  Z0_h_r = Z0_homogeneous( u );
197 
198  /* filling factor, with width corrected for thickness */
199  q_inf = filling_factor( u, e_r );
200  /* cover effect */
201  q_c = delta_q_cover( h2h );
202  /* thickness effect */
203  q_t = delta_q_thickness( u, t_h );
204  /* resultant filling factor */
205  q = ( q_inf - q_t ) * q_c;
206 
207  /* e_r corrected for thickness and non homogeneous material */
208  e_r_eff_t = e_r_effective( e_r, q );
209 
210  /* effective dielectric constant */
211  e_r_eff = e_r_eff_t * pow( Z0_h_1 / Z0_h_r, 2.0 );
212 
213  /* characteristic impedance, corrected for thickness, cover */
214  /* and non homogeneous material */
215  m_parameters[Z0_PRM] = Z0_h_r / sqrt( e_r_eff_t );
216 
217  w_eff = u * m_parameters[H_PRM];
218  er_eff_0 = e_r_eff;
220 }
double delta_q_thickness(double, double)
Definition: microstrip.cpp:128
double delta_q_cover(double)
Definition: microstrip.cpp:116
double filling_factor(double, double)
Definition: microstrip.cpp:98
double Z0_0
Definition: microstrip.h:45
double Z0_h_1
Definition: microstrip.h:56
double er_eff_0
Definition: microstrip.h:48
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
double delta_u_thickness(double, double, double)
Definition: microstrip.cpp:153
double Z0_homogeneous(double)
Definition: microstrip.cpp:68
double e_r_effective(double, double)
Definition: microstrip.cpp:141
double w_eff
Definition: microstrip.h:51

References delta_q_cover(), delta_q_thickness(), delta_u_thickness(), e_r_effective(), EPSILONR_PRM, er_eff_0, filling_factor(), H_PRM, H_T_PRM, TRANSLINE::m_parameters, PHYS_WIDTH_PRM, T_PRM, w_eff, Z0_0, Z0_h_1, Z0_homogeneous(), and Z0_PRM.

Referenced by calcAnalyze(), and C_MICROSTRIP::compute_single_line().

◆ minimizeZ0Error1D()

bool TRANSLINE::minimizeZ0Error1D ( double *  aVar)
protectedinherited

@function minimizeZ0Error1D

Tries to find a parameter that minimizes the error ( on Z0 ). This function only works with a single parameter. Calls calcAnalyze several times until the error is acceptable. While the error is unnacceptable, changes slightly the parameter.

This function does not change Z0 / Angl_L.

Parameters
avarParameter to synthesize
Returns
'true' if error < MAX_ERROR, else 'false'

Definition at line 357 of file transline.cpp.

358 {
359  double Z0_dest, Z0_current, Z0_result, angl_l_dest, increment, slope, error;
360  int iteration;
361 
362  if( !std::isfinite( m_parameters[Z0_PRM] ) )
363  {
364  *aVar = NAN;
365  return false;
366  }
367 
368  if( ( !std::isfinite( *aVar ) ) || ( *aVar == 0 ) )
369  *aVar = 0.001;
370 
371  /* required value of Z0 */
372  Z0_dest = m_parameters[Z0_PRM];
373 
374  /* required value of angl_l */
375  angl_l_dest = m_parameters[ANG_L_PRM];
376 
377  /* Newton's method */
378  iteration = 0;
379 
380  /* compute parameters */
381  calcAnalyze();
382  Z0_current = m_parameters[Z0_PRM];
383 
384  error = fabs( Z0_dest - Z0_current );
385 
386  while( error > MAX_ERROR )
387  {
388  iteration++;
389  increment = *aVar / 100.0;
390  *aVar += increment;
391  /* compute parameters */
392  calcAnalyze();
393  Z0_result = m_parameters[Z0_PRM];
394  /* f(w(n)) = Z0 - Z0(w(n)) */
395  /* f'(w(n)) = -f'(Z0(w(n))) */
396  /* f'(Z0(w(n))) = (Z0(w(n)) - Z0(w(n+delw))/delw */
397  /* w(n+1) = w(n) - f(w(n))/f'(w(n)) */
398  slope = ( Z0_result - Z0_current ) / increment;
399  slope = ( Z0_dest - Z0_current ) / slope - increment;
400  *aVar += slope;
401 
402  if( *aVar <= 0.0 )
403  *aVar = increment;
404 
405  /* find new error */
406  /* compute parameters */
407  calcAnalyze();
408  Z0_current = m_parameters[Z0_PRM];
409  error = fabs( Z0_dest - Z0_current );
410 
411  if( iteration > 100 )
412  break;
413  }
414 
415  /* Compute one last time, but with correct length */
416  m_parameters[Z0_PRM] = Z0_dest;
417  m_parameters[ANG_L_PRM] = angl_l_dest;
420  / 2.0 / M_PI; /* in m */
421  calcAnalyze();
422 
423  /* Restore parameters */
424  m_parameters[Z0_PRM] = Z0_dest;
425  m_parameters[ANG_L_PRM] = angl_l_dest;
428  / 2.0 / M_PI; /* in m */
429  return error <= MAX_ERROR;
430 }
virtual void calcAnalyze()
Computation for analysis.
Definition: transline.h:102
#define MAX_ERROR
Definition: transline.cpp:340
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
#define C0
Definition: units.h:61

References ANG_L_PRM, C0, TRANSLINE::calcAnalyze(), EPSILON_EFF_PRM, FREQUENCY_PRM, TRANSLINE::m_parameters, MAX_ERROR, PHYS_LEN_PRM, and Z0_PRM.

Referenced by COPLANAR::calcSynthesize(), TWISTEDPAIR::calcSynthesize(), STRIPLINE::calcSynthesize(), and calcSynthesize().

◆ mur_eff_ms()

void MICROSTRIP::mur_eff_ms ( )
private

Definition at line 385 of file microstrip.cpp.

386 {
387  double* mur = &m_parameters[MUR_PRM];
388  double* h = &m_parameters[H_PRM];
389  double* w = &m_parameters[PHYS_WIDTH_PRM];
390  mur_eff = ( 2.0 * *mur )
391  / ( ( 1.0 + *mur ) + ( ( 1.0 - *mur ) * pow( ( 1.0 + ( 10.0 * *h / *w ) ), -0.5 ) ) );
392 }
double mur_eff
Definition: microstrip.h:50
double mur
Definition: microstrip.h:42
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
double h
Definition: microstrip.h:38
double w
Definition: microstrip.h:43

References h, H_PRM, TRANSLINE::m_parameters, mur, mur_eff, MUR_PRM, PHYS_WIDTH_PRM, and w.

Referenced by calcAnalyze().

◆ setErrorLevel()

void TRANSLINE::setErrorLevel ( PRMS_ID  aP,
char  aErrorLevel 
)
protectedinherited

@function setErrorLevel

set an error / warning level for a given parameter.

See also
TRANSLINE_OK
TRANSLINE_WARNING
TRANSLINE_ERROR
Parameters
aPparameter
aErrorLevelError level

Definition at line 443 of file transline.cpp.

444 {
445  switch( aErrorLevel )
446  {
449  default: SetPropertyBgColorInDialog( aP, &okCol ); break;
450  }
451 }
void SetPropertyBgColorInDialog(enum PRMS_ID aPrmId, const KIGFX::COLOR4D *aCol)
Function SetPropertyBgColorInDialog Set the background color of a parameter.
KIGFX::COLOR4D okCol
Definition: transline.h:128
KIGFX::COLOR4D errCol
Definition: transline.h:126
#define TRANSLINE_ERROR
Definition: transline.h:31
KIGFX::COLOR4D warnCol
Definition: transline.h:127
#define TRANSLINE_WARNING
Definition: transline.h:30

References TRANSLINE::errCol, TRANSLINE::okCol, SetPropertyBgColorInDialog(), TRANSLINE_ERROR, TRANSLINE_WARNING, and TRANSLINE::warnCol.

Referenced by TRANSLINE::checkProperties(), TRANSLINE::getProperties(), TWISTEDPAIR::showAnalyze(), COAX::showAnalyze(), STRIPLINE::showAnalyze(), COPLANAR::showAnalyze(), RECTWAVEGUIDE::showAnalyze(), showAnalyze(), C_MICROSTRIP::showAnalyze(), TWISTEDPAIR::showSynthesize(), STRIPLINE::showSynthesize(), COAX::showSynthesize(), COPLANAR::showSynthesize(), RECTWAVEGUIDE::showSynthesize(), showSynthesize(), and C_MICROSTRIP::showSynthesize().

◆ setProperty()

◆ setResult() [1/2]

void TRANSLINE::setResult ( int  line,
const wxString &  text 
)
inherited

◆ setResult() [2/2]

void TRANSLINE::setResult ( int  line,
double  value,
const wxString &  text 
)
inherited

Definition at line 141 of file transline.cpp.

142 {
143  SetResultInDialog( line, value, text );
144 }
void SetResultInDialog(int line, const char *text)

References SetResultInDialog(), and text.

◆ show_results()

void MICROSTRIP::show_results ( )
overrideprivatevirtual

Shows results.

Reimplemented from TRANSLINE.

Definition at line 461 of file microstrip.cpp.

462 {
465 
466  setResult( 0, er_eff, "" );
467  setResult( 1, atten_cond, wxT( "dB" ) );
468  setResult( 2, atten_dielectric, wxT( "dB" ) );
469 
470  setResult( 3, m_parameters[SKIN_DEPTH_PRM] / UNIT_MICRON, wxT( "┬Ám" ) );
471 }
void setResult(int, const wxString &)
Definition: transline.cpp:135
double er_eff
Definition: transline.h:133
void setProperty(enum PRMS_ID aPrmId, double aValue)
Definition: transline.cpp:117
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
#define UNIT_MICRON
Definition: units_scales.h:33
double atten_dielectric
Definition: microstrip.h:52
double atten_cond
Definition: microstrip.h:53

References ANG_L_PRM, atten_cond, atten_dielectric, TRANSLINE::er_eff, TRANSLINE::m_parameters, TRANSLINE::setProperty(), TRANSLINE::setResult(), SKIN_DEPTH_PRM, UNIT_MICRON, and Z0_PRM.

◆ showAnalyze()

void MICROSTRIP::showAnalyze ( )
overrideprivatevirtual

Shows synthesis results and checks for errors / warnings.

Reimplemented from TRANSLINE.

Definition at line 494 of file microstrip.cpp.

495 {
498 
499  // Check for errors
500  if( !std::isfinite( m_parameters[Z0_PRM] ) || ( m_parameters[Z0_PRM] < 0 ) )
502 
503  if( !std::isfinite( m_parameters[ANG_L_PRM] ) || ( m_parameters[ANG_L_PRM] < 0 ) )
505 
506  // Check for warnings
507  if( !std::isfinite( m_parameters[PHYS_LEN_PRM] ) || ( m_parameters[PHYS_LEN_PRM] < 0 ) )
509 
510  if( !std::isfinite( m_parameters[PHYS_WIDTH_PRM] ) || ( m_parameters[PHYS_WIDTH_PRM] <= 0 ) )
512 }
void setProperty(enum PRMS_ID aPrmId, double aValue)
Definition: transline.cpp:117
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
#define TRANSLINE_ERROR
Definition: transline.h:31
#define TRANSLINE_WARNING
Definition: transline.h:30
void setErrorLevel(PRMS_ID, char)
@function setErrorLevel
Definition: transline.cpp:443

References ANG_L_PRM, TRANSLINE::m_parameters, PHYS_LEN_PRM, PHYS_WIDTH_PRM, TRANSLINE::setErrorLevel(), TRANSLINE::setProperty(), TRANSLINE_ERROR, TRANSLINE_WARNING, and Z0_PRM.

◆ showSynthesize()

void MICROSTRIP::showSynthesize ( )
overrideprivatevirtual

Shows analysis results and checks for errors / warnings.

Reimplemented from TRANSLINE.

Definition at line 474 of file microstrip.cpp.

475 {
478 
479  // Check for errors
480  if( !std::isfinite( m_parameters[PHYS_LEN_PRM] ) || ( m_parameters[PHYS_LEN_PRM] < 0 ) )
482 
483  if( !std::isfinite( m_parameters[PHYS_WIDTH_PRM] ) || ( m_parameters[PHYS_WIDTH_PRM] <= 0 ) )
485 
486  // Check for warnings
487  if( !std::isfinite( m_parameters[Z0_PRM] ) || ( m_parameters[Z0_PRM] < 0 ) )
489 
490  if( !std::isfinite( m_parameters[ANG_L_PRM] ) || ( m_parameters[ANG_L_PRM] < 0 ) )
492 }
void setProperty(enum PRMS_ID aPrmId, double aValue)
Definition: transline.cpp:117
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131
#define TRANSLINE_ERROR
Definition: transline.h:31
#define TRANSLINE_WARNING
Definition: transline.h:30
void setErrorLevel(PRMS_ID, char)
@function setErrorLevel
Definition: transline.cpp:443

References ANG_L_PRM, TRANSLINE::m_parameters, PHYS_LEN_PRM, PHYS_WIDTH_PRM, TRANSLINE::setErrorLevel(), TRANSLINE::setProperty(), TRANSLINE_ERROR, TRANSLINE_WARNING, and Z0_PRM.

◆ skin_depth()

double TRANSLINE::skin_depth ( )
protectedinherited

@function skin_depth calculate skin depth

$ \frac{1}{\sqrt{ \pi \cdot f \cdot \mu \cdot \sigma }} $

Definition at line 245 of file transline.cpp.

246 {
247  double depth;
248  depth = 1.0
249  / sqrt( M_PI * m_parameters[FREQUENCY_PRM] * m_parameters[MURC_PRM] * MU0
250  * m_parameters[SIGMA_PRM] );
251  return depth;
252 }
#define MU0
Definition: units.h:60
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131

References FREQUENCY_PRM, TRANSLINE::m_parameters, MU0, MURC_PRM, and SIGMA_PRM.

Referenced by attenuation(), C_MICROSTRIP::attenuation(), STRIPLINE::calcAnalyze(), COPLANAR::calcAnalyze(), and TRANSLINE::getProperties().

◆ synth_width()

double MICROSTRIP::synth_width ( )
private

Definition at line 396 of file microstrip.cpp.

397 {
398  double e_r, a, b;
399  double w_h, width;
400 
401  e_r = m_parameters[EPSILONR_PRM];
402 
403  a = ( ( m_parameters[Z0_PRM] / ZF0 / 2 / M_PI ) * sqrt( ( e_r + 1 ) / 2. ) )
404  + ( ( e_r - 1 ) / ( e_r + 1 ) * ( 0.23 + ( 0.11 / e_r ) ) );
405  b = ZF0 / 2 * M_PI / ( m_parameters[Z0_PRM] * sqrt( e_r ) );
406 
407  if( a > 1.52 )
408  {
409  w_h = 8 * exp( a ) / ( exp( 2. * a ) - 2 );
410  }
411  else
412  {
413  w_h = ( 2. / M_PI )
414  * ( b - 1. - log( ( 2 * b ) - 1. )
415  + ( ( e_r - 1 ) / ( 2 * e_r ) ) * ( log( b - 1. ) + 0.39 - 0.61 / e_r ) );
416  }
417 
418  if( m_parameters[H_PRM] > 0.0 )
419  width = w_h * m_parameters[H_PRM];
420  else
421  width = 0;
422 
423  return width;
424 }
#define ZF0
Definition: units.h:62
double m_parameters[EXTRA_PRMS_COUNT]
Definition: transline.h:131

References EPSILONR_PRM, H_PRM, TRANSLINE::m_parameters, Z0_PRM, and ZF0.

Referenced by calcSynthesize().

◆ synthesize()

void TRANSLINE::synthesize ( )
virtualinherited

Definition at line 228 of file transline.cpp.

229 {
230  getProperties();
231  checkProperties();
232  calcSynthesize();
233  showSynthesize();
234  show_results();
235 }
virtual void calcSynthesize()
Computation for synthesis.
Definition: transline.h:107
virtual void showSynthesize()
Shows analysis results and checks for errors / warnings.
Definition: transline.h:117
virtual void show_results()
Shows results.
Definition: transline.h:122
void checkProperties()
@function checkProperties
Definition: transline.cpp:177
void getProperties()
@function getProperties
Definition: transline.cpp:158

References TRANSLINE::calcSynthesize(), TRANSLINE::checkProperties(), TRANSLINE::getProperties(), TRANSLINE::show_results(), and TRANSLINE::showSynthesize().

Referenced by PANEL_TRANSLINE::OnTranslineSynthetize().

◆ Z0_dispersion() [1/2]

double MICROSTRIP::Z0_dispersion ( )
private

Referenced by dispersion().

◆ Z0_dispersion() [2/2]

double MICROSTRIP::Z0_dispersion ( double  u,
double  e_r,
double  e_r_eff_0,
double  e_r_eff_f,
double  f_n 
)
private

Definition at line 247 of file microstrip.cpp.

249 {
250  double R_1, R_2, R_3, R_4, R_5, R_6, R_7, R_8, R_9, R_10, R_11, R_12, R_13, R_14, R_15, R_16,
251  R_17, D, tmpf;
252 
253  R_1 = 0.03891 * pow( e_r, 1.4 );
254  R_2 = 0.267 * pow( u, 7.0 );
255  R_3 = 4.766 * exp( -3.228 * pow( u, 0.641 ) );
256  R_4 = 0.016 + pow( 0.0514 * e_r, 4.524 );
257  R_5 = pow( f_n / 28.843, 12.0 );
258  R_6 = 22.2 * pow( u, 1.92 );
259  R_7 = 1.206 - 0.3144 * exp( -R_1 ) * ( 1.0 - exp( -R_2 ) );
260  R_8 = 1.0
261  + 1.275
262  * ( 1.0
263  - exp( -0.004625 * R_3 * pow( e_r, 1.674 )
264  * pow( f_n / 18.365, 2.745 ) ) );
265  tmpf = pow( e_r - 1.0, 6.0 );
266  R_9 = 5.086 * R_4 * ( R_5 / ( 0.3838 + 0.386 * R_4 ) )
267  * ( exp( -R_6 ) / ( 1.0 + 1.2992 * R_5 ) ) * ( tmpf / ( 1.0 + 10.0 * tmpf ) );
268  R_10 = 0.00044 * pow( e_r, 2.136 ) + 0.0184;
269  tmpf = pow( f_n / 19.47, 6.0 );
270  R_11 = tmpf / ( 1.0 + 0.0962 * tmpf );
271  R_12 = 1.0 / ( 1.0 + 0.00245 * u * u );
272  R_13 = 0.9408 * pow( e_r_eff_f, R_8 ) - 0.9603;
273  R_14 = ( 0.9408 - R_9 ) * pow( e_r_eff_0, R_8 ) - 0.9603;
274  R_15 = 0.707 * R_10 * pow( f_n / 12.3, 1.097 );
275  R_16 = 1.0 + 0.0503 * e_r * e_r * R_11 * ( 1.0 - exp( -pow( u / 15.0, 6.0 ) ) );
276  R_17 = R_7 * ( 1.0 - 1.1241 * ( R_12 / R_16 ) * exp( -0.026 * pow( f_n, 1.15656 ) - R_15 ) );
277 
278  D = pow( R_13 / R_14, R_17 );
279 
280  return D;
281 }

References D.

◆ Z0_homogeneous()

double MICROSTRIP::Z0_homogeneous ( double  u)
private

Definition at line 68 of file microstrip.cpp.

69 {
70  double freq, Z0_value;
71 
72  freq = 6.0 + ( 2.0 * M_PI - 6.0 ) * exp( -pow( 30.666 / u, 0.7528 ) );
73  Z0_value = ( ZF0 / ( 2.0 * M_PI ) ) * log( freq / u + sqrt( 1.0 + 4.0 / ( u * u ) ) );
74  return Z0_value;
75 }
#define ZF0
Definition: units.h:62

References ZF0.

Referenced by microstrip_Z0().

Friends And Related Function Documentation

◆ C_MICROSTRIP

friend class C_MICROSTRIP
friend

Definition at line 35 of file microstrip.h.

Member Data Documentation

◆ ang_l

double TRANSLINE::ang_l
protectedinherited

Definition at line 134 of file transline.h.

Referenced by TRANSLINE::TRANSLINE().

◆ atten_cond

double MICROSTRIP::atten_cond
private

Definition at line 53 of file microstrip.h.

Referenced by attenuation(), and show_results().

◆ atten_dielectric

double MICROSTRIP::atten_dielectric
private

Definition at line 52 of file microstrip.h.

Referenced by attenuation(), and show_results().

◆ er_eff

◆ er_eff_0

◆ errCol

KIGFX::COLOR4D TRANSLINE::errCol = KIGFX::COLOR4D( 1, 0.63, 0.63, 1 )
inherited

Definition at line 126 of file transline.h.

Referenced by TRANSLINE::setErrorLevel().

◆ h

double MICROSTRIP::h
private

Definition at line 38 of file microstrip.h.

Referenced by mur_eff_ms().

◆ ht

double MICROSTRIP::ht
private

Definition at line 39 of file microstrip.h.

◆ l

double MICROSTRIP::l
private

Definition at line 44 of file microstrip.h.

◆ len

double TRANSLINE::len
protectedinherited

Definition at line 132 of file transline.h.

Referenced by TRANSLINE::TRANSLINE().

◆ m_Name

◆ m_parameters

double TRANSLINE::m_parameters[EXTRA_PRMS_COUNT]
protectedinherited

Definition at line 131 of file transline.h.

Referenced by RECTWAVEGUIDE::alphac(), COAX::alphac_coax(), RECTWAVEGUIDE::alphad(), COAX::alphad_coax(), attenuation(), C_MICROSTRIP::attenuation(), TWISTEDPAIR::calcAnalyze(), COAX::calcAnalyze(), STRIPLINE::calcAnalyze(), COPLANAR::calcAnalyze(), RECTWAVEGUIDE::calcAnalyze(), TWISTEDPAIR::calcSynthesize(), COPLANAR::calcSynthesize(), COAX::calcSynthesize(), STRIPLINE::calcSynthesize(), RECTWAVEGUIDE::calcSynthesize(), calcSynthesize(), C_MICROSTRIP::calcSynthesize(), TRANSLINE::checkProperties(), C_MICROSTRIP::compute_single_line(), conductor_losses(), C_MICROSTRIP::conductor_losses(), C_MICROSTRIP::delta_u_thickness(), dielectric_losses(), C_MICROSTRIP::dielectric_losses(), dispersion(), C_MICROSTRIP::er_eff_freq(), C_MICROSTRIP::er_eff_static(), RECTWAVEGUIDE::fc(), RECTWAVEGUIDE::get_rectwaveguide_comp(), RECTWAVEGUIDE::get_rectwaveguide_elec(), RECTWAVEGUIDE::get_rectwaveguide_phys(), RECTWAVEGUIDE::get_rectwaveguide_sub(), TRANSLINE::getProperties(), TRANSLINE::Init(), RECTWAVEGUIDE::kc_square(), RECTWAVEGUIDE::kval_square(), C_MICROSTRIP::line_angle(), line_angle(), STRIPLINE::lineImpedance(), microstrip_Z0(), TRANSLINE::minimizeZ0Error1D(), mur_eff_ms(), TWISTEDPAIR::show_results(), STRIPLINE::show_results(), COAX::show_results(), COPLANAR::show_results(), RECTWAVEGUIDE::show_results(), show_results(), C_MICROSTRIP::show_results(), TWISTEDPAIR::showAnalyze(), COAX::showAnalyze(), STRIPLINE::showAnalyze(), COPLANAR::showAnalyze(), RECTWAVEGUIDE::showAnalyze(), showAnalyze(), C_MICROSTRIP::showAnalyze(), STRIPLINE::showSynthesize(), TWISTEDPAIR::showSynthesize(), COAX::showSynthesize(), COPLANAR::showSynthesize(), RECTWAVEGUIDE::showSynthesize(), showSynthesize(), C_MICROSTRIP::showSynthesize(), TRANSLINE::skin_depth(), C_MICROSTRIP::syn_fun(), synth_width(), C_MICROSTRIP::synth_width(), TRANSLINE::TRANSLINE(), C_MICROSTRIP::Z0_dispersion(), and C_MICROSTRIP::Z0_even_odd().

◆ mur

double MICROSTRIP::mur
private

Definition at line 42 of file microstrip.h.

Referenced by mur_eff_ms().

◆ mur_eff

double MICROSTRIP::mur_eff
private

Definition at line 50 of file microstrip.h.

Referenced by calcSynthesize(), line_angle(), and mur_eff_ms().

◆ okCol

KIGFX::COLOR4D TRANSLINE::okCol = KIGFX::COLOR4D( 1, 1, 1, 1 )
inherited

Definition at line 128 of file transline.h.

Referenced by TRANSLINE::Init(), and TRANSLINE::setErrorLevel().

◆ rough

double MICROSTRIP::rough
private

Definition at line 41 of file microstrip.h.

◆ t

double MICROSTRIP::t
private

Definition at line 40 of file microstrip.h.

◆ w

double MICROSTRIP::w
private

Definition at line 43 of file microstrip.h.

Referenced by mur_eff_ms().

◆ w_eff

double MICROSTRIP::w_eff
private

Definition at line 51 of file microstrip.h.

Referenced by microstrip_Z0().

◆ warnCol

KIGFX::COLOR4D TRANSLINE::warnCol = KIGFX::COLOR4D( 1, 1, 0.57, 1 )
inherited

Definition at line 127 of file transline.h.

Referenced by TRANSLINE::setErrorLevel().

◆ Z0

double MICROSTRIP::Z0
private

Definition at line 46 of file microstrip.h.

◆ Z0_0

double MICROSTRIP::Z0_0
private

Definition at line 45 of file microstrip.h.

Referenced by dispersion(), microstrip_Z0(), and C_MICROSTRIP::Z0_even_odd().

◆ Z0_h_1

double MICROSTRIP::Z0_h_1
private

Definition at line 56 of file microstrip.h.

Referenced by conductor_losses(), and microstrip_Z0().


The documentation for this class was generated from the following files: