The leader in industrial automation and control solutions

Maintaining a constant flow rate is absolutely critical in chemical processing. A change in material flow can have an impact on product quality, mixing, reaction conditions and the efficiency of the process as a whole.  

Stable flow is not always easy to maintain. Changes in supply pressure, changes in fluid properties and the behavior of the control valve itself can all lead to the flow rate drifting away from the required value. A PID flow controller deals with this by providing continuous feedback. It compares the actual flow rate with the setpoint and adjusts the control output to reduce the difference.

This article covers PID flow control in chemical processing, the problems associated with it, and the benefits of properly tuned control.


PID flow rate control is a closed-loop control method that maintains the required flow rate by adjusting the final control element.

The controller reads the flow transmitter’s signal and compares the measured flow rate with the operator’s setpoint. If there’s a difference between the measured flow and the setpoint, the controller adjusts its output to correct that difference.

A typical PID flow control loop consists of four primary components:

  • Flow Setpoint (SP): The desired flow rate (typically in GPM, L/min, etc.).
  • Process Variable (PV): The actual flow rate as measured by the flow meter/transmitter.
  • PID controller: Calculates the required control output based on the difference between the setpoint and the measured flow.
  • Final Control Element: A control valve, a pump, or a VFD that varies the flow through the process.

Unlike an open-loop control system, a PID flow controller continuously responds to changes in operating conditions. The feedback action helps maintain a constant material flow.


A PID flow control loop continuously measures and adjusts the flow of a liquid or gas through a process. The flow transmitter measures the actual flow and transmits this to the controller. The controller then compares the measured value with the setpoint and calculates the required output. This output will be used to vary the position or speed of the final control element. The resulting flow is then measured again and fed back to the controller to complete the loop.

Flow Meter or Transmitter

The flow meter gives you the quantity of material passing through the pipe over a given period of time. The transmitter takes that measurement and converts it into a signal which the PID controller can read. Lots of industrial flow transmitters will be using a 4-20 mA analog signal. Others will be using a voltage signal or digital communications depending on the particular equipment.

For example, a transmitter calibrated for 0–100 GPM might produce the following signals:

Flow RateTransmitter Signal
0 GPM4 mA
25 GPM8 mA
50 GPM12 mA
75 GPM16 mA
100 GPM20 mA

The controller scales the input signal to represent the actual flow rate in engineering units. Accurate measurement is of course important as the PID controller will be using this feedback to determine its output.

PID Controller

The PID controller is constantly comparing the actual flow rate to the setpoint.

For instance, consider a chemical transfer running at a 50 GPM setpoint. If the transmitter reads 45 GPM, the controller sees a 5 GPM error. It then works out what output adjustment it needs to make using its P, I and D settings. Depending on the control configuration, that will be an increase in valve position or pump speed to bring the flow rate up. As the measured flow approaches 50 GPM, the controller will then alter its output to keep it there.

Maple Systems PID controllers have analog process inputs, configurable PID parameters and linear control outputs. They can therefore be used with compatible flow transmitters and external control equipment.

Control Valve, Pump, or Variable-Frequency Drive

The final control element actually changes the flow rate in accordance with the controller output. A modulating control valve will change its degree of opening to control the amount of material passing through the pipeline. Flow can be controlled by varying the pump speed in a pump-based or VFD-based system. The correct method will depend on the process design and the characteristics of the equipment.

For instance, a control valve could be used to regulate the flow from a pressurized supply line. A VFD could be used in lieu of that to vary the speed of the pump to achieve the required flow. In either case, the PID controller is using the measured flow as feedback to correct for disturbances and maintain the setpoint.


Chemical processing operations are all about the steady movement of material from tank to tank, from reactor to reactor, from blending system to blending system and through to the production stages. Even a small variation in flow can have an impact on the consistency of the process, especially when you’re dealing with a number of materials that have to be fed into the system at a controlled rate.

PID flow control is widely used in a number of applications.

Reactant Feed Control

Chemical reactors often require a controlled delivery of the reactants. Maintaining the desired feed rate is key to having consistent operating conditions and process performance.

Additive Dosing

