INTRODUCTION TO TRANSFER FUNCTIONS

Similar documents
University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011

Laplace Transforms Chapter 3

The Laplace Transform

EE Experiment 11 The Laplace Transform and Control System Characteristics

Transform Solutions to LTI Systems Part 3

Numeric Matlab for Laplace Transforms

9.5 The Transfer Function

Laplace Transforms. Chapter 3. Pierre Simon Laplace Born: 23 March 1749 in Beaumont-en-Auge, Normandy, France Died: 5 March 1827 in Paris, France

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

The Process. 218 Technical Applications of Computers

MAT 275 Laboratory 7 Laplace Transform and the Symbolic Math Toolbox

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

The Laplace Transform

UNIVERSITI MALAYSIA PERLIS

MATHEMATICAL MODELING OF CONTROL SYSTEMS

Frequency Response of Linear Time Invariant Systems

Step Response of First-Order Systems

JUST THE MATHS UNIT NUMBER LAPLACE TRANSFORMS 3 (Differential equations) A.J.Hobson

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

Chap 4. State-Space Solutions and

Section 8.3 Partial Fraction Decomposition

9. Introduction and Chapter Objectives

Equations in Quadratic Form

MAE143A Signals & Systems, Final Exam - Wednesday March 16, 2005

Quadratic Formula: - another method for solving quadratic equations (ax 2 + bx + c = 0)

Control Systems. Laplace domain analysis

ECE 3793 Matlab Project 3

1-DOF Forced Harmonic Vibration. MCE371: Vibrations. Prof. Richter. Department of Mechanical Engineering. Handout 8 Fall 2011

Math 3313: Differential Equations Laplace transforms

Core Mathematics 3 Algebra

Exercise 1a: Transfer functions

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

a_n x^(n) a_0 x = 0 with initial conditions x(0) =... = x^(n-2)(0) = 0, x^(n-1)(0) = 1/a_n.

ENGIN 211, Engineering Math. Laplace Transforms

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

Control Systems. Frequency domain analysis. L. Lanari

Mathematics (MEI) Advanced Subsidiary GCE Core 1 (4751) May 2010

EEE582 Homework Problems

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Introduction to Modern Control MT 2016

1 st Tutorial on EG4321/EG7040 Nonlinear Control

Control Systems, Lecture 05

CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN

Math 10. Lesson 4 7 General Form of Linear Equation

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

Lecture Discrete dynamic systems

Chapter 4: The State Space and Numerical Simulation

Identification Methods for Structural Systems

ECE 203 LAB 1 MATLAB CONTROLS AND SIMULINK

The z-transform Part 2

MODELING OF 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

Methods for analysis and control of. Lecture 6: Introduction to digital control

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

ECE 3793 Matlab Project 3 Solution

EDEXCEL NATIONAL CERTIFICATE UNIT 4 MATHEMATICS FOR TECHNICIANS OUTCOME 1

Laplace Transforms and use in Automatic Control

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

Ma 221 Final Exam Solutions 5/14/13

The Laplace Transform

Mathematics (MEI) Advanced Subsidiary GCE Core 1 (4751) June 2010

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

CDS 101/110: Lecture 6.2 Transfer Functions

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

Algebra I. Book 2. Powered by...

Partial Fraction Decomposition Honors Precalculus Mr. Velazquez Rm. 254

APPENDIX : PARTIAL FRACTIONS

11.2 Basic First-order System Methods

8.3 Partial Fraction Decomposition

Chemical Engineering 436 Laplace Transforms (1)

It is common to think and write in time domain. creating the mathematical description of the. Continuous systems- using Laplace or s-

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra: 2 x 3 + 3

1.2. Indices. Introduction. Prerequisites. Learning Outcomes

PARTIAL FRACTIONS AND POLYNOMIAL LONG DIVISION. The basic aim of this note is to describe how to break rational functions into pieces.

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis

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

Exercise 3: Transfer functions (Solutions)

