Cart Pendulum: Difference between revisions
Appearance
RobertLampel (talk | contribs) |
RobertLampel (talk | contribs) |
||
| Line 38: | Line 38: | ||
! Symbol !! Value !! Description | ! Symbol !! Value !! Description | ||
|- | |- | ||
| align=center | <math>\alpha</math> || align=right | | | align=center | <math>\alpha</math> || align=right | 10 || Objective coefficient for <math>x</math> | ||
|- | |- | ||
| align=center | <math> | | align=center | <math>\beta</math> || align=right | 50 || Objective coefficient for <math>\theta</math> | ||
|- | |- | ||
| align=center | <math> | | align=center | <math>\gamma</math> || align=right | 0.5 || Objective coefficient for <math>u</math> | ||
|- | |- | ||
| align=center | <math> | | align=center | <math>t_\mathrm{f}</math> || align=right | 4 || Horizon of the control problem | ||
|- | |- | ||
| align=center | <math> | | align=center | <math>M</math> || align=right | 1 || Weight of the cart | ||
|- | |- | ||
| align=center | <math> | | align=center | <math>m</math> || align=right | 0.1 || Weight of the pendulum | ||
|- | |- | ||
| align=center | <math> | | align=center | <math>g</math> || align=right | 9.81 || Gravitational acceleration | ||
|} | |} | ||
Revision as of 08:47, 3 February 2026
| Cart Pendulum | |
|---|---|
| State dimension: | 1 |
| Differential states: | 3 |
| Discrete control functions: | 2 |
The Cart Pendulum problem concerns a pendulum hinged to a mobile cart. The control objective is to transition the pendulum from a downward position to a stabilized, inverted state above the cart. In this formulation, the objective function is defined by a composite of least-squares terms.
The implementation here is taken from [1]. Its dynamics are given by a four-dimensional ODE model.
Mathematical formulation
Parameters
These fixed values are used within the model:
| Symbol | Value | Description |
|---|---|---|
| 10 | Objective coefficient for | |
| 50 | Objective coefficient for | |
| 0.5 | Objective coefficient for | |
| 4 | Horizon of the control problem | |
| 1 | Weight of the cart | |
| 0.1 | Weight of the pendulum | |
| 9.81 | Gravitational acceleration |
Reference Solutions
Here is one local solution to the above control problem.
- Reference solution plots
-
States and discretized control for a local optimum. The free end time was modeled using the additional control .
Miscellaneous and Further Reading
This formulation and a detailed description can be found in [1].
References
[1] Multidisciplinary Optimal Control Library: https://openmdao.org/dymos/docs/latest/examples/moon_landing/moon_landing.html