1. Introduction
Traditional parallel platforms are usually closed mechanisms composed of static platforms, multiple kinematic chains, and rigid mobile platforms [Reference Mishra and Kumar1–Reference Wang and Wang3]. The closure mechanism employs multiple kinematic chains for simultaneous control, resulting in high precision and excellent stability [Reference Slavutin, Sheffer, Shai and Reich4–Reference Geronel, de Oliveira, Rodrigues and da Silva7]. The parallel platform has been widely used in aerospace, medical, and military fields owing to its high accuracy, strong real-time target-tracking ability, large bearing capacity, and compact mechanism [Reference Peng, Du, Che and Jin8–Reference Shao, Wang, Yang and Liu14]. The parallel platform must solve the two key problems of a large workspace and a high-precision tracking mechanism. In recent years, many scholars have achieved significant progress in the topology synthesis, kinematics, and mechanism design of parallel platforms [Reference Xie, Liu and Wang15–Reference Yu, Bl, Wx and Xw21].
Generally, the static platform of the parallel platform does not move, but the mobile platform does; therefore, its workspace is relatively small. In addition, at the edge where the kinematic chain connects the static and mobile platforms, the overall stiffness of the parallel platform is relatively small, and motion coupling occurs between multiple kinematic chains. Kinematics and dynamics modeling is complex, and singular solutions exist [Reference Liu, Mao, Yang, Li and Yang22–Reference Lee, Song, Choi and Hong26]. This paper proposes a novel series–parallel stable platform. The series mechanism achieves the rotation of the static platform and increases its working space. Moreover, one of the rigid hinges is supported at the center of the static and mobile platforms, which increases the overall stiffness of the stable platform.
When the parallel platform is used because there are many motion branches, the control system must process multiple branch chain motions simultaneously, and good real-time performance is difficult to achieve [Reference Ono, Eto, Yamakawa and “Murakami.27–Reference Wu, Yu, Gao and Wang33]. A finite automatic state machine is a mathematical model composed of finite states and events, conditions, transitions, and actions between states; it is used to express the logic of time sequence processing. The modeling and simulation of a complex logic system using Stateflow can visualize the entire workflow and intuitively reflect the dynamic logic relationship; the control system has a high processing speed and a relatively simple algorithm. To improve the real-time performance and signal tracking accuracy of the control system and simplify the control algorithm, this paper proposes a state-machine-based platform control system. This mechanism and system will primarily be utilized for stabilizing platforms in vehicles or ships, ensuring the horizontal stability of radar or lighting systems.
The rest of this paper is organized as follows: The second part is the design and analysis of series–parallel stable platform. In the third part, kinematics and dynamics models of the platform are established, and the accuracy of forward and inverse kinematics is verified by simulation experiments. In the fourth part, the dynamic model of the platform is established to determine the relationship between the output forces of the two push rods. In the fifth part, the singularity and interference of the platform are analyzed, and the workspace of the platform is determined. In the sixth part, the platform control system based on the state machine is established, the system workflow and experimental environment are designed, and the position speed double closed loop experiment, simulating the mounting carrier of the random signal tracking experiment and the system comprehensive performance experiment, is carried out. Finally, the conclusions are summarized in Section 7.
2. Design and analysis of series–parallel stable platform
A stable platform is designed to isolate the rolling and pitching motions of the mounting carrier, maintain the stable state of the platform load relative to the earth, and have the function of rotation. Therefore, the design of the stable platform requires three rotational degrees of freedom, corresponding to the pitch degrees of freedom of the mounting carrier rolling and pitching motions and the azimuth adjustment mechanism.
2.1. Design scheme of series–parallel stable platform
The series–parallel three-degree-of-freedom stable platform is achieved using a two-degree-of-freedom parallel platform with a passive chain that can rotate around two orthogonal axes and a pair of gear-driven azimuth mechanisms in series. The three degrees of freedom of the stable platform can be described as pitch, roll, and azimuth. The pitch and roll are designed and implemented based on a two-degree-of-freedom parallel mechanism with a passive chain, which achieves the function of isolating the mounting carrier roll and pitch motions. The azimuth motor rotates a gear drive to adjust the azimuth angle. Azimuth rotation drives the rotation of the entire parallel platform, achieving the function of azimuth adjustment according to different azimuth angles. Based on the functional requirements of practical applications, a series–parallel three-degree-of-freedom stable platform is designed herein. Its principle is shown in Figure 1, and the prototype designed according to this principle is shown in Figure 2.
Schematic of the series–parallel stable platform.

The prototype of the series–parallel stable platform.

2.2. Analysis of azimuth mechanism
For any point on the moving platform, its motion is the superposition of pitch and roll motion, as shown in Figure 3. Let the mounting carrier roll angle be
$\alpha$
, the mounting carrier pitch angle be β, angle
$\angle AOP=\gamma , \| OP\| =r$
, and angle
$\angle P'OP=\psi$
.
Transformation of azimuth motion coordinates.