Question: Total. Points:

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7)

APPLICATIONS FOR ROBOTICS

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

SIGNALS AND SYSTEMS LABORATORY 4: Polynomials, Laplace Transforms and Analog Filters in MATLAB

MA 201, Mathematics III, July-November 2018, Laplace Transform (Contd.)

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

Algebra 2 Summer Work Packet Review and Study Guide

PARTIAL FRACTION DECOMPOSITION. Mr. Velazquez Honors Precalculus

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

Note. Design via State Space

Grades will be determined by the correctness of your answers (explanations are not required).

OKLAHOMA STATE UNIVERSITY

PARTIAL FRACTIONS AND POLYNOMIAL LONG DIVISION. The basic aim of this note is to describe how to break rational functions into pieces.

Math 155 Prerequisite Review Handout

Methods of Integration

The roots are found with the following two statements. We have denoted the polynomial as p1, and the roots as roots_ p1.

Multiple Degree of Freedom Systems. The Millennium bridge required many degrees of freedom to model and design with.

EE C128 / ME C134 Final Exam Fall 2014

Representing Polynomials

Get acquainted with the computer program, The Quadratic Transformer. When you're satisfied that you understand how it works, try the tasks below.

Math 096--Quadratic Formula page 1

ECE 204 Numerical Methods for Computer Engineers MIDTERM EXAMINATION /8:00-9:30

Transcription:

INTRODUCTION TO TRANSFER FUNCTIONS The transfer function is the ratio of the output Laplace Transform to the input Laplace Transform assuming zero initial conditions. Many important characteristics of dynamic or control systems can be determined from the transfer function. The modeling equation gathered from the free body diagram is in the time domain. Some analyses are easier to perform in the frequency domain. In order to convert to the frequency domain, apply the Laplace Transform to determine the transfer function of the system. The Laplace Transform converts linear differential equations into algebraic expressions which are easier to manipulate. The Laplace Transform converts functions with a real dependent variable (such as time) into functions with a complex dependent variable (such as frequency, often represented by s). The general procedure to find the transfer function of a linear differential equation from input to output is to take the Laplace Transforms of both sides assuming zero conditions, and to solve for the ratio of the output Laplace over the input Laplace. HOW TO FIND THE TRANSFER FUNCTION In most cases the governing equation will be linear, consisting of a variable and its derivatives. The Laplace Transform allows a linear equation to be converted into a polynomial. The most useful property of the Laplace Transform for finding the transfer function is the differentiation theorem. Several properties are shown below: Time Domain Frequency Domain Linearity f(t) + g(t) Function x(t) 1 st Derivative x'(t) 2 nd Derivative x"(t) n th Derivative x n (t) Note: While linearity allows Laplace Transforms to be added, the same does not hold true for multiplication. f(t)g(t) does not equal F(s)G(s). The solution to multiplication requires convolution, please refer to a differential equations book. r. Syed Saad Azhar Ali

In order to convert the time dependent governing equation to the frequency domain, perform the Laplace Transform to the input and output functions and their derivatives. These transformed functions must then be substituted back into the governing equation assuming zero initial conditions. Because the transfer function is defined as the output Laplace function over the input Laplace function, rearrange the equation to fit this form. Find the transfer function of the second order tutorial example problem: From the free body diagram we were able to extract the following governing equation: f(t) - kx - bx' - mx" = 0 The notation of the Laplace Transform operation is L{ }. When finding the transfer function, zero initial conditions must be assumed, so x(0) = x'(0) = 0. Taking the Laplace Transform of the governing equation results in: F(s) - k[x(s)] - b[sx(s)] - m[s 2 X(s)] = 0 Collecting all the terms involving X(s) and factoring leads to: [ms 2 + bs + k] X(s) = F(s) The transfer function is defined as the output Laplace Transform over the input Laplace Transform, and so the transfer function of this second order system is: X(s)/F(s) = 1/[ms 2 + bs + k] HOW TO INPUT THE TRANSFER FUNCTION INTO MATLAB In order to enter a transfer function into MATLAB, the variables much be given numerical value, because MATLAB cannot manipulate symbolic variables without

