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.

102 lines
3.5 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-2019 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 FR4" ) );
  30. list.Add( wxT( "3.67 Isola FR408" ) );
  31. list.Add( wxT( "4.04 Isola 370HR" ) );
  32. list.Add( wxT( "3.55 Rogers RO4003C" ) );
  33. list.Add( wxT( "3.66 Rogers R4350B" ) );
  34. list.Add( wxT( "9.8 alumina (Al2O3)" ) );
  35. list.Add( wxT( "3.78 fused quartz" ) );
  36. list.Add( wxT( "3.38 RO4003" ) );
  37. list.Add( wxT( "2.2 RT/duroid 5880" ) );
  38. list.Add( wxT( "10.2 RT/duroid 6010LM" ) );
  39. list.Add( wxT( "2.1 teflon (PTFE)" ) );
  40. list.Add( wxT( "4.0 PVC" ) );
  41. list.Add( wxT( "2.3 PE" ) );
  42. list.Add( wxT( "6.6 beryllia (BeO)" ) );
  43. list.Add( wxT( "8.7 aluminum nitride" ) );
  44. list.Add( wxT( "11.9 silicon" ) );
  45. list.Add( wxT( "12.9 GaAs" ) );
  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( "2e-2 FR4 @ 1GHz" ) );
  54. list.Add( wxT( "12e-3 Isola FR408 @ 2 GHz" ) );
  55. list.Add( wxT( "21e-3 Isola 370HR @ 2 GHz" ) );
  56. list.Add( wxT( "27e-4 Rogers RO4003C @ 10 GHz" ) );
  57. list.Add( wxT( "21e-4 Rogers RO4003C @ 2.5 GHz" ) );
  58. list.Add( wxT( "37e-4 Rogers RO4350B @ 10 GHz" ) );
  59. list.Add( wxT( "31e-4 Rogers RO4350B @ 2.5 GHz" ) );
  60. list.Add( wxT( "3e-4 beryllia @ 10GHz" ) );
  61. list.Add( wxT( "2e-4 aluminia (Al2O3) @ 10GHz" ) );
  62. list.Add( wxT( "1e-4 fused quartz @ 10GHz" ) );
  63. list.Add( wxT( "2e-3 RO4003 @ 10GHz" ) );
  64. list.Add( wxT( "9e-4 RT/duroid 5880 @ 10GHz" ) );
  65. list.Add( wxT( "2e-4 teflon (PTFE) @ 1MHz" ) );
  66. list.Add( wxT( "5e-2 PVC @ 1MHz" ) );
  67. list.Add( wxT( "2e-4 PE @ 1MHz" ) );
  68. list.Add( wxT( "1e-3 aluminum nitride @ 10GHz" ) );
  69. list.Add( wxT( "0.015 silicon @ 10GHz" ) );
  70. list.Add( wxT( "0.002 GaAs @ 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 gold" ) );
  79. list.Add( wxT( "1.72e-8 copper" ) );
  80. list.Add( wxT( "1.62e-8 silver" ) );
  81. list.Add( wxT( "12.4e-8 tin" ) );
  82. list.Add( wxT( "10.5e-8 platinum" ) );
  83. list.Add( wxT( "2.62e-8 aluminum" ) );
  84. list.Add( wxT( "6.9e-8 nickel" ) );
  85. list.Add( wxT( "3.9e-8 brass (66Cu 34Zn)" ) );
  86. list.Add( wxT( "9.71e-8 iron" ) );
  87. list.Add( wxT( "6.0e-8 zinc" ) );
  88. return list;
  89. }