# Gain scheduling handles nonlinear processes

## A majority of feedback control techniques, including the venerable PID algorithm, relies on the principle of linearity that guarantees a Y % change in the process variable following an X % change in the control effort. The ratio or gain between X and Y will be fixed, whether the process is currently running at maximum capacity, minimum capacity, or somewhere in between.

06/01/2002

A majority of feedback control techniques, including the venerable PID algorithm, relies on the principle of linearity that guarantees a Y % change in the process variable following an X % change in the control effort. The ratio or gain between X and Y will be fixed, whether the process is currently running at maximum capacity, minimum capacity, or somewhere in between. A controller need only know the value of that gain and the speed at which the process moves to select its control efforts appropriately.

Unfortunately, not all processes are strictly linear. Even the classic linear system comprised of a weight hanging from a spring will respond less and less to forces applied to the mass as the spring is stretched (or compressed) to the limits of its travel.

 The purple curve shows how the pH of a solution responds to the addition of a base. Process gain is much higher in range B than in ranges A and C.

## A pH control example

On the other hand, even nonlinear processes can be approximated as linear if X and Y are small enough. Consider, for example, a chemical process where a base is added to a solution to increase its pH. As the figure shows, the process reacts much more dramatically to the addition of the base when the pH is already in range B. A controller attempting to raise the pH all the way from range A to range C would proceed much too aggressively through range B if it assumed that the entire process were governed by a single low gain. Conversely, it would be much too conservative in ranges A and C if it assumed that the high gain of range B prevailed throughout.
The classical solution to this problem is to operate the process entirely within one range or another (that is, keep X and Y low) or use a control algorithm that varies its gain as the process gain varies. If the variations in the process gain can be observed or inferred while the controller is in operation, it is fairly simple to update the controller's gain accordingly. This is often accomplished with a gain schedule- a look-up table that gives the controller gain appropriate for the current operating range as indicated by the value of the process variable.

In the pH control example, the gain schedule would have three entries corresponding to each of the three pH ranges. Each controller gain would be set according to a separate tuning test executed while the process operates in the corresponding pH range.

## Variations on the theme

Several variations on this basic theme have been applied to related control problems. For example, indicators other than the process variable have been used to select the appropriate gain from the schedule. A sunlight sensor could be used to select the appropriate gain for controlling the room temperature in a glass walled office building. When the sun is shining brightly, the controller would select a less aggressive gain for heating control or a more aggressive gain for cooling.

Entries in the gain schedule can also be set automatically by a controller that can tune itself. It only would need to perform its tuning test the first time the process variable enters a particular range, then simply retrieve the computed gain whenever the process variable returns to that range. This is a form of adaptive control .

Sometimes process nonlinearities are sufficiently well understood to permit use of a characterizer . A characterizer amplifies or attenuates the process variable as necessary to make the process look linear to the controller. It accomplishes the same end as a gain schedule, but requires only a single controller gain rather than separate gains for each operating range.

Comments? E-mail Vance VanDoren at controleng@msn.com

The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Robotic safety, collaboration, standards; DCS migration tips; IT/OT convergence; 2017 Control Engineering Salary and Career Survey
Integrated mobility; Artificial intelligence; Predictive motion control; Sensors and control system inputs; Asset Management; Cybersecurity
Big Data and IIoT value; Monitoring Big Data; Robotics safety standards and programming; Learning about PID
Featured articles highlight technologies that enable the Industrial Internet of Things, IIoT-related products and strategies to get data more easily to the user.
This article collection contains several articles on how automation and controls are helping human-machine interface (HMI) hardware and software advance.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Mobility as the means to offshore innovation; Preventing another Deepwater Horizon; ROVs as subsea robots; SCADA and the radio spectrum
Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.