0% found this document useful (0 votes)
13 views18 pages

Vision-Based Backstepping Control Study

This paper presents a novel vision-based control method for a two-axis gimbal system aimed at improving target tracking performance. The proposed approach effectively decouples the couplings in gimbal kinematics and imaging geometry, allowing for simpler implementation of popular control methods. Validation through simulations and experiments demonstrates the method's superiority over traditional control schemes, requiring fewer measurements and yielding smoother transient responses.

Uploaded by

Lê Anh Tú
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views18 pages

Vision-Based Backstepping Control Study

This paper presents a novel vision-based control method for a two-axis gimbal system aimed at improving target tracking performance. The proposed approach effectively decouples the couplings in gimbal kinematics and imaging geometry, allowing for simpler implementation of popular control methods. Validation through simulations and experiments demonstrates the method's superiority over traditional control schemes, requiring fewer measurements and yielding smoother transient responses.

Uploaded by

Lê Anh Tú
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

actuators

Article
A Study on Vision-Based Backstepping Control for a Target
Tracking System
Thinh Huynh 1 , Minh-Thien Tran 1 , Dong-Hun Lee 2 , Soumayya Chakir 2, * and Young-Bok Kim 1, *

1 Department of Smart Robot Convergence and Application Engineering, Pukyong National University,
Nam-gu, Busan 48513, Korea; huynhthinh@[Link] (T.H.); minhthien@[Link] (M.-T.T.)
2 Department of Mechanical System Engineering, Pukyong National University, Nam-gu, Busan 48513, Korea;
iottoi@[Link]
* Correspondence: [Link]@[Link] (S.C.); kpjiwoo@[Link] (Y.-B.K.);
Tel.: +82-51-629-6197 (Y.-B.K.)

Abstract: This paper proposes a new method to control the pose of a camera mounted on a two-axis
gimbal system for visual servoing applications. In these applications, the camera should be stable
while its line-of-sight points at a target located within the camera’s field of view. One of the most
challenging aspects of these systems is the coupling in the gimbal kinematics as well as the imaging
geometry. Such factors must be considered in the control system design process to achieve better
control performances. The novelty of this study is that the couplings in both mechanism’s kinematics
and imaging geometry are decoupled simultaneously by a new technique, so popular control methods
can be easily implemented, and good tracking performances are obtained. The proposed control
configuration includes a calculation of the gimbal’s desired motion taking into account the coupling

influence, and a control law derived by the backstepping procedure. Simulation and experimental
 studies were conducted, and their results validate the efficiency of the proposed control system.
Citation: Huynh, T.; Tran, M.-T.; Lee, Moreover, comparison studies are conducted between the proposed control scheme, the image-based
D.-H.; Chakir, S.; Kim, Y.-B. A Study pointing control, and the decoupled control. This proves the superiority of the proposed approach
on Vision-Based Backstepping that requires fewer measurements and results in smoother transient responses.
Control for a Target Tracking System.
Actuators 2021, 10, 105. https:// Keywords: backstepping control; gimbal system; imaging geometry; line-of-sight; visual servoing
[Link]/10.3390/act10050105

Academic Editor: Paolo


Di Giamberardino 1. Introduction
Vision-based motion control refers to the use of computer vision as feedback to control
Received: 7 April 2021
Accepted: 18 May 2021
the motion of a system. The topic is becoming more and more popular, thanks to the
Published: 19 May 2021
development of intelligent computer vision techniques. In general, the objective of vision-
based control is to minimize the error between the actual image measurement of the visual
Publisher’s Note: MDPI stays neutral
features vector and its desired value. Numerous studies have reviewed several aspects
with regard to jurisdictional claims in
of this topic, especially the two-part tutorial series by Chaumette and Hutchinson, [1,2].
published maps and institutional affil- Two control approaches are named depending on the value of the image measurement:
iations. image-based visual servo if the value is immediately available in the visual data, or position-
based visual servo if the value contains a set of 3D parameters estimated from the visual
data. Obviously, the visual data are acquired from a camera or a set of cameras, which is
either fixed in the workspace or directly mounted on the controlled system. Applications
of visual servoing are becoming popular in robotics, where the pose of a robot manipulator
Copyright: © 2021 by the authors.
Licensee MDPI, Basel, Switzerland.
end-effector is estimated and controlled with 6 degrees-of-freedom (DoF), such as in [3–5].
This article is an open access article
In outdoor applications, thanks to their ability to perceive the surrounding environment,
distributed under the terms and camera systems have been widely applied for controlling the motion wheeled robots [6,7]
conditions of the Creative Commons and attitudes of unmanned vehicles [8–10]. Gimbaled mechanisms with multiple rotational
Attribution (CC BY) license (https:// axes are preferred to carry the camera if its pose needs controlling. Since a gimbal system
[Link]/licenses/by/ can only control the angular motions of the camera (the number of controllable DoFs is
4.0/). equal to the number of independent gimbal channels), the control objectives are different

Actuators 2021, 10, 105. [Link] [Link]


Actuators 2021, 10, 105 2 of 18

