Rev 742 | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 774 | linlun | 1 | * Z:\home\linus\Dokument\aumlHardware\schematics\HomeAutomation\AVR\expansion\RGBdriverModule\ltSpice\RGBW-driver.asc |
| 2 | D1 Vcc N006 LXK2-PW14 |
||
| 3 | L1 N010 N012 50µ Ipk=1.25 Rser=0.165 Rpar=9425 Cpar=0 |
||
| 742 | linlun | 4 | V1 Vcc 0 8 Rser=0.1 Cpar=10u |
| 774 | linlun | 5 | R1 N006 N010 0.1 |
| 6 | M1 N012 Transistor 0 0 Si5902DC |
||
| 7 | D2 N012 Vcc B530C |
||
| 742 | linlun | 8 | V2 5Volt 0 5 Rser=0 Cpar=10u |
| 9 | R2 5Volt Transistor2 1k |
||
| 10 | V3 Transistor2 0 PULSE(0 5 35u 2n 2n 3u 8u 20) Rser=0 Cpar=10u |
||
| 774 | linlun | 11 | XU1 0 NC_01 NC_02 0 NC_03 LT1813 |
| 12 | R3 Current N007 250k |
||
| 13 | R4 N009 N011 250k |
||
| 14 | R5 N009 N010 5k |
||
| 15 | R6 N007 N006 5k |
||
| 16 | R10 N001 N005 2k |
||
| 17 | R11 N002 Current 1k |
||
| 18 | R12 N003 N002 40k |
||
| 19 | R13 N004 N003 10 |
||
| 20 | R14 5Volt N001 2k |
||
| 21 | R8 N004 0 10k |
||
| 22 | V4 N005 0 PULSE(0 5 30u 2n 2n 60u 100u 20) Rser=0 Cpar=10u |
||
| 23 | C1 Vcc N008 100n V=10 Irms=10.541 Rser=0.004 Lser=0 |
||
| 24 | R9 N008 N010 0.01 |
||
| 25 | XU3 N009 N007 Vcc 0 Current TLC07X_5V |
||
| 26 | XU2 0 0 0 0 NC_04 TLC07X_5V |
||
| 27 | R7 N003 N001 15k |
||
| 28 | R15 5Volt N011 500 |
||
| 29 | R16 0 N011 10k |
||
| 30 | R17 N012 P001 500 |
||
| 31 | C2 P001 0 10n |
||
| 32 | XU4 N002 N001 5Volt 0 N003 LM2901_ON |
||
| 33 | A1 N004 0 0 0 0 0 Transistor 0 BUF |
||
| 742 | linlun | 34 | .model D D |
| 774 | linlun | 35 | .lib C:\Program\LTC\LTspiceIV\lib\cmp\standard.dio |
| 742 | linlun | 36 | .model NMOS NMOS |
| 37 | .model PMOS PMOS |
||
| 774 | linlun | 38 | .lib C:\Program\LTC\LTspiceIV\lib\cmp\standard.mos |
| 742 | linlun | 39 | .tran 400u startup |
| 40 | * Detta är PWM-utgången på AVRen |
||
| 41 | * Frekvensen på switchningarna justeras med C1, ett för stort värde på C1 ger dock översväng... |
||
| 42 | * V2 är 5 volt från corecard |
||
| 43 | * Används för att styra utan\nregulator, ska alltså ej vara\nmed på expansionen |
||
| 44 | .LIB TLC074.mod |
||
| 45 | .LIB TLV2371.mod |
||
| 46 | .INC AD8646.mod |
||
| 774 | linlun | 47 | ***** |
| 48 | * (c) ON SEMICONDUCTOR |
||
| 49 | * Models developed and under copyright by: |
||
| 50 | * ON SEMICONDUCTOR |
||
| 51 | |||
| 52 | * ============================================================ |
||
| 53 | * | Legal Notice: This material is intended for free |
||
| 54 | * | software support. The file may be copied and distributed. |
||
| 55 | * | However,reselling the material is illegal. |
||
| 56 | * ============================================================ |
||
| 57 | |||
| 58 | * ============================================================ |
||
| 59 | * | LM339, LM239, LM2901, LM2901V, NCV2901, MC3302 |
||
| 60 | * | Comparator MACRO-MODEL |
||
| 61 | * | Designed in pSpice Version 9.2 |
||
| 62 | * | |
||
| 63 | * | The content of this model is subject to change |
||
| 64 | * | without notice and may not be modified or altered |
||
| 65 | * | without permission from ON Semiconductor. This model |
||
| 66 | * | has been carefully checked and is believed to be |
||
| 67 | * | accurate, however ON Semiconductor does not assume |
||
| 68 | * | liability for the use of this model or the results |
||
| 69 | * | obtained from using it. |
||
| 70 | * ============================================================ |
||
| 71 | |||
| 72 | * ============================================================ |
||
| 73 | * Features: - Low Input Bias Current: 25 nA |
||
| 74 | * - Low Input Offset Current: 5.0 nA |
||
| 75 | * - Low Input Offset Voltage |
||
| 76 | * - Input Common Mode Range to Ground Level |
||
| 77 | * - Low Output Saturation Voltage: 130mV (Typ) @ 4mA |
||
| 78 | * ============================================================ |
||
| 79 | |||
| 80 | * $Author: Vallabh Chilakapati $ |
||
| 81 | * $Date: 18 Aug 2006 $ |
||
| 82 | |||
| 83 | * NOTE: - Noise is not modeled. |
||
| 84 | * - Temperature is not modeled. |
||
| 85 | * - PSR is not modeled. |
||
| 86 | * - Model is for single device only. Simulated supply current is 1/4 of |
||
| 87 | * total package current. |
||
| 88 | |||
| 89 | * Connections: |
||
| 90 | * Non-Inverting Input |
||
| 91 | * | Inverting Input |
||
| 92 | * | | +ve Supply Voltage |
||
| 93 | * | | | -ve Supply Voltage |
||
| 94 | * | | | | Output |
||
| 95 | * | | | | | |
||
| 96 | .SUBCKT LM2901_ON 1 2 11 12 24 |
||
| 97 | |||
| 98 | ***** Input Stage ***** |
||
| 99 | Q_Q1 4 1 6 QPNP1 |
||
| 100 | Q_Q2 7 2 9 QPNP2 |
||
| 101 | I_I1 111 10 DC 0.6m |
||
| 102 | R_RC1 4 12 95.49 |
||
| 103 | R_RC2 7 12 95.49 |
||
| 104 | R_RE1 10 6 45.49 |
||
| 105 | R_RE2 10 9 45.49 |
||
| 106 | |||
| 107 | ***** Gain Stage & Frequency Response Stage ***** |
||
| 108 | E_Eref 14 0 poly(2) (12,0) (11,0) 0 0.09091 0.09091 |
||
| 109 | R_Rgnd 11 0 100k |
||
| 110 | I_Ignd 0 11 0.43m |
||
| 111 | Vsup 111 11 0 |
||
| 112 | G_Ignd 0 11 poly(1) (11,0) 0 0.00678m |
||
| 113 | G_G1 14 15 7 4 0.01047 |
||
| 114 | R_Rc 14 15 13.3Meg |
||
| 115 | C_Cc 14 15 0.00667n |
||
| 116 | |||
| 117 | ***** Output Stage ***** |
||
| 118 | E_E1 22 14 15 14 1 |
||
| 119 | V_F1 23 24 0 |
||
| 120 | F_F1 11 0 V_F1 1 |
||
| 121 | R_Rout 22 23 13 |
||
| 122 | |||
| 123 | ***** Output Voltage Limiting ***** |
||
| 124 | D_D1 15 18 D10D1 |
||
| 125 | D_D2 19 15 D10D1 |
||
| 126 | V_Voh 111 18 0.62 |
||
| 127 | V_Vol 19 12 0.62 |
||
| 128 | |||
| 129 | ***** Models ***** |
||
| 130 | .model QPNP1 PNP(Is=1E-15 Bf=8293.8) |
||
| 131 | .model QPNP2 PNP(Is=1E-15 Bf=9663.8) |
||
| 132 | .MODEL D10D1 D IS=1E-15 RS=1.000E-3 VJ=.75 BV=100E6 |
||
| 133 | .ENDS |
||
| 742 | linlun | 134 | .lib LTC.lib |
| 135 | .backanno |
||
| 136 | .end |