Additives can be introduced into a process at a controlled rate to maintain the required formulation. PID control is used to control the rate of additive flow as the supply conditions vary.

Chemical Blending

Blending systems combine multiple liquid streams. Individual flow control loops can be used to control each stream in order to maintain consistent material makeup.

Liquid Transfer

Transfer systems move the chemicals from one tank to another, from storage to processing and from processing to downstream. Flow control is used to ensure a predictable rate of transfer.

Continuous Processing

Continuous production requires a steady movement of material through the process stages. A stable flow helps to minimize the variation that could otherwise impact the downstream equipment. In such applications, PID flow control provides the necessary continuous correction without the need for the operator to manually adjust the process as conditions change.


Although flow control loops often respond quickly, several factors can make them very difficult to stabilize. It’s important to understand what those things are as it enables you to differentiate between a PID tuning problem and a measurement or mechanical problem.

Fast Process Dynamics and Measurement Noise

Many flow control loops will react very quickly to a change in valve position or pump speed. A small change in output can result in a quite significant flow change over a very short time period. If the controller is too aggressive, the flow will tend to overshoot the setpoint and then undershoot it repeatedly. Measurement noise can cause the same sort of problem. The flow transmitter signal can be very noisy due to turbulence, electrical noise, pump pulsations and so on.

The PID controller could well interpret those fluctuations as actual flow changes and keep on adjusting its output. That’s going to lead to an unstable control situation and increased wear on the moving parts. The right kind of signal filtering will go some way to minimizing the measurement fluctuations. The downside of too much filtering is that it introduces lag and can reduce the controller’s ability to react to real disturbances.

Control Valve Stiction, Deadband, and Nonlinearity

Control valve behavior can have a massive effect on the performance of a PID flow controller.

Stiction occurs when the friction is such that the valve won’t move at all in response to small output changes. The controller may increase its output and the valve will still not move. Once the valve has overcome the stiction, it may move a lot further than was intended. This can lead to a series of flow oscillations.

Deadband is a range of input changes that result in virtually no output movement at all. It can be due to mechanical backlash or actuator characteristics.

Non-linearity occurs when equal changes in valve position result in different changes in flow.

For instance, moving a valve from 20% to 30% open might give a different flow increase than moving it from 70% to 80%.  That can have a significant effect on control performance over the range. A PID tune won’t fix a sticking valve or a mechanically defective one. You need to sort out the mechanical problem first before you go any further with controller tuning.

Supply Pressure and Process Disturbances

Changes in upstream or downstream pressure will alter the flow rate through a control valve. For example, reduced upstream pressure could decrease flow even if the valve position remains unchanged. The PID controller will see the lower flow reading and adjust its output accordingly. Other disturbances would be a change in fluid viscosity, a change in pump performance, a change in downstream demand and restrictions in the pipe itself. The controller has to react quickly enough to compensate for these disturbances without causing excessive oscillation.


Proportional, integral and derivative action all have an effect on how the PID flow controller reacts to a change in measured flow.

Each action has a different effect on the control performance.

PID TermFunction in Flow ControlPotential Problem
Proportional (P)Responds to the current difference between measured flow and setpointExcessive response can cause oscillation
Integral (I)Corrects persistent flow error over timeExcessive integral action can cause overshoot and slow recovery
Derivative (D)Responds to the rate of change in errorCan amplify measurement noise and increase output activity

Proportional action gives an immediate response when the measured flow is different from the setpoint. The greater the proportional action, the greater the controller’s response to a given error.  However, too much proportional action can result in the controller to overcorrect, resulting in unstable flow.

Integral action accumulates error over time and adjusts the output to eliminate the error.  If the flow is still a little below the setpoint, then the integral action will slowly increase the corrective output. Excessive integral action can lead to overshoot or even sustained oscillation (particularly when the final control element is at its limits).

Derivative action responds to the rate of change of the error. It can be used to dampen rapid changes in certain applications.  Flow measurements can be noisy, and derivative action will magnify any of that noise. For this reason, PI control is very commonly used in flow control applications. Derivative action can still be of benefit in certain circumstances where the process dynamics are such that it is appropriate to use it. The correct controller configuration will of course depend on the characteristics of the flow system.


