image thumbnail

Programmable linear-quadratic regulator

version (39.7 KB) by Bartlomiej Ufnalski
A feedforward neural network is used to adjust LQR gains in the case of non-stationary state matrix.


Updated Thu, 02 Oct 2014 18:55:16 +0000

View License

This model demonstrates that the LQR design approach can be effectively used also for plants characterized by a non-stationary state matrix. A set of controllers is designed for different working points and an FFNN is employed to store this knowledge. The gain matrix K is then adjusted on the fly if the state matrix A changes. In the case of induction motor some entries of the state matrix A are functions of e.g. the stator flux space vector angular velocity and the slip angular velocity of the rotor. More details can be found in Neural-Network-based Programmable State Feedback Controller for Induction Motor Drive ( It is also advisable to get familiar with LQR basics prior to playing with this model. See e.g. .

Cite As

Bartlomiej Ufnalski (2022). Programmable linear-quadratic regulator (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!