Classical Pid Controllers1

Attribution Non-Commercial (BY-NC)

18 views

Classical Pid Controllers1

Attribution Non-Commercial (BY-NC)

- Mechatronics Design of Motion Systems
- Basic Elements of Generalized Process Control
- Process Control
- Practical Process Control Textbook
- DeltaV v11 PID Enhancements for Wireless
- PID Controller
- chemical process control with matlab
- 1815_01
- Process Control
- 3P04 Tutorial 7 SingleLoop 2008
- רקע תיאורטי מעבדה 1
- Process Control
- Predictive Control
- control
- Control System
- 8Design of Feedback Controllers
- Lecture9 PID Controller
- NI Tutorial 3782 En
- PPC_Textbook.pdf
- Practical Process Control

You are on page 1of 79

PID Controllers

This note examines a particular control structure that has become almost universally used in industrial control. It is based on a particular fixed structure controller family, the socalled PID controller family. These controllers have proven to be robust and extremely beneficial in the control of many important applications. PID stands for:

8/6/2013

8/6/2013

Classical control involves the choice of a suitable controller in the transfer function Gc(s) so that closed performance meets the specifications as in figure on the previous slide.

8/6/2013

Historical Note

Early feedback control devices implicitly or explicitly used the ideas of proportional, integral, and derivative action in their structures. However, it was probably not until Minorskys work on ship steering published in 1922, that rigorous theoretical consideration was given to PID control. This was the first mathematical treatment of the type of controller that is now used to control almost all industrial processes.

8/6/2013

Despite the abundance of sophisticated tools, including advanced controllers, the Proportional, Integral, Derivative (PID controller) is still the most widely used in modern industry, controlling more that 95% of closed-loop industrial processes.

8/6/2013

A controller is a device that generates an output signal based on the input signal it receives. The input signal is actually an error signal, which is the difference between the measured variable and the desired value, or set point. See figure below for the Controller.

8/6/2013

8/6/2013

Structure of a Controller

8/6/2013

Structure of a Controller

10

This input error signal represents the amount of deviation between where the process system is actually operating and where the process system is desired to be operating. The controller provides an output signal to the final control element, which adjusts the process system to reduce this deviation. The characteristic of this output signal is dependent on the type, or mode, of the controller.

8/6/2013

Modes of Controllers

11

The mode of control is the manner in which a control system makes corrections relative to an error that exists between the desired value (set point) of a controlled variable and its actual value. The mode of control used for a specific application depends on the characteristics of the process being controlled. For example, some processes can be operated over a wide band, while others must be maintained very close to the set point. Deviation is the difference between the set point of a process variable and its actual value. This is a key term used when discussing various modes of control.

8/6/2013

Proportional (P) Proportional plus Reset (PI) Proportional plus Rate (PD) Proportional plus Reset plus Rate (PID) Other Authors state it differently as follows

8/6/2013

12

13

8/6/2013

14

Each mode of control has characteristic advantages and limitations. The modes of control are discussed in this and the next several sections of this module. In the proportional (throttling) mode, there is a continuous linear relation between value of the controlled variable and position of the final control element. In other words, amount of valve movement is proportional to amount of deviation.

8/6/2013

Proportional Controllers

15

Three terms commonly used to describe the proportional mode of control are proportional band, gain and offset. Proportional band, (also called throttling range), is the change in value of the controlled variable that causes full travel of the final control element. Gain, also called sensitivity, compares the ratio of amount of change in the final control element to amount of change in the controlled variable. Mathematically, gain and sensitivity are reciprocal to proportional band. 8/6/2013

Proportional Controllers

Offset, also called droop, is deviation that remains after a process has stabilized. Offset is an inherent characteristic of the proportional mode of control. In other words, the proportional mode of control will not necessarily return a controlled variable to its set point. Proportional control is also referred to as throttling control.

8/6/2013

16

17

Integral control describes a controller in which the output rate of change is dependent on the magnitude of the input. Specifically, a smaller amplitude input causes a slower rate of change of the output. This controller is called an integral controller because it approximates the mathematical function of integration. The integral control method is also known as reset control.

8/6/2013

18

A device that performs the mathematical function of integration is called an integrator. The mathematical result of integration is called the integral. The integrator provides a linear output with a rate of change that is directly related to the amplitude of the step change input and a constant that specifies the function of integration.

8/6/2013

19

8/6/2013

20

8/6/2013

21

8/6/2013

The major advantage of integral controllers is that they have the unique ability to return the controlled variable back to the exact set point following a disturbance. Disadvantages of the integral control mode are that it responds relatively slowly to an error signal and that it can initially allow a large deviation at the instant the error is produced. This can lead to system instability and cyclic operation. For this reason, the integral control mode is not normally used alone, but is combined with another control mode.

