Learning PID loop tuning from an expert

Hands-on experience helps accelerate the PID learning curve.

12/03/2014


Figure 1: Small-capacity pumps are common in chemical plants, where they are used to control the liquid level inside storage tanks as well as a variety of other applications that require constant pressure throughout the chemical process. Courtesy: YaskawaSoon after graduating from college, I got a job at a chemical plant as an electrical and instrumentation technician. Being a young guy with little experience, my supervisor paired me up with a grizzled veteran named Tim. Of the many things I learned from Tim, one of the most valuable was a simple process for tuning a proportional, integral, and derivative (PID) control loop. I learned about basic control systems and how they worked as part of my education. Unfortunately, all of my experience with PID loops had been in textbooks. I never had the firsthand experience of tuning a PID control loop in the field.

My first chance at tuning a PID loop came during a trip with Tim to the ethylene production area on the west side of the chemical plant. An operator in the ethylene control room had placed a trouble call for a 500 gal chemical tank that was not maintaining an accurate level (see Figure 1). Tim reminded me that PID control loops can be found in a variety of applications that require constant control of liquid level, pressure, flow, temperature, or tension, to name a few. In this case, the operator was trying to keep a constant level in a 500 gal chemical additive tank that was a part of a chemical line process, but it was not working properly (see Figure 2). 

First things first

The first thing Tim taught me about PID control systems was the basic components. "The first thing you need is a setpoint signal," he said. In our situation, the setpoint signal was a 0-10 Vdc signal from a potentiometer in the control room that the operator used to set the level he wanted to maintain in the tank. "The second thing you need in your system is a feedback signal," said Tim. The feedback device in this case was a liquid level transducer that provided a 4-20 mA signal based on the level of the liquid in the tank. Tim explained that the last item required in the system is the actual PID controller.

Figure 2: This control system diagram is typical of a chemical plant chemical line process containing an additive tank. Courtesy: Yaskawa America Inc.

Although it has been quite a few years since I graduated from college, at that time, the controller was a self-standing module that received the setpoint and feedback signals and performed the PID number crunching. It provided a 4-20 mA output signal that controlled a valve that fed the tank. It also had a built-in small strip chart recorder that showed the liquid level over long periods of time. You can still purchase stand-alone PID control modules today, but the software can also be found in VFDs, and most commonly in PLCs and building control systems (see Figure 3). PID control loop software can be found inside of the PLC that runs an entire control room and provides a sophisticated graphical look of the entire control system on a variety of monitors and control desks. Even though today's PID graphics look much better than that old strip chart recorder, the PID control method used today is basically the same. 

The proof is in the testing

Figure 3: The output signal of a PID controller can be used to control a valve or can be fed to a VFD that controls the speed of a pump motor to control process flow or tank level. Courtesy: Yaskawa America Inc.When we got to the job site, the first thing we did was test the liquid level sensor, which provided feedback to the controller. After a few minutes, we determined the sensor was in good working order because it provided 4 mA at low level and 20 mA at high level. The next thing we checked was the setpoint signal. Tim stood in the control room and adjusted the potentiometer from minimum to maximum while I measured the signal where it connected to the PID module. The potentiometer was functioning properly and measured 0 Vdc at minimum and 10 Vdc at maximum. The last thing we checked was the valve itself. We connected a small variable milliamp supply that provided 4-20 mA to the valve and watched it open and close without a problem. So the culprit in our nonfunctioning PID control system appeared to be the PID module itself. A quick trip to the parts depot provided us with an identical replacement module and we headed back to the ethylene control room. I figured we would swap the module; adjust the proportional, integral, and derivative selector switches to the same settings as the old one; do a quick test of the system; and be back at the shop in time for lunch.

The PID module we used had three selector switches on the side: one for the proportional gain setting, one for the integral time setting, and one for the derivative time setting. In most cases, we would have set the selector switches on the new module to the identical settings of the old module and called it a day. But Tim thought we could improve on the performance of the control loop and saw a chance to teach me some of the finer points of PID loop tuning. 


<< First < Previous Page 1 Page 2 Next > Last >>

