Exercise 1a: Transfer functions

Similar documents
Exercise 3: Transfer functions (Solutions)

Solutions. MathScript. So You Think You Can. Part III: Frequency Response HANS-PETTER HALVORSEN,

Step Response of First-Order Systems

AMJAD HASOON Process Control Lec4.

Outline. Classical Control. Lecture 2

Outline. Classical Control. Lecture 5

Time Response Analysis (Part II)

INTRODUCTION TO TRANSFER FUNCTIONS

Task 1 (24%): PID-control, the SIMC method

One-Sided Laplace Transform and Differential Equations

Problem Value Score Total 100/105

9.5 The Transfer Function

MATHEMATICAL MODELING OF CONTROL SYSTEMS

The Laplace Transform

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

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

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

Exercise 8: Level Control and PID Tuning. CHEM-E7140 Process Automation

APPLICATIONS FOR ROBOTICS

LTI Systems (Continuous & Discrete) - Basics

Digital Control System Models. M. Sami Fadali Professor of Electrical Engineering University of Nevada

EXAMINATION INFORMATION PAGE Written examination

Chapter 6: The Laplace Transform. Chih-Wei Liu

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley

Given: We are given the drawing above and the assumptions associated with the schematic diagram.

Frequency Response of Linear Time Invariant Systems

Transform Solutions to LTI Systems Part 3

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

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL. Glenn Vinnicombe HANDOUT 5. An Introduction to Feedback Control Systems

Dr Ian R. Manchester

( ) ( = ) = ( ) ( ) ( )

Introduction to Feedback Control

Representation of standard models: Transfer functions are often used to represent standard models of controllers and signal filters.

EEL2216 Control Theory CT1: PID Controller Design

Lecture 5: Linear Systems. Transfer functions. Frequency Domain Analysis. Basic Control Design.

Analysis and Design of Control Systems in the Time Domain

Lecture 9 Time-domain properties of convolution systems

9/9/2011 Classical Control 1

Step Response Analysis. Frequency Response, Relation Between Model Descriptions

Module 4 : Laplace and Z Transform Problem Set 4

The Laplace Transform

Chemical Engineering 436 Laplace Transforms (1)

Lab # 4 Time Response Analysis

Course Background. Loosely speaking, control is the process of getting something to do what you want it to do (or not do, as the case may be).

Frequency Response part 2 (I&N Chap 12)

INTRODUCTION TO DIGITAL CONTROL

6 OUTPUT FEEDBACK DESIGN

Series RC and RL Time Domain Solutions

Computing inverse Laplace Transforms.

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

Systems Analysis and Control

Classify a transfer function to see which order or ramp it can follow and with which expected error.

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

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

SAMPLE EXAMINATION PAPER (with numerical answers)

Notes 17 largely plagiarized by %khc

Control System. Contents

AN INTRODUCTION TO THE CONTROL THEORY

ECE 3620: Laplace Transforms: Chapter 3:

School of Mechanical Engineering Purdue University. ME375 Feedback Control - 1

ECE 388 Automatic Control

Numeric Matlab for Laplace Transforms

EE Homework 12 - Solutions. 1. The transfer function of the system is given to be H(s) = s j j

Laplace Transform Theory - 1

EE Experiment 11 The Laplace Transform and Control System Characteristics

Automatic Control Systems (FCS) Lecture- 8 Steady State Error

ENGIN 211, Engineering Math. Laplace Transforms

MAE143A Signals & Systems - Homework 5, Winter 2013 due by the end of class Tuesday February 12, 2013.

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

Fundamental of Control Systems Steady State Error Lecturer: Dr. Wahidin Wahab M.Sc. Aries Subiantoro, ST. MSc.

On the Stability of Linear Systems

MODELING OF CONTROL SYSTEMS

Lecture Discrete dynamic systems

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

Dr. Ian R. Manchester

Section 5 Dynamics and Control of DC-DC Converters

