LQR problem with controllable system
13 views (last 30 days)
Show older comments
Good morning to everybody;
I need to design an LQR based control system for a 4 indipendent WaterJet boat.
The state vector is the following
where u is the longitudinal velocity, v is the lateral velocity and omega is the yaw rate.
I linearized the system starting from this function, in which I rotated the velocities and the forces in the fixed reference frame
f1, f2, f3, f4 are the thrust from the WaterJet
And after this i used the Jacobian function in order to create the A and B matrices.
But when i run the LQR this error appear:
Cannot compute the stabilizing Riccati solution S for the LQR design. This could be because:
* R is singular,
* [Q N;N' R] needs to be positive definite,
* The E matrix in the state equation is singular.
So i checked the controllability of the model by imposing zero velocities and all the Thrust = 10.
The rank of the controllability matrix was equal to 6, so my system is controllable.
I cannot understand where is the problem.
Thank you in advance.
0 Comments
Answers (1)
Dongming
on 13 Nov 2022
For high dimensional problem, try to use icare to solve Riccati equation
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!