• No se han encontrado resultados

Universidad Autónoma de Nuevo León

N/A
N/A
Protected

Academic year: 2021

Share "Universidad Autónoma de Nuevo León"

Copied!
39
0
0

Texto completo

(1)

Universidad Autónoma de Nuevo León

Facultad de Ingeniería Mecánica y Eléctrica

Sistemas mecatrónicos y robóticos

Capítulo 2 – Cinemática directa

(2)

Modelo cinemático directo

Para que un robot ejecute una tarea es necesario

controlar la posición y orientación de su efector final.

Posición y orientación de TCP en coordenadas

cartesianas, se alcanza mediante ajuste de las

articulaciones del robot.

Es necesaria la relación entre coordenadas cartesianas

(3)

Si las posiciones articulares q

i

son conocidas, entonces

se calcula la posición p y orientación del TCP:

Modelo cinemático directo.

=>Tiene solución analítica única, y puede resolverse con

métodos geométricos o con álgebra lineal.

Si se conoce la posición p y orientación del TCP, se

calculan las posiciones q

i

de cada eslabón:

Modelo cinemático inverso

.

=>Sólo se resuelve analíticamente en casos sencillos y

puede tener múltiples soluciones. Normalmente se

resuelve con algoritmos numéricos iterativos.

La cinemática sólo involucra posiciones, velocidades y

aceleraciones, sin embargo no toma los efectos de

inercia ni fuerzas.

(4)

El modelo cinemático directo consiste en expresar la

posición del TCP en coordenadas rectangulares p mediante

una función

de las n posiciones articulares q

i

. Es decir,

donde q es el vector de n posiciones articulares q

i

.

La orientación del TCP se da

en ángulos de Euler

,

,

:

( )

( )

( )

x

x

y

y

z

z

p

q

p

p

q

p

q

  

  

  

 

  

  

1

2

3

( )

( )

( )

( )

q

q

q

q

  

  

  

  

 

(5)

2.1 Método geométrico

En el caso planar, el modelo cinemático directo y la

orientación del TCP son:

De los siguientes robots, obtenga:

a) El modelo cinemático directo

b) orientación de la herramienta final

( )

( )

x

x

y

y

p

q

p

p

q

  

  

  

( )

q

 

 

(6)

Introduction to Robotics, H. Harry Asada

1

Chapter 4

Planar Kinematics

Kinematics is Geometry of Motion. It is one of the most fundamental disciplines in robotics, providing tools for describing the structure and behavior of robot mechanisms. In this chapter, we will discuss how the motion of a robot mechanism is described, how it responds to actuator movements, and how the individual actuators should be coordinated to obtain desired motion at the robot end-effecter. These are questions central to the design and control of robot mechanisms.

To begin with, we will restrict ourselves to a class of robot mechanisms that work within a plane, i.e. Planar Kinematics. Planar kinematics is much more tractable mathematically,

compared to general three-dimensional kinematics. Nonetheless, most of the robot mechanisms of practical importance can be treated as planar mechanisms, or can be reduced to planar problems. General three-dimensional kinematics, on the other hand, needs special mathematical tools, which will be discussed in later chapters.

4.1 Planar Kinematics of Serial Link Mechanisms

Example 4.1 Consider the three degree-of-freedom planar robot arm shown in Figure 4.1.1. The arm consists of one fixed link and three movable links that move within the plane. All the links are connected by revolute joints whose joint axes are all perpendicular to the plane of the links. There is no closed-loop kinematic chain; hence, it is a serial link mechanism.

x

End Effecter

Joint 1

Link 3

Link 2

Link 1

Joint 3

Joint 2

A

O

2

A

1

A

y

1

θ

Link 0

3

A

e

φ

3

θ

2

θ

⎟⎟

⎜⎜

e e

y

x

B

E

Figure 4.1.1 Three dof planar robot with three revolute joints

To describe this robot arm, a few geometric parameters are needed. First, the length of each link is defined to be the distance between adjacent joint axes. Let points O, A, and B be the locations of the three joint axes, respectively, and point E be a point fixed to the end-effecter. Then the link lengths are A1 =OA,A2 =AB,A3 =BE . Let us assume that Actuator 1 driving

(7)

Introduction to Robotics, H. Harry Asada

2

link 1 is fixed to the base link (link 0), generating angle

θ

1, while Actuator 2 driving link 2 is fixed to the tip of Link 1, creating angle

θ

2 between the two links,and Actuator 3 driving Link 3 is fixed to the tip of Link 2, creating angle

θ

3

,