8/6/2013

22

23

Proportional plus reset control is a combination of the proportional and integral control modes. This type control is actually a combination of two previously discussed control modes, proportional and integral. Combining the two modes results in gaining the advantages and c o m p e n s a t i n g f o r t h e disadvantages of the two individual 8/6/2013 modes.

Characteristics of the PI

The main advantage of the proportional control mode is that an immediate proportional output is produced as soon as an error signal exists at the controller as shown in Figure below. The proportional controller is considered a fast-acting device. This immediate output change enables the proportional controller to reposition the final control element within a relatively short period of time in response to the error. See below figure for the response of the PI Control

8/6/2013

24

25

8/6/2013

The main disadvantage of the proportional control mode is that a residual offset error exists between the measured variable and the set point for all but one set of system conditions. The main advantage of the integral control mode is that the controller output continues to reposition the final control element until the error is reduced to zero. This results in the elimination of the residual offset error allowed by the proportional mode.

8/6/2013

26

The main disadvantage of the integral mode is that the controller output does not immediately direct the final control element to a new position in response to an error signal. The controller output changes at a defined rate of change, and time is needed for the final control element to be repositioned.

27

8/6/2013

PI Equations

28

8/6/2013

PI Characteristics

29

8/6/2013

Characteristics of the PI

The combination of the two control modes is called the proportional plus reset (PI) control mode. It combines the immediate output characteristics of a proportional control mode with the zero residual offset characteristics of the integral mode.

30

8/6/2013

31

8/6/2013

32

8/6/2013

By adding the reset action to the proportional action the controller produces a larger output for the given error signal and causes a greater adjustment of the control valve. This causes the process to come back to the set point more quickly. Additionally, the reset action acts to eliminate the offset error after a period of time.

8/6/2013

33

Reset Wind-Up

Proportional plus reset controllers act to eliminate the offset error found in proportional control by continuing to change the output after the proportional action is completed and by returning the controlled variable to the set point. An inherent disadvantage to proportional plus reset controllers is the possible adverse effects caused by large error signals. The large error can be caused by a large demand deviation or when initially starting up the system. This is a problem because a large sustained error signal will eventually cause the controller to drive to its limit, and the result is called "reset windup." Because of reset windup, this control mode is not well-suited for processes that are frequently shut down and started up.

8/6/2013

34

Proportional plus rate control is a control mode in which a derivative section is added to the proportional controller. Proportional plus rate describes a control mode in which a derivative section is added to a proportional controller. This derivative section responds to the rate of change of the error signal, not the amplitude; this derivative action responds to the rate of change the instant it starts. This causes the controller output to be initially larger in direct relation with the error signal rate of change.

8/6/2013

35

PD Controller

36

8/6/2013

PD Controller

37

8/6/2013

38

The higher the error signal rate of change, the sooner the final control element is positioned to the desired value. The added derivative action reduces initial overshoot of the measured variable, and therefore aids in stabilizing the process sooner. This control mode is called proportional plus rate (PD) control because the derivative section responds to the rate of change of the error signal.

8/6/2013

39

A device that produces a derivative signal is called a differentiator. Figure below shows the input versus output relationship of a differentiator. The differentiator provides an output that is directly related to the rate of change of the input and a constant that specifies the function of differentiation. The derivative constant is expressed in units of seconds and defines the differential controller 8/6/2013 output.

40

8/6/2013

41

8/6/2013

The differentiator acts to transform a changing signal to a constant magnitude signal as shown in Figure above. As long as the input rate of change is constant, the magnitude of the output is constant. A new input rate of change would give a new output magnitude.

42

8/6/2013

43

Derivative cannot be used alone as a control mode. This is because a steady-state input produces a zero output in a differentiator. If the differentiator were used as a controller, the input signal it would receive is the error signal. As just described, a steady-state error signal corresponds to any number of necessary output signals for the positioning of the final control element.

8/6/2013

Therefore, derivative action is combined with proportional action in a manner such that the proportional section output serves as the derivative section input. Proportional plus rate controllers take advantage of both proportional and rate control modes.

44

8/6/2013

Proportional Action

As seen in Figure below, proportional action provides an output proportional to the error. If the error is not a step change, but is slowly changing, the proportional action is slow. Rate action, when added, provides quick response to the error.

45

8/6/2013

46

8/6/2013

To illustrate proportional plus rate control, we will use the same heat exchanger process that has been analyzed in previous chapters (see Figure below). For this example, however, the temperature controller used is a proportional plus rate controller.

