Beruflich Dokumente
Kultur Dokumente
Subtitle
GROUP MEMBERS:
1. Umair (21)
Submitted to:
Hassan Gillani
OBJECTIVE .................................................................................................................................................... 2
Umair M.
SHARIF COLLEGE OF ENGINEERING AND TECHNOLOGY
LAB 7 SIMULINK DRIVE POSE
CONTENTS
OBJECTIVE .................................................................................................................................................... 2
THEORY ......................................................................................................................................................... 2
OVERVIEW .......................................................................................................................................................... 2
MATHEMATICS BEHIND THIS................................................................................................................................... 2
PROCEDURE .................................................................................................................................................. 4
MODEL DIAGRAM ........................................................................................................................................ 4
MAIN MODEL ..................................................................................................................................................... 4
SUB-MODEL ........................................................................................................................................................ 5
RESULTS ......................................................................................................................................................... 5
CONCLUSION............................................................................................................................................... 8
BIBLIOGRAPHY ............................................................................................................................................. 8
1
LAB 7 SIMULINK DRIVE POSE
OBJECTIVE
The main objective of this lab is to perform the Simulink work for a vehicle so that it follows
a specific pose, means to drive the robot to a goal position but the final orientation
depended on the starting position.
THEORY
OVERVIEW
In this lab we are still using the same controller discussed in last 3 labs, and work on the
simulation and observe the results.
To move a vehicle in such a way so that the final orientation depends on the initial
position, we’ll have the final orientation as:
and then transform the equations into polar coordinate. We apply a change of variables:
2
LAB 7 SIMULINK DRIVE POSE
and assumes the goal {G} is in front of the vehicle. The linear control law:
drives the robot to a unique equilibrium at (ρ, α, β) = (0, 0, 0). The intuition behind
this controller is that the terms kρρ and kaα drive the robot along a line toward {G} while
the term k β rotates the line so that β → 0. The closed-loop system:
3
LAB 7 SIMULINK DRIVE POSE
The distance and bearing to the goal (ρ, α) could be measured by a camera or laser
range finder, and the angle β derived from α and vehicle orientation θ as measured by
a compass. For the case where the goal is behind the robot, that is α ∉ (-ü, ü], we reverse
the vehicle by negating v and γ in the control law. The velocity v always has a constant
sign which depends on the initial value of α. So far, we have described a regulator that
drives the vehicle to the pose (0, 0, 0). To move the robot to an arbitrary pose (x*, y*, θ *)
we perform a change of coordinates.
PROCEDURE
MODEL DIAGRAM
MAIN MODEL
4
LAB 7 SIMULINK DRIVE POSE
SUB-MODEL
RESULTS
Here, we set the desired heading as [5 5 pi/2] and desired pose is [5 5 0], when the initial
starting position and angle is [8 5 pi/2].
5
LAB 7 SIMULINK DRIVE POSE
6
LAB 7 SIMULINK DRIVE POSE
7
LAB 7 SIMULINK DRIVE POSE
CONCLUSION
In this we observe the change in heading position and orientation visually, means we
observe that how equations behave. So, when the angle alpha changes the robot
moves towards the given line (G), and angle beta determined how the orientation of
vehicle changes to get the final value (it always approaches 0, in this case the desired
pose set like this).
BIBLIOGRAPHY
[1] PeterCorke, Robotics, Vision and Control: Fundamental Algorithms in MATLAB, PDF
DRIVE.