KiCad PCB EDA Suite
common_data.h File Reference
#include <wx/arrstr.h>

Go to the source code of this file.

Functions

wxArrayString StandardRelativeDielectricConstantList ()
 
wxArrayString StandardLossTangentList ()
 
wxArrayString StandardResistivityList ()
 
wxArrayString StandardCableConductorList ()
 
wxArrayString StandardCableTempCoefList ()
 

Detailed Description

Note
lists of constants used in different panels

Definition in file common_data.h.

Function Documentation

◆ StandardCableConductorList()

wxArrayString StandardCableConductorList ( )
Returns
a list of resistivity constants (Er) of some conductors used to make cable cores

Definition at line 104 of file common_data.cpp.

105{
106 wxArrayString list;
107
108 // Lined the same as StandardCableTempCoefList
109 // Specific resistance list in ohms*meters (rho):
110 list.Clear();
111 list.Add( wxT( "1.72e-8 Cu, Copper" ) );
112 list.Add( wxT( "2.62e-8 Al, Aluminum" ) );
113 list.Add( wxT( "100e-8 NiCr, Nichrome" ) );
114 list.Add( wxT( "9.71e-8 Fe, Iron" ) );
115 list.Add( wxT( "5.6e-8 W, Tungsten" ) );
116
117 return list;
118}

Referenced by PANEL_CABLE_SIZE::OnConductorResistivity_Button().

◆ StandardCableTempCoefList()

wxArrayString StandardCableTempCoefList ( )
Returns
a list of temperature coefficient constants of some conductors used to make cable cores

Definition at line 120 of file common_data.cpp.

121{
122 wxArrayString list;
123 // Lined the same as StandardCableConductorList
124 // Specific temperature coefficient (20C):
125 list.Clear();
126 list.Add( wxT( "3.93e-3 Cu, Copper" ) );
127 list.Add( wxT( "4.29e-3 Al, Aluminum" ) );
128 list.Add( wxT( "0.4e-3 NiCr, Nichrome" ) );
129 list.Add( wxT( "5e-3 Fe, Iron" ) );
130 list.Add( wxT( "4.5e-3 W, Tungsten" ) );
131
132 return list;
133}

Referenced by PANEL_CABLE_SIZE::OnConductorThermCoefChange_Button().

◆ 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 PANEL_TRANSLINE::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 PANEL_WAVELENGTH::OnButtonPermittivity(), PANEL_TRANSLINE::OnTranslineEpsilonR_Button(), and PANEL_VIA_SIZE::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 PANEL_TRANSLINE::OnTranslineRho_Button(), and PANEL_VIA_SIZE::OnViaRho_Button().