Engineers' Choice Awards
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
System Integrator Giants
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
System Integrator of the Year
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
How to Maximize Factory Automation Efficiency with Low Cost Machine Vision
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Wireless Reliability in Harsh Environments
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
Human Factors and the Impact on Plant Safety
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
May 2018
Salary and Career Survey, IT and OT convergence, robotic standards and safety, secure circuit protection
April 2018
Cybersecurity best practices, artificial intelligence, robotic additive manufacturing, embedded systems, IIoT integration, energy efficiency
March 2018
Digitalization integration, process sensors, edge computing, fog computing, condition monitoring, and motors
Edge Computing
This article collection contains several articles on how today's technologies heap benefits onto an edge-computing architecture such as faster computing, better networking, more memory, smarter analytics, cloud-based intelligence, and lower costs.
IIoT: Machines, Equipment, & Asset Management
Articles in this digital report highlight technologies that enable Industrial Internet of Things, IIoT-related products and strategies.
PLCs
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. Featured articles in this digital report compare PLCs and programmable automation controllers (PACs), industrial PCs, and robotic controllers.
SIDB

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

April 2018
ROVs, rigs, and the real time; wellsite valve manifolds; AI on a chip; analytics use for pipelines
February 2018
Focus on power systems, process safety, electrical and power systems, edge computing in the oil & gas industry
December 2017
Product of the Year winners, Pattern recognition, Engineering analytics, Revitalize older pump installations
John O. Ayuk, PE, CFSE, PMP, CAP
Automation Engineer; Wood Group
Doug Baker
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
Data Centers: Impacts of Climate and Cooling Technology
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
Safety First: Arc Flash 101
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
Critical Power: Hospital Electrical Systems
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
Engineers' Choice Awards
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
System Integrator Giants
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
System Integrator of the Year
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
How to Maximize Factory Automation Efficiency with Low Cost Machine Vision
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Wireless Reliability in Harsh Environments
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
Human Factors and the Impact on Plant Safety
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
May 2018
Salary and Career Survey, IT and OT convergence, robotic standards and safety, secure circuit protection
April 2018
Cybersecurity best practices, artificial intelligence, robotic additive manufacturing, embedded systems, IIoT integration, energy efficiency
March 2018
Digitalization integration, process sensors, edge computing, fog computing, condition monitoring, and motors
Edge Computing
This article collection contains several articles on how today's technologies heap benefits onto an edge-computing architecture such as faster computing, better networking, more memory, smarter analytics, cloud-based intelligence, and lower costs.
IIoT: Machines, Equipment, & Asset Management
Articles in this digital report highlight technologies that enable Industrial Internet of Things, IIoT-related products and strategies.
PLCs
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. Featured articles in this digital report compare PLCs and programmable automation controllers (PACs), industrial PCs, and robotic controllers.
SIDB

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

April 2018
ROVs, rigs, and the real time; wellsite valve manifolds; AI on a chip; analytics use for pipelines
February 2018
Focus on power systems, process safety, electrical and power systems, edge computing in the oil & gas industry
December 2017
Product of the Year winners, Pattern recognition, Engineering analytics, Revitalize older pump installations
John O. Ayuk, PE, CFSE, PMP, CAP
Automation Engineer; Wood Group
Doug Baker
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
Data Centers: Impacts of Climate and Cooling Technology
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
Safety First: Arc Flash 101
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
Critical Power: Hospital Electrical Systems
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
Engineers' Choice Awards
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
System Integrator Giants
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
System Integrator of the Year
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
How to Maximize Factory Automation Efficiency with Low Cost Machine Vision
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Wireless Reliability in Harsh Environments
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
Human Factors and the Impact on Plant Safety
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
May 2018
Salary and Career Survey, IT and OT convergence, robotic standards and safety, secure circuit protection
April 2018
Cybersecurity best practices, artificial intelligence, robotic additive manufacturing, embedded systems, IIoT integration, energy efficiency
March 2018
Digitalization integration, process sensors, edge computing, fog computing, condition monitoring, and motors
Edge Computing
This article collection contains several articles on how today's technologies heap benefits onto an edge-computing architecture such as faster computing, better networking, more memory, smarter analytics, cloud-based intelligence, and lower costs.
IIoT: Machines, Equipment, & Asset Management
Articles in this digital report highlight technologies that enable Industrial Internet of Things, IIoT-related products and strategies.
PLCs
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. Featured articles in this digital report compare PLCs and programmable automation controllers (PACs), industrial PCs, and robotic controllers.
SIDB

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

April 2018
ROVs, rigs, and the real time; wellsite valve manifolds; AI on a chip; analytics use for pipelines
February 2018
Focus on power systems, process safety, electrical and power systems, edge computing in the oil & gas industry
December 2017
Product of the Year winners, Pattern recognition, Engineering analytics, Revitalize older pump installations
John O. Ayuk, PE, CFSE, PMP, CAP
Automation Engineer; Wood Group
Doug Baker
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
Data Centers: Impacts of Climate and Cooling Technology
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
Safety First: Arc Flash 101
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
Critical Power: Hospital Electrical Systems
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
click me