home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p064 / 8.ddi / LINEAR.LIB < prev    next >
Encoding:
Text File  |  1991-07-01  |  54.1 KB  |  1,791 lines

  1. * Library of linear IC definitions
  2.  
  3. * Copyright 1985, 1986, 1987, 1988, 1989, 1990 by MicroSim Corporation
  4. *   Neither this library nor any part may be copied without the express
  5. *   written consent of MicroSim Corporation
  6.  
  7. * $Revision:   1.10  $
  8. * $Author:   pwt  $
  9. * $Date:   16 Mar 1990 14:47:04  $
  10.  
  11. *** Operational amplifiers
  12.  
  13. * The parameters in the opamp library were derived from the data sheets for
  14. * each part.  The macromodel used is similar to the one described in:
  15. *
  16. *    Macromodeling of Integrated Circuit Operational Amplifiers
  17. *      by Graeme Boyle, Barry Cohn, Donald Pederson, and James Solomon
  18. *    IEEE Journal of SoliE-State Circuits, Vol. SC-9, no. 6,    Dec. 1974
  19. *
  20. * Differences from the reference (above) occur in the output limiting stage
  21. * which was modified to reduce internally generated currents associated with
  22. * output voltage limiting, as well as short-circuit current limiting.
  23. *
  24. * The opamps are modelled at room temperature and do not track changes with
  25. * temperature.  This library file contains models for nominal, not worst case,
  26. * devices.
  27. *-----------------------------------------------------------------------------
  28. * connections:   non-inverting input
  29. *                | inverting input
  30. *                | | positive power supply
  31. *                | | | negative power supply
  32. *                | | | | output
  33. *                | | | | |
  34. .subckt LF411    1 2 3 4 5
  35. *
  36.   c1   11 12 4.196E-12
  37.   c2    6  7 10.00E-12
  38.   css  10 99 1.333E-12
  39.   dc    5 53 dx
  40.   de   54  5 dx
  41.   dlp  90 91 dx
  42.   dln  92 90 dx
  43.   dp    4  3 dx
  44.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  45.   fb    7 99 poly(5) vb vc ve vlp vln 0 31.83E6 -30E6 30E6 30E6 -30E6
  46.   ga    6  0 11 12 251.4E-6
  47.   gcm   0  6 10 99 2.514E-9
  48.   iss  10  4 dc 170.0E-6
  49.   hlim 90  0 vlim 1K
  50.   j1   11  2 10 jx
  51.   j2   12  1 10 jx
  52.   r2    6  9 100.0E3
  53.   rd1   3 11 3.978E3
  54.   rd2   3 12 3.978E3
  55.   ro1   8  5 50
  56.   ro2   7 99 25
  57.   rp    3  4 15.00E3
  58.   rss  10 99 1.176E6
  59.   vb    9  0 dc 0
  60.   vc    3 53 dc 1.500
  61.   ve   54  4 dc 1.500
  62.   vlim  7  8 dc 0
  63.   vlp  91  0 dc 25
  64.   vln   0 92 dc 25
  65. .model dx D(Is=800.0E-18 Rs=1)
  66. .model jx NJF(Is=12.50E-12 Beta=743.3E-6 Vto=-1)
  67. .ends
  68. *-----------------------------------------------------------------------------
  69. * connections:   non-inverting input
  70. *                | inverting input
  71. *                | | positive power supply
  72. *                | | | negative power supply
  73. *                | | | | output
  74. *                | | | | |
  75. .subckt LF412    1 2 3 4 5
  76. *
  77.   x_lf412 1 2 3 4 5 LF411
  78. .ends
  79. *-----------------------------------------------------------------------------
  80. * connections:   non-inverting input
  81. *                | inverting input
  82. *                | | positive power supply
  83. *                | | | negative power supply
  84. *                | | | | output
  85. *                | | | | |  compensation
  86. *                | | | | | / \
  87. .subckt LM101A   1 2 3 4 5 6 7
  88. *
  89.   c1   11 12 8.661E-12
  90.   dc    5 53 dx
  91.   de   54  5 dx
  92.   dlp  90 91 dx
  93.   dln  92 90 dx
  94.   dp    4  3 dx
  95.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  96.   fb    7 99 poly(5) vb vc ve vlp vln 0 37.73E6 -40E6 40E6 40E6 -40E6
  97.   ga    6  0 11 12 188.5E-6
  98.   gcm   0  6 10 99 2.988E-9
  99.   iee  10  4 dc 15.06E-6
  100.   hlim 90  0 vlim 1K
  101.   q1   11  2 13 qx
  102.   q2   12  1 14 qx
  103.   r2    6  9 100.0E3
  104.   rc1   3 11 5.305E3
  105.   rc2   3 12 5.305E3
  106.   re1  13 10 1.849E3
  107.   re2  14 10 1.849E3
  108.   ree  10 99 13.28E6
  109.   ro1   8  5 50
  110.   ro2   7 99 25
  111.   rp    3  4 15.11E3
  112.   vb    9  0 dc 0
  113.   vc    3 53 dc 1
  114.   ve   54  4 dc 1
  115.   vlim  7  8 dc 0
  116.   vlp  91  0 dc 25
  117.   vln   0 92 dc 25
  118. .model dx D(Is=800.0E-18 Rs=1)
  119. .model qx NPN(Is=800.0E-18 Bf=250)
  120. .ends
  121. *-----------------------------------------------------------------------------
  122. * connections:   non-inverting input
  123. *                | inverting input
  124. *                | | positive power supply
  125. *                | | | negative power supply
  126. *                | | | | output
  127. *                | | | | |  compensation
  128. *                | | | | | / \
  129. .subckt LM108    1 2 3 4 5 6 7
  130. *
  131.   c1   11 12 5.460E-12
  132.   dc    5 53 dx
  133.   de   54  5 dx
  134.   dlp  90 91 dx
  135.   dln  92 90 dx
  136.   dp    4  3 dx
  137.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  138.   fb    7 99 poly(5) vb vc ve vlp vln 0 83.87E6 -80E6 80E6 80E6 -80E6
  139.   ga    6  0 11 12 150.8E-6
  140.   gcm   0  6 10 99 1.508E-9
  141.   iee  10  4 dc 18.00E-6
  142.   hlim 90  0 vlim 1K
  143.   q1   11  2 13 qx
  144.   q2   12  1 14 qx
  145.   r2    6  9 100.0E3
  146.   rc1   3 11 6.631E3
  147.   rc2   3 12 6.631E3
  148.   re1  13 10 3.757E3
  149.   re2  14 10 3.757E3
  150.   ree  10 99 11.11E6
  151.   ro1   8  5 50
  152.   ro2   7 99 25
  153.   rp    3  4 106.4E3
  154.   vb    9  0 dc 0
  155.   vc    3 53 dc 1
  156.   ve   54  4 dc 1
  157.   vlim  7  8 dc 0
  158.   vlp  91  0 dc 6
  159.   vln   0 92 dc 6
  160. .model dx D(Is=800.0E-18 Rs=1)
  161. .model qx NPN(Is=800.0E-18 Bf=11.25E3)
  162. .ends
  163. *-----------------------------------------------------------------------------
  164. * connections:   non-inverting input
  165. *                | inverting input
  166. *                | | positive power supply
  167. *                | | | negative power supply
  168. *                | | | | output
  169. *                | | | | |
  170. .subckt LM118    1 2 3 4 5
  171. *
  172.   c1   11 12 2.887E-12
  173.   c2    6  7 20.00E-12
  174.   dc    5 53 dx
  175.   de   54  5 dx
  176.   dlp  90 91 dx
  177.   dln  92 90 dx
  178.   dp    4  3 dx
  179.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  180.   fb    7 99 poly(5) vb vc ve vlp vln 0 636.5E3 -600E3 600E3 600E3 -600E3
  181.   ga    6  0 11 12 12.57E-3
  182.   gcm   0  6 10 99 125.7E-9
  183.   iee  10  4 dc 1.400E-3
  184.   hlim 90  0 vlim 1K
  185.   q1   11  2 13 qx
  186.   q2   12  1 14 qx
  187.   r2    6  9 100.0E3
  188.   rc1   3 11 79.57
  189.   rc2   3 12 79.57
  190.   re1  13 10 42.61
  191.   re2  14 10 42.61
  192.   ree  10 99 142.8E3
  193.   ro1   8  5 50
  194.   ro2   7 99 25
  195.   rp    3  4 9.678E3
  196.   vb    9  0 dc 0
  197.   vc    3 53 dc 2
  198.   ve   54  4 dc 2
  199.   vlim  7  8 dc 0
  200.   vlp  91  0 dc 22
  201.   vln   0 92 dc 22
  202. .model dx D(Is=800.0E-18 Rs=1)
  203. .model qx NPN(Is=800.0E-18 Bf=5.833E3)
  204. .ends
  205. *-----------------------------------------------------------------------------
  206. * connections:   non-inverting input
  207. *                | inverting input
  208. *                | | positive power supply
  209. *                | | | negative power supply
  210. *                | | | | output
  211. *                | | | | |
  212. .subckt LM124    1 2 3 4 5
  213. *
  214.   c1   11 12 2.887E-12
  215.   c2    6  7 30.00E-12
  216.   dc    5 53 dx
  217.   de   54  5 dx
  218.   dlp  90 91 dx
  219.   dln  92 90 dx
  220.   dp    4  3 dx
  221.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  222.   fb    7 99 poly(5) vb vc ve vlp vln 0 21.22E6 -20E6 20E6 20E6 -20E6
  223.   ga    6  0 11 12 188.5E-6
  224.   gcm   0  6 10 99 10.60E-9
  225.   iee   3 10 dc 15.09E-6
  226.   hlim 90  0 vlim 1K
  227.   q1   11  2 13 qx
  228.   q2   12  1 14 qx
  229.   r2    6  9 100.0E3
  230.   rc1   4 11 5.305E3
  231.   rc2   4 12 5.305E3
  232.   re1  13 10 1.845E3
  233.   re2  14 10 1.845E3
  234.   ree  10 99 13.25E6
  235.   ro1   8  5 50
  236.   ro2   7 99 25
  237.   rp    3  4 9.082E3
  238.   vb    9  0 dc 0
  239.   vc    3 53 dc 1.500
  240.   ve   54  4 dc 0.65
  241.   vlim  7  8 dc 0
  242.   vlp  91  0 dc 40
  243.   vln   0 92 dc 40
  244. .model dx D(Is=800.0E-18 Rs=1)
  245. .model qx PNP(Is=800.0E-18 Bf=166.7)
  246. .ends
  247. *-----------------------------------------------------------------------------
  248. * connections:   non-inverting input
  249. *                | inverting input
  250. *                | | positive power supply
  251. *                | | | negative power supply
  252. *                | | | | output
  253. *                | | | | |
  254. .subckt LM158    1 2 3 4 5
  255. *
  256.   x_lm158 1 2 3 4 5 LM124
  257. .ends
  258. *-----------------------------------------------------------------------------
  259. * connections:   non-inverting input
  260. *                | inverting input
  261. *                | | positive power supply
  262. *                | | | negative power supply
  263. *                | | | | output
  264. *                | | | | |  compensation
  265. *                | | | | | / \
  266. .subckt LM201A   1 2 3 4 5 6 7
  267. *
  268.   x_lm201a 1 2 3 4 5 6 7 LM101A
  269. .ends
  270. *-----------------------------------------------------------------------------
  271. * connections:   non-inverting input
  272. *                | inverting input
  273. *                | | positive power supply
  274. *                | | | negative power supply
  275. *                | | | | output
  276. *                | | | | |  compensation
  277. *                | | | | | / \
  278. .subckt LM208    1 2 3 4 5 6 7
  279. *
  280.   x_lm208 1 2 3 4 5 6 7 LM108
  281. .ends
  282. *-----------------------------------------------------------------------------
  283. * connections:   non-inverting input
  284. *                | inverting input
  285. *                | | positive power supply
  286. *                | | | negative power supply
  287. *                | | | | output
  288. *                | | | | |
  289. .subckt LM218    1 2 3 4 5
  290. *
  291.   x_lm218 1 2 3 4 5 LM118
  292. .ends
  293. *-----------------------------------------------------------------------------
  294. * connections:   non-inverting input
  295. *                | inverting input
  296. *                | | positive power supply
  297. *                | | | negative power supply
  298. *                | | | | output
  299. *                | | | | |
  300. .subckt LM224    1 2 3 4 5
  301. *
  302.   x_lm224 1 2 3 4 5 LM124
  303. .ends
  304. *-----------------------------------------------------------------------------
  305. * connections:   non-inverting input
  306. *                | inverting input
  307. *                | | positive power supply
  308. *                | | | negative power supply
  309. *                | | | | output
  310. *                | | | | |
  311. .subckt LM258    1 2 3 4 5
  312. *
  313.   x_lm258 1 2 3 4 5 LM124
  314. .ends
  315. *-----------------------------------------------------------------------------
  316. * connections:   non-inverting input
  317. *                | inverting input
  318. *                | | positive power supply
  319. *                | | | negative power supply
  320. *                | | | | output
  321. *                | | | | |  compensation
  322. *                | | | | | / \
  323. .subckt LM301A   1 2 3 4 5 6 7
  324. *
  325.   c1   11 12 8.661E-12
  326.   dc    5 53 dx
  327.   de   54  5 dx
  328.   dlp  90 91 dx
  329.   dln  92 90 dx
  330.   dp    4  3 dx
  331.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  332.   fb    7 99 poly(5) vb vc ve vlp vln 0 21.22E6 -20E6 20E6 20E6 -20E6
  333.   ga    6  0 11 12 188.5E-6
  334.   gcm   0  6 10 99 5.961E-9
  335.   iee  10  4 dc 15.14E-6
  336.   hlim 90  0 vlim 1K
  337.   q1   11  2 13 qx
  338.   q2   12  1 14 qx
  339.   r2    6  9 100.0E3
  340.   rc1   3 11 5.305E3
  341.   rc2   3 12 5.305E3
  342.   re1  13 10 1.839E3
  343.   re2  14 10 1.839E3
  344.   ree  10 99 13.21E6
  345.   ro1   8  5 50
  346.   ro2   7 99 25
  347.   rp    3  4 15.11E3
  348.   vb    9  0 dc 0
  349.   vc    3 53 dc 1
  350.   ve   54  4 dc 1
  351.   vlim  7  8 dc 0
  352.   vlp  91  0 dc 25
  353.   vln   0 92 dc 25
  354. .model dx D(Is=800.0E-18 Rs=1)
  355. .model qx NPN(Is=800.0E-18 Bf=107.1)
  356. .ends
  357. *-----------------------------------------------------------------------------
  358. * connections:   non-inverting input
  359. *                | inverting input
  360. *                | | positive power supply
  361. *                | | | negative power supply
  362. *                | | | | output
  363. *                | | | | |  compensation
  364. *                | | | | | / \
  365. .subckt LM308    1 2 3 4 5 6 7
  366. *
  367.   c1   11 12 5.460E-12
  368.   dc    5 53 dx
  369.   de   54  5 dx
  370.   dlp  90 91 dx
  371.   dln  92 90 dx
  372.   dp    4  3 dx
  373.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  374.   fb    7 99 poly(5) vb vc ve vlp vln 0 83.87E6 -80E6 80E6 80E6 -80E6
  375.   ga    6  0 11 12 150.8E-6
  376.   gcm   0  6 10 99 1.508E-9
  377.   iee  10  4 dc 18.00E-6
  378.   hlim 90  0 vlim 1K
  379.   q1   11  2 13 qx
  380.   q2   12  1 14 qx
  381.   r2    6  9 100.0E3
  382.   rc1   3 11 6.631E3
  383.   rc2   3 12 6.631E3
  384.   re1  13 10 3.756E3
  385.   re2  14 10 3.756E3
  386.   ree  10 99 11.11E6
  387.   ro1   8  5 50
  388.   ro2   7 99 25
  389.   rp    3  4 106.4E3
  390.   vb    9  0 dc 0
  391.   vc    3 53 dc 1
  392.   ve   54  4 dc 1
  393.   vlim  7  8 dc 0
  394.   vlp  91  0 dc 6
  395.   vln   0 92 dc 6
  396. .model dx D(Is=800.0E-18 Rs=1)
  397. .model qx NPN(Is=800.0E-18 Bf=6.000E3)
  398. .ends
  399. *-----------------------------------------------------------------------------
  400. * connections:   non-inverting input
  401. *                | inverting input
  402. *                | | positive power supply
  403. *                | | | negative power supply
  404. *                | | | | output
  405. *                | | | | |
  406. .subckt LM318    1 2 3 4 5
  407. *
  408.   c1   11 12 2.887E-12
  409.   c2    6  7 20.00E-12
  410.   dc    5 53 dx
  411.   de   54  5 dx
  412.   dlp  90 91 dx
  413.   dln  92 90 dx
  414.   dp    4  3 dx
  415.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  416.   fb    7 99 poly(5) vb vc ve vlp vln 0 636.5E3 -600E3 600E3 600E3 -600E3
  417.   ga    6  0 11 12 12.57E-3
  418.   gcm   0  6 10 99 125.7E-9
  419.   iee  10  4 dc 1.400E-3
  420.   hlim 90  0 vlim 1K
  421.   q1   11  2 13 qx
  422.   q2   12  1 14 qx
  423.   r2    6  9 100.0E3
  424.   rc1   3 11 79.57
  425.   rc2   3 12 79.57
  426.   re1  13 10 42.61
  427.   re2  14 10 42.61
  428.   ree  10 99 142.8E3
  429.   ro1   8  5 50
  430.   ro2   7 99 25
  431.   rp    3  4 9.678E3
  432.   vb    9  0 dc 0
  433.   vc    3 53 dc 2
  434.   ve   54  4 dc 2
  435.   vlim  7  8 dc 0
  436.   vlp  91  0 dc 22
  437.   vln   0 92 dc 22
  438. .model dx D(Is=800.0E-18 Rs=1)
  439. .model qx NPN(Is=800.0E-18 Bf=4.667E3)
  440. .ends
  441. *-----------------------------------------------------------------------------
  442. * connections:   non-inverting input
  443. *                | inverting input
  444. *                | | positive power supply
  445. *                | | | negative power supply
  446. *                | | | | output
  447. *                | | | | |
  448. .subckt LM324    1 2 3 4 5
  449. *
  450.   c1   11 12 2.887E-12
  451.   c2    6  7 30.00E-12
  452.   dc    5 53 dx
  453.   de   54  5 dx
  454.   dlp  90 91 dx
  455.   dln  92 90 dx
  456.   dp    4  3 dx
  457.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  458.   fb    7 99 poly(5) vb vc ve vlp vln 0 21.22E6 -20E6 20E6 20E6 -20E6
  459.   ga    6  0 11 12 188.5E-6
  460.   gcm   0  6 10 99 59.61E-9
  461.   iee   3 10 dc 15.09E-6
  462.   hlim 90  0 vlim 1K
  463.   q1   11  2 13 qx
  464.   q2   12  1 14 qx
  465.   r2    6  9 100.0E3
  466.   rc1   4 11 5.305E3
  467.   rc2   4 12 5.305E3
  468.   re1  13 10 1.845E3
  469.   re2  14 10 1.845E3
  470.   ree  10 99 13.25E6
  471.   ro1   8  5 50
  472.   ro2   7 99 25
  473.   rp    3  4 9.082E3
  474.   vb    9  0 dc 0
  475.   vc    3 53 dc 1.500
  476.   ve   54  4 dc 0.65
  477.   vlim  7  8 dc 0
  478.   vlp  91  0 dc 40
  479.   vln   0 92 dc 40
  480. .model dx D(Is=800.0E-18 Rs=1)
  481. .model qx PNP(Is=800.0E-18 Bf=166.7)
  482. .ends
  483. *-----------------------------------------------------------------------------
  484. * connections:   non-inverting input
  485. *                | inverting input
  486. *                | | positive power supply
  487. *                | | | negative power supply
  488. *                | | | | output
  489. *                | | | | |
  490. .subckt LM358    1 2 3 4 5
  491. *
  492.   x_lm358 1 2 3 4 5 LM324
  493. .ends
  494. *-----------------------------------------------------------------------------
  495. * connections:   non-inverting input
  496. *                | inverting input
  497. *                | | positive power supply
  498. *                | | | negative power supply
  499. *                | | | | output
  500. *                | | | | |
  501. .subckt LM709    1 2 3 4 5
  502. *
  503.   x_lm709 1 2 3 4 5 uA709
  504. .ends
  505. *-----------------------------------------------------------------------------
  506. * connections:   non-inverting input
  507. *                | inverting input
  508. *                | | positive power supply
  509. *                | | | negative power supply
  510. *                | | | | output
  511. *                | | | | |
  512. .subckt LM741    1 2 3 4 5
  513. *
  514.   x_lm741 1 2 3 4 5 uA741
  515. .ends
  516. *-----------------------------------------------------------------------------
  517. * connections:   non-inverting input
  518. *                | inverting input
  519. *                | | positive power supply
  520. *                | | | negative power supply
  521. *                | | | | output
  522. *                | | | | |
  523. .subckt OP-07    1 2 3 4 5
  524. *
  525.   c1   11 12 8.661E-12
  526.   c2    6  7 30.00E-12
  527.   dc    5 53 dx
  528.   de   54  5 dx
  529.   dlp  90 91 dx
  530.   dln  92 90 dx
  531.   dp    4  3 dx
  532.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  533.   fb    7 99 poly(5) vb vc ve vlp vln 0 221.0E6 -200E6 200E6 200E6 -200E6
  534.   ga    6  0 11 12 113.1E-6
  535.   gcm   0  6 10 99 56.69E-12
  536.   iee  10  4 dc 6.002E-6
  537.   hlim 90  0 vlim 1K
  538.   q1   11  2 13 qx
  539.   q2   12  1 14 qx
  540.   r2    6  9 100.0E3
  541.   rc1   3 11 8.841E3
  542.   rc2   3 12 8.841E3
  543.   re1  13 10 219.4
  544.   re2  14 10 219.4
  545.   ree  10 99 33.32E6
  546.   ro1   8  5 40
  547.   ro2   7 99 20
  548.   rp    3  4 12.03E3
  549.   vb    9  0 dc 0
  550.   vc    3 53 dc 1
  551.   ve   54  4 dc 1
  552.   vlim  7  8 dc 0
  553.   vlp  91  0 dc 30
  554.   vln   0 92 dc 30
  555. .model dx D(Is=800.0E-18 Rs=1)
  556. .model qx NPN(Is=800.0E-18 Bf=3.000E3)
  557. .ends
  558. *-----------------------------------------------------------------------------
  559. * connections:   non-inverting input
  560. *                | inverting input
  561. *                | | positive power supply
  562. *                | | | negative power supply
  563. *                | | | | output
  564. *                | | | | |
  565. .subckt OP-27    1 2 3 4 5
  566. *
  567.   c1   11 12 5.460E-12
  568.   c2    6  7 30.00E-12
  569.   dc    5 53 dx
  570.   de   54  5 dx
  571.   dlp  90 91 dx
  572.   dln  92 90 dx
  573.   dp    4  3 dx
  574.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  575.   fb    7 99 poly(5) vb vc ve vlp vln 0 39.78E6 -40E6 40E6 40E6 -40E6
  576.   ga    6  0 11 12 1.508E-3
  577.   gcm   0  6 10 99 755.9E-12
  578.   iee  10  4 dc 84.02E-6
  579.   hlim 90  0 vlim 1K
  580.   q1   11  2 13 qx
  581.   q2   12  1 14 qx
  582.   r2    6  9 100.0E3
  583.   rc1   3 11 663.1
  584.   rc2   3 12 663.1
  585.   re1  13 10 47.24
  586.   re2  14 10 47.24
  587.   ree  10 99 2.380E6
  588.   ro1   8  5 40
  589.   ro2   7 99 30
  590.   rp    3  4 9.233E3
  591.   vb    9  0 dc 0
  592.   vc    3 53 dc 1.200
  593.   ve   54  4 dc 1.200
  594.   vlim  7  8 dc 0
  595.   vlp  91  0 dc 40
  596.   vln   0 92 dc 40
  597. .model dx D(Is=800.0E-18 Rs=1)
  598. .model qx NPN(Is=800.0E-18 Bf=4.200E3)
  599. .ends
  600. *-----------------------------------------------------------------------------
  601. * connections:   non-inverting input
  602. *                | inverting input
  603. *                | | positive power supply
  604. *                | | | negative power supply
  605. *                | | | | output
  606. *                | | | | |
  607. .subckt TL082    1 2 3 4 5
  608. *
  609.   c1   11 12 2.412E-12
  610.   c2    6  7 18.00E-12
  611.   css  10 99 5.400E-12
  612.   dc    5 53 dx
  613.   de   54  5 dx
  614.   dlp  90 91 dx
  615.   dln  92 90 dx
  616.   dp    4  3 dx
  617.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  618.   fb    7 99 poly(5) vb vc ve vlp vln 0 3.467E6 -3E6 3E6 3E6 -3E6
  619.   ga    6  0 11 12 339.3E-6
  620.   gcm   0  6 10 99 17.01E-9
  621.   iss  10  4 dc 234.0E-6
  622.   hlim 90  0 vlim 1K
  623.   j1   11  2 10 jx
  624.   j2   12  1 10 jx
  625.   r2    6  9 100.0E3
  626.   rd1   3 11 2.947E3
  627.   rd2   3 12 2.947E3
  628.   ro1   8  5 50
  629.   ro2   7 99 170
  630.   rp    3  4 20.00E3
  631.   rss  10 99 854.7E3
  632.   vb    9  0 dc 0
  633.   vc    3 53 dc 1.500
  634.   ve   54  4 dc 1.500
  635.   vlim  7  8 dc 0
  636.   vlp  91  0 dc 50
  637.   vln   0 92 dc 50
  638. .model dx D(Is=800.0E-18 Rs=1)
  639. .model jx NJF(Is=2.500E-12 Beta=984.2E-6 Vto=-1)
  640. .ends
  641. *-----------------------------------------------------------------------------
  642. * connections:   non-inverting input
  643. *                | inverting input
  644. *                | | positive power supply
  645. *                | | | negative power supply
  646. *                | | | | output
  647. *                | | | | |
  648. .subckt TL084    1 2 3 4 5
  649. *
  650.   x_tl084 1 2 3 4 5 TL082
  651. .ends
  652. *-----------------------------------------------------------------------------
  653. * connections:   non-inverting input
  654. *                | inverting input
  655. *                | | positive power supply
  656. *                | | | negative power supply
  657. *                | | | | output
  658. *                | | | | |  compensation
  659. *                | | | | | / \
  660. .subckt uA709    1 2 3 4 5 6 7
  661. *
  662.   c1   11 12 28.87E-12
  663.   dc    5 53 dx
  664.   de   54  5 dx
  665.   dlp  90 91 dx
  666.   dln  92 90 dx
  667.   dp    4  3 dx
  668.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  669.   fb    7 99 poly(5) vb vc ve vlp vln 0 14.32E3 -10E3 10E3 10E3 -10E3
  670.   ga    6  0 11 12 31.42E-3
  671.   gcm   0  6 10 99 993.6E-9
  672.   iee  10  4 dc 2.000E-3
  673.   hlim 90  0 vlim 1K
  674.   q1   11  2 13 qx
  675.   q2   12  1 14 qx
  676.   r2    6  9 100.0E3
  677.   rc1   3 11 31.83
  678.   rc2   3 12 31.83
  679.   re1  13 10 5.962
  680.   re2  14 10 5.962
  681.   ree  10 99 99.98E3
  682.   ro1   8  5 50
  683.   ro2   7 99 100
  684.   rp    3  4 45.01E3
  685.   vb    9  0 dc 0
  686.   vc    3 53 dc 1
  687.   ve   54  4 dc 1
  688.   vlim  7  8 dc 0
  689.   vlp  91  0 dc 50
  690.   vln   0 92 dc 50
  691. .model dx D(Is=800.0E-18 Rs=1)
  692. .model qx NPN(Is=800.0E-18 Bf=5.000E3)
  693. .ends
  694. *-----------------------------------------------------------------------------
  695. * connections:   non-inverting input
  696. *                | inverting input
  697. *                | | positive power supply
  698. *                | | | negative power supply
  699. *                | | | | output
  700. *                | | | | |
  701. .subckt uA741    1 2 3 4 5
  702. *
  703.   c1   11 12 8.661E-12
  704.   c2    6  7 30.00E-12
  705.   dc    5 53 dx
  706.   de   54  5 dx
  707.   dlp  90 91 dx
  708.   dln  92 90 dx
  709.   dp    4  3 dx
  710.   egnd 99  0 poly(2) (3,0) (4,0) 0 .5 .5
  711.   fb    7 99 poly(5) vb vc ve vlp vln 0 10.61E6 -10E6 10E6 10E6 -10E6
  712.   ga    6  0 11 12 188.5E-6
  713.   gcm   0  6 10 99 5.961E-9
  714.   iee  10  4 dc 15.16E-6
  715.   hlim 90  0 vlim 1K
  716.   q1   11  2 13 qx
  717.   q2   12  1 14 qx
  718.   r2    6  9 100.0E3
  719.   rc1   3 11 5.305E3
  720.   rc2   3 12 5.305E3
  721.   re1  13 10 1.836E3
  722.   re2  14 10 1.836E3
  723.   ree  10 99 13.19E6
  724.   ro1   8  5 50
  725.   ro2   7 99 100
  726.   rp    3  4 18.16E3
  727.   vb    9  0 dc 0
  728.   vc    3 53 dc 1
  729.   ve   54  4 dc 1
  730.   vlim  7  8 dc 0
  731.   vlp  91  0 dc 40
  732.   vln   0 92 dc 40
  733. .model dx D(Is=800.0E-18 Rs=1)
  734. .model qx NPN(Is=800.0E-18 Bf=93.75)
  735. .ends
  736. *-----------------------------------------------------------------------------
  737.  
  738. *** Voltage comparators
  739.  
  740. * The parameters in this comparator library were derived from data sheets for
  741. * each parts.  The macromodel used was developed by MicroSim Corporation, and
  742. * is produced by the "Parts" option to PSpice.
  743. *
  744. * Although we do not use it, another comparator macro model is described in:
  745. *
  746. *    An Integrated-Circuit Comparator Macromodel
  747. *      by Ian Getreu, Andreas Hadiwidjaja, and Johan Brinch
  748. *    IEEE Journal of Solid-State Circuits, Vol. SC-11, no. 6, Dec. 1976
  749. *
  750. * This reference covers the considerations that go into duplicating the
  751. * behavior of voltage comparators.
  752. *
  753. * The comparators are modelled at room temperature.  The macro model does not
  754. * track changes with temperature.  This library file contains models for
  755. * nominal, not worst case, devices.
  756. *
  757. *-----------------------------------------------------------------------------
  758. * connections:   non-inverting input
  759. *                | inverting input
  760. *                | | positive power supply
  761. *                | | | negative power supply
  762. *                | | | | open collector output
  763. *                | | | | | output ground
  764. *                | | | | | |
  765. .subckt LM111    1 2 3 4 5 6
  766. *
  767.   f1    9  3 v1 1
  768.   iee   3  7 dc 100.0E-6
  769.   vi1  21  1 dc .45
  770.   vi2  22  2 dc .45
  771.   q1    9 21  7 qin
  772.   q2    8 22  7 qin
  773.   q3    9  8  4 qmo
  774.   q4    8  8  4 qmi
  775. .model qin PNP(Is=800.0E-18 Bf=833.3)
  776. .model qmi NPN(Is=800.0E-18 Bf=1002)
  777. .model qmo NPN(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=118.8E-9)
  778.   e1   10  6  9  4  1
  779.   v1   10 11 dc 0
  780.   q5    5 11  6 qoc
  781. .model qoc NPN(Is=800.0E-18 Bf=34.49E3 Cjc=1E-15 Tf=364.6E-12 Tr=79.34E-9)
  782.   dp    4  3 dx
  783.   rp    3  4 6.122E3
  784. .model dx  D(Is=800.0E-18 Rs=1)
  785. *
  786. .ends
  787. *-----------------------------------------------------------------------------
  788. * connections:   non-inverting input
  789. *                | inverting input
  790. *                | | positive power supply
  791. *                | | | negative power supply
  792. *                | | | | open collector output
  793. *                | | | | | output ground
  794. *                | | | | | |
  795. .subckt LM119    1 2 3 4 5 6
  796. *
  797.   f1    3  9 v1 1
  798.   iee   7  4 dc 100.0E-6
  799.   q1    9  2  7 qin
  800.   q2    8  1  7 qin
  801.   q3    9  8  3 qmo
  802.   q4    8  8  3 qmi
  803. .model qin NPN(Is=800.0E-18 Bf=333.3)
  804. .model qmi PNP(Is=800.0E-18 Bf=1002)
  805. .model qmo PNP(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=59.42E-9)
  806.   e1   10  6  3  9  1
  807.   v1   10 11 dc 0
  808.   q5    5 11  6 qoc
  809. .model qoc NPN(Is=800.0E-18 Bf=41.38E3 Cjc=1E-15 Tf=23.91E-12 Tr=24.01E-9)
  810.   dp    4  3 dx
  811.   rp    3  4 5.556E3
  812. .model dx  D(Is=800.0E-18 Rs=1)
  813. *
  814. .ends
  815. *-----------------------------------------------------------------------------
  816. * connections:   non-inverting input
  817. *                | inverting input
  818. *                | | positive power supply
  819. *                | | | negative power supply
  820. *                | | | | open collector output
  821. *                | | | | |
  822. .subckt LM139    1 2 3 4 5
  823. *
  824.   f1    9  3 v1 1
  825.   iee   3  7 dc 100.0E-6
  826.   vi1  21  1 dc .75
  827.   vi2  22  2 dc .75
  828.   q1    9 21  7 qin
  829.   q2    8 22  7 qin
  830.   q3    9  8  4 qmo
  831.   q4    8  8  4 qmi
  832. .model qin PNP(Is=800.0E-18 Bf=2.000E3)
  833. .model qmi NPN(Is=800.0E-18 Bf=1002)
  834. .model qmo NPN(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=475.4E-9)
  835.   e1   10  4  9  4  1
  836.   v1   10 11 dc 0
  837.   q5    5 11  4 qoc
  838. .model qoc NPN(Is=800.0E-18 Bf=20.69E3 Cjc=1E-15 Tf=3.540E-9 Tr=472.8E-9)
  839.   dp    4  3 dx
  840.   rp    3  4 37.50E3
  841. .model dx  D(Is=800.0E-18 Rs=1)
  842. *
  843. .ends
  844. *-----------------------------------------------------------------------------
  845. * connections:   non-inverting input
  846. *                | inverting input
  847. *                | | positive power supply
  848. *                | | | negative power supply
  849. *                | | | | open collector output
  850. *                | | | | |
  851. .subckt LM193    1 2 3 4 5
  852. *
  853.   x_lm193 1 2 3 4 5 LM139
  854. *
  855. * the LM193 is identical to the LM139, but in a different package
  856. *
  857. .ends
  858. *-----------------------------------------------------------------------------
  859. * connections:   non-inverting input
  860. *                | inverting input
  861. *                | | positive power supply
  862. *                | | | negative power supply
  863. *                | | | | open collector output
  864. *                | | | | | output ground
  865. *                | | | | | |
  866. .subckt LM211    1 2 3 4 5 6
  867. *
  868.   x_lm211 1 2 3 4 5 6 LM111
  869. *
  870. * the LM211 is identical to the LM111, but has a more limited temp. range
  871. *
  872. .ends
  873. *-----------------------------------------------------------------------------
  874. * connections:   non-inverting input
  875. *                | inverting input
  876. *                | | positive power supply
  877. *                | | | negative power supply
  878. *                | | | | open collector output
  879. *                | | | | | output ground
  880. *                | | | | | |
  881. .subckt LM219    1 2 3 4 5 6
  882. *
  883.   x_lm219 1 2 3 4 5 6 LM119
  884. *
  885. * the LM219 is identical to the LM119, but has a more limited temp. range
  886. *
  887. .ends
  888. *-----------------------------------------------------------------------------
  889. * connections:   non-inverting input
  890. *                | inverting input
  891. *                | | positive power supply
  892. *                | | | negative power supply
  893. *                | | | | open collector output
  894. *                | | | | |
  895. .subckt LM239    1 2 3 4 5
  896. *
  897.   x_lm239 1 2 3 4 5 LM139
  898. *
  899. * the LM239 is identical to the LM139, but has a more limited temp. range
  900. *
  901. .ends
  902. *-----------------------------------------------------------------------------
  903. * connections:   non-inverting input
  904. *                | inverting input
  905. *                | | positive power supply
  906. *                | | | negative power supply
  907. *                | | | | open collector output
  908. *                | | | | |
  909. .subckt LM293    1 2 3 4 5
  910. *
  911.   x_lm293 1 2 3 4 5 LM139
  912. *
  913. * the LM293 is identical to the LM239, but in a different package
  914. *
  915. .ends
  916. *-----------------------------------------------------------------------------
  917. * connections:   non-inverting input
  918. *                | inverting input
  919. *                | | positive power supply
  920. *                | | | negative power supply
  921. *                | | | | open collector output
  922. *                | | | | | output ground
  923. *                | | | | | |
  924. .subckt LM311    1 2 3 4 5 6
  925. *
  926.   f1    9  3 v1 1
  927.   iee   3  7 dc 100.0E-6
  928.   vi1  21  1 dc .45
  929.   vi2  22  2 dc .45
  930.   q1    9 21  7 qin
  931.   q2    8 22  7 qin
  932.   q3    9  8  4 qmo
  933.   q4    8  8  4 qmi
  934. .model qin PNP(Is=800.0E-18 Bf=500)
  935. .model qmi NPN(Is=800.0E-18 Bf=1002)
  936. .model qmo NPN(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=118.8E-9)
  937.   e1   10  6  9  4  1
  938.   v1   10 11 dc 0
  939.   q5    5 11  6 qoc
  940. .model qoc NPN(Is=800.0E-18 Bf=34.49E3 Cjc=1E-15 Tf=364.6E-12 Tr=79.34E-9)
  941.   dp    4  3 dx
  942.   rp    3  4 6.818E3
  943. .model dx  D(Is=800.0E-18 Rs=1)
  944. *
  945. .ends
  946. *-----------------------------------------------------------------------------
  947. * connections:   non-inverting input
  948. *                | inverting input
  949. *                | | positive power supply
  950. *                | | | negative power supply
  951. *                | | | | open collector output
  952. *                | | | | | output ground
  953. *                | | | | | |
  954. .subckt LM319    1 2 3 4 5 6
  955. *
  956.   x_lm319 1 2 3 4 5 6 LM119
  957. *
  958. * the LM319 is identical to the LM119, but has a more limited temp. range
  959. *
  960. .ends
  961. *-----------------------------------------------------------------------------
  962. * connections:   non-inverting input
  963. *                | inverting input
  964. *                | | positive power supply
  965. *                | | | negative power supply
  966. *                | | | | open collector output
  967. *                | | | | |
  968. .subckt LM339    1 2 3 4 5
  969. *
  970.   x_lm339 1 2 3 4 5 LM139
  971. *
  972. * the LM339 is identical to the LM139, but has a more limited temp. range
  973. *
  974. .ends
  975. *
  976. *-----------------------------------------------------------------------------
  977. * connections:   non-inverting input
  978. *                | inverting input
  979. *                | | positive power supply
  980. *                | | | negative power supply
  981. *                | | | | open collector output
  982. *                | | | | |
  983. .subckt LM393    1 2 3 4 5
  984. *
  985.   x_lm393 1 2 3 4 5 LM139
  986. *
  987. * the LM393 is identical to the LM339, but in a different package
  988. *
  989. .ends
  990. *-----------------------------------------------------------------------------
  991. * connections:   non-inverting input
  992. *                | inverting input
  993. *                | | positive power supply
  994. *                | | | negative power supply
  995. *                | | | | open collector output
  996. *                | | | | |
  997. .subckt LM3302   1 2 3 4 5
  998. *
  999.   x_lm3302 1 2 3 4 5 LM139
  1000. *
  1001. * the LM3302 is identical to the LM139, but has a more limited temp. range
  1002. *
  1003. .ends
  1004. *-----------------------------------------------------------------------------
  1005.  
  1006. *** Voltage regulators (positive)
  1007.  
  1008. .SUBCKT x_LM78XX Input Output Ground PARAMS:
  1009. +       Av_feedback=1665, R1_Value=1020
  1010. *
  1011. * SERIES 3-TERMINAL POSITIVE REGULATOR
  1012. *
  1013. * Note: This regulator is based on the LM78XX series of
  1014. *       regulators (also the LM140 and LM340).  The model
  1015. *       will cause some current to flow to Node 0 which
  1016. *       is not part of the actual voltage regulator circuit.
  1017. *
  1018. * Band-gap voltage source:
  1019. *
  1020. *       The source is off when Vin<3V and fully on when Vin>3.7V.
  1021. *       Line regulation and ripple rejection) are set with 
  1022. *       Rreg= 0.5 * dVin/dVbg.  The temperature dependence of this
  1023. *       circuit is a quadratic fit to the following points:
  1024. *
  1025. *                                T         Vbg(T)/Vbg(nom)
  1026. *                               ---        ---------------
  1027. *                                0            .999
  1028. *                               37.5            1
  1029. *                               125           .990
  1030. *
  1031. *       The temperature coefficient of Rbg is set to 2 * the band gap
  1032. *       temperature coefficient.  Tnom is assumed to be 27 deg. C and
  1033. *       Vnom is 3.7V
  1034. *
  1035. Vbg 100 0 DC 7.4V
  1036. Sbg (100,101) (Input,Ground) Sbg1
  1037. Rbg 101 0 1 TC=1.612E-5,-2.255E-6
  1038. Ebg (102,0) (Input,Ground) 1
  1039. Rreg 102 101 7k
  1040. .MODEL Sbg1 VSWITCH (Ron=1 Roff=1MEG Von=3.7 Voff=3)
  1041. *
  1042. * Feedback stage
  1043. *
  1044. *       Diodes D1,D2 limit the excursion of the amplifier
  1045. *       outputs to being near the rails.  Rfb, Cfb Set the
  1046. *       corner frequency for roll-off of ripple rejection.
  1047.  
  1048. *
  1049. *       The opamp gain is given by:  Av = (Fores/Freg) * (Vout/Vbg)
  1050. *       where Fores = output impedance corner frequency
  1051. *                     with Cl=0 (typical value about 1MHz)
  1052. *             Freg  = corner frequency in ripple rejection
  1053. *                     (typical value about 600 Hz)
  1054. *             Vout  = regulator output voltage (5,12,15V)
  1055. *             Vbg   = bandgap voltage (3.7V)
  1056. *
  1057. *       Note: Av is constant for all output voltages, but the
  1058. *       feedback factor changes. If Av=2250, then the
  1059. *       Av*Feedback factor is as given below:
  1060. *
  1061. *                                 Vout     Av*Feedback factor
  1062. *                                 ----     ------------------
  1063. *                                   5          1665
  1064. *                                  12           694
  1065. *                                  15           550
  1066. *
  1067. Rfb 9 8 1MEG
  1068. Cfb 8 Ground 265PF
  1069. * Eopamp 105 0 VALUE={2250*v(101,0)+Av_feedback*v(Ground,8)}
  1070. Vgainf 200 0 {Av_feedback}
  1071. Rgainf 200 0 1
  1072. Eopamp 105 0 POLY(3) (101,0) (Ground,8) (200,0) 0 2250 0 0 0 0 0 0 1
  1073. Ro 105 106 1k
  1074. D1 106 108 Dlim
  1075. D2 107 106 Dlim
  1076. .MODEL Dlim D (Vj=0.7)
  1077. Vl1 102 108 DC 1
  1078. Vl2 107 0 DC 1
  1079. *
  1080. * Quiescent current modelling
  1081. *
  1082. *       Quiescent current is set by Gq, which draws a current
  1083. *       proportional to the voltage drop across the regulator and
  1084. *       R1 (temperature coefficient .1%/deg C).  R1 must change
  1085. *       with output voltage as follows:  R1 = R1(5v) * Vout/5v.
  1086. *
  1087. Gq (Input,Ground) (Input,9) 2.0E-5
  1088. R1 9 Ground {R1_Value} TC=0.001
  1089. *
  1090. * Output Stage
  1091. *
  1092. *       Rout is used to set both the low frequency output impedence
  1093. *       and the load regulation.
  1094. *
  1095. Q1 Input 5 6 Npn1
  1096. Q2 Input 6 7 Npn1 10
  1097. .MODEL Npn1 NPN (Bf=50 Is=1E-14)
  1098. * Efb Input 4 VALUE={v(Input,Ground)+v(0,106)}
  1099. Efb Input 4 POLY(2) (Input,Ground) (0,106) 0 1 1
  1100. Rb 4 5 1k TC=0.003
  1101. Re 6 7 2k
  1102. Rsc 7 9 0.275 TC=1.136E-3,-7.806E-6
  1103. Rout 9 Output 0.008
  1104. *
  1105. * Current Limit
  1106. *
  1107. Rbcl 7 55 290
  1108. Qcl 5 55 9 Npn1
  1109. Rcldz 56 55 10k
  1110. Dz1 56 Input Dz
  1111. .MODEL Dz D (Is=0.05p Rs=3 Bv=7.11 Ibv=0.05u)
  1112. .ENDS
  1113. *
  1114. *---------------------------------------------------------------LM7805C
  1115. .SUBCKT LM7805C Input Output Ground
  1116.    x1 Input Output Ground x_LM78XX PARAMS:
  1117. +     Av_feedback=1665, R1_Value=1020
  1118. .ENDS
  1119. *
  1120. *---------------------------------------------------------------uA7805C
  1121. .SUBCKT UA7805C Input Output Ground
  1122.    x1 Input Output Ground x_LM78XX PARAMS:
  1123. +     Av_feedback=1665, R1_Value=1020
  1124. .ENDS
  1125. *
  1126. *---------------------------------------------------------------LAS1505
  1127. .SUBCKT LAS1505 Input Output Ground
  1128.    x1 Input Output Ground x_LM78XX PARAMS:
  1129. +     Av_feedback=1665, R1_Value=1020
  1130. .ENDS
  1131. *
  1132. *---------------------------------------------------------------MC7805C
  1133. .SUBCKT MC7805C Input Output Ground
  1134.    x1 Input Output Ground x_LM78XX PARAMS:
  1135. +     Av_feedback=1665, R1_Value=1020
  1136. .ENDS
  1137. *
  1138. *---------------------------------------------------------------UPC7805
  1139. .SUBCKT UPC7805 Input Output Ground
  1140.    x1 Input Output Ground x_LM78XX PARAMS:
  1141. +     Av_feedback=1665, R1_Value=1020
  1142. .ENDS
  1143. *
  1144. *---------------------------------------------------------------SG7805C
  1145. .SUBCKT SG7805C Input Output Ground
  1146.    x1 Input Output Ground x_LM78XX PARAMS:
  1147. +     Av_feedback=1665, R1_Value=1020
  1148. .ENDS
  1149. *
  1150. *---------------------------------------------------------------UC7805C
  1151. .SUBCKT UC7805C Input Output Ground
  1152.    x1 Input Output Ground x_LM78XX PARAMS:
  1153. +     Av_feedback=1665, R1_Value=1020
  1154. .ENDS
  1155. *
  1156. *---------------------------------------------------------------LM7812C
  1157. .SUBCKT LM7812C Input Output Ground
  1158.    x1 Input Output Ground x_LM78XX PARAMS:
  1159. +     Av_feedback=694, R1_Value=2448
  1160. .ENDS
  1161. *
  1162. *---------------------------------------------------------------uA7812C
  1163. .SUBCKT UA7812C Input Output Ground
  1164.    x1 Input Output Ground x_LM78XX PARAMS:
  1165. +     Av_feedback=694, R1_Value=2448
  1166. .ENDS
  1167. *
  1168. *---------------------------------------------------------------LAS1512
  1169. .SUBCKT LAS1512 Input Output Ground
  1170.    x1 Input Output Ground x_LM78XX PARAMS:
  1171. +     Av_feedback=694, R1_Value=2448
  1172. .ENDS
  1173. *
  1174. *---------------------------------------------------------------MC7812C
  1175. .SUBCKT MC7812C Input Output Ground
  1176.    x1 Input Output Ground x_LM78XX PARAMS:
  1177. +     Av_feedback=694, R1_Value=2448
  1178. .ENDS
  1179. *
  1180. *---------------------------------------------------------------UPC7812
  1181. .SUBCKT UPC7812 Input Output Ground
  1182.    x1 Input Output Ground x_LM78XX PARAMS:
  1183. +     Av_feedback=694, R1_Value=2448
  1184. .ENDS
  1185. *
  1186. *---------------------------------------------------------------SG7812C
  1187. .SUBCKT SG7812C Input Output Ground
  1188.    x1 Input Output Ground x_LM78XX PARAMS:
  1189. +     Av_feedback=694, R1_Value=2448
  1190. .ENDS
  1191. *
  1192. *---------------------------------------------------------------UC7812C
  1193. .SUBCKT UC7812C Input Output Ground
  1194.    x1 Input Output Ground x_LM78XX PARAMS:
  1195. +     Av_feedback=694, R1_Value=2448
  1196. .ENDS
  1197. *
  1198. *---------------------------------------------------------------LM7815C
  1199. .SUBCKT LM7815C Input Output Ground
  1200.    x1 Input Output Ground x_LM78XX PARAMS:
  1201. +     Av_feedback=550, R1_Value=3060
  1202. .ENDS
  1203. *
  1204. *---------------------------------------------------------------uA7815C
  1205. .SUBCKT UA7815C Input Output Ground
  1206.    x1 Input Output Ground x_LM78XX PARAMS:
  1207. +     Av_feedback=550, R1_Value=3060
  1208. .ENDS
  1209. *
  1210. *---------------------------------------------------------------LAS1515
  1211. .SUBCKT LAS1515 Input Output Ground
  1212.    x1 Input Output Ground x_LM78XX PARAMS:
  1213. +     Av_feedback=550, R1_Value=3060
  1214. .ENDS
  1215. *
  1216. *---------------------------------------------------------------MC7815C
  1217. .SUBCKT MC7815C Input Output Ground
  1218.    x1 Input Output Ground x_LM78XX PARAMS:
  1219. +     Av_feedback=550, R1_Value=3060
  1220. .ENDS
  1221. *
  1222. *---------------------------------------------------------------SG7815C
  1223. .SUBCKT SG7815C Input Output Ground
  1224.    x1 Input Output Ground x_LM78XX PARAMS:
  1225. +     Av_feedback=550, R1_Value=3060
  1226. .ENDS
  1227. *
  1228. *---------------------------------------------------------------UC7815C
  1229. .SUBCKT UC7815C Input Output Ground
  1230.    x1 Input Output Ground x_LM78XX PARAMS:
  1231. +     Av_feedback=550, R1_Value=3060
  1232. .ENDS
  1233. *
  1234. *---------------------------------------------------------------LM140-5
  1235. .SUBCKT LM140-5 Input Output Ground
  1236.    x1 Input Output Ground x_LM78XX PARAMS:
  1237. +     Av_feedback=1665, R1_Value=1020
  1238. .ENDS
  1239. *
  1240. *---------------------------------------------------------------LM140-12
  1241. .SUBCKT LM140-12 Input Output Ground
  1242.    x1 Input Output Ground x_LM78XX PARAMS:
  1243. +     Av_feedback=694, R1_Value=2448
  1244. .ENDS
  1245. *
  1246. *---------------------------------------------------------------LM140-15
  1247. .SUBCKT LM140-15 Input Output Ground
  1248.    x1 Input Output Ground x_LM78XX PARAMS:
  1249. +     Av_feedback=550, R1_Value=3060
  1250. .ENDS
  1251. *
  1252. *---------------------------------------------------------------LM140A-5
  1253. .SUBCKT LM140A-5 Input Output Ground
  1254.    x1 Input Output Ground x_LM78XX PARAMS:
  1255. +     Av_feedback=1665, R1_Value=1020
  1256. .ENDS
  1257. *
  1258. *---------------------------------------------------------------LM140A-12
  1259. .SUBCKT LM140A-12 Input Output Ground
  1260.    x1 Input Output Ground x_LM78XX PARAMS:
  1261. +     Av_feedback=694, R1_Value=2448
  1262. .ENDS
  1263. *
  1264. *---------------------------------------------------------------LM140A-15
  1265. .SUBCKT LM140A-15 Input Output Ground
  1266.    x1 Input Output Ground x_LM78XX PARAMS:
  1267. +     Av_feedback=550, R1_Value=3060
  1268. .ENDS
  1269. *
  1270. *---------------------------------------------------------------LM340-5
  1271. .SUBCKT LM340-5 Input Output Ground
  1272.    x1 Input Output Ground x_LM78XX PARAMS:
  1273. +     Av_feedback=1665, R1_Value=1020
  1274. .ENDS
  1275. *
  1276. *---------------------------------------------------------------SG340-5
  1277. .SUBCKT SG340-5 Input Output Ground
  1278.    x1 Input Output Ground x_LM78XX PARAMS:
  1279. +     Av_feedback=1665, R1_Value=1020
  1280. .ENDS
  1281. *
  1282. *---------------------------------------------------------------LM340-12
  1283. .SUBCKT LM340-12 Input Output Ground
  1284.    x1 Input Output Ground x_LM78XX PARAMS:
  1285. +     Av_feedback=694, R1_Value=2448
  1286. .ENDS
  1287. *
  1288. *---------------------------------------------------------------SG340-12
  1289. .SUBCKT SG340-12 Input Output Ground
  1290.    x1 Input Output Ground x_LM78XX PARAMS:
  1291. +     Av_feedback=694, R1_Value=2448
  1292. .ENDS
  1293. *
  1294. *---------------------------------------------------------------LM340-15
  1295. .SUBCKT LM340-15 Input Output Ground
  1296.    x1 Input Output Ground x_LM78XX PARAMS:
  1297. +     Av_feedback=550, R1_Value=3060
  1298. .ENDS
  1299. *
  1300. *---------------------------------------------------------------LM340A-5
  1301. .SUBCKT LM340A-5 Input Output Ground
  1302.    x1 Input Output Ground x_LM78XX PARAMS:
  1303. +     Av_feedback=1665, R1_Value=1020
  1304. .ENDS
  1305. *
  1306. *---------------------------------------------------------------TL780-05C
  1307. .SUBCKT TL780-05C Input Output Ground
  1308.    x1 Input Output Ground x_LM78XX PARAMS:
  1309. +     Av_feedback=1665, R1_Value=1020
  1310. .ENDS
  1311. *
  1312. *---------------------------------------------------------------LM340A-12
  1313. .SUBCKT LM340A-12 Input Output Ground
  1314.    x1 Input Output Ground x_LM78XX PARAMS:
  1315. +     Av_feedback=694, R1_Value=2448
  1316. .ENDS
  1317. *
  1318. *---------------------------------------------------------------TL780-12C
  1319. .SUBCKT TL780-12 Input Output Ground
  1320.    x1 Input Output Ground x_LM78XX PARAMS:
  1321. +     Av_feedback=694, R1_Value=2448
  1322. .ENDS
  1323. *
  1324. *---------------------------------------------------------------LM340A-15
  1325. .SUBCKT LM340A-15 Input Output Ground
  1326.    x1 Input Output Ground x_LM78XX PARAMS:
  1327. +     Av_feedback=550, R1_Value=3060
  1328. .ENDS
  1329. *
  1330. *---------------------------------------------------------------TL780-15C
  1331. .SUBCKT TL780-15C Input Output Ground
  1332.    x1 Input Output Ground x_LM78XX PARAMS:
  1333. +     Av_feedback=550, R1_Value=3060
  1334. .ENDS
  1335. *------------------------------------------------------------------------
  1336.  
  1337. *** Voltage regulators (negative)
  1338.  
  1339. .SUBCKT x_LM79XX Input Output Ground PARAMS:
  1340. +       Av_feedback=1660, R1_Value=4615,
  1341. +       Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1342. +       Rout_Value=0.01, Rreg_Value=1.2k
  1343. *
  1344. * SERIES 3-TERMINAL NEGATIVE REGULATOR
  1345. *
  1346. * Note: This regulator is based on the LM79XX series of
  1347. *       regulators (also the LM120 and LM320).  The  
  1348. *       LM79XX regulators are unstable and will
  1349. *       oscillate unless a 1 uFarad solid tantalum
  1350. *       capacitor is placed on the output with an ESR
  1351. *       betweed .5 and 1.5.  This model is stable without
  1352. *       a capacitor on the output.  When performing
  1353. *       simulations a 1 uFarad capacitor should still be
  1354. *       placed on the output.  However, it it not necessary
  1355. *       to include a resistor in series with this capacitor
  1356. *       to model the ESR of the capacitor.  See the
  1357. *       comments and circuit description of the x_LM78XX
  1358. *       regulator for more information on this model.
  1359. *
  1360. * Band-gap voltage source:
  1361. *
  1362. Vbg 100 0 DC -7.4V
  1363. Sbg (100,101) (Ground,Input) Sbg1
  1364. Rbg 101 0 Rbg1 1
  1365. .MODEL Rbg1 RES (Tc1={Rbg_Tc1},Tc2={Rbg_Tc2})
  1366. Ebg (102,0) (Input,Ground) 1
  1367. Rreg 102 101 {Rreg_Value}
  1368. .MODEL Sbg1 VSWITCH (Ron=1 Roff=1MEG Von=3.7 Voff=3)
  1369. *
  1370. * Feedback stage
  1371. *
  1372. Rfb 9 8 1MEG
  1373. Cfb 8 Ground 265PF
  1374. * Eopamp 105 0 VALUE={2250*v(101,0)+Av_feedback*v(Ground,8)}
  1375. Vgainf 200 0 {Av_feedback}
  1376. Rgainf 200 0 1
  1377. Eopamp 105 0 POLY(3) (101,0) (Ground,8) (200,0) 0 2250 0 0 0 0 0 0 1
  1378. Ro 105 106 1k
  1379. D1 108 106 Dlim
  1380. D2 106 107 Dlim
  1381. .MODEL Dlim D (Vj=0.7)
  1382. Vl1 108 102 DC 1
  1383. Vl2 0 107 DC 1
  1384. *
  1385. * Quiescent current modelling
  1386. *
  1387. Gq (Ground,Input) (9,Input) 9.0E-7
  1388. R1 9 Ground {R1_Value} TC=0.001
  1389. Fl (Ground,0) Vmon 3.0E-4
  1390. *
  1391. * Output Stage
  1392. *
  1393. Q1 9 5 6 Npn1
  1394. Q2 9 6 7 Npn1 10
  1395. .MODEL Npn1 NPN (Bf=50 Is=1E-14)
  1396. * Efb 4 Ground VALUE={v(Input,Ground)+v(0,106)}
  1397. Efb 4 Ground POLY(2) (Input,Ground) (0,106) 0 1 1
  1398. Rb 4 5 1k TC=0.003
  1399. Re 6 7 2k
  1400. Rsc 7 Input 0.13 TC=1.136E-3,-7.806E-6
  1401. Rout 9 Imon {Rout_Value}
  1402. Vmon Imon Output DC 0.0
  1403. *
  1404. * Current Limit
  1405. *
  1406. Qcl1 54 52 53 Npn1
  1407. Qcl3 Input 54 5 Pnp1
  1408. .MODEL Pnp1 PNP (Bf=250 Is=1E-14)
  1409. Rcl3 5 54 1.8k
  1410. Qcl2 52 52 51 Npn1
  1411. Veset 53 Input DC 0.3v
  1412. Ibias Input 52 DC 300u
  1413. Rcl1 50 51 20k
  1414. Rcl2 51 7 115
  1415. Dz1 50 9 Dz
  1416. .MODEL Dz D (Is=0.05p Rs=3 Bv=7.11 Ibv=0.05u)
  1417. .ENDS
  1418. *
  1419. *---------------------------------------------------------------LM7905C
  1420. .SUBCKT LM7905C Input Output Ground
  1421.    x1 Input Output Ground x_LM79XX PARAMS:
  1422. +     Av_feedback=1660, R1_Value=4615,
  1423. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1424. +     Rout_Value=0.01, Rreg_Value=1.2k
  1425. .ENDS
  1426. *
  1427. *---------------------------------------------------------------uA7905C
  1428. .SUBCKT uA7905C Input Output Ground
  1429.    x1 Input Output Ground x_LM79XX PARAMS:
  1430. +     Av_feedback=1660, R1_Value=4615,
  1431. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1432. +     Rout_Value=0.01, Rreg_Value=1.2k
  1433. .ENDS
  1434. *
  1435. *---------------------------------------------------------------LAS1805
  1436. .SUBCKT LAS1805 Input Output Ground
  1437.    x1 Input Output Ground x_LM79XX PARAMS:
  1438. +     Av_feedback=1660, R1_Value=4615,
  1439. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1440. +     Rout_Value=0.01, Rreg_Value=1.2k
  1441. .ENDS
  1442. *
  1443. *---------------------------------------------------------------MC7905C
  1444. .SUBCKT MC7905C Input Output Ground
  1445.    x1 Input Output Ground x_LM79XX PARAMS:
  1446. +     Av_feedback=1660, R1_Value=4615,
  1447. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1448. +     Rout_Value=0.01, Rreg_Value=1.2k
  1449. .ENDS
  1450. *
  1451. *---------------------------------------------------------------SG7905C
  1452. .SUBCKT SG7905C Input Output Ground
  1453.    x1 Input Output Ground x_LM79XX PARAMS:
  1454. +     Av_feedback=1660, R1_Value=4615,
  1455. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1456. +     Rout_Value=0.01, Rreg_Value=1.2k
  1457. .ENDS
  1458. *
  1459. *---------------------------------------------------------------UC7905C
  1460. .SUBCKT UC7905C Input Output Ground
  1461.    x1 Input Output Ground x_LM79XX PARAMS:
  1462. +     Av_feedback=1660, R1_Value=4615,
  1463. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1464. +     Rout_Value=0.01, Rreg_Value=1.2k
  1465. .ENDS
  1466. *
  1467. *---------------------------------------------------------------LM7912C
  1468. .SUBCKT LM7912C Input Output Ground
  1469.    x1 Input Output Ground x_LM79XX PARAMS:
  1470. +     Av_feedback=694, R1_Value=11076,
  1471. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1472. +     Rout_Value=0.01, Rreg_Value=9.1k
  1473. .ENDS
  1474. *
  1475. *---------------------------------------------------------------uA7912C
  1476. .SUBCKT uA7912C Input Output Ground
  1477.    x1 Input Output Ground x_LM79XX PARAMS:
  1478. +     Av_feedback=694, R1_Value=11076,
  1479. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1480. +     Rout_Value=0.01, Rreg_Value=9.1k
  1481. .ENDS
  1482. *
  1483. *---------------------------------------------------------------LAS1812
  1484. .SUBCKT LAS1812 Input Output Ground
  1485.    x1 Input Output Ground x_LM79XX PARAMS:
  1486. +     Av_feedback=694, R1_Value=11076,
  1487. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1488. +     Rout_Value=0.01, Rreg_Value=9.1k
  1489. .ENDS
  1490. *
  1491. *---------------------------------------------------------------MC7912C
  1492. .SUBCKT MC7912C Input Output Ground
  1493.    x1 Input Output Ground x_LM79XX PARAMS:
  1494. +     Av_feedback=694, R1_Value=11076,
  1495. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1496. +     Rout_Value=0.01, Rreg_Value=9.1k
  1497. .ENDS
  1498. *
  1499. *---------------------------------------------------------------SG7912C
  1500. .SUBCKT SG7912C Input Output Ground
  1501.    x1 Input Output Ground x_LM79XX PARAMS:
  1502. +     Av_feedback=694, R1_Value=11076,
  1503. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1504. +     Rout_Value=0.01, Rreg_Value=9.1k
  1505. .ENDS
  1506. *
  1507. *---------------------------------------------------------------UC7912C
  1508. .SUBCKT UC7912C Input Output Ground
  1509.    x1 Input Output Ground x_LM79XX PARAMS:
  1510. +     Av_feedback=694, R1_Value=11076,
  1511. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1512. +     Rout_Value=0.01, Rreg_Value=9.1k
  1513. .ENDS
  1514. *
  1515. *---------------------------------------------------------------LM7915C
  1516. .SUBCKT LM7915C Input Output Ground
  1517.    x1 Input Output Ground x_LM79XX PARAMS:
  1518. +     Av_feedback=555, R1_Value=13845,
  1519. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1520. +     Rout_Value=0.01, Rreg_Value=11.3k
  1521. .ENDS
  1522. *
  1523. *---------------------------------------------------------------uA7915C
  1524. .SUBCKT uA7915C Input Output Ground
  1525.    x1 Input Output Ground x_LM79XX PARAMS:
  1526. +     Av_feedback=555, R1_Value=13845,
  1527. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1528. +     Rout_Value=0.01, Rreg_Value=11.3k
  1529. .ENDS
  1530. *
  1531. *---------------------------------------------------------------LAS1815
  1532. .SUBCKT LAS1815 Input Output Ground
  1533.    x1 Input Output Ground x_LM79XX PARAMS:
  1534. +     Av_feedback=555, R1_Value=13845,
  1535. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1536. +     Rout_Value=0.01, Rreg_Value=11.3k
  1537. .ENDS
  1538. *
  1539. *---------------------------------------------------------------MC7915C
  1540. .SUBCKT MC7915C Input Output Ground
  1541.    x1 Input Output Ground x_LM79XX PARAMS:
  1542. +     Av_feedback=555, R1_Value=13845,
  1543. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1544. +     Rout_Value=0.01, Rreg_Value=11.3k
  1545. .ENDS
  1546. *
  1547. *---------------------------------------------------------------SG7915C
  1548. .SUBCKT SG7915C Input Output Ground
  1549.    x1 Input Output Ground x_LM79XX PARAMS:
  1550. +     Av_feedback=555, R1_Value=13845,
  1551. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1552. +     Rout_Value=0.01, Rreg_Value=11.3k
  1553. .ENDS
  1554. *
  1555. *---------------------------------------------------------------UC7915C
  1556. .SUBCKT UC7915C Input Output Ground
  1557.    x1 Input Output Ground x_LM79XX PARAMS:
  1558. +     Av_feedback=555, R1_Value=13845,
  1559. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1560. +     Rout_Value=0.01, Rreg_Value=11.3k
  1561. .ENDS
  1562. *
  1563. *---------------------------------------------------------------LM120K-5
  1564. .SUBCKT LM120K-5 Input Output Ground
  1565.    x1 Input Output Ground x_LM79XX PARAMS:
  1566. +     Av_feedback=1660, R1_Value=4615,
  1567. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1568. +     Rout_Value=0.03, Rreg_Value=1.2k
  1569. .ENDS
  1570. *
  1571. *---------------------------------------------------------------LM120K-12
  1572. .SUBCKT LM120K-12 Input Output Ground
  1573.    x1 Input Output Ground x_LM79XX PARAMS:
  1574. +     Av_feedback=694, R1_Value=11076,
  1575. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1576. +     Rout_Value=0.03, Rreg_Value=9.1k
  1577. .ENDS
  1578. *
  1579. *---------------------------------------------------------------LM120K-15
  1580. .SUBCKT LM120K-15 Input Output Ground
  1581.    x1 Input Output Ground x_LM79XX PARAMS:
  1582. +     Av_feedback=555, R1_Value=13845,
  1583. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1584. +     Rout_Value=0.03, Rreg_Value=11.3k
  1585. .ENDS
  1586. *
  1587. *---------------------------------------------------------------LM320K-5
  1588. .SUBCKT LM320K-5 Input Output Ground
  1589.    x1 Input Output Ground x_LM79XX PARAMS:
  1590. +     Av_feedback=1660, R1_Value=4615,
  1591. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1592. +     Rout_Value=0.03, Rreg_Value=1.2k
  1593. .ENDS
  1594. *
  1595. *---------------------------------------------------------------LM320K-12
  1596. .SUBCKT LM320K-12 Input Output Ground
  1597.    x1 Input Output Ground x_LM79XX PARAMS:
  1598. +     Av_feedback=694, R1_Value=11076,
  1599. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1600. +     Rout_Value=0.03, Rreg_Value=9.1k
  1601. .ENDS
  1602. *
  1603. *---------------------------------------------------------------LM320K-15
  1604. .SUBCKT LM320K-15 Input Output Ground
  1605.    x1 Input Output Ground x_LM79XX PARAMS:
  1606. +     Av_feedback=555, R1_Value=13845,
  1607. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1608. +     Rout_Value=0.03, Rreg_Value=11.3k
  1609. .ENDS
  1610. *
  1611. *---------------------------------------------------------------LM320T-5
  1612. .SUBCKT LM320T-5 Input Output Ground
  1613.    x1 Input Output Ground x_LM79XX PARAMS:
  1614. +     Av_feedback=1660, R1_Value=4615,
  1615. +     Rbg_Tc1=8.13E-5, Rbg_Tc2=0.0,
  1616. +     Rout_Value=0.03, Rreg_Value=1.2k
  1617. .ENDS
  1618. *
  1619. *---------------------------------------------------------------LM320T-12
  1620. .SUBCKT LM320T-12 Input Output Ground
  1621.    x1 Input Output Ground x_LM79XX PARAMS:
  1622. +     Av_feedback=694, R1_Value=11076,
  1623. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1624. +     Rout_Value=0.03, Rreg_Value=9.1k
  1625. .ENDS
  1626. *
  1627. *---------------------------------------------------------------LM320T-15
  1628. .SUBCKT LM320T-15 Input Output Ground
  1629.    x1 Input Output Ground x_LM79XX PARAMS:
  1630. +     Av_feedback=555, R1_Value=13845,
  1631. +     Rbg_Tc1=-9.50E-7, Rbg_Tc2=-6.53E-7,
  1632. +     Rout_Value=0.03, Rreg_Value=11.3k
  1633. .ENDS
  1634. *------------------------------------------------------------------------
  1635.  
  1636. *** Precision voltage regulators
  1637.  
  1638. *---------------------------------------------------------------LM723
  1639. * connections:   current limit
  1640. *                | current sense
  1641. *                | | inverting input
  1642. *                | | | non-inverting input
  1643. *                | | | | Vref
  1644. *                | | | | | Vcc-
  1645. *                | | | | | | Vz
  1646. *                | | | | | | | Vout
  1647. *                | | | | | | | |  Vc
  1648. *                | | | | | | | |  |  Vcc+
  1649. *                | | | | | | | |  |  |  frequency compensation
  1650. *                | | | | | | | |  |  |  |
  1651. .SUBCKT LM723    2 3 4 5 6 7 9 10 11 12 13
  1652. *
  1653. * Note: This model is based on the National LM723 voltage
  1654. *       regulator.  All characterization is from data sheet
  1655. *       information.  The pin configuration corresponds to
  1656. *       the dual-in-line package.  Therefore, it includes
  1657. *       an internal 6.2 volt zener diode between Vout and Vz
  1658. *       In the model, GIee & GIcc adjust the short circuit
  1659. *       current limit and the standby current.  Rsb and the
  1660. *       temperature coefficient on RIee also affect the
  1661. *       standby current.  Bf and the transresistance term
  1662. *       on HVref adjust the low frequency output impedence
  1663. *       and the load regulation.  Rlnreg controls the line
  1664. *       regulation and ripple rejection.  Rref and its
  1665. *       temperature coefficient determine the average
  1666. *       temperature coefficient with respect to the output
  1667. *       voltage.
  1668. *
  1669. * Standby Current Correction
  1670. *
  1671. Rsb 12 7 300k
  1672. *
  1673. * Error Amplifier
  1674. *
  1675. Rlnreg 12 13 4meg
  1676. * Icc 12 13 DC 583ua
  1677. * Iee 20  7 DC 1166ua
  1678. Iee   0 24 1166ua
  1679. RIee 24 0 1 TC=4E-3
  1680. GIee (20,7) (24,0) 1.0
  1681. GIcc (12,13) (24,0) 0.5
  1682. Q5 12 5 20 Npn1
  1683. Q4 13 4 20 Npn1
  1684. *
  1685. * Voltage Reference
  1686. *
  1687. HVref 22 7 POLY(1) Vmon 7.15 0.0
  1688. Rref 22 6 15ohm TC=0.01
  1689. *
  1690. * Output Stage
  1691. *
  1692. Q1 12 13 21 Npn1
  1693. Q2 11 21 23 Npn1
  1694. Vmon 23 10 DC 0.0
  1695. Re 21 10 15k
  1696. .MODEL Npn1 NPN (Bf=55 Is=1E-14)
  1697. *
  1698. * Frequency Compensation, Current Limit, Current Sense
  1699. *
  1700. Q3 13 2 3 Npn1
  1701. R2 2  7 1.0e12
  1702. R3 3  7 1.0e12
  1703. *
  1704. * Zener Diode (6.2V) to pin 9
  1705. *
  1706. Dz 9 10 Dz
  1707. Rz 9  7 1.0e12
  1708. .MODEL Dz D (Is=0.05p Rs=4 Bv=5.79 Ibv=0.05u)
  1709. *
  1710. .ENDS
  1711. *
  1712. *---------------------------------------------------------------uA723M
  1713. .SUBCKT uA723M 2 3 4 5 6 7 9 10 11 12 13
  1714.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1715. *
  1716. * the uA723M is identical to the LM723
  1717. *
  1718. .ENDS
  1719. *
  1720. *---------------------------------------------------------------LM723C
  1721. .SUBCKT LM723C 2 3 4 5 6 7 9 10 11 12 13
  1722.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1723. *
  1724. * the LM723C is identical to the LM723,
  1725. * but with a more limited temperature range
  1726. *
  1727. .ENDS
  1728. *
  1729. *---------------------------------------------------------------uA723C
  1730. .SUBCKT uA723C 2 3 4 5 6 7 9 10 11 12 13
  1731.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1732. *
  1733. * the uA723C is identical to the LM723,
  1734. * but with a more limited temperature range
  1735. *
  1736. .ENDS
  1737. *
  1738. *---------------------------------------------------------------723C
  1739. .SUBCKT 723C 2 3 4 5 6 7 9 10 11 12 13
  1740.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1741. *
  1742. * the 723C is identical to the LM723,
  1743. * but with a more limited temperature range
  1744. *
  1745. .ENDS
  1746. *
  1747. *---------------------------------------------------------------MC1723C
  1748. .SUBCKT MC1723C 2 3 4 5 6 7 9 10 11 12 13
  1749.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1750. *
  1751. * the MC1723C is identical to the LM723,
  1752. * but with a more limited temperature range
  1753. *
  1754. .ENDS
  1755. *
  1756. *---------------------------------------------------------------CA723
  1757. .SUBCKT CA723 2 3 4 5 6 7 9 10 11 12 13
  1758.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1759. *
  1760. * the CA723 is identical to the LM723,
  1761. * but with a more limited temperature range
  1762. *
  1763. .ENDS
  1764. *
  1765. *---------------------------------------------------------------RC723
  1766. .SUBCKT RC723 2 3 4 5 6 7 9 10 11 12 13
  1767.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1768. *
  1769. * the RC723 is identical to the LM723,
  1770. * but with a more limited temperature range
  1771. *
  1772. .ENDS
  1773. *
  1774. *---------------------------------------------------------------SG723C
  1775. .SUBCKT SG723C 2 3 4 5 6 7 9 10 11 12 13
  1776.    x1 2 3 4 5 6 7 9 10 11 12 13 LM723
  1777. *
  1778. * the SG723C is identical to the LM723,
  1779. * but with a more limited temperature range
  1780. *
  1781. .ENDS
  1782.  
  1783. * end of library file