Electrical
Electrical
ñ ññ
The Electron Theory states that current flows from
NEGATIVE to POSITIVE. Electrons move from atom to
atom as they move through the conductor towards
positive.
ñ
ñ
Conventional theory, also known as HOLE THEORY, states
that current flows from POSITIVE to NEGATIVE. Protons or
the lack of electrons (the holes) move towards the
negative. (Current flow direction in Hole Theory is the
opposite of that in Electron Theory.)
ñ
Voltage is the electrical force that moves electrons through
a conductor. Voltage is electrical pressure also known as
EMF (Electro Motive Force) that pushes electrons.
ñññ
CURRENT is the quantity or flow rate of electrons moving
past a point within one second. Current flow is also known
as amperage, or amps for short.
ñ
ñ
Resistance is the force that reduces or stops the flow of
electrons. It opposes voltage.
ññ ñ
Two basic types of Electricity classifications:
ñ ñ
is electricity that is standing still. Voltage potential with electron
flow.
ñ ñ
is electricity that is in motion. Voltage potential £
electron
flow. Two types of Dynamic electricity exist:
ñ
ñ
Electricity with electrons flowing in only one direction is called Direct Current or
DC.
ñ
ñ
Electricity with electrons flowing back and forth, negative - positive- negative, is
called Alternating Current, or AC.
ñ ñ
The circuit shown below has a power source, fuse, switch, two lamps and wires connecting
each into a loop or circle. When the connection is complete, current flows from the positive
terminal of the battery through the wire, the fuse, the switch, another wire, the lamps, a
wire and to the negative terminal of the battery. The route along which the electricity flows
is called an electrical circuit.ñ ñ
ñ
ññ
A complete Electrical Circuit is required in order to make electricity practical. Electrons must
flow from and return to the power source.
There are three different circuit types, all require the same basic components:
1. Power Source (Battery, Alternator, Generator, etc.)
2. Protection Device (Fuse, Fusible Link, or Circuit Breaker)
]. Load Device (Lamp, Motor, Winding, Resistor, etc.
4. Control (Switch, Relay, or Transistor)
5. Conductors (A Return Path, Wiring to Ground)
£
When voltage is applied to an electrical circuit, current flows in the circuit. The following
special relationship exists among the voltage, current and resistance within the circuit: the
size of the current that flows in a circuit varies in proportion to the voltage which is applied
to the circuit, and in inverse proportion to the resistance through which it must pass. This
relationship is called Ohm's law, and can be expressed as follows:
ñ
Voltage = Current x Resistance
Current flowing in the circuit, in amperes ()
ñ E = IR, V=AR, or V=IR are all variations of the same formula. How you learned
Ohm's law will determine which one you will use. Personal preference is the only difference;
anyone will get you the correct answer.
In the following circuit, assume that resistance R is 2 and voltage V that is applied to it is 12
V. Then, current I flowing in the circuit can be determined as follows:
This law can also be used to determine the voltage V that is needed to permit current I to
pass through resistance R: V = I x R (Voltage= Current x Resistance).
In the following circuit, assume that resistance R is 4 ohms. The voltage V that is necessary
to permit a current I of ] A to pass through the resistance can be determined as follows:
ñ
ñ
If, for example, two or more lamps (resistances R1 and R2, etc.) are connected in a circuit
as follows, there is only one route that the current can take. This type of connection is
called a series connection. The value of current I is always the same at any point in a series
circuit.
The combined resistance RO in this circuit is equal to the sum of individual resistance R1
and R2. In other words: The total resistance(RO) is equal to the sum of all resistances (R1
+ R2 + R] + .......)
Therefore, the strength of current (I) flowing in the circuit can be found as follows:
Resistance R0 (a combination of resistances R1 and R2, which are connected in series in the
circuit as illustrated) and current I flowing in this circuit can be determined as follows:
ñ
When more than one load exists in a circuit, the voltage divides and will be shared among
the loads. The sum of the voltage drops equal source voltage. The higher the resistance the
higher the voltage drop. Depending on the resistance, each load will have a different voltage
drop.
0V + 5V + 7V + 0V = 12V
The voltage drop across resistances R1 and R2 in the following circuit can be determined as
follows:
ñ
In parallel connection, two or more resistances (R1, R2, etc.) are connected in a circuit as
follows, with one end of each resistance connected to the high (positive) side of the circuit,
and one end connected to the low (negative) side. Full battery voltage is applied to all
resistances within a circuit having a parallel connection.
Since battery voltage V is applied equally to all resistances, the strength of currents
1 and
ñ
ñ ñ
A series-parallel circuit has some components in series and others in parallel. The power
source and control or protection devices are usually in series; the loads are usually in
parallel. The same current flows in the series portion, different currents in the parallel
portion. The same voltage is applied to parallel devices, different voltages to series devices.
If the series portion is broken, current stops flowing in the entire circuit. If a parallel branch
is broken, current continues flowing in the series portion and the remaining branches.
ñ
ñ ñ
A resistance and lamps may be connected in a circuit as illustrated below. This type of
connecting method is called series-parallel connection, and is a combination of series and
parallel connections. The interior dash board lights are a good example. By adjusting the
rheostat, you can increase or decrease the brilliance of the lights.
The combined resistance R02 in this series-parallel connection can be determined in the
following order:
Currents
1,
2 and
flowing through resistances 1, 2 and ] in the series-parallel
connection, as shown below, can be determined as follows:
ñ
ñ
A solenoid is an electromagnetic switch that converts current flow into mechanical
movement. As current flows through the winding a magnetic field is created. The magnetic
field will pull the moveable iron core into the center of the winding. This type of solenoid is
called a "pulling" type solenoid, as the magnetic field pulls the moveable iron core into the
coil. A common use for pulling solenoids are in the starting system. The starter solenoid
engages the starter with the flywheel.
ñ
ññ
As current flows through the winding a magnetic field is created. These magnetic lines of
force want to be as small as possible. If an iron core is placed near the coil that has current
flowing through it, the magnetic field will stretch out like a rubber band, reaching out and
pulling the iron bar into the center of the coil.
The force law for charge is similar to the gravitational force law. For two charges,
qè and q , the force between them is:
Fè = qè q /(4< j r)
dere,c j is a fundamental constant of nature, = ~8.885419x10-12 F/m.
Like every other physical quantity, when you deal with charge you must
account
for units.
©c cc c
cjj
cjcc
c
©c jcc c
c
j
cjcc
©c
cc c
ccjc
Bode plots are the most widely used means of displaying and communicating
frequency response information. There are many reasons for that.
Bode' plots are really log-log plots, so they collapse a wide range of
frequencies (on the horizontal axis) and a wide range of gains (on thevertical axis)
into a viewable whole.
You may have used Bode' plots without knowing it. atereo equipment -
amplifiers, speakers, microphones, headsets, etc. - often have frequency response
specifications, and when you buy that kind of equipment, you may have seen a Bode'
plot used to communicate frequency response specifications.
All in all, Bode' plots are widely used, not just to specify or show a frequency
response, but they also give useful information for designing control systems.
atability criteria can be interpreted on Bode' plots and there are numerous design
techniques based on Bode' plots.
You need to know how to use Bode' plots when you encounter them in those
situations, so this lesson will help you to understand the basics of Bode' plots.
What do you need to learn about Bode' plots? dere is a short summary:
Jlots of frequency response. îain and phase are displayed in separate plots.
Logarithmic plots.
The horizontal axis is frequency - plotted on a log scale. t can be either f orc
.
The vertical axis is gain, expressed in decibels - a logarithmic measure of gain.
aometimes, the vertical axis is simply a gain on a logarithmic scale.
îiven these characteristics, you still need to know what a Bode' plot looks
like. Our strategy in this lesson will be to examine some simple systems - first
order and second order systems - to see what Bode' plots for the frequency
response of those systems look like. We'll start with the simplest system first,
and work from there. We will end by looking at how those simple systems can be
combined to make more complex systems with more complex Bode' plots.
Remember one of our goals above.
n this section we will work on that general goal for first order systems.
Let's look at an example Bode' plot for a first order system. dere's a plot for a
sample transfer function.
dere's the Bode' plot. Examine the following points for this plot.
ë cc
That's at f = 159 dz.
Let's look at the low frequency asymptote first. dere's the transfer function.
î(jë) = 1/(jë + 1)
î(-ë) ~= 1/(j0 + 1) = 1
The low frequency behavior of the plot shows that the plot is flat at a value of 1.
Mow, let's look at the high frequency asymptote. dere's the transfer function.
î(jw) = 1/(j ë + 1)
f ë is large, then the imaginary term in the denominator dominates, and we have:
î(j ë) ~= 1/j ë
|î(jë)| ~= 1/ë
The gain drops off inversely with frequency, but the Bode' plot drops off as a
straight line. dmmmm? That's very interesting - that it is a straight line. The
straight line high frequency asymptote shouldn't be cause for consternation. f we
have:
|î(ë)| ~= 1/ë
Remember that the Bode' plot is log gain vs log frequency, so let's look at the
logarithm of the magnitude of the gain.
log(|î(jë)|) = log(1/ë )
= -log(ë )
= -log(ë) - log( )
ao, log gain depends linearly upon the log of frequency (ë) for higher
frequencies.
That's an important point to remember, and it is also a reason Bode' plots are
used so much. When the asymptotic behavior - both at high frequencies and low
frequencies - is straight line behavior, it makes Bode' plots easier to sketch and
easier to understand.
Actually, we need to note that the slope of this plot - at high frequencies - is
just -1. Look again at the asymptotic high frequency relationship between the gain
and frequency.
heck that conclusion on the plot to be sure you understand what it means.
The last point we need to examine is the behavior of the frequency response
for frequencies between high frequency and low frequency - what we referred to
as the mid-point earlier. f the frequency response function is given by:
î(jë) = 1/(jë + 1)
î(jë) = 1/(j + 1)
The magnitude of the gain is:
|î(jë)| = 1/|j + 1| = 1/sqrt(2)
~= 0.707
We will plot the phase for this transfer function- the one used earlier in this
section:
î(jë) = 1/(jë + 1) with = .001
We'll start with second order factors in the denominator, i.e. second order
poles. We're not done with Bode' plots. Remember:
©c Our Bode' plots so far were all plotted with a log scale on the vertical (gain)
axis. ecibels are more often used and you need to learn about them.
©c aecond order systems have interesting Bode' plots - and it is important to
know about them. lick here to look at Bode' plots for second order systems.
When we introduced Bode' plots, we noted that the vertical scale of a Bode'
plot is often in terms of decibels. t's time you got acquainted with decibels if you
haven't heard of them before. dere's a start.
f a system had an output power, Jo, and an input power, Ji, then the ratio of
output power to input power - the power gain - is:
Jo/Ji
The decibel gain is proportional to the logarithm - to the base ten (10) - of the
power gain
The gain can be expressed as the logarithm - to the base ten (10) - of the power
gain
îain = log10(Jo/Ji)
Alexander îraham Bell did a lot of work with the deaf, and he was recognized for
his work with an honorary doctorate in 1880 by îaulladet ollege in Washington,
..(and he also delivered the commencement address) de is more famous for his
founding of the Mational îeographic aociety, and other work he did.
Alexander îraham Bell was also honored by having a unit named in his honor - the
bel.
Today, the decibel is a commonly used unit to measure sound intensity and it is
well known that high decibel levels contribute to deafness - a very ironic closing of
the circle.
Today, power is not so much an issue. We're more interested in voltage gain of an
amplifier. There's an interesting transition from power to voltage that will help us
understand how gain - expressed in decibels - is viewed today.
n an amplifier, if the amplifier has an input resistance R1, then the power input
to the amplifier is given by:
Jower n = V12/R1
= 10 log10(Vo2/Ro)/(Vi2/Ri)
= 10 log10(Vo2/Vi2) + 10 log10(Ri/Ro)
= 20 log10(Vo/Vi) + 10 log10(Ri/Ro)
The final result has a term in it that depends upon the resistors.
Today, engineers are often more concerned with things like voltage gain. The
resistances and power involved are not a concern at all when analyzing control
systems, so the resistance term is ignored, and we take the gain, in db, of a system
to be:
îaindb = 20 log10(Vo/Vi)
We should realize that we can plot gain, in db, for a system as a function of
frequency. The ratio of output voltage to input voltage is simply the ratio of
output amplitude to input amplitude at some frequency - our old friend, frequency
response.
OK! You know about decibels. But there's some other things you need to know
about Bode' plots. The vertical axis on a true Bode' plot is scaled in db. The
horizontal axis is scaled using a logarithmic frequency scale. dere's some not-so-
obvious facts about the frequency scale.
cccccccWrong! Octave refers to eight, not two. The reason a doubling of frequency
is called an octave is that the musical world defined the term far earlier than we
ever thought of it. An octave is a doubling of frequency, but it's eight notes in the
scale to go up an octave.
Ok, now we're going to put this all together. dere's a Bode' plot for a first
order system. t has a gain of 20db, and a corner frequency near f = 80 dz.
Mow, look at the slope of the high frequency portion of the plot.
©c Every decade increase causes the same decrease in dbs.
©c Actually, every octave increase causes equal decreases in dbs.
©c The slope appears to be -20 db/decade.
heck that this is the slope for any decade, from 1000 to 10,000 or from
3000 to 30,000 dz.
f we go back to the transfer function for a first order system, we can re-
examine the high frequency behavior. dere's the transfer function.
î(jë) = 1/(jë + 1)
î(jë) ~= 1/jë
|î(jë)| ~= 1/ë
log(|î(jë)|) = log(1/ë
= -log(ë )
= -log(ë) - log( )
Mow, if we start with some frequency, ëo, we can calculate the gain at the
frequency.
îain¦ (ëj) = -20 log(ëj) - 20 log( )
Mow, take a frequency one decade higher, at 10ëo.
îain¦ (10ëj) = -20 log(10ëj) - 20 log(
We can calculate the difference in the db gain at these two frequencies.
îain¦ (10ëj) - îain¦ (ëj)
= [-20 log(10ëj) - 20 log( )] - [-20 log(10ëj) - 20 log( )]
The difference is:
Reflecting on the derivation above, we realize that this derivation says that
the slope is -20 db/decade for the high frequency asymptote in the Bode' plot.
t's also possible to express that another way. f we consider two frequencies
that are an octave apart, we can see that the slope can also be said to be -
6db/octave.
The difference in the frequency response between the two frequencies is:
îaindb(2wo) - îaindb(wo)
= -20 log(2) = -6.0206 db - in one decade - and it's usually just rounded to -
6db/octave.
t's time to leave this topic. dowever consider this. We've only looked at one
first order system. digher order systems - even second order systems - are bound
to have some differences in their Bode' plot behavior. digh frequency asymptotes
will drop off at different slopes, for example, although we'll find that they drop
off at integral multiples of -20db/decade or -6 db/octave.
There are lots of interesting things you need to know, and you can start
looking at second order systems now.
aecond order systems exhibit behavior that you will never see in a first order
system. We're going to work on that goal for second order systems - systems that
have this general transfer function.
dere's a Bode' plot for a second order system. This system has the following
parameters:
That means that the high frequency gain drops off at -40 db/decade.
©c At the natural frequency, the (jë) term becomes -ë , cancelling out the
last term in the denominator, the ë term, since j = -1.
©c Mow, the really interesting things start to happen. When those terms cancel
the denominator just has one term left, and we have:
Mow we can find an explanation for the hump in the frequency response.
©c The only term that involves the damping ratio is the one left in the
denominator when ë = ë.
©c The damping ratio is in the denominator, so the smaller the damping ratio,
the larger the frequency response is going to be.
©c At ë = ë, the magnitude of the frequency response function is:
©c or î(jë) =îdc/j2ù
©c t depends only upon the gain and the damping ratio, and, the smaller the
damping ratio, the higher the gain at the natural frequency.
Mow, recall the other important behavior at low frequencies and high
frequencies.
©c And, we can insert the point at the resonant frequency, using our formula.
jc î(jë) =îdc/j2ù
For this example, we'll assume ù = 0.1. Remember:
î¦= 10, and ù = 0.1,
so this works out to be a gain of 50 at the resonant peak, the equivalent of 34 db.
o we have a problem here?
©c The peak is well above either of the asymptotes at the natural frequency.
©c We should believe all of the math we've done.
©c s there really a problem here? ahould we look at the actual frequency
response? dere it is. There's the peak. t does exist.
Let's examine the parameters here again to be sure that his all hangs
together. The system parameters were:
©c î¦= 10,
©c ù = 0.1,
©c ën = 2 < 20, (since that natural frequency was 20 dz.)
©c î¦ = 1.0.
©c Matural frequency = 159 dz.
©c amping ratio - variable and controllable by user.
What should we note about the second order system response in the movie?
Finally, we have to deal with the phase. A Bode' plot isn't complete until you
have the phase plot. dere's a phase plot for a system with:
dow the phase plot depends upon damping ratio is something you should know.
Mext, we have a movie of phase shift as a function of damping ratio.
©c î¦ = 1.0.
©c Matural frequency = 159 dz.
©c amping ratio - variable.
Mow, at this point you've seen Bode' plots for second order system with
complex poles. aecond order systems with real poles are really combinations of
two first order systems, and they will be covered in the next section.
Myquist Jlots
There will be times when you will need to have some sense of what a Bode'
plot looks like for a larger system. A useful skill is to be able to sketch what the
plot should look like so that you can anticipate what you'll get. That's particularly
helpful when you have a complex system and you enter a large transfer function.
t's not only helpful. You can often gain insight by playing "What if?" games with a
notepad and pencil.
n this section, we will look at some larger systems and examine some overall
properties of Bode' plots for those systems.
We will start with a system that is not all that large - a second order system
with two real poles. Just for discussion, we'll use the system with the transfer
function shown below.
©c At low frequencies, the (.002s + 1) term in the denominator will still look
pretty much like 1.0.
©c dowever, as we go up in frequency, the (.01s + 1) term will have an effect.
©c The (.01s + 1) term introduces a corner frequency which we discussed earlier
in the section on Bode' plots for first order systems.
©c The corner frequency is at:
jc f = 100/2< = 15.9dz.
At slightly higher frequencies, the (.002s + 1) term will start to have an effect.
©c The (.002s + 1) term will add another -20db/decade slope to the plot, for a
total of -40 [Link].
©c We get -40 db/decade because we now have two poles contributing to the
roll-off, and 2*(-20db/dec) = -40 db/dec.
©c The second corner frequency is at f = 500/2p = 79.5dz.
©c The straight line approximation is high at the corners, but gives a pretty
good idea of where the actual Bode' plot lies.
Mow, let us make this slightly more complicated. dere's another transfer
function.
atart by looking at the gain - as before.
And don't forget we still have one more corner frequency. so let's add the last
corner frequency.