Defining a Controller for the Segway in Matlab
The Segway can be represented as an inverted pendulum on a cart. The inverted pendulum on a cart is a time-invariant non-linear system whose equations are determined…
https://www.electronics-engineering.com/en/defining-a-controller-for-an-inverted-pendulum-on-a-cart/

The Segway can be represented as an inverted pendulum on a cart.
The inverted pendulum on a cart is a time-invariant non-linear system whose equations are determined by applying the laws of physics, as explained in this video.
This system is represented as a State Space system and linearised around the equilibrium point (vertical pendulum).
Next it is explained clearly how to use the Matlab tools to assess the controllability of the system and then to define the constants of the controller, also taking into account the speed of the system and therefore the jerk, by applying LQR.






Benvenuti nella pagina su «definire un controllore per il segway in Matlab». L'ho scritta pensando a chi studia ingegneria elettronica: se un passaggio non vi torna, un esercizio vi dà un risultato diverso o volete altro materiale sull'argomento, chiedete pure nei commenti e vi risponderò. Un voto con le stelle qui sopra mi aiuta a capire quali pagine migliorare.