July 12, 2010

Wireless Online Process Metrics

By Greg McMillan

It is hard to imagine that in this day and age we are relying on "after the fact" process performance analysis on a gross scale. I wonder if we still use spreadsheets and costs sheets to judge a process unit and operator performance. We can see differences in setpoints at a shift change but have little idea as which shift's operating points provide the most production and least cost of goods (COGs). If pet food and ethanol manufacturers have online process metrics to compare shift and plant performance, why don't we see more of it in chemical plants? As COGs, energy conservation, and environmental emissions become of paramount importance, the benefits of online process metrics should be obvious. Since "seeing is believing" the use of wireless measurements moved from unit operation to unit operation can help develop and justify installations.

For example, if the utility flow and the inlet and outlet temperatures or pressures to coils, heat exchanger, and jacket are measured for each reactor, evaporator, and crystallizer, the energy use rate can be put online as an indicator of reaction, evaporation, or crystallization rate. The energy use per unit feed used or product produced can be monitored online for energy conservation. The overall heat transfer coefficient can be computed online to provide a performance indicator of fouling.

Inlet and outlet pressure measurements provide an indication of fouling (a heat exchanger specialist in my days in Monsanto's Engineering Technology said the pressure drop through the tubes of a heat exchanger is the best indication of fouling). Pressure measurements also show when a key unit operation is being starved for cooling supply especially since cooling tower and refrigeration systems often lagged beyond production increases in the 1990s. For example, a sold out fed-batch reaction at the top of a structure was periodically starved for coolant water by less profitable batch operations. Override control cut back the feeds to prevent a temperature trip but wireless measurements could have led to a more profitable scheduling of unit operations and improvement in coolant system design. Piping system and pump problems also extend to the process side.

An example that had all of the above problems big time is the stressed out production unit in Figure 3-6 in Advanced Control Unleashed The multiple lines of reactors, evaporators, and crystallizers converging and diverging were going up and down like Yo-Yos due to frosting (formation of crystals on surfaces) and subsequent defrosting (heating to melt the crystals). The plant was operating at double its original design capacity. Controller outputs would go to their high limit due to pipelines and pumps that were too small. Bigger control valves did not help much because the available pressure drop was insufficient. De-bottlenecking projects actually reduced capacity due to lack of measurements and the process knowledge they provide.

Thermowells on columns can find the most sensitive tray location by making a simple manual change in the flow manipulated by the temperature control (distillate flow). The best tray is the one with the largest and most symmetrical change in temperature for changes in the distillate to feed ratio (greatest and most linear process sensitivity or gain) as shown in the Figure 7-6 of the ISA book Advanced Temperature Measurement and Control Figure 7-7 shows the consequence of selecting the best tray and not so good tray for closed loop temperature control (Advanced-Temperature-Distillation-Column-Control-Excerpt.pdf). Three dimensional (3-D) profiles can provide a dramatic visualization of the change in the process gain with time as feed composition changes.

3-D plots generated of cross direction and machine direction sheet thickness profiles from a meter traversing the sheet provided the knowledge for optimizing the mixer, extruder, and sheet line as studied in the ISA 2001 conference paper "Constrained Multivariable Control of Plastic Sheets"

3-D plots are a natural for batch operations to show composition (e.g. cell density), pH, and temperature batch profiles for a series of batches.

For more information do a search for "metrics" on this website and you will find a variety of opportunities discussed for online process metrics and plots to help operations, process technology, and process control improvement initiatives. Wireless measurements and metrics can fill in the missing information for process simulations and vice versa.

In the old days we installed thermowells, pressure connections, and orifice flanges so we could move temperature and pressure gauges around to provide coarse local indication of equipment and piping system performance. Today portable wireless measurements can provide accurate indication in the control room offering opportunities that could be subject of a book or two let alone the blogs on this website.

Since efficiencies and most of the process gains for temperature and pressure are function of flow ratios (reactant/product, fuel/product, fuel/steam, steam/product, reagent/product, and coolant/product) flow is a key measurement. While a favor coriolis mass meters for process stream since they provide an accurate mass flow and density useful for inferential measurements of composition, which ultimately what you want to know, averaging annubars and thermowells can enable the use of wireless DP and temperature measurements for computing mass flow. Just knowing the material balance would be a big step forward as discussed in the Jan-Feb 2010 InTech article "Advances in Flow and Level Measurements Enhance Process Knowledge, Control"

Wireless pH and conductivity 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"




February 5, 2010

Exceptional Opportunities in Process Control - Middle Signal Selection

By Greg McMillan

This piece could have been titled "Exceptional Failures in Process Control." Despite my 25 years of explaining the importance of using middle signal selection, I don't see much evidence of what I have said has taken root outside of Monsanto and its spin-off Solutia, where it became a part of the culture and best practices to use middle signal of three pH electrodes for all important pH control loops. We ended up taking a view that all pH loops are important because if they are unimportant why should we go through the maintenance headaches and the risk of control system failure by installing a loop dependent upon the integrity of a single electrode. I think the main hurtle besides hardware and installation cost is the feeling that if one electrode requires so much effort, why should I add more? If the electrode life expectancy is too short, the feeling is right. We should not add more of a bad application or installation. Instead, we need to find a better design, technology, implementation, and location verified in testing via wireless pH or an alternate measurement (e.g. conductivity for concentrated acids or bases).

As an important side note, the use of three transmitters and middle signal selection on all of the important measurements (e.g. flow pressure, temperature, and level besides pH) used in the control system and safety system for a large intermediates plant has consistently eliminated false trips saving several million dollars per year.

What boggles my mind is that the risk of poor product quality and an environmental violation do not provide a wakeup call that the lifecycle cost of the measurement itself is insignificant in comparison to the risk. A simple quick ball park benefit versus cost analysis would show the absurdity of when the dollars of events likely to occur each year is more than 1000 times the dollars of the additional automation to prevent them. Unfortunately, we tend to get too focused on short term costs. Consider bioreactor batches worth millions of dollars each of a sold out pharmaceutical that are dependent pH upon control to within 0.02 pH. A second electrode is added but I am not sure it helps or just adds to the confusion. I find it almost bizarre how favorite electrodes are picked for the loop's PV and the stories that ensue about which one is best. It is a "fact of life" that electrodes will not agree in the short term due to non-ideal effects too numerous to get into here (check out my ISA book Advanced pH Measurement and Control for more info and previous blogs by searching for "pH"). The continual disagreement between two electrodes often leads to calibration adjustments chasing calibration adjustments. If left alone, the electrode that reads high today may in a couple of hours or at least by tomorrow read low. Electrodes can fail anywhere on the scale (including the most insidious failure of all type where the bad electrode signal is stuck at the pH set point). I maintain that the correct use of middle signal selection will actually reduce the long term maintenance cost by simple observation and the use of more intelligent practices eliminating unnecessary calibration and removal of electrodes.

A middle signal selection inherently ignores a single failure of any type and avoids the slowest electrode (e.g. coated electrode). This selection reduces noise and eliminates spikes without any addition of a signal lag like what you get from signal filtering. Middle signal selection also ignores an electrode with lower efficiency (shorter span) or that is drifting. Theoretically, electrodes of different "in service" time should be used to reduce the occurrence of concurrent failures. The middle electrode is the best signal on the average, but please don't use the average. I have seen some very smart attempts of computing average signals with built in intelligence on signal rejection that were out foxed by a single electrode failure scenario. You would think you could devise something smarter than the simple middle signal selection when in fact inherently it is impossible for a single failure. There can be additional intelligence for more than three electrodes or for protection against multiple concurrent failures.

To summarize, middle signal selection can improve process quality and on-stream time, reduce maintenance, and prevent environment violations by adding understanding and ignoring spurious signals, inaccurate measurements, and failures.

A prolonged deviation from the middle should be alarmed because if you don't fix the first failure or sustained error, middle signal section has a fifty-fifty chance of preventing the next failure or electrode inaccuracy. I could go on and on but I suspect you are pressed to move on. Before I go let's be frank with closing remarks in recognition of an engineer named Frank who was particularly astute at telling it the way it is.

There is an opportunity to use a statistical or first principle model based on titration curves to generate a third signal. Even if the model is wrong, it will be ignored by middle signal selection. There appears to be here mostly an upside where you will at least learn more about your process by developing a model.

I have no illusions as to whether this blog will change one person's mind enough to install middle signal selection even though it is a feature of a standard function block. I also have no expectations that enough users will see the need to take advantage of wireless measurements to eliminate the wiring installation and maintenance costs of going to three measurements. Even more unlikely is that users will end up using middle signal selection enough that it will be offered in a smart transmitter that inputs three electrodes even though electrodes are the weak link in regards to accuracy and reliability.




October 15, 2009

Exceptional Opportunities in Process Control - ISA Boston Presentation

By Greg McMillan

I will be doing the presentation McMillanISABostonExceptionalOpportunities.pdf next week at the Boston ISA section meeting. I will be giving out 10 free copies of my book The Funnier Side of Retirement for Engineers and People of the Technical Persuasion to balance out the serious stuff.

When?
Tuesday, October 20, 2009
6:00 - 7:00 Reception and registration
7:00 - 8:00 Dinner
8:00 - 9:00 Presentation

Where?
Best Western, Waltham, MA
380 Winter Street, Waltham, Massachusetts, 02451-8700, US
Phone: 781/890-7800 Fax: 781/890-4937




October 9, 2009

Exceptional Opportunities in Process Control - Online Metrics

By Greg McMillan

The opportunity afforded by online metrics is worth summarizing in this series even though it has been discussed in several entries on this website.

The need to cut costs has translated to an increased emphasis on process efficiency and the ability to justify software, hardware, and personnel. Increasingly these need to be hard benefits (e.g. reduction in raw material, downtime, and energy costs).

When I worked in process control improvement (PCI) in the technology department of a large chemical company, we had to show new benefits each year that were at least twice our salary to justify our job. By the end of the five year process control improvement effort we had 75 million dollars per year in savings documented. The PCI core group had 5 modeling and control specialists working with 20 or more process control engineers at key plants. The benefits reported depended upon the skills of particularly one person Glenn Mertz) who was extremely proficient in cost sheet analysis and working with operations and process technology.

