integral action in DMPC

(DMPC = Discrete Model Predictive Control)

The basic setting is you have an LTI system in the form:

x(k+1) = A*x(k) + B*u(k)
y(k) = C*x(k)

It is often the case, that the system is rewritten so that the new input is

∆u(k) := u(k)-u(k-1).

I know two methods for introducing ∆u.

  1. Introducing integrator before the input: the state vector is then augmented with the input [x, u]
  2. Introducing embedded integrator: changing x to ∆x, and augmenting the changed state vector with the output [∆x, y]

In both cases the cost functional contains ∆u explicitly:

J(U) = (Y-Y_ref)' * Q * (Y-Y_ref) + ∆U' * R * ∆U

My question is about a third method. What if instead modifying the system, we modify the cost functional so that it contains D*U instead of U, where D is a matrix realizing finite differences.

More precisely,

U := [u(0), u(1), ..., u(N-1)]'

then

D*U = [u(1)-u(0), ..., u(N-1)-u(N-2)]'.

The cost functional:

J(U) = (Y-Y_ref)' * Q * (Y-Y_ref) + (DU)' * R * (DU) 
     = (Y-Y_ref)' * Q * (Y-Y_ref) + U' * (D'*R*D) * U.

So what do you think about the latter approach? Should it be equivalent with the other two? I think it should be.

Edit: No, it is not equivalent.

Posted Jan 19, 2018, 12:23 PM UTC · edited

42
CptnCat•

No. First, note that D'RD is lower rank than R. Thus, you are losing some information in your cost function, specifically u(-1). This means that your control input does not integrate i.e. u(0) is independent of u(-1). Basically, your cost function is only finding the "most constant" input sequence u(0),...,u(N-1) over the horizon, which doesn't provide integral action.

Instead, you can add u(-1) to the cost, in which case it is a state and you are back to the first method.

2
selfadjointOP•

Thank you for your clear explanation. I see it now. By the way, any other finite difference scheme won't work either, because if D is a differentiation, then it must have a lower rank than R.

Edit: What if my plant has integrator in it, and I don't need integral action. However, I want to penalize large changes in the control signal. In this case, would the second cost functional be applicable?

1