0% found this document useful (0 votes)
34 views3 pages

PID Controller Basics Explained

This document provides an overview of PID controllers, including their basic components and functions. It explains that a PID controller compares a measured process variable to a setpoint and outputs a signal to minimize the error. It also describes the proportional, integral and derivative actions of a PID controller and how they are used together to eliminate error.

Uploaded by

Muralidharan NR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views3 pages

PID Controller Basics Explained

This document provides an overview of PID controllers, including their basic components and functions. It explains that a PID controller compares a measured process variable to a setpoint and outputs a signal to minimize the error. It also describes the proportional, integral and derivative actions of a PID controller and how they are used together to eliminate error.

Uploaded by

Muralidharan NR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

BASICS OF PID CONTROLLER

The PID is basically a control concept used for control purposes .


The concept of controller is briefly given as follows:
A controller is basically a comparator. Ie it compares a minimum of two
signals. variable which need to be controlled is called Measured variable or
process variable. The value at which this variable is to be controlled is known
as set variable or desired variable. This is also called set point. The control
works based on the difference between these two variables called error. The
controller generates an output based on this difference called manipulated
variable. To summarise a controller has one input called error which is the
difference between process variable and setpoint. The controller output
which is called manipulated variable is based on the error. The objective of
the controller is to make the error zero.
Error in industrial applications is a number and any number has the following
attributes namely sign magnitude and units.
When a controller performs based on the sign of the error and not magnitude
an on-off control action results. On – off control has basically two output
states namely on or off. Some times it is called open/close, 0/1, True/False
etc. This type of control is normally called logic controls. They are normally
used to start stop and trip an electrical equipment . Trip is a special
condition of stop wherein the equipment goes to stop mode automatically
because of fault. Any logic control obeys a truth table. Truth table is a chart
that defines the relation between the various inputs and outputs.
An on/off controller cannot make the error zero. It produces oscillation of
process valuable over the set point since it does not respond to magnitude of
the error. All on/off controllers are invariably in the form of switches.
The maximum deviation over the set point on the positive side is called over
shoot and the maximum deviation over the setpoint on the negative side is
called under shoot.
The change In process variable required to produce a change in control action
ie on-off or vice versa is called differential gap or hysteresis.
To ensure that the error becomes zero we need a control action which will
respond to the sign and magnitude of the error. Such an action is called
proportional action.
In proportional action the controller gives a small change in output if the error
is small and gives a big change in output if the error is big. Ie the output of the
controller is proportional to error and hence the name proportional action. The
output of the controller is the product of proportional gain and error.
Here the input/output relationship is linear. Ie a straight line. The proportional
action though reduces the error significantly but it cannot make it zero
resulting in offset due to the following reason.
When the error becomes small the correction also becomes small and hence
unable to produce any effect. However this action is the back bone of the
control system.
Offset is nothing but the constant small error produced by the proportional
action.
To reduce this offset integral control action is used.
In integral action the output of the controller is proportional to integral of the
error with respect to time. Hence even a small error the output becomes big
over a period of time.
Integral action produces an output equal to product of error and time and
reset gain.
Since the time cannot be made zero the action stops only when the error
becomes zero. Else it becomes infinity.
Integral action is added to proportional action to get the combination of P+I
controller. This combination will nullify the error (error made zero) subject to
tuning.
The proportional and reset action functions only upon generation of error.
Hence in temperature control applications sometimes they are not effective.
To handle such situation only derivative (rate) control action is used.
In this action output is proportional to the differential of process variable with
respect to time. Ie action is perfomed without waiting for error. The output is
the product of differential gain and rate of change of process variable.
It may be noted that P+I control is suited for majority of the applications and
derivative action is optionally used only in temperature control applications if
necessary.
Tuning of pid controller:
This refers to proper adjustment of proportional integral and differential gain
for a particular application without which the error cannot become zero. If we
are using say 10 controllers in a plant invariably these settings will be different
in all cases.
Proportional gain:
This is a constant which is a ratio of output and input. In some controllers this
represented in [Link] it is called proportional band.
Proportional band in %= 1*100/gain
Hence whenever tuning is done it is a must check whether the controller
accepts as number or gain in proportional band. For example in a controller
which accepts only proportional band to set a gain of 1 we have to set 100.
similarly to set a gain of 2 we have to set pb 50%.
Normaliy we start with a gain of 1 or less to ensure that there is no oscillation
of process variable.
Reset gain :
This parameter controls the reset action. It is represented in controllers in two
forms.
repeats/min
minutes
Hence prior to tuning we must to check which form the controller accepts
this value. A setting 2 repeats/min means integral action is performed 2 times
in a minute. A setting of 2 minutes mean that once in two minutes the integral
action is carried out.
Rate gain:
In all controllers it is given as minutes.
A proper combination of pid parameters is a must to ensure that error is zero.
In microprocessor based controllers alone self tuning facility is available. If this
facility is used then these parameters change automatically based on any one
of the following.
Error or measured variable or set point

Common questions

