CHAPTER -2 2.4 Electrical Network Transfer Functions Example 2.6 Transfer Function—Single Loop via the Differential Equation PROBLEM: Find the transfer function relating the capacitor voltage, VC(s), to the input voltage, V(s) in Figure 2.3. Figure 2.3 RLC Network SOLUTION: v(t) = vL(t) + vR(t) +vC(t) variables from current to charge, i(t) = dq(t)/dt From the voltage-charge relationship for vC(t), q(t) = C vC(t) Taking the Laplace transform assuming zero initial conditions, ππ(π ) 1 1 = = 2 2 π(π ) πΏπΆπ + π πΆπ + 1 πΏπΆπ [π + (π /πΏ)π + 1/πΏπΆ] Example 2.7 Transfer Function—Single Loop via Transform Methods PROBLEM: Repeat Example 2.6 using mesh analysis and transform methods without writing a differential equation. SOLUTION: Using a mesh equation, V(s) = (Ls + R + 1/Cs). I(s) ------------ eqn: (1) Page 1 of 14 The voltage across the capacitor, VC(s) VC(s) = (1/Cs) I(s) , I(s) = Cs VC(s) ------------ eqn: (2) Substitute eqn: (2) into eqn: (1) V(s) = (Ls + R + 1/Cs). Cs VC(s) = [πΏπΆπ 2 + π πΆπ + 1].VC(s) ππ(π ) 1 1 = = 2 2 π(π ) πΏπΆπ + π πΆπ + 1 πΏπΆπ [π + (π /πΏ)π + 1/πΏπΆ] --------------------------------------------------------------------------------------------------------------------------------------- Example 2.8 Transfer Function—Single Node via Transform Methods PROBLEM: Repeat Example 2.6 using nodal analysis and without writing a differential equation. SOLUTION: Using nodal analysis, Figure 2.3 RLC Network At Node Vc(s) , I(s) = Vc(s) / Zc (s) = Vc(s) / [1/Cs] (1/Cs) . [V(s) _ Vc(s) ] = (Ls + R) . Vc(s) (1/Cs) . V(s) = (Ls + R + 1/Cs) . Vc(s) = (1/Cs) [LCs2 + R C s+ 1) . Vc(s) V(s) = [LCs2 + R C s+ 1) . Vc(s) ππ(π ) 1 1 = = π(π ) πΏπΆπ 2 + π πΆπ + 1 πΏπΆπ [π 2 + (π /πΏ)π + 1/πΏπΆ] -----------------------------------------------------------------------------------------------------------------Page 2 of 14 Example 2.9 PROBLEM: Transfer Function—Single Loop via Voltage Division Repeat Example 2.6 using voltage division and the transformed circuit. SOLUTION: Using voltage division, ππ(π ) = [ 1 πΆπ 1 πΆπ πΏπ+π + ] V(s) The transfer function, VC (s) / V(s) : ππ(π ) 1/πΆπ = π(π ) πΏπ + π + 1/πΆπ Example 2.10 PROBLEM: Transfer Function—Multiple Loops Given the network of Figure 2.6(a), find the transfer function, I2(s) = V(s) FIGURE 2.6 a. Two-loop electrical network SOLUTION: Using KVL: For Loop 1, R1 I1(s) + Ls. [ I1(s) – I2(s)] = V(s) R1 I1(s) + Ls. I1(s) – Ls. I2(s) = V(s) (R1+ Ls) I1(s) – Ls. I2(s) = V(s) For Loop 2, ---------------------- eqn: (1) R2 I2(s) + Ls. [ I2(s) – I1(s)] + (1/Cs) I2(s) = 0 – Ls. I1(s)] + [ R2 + Ls + (1/Cs)] I2(s) = 0 Taking the Laplace Matrix Form, | ---------------------- eqn: (2) R1 + Ls −πΏπ I1(s) 1 1 | | | = |V(s)| = | | . V(s) −πΏπ [R2 + Ls + (Cs)] I2(s) 0 0 Page 3 of 14 R1 + Ls −πΏπ β=| | = (R1+ Ls). [ R2 + Ls + (1/Cs)] – (Ls )2 −πΏπ R2 + Ls + (1/Cs) R1 + Ls π(π ) R1 + Ls β2 = | |= | −πΏπ −πΏπ 0 I2(s) = β2 / β , I2(s) = 1 | = 0 − (−πΏπ ) = Ls = Ls. V(s) 0 πΏπ . π(π ) 1 )]−(Ls )2 Cs (R1+ Ls)[ R2 + Ls + ( I2(s) πΏπ = π 1 πΏ π(π ) π 1. π 2 + π 1. πΏπ + ( πΆπ ) + π 2. πΏπ + (πΏπ )2 + πΆ − (πΏπ )2 I2(s) πΏπ = π 1 πΏ π(π ) π 1. π 2 + π 1. πΏπ + ( πΆπ ) + π 2. πΏπ + (πΏπ )2 + πΆ − (πΏπ )2 = πΏπ [π 1. π 2. πΆπ + (π 1 + π 2)πΏ. πΆπ 2 + πΏπ + R1]/Cs = πΏπ [(π 1 + π 2)πΏ. πΆπ 2 + (π 1. π 2. πΆ + πΏ)π + R1]/Cs = πΏπΆ . π 2 [(π 1 + π 2)πΏπΆ] . π 2 + (π 1. π 2. πΆ + πΏ). π + R1] The Transfer Function, πΊ(π ) = I2(s) πΏπΆ . π 2 = π(π ) [(π 1 + π 2)πΏπΆ] . π 2 + (π 1. π 2. πΆ + πΏ). π + R1] Figure 2.7 Block diagram of the circuit Example 2.11 PROBLEM: Transfer Function—Multiple Nodes Find the transfer function, VC(s) = V(s), for the circuit in Figure 2.6(b), Use nodal analysis. FIGURE 2.6 b. transformed two-loop electrical network SOLUTION: Using the nodal analysis, Let, G1 = 1/R1 , G1 = 1/R2 Page 4 of 14 VL(s)−V(s) At node VL(s), π 1 1 (R1). [VL(s) −V(s)] + VL(s) πΏπ G1 [VL(s) −V(s)] + + VL(s) πΏπ + VL(s)−Vc(s) π 2 =0 1 + ( ).[VL(s) – VC(s)]= 0 R2 VL(s) πΏπ + G2 [VL(s) – VC(s)] = 0 (G1+ G2) [VL(s) – VC(s)] + (1/Ls) .VL(s) = G1 V(s) [G1+ G2 +1/Ls] . VL(s) – G2 . VC(s) = G1 V(s) ---------------------- eqn: (1) 1 At node VC(s), (R2). [VC(s) − VL(s)] + πΆπ VC(s)] = 0 − G2 [VC(s) − VL(s)] + πΆπ VC(s)] = 0 - G2 VL(s) + (G2+ Cs). VC(s) = 0 ---------------------- eqn: (2) Taking the Laplace Matrix Form, | [G1 + G2 + 1/Ls] – G2 [G1 + G2 + 1/Ls] β=| – G2 VL(s) −πΊ2 G1 1 || | = | | V(s) = | | . V(s) (G2 + Cs) Vc(s) 0 0 −πΊ2 1 | = [G1 + G2 + Ls] . (G2 + Cs) −G2 2 (G2 + Cs) β = G1 C s + G1 G2 + C/L + + G2 C s + G2 2 - G2 2 = [G1 G2 + C/L] + G1 G2 C. s + G2 / Ls = 1/Ls [ (G1 + G2) LC. s 2 + G1 G2 Ls + Cs + G2] β = 1/Ls [ (G1 + G2) LC. s 2 + (G1 G2 L+C) . s + G2] 1 β2 = | G1 + G2 + Ls −G2 πΊ1 | . π(π ) = 0 - G1 (-G2). V(s) = G1G2. V(s) 0 (Or) G1 + G2 + 1/Ls 1 β2 = | | . π(π ) = 0 - (-G2). V(s) = G2. V(s) −G2 0 VC(s) = β2 / β VC(s) = G1 .G2 . π(π ) 1/Ls [ (G1 + G2) LC.π 2 + (G1 G2 L+C) .s + G2] Page 5 of 14 Vc(s) G1 . G2 . πΏπ = π 1 π(π ) LC [ G1 G2 . π 2 + (G1 G2/C). s + + G2] πΏ πΏπΆ G1 . G2 . π = π 1 C [ G1 G2 . π 2 + (G1 G2 /C) . s + πΏ + πΏπΆ G2] The Transfer Function, Vc(s) π (π ) = ( G1+ G2). (G1 G2) . s πΆ (G1 G2 L+C) G2 π 2 + .s + πΏπΆ πΏπΆ Figure 2.7 Block diagram of the circuit Example 2.12 Transfer Function—Multiple Nodes with Current Sources PROBLEM: For the network of Figure 2.6, find the transfer function, VC(s) = V(s), using nodal analysis and a transformed circuit with current sources. FIGURE 2.8 Transformed network ready for nodal analysis SOLUTION: Using the nodal analysis, Let, G1 = 1/R1 At node VL(s), , G1 = 1/R2 [G1+1/Ls] . VL(s) – G2 . [VL(s) -VC(s)] = G1 V(s) [G1+ G2 +1/Ls] . VL(s) – G2 . VC(s) = G1 V(s) ----------- eqn: (1) Page 6 of 14 At node VC(s), G2 . [VC(s) -VL(s)] + Cs . VC(s) = 0 (G2 + Cs ).VC(s) – G2 . VL(s) = 0 ----------- eqn: (2) Taking the Laplace Matrix Form, | [G1 + G2 + 1/Ls] – G2 [G1 + G2 + 1/Ls] β=| – G2 VL(s) −πΊ2 G1 1 || | = | | V(s) = | | . V(s) (G2 + Cs) Vc(s) 0 0 −πΊ2 1 | = [G1 + G2 + Ls] . (G2 + Cs) −G2 2 (G2 + Cs) β = G1 C s + G1 G2 + C/L + + G2 C s + G2 2 - G2 2 = [G1 G2 + C/L] + G1 G2 C. s + G2 / Ls = 1/Ls [ (G1 + G2) LC. s 2 + G1 G2 Ls + Cs + G2] β = 1/Ls [ (G1 + G2) LC. s 2 + (G1 G2 L+C) . s + G2] 1 β2 = | G1 + G2 + Ls −G2 πΊ1 | . π(π ) = 0 - G1 (-G2). V(s) = G1G2. V(s) 0 (Or) G1 + G2 + 1/Ls 1 β2 = | | . π(π ) = 0 - (-G2). V(s) = G2. V(s) −G2 0 VC(s) = β2 / β VC(s) = G1 .G2 . π(π ) 1/Ls [ (G1 + G2) LC.π 2 + (G1 G2 L+C) .s + G2] Vc(s) G1 . G2 . πΏπ = π 1 π(π ) LC [ G1 G2 . π 2 + (G1 G2/C). s + πΏ + πΏπΆ G2] = G1 . G2 . π π 1 C [ G1 G2 . π 2 + (G1 G2 /C) . s + πΏ + πΏπΆ G2] Page 7 of 14 The Transfer Function, Vc(s) π (π ) = ( G1+ G2). (G1 G2) . s πΆ (G1 G2 L+C) G2 π 2 + .s + πΏπΆ πΏπΆ Figure 2.8 Block diagram of the circuit --------------------------------------------------------------------------------------------------------------------------------------- Example 2.13 Mesh Equations via Inspection PROBLEM: Write, but do not solve, the mesh equations for the network shown in Figure 2.9. FIGURE 2.9 Three-loop electrical network SOLUTION: Using the mesh analysis, For Loop 1, V(s)= (I1 -I3). 1 + (1+ 2s). (I1 - I2) (2+2s) I1 - (1+2s) I2 - I3 = V(s) For Loop 2, 0 = (1+2s) (I2 - I1) + 4s (I2 -I3) + 3s I2 -(1+2s) I1 + (1+9s) I2 - I3 = 0 For Loop 3, ----------- eqn: (1) ----------- eqn: (2) 0 = (1/s) I3 + 4s (I3 -I2) + (I3 -I1) -I1 - 4s I2 + (1+4s+1/s) I3 = 0 ----------- eqn: (3) Page 8 of 14 Taking the Laplace Matrix Form, (2 + 2s) – (1 + 2s) |– (1 + 2s) (1 + 9π ) −1 −4π −1 −4π πΌ1 1 | |πΌ2 | = |0|V(s) 1 0 (1 + 4s + s ) πΌ3 -----------------------------------------------------------------------------------------------------------------Example 2.14 Transfer Function—Inverting Operational Amplifier Circuit PROBLEM: Find the transfer function, Vo(s) = Vi(s), for the circuit given in Figure 2.11. FIGURE 2.11 Inverting operational amplifier circuit for Example 2.14 SOLUTION: For Inverting operational amplifier circuit, Z1(s) = 1 πΆ1 .π +1/π 1 Z2(s) = R2 + 1 πΆ2 . π = 1 5.6×10−6 π +1/360×10−3 = 220 × 103 . π + 107 π = = 360×103 2.016 π + 1 220×103 . π +107 π Page 9 of 14 ππ (π ) ππ (π ) ππ (π ) ππ (π ) π2 (π ) =− = π1 (π ) 220×103 . π +107 π 360×103 2.016 π + 1 = − =− 220×103 . π +10 7 π 443.52×103 . s2 + 2.016×107 . π + 220×103 . π +107 −[ π = −[ 1.232 s2 +56.611 π – 27.77 π ππ (π ) The transfer function, ππ (π ) Example 2.15 ] = −1.232 [ = −1.232 [ . 2.016 π + 1 360×103 ] s2 + 45.95 π − 22.55 π s2 + 45.95 π − 22.55 π ] ] Transfer Function—Noninverting Operational Amplifier Circuit PROBLEM: Find the transfer function, Vo(s) = Vi(s), for the circuit given in Figure 2.13. FIGURE 2.13 Noninverting operational amplifier circuit for Example 2.15 SOLUTION: For the Noninverting Operational Amplifier Circuit, Z1(s) = R1 + Z2(s) = R2 // 1 πΆ2 . π Z1(s) + Z2(s) = = 1 πΆ1 . π = π 1πΆ1 . π + 1 πΆ1 . π π 2 πΆ2 . π 1 π 2 + πΆ2 . π π 1πΆ1 . π + 1 πΆ1 . π Z1(s) + Z2(s) = + π 2 πΆ2 . π 1 π 2 + πΆ2 . π = π 1πΆ1 . π + 1 πΆ1 . π + π 2 π 2πΆ2 . π +1 π 1π 2πΆ1πΆ2 . s2 + (π 1πΆ1+π 2 πΆ2+π 2 πΆ1 ) . π + 1 πΆ1 . π (π 2πΆ2 . π + 1) Page 10 of 14 ππ (π ) π1 (π ) + π2 (π ) = ππ (π ) π1 (π ) ππ (π ) ππ (π ) = = π 1π 2πΆ1πΆ2 . s2 + (π 1πΆ1+π 2 πΆ2+π 2 πΆ1 ) . π + 1 πΆ1 . π (π 2πΆ2 . π + 1) = = The transfer function, π 1π 2πΆ1πΆ2 . s 2 + (π 1πΆ1 + π 2 πΆ2 + π 2 πΆ1 ) . π + 1 πΆ1 . π (π 2πΆ2 . π + 1) π 1πΆ1 . π + 1 πΆ1 . π . πΆ1 . π π 1πΆ1 . π + 1 π 1π 2πΆ1πΆ2 . s2 + (π 1πΆ1+π 2 πΆ2+π 2 πΆ1 ) . π + 1 (π 2πΆ2 . π + 1) (π 1πΆ1 . π + 1) π 1π 2πΆ1πΆ2 . s2 + (π 1πΆ1+π 2 πΆ2+π 2 πΆ1 ) . π + 1 π 1π 2πΆ1πΆ2 . s2 + (π 1πΆ1+π 2 πΆ2 ) . π + 1 ππ (π ) ππ (π ) = π 1π 2πΆ1πΆ2 . s2 + (π 1πΆ1+π 2 πΆ2+π 2 πΆ1 ) . π + 1 π 1π 2πΆ1πΆ2 . s2 + (π 1πΆ1+π 2 πΆ2 ) . π + 1 ------------------------------------------------------------------------------------------------------------------- Page 11 of 14 Chapter - 7 7.8 Steady-State Error for Systems in State Space Example 7.13 Steady-State Error Using the Final Value Theorem PROBLEM: Evaluate the steady-state error for the system described by Eqs. (7.90) for unit step and unit ramp inputs. Use the final value theorem. SOLUTION: Using the final value theorem: Steady-State Error, e (∞) = lim π . πΈ(π ) = lim π . π (π )[1 − πΆ(π πΌ − π΄)−1 . π΅] π →0 π →0 0 −5 1 0 A= | 0 −2 1| ; B = |0| ; πΆ = |−1 1 20 −10 1 1 0| ; π s I= |0 0 0 0 π 0| 0 s for unit step: R(s) = 1/s , e (∞) = lim π . πΈ(π ) = lim π . π (π )[1 − πΆ(π πΌ − π΄)−1 . π΅] π →0 π →0 1 = lim π . ( ) [1 − πΆ(π πΌ − π΄)−1 . π΅] = lim [1 − πΆ(π πΌ − π΄)−1 . π΅] π →0 π →0 π π 0 (π πΌ − π΄) = |0 π 0 0 0 −5 1 0 π + 5 −1 0| - | 0 −2 1| = | 0 π +2 s 20 −10 1 −20 10 0 −1 | s−1 det (sI -A) = (π + 5)[ (π + 2)(s − 1) − (−10)] − (−10)[0 − 20] + 0 = (s + 5) [ s2 + s +2]-20 = s3+s2+8s+5 s2 +5 s + 40-20 = s3+6s2 +13 s + 20 Z11 πππ(π πΌ − π΄) = |Z21 Z31 Z12 Z22 Z32 Z13 π Z23 | Z33 Z11 = (π + 2)(s − 1) − (−10) = π 2 + s + 18 Z12 = - [0(s − 1)- 20] = 20 Page 12 of 14 Z13 = 0 Z21 = −[−1(π − 1) − 0] = s-1 Z22 = (π + 5) (π − 1) − 0 = π 2 + 4s − 5 Z23 = −[(π + 5)10 −20] = −(10π + 30) Z31 = 1-0 = 1 Z32= −[−1(π + 5) − 0] = (π + 5) Z33 = (π + 5) (π + 2) − 0 = π 2 + 7s + 10 π (π 2 + s + 18) 20 0 2 πππ(π πΌ − π΄) = | (s − 1) (π + 4s − 5) −(10π + 30) | (s + 5) (π 2 + 7s + 10) 1 (π 2 + s + 18) (s − 1) 1 (s + 5) πππ(π πΌ − π΄) = | | 20 (π 2 + 4s − 5) 2 0 −(10π + 30) (π + 7s + 10) (π πΌ − π΄)−1 = πΆ(π πΌ − π΄) −1 πππ(π πΌ−π΄) = det(π πΌ−π΄) . π΅ = |−1 = |−1 = (π 3 (π 2 +s+18) (s−1) 1 2 | (s+5) | 20 (π +4s−5) 0 −(10π +30) (π 2 +7s+10) (π 3 +6π 2 +13 s + 20) 1 0| 1 0| (π 2 +s+18) (s−1) 1 2 | (s+5) | 20 (π +4s−5) 2 0 −(10π +30) (π +7s+10) 3 (π +6π 2 +13 s + 20) 1 (s+5) | | (π 2 +7s+10) (π 3 +6π 2 +13 s + 20) = (π 3 1 +6π 2 +13 s + 20) [-1+(s+5) +0] (s+4) +6π 2 +13 s + 20) 1 − πΆ(π πΌ − π΄)−1 . π΅ = 1 − (π 3 (s+4) +6π 2 +13 s + 20) e (∞) = lim [1 − πΆ(π πΌ − π΄)−1 . π΅] = lim [ π →0 For unit step, 0 |0| 1 π →0 = π 3 +6π 2 +12 s + 16 π 3 +6π 2 +13 s + 20 π 3 +6π 2 +12 s + 16 π 3 +6π 2 +13 s + 20 ] = 4/5 e (∞) = 4/5 Page 13 of 14 R(s) = 1/s2 For unit ramp inputs: e (∞) = lim π . πΈ(π ) = lim π . π (π )[1 − πΆ(π πΌ − π΄)−1 . π΅] π →0 π →0 1 e (∞) = lim π . ( 2) [1 − πΆ(π πΌ − π΄)−1 . π΅] π π →0 = lim π →0 1 [1 − πΆ(π πΌ − π΄)−1 . π΅] π 1 e (∞) = lim π →0 π [ π 3 +6π 2 +12 s + 16 π 3 +6π 2 +13 s + 20 ]= 1 0 [ 16 20 ]= ∞ Example 7.13 Steady-State Error Using Input Substitution PROBLEM: Evaluate the steady-state error for the system described by the three equations. (7.90) for unit step and unit ramp inputs. Use input substitution. SOLUTION: Using input substitution: 0 −5 1 0 A= | 0 −2 1| ; B = |0| ; πΆ = |−1 1 20 −10 1 −5 −1 1 0| ; π΄ =| 0 20 1 0 −1 −2 1| = 1 − 0.2 −10 1 e (∞) = 1 + πΆ π΄−1 π΅ For unit step , e (∞) = 1 + |−1 −5 1 0| | 0 20 For unit ramp inputs , 1 0 −1 0 −2 1| |0| = 1+(-1/5) = 1-0.2 = 0.8 1 −10 1 e (∞) = lim [(1 + πΆ π΄−1 π΅). π‘ +πΆ(π΄−1 )2 π΅] π‘→∞ e (∞) = lim [ 0.8π‘ + 2/25] = lim [ 0.8π‘ + 0.8] = [ 0.8 × ∞ + 0.8] = ∞ + 0.8 = ∞ π‘→∞ π‘→∞ (Or) e (∞) = lim [ 0.8(π‘ + 1)] = 0.8(∞ + 1) = ∞ π‘→∞ ------------------------------------------------------------------------------------------------------------------Page 14 of 14