Documente Academic
Documente Profesional
Documente Cultură
The latency in the transportation delay due to the camera V. CONTROLLER DESIGN
interface was also measured and was found to be
seconds. Therefore the total delay of the 8.1Hz operation and The object tracking controller was designed with two
transportation delay combined was seconds. nested loops to incorporate feedback from both the vision
The vision system’s robustness was tested under three system and inertial measurement unit (IMU). It was found
different lighting conditions with the luminosity measured experimentally with computer vision feedback alone at 8Hz,
for each situation: sunlight, bright indoor lighting and dim the system was unstable due to the transportation delay.
indoor light. The vision system area measurement results are Stability is achieved with the control system in Fig. 4
shown in Fig. 3 with a representative example of each operating at 100Hz. The quadcopter plant consists of a
lighting condition shown. From the results in Fig. 3 we control signal sent to electronic speed controllers, which
conclude that our vision system is robust and can be regulate the voltage to the four rotors. The PID controllers
expected to operate in indoor lighting environments, and were implemented in discrete-time form (1), where T = 0.01
outside in sunlight with similar results. Only when the light seconds.
becomes very dim will the performance start to decrease. ( ( ) ( ))
( ) ( ) ∑ ( ) (1)
̇ [ ] [ ] [ ] (3)
, - (4)
The filter was relatively robust to changes in angular bias object is smaller than reality. This will result in an incorrect
on the IMU measurement with a limit of +/- 1.5 degrees. control effort to move towards the object. Therefore, should
Biases greater than these limits significantly reduced the the object intersect the edge of the camera’s frame, the last
filter’s performance. These limits are of the same magnitude area reading was used by the controller.
of what is to be expected in a quadcopter system and For experimental testing, a safe reference distance of
therefore acceptable. m from the object was chosen. The quadcopter’s
The Kalman filter was finally tuned in open-loop in flight. initial relative position was ( ) m. A sample transient
A typical response is shown in Fig. 7. Compared with a low- response is shown in Fig. 8 and averaged performance
pass filter on the raw camera measurement, the Kalman filter metrics (over 5 runs) are listed in Table 4.
output has less lag in position and is more accurate in speed.
TABLE 4
RANGE CONTROLLER PERFORMANCE
C. Range Controller Performance Steady State Oscillation Amplitude
The range controller was designed to maintain a desired Steady State Error
distance from the object and a PD control law was initially Settling Time within Steady State Oscillation
tested. An issue was identified when the object was located Overshoot
at the extremities of the camera’s field of view due to
transient movement of the quadcopter. In this situation, the The range controller exhibits steady state error of 0.18m.
image border would intersect the image. Horizontal and This is because small angular biases exist in the IMU
vertical offset readings are still valid however the area measurement causing the pitch controller to not be perfectly
measurements become compromised. Partial area of the trimmed. However, this error is small and within the control
object may be out of frame, giving a false reading that the objectives, therefore an integral term was not introduced.
(a)
(b)
Fig. 7. Range (a) and closure speed (b) data while flying manually.
9
Raw Camera Range
8 Kalman Filter Range
Actual Range
Range from Object [m]
3
0 5 10 15 20 25 30 35
Time [s]
Fig. 8. Typical range controller response.
Accepted for IEEE Int. Conf. on Unmanned Aircraft Systems (ICUAS’14), Orlando, FL, USA, May 27-30, 2014. 6
Variations in performance that were observed across all Typical transient responses are shown in Fig. 10 for three
tests were due to the following observations. Firstly, the sets of control gains. Adding a derivative term halved the
tests were completed at a variety of states of battery levels. average settling time from 7 seconds to 3 seconds. The non-
The lithium polymer batteries operate at nominally 12.6V, zero steady-state error for * + can be
decreasing to 10.5V at low charge. This variation in voltage attributed to a small bias when calibrating the external
will affect the actuator dynamics of each control system, and tracking system and is insignificant. The gain set *
therefore the overall performance. Secondly, variation was + was found to be most suitable due to the
caused by IMU and vision sensor noise and perception of the resulting low amplitude oscillation and settling time.
environment. Finally, small variations in initial conditions Average performance measures for this set are given in
existed. Table 5.
TABLE 5
D. Yaw Controller YAW CONTROLLER PERFORMANCE
Steady State Oscillation Amplitude
The yaw controller regulates the quadcopter’s bearing Steady State Error
(yaw error) from the target object by setting yaw rate Settling Time within Steady State Oscillation
commands. A PD control law was selected; no integral term
Overshoot
was necessary because in yaw, the control system is Type I,
i.e. zero steady-state error expected to step inputs.
The horizontal object offset signal from the computer F. Height Controller
vision sensor is converted to yaw angle and differentiated to The height controller provides regulation of the
find yaw rate. The sensor exhibited low noise content, as quadcopter’s relative height from the target object by
seen in Fig. 9, and therefore did not require any filtering. controlling its vertical thrust (throttle setting). The vertical
15
offset measurement from the computer vision sensor was
converted to relative height from the object.
A proportional-integral (PI) controller was selected,
Yaw Angle (degrees)
10
allowing the integral term to account for the thrust required
5 to balance weight, as this will change over time due to
changing battery voltage. The integral term was initialized to
0 the current throttle setting when the controller was activated.
Assuming the quadcopter was in a hover then this is a good
-5 estimate of the equilibrium point thrust. The height data
0 1 2 3 4 5 6
Time [s] from the vision system is similar to the yaw data shown in
Fig. 9. Typical yaw data (object bearing) during flight. Fig. 9 and is relatively noise free. A derivative term could
have been added, however, this was not explored.
E. Yaw Controller Performance
G. Height Controller Performance
The yaw controller was tuned experimentally with the
range and height controllers in open-loop; pitch and thrust The height controller was tested similarly to the yaw and
were manually controlled. The controller was tested with an range controller with non-zero initial conditions. The yaw
initial bearing on ( ) . and range controllers remained in open-loop; roll and pitch
were manually controlled. Two sets of initial conditions There is also a coupling effect in yaw, observed from the
were tested to determine if symmetry exists in the system decrease in control performance. This is because when yaw
and whether different dynamics can be expected between acceleration occurs, the nominal motor thrust level changes.
rising and falling height control responses: ( ) m and The thrust relationship is non-linear, and assumed to be
( ) m. The controller appeared to be symmetrical linearized around a constant operating point. By changing
as results for rising and falling responses were statistically this operating point it acts as an extra disturbance to the
similar. Combined results are given in Table 6. other controllers causing different behavior and ultimately
TABLE 6
longer settling time due to this extra disturbance regulation.
HEIGHT CONTROLLER PERFORMANCE On average, coupled settling time increased by 240%
Steady State Oscillation Amplitude compared to individual axis control, illustrated in Fig. 12.
Steady State Error Due to the dynamic coupling demonstrated between control
axes, the controller could be improved by using a
Settling Time within Steady State Oscillation
multivariable approach or by further tuning of the coupled
Overshoot
system.
The combined controller was also tested to follow a
VI. COMBINED YAW, RANGE AND HEIGHT CONTROLLER dynamic object and was observed to be successful in
PERFORMANCE tracking at a walking pace of approximately m/s. The
controller is therefore robust to a level of uncertainty but
In this final case, all three controllers were implemented could be extended to accommodate a dynamic object in
simultaneously to regulate yaw, range and height using the outdoor settings.
independently tuned gains. Initial conditions were:
TABLE 7
( ) YAW, RANGE AND HEIGHT COUPLED CONTROLLER RESULTS
( ) Control Axis Yaw Range Height
10
Yaw Angle [deg]
-10
-20
0 5 10 15 20 25 30 35 40 45 50
1
Height Error [m]
0.5
-0.5
0 5 10 15 20 25 30 35 40 45 50
4
Range Error [m]
-2
0 5 10 15 20 25 30 35 40 45 50
Time [s]
Fig. 11. Typical time responses of the yaw, height and range controllers when combined.
Accepted for IEEE Int. Conf. on Unmanned Aircraft Systems (ICUAS’14), Orlando, FL, USA, May 27-30, 2014. 8
ascertain relative location from a static object in a range of [6] Konomura, Ryo, and Koichi Hori. "Designing hardware and software
systems toward very compact and fully autonomous quadrotors."
lighting conditions.
IEEE/ASME International Conference on Advanced Intelligent
Control of all flight axes was achieved with parallel PID Mechatronics (AIM). IEEE, 2013.
loops. Range control required a Kalman filter in order to add [7] Deng, Haibo, Xiaoguang Zhao, and Z. G. How. "A vision-based
damping. The quadcopter control system gains were tuned to ground target tracking system for a small-scale autonomous
helicopter." Fifth International Conference on. IEEE Image and
achieve state regulation at steady-state within 0.18m for
Graphics (ICIG'09), 2009.
height; for range; for yaw. There was a [8] Yang, Shaowu, Sebastian A. Scherer, and Andreas Zell. "An onboard
statistically longer response time for the controllers when monocular vision system for autonomous takeoff, hovering and
combined together by an average factor of 240%, suggesting landing of a micro aerial vehicle." Journal of Intelligent & Robotic
Systems 69.1-4 (2013): 499-515.
a multivariable control design may yield a better response.
[9] Çelik, Koray, Soon-Jo Chung, Matthew Clausman, and Arun K.
An extension of the controller is being developed for Somani. "Monocular vision SLAM for indoor aerial vehicles."
dynamic object tracking. IEEE/RSJ International Conference on Intelligent Robots and Systems
(IROS). IEEE, 2009.
[10] Achtelik, Markus, Tianguang Zhang, Kolja Kuhnlenz, and Martin
REFERENCES
Buss. "Visual tracking and control of a quadcopter using a stereo
[1] Achtelik, Markus, Abraham Bachrach, Ruijie He, Samuel Prentice, camera system and inertial sensors." International Conference on
and Nicholas Roy. "Stereo vision and laser odometry for autonomous Mechatronics and Automation (ICMA). IEEE, 2009.
helicopters in GPS-denied indoor environments." SPIE Defense, [11] Herisse, Bruno, F-X. Russotto, Tarek Hamel, and Robert Mahony.
Security, and Sensing. International Society for Optics and Photonics, "Hovering flight and vertical landing control of a VTOL unmanned
2009. aerial vehicle using optical flow." IEEE/RSJ International Conference
[2] Sa, Inkyu, and Peter Corke. "System identification, estimation and on Intelligent Robots and Systems (IROS). IEEE, 2008.
control for a cost effective open-source quadcopter." IEEE [12] Carrillo, Luis Rodolfo García, Alejandro Enrique Dzul López,
International Conference on Robotics and Automation (ICRA). IEEE, Rogelio Lozano, and Claude Pégard. "Combining stereo vision and
2012. inertial navigation system for a quad-rotor UAV." Journal of
[3] Grabe, Volker, H. H. Bulthoff, and Paolo Robuffo Giordano. "On- Intelligent & Robotic Systems 65.1-4 (2012): 373-387.
board velocity estimation and closed-loop control of a quadrotor UAV [13] Heng, Lionel, Lorenz Meier, Petri Tanskanen, Friedrich Fraundorfer,
based on optical flow." IEEE International Conference on Robotics and Marc Pollefeys. "Autonomous obstacle avoidance and
and Automation (ICRA). IEEE, 2012. maneuvering on a vision-guided MAV using on-board processing."
[4] Yigit, Cihat Bora, and Erdinc Altug. "Visual attitude stabilization of a IEEE international conference on Robotics and automation (ICRA).
unmanned helicopter in unknown environments with an embedded IEEE, 2011.
single-board computer." IEEE International Symposium on Robotic [14] Schauwecker, Konstantin, and Andreas Zell. "On-Board Dual-Stereo-
and Sensors Environments (ROSE). IEEE, 2012. Vision for the Navigation of an Autonomous MAV." Journal of
[5] Fahimi, Farbod, and Karansingh Thakur. "An alternative closed-loop Intelligent & Robotic Systems (2014): 1-16.
vision-based control approach for Unmanned Aircraft Systems with [15] APM 2.5 Flight Control Board, 3D Robotics, http://3drobotics.com/
application to a quadrotor." International Conference on Unmanned [16] OpenCV Library, http://opencv.org/
Aircraft Systems (ICUAS). IEEE, 2013.
Fig. 12. Individual and coupled controller settling times for identical initial conditions.