as shown in the figure. Since this robot arm performs tasks by moving its end-effecter at point E, we are concerned with the location of the end-effecter. To describe its location, we use a coordinate system, O-xy, fixed to the base link with the origin at the first joint, and describe the end-effecter position with coordinates eand

e.We can relate the end-effecter coordinates to the joint angles determined by the three actuators by using the link lengthsand joint angles defined above:

x

y

)

cos(

)

cos(

cos

1 2 1 2 3 1 2 3 1

θ

+

θ

+

θ

+

θ

+

θ

+

θ

=

A

A

A

e

x

(4.1.1)

)

sin(

)

sin(

sin

1 2 1 2 3 1 2 3 1

θ

+

θ

+

θ

+

θ

+

θ

+

θ

=

A

A

A

e

y

(4.1.2)

This three dof robot arm can locate its end-effecter at a desired orientation as well as at a desired position. The orientation of the end-effecter can be described as the angle the centerline of the end-effecter measured from the positive x coordinate axis. This end-effecter orientation

φ

e is related to the actuator displacements as

3 2

1

θ

θ

θ

φ

e

=

+

+

(4.1.3)

The above three equations describe the position and orientation of the robot end-effecter viewed from the fixed coordinate system in relation to the actuator displacements. In general, a set of algebraic equations relating the position and orientation of a robot end-effecter, or any significant part of the robot, to actuator or active joint displacements, is called Kinematic

Equations, or more specifically, Forward Kinematic Equations in the robotics literature. Exercise 4.1

Shown below in Figure 4.1.2 is a planar robot arm with two revolute joints and one prismatic joint. Using the geometric parameters and joint displacements, obtain the kinematic equations relating the end-effecter position and orientation to the joint displacements.

End Effecter

Joint 1

Link 3

Link 2

Link 1

Joint 3

Joint 2

y

A

3 1

θ

e

φ

3

θ

x

⎟⎟

⎜⎜

e e

y

x

d

E

B

O

A

Link 0

Figure 4.1.2 Three dof robot with two revolute joints and one prismatic joint

(8)

Introduction to Robotics, H. Harry Asada

3

Now that the above Example and Exercise problems have illustrated kinematic equations, let us obtain a formal expression for kinematic equations. As mentioned in the previous chapter, two types of joints, prismatic and revolute joints, constitute robot mechanisms in most cases. The displacement of the i-th joint is described by distance di if it is a prismatic joint, and by angle

θ

i for a revolute joint. For formal expression, let us use a generic notation: qi. Namely, joint displacement qi represents either distance di or angle

θ

idepending on the type of joint.

i

{

i i

d

q

θ

=

Prismatic joint (4.1.4) Revolute joint

We collectively represent all the joint displacements involved in a robot mechanism with a column vector: , where n is the number of joints. Kinematic equations relate these joint displacements to the position and orientation of the end-effecter. Let us

collectively denote the end-effecter position and orientation by vector p. For planar mechanisms, the end-effecter location is described by three variables:

[

T n q q q q= 1 2 "

]

=

e e e

y

x

p

φ

(4.1.5)

Using these notations, we represent kinematic equations as a vector function relating p to q:

1 1 3

,

),

(

q

p

x

q

nx

f

p

=

(4.1.6)

For a serial link mechanism, all the joints are usually active joints driven by individual actuators. Except for some special cases, these actuators uniquely determine the end-effecter position and orientation as well as the configuration of the entire robot mechanism. If there is a link whose location is not fully determined by the actuator displacements, such a robot

mechanism is said to be under-actuated. Unless a robot mechanism is under-actuated, the collection of the joint displacements, i.e. the vector q, uniquely determines the entire robot configuration. For a serial link mechanism, these joints are independent, having no geometric constraint other than their stroke limits. Therefore, these joint displacements are generalized

coordinates that locate the robot mechanism uniquely and completely. Formally, the number of

generalized coordinates is called degrees of freedom. Vector q is called joint coordinates, when they form a complete and independent set of generalized coordinates.

4.2 Inverse Kinematics of Planar Mechanisms

The vector kinematic equation derived in the previous section provides the functional relationship between the joint displacements and the resultant end-effecter position and

orientation. By substituting values of joint displacements into the right-hand side of thekinematic equation, one can immediately find the corresponding end-effecter position andorientation. The problem of finding the end-effecter position and orientation for a given set ofjoint displacements is referred to as the direct kinematics problem. This is simply to evaluatethe right-hand side of the kinematic equation for known joint displacements.In this section, we discuss the problem of moving the end-effecter of a manipulator armto a specified position and orientation. We need to find the joint displacements that lead theend-effecter to the specified position and orientation. This is the inverse of the previousproblem, and is thus referred to as the inverse kinematics

problem. The kinematic equationmust be solved for joint displacements, given the end-effecter

(9)

Modelo

cinemático

directo espacial

En el caso 3D

( )

( )

( )

( )

q

q

q

q

 

De los siguientes robots, obtenga:

a) El modelo cinemático directo

b) orientación de la herramienta final

