While it would seem that you can avoid learning about the netlists, when you have a problem it can be useful to look at them and also when importing models from other sources you may have to do a little tweaking to correct some of the syntax differences between different SPICE implementations. Before companies added graphical front and back end processing to SPICE the netlist was what you had to work with. Here you can see each of the elements used in the simulation. lib C:\Program Files\LTC\LTspiceIV\lib\cmp\standard.mos lib C:\Program Files\LTC\LTspiceIV\lib\cmp\standard.dio * C:\Program Files\LTC\LTspiceIV\examples\jigs\1872.asc If you want to learn more about SPICE netlists and understand more of what is going on behind the schematic, you can look at the netlist using “View | SPICE Netlist”: If you want to move, delete or add components, they are under the “Edit” menu. The “help” is quite good with a useful run through the features under “contents”, an explanation of the basic circuit elements and SPICE commands as well as a search.Ĭoming from other SPICE simulators can take a bit of getting used to but the simulation command (transient in this case) is shown on the schematic and can be edited by either right clicking on it – the “.tran 500u startup” text or selecting “Simulate | Edit Simulation cmd” from the menu. V(out) shown above) and the “Expression Editor” popup will give you the option editing the equation or color but also the option to delete the trace. If you get too many plots on the screen you can right click a label (e.g. A right click is required to edit a component, not a left click. Similarly, it often gives information about whether to left click or right click but even if it doesn’t, a right click is required for some functions. Also, try the ALT key and the look at the bottom of the screen – it will let you know that you can plot power dissipation. Keep an eye on the lower part of the screen because handy information is shown as you move the cursor around. Hold it over the transistor drain and it will allow you to plot drain current. You can plot currents – for example hold the cursor over the load resistor Rload and the cursor will change again allowing you to plot current. You can zoom in on the waveform to show the output ripple. the voltage on the output node as the circuit starts up. This shows the results of the simulation i.e.
If you hold the cursor over the wire labeled OUT the cursor will change shape to a “probe” – click on the wire with that probe and you should see something like this: That is the results plot window and you first need to select some results to show. A graph window will open and probably nothing will be shown. For now, simply select “Simulate | Run” from the menu. While this might not be exactly the circuit required for your application (it is for 5V at 1A), you can still use it as a starting point and edit the components/values to suit your design. So, if you want a switching regulator (boost) to generate 12V at 1A from 3V and choose the LTC1872, simple open the file 1872.asc under the “examples\jigs” directory in the LTspice installation. These are schematics already drawn for many of the Linear Technology ICs so you can use them as a quick starting point.
The easy way to first use LTspice is using one of the “jigs”.
The approach taken by Texas Instruments is different – they supply encrypted PSpice models instead – fine if you use PSpice, useless if you don’t! So, even if you have another SPICE simulator (which I do), you may want to use LTspice anyway from time to time for simulating their power supply ICs. They don’t supply standard SPICE models for those – only their own format subcircuit models in binary format. Also, it is the only way you will be able to simulate some of Linear Technology’s chips, such as power supply ICs. While there are “better” SPICE simulators out there, they are all based on the same principles and the results you will get from the same models and circuits with be identical with LTspice. You can experiment without blowing anything up! LTspice from Linear Technology is particularly useful as it is free and available to download from their web site. Simulation using a SPICE simulator (Simulation Program with Integrated Circuit Emphasis) is handy for checking out designs before building them as well as helping to understand designs and circuit problems.