INC 341 Feedback Control Systems: Lecture 2 Transfer Function of Dynamic Systems I Asst. Prof. Dr.-Ing. Sudchai Boonto

Similar documents
Lecture 7: Laplace Transform and Its Applications Dr.-Ing. Sudchai Boonto

I Laplace transform. I Transfer function. I Conversion between systems in time-, frequency-domain, and transfer

INC 341 Feedback Control Systems: Lecture 3 Transfer Function of Dynamic Systems II

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

Control Systems Engineering (Chapter 2. Modeling in the Frequency Domain) Prof. Kwang-Chun Ho Tel: Fax:

Taking the Laplace transform of the both sides and assuming that all initial conditions are zero,

Introduction to Controls

The Laplace Transform

EE102 Homework 2, 3, and 4 Solutions

e st f (t) dt = e st tf(t) dt = L {t f(t)} s

9.5 The Transfer Function

Unit 2: Modeling in the Frequency Domain Part 2: The Laplace Transform. The Laplace Transform. The need for Laplace

The Laplace Transform

Linear Systems Theory

Control Systems. Frequency domain analysis. L. Lanari

Introduction & Laplace Transforms Lectures 1 & 2

2.161 Signal Processing: Continuous and Discrete Fall 2008

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

EE/ME/AE324: Dynamical Systems. Chapter 7: Transform Solutions of Linear Models

CHEE 319 Tutorial 3 Solutions. 1. Using partial fraction expansions, find the causal function f whose Laplace transform. F (s) F (s) = C 1 s + C 2

MATHEMATICAL MODELING OF CONTROL SYSTEMS

MODELING OF CONTROL SYSTEMS

Dynamic Response. Assoc. Prof. Enver Tatlicioglu. Department of Electrical & Electronics Engineering Izmir Institute of Technology.

EE Experiment 11 The Laplace Transform and Control System Characteristics

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 2 Laplace Transform I 1/52

Linear Control Systems Solution to Assignment #1

ENGIN 211, Engineering Math. Laplace Transforms

Definition of the Laplace transform. 0 x(t)e st dt

Frequency Response of Linear Time Invariant Systems

Finding Transfer Functions of Circuits Using State-Space

Review of Linear Time-Invariant Network Analysis

Laplace Transform Part 1: Introduction (I&N Chap 13)

Laplace Transforms and use in Automatic Control

Linear System Theory

Advanced Analog Building Blocks. Prof. Dr. Peter Fischer, Dr. Wei Shen, Dr. Albert Comerma, Dr. Johannes Schemmel, etc

Time Response of Systems

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Dynamic Response

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

Control Systems I. Lecture 5: Transfer Functions. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Modeling and Simulation Revision IV D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

I System variables: states, inputs, outputs, & measurements. I Linear independence. I State space representation

Lecture 6: Time-Domain Analysis of Continuous-Time Systems Dr.-Ing. Sudchai Boonto

System Modeling. Lecture-2. Emam Fathy Department of Electrical and Control Engineering

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

Chapter 6: The Laplace Transform. Chih-Wei Liu

Introduction to Modern Control MT 2016

First and Second Order Circuits. Claudio Talarico, Gonzaga University Spring 2015

Solving a RLC Circuit using Convolution with DERIVE for Windows

Laplace Transforms Chapter 3

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

8 sin 3 V. For the circuit given, determine the voltage v for all time t. Assume that no energy is stored in the circuit before t = 0.

Transform Solutions to LTI Systems Part 3

BIBO STABILITY AND ASYMPTOTIC STABILITY

ET3-7: Modelling II(V) Electrical, Mechanical and Thermal Systems

2.5 Translational Mechanical System Transfer Functions 61. FIGURE 2.14 Electric circuit for Skill- Assessment Exercise 2.6

The Laplace Transform

Noise - irrelevant data; variability in a quantity that has no meaning or significance. In most cases this is modeled as a random variable.

Outline. Classical Control. Lecture 2

Problem Weight Score Total 100

GATE EE Topic wise Questions SIGNALS & SYSTEMS

MAT 275 Laboratory 7 Laplace Transform and the Symbolic Math Toolbox

Formulation of Linear Constant Coefficient ODEs

