Professional Documents
Culture Documents
2018102685 – BE – 2
BE154L – A43
ACTIVITY 1
INTRODUCTION
Technology opens the door of a new era throughout the world. Innovations that often
solve problems (or to just simply help with daily activities) are created by technology; examples
are gadgets, machines and appliances. One of the things that made this possible is the electronic
circuits. [4,7] Electronics and circuits are usually found everywhere and the foundation of this
innovations are a basic electric circuit. [6,8] An electric circuit includes a device that gives energy
to the charged particles constituting the current, such as a battery or a generator; devices that use
current, such as lamps, electric motors, or computers; and the connecting wires or transmission
lines. [3] But how exactly electric circuits are created?
A lot of considerations, assumptions and computations are required to design and to
effectively execute an electronic circuit. Components of the circuit should be taken care with
measurements and appropriate values to run and to prevent accidents (e.g. short circuits and
overloading) which opposes a high risk to individuals. Mathematical equations would likely to
indicate the values of each component within a circuit. However, poor computations together
with lack of knowledge about electronic circuits might lead to unnecessary expenses on
components or prototypes.
Technology also made possible for an individual to design an electric circuit without
considering the amount of time required for computations, the costs of components, and the risks
opposed by executing an electric circuit – a software that simply provides simulation of the
circuit desired. LTSpice is a software that provides components and flexible inputs in schematic
form to showcase circuit designing and the output of the circuit. LTSpice could execute the
circuits with the desired values to show outputs of the circuit. Moreover, LTSpice is a widely
used and user friendly free software thus, instructions and solutions to problems acquired are
most likely to be found in Internet.
Installing LTSpice:
The website, https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-
simulator.html# is where LTSpice could be downloaded.
The website allows two choices of the software that is suitable for operating system of
the medium used. For this paper, windows 10 is used. The following are the steps for installing
the LTSpice in the computer.
After the download if complete, open the file containing the software. If the file wasn’t
shown at the bottom of the screen, the download history of the browser contains the downloaded
file.
By clicking and allowing the software to have changes with the computer, the software
liscence agreement of LTSpice is shown. The downloader should agree first in order to install the
software program.
After installing, main view of the LTSpice would look exactly like the figure below. The
first step is to create a new project/schematic which is directed in the figure.
Note that the LTSpice make use of schematic diagrams instead of virtual/actual representation
of the components. If possible, one should review the basic schematic diagrams of electric
circuit.
There are three steps for simulation of the circuit: designing the schematic of the circuit,
assigning values or measurements, and obtaining the data by running the simulation. The
following will be discussed in the next section. The basic electronic circuit to be the basis is a
voltage divider.
Simulation: Voltage Divider
Voltage divider, as said in the name is a simple circuit that allows a large voltage from
the source to be a fractioned into a smaller one. [1] It is said to be one of the most fundamental
circuits in electronics. [2] the voltage divider involved applying of voltage from a source to a two
resistors connected into a single source.
Designing:
To start with creating a voltage divider, a new schematic project in LTSpice would look
like the figure below with a default name of Draft1.asc as seen in upper left top of the software.
The green arrows represents the basic schematic components found within a circuit.
BASIC COMPONENTS
The first component is the resistor (presented with the red arrow in the figure below).
Resistors are components that limits the flow of eletrons with a fixed value of electrical
resistance. [5] This components are passive components that only consumes power and doesn’t
generate one and commonly used to limit current and divide voltage. When the the two resistors
have the same value of resistance, the voltage is cut is half. Moreover, different resistance values
could still lessen the voltage but computational methods are required to determine the output
voltage. This is applicable when the voltage source is larger than the voltage requirement of the
circuit. [9] The resistor with right ammount of electrical resistance that could consume the desired
voltage should be used. The symbol/schematic of the resistor is the ff:
The resistor can be placed in the schematic in LTSpice by either clicking the schematic of
the resistor or by clicking the R key in the keyboard.
RESISTOR
A circuit should contain a voltage source for the voltage. A Voltage source is a device
with a positive and negative terminal that ideally should supply a fixed voltage over time and is
independent from the current drawn to it. [10] There are two types of electrical sources,
the voltage source and the current source. The current source is usually less common in circuits
than the voltage source, but both are used and can be regarded as complements of each other . [2]
The two types of sources could either be classified as an direct (DC) source to which electric
charges (current) flows in one direction or alternating (AC) source which electric current’s
direction changes periodically. [11] Some of the schematic symbols of the sources are shown
below:
There is no preview of power supply provided to the basic components of a circuit in the
LTSpice however this doesn’t imply that the software doesn’t provide. On the right side of the
software, together with the basic components, A symbol for ‘components’ could be seen (as
shown in the red arrow). By clicking the component symbol, variety of components are to be
found. One can eithe type the desired component or simply browse within the names of the
components. Either way, the voltage source within the component section is found at the last part
(The components are arranged alphabetically).
COMPONENT
SECTION
Clicking the “ok” button would place the schematic of voltage source in the pointer and
could now place the voltage source within the work space.
The last component for a voltage divider would be the ground. A ground is a reference
point in a electrical circuit simply refering to ‘earth’. Un-grounded appliances and devices could
cause the feeling of ‘shock’ when holding onto the electrical circuit. The schematic symbol of
the ground is shown below.
For the ground in LTSpice, the symbol is represente like the last symbol shown from the
figure above. The symbol is found within the basic components at the top of the workspace in
LTSpice. For the voltage divider, two grounds should be placed; one at the bottom of the voltage
supply and the other at the bottom of the resistors.
GROUND
Lastly, The components should be connected to each other. This represents the circuit
wires in an electrical circuit. The voltage divider should be connected in a series circuit wherein
the current to each resistors are equal to each other and sum of the voltages in each resistors are
equal to the voltage of the power source. In parallel circuit, The voltage was the one equal to
every resistors thus, the essence of minimilazing the voltage wasn’t possible.
To connect everything in the LTSpice, the wire toolo is used. As shown in the figure
below, the wire tool is represented with a pencil and placed beside the basic components.
WIRE TOOL
The wire tool could simply put connections to the components by running the line
thorugh the components as seen in the figure below.
The design of voltage divider is now complete however, this circuit wasn’t complete if
there are no measuremnets or values within each components. One should assign the values of
the components.
Measurements:
Components should have their own values to run the simulation. The values of the
voltage would indicate the voltage supply of the whole circuit and the values of the resistors
would determine the resistance of each resistors to the voltage.
For better understanding, the computations are given for this circuit. Let us assume that
all the voltage from the source to be distributed to the resistors. series circuit is often called a
voltage divider for its ability to proportion—or divide—the total voltage into fractional portions
of constant ratio. With a little bit of algebra, we can derive a formula for determining series
resistor voltage drop given nothing more than total voltage, individual resistance, and total
resistance: [5]
eq (1)
Assuming that the total voltage from the source is 10V, the first resistor (R1) have 10 kΩ
and the second resistor is 20 kΩ. For the series circuit, the total resistance is the sum of all the
resistors thus resulting to 30 kΩ. Applying the voltage drop across each resistor:
10 k Ω
E R 1=10 V = 3.3333V
30 k Ω
20 k Ω
E R 2=10 V = 6.6667V
30 k Ω
The sum of the voltages is equal to 9.9997 or approximately 10V which is the total voltage
source.
To input the same measurements to the LTSpice, clicking the right click towards the
components, the measurement section (as seen in the figure below) would appear. Input 10V for
the power source and 10 Kω for R1 and 20 kΩ for R2. The values is shown also in the schematic
diagram.
Note that for the resistors, the ‘k’ should be indicated as an input.
It is also possible to put texts to the workspace. As seen the figure below, the text
command could be easily place a text within the circuit. The text ‘voltage divider’ is used in the
sample.
TEXT TOOL
SIMULATION
By clicking the wire of the circuit before reaching the resistors, the voltage data is seen as
10V which is true as the power source is 10 V. The left side (y – axis) of the measurement
window is the voltage amount and at the bottom (x – axis) is the running time. The said data is
represented in green line marked on the 10V on the graph given with the default name of
V(n001).
On the other hand, the figure below shows the voltage of drop of the circuit by the
resistor 1 (R1) which is represented in blue line under default name of V(n002). Based on the
computations on the paper, the voltage drop by the R1 is approximately 3.3333V leaving the
circuit with 6.6667V volts; wherein the data show in the software is that the voltage of the series
circuit 6.666V.
Since the circuit shows default names especially on measurement of wires, using the label net
tool (showed below) one can label each part of the circuit and eventually the default name would
change.
LABEL NET
Proceeding to measure the current of each resistor, placing the pointer onto the
components changes from probe to different figure. Clicking the resistor will show the voltage as
well as the current. The first picture below shows that the current in R1 is 333.33333µA
represented in green line with default name of I(R1).
As seen in the figure below, overlapping of the lines indicates that the value of the
current of R1 and R2 is the same thus, the current of the R2 is 333.33333µA.
Basically, the data is the evidence that at series circuit, the values of current between the
resistors are equal all throughout based on Ohm’s Law.
LTSpice could also determine the power of each component. By pointing at the
components and pressing Alt within the keyboard, a thermometer is seen.This would indicate
determining the power. By clicking the components using thermometer, the power is seen.
(shown below)
The figure above show the power within the resistor R while the figure below shows the
power within the power supply.
Difference between voltages within the nodes could also be seen. Using the probe, click
and hold the output section (as seen below)
and press ctrl and drag to the different node (the figure below is from the youtube video with the
link at the top)
And the difference of the voltages of output node and the different node is seen in the
measurement window (seen below).
Additional components could also be introduced within the circuit. A one component is
the capacitor. By placing the capacitor with capacitance of 10n within the output node at first
there is no change in voltage as seen in figure below.
However, if the stimulation Command is changed as seen below, by checking the ‘start
external DC supply voltages at 0V’ the voltage started to oscillate from 0v to 6.6667V.
The figure above shows that it oscillates however the graph wasn’t able to show properly. Thus,
by dragging at the left side of the graph (seen at the figure below), one can zoom the graph and
could clearly show the details.
The cutting tool (shown below) also easily cuts the connection between the components
even without deleting the components.
Video #2: LTSpice Schematic – Simulation Series Part 1
By: Tom Anderson
https://youtu.be/WjknCUslnVA
Saving a schematic work is very important especially for project. Shown below is how to
save the schematic. Starting off with the file button at the top left part of the software wherein
the save button in contained.
FILE
Now for creating the design of the circuits, nothing much added to the procedures as with
the first video lecture. The design of the electric circuit of this video contains a one resistor with
a resistance of 1kΩ, a capacitor with capacitance of 10nF, two grounds and a power supply to
which AC analysis is used with the value of 1.
Shown below are the steps for creating the design to which same as the previous lecture.
Staring off by placing the components on the work space. Note that the voltage is found in the
component tool.
Using the move tool, components and even the labels of the components could be
rearrange in the space.
MOVE TOOL
Start now assigning with the measurements of each components. For the Voltage source,
the advance option should be click in order to show different option and types of a power
voltage. This dhows more specific type of power supply.
By clicking the Advance button, the following
options are showed. AC analysis is used by the example
thus, an input o 1 to AC amplitude is used.
After the values are properly placed, the
connections should be established. Using the pencil like
tool on the top of the workspace, create lines or
connection of the components in the circuit.
CONNECTION TOOL
For the label of the nodes. As showed in the previous video lecture, the label net tool
(showed in the figure) would indicate the flow of voltage through the circuit. Vin is placed on the
connection between the positive terminal of the power supply and the resistor while the Vout is
placed between the resistor and the capacitor.
LABEL NET
Exploring the graph is the same with the first lecture. By clicking the name and dragging
the grid lines (white grid lines), values from different places within the line is determined
together with the phase.
GRID LINES
VALUES
The previous video lecture shows the AC analysis while this video will show the transient
type of simulation. Using the same circuit design, starting off by changing the voltage option by
right clicking the voltage (shown below) and the following options is given. The value of
capacitor is also changed to 1.59uF.
This option will be shown wherein changes are
implemented. ‘SINE’ is used from the ‘Functions’
and the amplitude is 1 and the frequency is 1kHz.
To simulate properly, the simulation command
should be changed. By clicking the ‘Simulation’
option at the topmost left of the screen (shown
below), options to edit the simulation command is
showed.
SIMULALATE OPTION
AC analysis creates a steady state data of thevoltage out while the transient simulation creates a
transient data up to a steady state (see figure below).
TRANSIENT STATE
STEADY STATE
Comparing with the voltage in to the circuit, the Voltage out is a lot larger than the
introducing voltage. By multiplying the values of the voltage out but 10, we could simply show
that the voltage out is ten times greater than the voltage in.