from classical robotics. Instead, the fundamental goal is to direct the camera’s line-of-sight
(LOS) to a target and keep it in its field of view (FOV). Thus, two control actions are
required: detecting the target in optical imagery and controlling the gimbal for target
tracking. Additionally, the camera-based visual data can be used to control behaviors of
relative systems, for example, a stereo camera unit carried by a gimbal on a vessel that
keeps track of the target and measures the distance for a berthing aid system [11]. Although
many aspects of visual servoing and gimbal motion control have been studied individually
for decades ([12–14]), the issue of vision-based control is seldom tackled.
To detect targets in optical imagery, an image tracker is required. In particular,
the tracker detects the presence of a target in the camera’s FOV and then tracks its pro-
jection in the image plane frame-by-frame. Thus, the tracker measures the error between
the LOS orientation and target location. Image processing techniques and computer vi-
sion algorithms are implemented to fulfill these objectives. Traditional visual tracking
approaches rely on deterministic feature search. For instance, the Kanade–Lucas–Tomasi
tracker [15–17], that prefers corner features in an image patch, and the Continuously Adap-
tive Mean Shift (CAMSHIFT) algorithm in [18,19], which is based on color distribution
within a video. However, they have difficulty tracking a target when it appears temporarily
or when the background is contaminated. To cope with natural image changes, modern
tracking methods are trained online with sample patches updated at every new detection.
Especially, discriminative tracking methods, such as the Tracking–Learning–Detection
(TLD) [20] and the Kernelized Correlation Filter (KCF) [21], have enhanced their perfor-
mance significantly. However, limitations of the reliability and robustness of the tracker
heavily affect the efficiency of the vision-based control system. For instance, when the
transient response is fast, the image may become blurred, the visual tracking may simply
fail to measure the location of the target, and thus, resulting in missing data samples. From
a control engineering standpoint, the tracker is a sampled device [13], therefore, missing
data samples generates delays in the tracking loop control, and the system stability may
be affected.
To achieve the desired performances, the motion controller should overcome not only
the tracker’s limitations but also the nonlinearities in gimbal dynamics and the imaging ge-
ometry. Besides, the gimbal’s kinematics are complex due to the intertwined trigonometric
functions [12]. The system dynamics are highly nonlinear, the nonlinearities are mainly
induced by unbalanced masses, parameter uncertainties, and torque disturbances ([22–27]).
Additionally, difficulties may also come from the imaging geometry couplings along with
the gimbal system’s lack of controllable directions and measurable variables [28,29]. Fur-
thermore, there are non-ideal practical factors, such as delay time, measurement noise, and
the camera shuttle speed.
Meanwhile, most of the available studies using visual data to control the gimbal
are rather simple. For instance, decoupled approaches, where all the coupling terms are
neglected, were used in [11,13,30]. In [31], desired orientations of the gimbal channels
were calculated from their forward kinematics, and then a piece-wise linear controller
was implemented. However, due to the nature of the underactuated gimbal system,
these approaches are unable to achieve effective results. One of the significant studies in
vision-based motion control is the one by Hurák et al. ([28,29]). The authors proposed an
image-based pointing controller designed based on the image-based visual servo approach,
in which the camera’s angular rates were the control inputs. The designed control law took
into account the couplings and limitations of the gimbal channels, but at the same time,
it required a lot of measurements. Besides, the stability of the designed control system is
questionable, which may result in unwanted responses. In one of the latest studies related
to the topic, X. Liu et al. [32] treated unknown imaging geometry, angular rate errors,
and uncalibrated camera parameters as lumped disturbances. The authors proposed a
combination of a disturbance observer and a model predictive controller to reduce the
number of required measurements; disturbance rejection and good tracking performances
were obtained. It is worth noting that any estimation from an observer is always lagging
Actuators 2021, 10, 105 3 of 18

behind the true values for some time. Along with the delay in image streaming and
computer vision processing, the observer may lead to performance deterioration and
system instability.
Therefore, in this paper, a new vision-based tracking control scheme for a two-axis
gimbal system was designed. A visual camera served as a payload for the gimbal and
provides visual information for the control system. This type of system is mainly used in
aerial surveillance. The control objective was to bring a target to the center of the image
plane with zero steady-state error and smooth transient response so that effective visual
tracking was achieved. To fulfill these tasks, the proposed control scheme was designed
following these steps. First, the complete model of the system was derived, where the
gimbaled mechanism dynamics, imaging kinematics, and the actuation model were all
taken into consideration. Secondly, the required rotation angles to track a predefined target
were determined from a new perspective with the decoupling effects were fully isolated.
Then, the proposed controller was designed based on the backstepping procedure ensuring
the system stability and tracking performances. Finally, simulations and experiments were
conducted for validation. The proposed controller requires fewer measurements, and
it ought to perform better than the benchmark controller in Hurák’s research. In short,
the contributions of the paper are summarized as follows:
• A complete model is derived representing the target tracking system with the gimbaled
mechanism and image measurements.
• A new control scheme for visual servoing systems is proposed. The novelty of this
approach is that the couplings in both the gimbal kinematics and imaging geometry
are decoupled using a new technique, namely the calculation of additional orienta-
tion. Then, the vision-based target tracking system can be expressed with recursive
structures of separate SISO systems. Therefore, conventional control schemes can be
easily implemented.
• The stability of the closed-loop system is analyzed. Simulation and experimental
results are presented and discussed; thus, the effectiveness of the proposed system
is validated.
Accordingly, the remainder of the paper is organized as follows. Characteristics of the
gimbal motion and the imaging geometry are analyzed and presented in Section 2. Then,
to improve the control performance of gimbal systems, a new control scheme is introduced
in Section 3. Section 4 details the implementation of the visual tracking algorithm KCF for
the image tracker. Simulation and experimental comparison studies were conducted, and
the results are presented in Section 4. Finally, conclusions are drawn in Section 5.

2. System Model
In this study, a two-axis gimbal system mounted on an aerial vehicle is considered.
The camera’s aperture was assumed to coincide with the rotational center of the inner
channel. Let us assign the coordinate system of five frames for the system as follows.
First, a coordinate frame (B) was fixed to the platform carrying the gimbal with its Z-axis
pointing upward and X-axis pointing forward. This frame was brought into the rotational
center of the tilt channel by the three dashed orthogonal vectors, as depicted in Figure 1.
Two more frames, namely (P) and (T), were associated with the pan and tilt channels,
respectively. Yp - and Yt -axes of the P and T frames coincided, while the Zp -axis of the P
frame coincided with the Z-axis of frame B. The camera was carried by the tilt channel,
and so the camera frame (C) was fixed to frame T. However, its Zc -axis was now denoting
the camera’s LOS, as illustrated by the coordinate OXc Yc Zc in Figure 1. Finally, the image
coordinate frame was at an appropriate focal position along the optical axis from the origin
of the camera frame. The planar orthogonal to the LOS is called the image plane, in which
the x- and y-axes are the image coordinates, as shown in Figure 1.
Actuators 2021, 10, 105 4 of 18

