Chapter 3: Modeling Electrical and Electromechanical Systems
Chapter 3: Modeling Electrical and Electromechanical Systems
Electromechanical Systems
• Electronic circuits and electromechanical devices such as solenoids and actuators are used extensively by mechanical
engineers for instrumentation and sensors
• We will briefly define the properties of electrical circuit elements and develop mathematical models for electrical systems
• Electrical elements can be grouped into two categories:
– Passive elements: elements that cannot introduce energy into a system. Passive elements can only store or dissipate energy. Passive elements include resistors,
capacitors, and inductors
– Active elements: elements that can introduce energy into a system. Voltage and current sources are active elements.
• Inertia, stiffness and friction element are also passive elements for mechanical system.
• Force and motion inputs are active element for mechanical system.
3.2 Electrical Element Laws: Resistor
• Resistors (R) hinder the flow of current and dissipate electrical energy by
converting it into heat (analogous to friction elements)
Ohm’s law
eR RI Ideal linear resistor
R eR I RI 2 Where I q
3.2 Electrical Element Laws: Capacitor
• Capacitors (C) are two conductors separated by a
dielectric (insulator)
1 2
L LI L Power is c LIL I L = voltage x current
2
Electrical Systems: Sources
Voltage source
Current source
3.3 Electrical Systems
• For electrical systems, the important “dynamic variables” are voltage e and current I
• Furthermore, the energy stored by capacitors and inductors depends on the capacitor voltage eC
and inductor current IL, , respectively.
• The mathematical models of electrical systems can be written in terms of eC and IL (see
fundamental ODEs!)
• The voltages and currents in an electrical circuit that are not eC or IL (e.g., voltage drop across a
resistor) can be written in terms of the important dynamic variables by using Kirchhoff’s laws
Kirchhoff’s Voltage Law (KVL)
• Kirchhoff’s voltage law (KVL) states that the algebraic sum of all voltage
across the elements for any close loop is equal to zero.
Summing clockwise:
e1 e2 e3 ein (t ) 0
Moving across a passive element from (+) to (-) (in the direction of current flow)
or moving across a voltage source from (+) to (-) is a voltage drop; e < 0
Moving across a passive element from (-) to (+) (opposite direction of current
flow) or moving across a voltage source from (-) to (+) is a voltage rise; e > 0
Kirchhoff’s Current Law (KCL)
• Kirchhoff’s current law (KCL) states that the algebraic sum of all currents entering and
leaving node is equal to zero
– A node is defined as a junction of three or more wires
– We choose to assign a positive sign convention for current entering a node and a negative
convention for current leaving a node
I1 I 2 I 3 I 4 0
Modeling Electrical Systems
• Mathematical models of electrical systems can be derived using a systematic two-
step process:
– Write the corresponding first-order ODE for each energy storage element (capacitor or inductor)
LI L eL
Sub KVL into 1st-order ODE LIL RI L ein (t ) 1 energy storage element
1st-order model
(use Ohm’s law for eR )
Model
Modeling Electrical Systems:
Example 3.2
• Derive the mathematical model of the simple RLC circuit
1
RI L LI L eC (0) I L dt ein (t ) 0
C
Time derivative
1
LI L RI L I L ein (t )
C
CeC I C Capacitor
R2 I 2 eC R1 ( I in (t ) I 2 ) 0
Ce C I in (t ) I 2 capacitor ODE
Simplify
• Op amps can also be used in circuits to construct filters that remove a desired
range of frequencies from the input signal
Output voltage:
eO K eB e A
eO K eB e A
• We shall see that using a “negative feedback” connection from the output
terminal to the negative terminal causes the second idealized condition
eB e A 0
Op-Amp Circuit: Example 3.6
input voltage eA = 0
eB e A 0
Op-Amp Circuit: Example 3.6 (2)
I1 I A I 2 0
or R2 ein (t ) eA R1 eA eO
Op-Amp Circuit: Example 3.6 (3)
R2 R1
eA ein (t ) eO
R1 R2 R1 R2
KR2 KR1
eO K eB eA ein (t ) eO
R1 R2 R1 R2
Op-Amp Circuit: Example 3.6 (4)
R2
eO ein (t ) “Inverting amplifier”
R1 Output voltage has opposite sign of ein(t)
Active and passive filter
Passive filter: Low pass, high pass, band pass, band stop (notch filter)
RC/RL circuit.
Active filter: Low pass, high pass, band pass, band stop (notch filter)
RC/RL and op amp.
Non-inverting
Input terminal
Output termina
Inverting input
terminal
Negative power supply
(Negative rail)
RL And RC passive low and high
Filters.. summary
Active low pass filter Equivalent circuits of
low pass filter
C1
R2
R1 R2
R2
R1
C1
Gain
vout R 2 1
vin R1 1
2 2
Active low pass filter
Equivalent circuits of
High pass filter
R2 R2
C1
R1 C1 R1
R1
vout R 2 1
vin R1 1
1 2 2
Gain
R C2
R2
R1
Active Low pass filter
1
Fc Cut off frequency
2 R1C1
0
I1 I A I 2 I 3 I 2 I 3
Op-Amp Circuit:
Example 3.7 (2)
0
I1 I A I 2 I 3 I 2 I 3
ein (t ) eA eA eO d
C eA eO
R1 R2 dt
I1 I2 I3
Op-Amp Circuit:
Example 3.7 (3)
ein (t ) eA eA eO d
C eA eO
R1 R2 dt
ein (t ) eO d
C (eO )
R1 R2 dt
1st-order ODE model of op-amp circuit
• These devices convert energy from one form to another (mechanical energy to
electrical energy or electrical energy to mechanical energy)
• Applications/examples
– Motors and generators
– Actuators
– Sensors
– Speakers and microphones
Linear
solenoid
Rotary-to-linear actuator
Current-Magnetic Field Interaction
The Biot-Savart law describes the magnetic field B, where the direction
of the field lines is defined by applying the “right-hand rule”
Magnetically Induced Force
Induced force: F I B
F BI
Induced voltage: eb v B
eb Bv
• A direct-current or DC motor is an
electromechanical system that converts
electrical energy to mechanical energy
(rotational motion) by utilizing the basic
current-magnetism relationships
Tm Fr BIr
where r is the rotor’s radius and is the total length of the wire windings
DC Motor (3)
• If the magnetic field intensity B is constant
the three terms Br can be lumped into a
single constant,
K m Bℓr
Total electromagnetic
torque on the rotor
Tm K m I
400
200
0 Filtration and
0 50 100 150 200 250 300 350 400 450 500
Calculation of
sample torque from Current
-3 by using KM
x 10
8
Torque (Nm)
0
0 50 100 150 200 250 300 350 400 450 500
sample
DC Motor (4)
• Angular motion of the rotor produces an induced voltage opposite the direction of the
armature current (back emf, eb )
K b Br
eb K b Back emf for DC motor
• The constant Kb is typically called the “back-emf constant” and has units of V-s/rad
– Although it is not apparent, the units for Km (N-m/A) and Kb (V-s/rad) are equivalent since 1 V = 1
kg-m2/(s3-A) = 1 N-m/(s-A)
DC Motor: Example
eR eL eb ein (t ) 0
Energizing the voltage source produces a current in the coil which establishes a magnetic
field
The EM force attracts the armature (plunger) toward the center of the coil
c L0
L( x )
d x 1 x / d
AN 2
where inductance with x = 0 is L0
l
Solenoid Actuator (4)
c L0
L( x)
d x 1 x / d
Using compact notation: Lx x I L( x) I
eR eL ein (t ) 0
dL L0
where the change in inductance is Lx
dx d 1 x / d 2 eL
Finally, sub above expression for eL and Ohm’s law for eR
Mechanical FBD
Fem dx d
Energy for
d 1 2
inductor
or, Fem where inductor energy is LI
dx 2
Solenoid Actuator (7)
Taking the derivative with respect to position, the EM force is
1 dL 2
Fem I Nonlinear function!
2 dx
Finally, combine the electrical + mechanical models to obtain the complete solenoid
actuator model:
3rd-order, coupled,
L( x) I RI ein (t ) Lx x I nonlinear system
Energizing the voltage source produces an electrostatic force that pulls the drive arm
to the closure arm (inter-locking “fingers” or “comb-drive”)
n 0 A n 0 ( x0 x) w
Capacitance changes with position: C ( x)
d d
dC deC C x x eC C ( x )e C I
q eC C
dt dt
dC n 0 w
where the derivative of capacitance is Cx
dx d
eR / R
eR eC ein (t ) 0
d 1 2
Fes where capacitor energy is CeC
dx 2
1 dC 2
Fes eC
2 dx
Electrostatic Micro-Actuator (5)
• First, we presented the physical laws that govern the interaction between charge,
current, and voltage for resistor, capacitor, and inductor elements
• Voltage across a capacitor and current through an inductor are the two dynamic
variables of interest