Documente Academic
Documente Profesional
Documente Cultură
LTSPICE FAMILIARIZATION
LEARNING OBJECTIVES:
To learn the basics of the LTSPICE schematic editor/capture
To learn the different SPICE simulation analyses.
To understand the characteristics of a CS passive load amplifier.
To understand the characteristics of a current mirror/steering circuit.
To understand the characteristics of a differential amplifier.
BASIC CONCEPTS:
SPICE (Simulation Program for Integrated Circuit Engineering) is a general-
purpose circuit simulation program for non-linear DC, non-linear transient, and linear AC
analysis. Circuits may contain resistors, capacitors, inductors, mutual inductors,
independent voltage and current sources, four types of dependent sources, transmission
lines, switches, and several semiconductor devices: including diodes, BJTs, JFETs,
MESFETs, and MOSFETs. Circuits with large numbers of all types of components can be
simulated. You can think of SPICE as a nodal network solver that outputs all the node
voltages and branch currents. One node must be named 0 (the ground node) and is the
reference node for all the node voltages.
SPICE input files are simple text files (e.g. name.txt). Input files include a TITLE,
circuit description NET LIST, analysis directives (COMMANDS), and lists of other text
files to include (INC) such as model libraries (LIB) and an .END command.
LTSPICE is a free SPICE simulator with schematic capture from Linear
Technology. It is quite similar to PSPICE Lite but is not limited in the number of devices
or nodes. Linear Technology (LT) is one of the industry leaders in analog and digital
integrated circuits. They also provide a complete set of SPICE models for LT components.
The input file for SPICE is generated automatically from the schematic capture
software. In the old days, the input file was created by hand as a simple text file. SPICE
can still run using a simple text file as the input but today most users prefer to use
schematic capture software to create the input file.
PROCEDURES:
I. Drawing the CS passive load circuit and naming the devices.
1. Open LTSPICE software.
2. Create new schematic file
3. Name the file as: CS_PassiveLoad
4. Click the component icon from the schematic editor window (see Figure 1).
7. Do the same to the other elements. Rename the resistor, capacitor, and input
voltage source to Rload, Cload, and Vin respectively. See Figure 5.
8. To designate the parameter value of the elements, point the cursor of the
mouse then right-click. Rename the values of VDD, Cload, Rload to 15 Volts, 10
pico-farad, and 10.95 kilo-ohm respectively. For Vin; point to the element, right
click the select Advanced from the pop-up menu. Select SINE, and fill its
characteristics with a DC offset of 7.99201 Volts, 100millivolts amplitude and a
frequency of 10Khz. (See Figure 6).
Figure 6. Values introduced to the elements
9. Label the nodes by pointing at the wire and right click the mouse. A pop-up
window menu will appear as seen on Figure 7. Name the nodes drain, gate and
source as Vout, g, and s respectively (see Figure 8).
2. From the icon menu, click run and a pop up window will appear listing the
node voltages and currents as shown on Figure 12.
2. Select ok then click to the schematic editor window and run the simulation.
The DC transfer characteristics will pop up (Figure 14).
6.5
7.5
8.5
9.5
10.95
13
15
What can you observe from the voltage gain with respect to the load resistance?
C) At Rload = 10.95K, Perform DC sweep analysis by sweeping Vin from 0 to 15
volts with an increment of 0.5. Plot the output response by probing the Vout node.
Av (Voltage Gain) = dB
E) Perform transient analysis with a stop time of 1ms then plot the output voltage
overlapping the input voltage.
10
15
20
What can you say about the usefulness of a current mirror circuit in an integrated
circuit?
IV. Review of differential amplifier
1. Draw a differential amplifier as seen below.
2. Perform transient analysis with a stop time of 1ms. Plot both the outputs and the
Vinplus terminal.
What can you observe on the response of the output?