The direction of the actual ψ is related to the symbol of the projection
$P_{z}'$
of
$P'$
in the z direction, that is,
$P_{z}'$
is timing, and ψ is positive; when
$P_{z}'$
is zero, ψ is zero; when
$P_{z}'$
is negative, ψ is negative. Therefore, the relationship between α, β, γ, and ψ can be obtained as
\begin{align} \left\{\begin{array}{l} P'=\left[\begin{array}{l@{\quad}l@{\quad}l} \mathrm{c}\alpha & 0 & s\alpha \\ 0 & 1 & 0\\ -s\alpha & 0 & c\alpha \end{array}\right]\left[\begin{array}{l@{\quad}l@{\quad}l} 1 & 0 & 0\\ 0 & c\beta & -s\beta \\ 0 & s\beta & c\beta \end{array}\right]\left[\begin{array}{l} rc\gamma \\ rs\gamma \\ 0 \end{array}\right]\\[20pt] \psi =\arccos \left(a+b+c\right)\mathrm{sgn}\left(d-e\right) \end{array}\right. \end{align}
where
$a=\cos ^{2}\gamma \cos \alpha , b=\mathit{\cos }\mathit{\gamma }\mathit{\sin }\mathit{\gamma }\sin \alpha \sin \beta$
,
$c=\sin ^{2}\gamma \cos \beta , d=\mathit{\sin }\mathit{\gamma }\cos \alpha \sin \beta$
, and
$e=\cos \gamma \sin \alpha$
.
2.3. Analysis of parallel mechanism
The parallel platform consists of branches RPS, UPS, and U of the passive chain. The center of the ball joint connecting branch RPS to the moving platform is A
1, and the center of the rotating pair connecting the branch to the lower platform is B
1. The center of the ball joint connecting branch UPS to the moving platform is A
2, and the center of the rotating pair connecting the branch to the lower platform is B
2. The coordinate system
$O'-uvw$
is established on the upper platform. The origin
$O'$
is the center of the U branch of the Hooke hinge. The u axis is collinear with
$O'A_{1}$
, the v axis is collinear with
$O'A_{2}$
, and the w axis is collinear with
$O'O$
. The direction of each coordinate axis is shown in Figure 4. The coordinate system
$O'-uvw$
is established on the lower platform. Origin O is the projection of point
$O'$
on the lower platform, the x axis is collinear with
$OB_{1}$
, the y axis is collinear with OB2, and the z axis is collinear with
$O'O$
. Coordinate system
$O-xyz$
is parallel to coordinate system
$O'-uvw$
, and each coordinate axis point is shown in Figure 4. During analysis,
$O'-uvw$
is a moving coordinate system, and
$O-xyz$
is a fixed coordinate system.
Schematic of the parallel platform.

Any vector
$q_{\mathrm{uvw}}$
in
$O'-uvw$
is converted to
$O-xyz$
as
$q_{\mathrm{xyz}}$
using a homogeneous transformation matrix
T
tran:
where
${\boldsymbol{T}}_{\text{tran}}$
is
\begin{equation} {\boldsymbol{T}}_{\text{tran}}=\left[\begin{array}{l@{\quad}l@{\quad}l@{\quad}l} t_{11} & t_{12} & t_{13} & t_{14}\\ t_{21} & t_{22} & t_{23} & t_{24}\\ t_{31} & t_{32} & t_{33} & t_{34}\\ t_{41} & t_{42} & t_{43} & t_{44} \end{array}\right]=\left[\begin{array}{l@{\quad}l} {\boldsymbol{R}}_{3\times 3} & {\boldsymbol{P}}_{3\times 1}\\ {\boldsymbol{O}}_{1\times 3} & {\boldsymbol{I}}_{1\times 3} \end{array}\right] \end{equation}
where R 3 × 3 is the rotation matrix, P 3 × 1 is the position vector matrix, O 1 × 3 is the zero matrix, and I 1 × 1 is the identity matrix.
The roll electric push rod of the parallel platform drives the moving platform to rotate around axis u (roll direction), and the pitch electric push rod drives the moving platform to rotate around axis v (pitch direction). The height of
$O'O$
is set as h, the mounting carrier pitch angle as β, and the roll angle as
$\alpha$
; the platform rotates θ around the v axis (pitch direction),
$\phi$
around the u axis (roll direction), and γ around the w axis (azimuth direction) with the azimuth mechanism; if c = cos, s = sin, then the rotation matrix
R
3 × 3 is
\begin{equation} {\boldsymbol{R}}_{3\times 3}={\boldsymbol{R}}_{w,\gamma }{\boldsymbol{R}}_{v,\theta }{\boldsymbol{R}}_{u,\phi }=\left[\begin{array}{l@{\quad}l@{\quad}l} c\gamma c\theta & -s\gamma c\phi +\mathit{c}\mathit{\gamma }s\theta s\phi & s\gamma s\phi +\mathit{c}\mathit{\gamma }s\theta c\phi \\ s\gamma c\theta & c\gamma c\phi +\mathit{s}\mathit{\gamma }s\theta s\phi & -c\gamma s\phi +\mathit{s}\mathit{\gamma }s\theta c\phi \\ -s\theta & c\theta s\phi & c\theta c\phi \end{array}\right] \end{equation}
The position vector matrix P 3 × 1 is
That is, the transfer matrix T tran is
\begin{equation} {\boldsymbol{T}}_{\text{tran}}=\left[\begin{array}{l@{\quad}l@{\quad}l@{\quad}l} c\gamma c\theta & -s\gamma c\phi +\mathit{c}\mathit{\gamma }s\theta s\phi & s\gamma s\phi +\mathit{c}\mathit{\gamma }s\theta c\phi & 0\\ s\gamma c\theta & c\gamma c\phi +\mathit{s}\mathit{\gamma }s\theta s\phi & -c\gamma s\phi +\mathit{s}\mathit{\gamma }s\theta c\phi & 0\\ -s\theta & c\theta s\phi & c\theta c\phi & h\\ 0 & 0 & 0 & 1 \end{array}\right] \end{equation}
3. Kinematics and dynamics modeling analysis
The kinematics of the series–parallel stable platform is divided into the following two basic problems: one is to solve the output angle of the moving platform when the telescopic displacement of the electric push rod is known, which is called the forward kinematics problem. The other is to determine the output angle of the moving platform to solve the telescopic displacement of the electric push rod, which is called the inverse kinematics problem.
3.1. Inverse kinematics model
Assume that the basic length of the electric push rod is l=h; under the moving coordinate system
$O'-uvw$
, the intersection point of the spherical joint and moving platform is
A
1, the coordinates of
A
2 are represented by matrix
A
, the fixed coordinate system
$O-xyz$
represents the lower platform point
B
1, and the coordinates of B
2 are represented by matrix
B
.
\begin{equation} {\boldsymbol{A}}=\left[\begin{array}{l@{\quad}l} r & 0\\ 0 & r\\ 0 & 0 \end{array}\right] {\boldsymbol{B}}=\left[\begin{array}{l@{\quad}l} r & 0\\ 0 & r\\ 0 & 0 \end{array}\right] \end{equation}
The moving platform points are set as
A
1 and
A
2, which are points
$A_{1}^{'}$
and
$A_{2}^{'}$
after passing the motion, respectively; the coordinates of
$A_{2}^{'}$
under the calibration system
$O-xyz$
are expressed by matrix
q
; thus,
q
; is
\begin{equation} {\boldsymbol{q}}={\boldsymbol{R}}_{3\times 3}\cdot {\boldsymbol{A}}+{\boldsymbol{P}}=\left[\begin{array}{l@{\quad}l} \mathit{rc}\gamma c\theta & -\mathit{rs}\gamma c\phi +\mathit{rc}\mathit{\gamma }s\theta s\phi \\ \mathit{rs}\gamma c\theta & \mathit{rc}\gamma c\phi +\mathit{s}\mathit{\gamma }s\theta s\phi \\ h-rs\theta & h+\mathit{rc}\theta s\phi \end{array}\right] \end{equation}
After the azimuth mechanism rotates γ,
B
1 and
B
2 are transformed into
${B_{1}}^{'}$
and
${B_{2}}^{'}$
, respectively, under
$O'-xyz$
.
\begin{equation} {\boldsymbol{B}}'_{i}=\Bigg[ \begin{array}{l@{\quad}l} rc\gamma & -rs\gamma \\ rs\gamma & rc\gamma \\ 0 & 0 \end{array}\Bigg] \end{equation}
If the actual rod length
$l=\| \overset{\rightarrow }{B'_{i}{A_{i}}^{'}}\|$
(
$i=1,2$
),
$\overset{\rightarrow }{{B_{i}}^{'}{A_{i}}^{'}}=q_{i}-B'_{i}$
(
$i=1,2$
), then
$\overset{\rightarrow }{{B_{i}}^{'}{A_{i}}^{'}}$
is
\begin{equation} \overset{\rightarrow }{B_{i}A_{i}}= \left[\begin{array}{l@{\quad}l} rc\gamma (c\theta -1) & -rs\gamma (c\phi -1)+\mathit{rc}\mathit{\gamma }s\theta s\phi \\ rs\gamma (c\theta -1) & rc\gamma (c\phi -1)+\mathit{s}\mathit{\gamma }s\theta s\phi \\ h-rs\theta & h+\mathit{rc}\theta s\phi \end{array} \right] \end{equation}
The actual rod lengths l 1 and l 2 respectively are
The change in the pitch and roll electric push rod is expressed as
$\delta l_{1}$
,
$\delta l_{2}$
,
$\delta l_{i}=l_{i}-l$
(
$i=1,2$
). The relationship with the rotation angle of the parallel platform is
3.2. Forward kinematics model
For the forward kinematics of the series–parallel stable platform, the extension and contraction amount
$\delta l_{i}=l_{i}-l$
(
$i=1,2$
) of the electric push rod is known, and the output value of the platform pose angle is solved, that is, pitch angle θ and roll angle ϕ of the parallel platform. It can be seen from Eq. (11) that the rod length l
1 is a function of pitch angle θ, independent of roll angle
$\phi$
and azimuth angle γ. It can be obtained by simplifying the squares of both sides.
Let
$k_{1}=\frac{h}{r} , w_{1}=\frac{2r^{2}+h^{2}-{l_{1}}^{2}}{2r^{2}}$
(k1 and w1 are constants); the following is obtained:
Let
$t_{1}=\tan \frac{\theta }{2}$
, then
$s\theta =\frac{2t_{1}}{1+t_{1}^{2}} , c\theta =\frac{1-t_{1}^{2}}{1+t_{1}^{2}}$
; Eq. (16) can be simplified as
Solving Eq. (17),
$t_{1}$
has two solutions obtained from Eq. (18). When the expansion and contraction amount of electric pushrod 1 is
$\delta l_{1}=0 , l_{1}=h , w_{1}=1$
, that is,
$\theta =0 , t_{1}=\tan \frac{\theta }{2}=0$
, the following can be obtained
Therefore,
\begin{equation}\theta=2\arctan\left(\frac{k_1-\sqrt{k_1^2-w_1^2+1}}{w_1+1}\right)\end{equation}
where
$l_1 = {\delta}{l_1}+h $
, and
$\delta l_{1}$
is the telescopic displacement of electric push rod 1.
Eq. (12) indicates that the rod length l
2 is a function of θ and
$\phi$
, independent of γ, and the squares of both sides are reduced to
Let
$k_{2}=\frac{h}{r}c\theta , w_{2}=\frac{2r^{2}+h^{2}-{l_{2}}^{2}}{2r^{2}}$
(
$k_{2}$
is a function of θ, and w
1 is a constant); thus,
\begin{align} \phi =2\arctan \left(\frac{-k_{2}+\sqrt{k_{2}^{2}-w_{2}^{2}+1}}{w_{2}+1}\right) \\[8pt] \nonumber \end{align}
where
$l_{2}=\delta l_{2}+h$
, and
$\delta l_{2}$
is the telescopic displacement of electric push rod 2.
3.3. Velocity and acceleration analysis
To isolate the rolling and pitching motions of the mounting carrier, the extension distance of the electric push rod should be
$\delta l_{i}=l_{i}-l$
(
$i=1,2$
) to ensure that the upper platform is horizontal with respect to the geodetic coordinate. The moving speed
$v_{i}$
(
$i=1,2$
) of the electric push rod can be obtained from the derivative of the actual rod length
$l_{i}$
with respect to time:
From Eqs. (11) and (12), the velocity matrix can be obtained:
\begin{equation} \left[\begin{array}{l} v_{1}\\ v_{2} \end{array}\right]=\left[\begin{array}{l} \dfrac{dl_{1}}{dt}\\[8pt] \dfrac{dl_{2}}{dt} \end{array}\right]=\left[\begin{array}{l} \dfrac{dl_{1}}{d\theta }\dfrac{d\theta }{dt}+\dfrac{dl_{1}}{d\phi }\dfrac{d\phi }{dt}\\[8pt] \dfrac{dl_{2}}{d\theta }\dfrac{d\theta }{dt}+\dfrac{dl_{2}}{d\phi }\dfrac{d\phi }{dt} \end{array}\right]=\left[\begin{array}{l@{\quad}l} \dfrac{dl_{1}}{d\theta } & \dfrac{dl_{1}}{d\phi }\\[8pt] \dfrac{dl_{2}}{d\theta } & \dfrac{dl_{2}}{d\phi } \end{array}\right]\left[\begin{array}{l} \dfrac{d\theta }{dt}\\[8pt] \dfrac{d\phi }{dt} \end{array}\right] \end{equation}
It is recorded as
${\boldsymbol{v}}={\boldsymbol{J}}{\boldsymbol{q}}'$
, where v is the velocity matrix of the electric push rod,
J
is the velocity Jacobian matrix, and
${\boldsymbol{q}}'$
is the motion speed matrix of the parallel platform.
J
is
\begin{align} {\boldsymbol{J}}=\left[\begin{array}{l@{\quad}l} \dfrac{dl_{1}}{d\theta } & \dfrac{dl_{1}}{d\phi }\\[8pt] \dfrac{dl_{2}}{d\theta } & \dfrac{dl_{2}}{d\phi } \end{array}\right]=\left[\begin{array}{ll} \dfrac{1}{l_{1}}\left(r^{2}s\theta -hrc\theta \right) &\quad 0\\[8pt] -\dfrac{\mathit{hrs}\theta s\phi }{l_{2}} & \dfrac{1}{l_{2}}\left(\mathit{hrc}\theta c\phi +r^{2}s\phi \right) \end{array}\right] \end{align}
The moving acceleration a i (i = 1,2) of the electric push rod can be derived from the derivative of the moving speed v i with respect to time.
Therefore, the acceleration matrix a is
\begin{align} {\boldsymbol{a}}=\left[\begin{array}{l} a_{1}\\[8pt] a_{2} \end{array}\right]={\boldsymbol{A}}\left[\begin{array}{l} \dfrac{d\theta }{dt}\\[8pt] \dfrac{d\phi }{dt} \end{array}\right]+{\boldsymbol{J}}\left[\begin{array}{l} \dfrac{d^{2}\theta }{dt^{2}}\\[8pt] \dfrac{d^{2}\phi }{dt^{2}} \end{array}\right] \\[8pt] \nonumber \end{align}
4. Dynamic modeling of series–parallel stable platform
The dynamic analysis of the series–parallel stable platform mainly studies the relationship between the motion and force of the stable platform. The dynamic characteristics of the platform can achieve structural optimization design and help to develop high-precision control methods. Therefore, dynamic modeling and simulation analysis are extremely important. In this paper, the main task of the dynamic analysis of the stable platform is to solve the change of the driving force of the electric push rod output from the motion output of the moving platform. The dynamic model of the parallel platform is established based on the Lagrangian dynamic equation.
The basic expression of the second kind of Lagrangian dynamic equation is
where L is a Lagrangian function, E is the system kinetic energy, U is the system potential energy, L = E-U, qi is the ith generalized coordinate,
$\dot{q}_{i}$
is the first derivative of the ith generalized coordinate, and
$Q_{i}$
is the generalized force or generalized moment of the ith generalized coordinate.
To solve the Lagrangian function, E and U must be solved under the generalized coordinates; that is, the functional expression about
$\dot{q}_{i}$
must be obtained. The system kinetic energy primarily includes the kinetic energy of the cylinder block, push rod, moving platform, and stable platform load, and the system potential energy primarily includes the potential energy of the push rod and stable platform load.
Figures 5(a) show that the mass of the cylinder block, push rod, moving platform, and load are set as m
1, m
2, m
p, and m
f, respectively; the center of mass of the cylinder block is set as z
i; the distance from the moving pair B
i is set as e
1; the center of mass of the push rod as p
i; and the distance from the spherical hinge A
i as e
2. The generalized coordinates
${\boldsymbol{q}}=[\begin{array}{ll} \delta l_{1} & \delta l_{2} \end{array}]^{T} , \dot{{\boldsymbol{q}}}=[\begin{array}{ll} \delta \dot{l}_{1} & \delta \dot{l}_{2} \end{array}]^{T}$
are selected.
Schematic diagram: (a) branch chain mechanism and (b) Rotating of moving platform.

4.1. System kinetic energy
-
1) Kinetic energy of the cylinder block
The main movement of the cylinder block is to rotate around the rotating shaft of the rotating pair with the movement of the electric push rod, without linear movement; therefore, the rotational kinetic energy of the cylinder block when rotating around the shaft is
where
$\boldsymbol{\omega }_{1}=[\begin{array}{ll} \omega _{11} & \omega _{12} \end{array}]^{T} , \omega _{11}$
and
$\omega _{12}$
are the rotational angular speeds of the cylinder blocks of branch chains 1 and 2, respectively,
${\boldsymbol{I}}_{1}=\left[\begin{array}{ll} {\boldsymbol{I}}_{11} & \\ & {\boldsymbol{I}}_{12} \end{array}\right] , {\boldsymbol{I}}_{11}$
and
${\boldsymbol{I}}_{12}$
are the rotational inertias of the cylinder blocks, respectively, and
${\boldsymbol{I}}_{11}={\boldsymbol{I}}_{12}$
.
The rotating speed of the moving platform is shown in Figure 5(b). If the rotating speed of the cylinder block is w
1 and the rotating speed of the moving platform is
$\omega _{p}$
, then
$\overset{\rightarrow }{v}_{\mathrm{r}}$
is
Because
$\| \overset{\rightarrow}{{v}_{\mathrm{r}}}\| ^{2}=\| \overset{\rightarrow}{{v}_{\mathrm{t}}}\| ^{2}+\| \overset{\rightarrow}{{v}_{\mathrm{s}}}\| ^{2}$
, and
$\| \overset{\rightarrow }{{v}_{\mathrm{t}}}\| =\delta \dot{l}$
, then
Given
$\dot{{\boldsymbol{q}}}={\boldsymbol{J}}\cdot \dot{\boldsymbol{\theta }}$
(
$\dot{{\boldsymbol{q}}}=[\begin{array}{ll} \delta \dot{l}_{1} & \delta \dot{l}_{2} \end{array}]^{T}$
);, that is,
$\dot{\boldsymbol{\theta }}={\boldsymbol{J}}^{-1}\dot{{\boldsymbol{q}}}$
\begin{equation} \boldsymbol{\omega }_{1}=\sqrt{\frac{\left(\dot{\boldsymbol{\theta }}\cdot r\right)^{2}-\left(\delta \dot{l}\right)^{2}}{\left(l+\delta l\right)^{2}}}=\sqrt{\frac{\left({\boldsymbol{J}}^{-1}\dot{{\boldsymbol{q}}}\cdot r\right)^{2}-\left(\dot{q}\right)^{2}}{\left(l+\delta l\right)^{2}}}=\frac{\sqrt{\left({\boldsymbol{J}}^{-1}\cdot r\right)^{2}-I_{2\times 2}}}{l+\delta l}\dot{{\boldsymbol{q}}}={\boldsymbol{J}}_{1}\dot{{\boldsymbol{q}}} \end{equation}
Substituting Eq. (36) into
${\boldsymbol{E}}_{1}=\frac{1}{2}\boldsymbol{\omega }_{1}^{T}{\boldsymbol{I}}_{1}\boldsymbol{\omega }_{1}$
,
where
${\boldsymbol{M}}'_{1}={\boldsymbol{J}}_{1}^{T}{\boldsymbol{I}}_{1}{\boldsymbol{J}}_{1} , {\boldsymbol{J}}_{1}=\frac{\sqrt{\left({\boldsymbol{J}}^{-1}\cdot r\right)^{2}-{\boldsymbol{I}}_{2\times 2}}}{l+\delta l}$
.
-
2) Kinetic energy of the push rod
When the electric push rod moves, on the one hand, it moves in a straight line. On the other hand, it follows the moving platform to rotate around the rotating shaft of the rotating pair. The kinetic energy of the push rod primarily includes the kinetic energy of rotation around the axis and the kinetic energy of movement and expansion. The rotational speed of the push rod is equal to that of the cylinder block.
where
${\boldsymbol{v}}_{2}=\dot{{\boldsymbol{q}}}=[\begin{array}{ll} \delta \dot{l}_{1} & \delta \dot{l}_{2} \end{array}]^{T} , \delta \dot{l}_{1}$
and
$\delta \dot{l}_{2}$
are the speed
$\dot{l}_{1}$
of push rod 1 and speed
$\dot{l}_{2}$
of push rod 2, respectively,
${\boldsymbol{M}}_{2}=\left[\begin{array}{ll} m_{2} & \\ & m_{2} \end{array} \right]$
is the mass matrix of the electric push rod,
${\boldsymbol{I}}_{2}=\left[\begin{array}{ll} {\boldsymbol{I}}_{21} & \\ & {\boldsymbol{I}}_{22} \end{array}\right] , I_{21}$
and
$I_{22}$
are respectively the rotational inertia of the cylinder block, and
${\boldsymbol{I}}_{21}={\boldsymbol{I}}_{22}$
.
Substituting
${\boldsymbol{v}}_{2}=\dot{{\boldsymbol{q}}}$
and
$\boldsymbol{\omega }_{1}={\boldsymbol{J}}_{1}\dot{{\boldsymbol{q}}}$
into Eq. (38),
where
${\boldsymbol{M}}_{2}^{'}={\boldsymbol{M}}_{2}+{\boldsymbol{J}}_{1}^{T}{\boldsymbol{I}}_{2}{\boldsymbol{J}}_{1}$
.
-
3) Kinetic energy of the moving platform
The moving platform only rotates around the center of mass in the entire movement process, without translational movement; therefore,
where
$\boldsymbol{\omega }_{1}=[\begin{array}{ll} \omega _{11} & \omega _{12} \end{array}]^{T} , \omega _{p1}$
and
$\omega _{p2}$
are the angular velocities of ball joints A
1 and A
2, respectively, and
${\boldsymbol{I}}_{p}=\left[\begin{array}{ll} {\boldsymbol{I}}_{p1} & \\ & {\boldsymbol{I}}_{p2} \end{array}\right]$
is the moment of inertia matrix of the moving platform,
${\boldsymbol{I}}_{p1}$
and
${\boldsymbol{I}}_{p2}$
are the moments of inertia about the u and v axes, respectively.
From
$\dot{{\boldsymbol{q}}}={\boldsymbol{J}}\cdot \dot{\boldsymbol{\theta }}$
(
$\dot{{\boldsymbol{q}}}=[\begin{array}{ll} \delta \dot{l}_{1} & \delta \dot{l}_{2} \end{array}]^{T}$
),
Substituting Eq. (41) into Eq. (40), we can obtain
where
${\boldsymbol{M}}'_{p}=({\boldsymbol{J}}^{-1})^{T}{\boldsymbol{I}}_{p}{\boldsymbol{J}}^{-1}$
.
-
4) Kinetic energy of the load
The entire platform drives the load rotate with the rotation of the moving platform. The height of the center of mass from the moving platform is h 0, as shown in Figure 6; therefore, the kinetic energy of the load is
Schematic of the load motion mechanism.

where
${\boldsymbol{I}}_{p}=\left[\begin{array}{ll} {\boldsymbol{I}}_{f1} & \\ & {\boldsymbol{I}}_{f2} \end{array}\right]$
is the moment of inertia matrix of the moving platform,
${\boldsymbol{I}}_{f1}$
and
${\boldsymbol{I}}_{f2}$
are the moments of inertia about the u and v axes, respectively.
Substituting
$\boldsymbol{\omega }_{f}={\boldsymbol{J}}^{-1}\dot{{\boldsymbol{q}}}$
into Eq. (43),
where
${\boldsymbol{M}}'_{f}=({\boldsymbol{J}}^{-1})^{T}{\boldsymbol{I}}_{f}{\boldsymbol{J}}^{-1}$
.
The total kinetic energy of the entire system is
4.2. System potential energy
According to the geometric relationship in Figure 6,
$\angle A'_{1}B_{1}A_{1}=\angle O'B_{1}A_{1}-\angle O'B_{1}A'_{1}$
can be obtained.
From the cosine theorem,
\begin{equation} \angle O'B_{1}A'_{1}=\arccos \left(\frac{\left\| O'B_{1}\right\| ^{2}+\left\| B_{1}A'_{1}\right\| ^{2}-\left\| O'A'\right\| ^{2}}{2\left\| O'B_{1}\right\| \cdot \left\| B_{1}A'_{1}\right\| }\right) \end{equation}
According to the triangle characteristics of Figure 7,
Experiment on the swing platform.

Thus,
\begin{equation} \theta \approx \arccos \left(\frac{\sqrt{r^{2}-\delta l^{2}}}{r}\right) \end{equation}
During the expansion and contraction of the electric push rod, the cylinder block and electric push rod have certain changes in the height direction.
1) Potential energy of the cylinder block
The height of the cylinder block changes to
$e_{1}\cos (\alpha )$
during movement; therefore, the potential energy of the cylinder block is
2) Potential energy of the electric push rod
The extension distance of the electric push rod is
$\delta l$
, and the height change of the center of mass is
$\delta l\cos (\alpha )\approx \delta l$
; therefore,
3) Potential energy of the moving platform
During the movement, because the center of the moving platform is limited to a point above the center of the Hooke hinge by the column, the height does not change, but because the platform is a sector with a radius of r and an angle of 1/4 of
${\unicode[Arial]{x03C0}} /2$
, the mass is continuously and evenly distributed; therefore, the potential energy of the moving platform changes during the movement.
According to the geometric relationship, the center of mass of the moving platform is located on the diagonal, and the distance from the center of the circle is
$x=\dfrac{4\sqrt{2}}{3}\dfrac{R}{{\unicode[Arial]{x03C0}} }$
. The height change of the center of mass is
The potential energy of the moving platform is
4) Potential energy of the load
The distance between the load and center of mass of the moving platform along with the platform rotation height is
$h_{0}\cos (\theta )$
; thus,
Substituting Eq. (49) into Eq. (54),
\begin{align} {\boldsymbol{U}}_{f}=m_{f}g\left[\begin{array}{l} h+h_{0}\dfrac{\sqrt{r^{2}-q_{1}}}{r}\\[8pt] h+h_{0}\dfrac{\sqrt{r^{2}-q_{2}}}{r} \end{array}\right] \end{align}
Therefore, the potential energy of the system is
The generalized force of the system is
Substitute Eqs. (45), (56), and (57) into equation (31) to obtain the dynamic model of the system.
5. Singularity and interference analysis of the mechanism
5.1. Singularity analysis of the mechanism
We determine whether the mechanism is singular using the Jacobian matrix of the series–parallel stable platform. If the mechanism is singular, the following relationship exists
\begin{align} \left| {\boldsymbol{J}}\right| =\left| \begin{array}{ll} \dfrac{1}{l_{1}^{'}}\left(r^{2}s\theta -hrc\theta \right) &\quad 0 \\[6pt] -\dfrac{\mathit{hrs}\theta s\phi }{l_{2}^{'}} &\quad \dfrac{1}{l_{2}^{'}}\left(\mathit{hrc}\theta c\phi +r^{2}s\phi \right) \end{array}\right| =\mathrm{0} \end{align}
Thus,
If the mechanism parameters h = 265 mm and r = 100 mm are known, then θ = 69.33°, because the mechanical limit angle of the mechanism design is pitch angle θ = ±20.5°, then no such singular position exists.
For
$\phi =-\arctan \left(\dfrac{h}{r}\cos \theta \right)$
, it decreases with the increase in angle
$\theta$
; when θ = ±20°,
$\phi$
becomes the minimum value; therefore,
$\phi _{\min }=-\arctan \left(\dfrac{h}{r}\cos 20^{\circ}\right)=-68.13^{\circ}$
. Because the mechanical limit angle designed by the mechanism is rolling angle
$\phi =\pm 20^{\circ}$
, no such singular position exists. In conclusion, there is no singular position for the mechanism design in the actual operation process.
5.2. Mechanism interference analysis
The possible constraints of mechanism operation include the spherical joint constraint, Hooke joint constraint, rotation pair constraint, middle moving pair length constraint, and interference between connecting members. Let vector n be the direction vector along axis w; we record that the included angle between ball joint Bi and rod Li of the mechanism as η i and the allowable angle of ball joint pair as η max; thus,
The constraint condition for ball joint B
i is
$\eta _{i}\leq \eta _{max}$
.
Similarly, note that the angle of Hooke hinge A
2 is
$\gamma$
, the allowable angle is
$\gamma _{\max }$
, and the constraint condition is
$\gamma _{i}\leq \gamma _{max}$
. Because the rotation range of the rotation pair is
$[0,2{\unicode[Arial]{x03C0}} ]$
, the constraint of the rotation pair at A1 on the workspace is not considered. The length of the electric push rod is l, and the upper and lower limits of the push rod are
$l_{\max }=l_{0}+\delta l_{\max }$
and
$l_{\min }=l_{0}-\delta l_{\max }$
, respectively. For a specific pose, the constraint condition of the length of the electric push rod is
$l_{\min }\leq l\leq l_{\max }$
.
During the movement of the mechanism, possible interference exists in the process of the stable platform rotating along the z-axis. The load or moving platform interferes with the box, and the moving platform interferes with the stepping motor. The shortest distance between the rotation center of the recording platform and the box is
$r_{1\min }$
, the shortest distance between the moving platform and the stepping motor is
$r_{2\min }$
, and the condition to avoid interference is
$r\lt [r_{1\min },r_{2\min }]_{\min }$
. With these constraints, the maximum motion workspace of the mechanism edge is shown in Figure 8. The maximum angle of the two axes is 20°, and the rotation range of the z-axis is [−93°, 93°], which satisfies the actual conditions. The mechanism has no singularity in the workspace and will not interfere with the stepping motor and the box.
Working space of the mechanism: (a) isometric view and (b) vertical view.

6. Design of control system based on state machine
MATLAB/Simulink primarily solves dynamic modeling and simulation problems and completes the design of the controller algorithm. Stateflow can model and simulate event-driven systems based on finite state machine theory, and it can also model and simulate complex logic systems. Simulink and Stateflow were combined to conduct rapid prototyping of the hardware in the loop experiments.
6.1. Workflow design of control system
The system workflow during normal operation is shown in Figure 9. The specific workflow is as follows:
Workflow chart of the control system.

6.2. Experimental environment
The application principle of the simulation experiment based on dSPACE of the series–parallel stable platform is shown in Figure 10. The experimental environment primarily included hardware and the software experimental environment. The hardware included a dSPACE system, an industrial personal computer, a servo driver, a series–parallel stable platform, a photoelectric switch, and other hardware. The software environment was primarily composed of the underlying code generated using STM32CubeMX and the controller algorithm and logic system built using Simulink/Stateflow.
Principle of dSPACE-based real-time control system.

6.3. Double closed-loop experiment of position and speed
For a typical input signal
$\phi =6\sin (2{\unicode[Arial]{x03C0}} \times 0.25\times t)$
of the roll motor, the position tracking curve is shown in Figure 11, the speed tracking curve is shown in Figure 12, and the position error curve is shown in Figure 13. The closed-loop system does not have a suppressive effect on high-frequency errors in the transmission chain. For example, tooth profile errors of gears can cause vibrations and noise in the system, resulting in burrs in the error curve. Due to the presence of transmission clearance during commutation, the error curve exhibits a slight lag behind the commutation moment, resulting in spikes.
Roll position tracking.

Roll speed tracking.

Roll position error.

The analysis of the roll motor was similar to that of the pitch motor. The dynamic tracking accuracy of the system was 1.2
$^{\prime}$
, which satisfied the design index and was reasonable. In conclusion, the single-degree-of-freedom tracking accuracy of the system reached 1.4
$^{\prime}$
, and the system control performance satisfied the performance requirements of practical applications.
6.4. Simulation of mounting carrier given signal experiment
We tested whether the joint response of the series–parallel stable platform satisfies the index. The mounting carrier roll and pitch motion models caused by random signals were input. The pitch position tracking and error curves are shown in Figures 14 and 15, respectively, and the roll position tracking and error curves are shown in Figures 16 and 17, respectively.
Pitch position tracking.

Pitch position error.

Roll position tracking.

Roll position error.

Figures 14 and 16 show that the dynamic tracking accuracy of the system was high. Figure 15 shows that the dynamic tracking accuracy of the pitch was 1.5
$^{\prime}$
, and Figure 17 shows that the dynamic tracking accuracy of the roll was 1.2
$^{\prime}$
. The system performance satisfied the performance requirements of practical applications.
6.5. Experimental verification of system comprehensive performance
We installed the series–parallel stable platform on a swing table, and the experimental scenario is shown in Figure 7.
The swing platform can achieve different amplitudes and periodic sinusoidal motions. During installation, the pitch direction motion of the stable platform was vertical to the axis of the swing platform, simulating the pitch direction motion of the mounting carrier. By rotating the azimuth at different angles, the movement in two directions was achieved, and the actual application scenario was simulated. In the comprehensive performance, the angle change of the parallel platform was detected by the inertial unit as feedback. The swing platform was started, the amplitude was set to 15°, and the period was set to 8 s. We adjusted the azimuth to 0° and observed the error curves of the pitch and roll directions of the parallel platform, as shown in Figure 18.
Azimuth 0°error: (a) pitch and (b) roll.

When the azimuth angle was 0°, the dynamic accuracy of the pitch mechanism was 1
$^{\prime}$
(Figure 18(a)), and the rolling accuracy was 0.2
$^{\prime}$
(Figure 18(b)). Therefore, the rolling direction was affected to some extent during the movement of the swing table, but the rolling accuracy was very high, which did not affect the stability.
Given the azimuth movement rule as γ = 90sin(2π×0.025×t), we observed the roll and pitch direction error curves of the parallel platform, as shown in Figures 19 and 20.
Pitch error in the azimuth motion.

Roll error in the azimuth motion.

The mounting carrier pitching signal θ = 15sin(2π × 0.125 × t) was simulated, and the azimuth movement to different angles had a certain impact on the system performance. Figure 19 shows that the dynamic accuracy of the parallel platform pitching direction was 1
$^{\prime}$
, and Figure 20 shows that the dynamic accuracy of the parallel platform rolling direction was 1.3
$^{\prime}$
.
We reinstalled the platform, and the roll direction movement of the stable platform was perpendicular to the axis of the swing platform, simulating the roll direction movement of the mounting carrier. The movement of two degrees of freedom was achieved using different angles rotating through the azimuth angle. The swing platform was started, the amplitude was set as 6° and the period as 4 s, the azimuth angle was adjusted to 0°, and the error curves of the parallel platform in the pitch and roll directions were observed, as shown in Figure 21.
Azimuth 0°error: (a) pitch and (b) roll.

When the azimuth angle was 0°, Figure 21(a) shows that the dynamic accuracy of the pitch mechanism was 0.3
$^{\prime}$
, and Figure 21(b) shows that the rolling accuracy was 1.1
$^{\prime}$
. Therefore, the motion of the swing platform had a certain impact on the pitch direction, but the pitch accuracy was very high, which did not affect the stability.
Given the azimuth movement rule as γ = 90sin(2π × 0.025 × t), we observed the roll direction and pitch direction error curves of the parallel platform, as shown in Figures 22 and 23.
Pitch error in the azimuth motion.

Roll error in the azimuth motion.

The mounting carrier roll signal φ = 6sin(2π × 0.25 × t) was simulated, and the azimuth movement to different angles had a certain impact on the system performance. Figure 22 shows that the dynamic accuracy of the pitch was 1.5
$^{\prime}$
, and Figure 23 shows that the dynamic accuracy of the roll was 1.5
$^{\prime}$
.
In conclusion, the dynamic tracking accuracy of the series–parallel stable platform reached 1.5
$^{\prime}$
, which satisfied the performance requirements of the system in practical application.
7. Conclusions
-
1. In this paper, a novel series–parallel three-degree-of-freedom stable platform is designed, and it combines an azimuth mechanism with a two-degree-of-freedom parallel platform. The mechanism scheme and control system are designed. The kinematics and dynamics models of the series–parallel three-degree-of-freedom stable platform are established. A Simulink simulation analysis was conducted to verify the feasibility of the mechanism.
-
2. The control system based on the state machine was designed. Based on dSPACE, a semi-physical simulation platform was built to conduct experimental research on the prototype of the series–parallel stable platform, which verified the feasibility of the control system, and the control performance satisfied the indicators.
-
3. The stable platform was installed on a swing platform to simulate the motion of the mounting carrier under the random swing. When the azimuth angle moved, it operated smoothly, and the system tracking accuracy was 1.5
$^{\prime}$
. This verified that the design of the control system is reasonable and satisfies the performance requirements of practical applications.
In the future, sensor data fusion technology will be applied to detect sensor faults, analyze the impact of gear transmission noise on system performance, and further enhance system performance.
8. Required declarations
Author contribution
Xinlei Xiao, Da Song, Lei Lu, and Lixun Zhang conceived and designed the study. Da Song and Feng Xue conducted data gathering. Gang Li performed statistical analyses. Xinlei Xiao and Da Song wrote the article.
Financial support
This work was supported by the Natural Science Foundation of Jilin Province (Grant No. YDZJ202301ZYTS272).
Competing interests
The authors declare no conflicts of interest exist.
Ethical approval
Not applicable.







