Model Predictive Control -- Where Have We Been and Where Are We Going -- Part 3

McMillan, Weiner and Darby Discuss Practical Considerations in MPC Setup, Maintenance and Improvement to Meet Economic Objectives

By Greg McMillan, Stan Weiner

1 of 2 < 1 | 2 View on one page

Stan: In this multipart part series, Mark Darby of CMiD Solutions will share his thoughts on the scope of model predictive control (MPC) applications. The focus in Part 3 is on some practical considerations in MPC setup, maintenance and improvement to meet economic objectives.

Greg: Measurement, analyzer and final control element resolution and threshold sensitivity limits can cause limit cycles. In a PID we can set an integral dead band to turn off integral action when the process variable (PV) is within the limit cycle amplitude of the setpoint (SP). Also we can use external reset feedback of actual valve position to prevent the PID output from changing until the valve moves. How do you prevent the MPC from responding to these cycles?

Read Also: When do I Use MPC instead of PID for Advanced Regulatory Control - Tips?

Mark: Valve stiction is a frequent challenge. In the pretest phase of work, we need to identify and resolve control valves with excessive stiction; if necessary, delaying the project or portions of it. The problem is that the effect of a valve limit cycle can appear in multiple controlled variables. Consider when a cycle is present in a variable at a constraint limit. This will translate into cycles in multiple MVs. Detuning and the use of dead bands are not usually effective. If stiction is present, but is not extreme, there are techniques that are sometimes helpful. This includes more sophisticated filtering of either the measurement or the model bias filter. Also, some MPC controllers have a feature which enforces a minimum move limit for a manipulated variable, which can be set to correspond to the amount of stiction present (otherwise the move is accumulated). If MPC is configured to directly manipulate a valve signal, and the actual valve feedback is available, it should be used to update the model bias. This would be similar to external reset feedback. In testing, it is important that the change to a MV result in a valve change greater than the stiction value; otherwise this will introduce error into the identification results.

Greg: For cascade control with PID, we use external reset feedback of the secondary loop PV to prevent the primary loop from driving the secondary loop SP faster than the secondary can respond causing a burst of oscillations. In the cascade control of an MPC to a PID or even another MPC, how do you prevent driving the secondary PID or MPC faster than it can respond?

Mark: Move suppression, reference trajectory time constant and the length of the control horizon affect how fast or aggressively MPC will adjust manipulated variable PID setpoints. A point to make here is that the response of the PID loops is embedded in the MPC models, which is reflected in the future move plan calculated by the MPC. One can introduce model mismatch if a PID loop is retuned to achieve a significantly different response.

Read Also: Model-Predictive Control Can Solve Valve Problem

Stan: How do you help the MPC achieve the most benefits?

Mark: You need to understand how planning and scheduling people establish targets for the plant and make sure the MPC is in sync and consistent with them. This requires good communication and documentation. A key issue is what degrees of freedom to give an MPC. For example, should it maximize feed rate? If so, good communication and coordination is required, since it can impact logistical issues associated with feed stock and product volumes. In configuring the MPC, it is critical to get the economics right so it pushes the correct constraint sets. Some limits may depend upon the time of the year based on product demand. An example is a shift from gasoline to diesel in winter. While this is not a huge issue, the completeness and accuracy of this task must not be overlooked.

Greg: We tended to use small MPC focused on a unit operation, whereas in the literature, you see the use of huge and even plant-area wide MPC. We found the MPC to be easier to develop and maintain with time horizons more tailored to the unit operation. We also we did not have to worry about the washout of the effect of process inputs downstream by the filtering effect of volumes. The washout caused an extremely low process gain for downstream CV, resulting in a low condition number for the matrix. In some cases, the model had the wrong sign because of interrelationships. We used disturbance variables between MPC and, if necessary, a cascade of MPC to MPC to increase MPC scope. What are the advantages of increasing the MPC size?

Mark: There are different opinions in the industry on this issue of controller size. Some of this depends on the process objectives as well as the number and location of the constraints. You see differences, for example, between refining and specialty chemicals. It can also depend on the specific MPC controller and the specific MPC practitioner. Bigger is better for the LP or QP in terms of maximizing profit when constraints are present. Dynamic coordination is another reason. Consider two controllers, where a particular MV in an upstream controller is a FF in a downstream controller. The downstream controller would only consider the current value of the FF when it calculated its future MV move plan. If the two controllers are combined, the MVs in the downstream would automatically be coordinated with the upstream MV in the calculation of the future move plan. This trend to bigger controllers began in the 1990s with the increases in computer power and better algorithms. One of the lessons learned is that bigger controllers are more difficult to implement and maintain, as there is a higher requirement of model consistency—for example, the importance of accurate gain ratios, as mentioned earlier. Depending where constraints are in the plant and whether they are plant-limiting can help decide on the number of MPCs. With the configuration capability of the newer tools, one can also start small and grow/combine controllers over time.

1 of 2 < 1 | 2 View on one page

Join the discussion

We welcome your thoughtful comments. Please comply with our Community rules.
All comments will display your user name.

Want to participate in the discussion?

Register for free

Log in for complete access.


No one has commented on this page yet.

RSS feed for comments on this page | RSS feed for all comments