( )

( )

( )

x

x

y

y

z

z

p

q

p

p

q

p

q

  

  

  

 

  

  

(10)
(11)

1.- Robot Cilíndrico

Solución:

2 1 2 1 3

cos( )

sin( )

x y z

p

q

q

p

q

q

h q

p

  

  

  

  

 

1

90º

q

(12)

2.-Robot esférico

(13)

2.-Robot esférico

(14)

3.- Robot angular 3D con 3

gdl RRR, origen en la

base.

Solución:

(15)

3.- Robot angular 3D con 3

gdl RRR, origen en la

base.

(16)

4.- Robot SCARA

(17)

4.- Robot SCARA

Solución:

*Ejercicios

Simule los modelos cinemáticos de todos los

mecanismos de este capítulo.

Ilustre gráficamente las posiciones articulares y

cartesianas para cada mecanismo, proponga

arbitrariamente valores de longitudes de eslabones.

2 1 3 1 2 2 1 3 1 2 3

cos( )

cos(

)

sin( )

sin(

)

x y z

p

l

q

l

q

q

p

l

q

l

q

q

h q

p

  

  

  

  

 

1 2 4

90º

q

q

q

 

(18)
(19)

Universidad Autónoma de Nuevo León

Facultad de Ingeniería Mecánica y Eléctrica

Sistemas mecatrónicos y robóticos

Capítulo 3 – Cinemática inversa

(20)

3.1 Cinemática inversa (método geométrico)

El modelo cinemático inverso consiste en expresar las n

posiciones articulares q

i

de cada eslabón en función de

la posición p del TCP dada en coordenadas

rectangulares. Es decir,

donde q es el vector de n posiciones articulares q

i

.

Debido a la complejidad para resolverlo analíticamente,

es común suplir los modelos inversos por algoritmos

iterativos, de aproximación o tablas.

1

( )

(21)

Dada la posición cartesiana p del TCP, obtenga el modelo

cinemático inverso de los siguientes mecanismos de robot:

1.- Péndulo simple planar con

(22)

Dada la posición cartesiana p del TCP, obtenga el modelo

cinemático inverso de los siguientes mecanismos de robot:

1.- Péndulo simple planar con

1 gdl, .

Solución:

El TCP está restringido a la

circunferencia descrita por

2

, entonces

2 2 x y

p

p

R

1 1

( )

tan (

y x

)

q

 

p

p

p

(23)

2.- Robot angular planar con 2

gdl.

*Ejercicio: Resolver la otra

solución (paralelogramo)

(24)

2.- Robot angular planar con 2

gdl.

a) Si no importa la

orientación, una solución

es:

1 2 2 2 2 2 2 1 2 1 2 2 2 2 1 1 2

tan

2

cos

2

cos

y x x y

p

p

r

p

p

l

l

l l

r

r

l

rl

l

 

 

2 2 2 2 1 2 1 1 2 2 1 1 2 2 2 2 2 1 2 1 1 2

tan

cos

2

180º cos

2

y x y x x y x y

p

p

p

l

l

p

q

l

p

p

q

l

l

p

p

l l

  

 

 

 

 

 

*Ejercicio: Resolver la otra

solución (paralelogramo)

(25)

b) Conociendo la orientación

del TCP:

Debe cumplirse

para que exista solución

2

1

2

1

cos( )

sin( )

x

y

p

l

x

p

l

y

 

 

 

  

1

1

1

1

2

1

tan (

)

q

y x

q

q

 

 

 

  

2

2

2

1

1

1

x

y

l

(26)

3.-Robot angular planar

con 3 gdl, conociendo la

orientación del TCP.

(27)

3.-Robot angular planar

con 3 gdl, conociendo la

orientación del TCP.

Solución

1 2 2 2 2 2 2 1 2 1 2 2 2 2 1 1 2

tan

2

cos

2

cos

w w w w

y

x

r

x

y

l

l

l l

r

r

l

rl

l

 

 

2 2 2 2 1 1 1 2 2 2 1 1 2 2 2 2 1 1 2 2 1 2 3 1 2

