Hostname: page-component-6766d58669-fx4k7 Total loading time: 0 Render date: 2026-05-14T10:50:38.902Z Has data issue: false hasContentIssue false

Multistage approach for trajectory optimization for a wheeled inverted pendulum passing under an obstacle

Published online by Cambridge University Press:  16 May 2023

Christian Zauner*
Affiliation:
Institute of Robotics, Johannes Kepler University Linz, 4040 Linz, Austria
Hubert Gattringer
Affiliation:
Institute of Robotics, Johannes Kepler University Linz, 4040 Linz, Austria
Andreas Müller
Affiliation:
Institute of Robotics, Johannes Kepler University Linz, 4040 Linz, Austria
*
*Corresponding author. E-mail: christian.zauner@jku.at
Rights & Permissions [Opens in a new window]

Abstract

A robotic system constructed as a wheeled inverted pendulum (WIP) serves as an impressive demonstrator, since this kind of system is inherently nonlinear, unstable, and nonminimum phase. These properties may pose several difficulties, when it comes to control and trajectory planning. This paper shows a method for deriving a highly dynamic trajectory compliant with the system dynamics by means of solving an optimal control problem (OCP) using multiple shooting. The assumed task includes that the WIP should pass a height-restricting barrier. This can be achieved by leaning back or forth, in order to reduce the overall height of the WIP. The constraints inherent to the definition of this trajectory are nonconvex due to the shape of the robot. The constraint functions have a local minimum in an infeasible region. This can cause problems when the initial guess is within this infeasible region. To overcome this, a multistage approach is proposed for this special OCP to evade the infeasible local minimum. After solving four stages of subsequent optimization problems, the optimal trajectory is obtained and can be used as feedforward for the real system.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Figure 1. Examplary trajectory with obstacle.

Figure 1

Figure 2. Wheeled inverted pendulum on two-dimensional ground surface.

Figure 2

Figure 3. Wheeled inverted pendulum with obstacle.

Figure 3

Figure 4. Premature termination: states over time.

Figure 4

Figure 5. Premature termination: cross section of head during motion.

Figure 5

Figure 6. WIP overall height.

Figure 6

Figure 7. Stage 1: cross section of head during motion.

Figure 7

Figure 8. Stage 2: cross section of head during motion.

Figure 8

Figure 9. Stage 2: detailed view of obstacle avoidance.

Figure 9

Figure 10. Stage 3: detailed view of obstacle avoidance.

Figure 10

Figure 11. Optimization result: states over time.

Figure 11

Figure 12. Optimization result: driving torque and angular velocity of the wheels and drive power over time with respect to the according limits (red).

Figure 12

Table I. Resulting terminal time and obstacle height.

Figure 13

Figure 13. Optimization result: ground reaction forces over time with respect to the limits (red).

Figure 14

Figure 14. Optimization result: cross section of head during motion.

Figure 15

Figure 15. Experimental setup: control loop.