Do-it-yourself model-based control


Dealing with problems

Every process unit has its quirks. Even if all the equipment is functioning correctly, there are still upsets, non-linear elements, and bottlenecks that challenge operators. An effective model should be able to ride through those by including some feedback element to account for un-modeled disturbances.

“I’ve done several implementations of an octane control on a catalytic reformer in a refinery,” Harper says. “There’s an analyzer, but it’s about 45 minutes down the train, so it’s calculating the octane coming out of a reformer based on all sorts of variables, including the feed rates, quality of the feed stocks, and several other things. A model-based controller has been successful in a refinery that might be doing all manner of crude stocks, sweet, sour, and it still rides through those. But it’s a pretty complex model because it covers all the different scenarios and everything’s been regressed through the model itself. It took some time to set up correctly and a good bit of work, but if you can do it, you’ve created an exceptionally valuable controller. It’s probably one of the best returns on investment a plant can make.”

A simulation can serve as a diagnostic tool, showing where theoretical and actual plant performance characteristics diverge. Lennon says the idealized world can point to flaws in the real one: “If a plant is designed properly to produce a certain capacity per day, bottlenecks will be in the physical system. You have 8-in. pipelines and you can only flow so much through the control valves and heat exchangers. So say you’re in a plant start-up, and you expect a certain output per day, and you aren’t achieving that when you reach steady state. Every time you try to ramp up, you start to get dynamic instability in the system. You can use the process model to investigate how you’re actually controlling the system. In that case, if you’ve done the physical sizing of the plant properly, I would believe that you’ve done something wrong in the control system. Maybe some of your control elements or field instruments are not behaving properly. That’s where you would compare data from the real plant to what the simulation said it should be. If everything is sized properly for that level of output, you need to go back to the control system to see why you’re not able to reach your desired output.”

Only as good as your people

While there is no argument that model-based controllers can operate very successfully, if you’re going to create your own, they will only be as good as the individuals you have doing the work. Like many improvements you might try, if your engineers don’t understand what’s happening, you can’t count on a positive outcome no matter how sophisticated your tools are. “Coming up with a simulation model does take a degree of experience with the actual process,” Lennon explains. “We can’t replace experience. We can give great tools that allow somebody with experience to say, ‘We understand that once this tank is full, you can’t put any more in it.’ You can’t trade experience for a software package.”

Snyder agrees: “There’s no substitute for good practical knowledge and experience. Nobody becomes an MPC guru overnight or even within a year or two. There’s still a lot of art, even though there is lots of mathematics and lots of science in there. A lot of things you learn by doing.”

Hot water heater as process example

Here’s a simple demonstration: consider a gas-fired, 50-gal hot water heater, as you might have in your home. Most designs are simple and have a thermostat that turns the fixed burner on and off in response to the water temperature at the outlet. A more sophisticated design might use a PID controller that can modulate the burner in response to the outlet temperature as the key process variable. This approach might not be effective ultimately if you need critical control of the outlet temperature. With the large volume in the tank, the process could be sluggish since it might take a long time to change the temperature of that much water. For example, say the inlet temperature goes down 20 °F. By the time the sensor at the outlet recognizes the change, the temperature in the tank may have fallen significantly.

One approach might be to create a model of the process. Here are a few of the main elements we need to quantify or measure continuously:

  • Outlet water temperature, which is our primary process variable
  • Inlet water temperature, which determines how much the temperature has to change
  • Flow rate, which determines the volume we have to heat
  • Burner output, which is a function of natural gas feed and our only control effort
  • Heat transfer ability of the tank, which is non-linear since there is a fixed surface area, and
  • Heat loss through the walls of the tank.

The process model quantifies all those relationships, and as long as each variable can be measured, performance should be predictable. If the flowrate is 2 gpm and the temperature change from inlet to outlet is 100 °F, we can calculate the amount of heat we need and therefore the amount of gas. Non-linear elements such as the tank’s ability to capture heat and loss through the sides, can be built into the calculations. As those variables move around, the model should respond and keep the outlet temperature stable. If we’ve done a good job, it will be able to respond to changes quickly and track to the setpoint more accurately than simple regulatory control.

Peter Welander is a content manager for Control Engineering.

Key concepts:

  • Advanced process control can helps situations where regulatory control is inadequate.
  • Creating a process model using mathematical tools can help run the controller and serve as a diagnostic tool.
  • The accuracy of your model and its ability to control depends heavily on the skill of your people.

Go online:

Learn more about the companies mentioned:

Read more about APC below:

<< First < Previous 1 2 Next > Last >>

Dan , WA, United States, 03/24/13 02:21 PM:

This is an excellent article. As a retired Chemical Engineer from the process industries, I completely agree with Peter Welander. Building your own advanced process control (APC) package can be a daunting task. There are some additional articles on this topic at:

Of particular relevance are the articles under the heading:

Process Control Articles (PDF):

Nonlinear multivariable control made easy

Desire good process control? Try a systems approach
Anonymous , 03/26/13 04:24 AM:

This is an excellent article. As a retired Chemical Engineer from the process industries, I completely agree with Peter Welander. Building your own advanced process control (APC) package can be a daunting task. There are some additional articles on this topic at:

Of particular relevance are the articles under the heading:

Process Control Articles (PDF):

Nonlinear multivariable control made easy

Desire good process control? Try a systems approach
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2015 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Safety for 18 years, warehouse maintenance tips, Ethernet and the IIoT, GAMS 2016 recap
2016 Engineering Leaders Under 40; Future vision: Where is manufacturing headed?; Electrical distribution, redefined
Strategic outsourcing delivers efficiency; Sleeve bearing clearance; Causes of water hammer; Improve air quality; Maintenance safety; GAMS preview
SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
Safety at every angle, Big Data's impact on operations, bridging the skills gap
The digital oilfield: Utilizing Big Data can yield big savings; Virtualization a real solution; Tracking SIS performance
Applying network redundancy; Overcoming loop tuning challenges; PID control and networks
Driving motor efficiency; Preventing arc flash in mission critical facilities; Integrating alternative power and existing electrical systems
Package boilers; Natural gas infrared heating; Thermal treasure; Standby generation; Natural gas supports green efforts

Annual Salary Survey

Before the calendar turned, 2016 already had the makings of a pivotal year for manufacturing, and for the world.

There were the big events for the year, including the United States as Partner Country at Hannover Messe in April and the 2016 International Manufacturing Technology Show in Chicago in September. There's also the matter of the U.S. presidential elections in November, which promise to shape policy in manufacturing for years to come.

But the year started with global economic turmoil, as a slowdown in Chinese manufacturing triggered a worldwide stock hiccup that sent values plummeting. The continued plunge in world oil prices has resulted in a slowdown in exploration and, by extension, the manufacture of exploration equipment.

Read more: 2015 Salary Survey

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.
This article collection contains several articles on the vital role of plant safety and offers advice on best practices.
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.
This article collection contains several articles on strategic maintenance and understanding all the parts of your plant.
click me