47

8/6/2013

48

8/6/2013

Effects of Disturbance

49

8/6/2013

Industrial Applications

50

Proportional plus rate control is normally used with large capacity or slow-responding processes such as temperature control. The leading action of the controller output compensates for the lagging characteristics of large capacity, slow processes. Rate action is not usually employed with fast responding processes such as flow control or noisy processes because derivative action responds to any rate of change in the error signal, including the noise. Proportional plus rate controllers are useful with processes which are frequently started up and shut down because it is not susceptible to reset Engwindup. R. L. Nkumbwa, Copperbelt

8/6/2013 University, School of Technology

51

Proportional plus reset plus rate controllers combine proportional control actions with integral and derivative actions. For processes that can operate with continuous cycling, the relatively inexpensive two position controller is adequate. For processes that cannot tolerate continuous cycling, a proportional controller is often employed. For processes that can tolerate neither continuous cycling nor offset error, a proportional plus reset controller can be used. For processes that need improved stability and can tolerate an offset error, a proportional plus rate controller 8/6/2013 is employed.

52

However, there are some processes that cannot tolerate offset error, yet need good stability. The logical solution is to use a control mode that combines the advantages of proportional, reset, and rate action. This chapter describes the mode identified as proportional plus reset plus rate, commonly called Proportional-Integral-Derivative (PID).

8/6/2013

Controller Action

When an error is introduced to a PID controller, the controllers response is a combination of the proportional, integral, and derivative actions, as shown in Figure below.

53

8/6/2013

54

8/6/2013

Controller Action

55

Assume the error is due to a slowly increasing measured variable. As the error increases, the proportional action of the PID controller produces an output that is proportional to the error signal. The reset action of the controller produces an output whose rate of change is determined by the magnitude of the error. In this case, as the error continues to increase at a steady rate, the reset output continues to increase its rate of change. The rate action of the controller produces an output whose magnitude is determined by the rate of change. When combined, these actions produce an output as 8/6/2013 shown in Figure above.

Controller Action

As you can see from the combined action curve, the output produced responds immediately to the error with a signal that is proportional to the magnitude of the error and that will continue to increase as long as the error remains increasing.

56

8/6/2013

57

8/6/2013

58

Figure above demonstrates the combined controller response to a demand disturbance. The proportional action of the controller stabilizes the process. The reset action combined with the proportional action causes the measured variable to return to the set point. The rate action combined with the proportional action reduces the initial overshoot and cyclic period.

8/6/2013

PID Controller

59

8/6/2013

60

8/6/2013

61

8/6/2013

Based on the knowledge of P, I and D trial and error manual tuning simulation

62

8/6/2013

Because of their widespread use in practice, we present below several methods for tuning PID controllers. Actually these methods are quite old and date back to the 1950s. Nonetheless, they remain in widespread use today. In particular, we will study

Ziegler-Nichols Oscillation Method Ziegler-Nichols Reaction Curve Method Cohen-Coon Reaction Curve Method

8/6/2013

63

Ziegler-Nichols Method

64

8/6/2013

This procedure is only valid for open loop stable plants and it is carried out through the following steps:

Set the true plant under proportional control, with a very small gain. Increase the gain until the loop starts oscillating. Note that linear oscillation is required and that it should be detected at the controller output.

65

8/6/2013

Record the controller critical gain Kp = Kc and the oscillation period of the controller output, Pc. Adjust the controller parameters according to next slide; there is some controversy regarding the PID parameterization for which the Z-N method was developed, but the version described here is applicable to the parameterization of standard form PID.

66

8/6/2013

67

8/6/2013

Reaction Curve

68

8/6/2013

A linearized quantitative version of a simple plant can be obtained with an open loop experiment, using the following procedure:

69

1. With the plant in open loop, take the plant manually to a normal operating point. Say that the plant output settles at y(t) = y0 for a constant plant input u(t) = u0. 2. At an initial time, t0, apply a step change to the plant input, from u0 to u (this should be in the range of 10 to 20% of full scale).

8/6/2013

3. Record the plant output until it settles to the new operating point. Assume you obtain the curve shown on the next slide. This curve is known as the process reaction curve. In the figure on next page, m.s.t. stands for maximum slope tangent. 4. Compute the parameter model as follows

70

8/6/2013

Plant Response

71

8/6/2013

Plant Response

72

8/6/2013

73

8/6/2013

74

8/6/2013

Observation

We see from the previous slide that the Ziegler-Nichols reaction curve tuning method is very sensitive to the ratio of delay to time constant.

75

