Scad 3
Scad 3
Scad 3
Introduction 19
SwitcherCAD III Overview ............................................................................. 19
Hardware Requirements................................................................................ 20
Software Installation ...................................................................................... 20
License Agreement/Disclaimer...................................................................... 21
Modes of Operation 23
Overview........................................................................................................ 23
Synthesized Circuits ...................................................................................... 24
Application Note Circuits ............................................................................... 25
Example Circuits............................................................................................ 26
General Purpose Schematic Driven SPICE .................................................. 27
Externally Generated Netlists ........................................................................ 28
Efficiency Report ........................................................................................... 29
Schematic Capture 31
Basic Schematic Editing ................................................................................ 31
Label a node name........................................................................................ 35
Schematic Colors .......................................................................................... 36
Placing New Components ............................................................................. 37
Programming Keyboard Shortcuts ................................................................ 37
PCB Netlist Extraction ................................................................................... 38
Editing Components ...................................................................................... 38
Editing Components................................................................................ 38
Edit a visible attribute .............................................................................. 39
Specialized Component Editors.............................................................. 40
General Attribute Editor .......................................................................... 41
Creating New Symbols .................................................................................. 43
Symbol Editing Overview ........................................................................ 43
Drawing the body .................................................................................... 43
Adding the Pins ....................................................................................... 44
Adding Attributes..................................................................................... 45
Attribute Visibility..................................................................................... 47
Hierarchy ....................................................................................................... 48
Hierarchy Overview................................................................................. 48
Rules of Hierarchy................................................................................... 49
Navigating the Hierarchy......................................................................... 50
Waveform Viewer 52
Overview........................................................................................................ 52
Trace Selection.............................................................................................. 52
Zooming......................................................................................................... 56
Waveform Arithmetic ..................................................................................... 56
User-Defined Functions................................................................................. 61
Axis Control ................................................................................................... 62
Plot Panes ..................................................................................................... 62
Color Control.................................................................................................. 63
Attached Cursors........................................................................................... 64
Save Plot Configurations ............................................................................... 67
1
LTspice 68
Introduction .................................................................................................... 69
Circuit Description ................................................................................... 69
General Structure and Conventions........................................................ 69
Circuit Element Quick Reference............................................................ 72
Dot Commands.............................................................................................. 73
C. Simulator directives -- dot commands ............................................... 73
.AC -- Perform an small signal AC analysis ............................................ 74
.BACKANNO -- Annotate the subcircuit pin names to the port currents. 74
.DC -- Perform a DC source sweep analysis .......................................... 75
.END – End of netlist............................................................................... 75
.ENDS – End of Netlist............................................................................ 76
.FOUR -- Compute a Fourier component after a transient analysis ....... 76
.FUNC - User defined functions .............................................................. 76
.GLOBAL -- Declare global nodes .......................................................... 77
.IC -- Set initial conditions ...................................................................... 78
.INCLUDE -- Include another file ............................................................ 78
.LIB -- Include a library............................................................................ 79
.MODEL – Define a SPICE model .......................................................... 79
.NODESET -- Supply hints for initial DC solution ................................... 80
.NOISE -- Perform a noise analysis ....................................................... 81
.OP -- Find the DC operating point ........................................................ 81
.OPTIONS -- Set simulator options......................................................... 82
.PARAM -- User-defined parameters ..................................................... 84
.SAVE -- Limit the amount of saved data............................................... 86
.STEP -- Parameter sweeps ................................................................... 86
.SUBCKT -- Define a subcircuit ............................................................. 87
.TEMP -- Temperature sweeps............................................................... 88
.TF -- Find the DC small-signal transfer function ................................... 89
.TRAN -- Perform a nonlinear transient analysis ................................... 89
.WAVE -- Write selected nodes to a .wav file. ........................................ 90
Transient Analysis Options............................................................................ 91
.TRAN Modifiers...................................................................................... 91
UIC .......................................................................................................... 91
startup ..................................................................................................... 92
steady...................................................................................................... 92
nodiscard................................................................................................. 92
step ......................................................................................................... 92
Circuit Elements ............................................................................................ 93
A. Special functions................................................................................ 93
B. Arbitrary behavioral voltage or current sources................................. 96
C. Capacitor ............................................................................................ 99
D. Diode ................................................................................................ 102
E. Voltage Dependent Voltage Source ................................................. 104
F. Current Dependent Current Source.................................................. 106
G. Voltage Dependent Current Source ................................................. 106
H. Current Dependent Voltage Source ................................................. 108
I. Current Source................................................................................... 108
J. JFET transistor .................................................................................. 113
K. Mutual Inductance ............................................................................ 114
L. Inductor ............................................................................................. 115
M. MOSFET .......................................................................................... 117
O. Lossy Transmission Line.................................................................. 126
Q. Bipolar transistor .............................................................................. 127
R. Resistor ............................................................................................ 131
2
S. Voltage Controlled Switch ................................................................ 131
T. Lossless Transmission Line.............................................................. 132
U. Uniform RC-line ................................................................................ 133
V. Voltage Source ................................................................................. 134
W. Current Controlled Switch................................................................ 138
X. Subcircuit .......................................................................................... 139
Z. MESFET transistor............................................................................ 140
Control Panel 141
Accessing the Control Panel ....................................................................... 141
Compression................................................................................................ 142
Operation ..................................................................................................... 143
Save Defaults .............................................................................................. 145
SPICE .......................................................................................................... 146
Netlist Options ............................................................................................. 148
Hacks........................................................................................................... 148
Drafting Options........................................................................................... 149
Internet Option ............................................................................................. 151
FAQs 152
Program Updates ........................................................................................ 153
Transformer Models .................................................................................... 154
Third-party Models....................................................................................... 154
Inductor Models ........................................................................................... 156
MOSFET Models ......................................................................................... 157
License and Distribution .............................................................................. 157
Circuit Efficiency Calculation ....................................................................... 158
Custom Symbol ........................................................................................... 159
Memory Problems ....................................................................................... 160
Model Compatibility ..................................................................................... 161
SPICE Netlist ............................................................................................... 162
Exporting/Merging Waveform Data ............................................................. 162
Runing under Linux ..................................................................................... 163
Appendixes 164
Symbols ....................................................................................................... 164
Symbol Overview .................................................................................. 164
Power Products..................................................................................... 164
Overview......................................................................................... 164
LT1308A ......................................................................................... 165
LTC1435A ...................................................................................... 167
LTC1735 ......................................................................................... 167
LTC1628 ......................................................................................... 167
LTC1624 ......................................................................................... 168
LTC1622 ......................................................................................... 168
LT1026............................................................................................ 168
LT1054............................................................................................ 168
LT1054L.......................................................................................... 168
LT1070............................................................................................ 168
LT1070HV ...................................................................................... 169
LT1071............................................................................................ 169
LT1071HV ...................................................................................... 169
LT1072............................................................................................ 169
LT1072HV ...................................................................................... 169
LT1073............................................................................................ 169
LT1073-5 ........................................................................................ 169
3
LT1073-12 ...................................................................................... 169
LT1074............................................................................................ 169
LT1074HV ...................................................................................... 169
LT1076............................................................................................ 169
LT1082............................................................................................ 170
LT1084............................................................................................ 170
LT1085............................................................................................ 170
LT1103............................................................................................ 170
LT1105............................................................................................ 170
LT1106............................................................................................ 170
LT1107............................................................................................ 170
LT1107-5 ........................................................................................ 170
LT1107-12 ...................................................................................... 170
LT1108............................................................................................ 170
LT1108-12 ...................................................................................... 170
LT1109............................................................................................ 170
LT1109-12 ...................................................................................... 171
LT1109-5 ........................................................................................ 171
LT1110-5 ........................................................................................ 171
LT1110-12 ...................................................................................... 171
LT1111............................................................................................ 171
LT1111-5 ........................................................................................ 171
LT1170............................................................................................ 171
LT1170HV ...................................................................................... 171
LT1171............................................................................................ 171
LT1171HV ...................................................................................... 171
LT1172............................................................................................ 172
LT1172HV ...................................................................................... 172
LT1173............................................................................................ 172
LT1173-5 ........................................................................................ 172
LT1173-12 ...................................................................................... 172
LT1176............................................................................................ 172
LT1176-5 ........................................................................................ 172
LT1182............................................................................................ 172
LT1183............................................................................................ 172
LT1184............................................................................................ 172
LT1184F ......................................................................................... 173
LT1186F ......................................................................................... 173
LT1242............................................................................................ 173
LT1243............................................................................................ 173
LT1245............................................................................................ 173
LT1246............................................................................................ 173
LT1247............................................................................................ 173
LT1248............................................................................................ 173
LT1249............................................................................................ 173
LT1269............................................................................................ 173
LT1268............................................................................................ 174
LT1268B ......................................................................................... 174
LT1270............................................................................................ 174
LT1270A ......................................................................................... 174
LT1271............................................................................................ 174
LT1300............................................................................................ 174
LT1301............................................................................................ 174
LT1302............................................................................................ 174
LT1302-5 ........................................................................................ 174
LT1303............................................................................................ 175
4
LT1303-5 ........................................................................................ 175
LT1304............................................................................................ 175
LT1304-3.3 ..................................................................................... 175
LT1304-5 ........................................................................................ 175
LT1305............................................................................................ 175
LT1306............................................................................................ 176
LT1307............................................................................................ 176
LT1307B ......................................................................................... 176
LT1309............................................................................................ 176
LT1316............................................................................................ 176
LT1317............................................................................................ 176
LT1317B ......................................................................................... 176
LT1336............................................................................................ 176
LT1370............................................................................................ 177
LT1371............................................................................................ 177
LT1371HV ...................................................................................... 177
LT1372............................................................................................ 177
LT1372HV ...................................................................................... 177
LT1373............................................................................................ 177
LT1373HV ...................................................................................... 177
LT1374............................................................................................ 177
LT1374-5 ........................................................................................ 177
LT1375............................................................................................ 178
LT1375HV ...................................................................................... 178
LT1375-5 ........................................................................................ 178
LT1376............................................................................................ 178
LT1376HV ...................................................................................... 178
LT1376-5 ........................................................................................ 178
LT1377............................................................................................ 178
LT1339............................................................................................ 179
LT1424-5 ........................................................................................ 179
LT1424-9 ........................................................................................ 179
LT1425............................................................................................ 179
LT1432............................................................................................ 179
LT1432-3.3 ..................................................................................... 179
LT1500............................................................................................ 179
LT1501............................................................................................ 179
LT1501-3.3 ..................................................................................... 179
LT1501-5 ........................................................................................ 179
LT1505............................................................................................ 179
LT1505-1 ........................................................................................ 180
LT1506............................................................................................ 180
LT1506-3.3 ..................................................................................... 180
LT1500-3 ........................................................................................ 180
LT1507............................................................................................ 180
LT1507-3.3 ..................................................................................... 180
LT1508............................................................................................ 180
LT1509............................................................................................ 180
LT1510-5 ........................................................................................ 180
LT1510............................................................................................ 181
LT1512............................................................................................ 181
LT1529............................................................................................ 181
LT1533............................................................................................ 181
LT1534............................................................................................ 181
LT1572............................................................................................ 181
LT1576............................................................................................ 181
5
LT1578............................................................................................ 181
LT1576-5 ........................................................................................ 181
LT1612............................................................................................ 181
LT1613............................................................................................ 182
LT1614............................................................................................ 182
LT1615............................................................................................ 182
LT1617............................................................................................ 182
LT1618............................................................................................ 182
LT1610............................................................................................ 182
LT1611............................................................................................ 182
LT1615-1 ........................................................................................ 182
LT1616............................................................................................ 182
LT1617............................................................................................ 182
LT1617-1 ........................................................................................ 183
LT1619............................................................................................ 183
LT1620............................................................................................ 183
LT1620S8 ....................................................................................... 183
LT1621............................................................................................ 183
LT1676............................................................................................ 183
LT1680............................................................................................ 183
LT1725............................................................................................ 183
LT1735............................................................................................ 183
LT1737............................................................................................ 183
LT1761-1.8 ..................................................................................... 183
LT1761-2.5 ..................................................................................... 184
LT1761-3 ........................................................................................ 184
LT1761-5 ........................................................................................ 184
LT1761-BYP ................................................................................... 184
LT1761-SD ..................................................................................... 184
LT1761-3.3 ..................................................................................... 184
LT1762............................................................................................ 184
LT1762-1.5 ..................................................................................... 184
LT1762-1.8 ..................................................................................... 184
LT1762-2.5 ..................................................................................... 184
LT1762-3.3 ..................................................................................... 185
LT1762-3 ........................................................................................ 185
LT1762-5 ........................................................................................ 185
LT1763............................................................................................ 185
LT1763-1.5 ..................................................................................... 185
LT1763-1.8 ..................................................................................... 185
LT1763-2.5 ..................................................................................... 185
LT1763-3.3 ..................................................................................... 185
LT1763-3 ........................................................................................ 185
LT1763-5 ........................................................................................ 185
LT1764............................................................................................ 186
LT1764-1.5 ..................................................................................... 186
LT1764-1.8 ..................................................................................... 186
LT1764-2.5 ..................................................................................... 186
LT1764-3.3 ..................................................................................... 186
LT1767............................................................................................ 186
LT1776............................................................................................ 186
LT1777............................................................................................ 186
LT1786F ......................................................................................... 186
LT1930............................................................................................ 186
LT1930A ......................................................................................... 187
LT1931............................................................................................ 187
6
LT1931A ......................................................................................... 187
LT1949............................................................................................ 187
LT1956............................................................................................ 187
LT1959............................................................................................ 187
LT1962............................................................................................ 187
LT1962-1.5 ..................................................................................... 187
LT1962-1.8 ..................................................................................... 187
LT1962-2.5 ..................................................................................... 187
LT1962-3 ........................................................................................ 187
LT1962-5 ........................................................................................ 188
LT1963............................................................................................ 188
LT1963-1.5 ..................................................................................... 188
LT1963-1.8 ..................................................................................... 188
LT1963-2.5 ..................................................................................... 188
LT1963-3.3 ..................................................................................... 188
LT1956-5 ........................................................................................ 188
LTC660 ........................................................................................... 188
LTC1044 ......................................................................................... 188
LTC1044A ...................................................................................... 188
LTC1046 ......................................................................................... 189
LTC1142 ......................................................................................... 189
LTC1142HV.................................................................................... 189
LTC1142HV-ADJ............................................................................ 189
LTC1142L-ADJ............................................................................... 189
LTC1143 ......................................................................................... 189
LTC1143L ....................................................................................... 189
LTC1143L-ADJ............................................................................... 189
LTC1144 ......................................................................................... 189
LTC1147-3.3................................................................................... 189
LTC1148L ....................................................................................... 190
LTC1148L-3.3................................................................................. 190
LTC1149 ......................................................................................... 190
LTC1149-3.3................................................................................... 190
LTC1149-5...................................................................................... 190
LTC1159 ......................................................................................... 190
LTC1159-3.3................................................................................... 190
LTC1626 ......................................................................................... 190
LTC1159-5...................................................................................... 190
LTC1174 ......................................................................................... 190
LTC1174-3.3................................................................................... 191
LTC1174-5...................................................................................... 191
LTC1174HV.................................................................................... 191
LTC1174HV-3.3.............................................................................. 191
LTC1174HV-5................................................................................. 191
LTC1261 ......................................................................................... 191
LTC1261CS8.................................................................................. 191
LTC1261LCS8................................................................................ 191
LTC1261LCS8-4............................................................................. 191
LTC1261LCS8-4.5.......................................................................... 191
LTC1262 ......................................................................................... 192
LTC1263 ......................................................................................... 192
LTC1265 ......................................................................................... 192
LTC1265-3.3................................................................................... 192
LTC1265-5...................................................................................... 192
LTC1266 ......................................................................................... 192
LTC1266-3.3................................................................................... 192
7
LTC1266-5...................................................................................... 192
LTC1267 ......................................................................................... 192
LTC1267-ADJ................................................................................. 192
LTC1267-ADJ5............................................................................... 192
LTC1430 ......................................................................................... 193
LTC1430A ...................................................................................... 193
LTC1433 ......................................................................................... 193
LTC1434 ......................................................................................... 193
LTC1436A ...................................................................................... 193
LTC1436A-PLL............................................................................... 193
LTC1437A ...................................................................................... 193
LTC1438-ADJ................................................................................. 193
LTC1438 ......................................................................................... 193
LTC1439 ......................................................................................... 194
LTC1474 ......................................................................................... 194
LTC1475 ......................................................................................... 194
LTC1475-5...................................................................................... 194
LTC1502-3.3................................................................................... 194
LTC1503-1.8................................................................................... 194
LTC1503-2...................................................................................... 194
LTC1504 ......................................................................................... 194
LTC1504-3.3A ................................................................................ 194
LTC1504A ...................................................................................... 194
LTC1504-3.3................................................................................... 195
LTC1514-3.3................................................................................... 195
LTC1514-5...................................................................................... 195
LTC1515 ......................................................................................... 195
LTC1515-3.3/5................................................................................ 195
LTC1515-3/5................................................................................... 195
LTC1516 ......................................................................................... 195
LTC1517-3.3................................................................................... 195
LTC1517-5...................................................................................... 195
LTC1522 ......................................................................................... 195
LTC1530 ......................................................................................... 195
LTC1530-1.9................................................................................... 196
LTC1530-2.5................................................................................... 196
LTC1530-3.3................................................................................... 196
LTC1530-2.8................................................................................... 196
LTC1538-AUX ................................................................................ 196
LTC1539 ......................................................................................... 196
LTC1550 ......................................................................................... 196
LTC1550L ....................................................................................... 196
LTC1550LCS8................................................................................ 196
LTC1550LCS8-2............................................................................. 196
LTC1550LCS8-2.5.......................................................................... 197
LTC1550LCS8-4.1.......................................................................... 197
LTC1550CS8-4.1............................................................................ 197
LTC1553 ......................................................................................... 197
LTC1553L ....................................................................................... 197
LTC1574 ......................................................................................... 197
LTC1574-3.3................................................................................... 197
LTC1574-5...................................................................................... 197
LTC1625 ......................................................................................... 197
LTC1625-5...................................................................................... 198
LTC1626-3.3................................................................................... 198
LTC1627 ......................................................................................... 198
8
LTC1628-PG .................................................................................. 198
LTC1629 ......................................................................................... 198
LTC1629-PG .................................................................................. 198
LTC1649 ......................................................................................... 198
LTC1682 ......................................................................................... 198
LTC1682-3.3................................................................................... 198
LTC1682-5...................................................................................... 198
LTC1693-1...................................................................................... 199
LTC1693-2...................................................................................... 199
LTC1693-3...................................................................................... 199
LTC1701 ......................................................................................... 199
LTC1701B ...................................................................................... 199
LTC1702 ......................................................................................... 199
LTC1703 ......................................................................................... 199
LTC1706-19.................................................................................... 199
LTC1707 ......................................................................................... 199
LTC1709 ......................................................................................... 199
LTC1735-1...................................................................................... 199
LTC1736 ......................................................................................... 200
LTC1753 ......................................................................................... 200
LTC1754-5...................................................................................... 200
LTC1771 ......................................................................................... 200
LTC1772B ...................................................................................... 200
LTC1772 ......................................................................................... 200
LTC1773 ......................................................................................... 200
LTC1775 ......................................................................................... 200
LTC1778 ......................................................................................... 200
LTC1779 ......................................................................................... 200
LTC1871 ......................................................................................... 201
LTC1872 ......................................................................................... 201
LTC1872B ...................................................................................... 201
LTC1874 ......................................................................................... 201
LTC1873 ......................................................................................... 201
LTC1877 ......................................................................................... 201
LTC1878 ......................................................................................... 201
LTC1922-1...................................................................................... 201
LTC1929 ......................................................................................... 201
LTC1929-PG .................................................................................. 201
LTC1986 ......................................................................................... 202
LTC3200 ......................................................................................... 202
LTC3200-5...................................................................................... 202
LTC3401 ......................................................................................... 202
LTC3402 ......................................................................................... 202
LTC3404 ......................................................................................... 202
LTC3405 ......................................................................................... 202
LTC3716 ......................................................................................... 202
LTC3711 ......................................................................................... 202
LTC3713 ......................................................................................... 202
LTC3714 ......................................................................................... 203
LTC3728 ......................................................................................... 203
LTC3729 ......................................................................................... 203
Operational Amplifiers........................................................................... 203
LT1001............................................................................................ 203
LT1001A ......................................................................................... 203
LT1001S8 ....................................................................................... 203
LT1002............................................................................................ 203
9
LT1002A ......................................................................................... 203
LT1006............................................................................................ 203
LT1006A ......................................................................................... 203
LT1006S8 ....................................................................................... 203
LT1007............................................................................................ 204
LT1007A ......................................................................................... 204
LT1007CS ...................................................................................... 204
LT1008............................................................................................ 204
LT1010............................................................................................ 204
LT1012............................................................................................ 204
LT1012A ......................................................................................... 204
LT1012D ......................................................................................... 204
LT1012S8 ....................................................................................... 204
LT1013............................................................................................ 204
LT1013A ......................................................................................... 204
LT1013D ......................................................................................... 205
LT1014............................................................................................ 205
LT1014A ......................................................................................... 205
LT1014D ......................................................................................... 205
LT1022............................................................................................ 205
LT1022A ......................................................................................... 205
LT1024............................................................................................ 205
LT1024A ......................................................................................... 205
LT1028............................................................................................ 205
LT1028A ......................................................................................... 205
LT1028CS ...................................................................................... 205
LT1028N ......................................................................................... 206
LT1037............................................................................................ 206
LT1037A ......................................................................................... 206
LT1037CS ...................................................................................... 206
LT1055............................................................................................ 206
LT1055A ......................................................................................... 206
LT1055S8 ....................................................................................... 206
LT1056............................................................................................ 206
LT1056A ......................................................................................... 206
LT1056S8 ....................................................................................... 206
LT1057............................................................................................ 206
LT1057A ......................................................................................... 207
LT1057S ......................................................................................... 207
LT1058............................................................................................ 207
LT1058A ......................................................................................... 207
LT1077............................................................................................ 207
LT1077A ......................................................................................... 207
LT1078............................................................................................ 207
LT1078A ......................................................................................... 207
LT1079............................................................................................ 207
LT1079A ......................................................................................... 207
LT1097............................................................................................ 208
LT1101............................................................................................ 208
LT1101A ......................................................................................... 208
LT1102............................................................................................ 208
LT1102A ......................................................................................... 208
LT1112............................................................................................ 208
LT1113............................................................................................ 208
LT1114............................................................................................ 208
LT1115............................................................................................ 208
10
LT1122............................................................................................ 208
LT1124............................................................................................ 209
LT1125............................................................................................ 209
LT1126............................................................................................ 209
LT1127............................................................................................ 209
LT1128............................................................................................ 209
LT1167............................................................................................ 209
LT1168............................................................................................ 209
LT1169............................................................................................ 209
LT1178............................................................................................ 209
LT1178A ......................................................................................... 209
LT1179............................................................................................ 210
LT1179A ......................................................................................... 210
LT1187............................................................................................ 210
LT1189............................................................................................ 210
LT1190............................................................................................ 210
LT1191............................................................................................ 210
LT1193............................................................................................ 210
LT1194............................................................................................ 210
LT1195............................................................................................ 210
LT1206............................................................................................ 210
LT1207............................................................................................ 210
LT1208............................................................................................ 210
LT1209............................................................................................ 211
LT1210............................................................................................ 211
LT1211............................................................................................ 211
LT1212............................................................................................ 211
LT1213............................................................................................ 211
LT1214............................................................................................ 211
LT1215............................................................................................ 211
LT1216............................................................................................ 211
LT1217............................................................................................ 211
LT1218............................................................................................ 211
LT1219............................................................................................ 211
LT1220............................................................................................ 212
LT1221............................................................................................ 212
LT1222............................................................................................ 212
LT1223............................................................................................ 212
LT1224............................................................................................ 212
LT1225............................................................................................ 212
LT1226............................................................................................ 212
LT1227............................................................................................ 212
LT1228............................................................................................ 212
LT1229............................................................................................ 212
LT1230............................................................................................ 212
LT1251............................................................................................ 212
LT1252............................................................................................ 213
LT1253............................................................................................ 213
LT1254............................................................................................ 213
LT1256............................................................................................ 213
LT1259............................................................................................ 213
LT1260............................................................................................ 213
LT1328............................................................................................ 213
LT1328PD ...................................................................................... 213
LT1351............................................................................................ 213
LT1352............................................................................................ 213
11
LT1353............................................................................................ 213
LT1354............................................................................................ 214
LT1355............................................................................................ 214
LT1356............................................................................................ 214
LT1357............................................................................................ 214
LT1358............................................................................................ 214
LT1359............................................................................................ 214
LT1360............................................................................................ 214
LT1361............................................................................................ 214
LT1362............................................................................................ 214
LT1363............................................................................................ 214
LT1364............................................................................................ 214
LT1365............................................................................................ 214
LT1366............................................................................................ 214
LT1367............................................................................................ 215
LT1368............................................................................................ 215
LT1369............................................................................................ 215
LT1395............................................................................................ 215
LT1396............................................................................................ 215
LT1397............................................................................................ 215
LT1398............................................................................................ 215
LT1399............................................................................................ 215
LT1413............................................................................................ 215
LT1413A ......................................................................................... 215
LT1431............................................................................................ 215
LT1462............................................................................................ 216
LT1463............................................................................................ 216
LT1464............................................................................................ 216
LT1465............................................................................................ 216
LT1466............................................................................................ 216
LT1466L.......................................................................................... 216
LT1467............................................................................................ 216
LT1467L.......................................................................................... 216
LT1468............................................................................................ 216
LT1468N ......................................................................................... 216
LT1469............................................................................................ 217
LT1490............................................................................................ 217
LT1491............................................................................................ 217
LT1492............................................................................................ 217
LT1493............................................................................................ 217
LT1495............................................................................................ 217
LT1496............................................................................................ 217
LT1497............................................................................................ 217
LT1498............................................................................................ 217
LT1499............................................................................................ 217
LT1630............................................................................................ 218
LT1631............................................................................................ 218
LT1632............................................................................................ 218
LT1633............................................................................................ 218
LT1635............................................................................................ 218
LT1636............................................................................................ 218
LT1637............................................................................................ 218
LT1638............................................................................................ 218
LT1639............................................................................................ 218
LT1677............................................................................................ 218
LT1782............................................................................................ 218
12
LT1783............................................................................................ 219
LT1787............................................................................................ 219
LT1793............................................................................................ 219
LT1795............................................................................................ 219
LT1806............................................................................................ 219
LT1807............................................................................................ 219
LT1809............................................................................................ 219
LT1792............................................................................................ 219
LT1810............................................................................................ 219
LT1812............................................................................................ 220
LT1881............................................................................................ 220
LT1884............................................................................................ 220
LT1886............................................................................................ 220
LT1920............................................................................................ 220
LT2078............................................................................................ 220
LT2078A ......................................................................................... 220
LT2079............................................................................................ 220
LT2079A ......................................................................................... 220
LT2178............................................................................................ 220
LT2178A ......................................................................................... 221
LT2179............................................................................................ 221
LT2179A ......................................................................................... 221
LTC1043 ......................................................................................... 221
LTC1047 ......................................................................................... 221
LTC1049 ......................................................................................... 221
LTC1050 ......................................................................................... 221
LTC1050A ...................................................................................... 221
LTC1051 ......................................................................................... 221
LTC1051A ...................................................................................... 221
LTC1052 ......................................................................................... 222
LTC1052CS.................................................................................... 222
LTC1053 ......................................................................................... 222
LTC1100 ......................................................................................... 222
LTC1100A ...................................................................................... 222
LTC1150 ......................................................................................... 222
LTC1151 ......................................................................................... 222
LTC1152 ......................................................................................... 222
LTC1250 ......................................................................................... 222
LTC1541 ......................................................................................... 222
LTC1542 ......................................................................................... 222
LTC2050 ......................................................................................... 223
LTC7652 ......................................................................................... 223
OPAMP........................................................................................... 223
Miscellaneous ....................................................................................... 223
Voltage............................................................................................ 223
OR .................................................................................................. 223
SCHMITT........................................................................................ 224
SCHMTINV..................................................................................... 224
XOR ................................................................................................ 224
SCHMTBUF.................................................................................... 225
AND ................................................................................................ 225
BI .................................................................................................... 226
BI2 .................................................................................................. 226
BV ................................................................................................... 226
BUF................................................................................................. 226
BUF1............................................................................................... 226
13
INV.................................................................................................. 227
CAP ................................................................................................ 227
POLCAP ......................................................................................... 227
CAPMETER.................................................................................... 227
SCHOTTKY .................................................................................... 227
ZENER............................................................................................ 227
DIODE ............................................................................................ 228
DFLOP............................................................................................ 228
E2 ................................................................................................... 228
G2 ................................................................................................... 228
CURRENT ...................................................................................... 228
LOAD .............................................................................................. 229
LOAD2 ............................................................................................ 229
NJF ................................................................................................. 229
PJF ................................................................................................. 229
IND.................................................................................................. 229
IND2................................................................................................ 229
NMOS ............................................................................................. 229
NMOS4 ........................................................................................... 229
PMOS ............................................................................................. 230
PMOS4 ........................................................................................... 230
LTLINE............................................................................................ 230
NPN ................................................................................................ 230
NPN2 .............................................................................................. 230
PNP ................................................................................................ 230
PNP2 .............................................................................................. 231
RES ................................................................................................ 231
RES2 .............................................................................................. 231
SW .................................................................................................. 231
TLINE.............................................................................................. 231
SIGNAL........................................................................................... 231
CSW ............................................................................................... 231
OPAMP........................................................................................... 231
OPAMP2......................................................................................... 232
MESFET ......................................................................................... 232
XTAL............................................................................................... 232
CELL............................................................................................... 232
DIP10.............................................................................................. 232
DIP14.............................................................................................. 232
DIP16.............................................................................................. 233
DIP20.............................................................................................. 233
DIP8................................................................................................ 233
JUMPER ......................................................................................... 233
SIGNAL........................................................................................... 233
URC ................................................................................................ 234
URC2 .............................................................................................. 234
BATTERY ....................................................................................... 234
Opto Isolators........................................................................................ 234
4N25 ............................................................................................... 234
4N25A............................................................................................. 234
4N26 ............................................................................................... 234
4N27 ............................................................................................... 235
4N28 ............................................................................................... 235
CNY17-1 ......................................................................................... 235
CNY17-2 ......................................................................................... 235
CNY17-3 ......................................................................................... 235
14
MOC205 ......................................................................................... 235
MOC206 ......................................................................................... 235
MOC207 ......................................................................................... 235
PC817A .......................................................................................... 235
PC817B .......................................................................................... 235
PC817C .......................................................................................... 235
PC817D .......................................................................................... 235
Special Functions.................................................................................. 236
MODULATE.................................................................................... 236
CAPMETER.................................................................................... 236
VARISTOR ..................................................................................... 236
Filter Products ....................................................................................... 236
LTC1562-2...................................................................................... 236
LTC1562 ......................................................................................... 236
LTC1562A ...................................................................................... 236
Digital .................................................................................................... 237
AND ................................................................................................ 237
BUF................................................................................................. 237
BUF1............................................................................................... 237
DFLOP............................................................................................ 238
INV.................................................................................................. 238
OR .................................................................................................. 238
SCHMITT........................................................................................ 239
SCHMTBUF.................................................................................... 239
SCHMTINV..................................................................................... 240
SRFLOP ......................................................................................... 240
XOR ................................................................................................ 240
Diffschmtinv .................................................................................... 240
Diffschmtbuf.................................................................................... 241
Diffschmitt ....................................................................................... 241
PHIDET........................................................................................... 242
Comparators ......................................................................................... 242
LT1016............................................................................................ 242
LT1116............................................................................................ 242
LT1394............................................................................................ 242
LT1671............................................................................................ 242
LT1720............................................................................................ 242
LT1721............................................................................................ 242
LTC1041 ......................................................................................... 242
LTC1042 ......................................................................................... 243
LTC1440 ......................................................................................... 243
LTC1441 ......................................................................................... 243
LTC1442 ......................................................................................... 243
LTC1443 ......................................................................................... 243
LTC1444 ......................................................................................... 243
LTC1445 ......................................................................................... 243
LTC1540 ......................................................................................... 243
Preface ........................................................................................................ 244
15
SPICE Error Log Command 246
Web Update 247
1107 247
1173 247
E 247
F 247
G 247
H 248
LT1071 248
LT1072 248
LT1074 248
LT1083 248
LT1109 248
LT1109-12 248
LT1109-5 248
LT1109A 248
LT1109A-12248
LT1109A-5 248
LT1170 249
LT1170HV 249
LT1171 249
LT1171HV 249
LT1172 249
LT1172HV 249
LT1241 249
LT1300 249
LT1301 249
16
LT1302 249
LT1303 249
LT1303-5 249
LT1304 250
LT1304-3.3 250
LT1304-5 250
LT1305 250
LT1307 250
LT1307B 250
LT1308A 250
LT1308B 250
LT1309 250
LT1316 250
LT1375 250
LT1375-5 251
LT1108 251
LT1111-12 251
LT1110 251
LTC1261CS8-4 251
LTC1551CS8-4.1 251
LTC1551LCS8 251
LTC1551LCS8-4.1 251
LT1962-3.3 251
LT1761-2 251
LTC1475-3.3 251
LT1615 252
LTC1147-5 252
17
LTC1147L 252
LTC1147L-3.3 252
LTC1148 252
LTC1148-3.3 252
LTC1148-5 252
LTC1148HV 252
LTC1148HV-3.3 252
LTC1148HV-5 252
LT1244 253
LT1813 253
opto isolator section 253
special function blocks 253
Filterproducts 253
misc symbols 253
18
Introduction
SwitcherCAD III Overview
19
Hardware Requirements
Software Installation
20
SwitcherCAD III can be downloaded from the LTC website,
http://www.linear.com/software. A direct link to the
distributed file is
http://ltspice.linear.com/software/swcadiii.exe. The file
swcadiii.exe is a self-extracting gziped file that installs
SwitcherCAD III as it extracts.
License Agreement/Disclaimer
SwitcherCAD III -- License Agreement/Disclaimer
21
models used in the simulator whether provided by LTC or the
user.
22
Modes of Operation
Overview
In the next two modes, all the SPICE commands are visible
by the user. There is a menu item, Edit simulation
command, which helps you write the SPICE directive to run a
23
simulation. Schematic files meant to run in this mode have
a file extension of ".asc".
Synthesized Circuits
24
If a design can be found for your specification, it should
work for the worst case part. Note that the macromodels
are bases on typical performance. That means that if the
synthesizer finds a solution and you then increase the
output power, the design may not work at that load over the
product distribution. Also, no temperature considerations
are made. All circuits designed by the synthesizer will
keep the output voltage in regulation even down to zero
output current. Hence only a maximum output current is
required in the specification.
25
Analysis of these circuits is the same as for the
synthesized circuits. This mode of operation is basically
obsolete and has been replaced by the synthesized circuit
mode. These circuits can be edited an modified. By
default, they will be saved with a file extension of ".app"
but can also be saved with a file extension of ".asc"
Example Circuits
26
General Purpose Schematic Driven SPICE
27
Externally Generated Netlists
28
Efficiency Report
29
The efficiency of the DC-DC converter is derived in the
following manner. In order to identify the input and
output, there must be exactly one voltage source and one
current source. The voltage source is assumed to be the
input while the current source is assumed to be the output.
The circuit is run until steady state is sensed by the
simulator. This requires the SMPS macro models to be
written with information on how to detect steady state.
Usually this is detected by noting when the error amp
current, averaged over a clock cycle, diminishes to a small
value for several cycles. Then at a clock edge, the energy
stored in each reactance is noted and the simulation is run
for another ten clock cycles but now integrating the
dissipation in every device. At the clock edge of the last
cycle, the energy stored in every reactance is noted again
and the simulation is stopped. The efficiency is reported
as the ratio of output power delivered to the load by the
30
input power sourced by the input voltage after making an
adjustment for the change in energy stored in the
reactances. Since the dissipation of each device was also
noted, it is possible to look how close the energy checksum
is to zero.
Schematic Capture
Basic Schematic Editing
31
Unlike many schematic capture programs, this one was
written explicitly for running SPICE simulations. This
means that if you click on an object, the default behavior
is to plot the voltage on that wire or current through that
component, not select the object for editing or some other
editing behavior which would then invalidate the simulation
just performed. Hence, when you wish to move, drag or
delete objects, first select the move, drag or delete
command. Then you can select an object by clicking on it.
You can select multiple objects by dragging a box about
them. The program will stay in the move, drag, or delete
mode until the right mouse button is clicked or the Esc key
is pressed. All schematic edits can be undone or redone.
32
Redo: Redo the last Undo command.
Text: Place text on the schematic. This merely annotates
the schematic with information. This text has no
electrical impact on the circuit.
SPICE Directive: Place text on the schematic that will be
included in the netlist. This lets you mix schematic
capture with a SPICE netlist. It lets you set
simulation options, include files that contain models,
define new models, or use any other valid SPICE
commands. You can even use it to run a subcircuit that
you don't have a symbol for by stating an instance of
the model(a SPICE command that begins with and 'X') on
the schematic and including the definition.
SPICE Analysis: Enter/edit the simulation command. This
command is not available for circuits run directly from
the synthesizer. You must first save the circuit with a
".asc" file extension and then reopen it to edit the
simulation command.
Resistor: Place a new resistor on the schematic.
Capacitor: Place a new capacitor on the schematic.
Inductor: Place a new resistor on the schematic.
Diode: Place a new diode on the schematic.
Component: Place a new component on the schematic. The
command brings up a dialog that lets you browse and
preview the symbol database. This is a more general
form of the Resistor, Capacitor, Inductor, and Diode
commands.
Rotate: Rotate the sprited objects. Note this is greyed
out when there are no objected sprited.
Mirror: Mirror the sprited objects. Note this is greyed
out when there are no objected sprited.
Draw Wire: Click the left mouse button to start a wire.
Each mouse click will define a new wire segment. Click
on an existing wire segment to join the new wire with an
existing one. Right click once to cancel the current
wire. Right click again to quit this command. You can
draw wires through components such as resistors. The
wire will automatically be cut such that the resistor is
now in series with the wire.
33
Label Net: Specify the name of a node so an arbitrary one
isn't generated by the netlister for this node.
Place GND: Place a GROUND symbol. This is node "0", the
global circuit common.
Delete: Delete objects by clicking on them or dragging a
box around them.
Duplicate: Duplicate objects by clicking on them or
dragging a box around them. You can copy from one
schematic to another if they are both opened in the same
invocation of LTspice/SwitcherCAD III. Start the
Duplicate command in the window of the first schematic.
Then make the second schematic the active window and
type Ctrl-V.
Move: Click on or drag a box around the objects you wish
to move. Then you can move those objects to a new
location.
Paste: It is enabled in a new schematic window when
objects were already selected with the 'Duplicate'
command.
Drag: Click on or drag a box around the objects you wish
to drag. Then you can move those objects to a new
location and the attached the wires are rubber-band with
the new location.
Draw=>Line: Draw a line on the schematic. Such lines have
no electrical impact on the circuit, but can be useful
for annotating the circuit with notes.
Draw=>Rectangle: Draw a rectangle on the schematic. This
rectangle has no electrical impact on the circuit, but
can be useful for annotating the circuit with notes.
Draw=>Circle: Draw a circle on the schematic. This circle
has no electrical impact on the circuit, but can be
useful for annotating the circuit with notes.
Draw=>Arc: Draw an arc on the schematic. This arc has no
electrical impact on the circuit, but can be useful for
annotating the circuit with notes.
34
Label a node name
35
Schematic Colors
36
Placing New Components
Certain frequently used components; such as resistors,
capacitors, and inductors; can be selected for placing on
the schematic with a toolbar button.
37
PCB Netlist Extraction
The schematic menu command Tools=>Export Netlist allows you
to generate the ASCII netlist for PCB layout. Note that
you would have to make a set of symbols that have the same
order of pin netlist order. For example, if you want to
import an LTspice schematic's netlist into ExpressPCB you
would have to make a set of symbols for either LTspice or
ExpressPCB that had the same netlist order for every symbol
you use. Otherwise diodes could netlist backwards or
transistor lead connections could be scrambled.
Editing Components
Editing Components
38
1. Most visible component attribute fields can be edited
by pointing at it with the mouse and then right
clicking. The mouse cursor will turn into a text
caret when it's pointing at the text.
2. Many component types, such are resistors, capacitors,
inductors, diodes, bipolar transistors, MOSFET
transistors, JFET transistors, independent voltage
sources, independent current sources, and hierarchical
circuit blocks have special editors. These editors
can access the appropriate database of devices. To
use these editors, right mouse click on the body of
the component.
3. Place the mouse over a symbol, hold down the control
key, and click the right mouse button. A dialog box
will appear that will displays all available symbol
attributes. Next to each field is a check box to
indicate if the field should be visible on the
schematic.
39
Specialized Component Editors
40
General Attribute Editor
41
The attributes SpiceModel, Value, Value2, SpiceLine, and
SpiceLine2 are all part of the overall value of the
component. In terms of the way the component is netlisted
for SPICE, the component will generate a line of SPICE that
looks like this:
42
.lib <SpiceModel>
<name> node1 node2 [...] <Value2>
43
Adding the Pins
44
The "Pin Label Position" determines how the pin label is
presented. "TOP", "BOTTOM", "LEFT", and "RIGHT" are text
justifications. For example, if a pin label is TOP
justified, the pin(the label's text justification's anchor
point) will be above the label. If the symbol represents a
SPICE primitive element or a subcircuit from a library,
then the pin label has no direct electrical impact on the
circuit. However, if the symbol represents lower-level
schematic of a hierarchical schematic, then the pin name is
significant as the name of a net in the lower level
schematic.
Adding Attributes
45
The symbol's attributes can be overridden in the instance
of the symbol as a component in a schematic. For example,
if you have a symbol for a MOSFET with a prefix attribute
of 'M', it's possible to override the prefix to an 'X' on
an instance-by-instance basis so that the transistor can be
modeled as subcircuit instead.
Prefix: X
SpiceModel: <name of file including the spicemodel>
Value: <What ever you want visible on the schematic>
Value2: <The value as you want in the netlist>
46
Value2 would be made to coincide with a subcircuit name
defined in the file including the spicemodel and may pass
additional parameters to the subcircuit. When a symbol is
defined in this manner, an instance of the symbol as a
component on a schematic cannot be edited to have different
attributes.
Attribute Visibility
47
You can modify the text justification and contents of
attributes that you've already made visible by right mouse
clicking on the text of the attribute.
Hierarchy
Hierarchy Overview
48
sheet schematic while retaining the clarity of the smaller
schematics. Repeated circuitry to be easily handled in an
abstract manner. Blocks of circuitry can be libraried for
latter use in a different project.
Rules of Hierarchy
49
LTspice will look in the directory of the top-level
schematic for symbols and blocks to complete the circuitry
of the top-level schematic.
50
To open a schematic block as an instance of a block of
a higher-level schematic, first open the higher-level
schematic and then move the mouse to the body of the
instance of the symbol calling the block. When you
right mouse click on the body of the instance of that
symbol, a special dialog appears that allows you to
open the schematic. When you open the schematic in
this manner, you can cross probe the nodes and current
in the block. Note that you should have the options
"Save Subcircuit Node Voltages" and "Save Subcircuit
Device Currents" checked on the Save Defaults Pane of
the Control Panel. Also, if you've highlighted a node
on the top-level schematic, that node will be also
highlighted in the lower level block.
51
Waveform Viewer
Overview
Trace Selection
52
after selecting the delete command. The following
screen shot shows how to point at a pin current.
Notice that the mouse cursor turns into an icon that
looks like a clamp on ammeter when it's pointing at a
plotable current.
53
2. Menu command View=>Visible Traces:
54
3. Menu command View=>Add Trace:
55
Zooming
Waveform Arithmetic
56
3. Display the Fourier Transform of a Trace.
name | function
---------+-------------------------
abs(x) | absolute value
acos(x) | arc cosine of x
acosh(x) | arc hyperbolic cosine
asin(x) | arc sine
asinh(x) | arc hyperbolic sine
atan(x) | arc tangent
57
atan2(y,x) | four quadrant arc tangent of y/x
atanh(x) | arc hyperbolic tangent
cos(x) | cosine
cosh(x) | hyperbolic
exp(x) | exponential
ln(x) | natural logarithm
log(x) | natural logarithm
log10(x) | base 10 logarithm
sgn(x) | sign
sin(x) | sine
sinh(x) | hyperbolic sine
sqrt(x) | square root
tan(x) | tangent
tanh(x) | hyperbolic tangent
u(x) | unit step, 1 if x > 0., else 0.
buf(x) | 1 of x > .5, else 0
inv(x) | 0 of x > .5, else 1
uramp(x) | x if x > 0., else 0.
int(x) | convert x to integer
floor(x) | integer equal or less than x
ceil(x) | integer equal or greater than x
rand(x) | random number between 0 and 1.
min(x,y) | the less of x or y
max(x,y) | the greater of x or y
limit(x,y,z) | equivalent to min(max(x,y),z)
if(x,y,z) | if x > .5, then y else z
table(x,a,b,...) | interpolate a value for x
| based on a look up table given
| as a set of pairs of points
symbol | Operation
-------+-----------------------------------
& | convert the expressions to either
| side to Boolean, then AND
|
| | convert the expressions to either
| side to Boolean, then OR
58
|
^ | convert the expressions to either
| side to Boolean, then XOR
|
< | TRUE if expression on the left is
| less than the expression on the
| right, otherwise false
|
> | TRUE if expression on the left is
| greater than the expression on the
| right, otherwise FALSE
|
<= | TRUE if expression on the left is
| less than or equal the expression
| on the right, otherwise FALSE
|
>= | TRUE if expression on the left is
| greater than or equal the
| expression on the right, otherwise
| FALSE
|
+ | addition
|
- | subtraction
|
* | multiplication
|
/ | division
|
** | raise left hand side to power of
| right hand side
|
! | convert the following expression
| to Boolean and invert
59
constant | value
---------+-----------------------
e | 2.7182818284590452354
pi | 3.14159265358979323846
k | 1.3806503e-23
q | 1.602176462e-19
60
User-Defined Functions
The menu command Plot Settings=>Edit Plot Defs File
allows you to enter your own function definitions and
parameter definitions for use in the waveform viewer.
These functions are kept in the file plot.defs in the
same directory as the SwCADIII executable, scad3.exe.
61
.func Pythag(x,y) {sqrt(x*x+y*y)}
Axis Control
When you move the mouse cursor beyond the data plotting
region, the cursor turns into a ruler. This tries to
indicate that you are pointing at that axis' attributes.
When you left click you can enter a dialog to manually
enter that axis' range and the nature of the plot. For
example, for real data, if you move the mouse to the bottom
of the screen and left click, you can enter a dialog to
change the horizontal quantity plotted. This lets you make
parametric plots.
Plot Panes
62
Multiple plot panes can be displayed on one window.
This allows better separation between traces and
allows different traces to be independently
autoscaled. Traces can be dragged between panes by
dragging the label. A copy of a trace can be made on
another pane by holding down the control key when you
release the mouse button.
Color Control
63
Attached Cursors
64
When there are attached cursors active, a
readoutdisplay becomes visible that will tell you the
location and difference of the cursors.
65
Note that there is also mouse cursor readout independent of
the above attached cursor readout. As you move the mouse
over the waveform window, the mouse position is readout on
the status bar. If you drag the mouse as if you were going
to zoom, the size of box is displayed on the status bar.
This lets you quickly measure differences with the mouse
cursor. If the horizontal axis is time, then this time
difference is also converted to frequency.
66
You can measure differences in this manner without
performing the zoom by either pressing the Esc key or right
mouse button before releasing the left mouse button.
67
Each analysis type; .tran, .ac, .noise, etc.; has its
own entry in the plot settings file. It isn't
possible to load the settings from one analysis type
to another. But you can use the plot settings file
from another simulation of the same analysis type.
LTspice
LTspice Overview
68
Introduction
Circuit Description
69
this can be omitted. Any lines after the line ".END" are
ignored.
70
* A comment
Suffix multiplier
----------------------
T 1e12
G 1e9
Meg 1e6
K 1e3
Mil 25.4e-6
M 1e-3
u(or µ) 1e-6
n 1e-9
p 1e-12
f 1e-15
71
Unrecognized letters immediately following a number or
engineering multiplier are ignored. Hence, 10, 10V,
10Volts, and 10Hz all represent the same number, and
M, MA, MSec, and MMhos all represent the same scale
factor(1e-3). A common error is to draft a resistor
with value of 1M, thinking of a one MegaOhm resistor,
however, 1M is interpreted as a one milliOhm resistor.
This is unfortunate, but is necessary for
compatibility with standard SPICE practice.
Component | Syntax
---------------------------+-------------------------------
special functions | Axx n1 n2 n3 n4 n5 n6 n7 n8
| + <model> [extra parameters]
arbitrary behavioral source| Bxx n+ n- <V=... or I=...>
capacitor | Cxx n+ n- <capacitance>
| + [ic=<val.>] [Rser=<val.>]
| + [Lser=<val.>] [Rpar=<val.>]
| + [Cpar=<val.>] [m=<val.>]
diode | Dxx A K <model> [area]
voltage dependent voltage | Exx n+ n- nc+ nc- <gain>
current dependent current | Fxx n+ n- <Vnam> <gain>
voltage dependent current | Gxx n+ n- nc+ nc- <transcond.>
current dependent voltage | Hxx n+ n- <Vnam> <transres.>
independent current source | Ixx n+ n- <current>
JFET transistor | Jxx D G S <model> [area] [off]
| +[IC=<Vds,Vgs>] [temp=<T>]
mutual inductance | Kxx L1 L2 <coeff.>
inductance | Lxx n+ n- <inductance>
72
| + [ic=<val.>] [Rser=<val.>]
| + [Rpar=<val.>]
| + [Cpar=<val.>] [m=<val.>]
MOSFET transistor | Mxx D G S B <model> [L=<len>]
| + [W=<width>] [AD=<area>]
| + [AS=<area>] [PD=<perim>]
| + [PS=<perim>] [NRD=<value>]
| + [NRS=<value>] [off]
| + [IC=<Vds, Vgs, Vbs>
| + [temp=<T>]
lossy transmission line | Oxx L+ L- R+ R- <model>
bipolar transistor | Qxx C B E [S] <model> [area]
| + [off] [IC=Vbe,Vce][temp=<T>]
resistance | Rxx n1 n2 <value>
voltage controlled switch | Sxx n1 n2 nc+ nc- <model>
| + [on,off]
lossless transmission line | Txx L+ L- R+ R- ZO=<value>
| + TD=<value>
uniform RC-line | Uxx n1 n2 ncommon <model>
| + L=<len> [N=<lumps>]
independent voltage source | Vxx n+ n- <voltage>
current controlled switch | Wxx n1 n2 <Vnam> <model>
| + [on,off]
subcircuit | Xxx n1 n2 n3... <subckt name>
MESFET transistor | Zxx D G S model [area] [off]
| + [IC=<Vds,Vgs>]
Dot Commands
C. Simulator directives -- dot commands
73
.AC -- Perform an small signal AC analysis
keyword Nsteps
------------------------------------------------
oct No. of steps per octave
dec No. of steps per decade
lin Total number of linearly spaced
steps between StartFreq and EndFreq
Syntax: .backanno
74
used to refer to port currents by the pin name. This
allows you to plot the current into the pin of a symbol by
mouse clicking on the symbol's pin.
75
.ENDS – End of Netlist
76
The .func statement can be included inside a subcircuit
definition to limit the scope the function to that
subcircuit and the subcircuits invoked by that subcircuit.
77
that of the form "$G_" are also global nodes without
being mentioned in a .global statement.
78
No file name extention is assumed. You must use ".inc
myfile.lib" not ".inc myfile" if the file is called
"myfile.lib"
79
the electrical behavior is scaled to the size of the
instance.
80
after a solution pass is done with the voltage
specified on the nodeset directive, the constraint is
removed for subsequent iterative passes.
81
.OPTIONS -- Set simulator options
| data |default|
Keyword | type | value | Description
------------+------+-------+-------------------------------
abstol | num. | 1pA | Absolute current error
| | | tolerance
| | |
baudrate | num. |(none) | Used for eye diagrams. Tells
| | | the waveform graphic package
| | | how to wrap the time ordinate
| | | to overlay the bit transitions
| | |
chgtol | num. | 10fC | Absolute charge tolerance
| | |
defad | num. | 0. | Default MOS drain diffusion
| | | area
| | |
defas | num. | 0. | Default MOS source diffusion
| | | area
| | |
defl | num. | 100µm | Default MOS channel length
| | |
defw | num. | 100µm | Default MOS channel width
| | |
delay | num. |(none) | Used for eye diagrams. Shifts
| | | the bit transitions in the
| | | diagram.
| | |
flagloads | flag | false | flag external current sources
| | | as loads
| | |
frain | num. |(none) | Input node for freq. response
| | | analysis
| | |
fraout | num. |(none) | Output node for freq. response
| | | analysis
| | |
frastop | num. |(none) | high freq. for freq. response
| | | analysis
| | |
frastart | num. |(none) | lowest frequency for frequency
| | | response analysis
| | |
fraamp | num. |(none) | fra func ampl. for freq.
| | | response analysis
82
| | |
fravref | num. |(none) | additional DC offset of Vin
| | | Freq. response analysis
| | |
Gmin | num. | 1e-12 | Conductance added to every PN
| | | junction to aid convergence
| | |
gminsteps | num. | 25 | number of steps to every PN
| | | junction to achieve
convergence
| | |
itl1 | num. | 100. | DC iteration count limit
| | |
itl2 | num. | 50. | DC transfer curve iteration
| | | count limit
| | |
itl4 | num. | 10. | Transient analysis time point
| | | iteration count limit
| | |
itl6 | num. | 25. | number of steps to use in
| | | source stepping(used for
| | | difficult DC operating point
| | | solutions)
| | |
srcsteps | num. | 25. | alternative name for itl6
| | |
maxclocks | num. | infin.| max number of clock cycles to
| | | save
| | |
maxstep | num. | infin.| Maximum step size for
transient
| | | analysis
| | |
method |string| trap | Numerical integration
| | | method, either trapezoidal
| | | or Gear
| | |
minclocks | num. | 10 | min. number of clock cycles to
| | | save
| | |
nomarch | flag | false | Do not plot marching waveforms
| | |
noopiter | flag | false | Go directly to gmin stepping.
| | |
oversample | num. |(none) | For Freq. response analysis
| | |
pivrel | num. | 1e-3 | Relative ratio between the
83
| | | largest column entry and
| | | an acceptable pivot value.
| | |
pivtol | num. | 1e-13 | Absolute minimum value for
| | | a matrix entry to be accepted
| | | as a pivot.
| | |
reltol | num. | 0.001 | Relative error tolerance
| | |
startclocks | num. | 5 | number of clock cycles to wait
| | | before looking for steadystate
| | |
sstol | num. | 0.001 | rel. error for steady-state
| | | detection
| | |
temp | num. | 27°C | Default temperature for
circuit
| | | element instances that don't
| | | specify temperature
| | |
tnom | num. | 27°C | Default temperature at which
| | | device parameters were
| | | measured for models that don't
| | | specify this temperature
| | |
trtol | num. | 1.0 | Set the transient error
| | | tolerance. This parameter is
| | | an estimate of the factor by
| | | which the actual truncation
| | | error is overestimated.
| | |
trytocompact| flag |not set| When flagged, the simulator
| | | tries to condense LTRA
| | | transmission lines' history of
| | | input voltages and currents.
| | |
tstepload | num. | 1µs | Transition time for step load
| | | response
| | |
vntol | num. | 1µV | Sets the absolute voltage
| | | error tolerance.
84
The .param directive allows the creation of user-
defined variables. This is useful for associating a
name with a value for the sake of clarity and
parameterizing subcircuits so that abstract circuits
can be saved in libraries.
*
* This is the circuit definition
.params x=y y=z z=1k*tan(pi/4+.1)
X1 a b 0 divider top=x bot=z
V1 a 0 pulse(0 1 0 .5µ .5µ 0 1µ)
.tran 3µ
.end
85
.SAVE -- Limit the amount of saved data.
The directive .save I(Q2) will save the base, collector and
emitter currents of bipolar transistor Q2. It is not
possible to save only one terminal.
86
Step independent current source I1 from 10u to 100u in step
increments of 10u.
87
*
* This is the circuit definition
X1 a b 0 divider
V1 a 0 pulse(0 1 0 .5µ .5µ 0 1µ)
.tran 3µ
.end
Note that unique names based on the subcircuit name and the
subcircuit definition element names are made for the
circuit elements inserted by subcircuit expansion.
The syntax
88
is equivalent to
Examples:
.TF V(out) Vin
.TF V(5,3) Vin
.TF I(Vload) Vin
89
also used as an initial step-size guess. LTspice uses
waveform compression, so this parameter is of little value
and can be omitted or set to zero. Tstop is the duration
of the simulation. Transient analyses always start at time
equal to zero. However, if Tstart is specified, the
waveform data between zero and Tstart is not saved. This
is a means of managing the size of waveform files by
allowing startup transients to be ignored. The final
parameter dTmax, is the maximum time step to take while
integrating the circuit equations. If Tstart or dTmax is
specified, Tstep must be specified.
LTspice can write .wav audio files. These files can then
be listened to or be used as the input of another
simulation.
90
channels, sample rate or number of bits due to limitations
of your PC's codec. But these .wav files may still be
used in LTspice as input for another simulation. See the
section LTspice=>Circuit Elements=>V. Voltage Source and I.
Current source for information on playing a .wav file into
a LTspice simulation.
UIC
91
cannot find a short enough time step to make the
current nonsingular, and a "time step too small
convergence fail" message is issued.
startup
steady
nodiscard
step
92
1) compute to steady state and discard the history
unless nodiscard is set.
2) ramp the step load to the next value in the list of
currents to step over a period specified by the option
tstepload.
3) compute to steady state
4) change the step load to the next value in the list or
quit if there is none.
Circuit Elements
A. Special functions.
93
Syntax: Annn n001 n002 n003 n001 n004 n005 n006 n007 n008
<model> [instance parameters]
INV, BUF, AND, OR, and XOR are generic idealized behavioral
gates. All gates are netlisted with eight terminals.
These gates require no external power. Current is sourced
or sunk from the complimentary outputs, terminals 6 and 7,
and returned through device common, terminal 8. Terminals
1 through 5 are inputs. Unused inputs and outputs are to
be connected to terminal 8. The digital device compiler
recognizes that as a flag that that terminal is not used
and removes it from the simulation. This leads to the
potentially confusing situation where AND gates act
differently when an input is grounded or at zero volts. If
ground is the gate's common, then the grounded input is not
at a logic false condition, but simply not part of the
simulation. The reason that these gates are implemented
like that is that this allows one device to act as 2-, 3-,
4- or 5- input gates with true, inverted, or complimentary
output with no simulation speed penalty for unused
terminals. That is, the AND device acts as 12 different
types of AND gates. The gates default to 0V/1V logic with
a logic threshold of .5V, no propagation delay, and a 1Ohm
output impedance. Output characteristics are set with
these instance parameters:
94
Rout | 1 | output impedance
Rhigh | Rout | logic high level impedance
Rlow | Rout | logic low level impedance
95
The MODULATE device is a voltage controlled oscillator.
See the example schematic .\examples\Educational\PLL.asc.
The instantaneous oscillation frequency is set by the
voltage on the FM input. The conversion from voltage to
frequency is linear and set by the two instance parameters,
mark and space. Mark is the frequency when the FM input is
at 1V and space is the frequency when the input is at 0V.
The amplitude is set by the voltage on the AM input and
defaults to 1V if that input is unused(connected to the
MODULATE common).
96
Expressions can contain the following:
name | function
---------+-------------------------
abs(x) | absolute value
acos(x) | arc cosine of x
acosh(x) | arc hyperbolic cosine
asin(x) | arc sine
asinh(x) | arc hyperbolic sine
atan(x) | arc tangent
atan2(y, x) | four quadrant arc tangent of y/x
atanh(x) | arc hyperbolic tangent
cos(x) | cosine
cosh(x) | hyperbolic
exp(x) | exponential
ln(x) | natural logarithm
log(x) | natural logarithm
log10(x) | base 10 logarithm
97
sgn(x) | sign
sin(x) | sine
sinh(x) | hyperbolic sine
sqrt(x) | square root
tan(x) | tangent
tanh(x) | hyperbolic tangent
u(x) | unit step, 1 if x > 0., else 0.
buf(x) | 1 of x > .5, else 0
inv(x) | 0 of x > .5, else 1
uramp(x) | x if x > 0., else 0.
!(x) | alternative syntax for inv(x)
int(x) | convert x to integer
floor(x) | integer equal or less than x
ceil(x) | integer equal or greater than x
rand(x) | random number between 0 and 1.
min(x,y) | the less of x or y
max(x,y) | the greater of x or y
limit(x,y,z) | equivalent to min(max(x,y),z)
if(x,y,z) | if x > .5, then y else z
table(x,a,b,c,d,...) | interpolate a value for x based
| on a look up table given as a
| set of pairs of points
| Description
--+---------------------------------------------
& | convert the expressions to either side to
| Boolean, then AND
| | convert the expressions to either side to
| Boolean, then OR
^ | convert the expressions to either side to
| Boolean, then XOR
|
< | true if expression on the left is less than
| the expression on the right, otherwise false
> | true if expression on the left is greater
| than the expression on the right, otherwise
| false
<=| true if expression on the left is less than
| or equal the expression on the right,
| otherwise false
>=| true if expression on the left is greater
| than or equal the expression on the right,
98
| otherwise false
|
+ | floating point addition
- | floating point subtraction
|
* | floating point multiplication
/ | floating point division
|
**| raise left hand side to power of right hand
| side
! | convert the following expression to Boolean
| and invert
C. Capacitor
99
+ [Cpar=<value>] [m=<value>]
+ [RLshunt=<value>]
name | parameter
------+---------------------------------
Rser | equivalent series resistance
Lser | equivalent series inductance
Rpar | equivalent parallel resistance
Cpar | equivalent parallel capacitance
RLshunt | shunt resistance across Lser
m | number of parallel units
ic | initial voltage(used only if uic
| is flagged on the .tran card)
100
simulation technology to simulate this model of a physical
capacitor without any internal nodes. This makes the
simulation matrix smaller, faster to compute and less
likely to be singular at short time steps.
Cnnn n1 n2 Q=100p*x
Cnnn n1 n2 Q=x*if(x<0,100p,300p)
101
D. Diode
Examples:
D1 SW OUT MyIdealDiode
.model MyIdealDiode D(Ron=.1 Roff=1Meg Vfwd=.4)
D2 SW OUT dio2
.model dio2 D(Is=1e-10)
102
This idealized model is used if any of Ron, Roff, Vfwd,
Vrev or Rrev is specified in the model.
103
check if the diode is being used beyond its rated
capability. The following parameters apply to either model.
These parameters do not scale with area.
Symbol Names: E, E2
104
extrapolated as a constant voltage of the last point of the
look-up table.
105
F. Current Dependent Current Source
Symbol Name: F
Symbol Names: G, G2
106
This circuit element asserts an output current between the
nodes n+ and n- that depends on the input voltage between
nodes nc+ and nc-. This is a linearly dependent source
specified solely by a constant gain.
107
Syntax: Gxxx n+ n- value={<expression>}This is an
alternative syntax of the behavioral source, rbitrary
behavioral voltage source, B.
Symbol Name: H
I. Current Source
108
Syntax: Ixxx n+ n- <current> [AC=<amplitude>] [load]
109
Iamp amplitude Amps
Freq frequency Hz
Td delay seconds
Theta damping factor 1/seconds
Phi phase of sine wave degrees
Ncycles number of cycles wave cycles
For times less than Td or times after completing Ncycles,
have run, the output current is given
byIoffset+Iamp*sin(pi*phi/180)Otherwise the current is
given by
Ioffset+Iamp*exp(-(time-Td)*Theta)*sin(2*pi*Freq*(time-
Td)+pi*phi/180)
For times less than Td1, the output current is V1. For
times between Td1 and Td2 the current is given by
I1+(I2-I1)*(1-exp(-(time-Td1)/Tau1)).
110
I1+(I2-I1)*(1-exp(-(time-Td1)/Tau1))
+(I1-I2)*(1-exp(-(time-Td2)/Tau2)).
Ioff+Iamp*sin((2.*pi*Fcar*time)+MDI*sin(2.*pi*Fsig*time)).
111
current in the list. Then the current is stepped to the
next value in the list. The simulation proceeds until
steady state is achieved at that current. Then the current
is stepped to the next value and the process repeats until
the list is exhausted.
For times before t1, the current is i1. For times between
t1 and t2, the current varies linearly between i1 and i2.
There can be any number of time, current points given. For
times after the last time, the current is the last current.
112
J. JFET transistor
Examples:
J1 0 in out MyJFETmodel
.model MyJFETmodel NJF(Lambda=.001)
J2 0 in out MyPJFETmodel
.model MyPJFETmodel PJF(Lambda=.001)
113
name parameter units default example
--------------------------------------------------------
Vto threshold voltage V -2.0 -2.0
Beta transconductance A/V/V 1e-4 1e-3
parameter
Lambda channel-length 1/V 0 1e-4
modulation parameter
Rd drain ohmic resistance Ohm 0 100
Rs source ohmic resistance Ohm 0 100
Cgs zero-bias G-S junction F 0 5pF
capacitance
Cgd zero-bias G-D junction F 0 1pF
capacitance
PB gate junction potential V 1 0.6
Is gate junction saturation A 1e-14 1e-14
current
B doping tail parameter - 1 1.1
KF flicker noise coefficient - 0
AF flicker noise exponent - 1
FC coeff. for forward- - 0.5
depletion capacitance
Tnom parameter measurement °C 27 50
temperature
betatce transconductance %/°C 0
parameter exponential
temperature coefficient
vtotc Threshold voltage V/°C 0
temperature coefficient
N Gate junction emission - 1
coefficient
Isr Gate junction A 0
recombination current
parameter
Nr emission coefficient - 2
for Isr
alpha ionization coefficient 1/V 0
Vk ionization knee current V 0
xti Saturation current - 3
temperature coefficient
K. Mutual Inductance
114
Syntax: Kxxx L1 L2 [L3 ...] <coefficient>
The line
K1 L1 L2 L3 L4 1.
K1 L1 L2 1.
K2 L2 L3 1.
K3 L3 L4 1.
K4 L1 L3 1.
K5 L2 L4 1.
K6 L1 L4 1.
L. Inductor
115
+ [Cpar=<value>] [m=<value>]
name | parameter
------+---------------------------------
Rser | equivalent series resistance
Rpar | equivalent parallel resistance
Cpar | equivalent parallel capacitance
m | number of parallel units
ic | initial current(used only if uic
| is flagged on the .tran card)
116
By default, LTspice will supply losses to inductors to aid
SMPS transient analysis. For SMPS, these losses are of
usually of no consequence, but may be turned off if
desired. On the "Tools=> Control Panel=>Hacks!" page,
uncheck "Supply a min. inductor damping if no Rpar is
given." This setting will be remembered between
invocations of the program. There is also a default series
resistance of 1 milliOhm for inductors that aren't
mentioned in a mutual inductance statement. This Rser
allows SwitcherCAD III to integrate the inductance as a
Norton equivalent circuit instead of Thevenin equivalent in
order to reduce the size of the circuit's linearized
matrix. If you don't want LTspice to introduce this
minimum resistance, you must explicitly set Rser=0 for that
inductor. This will require LTspice to use the more
cumbersome Thevenin equivalent of the inductor during
transient analysis.
M. MOSFET
Monolithic MOSFET:
M1 Nd Ng Ns 0 MyMOSFET
.model MyMOSFET NMOS(KP=.001)
117
M1 Nd Ng Ns Nb MypMOSFET
.model MypMOSFET PMOS(KP=.001)
Example:
M1 Nd Ng Ns Si4410DY
.model Si4410DY VDMOS(Rd=3m Rs=3m Vto=2.6 Kp=60
+ Cgdmax=1.9n Cgdmin=50p Cgs=3.1n Cjo=1n
+ Is=5.5p Rb=5.7m)
118
operating point. The optional TEMP value is the
temperature at which this device is to operate, and
overrides the temperature specification on the .OPTION
control line. The temperature specification is ONLY
valid for level 1, 2, 3, and 6 MOSFETs, not for level
4, 5 or 8 BSIM devices.
level model
------------------------------------------------------
1 Shichman-Hodges
119
Electronics Research Laboratory University of
California, Berkeley, October 1990)
120
nonlinear depletion-layer capacitances for both substrate
junctions divided into bottom and periphery, which vary as
the MJ and MJSW power of junction voltage respectively, and
are determined by the parameters CBD, CBS, CJ, CJSW, MJ,
MJSW and PB. Charge storage effects are modeled by the
piecewise linear voltages-dependent capacitance model
proposed by Meyer. The thin-oxide charge-storage effects
are treated slightly different for the Level=1 model. These
voltage dependent capacitances are included only if Tox is
specified.
121
capacitance
Is bulk junction saturation A 1e-14 1e-15
current
Pb bulk junction potential V 0.8 0.87
Cgso gate-source overlap F/m 0. 4e-11
capacitance per meter
channel width
Cgdo gate-drain overlap F/m 0. 4e-11
capacitance per meter
channel width
Cgbo gate-bulk overlap F/m 0. 2e-10
capacitance per meter
channel length
Rsh drain and source Ohms 0. 10.
diffusion sheet
resistance
Cj zero-bias bulk junction F/m/m 0. 2e-4
bottom capacitance per
sq-meter of junction
area
Mj bulk junction bottom - 0.5 0.5
grading coefficient
Cjsw zero-bias bulk junction F/m 0. 1e-9
sidewall capacitance per
meter of junction
perimeter
Mjsw bulk junction sidewall - 0.50 level 1
grading coefficient - 0.33 level 2,3
Js bulk junction saturation A/m 0. 1e-8
current per sq-meter of
junction area
Tox oxide thickness m 1e-7 1e-7
Nsub substrate doping 1/cm/cm/cm 0. 4e15
Nss surface state density 1/cm/cm 0. 1e10
Nfs fast surface state 1/cm/cm 0. 1e10
density
TPG type of gate material: - 1.
+1 opp. to substrate
-1 same as substrate
0 Al gate
XJ metallurgical junction m 0. 1µ
depth
LD lateral diffusion m 0. 0.8µ
UO surface mobility cm*cm/V/s 600 700
Ucrit critical field for V/cm 1e4 1e4
mobility degradation
(MOS2 only)
122
Uexp critical field exponent - 0. 0.1
in mobility degradation
(MOS2 only)
UTRA transverse field - 0. 0.3
coefficient (mobility)
(deleted for MOS2)
Vmax maximum drift velocity m/s 0. 5e4
of carriers
Neff total channel-charge - 1. 5.0
(fixed and mobile)
coefficient (MOS2 only)
KF flicker noise coefficient - 0. 1e-26
AF flicker noise exponent - 1. 1.2
FC coefficient for forward- - 0.5
bias depletion
capacitance formula
DELTA width effect on threshold - 0. 1.
voltage(MOS2 and MOS3)
THETA mobility modulation(MOS3 1/V 0. 0.1
only)
ETA static feedback (MOS3 - 0. 1.
only)
KAPPA saturation field - 0.2 0.5
factor(MOS3 only)
Tnom parameter measurement °C 27 50
temperature
123
MOSFET models. In particular, (i) the body diode of a
VDMOS transistor is connected differently to the
external terminals than the substrate diode of a
monolithic MOSFET and (ii) the gate-drain
capacitance(Cgd) non-linearity cannot be modeled with
the simple graded capacitances of monolithic MOSFET
models. In a VDMOS transistor, Cgd abruptly changes
about zero gate-drain voltage(Vgd). When Vgd is
negative, Cgd is physically based a capacitor with the
gate as one electrode and the drain on the back of the
die as the other electrode. This capacitance is
fairly low due to the thickness of the non-conducting
die. But when Vgd is positive, the die is conducting
and Cgd is physically based on a capacitor with the
thickness of the gate oxide.
124
For positive Vgd, Cgd varies as the hyperbolic tangent
of Vgd. For negative Vdg, Cgd varies as the arc
tangent of Vgd. The model parameters a, Cgdmax, and
Cgdmax parameterize the gate drain capacitance. The
source-drain capacitance is supplied by the graded
capacitance of a body diode connected across the
source drain electrodes, outside of the source and
drain resistances.
125
Vj Body diode junction V 0.75
potential
m Body diode grading - 0.5 0.5
coefficient
Fc Body diode forward - 0.5
bias junction fit
parameter
Example:
O1 in 0 out 0 MyLossyTline
.model MyLossyTline LTRA(len=1 R=10 L=1u C=10n)
126
This is a single-conductor lossy transmission line. N1 and
N2 are the nodes at port 1. N3 and N4 are the nodes at
port 2. A model card is required to define the electrical
characteristics of this circuit element.
Q. Bipolar transistor
127
Syntax: Qxxx Collector Base Emitter [Substrate Node] model
[area]
+ [off] [IC=<Vbe, Vce>]
[temp=<T>]
Example:
Q1 C B E MyNPNmodel
.model MyNPNmodel NPN(Bf=75)
128
exponent, XTI. Additionally base current temperature
dependence is modeled by the beta temperature exponent
XTB in the new model. The values specified are
assumed to have been measured at the temperature TNOM,
which can be specified on the .OPTIONS control line or
overridden by a specification on the .model line.
129
Itf high-current parameter
for effect on TF A 0
PTF excess phase at freq=1.0/(TF*2PI) Hz ° 0
Cjc B-C zero-bias depletion capacitance F 0
Vjc B-C built-in potential V 0.75
Mjc B-C junction exponential factor - 0.33
Xcjc fraction of B-C depletion capacitance - 1
connected to internal base node
Tr ideal reverse transit time sec 0
Cjs zero-bias collector-substrate
capacitance F 0
Vjs substrate junction built-in potential V 0.75
Mjs substrate junction exponential factor - 0
Xtb forward and reverse beta
temperature exponent - 0
Eg energy gap for temperature
effect on IS eV 1.11
Xti temperature exponent for effect on IS - 3
Kf flicker-noise coefficient - 0
Af flicker-noise exponent - 1
Fc coefficient for forward-bias
depletion capacitance formula - 0.5
Tnom Parameter measurement temperature °C 27
cn Quasi-saturation temperature 2.42 NPN
coefficient for hole mobility 2.2 PNP
d Quasi-saturation temperature .87 NPN
coefficient for scattering- .52 PNP
limited hole carrier velocity
gamma epitaxial region doping factor 1e-11
qco epitaxial region charge factor Coul 0
quasimod Quasi-saturation flag for - 0
temperature dependence
rco epitaxial region resistance Ohm 0
vg Quasi-saturation extrapolated V 1.206
bandgap voltage at 0°K
vo carrier mobility knee voltage V 10.
Tre1 Re linear temperature coefficient /°C 0
Tre2 Re quadratic temperature /°C/°C 0
coefficient
Trb1 Rb linear temperature coefficient /°C 0
Trb2 Rb quadratic temperature /°C/°C 0
coefficient
Trc1 Rc linear temperature coefficient /°C 0
Trc2 Rmb quadratic temperature /°C/°C 0
coefficient
Trm1 Rmb linear temperature /°C 0
coefficient
130
Trm2 Rc quadratic temperature /°C/°C 0
coefficient
Iss Substrate junction saturation A 0
current
Ns Substrate junction emission - 1
coefficient
R. Resistor
Symbol Names: SW
Example:
S1 out 0 in 0 MySwitch
131
.model MySwitch SW(Ron=.1 Roff=1Meg Vt=0 Vh=-.5 Lser=10n
Vser=.6)
The voltage between nodes nc+ and nc- controls the switch's
impedance between nodes n1 and n2. A model card is
required to define the behavior of the switch. See the
schematic file .\examples\Educational\Vswitch.asc to see an
example of a model card placed directly on a schematic as a
SPICE directive.
132
Symbol Name: TLINE
U. Uniform RC-line
133
The URC line is made up strictly of resistor and capacitor
segments unless the ISPERL parameter is given a nonzero
value, in which case the capacitors are replaced with
reverse-biased diodes with a zero-bias junction capacitance
equivalent to the capacitance replaced, and with a
saturation current of ISPERL amps per meter of transmission
line and an optional series resistance equivalent to RSPERL
ohms per meter.
V. Voltage Source
134
Voltage sources have historically been used as the current
meters in SPICE and are used as current sensors for
current-controlled elements. If Rser is specified, the
voltage source can not be used as a sense element for F, H,
or W elements. However, the current of any circuit
element, including the voltage source, can be plotted.
135
Syntax: Vxxx n+ n- SINE(Voffset Vamp Freq Td Theta Phi
Ncycles)
Voffset+Vamp*sin(pi*Phi/180)
Voffset+Vamp*exp(-(time-
Td)*Theta)*sin(2*pi*Freq*(time-Td)+pi*Phi/180)
136
For times less than Td1, the output voltage is V1. For
times between Td1 and Td2 the voltage is given by
V1+(V2-V1)*(1-exp(-(time-Td1)/Tau1)).
V1+(V2-V1)*(1-exp(-(time-Td1)/Tau1))
+(V1-V2)*(1-exp(-(time-Td2)/Tau2)).
Voff+Vamp*sin((2.*pi*Fcar*time)+MDI*sin(2.*pi*Fsig*tim
e)).
137
For times before t1, the voltage is v1. For times between
t1 and t2, the voltage varies linearly between v1 and v2.
There can be any number of time, voltage points given. For
times after the last time, the voltage is the last voltage.
Example:
138
Current Controlled Switch Model Parameters
X. Subcircuit
Symbol Names:
139
LT1351 LT1371 LT1372 LT1375-5
LT1375
LT1376-5 LT1376 LT1377 LT1413
LT146
LT1490 LT1498 LT1533 LT1610
LT1611
LT1613 LT1614 LT1627 LT1676
LT1735
LTC1047 LTC1174-3.3 LTC1174-5 LTC1174
LTC1174HV-3.3
LTC1174HV-5 LTC1174HV LTC1625 LTC1628
LTC1736
(and others)
* calling a subcircuit
*
* This is the circuit
X1 in out 0 divider top=9K bot=1K
V1 in 0 pulse(0 1 0 .5m .5m 0 1m)
Z. MESFET transistor
140
Syntax: Zxxx D G S model [area] [off] [IC=<Vds, Vgs>]
Control Panel
Accessing the Control Panel
141
Compression
142
Absolute Current tolerance[A]: The current error allowed be
the compression algorithm.
Operation
143
Run LTspice in a Separate Thread: It should always be
checked.
144
circuit display control use. Only one dot is required for
editing.
Save Defaults
145
SPICE
146
One default you may want to change is Trtol. Most
commercial SPICE programs default this to 7. In LTspice
this defaults to 1 so that simulations using the SMPS macro
models are less likely to show any simulation artifacts in
their waveforms. Trtol more affects the timestep strategy
than directly affects the accuracy of the simulation. For
transistor-level simulations, a value larger than 1 is
usually a better overall solution. You might find that you
get a speed of 2x if you increase trtol with out adversely
affecting simulation accuracy.
147
Netlist Options
Hacks
148
Usually you can leave these options as they are. If you
have frequently updated the program over the web, you might
want to press "Reset to Default Values" to reset to the
current recommended settings.
Drafting Options
149
Allow direct component pin shorts: Normally you can draw a
wire directly through a component and the wire segment
shorting pins is deleted. If you check it, the shorting
wire will not be automatically deleted.
150
Orthogonal snap wires: Force wires to be drawn in vertical
and horizontal segments while drawing. If not checked, a
wire can drawn at any angle and will snap to any grid.
Holding down the control key will momentarily toggle the
current setting while drawing wires.
Internet Option
151
This pane of the Control Panel is used for the incremental
updates obtained from the web. It should not be required
to make any adjustments to these settings.
FAQs
Installation Problems
152
That problem should be completely fixed in the current
version of LTspice/SwCAD III. But you can go to the menu
item Tools=>Control Panel=>Netlist Options and check
"Convert 'µ' to 'u'". This option now not only applies to
netlists, but will draw a Greek Mu as 'u' wherever it might
appear on the screen.
Program Updates
After you have updated your file to the latest version, the
'changelog.txt' file in your root directory, usually at
c:\Program Files\ltc\swcadiii\Changelog.txt, has a detailed
program revision list.
153
Transformer Models
Third-party Models
154
This section explains how to add a third-party model in
SwitcherCAD III.
Capacitor: standard.cap
Inductor : standard.ind
Resistor : standard.res
Diode : standard.dio
BJT : standard.bjt
MOS : standard.mos
JFET : standard.jft
The above four files are ASCII text files and can be
edited either with the SwitcherCAD III File=>Open
command or any ASCII editor. All entries in these
files must be defined with a .model statement, not as
a subcircuit. If you want to use a subcircuit, follow
the following steps:
1. Change the "Prefix" attribute of the component
instance of the symbol to be an 'X'. Don't change
the symbol, just the instances of the symbol as a
component on a schematic.
2. Edit the value of the component to coincide with the
name of the subcircuit you wish to use.
3. Add a SPICE directive on the schematic such as ".inc
filename" where filename is the name of the file
containing the definition of the subcircuit.
155
Inductor Models
You first draw at least two inductors and then define the K
coefficient between the two inductors.
See mutual inductance section.
156
MOSFET Models
157
Can I re-distribute the software?
Yes, you can distribute the software freely whether you are
a Linear Technology customer or not. See the license
section for more details. Technical support for non-Linear
Technology customers is purely discretionary.
158
An APP file is a schematic file and has embedded control
statements to help calculate efficiency and other product
information. ASC file is the general schematic file
without any hidden SPICE commands. ASC file is the more
general and powerful file format. It is recommended that
you save your own designs with a .ASC file name extension.
Custom Symbol
159
Not very easily. The switching regulator models that ship
with LTspice/SwitcherCAD III use new intrinsic SPICE
devices designed to encapsulate the behavior of LTC's
switching regulator products. Even if you succeed in
making a model with standard SPICE primitives, the
simulation time will be orders of magnitude longer. Note
that some people have made such switching regulator models
with standard SPICE devices. LTspice can run these models
and will usually outperform the simulator for which they
were targeted.
Memory Problems
All the waveform data are stored on hard disk. Only the
plotted traces are loaded into RAM. Turning off the
marching waveforms can reduce the RAM memory requirement.
Note that for most analysis types, there is no particular
file size limit. You can generate and view .raw files that
are very many Gigabytes in size.
160
The waveform data has been compressed, but it is still
proportional to the run time and the number of traces
saved. The easiest way to save memory is to select
desired traces for storing before the simulation starts.
Model Compatibility
161
slower. Because of the performance concern, all switching
regulators were built with proprietary blocks, and there is
no translator, either. LTspice can, however, run Pspice
semiconductor and behavioral models and is generally a much
higher performance simulator, so you might move your Pspice
simulations to LTspice.
SPICE Netlist
Just open the text file first and then run it.
LTspice/SwitcherCAD III will recognize the file as a
netlist if it has file extension of ".cir"
162
OK, that works for bitmaps, but can I get the data itself
to an application like Excel?
163
The schematic fonts don't scale as smoothly under WINE as
Windows. Why is that?
WINE is doing the best best it can with the fonts it finds.
It will do better if you tell it how to find the files
arial.ttf and cour.ttf from your Windows system.
Try using the native Windows .dll from your Windows system.
The command line to then invoke LTspice from WINE is wine -
dll commctrl,comctl32=n scad3.exe.
Appendixes
Symbols
Symbol Overview
This appendix documents the schematic symbols supplied
with LTspice.
Power Products
Overview
164
All macromodels reflect typical performance at room
temperature (27 °C). Worst-case models are not
covered.
LT1308A
165
Demo-board DC207 LT1308 Vin=3.3V, Vout=5V
166
Startup Response:
LTC1435A
LTC1735
LTC1628
167
High Efficiency, 2-Phase Synchronous Step-Down Switching
Regulator
LTC1624
LTC1622
LT1026
LT1054
LT1054L
LT1070
168
LT1070HV
LT1071
LT1071HV
LT1072
1.25A High Efficiency Switching Regulator
LT1072HV
LT1073
LT1073-5
LT1073-12
LT1074
LT1074HV
LT1076
169
2A Step-Down Switching Regulator
LT1082
LT1084
LT1085
5A Low Dropout Positive Adjustable Regulator
LT1103
LT1105
LT1106
LT1107
LT1107-5
LT1107-12
LT1108
LT1108-12
LT1109
170
Micropower Low Cost DC/DC Converter Adjustable
LT1109-12
LT1109-5
LT1110-5
LT1110-12
LT1111
LT1111-5
LT1170
LT1170HV
LT1171
LT1171HV
171
100kHz, 2.5A High Efficiency Switching Regulators Vin: 3V
to 60V
LT1172
LT1172HV
LT1173
LT1173-5
LT1173-12
LT1176
LT1176-5
LT1182
LT1183
LT1184
172
LT1184F
LT1186F
LT1242
LT1243
LT1245
LT1246
LT1247
LT1248
LT1249
LT1269
173
LT1268
LT1268B
LT1270
LT1270A
LT1271
LT1300
LT1301
LT1302
LT1302-5
174
LT1303
LT1303-5
LT1304
LT1304-3.3
LT1304-5
LT1305
175
LT1306
LT1307
LT1307B
LT1309
LT1316
LT1317
LT1317B
LT1336
176
LT1370
LT1371
LT1371HV
LT1372
1.5A, 500kHz High Efficiency Step-Down Switching
Regulator, Adjustable Output Voltage
LT1372HV
LT1373
LT1373HV
LT1374
LT1374-5
177
LT1375
LT1375HV
LT1375-5
LT1376
LT1376HV
LT1376-5
LT1377
178
LT1339
LT1424-5
LT1424-9
LT1425
LT1432
LT1432-3.3
LT1500
LT1501
LT1501-3.3
LT1501-5
LT1505
179
LT1505-1
LT1506
LT1506-3.3
LT1500-3
LT1507
LT1507-3.3
LT1508
LT1509
LT1510-5
180
LT1510
LT1512
LT1529
LT1533
LT1534
LT1572
LT1576
LT1578
LT1576-5
LT1612
181
LT1613
LT1614
LT1615
LT1617
LT1618
LT1610
LT1611
LT1615-1
LT1616
600m5A, 1.4MHz Step-Down Switching Regulator in SOT-23
LT1617
182
LT1617-1
LT1619
LT1620
LT1620S8
LT1621
LT1676
LT1680
LT1725
LT1735
LT1737
LT1761-1.8
183
LT1761-2.5
LT1761-3
LT1761-5
LT1761-BYP
LT1761-SD
LT1761-3.3
LT1762
LT1762-1.5
LT1762-1.8
LT1762-2.5
184
LT1762-3.3
LT1762-3
LT1762-5
LT1763
LT1763-1.5
LT1763-1.8
LT1763-2.5
LT1763-3.3
LT1763-3
LT1763-5
185
LT1764
LT1764-1.5
LT1764-1.8
LT1764-2.5
LT1764-3.3
LT1767
LT1776
LT1777
LT1786F
LT1930
186
LT1930A
LT1931
LT1931A
LT1949
LT1956
LT1959
LT1962
300mA Low Noise Low Dropout Micropower Regulator with
Shutdown, Adjustable Output Voltage
LT1962-1.5
LT1962-1.8
LT1962-2.5
LT1962-3
187
300mA Low Noise Low Dropout Micropower Regulator with
Shutdown, 3V
LT1962-5
LT1963
LT1963-1.5
1.5A, Low Noise, Fast Transient Response LDO
Regulator, 1.5V
LT1963-1.8
LT1963-2.5
LT1963-3.3
LT1956-5
LTC660
LTC1044
Switched Capacitor Voltage Converter
LTC1044A
188
LTC1046
LTC1142
LTC1142HV
LTC1142HV-ADJ
LTC1142L-ADJ
LTC1143
LTC1143L
LTC1143L-ADJ
LTC1144
LTC1147-3.3
189
LTC1148L
LTC1148L-3.3
LTC1149
LTC1149-3.3
LTC1149-5
LTC1159
LTC1159-3.3
LTC1626
LTC1159-5
LTC1174
190
LTC1174-3.3
LTC1174-5
LTC1174HV
LTC1174HV-3.3
LTC1174HV-5
LTC1261
LTC1261CS8
LTC1261LCS8
LTC1261LCS8-4
LTC1261LCS8-4.5
191
LTC1262
LTC1263
LTC1265
LTC1265-3.3
LTC1265-5
LTC1266
LTC1266-3.3
LTC1266-5
LTC1267
LTC1267-ADJ
LTC1267-ADJ5
192
Dual High Efficiency Synchronous Step-Down Switching
Regulator Controller, One Adjustable Output Voltage
and One Fixed 5V Output
LTC1430
LTC1430A
LTC1433
LTC1434
LTC1436A
LTC1436A-PLL
LTC1437A
LTC1438-ADJ
LTC1438
193
LTC1439
LTC1474
LTC1475
LTC1475-5
LTC1502-3.3
LTC1503-1.8
LTC1503-2
LTC1504
LTC1504-3.3A
LTC1504A
194
LTC1504-3.3
LTC1514-3.3
LTC1514-5
LTC1515
LTC1515-3.3/5
LTC1515-3/5
LTC1516
LTC1517-3.3
LTC1517-5
LTC1522
LTC1530
195
High Power Synchronous Switching Regulator Controller,
Adjustable Output Voltage
LTC1530-1.9
LTC1530-2.5
LTC1530-3.3
LTC1530-2.8
LTC1538-AUX
LTC1539
LTC1550
LTC1550L
LTC1550LCS8
LTC1550LCS8-2
196
Low Noise, Switched Capacitor Regulated Voltage
Inverter, Fixed 2V Output
LTC1550LCS8-2.5
LTC1550LCS8-4.1
LTC1550CS8-4.1
LTC1553
LTC1553L
LTC1574
LTC1574-3.3
LTC1574-5
LTC1625
197
LTC1625-5
LTC1626-3.3
LTC1627
LTC1628-PG
LTC1629
LTC1629-PG
LTC1649
LTC1682
LTC1682-3.3
LTC1682-5
198
LTC1693-1
LTC1693-2
LTC1693-3
LTC1701
LTC1701B
LTC1702
LTC1703
LTC1706-19
LTC1707
LTC1709
LTC1735-1
199
LTC1736
LTC1753
LTC1754-5
LTC1771
LTC1772B
LTC1772
LTC1773
LTC1775
LTC1778
LTC1779
200
LTC1871
LTC1872
LTC1872B
LTC1874
LTC1873
LTC1877
LTC1878
LTC1922-1
LTC1929
LTC1929-PG
201
2-Phase, High Efficiency, Synchronous Step-Down
Switching Regulator
LTC1986
LTC3200
LTC3200-5
LTC3401
LTC3402
LTC3404
LTC3405
LTC3716
LTC3711
LTC3713
202
LTC3714
LTC3728
LTC3729
Operational Amplifiers
LT1001
LT1001A
LT1001S8
LT1002
LT1002A
LT1006
LT1006A
LT1006S8
203
LT1007
LT1007A
LT1007CS
LT1008
LT1010
LT1012
LT1012A
LT1012D
LT1012S8
LT1013
LT1013A
204
LT1013D
LT1014
LT1014A
LT1014D
LT1022
LT1022A
LT1024
LT1024A
LT1028
LT1028A
LT1028CS
205
LT1028N
LT1037
LT1037A
LT1037CS
LT1055
LT1055A
LT1055S8
LT1056
LT1056A
LT1056S8
LT1057
206
Dual JFET Input Precision High Speed Operational
Amplifier
LT1057A
LT1057S
LT1058
LT1058A
LT1077
LT1077A
LT1078
LT1078A
LT1079
LT1079A
207
Micropower Quad, Single Supply, Precision Operational
Amplifier
LT1097
LT1101
LT1101A
LT1102
LT1102A
LT1112
LT1113
LT1114
LT1115
LT1122
208
LT1124
LT1125
LT1126
LT1127
LT1128
LT1167
LT1168
LT1169
LT1178
LT1178A
209
LT1179
LT1179A
LT1187
LT1189
LT1190
LT1191
LT1193
LT1194
LT1195
LT1206
LT1207
LT1208
210
LT1209
LT1210
LT1211
LT1212
LT1213
LT1214
LT1215
LT1216
LT1217
LT1218
LT1219
211
Precision Rail-to-Rail Input and Output Operational
Amplifier
LT1220
LT1221
LT1222
LT1223
LT1224
LT1225
LT1226
LT1227
LT1228
LT1229
LT1230
LT1251
212
40Mhz Video Fader and DC Gain Controlled Amplifier
LT1252
LT1253
LT1254
LT1256
LT1259
LT1260
LT1328
LT1328PD
LT1351
LT1352
LT1353
213
LT1354
LT1355
LT1356
LT1357
LT1358
LT1359
LT1360
LT1361
LT1362
LT1363
LT1364
LT1365
LT1366
214
Dual Precision Rail-to-Rail Input and Output
Operational Amplifier
LT1367
LT1368
LT1369
LT1395
LT1396
LT1397
LT1398
LT1399
LT1413
Single Supply, Dual Precision Operational Amplifier
LT1413A
LT1431
Programmable Reference
215
LT1462
LT1463
LT1464
LT1465
LT1466
LT1466L
LT1467
LT1467L
LT1468
LT1468N
216
LT1469
LT1490
LT1491
LT1492
LT1493
LT1495
LT1496
LT1497
LT1498
LT1499
217
LT1630
LT1631
LT1632
LT1633
LT1635
Micropower Rail-to-Rail Operational Amplifier and
Reference
LT1636
LT1637
LT1638
Dual 1.2MHz, 0.4V/µs, Over-The-Top Micropower Rail-to-
Rail input and output Operational Amplifier
LT1639
LT1677
LT1782
218
Micropower Over-The-Top, SOT-23, Rail-to-Rail Input
and Output Operational Amplifier
LT1783
LT1787
LT1793
LT1795
LT1806
LT1807
LT1809
LT1792
LT1810
219
LT1812
LT1881
LT1884
LT1886
LT1920
LT2078
LT2078A
LT2079
LT2079A
LT2178
220
LT2178A
LT2179
LT2179A
LTC1043
LTC1047
LTC1049
LTC1050
LTC1050A
LTC1051
LTC1051A
221
LTC1052
LTC1052CS
LTC1053
LTC1100
LTC1100A
LTC1150
LTC1151
LTC1152
LTC1250
LTC1541
LTC1542
222
Micropower Operational Amplifier and Comparator
LTC2050
LTC7652
OPAMP
Miscellaneous
Voltage
A voltage source.
OR
OR gate
The input logic threshold defaults to 0.5V and the output
switches between 0V and 1V. Unused pins should not be
connect to any wire. Unused pins are connected to the
common node of the device and not used during the SPICE
simulation. The common node will default to GROUND. Both
output pins can be connected floating wires and probed
after simulation. The logic threshold defaults to the
average of Vhigh and Vlow of the output levels.
Parameters:
223
Vhigh: High output level. Defaults to 1V.
Vt: Logic threshold. Defaults to the average of Vhigh and
Vlow.
SCHMITT
Schmitt Trigger
Uses vhigh and vlo
Parameters:
SCHMTINV
XOR
224
5-input Exclusive OR gate
The output is true if one and only one input is true.
Parameters:
SCHMTBUF
AND
Parameters:
225
Vhigh: High output level. Defaults to 1V.
Vt: Logic threshold. Defaults to the average of Vhigh and
Vlow.
BI
BI2
BV
BUF
Parameters:
BUF1
226
same as BUF with only one non-inverting output.
INV
CAP
Capacitor
POLCAP
Capacitor
CAPMETER
SCHOTTKY
Schottky Diode
ZENER
Zener Diode
227
The main difference between a zener diode and other diodes
is the BV (breakdown voltage) parameter in the model.
For example, 1N5234 has a zener voltage of 6.2V. The
simplest model is as follows: .model 1N5234 D(BV=6.2)
DIODE
Diode
DFLOP
D Flip-Flop
Input: D, CLK, PRE, CLR, Output: Q, _Q
E2
G2
CURRENT
Current Source
228
LOAD
A current source
LOAD2
A current source
NJF
N JEFT transistor
PJF
P JFET Transistor
IND
Inductor
IND2
NMOS
NMOS4
229
PMOS
PMOS
PMOS4
PMOS
LTLINE
NPN
Bipolar transistor
NPN2
Bipolar transistor
PNP
PNP
230
PNP2
RES
Resistor
RES2
Resistor
SW
TLINE
SIGNAL
Voltage Source
CSW
OPAMP
*
.subckt opamp 1 2 3
G1 0 3 2 1 {Aol}
231
R3 3 0 1.
C3 3 0 {Aol/GBW/6.28318530717959}
.ends opamp
OPAMP2
MESFET
MESFET transistor
XTAL
Piezoelectric crystal. Set C, Lser and Cpar to set
series and parallel resonances. This is actually the
same circuit element as a capacitor and is just using
LTspice's ability to model a capacitor's parasitic
series inductance in the capacitor device. Note that
there is a performance advantage to modeling a crystal
in this manor over the usual macro model of discrete
lumped constants. There are no internal nodes in this
device so the overall circuit matrix is smaller and
the simulation runs faster.
CELL
Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP,
or SFFM
DIP10
Generic Symbol for use with subcircuits that you
supply.
DIP14
Generic Symbol for use with subcircuits that you
supply.
232
DIP16
Generic Symbol for use with subcircuits that you
supply.
DIP20
Generic Symbol for use with subcircuits that you
supply.
DIP8
Generic Symbol for use with subcircuits that you
supply.
JUMPER
A wire jumper. This component lets you give the same
net two different names
SIGNAL
Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP,
or SFFM
TOWTOM2
2nd Order Tow-Thomas Filter building block. Needs
.lib TowTom2.sub & .params R=10K C=160p GBW1=10Meg
GB2=15Meg Aol=100K
233
G3 0 2 0 N003 {Aol}
R4 N002 0 1.
C5 N002 0 {Aol/GBW2/6.28318530717959}
G2 0 N002 0 N001 {Aol}
.params R=10K C=160p GBW1=10Meg GBW2=15Meg
.params Aol=100K
.ends TowTom2
URC
Uniform RC-line. Intended for interconnection on IC's
but rarely used.
URC2
Uniform RC-line. Intended for interconnection on IC's
but rarely used.
BATTERY
Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP,
or SFFM
Opto Isolators
4N25
4N25A
4N26
234
4N27
4N28
CNY17-1
CNY17-2
CNY17-3
MOC205
MOC206
MOC207
PC817A
PC817B
PC817C
PC817D
235
Special Functions
MODULATE
CAPMETER
VARISTOR
Filter Products
LTC1562-2
LTC1562
LTC1562A
236
Digital
AND
Parameters:
BUF
Parameters:
BUF1
Behavioral buffer
Parameters:
237
Trise: Rise time, Defaults to 0.
Tfall: Fall Time, Defaults to Trise.
Td: Gate delay time.
Vlow: Low output level, defaults to 0V.
Vhigh: High output level, defaults to 1V.
Ref: Logic threshold, defaults to the average of Vhigh
and Vlow.
DFLOP
Behavioral D-flipflop
Parameters:
INV
Behavioral Inverter
Parameters:
OR
Parameters:
238
Tfall: Fall Time, Defaults to Trise.
Td: Gate delay time.
Vlow: Low output level, defaults to 0V.
Vhigh: High output level, defaults to 1V.
Ref: Logic threshold, defaults to the average of Vhigh
and Vlow.
SCHMITT
Parameters:
SCHMTBUF
Parameters:
239
Vt: Logic threshold, defaults to the average of Vhigh and
Vlow.
Vh: hysteresis voltage, the trip points are Vt+Vh and Vt-Vh
SCHMTINV
Parameters:
SRFLOP
XOR
Diffschmtinv
Parameters:
240
Vlow: Low output level, defaults to 0V.
Vhigh: High output level, defaults to 1V.
Vt: Logic threshold, defaults to the average of Vhigh and
Vlow.
Vh: hysteresis voltage, the trip points are Vt+Vh and Vt-Vh
Diffschmtbuf
Parameters:
Diffschmitt
Parameters:
241
Vt: Logic threshold, defaults to the average of Vhigh and
Vlow.
Vh: hysteresis voltage, the trip points are Vt+Vh and Vt-Vh
PHIDET
Comparators
LT1016
LT1116
LT1394
LT1671
LT1720
LT1721
LTC1041
242
BANG-BANG Controller
LTC1042
Window Comparator
LTC1440
LTC1441
LTC1442
LTC1443
LTC1444
LTC1445
LTC1540
243
Preface
244
Incorporated into the new SPICE are circuit elements to
model practical board level components. Capacitors and
inductors can be modeled with series resistance and other
parasitic aspects of their behavior without using sub-
circuits or internal nodes. Also, a simulation circuit
element was developed for power MOSFET's that accurately
exhibits their usual gate charge behavior without using
sub-circuits or internal nodes. Reducing the number of
nodes the simulator needs to solve significantly reduces
the computation required for a given simulation without
compromising the accuracy or detail of the switching
waveforms. Another benefit of these new simulation devices
is that convergence problems are easier to avoid since
they, like the board level component the model, have finite
impedance at all frequencies.
245
will be intelligent enough to alert him to fatal design
flaws.
Circuit: * D:\XP\lib\app\LT1300-DC035A.app
Date: Tue Oct 05 16:57:31 1999
Total elapsed time: 6.64 seconds.
tnom = 27
temp = 27
method = modified trap
totiter = 14872
traniter = 14862
tranpoints = 3865
accept = 2986
rejected = 879
trancuriters = 0
matrix size = 12
fillins = 2
solver = Normal
246
Web Update
247
Voltage Dependent Current Source
H
248
LT1170
100kHz, 5A High Efficiency Switching Regulator
LT1170HV
100kHz, 5A High Efficiency Switching Regulator(High
Voltage version)
LT1171
100kHz, 2.5A High Efficiency Switching Regulator
LT1171HV
100kHz, 2.5A High Efficiency Switching Regulator(High
Voltage version)
LT1172
100kHz, 1.25A High Efficiency Switching Regulator
LT1172HV
100kHz, 1.25A High Efficiency Switching Regulator
LT1241
High Speed Current Mode Pulse Width Modulator
LT1300
Micropower High Efficiency 3.3/5V Step-Up DC/DC
Converter
LT1301
Micropower High Efficiency 5V/12V DC/DC Step-Up
Converter for Flash Memory
LT1302
Micropower High Output Current Step-up Adjustable
DC/DC Converter
LT1303
Micropower High Efficiency DC/DC Converter with Low-
Battery Detector, adjustable output voltage
LT1303-5
249
Micropower High Efficiency DC/DC Converter with Low-
Battery Detector, Fixed 5V
LT1304
Micropower DC/DC Converter with Low-Battery Detector
Active in Shutdown, Adjustable output voltage
LT1304-3.3
Micropower DC/DC Converter with Low-Battery Detector
Active in Shutdown, Fixed 3.3V
LT1304-5
Micropower DC/DC Converter with Low-Battery Detector
Active in Shutdown, Fixed 5V
LT1305
Micropower High Power DC/DC Converter with Low-Battery
Detector
LT1307
Single Cell Micropower 600kHz PWM DC/DC Converter
LT1307B
Single Cell Micropower 600kHz PWM DC/DC Converter
LT1308A
High Current, Single Cell Micropower 600kHz DC/DC
Converter
LT1308B
High Current, Single Cell Micropower 600kHz DC/DC
Converter
LT1309
500kHz Micropower DC/DC Converter for Flash Memory
LT1316
Micropower DC/DC Converter with Programmable Peak
Current Limit
LT1375
250
1.5A, 500kHz Step-Down Switching Regulator, Adjustable
Output Voltage
LT1375-5
1.5A, 500kHz Step-Down Switching Regulator, Fixed 5V
Output
LT1108
5Volt Micropower DC/DC Converter
LT1111-12
12 Volt Micropower DC/DC Converter
LT1110
Adjustable Micropower DC/DC Converter
LTC1261CS8-4
Switched Capacitor Regulated Voltage Inverter, Fixed
4V Output
LTC1551CS8-4.1
Low Noise, Switched Capacitor Regulated Voltage
Inverter, Fixed -4.1V Output
LTC1551LCS8
Low Noise, Switched Capacitor Regulated Voltage
Inverter, Adjustable Output Voltage
LTC1551LCS8-4.1
Low Noise, Switched Capacitor Regulated Voltage
Inverter, Fixed -4.1V Output
LT1962-3.3
300mA Low Noise Low Dropout Micropower Regulator with
Shutdown, 3.3V
LT1761-2
100mA Low Noise Low Dropout Micropower Regulator with
Shutdown in SOT-23, 2V Output
LTC1475-3.3
251
Low Quiescent Current, High Efficiency Step-Down
Converter, 3.3V Output
LT1615
Micropower Step-Up DC/DC Converter in SOT-23
LTC1147-5
High Efficiency Step-Down Switching Regulator
Controller, Fixed 5V Output
LTC1147L
High Efficiency Step-Down Switching Regulator
Controller, Adjustable Output Voltage
LTC1147L-3.3
High Efficiency Step-Down Switching Regulator
Controller, Fixed 3.3V Output
LTC1148
High Efficiency Synchronous Step-Down Switching
Regulator Controller, Adjustable Output Voltage
LTC1148-3.3
High Efficiency Synchronous Step-Down Switching
Regulator Controller, Fixed 3.3V Output
LTC1148-5
High Efficiency Synchronous Step-Down Switching
Regulator Controller, Fixed 5V Output
LTC1148HV
High Efficiency Synchronous Step-Down Switching
Regulator Controller, Adjustable Output Voltage
LTC1148HV-3.3
High Efficiency Synchronous Step-Down Switching
Regulator Controller, Fixed 3.3V Output
LTC1148HV-5
High Efficiency Synchronous Step-Down Switching
Regulator Controller, Fixed 5V Output
252
LT1244
High Speed Current Mode Pulse Width Modulator
LT1813
Dual 3mA, 100Mhz, 750V/µs Operational Amplifier
opto isolator section
special function blocks
Filterproducts
misc symbols
253
Index
.
.AC -- Perform an AC analysis ...................................................................................................... 74
.BACKANNO -- Annotate the subcircuit pin names on to the port currents ................................. 74
.DC -- Perform a DC source sweep analysis .................................................................................. 75
.END .............................................................................................................................................. 75
.ENDS ............................................................................................................................................ 76
.GLOBAL -- Declare global nodes ................................................................................................ 77
.IC -- set initial conditions............................................................................................................. 78
.INCLUDE -- include another file.................................................................................................. 78
.LIB -- Include a library ................................................................................................................. 79
.MODEL ........................................................................................................................................ 80
.NODESET -- supply hints for initial DC solution ........................................................................ 80
.NOISE -- Perform a noise analysis .............................................................................................. 81
.OP -- Find the DC operating point ............................................................................................... 81
.OPTIONS -- Set simulator options ............................................................................................... 82
.PARAM -- User-defined parameters............................................................................................ 84
.SAVE -- Limit the amount of saved data ...................................................................................... 86
.STEP -- Parameter sweeps ............................................................................................................ 86
.SUBCKT -- define a subcircuit.................................................................................................... 87
.TEMP -- Temperature sweeps....................................................................................................... 88
.TF -- Find the DC small-signal transfer function ......................................................................... 89
.TRAN -- Do a non-linear transient analysis................................................................................. 89
.TRAN Modifiers ........................................................................................................................... 91
.WAVE -- Write selected nodes to a .wav file. .............................................................................. 90
A
A. General Structure and Conventions.......................................................................................... 69
A. Special functions. ..................................................................................................................... 93
Adding Attributes........................................................................................................................... 45
Adding the Pins .............................................................................................................................. 44
Application Note Circuits............................................................................................................... 25
Attached Cursors...................................................................................................................... 64, 65
Attribute Visibility ......................................................................................................................... 47
Axis Control................................................................................................................................... 62
B
B. Arbitrary behavioral voltage or current sources. ...................................................................... 96
B. Circuit description. ................................................................................................................... 69
C
C. Simulator directives -- dot commands ...................................................................................... 73
C. Capacitor ................................................................................................................................... 99
Color Control ................................................................................................................................. 63
Compression......................................................................................................................... 142, 143
Creating Symbol Overview............................................................................................................ 43
254
D
D. Diode ....................................................................................................................................... 102
Drawing the body........................................................................................................................... 43
E
E. Voltage Dependent Voltage Source......................................................................................... 104
Edit a visible attribute .................................................................................................................... 39
Efficiency Report ........................................................................................................................... 29
Example Circuits............................................................................................................................ 26
Exporting Waveform Data ........................................................................................................... 162
Externally Generated Netlists......................................................................................................... 28
F
F. Current Dependent Current Source.......................................................................................... 106
G
G. Voltage Dependent Current Source......................................................................................... 106
General Attribute Editor................................................................................................................. 41
General Purpose Schematic Driven SPICE.................................................................................... 27
H
H. Current Dependent Voltage Source......................................................................................... 108
Hardware Requirements................................................................................................................. 20
I
I. Current Source .......................................................................................................................... 108
III. Circuit Element Quick Reference............................................................................................ 72
J
J. JFET transistor.......................................................................................................................... 113
K
K. Mutual Inductance................................................................................................................... 114
L
L. Inductor.................................................................................................................................... 115
Label a node name ......................................................................................................................... 35
License Agreement/Disclaimer ...................................................................................................... 21
LT Spice Overview ........................................................................................................................ 68
M
M. MOSFET ................................................................................................................................ 117
Modes of Operation........................................................................................................................ 23
N
Navigating the Hierarchy ............................................................................................................... 50
Netlist Options ............................................................................................................................. 148
O
O. Lossy Transmission Line......................................................................................................... 126
Operation...................................................................................................................................... 143
Overview........................................................................................................................................ 48
255
P
PCB Netlist Extraction................................................................................................................... 38
Placing Components....................................................................................................................... 37
Plot Panes....................................................................................................................................... 63
Preface......................................................................................................................................... 244
Programming Keyboard Shortcuts ................................................................................................. 37
Q
Q. Bipolar transistor ..................................................................................................................... 127
R
R. Resistor.................................................................................................................................... 131
Rules of Hierarchy ......................................................................................................................... 49
Runing under Linux ..................................................................................................................... 163
S
S. Voltage Controlled Switch....................................................................................................... 131
Save Plot Configurations................................................................................................................ 67
Schematic Colors ........................................................................................................................... 36
Schematic Editing .......................................................................................................................... 31
Software Installation ...................................................................................................................... 20
Specialized Component Editors ..................................................................................................... 40
SPICE Error Log Command ........................................................................................................ 246
Starting the Control Panel ............................................................................................................ 141
steady ............................................................................................................................................. 92
SwitcherCAD III Overview .......................................................................................................... 19
Symbol Editing .............................................................................................................................. 38
Symbol Overview......................................................................................................................... 164
Synthesized Circuits....................................................................................................................... 24
T
T. Lossless Transmission Line ..................................................................................................... 132
Trace Selection............................................................................................................................... 52
tran ................................................................................................................................................. 92
nodiscard ........................................................................................................................................ 92
startup............................................................................................................................................. 92
step ........................................................................................................................................... 92, 93
U
U. Uniform RC-line ..................................................................................................................... 133
User-Defined Functions ................................................................................................................. 61
V
V. Voltage Source ........................................................................................................................ 134
Viewer Overview ........................................................................................................................... 52
W
W. Current Controlled Switch...................................................................................................... 138
Waveform Arithmetic .................................................................................................................... 56
X
X. Subcircuit ................................................................................................................................ 139
256
Z
Z. MESFET transistor .................................................................................................................. 140
Zooming ......................................................................................................................................... 56
257