Figure 1. Two-axis gimbal with defined coordinates.

2.1. System Kinematics


The following kinematic relation of the gimbal system is the result of the transforma-
tion from frame B to frame T, and it is given by:
   

ωtx
 cos θ ω bx cos ψ + ω by sin ψ − sin θ ( ω bz + ω ψ )
 
 ωty  = 
  − ω bx sin ψ + ω by cos
 ψ + ω θ

 (1)
ωtz sin θ ωbx cos ψ + ωby sin ψ + cos θ (ωbz + ωψ )

T
where ωt = [ωtx ωty ωtz ] T and ωb = [ ωbx ωby ωbz ] are the angular rate vectors
of the tilt channel and the platform, respectively. ψ is the relative rotation between the
outer gimbal and the platform about the Z-axis, whereas θ is the relative motion between
the inner and the outer gimbal about the Yp -axis, while ωψ and ωθ are their respective
rates. The rotation between the camera frame C and the tilt channel frame T is given by the
following rotation matrix:
 
0 0 1
RCT =  1 0 0  (2)
0 1 0

Pre-multiplying Equation (1) by RCT results in the transformation from the base to the
camera frame. Similarly, by a translation equal to the lens focal length along the Zc -axis,
the kinematics of the image frame is thus obtained. However, it is preferable to consider
the relationship between the projected point on the image plane and the gimbal motion.
In the pinhole camera model, the camera aperture can be described as a point and no
lenses were used to focus light. That is, a first-order approximation of the mapping from an
object in the three-dimensional space to its projection on the image plane is obtained. If the
location of a 3-D point in the camera frame is given by a vector P = [ Xc Yc Zc ] T , and its
projection on the image plane is p = [ x y] T , the pinhole camera model yields the following
projective transformation:    
x f Xc
=− (3)
y Zc Yc
with f is the focal distance. Time-derivatives of x and y result in the velocities of the
projected point, which highly depends on the focal length, the motion of the observed
target, and the spatial velocities of the camera. Assume that the focal length is constant,
then the time variation of the projected point is related to the spatial motion of the camera
Actuators 2021, 10, 105 5 of 18

through an interaction matrix ([1,29]). Considering the fixed rotation between the camera
frame C and the tilt channel frame T (Equation (2)), the following equation is derived:
 . 
x
. = Lυt + ed (4)
y

where L is the interaction matrix between the camera motions and the projected point.
υt is the spatial velocity vector of the tilt channel, which includes the instantaneous linear
T
velocity of the tilt frame origin νt = [ vtx vty vtz ] and ωt the angular velocity. ed is
the term expressing the influence of the target motion on the velocity of the projected point.
The matrix and vectors above mentioned are given by:

( f 2 + x2 )
 
f
x
Z Z 0 y − xyf f
L= 2 2

y f
Z 0 Z −x − f +f y xy
f
(5)
T
νtT ωtT

υt =

The last three columns in the interaction matrix represent the relation between the
gimbal orientation and the motion of the projected point. Equations (1) and (5) show the
total kinematic coupling between the gimbal motion and the projection in the image plane.
The first row of Equation (1) indicates a redundant roll motion generated by the two other
gimbal orientations, and the third column in Equation (5) reveals the influence of this
motion on the projection onto the image plane. The third row of Equation (1), especially,
shows that the required motion of the outer gimbal increases in proportion with the
secant of the angle θ. Therefore, the gimbal mechanism cannot be globally asymptotically
stabilized because when the angle θ approaches 90 [deg] or −90 [deg], the gimbal is
completely out of control (this phenomenon is known as the gimbal lock, which has been
thoroughly analyzed in [12,14]). Common solutions for this problem are feedforward
approaches, additional channels, or safety mechanisms to prevent the tilt channel from
reaching 90 [deg] or −90 [deg]. The two-axis gimbal system used for this study is equipped
with the latter.

2.2. System Dynamics and Actuation Model


When applying Euler’s equation of motion for rigid body dynamics, the torque
relationships of the inner and outer gimbals are derived as:
.
Jt ωht + [ωt × Jt ωt ] = Tit
. (6)
J p ω p + ω p × J p ω p + Tt/p = T p

The subscript t denotes the tilt channel, while subscript p is used to denote the pan
channel. J is the inertia matrix, T is the applied torque, and Tt/p is the tilt gimbal’s torque
as observed from the coordinate frame of the pan gimbal. Equation (6) represents the dy-
namics of both channels expressed in their respective coordinate axes. As aforementioned,
the pan channel rotates about the Z-axis, whereas the tilt rotates about the Yp -axis. Thus,
only two motion equations are considered:
.
Jty ω ty + ( Jtx − Jtz )ωtx ωtz = Tty − Kt ωθ
. (7)
J pz ω pz + ( J py − J px )ω px ω py + Tt/pz = Tpz − K p ωψ

The external torques acting on each channel consist of the driving torque (Tty and Tpz )
and the friction torques. The latter is assumed to be proportional to the relative speed, and
the coefficients of proportionality are Kt and Kp . In a typical gimbal system, the driving
torques are generated by the stabilization controllers whose references are generated by the
tracking loops ([12,13,20]). The actuators in this study, in particular, are servo systems: each
one of them has an integrated controller responsible for speed control. The closed-loop
Actuators 2021, 10, 105 6 of 18

configuration of this structure is illustrated in Figure 2, and it is used as the stabilization


loop for the gimbal control system. Then, the tracking loop model is derived taking into
consideration both the system dynamics and the speed control loops.

Figure 2. Block diagram of the gimbal with the stabilization controller.

Proportional controllers for speed control are used in the stabilization loops, thus the
driving torques are:
Tty = Pt(ωθd − ωθ )+ dt
(8)
Tpz = Pp ωψd − ωψ + d p

where Pt and Pp are the proportional control gains, ωθd and ωψd are the desired rate com-
mands, dt and d p are the matched disturbances due to measurement errors, actuator saturation,
etc. ωθd and ωψd are now the control signals that the tracking controllers compute.
From Equations (1), (4), (7), and (8), the system model is rearranged and given by:
.
ϕ=ω
 . . T
