Docsity

Circuit Laws and Simulation using SPICE: Understanding Ohm's Law and Single Loop Circuits, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Circuit Laws and Simulation using SPICE: Understanding Ohm's Law and Single Loop Circuits and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Circuit Laws and Simulation

Program with Integrated Circuit

Emphasis (SPICE)

Ohm’s Law, Kirchhoff’s Voltage Law, Single loop

circuits, SPICE simulation

Ohm’s Law

ÿ The relationship between voltage and

current through a material, characterized by

resistance, is given by Ohm’s Law :

v = R × i

ÿ Resistive elements will

always absorb power

(i.e. convert electric

energy to heat):

v ( t )

i ( t )

Single loop circuits

ÿ The current in a single loop circuit is the same everywhere

ÿ The sum of the voltage drops over resistors in a single loop

circuit equals the voltage rises from the voltage sources:

220 = 10 I o + 50 Io + 40 I o

220 V

Io

V 2

+ V 1 -

- V 3 +

220 = V 1 + V 2 + V 3

Sum of voltages:

Substitute Ohm’s Law:

Solve for Io :

22 A

Io =

Spice Analysis

ÿ The previous circuit can be described graphically in SPICE and analyzed using the .OP (operating point simulation). Steps in using B2SPICE (B SPICE Workshop) :

  1. Paste circuit elements into workspace including voltmeters and ammeters using the “Devices” menu option
  2. Connect elements in proper configuration using the wire tool.
  3. Voltmeters are wired in parallel with the elements whose voltage is to be measured and Ammeters are wired in series with the elements whose current is to be measured ( hooking up the meters wrong could cause the whole circuit to fail ).
  4. Set element properties by selecting the element in the workspace and use the “Edit” menu option to select the “Edit Simulation Model” feature. A field will appear to set values for the resistors and set the type and value of the source. (Meters do not need to be set.)
  5. Then indicate the type of simulation required by using the “Simulation” menu option and select the “Set up simulations” feature. Check the .OP (operating point) simulation only and then run the simulation

SPICE Homework Problem

ÿ Must simulate 3 different circuits for R=0, 20, and 2000

ohms! For R=0 remove the resistor and replace with a

wire (otherwise SPICE will generate an error.)

Battery

+

Vo

12 V

20 Ω Io

R