Homework #2                   Due 1/30/08

 

Read:  Skaar and DelCastillo, Intro and Chap. 1.

 

1.                                                                                                                                          1.  Craig, problem 1.4.

 

2.  Recall the results from HW#1 concerning the dynamics or kinetics of the two-link robot pictured to the left: 

d2q1/dt2=f1(q1,q2,dq1/dt,dq2/dt,t1,t 2)

d2q2/dt2=f2(q1,q2,dq1/dt,dq2/dt,t1,t 2)

 

(a)    We seek to simulate the response of the two

links,  q1(t), q2(t) to a particular reference input q1r(t) and q2r(t), given

“PID control” of each of the actuators at each of the two joints.  As with

the simulation shown in lecture 3 the reference input will connect

an initial pose of q1r(0)=p/4 and q2r(0)=0 with a terminal pose

q1r(tf) = q1f =   p/2        and

q2r(tf) = q2f =  -p/4

(Note that these two poses might have been “taught” by a human using a “teach pendant”.)  Determine

your particular value of the reference-maneuver terminal instant, tf, in accordance with your last

name:  tf=[10+n]/20 where n=1 if your last name begins with “A”, n=2 if “B”, and so on.  What is your tf?


(b) Complete and plot over the interval 0<t<2tf your two joints’ reference paths by fitting the values above

to the general form qir(t) = Co + C1t +C2t2 + C3t3, i=1,2, 0<t<tf; qir(t) = qif, i=1,2, tf<t<2tf.  Calculate the eight coefficients

-- four for each link’s desired-movement description -- in such a way that the arm would be at rest both at t=0

and t= tf.

 

(c) We will neglect herein the actuator dynamics, and assume that the two control torques and can be developed

directly using PID control.  Recall that PID control entails use of the error at any instant e1(t)= q1r(t)-q1(t)   and

e2(t)= q2r(t)-q2(t), respectively for each of our two joints, in accordance with the control laws below.  Defining

the six elements of the state as indicated write out the six state equations dxi/dt=gi(x1 … x6, t), i=1, 2 … 6. 

Apply arbitrary physical and gain parameters, L1, L2, m1  Ki2.