KiCad PCB EDA Suite
common_data.cpp File Reference
#include "common_data.h"

Go to the source code of this file.

Functions

wxArrayString StandardRelativeDielectricConstantList ()
 
wxArrayString StandardLossTangentList ()
 
wxArrayString StandardResistivityList ()
 

Detailed Description

Note
lists of constants used in different panels

Definition in file common_data.cpp.

Function Documentation

◆ StandardLossTangentList()

wxArrayString StandardLossTangentList ( )
Returns
a list of loss tangent of some materials used to make PCBs

Definition at line 55 of file common_data.cpp.

56 {
57  wxArrayString list;
58 
59  // List of current dielectric loss factor (tangent delta)
60  list.Clear();
61  list.Add( wxT( "2e-2 FR4 @ 1GHz" ) );
62  list.Add( wxT( "12e-3 Isola FR408 @ 2 GHz" ) );
63  list.Add( wxT( "21e-3 Isola 370HR @ 2 GHz" ) );
64  list.Add( wxT( "27e-4 Rogers RO4003C @ 10 GHz" ) );
65  list.Add( wxT( "21e-4 Rogers RO4003C @ 2.5 GHz" ) );
66  list.Add( wxT( "37e-4 Rogers RO4350B @ 10 GHz" ) );
67  list.Add( wxT( "31e-4 Rogers RO4350B @ 2.5 GHz" ) );
68  list.Add( wxT( "3e-4 beryllia @ 10GHz" ) );
69  list.Add( wxT( "2e-4 aluminia (Al2O3) @ 10GHz" ) );
70  list.Add( wxT( "1e-4 fused quartz @ 10GHz" ) );
71  list.Add( wxT( "2e-3 RO4003 @ 10GHz" ) );
72  list.Add( wxT( "9e-4 RT/duroid 5880 @ 10GHz" ) );
73  list.Add( wxT( "2e-4 teflon (PTFE) @ 1MHz" ) );
74  list.Add( wxT( "5e-2 PVC @ 1MHz" ) );
75  list.Add( wxT( "2e-4 PE @ 1MHz" ) );
76  list.Add( wxT( "1e-3 aluminum nitride @ 10GHz" ) );
77  list.Add( wxT( "0.015 silicon @ 10GHz" ) );
78  list.Add( wxT( "0.002 GaAs @ 10GHz" ) );
79 
80  return list;
81 }

Referenced by PCB_CALCULATOR_FRAME::OnTranslineTanD_Button().

◆ StandardRelativeDielectricConstantList()

wxArrayString StandardRelativeDielectricConstantList ( )
Returns
a list of dielectric constants (Er) of some materials used to make PCBs

Definition at line 28 of file common_data.cpp.

29 {
30  wxArrayString list;
31 
32  // EpsilonR ( relative dielectric constant) list
33  list.Add( wxT( "4.5 FR4" ) );
34  list.Add( wxT( "3.67 Isola FR408" ) );
35  list.Add( wxT( "4.04 Isola 370HR" ) );
36  list.Add( wxT( "3.55 Rogers RO4003C" ) );
37  list.Add( wxT( "3.66 Rogers R4350B" ) );
38  list.Add( wxT( "9.8 alumina (Al2O3)" ) );
39  list.Add( wxT( "3.78 fused quartz" ) );
40  list.Add( wxT( "3.38 RO4003" ) );
41  list.Add( wxT( "2.2 RT/duroid 5880" ) );
42  list.Add( wxT( "10.2 RT/duroid 6010LM" ) );
43  list.Add( wxT( "2.1 teflon (PTFE)" ) );
44  list.Add( wxT( "4.0 PVC" ) );
45  list.Add( wxT( "2.3 PE" ) );
46  list.Add( wxT( "6.6 beryllia (BeO)" ) );
47  list.Add( wxT( "8.7 aluminum nitride" ) );
48  list.Add( wxT( "11.9 silicon" ) );
49  list.Add( wxT( "12.9 GaAs" ) );
50 
51  return list;
52 }

Referenced by PCB_CALCULATOR_FRAME::OnTranslineEpsilonR_Button(), and PCB_CALCULATOR_FRAME::OnViaEpsilonR_Button().

◆ StandardResistivityList()

wxArrayString StandardResistivityList ( )
Returns
a list of resistivity constants (Er) of some conductors used to make PCBs

Definition at line 84 of file common_data.cpp.

85 {
86  wxArrayString list;
87 
88  // Specific resistance list in ohms*meters (rho):
89  list.Clear();
90  list.Add( wxT( "2.4e-8 gold" ) );
91  list.Add( wxT( "1.72e-8 copper" ) );
92  list.Add( wxT( "1.62e-8 silver" ) );
93  list.Add( wxT( "12.4e-8 tin" ) );
94  list.Add( wxT( "10.5e-8 platinum" ) );
95  list.Add( wxT( "2.62e-8 aluminum" ) );
96  list.Add( wxT( "6.9e-8 nickel" ) );
97  list.Add( wxT( "3.9e-8 brass (66Cu 34Zn)" ) );
98  list.Add( wxT( "9.71e-8 iron" ) );
99  list.Add( wxT( "6.0e-8 zinc" ) );
100 
101  return list;
102 }

Referenced by PCB_CALCULATOR_FRAME::OnTranslineRho_Button(), and PCB_CALCULATOR_FRAME::OnViaRho_Button().