Laboratory
Report
3D
Hover
Experiments
Control
Systems
Laboratory
Submitted
by
Ankit
Kumar
Department
of
Aerospace
Engineering
Indian
Institute
of
Technology
Bombay
August
23,
2026
Contents
1
Introduction
3
1.1
Objectives
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
1.2
Prerequisites
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
1.3
System
requirements
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4
1.3.1
Required
Software
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4
1.3.2
Required
Hardware
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4
2
Modeling
of
3-DOF
Hover
System
5
2.1
Free-body
diagram
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5
2.1.1
Pitch
and
roll
axis
model
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5
2.1.2
Yaw
axis
model
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6
2.2
State-space
model
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7
3
Control
Design
8
3.1
State-feedback
control
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
8
3.2
Linear
quadratic
regulator
(LQR)
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9
4
Simulation
and
Experimental
Results
10
4.1
Simulation
results
with
LQR
control
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10
4.2
Inuence
of
weighting
matrix
on
controller
Performance
.
.
.
.
12
4.2.1
Eect
of
decreasing
the
pitch
weight
(350
→
35)
.
.
.
.
12
4.2.2
Eect
of
increasing
the
pitch
weight
(350
→
3500)
.
.
.
12
4.2.3
Eect
of
decreasing
the
roll
weight
(350
→
35)
.
.
.
.
.
12
4.2.4
Eect
of
increasing
the
roll
weight
(350
→
3500)
.
.
.
.
16
4.2.5
Eect
of
decreasing
the
yaw
weight
(500
→
50)
.
.
.
.
16
4.2.6
Eect
of
increasing
the
yaw
weight
(500
→
5000)
.
.
.
16
4.2.7
Eect
of
decreasing
the
control
weight
(0.01
→
0.001)
.
16
4.2.8
Eect
of
increasing
the
control
weight
(0.01
→
0.1)
.
.
18
4.3
Experimental
Results
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
4.3.1
Performance
using
joystick
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
4.3.2
Pitch
angle
manual
referencing
.
.
.
.
.
.
.
.
.
.
.
.
.
22
1
4.3.3
Roll
angle
manual
referencing
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
4.4
Conclusion
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
2
Chapter
1
Introduction
This
report
presents
the
modeling
and
control
design
of
a
3-DOF
hover
sys-
tem.
A
linear
dynamic
model
is
developed,
followed
by
the
design
of
Linear
Quadratic
Regulator
(LQR)
controller
to
regulate
the
pitch,
roll,
and
yaw
motions.
1.1
Objectives
The
primary
objectives
of
this
laboratory
work
are:
Derive
the
state-space
model
of
the
3-DOF
hover
system.
Design
an
LQR-based
state-feedback
controller.
Simulate
the
closed-loop
response
of
the
system.
Implement
the
controller
on
the
experimental
hardware.
1.2
Prerequisites
The
following
concepts
and
software
are
required
before
performing
this
ex-
periment:
State-space
modeling
Linear
Quadratic
Regulator
(LQR)
control
design
MATLAB/Simulink
Basic
real-time
implementation
concepts
3
1.3
System
requirements
In
this
section,
the
software
and
hardware
requirements
for
modeling,
simu-
lation,
and
real-time
implementation
of
the
3-DOF
Hover
system
are
listed.
1.3.1
Required
Software
The
following
software
packages
are
required
to
perform
the
simulation
and
real-time
implementation:
MATLAB
with
Simulink
Control
System
Toolbox
QUARC
Compiler
(Visual
Studio
/
SDK)
1.3.2
Required
Hardware
The
experimental
setup
requires
the
following
hardware
components:
Data
Acquisition
(DAQ)
device
3-DOF
Hover
System
Four-channel
power
amplier
4
Chapter
2
Modeling
of
3-DOF
Hover
System
The
mathematical
modelling
of
the
3-DOF
hover
system
provides
a
foun-
dation
for
understanding
its
dynamic
behaviour
and
designing
an
eective
controller.
This
chapter
presents
the
modelling
assumptions,
derives
the
governing
equations,
and
formulates
the
state-space
representation
of
the
system.
2.1
Free-body
diagram
The
3-DOF
Hover
system
rotates
about
three
independent
axes:
θ
y
,
θ
p
,
θ
r
.
The
following
assumptions
are
made
while
deriving
the
mathematical
model:
1.
The
system
is
initially
balanced
such
that
θ
p
=
0
,
θ
r
=
0
.
2.
Positive
angular
rotation
is
dened
as
the
counter-clockwise
direction.
3.
The
thrust
generated
by
each
propeller
is
proportional
to
the
applied
motor
voltage.
2.1.1
Pitch
and
roll
axis
model
The
general
rotational
equation
of
motion
is
J
¨
θ
=
∆
F
L,
where
5
J
is
the
moment
of
inertia,
∆
F
is
the
net
thrust,
L
is
the
distance
from
the
pivot
to
the
propeller.
For
the
pitch
axis,
J
p
¨
θ
p
=
K
f
(
V
f
−
V
b
)
,
where
J
p
is
the
pitch
moment
of
inertia,
K
f
is
the
thrust
constant,
V
f
and
V
b
are
the
front
and
back
motor
voltages.
Similarly,
for
the
roll
axis,
J
r
¨
θ
r
=
K
f
(
V
r
−
V
l
)
,
where
V
r
and
V
l
denote
the
right
and
left
motor
voltages,
respectively.
2.1.2
Yaw
axis
model
The
yaw
dynamics
are
represented
by
J
y
¨
θ
y
=
K
t
(
V
r
+
V
l
)
−
K
t
(
V
f
+
V
b
)
,
where
J
y
is
the
yaw
moment
of
inertia,
K
t
is
the
motor
torque
constant.
6
2.2
State-space
model
The
dynamic
model
of
the
3-DOF
Hover
system
can
be
represented
in
the
state-space
form.
The
state
vector
is
dened
as
x
=
θ
y
θ
p
θ
r
˙
θ
y
˙
θ
p
˙
θ
r
where
θ
y
:
Yaw
angle
θ
p
:
Pitch
angle
θ
r
:
Roll
angle
˙
θ
y
,
˙
θ
p
,
˙
θ
r
:
Angular
velocities
The
control
input
vector
is
u
=
V
f
V
b
V
r
V
l
where
V
f
:
Front
motor
voltage
V
b
:
Back
motor
voltage
V
r
:
Right
motor
voltage
V
l
:
Left
motor
voltage
The
state-space
equations
are
˙
x
=
A
x
+
B
u
,
C
x
+
D
u
.
The
state
and
input
matrices
are
A
=
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
,
B
=
0
0
0
0
0
0
0
0
0
0
0
0
−
K
t
J
y
−
K
t
J
y
K
t
J
y
K
t
J
y
K
f
J
p
−
K
f
J
p
0
0
0
0
K
f
J
r
−
K
f
J
r
The
matrices
C
and
D
are
selected
according
to
the
desired
measured
outputs
of
the
system.
7
Chapter
3
Control
Design
This
chapter
presents
the
controller
design
for
3-DOF
hover
system.
A
state-
feedback
controller
is
employed,
and
the
feedback
gain
is
obtained
using
the
linear
quadratic
regulator
(LQR)
technique.
3.1
State-feedback
control
The
state-feedback
control
law
is
given
by
u
=
K
(
x
d
−
x
)
+
u
bias
,
where
x
is
the
current
state
vector,
x
d
is
the
desired
state
vector,
K
is
the
state-feedback
gain
matrix,
u
bias
is
the
bias
voltage
required
to
maintain
equilibrium.
The
desired
state
vector
is
x
d
=
θ
d,y
θ
d,p
θ
d,r
0
0
0
where
the
desired
angular
velocities
are
taken
as
zero.
8
3.2
Linear
quadratic
regulator
(LQR)
The
LQR
controller
computes
the
optimal
state-feedback
gain
by
minimizing
the
quadratic
performance
index
J
=
∞
0
x
T
Q
x
+
u
T
R
u
dt.
The
corresponding
optimal
control
law
is
u
=
−
K
x
,
where
the
gain
matrix
K
is
obtained
by
solving
the
Algebraic
Riccati
equa-
tion.
An
example
choice
of
weighting
matrices
is
Q
=
diag
(500
,
350
,
350
,
0
,
20
,
20)
,
and
R
=
0
.
01
I
4
,
where
I
4
denotes
the
4
×
4
identity
matrix.
The
weighting
matrix
Q
determines
the
penalty
on
state
deviations,
whereas
R
penalizes
the
control
eort.
Increasing
the
values
in
Q
results
in
faster
tracking
but
requires
larger
actuator
inputs,
while
increasing
R
reduces
the
control
eort
at
the
expense
of
a
slower
system
response.
9
Chapter
4
Simulation
and
Experimental
Results
This
chapter
presents
the
experimental
and
simulation
results
obtained
dur-
ing
the
implementation
of
the
LQR
controller
for
the
3-DOF
hover
system.
4.1
Simulation
results
with
LQR
control
This
section
presents
the
simulation
results
for
the
Linear
Quadratic
Regu-
lator
(LQR)
controller.
The
weighting
matrices
are
chosen
to
be
the
same
as
those
used
in
the
controller
design
for
illustration.
Q
=
diag
(500
,
350
,
350
,
0
,
20
,
20)
,
R
=
0
.
01
I
4
,
where
I
4
denotes
the
4
×
4
identity
matrix.
The
weighting
matrix
Q
deter-
mines
the
penalty
on
state
deviations,
whereas
R
penalizes
the
control
eort.
Increasing
the
values
in
Q
results
in
faster
tracking
but
requires
larger
actu-
ator
inputs,
while
increasing
R
reduces
the
control
eort
at
the
expense
of
a
slower
system
response.
From
the
obtained
responses
shown
in
Fig.
4.1,
it
can
be
observed
that
the
designed
controller
successfully
stabilizes
the
3-DOF
hover
system
and
enables
the
pitch,
roll,
and
yaw
angles
to
track
their
respective
reference
com-
mands.
The
angular
responses
exhibit
acceptable
transient
behavior,
with
the
system
settling
close
to
the
desired
reference
values
after
each
change
in
command.
The
corresponding
motor
voltages
indicate
the
control
eort
required
to
achieve
the
desired
attitude
regulation
and
maintain
system
sta-
bility.
10
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-8
-6
-4
-2
0
2
4
6
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
8
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
2
4
6
8
10
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(g)
Right
motor
voltage.
Figure
4.1:
Simulation
results
using
LQR
control.
11
4.2
Inuence
of
weighting
matrix
on
controller
Performance
The
controller
performance
is
strongly
inuenced
by
the
selection
of
the
weighting
matrices.
Increasing
or
decreasing
the
state
and
input
weights
al-
ters
the
balance
between
tracking
performance
and
control
eort,
resulting
in
either
faster
or
slower
system
responses.
These
eects
are
illustrated
through
the
following
variations
of
the
weighting
matrices.
4.2.1
Eect
of
decreasing
the
pitch
weight
(350
→
35)
To
investigate
the
inuence
of
the
state
weighting
matrix
on
the
controller
performance,
the
pitch-state
weighting
in
the
matrix
Q
was
reduced
from
350
to
35
while
keeping
all
other
controller
parameters
unchanged
as
shown
in
Fig.
4.2.
This
modication
reduces
the
penalty
associated
with
the
pitch-
angle
error,
causing
the
LQR
controller
to
assign
a
lower
priority
to
pitch-
angle
regulation.
Consequently,
the
controller
permits
larger
pitch
deviations
in
exchange
for
a
reduction
in
control
eort,
thereby
altering
the
closed-
loop
transient
and
steady-state
characteristics
as
shown
in
Fig.
4.2a.
The
following
results
illustrate
the
eect
of
this
change
on
the
system
response.
The
corresponding
weighting
matrices
are
given
by
Q
=
diag
(500
,
35
,
350
,
0
,
20
,
20)
,
R
=
0
.
01
I
4
.
4.2.2
Eect
of
increasing
the
pitch
weight
(350
→
3500)
The
corresponding
weighting
matrices
are
choosen
as
Q
=
diag
(500
,
3500
,
350
,
0
,
20
,
20)
,
R
=
0
.
01
I
4
.
From
the
obtained
response
shown
in
Fig.
4.3,
it
can
be
observed
that
increas-
ing
the
pitch-state
weight
makes
the
controller
more
aggressive
in
regulating
the
pitch
angle.
As
evident
from
Fig.
4.3a,
the
pitch
response
exhibits
faster
convergence
with
improved
tracking
accuracy.
4.2.3
Eect
of
decreasing
the
roll
weight
(350
→
35)
To
evaluate
the
inuence
of
a
larger
state
weighting,
the
roll-state
weight
in
the
matrix
Q
was
decreased
from
350
to
35
while
keeping
all
other
controller
parameters
unchanged.
From
the
obtained
response
shown
in
Fig.
4.4,
it
can
12
20
25
30
35
40
Time (sec)
-6
-4
-2
0
2
4
6
(a)
Variation
in
pitch
angle.
20
25
30
35
40
Time (sec)
-5
0
5
(b)
Variation
in
roll
angle.
20
25
30
35
40
Time (sec)
-8
-6
-4
-2
0
2
4
6
(c)
Variation
in
yaw
angle.
20
25
30
35
40
Time (sec)
0
5
10
15
(d)
Back
motor
voltage.
20
25
30
35
40
Time (sec)
0
5
10
15
(e)
Front
motor
voltage.
20
25
30
35
40
Time (sec)
0
5
10
15
20
(f)
Left
motor
voltage.
20
25
30
35
40
Time (sec)
0
5
10
15
20
(g)
Right
motor
voltage.
Figure
4.2:
Performance
of
the
LQR
controller
with
a
decreased
pitch-state
weight.
be
observed
that
reducing
the
roll-state
weight
lowers
the
controller’s
em-
phasis
on
roll
regulation.
Consequently,
the
roll
response
shown
in
Fig.
4.4b
becomes
slower
with
a
longer
settling
time,
whereas
the
motor
voltage
re-
13
0
5
10
15
20
Time (sec)
-5
0
5
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-8
-6
-4
-2
0
2
4
6
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(g)
Right
motor
voltage.
Figure
4.3:
Performance
of
the
LQR
controller
with
an
increased
pitch-state
weight.
sponses
indicate
a
reduction
in
control
eort.
14
20
25
30
35
40
Time (sec)
-6
-4
-2
0
2
4
6
8
(a)
Variation
in
pitch
angle.
20
25
30
35
40
Time (sec)
-5
0
5
(b)
Variation
in
roll
angle.
20
25
30
35
40
Time (sec)
-8
-6
-4
-2
0
2
4
6
(c)
Variation
in
yaw
angle.
20
25
30
35
40
Time (sec)
0
5
10
15
20
(d)
Back
motor
voltage.
20
25
30
35
40
Time (sec)
0
5
10
15
20
(e)
Front
motor
voltage.
20
25
30
35
40
Time (sec)
0
5
10
15
(f)
Left
motor
voltage.
20
25
30
35
40
Time (sec)
0
5
10
15
(g)
Right
motor
voltage.
Figure
4.4:
Performance
of
the
LQR
controller
with
a
decreased
roll-state
weight.
15
4.2.4
Eect
of
increasing
the
roll
weight
(350
→
3500)
To
evaluate
the
inuence
of
a
larger
state
weighting,
the
roll-state
weight
in
the
matrix
Q
was
increased
from
350
to
3500
while
keeping
all
other
controller
parameters
unchanged.
From
the
obtained
response
shown
in
Fig.
4.5,
it
can
be
observed
that
increasing
the
roll-state
weight
causes
the
controller
to
prioritize
roll-angle
regulation.
As
a
result,
the
roll
response
in
Fig.
4.5b
exhibits
faster
tracking
with
reduced
error.
4.2.5
Eect
of
decreasing
the
yaw
weight
(500
→
50)
To
evaluate
the
inuence
of
a
larger
state
weighting,
the
yaw-state
weight
in
the
matrix
Q
was
decreased
from
500
to
50
while
keeping
all
other
controller
parameters
unchanged.
From
the
obtained
response
shown
in
Fig.
4.6,
it
can
be
observed
that
reducing
the
yaw-state
weight
decreases
the
controller’s
pri-
ority
for
yaw
regulation.
Consequently,
the
yaw
response
shown
in
Fig.
4.6c
becomes
slower
and
exhibits
larger
tracking
errors,
while
the
motor
voltage
responses
indicate
reduced
control
eort.
4.2.6
Eect
of
increasing
the
yaw
weight
(500
→
5000)
To
evaluate
the
inuence
of
a
larger
state
weighting,
the
yaw-state
weight
in
the
matrix
Q
was
decreased
from
500
to
5000
while
keeping
all
other
con-
troller
parameters
unchanged.
From
the
obtained
response
shown
in
Fig.
4.7,
it
can
be
observed
that
increasing
the
yaw-state
weight
improves
the
con-
troller’s
ability
to
regulate
the
yaw
angle.
As
shown
in
Fig.
4.7c,
the
yaw
response
exhibits
faster
tracking
with
reduced
error.
4.2.7
Eect
of
decreasing
the
control
weight
(0.01
→
0.001)
To
evaluate
the
inuence
of
a
smaller
control
weighting,
the
matrix
R
was
decreased
from
0
.
01
to
0
.
001
while
keeping
all
other
controller
parameters
unchanged.
From
the
obtained
response
shown
in
Fig.
4.8,
it
can
be
ob-
served
that
reducing
the
control
weighting
matrix
R
decreases
the
penalty
on
the
control
inputs.
Consequently,
the
controller
applies
larger
actuator
voltages,
resulting
in
a
faster
transient
response,
as
observed
from
the
atti-
tude
responses,
at
the
expense
of
increased
control
eort.
16
0
5
10
15
20
Time (sec)
-5
0
5
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-5
0
5
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
8
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
2
4
6
8
10
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(g)
Right
motor
voltage.
Figure
4.5:
Performance
of
the
LQR
controller
with
an
increased
roll-state
weight.
17
0
5
10
15
Time (sec)
-5
0
5
(a)
Variation
in
pitch
angle.
0
5
10
15
Time (sec)
-5
0
5
(b)
Variation
in
roll
angle.
0
5
10
15
Time (sec)
-6
-4
-2
0
2
4
6
(c)
Variation
in
yaw
angle.
0
5
10
15
Time (sec)
0
2
4
6
8
10
12
14
(d)
Back
motor
voltage.
0
5
10
15
Time (sec)
0
1
2
3
4
5
6
7
(e)
Front
motor
voltage.
0
5
10
15
Time (sec)
0
2
4
6
8
10
(f)
Left
motor
voltage.
0
5
10
15
Time (sec)
0
1
2
3
4
5
6
7
(g)
Right
motor
voltage.
Figure
4.6:
Performance
of
the
LQR
controller
with
a
decreased
yaw-state
weight.
4.2.8
Eect
of
increasing
the
control
weight
(0.01
→
0.1)
Here,
the
matrix
R
was
increased
from
0
.
01
to
0
.
1
while
keeping
all
other
con-
troller
parameters
unchanged.
From
the
obtained
response
shown
in
Fig.
4.9,
18
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-8
-6
-4
-2
0
2
4
6
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
8
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(g)
Right
motor
voltage.
Figure
4.7:
Performance
of
the
LQR
controller
with
an
increased
yaw-state
weight.
it
can
be
observed
that
increasing
the
control
weighting
matrix
R
imposes
a
higher
penalty
on
the
control
inputs.
Consequently,
the
controller
produces
smoother
motor
voltage
commands,
while
the
attitude
responses
become
19
0
5
10
15
20
Time (sec)
-5
0
5
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
8
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
8
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
(g)
Right
motor
voltage.
Figure
4.8:
Performance
of
the
LQR
controller
with
a
decreased
control
weight.
slower
with
an
increased
settling
time.
20
0
5
10
15
20
Time (sec)
-8
-6
-4
-2
0
2
4
6
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-15
-10
-5
0
5
10
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-5
0
5
10
15
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
5
10
15
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
(g)
Right
motor
voltage.
Figure
4.9:
Performance
of
the
LQR
controller
with
an
increased
control
weight.
21
4.3
Experimental
Results
The
following
gure
illustrates
the
experimental
response
of
the
3-DOF
hover
system
using
the
same
LQR
weighting
matrices
as
those
employed
in
the
sim-
ulation
studies.
This
comparison
highlights
the
controller
performance
under
identical
gain
settings
and
demonstrates
the
eect
of
unmodelled
dynamics
and
other
errors
on
the
experimental
response.
4.3.1
Performance
using
joystick
The
performance
of
the
LQR
controller
under
joystick
operation
is
investi-
gated
by
applying
manual
reference
commands
through
the
joystick.
The
resulting
responses
illustrate
the
controller’s
capability
to
achieve
stable
and
accurate
real-time
tracking
of
the
commanded
pitch,
roll,
and
yaw
angles.
4.3.2
Pitch
angle
manual
referencing
The
pitch
reference
is
generated
through
the
joystick
while
the
LQR
con-
troller
regulates
the
system
to
follow
the
commanded
trajectory.
As
shown
in
Fig.
4.11,
the
experimental
response
closely
tracks
the
desired
pitch
angle
with
a
small
tracking
error
and
stable
closed-loop
behavior.
4.3.3
Roll
angle
manual
referencing
The
roll
reference
is
generated
using
the
joystick
to
evaluate
the
tracking
performance
of
the
LQR
controller
under
manual
operation.
As
shown
in
Fig.
4.12,
the
controller
accurately
follows
the
commanded
roll
angle
while
maintaining
stable
system
dynamics
and
acceptable
transient
performance.
4.4
Conclusion
In
this
work,
a
state-space
model
of
the
3-DOF
hover
system
was
devel-
oped,
and
an
LQR-based
state-feedback
controller
was
designed
for
attitude
tracking.
The
controller
achieved
satisfactory
tracking
performance
while
maintaining
closed-loop
stability.
The
inuence
of
the
weighting
matrices
was
investigated
by
varying
the
elements
of
Q
and
R
,
demonstrating
the
trade-o
between
tracking
performance
and
control
eort.
Experimental
re-
sults
were
found
to
be
in
good
agreement
with
the
simulation
results,
with
deviations
attributed
to
unmodelled
dynamics.
Overall,
the
proposed
LQR
controller
provides
an
eective
solution
for
the
control
design
of
the
3-DOF
hover
system.
22
0
5
10
15
20
Time (sec)
-5
0
5
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
8
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-6
-4
-2
0
2
4
6
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
5
10
15
20
0
0.5
1
1.5
2
0
10
20
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
0
1
2
0
5
10
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
25
0
0.5
1
1.5
2
0
2
4
6
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
5
10
15
20
8
8.5
9
9.5
0
5
(g)
Right
motor
voltage.
Figure
4.10:
Experimental
results
using
LQR
control.
23
0
5
10
15
20
Time (sec)
-10
-5
0
5
(a)
Variation
in
pitch
angle.
0
5
10
15
20
Time (sec)
-0.8
-0.6
-0.4
-0.2
0
0.2
(b)
Variation
in
roll
angle.
0
5
10
15
20
Time (sec)
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
(c)
Variation
in
yaw
angle.
0
5
10
15
20
Time (sec)
0
2
4
6
8
10
(d)
Back
motor
voltage.
0
5
10
15
20
Time (sec)
0
2
4
6
8
10
(e)
Front
motor
voltage.
0
5
10
15
20
Time (sec)
0
1
2
3
4
5
6
(f)
Left
motor
voltage.
0
5
10
15
20
Time (sec)
0
1
2
3
4
5
6
7
(g)
Right
motor
voltage.
Figure
4.11:
Experimental
results
using
LQR
control
with
joystick
(Pitch
motion).
24
20
25
30
35
40
Time (sec)
-1
0
1
2
3
4
5
6
(a)
Variation
in
pitch
angle.
20
25
30
35
40
Time (sec)
-2
0
2
4
6
8
10
(b)
Variation
in
roll
angle.
20
25
30
35
40
Time (sec)
-1
-0.5
0
0.5
1
(c)
Variation
in
yaw
angle.
20
25
30
35
40
Time (sec)
0
1
2
3
4
5
6
(d)
Back
motor
voltage.
20
25
30
35
40
Time (sec)
0
1
2
3
4
5
6
(e)
Front
motor
voltage.
20
25
30
35
40
Time (sec)
0
1
2
3
4
5
(f)
Left
motor
voltage.
20
25
30
35
40
Time (sec)
0
2
4
6
8
10
(g)
Right
motor
voltage.
Figure
4.12:
Experimental
results
using
LQR
control
with
joystick
(Roll
motion).
25