ELG 3150 Introduction to Control Systems. TA: Fouad Khalil, P.Eng., Ph.D. Student

INTRODUCTION TO TRANSFER FUNCTIONS

Unit 2: Modeling in the Frequency Domain. Unit 2, Part 4: Modeling Electrical Systems. First Example: Via DE. Resistors, Inductors, and Capacitors

Interconnection of LTI Systems

Dr. Ian R. Manchester

Dynamic Modeling. For the mechanical translational system shown in Figure 1, determine a set of first order

Course roadmap. ME451: Control Systems. Example of Laplace transform. Lecture 2 Laplace transform. Laplace transform

Math 308 Exam II Practice Problems

Rotational Mechanical Systems. Unit 2: Modeling in the Frequency Domain Part 6: Modeling Rotational Mechanical Systems

Chapter 10: Sinusoids and Phasors

Differential Equations and Lumped Element Circuits

Linear systems, small signals, and integrators

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

Power Systems Control Prof. Wonhee Kim. Modeling in the Frequency and Time Domains

Once again a practical exposition, not fully mathematically rigorous Definition F(s) =

Raktim Bhattacharya. . AERO 632: Design of Advance Flight Control System. Preliminaries

Source-Free RC Circuit

ECE 380: Control Systems

Modeling and Simulation Revision III D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

Circuit Analysis Using Fourier and Laplace Transforms

Review of 1 st Order Circuit Analysis

General Response of Second Order System

Module 02 Control Systems Preliminaries, Intro to State Space

CIS 4930/6930: Principles of Cyber-Physical Systems

CHAPTER 5: LAPLACE TRANSFORMS

Passive RL and RC Filters

Lecture 2 ELE 301: Signals and Systems

Linear dynamical systems with inputs & outputs

SIGNAL PROCESSING. B14 Option 4 lectures. Stephen Roberts

Notes for ECE-320. Winter by R. Throne

Chapter 1 Fundamental Concepts

ECE 3793 Matlab Project 3 Solution

Troubles at the Origin: Consistent Usage and Properties of the Unilateral Laplace Transform

MATHEMATICAL TOOLS SIGNALS DEFINITION AND COMMONLY USED SIGNALS CONTROL REVIEW

f(t)e st dt. (4.1) Note that the integral defining the Laplace transform converges for s s 0 provided f(t) Ke s 0t for some constant K.

Transcription:

INC 341 Feedback Control Systems: Lecture 2 Transfer Function of Dynamic Systems I Asst. Prof. Dr.-Ing. Sudchai Boonto Department of Control Systems and Instrumentation Engineering King Mongkut s University of Technology Thonburi

Learning Outcomes After finishing this lecture, the student should be able to: 1. Find the Laplace transform of time functions and the inverse Laplace transform. 2. Find the transfer function from a ODE and solve the ODE using the transfer function. 3. Find the transfer function from LTI electrical networks. 4. Find the transfer function from LTI translational mechanical systems. 5. Find the transfer function from LTI rotational mechanical systems. 2/42

Response by Convolution There are two analytical techniques can be applied to Linear time-invariant systems (LTIs): the principle of superposition Using the convolution of the input with the unit impulse response of the system to determine the response of LTI systems. Superposition The homogeneity and additivity properties together are called the superposition principle. A linear function is one that satisfies the properties of superposition. Which is defined as f(x 1 + x 2 ) = f(x 1 ) + f(x 2 ) = f 1 + f 2, Additivity f(ax) = af(x) a R, Homogeneity Total response The total response of the LTI system with all zero initial conditions is y(t) = u(τ)h(t τ)dτ = u(t) h(t), whereh(τ) is the impulse response and u(t) is the system input. 3/42

Response by Convolution Example Superposition Example: Consider the first order system ẏ + ky = u Show that the superposition holds for the system. Let y 1 and y 2 are the response to the inputs u 1 and u 2. Multiply the first response with α 1 and the second with α 2, we have k 1 ẏ 1 + α 1 ky 1 = α 1 u 1 k 2 ẏ 2 + α 2 ky 2 = α 2 u 2 Adding them yields d dt [α 1y 1 + α 2 y 2 ] + k [α 1 y 1 + α 2 y 2 ] = α 1 u 1 + α 2 u 2 Therefor, when the input is k 1 u 1 + k 2 u 2, the system response is k 1 y 1 + k 2 y 2. Consequently, the system satisfy the superposition. 4/42

