CL Digital Control

Similar documents
If every Bounded Input produces Bounded Output, system is externally stable equivalently, system is BIBO stable

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

1. Cancellation of Left Half Plane Poles with Zeros

Design of Decentralised PI Controller using Model Reference Adaptive Control for Quadruple Tank Process

Inter-Ing 2005 INTERDISCIPLINARITY IN ENGINEERING SCIENTIFIC CONFERENCE WITH INTERNATIONAL PARTICIPATION, TG. MUREŞ ROMÂNIA, NOVEMBER 2005.

Introduction to Control (034040) lecture no. 2

ET3-7: Modelling I(V) Introduction and Objectives. Electrical, Mechanical and Thermal Systems

Index Terms Magnetic Levitation System, Interval type-2 fuzzy logic controller, Self tuning type-2 fuzzy controller.

AN INTRODUCTION TO THE CONTROL THEORY

H-infinity Model Reference Controller Design for Magnetic Levitation System

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

YTÜ Mechanical Engineering Department

1. Z-transform: Initial value theorem for causal signal. = u(0) + u(1)z 1 + u(2)z 2 +

Modeling and Control Overview

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

1. Linearity of a Function A function f(x) is defined linear if. f(αx 1 + βx 2 ) = αf(x 1 ) + βf(x 2 )

Wide Range Stabilization Of A Magnetic Levitation System Using Analog Fuzzy Supervisory Phase Lead Compensated Controller

CBE507 LECTURE III Controller Design Using State-space Methods. Professor Dae Ryook Yang

GAIN SCHEDULING CONTROL WITH MULTI-LOOP PID FOR 2- DOF ARM ROBOT TRAJECTORY CONTROL

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

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT

The basic principle to be used in mechanical systems to derive a mathematical model is Newton s law,

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

EC CONTROL SYSTEM UNIT I- CONTROL SYSTEM MODELING

Lab 5a: Magnetic Levitation (Week 1)

Inter-Ing 2005 INTERDISCIPLINARITY IN ENGINEERING SCIENTIFIC CONFERENCE WITH INTERNATIONAL PARTICIPATION, TG. MUREŞ ROMÂNIA, NOVEMBER 2005.

Feedback Control of Linear SISO systems. Process Dynamics and Control

Overview of the Seminar Topic

Outline. Classical Control. Lecture 1

(Refer Slide Time: 00:01:30 min)

Computer Exercise Modeling and control of a magnetic suspension system N S. magnetic. gravity. Figure 1: Sketch of the magnetic levitation system.

EEE 188: Digital Control Systems

Automatique. A. Hably 1. Commande d un robot mobile. Automatique. A.Hably. Digital implementation

FEEDBACK CONTROL SYSTEMS

Feedback Basics. David M. Auslander Mechanical Engineering University of California at Berkeley. copyright 1998, D.M. Auslander

YTÜ Mechanical Engineering Department

Trajectory Planning, Setpoint Generation and Feedforward for Motion Systems

Video 5.1 Vijay Kumar and Ani Hsieh

CHAPTER 2 CONTINUOUS STIRRED TANK REACTOR PROCESS DESCRIPTION

Dynamics of Machines. Prof. Amitabha Ghosh. Department of Mechanical Engineering. Indian Institute of Technology, Kanpur. Module No.

CONTROL OF DIGITAL SYSTEMS

Switched Mode Power Conversion Prof. L. Umanand Department of Electronics Systems Engineering Indian Institute of Science, Bangalore

Lesson 7. Thermomechanical Measurements for Energy Systems (MENR) Measurements for Mechanical Systems and Production (MMER)

Control Introduction. Gustaf Olsson IEA Lund University.

Chapter 3 - Solved Problems

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

A New Generation of Adaptive Model Based Predictive Controllers Applied in Batch Reactor Temperature Control

Application Note #3413

Department of Electrical and Computer Engineering. EE461: Digital Control - Lab Manual

Lab 3: Quanser Hardware and Proportional Control

Model Predictive Controller of Boost Converter with RLE Load

Quantum Computers. Todd A. Brun Communication Sciences Institute USC

is to accounting. Arithmetic provides the notation

Trajectory planning and feedforward design for electromechanical motion systems version 2

Mechatronics Engineering. Li Wen

Process Control & Design

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

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

MEAM 510 Fall 2011 Bruce D. Kothmann

INTRODUCTION TO DIGITAL CONTROL

Control. CSC752: Autonomous Robotic Systems. Ubbo Visser. March 9, Department of Computer Science University of Miami

COMP9334: Capacity Planning of Computer Systems and Networks

Control Systems Design, SC4026. SC4026 Fall 2009, dr. A. Abate, DCSC, TU Delft


Control 2. Proportional and Integral control

Topic 1.2 Measurement and Uncertainties Uncertainty and error in measurement. Random Errors

Lecture 7: Transistors and Amplifiers