x y = Lω1 ω + Lω2 ωtx + Lv νt + ed (9)
.
ω = Bu − Kω + d

T
where ϕ = [ ϕty ϕtz ] is the angular position of the tilt and pan channels, and ω =
T
[ ωty ωtz ] is the corresponding angular rates vector. Lω1 , Lω2 and Lv are elements of
T
the interaction matrix L compatible with ω, ωtx and νy , respectively. u = [ ωθd ωψd ] is
the rate commands vector, B = diag{ B1 , B2 } and K = diag{K1 , K2 } are system parameter
matrices, and d = [d1 d2 ] T is the vector of unpredictable disturbances. The L matrix
components and the system parameter matrices are respectively expressed as:

( f 2 + x2 )
 
− xyf
" #
  x f
f y Z Z 0
Lω1 =  2 + y2
, Lω2 = , Lv = y f (10)
−f xy −x 0
f f Z Z

Kt + Pt Kp Pt Pp cos θ
K1 = , K2 = 2
, B1 = , B2 = (11)
Jty 2
J pz + Jtz cos θ + Jtx sin θ Jty J pz + Jtz cos2 θ + Jtx sin2 θ
and the elements of the disturbances vector are:
1 
d1 = dt − ( Jtx − Jtz )ωtx ωtz + (Kt + Pt )ω py
Jty
 . . . 
1
  
d2 = J + J cos2 θ + J sin2 θ K p + cos θPp ω px sin θ + ωbz cos θ − J pz −ω px sin θ − ω px θ cos θ + ω pz θ sin θ
pz tz tx
. . .
.
  .   
+ Jtx ω px cos θ − ω px θ sin θ − tan θ −ω px sin θ − ω px θ cos θ − cosθ2 θ ωtz − ω px sin θ +( Jtz − Jty )ωty ωtz
sin θ cos θ − cos θ ( J py − J px )ω px ω py − ( Jty − Jtx )ωtx ωty cos2 θ + d p − cos θPp ωtz
 

(12)
Actuators 2021, 10, 105 7 of 18

B is nonsingular within the operating range of the system, thus invertible. Neglecting
the disturbances term, the proportional gains of the integrated controllers should be chosen
such that K = B. Thus, the actuation system— consisting of the gimbaled mechanism and
the two integrated actuators—works as a low pass filter ensuring the actual speeds are the
filtered version of the command rates.

3. Vision-Based Tracking Control System


In general, the mapping from the 3D to 2D coordinates using the pinhole camera
model allows the determination of the target location in the camera coordinates, as in
Equation (3). Then, using the inverse tangent function, the desired rotations of the gimbal
camera are derived. Nevertheless, Equations (1) and (5) show the unwanted effects of
the motion of one actuator on the other orientations. In this section, the coupling effect
in visual servoing is analyzed from a new viewpoint, where the required rotation of the
gimbal camera is fully determined. Then, the proposed controller is designed based on
the backstepping procedure. Due to many practical limitations, the actuation is not an
ideal low pass filter. The backstepping technique is well known to be effective in dealing
with uncertainties, hence ensures system performance and stability. On the other hand, an
image-based pointing and tracking control scheme ([28,29]), and a decoupled approach [13]
are implemented for a comparison study.

3.1. Vision-Based Backstepping Control


3.1.1. Calculation of Additional Orientation
T
Let ϕ a = [ ϕtya ϕtza ] be the additional angles about Yt - and Zt -axes that the inner
gimbal needs to point at the predefined target. This value is known as the difference
between the angular positions of the target and the camera’s LOS. The computer vision
tracker defines ϕ a from the location of the projected point in the image plane. Thus, when
the LOS is pointing at the target, its projection is at the center of the image plane, that is
T
ϕ a = [ 0 0 ] . Otherwise, the tilt and/or pan motions of the gimbal are needed.
In Figure 3, point A expressed by the vector [ x A y A ] T is the projection of the target onto
the horizontal axis of the image plane. From the pinhole camera model, the image plane is
tangent to a spherical surface whose radius equals the focal length of the camera. Moreover,
the image plane’s center point is the intersection point of the LOS and the spherical surface.
Besides, the relative angle between the tilt and the pan gimbals along the Yp -axis is θ. This
makes the rotation planes of the pan gimbal and the camera different. Thus, the additional
rotation about the camera’s Yc -axis brings the center of the image plane to point A. On the
other hand, the pan motion makes the image plane’s center point below point A, hence a
tilt motion is required even though y A = 0.
As shown in Figure 3, the additional orientation of the camera’s plane is easily obtained
with:
X x
tan ϕ a = A = − A (13)
ZA f
From the coordinate allocation, this orientation is equivalent to the rotation about the
Zt -axis of the tilt channel frame.

tan ϕtza = tan ϕ a (14)

while the additional rotation about the Yt -axis of the tilt channel is required to be as the
following:
ϕtya = θ − arcsin(cos ϕ a sin θ ) (15)
Actuators 2021, 10, 105 8 of 18

Figure 3. Relationship between gimbal orientations and location of the target’s projection on the
image plane.

The third subscript a of the left terms in Equations (14) and (15) indicates the additional
rotations, while the first and second subscripts denote the channels as well as the axis in
which the values are measured. In general, when the target is expressed by its position
p = [ x y] T in the image plane, the rotation angles of both channels are computed as:
 
ϕtza = −arctan xf
 
y (16)
ϕtya = θ − arctan f − arcsin(cos ϕ a sin θ )

3.1.2. Backstepping Controller Design


For a target located within the camera’s FOV and the gimbal’s operating range, the
control objective is to bring its projection to the center of the image frame, which is
T
equivalent to [ ϕtya ϕtza ] T → [ 0 0 ] . Note that ϕ a = ϕ − ϕd is the difference between ϕ
and ϕd which are the angular position of the tilt channel and the target position that the
LOS should point at, respectively. Interestingly, the value of ϕd is not only dependent on
the location of the target, but also the translational motion of the camera. However, due to
the characteristics of outdoor visual servoing applications, it is reasonable to assume that
.
ϕd is a slow time-varying value, i.e., ϕd ≈ 0. Besides, the additional angular rate is defined
as follows:

