
Mechanical Engineering
Use System Modeler to model and simulate dynamics problems including mechanisms and machinery with kinematic, dynamic, and thermal behaviors. Study and solve vibration problems.
LEGO Segway: Controlling an Inverted Pendulum
To run this example, you'll need
The latest versions of System Modeler and Mathematica.
Please make a selection:
Get afree trial Continue
with download
Create Custom Libraries
Construct components for parts of the LEGO Segway using existing libraries.
Design Controller
Use Mathematica to find suitable controller gains to keep the Segway upright.
Linearize Model
Linearize the model around the upright stationary point.
Animate in 3D Automatically
View the 3D animation that is automatically generated from the model.
Wolfram System Modeler
Try
Buy
System Modeler is available in English
and Japanese
on Windows, macOS & Linux »
Questions? Comments? Contact a Wolfram expert »