Module 5570 Control Systems and Design

Slides:



Advertisements
Similar presentations
Lect.3 Modeling in The Time Domain Basil Hamed
Advertisements

Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Lumped Parameter Systems.
From Continuous Time System to Discrete Time System ES400 Jack Ou, Ph.D. Chapter 1.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Review Resources: Wiki: State Variables YMZ: State Variable Technique Wiki: Controllability.
Lect.2 Modeling in The Frequency Domain Basil Hamed
Ch. 4: Velocity Kinematics
Modeling & Simulation of Dynamic Systems
DC motor model ETEC6419. Motors of Models There are many different models of DC motors that use differential equations. During this set of slides we will.
Lect.2 Modeling in The Frequency Domain Basil Hamed
Definition of an Industrial Robot
Automatic Control System
Laplace operator ‘s’ Reminder from ENGR201 Know how components behave in an instant of time Consider differential response Combine and simplify into standard.
1 Chapter 1 Fundamental Concepts. 2 signalpattern of variation of a physical quantity,A signal is a pattern of variation of a physical quantity, often.
Constrained Motion of Connected Particles
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Fourth Edition, by Allan R. Hambley, ©2008 Pearson Education, Inc. Lecture 9 Op-Amp Circuits.
STATE VARIABLE MODELS We consider physical sytems described by nth-order ordinary differential equation. Utilizing a set of variables, known as state variables,
Ch. 6 Single Variable Control
Lec 3. System Modeling Transfer Function Model
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
Control 1 Keypoints: The control problem Forward models: –Geometric –Kinetic –Dynamic Process characteristics for a simple linear dynamic system.
1 Chapter 1 Fundamental Concepts. 2 signalpattern of variation of a physical quantity,A signal is a pattern of variation of a physical quantity, often.
Control Engineering Lecture #2 Lecture #2 9 th Sep, th Sep,2009.
Mathematical Models and Block Diagrams of Systems Regulation And Control Engineering.
KINETICS OF PARTICLES: ENERGY AND MOMENTUM METHODS s2s2 A1A1 A2A2 A s1s1 s drdr F  ds Consider a force F acting on a particle A. The work of F.
Feedback Control Systems (FCS)
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
State-Space Models Date: 24 th July 2008 Prepared by: Megat Syahirul Amin bin Megat Ali
Lecture 4: Electrical Circuits
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
Chapter 2 Systems Defined by Differential or Difference Equations.
1 G. Baribaud/AB-BDI Digital Signal Processing March 2003 DISP-2003 The Laplace transform  The linear system concept  The definition and the properties.
Lecture 7: State-Space Modeling 1.Introduction to state-space modeling Definitions How it relates to other modeling formalisms 2.State-space examples 3.Transforming.
Lecture 3: Dynamic Models
Dr. Tamer Samy Gaafar Lec. 3 Mathematical Modeling of Dynamic System.
Textbook and Syllabus Textbook: Syllabus:
Modeling & Simulation of Dynamic Systems (MSDS)
The Laplace Transform.
Biomedical Control Systems (BCS) Module Leader: Dr Muhammad Arif muhammadarif Batch: 10 BM Year: 3 rd Term: 2 nd Credit Hours (Theory):
In The Name of Allah The Most Beneficent The Most Merciful 1.
State Equations BIOE Processes A process transforms input to output States are variables internal to the process that determine how this transformation.
Modern Control System EKT 308 Modeling in state space Modeling Physical Systems.
1 Chapter 3 State Variable Models The State Variables of a Dynamic System The State Differential Equation Signal-Flow Graph State Variables The Transfer.
ECE 483. Digital Control Systems Analysis and Design TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A A AAA A A.
Modern Control TheoryLecture 1, written by Xiaodong Zhao1 Modern Control Theory Syllabus Course Coordinator: Dr. Xiaodong Zhao – Room: Building Lab 2,
Lecture 3 Modeling (ii) –State Space approach
EE611 Deterministic Systems Examples and Discrete Systems Descriptions Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE611 Deterministic Systems System Descriptions, State, Convolution Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Dr.Mohammed abdulrazzaq
Mathematical Models of Control Systems
Automatic Control Theory CSE 322
MESB374 System Modeling and Analysis
Teknik kendali.
Transfer Functions Chapter 4
Signals and systems By Dr. Amin Danial Asham.
Mathematical Models of Physical Systems
5. Modeling of Electrical Systems
Mathematical Modeling of Control Systems
Islamic University of Gaza Faculty of Engineering
Digital Control Systems (DCS)
Digital Control Systems (DCS)
Modeling in the Time Domain
Chapter 2 Systems Defined by Differential or Difference Equations
State Space Method.
Homework 1: Electrical System
Equivalent State Equations
Signals and Systems Lecture 2
Mathematical Models of Control Systems
Chapter 3 Modeling in the Time Domain
Chapter 2 Modeling in the Frequency Domain
Presentation transcript:

Module 5570 Control Systems and Design ELEC 5570 Control Systems and Design Benjamin Chong – Room G62 Email: b.chong@leeds.ac.uk School of EEE, University of Leeds

Module 5570 Control Systems and Design Recommended Text Modern Control Systems (7th Edition), Dorf and Bishop, Prentice Hall, 2008 Relevant Chapters Chapter 2: Mathematical models of systems Chapter 5: Performance of feedback control systems Chapter 7: Root locus method Chapter 10: The design of feedback control systems Chapter 13; Digital control systems School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling A simple position control system Power Amp. K R2 R1 Ra La Va Pot. Kt + R r(t) (t) Before we start discussing the design of controllers, let us have a look of a simple control system. The figure above shows a position control system. The control system consists of two major elements:- the plant (in this case the motor and its power supply) and the controller (the op-amp and the resistors). The dc motor is driven by a power amplifier, and a sensor is used to measure the angle of the motor shaft. An analogue control circuit is used to control the motor shaft to follow the input demand r(t). The task of the control design is to select the values of the two resistors (R1 and R2) such that the difference between the input demand and motor output angle is kept small. This example is perhaps the simplest form of control. Many practical controllers normally have more complex structures than the proportional control in order to meet stability and performance specifications, and therefore the control design will have to deal with a number of design issues. So what issues are involved ? Plant Controller Controller output = Plant input School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Development of a Control System Representation of plant Requirements/specifications Design techniques Verification/validation Implementation and testing Typically, control system design involves the following steps. First, a representation of the plant must be found by using modelling and/or testing methods. The next task is normally to specify the basic requirements for the control system, i.e. what is expected from the system. Then, appropriate design techniques are chosen and controller is designed. The controller is then verified so ensure that it meets those requirements before it is implemented and tested. This module is mainly focussed on the study of controller design, and we shall be discussing “classical control” – designing controllers in frequency domain (s-plane for continuous-time systems and z-plane for discrete-time systems). Therefore, it is important to revise Laplace transforms and system transfer functions (which you should have studied before). School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Plant (The system to be controlled) Electrical, Mechanical, Aeronautical, Chemical (or combination) Mathematical Modelling (Differential equations, transfer functions) Model simplification (Identification of parts which can be neglected) Different plants will pose different problems for the design, and it is therefore essential to understand the characteristics of a plant and the difficulties and constraints the plant poses in order to design a satisfactory controller. In almost all cases, the plant must be represented using mathematical equations (i.e. the model), and the process of deriving the equations is known as modelling. For some systems (e.g. high order and/or non-linear systems), the full mathematical model might be too complex to be used for control design. Normally, a model reduction and/or linearisation process is carried out to derive a simpler model that represents key characteristics of the plant, whilst neglecting less significant elements. Because control is used in a wide range of applications, the modelling of the plants can often only be dealt with by people working in the relevant areas. This chapter will only give a few examples to show mathematics can be used to derive some simple models. School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- A two-mass mechanical system mb mw Ks Cs Kp Inertial reference F:- vector sum of all forces (in all directions) a:- vector acceleration of each body m:- mass of the body The figure above shows a two-mass system, which can be used as the model of a quarter of a car (i.e. a quarter of the car body m2, one wheel m1 and the suspension components Ks, Cs and Kp). The mathematical model of the mechanical system, i.e. the equations of motion, can be derived by applying Newton’s law F = ma, where ‘F’ is the vector sum of all forces applied to each body in a system, ‘a’ is the vector acceleration of each body with respect to an inertial reference frame, and m is the mass of the body. School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- A two-mass mechanical system Forces on the wheel and suspension mb mw Ks Cs Kp xb xw xg Inertial reference Fs Fp Equations of motion Forces caused by the suspension can be expressed as Fp (in the tyre) and Fs (between the body and the wheel), and the equations of motios for the body and the wheel are obtained using Newton’s law. School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- A two-mass mechanical system Equations of Motion In the s-domain – take Laplace transforms The equations of motion can be expressed in both the time-domain and frequency domain. From the frequency domain representation, transfer functions can be readily derived. If the input is xg and output is xb, the transfer function (in s-plane) H(s) = Xb(s)/Xg(s) is given above. Once the transfer function is obtained, the properties of the system can be examined using MATLAB (a program is given below). % Define the system parameters mb = 250; mw = 50; Ks = 10000; Cs = 125; Kp = 120000; % Define the numerator and denominator coefficients of the transfer function num = [Kp*Cs, Kp*Ks]; den = [mw*mb, Cs*(mb+mw), (mw*Ks+mb*Ks+mb*Kp), Kp*Cs, Kp*Ks]; sys = tf(num,den); % sys is the transfer function –a MATLAB “object” % Look at the frequency response using Bode plots (angular frequency range - % 100 points between 10-1 and 103 rads/s) w0 = logspace(-1, 3, 100); figure(1); bode(sys,w0); grid; % Look at a step response from 0 to 10 seconds [y,t] = step(sys, 10); figure(2); plot(t,y); grid; Transfer function from xg to xb School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- An electric circuit Kirchhoff’s laws (voltage and current) Relations between voltage and current for R, L, C components L R C va The figure above shows an R-L-C circuit. The input is the voltage supply and the output is either voltage across or current through the resistive load. Deriving the mathematical model of the electrical system replies on the Kirchhoff’s current and voltage laws, and the relations between the voltage and current of R, L, C components. Reminder:- Kirchhoff’s current law:- the algebraic sum of currents leaving a junction or node equals the algebraic sum of currents entering that node. Kirchhoff’s voltage law:- the algebraic sum of all voltages taken around a closed path in a circuit is zero. School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- An electric circuit L R C va Applying the Kirchhoff’s current and voltage laws gives: 1) iL = iR + iC 2) vL + vR –va = 0 For the inductor, we have vL = L d(iL)/dt Using the V-I relation for the capacitor: –vR + va = L d(iR + iC)/dt = L d(iR)/dt + L d[C d(vC)/dt]/dt As vC = vR, we have –vR + va = L d(iR)/dt + LC d2(vR)/dt School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- An electric circuit L R C va Hence: In the s-domain: As vR = R iR, we have LC d2(vR)/dt2 + L/R d(vR)/dt + vR = va or LCR d2(iR)/dt2 + L d(iR)/dt + R iR = va The equations can be derived in the frequency domain directly. Try this. Try to obtain the transfer functions Va(s)/VR(s) and Va(s)/IR(s) School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- A position control system Power Amp. K R2 R1 Ra La Va Pot. kt + R (t) ia r(t) The next example is the position control system that was looked at previously, and this example will be used extensively throughout the course. The power amplifier can be considered to be a constant gain. The dc motor may be divided into electrical and mechanical parts, and their mathematical equations are given above, where va -- armature voltage ia -- armature current La -- armature inductance Ra -- armature resistance K -- voltage gain of power amplifier. kt -- back emf constant = torque constant  -- the motor speed J -- moment of inertia of the motor armature and its load B – viscous friction constant Electrical part Mechanical part School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling Example:- A position control system In the s-domain:- The equations can be expressed in the s-domain, which results in a transfer function between the angular the input armature voltage and (output) velocity of the motor. The approximations neglects the armature inductance, La. This is an example of model simplification. School of EEE, University of Leeds

