PID Controller Tuning: A Short Tutorial



Similar documents
EECE 460 : Control System Design

Matlab and Simulink. Matlab and Simulink for Control

SAMPLE CHAPTERS UNESCO EOLSS PID CONTROL. Araki M. Kyoto University, Japan

PID Control. Chapter 10

Dr. Yeffry Handoko Putra, S.T., M.T

1. s to Z-Domain Transfer Function

MATLAB Control System Toolbox Root Locus Design GUI

Motor Modeling and Position Control Lab Week 3: Closed Loop Control

PID Control. 6.1 Introduction

PID control - Simple tuning methods

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

A Comparison of PID Controller Tuning Methods for Three Tank Level Process

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

Time Response Analysis of DC Motor using Armature Control Method and Its Performance Improvement using PID Controller

Chapter 9: Controller design

ECE 3510 Final given: Spring 11

Practical Process Control For Engineers and Technicians

Reactive Power Control of an Alternator with Static Excitation System Connected to a Network

Ziegler-Nichols-Based Intelligent Fuzzy PID Controller Design for Antenna Tracking System

Understanding PID Control

Introduction to SMPS Control Techniques

INTERACTIVE LEARNING MODULES FOR PID CONTROL

A Design of a PID Self-Tuning Controller Using LabVIEW

Fairchild On-Line Design Tool: Power Supply WebDesigner Step-by-Step Guide

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

Enhancing Classical Controls Education via Interactive GUI Design

EE 402 RECITATION #13 REPORT

QNET Experiment #06: HVAC Proportional- Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT)

FUZZY Based PID Controller for Speed Control of D.C. Motor Using LabVIEW

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

Implementation of Fuzzy and PID Controller to Water Level System using LabView

Acceleration levels of dropped objects

Controller Design using the Maple Professional Math Toolbox for LabVIEW

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

Industrial Process Controllers

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

Chapter 4 - Lecture 1 Probability Density Functions and Cumul. Distribution Functions

ALL DIGITAL DESIGN AND IMPLEMENTAION OF PROPORTIONAL- INTEGRAL-DERIVATIVE (PID) CONTROLLER

Σ _. Feedback Amplifiers: One and Two Pole cases. Negative Feedback:

How to take an ITI Course

ANALYTICAL METHODS FOR ENGINEERS

Analysis of PID Control Design Methods for a Heated Airow Process

Understanding Poles and Zeros

Jump Start: Aspen HYSYS Dynamics V7.3

Fully Differential CMOS Amplifier

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

Lambda Tuning the Universal Method for PID Controllers in Process Control

19 LINEAR QUADRATIC REGULATOR

Understanding Power Impedance Supply for Optimum Decoupling

Laboratory 4: Feedback and Compensation

A Study of Speed Control of PMDC Motor Using Auto-tuning of PID Controller through LabVIEW

Measurement Products. PID control theory made easy Optimising plant performance with modern process controllers

Design of a TL431-Based Controller for a Flyback Converter

First Certificate in English Online Practice Test Free Sample. How to complete the FCE Online Practice Test Free Sample: Writing

Best Practices for Controller Tuning

How to complete the PET Online Practice Test Free Sample: Listening

Chapter 27: Taxation. 27.1: Introduction. 27.2: The Two Prices with a Tax. 27.2: The Pre-Tax Position

A simple method to determine control valve performance and its impacts on control loop performance

Review of Fundamental Mathematics

IELTS ONLINE PRACTICE TEST FREE SAMPLE

THE EDUCATIONAL IMPACT OF A GANTRY CRANE PROJECT IN AN UNDERGRADUATE CONTROLS CLASS

Basics electronic speed Governor

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3. Stability and pole locations.

Grade 7 & 8 Math Circles Circles, Circles, Circles March 19/20, 2013

PID, LQR and LQR-PID on a Quadcopter Platform

How to complete the FCE Online Practice Test Free Sample: Use of English

Key English Test Online Practice Test Free Sample. How to complete the KET Online Practice Test Free Sample: Reading & Writing

Chapter 11 Current Programmed Control

COURSE NAVIGATOR DEMO QUICK GUIDE

Performance Analysis of Speed Control of Direct Current (DC) Motor using Traditional Tuning Controller

Stabilizing a Gimbal Platform using Self-Tuning Fuzzy PID Controller

Angles and Quadrants. Angle Relationships and Degree Measurement. Chapter 7: Trigonometry

Connecting to a Pittman 4400-Series Brushless Motor using MBA-6-60

How to complete the FCE Online Practice Test Free Sample: Reading

Process Control Primer

OPTIMAL-TUNING OF PID CONTROLLER GAINS USING GENETIC ALGORITHMS

price quantity q The Supply Function price quantity q

3. DIRECT DIGITAL CONTROL

APPLICATION BULLETIN

Industrial Plant and Process Control

INTERNET BASED DATA LOGGING AND SUPERVISORY CONTROL OF BOILER DRUM LEVEL USING LABVIEW

SPOC Instruction Guide

Root Locus. E(s) K. R(s) C(s) 1 s(s+a) Consider the closed loop transfer function:

Online Learning Management System Student Guide

PROCESS CONTROL SYSTEM DESIGN Process Control System Design. LECTURE 6: SIMO and MISO CONTROL

Available online at Available online at

Stability of Linear Control System

UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences. EE105 Lab Experiments