tan

cos

2

180º cos

2

w w w w w w w w

y

x

y

l

l

x

l

x

y

q

l

l

x

y

q

l l

q

q

q

  

 

 

 

   

 

 

  

 

(28)
(29)

4.- Robot cilíndrico.

Solución:

1

1

2

2

2

3

tan (

y

/

x

)

x

y

z

p

p

q

q

p

p

q

h

p

 

  

 

 

 

(30)

5.-Robot esférico.

(31)

5.-Robot esférico.

(32)

6.-Robot angular 3D con

3 gdl RRR, origen en la

base.

(33)

6.-Robot angular 3D con

3 gdl RRR, origen en la

base.

Solución:

2 2 2 2 2 2 2 2 2 1 1 2 2 2 2 1 2 3 2 3 3 2 2 2 1 2 3 3 2 3 1 1 1 1 2 2 2 2 2 1 2 3 1 3 2

(

)

(

)

(

)

2

cos( )

180º

180º

cos

2

tan

tan

s

cos

tan

2

w x y w z x y z w z z z w x y

r

p

p

r

r

p

l

p

p

p

l

r

p

l

l

l

l l

q

l

l

r

q

l l

p

l

p

l

B

r

p

p

r

l

l

l

A

rl

    

  

 

 

3 2 3 3 2 3

in( )

cos( )

180º ( )

q

l

l

q

q

B

A

q

 

(34)

1 1 2 2 2 2 2 1 2 3 1 1 1 2 2 2 2 2 2 2 1 3 2 2 2 2 2 2 3 1 1 2 3

tan

(

)

tan

cos

2

(

)

(

)

180º cos

2

y x x y z z x y x y z x y z

p

p

q

p

p

p

l

l

l

p

l

q

p

p

l

p

p

p

l

q

l

l

p

p

p

l

l l

   

 

 

 

 

 

 

  

 

(35)

7.-Robot SCARA

2 2 2 1 2 2 2 1 2 3 2 3 2 2 2 1 2 3 2

tan

cos

2

cos

2

w x y y x w w w

r

p

p

p

p

l

l

r

l l

r

l

l

l r

  

 

 

(36)

7.-Robot SCARA

Las soluciones son:

2 2 2 1 2 2 2 1 2 3 2 3 2 2 2 1 2 3 2

tan

cos

2

cos

2

w x y y x w w w

r

p

p

p

p

l

l

r

l l

r

l

l

l r

  

 

 

1 2 3 1

180º

z

q

q

q

l

p

 

 

 

1

2

3

1

180º

z

q

q

q

l

p

 

 

 

(37)

Caso práctico:

Se requiere que el TCP del robot se posicione en cada

esquina y en el centro de una placa horizontal cuadrada de

2m, que está a una altura de 2m y separada 1m de cada

eje x,y.

Los eslabones son l

1

=3,m l

2

=3m, l

3

=2m.

Haga una tabla de estaciones y secuencia con posición de

cada articulación.

y

0

(38)

Caso práctico:

y

0

x

Estación Px Py Pz q1 q2 q3 Esquina 1 Esquina 2 Esquina 3 Esquina 4 Centro

(39)

*Ejercicios

Simule los modelos cinemáticos de todos los

mecanismos de este capítulo.

Ilustre gráficamente las posiciones articulares y

cartesianas para cada mecanismo, proponga

arbitrariamente valores de longitudes de

eslabones.

Referencias

Documento similar

In the preparation of this report, the Venice Commission has relied on the comments of its rapporteurs; its recently adopted Report on Respect for Democracy, Human Rights and the Rule

The expression ((having become common since the spring)) -the French original reads ((etant devenues populaires des le printems»- refers to the spring of 1708 and is

The second part of the paper presents, based on the saturation backoff delay analysis of the first part, a study of the end-to-end delay distribution in a mixed scenario with voice

No obstante, como esta enfermedad afecta a cada persona de manera diferente, no todas las opciones de cuidado y tratamiento pueden ser apropiadas para cada individuo.. La forma

The more general notion of face of a convex set enjoys great presence in the framework of the geometry and structure of Banach spaces, as can be seen in [3].. Mention should also

The purpose of the research project presented below is to analyze the financial management of a small municipality in the province of Teruel. The data under study has

Díaz Soto has raised the point about banning religious garb in the ―public space.‖ He states, ―for example, in most Spanish public Universities, there is a Catholic chapel

Abstract—This paper proposes a novel application of the Stewart–Gough parallel platform as a climbing robot and its kine- matics control to climb through long structures