Lecture: Sampling. Automatic Control 2. Sampling. Prof. Alberto Bemporad. University of Trento. Academic year

The output voltage is given by,

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

An Introduction to Control Systems

Process Control Hardware Fundamentals

Linear State Feedback Controller Design

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Control System Design

Chapter 7. Digital Control Systems

H-INFINITY CONTROLLER DESIGN FOR A DC MOTOR MODEL WITH UNCERTAIN PARAMETERS

Gain Scheduling Control with Multi-loop PID for 2-DOF Arm Robot Trajectory Control

Positioning Servo Design Example

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

Analysis and Design of Control Systems in the Time Domain

ME 132, Dynamic Systems and Feedback. Class Notes. Spring Instructor: Prof. A Packard

DESIGN OF FUZZY ESTIMATOR TO ASSIST FAULT RECOVERY IN A NON LINEAR SYSTEM K.

Simulation based Modeling and Implementation of Adaptive Control Technique for Non Linear Process Tank

MCE 366 System Dynamics, Spring Problem Set 2. Solutions to Set 2

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

Index. Index. More information. in this web service Cambridge University Press

Nonlinear System Analysis

MEAM 510 Fall 2012 Bruce D. Kothmann

1. Invent Yourself: Physics Precise Weighting

Closed loop Identification of Four Tank Set up Using Direct Method

Topic # Feedback Control Systems

General Physics - E&M (PHY 1308) - Lecture Notes. General Physics - E&M (PHY 1308) Lecture Notes

A FORCE BALANCE TECHNIQUE FOR MEASUREMENT OF YOUNG'S MODULUS. 1 Introduction

Stepping Motors. Chapter 11 L E L F L D

Control Systems Design

(a) Find the transfer function of the amplifier. Ans.: G(s) =

Module 1: Introduction to Digital Control Lecture Note 4

On-off Control: Audio Applications

Digital Control Systems State Feedback Control

Transcription:

CL 692 - Digital Control Kannan M. Moudgalya Department of Chemical Engineering Associate Faculty Member, Systems and Control IIT Bombay Autumn 26 CL 692 Digital Control, IIT Bombay 1 c Kannan M. Moudgalya, Autumn 26 1. Topics to be covered Modelling Signal Processing Identification Transfer function approach to control design State space approach to control design You will think digital at the end of the course CL 692 Digital Control, IIT Bombay 2 c Kannan M. Moudgalya, Autumn 26

2. Objectives of a Control Scheme To stabilize unstable plants To improve the performance of plants (rise time, overshoot, settling time) To remove the effect of disturbance (load) and noise If a good model is available, use feed forward control scheme If a good model is not available, use feedback control scheme Often, we don t have good models feedback control schemes are preferred CL 692 Digital Control, IIT Bombay 3 c Kannan M. Moudgalya, Autumn 26 3. Schematic of Feedback Control v r e G c u G y G: denotes plant or process G c : denotes digital controller r: reference variable, setpoint v: disturbance variable y: plant output or controlled variable u: plant input or manipulated variable or control effort CL 692 Digital Control, IIT Bombay 4 c Kannan M. Moudgalya, Autumn 26

4. Digital Signals Digital systems deal with digital signals Digital signals are quantized in value discrete in time As or 1 refers to a range of voltages, digital signals can be made less noisy Can implement error checking protocols So digital devices became popular - impetus for advancement of digital systems Digital devices have become rugged, compact, flexible and inexpensive Modern controllers are based on digital systems CL 692 Digital Control, IIT Bombay 5 c Kannan M. Moudgalya, Autumn 26 5. Noise Margin - Impetus for Growth of Digital Devices source sink If transmitted signal is received exactly, no noise Analog circuitry always has noise Digital devices have good noise margins Example: TTL Can pick up noise, voltage can increase by.4v, still considered low signal Note: if voltage decreases because of noise, no probem High: =.8.4 =.4V Low Voltage () At output At input At output: At input: Considered low Considered low if voltage <.4V if voltage <.8V Considered high Considered high if voltage > 2.4V if voltage > 2V 1 = 2.4 2. =.4V CL 692 Digital Control, IIT Bombay 6 c Kannan M. Moudgalya, Autumn 26

6. Advantages of Digital Control All modern controllers are digital - even if they appear to be analog Can easily implement complicated algorithms Flexible, can easily change algorithms Low prices - can achieve complicated algorithms without much expenditure Analysis of difference equations is easier than differential equations - so easier to design digital controllers How do we connect digital controllers with real life objects, which could be analog? CL 692 Digital Control, IIT Bombay 7 c Kannan M. Moudgalya, Autumn 26 7. Analog to Digital Conversion Actual & Quantised Data data time A/D Converter quantized data Quantized Sampled Data time Analog to Digital (A/D) converter produces digital signals from analog signals Higher signal frequency requires faster sampling rate But uniform sampling rate is used in an A/D converter Quantization errors Finiteness of bits - quantization errors Increase number of bits to reduce errors Falling hardware prices help achieve this Sampling rate Slow rate loss of information Fast rate computational load Analog s output is sent to digital through A/D. Reverse? CL 692 Digital Control, IIT Bombay 8 c Kannan M. Moudgalya, Autumn 26

