The aim of this project is to compute the trajectory in the operational space. We consider the given points at the time stamps given with sample time Ts. The trajectory is generated using the trapezoidal velocity profile. The total trajectory is completed in 3.4 seconds while considering the anticipation time.
There are 2 cases for this project
- Generation of the End-effector trajectory
- Generation of Joint trajectory using Inverse dynamic approach when a 5kg load is placed at the end-effector .
We are given 5 waypoints through which the end-effector must pass. We first compute the constant acceleration and time for each of the consecutive segments.'
After finding the position of the end-effector at every instance of 0.001 seconds we take into the anticipation time consideration. The arc length ‘s’ is calculated for each point and is then added to its previous arc length from the previous point to point p0. This is given by :
We computed the joint torques when a 5kg load is placed at the End-effector using the Lagrangian equation of motion
For computing the Kinetic and Potential energy of all the joints we use an inverse dynamic approach Kinetic energy is given by :
where : B(q) is an inertia matrix , C(q,q_dot) is a matrix considering Centrifugal forces , Fv matrix is a diagonal matrix considering viscous force and G(q) is the 4x1 matrix considering moment due to gravity for each link
The idea behind the Inverse Dynamics approach in order to control / track the joint space trajectory is to implement a function in way which is capable of realizing an input/ output relationship of linear type. This approach performs exact linearization of the dynamics of the system obtained by the help of a non-linear state feedback
The above are the joint trajectories computed using the inverse dynamic control approach for every joint with respect to time