0% found this document useful (0 votes)
14 views

LTspice_DC and AC circuits

This document provides a comprehensive guide on using LTspice for DC and AC analysis in the context of an Electromagnetic Theory course. It covers the steps for creating schematics, running simulations, and interpreting results, along with useful tips for efficient operation. Additionally, it explains the significance of transient and AC analysis for analyzing voltage and current behaviors over time and in tabular form.

Uploaded by

AAROHI UNIYAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

LTspice_DC and AC circuits

This document provides a comprehensive guide on using LTspice for DC and AC analysis in the context of an Electromagnetic Theory course. It covers the steps for creating schematics, running simulations, and interpreting results, along with useful tips for efficient operation. Additionally, it explains the significance of transient and AC analysis for analyzing voltage and current behaviors over time and in tabular form.

Uploaded by

AAROHI UNIYAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

LTspice Basics

BITS Pilani, Pilani Campus


Semester-1 (2022-23)
Course no. ECE F212
Electromagnetic Theory
Faculty: Dr. Praveen Kumar A.V.

-Prepared by Rohit Goyal,


Teaching Assistant
Getting started
1. Make new schematic, click
2. Tool bar for adding components.
DC analysis
1. Click from toolbar to add Resistor or Press R on keyboard.
2. Add two resistors. (Shown in schematic slide)
3. Note: Any component can be rotated by using Ctrl+R.
4. Right click to dis-select the resistor or press esc key on keyboard.
5. Click to go to components menu, search voltage and add the voltage source. Else press V key
on keyboard.
DC analysis (cntd.)
1. Click to add ground to the circuit.
2. Connect everything with wire by clicking and connect the relevant nodes.
3. Click to give title to your schematic.
4. Right Click on resistor name. (Used to Change name of resistor)
DC analysis (cntd.)
1. Right click resistor to give value.

2. Denotations: k = 10^3, meg = 10^6, m = 10^-3, u = 10^-6, n = 10^-9


3. Right click on voltage to give value.
Schematic
Useful Tips
• Use this to create a custom node.
• Use this to move the whole circuit or specific part of circuit.
• Use this to drag a component of the circuit.
• Use this to delete a component or wire.
• Use this to copy the whole circuit or a specific part of circuit.
• Right click anywhere on work plane  go to View  Click zoom to fit. This will properly align your
schematic.
• To move the work plane of work left click and drag the work plane.
Running the Schematic
1. Go to Simulate  Click Edit Simulation Cmd.

2. Since we are doing DC analysis, chose transient analysis and give stop time = 1 sec. (any time
can be given here). After clicking ok, a code snippet will be there, click it anywhere on the
schematic. (.tran 1 here)
3. Click to run simulation.
Running the Schematic (cntd.)
1. After you run the simulation, a graphical window will open.
Running the Schematic (cntd.)
1. Click the wire before resistor R1. The graph will show input voltage.(30V)
2. Click on wire between R1 and R2. The graph will show voltage at that point.(20V)
3. You cannot click the wire after R2, because the voltage there is 0V.
4. Useful tip: double click the wire to only show the graph of that specific wire.
5. Click R1. Shows the current through the resistor R1. Similarly do it for R2. Same as the tip, if
double click the component it will show graph for that particular component only.
6. To get power dissipated by a component press alt and click the component.
7. Useful tip: If you want to zoom in the graph, left click and drag the mouse on the graph.
Release and you will be zoomed in; in that particular window size. To get back, right click on
graph and click zoom to fit.
8. Useful tip: To change the axis, hover over y axis, a ruler sign will appear  right click and a
window will appear, you can change the axis limits here.
9. Useful tip: click on label on graph, a movable cursor will appear, this can be used to get precise
value at any point.
Graph
AC analysis
1. Make the following schematic
AC analysis (cntd.)
1. Adding AC source:
2. Right click the Voltage source  Click Advanced in the popup window. Click on SINE. Give DC
offset = 0V, Amplitude = 1V and Freq = 10k Hz. In small signal AC analysis, give AC amplitude =
1V and AC phase = 0. Click OK.
AC Simulation (To get graphs)
1. Go to simulate  click Edit simulation cmd.
2. In Transient analysis give stop time = 100usec (1 period). Click ok and place the code snippet.
Then click run button.
Various Graphs
AC Simulation (To get Various values)
1. Tip: to comment a code, right click the code and replace . with ;
2. Go to simulate  click Edit simulation cmd.
3. In AC analysis, give the following values. And place the code snippet in you schematic.
AC Simulation (To get Various values)
1. When you click Run. A table will appear.

2. From here you can get various values, But it’s difficult to determine which node is which, so we
use the next step.
3. Use this to label node and the names will change accordingly (Use wire to connect). As
shown in next slide.
Why Transient and AC analysis
1. Transient analysis is useful where parameter such as
voltage or current is plotted against time. If you
want to look at output behaviour we use transient
analysis.

2. AC analysis is useful when you need the values of


voltage and current in tabular form (if you keep the
start and stop frequency same. If you give different
start and stop frequency, you will get bode plot,
which is not useful for what we will be doing in
transmission line analysis.
References
1. https://www.youtube.com/playlist?list=PLT84nve2j1g_wgGcm0Bv3K4RSl2Jdjsey

You might also like