Some companies are fortunate enough to have PCI as part of their culture as seen in the Control Talk Columns "Going, Going, Gone - Part 2" (September) and Part 3 (October) for examples. For many companies, benefits need to be reported in order for PCI and our profession to move forward or even exist. See the December 1 and 5, 2008 entries on this website "Past, Present, and Future of Automation - Part 5 (Benchmarking and Opportunity Assessment)" and Part 6 (Operator Interface) and the December 28, 2007 entry "Biggest Opportunities in Process Control Improvement - The Operator (Online Metrics) for more discussion of the aspects and importance of identifying and showing PCI benefits.

There are a lot of initiatives in the plant to improve plant operation by better operating procedures, equipment, and maintenance. All of these people take great pride in their work and are naturally eager to attribute better process operation to their efforts. Process technology often has the last say. The best way for PCI to get credit for improvement in plant operation is for the improvement and change to be visible in the data historian. A visible change in capacity, efficiency, or quality after a change in the process control system provides the documentation needed. If the PCI could be turned on and off, the correlation would be irrefutable but this is usually not practical. If no other events occurred when the PCI went online, a beginning of improved plant operation coinciding with the completion of the PCI, and a good explanation of cause and effect, will normally suffice for PCI to get credit. To help guide management and operations, comments should be entered in the historian and event makers for PCI provided.

