You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

133 lines
4.4 KiB

  1. /*
  2. * This program source code file is part of KICAD, a free EDA CAD application.
  3. *
  4. * Copyright (C) 2019 jean-pierre.charras
  5. * Copyright (C) 1992-2023 Kicad Developers, see AUTHORS.txt for contributors.
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version 3
  10. * of the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License along
  18. * with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. /**
  21. * @file common_data.cpp
  22. * @note lists of constants used in different panels
  23. */
  24. #include "common_data.h"
  25. wxArrayString StandardRelativeDielectricConstantList()
  26. {
  27. wxArrayString list;
  28. // EpsilonR ( relative dielectric constant) list
  29. list.Add( wxT( "4.5 \tFR4" ) );
  30. list.Add( wxT( "3.67 \tIsola FR408" ) );
  31. list.Add( wxT( "4.04 \tIsola 370HR" ) );
  32. list.Add( wxT( "3.55 \tRogers RO4003C" ) );
  33. list.Add( wxT( "3.66 \tRogers R4350B" ) );
  34. list.Add( wxT( "9.8 \talumina (Al2O3)" ) );
  35. list.Add( wxT( "3.78 \tfused quartz" ) );
  36. list.Add( wxT( "3.38 \tRO4003" ) );
  37. list.Add( wxT( "2.2 \tRT/duroid 5880" ) );
  38. list.Add( wxT( "10.2 \tRT/duroid 6010LM" ) );
  39. list.Add( wxT( "2.1 \tteflon (PTFE)" ) );
  40. list.Add( wxT( "4.0 \tPVC" ) );
  41. list.Add( wxT( "2.3 \tPE" ) );
  42. list.Add( wxT( "6.6 \tberyllia (BeO)" ) );
  43. list.Add( wxT( "8.7 \taluminum nitride" ) );
  44. list.Add( wxT( "11.9 \tsilicon" ) );
  45. list.Add( wxT( "12.9 \tGaAs" ) );
  46. return list;
  47. }
  48. wxArrayString StandardLossTangentList()
  49. {
  50. wxArrayString list;
  51. // List of current dielectric loss factor (tangent delta)
  52. list.Clear();
  53. list.Add( wxT( "0.02 \tFR4 @ 1GHz" ) );
  54. list.Add( wxT( "0.012 \tIsola FR408 @ 2 GHz" ) );
  55. list.Add( wxT( "0.021 \tIsola 370HR @ 2 GHz" ) );
  56. list.Add( wxT( "0.0027 \tRogers RO4003C @ 10 GHz" ) );
  57. list.Add( wxT( "0.0021 \tRogers RO4003C @ 2.5 GHz" ) );
  58. list.Add( wxT( "0.0037 \tRogers RO4350B @ 10 GHz" ) );
  59. list.Add( wxT( "0.0031 \tRogers RO4350B @ 2.5 GHz" ) );
  60. list.Add( wxT( "3e-4 \tberyllia @ 10GHz" ) );
  61. list.Add( wxT( "2e-4 \taluminia (Al2O3) @ 10GHz" ) );
  62. list.Add( wxT( "1e-4 \tfused quartz @ 10GHz" ) );
  63. list.Add( wxT( "0.002 \tRO4003 @ 10GHz" ) );
  64. list.Add( wxT( "9e-4 \tRT/duroid 5880 @ 10GHz" ) );
  65. list.Add( wxT( "2e-4 \tteflon (PTFE) @ 1MHz" ) );
  66. list.Add( wxT( "0.05 \tPVC @ 1MHz" ) );
  67. list.Add( wxT( "2e-4 \tPE @ 1MHz" ) );
  68. list.Add( wxT( "0.001 \taluminum nitride @ 10GHz" ) );
  69. list.Add( wxT( "0.015 \tsilicon @ 10GHz" ) );
  70. list.Add( wxT( "0.002 \tGaAs @ 10GHz" ) );
  71. return list;
  72. }
  73. wxArrayString StandardResistivityList()
  74. {
  75. wxArrayString list;
  76. // Specific resistance list in ohms*meters (rho):
  77. list.Clear();
  78. list.Add( wxT( "2.4e-8 \tgold" ) );
  79. list.Add( wxT( "1.72e-8 \tcopper" ) );
  80. list.Add( wxT( "1.62e-8 \tsilver" ) );
  81. list.Add( wxT( "12.4e-8 \ttin" ) );
  82. list.Add( wxT( "10.5e-8 \tplatinum" ) );
  83. list.Add( wxT( "2.62e-8 \taluminum" ) );
  84. list.Add( wxT( "6.9e-8 \tnickel" ) );
  85. list.Add( wxT( "3.9e-8 \tbrass (66Cu 34Zn)" ) );
  86. list.Add( wxT( "9.71e-8 \tiron" ) );
  87. list.Add( wxT( "6.0e-8 \tzinc" ) );
  88. return list;
  89. }
  90. wxArrayString StandardCableConductorList()
  91. {
  92. wxArrayString list;
  93. // Lined the same as StandardCableTempCoefList
  94. // Specific resistance list in ohms*meters (rho):
  95. list.Clear();
  96. list.Add( wxT( "1.72e-8 \tCu, Copper" ) );
  97. list.Add( wxT( "2.62e-8 \tAl, Aluminum" ) );
  98. list.Add( wxT( "100e-8 \tNiCr, Nichrome" ) );
  99. list.Add( wxT( "9.71e-8 \tFe, Iron" ) );
  100. list.Add( wxT( "5.6e-8 \tW, Tungsten" ) );
  101. return list;
  102. }
  103. wxArrayString StandardCableTempCoefList()
  104. {
  105. wxArrayString list;
  106. // Lined the same as StandardCableConductorList
  107. // Specific temperature coefficient (20C):
  108. list.Clear();
  109. list.Add( wxT( "3.93e-3 \tCu, Copper" ) );
  110. list.Add( wxT( "4.29e-3 \tAl, Aluminum" ) );
  111. list.Add( wxT( "0.4e-3 \tNiCr, Nichrome" ) );
  112. list.Add( wxT( "5e-3 \tFe, Iron" ) );
  113. list.Add( wxT( "4.5e-3 \tW, Tungsten" ) );
  114. return list;
  115. }