Introduction & Laplace Transforms Lectures 1 & 2

Review: transient and steady-state response; DC gain and the FVT Today s topic: system-modeling diagrams; prototype 2nd-order system

Systems Analysis and Control

CH.6 Laplace Transform

6.003 Homework #6 Solutions

MAS107 Control Theory Exam Solutions 2008

Recursive, Infinite Impulse Response (IIR) Digital Filters:

12/20/2017. Lectures on Signals & systems Engineering. Designed and Presented by Dr. Ayman Elshenawy Elsefy

Laplace Transforms Chapter 3

Control Systems II. ETH, MAVT, IDSC, Lecture 4 17/03/2017. G. Ducard

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING TUTORIAL QUESTION BANK

Alireza Mousavi Brunel University

School of Mechanical Engineering Purdue University. ME375 Dynamic Response - 1

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Matlab Controller Design. 1. Control system toolbox 2. Functions for model analysis 3. Linear system simulation 4. Biochemical reactor linearization

Control of Electromechanical Systems

Problem Weight Score Total 100

The Laplace transform

Stability. X(s) Y(s) = (s + 2) 2 (s 2) System has 2 poles: points where Y(s) -> at s = +2 and s = -2. Y(s) 8X(s) G 1 G 2

Problem Set #7 Solutions Due: Friday June 1st, 2018 at 5 PM.

Massachusetts Institute of Technology Department of Mechanical Engineering Dynamics and Control II Design Project

ROOT LOCUS. Consider the system. Root locus presents the poles of the closed-loop system when the gain K changes from 0 to. H(s) H ( s) = ( s)

Control Systems Engineering ( Chapter 8. Root Locus Techniques ) Prof. Kwang-Chun Ho Tel: Fax:

Chapter DEs with Discontinuous Force Functions

Transcription:

Exercise 1a: Transfer functions Transfer functions are a model form based on the Laplace transform. Transfer functions are very useful in analysis and design of linear dynamic systems. A general Transfer function is on the form: Where y is the output and u is the input. H S = y(s) u(s) A general transfer function can be written on the following general form: H s = numerator(s) denominator(s) = b!s! + b!!! s!!! + + b! s + b! a! s! + a!!! s!!! + + a! s + a! The Numerators of transfer function models describe the locations of the zeros of the system, while the Denominators of transfer function models describe the locations of the poles of the system. Differential Equations While the transfer function gives an external in- out representation of a system, will the differential equations of a system give an internal representation of a system. We can find the transfer function from the differential equation by using Laplace and Laplace transformation pairs. Likewise, we can find the differential equation from the transfer function using inverse Laplace. The following transformation pair is much used: Differentiation: 1.order systems: For higher order systems: Integration: x sx(s) x (!) s! x(s) Faculty of Technology, Postboks 203, Kjølnes ring 56, N-3901 Porsgrunn, Norway. Tel: +47 35 57 50 00 Fax: +47 35 57 54 01

2 x 1 s x(s) Time- delay: u t τ u(s)e!!" Static Time- response In some cases we want to find the constant value y! of the time response when the time t. We can then use the final value theorem ( sluttverditeoremet ): y! = lim!! y t = lim!! s y(s) MathScript MathScript has several functions for creating transfer functions: Function Description Example tf Creates system model in transfer function form. You also can >num=[1]; >den=[1, 1, 1]; use this function to state- space models to transfer function >H = tf(num, den) form. Sys_order1 Sys_order2 step Example: Constructs the components of a first- order system model based on a gain, time constant, and delay that you specify. You can use this function to create either a state- space model or a transfer function model, depending on the output parameters you specify. Constructs the components of a second- order system model based on a damping ratio and natural frequency you specify. You can use this function to create either a state- space model or a transfer function model, depending on the output parameters you specify. Creates a step response plot of the system model. You also can use this function to return the step response of the model outputs. If the model is in state- space form, you also can use this function to return the step response of the model states. This function assumes the initial model states are zero. If you do not specify an output, this function creates a plot. In MathScript we will use the following code: % Define Transfer function num = [1]; den = [1, 1]; H s = 1 s + 1 >K = 1; >tau = 1; >H = sys_order1(k, tau) >dr = 0.5 >wn = 20 >[num, den] = sys_order2(wn, dr) >SysTF = tf(num, den) >num=[1,1]; >den=[1,-1,3]; >H=tf(num,den); >t=[0:0.01:10]; >step(h,t);