PCI metrics for continuous process capacity are generally available from product flow measurements, downtime due to trips, and the time to startup or make a product grade transitions. PCI metrics for batch process capability can be generated from batch size, end point concentration, batch cycle time, and time in between batches. Quick and dramatic improvements in batch capacity have been achieved be the elimination of operator attention requests, manual actions, trips, and wait times for resource allocation (e.g. utility or charge systems), lab results, and reaction completion. Model predictive control and override control applications have been very successful for fed-batch processes. Reductions of 25% or more in batch cycle time are common for PCI. For a summary of some of the many possible batch control opportunities see BatchCycleTimeReduction.pdf from my PCI days.

PCI metrics for process efficiency are best expressed as a ratio of kilogram (pound) of input used (e.g. feed, fuel, reagent, and utility) per kilogram (pound) of product produced. For fuels, the numerator in the ratio may be expressed in thermal units, such as kilojoules (BTUs). For batch processes, the totalized input flow is divided by the batch size multiplied by the fractional product end point concentration. For continuous processes the instantaneous input flows are divided by intermediate or final product flow multiplied by the fractional product concentration. Synchronization of input flows to output flows can be done by the addition of a time constant equal to residence time and a time delay equal to the transportation delay. The flows can be totalized to compare shifts and periods of operation. Online process efficiency measurements require online or at-line analyzers or inferential measurements from first principle, neural network, polynomial, or statistical (e.g. PLS) models. These models in turn require flow measurements because nonlinear valve characteristics, backlash, and stick-slip make the use of controller outputs directly as model inputs ineffective and misleading. While reactant and fuel flows are typically measured, utility and reagent flows are often not. This short sightedness by plant projects (figuratively and literally), severely limits the ability to make improvements in the efficiency of use of these process inputs. I would wager a 10% reduction in the use of these inputs would more than pay for the flow meters. The old saying, you cannot control what you don't measure holds true for process efficiency. If I was a project manager, I would have a flowmeter on any input flow whose usage cost per year exceeded twice the installed cost of the flowmeter. I would at least provide the process connections for inserting a mobile wireless flowmeter. Where energy heat transfer rate calculations (e.g. heat removal rate as an inference of reaction rate) would be useful, I would install wireless RTD temperature transmitters on the streams entering and exiting the coils, exchangers, and jackets. Wireless transmitters allow the user to find during actual process operation the applications with the maximum benefit.