Proper tuning of a PID flow controller will result in stable operation and a good response to changing process conditions. It’s not just about getting to the setpoint as quickly as possible. The controller has to be able to dampen oscillation, deal with disturbances and not make any unnecessary output moves.

Before you tune, make sure the flow transmitter, the control valve and the associated equipment are all working properly. Mechanical problems, incorrect signal scaling, and excessive measurement noise can affect performance regardless of the PID settings.

  • Proportional action should give an appropriate response to flow deviations without causing any sustained oscillation.
  • Integral action will eliminate the steady-state error without causing any excessive overshoot or slow recovery.
  • Derivative action, when used, should improve the response without increasing the measurement noise.

Some industrial PID controllers have an autotune function which will establish the initial control settings. These settings will still need to be checked under representative operating conditions. You’ll need to assess the flow control performance under normal operating conditions and under the expected process disturbances.

For further information, see the PID Tuning Methods article.


Think of a chemical blending operation where you’re taking a liquid additive from a storage tank and feeding it into a mixer. You need a constant flow rate of 50 GPM of additive. The actual flow will, of course, vary depending on supply pressure and downstream conditions.

A Maple Systems PID controller controls a modulating control valve via a flow transmitter.  This example shows a controller configuration with a 4–20 mA analog input and a 4–20 mA linear control output.

ComponentExample Configuration
ApplicationLiquid additive transfer into a blending vessel
Flow Setpoint50 GPM
Flow Transmitter4–20 mA, scaled to 0–100 GPM
PID ControllerMaple Systems PID controller
Controller Output4–20 mA linear control signal
Final Control ElementCompatible modulating control valve and actuator
Control ObjectiveMaintain 50 GPM despite process disturbances

The flow transmitter measures the liquid going through the supply line and sends that signal to the PID controller.  At the 50 GPM operating point we’re after, the transmitter will output around 12 mA. The controller then compares that to the 50 GPM setpoint and adjusts the control valve as necessary.

Responding to a Flow Disturbance

Suppose the upstream supply pressure drops and the flow rate falls from 50 GPM to 42 GPM. The flow transmitter will report the lower flow to the PID controller. The controller sees an 8 GPM deviation and increases its output, assuming the valve has enough capacity.

As the valve opens, the measured flow starts to return toward the setpoint. The controller is constantly adjusting its output in response to the feedback. As the flow reaches 50 GPM, the controller reduces the amount of correction it makes to maintain stability. If the valve hits its operating limit, then the controller can’t change the flow further.

This is an example of closed-loop PID control, which compensates for process disturbances without manual adjustments. The controller’s analog input scaling, PID parameters, and output configuration must match the instrumentation you’re actually connecting to it. Signal compatibility and control direction are also important.


PID flow control and PID pressure control both use feedback, but they control different process variables. Flow control is the control of the rate at which the material is flowing through the system. Pressure control is the control of the pressure at a given point.

Both can make use of control valves, pumps and PID controllers, though their operating characteristics may be quite different.

CharacteristicPID Flow ControlPID Pressure Control
Controlled VariableFlow ratePressure
Typical MeasurementFlow transmitterPressure transducer
Common UnitsGPM, L/min, m³/hpsi, bar, kPa
Typical ObjectiveMaintain material delivery rateMaintain required system pressure
Common DisturbancesSupply pressure, valve behavior, downstream demandLoad changes, pump behavior, system restrictions

Flow and pressure are linked but not interchangeable. A change in pressure affects flow, and a change in flow affects pressure throughout the system. You can have a constant pressure and yet not have a constant flow. The right control strategy will depend on which of the two variables you’re trying to keep constant.


PID flow rate control is all about maintaining a constant rate of material delivery in a chemical processing system regardless of the changing conditions. You achieve this by using flow measurement, PID control and a suitable final control element to continuously correct any deviation from the setpoint. It all comes down to having good feedback, good mechanicals, the right signal and properly tuned PID.

Maple Systems PID controllers provide configurable process inputs and control outputs for use in compatible flow control applications.

Kyle Nicholas Avatar