
















































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!

















































A robot is a complicated thing, hence describing its occupancy in space is complicated. This is the reason why we want to use a single point in a suitable space to identify the posture (position of all robot’s points) of the robot. In this way we will be able to plan and control the robot in a simpler way.
A robot is a system (collection) of N bodies, usually assumed to be rigid, which moves in a worskpace W (generally in R^2 or R^3 ).
The configuration of a robot is the set of n parameters, in minimum number, that identifies the robot’s posture.
q =
q 1 q 2 .. . qn
where qi is the generalized coordinate. Those can be of two types:
The space of all the possible values of q is called configuration space C, also called c-space. This space is obtained multiplying the generalized coordinates spaces (for example: R^2 × SO(2) or, R^3 × SO(3), etc.)
Figure 1: Examples of configuration vector q
Figure 3: Torus manifold representing the configuration space of a 2R robot in a plane. The space is 2D but is embedded in R^3 to be visualized.
d(q 1 , q 2 ) is a distance in C if:
If the configuration space is an Euclidean space, C = Rn, or we are in a ”local” setting, the distance d(q 1 , q2) = ||q 1 − q 2 ||, while if the c-space is a manifold, the distance is expressed as the length of the arc of geodesic that joins q 1 , q2 (still the shortest path, but in a space in which there is a curvature).
Computing the geodesic is difficult, or either impossible, hence the solution in robotics is to express the distance as a function of:
d(qA, qB ) = max p∈B ∥p(qA) − p(qB )∥
So, the distance between two different configurations is given by the maximum displacement recorded by a point p on the robot volume in the workspace.
However, this is computationally intensive and there is the problem of the continuity. The solu- tion is to use a finite set of control points p 1 , ..., pn to be carefully chosen on the robot. In this way the formula simplifies to:
d(qA, qB ) =
XXX^ n
i=
∥pi(qA) − pi(qB )∥
Figure 4: Examples of c-spaces
Figure 6: Static balance condition for both a wheeled and a legged robot.
There exists three basic types of wheels:
Figure 7: * (Fixed)
Figure 8: * (Steerable)
Figure 9: * (Caster)
Figure 10: Image and icon of the three types of wheel.
Among the many kinematic structures existing, we can find:
Figure 11: Arc-shaped path in which the outers wheels travel more than the inners ones.
q˙ ∈ N (A(q)) The dimension of A(q) is k × n, leading to a wide matrix, since k is always less than n. The dimension of N (A(q)) is, instead, n − k, a linear space in which the sum, multiplication, etc. are operation of the group. (e.g. the sum of two admissible velocities is still an admissible velocity). Since in this case there are only limitations on ˙q and not the configuration q, the mobility limitation is local.
A geometric constraint always imply a kinematic one. Considering:
h(q) = 0
dh(q) dt
∂h ∂q
= a(q)T^ q˙ = 0
with a(q)T^ = ( (^) ∂q∂h 1 ,... , (^) ∂q∂hn ), is actually a kinematic constraint. The geometric interpretation of this is that a(q)T^ = ( (^) ∂q∂h 1 ,... , (^) ∂q∂hn ) = ∇qhT^ , the gradient. And then: ∇qhT^ q˙ = 0
meaning that ˙q must be normal to the gradient. Hence, the velocity must be tangent to the curve.
Sometimes this is true, while in other cases this is not true. It depends on the constraint that can be either holonomic or non-holonomic, if it’s, or not, integrable. Few examples:
q 1 q˙ 1 + q 2 q˙ 2 = 0
that can be also written as q 1 q 2
| {z } aT^ (q)
q˙ 1 q ˙ 2
We know that this constrain is holonomic because its integral exists and is:
q 1 + q 2 = c
For this reason this (KC) constraint implies a (GC) global mobility limitation. In this spe- cific case, the admissible configurations will be the ones which lie on the circle with radiusp q 1 (q)^2 + q 2 (q)^2 =
c
q 2 q˙ 1 + q 1 q˙ 2 = 0
that can be also written as q 2 q 1
| {z } aT^ (q)
q˙ 1 q ˙ 2
We know that this constrain is holonomic because its integral exists and is:
q 1 q 2 = c
In this specific case, the admissible configurations will be the ones which lie on the hyperbola that goes through the point c. Note: for every initialization of c we have one different arc of hyperbola.
q =
x y ϑ
(^) ; C = R^2 xSO(2); n = 3
under the assumption of no slip, we have the (non-holonomic) constraint:
sin ϑ x˙ − cos ϑ y˙ = 0
that can be written as: sin ϑ − cos ϑ 0
x ˙ y ˙ ϑ^ ˙
The geometric interpretation of the constraint is that the velocity of the contact point must be on the Sagittal axis, which is normal to the Zero Motion Line, on which the disk cannot slip. This constraint is called Pure Rolling, and is in fact the consequence of the assumption of no slipping.
Figure 12: * (Circle) Figure 13: * (Hyperbola)
Figure 14: * (Pure Rolling)
Figure 15: From left to right: Foliations of R^2 for the first two examples of holonomic constraints, and then the pure rolling constraint visualization. Note: a foliation is a collection of infinite points that has a reduced dimensionality with respect to the space of interest. e.g a line in R^2
To check if a constraint is integrable or not we can use an approach based on the Frobenius Theorem, looking at controllability instead of integrability. If the robot is controllable, it means that there is no global limitation, hence the constraint was non-holonomic. This can be checked with rather:
Figure 16: The maneuver consists of: (1) a pure rotation in the initial position qi; (2) a pure rolling movement towards the final position qf ; and (3) a pure rotation to align with the final orientation ϑf.
Considering:
q˙ =
u 1 .. . un
The controller can be schematized as a parallel of n simple integrators:
u R q
The unicycle is a vehicle consisting of a single orientable wheel.
q =
x y ϑ
(^) with C = R^2 × SO(2)
Subject to the pure rolling constraint:
sin ϑ − cos ϑ 0
x ˙ y ˙ ϑ^ ˙
In order to define the kinematic model, we need a basis for N (A(q)), where A(q) =
sin ϑ cos ϑ 0
cos ϑ sin ϑ 0
| {z } g 1 (q)
| {z } g 2 (q)
Now we can write the kinematic model (not unique, since it depends on the choice of the basis):
q˙ =
cos ϑ sin ϑ 0
(^) u 1 +
(^) u 2
from which we obtain: (^)
x ˙ = cos ϑ u 1 y ˙ = sin ϑ u 1 ϑ^ ˙ = u 2
The interpretation of the commands is that:
p x˙^2 + ˙y^2 = v, which is the magnitude of the cartesian velocity vector, called the driving velocity, and is computed as v = Rωroll (respectively the radius and the angular velocity of the wheel).
So, we can rewrite the kinematic model as:
q˙ =
x ˙ y ˙ ϑ^ ˙
cos ϑ sin ϑ 0
| {z } Drive vectorfield
v +
| {z } Steer vectorfield
ω
Among the vehicles which are stable in the sense they don’t fall, we have some of them that are equivalent to the unicycle:
q˙ =
cos ϑ sin ϑ 0
(^) v +
(^) ω
However, we need to map v and ω:
q˙ =
cos ϑ sin ϑ 0
(^) v +
(^) ω
and also v and ω have the same interpretation of the unicycle.
Figure 17: * (Differential Drive)
Figure 18: * (Synchro Drive)
Figure 19: Examples of equivalent but mechanically stable vehicles
One we have written everything in terms of the original coordinates, we can rewrite the constraints in matrix form: sin ϑ − cos ϑ 0 0 sin(ϑ + φ) − cos(ϑ + φ) −l cos φ 0
| {z } A(q)
x ˙ y ˙ ϑ^ ˙ φ ˙
| {z } q ˙
Let’s now build a (2-dim) basis for N (A(q)), so that we can write the kinematic model:
g 1 (q) =
cos ϑ sin ϑ α 0
we start from the unicycle and now we try to find a valid α:
sin(ϑ + φ) cos ϑ − cos(ϑ + φ) sin ϑ − l cos ϑα = 0
which can be simplified (using trigonometrics expressions) into:
sin φ − l cos φα = 0
leading to:
α =
tan φ l Instead, g 2 (q) is rather obvious:
g 2 (q) =
Now we can write the KM (kinematic model) for the RWD:
q˙ =
cos ϑ sin ϑ tan ϑ l 0
u^1 +
u^2
Let’s interpret the controls u 1 and u 2 :
x ˙ = cos ϑu 1 y ˙ = sin ϑu 1 ϑ^ ˙ = tan^ ϑ l u^1 φ ˙ = u 2
The first two equations, can be squared and summed, leading to the interpretation of u 1 = ±
p x˙^2 + ˙y^2 = v From the last equation is obvious that u 2 = ˙φ = ω. But if we consider an angle φ = ± π 2 we would have a singularity, since the motion is impossible without letting the front wheel to slip. The vehicle is controllable, but since it cannot turn in place, the maneuver is different from the one discussed above. Considering now the KM (kinematic model) for the FWD, similar computations will lead to:
q˙ =
cos ϑ cos φ sin ϑ cos φ sin φ l 0
v^ +
ω
which is simply obtained by the previous g 1 (q) multiplied by cos φ. In this case v is the driving velocity of the front wheel. Furthermore, in FWD we don’t have any singularities, since if φ = ± π 2 the vehicle will be pivoting around the contact point of the rear wheel.
Figure 21: Geometric interpretation of the two constraints
The geometric interpretation of these two constraints is that all points of the robot are moving along an arc of circle centered in the ICR (Instantaneous center of rotation).
Figure 22: Ackermann Steering application to let the two ZMLs intersect in the same point.
with initial state: x(0) = x 0
After the execution of the control sequence (Figure 27) the resulting final state is:
x(4ϵ) = x 0 + ϵ^2 [g 1 , g 2 ](x 0 ) + O(ϵ^3 ) | {z } state displacement
The main displacement is in the direction of the Lie Bracket, with a second component of a higher order term, resulting from the Taylor expansion, which goes to zero as ϵ^3. Hence, the Lie bracket can be seen as the displacement after a particular maneuver.
Figure 26: * (Geometry of a Lie bracket control sequence)
Figure 27: * (Interpretation of a Lie bracket control sequence)
Figure 28: Examples of equivalent but mechanically stable vehicles
5.1.2 Distribution
Considering the following system:
x˙ =
X^ m
j=
gj (x)uj
We can define the input distribution as the linear space of all possible linear combinations:
∆ = span{g 1 (x),... , gm(x)}
∆ assigns to each x ∈ C the linear space defined as the span of the vector fields at that point. If the dimension of the span{g 1 (x),... , gm(x)} = d, with d const ∀x, then: dim ∆ = d. While, the accessibility distribution is defined as:
∆A = span{g 1 (x),... , gm(x),... , gi, gj | {z } first order LB
,... , gi, [gi, gj ] | {z } second order LB
The system is said to be controllable if f dim ∆A = n, with n the dimension of the state space. This is known as the Lie algebra rank condition or the Chow’s Theorem. The meaning is that if the system can move in any direction with an appropriate maneuver, it’s controllable.
Remembering the model of the unicycle:
q˙ =
x ˙ y ˙ ϑ^ ˙
cos ϑ sin ϑ 0
| {z } g 1
v +
| {z } g 2
ω
Let’s compute the admissibility distribution. Since n = 3:
∆A = span{g 1 , g 2 , [g 1 , g 2 ]}
We need to check that the Lie bracket of g 1 and g 2 is not a linear combination of them, so that the dimension of the span could be equal to n.
[g 1 , g 2 ] = ∂g 2 ∂x
g 1 − ∂g 1 ∂x
g 2 = −
0 0 − sin ϑ 0 0 cos ϑ 0 0 0
sin ϑ − cos ϑ 0
We can notice that the first two components of the resulting vector field are nothing less than the versor of the ZML. In general, to check if the new vector field is linear indipendent from the two components g 1 and g 2 we build a matrix stacking them one next to the other and we check its rank. In this case:
rank
cos ϑ 0 sin ϑ sin ϑ 0 − cos ϑ 0 1 0
(^) = 3 =⇒ dim∆A = 3
Hence, the system is controllable.
Remembering the model of the bicycle:
q˙ =
x ˙ y ˙ ϑ^ ˙ φ ˙
cos ϑ sin ϑ tan φ l 0
| {z } g 1
v +
| {z } g 2
ω
Let’s compute the admissibility distribution. Since n = 4:
∆A = span{g 1 , g 2 , [g 1 , g 2 ], ([g 1 , [g 1 , g 2 ]] or [g 2 , [g 1 , g 2 ]]) | {z } Second order LB
We need to check that both first and second order Lie brackets are linearly independent, so that the dimension of the span could be equal to n.
[g 1 , g 2 ] =
∂g 2 ∂x
g 1 −
∂g 1 ∂x
g 2 = −
∗ ∗ ∗ (^) l cos^12 φ ∗ ∗ ∗ 0
− (^) l cos^12 φ 0
| {z } g 3
Now let’s compute the second order Lie bracket:
[g 1 , g 3 ] = f rac∂g 3 ∂xg 1 −
∂g 1 ∂x
g 3 = −
∗ ∗ − sin ϑ ∗ ∗ ∗ cos ϑ ∗ ∗ ∗ 0 ∗ ∗ ∗ 0 ∗
− (^) l cos^12 φ 0
l cos^2 φ
− sin ϑ cos ϑ 0 0
| {z } g 4
Notice, again, that the first two components of the resulting vector field are the versor of the ZML. Instead, the vector field g 3 represents the so called ”wriggle” vector field and consists in a rotation around the rear wheel. Let’s now check the linear independence:
rank
cos ϑ 0 0 − (^) l cossin^2 ϑ (^) φ sin ϑ (^0 0) l coscos^2 ϑ (^) φ tan φ l 0 −^
1 l cos^2 φ 0 0 1 0 0