A PID controller is fundamental in industrial control systems due to its ability to maintain stable and precise process control. PID stands for Proportional-Integral-Derivative, referring to the three separate parameters used to calculate the control output. These controllers serve to regulate process variables such as temperature, pressure, and flow rate so that output remains within desirable limits. In this article, we delve into how a PID controller works, PID controller tuning, and examples of applications in industry.

How Does a PID Controller Work?

A PID controller continuously calculates an error value as the difference between a desired setpoint (e.g., target temperature) and a measured process variable. Based on this error, the controller generates a corrective output signal to adjust the process accordingly. The output signal is a weighted sum of three components:

By tuning and summing these three components, a PID controller can rapidly react to disturbances, minimize overshoot and oscillations, as well as hold a process variable extremely close to its setpoint.

PID Controller Tuning

Tuning entails adjusting the gains (weights) of a PID controller to achieve a desirable system performance. The goal of tuning is to find optimal values for the proportional, integral, and derivate parameters. Thus, enabling the system to meet design requirements and possess features such as fast response, minimal overshoot, or steady-state accuracy. There are various tuning methods, including manual tuning, Ziegler-Nichols tuning, and software-based auto-tuning techniques. 

Manual Tuning

  1. Start with all gains set to zero.
  2. Increase the proportional gain (P) until the system responds with an acceptable level of oscillation or overshoot.
  3. Add integral gain (I) to eliminate steady-state error, but be cautious as it can cause instability if the increment is excessive.
  4. Increase derivative gain (D) to dampen oscillations and improve response time.
  5. Iteratively adjust the gains, observe the system response, and find the optimal balance between responsiveness and stability.

Ziegler-Nichols Tuning

This method uses empirical rules based on the system’s open-loop or closed-loop response to determine initial gain values, which are then fine-tuned through iterative adjustments.

Ziegler-Nichols Open-Loop Tuning

  1. Disable the integral and derivative terms (set I and D gains to zero). 
  2. Increase the proportional gain until the system exhibits sustained oscillations. 
  3. Record the proportional gain value (Ku) and the oscillation period (Pu). 
  4. Use the Ziegler-Nichols formulas to calculate the initial PID gains based on Ku and Pu.

Ziegler-Nichols Closed-Loop Tuning

  1. Set the integral and derivative gains to zero. 
  2. Increase the proportional gain until the system exhibits a sustained oscillation. 
  3. Record the proportional gain value (Kc) and the oscillation period (Pc). 
  4. Use the Ziegler-Nichols formulas to calculate the initial PID gains based on Kc and Pc.

Software-based Auto-Tuning

Many modern PID controllers have built-in auto-tuning features. So, the operator can simply follow the manufacturer’s instructions for initiating the auto-tuning process. After activating this, the controller will automatically adjust the gains based on the system’s response to specific input signals, such as step or relay feedback tests.

Automated Tuning Methods

Some PID controllers have built-in auto-tuning features that use algorithms to determine the optimal gains automatically. Common auto-tuning methods include relay feedback, pattern recognition, and adaptive tuning. The controller introduces a specific input signal (e.g., step, pulse, or relay feedback) and analyzes the system response to calculate the appropriate gains.

PID Controller Examples

PID controllers are widely used in various industries due to their versatility and effectiveness in controlling diverse processes:

Industry PID Controller Examples
Oil and Gas Production Driver and Anti-surge Control: regulate the speed and torque of electric motors. It also provides control for fuel flow, air intake, and exhaust systems of gas turbines.
Pipeline and Gas Processing Driver and Anti-surge Control: regulate the speed and torque of electric motors. Also provides control for fuel flow, air intake, and exhaust systems of gas turbines.
Petrochemical and Refining Turbine and Compressor Control Systems: Anti-surge control, discharge pressure control, and capacity control.
Power Generation Boiler Drum Level and Condenser Pressure Control: Turbine speed and load control.
Marine Well Drilling: Control weight-on-bit, rotational speed, and mud flow rate.Gas Compression: Control speed and discharge pressure.
Automation Motion control in robotics and CNC machines.Temperature control in ovens and furnaces.Flow control in filling and packaging systems.Pressure control in pneumatic and hydraulic systems.

Selecting the Right Control System with Petrotech

For over 50 years, Petrotech has developed and installed retrofit turbo machinery control systems, executing projects in excess of 3,500 customized systems. Services include design, engineering, manufacturing, installation & commissioning, including R&D and consultancy, to develop the right specifications for our client’s project needs. Contact us today as we are a partner in developing the most efficient and cost-effective control system solution for your facility.

Leave a Reply

Your email address will not be published. Required fields are marked *

Featured

Open, documented, maintainable control.

IEC 61131 standardized logic your team can support without OEM lock-in.

Don’t see your industry?

Your machinery application is likely in our scope.

If your equipment runs and your downtime costs more than the controls do, let’s talk

Single-source

One team, drawing to startup.

Engineering, fabrication, installation, and commissioning under one contract.
FORMERLY PETROTECH

A New Name for the Company We've Become.

SAME PEOPLE.
SAME ENGINEERING EXPERTISE.
BROADENED HORIZONS.

A MESSAGE FROM JOHN KAZOUR, CEO

Welcome to Innova Technologies

To our customers and partners,

For more than 50 years, our team has helped customers keep critical operations running. We built our reputation as Petrotech by taking responsibility for control systems on important rotating machinery.

As more industries came to us with similar challenges across power generation, compression, and hydro applications, our engineering team kept finding ways to solve them. Eventually, the business outgrew the Petrotech name.

We are entering our next chapter as Innova Technologies. The new name reflects the full scope of our work as a rotating machinery control systems specialist. We engineer controls around the machine, deliver complete projects from design through commissioning, and provide support that stays with the problem until it is solved.

Our name is changing, but the people, engineering experience, and commitment behind the work continue. Our responsibility to active projects and installed systems carries forward under the Innova Technologies name. Your current contacts remain the right place to start, and we will communicate directly if an administrative record requires an update.

We appreciate the trust you have placed in us over the decades, and we look forward to continuing that work as Innova Technologies.

John Kazour

CEO, Innova Technologies