ωa = −Λϕ a − ω (17)
Accordingly, the following control law is proposed:
h iT h   i
ωθd ωψd = B−1 Kω + (Γ + Λ)ωa − I − Λ2 ϕ a (18)

Λ and Γ are positive definite diagonal matrices. Equation (18) gives the rate command
vector to send to the gimbal system. Note that the inverse of matrix B contains a secant
gain correction, 1/cos θ. The proposed control scheme is illustrated in Figure 4.
Actuators 2021, 10, 105 9 of 18

Figure 4. Schematic of the proposed control.

To analyze the system stability of the proposed control scheme, let us consider a
positive definite function and its time-derivative as follows:

V = ϕTaϕ a + ωaT ωa
. . . (19)
V = ϕTaϕa + ωaT ω a

where . . .
ϕa = ϕ − ϕd = −Λϕ a − ωa
. (20)
ω a = Λ(Λϕ a + ωa ) + Kω − Bu − d
By substituting Equation (20) and the control law in Equation (18) into the expression
.
of V, we obtain: . .   .
V = ϕTa −Λϕ a − ϕd + ωaT Λϕd − Γωa − d

(21)
= −ϕTa Λϕ a − ωaT Γω + ωaT d
According to Young’s inequality for products:

1 T δ2 T
ωaT d ≤ ω a ω a + d d (22)
2δ2 2
Applying the inequality (22) to Equation (21) results in:

δ2
 
. 1
V ≤ −ϕTa Λϕ a − ωaT Γ − 2 I ωa + dT d (23)
2δ 2
 
δ is an arbitrary value, which will be chosen such that Γ − 2δ12 I is positive definite
(where I is the identity matrix). Hence, the system is proved to be input-to-state stable (ISS)
with V an ISS-Lyapunov function for the system, [33]. That is, the system is asymptotically
stable without the disturbances, and the control errors are bounded if the disturbances
are bounded.

3.2. Image-Based Pointing Control


The image-based pointing and tracking control implemented in this section has been
previously discussed in the work of Hurák et al., [28,29]. The objective of the pointing-
tracking controller is to set the reference rates for the motion system. A classical image-
based motion control uses the inverse of the interaction matrix to ensure a decoupled
decrease of the error between the current value of the visual feature and its desired value.
Since only the rotations are controllable in the gimbal system, Equation (4) can be
rewritten as follows:  . 
x
. = Lv νt + Lω ωt + ed (24)
y
Actuators 2021, 10, 105 10 of 18

where Lv contains the first three columns and Lω the last three columns of the interaction
matrix L in Equation (5). Thus, the reference rates of the tilt channel are computed as:
   
x T
ωtd = L∗ω −α

− Lv νt + k f x y (25)
y

The first term guarantees the asymptotically stable projection, where α is the exponen-
tial rate and L∗ω is the right pseudoinverse of Lω . However, since the two-axis gimbal can
only control the pitch and yaw motions, the parameter k is chosen such that the reference
rate for the roll motion is equal to the measured velocity ωtx . From Hurák et al. ([14,15]),
k is given by:

1  ωtx
k= xvtz − yvty + (26)
f2 2
+x +y 2 f
Then, from Equation (25), the reference rates for the inner gimbal orientations are
given as:
 
  ωtx
ωtxd αy f y f vtx + f 2 vtz −( xvtz −yvty ) x
xωtx
 ωtyd  =  f 2 + x2 +y2 + f −
 
 f 2 + x 2 + y2

 (27)
ωtzd αx f yωtx x f vtx + f 2 vty +( xvtz −yvty )y
− f 2 + x 2 + y2 + f + f 2 + x 2 + y2

From the system kinematics in Equation (1), the rate commands for the two gimbal
channels are:
   
ωθd ωtyd
= 1 (28)
ωψd cos θ ωtzd
Generally, the distance to the target and the gimbal translations and rotations are
required to generate the control law. In the case of no translational motions, the third terms
of the reference vector elements in Equation (27) are equal to zero. Thus, the control law
depends only on the rotations of the gimbal. However, the stability of the system remains
questionable since disturbances are neglected and k is chosen as a function of both the
camera motion and the projection’s location.
Additionally, the simplistic decoupled controller studied in [13] is implemented for
comparison. This control scheme uses a single-input–single-output loop for every channel
of the gimbal. Each channel receives the corresponding vertical or horizontal locations of
the target in the image plane. That is:

1
ωθd = αy and ωψd = αx (29)
cos θ

4. Implementation, Simulations, and Experiments


4.1. Implementation
In this study, the image tracker uses the KCF algorithm. This tracker initializes with a
target patch cropped from the target location in the initial frame and gives back its location
in each frame of the sequence. The details of the KCF algorithm are presented in [21].
In this paper, a combination of the KCF tracker and a Gaussian kernel working on the
histogram of oriented gradients (HOG) was implemented.
In the following simulations and experiments, the sampling time of the control systems
and the image tracker was set at 0.05 [s]. From the camera to the control system, the image
sequences were streamed using the real-time streaming protocol (RTSP) with a resolution
of 640 × 360 (pixel) and a framerate of 20 (fps). The image streaming was significantly
influenced by the communication delays—the tracker received an image that was a delayed
version of the one taken by the camera. With our experimental apparatus, the average
overall delay time was 0.3 [s], and in the worst case, the delay was 0.45 [s]. Besides, motion
Actuators 2021, 10, 105 11 of 18

sensors and gimbal actuators were also connected to the controller via an RS-232 serial port.
However, the resulting delay time was relatively small compared to the image streaming
delay, so it was neglected. The detailed control parameters are shown in Table 1.

Table 1. Control system parameters.

Proposed Image-Based Pointing Decoupled


