You are on page 1of 4

10/05/2018 Closed Loop Control with Variable Frequency Drives | iKnow Variable Frequency Drives

► Save Energy, Cut CO2 (/save-energy/)


(/)
sales@invertekdrives.com (mailto:sales@invertekdrives.com)
+44 (0) 1938 55 68 68

Home (/) Variable Frequency Drives (/variable-speed-drives/) iKnow (/variable-frequency-drives/) Sectors (/ac-drive-sectors/)

Support (/support/) Save Energy (/save-energy/) News (/news/) About us (/about/) Contact (/contact/)

(/variable-frequency-drives/)

 (/variable-frequ
Search iKnow… 

Article
 Information Sections
Closed Loop Control with Variable 9

Frequency Drives Energy


Saving 

Selection
& Installation 

Commissioning
& Troubleshooting 

VFD
Thousands of drives and motors handle baggage at major airports Fundamentals 

We’ve mentioned a few times how closed loop control is used to maintain constant temperature,
pressure etc., and how most drives have this feature built into the drive, so few external  Latest Videos
components are needed. Let’s look at this in detail.

Firstly, let’s talk about the difference between open and closed loop control. If we are using a pump
to maintain pressure, we can set the speed of the pump to what we think will do the job, and hope  
for the best, and maybe turn it down a little at night. This is an open loop control. Connecting and
Commissioning an Multiple motor control
A better solution is to fit a pressure transducer and connect that to a variable frequency drive Optidrive E3 with the Optidrive E3
controlling the motor which is driving the pump. The drive will now compare this actual (i.e.
measured) pressure value with the desired value (the setpoint) and will adjust the speed of the
pump continually to keep the pressure at this level – assuming you’ve set it up correctly. Because
the connection from the pressure sensor completes the loop (drive – motor – pump output –  
transducer – drive) the system is known as a closed loop control system, and is shown in Figure 1.
Optidrive E3 - Standard Optidrive E3 - Input
Parameters Selection

 Latest Articles

http://www.invertekdrives.com/variable-frequency-drives/closed-loop-control-with-variable-frequency-drives-9.aspx 1/4
10/05/2018 Closed Loop Control with Variable Frequency Drives | iKnow Variable Frequency Drives

► Optitools Studio (/variable-frequency-


drives/optitools-studio-27.aspx)
► Setting Setpoints (/variable-frequency-
drives/setting-setpoints-26.aspx)
► Cooling Matters (/variable-frequency-
drives/cooling-matters-25.aspx)
► Relays and Analogue Outputs (/variable-
frequency-drives/relays-and-analogue-
outputs-24.aspx)
► Power Factor, Form Factor and RMS
Fig. 1 Open and Closed Loop Control Systems (/variable-frequency-drives/power-
factor-form-factor-and-RMS-23.aspx)
► Problems with motors and cables
Closed loop control is used everywhere, from aircraft stabilising systems to tension control in (/variable-frequency-drives/problems-
winding systems, as well as more obvious applications maintaining pressure, flow rate, speed or with-motors-and-cables-22.aspx)
temperature. ► Supplies and Supply Problems
(/variable-frequency-drives/supplies-
A key issue with closed loop control is stability. If you’ve tried to control a narrow boat you’ll know and-supply-problems-21.aspx)
about this; you pull the tiller, nothing happens; you pull it some more and the boat begins to turn. ► Braking and Stopping (/variable-
You back off the tiller, but the boat continues to turn. You pull hard the other way and eventually it
frequency-drives/braking-and-stopping-
straightens up. You straighten the tiller, but the boat continues to turn. You oscillate your way down
20.aspx)
the canal until you get the hang of the delay in the system. In a closed loop system the stability can
be established by careful processing of the error. The error is the difference between the Setpoint ► Electromagnetic Compatibility
(the desired value) and the actual (feedback) value. The error is applied to the controlling system – (/variable-frequency-
the tiller (and you) on the boat, or the variable frequency drive in industry. So on the narrow boat drives/electromagnetic-compatibility-
the difference in where the boat is pointing (actual value) and straight down the canal (Setpoint) is 19.aspx)
the error, and this tells you to move the tiller. ► Safety and Safety Inputs (/variable-
frequency-drives/safety-and-safety-
In a typical variable frequency drive application the Setpoint (say pressure) may be set by an
inputs-18.aspx)
analogue input or fixed value, and the actual value by a pressure transducer connected to another
analogue input. The error then continually adjusts the motor speed. Now to get good control as
well as stability you need to process the error signal. On the narrow boat, you soon learn not to
turn the tiller too hard, and to slow down your response to error. The variable frequency drive does
this by controlling the Proportional Gain and Integral (filtered value) of the error signal. The
Differential value of the error is seldom used, but the three terms, Proportional, Integral and
Differential result in the alternative name for a closed loop control system; a PID system.

Let’s look at this more closely. If we multiply the error by a constant this represents a gain. If this
constant is a high value, then the slightest error and we will swing the tiller hard over on the narrow Frequently Asked
boat. Clearly potentially unstable. If the constant is a low value, our response will not be enough to
correct the error. Questions (/variable-
If we now add a ‘damping’ factor by integrating the error, this will slow down the response of the
frequency-drives/faq/)
system, which is useful on a narrow boat where control times are measured in seconds. Again, too
high an integral term and the response will be too slow; too low a value and we’ll be oscillating
again as the system will be underdamped.

If we differentiate the error signal, this will help in a few systems where overshoot must be limited,
but this is quite unusual.

Clearly, values of P, I and D for a narrow boat will be different to those for a fast system such as
winder tension control for example. So our general purpose control system within the variable
frequency drive allows setting of P, I, and D values to stabilise virtually any closed loop system.
Figure 2 shows how the error is processed in a typical PID system.

Fig. 2 Error Processing

How do we do this in practice with a variable frequency drive? We have the PID controller (or just
PI controller on E3 drives) built into the drive, so we only need a suitable transducer or feedback
signal to control our variable. Like most engineering, if the basics are right the rest is pretty easy.
Make sure that the feedback signal from the transducer is giving you the values you’d expect, and
that as you speed up and slow down the motor it changes in a predictable way. Run the system
open loop at first to check this. If the transducer signal is say 2.3 to 5.7V, you can scale the
analogue input it is connected to accordingly. If the transducer voltage increases with increasing
motor speed, fine; if it falls (maybe you’re working with a vacuum pump) then you need to change

http://www.invertekdrives.com/variable-frequency-drives/closed-loop-control-with-variable-frequency-drives-9.aspx 2/4
10/05/2018 Closed Loop Control with Variable Frequency Drives | iKnow Variable Frequency Drives
a parameter (P-43 on E3, P3-04 on P2 and Eco) to tell the drive to work that way round. You can
also change the sources of the feedback and setpoint signals so the setpoint can come from a
fixed, stored value for example.

Once the transducer signal looks good you can enable the closed loop control in the variable
speed drive and see what happens (P-12=5 on E3, P1-12=3 on P2 and Eco). It will probably stay
nice and stable and not need any adjustments. If it’s not so stable, you can try adjusting the P and I
terms; as previously mentioned, the D term isn’t usually needed. On E3 drives, P and I are
adjusted by parameters P-41 and P-42 respectively. On P2 and Eco P3-01, P3-02 and P3-03
adjust P, I and D – all the closed loop parameters are P3-XX group.

One suggestion is to increase the P term until it oscillates, back it off a little and add a bit of I. It’s a
bit of a black art, but don’t stray too far from the default settings and learn by experience.
Controlling a narrow boat is probably harder, but at least you can stop at a pub and drown your
sorrows.

Closed loop control is often used for applications where temperature, pressure or flow rate need to
be controlled, but there are many other applications; for example, maintaining tension in a winding
system, shown in Figure 3. The dancer arm moves a potentiometer, which produces a signal
indicating tension of the material being wound. This is fed back to the variable frequency drive
which adjusts the speed of the winder to keep the tension constant.

Fig. 3 Tension Control in a winding application

On Eco and P2 drives there are several additional parameters which are sometimes useful. The
ramps can be turned off to improve response, various limits may be set and if there is a problem
like a burst pipe the drive can detect this and shut down, rather than run flat out and flood the
place. The Eco drive has additional features such as cascade control and PID sleep function.
These parameters are practical additions to a versatile closed loop controller.

Many variable frequency drive applications work in open loop or in conjunction with other control
systems, but for simple applications the built in closed loop control can prove extremely useful.

 Previous Next 
Energy Saving with Variable Warnings, Trips, Faults and Failures
Frequency Drives (warnings-trips-faults-and-failures-10.aspx)
(energy-saving-with-variable-frequency-
drives-8.aspx)

Email Newsletter Variable Frequency Sectors (/ac-drive- General


Drives (/variable- sectors/)
Your email address Global Engineered Support
speed-drives/) (/support/)
Case studies, announcements and Pump Control (/ac-drive-
exhibition news from Invertek Drives sectors/pump-control/) News & Exhibitions (/news/)
E2 Variable Frequency Drive
(/variable-speed-drives/optidrive- HVAC Building Services (/ac-drive-
e2/) About us (/about/)
sectors/hvac-building-services/)
Follow Us
E3 Variable Frequency Drive Career Opportunities
Elevators (/ac-drive- (/about/careers.aspx)
(/variable-speed-drives/optidrive-
sectors/elevators/)
e3/)
Contact (/contact/)
General Automation (/ac-drive-
P2 Variable Frequency Drive sectors/automation/)
(/variable-speed-drives/optidrive-
► iSource (/isource/) p2/) Marine Equipment Control (/ac-
drive-sectors/marine/)
Eco Variable Frequency Drive
(/variable-speed-drives/optidrive- Combustion Air Fan Control (/ac-
hvac-eco/) drive-sectors/combustion/)
Elevator Variable Frequency Drive
(/variable-speed-drives/optidrive-
elevator/)

E2 Single Phase AC Drive


(/variable-speed-drives/optidrive-
e2-single-phase/)

http://www.invertekdrives.com/variable-frequency-drives/closed-loop-control-with-variable-frequency-drives-9.aspx 3/4
10/05/2018 Closed Loop Control with Variable Frequency Drives | iKnow Variable Frequency Drives
E3 for Single Phase Motors
(/variable-speed-drives/optidrive-
e3-single-phase/)

OptiTools Studio (/variable-speed-


drives/software/optitools-
studio.aspx)
(/)

© 1998 - 2018 Invertek Drives Ltd. All Rights Reserved.


Registered in England: No. 3504834 | VAT Registration: GB 712854929

http://www.invertekdrives.com/variable-frequency-drives/closed-loop-control-with-variable-frequency-drives-9.aspx 4/4