September 1, 2010

Preview of Deminar #9 - Process Control Improvement Primer

By Greg McMillan

Process control is so detailed, fragmented, and experience dependent, it is difficult to see the commonality of process control solutions. In Deminar #9 at 10:00 am CDT Wednesday Sept 8, I will detail 10 key concepts in a unified approach that will be useful for process control improvement in 90% or more of the applications. Demos will be offered of the more dynamic consequences. The deeper understanding gained should be useful in developing process control improvements, most of which can be demonstrated by free use of virtual plants on the process control lab website http://www.processcontrollab.com/ .

To attend the event, go to http://bit.ly/JC-LiveMeeting
Use the information below to connect (if you're not using the available computer audio):
• Toll-free: +1 (877) 771-7176
• Toll: +1 (225) 383-1099
• Participant code: 264679




August 26, 2010

Review of Deminar #8 - PID Control of Runaway Processes

By Greg McMillan

PID Control of Runaway Processes- Greg McMillan Deminar

To view the recording of Deminar #8, click on the above picture. If you want to just view the slides click on Deminar #8 - PID Control of Runaway Processes

Self-regulating processes are the easiest to control given similar dynamics (e.g. delays, lags, and gains), nonlinearities, and upsets. In manual, the process variable will eventually reach a steady state for a self-regulating process. Integrating processes are the next most difficult to control because in manual the process variable will always be ramping even if there are no disturbances. Runway processes are the most challenging and potentially the most dangerous because in manual the process variable is always moving and can accelerate in its divergence even if there are no disturbances. Runaway processes are termed "open loop unstable." The acceleration is characterized by a positive feedback time constant. Both integrating and runaway processes have a low gain limit that causes slow rolling oscillations and a divergence off-scale, respectively. Integrating processes are more sensitive to integral action and secondary lags than self-regulating processes and runaway processes are more sensitive to integral action and secondary lags than integrating processes. The most common problem with integrating and runway processes is too much integral action (too small of a reset time) and the omission of derivative action for secondary lags (rate time should be set equal to largest secondary lag). Some highly exothermic polymerization reactors have proportional plus derivative control to avoid the potentially unsafe situation of someone adding too much reset action. I have been in the control room when an exothermic reactor has reached a point of no return where the temperature acceleration was so high despite full cooling, the only thing the operators could do was prepare for the rupture discs to burst and the reactor contents blow over to the flare stack tank. Highly reactive chemicals lead to rapid and complete reactions but can also lead to an uncontrollable temperature rise since the reaction rate and hence heat release doubles for every 6 degree increase in temperature. Runaway processes can look like integrating processes unless the temperature controller is left in manual long enough for the temperature change to be large enough.

Deminar #8 shows the dramatic correction needed for the tuning settings. The factors used in the short cut tuning method for near-integrators in Deminar #6 and the classic Ziegler Nichols ultimate oscillation method are detailed and demoed. Equations are offered to predict the ultimate gain and ultimate period showing the dramatic effect of a secondary process or thermowell lag and loop deadtime. If a secondary lag or the loop deadtime approaches the positive feedback time constant, the window of allowable controller gains closes and the loop is unstable for all tuning settings. The virtual plant is where you want to learn about runaway processes. You can't experiment much or have the loop in manual for more than a few deadtimes with a true runaway process.




August 11, 2010

Review of Deminar #7 - PID Control of True Integrating Processes

By Greg McMillan

PID Control of True Integrating Processes - Greg McMillan Deminar

To view the recording of Deminar #7, click on the above picture. If you want to just view the slides click on Deminar #7 - PID Control of True Integrating Processes

Time is money. If you can get to optimum setpoints faster during fed-batch operations and for startup and product transitions of continuous operations, the increase in production revenue can be significant. For continuous operations there may also be an appreciable decrease in the processing, recycle, and waste treatment costs of off-spec material.

For cascade control, the speed of the secondary PID setpoint response largely determines the ability of the primary PID to get to its setpoint quickly and reject disturbances in the primary loop. A slow secondary PID setpoint response may require detuning of the primary PID to prevent interactions between the secondary and primary loops.

In Deminar #7 we explored how we could use PID structure options, setpoint feedforward, and bang-bang control to improve the setpoint response for integrating (e.g. batch) processes. The concepts are also applicable to the continuous process startup and transitions. The demos showed a big reduction in rise time (time to reach setpoint) by the use of "PID on Error" instead of "I on Error, PD on PV." The benefit of the additional bump from derivative action on error is rather marginal for the small rate setting used. In other words most of the speedup in the setpoint response could be achieved by "PI on Error, D on PV" unless there is a large secondary lag and hence a large rate time setting. The use of setpoint feedforward helped reduce overshoot, rise time, and settling time by about 25%. For deadtime dominant self-regulating processes, the improvement would have been more impressive. The most dramatic improvement occurred for full throttle bang-bang control. With some adjustment of logic and resting value as noted on slide 6, the bang-bang logic can also be effectively used for self-regulating processes. You can try out setpoint feedforward and bang-bang control on the virtual plant website starting August 20.




August 9, 2010

Deminar #7 - PID Control of True Integrating Processes

By Greg McMillan

If you are intrested in reducing batch cycle time and startup time, check out Deminar #7 at 10:00 am CDT on Aug 11.

To attend the event, go to http://bit.ly/JC-LiveMeeting
Use the information below to connect (if you're not using the available computer audio):
• Toll-free: +1 (877) 771-7176
• Toll: +1 (225) 383-1099
• Participant code: 264679




August 5, 2010

Wireless PID Benefits Extend to Abnormal Situations, Analyzers, and Valves

By Greg McMillan

The PID enhancement for wireless (PIDPlus) offers an improvement wherever there is an update time in the loop. In the broadest sense, an update time can range from seconds (e.g. wireless updates and valve or measurement sensitivity limits) to hours (e.g. failures in communication, valve, or measurement). Some of the sources of update time are:

(1) Wireless measurement default update rate for periodic reporting (refresh time)
(2) Wireless measurement trigger level for exception reporting (sensitivity limit)
(3) Wireless communication failure
(4) Broken pH electrode glass or lead wires (failure point is about 7 pH)
(5) Large valve operating on upper part of installed characteristic (low sensitivity)
(6) Valve with backlash (deadband) and stick-slip (resolution and sensitivity limit)
(7) Valve with solids, high temperature, or sticky fluid that causes plugging or seizing
(8) Plugged impulse lines
(9) Analyzer sample processing delay and analysis or multiplex cycle time
(10) Analyzer resolution and sensitivity limit

The PIDPlus waits for an update in the measurement whereas a traditional PID continually ramps the output acting on old information. When there is an update, the PIDPlus considers the changes to have occurred over the elapsed time from the last update whereas the traditional PID thinks the entire change occurred in the PID module execution time. The result is a spike from derivative action by a traditional PID that is particularly large when a measurement recovers or a valve trim or solids break free.

The improvement in control by the PIDPlus is most noticeable as the update time becomes much larger than the 63% process response time (defined in the white paper as the sum of the process deadtime and time constant). When the update time becomes 4 times larger than the 63% process response time that roughly corresponds to the 98% response time frequently cited in the literature, the controller gain can be set equal to the inverse of the process gain. This controller gain can provide an exact correction for changes in the measurement and setpoint.

The PIDPlus execution is kept fast so that the PID immediately responds to changes in setpoint, feedforward, mode, tuning, detail display parameters, and remote output. We have the interesting result that when the update is much larger than the 63% process response time so we can set the controller gain equal to the inverse of the process gain, the controller output goes immediately to the value needed to achieve the setpoint. An increase in update time to prolong battery life can actually translate to a faster setpoint response. However, if the process gain changes with time or operating point, the PID will require several updates to home in on the proper correction. An increase in update time will increase the settling time for unrecognized changes in the process gain. The use of an adaptive tuner such as DeltaV Insight that automatically identifies the process gain and schedules the tuning setting accordingly can sustain a fast setpoint response despite nonlinearities and a large update time.

The Emerson White Paper DeltaV-v11-PID-Enhancements-for-Wireless.pdf discusses these opportunities in more detail. Later this month, an entry on this site will show and discuss the trend plots that compare the enhanced PIDPlus with the traditional PID for the applications tested including valves with stick-slip and backlash.

It is important to distinguish between an update time and process deadtime. The update time is the time interval between successive updates by the final control element (initiated changes to the process input) and successive updates by the measurement (reported changes in the process output). The process deadtime is a continuous train of values delayed by the deadtime. The most common source of a pure process deadtime is a transportation delay of temperature and composition changes in a conveyor, extruder, dip tube, heat exchanger, pipeline, sheet line, or any volume where there is plug flow (no back mixing). Small time constants such as thermal lags, sensor lags, signal filter times, transmitter damping settings, effectively become additional deadtime in terms of a first order plus deadtime approximation (single time constant plus deadtime). The PIDPlus algorithm does not correct for process deadtime. As the process deadtime increases and approaches the update time, the opportunity to increase the PIDPlus gain decreases. For compensation of deadtime, a standard deadtime block can be inserted between the BKCAL_OUT of the AO block and the BKCAL_IN of the PID block if the DCS uses the positive feedback method for the integral mode (external reset) as reported in Advanced Application Note 3 "Compensation of Deadtime in PID Controllers".

In a future Deminar we will look in greater detail at the effect of updates time of discontinuous measurements and process deadtimes on the ultimate period and ultimate gain and if there is an improvement in loop performance offered by a combination of PIDPlus and deadtime compensation.




July 12, 2010

July Deminars Rescheduled for August

By Greg McMillan

The following Deminars have new dates:

(7) PID Control of True Integrating Processes (How to Reduce the Batch Cycle Time for Temperature and pH Loops by 25%) - Aug 11, 10:00 am CDT

(8) PID Control of Runaway Processes (How to Improve the Performance of Exothermic Reactor Temperature Loops) - Aug 25, Wed 10:00 am CDT




June 28, 2010

Thank Goodness for Throttled Flows

By Greg McMillan

Whenever I see real control valves with digital positioners and diaphragm actuators, I get a bit giddy with excitement. If on the other hand I see on-off valves installed to perform the role of process control, I just shake my head in dismay. If flows are turned on or off, there is very little process control opportunity. Flows, whether process or utility, are the levers for the process. If we can only jerk the levers around, we will have a jerky process. The Feb-Mar 2010 InTech article "Key Design Components for Final Control Elements" details this perspective as well as the essential design features needed. If you have throttled flows not only do you have a means of affecting but also a way of optimizing the process. It would be a rare coincidence if the flows were exactly at their best value at the right time. There is almost assuredly an opportunity to increase capacity or yield or decrease energy use by changing the flow to reduce variability and/or moving a measurement closer to it optimum operating point. Sure there are options to sequence the turning of flows on and off but such pre-programmed actions lack the feedback correction needed to deal with disturbances, non-idealities, and unknowns in industrial processes. Unfortunately, graduates from chemical or biochemical engineering programs may mistakenly be thinking they can set the flows per the process flow diagram and process design simulation program. Sure they probably had a course on control theory, but maybe all they got was a mathematical view of process control isolated rather than integrated with process research, development, and design.

If the fixed flow mindset results in the use of on-off valves and missing feedback measurements, the opportunities are difficult to identify and may require years and a bunch of money not only for the field instruments and valves but also for the piping and equipment modifications. Just think if you want to install a thermowell and there is no nozzle on the vessel or column in the right location? Also, on-off flows create the step disturbances you would hope would be relegated to control theory textbooks.

Dynamic simulations can show the way but a large expensive automation project can be a hard sell without an installed example. If on the other hand there are sensitive throttling valves and process measurements, opportunities can be trialed and implemented by taking advantage of the ever increasing incredible capability being built into the modern DCS. The key characteristic is sensitivity, which is the smallest change in the controller output or process variable that the valve and sensor, respectively will consistently respond to. Once the sensitivity threshold is reached the output will change by the full amount whereas the output will only change by a quantized amount that is a resolution limit, the other major component of precision. Often the term "resolution" is mistakenly used instead of sensitivity. Resolution, which has a stair-case response, was mostly an issue with rack and pinion actuators and older A/D converters with wide signal ranges (e.g. 1980s generation DCS thermocouple input cards). The resolution today of digital I/O far exceeds the sensitivity capability. The consistent precise response to change is more important than an exact match between input and output for valves. For example, valve span or bias errors (offsets) are clearly not much of an issue because the feedback loop will correct for them provided there is a full range of control possible. Measurement span and bias errors can also be corrected by upper loops or operating procedures, but accurate besides precise measurements are important for closing material balances for process analysis, diagnostics, and optimization as discussed in the Jan-Feb 2010 InTech article "Advances in Flow and Level Measurements Enhance Process Knowledge, Control"

Wireless measurements offer the opportunity to move the transmitters to find opportunities and the optimum location if the process and equipment design engineers had the understanding to provide the connection options. Wireless pH offers the ability to develop inferential measurements and prove the best electrode technology as revealed in the Jan-Feb 2010 InTech WEB Exclusive article "Opportunities for Smart Wireless pH, Conductivity Measurements"




Subscribe

Subscribe to site RSS Feed


Or, subscribe by email:

Archives

The opinions expressed here are the personal opinions of Greg McMillan and Terry Blevins. Content published here is not read or approved by Emerson before it is posted and does not necessarily represent the views and opinions of Emerson. © 2006-2010 Greg McMillan and Terry Blevins. All rights reserved.