(Equation (18)) (Equations (27) and (28)) (Equation (29))
Controller’s
 gains

25 0
Λ= , Controller’s gain Controller’s gain
Parameters 0 25
α = 65 α = 65
 
1.1 0
Γ=
0 1.1
System
 model parameters
21.9680 0
K= ,
0 30.3969
 B= 
22.2485 0
0 28.4352 cos θ
Sampling time 0.05 [s]
Video streaming delay time Average 0.3 [s], worst-case 0.45 [s]

A fast response was not the priority when tuning parameters due to the limitations
of the camera’s shutter speed. All the controllers were tuned such that from the zero
orientation, the controllers could bring a projected point from an arbitrary location to the
center of the image plane with a linear tracking path and reasonable rotational speeds.

4.2. Simulation Studies


Control systems were simulated with a target located out of the center of the image
plane. A comparison between the performance of the three control schemes was carried
out. Moreover, to highlight the coupling effects of the gimbal mechanism, the tilt angle
was initially set at 40 [deg] In the first simulation, the target projection is on the horizontal
line of the image plane, while the target is located at the bottom-left corner in the second
simulation test. Ideally, the controllers should follow a linear path in the image plane
since it is the shortest way, and the response in both directions should converge smoothly
to zero at the same time with no overshoot. The following figures, Figures 5 and 6,
show these simulation results. In each figure, the responses with the proposed controller
(Equation (18)), the image-based pointing controller (Equations (27) and (28)), and the
decoupled control system (Equation (29)) are plotted and compared. Although the unit of
x and y is (m), in the following figures they are displayed in [pixel], which corresponds to
the displayed images in the user interface. Converting from one unit to the other is simply
done by the multiplication of pixel dimensions. All the control actions take place from the
5th second of the simulation time.
Both simulations show that all the controllers struggle to follow a linear path in the
image plane. The main reason is the association of time delay and kinematic couplings
acting as disturbances on the system. In the first simulation, the initial control signal from
the decoupled control scheme is 0, as shown in Figure 5c. Since the decoupled controller
cannot anticipate the influence of the coupling at a nonzero tilt angle, it leads to a high
peak of the y-coordinate of the projected point, which results in a bold curve in the image
plane. In contrast, nonzero control signals are generated by the proposed controller and the
image-based pointing controller; however, a great overshoot can be seen in the response of
the latter (Figure 5b,d). The image-based pointing controller is sensitive to disturbances
and uncertainties, while the backstepping technique is well known to be robust against
them. Thus, the proposed controller performs well with an almost linear tracking path and
smooth transient gimbal motions.
Actuators 2021, 10, 105 12 of 18

Figure 5. Simulation 1: Tracking a target point on the horizontal line. (a) Tracking path on the image plane; (b) time response
of each coordinate; (c) control signals; (d) orientations of the inner gimbal.

Figure 6. Simulation 2: Tracking a target point on the bottom-left corner of the image plane. (a) Tracking path on the image
plane; (b) time response of each coordinate; (c) control signals; (d) orientations of the inner gimbal.

The results of the second simulation provide similar findings, that is the proposed
controller performed the best among the three control schemes. For instance, an overshoot
is recorded in the response of the decoupled controller, and non-smooth motions are
obtained with the image-based pointing controller. Meanwhile, good step responses in
both directions of the image plane are achieved with the proposed controller.
Actuators 2021, 10, 105 13 of 18

4.3. Experiments
The experimental studies were conducted with the 2-axis gimbal system illustrated in
Figure 7. In this section, the experimental results of several scenarios are presented. Three
studies were conducted in total. The first two were similar to the above-mentioned simula-
tions, and the third scenario was a vision-based tracking in the presence of disturbances.
The following figures, Figures 8–10, illustrate their results. The system specifications and
the control parameters were addressed in the previous section.

Figure 7. The target tracking apparatus.

The frame-by-frame visualization of the three controllers’ tracking performances is


shown in Figure 8a. The horizontal green line indicates the horizontal axis, which cuts
through the center of the image (the red circle). The position of the tracked target is
represented by its bounding box (the red square) on the image frame. Although all the
controllers could bring the target’s projection to the center of the image (frame 200), the
orientation of the pan actuator created a curvilinear path in the image plane resulting
in an upward motion at the beginning of the control action (frame 112). The decoupled
control performed worst since the LOS projection continued to deviate further away from
the horizontal axis. Both tracking paths resulting from the two other controllers were
close to the horizontal line, and the performance of the proposed controller remained
better. Meanwhile, with the image-based pointing controller, the location of the projection
went above and below the horizontal line indicating the overaction of the control system.
The projection’s paths on the image frame as shown in Figure 8b and the time responses
along the Yt -axis direction in Figure 8c prove this remark. Moreover, the final angular
positions of the inner gimbal were not the same even though all the image errors were
converging (Figure 8e). The two vector elements in Equations (4) and (5) were determined
by three angular rates of the camera’s motion (without the translational motion). Since
only two rotations were controllable, there were infinite combinations to bring a projected
point to the center of the image plane.
Actuators 2021, 10, 105 14 of 18

Figure 8. Cont.
Actuators 2021, 10, 105 15 of 18

Figure 8. Experiment 1: Tracking a target initially located on the horizontal line. (a) Frame-by-frame tracking performance
of the proposed control and the image-based pointing control; (b) tracking path on the image plane; (c) time response of
each coordinate; (d) control signals; (e) orientations of the inner gimbal.

Figure 9. Experiment 2: Tracking a target point on the bottom-left corner of the image plane. (a) Tracking path on the image
plane; (b) time response of each coordinate; (c) control signals; (d) orientations of the inner gimbal.

Furthermore, Figure 9 shows that in the second experiment the proposed controller
provided the smoothest response among the three control schemes. Although its tracking
path was curvilinear (Figure 9a), the transient responses were good in both directions
(Figure 9b). Slow response in the horizontal direction and an overshoot in the vertical
direction were seen in the performance of the decoupled controller. Moreover, the image-
based pointing controller generated bumpy actions in the Yt -axis direction despite the
good horizontal response.
Actuators 2021, 10, 105 16 of 18