September 25, 2009

Exceptional Opportunities in Process Control - Live Process Flow Diagrams

By Greg McMillan

The first document you have on a project is typically a process flow diagram (PFD). The PFD defines the process. It is the ultimate source of information and sets the plant performance and design. It is interesting to me that we really don't know how well existing operations match the PFD. When I have posed the question of what is really the mass flow, pressure, temperature, and density of a plant stream to university students and even seasoned engineers in industry, the usual reply is that the stream conditions are what is shown in the PFD. As humans we are naturally optimistic and want to think everything is as believed and stated. As engineers we are accustomed to numbers being accurate to several significant figures. Alas, if you had the knowledge of what is really going in the process there would be a rude awakening. While uncomfortable, the awareness leads to better process control improvements.

In the PFD and in chemical engineering courses, the plant is assumed to be at steady state. Of course this does not work for batch processes. Less obvious is that it doesn't work well for continuous processes with merging and diverging trains of equipment and recycle streams. Even if a plant was at steady state, I doubt it would be within 10% of the PFD design conditions on all of the PFD process variables due to non ideal and unknown effects in the process calculations or simulations that generated the PFD. Maybe things have changed a lot, but in my days working at a large chemical company, the process engineers manually updated personalized spreadsheets that attempted to close the material and energy balances (unless we are talking about nuclear reactions, energy and mass are conserved - neither created or destroyed).

What if a plant had a live online PFD? What if we had live online material and energy balances? What if we had temperature, pressure, mass flow, and inferential measurements of the composition in every important process stream?

Coriolis flowmeters offer a true mass flow measurement that does not depend upon composition, density, velocity profile, Reynolds number, or viscosity. The physics of the measurement afford a rangeability and accuracy that is unexcelled (for an excellent perspective see the article by Peter Ginn "It's the Physics!", InTech, Feb 1996). Coriolis also provides a direct density measurement, a tube temperature measurement, and when coupled with an accurate differential pressure transmitter (DP) for viscous fluids, an inferential viscosity measurement. In the last couple of years, major improvements have been made in Coriolis technology. For example, Coriolis meters can measure two phase flow and can infer void fraction. Meter sizes can be as small as 2 millimeters making them ideal for labs and pilot plants. For slurries and clingy sticky fluids, straight tubes and higher velocities can be used to prevent coatings and accumulation of material. Coriolis meters can potentially provide more accurate batch charges than weigh tanks because Coriolis meters retain a better long term installed accuracy than load cells since Coriolis does not suffer from drift or installation effects. For more information on Coriolis see the EssentialBookCoriolisExcerpt.pdf.pdf from the new ISA book Essentials of Modern Measurements and Final Elements

