1 / 70

دانشگاه صنعتي اميركبير دانشكده مهندسي پزشكي Constraints in MPC

دانشگاه صنعتي اميركبير دانشكده مهندسي پزشكي Constraints in MPC. کنترل پيش بين-دکتر توحيدخواه. Feasibility in MPC. Infeasibility implies that, for the current state, the constraints within the MPC algorithm cannot be satisfied.

mio
Download Presentation

دانشگاه صنعتي اميركبير دانشكده مهندسي پزشكي Constraints in MPC

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. دانشگاه صنعتي اميركبير دانشكده مهندسي پزشكي Constraints in MPC کنترل پيشبين-دکتر توحيدخواه

  2. Feasibility in MPC • Infeasibility implies that, for the current state, the constraints within the MPC algorithm cannot be satisfied. • Without feasibility the MPC optimisation is ill posed and there is no assurance that the answer has any useful meaning. • MPC looks at mechanisms for overcoming or avoiding this.

  3. Hard constraints Hard constraints are constraints which must be satisfied.

  4. Soft constraints • Soft constraints are those which should be satisfied if possible. Soft constraints can be violated (ignored). • Usually soft constraints are on outputs/states although they could also be applied to inputs. Such violations may have no effect on nominal stability results.

  5. Terminal constraints

  6. Summary: Constraints are a combination of hard, soft and terminal constraints.

  7. Model uncertainty Model uncertainty may cause infeasibility because the actual behaviour differs from the predicted behaviour. Hence, even though the nominal predictions could satisfy constraints over the entire future, a small change in the model will cause the actual behaviour to differ, and the associated predictions at the subsequent sampling instant could then violate constraints.

  8. Model uncertainty (cont.) One can form algorithms based on invariant sets (Section 11.11) to handle model uncertainty; however, the results are usually very conservative, as guarantees must allow for the worst case (which will arise with negligible probability). A more pragmatic approach is to accept that guarantees cannot be given where there is significant uncertainty and make other contingencies for the rare occasions where infeasibility arises.

  9. The stronger a guarantee you want, the more conservative your control law will be. • In practise there must be a compromise between feasibility assurances and performance. • Feasibility would usually be ensured by a systematic relaxation of soft constraints. This would be determined at a supervisory level.

  10. Using artificially tight constraints on future predictions automatically builds in some slack which can be used to retain feasibility in the presence of moderate uncertainty. The slack should be montonically increasing with the horizon. Example: input limits:

  11. Example 1. A mathematical model for an undamped oscillator is given by:

  12. What happens if the control amplitude is limited to +/- 25 ?

  13. closed-loop eigenvalues are at −0.1946, 0, 0.

  14. Case A. Closed loop control without saturation

  15. Case B- Closed-loop control with saturation

  16. If we do not pay attention to the saturation of the control, then in the presence of constraints, the closed-loop control performance could severely deteriorate.

  17. Example 2: A common practice in dealing with saturation is to let the model know the difference in Δu(k) when saturation becomes effective.

  18. over-shoot in the closed-loop response is significantly reduced.

  19. Formulation of Constrained Control Problems

  20. There are three major types of constraints frequently encountered in applications: The first two types deal with constraints imposed on the control variables u(k), and the third type of constraint deals with output y(k) or state variable x(k) constraints.

  21. Constraints on the Amplitude of the Control Variable

  22. Constraints on the Control Variable Incremental Variation در بيهوشی بعنوان مثال:

  23. Output Constraints Output constraints are often implemented as ‘soft’ constraints in the way thata slack variable sv > 0 is added to the constraints

  24. Constraints in a Multi-input and Multi-output Setting

  25. Constraints as Part of the Optimal Solution

  26. Numerical Solutions Using Quadratic Programming E is assumed to be symmetric and positive definite.

  27. Quadratic Programming for Equality Constraints Example 4. Minimize Solution. The global minimum, without constraint, is at

  28. Illustration of constrained optimal solution

  29. Lagrange Multipliers

  30. Example 5. Minimize subject to:

  31. Solution: Without the equality constraints, the optimal solution is:

  32. Example 6. what happens to the constrained optimal solution when the linear constraints are dependent. There is no feasible solution of x1 and x2 Matrix MTE−1M is not invertible

  33. Solution:

  34. Illustration of no feasible solution of the constrained optimization problem. Solid-line x1 + x2 = 1; darker-solid-line 2x1 +2x2 = 6

  35. Example 7: How the number of equality constraints is also an issue in the constrained optimal solution? (Ex. 5) We add an extra constraint to the original constraints so that:

  36. The only feasible solution: In summary, the number of equality constraints is required to be less than or equal to the number of decision variables (i.e., x). If the number of equality constraints equals the number of decision variables, the only feasible solution is the one that satisfies the constraints and there is no additional variable in x that can be used to optimize the original objective function.

  37. Minimization with Inequality Constraints In the minimization with inequality constraints, the number of constraints could be larger than the number of decision variables. An inequality Mix ≤ γi is said to be active if Mix = γi and inactive if Mix < γi.

  38. Kuhn-Tucker Conditions

More Related