junhengl/Cart_Pole_Simulink
Optimal Control Strategies on Cart-pole System in Simscape Multibody Simulation
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
Cart_Pole_Simulink
Optimal Control Strategies on Cart-pole System in Simscape Multibody Simulation
My video tutorials are available on Bilibili.com. (will add English subs asap)
Part 1: building cart-pole simulation with Simscape multibody library.
https://www.bilibili.com/video/BV19M4y1E799/?spm_id_from=333.999.0.0
Part 2: deriving cart-pole dynamics, linearization, and LQR control implementation.
https://www.bilibili.com/video/BV1AF411R7T6/?spm_id_from=333.999.0.0
Part 3: implementing full dynamics Nonlinear MPC in matlab for cart-pole system with CasADi.
https://www.bilibili.com/video/BV1gu411j7ZV/?spm_id_from=333.999.0.0
Part 4: learning a regression model for NMPC via LSTM neural network in matlab.
https://www.bilibili.com/video/BV1UV4y1478M/?spm_id_from=333.999.0.0
Simulation Guide
- Download all files in this repo
- Download CasADi Library for Matlab, for your system
- In Matlab, add files from step 1&2 to path, including subfolders
- Open Cart_Pole.slx, this is main simulation
- Open and run startUp.m
- Configure your controller in startUp and simulink model and run the simulation.
Similar Projects
Discover other similar projects and AI models.
iterative Linear Quadratic Regulator with support for constraints on input and state variables via barrier functions—Numba-accelerated.
An automatic code generator for nonlinear model predictive control (NMPC) and the continuation/GMRES method (C/GMRES) based numerical solvers for NMPC
Quadcopter with multibody, electrical and thermal models follows a path to deliver a package.
Tensors and Dynamic neural networks in Python with strong GPU acceleration
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
An awesome list of helpful resources for students learning MATLAB & Simulink. List includes tips & tricks, tutorials, videos, cheat sheets, and opportunities to learn MATLAB & Simulink.
Run reduced-order battery, thermal, converter and BESS control models with transparent equations and repeatable testing.