Powered by AI

Proportional action reduces error by generating an output that is directly proportional to the error's magnitude, providing immediate correction but may leave a residual error called offset . Integral action addresses this offset by responding to the sum of past errors over time, ensuring that even small errors are eliminated eventually, as it integrates error and time leading to errors being nullified over a period . Derivative action predicts future errors based on the rate of change of the process variable, thus taking preemptive corrective action to stabilize systems where rapid changes are critical, such as in temperature control .

On-off control actions work based on the sign of the error rather than its magnitude, resulting in oscillations around the set point since it does not make the error zero. It only switches between two states, typically on or off, and cannot respond proportionally to the magnitude of the error . PID controllers, on the other hand, use a combination of proportional, integral, and sometimes derivative actions. Proportional control responds to the magnitude of the error to reduce it but may not make it zero due to offset. Integral action accumulates error over time and responds to even small errors, eventually nullifying the error. Derivative action can preemptively respond to changes, even before an error occurs, enhancing stability in specific applications like temperature control .

Tuning plays a crucial role in the effectiveness of a PID controller by ensuring that the proportional, integral, and derivative gains are optimally set for a specific application. Proper tuning allows the controller to minimize error efficiently by adjusting its response dynamics. Proportional gain influences the strength of the correction in response to the error magnitude, with higher gains potentially causing oscillations if not properly set . Integral gain affects the speed at which accumulated errors are corrected, and derivative gain impacts how the controller anticipates future errors based on the rate of change . Incorrect tuning can result in sustained error, oscillations, or slow response time, hindering performance.

Derivative action in a PID controller offers a means to preemptively respond to changes in the process variable by calculating its rate of change over time without waiting for an error to occur. This makes it particularly useful in scenarios like temperature control, where abrupt changes need to be counteracted swiftly to prevent overshoot or undershoot . However, the derivative action is sensitive to noise and not always needed for applications with slower dynamics. It is generally employed to complement the proportional and integral actions, primarily if the process dynamics are sensitive to changes, as it helps dampen the oscillations resulting from rapid variations .

Reset gain in a PID controller dictates the integral action, typically represented either as repeats per minute or minutes between integral actions. This setting determines the frequency and intensity of the corrective measure taken in response to accumulated errors. A higher reset gain results in more frequent corrections, thereby speeding up the elimination of offset but may also introduce instability if too aggressive . Conversely, slower reset gain might result in more stable control but delay in error correction, potentially retaining small persistent errors over time . Proper scheduling of these repetitions directly affects long-term stability and performance of the control system.

Understanding the parameters of a PID controller is critical before initiation of the tuning process to ensure that the gains (proportional, integral, and derivative) are adjusted correctly for optimum control. Tuning involves setting these parameters to achieve minimal steady-state error and desired dynamic response. Ignoring this step could lead to inappropriate settings causing poor performance, such as overshooting, prolonged settling times, or oscillations, and potentially damage system components due to excessive corrective actions . Accurate parameter comprehension is essential to tailor the controller's action precisely for the specific application, making the tuning process effective and ensuring reliable system operations.

Microprocessor-based PID controllers with self-tuning facilities offer significant advantages, as they can automatically adjust their gain parameters based on real-time analysis of the system's error, measured variable, or set point . This self-tuning capability enables the controller to adapt to changes in system dynamics or shifts in process requirements without manual intervention, potentially optimizing performance and stability under varying conditions. Such adaptability is particularly beneficial in complex or variable processes, reducing the need for frequent retuning and minimizing downtime. It highlights the move towards more intelligent, adaptive control systems that can efficiently manage processes in dynamic environments.

Proportional band and proportional gain are two ways of expressing the responsiveness of a PID controller to error. Proportional gain is a direct ratio of output to input and is typically used when precise gain values are beneficial for calculations. Proportional band, represented as a percentage and calculated as 1*100/gain, indicates the range over which the controller will act to maintain the set point . These representations might be used interchangeably depending on the controller settings and user preference, often available in controllers to accommodate different industrial standards or operator familiarity, with gain providing a more intuitive sense of control sensitivity and band offering a broader operational view.

Offset occurs in a proportional control system as a residual persistent error, which the proportional action cannot entirely eliminate. This limitation arises because proportional control only responds to the magnitude of the current error. As the error decreases, so does the corrective effort, leading to a situation where the error is reduced significantly but not to zero, as the control action diminishes to a point where it cannot counteract the remaining error effectively . This inability to fully nullify the error through proportionality alone necessitates the incorporation of integral action to accumulate small remaining errors and eliminate offset over time.

Hysteresis, within the context of on-off control, refers to the differential gap necessary to switch between the on and off states. It prevents the controller from frequently toggling when the error is near the set point, which could result in excessive wear or system instability. By ensuring a buffer zone where no switch occurs unless there's a significant change, hysteresis helps maintain system stability and reduces the risk of damage from rapid cycling . This principle is critical for applications where constant switching around the set point could lead to excessive wear and tear on mechanical components.

You might also like