File Exchange

image thumbnail

Lyapunov Nonlinear Control GUI

version 1.20.0.0 (72.7 KB) by Andy Zelenak
This GUI can simulate and regulate a nonlinear dynamic system.

8 Downloads

Updated 09 Aug 2016

GitHub view license on GitHub

To run the program, navigate to the root folder in MATLAB and type 'launch' at the command line. The default simulation controls seven motors with different inertia, friction, and back-emf parameters.
It's a powerful control algorithm for linear and nonlinear systems where a model is known. For best performance, run it with a small timestep and a very negative controller aggressiveness.

Background: Zelenak & Pryor, 2015, "Stabilization of Nonlinear Systems by Switched Lyapunov Function"

Comments and Ratings (2)

Xinghuai

Xinghuai

Updates

1.20.0.0

Adding reference.

1.20.0.0

Optional low-pass filter on the control effort.

1.19.0.0

Changed the unit on aggressiveness to dB.

1.19.0.0

Deleted the adaptation option (never finished it) and changed the V2 calculation. Performance is better now.

1.18.0.0

Went back to vectorized equations because the slightly-easier-to-use format wasn't worth the performance loss. Also, a more impressive example.

1.18.0.0

Added two tuning parameters that help with difficult systems such as integrators. Also eliminated vectorizing for the dynamic equations because it was confusing for new users (albeit faster).

1.17.0.0

Updating description- File Exchange overwrote it when I switched to GitHub.

1.16.0.0

Changed hosting to GitHub so others can contribute.

1.15.0.0

Added a reference to the ROS implementation.

1.14.0.0

Updated GUI dialog boxes and allowed a more flexible array of saturation limits.

1.13.0.0

Fixed an initial condition error that was revealed by the previous update and added a more impressive default example.

1.12.0.0

Updated the picture

1.11.0.0

Added another plot that is useful for visualizing higher-order problems (up to 7th order).

1.10.0.0

Simplified the code to improve processing time by ~5%. Working on the C++ version for ROS now.

1.9.0.0

Removed dependency on the image processing toolbox and updated to R2014b.

1.8.0.0

Fixed plotting bug for 1st order systems.

1.7.0.0

Minor changes to plotting and a more impressive example.

1.6.0.0

Fixed an error where it was basically plotting the results I expected. Derp. Sorry if that confused anybody.

1.5.0.0

The controller can now track a user-defined, time-varying function. The default example tracks a unit circle with a 2nd-order system.

1.4.0.0

Big change this week! The user can specify any setpoint and the software will regulate the system to that setpoint.

1.3.0.0

Changed to a different Alternative Lyapunov Function and fixed a vector dimension mismatch for >1 inputs.

1.2.0.0

Removed some directories from the search path because they will be automatically added by my code.

1.1.0.0

Updated the description to include launch directions.

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