Will LQR act like MPC in reality?

2.7k Views Asked by At

MPC is a predictive controller. Which means that MPC will analyse the best input values $u$ to get the shortest way from setpoint to reference point in trajectories $x$.

MPC is very well used in the industry. But my question is:

As I heard, LQR with saturation limits on $u$ is equal to MPC. Because LQR does the same math as MPC. The difference is that MPC has some limits in the input signal. I'm talking about the very basic MPC now.

That makes me wonder what will be the difference between implementation of a controller with saturation and a controller with no saturation.

Imagine that we have a car and the car starting from 0 and the goal is 100. The controller's mission is to speed up the car so the car can receive 100 in a few seconds, without over shooting.

So, let's assume that we are implementing a LQR controller inside the car and start the controller. The LQR gives full signal into the fuel injection module inside the car, but in reality, the LQR is implemented inside a computer and the computer's signal output is limited. Which results that the fuel injection model cannot give full power to the engine inside the car.

Question:

Due to the limits inside the car and the computer. The LQR controller will act like it has saturated in the input, and the results will be that LQR in reality will act like MPC in a simulation?

And this expands to another question: If I want to simulate a process inside my computer, is an MPC better preferred that LQR, due to the built-in saturation/constraint limits in the MPC controller?

2

There are 2 best solutions below

13
On BEST ANSWER

No, an LQR controller (or trivially saturated LQR controller) will not give the same control signal as an MPC controller. You can (and typically want to) tune he MPC controller though such that it coincides with the LQR feedback once the system enters the state where the LQR feedback is and remains unsaturated.

If LQR gave the same control as MPC we would never use MPC, as MPC is several orders of magnitudes more computationally expensive.

0
On

LQR is designed via an offline optimization.

MPC is equipped with an online optimization. At every sample time, MPC optimizez the input to the plant. In addition, MPC is talent to handle the constraints. It predicts possible future infringements and avoid them. While LQR reach the limits and then thinks how to get out of the trouble.

Handling the input constraints are very trivial. The concern is mostly related to handle the output constraints.