8. Digital to Analog Conversion Sampled signal Discrete ZOH Signals Discrete Signals ZOH is the most popular Real life systems are analog Cannot work with binary numbers Binary D/A analog We will consider only ZOH in this course Assumption used in this course: Need to know values at all times The easiest way to handle this to use Zero Order Hold (ZOH) Complicated hold devices possible. All inputs are ZOH signals OK when the input is produced by a digital device Also OK when the input signal varies slowly CL 692 Digital Control, IIT Bombay 9 c Kannan M. Moudgalya, Autumn 26 9. Magnetically Suspended Ball R L V + i M h Current through coil induces magnetic force Magnetic force balances gravity Ball is suspended in midair - 1 cm from core g Force balance: M d2 h Ki2 = Mg 2 h Voltage balance V = L di + ir Want to move to another equilibrium CL 692 Digital Control, IIT Bombay 1 c Kannan M. Moudgalya, Autumn 26

1. Magnetically Suspended Ball R L + V i h M Linearize RHS: i 2 h = i2 s + 2 i h (is, ) i i2 h (is, ) h 2 Model equations: M d2 h Ki2 = Mg 2 h V = L di + ir In deviation variables: = M d2 2 M d2 h 2 g = Mg Ki2 s [ ] i 2 = K h i2 s = i2 s + 2 i s i i2 s h h 2 s Substitute and simplify M d2 h = K 2 d 2 h = K 2 M [ i 2 s + 2 i s i i2 s h 2 s i 2 s 2 hs h K i s i. 2 M Voltage balance in deviation: V = L d i + R i ] h i2 s CL 692 Digital Control, IIT Bombay 11 c Kannan M. Moudgalya, Autumn 26 11. Magnetically Suspended Ball - Continued 3 Force balance: d 2 h 2 = K M Voltage balance: i 2 s 2 hs h K i s i 2 M V = L d i + R i Define new variables = h = ḣ = i u = V d = d = K M i 2 s h 2 s 2 K M d = R L + 1 L u In matrix form: d = 1 K i 2 s 2 K M h 2 s M R L This is of the form i s i s ẋ(t) = F x(t) + Gu(t) + u 1 L CL 692 Digital Control, IIT Bombay 12 c Kannan M. Moudgalya, Autumn 26

12. Magnetically Suspended Ball - Continued 4 d = 1 K i 2 s 2 K M h 2 s M R L i s + u M Mass of ball.5 Kg L Inductance.1 H R Resistance 1 Ω K Coefficient.1 g Acceleration due to gravity 9.81 m/s 2 Equilibrium Distance.1 m i s Current at equilibrium 7A 1 L d = 1 981 2.81 1 + 1 u CL 692 Digital Control, IIT Bombay 13 c Kannan M. Moudgalya, Autumn 26 13. Model of a Flow System A dh(t) = Q i (t) k h(t) Initially at steady state = A d = Q is k Linearise with Taylor s series approximation: d h(t) Initial condition: = k 2A h(t) + 1 A Q i(t) at t =, h(t) = or h(t) =. It can be written as, ẋ = F x + Gu Known as state space equation. CL 692 Digital Control, IIT Bombay 14 c Kannan M. Moudgalya, Autumn 26

14. IBM Lotus Domino Email Server Clients access the database of emails maintained by the server through Remote Procedure Calls (RPCs). Number of RPCs, denoted as RIS has to be controlled. If the number of RIS becomes large, the server could be overloaded, with a consequent degradation of performance. If RIS is less, the server is not being used optimally. Not possible to regulate RIS directly. Regulation of RIS may be achieved by limiting the maximum number of users (MaxUsers) who can simultaneously use the system. Because of stochastic nature, difficult to come up with analytic model. Obtained through expt., data collection, curve fitting (identification). y(k) = RIS(k) RIS u(k) = MaxUsers(k) MaxUsers y(k + 1) =.43y(k) +.47u(k) CL 692 Digital Control, IIT Bombay 15 c Kannan M. Moudgalya, Autumn 26 15. Motivation for Discrete Model Real systems are continuous Digital controller s view of the process: Receives sampled signals. Sends out sampled signals Thus views the process as a sampled system Hence, to determine the control effort, a discrete model of the plant is required Discrete model relates the system variables as a function of their values at previous time instants No value required/used in between sampling instants. Time derivatives have no meaning We will next explain how to arrive at discrete models CL 692 Digital Control, IIT Bombay 16 c Kannan M. Moudgalya, Autumn 26