3 H = tf(num, den) % Step Response step(h) This gives the following step response: A general transfer function can be written on the following general form: H s = numerator(s) denominator(s) = b!s! + b!!! s!!! + + b! s + b! a! s! + a!!! s!!! + + a! s + a! The Numerators of transfer function models describe the locations of the zeros of the system, while the Denominators of transfer function models describe the locations of the poles of the system. In MathScript we can define such a transfer function using the built- in tf function as follows: num = [bm, bm_1, bm_2,, b1, b0]; den = [an, an_1, an_2,, a1, a0]; H = tf(num, den) Task 1: Differential equations to Transfer functions Task 1.1 Given the following differential equation: x = 0.5x + 2u Find the following transfer function:

4 H s = x(s) u(s) Task 1.2 Given the following 2.order differential equation: Find the following transfer function: y + y + 5y = 5x H s = y(s) x(s) Task 2: Transfer functions to differential equatons Task 2.1 H s = x(s) u(s) = 3 0.5s + 1 Find the differential equation from the transfer function above. Task 2.2 Draw a block diagram of the system. Task 3: 2.order system Task 3.1 Find the differential equation for the system. H s = y(s) u(s) = 2s + 3 s! + 4s + 3 Task 4: Static Time- response Task 4.1 H(s) = y(s) u(s) = 3 2s + 1

5 Find the static time- response. We will use a step for the control signal (u t = 1). Note! The Laplace Transformation pair for a step is as follows: Task 4.2 Find the static time- response. 1 s 1 H(s) = y(s) 6(s + 1) = u(s) 9s + 0.25 We will use a step for the control signal (u t = 1). Task 5: 1.order transfer functions Task 5.1 H(s) = y(s) u(s) = 2 4s + 1 What are the values for the gain K and the time constant T for this system? Sketch the step response for the system using pen and paper. Find the step response using MathScript and compare the result with your sketch. Task 5.2 Find the differential equation from the transfer function above and draw a block diagram of the system ( pen and paper ). Task 5.3 From the block diagram in Task 1.2, find the transfer function H(s) =!(!) (The answer shall of course be H(s) =!(!)!(!) =!!!!! ) Task 5.4 Find the solution for the differential equation (y(t)) and plot it ( pen and paper ).!(!)

6 We will use a step for the control signal (u t = 1). Note! The Laplace Transformation pair for a step is as follows: 1 s 1 Tip! You also need to use the following Laplace transform pair: Compare to the results from Task 1.1. K Ts + 1 s K(1 e!!/! ) Task 6: Transfer functions in MathScript Define the following transfer functions in MathScript. Task 6.1 Task 6.2 Task 6.3 H(s) = 2s! + 3s + 4 5s + 9 H(s) = 4s! + 3s + 4 5s! + 9 7 + 3s + 2s! H(s) = 5s + 6s! Task 7: Differential equations to Transfer functions Task 7.1 Given the following differential equation: x = 0.5x + 2u Find the following transfer function:

7 H s = x(s) u(s) Task 8: PI Controller A PI controller is defined as: u(t) = K! e + K! T!! edτ! Where u is the controller output and e is the control error: Task 8.1 Find the transfer function for the PI Controller: Additional Resources e t = r t y(t) H! s = u(s) e(s) http://home.hit.no/~hansha/?lab=mathscript Here you will find tutorials, additional exercises, etc.