When a Coriolis meter is put on a stream, the only process variable missing for a live online PFD is pressure, which could be easily added via a wireless pressure transmitter. For streams with acids and bases, wireless conductivity and pH transmitters could provide additional information on stream composition. For example, in absorbers for CO2 capture, wireless pH and conductivity measurements in concert with a Coriolis density and temperature measurement can provide inferential measurements of solvent concentration and CO2 loading important for optimizing absorber flow distribution.

There is a lot of talk about online process metrics but as far as I can see, what is done is loop metrics principally on process variability. A live PFD would enable online process efficiency metrics (e.g. yield) for each unit operation besides tighter mass balances. The stream variables would also lead to better data analytics and prediction of product quality.




September 15, 2009

Exceptional Opportunities in Process Control - New Sensor and Valve Technologies

By Greg McMillan

I spent the first 7 years of my career in instrument design and construction. After being responsible for the calibration, installation, and commissioning of instruments for a half dozen plants in the 1970s, I became painfully aware that the actual performance of the measurements and control valves was largely unknown. These were the days before the advent of smart instrumentation. We didn't know the effect of stiction and backlash on valve position or the effect of impulse line, process and ambient conditions on sensors. We didn't know what was the installed accuracy of measurement or if a valve or measurement had a timely and sensitive response. We shifted set points and just shook our heads when the material and energy balances did not close. Since we were mostly interested in capacity we just pushed on to make more product. Operating efficiency and turndown were not as much an issue, which was fortunate because we didn't have the spectrum and accuracy of instruments for knowing process performance. The time I spent in the 1980s working on pH, furnace pressure, and compressor surge loops were the ultimate test of sensor and valve sensitivity and speed. My perspective on the importance of the field devices was solidified in the 1990s, when I was part of a corporate wide process control improvement program, most of the opportunities involved tuning loops and adding feedforward control and loops for fed-batch operation. A lot of great ideas went by the "way side" because of missing or imprecise measurements and unresponsive valves.

An important point is that if you don't have the capability of determining actual capability and benefits of the automation system, projects will seek the lowest cost alternatives. A classic example of capital cost superseding performance was the proliferation of rotary piping valves that were posed as throttling valves by the addition of spool type positioners to modulate a piston actuator, linkages, and stem connections fundamentally designed for on-off service. The leakage specs and price were attractive. Deadband and resolution limit were not considered. Since the valve specification didn't require the valve actually move in response to the small changes in signal commonly incurred in a control loop and there was no position feedback measurement either locally or remotely, the user did not know the real price paid. Aggravated by noisy flow measurements with poor turndown, increased process variability was attributed to mysterious sources. Without online loop metrics, there was little recognition of the deterioration in loop performance. Since the normal practice of testing whether a valve worked was to make 25% or larger changes in signal, instrument technicians and engineers where unaware that the valve did not respond to the small changes in controller output each scan. Putting a smart positioner on a piping valve with the feedback measurement of actuator shaft rather than ball or disk stem position in a rotary piping valve only added to the confusion. The actuator shaft would move in response to the positioner but the ball or disk did not due to extensive seal friction, ball or disk shaft windup, and backlash in the connection and linkages. It was only after actual tests in the flow labs of control valve manufactures was the true cost of these valve recognized. The publication of the lab test results and the subsequent ISA standards developed on valve step testing, the availability of position feedback as a secondary process variable on digital signals, and the analysis of resolution (e.g. stick-slip) and deadband (e.g. backlash) lead to an increased awareness and hence dramatic improvement in valve dynamics.

Today we have smart transmitters and control valves with a rangeability, resolution, and sensitivity that is an order of magnitude better than the typical fare of the last century. A combination of embedded intelligence and new sensor, transmitter, valve, and positioner technology have resulted in dramatic improvements. Combined with the ability to have additional process variables, diagnostics, and alerts reported to the control room by digital signals and the mobility afforded by wireless communication, we can increase the spectrum and flexibility of the field automation system including finding the optimum locations for process analysis and control. Doors will open for online data analytics, process performance metrics (e.g. energy, quality, and yield) and increased opportunities for basic and advanced control improvements to address the increasing needs of process efficiency, flexibility, and rangeability. My recent Control Talk column "Downturn Turndown" digs into the increased importance of sensor and valve performance with of course a top ten list to cap it off.

