
control. Even if such a system exists, there is a lack of
documented successful implementations of swing-up
control in academic literature.
Building on the research laboratory’s extensive
experience in developing various inverted pendulum
systems over many years, the authors aim to solve
the problem by constructing a physical system them-
selves, instead of purchasing a commercially avail-
able rotary inverted pendulum. The most critical ob-
jective in this process is to ensure that the arm of the
rotary inverted pendulum can rotate infinitely, a char-
acteristic feature of the system. To address this, previ-
ous research successfully utilized a slip ring structure
to overcome the rotational displacement constraints
and perform swing-up control(Oh and Lee, 2018).
Building on this experience, the authors’ research lab-
oratory seeks to directly construct a rotary double in-
verted pendulum and implement swing-up control us-
ing the physical system.
In the case of a single-link inverted pendulum sys-
tem, there is only one type of swing-up problem. This
involves moving from the stable equilibrium point
where the pendulum hangs downward to the unstable
equilibrium point in the upright position. However,
when the pendulum has two links, there are two addi-
tional unstable equilibrium points determined by the
angles of each link. These are in addition to the sta-
ble equilibrium points where both links point down-
ward and the unstable equilibrium points where both
links are upright. This introduces not only the simple
swing-up problem but also a newly defined ‘transition
control’ problem between these equilibrium points.
The transitions between the four equilibrium points
created by the two links result in 11 different types of
transitions, excluding the traditional swing-up. This
paper experimentally addresses all 12 transition con-
trols, including swing-up control.
The transition control among the four equilib-
rium points of the rotary double inverted pendulum
used in the experiments can be designed by refer-
encing the swing-up control strategy of the linear in-
verted pendulum. In 2007, Graichen effectively ad-
dressed the swing-up control problem by introducing
a two-degree-of-freedom (2-DOF) control structure
that combines feedforward and feedback control, tak-
ing into account the rail length constraints of the lin-
ear double inverted pendulum(Graichen et al., 2007).
The basic concept of the 2-DOF control structure used
by Graichen involves using the dynamic equations of
the multi-link inverted pendulum to calculate the state
and control input trajectories offline that lead the pen-
dulum to an upright position. The calculated feed-
forward trajectory is then applied to guide the pendu-
lum to the upright state. During the operation of the
system, the difference between the actual trajectory
and the calculated feedforward trajectory is corrected
through feedback control. This ensures successful
swing-up by closely following the feedforward tra-
jectory. Based on this study, the present paper uses
the direct collocation method(Kelly, 2017) to numer-
ically solve the nonlinear optimal control problem to
find the feedforward trajectory for the rotary double
inverted pendulum. The feedback controller design
follows a similar approach to Graichen’s method and
employs Linear Quadratic(LQ) control, an optimal
control technique for time-varying systems. Unlike
Graichen’s method, which assumes a specific form for
the trajectory, the direct collocation method imposes
no constraints on the trajectory shape, increasing the
likelihood of finding a numerical solution for the tra-
jectory.
This paper aims to implement all 12 types of tran-
sition control using the physical rotary double in-
verted pendulum system. In Chapter 2, we first derive
the dynamic equations of the system using the Euler-
Lagrange equations based on the structural character-
istics of the rotary double inverted pendulum used in
the experiments. Chapter 3 defines each equilibrium
point and transition control problem and proposes a
method to obtain the feedforward trajectory using the
direct collocation method, which numerically solves
the nonlinear optimal problem. In Chapter 4, we per-
form the 12 transition control experiments using a 2-
DOF controller designed with time-varying LQ con-
trol. Finally, in Chapter 5, we analyze the results to
verify the effectiveness of the proposed method.
2 MATHEMATICAL MODEL OF
THE ROTARY DOUBLE
INVERTED PENDULUM
The rotary double inverted pendulum used in this pa-
per is shown in Figure 1, and Figure 2 illustrates the
mechanical concept of the system.
The unit system used in this paper is the Interna-
tional System of Units (SI), and all variables and pa-
rameters are defined accordingly. Here, θ represents
the rotational displacement from the initial position of
the arm, and u denotes the angular acceleration of the
arm. R
1
is the distance between the arm and the first
pendulum, while r
1
and r
2
represent the x-axis direc-
tional distances from the arm to the center of mass of
the first and second pendulums, respectively. M
1
and
M
2
are the masses of the first and second pendulums,
l
1
and l
2
are the lengths from the rotational axis to the
center of mass of each pendulum, and L
1
is the length
Implementation of 12 Transition Controls for Rotary Double Inverted Pendulum Using Direct Collocation
93