3
07/01/2014 Tuning PID control loops for fast response Whenchoosingatuningstrategyforaspecificcontrolloop,itisimportanttomatchthetechniquetotheneedsofthatloop andthelargerprocess.Itisalsoimportanttohavemorethanoneapproachinyourrepertoire,andtheCohen-Coonmethod canbeahandyadditionintherightsituation. LeePayne Thewell-knownZiegler-Nicholstuningrulesworkwellonlyonprocesseswithverylongtimeconstantsrelativetotheirdead times,andonlevelcontrolloops.However,itsperformanceisnotgoodonflow,liquidpressure,andmanyotherloopsthat requirefastadjustment.Incontrast,theCohen-Coontuningrulesworkwellonvirtuallyallself-regulatingprocessesandwere designedtogiveaveryfastresponse. Themethod'soriginaldesignresultedinloopswithtoomuchoscillatoryresponseandconsequentlyfellintodisuse.However, withsomemodification,Cohen-Coontuningrulesprovedtheirvalueforcontrolloopsthatneedtorespondquicklywhilebeing muchlesspronetooscillations. Applicableprocesstypes TheCohen-Coontuningmethodisn'tsuitableforeveryapplication.Forstarters, itcanbeusedonlyonself-regulatingprocesses.Mostcontrolloops,e.g.,flow, temperature,pressure,speed,andcomposition,are,atleasttosomeextent, self-regulatingprocesses.(Ontheotherhand,themostcommonintegrating processisalevelcontrolloop.) Aself- regulatingprocessalwaysstabilizesatsomepointof equilibrium,whichdependsontheprocessdesign andthecontrolleroutput.Ifthecontrolleroutputisset toadifferentvalue,theprocesswillrespondand stabilizeatanewpointofequilibrium. Targetcontrolleralgorithm Cohen-Coontuningruleshavebeendesignedforuse onanon-interactivecontrolleralgorithmsuchasthat providedbytheDataforthMAQ20industrialdataacquisitionandcontrolsystem.Therearecontrollerswithsimilar characteristicsavailablefromothersuppliers. Procedure ToapplymodifiedCohen-Coontuningrules,followthestepsbelow.Theprocessvariableandcontrolleroutputmustbetime- trendedsothatmeasurementscanbetakenfromthem. 1.Doacontrolleroutputsteptest: • Putthecontrollerinmanualandwaitfortheprocesstosettleout. • MakeastepchangeintheCO(controlleroutput)ofafewpercentandwaitforthePV(processvariable)tosettleout.The sizeofthisstepshouldbelargeenoughthatthePVmoveswellclearoftheprocessnoiseanddisturbancelevel.Atotal movementoffivetimesmorethanthepeak-to-peaklevelofthenoiseanddisturbancesonthePVshouldbesufficient. 2.Determinetheprocesscharacteristics(seeFigure1): IfthePVisnotranged0-100%,convertthechangeinPVtoa percentageoftherange:changeinPV[in%]=changeinPV[in engineeringunits]×100/(PVuppercalibrationlimit-PVlower calibrationlimit). Calculatetheprocessgain(gp):gp =totalchangeinPV[in%]/ changeinCO[in%]. FindthemaximumslopeofthePVresponsecurve.Thiswillbeat thepointofinflection.DrawatangentiallinethroughthePV responsecurveatthispoint. ExtendthislinetointersectwiththeoriginallevelofthePVbefore thestepinCO. Takenoteofthetimevalueatthisintersectionandcalculatethe deadtime(td):td =timedifferencebetweenthechangeinCOand theintersectionofthetangentiallineandtheoriginalPVlevel. Page 1 of 3 Tuning PID control loops for fast response | Control Engineering 04-05-2015 http://www.controleng.com/single-article/tuning-pid-control-loops-for-fast-response/495...

pid tuning

Embed Size (px)