Recently it was realized that research and development could greatly benefit from the advanced performance, intelligence, and historization of smart industrial automations systems. The future is best exemplified by the lab optimized industrial distributed control system with industrial pH, dissolved oxygen, pressure, temperature, and mass flow measurements for bench top and pilot plant bioreactors that was pioneered by Broadley-James Corporation. The portability and reduced installation cost of wireless instrumentation increase the already significant advantages of moving advanced industrial automation system capability upstream in the commercialization process.

The foundation of a process automation system is the measurements and final elements. If you don't get these right not much else matters. Measurements provide the only window into the process and final elements provide the only means of affecting the process. The height of the pyramid consisting of increasingly more advanced layers of process analysis and control depends upon the integrity and breadth of the foundation. The goal of the book I just finished is to create a foundation where the sky is the limit for automation. The book royalties go to the Center for Energy and Environmental Resources at the University of Texas where tests are being conducted on the use of wireless conductivity, flow, pH, pressure, and temperature measurements for carbon dioxide capture research.

The new book titled Essentials of Modern Measurements and Final Elements makes no assumptions other than the reader has some technical background. In Chapter 1 Modern Measurement Fundamentals, special care has been taken to explain technical terms and concepts on the use and performance of measurements in the process industry. There is a special emphasis on the advances in wireless instrumentation and communication. Chapters 2 through 6 focuses on the details needed for the best implementation of specific types of measurements that would be used on automation upgrade and new plant projects today in the process industry. Chapter 7 on Final Element Fundamentals follows an approach similar to Chapter 1 in assuming no industrial experience so the material on control valves, dampers, guide vanes, and variable speed drives is beneficial to students and new employees. Chapter 8 gets into the details on the types of control valves that are used in 95% of the applications in the chemical and petrochemical industry. The book concludes with the latest details on WirelessHART automation systems in Chapter 9. The questions at the end of each chapter are designed to stimulate the thought process involved for a successful application.




September 9, 2009

Exceptional Opportunities in Process Control - Sample Time

By Greg McMillan

I hesitated at first to include sample time as one of the exceptional opportunities in process control because in most loops it is not issue. Then I realized I should give my perspective on the effect of sample time for the following reasons:

(1) Since we live in a digital world, sampled data is the norm. Just from the volume of applications, the opportunity is large

(2) There are no clear guidelines for various types of process control applications

(3) In some applications conventional sample times can cause severe safety and performance issues

(4) In most cases the tuning of the controller dictates that sample times could be significantly slower. If DCS module execution times and wireless communication time intervals could be increased, controller loading is reduced and wireless battery life is prolonged, respectively

(5) If we want more at-line analyzers to provide measurements of stream compositions that tell us what is really going on in the process and offer the opportunity for a more advanced level of control, we need to understand and address sample processing and analyzer cycle times

(6) If we want to move to more wireless measurement that give us the flexibility and intelligence for process control improvement, we need to understand and address wireless communication intervals

I am considering sample time as the time between updates in sampled data in the broadest sense. The following discussion should be useful for determining whether DCS scan or module execution times, wireless communication time intervals, model predictive control execution time, and at-line analyzer cycle time will affect control system performance.

If you are pressed for time you can skip the discussion below and just check out ProcessControlSampleTimes.pdf

There is considerable confusion as to when sample times affect the ability of a control system to compensate for unmeasured disturbances. The following is my quick attempt to provide some concepts to sort out fact from fiction and provide some guidance.

The performance of a control loop depends upon the tuning. Specifically, the peak and integrated errors are inversely proportional to the controller gain. The peak error is not affected much by the integral time setting. However the integrated error is proportional to the integral time. Thus, a loop with good dynamics can be made to perform as poorly as a process with bad dynamics by sluggish tuning. The effect of slow sample times is hidden by large integral times or small controller gains. Thus, it is critical for any comparison, that tuning criteria be specified. In fact there is an implied deadtime as a result of the tuning of the loop as derived and discussed in Advanced Application Note 5. The tuning of the controller puts a practical limit on how fast the sample time must be for the effect to be negligible.