Figure 10. Experiment 3: Vision-based tracking with the presence of disturbance. (a) Tracking path on the image plane;
(b) time response of each coordinate; (c) orientations of the inner gimbal; (d) disturbances from motions of the platform.

On the other hand, delay systems usually have bad reputations regarding system
stability and performance. The delay puts a fundamental limitation on the achievable
bandwidth of the system, which then recommended not to exceed π/2T or 2/T, with T is
the delay time ([34,35]). In the third experiment, the system needed to track a target initially
situated at a corner of the image plan from zero initial tilt orientation. Disturbances in
experiment 3 were induced by a manual rotation of the gimbal platform. The disturbances
were a combination of high frequency damped sinusoidal oscillations and a continuously
increasing rotation. Experimental results in Figure 10 show that all controllers could
effectively attenuate the latter, but not the former due to limited bandwidths. In practical
scenarios when the gimbal system needs to track a moving target, the unpredicted target
motion will result in an additional term in the time derivative of its projection (Equation (4)).
This can be considered as a disturbance to the system, for which the proposed controller
can still be effective if it is within the controllable bandwidth. Thus, the LOS follows the
motion of the target estimated by the image tracker.

5. Conclusions
In this paper, a novel control scheme was designed and implemented for visual servo-
ing with a two-axis gimbal mechanism. The design procedure was presented systematically,
with the couplings in the gimbal kinematics as well as the imaging geometry were ad-
dressed as the main difficulties. To overcome these difficulties, the proposed controller
computes the required motions from the visual data and then generates the control signals
using the backstepping technique. In simulation and experimental studies, the proposed
controller was challenged by the non-ideal specifications of the system through different
tracking scenarios. Hence, its effectiveness was validated, and its superiority was proved
in comparison with other control schemes. On the other hand, practical limitations of the
experimental apparatus were also highlighted.
Visual servoing is still a wide-open research field with the purpose of enhancing the
reliability of visual tracking algorithms and system robustness. Moreover, deep learning
Actuators 2021, 10, 105 17 of 18

and 3D imaging are bringing new perspectives and rapid changes to computer vision.
Meanwhile, vision-based motion control systems will still be affected by moving targets,
disturbances, and delays. For gimbal-based tracking systems, in particular, the effects of
the target motion, as well as the disturbances, are complicated because they are highly
dependent on the area of application. Therefore, predicting the target motion, attenuating
the disturbances, and diminishing the time delay influence are control objectives that
require further studies. In future works, the enhancement of the visual servoing controller
is necessary to keep up with the developing visual tracking algorithms, whereas the
system performance and robustness while tracking moving targets and facing external
disturbances should be improved.

Author Contributions: Conceptualization, Y.-B.K., and T.H.; methodology, T.H.; software, M.-T.T.,
S.C., and D.-H.L.; validation, T.H., S.C., and Y.-B.K.; formal analysis, T.H.; writing—original draft
preparation, T.H.; writing—review and editing, T.H., M.-T.T., D.-H.L., and S.C.; supervision, Y.-B.K.
All authors have read and agreed to the published version of the manuscript.
Funding: Following are results of a study on the “Leaders in Industry-university Cooperation +”
Project, supported by the Ministry of Education and National Research Foundation of Korea.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Data Availability Statement: Data sharing is not applicable.
Conflicts of Interest: The authors declare no conflict of interest.

References
1. Chaumette, F.; Hutchinson, S. Visual servo control. I. Basic approaches. IEEE Robot. Autom. Mag. 2006, 13, 82–90. [CrossRef]
2. Chaumette, F.; Hutchinson, S. Visual servo control. II. Advanced approaches [Tutorial]. IEEE Robot. Autom. Mag. 2007, 14,
109–118. [CrossRef]
3. Yun-Hui, L.; Hesheng, W.; Chengyou, W.; Lam, K.K. Uncalibrated visual servoing of robots using a depth-independent interaction
matrix. IEEE Trans. Robot. 2006, 22, 804–817. [CrossRef]
4. Muis, A.; Ohnishi, K. Eye-to-hand approach on eye-in-hand configuration within real-time visual servoing. In Proceedings of the
8th IEEE International Workshop on Advanced Motion Control, Kawasaki, Japan, 28 March 2004; Volume 10, pp. 647–652.
5. Liu, Z.; Wang, F.; Zhang, Y. Adaptive Visual Tracking Control for Manipulator With Actuator Fuzzy Dead-Zone Constraint and
Unmodeled Dynamic. IEEE Trans. Syst. Man Cybern. Syst. 2015, 45, 1301–1312. [CrossRef]
6. Li, B.; Zhang, X.; Fang, Y.; Shi, W. Visual Servoing of Wheeled Mobile Robots Without Desired Images. IEEE Trans. Cybern. 2019,
49, 2835–2844. [CrossRef] [PubMed]
7. Mekonnen, G.; Kumar, S.; Pathak, P.M. Wireless hybrid visual servoing of omnidirectional wheeled mobile robots.
Robot. Auton. Syst. 2016, 75, 450–462. [CrossRef]
8. Serra, P.; Cunha, R.; Hamel, T.; Cabecinhas, D.; Silvestre, C. Landing of a Quadrotor on a Moving Target Using Dynamic
Image-Based Visual Servo Control. IEEE Trans. Robot. 2016, 32, 1524–1535. [CrossRef]
9. Zheng, D.; Wang, H.; Wang, J.; Chen, S.; Chen, W.; Liang, X. Image-Based Visual Servoing of a Quadrotor Using Virtual Camera
Approach. IEEE/ASME Trans. Mechatron. 2017, 22, 972–982. [CrossRef]
10. Jabbari Asl, H.; Yoon, J. Adaptive vision-based control of an unmanned aerial vehicle without linear velocity measurements.
ISA Trans. 2016, 65, 296–306. [CrossRef]
11. Yuen, H.P.; Choi, Y.W.; Kim, Y.B. Implementation of Tracking-Learning-Detection for Improving of a Stereo-Camera-based
Marker-less Distance Measurement System for Vessel Berthing. In Proceedings of the 2020 16th IEEE International Colloquium
on Signal Processing and its Applications, Langkawi, Malaysia, 28–29 February 2020; pp. 63–68.
12. Hilkert, J.M. Inertially Stabilized Platform Technology Concepts and Principles. IEEE Control Syst. 2008, 28, 26–46. [CrossRef]
13. Masten, M.K. Inemally Stabilized Platforms for Optical Imaging Systems Tracking Dynamic Targets with Mobile Sensors.
IEEE Control Syst. 2008, 28, 47–64. [CrossRef]
14. Osborne, J.M.; Fuentes, R. Global Analysis of the Double- Gimbal Mechanism. IEEE Control Syst. 2008, 28, 44–64. [CrossRef]
15. Jianbo, S.; Tomasi, C. Good features to track. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition,
Seattle, WA, USA, 21–23 June 1994; pp. 593–600.
16. Tomasi, C.; Kanade, T. Detection and Tracking of Point Features; Technical Report CMU-CS-91-132; Carnegie Mellon University:
Pittsburgh, PA, USA, 1991.
Actuators 2021, 10, 105 18 of 18