Citation preview

  • 07/01/2014

    Tuning PID control loops for fast response

    When choosing a tuning strategy for a specific control loop, it is important to match the technique to the needs of that loop

    and the larger process. It is also important to have more than one approach in your repertoire, and the Cohen-Coon method

    can be a handy addition in the right situation.

    Lee Payne

    The well-known Ziegler-Nichols tuning rules work well only on processes with very long time constants relative to their dead times, and on level control loops. However, its performance is not good on flow, liquid pressure, and many other loops that require fast adjustment. In contrast, the Cohen-Coon tuning rules work well on virtually all self-regulating processes and were designed to give a very fast response.

    The method's original design resulted in loops with too much oscillatory response and consequently fell into disuse. However, with some modification, Cohen-Coon tuning rules proved their value for control loops that need to respond quickly while being much less prone to oscillations.

    Applicable process types

    The Cohen-Coon tuning method isn't suitable for every application. For starters, it can be used only on self-regulating processes. Most control loops, e.g., flow, temperature, pressure, speed, and composition, are, at least to some extent, self-regulating processes. (On the other hand, the most common integrating process is a level control loop.)

    A self-

    regulating process always stabilizes at some point of equilibrium, which depends on the process design and the controller output. If the controller output is set to a different value, the process will respond and stabilize at a new point of equilibrium.

    Target controller algorithm

    Cohen-Coon tuning rules have been designed for use on a non-interactive controller algorithm such as that provided by the Dataforth MAQ 20 industrial data acquisition and control system. There are controllers with similar characteristics available from other suppliers.

    Procedure

    To apply modified Cohen-Coon tuning rules, follow the steps below. The process variable and controller output must be time-trended so that measurements can be taken from them.

    1. Do a controller output step test:

    Put the controller in manual and wait for the process to settle out. Make a step change in the CO (controller output) of a few percent and wait for the PV (process variable) to settle out. The size of this step should be large enough that the PV moves well clear of the process noise and disturbance level. A total movement of five times more than the peak-to-peak level of the noise and disturbances on the PV should be sufficient.

    2. Determine the process characteristics (see Figure 1):

    If the PV is not ranged 0-100%, convert the change in PV to a percentage of the range: change in PV [in %] = change in PV [in engineering units] 100 / (PV upper calibration limit - PV lower calibration limit).

    Calculate the process gain (gp): gp = total change in PV [in %] /

    change in CO [in %]. Find the maximum slope of the PV response curve. This will be at

    the point of inflection. Draw a tangential line through the PV response curve at this point.

    Extend this line to intersect with the original level of the PV before the step in CO.

    Take note of the time value at this intersection and calculate the dead time (td): td = time difference between the change in CO and

    the intersection of the tangential line and the original PV level.

    Page 1 of 3Tuning PID control loops for fast response | Control Engineering

    04-05-2015http://www.controleng.com/single-article/tuning-pid-control-loops-for-fast-response/495...

  • If td was measured in seconds, divide it by 60 to convert it to

    minutes. (Since the Dataforth PID controller uses minutes as its time base for integral time, all measurements have to be made in minutes or converted to minutes. Many other controllers are similar.)

    Calculate the value of the PV at 63% of its total change. On the PV reaction curve, find the time value at which the PV reaches this level. Calculate the time constant (): = time difference between intersection at the end of dead time and the PV reaching 63% of its total change.

    If was measured in seconds, divide it by 60 to convert it to minutes.

    3. Repeat steps 1 and 2 three more times to obtain good average values for the process characteristics.

    4. Calculate controller settings for a PI or PID controller using the modified Cohen-Coon equations below. (The modified rules calculate the controller gain as of that calculated by the original rules.)

    5. Enter the values into the controller, make sure the algorithm is set to non-interactive, and put the controller in automatic mode.

    6. Change the setpoint to test the new values.

    Do fine tuning if necessary. The control loop's response can be slowed down and made less oscillatory, if needed, by decreasing KC and/or increasing TI.

    Conclusion

    These modified Cohen-Coon tuning rules are an excellent method for achieving fast response on virtually all control loops with self-regulating processes. They are an effective and highly reliable alternative to the Ziegler-Nichols tuning method, which does not work well when applied to many self-regulating processes.

    Lee Payne is CEO of Dataforth.

    Additional reading: G.H. Cohen and G.A. Coon, Theoretical Consideration of Retarded Control, Trans. ASME, 75, pp. 827-834, 1953.

    ONLINE

    To learn more about PID, look for additional application notes at the Dataforth website: www.dataforth.com

    Read more about PID control and loop tuning below.

    Key concepts

    Cohen-Coon tuning rules are effective on virtually all control loops with self-regulating processes. They are designed for use on a noninteractive controller algorithm. The modified Cohen-Coon method provides fast response and is an excellent alternative to Ziegler-Nichols for self-regulating processes.

    Related News:

    Overcoming process deadtime with a Smith Predictor - 17.02.2015 05:12

    Fundamentals of integrating vs. self-regulating processes - 02.12.2014 10:01

    Tuning PID loops for level control - 30.10.2014 15:51

    Fixing PID, Part 2 - 28.04.2014 14:20

    Fundamentals of lambda tuning - 16.04.2013 11:28

    Fixing PID - 30.11.2012 16:23

    Feedback controllers do their best - 16.10.2012 10:27

    Disturbance-Rejection vs. Setpoint-Tracking Controllers - 26.09.2011 12:47

    Gain scheduling and process linearity - 31.01.2011 17:09

    Back to Basics: Closed-loop stability - 17.08.2010 13:27

    Understanding Derivative in PID Control - 01.02.2010 07:00

    The Three Faces of PID - 01.03.2007 07:00

    Page 2 of 3Tuning PID control loops for fast response | Control Engineering

    04-05-2015http://www.controleng.com/single-article/tuning-pid-control-loops-for-fast-response/495...

  • Post a comment

    Log in or create an account to submit your comment for this article.

    Mustafa , AK, Turkey, 07/04/14 02:36 AM:

    Very useful for me to understand self-regulating process.

    Anonymous , 07/05/14 06:09 AM:

    The topic is very useful for tuning a controller.

    Anonymous , 07/07/14 09:14 AM:

    very interesting

    JOHN , IL, United States, 07/11/14 02:18 PM:

    Dear Lee,I don't mean to be pedantic, but .... You said, "A self-regulating process always stabilizes at some point of equilibrium, ... the process will respond and stabilize at a new point of equilibrium."Equilibrium is better used to describe how complete a chemical reaction is. Self regulating processes should be referred to as reaching steady state. For example, if you are scrubbing a gas stream with a liquid in a tower, the process may be working fine if the streams have reached steady state. But if the passing streams are in equilibrium, the process has failed, as no absorption occurs at equilibrium. So talking about reaching "steady state" would have been a much better choice in your article than talking of an "equilibrium".Grace and Peace,John

    SALAHUDDIN , NJ, United States, 07/11/14 03:12 PM:

    Never tried Cohen-Coon rules in this plant.This seems to be very interesting. I will try on a few loops. Will keep everybody updated

    Marcos , Non-US/Not Applicable, Mexico, 07/11/14 03:31 PM:

    Hi, i would like to know where can i get Dataforth products here in Mexico.RegardsMarcos Rivera Avila

    Anonymous , 07/13/14 12:37 AM:

    It is very good information.

    ANTHONY , TX, United States, 08/08/14 01:08 PM:

    Cohen-Coon is only offline method and for first-order process only.

    For second-order and fast response tuning, consider Lambda tuning as an alternative.

    Eduardo , Non-US/Not Applicable, Mexico, 08/10/14 09:15 AM:

    Mr Lee. Im, in according with you, dont import the form of words,"self-regulating process always stabilizes or point of equilibrium"; the very important is the Concept, and your application is very good. the Dead time is not always Dead in the process.. thank E.Z.U.

    Page 3 of 3Tuning PID control loops for fast response | Control Engineering

    04-05-2015http://www.controleng.com/single-article/tuning-pid-control-loops-for-fast-response/495...