https://123dok.com/document/dzxkw6oq-modelling-and-simulation-of-rotary-inverted-pendulum-design.html