If a controller is tuned for maximum performance, the peak error is proportional to the loop deadtime to process time constant ratio. The integrated error is proportional to the deadtime squared. These statements are strictly true only when the process time constant is large compared to the loop deadtime. The loop dead is the sum of final element deadtime (e.g. valve pre-stroke time delay, deadband, and sticktion), process deadtime (e.g. mixing, thermal, and transportation), automation deadtime (e.g. sensor lag, transmitter damping, and sample times), and small process time constants. All of the time constants smaller than the largest time constant become effectively deadtime in the first order plus deadtime approximation used in industry. Process and automation system dynamics places an ultimate limit on loop performance. There is a corresponding ultimate limit on the sample time.

The relationships between process dynamics (e.g. total loop deadtime), controller tuning, and loop performance is detailed in the Theory section in Chapter 2 of Advanced Control Unleashed, and Appendix C in New Directions in Bioprocess Modeling and Control. All of my books and many of my articles take advantage of the fundamental understanding gained from these relationships.

The effect of sample times can be accessed in terms of practical and ultimate limits on performance. Critical loops where peak errors can cause destruction or environmental releases such as compressor surge control, furnace pressure control, exothermic reactor temperature control, and RCRA pH control, the tuning is necessarily aggressive. As a result the practical limit is much closer to the ultimate limit. For a discussion of cases where exceptionally fast sample times are needed, checkout the April 2, 2007 entry "Analog Control Holdouts."

For excellent final elements, clean sensors, and transmitter damping settings of 0.2 sec, we can suggest practical and ultimate sample times for different types of processes with typical dynamics. The ultimate limit (fastest conceivable sample time requirement) is set to be less than 1/10th of the sum of the minimum loop deadtime and minimum process time constant with some consideration as to maximum practical controller gains to reduce valve cycling and noise amplification. For any loop with a a large control valve, the minimum loop deadtime is about 1 second for an unmeasured disturbance (unless volume boosters have been added to the output of the positioner) so the ultimate limit on sample time is about 0.1 second. The practical limit reflects current tuning practices (much slower tuning to insure a smooth gradual response despite unknowns and nonlinearities). For integrating processes, the process time constant shown is the inverse of the integrating process gain (denoted by single exclamation point). The double exclamation point denotes a runaway (positive feedback) process time constant. Consultants says it is impossible to generalize but I think some guidance is helpful to the user with the realization there are always exceptions and the actual process dynamic and tuning should be identified by automated online tuners and adaptive controllers (e.g. DeltaV Insight). I didn't consider ultimate sample times slower than 60 sec. Note that slower sample times will affect the deadtime identified. A Rough Guide to DCS and Measurement (e.g. Wireless) Sample Times is offered in ProcessControlSampleTimes.pdf

For many digital devices the update is available near the beginning of the sample time (latency is negligible), which means the average deadtime from the sample time is about half the sample period. For at-line analyzers (field analyzers with automated sample systems), the result is not available until the end of the sample processing and analyzer cycle time, which translates to an average effective deadtime that is about 1.5 times the time interval between updates in the analyzer output signal. Theses deadtimes determine the minimum peak error for an unmeasured step disturbance at the input to the process.

The detrimental effect of sample time is greater than deadtime in that for continuous sources of dead time such as process transportation and mixing time delays and small process time constants, there is a continuous train of updates. For sampled data there are no intervening values. Consequently, the effects can be worse. For example, there is aliasing of oscillations where the indicated amplitude is smaller and the period is larger than actual. There can be jitter due to variations in latency and lack of synchronization of digital data that introduce variable time delays and noise for rapidly changing signals.

The PIDPLUS modification of the traditional PID developed for wireless applications helps the PID deal with the sample time from digital devices and communication, and at-line analyzers. The improvement is most dramatic for self-regulating processes but is also significant for integrating processes as seen in the tests documented in ControlStudiesPIDPLUS1.pdf. The PID-Plus algorithm also breaks the limit cycle from the resolution limit from the deadband setting for exception reporting of wireless devices because integral action is only done when there is a measurement update.





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.