6: Processor-based Control Systems CET360 Microprocessor Engineering J. Sumey.

Slides:



Advertisements
Similar presentations
Feedback loop (CV changes input) SP Controller Gc Plant Gp Sensor Gs E MV (Manipulated Variable CV Controlled Variable +-+- S.
Advertisements

Discrete Controller Design
Chapter 4: Basic Properties of Feedback
Properties of State Variables
CHE 185 – PROCESS CONTROL AND DYNAMICS
Introduction to Control: How Its Done In Robotics R. Lindeke, Ph. D. ME 4135.
Enhanced Single-Loop Control Strategies
Dynamic Behavior and Stability of Closed-Loop Control Systems
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
CONTROL SYSTEM INSTRUMENTATION
Feedback Controllers Chapter 8.
ECE Introduction to Control Systems -
Proportional/Integral/Derivative Control
Lecture 5: PID Control.
Dan O. Popa, Intro to EE, Spring 2015 EE 1106 : Introduction to EE Freshman Practicum Lecture-Lab 12: Introduction to DC Motors and Control.
Ch. 6 Single Variable Control
System & Control Control theory is an interdisciplinary branch of engineering and mathematics, that deals with the behavior of dynamical systems. The desired.
INTRODUCTION TO CONTROL SYSTEMS
Book Adaptive control -astrom and witten mark
System/Plant/Process (Transfer function) Output Input The relationship between the input and output are mentioned in terms of transfer function, which.
5: Processor-based Control Systems CET360 Microprocessor Engineering J. Sumey.
Control 1 Keypoints: The control problem Forward models: –Geometric –Kinetic –Dynamic Process characteristics for a simple linear dynamic system.
Feedback Control Systems (FCS)
What is Control System? To answer this question, we first have to understand what a system is Simon Hui Engineer Control and Informatics, Industrial Centre.
Control Systems Engineering
Dr. Tamer Samy Gaafar.   Teaching Assistant:- Eng. Hamdy Soltan.
Control Systems and Adaptive Process. Design, and control methods and strategies 1.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
Page 1 Lecture 12 AO Control Theory Claire Max with many thanks to Don Gavel and Don Wiberg UC Santa Cruz February 14, 2013.
Feedback Controllers Chapter 7.
Mechanical Engineering Department Automatic Control Dr. Talal Mandourah 1 Lecture 1 Automatic Control Applications: Missile control Behavior control Aircraft.
Feedback Control system
Control Theory Control System Objectives  Establish a final condition  Provide safe operation  Eliminate the human element  Assure economical operation.
PID and Fuzzy Logic Control Systems John Limroth, Software Engineer Yiannis Pavlou, Applications Engineer Tues, 10:15a and 11:30a Wed.
PID CONTROLLERS By Harshal Inamdar.
ERT 210/4 Process Control Hairul Nazirah bt Abdul Halim Office: CHAPTER 8 Feedback.
Chapter 8 Feedback Controllers 1. On-off Controllers Simple Cheap Used In residential heating and domestic refrigerators Limited use in process control.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
1 Introduction to Control System CHAPTER 1. 2   Basic terminologies.   Open-loop and closed-loop.   Block diagrams.   Control structure. . 
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
FEEDBACK CONTROL SYSTEMS
Digital Control CSE 421.
Features of PID Controllers
Lecture 16: Introduction to Control (Part II)
Chapter 4 A First Analysis of Feedback Feedback Control A Feedback Control seeks to bring the measured quantity to its desired value or set-point (also.
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
Lecture 9: PID Controller.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
بسم الله الرحمن الرحيم وبه نستعين
INTRODUCTION TO ELECTRONIC INSTRUMENTATION
EE4262 Digital and Non-Linear Control
Digital Control CSE 421.
Control System Instrumentation
Automatic Control Theory
Chapter 1: Overview of Control
Process Control & Instrumentation MAPUA INSTITUTE OF TECHNOLOGY
Embedded Microcontroller Systems
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
PID Controllers Jordan smallwood.
ECE 382. Feedback Systems Analysis and Design
Electronic Control Systems Week 5 – Closed Loop Control
Linear Control Systems
6: Processor-based Control Systems
DT-Assessment Frame Work Term2
Control System Instrumentation
Digital Control Systems Waseem Gulsher
Digital and Non-Linear Control
Control Systems Prof Swanson MECH 3550.
Electronic Control Systems Week 7 – Closed Loop Control
Control Systems Prof Swanson MECH 3550.
Presentation transcript:

6: Processor-based Control Systems CET360 Microprocessor Engineering J. Sumey

2 Control Systems def: collection of mechanical and electrical devices that controls the operation of a physical plant requires ≥1 output devices (open loop) and ≥1 input devices (closed loop) originally: elec. circuits & mech. devices now: µP-based with control algorithm in software

“Control Theory”† various models finite state machines fuzzy logic / neural networks linear systems PID (classical) our main interest here is with PID † 3

Block Diagram text… 4

5 Components Real state variables, X(t) – properties of the physical plant being controlled requires sensor(s) and state estimator to produce estimated state variables, X’(t) 2.Desired state variables, X*(t) – what the system seeks for X(t)

6 Components Control outputs, U(t) – output commands to devices that affect the physical plant typically control actuators which produce driving forces, V(t) 4.Control algorithm – generates U(t) based on error: E(t) = X*(t) – X’(t) goal of a control system: minimize E(t) 6

7 Control System Effectiveness determined by 3 properties: 1.steady-state error: average value of E(t) 2.transient response: how long it takes system to reach 99% of final output after X’ or X* is changed 3.stability: if a steady state is reached after a change in X’ or X* i.e., no oscillations

Open-loop Systems no feedback,  no state estimator examples: toaster – fixed amount of time traffic light – ditto. Must be closed-loop if goal is to maximize traffic flow! OL stepper motor controller – no encoder 88

9 Closed-loop Systems includes feedback/state estimator examples: robot arm incremental control – U(t) is incremented, decremented, or left alone temperature control – add heat or not (bang bang), assumes passive heat loss can add hysteresis with 2 set points: T H, T L 9

10 Example Closed-loop System † : a "bang-bang" temperature controller † from "Embedded Microcomputer Systems", J. Valvano, 2007 Interface: Flowchart: Algorithm/response:

11 PID Systems from linear control theory faster, more accurate, better control the k's are design parameters, aka gains determined using control theory and Laplace transforms the I term addresses steady state error, the D term addresses transient error 11

ideal / parallel form: PID Controller Block Diagram 12 P (present) I (past) D ("future") "SP" E(t) "the Plant" U(t) "MV" Y(t) "PV" (feedback) PID controller SP = Set Point MV = Manipulated Value PV = Present Value E(t) = SP – PV (desired – current)

Types of PID Controllers TypeKpKp KiKi KdKd P PI PID PD 13 consider values of the gains:

Digital PID Implementation break U(t) into separate terms & convert to discrete time discrete time: fixed period, like DSP (Δt) U(t)=P(t) + I(t) + D(t) P(t)=k P ·E(t)  P(n)=k P ·E(n) 14

Digital PID Implementation noise-prone, better to use average of 2 derivatives over different time spans 15

Digital PID Implementation combining, we now have: ∆t can be factored into k i & k d, so: 16

Digital PID Implementation this can easily be implemented in code based on the 3 gains & 2 "history" (state) variables: 1.accumulated error ("istate"): I(n)=I(n-1)+E(n) 2.previous error ("dstate"): E(n-1) however: this requires precision in acquiring y(t) and processing u(n) at exact ∆t intervals hence: our task scheduler! 17

References PID process control, a “Cruise Control” example control-a-Cruise-Control-example PID Theory Understanding PID Control (toilet ex.) 10&tx_ttnews[tt_news]=15561 PID Controller 18