Professional Documents
Culture Documents
Electro Engineering
Lectures Notes
ELCN216, ELC316
2021
9/1/2021 1
Prof. Dr. Mostafa Afifi
Dr. Fawzy Hashim
2 9/1/2021
Teaching Classes
• Lectures: Two Hrs. / Week
• Tutorials: One Hr. / Week
• Labs: Two Hrs. / Week
Grading Policy
• Semester work (Assignments and Quizzes) 10% (20%)
• Midterm Exam 10% (20%)
• Practical Exam 20% 20%
• Final exam 60% (40%)
9/1/2021 3
References
• Allan Hambley, Electrical Engineering, Principles and
Applications, Prentice Hall, 2012.
• R. Feynman, R. Leighton and M.L. Sand, "Feynman lecture
on physics, Reading Mass", Addison-Wesley,1989.
9/1/2021 4
Course Contents
Part 1. Introduction
1.1 Electromechanical Interaction
1.2 History of Electricity
1.3 Basic Definitions of Electric Quantities
1.4 Basic Dimensions, and Units of Measurement
Part 2. Electricity
2.1 Electrical Force and Electrical Field
2.2 Electric Potential Energy and Electric Potential
2.3 Charge Distribution
9/1/2021 5
Part 3. Magnetism
3.1 Magnetic Force and Magnetic Field
3.2 Electromagnetic induction and Magnetic Circuits
3.3 Electromagnetic field formation and propagation
Part 4. Circuit Analysis
4.1 Circuit Elements
4.2 Ohm’s, KCL, and KVL Laws
4.3 Circuit Analysis
4.4 RLC Circuits
9/1/2021 6
Part 5. Electrical Machines
5.1 DC and AC Motors
5.2 Stepper and Servo Motors
5.3 Human Machine Interface
9/1/2021 7
Part 1. INTRODUCTION
9/1/2021 8
1.1 Electromechanical Interaction
• The handling and operating of electric circuits by
mechanical engineers is proper for the advance of life
prosperity.
• In all aspects of our life Electric and Magnetic Field
Interactions with electromechanical integration is
now very evident.
• Mechanical engineers are the first to use electric
motors to operate and manipulate engine operations.
• Also they are the first to apply digital handling of
information using rotating shafts and timing activities.
9/1/2021 9
Applications of Electrical Engineering in
Automotive Industry
• For Safety: Antiskid brakes, inflatable restraints,
Collision warning and avoidance, Blind-zone
detections, infrared night vision systems, Heads-
up displays and accident notifications.
• For Communications and entertainment:
AM/FM Radios, Digital audio Broadcastings,
CD/Tape players, Cellular phones, Computer /e-
mail.
9/1/2021 10
• For convenience: Electronic navigation,
Personalized seat/mirror/radio settings, electronic
door locks.
• For Emission, performance & Fuel economy:
Vehicle instrumentation, electronic ignition, Tire
inflation sensors, computerized performance
evaluation and maintenance scheduling, and
adaptable suspension systems.
• For alternative propulsion systems: Electric
vehicles, advanced batteries, and Hybrid vehicles.
9/1/2021 11
• Other examples are in Household Appliances:
– Keypads for operator control
– Sensors
– Electronic displays
– Microcomputer Chips
– Electronic digital switches
– Heating Elements
– Motors
• Electronics have become so intimately integrated with
mechanical systems that a new name, mechatronics,
is being used for the combination.
• Harmonious blending of many different technologies
allow the production of modern complex systems.
9/1/2021 12
Major application subdivisions of Electrical Eng.
that interest Mechanical Engineering
• Communication systems: With major modern Information
technology using Internet broadcastings in ground and Satellite
systems.
• Computer Systems: Process and store of information in digital
formats, Examples of wide scale applications is the control
systems of modern cars.
• Control Systems: Gathering information with sensors and
processing for physical control, examples are the heating and
air cooling in buildings, temperature and flow rates in chemical
processes and control of motion in tall buildings.
9/1/2021 13
• Electromagnetism: Using microwaves in ovens,
manufacturing cell phones, and satellite
applications.
• Electronics: applied in every field of
engineering and science, many useful circuits
are planned for this course to introduce and
build major engineering capabilities.
• Power systems: for interchanging conversion of
mechanical and electrical energies with
applications in transportation and increase of
efficiency.
9/1/2021 14
• Signal Processing: where transducers (sensors) are
used to convert physical phenomenon to electrical
signals that can be processed for desired
performance by computers. Major example of this is
the control of the timing of the ignition spark in cars
to optimize performance and avoid damaging knock
of engines.
9/1/2021 15
Output of a transducer for a Knocking Engine
9/1/2021 16
1.2 History of Electricity
• THALES Originator of the word Electron for the Greek’s
AMBER ( )كهرمانrods used to discover Electric Forces
(Electrostatics), also originator of Magnetism taken
from a Greek place called Magnesia 22 centuries ago
• BENJAMIN FRANKLIN in 1750 discovered the
conservation of electric charges (positive and
negative)
• K F GAUSS formulated the Divergence Theorem
relating Electric Induction to enclosed charges
• A VOLTA invented the Voltage Cell in 1800
9/1/2021 18
• H C OERSTED discovered the relation between
Currents and magnetic fields in 1819
• A M AMPERE invented the Solenoid coil for a
magnet in 1920
• G S OHM Published Ohm’s law in Germany
(first denied for a decade)
• M FARADAY discovered generation of currents
from changing Magnetic fields in 1831
9/1/2021 19
• J C Maxwell demonstrated the Electro-Magnetism in
1873 and radiation
• H Hertz Generated and detected meter radio waves in
1888
• Albert Einstein discovered relativity to relate static
electricity to stationary person and varying
magnetism to moving person.
9/1/2021 20
*Fluid-Flow Analogy
The Electrical circuits are analogous to fluid-flow Systems
9/1/2021 21
1.3 Basic Definitions of Electric Quantities
Electrical Charge
• The Electrical Charge "Q" is the quantity (mole) of
electricity Q = N × e, either negative as an excess
of electrons, or positive as deficiency in the
electrons (excess of protons).
• The standard unit of electrical charge is the
Coulomb: C = 6.24 × 1018 e
• The smallest unit of free charge known in nature
is the charge of an electron or proton, which has a
magnitude of: qe = qp =1.602 × 10-19 C
9/1/2021 22
Electrical Current
Is a measure of time rate of flow of electrical charge
through the cross section of a conductor or circuit
element. The unit is ampere (A) which is equivalent to
coulombs per second (C/s)
t
dq ( t )
i( t ) = q ( t ) = i( t ) dt + q ( t0 )
dt
t0
9/1/2021 23
Example
Suppose that charge versus time q(t) for a given
circuit element is given by:
Current
i(t) = dq(t)/dt = 0 for t < 0
9/1/2021 24
q(t) = 2 – 2 e-100 t i(t) = 200 e-100 t
9/1/2021 25
Voltage (Electrical Potential Difference)
•The voltage across a circuit element is the energy
transferred per unit of charge (Joule/Coulomb)
flowing in the element.
9/1/2021 30
Example:
Compute the Power “P” and the Energy “W” for the
shown voltage source, in the time interval between :
t1 = 0 and t2 = ∞
9/1/2021 32
•The circuit consists of a battery, a switch, the headlight,
and wires connecting them in a closed circuit, as illustrated in
the previous figure.
9/1/2021 33
•A switch is used to control the flow or non-flow of the electrical current,
so it is connected in series with the circuit.
•When the switch is closed current flows though the circuit, on the other
hand when the switch is opened, the head lamps dim, with no flow of
current.
•The headlamps contain special tungsten wired that can withstand high
temperatures, Tungsten is not good electrical conductor and electron
charges experience collisions with the atoms of the tungsten causing glow
from heat.
• Note that the two headlights are connected in parallel so that any defect
of one would not affect the other, and also to have identical circuit
dependence, getting the same potential difference on each of one of the
headlights.
9/1/2021 34
1.4 Basic Dimensions and Units of Measurement
• A Dimension defines some physical characteristics of
the matter.
• A Unit is a standard by which a dimension is measured.
• The Basic Dimensions are:
– Length [L]
– Mass[M]
– Time [T]
They are Basic because other dimensions can be
derived in terms of them.
9/1/2021 35
Examples of Derived Dimensions :
• Volume = [L]3
• Density = [M] [L]-3
• Speed = [L] [T]-1
• Acceleration = [L] [T]-2
• Force = [M] [L] [T]-2 Mass x Acceleration
• Work = [M] [L]2 [T]-2 Force x Displacement
• …
9/1/2021 36
• The Dimensions of Electrical quantities can also be
derived from the basic dimensions as follows:
– The Force between two Electrical Charges is given by
Coulomb’s Law :
F = (1/4πε) (Q1 . Q2 / R2)
ε: permittivity of the medium, R: distance between charges
9/1/2021 38
• Also, we can derive:
• [P] = [V][I]
= (-1/2 M1/2 L1/2 T-1)(ε1/2 M1/2 L3/2 T-2)
= M L2 T-3
• [W] = [P] T
= M L2 T-2
• [R] = [V]/ [I]
= (-1/2 M1/2 L1/2 T-1)/(ε1/2 M1/2 L3/2 T-2)
= -1 L-1 T
9/1/2021 39
Systems of Units
• Different unit systems are defied for different
domains, some of them are:
- Electro-Static system of Units (ESU)
- Electro-Magnetic system of Units (EMU)
- Electrochemical System …..
• To avoid conversions among different systems,
the Standard International “SI” also called the
Practical System of units is devised to be the
Standard System.
9/1/2021 40
Standard International “SI” System :
• Length is measured in meters (m)
• Mass is measured in Kilograms (Kg)
• Time is measured in Seconds (Sec)
• Electrical charge is measured in Coulomb (C)
• Electrical current is measured in Ampere (A)
• Electrical Voltage is measured in Volt (V)
• Electrical Power is measured in Watt (W)
• Note :
– (1 Amp =3000 Million ESU)
– (1 Volt = 3333.3 ESU)
9/1/2021 41
For Currents, Voltages, Powers and other quantities we encounter a
tremendous ranges of values. The prefixes shown in the following
table are used to denote these ranges
9/1/2021
femto- f 10-15 42
Part 2. Electricity
9/1/2021 1
The FIVE Forces of Physics (Nature)
9/1/2021 2
Electrical Force
• Consider a system of two Point Charges Q1 and Q2 , separated by a
distance R in vacuum.
F = K (Q1Q2 /R2)
o
9/1/2021 3
Coulomb's Law : F = K (Q1Q2 / R2)
9/1/2021 4
• Note that electric force is a vector which has both
magnitude and direction.
• The force is a Repulsion for similar polarity charges
and an Attraction for opposite polarity charges
9/1/2021 5
Electric Force due to Multiple Point Charges
• When more than two-point charges are present, the net
(resultant) Force on any one charge is simply the Vector
Sum of the forces exerted on it by the other charges.
9/1/2021 6
Vectors Representation (Rectangular Form)
In Polar Form the vector is defined by: its radius and its angle of
inclination from the positive X-axis (r, Ɵ)
2 + F2
| Fnet | = Fnet
x net y
FNet y
= tan −1
FNet x
9
9/1/2021
Vector subtraction
Vector subtraction is a special case of vector addition : A - B = A + (- B)
Vector (- B) has the same magnitude but opposite in direction
Note:
Vector C = A + B
Vector D = A - B,
9/1/2021 10
Example
What is the Magnitude of the net Force on q1 due to q2 and q3, and in
what Direction?
y - axis value
tan = = tan -1( 21 ) = 63.43 deg
x - axis value
2 + F2
| Fnet | = Fnet = (( 7.4) 2 + (3.2) 2 ) (10 −5 ) 2 N
x net y
| F net | = +8.06 10 -5 N
3.2 10 −5 N
1 = tan
−1
−5
− 7.4 10 N
9/1/2021
1 = 23.3 from the - x axis 13
Electrical Field E
K = 1/4πε K = 1/4πε
9/1/2021 15
Electric Field Strength E due to Point Charge Q
E = K (Q / R2) [N/C]
Notes:
➢ Since F = K (QQ’/ R2) Then F = E Q’
➢ The direction of force F = EQ’ is the
Q is the Field Source (Originator) aliened to the direction of the electric
q is the Test Charge (+1 C) field lines E
9/1/2021 16
The Electric field strength (density) E is a Vector
➢Its direction is away from Q, If Q is positive
➢Its direction is toward Q, If Q is negative
➢Its magnitude is large near by Q and week far from Q
9/1/2021 17
3-D Cartesian Coordinate System P(x, y, z)
9/1/2021 21
Unit Vector
The Unit Vector is dimensionless vector of magnitude =1, and
specify a certain direction
Example:
Define the unit vector in the direction of the vector 𝑟Ԧ which
is given by:
𝑟Ԧ = 2𝒙 − 2𝒚 − 𝒛
𝑟Ԧ
The unit vector is defined as: 𝑟Ƹ =
|𝑟|
As: 𝑟 = 22 + (−2)2 +(−1)2 = 3
𝑟Ԧ 2 2 1
Then: 𝑟Ƹ = = 𝑥 − 𝑦 − 𝑧
|𝑟| 3 3 3
𝑟Ƹ = 𝟎. 𝟔𝟔𝟕 𝒙 − 𝟎. 𝟔𝟔𝟕 𝒚 − 𝟎. 𝟑𝟑𝟑 𝒛
9/1/2021 22
Example
• R1 and R2 Magnitudes
│R1│ = − 32 + 32 = 18
│R2│ = − 32 + 32 = 18
9/1/2021 24
E1 and E2 Magnitudes :
• |E1| = K Q1 / │R1│2 = (9*109*5*10-9) / (18) = 2.5 N/C
• |E2| = K Q2 / │R2│2 = (9*109*8*10-9) / (18) = 4 N/C
E1 and E2 x,y,z Components :
𝟏 ) = 2.5 (- 0.707 x + 0.707 y) = -1.767 x + 1.767 y
• E1 = |E1| (𝑹
𝟐 ) = 4 (- 0.707 x + 0.707 z) = -2.8 x + 2.8 z
• E2 = |E2| (𝑹
Total or Net Electric field (Vector Sum of E1,E2):
Enet = (E1X + E2X) + (E1y + E2y) + (E1z + E2z) = -4.567 x + 1.767 y + 2.8 z
Thus:
│Enet│ = (-4.567 ) 2 + (1.767 ) 2 + (2.8) 2 = 5.64 N/C
𝟐.𝟖 𝟏.𝟕𝟔𝟕
𝜽 = 𝒄𝒐𝒔−𝟏 = 60o from z axis, and 𝝓 = 𝒕𝒂𝒏−𝟏 = 21o from -x axis
𝟓.𝟔𝟒 𝟒.𝟓𝟔𝟕
9/1/2021 25
Part 2. Electricity
9/1/2021 28
• Electric Potential Energy (Ue):
Is the work done (W) to locate a charge in a position (at a distance)
relative to other charge(s)
Potential Energy (U) = Work done
= Force x Distance
U = F x r = [K (Q1 x Q2)/ r2] x r
= [K (Q1 x Q2)/ r] (J)
• If the two charges Q1, and Q2 have the same sign, U is positive, and
work must be done to bring the charges together.
• If the two charges have opposite signs, U is negative, and work is
done to keep the charges apart .
29
9/1/2021
• Electric Potential (V):
• E is constant every
where between the two
plates V varies from one
equipotential line to the
other.
9/1/2021 8
Potential Difference in an Electric Field due to point charge
Using the General formula:
Va = KQ/ra, Vb = KQ/rb
9/1/2021
34
Field lines (solid) and equipotential lines (dashed)
9/1/2021 35
See You Next Lecture
Part 2. Electricity
9/1/2021 38
Electric Field due to Uniformly Distributed Line Charges
•The line charges can be considered as long array of small (dx), with
elementary charges (dQ) distributed along its length (L).
•If the line charge density is = Q / L (C/m), then Q = L, and
dQ = dx
•As E = K Q / R2, then each dQ would generate an Electric Field dE
dE = K dQ / R2 = K dx / R2
Where R is the distance from dQ to some point around the line, and K
(coulomb constant) = 1/4πε0 = 9 x 109 (N m2/ C2) in free space
9/1/2021 39
dE y = dE cos
dQ
=K cos
P (r
+ x2 2
)
2
dQ r
=K 2
r + x r 2 + x2
2
rdx
=K
(r 2
+x )
2 3/ 2
dE = K dQ / R2 = K dx / R2
dEx = dE sinƟ (eliminate each other)
dEy = dE cosƟ (add to each other)
40
𝒓 𝒅𝒙
➢For Finite line charge of Length L 𝒅𝑬𝒚 = 𝑲 𝟑ൗ
𝒓𝟐 + 𝒙𝟐 𝟐
rdx
L/2 L/2
Ey = 2 K
dx
= 2K r (r
0 (r 2
+x )
2 3/ 2
0
2
+x )
2 3/ 2
L/2
x
= 2 K r .
r 2
(r 2
+x )
2 1/ 2
0
L/2
= 2K r .
r (r + ( L / 2)
2 2
)
2 1/ 2
2 K L/2
= .
r (r + ( L / 2) )
2 2 1/ 2
𝐿/2
Note that : 2 = sin Ɵ𝑚𝑎𝑥
(𝑟 + (𝐿/2)2 )1/2 41
➢For Infinite line charge
𝒓 𝒅𝒙
𝒅𝑬𝒚 = 𝑲 𝟑ൗ
𝒓𝟐 + 𝒙𝟐 𝟐
rdx x
Ey = K (r +x )
2 3/ 2
= Kr.
( )
2 1/ 2
r r +x
2 2 2
−
−
K x 2 K
= =
(
r r 2 + x2 )1/ 2
−
r
42
Example:
For = 1 nC/m, and r = 2 m, find Er ?
2 * 9 *10 9 *10 −9
E = = 3.6 N/C
9/1/2021
5 45
Electrical Potential due to Infinite Line Charge
2 K
Since Er of an infinite line charge =
r
Then:
b
2 K
b b
1
Va − b = dr = 2K dr = 2K . ln r
a
r a
r a
= 2 K . (ln b - ln a)
= 2 K . ln b/a
9/1/2021 47
Example: Calculate the Capacitance C between two concentric, equally and
oppositely-charged lines
C=Q/V
2k
b b b
1
V = Er dr = dr = 2k dr = 2 K . ln (b/a)
a a
r a
r
2
C per unit length = = = ε = ε0 × εr
V 2k. ln( b / a) ln( b / a)
9/1/2021 48
Table of Commonly Used Integrals:
L/2
L/2
dx x
(r 2
+x )
2 3/ 2
=
(
r r +x
2 2
)
2 1/ 2 sec(x) tan( x)dx = sec(x) + C
0 0
9/1/2021 13
See You Next Lecture
Part 3. Magnetism
9/1/2021 1
Electric Field & Magnetic Field
• Electric forces acting at a ❑ Magnetic forces acting at a distance
distance through Electric field through Magnetic field.
Vector field E. Vector field B, H.
• Positive charge (+) and negative ❑ North (N) and south (S) pair of poles
charge (-). (no mono pole)
• Opposite charges attract, like ❑ Opposite poles attract, like poles repel.
charges repel.
• Electric field lines visualizing the ❑ Magnetic field lines visualizing the
direction and magnitude of E. direction and magnitude of B, H.
9/1/2021 2
Sources of magnetic Filed
• Permanent Magnet
9/1/2021
Magnetic Force (Lorentz Force)
• The force exerted on a moving charge by a magnetic field is given by
the vector cross product:
→ → →
(N)
FB = q (v B )
FB = q(vB sin )
9/1/2021
→ → →
FB = q (v B ) FB = q(vB sin )
9/1/2021
Motion of a point charge in a Uniform Magnetic Field
❑ FB never has a component parallel to v so it can not change the kinetic
energy of the charge q
❑ The force FB can change only the direction of movement of charge q.
❑ So, the q moves in a circle in a plane perpendicular to the B.
9/1/2021
Magnetic Force on a Wire Carrying Current
❑ Moving charges with a drift velocity vd in a uniform (constant)
magnetic field B feel Lorentz force FB :
→ → →
F B = q vd B
❑ Over a time period t required for the charge to traverse the length L of
→ → →
the wire, we have:
F B = (q / t ) vd t B
❑ Since q / t = i and v t = L, we can write:
→ → →
F B = i ( L B )
→
❑ The equation is known as the motor equation Where L is a vector
that points to the direction of i and has a length equal to │L│
9/1/2021 8
→ → →
F B = i ( L B )
9/1/2021 9
Torque on a Current Loop
9/1/2021 10
9/1/2021
• Magnetic Force on a Wire Carrying-Current (motor equation)
→ → →
F B = i L B
• Suppose the Initial position: Lines 2 and 4 are parallel to magnetic field B
lines, then:
F2 = F4 = iaB = 0, F1 = F3 = ibB, A = ab
→ → →
• Torque on one loop:
= i A B
• Torque of an N loop coil of same area:
→ → →
= Ni A B
9/1/2021
See You Next Lecture
9/1/2021 13
Part 3. Magnetism
(Continue)
9/1/2021 1
Magnetic Field Caused by Current
• As you may know, it is possible to make a magnet by winding wire
in a coil and running a current through the wire.
• From this and other experiments, it can be noticed that current
creates a magnetic field.
• The magnitude of the magnetic field B at a specified distance (r)
from a wire carrying current, depends on the current I, and falls
off as 1/r.
B∝I/r
9/1/2021
• To find the direction of the field, we use another right-hand rule:-
➢ Point your thumb in the direction of the current I; the way your
fingers of your right-hand wrap is the direction of the magnetic field.
9/1/2021
Biot&Savart Law
• The magnetic field dB due to
a current element (Segment) i ds
m 0 i ( ds rˆ)
dB =
4 r 2
= 4 10 −7
T m/A (H/m)
m 0i
B=
2R
9/1/2021
Force Between Two Parallel Current Lines
m 0i
❑ Recall that a wire carrying a current in B =
2R
a magnetic field feels a force.
❑ When there are two parallel wires
carrying current, the magnetic field
from one causes a force on the other.
❑ When the currents are parallel, the
two wires are pulled together.
❑ When the currents are anti-parallel,
the two wires are forced apart.
FB = i( L B)
9/1/2021
m 0i
Ba at a distance d from Long Straight B =
Wire carrying current ia
2R
m 0ia
then Ba =
2 d
Ampere’s Law
B&S Law
m 0i
B =
2R
B ds = m0ienc
dot product
9/1/2021 9
❑ Ampere’s Law for magnetic fields is
analogous to Gauss’ Law for electric fields.
❑ Draw a closed “amperian loop” in any
shape around a system of current lines.
❑ Adding up the component of B along the
loop, for each loop element of length ds.
❑ The value of this integral is proportional
to the current enclosed by the loop.
B ds = m0ienc Ampere’s Law
dot product
9/1/2021 10
B Outside Long Straight Wire carrying current
• We are free to draw an Amperian loop of any
shape, but since we know that the magnetic
field goes in circles around a wire, it is easier to
choose a circular loop of radius r > R.
• Then B and ds are parallel, and B is constant
on the loop, so:
B ds = B 2r = m0ienc
• And solving for B gives our earlier expression.
B ds = m0ienc
Ampere’s Law
m 0i
B = outside a straight wire
2r
9/1/2021 11
B Inside Long Straight Wire carrying current
• Because the current is evenly distributed over the
cross-section of the wire, it must be cylindrically
symmetric.
• So we again draw a circular Amperian loop
around the axis, of radius r < R.
• The enclosed current is less than the total
current, because some is outside the Amperian
loop, then the amount current enclosed is:
r 2
• so ienc = i
R 2
r2
B ds = B 2r = m 0ienc = m 0i 2 R
m 0i
B= 2
r inside a straight wire
9/1/2021
2R 12
Solenoids
• One loop of wire has a magnetic field B at
its center:
m 0i
B=
2R
• We can make B stronger by simply adding
more loops. A many turn coil is called a
solenoid.
• We can use Ampere’s Law to calculate
B inside the solenoid.
L/2
L/2
dx x
(r 2
+x )
2 3/ 2
=
(
r r +x
2 2
)
2 1/ 2 sec(x) tan( x)dx = sec(x) + C
0 0
9/1/2021 16
See You Next Lecture
9/1/2021 17
Part 3. Magnetism
9/1/2021 1
Electromagnetic Induction
• Current produces Magnetic Field.
• Does Magnetic Field produce Current?
9/1/2021 2
Laws of Electromagnetic Induction
Farady’s Law of Induction
“A voltage (Electro Motive Force emf) is induced in a circuit whenever
relative motion exists between a conductor and a magnetic field, and
the magnitude of this voltage (emf) is proportional to the rate of
change of the flux”.
9/1/2021 3
Mutual Inductance
• If two coils are placed near to each other, a changing current in one coil will
induce an EMF (E) in the other coil
• From Faraday’s law, the EMF E2 induced in coil2, is proportional to the rate of
change of the magnetic flux passing through it.
E2
d 2,1 dI1
E2 dt
9/1/2021 dt 4
d 2,1 dI 1
E2 = C E2 = C'
dt dt
• Constant C is defined by the number of turns in coil2: N2
• Constant C’ is defined as the Mutual Inductance M2,1
Fraday’s Law:
d 2,1 dI 1
E2 = N 2 and E 2 = M 2,1
dt dt
• If we equate the two right hand sides, we get the Mutual Inductance
M2,1 N
M 2,1 =
2 B2 ,1
I1
Where N 2 B2 ,1 is the total flux in coil2 in Weber (Wb)
9/1/2021 5
• The reverse situation can also take place when a change in
current in coil2 induces an EMF into coil1
• The mutual inductances M1,2 = M2,1 so that :
dI 2 dI1
1 = − M and 2 = −M
dt dt
• the SI Units for mutual inductance is the Henry (H)
9/1/2021 6
Self Inductance
• The concept of inductance applies also to a single coil of N turns
• When a changing current passes through a coil, a changing
magnetic flux is inducing in the coil, that induces an EMF (E) in the
same coil.
• The induced EMF E, due to the self-inductance L of the coil is by
Faraday’s Law:
d B dI
= −N = −L
dt dt
9/1/2021 7
• So: N B
L=
I
A
= B A = 0 NI B inside Solenoid (coil)
l
A
• Then: L = 0 N 2
l
Note :
The coil inductance L depends on the coil geometry and the
medium
9/1/2021 8
Magnetic Circuits
Electric Circuit Magnetic Circuit
i >>> φ [Wb]
Resistance (R) oppose the flow of Reluctance (R) is the oppose to the
the current. flux in magnetic path. The Unit is
The unit is Ohm ampere-turn /weber.
9/1/2021
Electric Circuit Magnetic Circuit
R = l/ (μ A).
R = ρ. l/A.
Directly proportional to l. Inversely
Directly proportional to l.
proportional to A Inversely
Inversely proportional to A.
proportional to
Depends on nature of material ρ.
μ = μ0μr.
9/1/2021
Magnetic Field (B, H) & Magnetic Flux (Φ)
9/1/2021 14
Example 1
9/1/2021 Calculate Ø
Answer:
• μ = μ0μr=(4π* 10-7) *2500 = 31.4 10-6 H/m
• R=l/μA
• l1 =l3 = 45 cm, A1 =150 cm2, A3 =100 cm2
• l2 =l4 = 42.5 cm, A2 =A4 =150 cm2
• Rtotal = R1 + R2 + R + R
3 4
9/1/2021 Calculate Ø, I
Answer:
• For Bgap = 0.5 T
• Bgap = Φ/Agap
• 0.5 = Φ / (1.05)(12* 10-4)
• Φ = 6.3 * 10-4 Wb
(Φ is constant in both core & gap)
9/1/2021
See You Next Lecture
9/1/2021 20
Part 4
Circuit Analysis
4.1 Circuit Elements, Ohm’s Law, KCL, and KVL
4.2 Circuit Analysis Methods
4.2.1 Node Voltage Analysis
4.2.2 Mesh Current Analysis
4.2.3 Superposition Analysis
4.2.4 Thevenin’s and Norton theorems
4.3 RLC Circuits
9/1/2021 1
Circuit Elements
❑ Electrical circuits consist of various types of circuit elements
connected by conductors.
❑ The circuit elements can be resistors, inductors, capacitors, and
electrical Voltage and current sources
❑ Voltage and current sources are:
➢ independent sources : maintain a specified value, independent
of other elements of the circuit.
➢dependent sources : its value is a function of other source
❑Examples of independent and dependent current and voltage
sources are shown in the next slide
9/1/2021 2
Independent Current Sources Independent Voltage Sources
9/1/2021 3
Resistor
• The geometry of the resistor and its material influence its
resistance value: R = ρL / A, in ohms (Ω)
➢ ρ is the resistively of the material, in ohm meters (Ωm)
➢ L and A are the resistor’s length
and cross section area respectively
• Voltage-Current relation
V = iR , i =V/R
• Power consumption
P = v i or i 2 R or v 2 / R in watt (W)
• The conductance of a resistor is the inverse of its Symbol
resistance value G=1/R [Mho Ʊ or Siemens S]
9/1/2021 4
Resistivity (Ωm) values of selected materials at (300o K)
❑ Conductors High conductivity (Low Resistivity)
➢ Aluminum 2.73 x 10-8
➢ Carbon (amorphous) 3.5 x 10-5
➢ Copper 1.72 x 10-8
➢ Gold 2.27 x 10-8
➢ Nichrome 1.12 x 10-6
➢ Silver 1.63 x 10-8
➢ Tungsten 5.44 x 10-8
9/1/2021 5
Practical Applications (Strain Gauge)
1. Using resistance to measure strain
❑ Strain (ε) is defined as fractional change in length, given by:
ε = ∆L / L
❑ As Strain is applied, the length and area change, resulting in changes in the resistance :
R = ρL / A
❑ The Strain and the change in resistance are related by the gauge factor:
G = (∆R / R) /(∆L / L) = ∆R / R ε
R is the resistance of the gauge before strain
❑ Then ε = ∆R / R G
Resistive strain gauge consists of:
nickel-copper alloy foil that is photo-etched
to obtain multiple conductors aligned with
the direction of the strain to be measured
9/1/2021 6
2. Using Wheatstone bridge to measure unknown resistances
❑ For example, it is used to measure the resistances of strain gauges in
experimental stress studies, as follows:
❑R2 and R3 are adjusted until
the meter indicates zero current.
Gauge
❑In this condition, we say that the bridge is balanced, then the current
ig and the voltage difference vab are zero.
9/1/2021 7
❑Applying KCL at node a and node b, we have:
➢ i1 = i3 and i2 = i4
➢ As vab = 0, the potential of the point a equals the
potential of the point b yielding:
i1 R1 = i2 R2 and i3 R3 = i4 Rx
➢As i1 = i3 and i2 = i4 then R1 / R3 = R2 / Rx
➢Or Rx = R2R3 / R1
9/1/2021 8
Capacitor
• A capacitor consists of two conducting plates separated by an
insulator (or dielectric).
A
C =ε
d
= r 0
0 = 8.854 10 −12
(F/m)
Current _ Voltage
Relation
t2
Energy stored w = p ( t ) dt
Symbol 2 t
W=½Cv J in Capacitor 1 P=i.v
9/1/2021 9
Inductor
• An inductor is made of a coil of conducting wire
N2A N / L (turns density)
L= N . A (turns area)
l
= r 0
0 = 4 10 (H/m)
−7
Voltage _Current
Relation
Symbol
t2
Energy stored w =
• W=½Li2 J in Coil
t
1
p ( t ) dt
P=i.v
9/1/2021
10
Reactance
❑As resistors have resistance R, Inductors and Capacitors have
reactance X, also in ohms (Ω)
❑We can think of the reactance as a frequency-dependent
resistance.
❑ There are two types of reactance
➢Inductive reactance XL
➢Capacitive reactance XC
❑Unlike resistors that dissipate energy in the form of heat
➢ Inductive reactance (XL) stores energy in the form of a
magnetic field
➢ Capacitive reactance (XC) stores energy in the form of an
electric field
9/1/2021 11
❑For sinusoidal voltage source V (t) = V0 sin(ωt):
➢ XL = ω L = 2 π f L
➢ XC = 1/ω C = 1/2 π f C
• ω: Angular velocity in radians per second (ω = 2πf)
• L: Inductance in henries
• C: Capacitance in farads
• f: Frequency in hertz
❑ For (f = 0)
➢ XL = 2 π f L = 0 Short circuit
➢ XC = 1/2 πf C = Open circuit
❑For (f = )
➢XL = 2 π f L= Open circuit
➢XC = 1/2 πf C = 0 Short circuit
9/1/2021 12
Impedance
❑ The impedance Z describes the total opposition to the electrons flow
in AC circuit.
❑Z is complex value composed of two parts: the real part R and/or the
imaginary part X, in ohms (Ω)
Z = R 2 + X 2 , = tan −1 ( X R )
R = Z cos( ) , X = Z sin ( )
9/1/2021 14
❑ For circuits which have more than one circuit
element connected in series, the results are:
9/1/2021 15
Ohm’s Law
❑ The Ohm’s Law relates the voltage and the current by
v = i R , where the resistance “R“ is the constant of
proportionality, with a dimension of ohm Ω .
9/1/2021 16
❑ Ohm’s Law can also be used to determine the AC
voltages and currents in a circuit when impedances are
used: v = Z i, where “Z“ is the proportionality constant
in ohm Ω, for fixed frequency.
❑Note that:
➢ voltage and current are in phase if Z is resistive.
➢Voltage leads current by 90o if Z is inductive.
➢Voltage lags current by 90o if Z is capacitive.
Component Impedance Amplitude and Phase
Resistor ZR R R0 o
Inductor ZL j L L90 o
9/1/2021
Capacitor ZC − j (C ) 1 C − 90 o 17
Vector Representation of Impedance
Imaginary
+J
Complex Plane
XT
Real
𝒁= 𝑹𝟐 + 𝑿𝑻 𝟐
-J φ = tan-1 (XT / R)
9/1/2021 18
Kirchhoff’s Current & Voltage Laws
❑A node in an electric circuit is a point at which
two or more circuit elements are joined
together.
❑ A loop in an electric circuit is a closed path,
starting at one node, proceeding through
circuit elements, and returning to the same
node.
❑ A mesh is a loop, that has no inner (nested)
loops inside it.
9/1/2021 19
Kirchhoff’s Current Law (KCL)
❑ KCL states that the total flow of current into a node is
zero. In other words the sum of currents entering a
node is equal to the sum of the currents leaving this
node.
• At node “a”: i1 + i2 – i3 = 0 or i1 + i2 = i3
• At node “b“: i3 – i4 = 0 or i3 = i4
• At node “c“: i5 + i6 + i7 = 0.
9/1/2021 20
Currents’ reference Directions
❑ To know the direction of flow of currents, it is possible
to assume the direction based on first guess and then
be sure of the direction by analysis.
❑A convenient way is to give currents entering a node a
positive value, and currents leaving a node a negative
value.
❑ After the analysis the positive values of the currents
indicate the correct guessed directions, and the
negative values indicate the reversal of the direction.
9/1/2021 21
Kirchhoff’s Voltage Law (KVL)
❑ KVL states that : the algebraic sum of the voltages
for any closed path (loop) in an electric circuit equals
to zero
9/1/2021 23
Conservation of Energy related to Kirchhoff’s Law
❑ At any time the sum of the powers in all the circuit
elements must be zero: Pa + Pb + Pc = 0, otherwise more power is
absorbed (consumed) than the power supplied (delivered) to the
circuit.
❑The Power in each element is given by:
➢In Element “ A “ Pa = va i
➢in Element “ B “ Pb = - vb i
➢in Element “ C “ Pc = vc i
vx = i . Rx ix = v / Rx
9/1/2021
vx = (vtotal / Req) . Rx ix = (itotal . Req) / Rx
27
See You Next Lecture
9/1/2021 28
Part 4
Circuit Analysis
9/1/2021 1
Node Voltage Analysis
❑ The strategy of node voltage analysis is as follows:
1. Identify all nodes in the circuit and select a reference
node
2. Assign a voltage to each node, and a current to each
branch
3. For each unknown node, write KCL Equation in Terms
of the node Voltages (using Ohm’s low i = v/R).
4. Solve the resulting set of algebraic equations to
determine the unknown node Voltages, and use Ohm’s
low to determine the branch currents .
9/1/2021 2
Example
❑ Steps 1&2
9/1/2021 3
❑ Step 3: KCL for Nodes with unknown voltage value
Node 2: +i2 – i3 – i4 = 0
Node 3: i1 + i3 – i5 = 0
(v1-v3)/R1 + (v2-v3)/R3 - v3/R5 = 0
v2 - 4v3 = -10 Equation 2
9/1/2021 4
❑ Step 4: Calculate each node voltage and branch current
9/1/2021 5
Solving the set of algebraic equations :
Equation 1: -8v2 + v3 = -50
Equation 2: v2 - 4v3 = -10
❑ Express it into Matrix Form [G][V]=[I] : *Standard Form
−8 1
1 −4 =
❑ Calculate the determinants of matrix : D, M1,and M2
|D| = −8
1 −4
1
= 32 - 1 = 31
|M1| = −50
−10
1
−4
= 200 + 10 = 210
−8 −50
|M2| = 1 −10
= 80 + 50 = 130
❑ V2 = |M1|/|D| = 210/31 = 6.77 V
❑ V3 = |M2|/|D| = 130/31 = 4.19 V
6
Mesh Current Analysis
9/1/2021 7
Example
Step 1,2
1.Identify meshes
2.Assign mesh currents (clockwise)
9/1/2021 8
Step 3: Apply KVL around each mesh
❑The three unknown mesh currents i1, i2 and i3 are obtained from the solution of
the following three simultaneous KVL equations:
➢- vA + (i1 - i3 ) R2 + (i1 - i2) R3 = 0
➢ vB + i2 R4 + (i2 - i1 ) R3 = 0
➢ -vB + (i3 - i1 ) R2 + i3 R1 = 0
*Standard form [R][I]=[V]
➢(R2 + R3) i1 - R3 i2 - R2 i3 = vA
➢-R3 i1 + (R3 + R4) i2 = - vB
➢- R2 i1 + (R1+ R2) i3 = vB
Step 4: Given the values of voltages sources and resistors we can calculate
the unknown current as follows:
9/1/2021 9
• [R][I]=[V]
D= M1 =
M2 = M3 =
9/1/2021 10
Matlab Code:
9/1/2021 11
Superposition Analysis
❑ The Superposition analysis finds the response of linear circuit to each
independent source acting alone, and then add them up to find the
response of the circuit to all sources acting together, as follows :
1. Turn off all independent sources except one. Find the output (voltage or
current) due to that active source.
2. Repeat step 1 for each of the other independent sources.
3. Find the total output by adding algebraically all the results found in steps
1 & 2 above
9/1/2021 12
Turning sources off
Current source:
a
i = is We replace it by a current
is source where is 0 open-circuit
Voltage source:
+ We replace it by a voltage
source where v 0 short-circuit
DC
vs v = vs s
i
-
9/1/2021 13
❑ An Example: Find the Voltage Across R2
9/1/2021 14
Superposition Application to voltage Adders
❑Output voltage Vo can be found by adding the contribution of
each input voltage Vi acting alone while the others are turned off
(shorted):
Vo1 = [v1 / (R1+ R2llRo)] * [R2llRo]
9/1/2021 16
❑ VTh is the Open-Circuit Voltage (Voc) at the terminals a and b,
when the load RL is Opened (disconnected).
❑ RTh is the equivalent resistance at the terminals a and b, when
all independent sources are turned off.
9/1/2021 17
An Example
9/1/2021 18
❑Norton’s equivalent circuit can be found by: transforming the Thevenin
equivalent circuit into a current source in parallel with the Thevenin
resistance, as shown:
i a
VTh RL
IN = RN = RTh
RTh
9/1/2021 21
Resistance R (Ω) Reactance X (Ω)
Frequency Independent Frequency Dependent
R XL = j ωL XC = 1 / j ωC
ω = 2пf ω = 2пf
Impedance (Ω)
Z=R+jX Rectangular Form
Z = Z Polar Form
Z = R 2 + X 2 , = tan −1 ( X R )
Ф (Angle between v and i ) = 0 o Resistance
= 90 o Inductance
9/1/2021 =-90 o Capacitance 22
AC Steady State Analysis using impedance method (phasors)
R = 100 Ω , L= 0.3 H, C= 40 pF
ZR = R = 100 Ω
9/1/2021 24
Phasor Diagram
9/1/2021 25
1st Order RC and RL Circuits
9/1/2021 26
Resistor R (Ω) Inductor L (H) Capacitor C (F)
9/1/2021 27
DC Transient Analysis of RC Circuit
Case 1: Discharge of the Capacitor KCL at the top Node joining R and C
i R+ i C = 0
Vc /R + C dVc /dt = 0
Vc + RC (dVc /dt) = 0 1st order diff. eq.
Assumed Solution: vc (t) = K e s t
➢We get k from the circuit initial conditions,
Then K = vc (0) = vc initial
Note: ➢We get s by substituting the assumed
C prevents instantaneous Solution in the 1st order diff. eq.
change in voltage, then K e s t + RC K s e s t = 0
Vc0- = Vc0+ = Vc initial K e s t (1+ RC s) = 0
RC s + 1 = 0 Thus s = - 1/RC
vc (t) = vci e - t / RC RC = Ʈ
Natural (Source Free) Response of RC circuit
e = 2.71828
vc (t) = Vci e - t / Ʈ
Steady States:
At t = 0, vc = vi & At t = , vc = 0
9/1/2021 29
Case2: Charging a Capacitor
KVL around the loop
-Vs + i R + VC = 0
-Vs + (C dVC /dt) R + VC = 0
VC + RC (dVC /dt) = Vs 1storder diff. eq.
Vc initial = 0 Vc Final = Vs
Assumed Solution vc (t) = K1+ K2 e s t
Where K1 = Vc Final and K2 = Vc initial - Vc Final
K1 = Vs K2 = -Vs s = - 1/RC
vc (t) = VS - VS e – t / RC
RC = Ʈ
vc (t) = VS (1 - e – t / RC )
9/1/2021 30
Step (Forced) Response of RC Circuit
vc (t) = VS (1 - e – t / Ʈ )
Steady States:
At t = 0, vc = 0 & At t = , vc = vs
9/1/2021 31
Low Pass RC Filter Transient Analysis in LabVIEW Design Environment
KVL around the loop
-Vs + i R + VC = 0
R
-Vs + (C dVC /dt)R + VC = 0
vR (t ) VC + RC (dVC/dt) = Vs 1storder diff. eq.
+ C vc (t )
vs (t ) - With time interval ∆t, and with a value of
i (t ) variables after n time intervals we get the
following input-output difference equation:
Vi = Vs , Vo = Vc
Vi = Vo + (RC/∆t) ∆Vo
Vi n = Vo n + (RC/∆t) (Vo n - Vo n-1)
Von
Vo n-1
LabVIEW MMI
Vo n = K Vi n + K1 Vo n-1
9/1/2021 33
LabVIEW v & i Curves
9/1/2021 34
• The same process used in the previous low pass RC filter can be
applied to high pass RC filter, and low pass and high pass RL filters
• For RL filters, the results are the same as for RC filters, just replace RC
by L/R ( both represent Ʈ )
Note:
• The analysis in the previous RC filter is done in time domain,
representing voltage and current as a function of time.
• To represent the concept of filtering, the analysis should be done in
Frequency domain, to illustrate the filter’s transfer function (Vout/Vin)
as a function of the source frequency, as shown in the next slide
9/1/2021 35
AC Steady State Analysis of RC Low Pass Filter
Low Pass Filter tends to pass low-frequency components and reject high-
frequency components
Sinusoidal Steady State Analysis is done in frequency
domain to determine the filter’s Transfer Function
(Vout/Vin) as a function of the source frequency ω, as
follows:
Using linear circuit analysis methods, we get:
𝑿𝑪 = 𝟏/𝒋𝛚𝑪
𝑽𝒊𝒏 𝑽𝒊𝒏
Vout = 𝑹 + 𝑿 . 𝑿𝑪 = 𝑹ൗ
= 𝑽𝒊𝒏 / (1 + j ωRC )
𝑪
𝑿𝑪 + 𝟏
9/1/2021 36
RC Filter Transfer Tunction:
H(ω) = (Vout / Vin) = 1 / (1 + j ωRC)
• Defining ωc as the cut-off frequency of the filter: ωc = 1/RC
• The transfer function H(ω) will be: H(ω) = 1/ [1+ j (ω/ωc)]
9/1/2021 37
Good Luck
9/1/2021 38