Chapter 1 – System Modelling Module 5570 Control Systems and Design Chapter 1 – System Modelling The transfer function between angular armature voltage and output velocity is therefore given by If we now include the voltage gain of the amplifier, the transfer function of the forward path (in green) is G(s) is therefore the “model” of the “plant”. School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling Transfer Function – Input/Output Relationship Derived by simultaneously manipulating multiple differential equations - This approach is straightforward for systems of 2 order or less Another approach which employs state-space modelling technique can be used. A set of (differential) equations describing a system can be either solved simultaneously or combined into a single, larger order differential equations by taking derivatives and substituting one into the other. The standard methods of solving differential equations are then applied. However, such a process can be tedious, and the methods employed vary in complexity as the order of the differential equation increases. Instead, state equations are used to describe the dynamics of a physical system. - This approach can also be applied to higher order systems - Can be used when there are multiple input/outputs School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling State-space modelling technique -a method for describing a system in terms of a set of first order linear differential equations. In the general form they can be expressed as State-space modelling technique enables a system to be described in a unified approach. It is simply a collection of first-order differential equations that together represent exactly the same as the original larger differential equation. The collection of state variables at any given time is known as the state of the system, and the set of all values that can be taken on by the state is known as the state space. In normal case, there is one or more input(s) and one or more output(s). Therefore, state-space modelling technique can be used not just for single-input-single-output system but also for single-input-multiple-output, multiple-input-single-output, multiple-input-multiple-output systems. School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling State-space modelling technique where is an n  1 vector of state variables is a p  1 vector of inputs is an m  1 vector of outputs represents the set of state variables represents the input set represents the output set A is state matrix, B is the input matrix, C is the output matrix, and D is the feedthrough matrix A is an n  n matrix, B is an n  p matrix, C is an m  n matrix, D is an m  p matrix. School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling State-space modelling technique (single-input, single-output (SISO) system) We have p = m =1 We can write B = b (nx1 column vector), C = c which is a 1  n row vector and d is scalar, i.e. In the previous slide, the state space equation is in general form and it is for multiple-input-multiple-output (MIMO) . If the input and/or output is one dimensional (i.e. single), the associated matrix is written in lower case; b, c or d. This is to indicate that they are simple columns (b), rows (c) or scalars (d), respectively. School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling Relation between State Space and Transfer Function Matrix Descriptions In take Laplace transforms with X(0) = 0 It may be reasonably asked at this point how the state space equation which is in time domain, relates to the transfer function representation of systems. The most fundamental to answer to this question is that transfer functions are defined for systems with zero initial conditions only. State variable descriptions are therefore more appropriate when transients due to non-zero initial conditions are important. Also a transfer functions is mainly dealing with SISO. In this module, we will analyse how we can derive the system transfer function from a set of state space equations. School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling Hence and Hence Hence, we have a description between input and output (in s-domain) expressed as School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling Application of state-space modelling technique for transfer function derivation State variable Input/output Note: Input is independent School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling Application of state-space modelling technique for transfer function derivation School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling Application of state-space modelling technique for transfer function derivation This School of EEE, University of Leeds

Module 5570 Control Systems and Design Chapter 1 – System Modelling Application of state-space modelling technique for transfer function derivation School of EEE, University of Leeds