September 2, 2010

Wireless Benefits of Humor

By Greg McMillan

Hopefully your humor is wireless. Wired humor sounds dangerous.

The real reason for "wireless" in the title is that wireless is a hot subject and I am checking into ways to attract more people to my website.

My favorite quote is: "Life is far too important to be taken seriously" - Oscar Wilde

I have written a half dozen books with humorous intentions but lately I seem to have lost my sense of humor. If you find it, let me know.

Humor, music, and writing are my main sources of inspiration and pleasure. They seem to go hand-in-hand for me. I can't imagine writing without listening to music and without a smile on my face. Writing allows me to communicate and share everything I have learned and often leads to a deeper understanding on my part and hopefully the readers. Music expresses the depth of feelings better than any other media I know. Humor leads to creativity and problem solving capabilities. I think the barrier between people on difficult and highly opinionated issues can broken if you can get the people to laugh often by putting the problem into a bizarre context or taking the problem to a level of absurdity. Humor can provide a cognitive shift. Like music, humor is a gift from God and some theories propose it is an unexplainable mystery, very much like a mystical experience. A sense of humor requires empathy and the ability to put your self in the situation of others and see beyond your opinions and expertise and forgo the literal or analytical. Humor is a matter of taste and situation. I like the more cerebral humor of Woody Allen of Groucho Marx compared to the more physical (slap-stick) humor of the Three Stooges and Jerry Lewis. I have been blessed to have worked with many funny (and creative) people during my years at Monsanto. The ones that immediately come to mind are Jim Jordan, Steve Sanders (Dec 2009 Control Talk column "You Know You're a Geek if ..." , and of course my coauthor and cohort Stan Weiner. These guys were extremely successful and ended up being presidents or Fellows. Most recently I have had the fun of interviewing Randy Reiss, Mike Brown, and Hunter Vegas for Control Talk columns, all very funny besides being the best technically and able to tell the real story. Randy, Mike, and Hunter were able to rattle off "Top 10 Lists" for their respective interviews like it was second nature to them. Take for example Mike's Sept 2010 Control Talk "Top 10 Control Room KPIs That Will NOT Lead to Process Improvement"

For an outline of the many physical, cognitive, emotional, and social benefits of humor, check out the Benefits of Humor from the PBS series "This Emotional Life"




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




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.