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. pwelander(at)cfemedia.com
- 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.
Read more about APC below:
Case Study Database
Get more exposure for your case study by uploading it to the Plant Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.
These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.
Click here to visit the Case Study Database and upload your case study.
Annual Salary Survey
In a year when manufacturing continued to lead the economic rebound, it makes sense that plant manager bonuses rebounded. Plant Engineering’s annual Salary Survey shows both wages and bonuses rose in 2012 after a retreat the year before.
Average salary across all job titles for plant floor management rose 3.5% to $95,446, and bonus compensation jumped to $15,162, a 4.2% increase from the 2010 level and double the 2011 total, which showed a sharp drop in bonus.