8/6/2013

Cohen and Coon carried out further studies to find controller settings which, based on the same model, lead to a weaker dependence on the ratio of delay to time constant.

76

8/6/2013

77

8/6/2013

Lead-Lag Compensators

Closely related to PID control is the idea of lead-lag compensation. The transfer function of these compensators is of the form:

78

8/6/2013

79

8/6/2013

- Mechatronics Design of Motion SystemsUploaded byUNsha bee kom
- Basic Elements of Generalized Process ControlUploaded byMourougapragash Subramanian
- Process ControlUploaded byRajalakshmi Vengadasamy
- Practical Process Control TextbookUploaded byAngelo Riguetti
- DeltaV v11 PID Enhancements for WirelessUploaded byDarkmatter Darkmatterr
- PID ControllerUploaded byamitbslpawar
- chemical process control with matlabUploaded byluisagarcia366
- 1815_01Uploaded byGuilherme Dos Santos Celestino
- Process ControlUploaded byMichelle Leow
- 3P04 Tutorial 7 SingleLoop 2008Uploaded bykhaled_kamal_26
- רקע תיאורטי מעבדה 1Uploaded byRotem Ohana
- Process ControlUploaded byBilal Kazmi
- Predictive ControlUploaded bySergio G' Mejia
- controlUploaded bymomanzoor
- Control SystemUploaded bymsm158
- 8Design of Feedback ControllersUploaded byCesar Valencia
- Lecture9 PID ControllerUploaded bytgazmanmohd
- NI Tutorial 3782 EnUploaded byFrancisco Flores
- PPC_Textbook.pdfUploaded byJuan Juradö
- Practical Process ControlUploaded byAnonymous WkbmWCa8M
- 1-INTRODUCTION TO PROCESS CONTROL (1).pptUploaded byRazif Metta
- 109EE0294Uploaded bycooldude99344
- Chapter 7.pdfUploaded byAin Syuhada
- Control Engineering in Drying Technology - Review and TrendsUploaded byfrank_grimes
- Tuning of Industrial Control Systems 3rd Ed - Armando B. Corripio, Michael Newell (ISA, 2015)Uploaded byEdgar Muñoz
- CA #1Uploaded byAli El-Gazzar
- SENSOR AND ACTUATOR TEMPERATURE CONTROL SYSTEMUploaded byAnang Maruf
- Control Systems and PIDUploaded byRachit
- Control Systems and PID.docxUploaded byRachit
- lec07_2014Uploaded bywin alfalah

- Lecture1 AIUploaded byVladimir Petrusevski
- National Programming Skills Report - Engineers 2017 - Report BriefUploaded byNewsBharati
- Advanced Topics in Linear Programming-1Uploaded byShivansh Tyagi
- robbins_mgmt13e_inppt_18a.pptxUploaded bysakibsultan_308
- 13329275033_1_49_JISCUploaded byTilottama Deore
- PSO ReportUploaded byMeltem Yaktubay
- Cascade ControlUploaded byanon-482953
- Paper 15Uploaded byMithilesh Ramgolam
- MCQ 1 (1).docxUploaded byGayan Anuradha Liyanage
- Demos 012Uploaded bymusic2850
- Matlab_6 (1).pdfUploaded byHana Hamid
- Scad a 6Uploaded byChetan Lakhe
- Ipcnotes for Distribution R01Uploaded bySuraj Ugrani
- Book SummaryUploaded byAchinthac
- TQMUploaded byshivamsrivastava85
- Cognitive CapabilityUploaded bysantanusankar
- Object Oriented TestingUploaded byMm
- Knowledge Based Expert SystemsUploaded bysuhani pandey
- 1 Ordering SystemUploaded byBasel
- Simulation HypothesesUploaded byun11imig
- ERWin Course COntents (1)Uploaded byAmit Sharma
- Approaches for Enhancing Reliability of Software ProductUploaded byseventhsensegroup
- Collaboration Diagram of Student Registration SystemUploaded bySandipMerani
- 4 Managing Systems Projects.pptUploaded bycr4v3n
- excel usedUploaded bybabloo08
- Technical Practices and Human FactorsUploaded byLuis González Cos Alcocer
- Banga (2005) Dynamic Optimization of Bioprocesses- Efficient and Robust Numerical StrategiesUploaded byAndrés Ceverisae
- Simulation vs EmulationUploaded byAnkit Saxena
- 1. Problem Solving AgentsUploaded bysahana2904
- inverted pendulumUploaded byOmarShindi

## Much more than documents.

Discover everything Scribd has to offer, including books and audiobooks from major publishers.

Cancel anytime.