Topic 5 Transfer Function Approach To Modeling Dynamic Systems
Topic 5 Transfer Function Approach To Modeling Dynamic Systems
Web: http://sbie.kaist.ac.kr
Introduction
Transfer function
The transfer function of a linear, time-invariant (LTI) differential-equation
system is defined as the ratio of the Laplace transform of the output
(response function) to the Laplace transform of the input (driving function)
under the assumption that all initial conditions are zero.
Consider the LTI system defined by the differential equation:
(n) ( n 1 ) (m ) ( m 1 )
a 0 y a 1 y a n 1 y a n y b 0 u b1 u b m 1 u b m u ( n m )
where y(t) is the output of the system and u(t) is the input.
Kwang-Hyun Cho
1
Introduction
L [ output ]
T ransfer function G ( s )
L [ input ] zero initial conditions
Y ( s ) b0 s m b1 s m 1 b m 1 s 1 b m
U (s) a 0 s n a1 s n 1 a n 1 s 1 a n
Kwang-Hyun Cho
Introduction
Kwang-Hyun Cho
2
Introduction
Example 4-1
The equation of motion for the system is:
m x kx b x f ( t )
Taking the Laplace transform of both sides of
this equation and assuming that all initial
conditions are zero yields:
( ms 2 bs k ) X ( s ) F ( s )
From the last equation, the transfer function for
the system is:
Figure 4-1
X (s) 1
F ( s ) ms bs k
2
Kwang-Hyun Cho
3
Impulse response function reflecting the correlation
between the input and output
The impulse-response function g(t) is thus the response of a linear
system to a unit-impulse input when the initial conditions are zero.
In practice, a large pulse with a very short duration compared with the
significant time constants of the system can be considered as an
impulse.
Kwang-Hyun Cho
u()(t-)
Time-invariant
property
u(t) y(t)
0 t=
g(t)
t
=
u(1)(t-1) u(1)g(t-1)
u (t )
u ( ) ( t )d
g(t)
y (t ) u (t ) g (t ) u ( ) g ( t )d
+
u(2)(t-2) u(2)g(t-2)
g(t)
The output of a linear time-invariant
system is equal to the convolution between
+
...
4
Impulse-response function and system transfer function
For an identical linear time-invariant system, we can either use impulse
response g(t) or transfer function G(s) to represent the property of the
system (with an implicit assumption of zero initial conditions).
The output y(t) equals to the convolution between the input u(t) and the
impulse response (time domain).
The Laplace transform of output Y(s) equals to the multiplication of the Laplace
transform of input U(s) and the transfer function G(s) (complex frequency
domain).
From a perspective of mathematics, the following representations of an
elevator system are equivalent.
y (t ) u (t ) g (t )
u ( ) g ( t )d
Y ( s ) G ( s )U ( s )
Kwang-Hyun Cho
Block diagrams
5
Block diagrams
Kwang-Hyun Cho
Block diagrams
6
Block diagrams
Note that in a block diagram the main source of energy is not explicitly
shown and that the block diagram of a given system is not unique.
Example 4-2
Consider again the system shown in Figure 4-1.
The transfer function of this system is:
X (s) 1
Eq. 4-4
F ( s ) ms bs k
2
Figure 4-1
Block diagrams
7
Partial-fraction expansion with MATLAB
Num and den are row vectors that specify the coefficients of the
numerator and denominator of B(s)/A(s):
num = [b(1) b(2) b(h)]
den = [a(1) a(2) a(n)]
The command
[r,p,k] = residue(num,den)
finds the residue parameters, poles, and direct terms of a partial-fraction
expansion of the ratio of the two polynomials B(s) and A(s).
The partial-fraction expansion of B(s)/A(s) is given by:
B (s) r (1) r (2) r (n)
k (s)
A(s) s p (1) s p (2) s p (n)
8
Partial-fraction expansion with MATLAB
Example 4-3
Consider the spring-mass-dashpot system mounted on a massless cart as
shown in Figure 4-7.
Let us obtain a mathematical model of this
system by assuming that both the cart and
the spring-mass-dashpot system on it are
standing still for t < 0.
In this system, u(t) is the displacement of
the cart and the input to the system.
The displacement y(t) of the mass relative
to the ground is the output.
After a mathematical model of the system
Figure 4-7 is obtained, we determine the output y(t)
analytically when m = 10kg, b = 20 N-s/m,
k = 100 N/m.
The input is assumed to be a unit-step input.
Kwang-Hyun Cho
9
Partial-fraction expansion with MATLAB
Applying Newtons second law to the present system and noting that
the cart is massless, we obtain:
m y b( y u) k ( y u)
or m y b y ky b u ku
Kwang-Hyun Cho
10
Partial-fraction expansion with MATLAB
0 .5 j / 6 0 .5 j / 6 s
s 1 j3 s 1 j3 ( s 1) 2 3 2
Example 4-4
Consider the mechanical system shown in Figure 4-8.
The system is at rest initially. The displacements x and y are measured from
their respective equilibrium positions.
Assume that p(t) is a step force input and the displacement x(t) is the
output.
Assume that m = 0.1 kg, b2 = 0.4 N-s/m, k1 = 6 N/m, k2 = 4 N/m, and p(t)
is a step force of magnitude 10 N.
11
Partial-fraction expansion with MATLAB
Solving Eq. 4-10 for Y(s) and substituting the result into Eq. 4-9, we get:
k 22
( ms 2 k1 k 2 ) X ( s ) X (s) P(s)
k 2 b2 s
or [( ms 2 k1 k 2 )( k 2 b2 s ) k 22 ] X ( s ) ( k 2 b2 s ) P ( s )
Kwang-Hyun Cho
Kwang-Hyun Cho
12
Partial-fraction expansion with MATLAB
x ( t ) 1 .3 6 9 0 e 1 .2 8 9 8 t c o s (8 .8 9 9 1t )
0 .4 4 6 6 e 1 .2 8 9 8 t s in (8 .8 9 9 1t ) 0 .2 9 7 7 e 7 .4 2 0 4 t 1 .6 6 6 7
From the preceding examples, we have seen that once the transfer
function X(s)/U(s) = G(s) of a system is obtained, the response of the
system to any input can be determined by taking the inverse Laplace
transform of X(s):
Kwang-Hyun Cho
Kwang-Hyun Cho
13
Transient-response analysis with MATLAB
Step response
If numerator (num) and denominator (den) of a transfer function are known,
the command such as
step(sys) or step(num,den)
will generate a plot of a unit-step response and display a response curve on
the screen.
The computational time interval and the time span of the response can be
determined by the statement: t = 0 : t : T ;
Example 4-5
Consider again the spring-mass-dashpot system mounted on a cart shown
in Figure 4-7.
The transfer function of the system is:
Y (s) bs k
U ( s ) ms 2 bs k
Figure 4-7
Kwang-Hyun Cho
Assume m = 10kg, b = 20 N-s/m, k = 100 N/m, and the input u(t) is a unit-
step function.
Substituting the given numerical values into the transfer function, we have:
Y (s) 20 s 100 2 s 10
U ( s ) 10 s 2 20 s 100 s 2 2 s 10
MATLAB program 4-6 will produce the unit-step response y(t).
Figure 4-10
Kwang-Hyun Cho
14
Transient-response analysis with MATLAB
Example 4-6
Consider again the mechanical system shown in Figure 4-8.
The transfer function X(s)/P(s) was found to be:
X (s) b2 s k 2
P ( s ) mb2 s 3 mk 2 s 2 ( k1 k 2 ) b2 s k1 k 2
The transfer function Y(s)/X(s) is obtained as:
Y (s) k2
X ( s ) b2 s k 2
Hence:
Figure 4-8 Y (s) Y (s) X (s) k2
P ( s ) X ( s ) P ( s ) mb2 s 3 mk 2 s 2 ( k1 k 2 ) b2 s k1 k 2
Assume that m = 0.1kg, b2 = 0.4 N-s/m, k1 = 6 N/m, k2 = 4 N/m, and p(t)
is a step force of magnitude 10 N.
Since p(t) is a step force of magnitude 10 N, we can define p(t) = 10u(t),
where u(t) is a unit-step input.
Kwang-Hyun Cho
Substituting the numerical values and p(t) = 10u(t) into the given transfer
functions, we obtain:
Figure 4-12
Kwang-Hyun Cho
15
Transient-response analysis with MATLAB
Impulse response
The unit-impulse response of a dynamic system defined in the form of the
transfer function can be obtained using one of the follows:
impulse(sys) or impulse(num,den)
impulse(sys,t) or impulse(num,den,t)
Before discussing computational solutions of problems involving impulse
inputs, we present some necessary background materials.
Impulse input
The impulse response of a mechanical
system can be observed when the
system is subjected to a very large force
for a very short time.
In handling impulse functions, only the
magnitude (or area) of the function is
important; its actual shape is immaterial.
Figure 4-13
Kwang-Hyun Cho
16
Transient-response analysis with MATLAB
Example 4-8 (we have solved the same problem in time domain
analysis in Topic 3-2)
Consider the mechanical system shown in Figure 4-14.
A bullet of mass m is shot into a block of mass M (where M >> m).
Assume that when the bullet hits the block, it becomes embedded there.
Suppose that the bullet is shot at t = 0- and that the initial velocity of the
bullet is v(0-).
The displacement x of the block is measured from the equilibrium position
before the bullet hits it. Therefore, x(0-) = 0 and dx(0-)/dt = 0.
Assume the following numerical values:
M = 50kg, m = 0.01 kg, b = 100 N-s/m, k = 2500 N/m, v(0-) = 800 m/s
Then the derived initial condition dx(0+)/dt = 0.15997 is used to solve Eq. T5-2.
Kwang-Hyun Cho
17
Transient-response analysis with MATLAB
Taking the Laplace transform of both sides of Eq. T5-2, we see that:
( M m)[ s 2 X ( s ) sx (0 ) x (0 )] b[ sX ( s ) x (0 )] kX ( s ) 0
( M m )[ sx (0 ) x (0 )] bx (0 )
X (s)
( M m ) s 2 bs k
Note that x(0 ) 0.15997 and x (0 ) 0. Therefore,
50.01 0.15997 8.0001
X (s) Eq. T5-3
50.01s 100 s 2500 50.01s 100 s 2500
2 2
The inverse Laplace transform of X(s) gives the response x(t) for t>0+.
8.0001 6.9993
X (s) 0.02286
50.01s 100s 2500
2
( s 0.9998)2 (6.9993) 2
Kwang-Hyun Cho
Example 4-9
Referring to Example 4-8, obtain the impulse response of the system shown
in Figure 4-14 with MATLAB.
Suppose there is an impulse input to the system, then the equation of
system is taken as:
( M m) x(t ) b x(t ) kx u (t ) (t )
The impulse response of the system is calculated under the zero initial
condition. We take the Laplace transform of the above equation.
X (s) 1 1
U ( s ) ( M m ) s bs k 50.01s 100 s 2500
2 2
Kwang-Hyun Cho
18
Transient-response analysis with MATLAB
-3
x 10 Impulse Response of System
2.5
>> grid;
>> title('Impulse Response of System'); -0.5
>> xlabel('t');
-1
>> ylabel('Impulse Response g(t)');
-1.5
0 1 2 3 4 5 6
t (sec)
According to the expression of X(s), we can find the x(t) for t>0+ by just
changing num to 8.0001.
Kwang-Hyun Cho
Y (s) 2 s 10
2
U ( s ) s 2 s 10
Figure 4-7
Kwang-Hyun Cho
19
Transient-response analysis with MATLAB
Figure 4-18
Kwang-Hyun Cho
20
Transient-response analysis with MATLAB
0.1
Output x(t)
>> num = [0.1 0.35]; 0.06
>> impulse(sys)
>> grid 0.02
Figure 4-20
Kwang-Hyun Cho
Figure 4-20
Kwang-Hyun Cho
21
Transient-response analysis with MATLAB
The previous two methods (using the impulse and step function) are
indirect ways of finding the responses subject to initial conditions
Kwang-Hyun Cho
Kwang-Hyun Cho
22
Mathematical modeling of electrical systems in view of
transfer function
Complex admittance
1 I ( s)
Y (s)
Z (s) E ( s)
Kwang-Hyun Cho
Figure 2.6
Reference Node
In this case, we can directly write the nodal equation of the circuit, which
corresponds to Node 1.
V ( s) V ( s) V ( s) V (s) 1 1 1 V ( s)
L
L
L
0 ( )V ( s )
R Ls 1 R Ls R 1 L
R
1
2
R 1
2
1
Cs Cs
Kwang-Hyun Cho
23
Mathematical modeling of electrical systems in view of
transfer function
Rearranging and expressing the resistances as conductances (reciprocal of
resistances), G1 = 1/R1, G2 = 1/(Ls), and G3 = 1/[R2+1/(Cs)], we obtain:
G1
( G1 G 2 G 3 )V L ( s ) G1V ( s ) VL (s) V (s)
G1 G 2 G 3
1
In Figure 2.6 (b), we also have VC ( s ) Cs VL (s)
1
R2
Cs
Solving for the transfer function Vc(s) / V(s) yields:
VC ( s ) 1 G1G 3
V (s) C s G1 G 2 G 3
For a more detailed introduction to the nodal analysis method, which is
quite often applied to large scale circuit analysis, see Engineering Circuit
Analysis, W.H., Hayt and J.E., Kemmerly.
Kwang-Hyun Cho
24
Mathematical modeling of electrical systems in view of
transfer function
Example 6-5
Consider the system shown in Figure 6-22.
Figure 6-22
The circuit shown in Figure 6-22 can be redrawn as in Figure 6-23(a), which
can be further modified to Figure 6-23(b).
Figure 6-23
Kwang-Hyun Cho
25
Mathematical modeling of electrical systems in view of
transfer function
Substituting Z1 = R1, Z2 = 1/(C1s), Z3 = R2, and Z4 = 1/(C2s) into the last
equation yields:
1 1
Eo (s) C1s C 2 s
Ei (s) 1 1 1 1
R1 ( R2 ) ( R3 )
C1s C2s C1s C2s
1
R1 C 1 R 2 C 2 s ( R1 C 1 R 2 C 2 R1 C 2 ) s 1
2
which is the transfer function of the system. Notice that it is the same as Eq.
6-23.
Kwang-Hyun Cho
26
Mathematical modeling of electrical systems in view of
transfer function
As an example, consider the system shown in Figure 6-17. The insertion of
an isolating amplifier between the circuits to obtain nonloading
characteristics is frequently used in combining circuits.
Since amplifiers have very high input impedances, an isolation amplifier
inserted between the two circuits justifies the nonloading assumption.
Thus, in this case:
Eo (s) 1 1
(K )
E i ( s ) R1C1 s 1 R2C 2 s 1
K
( R1C 1 s 1)( R 2 C 2 s 1)
Figure 6-17
Figure 6-22
Eo (s) 1
Eq. 6-23
Ei ( s ) R1C1 R 2 C 2 s ( R1C1 R 2 C 2 R1C 2 ) s 1
2
Kwang-Hyun Cho
27
Mathematical modeling of electrical systems in view of
transfer function
The term R1C2s in the denominator of the transfer function represents the
interaction between two simple RC circuits.
The analysis just presented shows that if two RC circuits are connected in a
cascade so that the output from the first circuit is the input to the second,
the overall transfer function is not the product of their transfer functions.
The reason for this is that when we derive the transfer function for an
isolated circuit, we implicitly assume that the output is unloaded. In other
words, the load impedance is infinite, meaning that no power is consumed
at the output.
Kwang-Hyun Cho
Analogous systems
Kwang-Hyun Cho
28
Analogous systems
Mechanical-electrical analogies
There are two electrical analogies for mechanical systems: the force-voltage
analogy and the force-current analogy.
Analogous systems
29
Analogous systems
where 1
L
iL edt
e de
Figure 6-25 iR , iC C
R dt
Kwang-Hyun Cho
Analogous systems
Since the magnetic flux linkage is related to the voltage e by the equation:
d
e
dt
Eq. 6-28 can be written in terms of as:
d 2 1 d 1
C 2
is Eq. 6-29
dt R dt L
Comparing Eqs 6-26 and 6-29, we can see that the two systems are
analogous.
The analogous quantities are listed in Table 6-2.
Kwang-Hyun Cho
30
Analogous systems
Comments
Analogies between two systems break down if the regions of operation are
extended too far.
In other words, since the mechanical models on which the analogies are
based are only approximations to the dynamic characteristics of physical
systems, the analogy may break down if the operating region of one system
is very wide.
Kwang-Hyun Cho
Analogous systems
Example 6-6
Obtain the transfer functions of the systems shown in Figure 6-26(a) and
(b), and show that these systems are analogous.
Figure 6-26
Kwang-Hyun Cho
31
Analogous systems
For the mechanical system shown in Figure 6-26(a), the equation of motion
is:
b ( x i x o ) kx o
or
bx i kx o bx o
Taking the Laplace transform of this last equation and assuming zero initial
conditions, we obtain:
bsX i ( s ) ( k bs ) X o ( s )
Hence, the transfer function between Xo(s) and Xi(s) is:
b
s
X o (s) bs
k
X i ( s ) bs k b
s 1 We see that
k the two
For the electrical system shown in Figure 6-26(b), we have: systems are
analogous
Eo (s) RC s
Ei (s) RC s 1
Kwang-Hyun Cho
32
Mathematical modeling of electromechanical systems
DC servomotor
Stator fixed magnet
Rotor A rotating shaft
supported by bearings and coil
windings.
Armature the rotor and its
windings. This is the power-
producing component of the
motor. It rotates and carries the
current.
Commutator two insulated, independent
pieces of copper. An electrical switch that
periodically reverses the current in the
motor.
Brush provides a stationary electrical
contact to the moving commutator.
Kwang-Hyun Cho
Kwang-Hyun Cho
33
Mathematical modeling of electromechanical systems
For a constant field current, the flux becomes constant and the torque
becomes directly proportional to the armature current. So,
T K ia
where K is a motor-torque constant.
Notice that if the sign of the current ia is reversed, the sign of the torque T
will be reversed, which will result in a reversal of the direction of rotor
rotation.
( Js 2 b s ) (s ) T ( s ) K I a (s ) Eq. 6-35
Kwang-Hyun Cho
34
Mathematical modeling of electromechanical systems
Considering Ea(s) as the input and (s) as the output and eliminating Ia(s)
and Eb(s) from given equations, we obtain the transfer function for the dc
servomotor:
(s) K
Eq. 6-36
Ea (s) s[ L a J s ( L a b R a J ) s R a b K K b ]
2
Kwang-Hyun Cho
Gear train
Gear trains are frequently used in mechanical systems to reduce speed, to
magnify torque, or to obtain the most efficient power transfer by matching
the driving member to the given load.
Figure 6-28
Kwang-Hyun Cho
35
Mathematical modeling of electromechanical systems
If the radii of gear 1 and gear 2 are r1 and r2, respectively, and the
number of teeth on gear 1 and gear 2 are n1 and n2, respectively, then:
r1 n
1
r2 n2
Because the surface speeds at the point of contact of the two gears must
be identical, we have:
r1 1 r2 2
where 1 and 2 are the angular velocities of gear 1 and gear 2,
respectively. Therefore:
2 r n
1 1
1 r2 n2
If we neglect friction loss, the gear train transmits the power unchanged. In
other words, if the torque applied to the input shaft is T1 and the torque
transmitted to the output shaft is T2, then:
T1 1 T 2 2
Kwang-Hyun Cho
Example 6-7
Consider the system shown in Figure 6-29. Here, a load is driven by a
motor through the gear train.
Assume that the stiffness of the
shafts of the gear train is infinite,
that there is neither backlash nor
elastic deformation, and that the
number of teeth on each gear is
proportional to the radius of the
gear.
Find the equivalent inertia and
equivalent friction referred to the
motor shaft and those referred to
Figure 6-29 the load shaft.
The numbers of teeth on gear 1 and 2 are n1 and n2, respectively, and the
angular velocities of shaft 1 and 2 are 1 and 2, respectively.
The inertia and viscous friction coefficient of each gear train component are
denoted by J1, b1 and J2, b2, respectively.
Kwang-Hyun Cho
36
Mathematical modeling of electromechanical systems
Kwang-Hyun Cho
37
Mathematical modeling of electromechanical systems
The equivalent inertia and equivalent viscous friction coefficient of the gear
train referred to shaft 2 are:
2 2
n n
J 2 eq J 2 2 J1 b2 eq b2 2 b1
n1 n1
So the relationships between J1 eq and J2 eq and b1 eq and b2 eq are:
2 2
n n
J 1 eq 1 J 2 eq b1 eq 1 b2 eq
n2 n2
And Eq. 6-42 can be modified to give:
1
J 2 eq 2 b2 eq 2 T L Tm
n
Kwang-Hyun Cho
In this case, a dc voltage, ea, is applied, and the motor will turn at a
constant angular velocity, , with a constant torque, T.
Hence, dropping the functional relationship based on time from Eq. 6-31,
the following relationship exists when the motor is operating at steady state
with a dc voltage input.
Kwang-Hyun Cho
38
Mathematical modeling of electromechanical systems
Steady state
d ia
La R a ia e b e a R a ia e b e a
dt
d
Note T K ia , and eb K b K b
dt
We have
Ra
T K b ea
K
39
Mathematical modeling of electromechanical systems
Example 6-8
Consider the dc servomotor system shown in Figure 6-30. The armature
inductance is negligible and is not shown in the circuit.
The equivalent moment of inertia of the motor rotor plus the load inertia
referred to the motor shaft is: 2
n
J 1 eq J 1 1 J 2
n2
The armature current produces the torque that is applied to the equivalent
moment of inertia J1 eq . Thus,
d 2 1
J 1 eq T K ia
dt 2
Assuming that all initial conditions are zero and taking Laplace transforms of
above equations, we obtain:
K b s 1 (s) E b (s )
Ra Ia (s) Eb (s) Ea (s)
J1 eq s 2 1(s) K I a (s)
Eliminating Eb(s) and Ia(s) from above equations, we obtain:
KKb K
J1 eq s2 1(s) Ea (s)
Ra Ra
Kwang-Hyun Cho
40
Mathematical modeling of electromechanical systems
Noting that 1(s)/2 (s)= n2/n1, we can write this last equation as:
K K b n2 K
J1 eq s2 2 (s) Ea (s)
R a n1 Ra
Kwang-Hyun Cho
eo K ( e 2 e1 ) K ( e1 e 2 )
where the inputs may be dc or ac signals and
K is the differential gain or voltage gain.
Figure 6-31
Kwang-Hyun Cho
41
Mathematical modeling of operational-amplifier systems
In the ideal operational amplifier, no current flows into the input terminals
and the output voltage is not affected by the load connected to the output
terminal.
In other words, the input impedance is infinity and the output impedance is
zero.
In an actual operational amplifier, a very small (almost negligible) current
flows into an input terminal and the output cannot be loaded too much.
Kwang-Hyun Cho
Inverting amplifier
Consider the operational-amplifier system shown in Figure 6-32.
Assume that the magnitudes of the resistances R1 and R2 are of comparable
order.
Let us obtain the voltage ratio eo/ei. In the derivation, we assume the
voltage gain to be K >> 1.
Let us define the voltage at the minus terminal as e.
Ignoring the current flowing into the amplifier, we have:
ei e ' eo e '
0
R1 R2
ei e 1 1 '
o e
R1 R2 R1 R2
Figure 6-32
Kwang-Hyun Cho
42
Mathematical modeling of operational-amplifier systems
Thus, ei e
o
R R2 Eq. 6-49
e' 1
1 1
R1 R2
Also,
eo K e ' Eq. 6-50
Eq. 6-51 gives the relationship between the output voltage eo and the input
voltage ei.
From Eqs. 6-49 and 6-51 we have:
ei e 0
o
R1 R2
e
'
0
1 1
R1 R2
In an operational-amplifier circuit, when the output signal is fed back to the
minus terminal, the voltage at the minus terminal becomes equal to the
voltage at the plus terminal. This is called an imaginary short.
If we use the concept of an imaginary short, the ratio eo/ei can be obtained
much more quickly than the way we just found it.
ei e ' e ' e o
i1 i2
R1 R2
Figure 6-32 Kwang-Hyun Cho
43
Mathematical modeling of operational-amplifier systems
Since only a negligible current flows into the amplifier, the current i1 must
be equal to the current i2. Thus,
e i e ' e ' e o
R1 R2
Because the output signal is fed back to the minus terminal, the voltage at
the minus terminal and the voltage at the plus terminal become equal, or e
= 0. Hence, we have:
ei eo R2
eo ei
R1 R2 R1
Note that the sign of the output voltage is the negative of that of the input
voltage. Hence, this operational amplifier is called an inverted amplifier. If,
R1 = R2, then the circuit is a sign inverter.
Kwang-Hyun Cho
1. From Figure 6-31, the output voltage eo is the differential input voltage
(e2-e1) multiplied by the differential gain K. That is,
eo K ( e 2 e1 )
where K is infinite. In designing active filters, we construct the circuit such
that the negative feedback appears in the operational amplifier like the
system shown in Figure 6-32. As a result, the differential input voltage
becomes zero, and we have
V oltage at negative term inal = V oltage at positive term inal
2. The input impedance is infinite.
3. The output impedance is zero.
Kwang-Hyun Cho
44
Mathematical modeling of operational-amplifier systems
The use of these three conditions simplifies the derivation of transfer
functions of op-amp systems.
The derived transfer functions are, of course, not exact, but are
approximations that are sufficiently accurate.
e+
e-
eo
Example 6-9
Consider the operational-amplifier circuit shown in Figure 6-33.
If the op-amp is an ideal one, then the output voltage eo is limited and the
differential input voltage becomes zero, or voltage e and voltage e, are
equal.
' '' R1
Thus, ei e e eo
R1 R 2
Figure 6-33
Kwang-Hyun Cho
45
Mathematical modeling of operational-amplifier systems
Example 6-10
Consider the operational-amplifier circuit shown in Figure 6-34.
We define:
- e1 e ' e2 e '
i1 i2
+ R1 R2
e3 e ' e ' e o
i3 i4
R3 R4
Figure 6-34
Kwang-Hyun Cho
Noting that the current flowing into the amplifier is negligible, we have:
e1 e ' e 2 e ' e 3 e ' e o e '
0
R1 R2 R3 R4
Since the amplifier involves negative feedback, the voltage at the minus
terminal and that at the plus terminal become equal. Thus e = 0, and
e1 e e e
2 3 o 0
R1 R2 R3 R4
or
R4 R R
eo e1 4 e 2 4 e 3
R1 R2 R3
If we choose R1 = R2 = R3 = R4, then
e o ( e1 e 2 e 3 )
This circuit is an inverting adder.
Kwang-Hyun Cho
46
Mathematical modeling of operational-amplifier systems
Example 6-11
Consider the operational-amplifier system shown in Figure 6-35.
Obtain the transfer function for the system. Then obtain the response of the
system to a step input of a small magnitude.
Let us define:
ei e ' d ( e ' e o ) e ' e o
i1 i2 C i3
R1 dt R2
Figure 6-35
Kwang-Hyun Cho
Kwang-Hyun Cho
47
Mathematical modeling of operational-amplifier systems
R2 1
Eo (s) Ei (s)
R1 R 2 C s 1
R2 1 E
R1 R 2 C s 1 s
R2 E 1 1
R1 s s 1 /( R 2 C )
The inverse Laplace transform gives:
R2 E
eo (t ) 1 e t /( R 2 C )
R1
Kwang-Hyun Cho
Example 6-12
Consider the operational-amplifier circuit shown in Figure 6-36.
The voltage at point A can be derived as:
e A ei e eA 1
o eA ( ei eo )
R1 R1 2
The Laplace transform of this last equation is:
1
E A (s) [ E i ( s ) E o ( s )]
2
The voltage at point B is:
1
Cs 1
EB (s) Ei (s) Ei (s)
1 R2C s 1
R2
Cs
Since the operational amplifier involves
negative feedback, the voltage at the
minus terminal and that at the plus
Figure 6-36 terminal become equal.
Kwang-Hyun Cho
48
Mathematical modeling of operational-amplifier systems
Thus,
E A (s) E B (s)
Kwang-Hyun Cho
49