Response by Convolution Example Convolution Example: Consider the impulse response of the first-order system h(t) = e kt 1(t) The response to a general input is given by the convolution of the impulse response and the input: If u(t) is also a unit-step signal, we have y(t) = h(τ)u(t τ)dτ = e kτ 1(t)u(t τ)dτ = e kτ u(t τ)dτ 0 t y(t) = e kτ 1(t τ)dτ = e kτ dτ = 1 0 0 k [ 1 e kt], t 0 5/42

Laplace Transform Review The (unilateral) Laplace transform is defined as L [f(t)] = F (s) = f(t)e st dt, 0 where s = σ + jω, a complex variable. Example: L [1(t)] = 1(t)e st dt 0 = e st dt = 1 0 s e st 0 = 1 s The inverse Laplace transform is defined as L 1 [F (s)] = 1 2πj = f(t)u(t) σ+j F (s)e st ds σ j Note: Using such formula is tedious. Most of the engineer use a Table with a partial fraction method instead. 6/42

Laplace Transform Review Examples Ramp function For the ramp signal f(t) = bt1(t), we have ] F (s) = bte st dt = [ bte st be st 0 s s 2 = b 0 s 2, where we used the technique of integration by parts, udv = uv vdu with u = bt and dv = e st dt. Impulse function For the impulse function δ(t), we have by sampling property of the impulse function. F (s) = δ(t)e st dt = e s0 = 1, 0 7/42

Laplace Transform Review Examples Sinusoid function Find the laplace transform of the sinusoid function. L [sin ωt] = (sin ωt)e st dt 0 Using the relation ( e jωt e jωt sin ωt = 2j = 1 2j 0 ω = s 2 + ω 2 ) e st dt ( e (jω s)t e (jω+s)t) dt 8/42

Laplace Transform Review Properties of Laplace Transform Superposition: Since the Laplace transform is linear, then and L [αf 1 (t) + βf 2 (t)] = αf 1 (s) + βf 2 (s) L [αf(t)] = αf (s) Time Delay: Suppose a function f 1 (t) = f(t T ), which is delayed by T > 0, then F 1 (s) = f(t T )e st dt = e st F (s) 0 Time Scaling: Suppose a function f 1 (t) = f(at), where t is scaled bya factor a, we have F 1 (s) = f(at)e st dt = 1 ( s ) 0 a F a 9/42

Laplace Transform Review Properties of Laplace Transform Shit in Frequency: Suppose a function f 1 (t) = e at f(t), the Laplace transform is Differentiation: F 1 (s) = e at f(t)e st dt = F (s + a) 0 [ ] df ( ) df L = e st dt = f(0 ) + sf (s) dt 0 dt [ ] L f(t) = s 2 F (s) sf(0 ) f(0 ) [ ] L f (m) (t) = s m F (s) s (m 1) f(0 ) f (m 1) (0 ) Integration: [ t ] L f(τ)dτ = 1 0 s F (s) 10/42

Laplace Transform Review Properties of Laplace Transform Convolution: The convolution in the time domain corresponds to multiplication in the S-domain. Assume that L [f 1 (t)] = F 1 (s) and L [f 2 (t)] = F 2 (s). Then L [f 1 (t) f 2 (t)] = f 1 (t) f 2 (t)e st dt = F 1 (s)f 2 (s) 0 L 1 [F 1 (s)f 2 (s)] = f 1 (t) f 2 (t) Time product:the multiplication in the time domain corresponds to convolution in the S-domain: L [f 1 (t)f 2 (t)] = 1 2πj F 1(s) F 2 (s) Multiplication by Time: Multiplication by time corresponds to differentiation in the S-domain: L [tf(t)] = d ds F (s) 11/42

Laplace Transform Review Inverse Laplace Transform by Partial-Fraction Expansion To find the inverse Laplace transform of a complicated function, we can convert the function to a sum of simpler terms for which we know the Laplace transform of each term. The result is called a partial-fraction expansion. Using this method, F (s) = N(s) D(s), where the order of N(s) must be less than the order of D(s). If it is not, we can use the long division to find the remainder whose numerator is of order less than its denominator. For example, if F (s) = s3 + 2s 2 + 6s + 7 s 2 + s + 5 Using the Laplace transform table, we obtain = s + 1 + 2 s 2 + s + 5 f(t) = dδ(t) dt [ ] + δ(t) + L 1 2 s 2 + s + 5 the last term could be solve by partial-fraction. 12/42

Laplace Transform Review Inverse Laplace Transform by Partial-Fraction Expansion (Real and Distinct Roots) Example: Y (s) = (s + 2)(s + 4) s(s + 1)(s + 3), Find y(t). By partial fraction expansion: Using the cover-up method, we get Y (s) = C 1 s + C 2 s + 1 + C 3 s + 3 (s + 2)(s + 4) C 1 = (s + 1)(s + 3) = 8 s=0 3 (s + 2)(s + 4) C 2 = s(s + 3) = 3 s= 1 2 (s + 2)(s + 4) C 3 = s(s + 1) = 1 s= 3 6 13/42

Laplace Transform Review Inverse Laplace Transform by Partial-Fraction Expansion (Real and Distinct Roots) From the table the inverse Laplace transform of Y (S) is y(t) = 8 3 1(t) 3 2 e t 1(t) 1 6 e 3t 1(t). There are two ways to solve the inverse Laplace transform using Matlab. Matlab I % using residue and table num = conv([1 2],[1 4]); % numerator den = conv([1 1 0],[1 3]); % denominator [r,p,k] = residue(num,den); % compute the residues % r = [-0.1667, -1.5000, 2.6667] % p = [-3, -1, 0] Matlab II: symbolic % using symbolic toolbox syms s % define a variable s f = ilaplace((s+2)*(s+4)/... ((s*(s+1)*(s+3)))); pretty(f) % result 8 exp(-3 t) 3 exp(-t) - - --------- - --------- 3 6 2 14/42

Laplace Transform Review Inverse Laplace Transform by Partial-Fraction Expansion (Real and Distinct Roots) Scilab I // define polynomial e.g. // 1 + 2s^2 => [1 0 2] // in matlab we use // 1+2s^2 => [2 0 1] num = convol([2 1],[4 1]); // numerator den = convol([0 1 1],[3 1]); // denominator Ns = poly(num, s,"c"); Ds = poly(den, s,"c"); [r] = residu(ns/ds); // compute the residues // r = [-0.1667, -1.5000, 2.6667] // note 4.433D-17 is zero Scilab I: result -->r r = r(1) 2.6666667 ------------- 5.697D-17 + s r(2) - 1.5 ----- 1 + s r(3) - 0.1666667 --------- 3 + s 15/42

Laplace Transform Review Solution of a Differential Equation (Real and Distinct Roots) Given the following differential equation, solve for y(t) if all initial conditions are zero. Use the Laplace transform. d 2 y(t) dt 2 + 12 dy(t) dt + 32y(t) = 321(t) Taking the Laplace transform of the differential equation and set all initial conditions to zero is s 2 Y (s) + 12sY (s) + 32Y (s) = 32 s. Solving for the response, Y (s), yields Y (s) = 32 s(s + 4)(s + 8) = A s + B (s + 4) + C (s + 8) = 1 s + 2 (s + 4) + 1 (s + 8) From Laplace transform table, y(t) is the sum of the inverse Laplace transforms of each term. Hence y(t) = ( 1 2e 4t + e 8t) 1(t) 16/42

Laplace Transform Review Inverse Laplace Transform by Partial-Fraction Expansion (Repeated Roots) Consider F (s) = 2. In this case the partial fraction expansion is (s + 1)(s + 2) 2 F (s) = A (s + 1) + B (s + 2) 2 + C (s + 2) Using a cover up method, A = 2 and C = 2. Letting s = 0 and substituting into above equation, then F (s) = From the Laplace transform table, 2 (s + 1) 2 (s + 2) 2 2 (s + 2) y(t) = ( 2e 1t 2te 2t 2e 2t) 1(t) For the higher degree of the repeated root, we could use short-cut method to solver for the solutions. 17/42

Laplace Transform Review Inverse Laplace Transform by Partial-Fraction Expansion (Complex Roots) In this case, the most convenient way is using the frequency shift property. For example By partial fraction expansion, we have F (s) = F (s) = A s + 3 s(s 2 + 2s + 5). Bs + C s 2 + 2s + 5 Using cover up and short-cut method, A = 3/5, B = 3/5, and C = 6/5. Then F (s) = 3/5 s 3 s + 2 5 s 2 + 2s + 5 = 3/5 s 3 s + 2 5 s 2 + 2s + 5 = 3/5 s 3 (s + 1) + (1/2)2 5 (s + 1) 2 + 2 2 From the Laplace transform table, we obtain ( 3 f(t) = 5 3 ( e t cos 2t + 1 )) 5 2 e t sin 2t 1(t) = ( 0.6 0.671e t cos(2t 26.57 ) 1(t) 18/42

Transfer Fucntion A Transfer Function is the ratio of the output of a system to the input of a system, in the Laplace domain considering its initial conditions and equilibrium point to be zero. A monic nth-order, linear, time-invariant differential equation, d n dt n y(t)+a d n 1 n 1 dt n 1 y(t) + + a d 1 dt y(t) + a 0y(t) = d m b m dt m u(t) + b d m 1 m 1 dt m 1 u(t) + + b d 1 dt u(t) + b 0u(t), n m Taking the Laplace transform to the both sides and set all initial conditions to be zero, the system becomes ( s n + a n 1 s n 1 + + a 1 s + a 0 ) Y (s) = ( bms m + b m 1 s m 1 + + b 1 s + b 0 ) U(s) Y (s) U(s) = bmsm + b m 1 s m 1 + + b 1 s + b 0 s n + a n 1 s n 1 = G(s) + + a 1 s + a 0 19/42

Example Find the transfer function of the system represented by d y(t) + 2y(t) = u(t) dt Taking the Laplace transform of both sides, and set all initial conditions to be zero, we have The tranfer function, G(s) is sy (s) + 2Y (s) = U(s) G(s) = Y (s) U(s) = 1 s + 2 Matlab Coode I num = [1]; den = [1 2]; sys = tf(num,den) Matlab Code II s = tf( s ); sys = 1/(s+2); 20/42

Example Scilab Coode I num = poly([1,0], s,"c"); den = poly([2 1], s,"c"); sys = syslin( c,num,den) Scilab Code II num = 1; den = %s + 2; // %s is a variable s sys1 = syslin( c,num,den); Scilab Code III s = poly(0, s ); sys1 = 1/(s+2) 21/42

System Response from the Transfer Function Find the response, y(t) to an 1(t) input of a system G(s) = 1/(s + 2). The Laplace transform of 1(t) is 1/s. Then Y (s) = G(s)U(s) = Using the partial fraction expansion, we get 1 1 (s + 2) s Y (s) = 1/2 s 1/2 s + 2 Finally, taking the inverse Laplace transform of each term yields y(t) = 1 2 1 2 e 2t We can use a Matlab command step(g) to get the response of the system to the unit-step input, which gives the same result as directly time domain calculating with Matlab. 22/42

System Response from the Transfer Function Matlab Code I num = [1]; den = conv([1 0],[1 2]); G = tf(num,den); t = 0:0.01:10; step(g,t); Matlab Code II syms s G = 1/(s*(s+2)); y = ilaplace(g); t = 0:0.01:10; plot(t,eval(y)); 0.7 Step Response 0.6 0.5 Amplitude 0.4 0.3 0.2 0.1 0 0 1 2 3 4 5 6 7 8 9 10 Time (seconds) 23/42

System Response from the Transfer Function Scilab Code I num = 1; den = %s*(%s +2); G = syslin( c,num,den); t = 0:0.01:10; y = csim( step,t,g); plot(t,y) Scilab Code II s = poly(0, s ); G = 1/(s*(s+2)); t = 0:0.01:10; y = csim( step,t,g); plot(t,y) 24/42

Electrical Network In feedback control system design, we use electrical networks to build analog controllers, analog filters, etc. These are RLC circuits and operational amplifier circuits. Component Voltage-current Current-voltage Impedance Z(s) = V (s)/i(s) Capacitor Resistor Inductor v(t) = 1 C t 0 i(τ)dτ i(t) = C d dt v(t) 1 Cs v(t) = Ri(t) i(t) = 1 R v(t) R v(t) = L d dt i(t) i(t) = 1 t v(τ)dτ L 0 Ls Note: All initial conditions are zero. 25/42

Electrical Network: RLC series circuit L R Ls R v(t) + i(t) C + v C (t) V (s) + I(s) 1 Cs + VC (s) The Laplace transform of the mesh voltage with all zero conditions, is ( Ls + R + 1 Cs ( Ls + R + 1 Cs ) I(s) = V (s) ) CsV C (s) = V (s) V C (s) V (s) = 1/LC s 2 + R L s + 1 LC 26/42

Electrical Network: RLC circuit R 1 R 2 R 1 R 2 v(t) + i 1(t) L i 2(t) C + v C (t) V (s) + I 1(s) Ls I 2(s) 1 Cs + VC (s) R 1 + Ls Ls I 1(s) = V (s) Ls R 2 + Ls + 1 I Cs 2 (s) 0 [ ] I1 (s) 1 = R 2 + Ls + 1 Cs I 2 (s) (R 1 + Ls)(R 2 + Ls + 1 Cs ) L2 s 2 Ls Ls V (s) R 1 + Ls 0 I 2 (s) = LsV (s) (R 1 + Ls)(R 2 + Ls + 1 Cs ) L2 s 2 I 2 (s) V (s) = LCs 2 (R 1 + R 2 )LCs 2 + (R 1 R 2 C + L)s + R 1 27/42

Electrical Network: RLC circuit Matlab code syms R1 R2 V L C s A = [ R1 + L*s, -L*s; b = [V ; 0]; -L*s, R2+L*s+1/(C*s)]; I = inv(a)*b; I2 = I(2,1); % find the transfer function I2/V sys = I2/V pretty(sys) 2 C L s -------------------------------------------- 2 2 R1 + L s + C L R1 s + C L R2 s + C R1 R2 s 28/42

Electrical Network: RLC circuit R 1 R 2 R 1 V L (s) R 2 v(t) + L C + v C (t) V (s) + Ls 1 Cs + vc (s) V L (s) V (s) R 1 + V L(s) Ls V C (s) V L (s) + CsV C (s) = 0 R 2 Substituting V L (s) to the first equation, we have + V L(s) V C (s) R 2 = 0 V L (s) = (R 2 Cs + 1)V C (s) R 2 Ls(R 2 Cs + 1)V C (s) + R 1 R 2 (R 2 Cs + 1)V C (s) + R 1 R 2 LCs 2 V C (s) = R 2 LsV (s) V C (s) V (s) = Ls (R 1 + R 2 )LCs 2 + (L + R 1 R 2 C)s + R 1 29/42

Electrical Network: Inverting Amplifier Instead of consider R, L and C separately, each composition RL, RC, LC, and RLC could be considered in terms of impedance as follow. C 1 R 2 C 2 v i(t) R 1 + v o(t) Z 1 (s) = C 1 R 1 = Z 2 (s) = R 2 + 1 Cs R 1 R 1 C 1 s + 1 1 V o(s) V i (s) = Z R 2(s) 2 + Z 1 (s) = Cs R 1 R 1 C 1 s + 1 = (R 1C 1 s + 1)(R 2 C 2 s + 1) R 1 C 2 s This circuit is called a PID controller. 30/42

Electrical Network: Noninverting Amplifier v i(t) + v o(t) R 1 R 2 C 2 Z 1 (s) = R 1 + 1 C 1 s R 2 Z 2 (s) = R 2 C 2 = R 2 C 2 s + 1 C 1 V o(s) V i (s) = 1 + Z 2(s) Z 1 (s) = 1 + R 2 R 2 C 2 s + 1 R 1 C 1 s + 1 C 1 s = 1 + = R 1R 2 C 1 C 2 s 2 + (R 1 C 1 + R 2 C 1 + R 2 C 2 )s + 1 (R 1 R 2 C 1 C 2 s 2 + (R 1 C 1 + R 2 C 2 )s + 1 R 2 C 1 s (R 1 C 1 s + 1)(R 2 C 2 s + 1) 31/42

Translational Mechanical System Component Force-velocity Force-displacement Impedance Z M (s) = F (s)/x(s) x(t) f(t) k Spring t f(t) = k v(τ)dτ f(t) = kx(t) k 0 x(t) b f(t) Viscous damper f(t) = bv(t) f(t) = bẋ(t) bs x(t) M f(t) f(t) = M v(t) f(t) = Mẍ Ms 2 Mass 32/42

Translational Mechanical System: Example Assuming that there are no friction between a mass and ground. x(t) k kx(t) b M f(t) M bẋ(t) x(t) f(t) From the Newton s law ΣF = ma, we have Mẍ(t) + bẋ(t) + kx(t) = f(t) Taking the Laplace transform of above equation and setting all initial conditions to be zero, we obtain Ms 2 X(s) + bsx(s) + kx(s) = F (s) X(s) F (s) = 1 Ms 2 + bs + k 33/42

Translational Mechanical System: Example The point of motion in a system can still move if all other points of motion are held still. The name for the number of the linearly independent motions i sthe number of the degrees of freedom. f(t) x 1(t) k 2 x 2(t) (k 1 + k 2)x 1(t) (b 1 + b 3)ẋ 1(t) M 1 k 2x 2(t) k 1 k 3 M 1 b 3 M 2 f(t) b 3ẋ 2(t) (k 2 + k 3)x 2(t) k 2x 1(t) M 2 b 1 b 2 (b 2 + b 3)ẋ 2(t) b 3ẋ 1(t) M 1 ẍ 1 (t) + (b 1 + b 3 )ẋ 1 (t) b 3 ẋ 2 (t) + (k 1 + k 2 )x 1 (t) k 2 x 2 = f(t) M 2 ẍ 2 (t) + (b 2 + b 3 )ẋ 2 (t) b 3 ẋ 1 (t) + (k 2 + k 3 )x 2 (t) k 2 x 1 = 0 34/42

Translational Mechanical System: Example Taking the Laplace transform of both equations, we get ( M1 s 2 + (b 1 + b 3 )s + (k 1 + k 2 ) ) X 1 (s) (b 3 s + k 2 )X 2 (s) = F (s) (b 3 s + k 2 )X 1 (s) + ( M 2 s 2 + (b 2 + b 3 )s + (k 2 + k 3 ) ) X 2 (s) = 0 Rearranging the equations into matrix form: M 1s 2 + (b 1 + b 3 )s + (k 1 + k 2 ) (b 3 s + k 2 ) X 1(s) = F (s) (b 3 s + k 2 ) M 2 s 2 + (b 2 + b 3 )s + (k 2 + k 3 ) X 2 (s) 0 X 2 (s) F (s) = b 3s + k 2 where M 1 s 2 + (b 1 + b 3 )s + (k 1 + k 2 ) (b 3 s + k 2 ) = (b 3 s + k 2 ) M 2 s 2 + (b 2 + b 3 )s + (k 2 + k 3 ) 35/42

Translational Mechanical System: Example x 3(t) (k 1 + k 2)x 1(t) k 2x 2(t) M 3 b 3 b 4 k 1 k 2 M 1 M 2 f(t) (b 1 + b 3)ẋ 1(t) k 2x 2(t) M 1 b 3ẋ 3(t) (b 3 + b 4)ẋ 3(t) k 2x 1(t) M 3 b 3ẋ 1(t) b 4ẋ 2(t) M 2 b 4ẋ 3(t) x 1(t) b 1 b 2 x 2(t) (b 2 + b 4)ẋ 2(t) f(t) The equations of motion are M 1 ẍ 1 (t) + (b 1 + b 3 )ẋ 1 (t) + (k 1 + k 2 )x 1 (t) k 2 x 2 (t) b 3 ẋ 3 (t) = 0 M 2 ẍ 2 (t) + (b 2 + b 4 )ẋ 2 (t) + k 2 x 2 (t) k 2 x 1 (t) b 4 ẋ 3 (t) = f(t) M 3 ẍ 3 (t) + (b 3 + b 4 )ẋ 3 (t) b 3 ẋ 1 (t) b 4 ẋ 2 (t) = 0 36/42

Translational Mechanical System: Example Taking the Laplace transform to all equations, we have ( M1 s 2 + (b 1 + b 3 )s + (k 1 + k 2 ) ) X 1 (s) k 2 X 2 (s) b 3 sx 3 (s) = 0 k 2 X 1 (s) + ( M 2 s 2 ) + (b 2 + b 4 )s + k 2 X2 (s) b 4 sx 3 (s) = F (s) b 3 sx 1 (s) b 4 sx 2 (s) + ( M 3 s 2 + (b 3 + b 4 )s ) X 3 (s) = 0 and in matrix from M 1 s 2 + (b 1 + b 3 )s + (k 1 + k 2 ) k 2 b 3 s k 2 M 2 s 2 + (b 2 + b 4 )s + k 2 b 4 s X 1(s) X 2 (s) X 3 (s) b 3 s b 4 s M 3 s 2 + (b 3 + b 4 )s = 0 F (s) 0 Note: the matrix is symmetry. 37/42

Rotational Mechanical System Component Torque-angular Torque-angular Impedance velocity displacement Z M (s) = ˆτ(s)/Θ(s) k Spring τ(t) θ(t) τ(t) = k t1 0 ω(t)dt τ(t) = kθ(t) k τ(t) θ(t) b Viscous damper τ(t) = bω(t) τ(t) = b θ(t) bs J τ(t) θ(t) τ(t) = J ω(t) τ(t) = J θ Js 2 Inertia 38/42

Rotational Mechanical System: Example τ(t) θ 1(t) θ 2(t) τ(t) θ 1(t) θ 2(t) J 1 J 2 Bearing b 1 Bearing b 2 b 1 J 1 k J 2 b2 θ 1 (t) b 1 ω 1 (t) τ(t) J 1 k(θ 1 (t) θ 2 (t)) The equations of motion are τ(t) b 1 θ1 (t) k(θ 1 (t) θ 2 (t)) = J 1 θ1 k(θ 2 (t) θ 1 (t)) b 2 θ2 (t) = J 2 θ2 θ 2 (t) b 2 ω 2 (t) Taking the Laplace transform, we have ( J1 s 2 + b 1 s + k ) Θ 1 (s) kθ 2 (s) = ˆτ(s) J 2 k(θ 2 (t) θ 1 (t)) ( J2 s 2 + b 2 s + k ) Θ 2 (s) kθ 1 (s) = 0 39/42

Rotational Mechanical System: Example θ 1 (t) τ(t) θ 2 (t) θ 3 (t) b 1 J 1 k J 2 b2 J 3 b3 The equations of motion are τ(t) b 1 θ1 (t) k (θ 1 (t) θ 2 (t)) = J 1 θ1 k (θ 2 (t) θ 1 (t)) b 2 ( θ2 θ 3 ) = J 2 θ2 b 2 ( θ3 θ 2 ) b 3 θ3 = J 3 θ3 Taking the Laplace transform, we have ( J1 s 2 + b 1 s + k ) Θ 1 (s) kθ 2 (s) = ˆτ(s) kθ 1 (s) + ( J 2 s 2 + b 2 s + k ) Θ 2 (s) b 2 sθ 3 (s) = 0 b 2 sθ 2 (s) + ( J 3 s 2 + (b 2 + b 3 )s ) Θ 3 (s) = 0 40/42

Rotational Mechanical System: Example In matrix from ( J1 s 2 + b 1 s + k ) k 0 Θ 1 (s) ( k J2 s 2 + b 2 s + k ) b 2 s Θ 2 (s) 0 b 2 s ( J3 s 2 + (b 2 + b 3 )s ) Θ 3 (s) ˆτ(s) = 0 0 41/42

Reference 1. Norman S. Nise, Control Systems Engineering,6 th edition, Wiley, 2011 2. Gene F. Franklin, J. David Powell, and Abbas Emami-Naeini, Feedback Control of Dyanmic Systems,4 th edition, Prentice Hall, 2002 42/42