the symbolic toolbox. Enter the numerator and denominator polynomial coefficients separately as vectors of coefficients of the individual polynomials in descending order. The syntax for defining a transfer function in MATLAB is: transferfunction = tf(num, den) where num is defined as the vector of numerator coefficients, and den is defined as the vector of denominator coefficients. Input the transfer function X(s)/F(s) = 1/[ms 2 + bs + k] into MATLAB: For illustration purposes, this example uses m = 2, b = 5, and k = 3. >> m = 2; >> b = 5; >> k = 3; >> num = [ 1 ]; >> den = [ m b k ]; >> tutorial_tf = tf(num, den) MATLAB will assign the transfer function under the name tutorial_tf, and output the following: Transfer function: 1 --------------- 2 s^2 + 5 s + 3 STEP RESPONSE USING THE TRANSFER FUNCTION Once the transfer function is entered into MATLAB it is easy to calculate the response to a step input. To calculate the response to a unit step input, use: step(transferfunction) where transferfunction is the name of the transfer function of the system. For steps with magnitude other than one, calculate the step response using: step(u * transferfunction)

where u is the magnitude of the step and transferfunction is the name of the transfer function of the system. Find the unit step response and the step response when u = 4 of tutorial_tf using MATLAB: To find the unit step response: >> step(tutorial_tf) The MATLAB output will be the following plot of the unit step response: To find the step response when u = 4: >> u = 4; >> step(u * tutorial_tf) The MATLAB output will be the following plot of the step response:

IMPULSE RESPONSE USING THE TRANSFER FUNCTION MATLAB can also plot the impulse response of a transfer function. Because the transfer function is in the form of output over input, the transfer function must be multiplied by the magnitude of the impulse. The syntax for plotting the impulse response is: impulse(u * transferfunction) where u is the magnitude of the impulse and transferfunction is the name of the transfer function of the system. Find the impulse response of tutorial_tf with an input of u = 2 using MATLAB:

>> u = 2; >> impulse(u * tutorial_tf) The MATLAB output will be the following plot of the impulse response: BODE PLOT USING THE TRANSFER FUNCTION MATLAB s bode command plots the frequency response of a system as a bode plot. The syntax for the bode plot function in MATLAB is: bode(transferfunction) where transferfunction is the name of the transfer function system. Find bode plot of the frequency response of the system tutorial_tf using

MATLAB: >> bode(tutorial_tf) The MATLAB output will be the following bode plot of the frequency response: STATE SPACE FROM TRANSFER FUNCTION MATLAB can find the state space representation directly from the transfer function in two ways. To find the state space representation of the system from the numerator and denominator of the transfer function in the form x' = Ax + Bu y = Cx + Du use MATLAB's tf2ss command:

[A, B, C, D] = tf2ss(num,den) where num is the vector of the numerator polynomial coefficients, and den is the vector of the denominator polynomial coefficients. In order to find the entire state space system in addition to the separate matrices from the transfer function, use the following command: statespace = ss(transferfunction) where transferfunction is the name of the transfer function system. Find A, B, C, and D, the state space vectors of tutorial_tf using MATLAB: >> [A, B, C, D] = tf2ss(num,den) The MATLAB output will be: A = -2.5000-1.5000 1.0000 0 B = 1 0 C = 0 0.5000 D = 0 Find the state space system of tutorial_tf using MATLAB: >> tutorial_ss = ss(tutorial_tf) MATLAB will assign the state space system under the name tutorial_ss, and

output the following: a = x1 x2 x1-2.5-0.375 x2 4 0 b = u1 x1 0.25 x2 0 c = x1 x2 y1 0 0.5 d = u1 y1 0 Continuous-time model.