Section 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.

Lab #9: AC Steady State Analysis


A decline in the stock market, which makes consumers poorer, would cause the aggregate demand curve to shift to the left.

Heat Map Explorer Getting Started Guide

2008 AP Calculus AB Multiple Choice Exam

Transcription:

PID Controller Tuning: A Short Tutorial Jinghua Zhong Mechanical Engineering, Purdue University Spring, 2006

Outline This tutorial is in PDF format with navigational control. You may press SPACE or, or click the buttons in the lower right corner to move to the next slide. Clicking on the outlined items will take you directly to that section. Goals and Objectives What are we going to learn? Introduction What is a PID controller? Why do we want to learn the PID Controller? Tuning Rules How does the PID parameters affect system dynamics? The Ziegler-Nichols tuning rule

What are we going to learn? The goal of the tutorial is for you to learn about the PID controller and a few basic tuning rules of it. After taking this lesson, you will be able to 1. relate PID controller parameters to step response characteristics of the controlled system, and 2. apply the famous Ziegler-Nichols tuning method to come up with an initial set of working PID parameters for an unknown system.

What is a PID controller? A PID controller is a simple three-term controller. The letters P, I and D stand for: P - Proportional I - Integral D - Derivative The transfer function of the most basic form of PID controller, as we use in ME475, is C(s) = K P + K I s + K Ds = K Ds 2 + K P s + K I s where K P = Proportional gain, K I = Integral gain and K D = Derivative gain.

PID Controller structure In this tutorial, we assume the controller is used in a closed-loop unity feedback system. The variable e denotes the tracking error, which is sent to the PID controller. The control signal u from the controller to the plant is equal to the proportional gain (K P ) times the magnitude of the error plus the integral gain (K I ) times the integral of the error plus the derivative gain (K D ) times the derivative of the error. u = K P e + K I edt + K D de dt

Why learn the PID controller? Because PID Controllers are everywhere! Due to its simplicity and excellent if not optimal performance in many applications, PID controllers are used in more than 95% of closed-loop industrial processes. 1 It can be tuned by operators without extensive background in Controls, unlike many other modern controllers that are much more complex but often provide only marginal improvement. In fact, most PID controllers are tuned on-site. Although we are learning all the theories in ME475 to design the controller, the lengthy calculations for an initial guess of PID parameters can often be circumvented if we know a few useful tuning rules. This is especially useful when the system is unknown. 1 Astrom K. J. and Hagglund T. H., New tuning methods for PID controllers, Proceedings of the 3rd European Control Conference, 1995

How do the PID parameters affect system dynamics? We are most interested in four major characteristics of the closed-loop step response. They are 1. Rise Time: the time it takes for the plant output y to rise beyond 90% of the desired level for the first time. 2. Overshoot: how much the the peak level is higher than the steady state, normalized against the steady state. 3. Settling Time: the time it takes for the system to converge to its steady state. 4. Steady-state Error: the difference between the steady-state output and the desired output.

How do the PID parameters affect system dynamics? The effects of increasing each of the controller parameters K P, K I and K D can be summarized as Response Rise Time Overshoot Settling Time S-S Error K P Decrease Increase NT Decrease K I Decrease Increase Increase Eliminate K D NT Decrease Decrease NT NT: No definite trend. Minor change. You may want to take notes of this table. It will be useful in the later part of the lesson.

How do we use the table? Typical steps for designing a PID controller are 1. Determine what characteristics of the system needs to be improved. 2. Use K P to decrease the rise time. 3. Use K D to reduce the overshoot and settling time. 4. Use K I to eliminate the steady-state error. This works in many cases, but what would be a good starting point? What if the first parameters we choose are totally crappy? Can we find a good set of initial parameters easily and quickly?

The Ziegler-Nichols tuning rule to the rescue Ziegler and Nichols conducted numerous experiments and proposed rules for determining values of K P, K I and K D based on the transient step response of a plant. They proposed more than one methods, but we will limit ourselves to what s known as the first method of Ziegler-Nichols in this tutorial. It applies to plants with neither integrators nor dominant complex-conjugate poles, whose unit-step response resemble an S-shaped curve with no overshoot. This S-shaped curve is called the reaction curve.

Using the reaction curve method The S-shaped reaction curve can be characterized by two constants, delay time L and time constant T, which are determined by drawing a tangent line at the inflection point of the curve and finding the intersections of the tangent line with the time axis and the steady-state level line.

The Ziegler-Nichols Tuning Rule Table Using the parameters L and T, we can set the values of K P, K I and K D according to the formula shown in the table below. You may want to take notes of the table as we will use it later in the quiz. Controller K P K I K D T P 0 0 L PI 0.9 T 0.27 T 0 L L 2 PID 1.2 T 0.6 T 0.6T L L 2 These parameters will typically give you a response with an overshoot about 25% and good settling time. We may then start fine-tuning the controller using the basic rules that relate each parameter to the response characteristics.

Summary This concludes the instruction part of our tutorial. We learned two things about PID controllers. 1. Relationships between K P, K I and K D and important response characteristics, of which these three are most useful: Use KP to decrease the rise time. Use KD to reduce the overshoot and settling time. Use KI to eliminate the steady-state error. 2. The Ziegler-Nichols tuning rule (reaction curve method) for good initial estimate of parameters. Enough of theories and rules now, let s move on to some hands-on experience!