17. Lucas, B.D.; Kanade, T. An iterative image registration technique with an application to stereo vision. In Proceedings of the
7th International Joint Conference on Artificial Intelligence—Volume 2, Vancouver, BC, Canada, 24–28 August 1981; Morgan
Kaufmann Publishers Inc.: San Francisco, CA, USA, 1981; pp. 674–679.
18. Exner, D.; Bruns, E.; Kurz, D.; Grundhofer, A.; Bimber, O. Fast and robust CAMShift tracking. In Proceedings of the 2010 IEEE
Computer Society Conference on Computer Vision and Pattern Recognition—Workshops, San Francisco, CA, USA, 13–18 June
2010; pp. 9–16.
19. Bradski, G.R. Real time face and object tracking as a component of a perceptual user interface. In Proceedings of the Proceedings
Fourth IEEE Workshop on Applications of Computer Vision. WACV’98 (Cat. No.98EX201), Princeton, NJ, USA, 19–21 October
1998; pp. 214–219.
20. Kalal, Z.; Mikolajczyk, K.; Matas, J. Tracking-Learning-Detection. IEEE Trans. Pattern Anal. Mach. Intell. 2012, 34, 1409–1422.
[CrossRef] [PubMed]
21. Henriques, J.F.; Caseiro, R.; Martins, P.; Batista, J. High-speed tracking with kernelized correlation filters. IEEE Trans. Pattern Anal.
Mach. Intell. 2015, 37, 583–596. [CrossRef] [PubMed]
22. Li, H.; Yu, J. Anti-Disturbance Control Based on Cascade ESO and Sliding Mode Control for Gimbal System of Double Gimbal
CMG. IEEE Access 2020, 8, 5644–5654. [CrossRef]
23. Abdo, M.; Vali, A.R.; Toloei, A.; Arvan, M.R. Research on the cross-coupling of a two axes gimbal system with dynamic unbalance.
Int. J. Adv. Robot. Syst. 2013, 10, 357. [CrossRef]
24. Liu, S.; Lu, T.; Shang, T.; Xia, Q. Dynamic Modeling and Coupling Characteristic Analysis of Two-Axis Rate Gyro Seeker. Int. J.
Aerosp. Eng. 2018, 2018, 8513684. [CrossRef]
25. Ding, Z.; Zhao, F.; Lang, Y.; Jiang, Z.; Zhu, J. Anti-Disturbance Neural-Sliding Mode Control for Inertially Stabilized Platform
With Actuator Saturation. IEEE Access 2019, 7, 92220–92231. [CrossRef]
26. Mao, J.; Yang, J.; Liu, X.; Li, S.; Li, Q. Modeling and Robust Continuous TSM Control for an Inertially Stabilized Platform With
Couplings. IEEE Trans. Control Syst. Technol. 2020, 28, 2548–2555. [CrossRef]
27. Kennedy, P.J.; Kennedy, R.L. Direct versus indirect line of sight (LOS) stabilization. IEEE Trans. Control Syst. Technol. 2003, 11,
3–15. [CrossRef]
28. Hurǎk, Z.; Řezáč, M. Combined line-of-sight inertial stabilization and visual tracking: Application to an airborne camera platform.
In Proceedings of the IEEE Conference on Decision and Control, Shanghai, China, 16–18 December 2009; pp. 8458–8463.
29. Hurák, Z.; Řezáč, M. Image-based pointing and tracking for inertially stabilized airborne camera platform. IEEE Trans. Control
Syst. Technol. 2012, 20, 1146–1159. [CrossRef]
30. Antonello, R.; Oboe, R.; Ramello, A.; Ito, K.; Felicini, N.; Cenedese, A. IMU-aided image stabilization and tracking in a HSM-driven
camera positioning unit. In Proceedings of the 2013 IEEE International Symposium on Industrial Electronics, Taipei, Taiwan,
28–31 May 2013; pp. 1–7.
31. Bibby, C.; Reid, I. Visual tracking at sea. In Proceedings of the IEEE International Conference on Robotics and Automation,
Barcelona, Spain, 18–22 April 2005; Volume 2005, pp. 1841–1846.
32. Liu, X.; Mao, J.; Yang, J.; Li, S.; Yang, K. Robust predictive visual servoing control for an inertially stabilized platform with
uncertain kinematics. ISA Trans. 2021. [CrossRef]
33. Baillieul, J. Encyclopedia of Systems and Control; Baillieul, J., Samad, T., Eds.; Springer: London, UK, 2020; ISBN 978-1-4471-5102-9.
34. Åström, K.J. Limitations on control system performance. Eur. J. Control 2000, 6, 2–20. [CrossRef]
35. Zhong, Q.C. Robust Control of Time-Delay Systems; Springer: London, UK, 2006; ISBN 9781846282645.

You might also like