kinematic and dynamic simulation and analysis of the six-degree-of-freedom robot(6R Robot)
Denavit-Hartenberg parameters of robot interfaces:
Where the D is equal to:
In this project, we have examined inverse kinematics per 100 points for the case where the end effector follows a path corresponding to a space circle. and the rotation matrix is as follows:
R=[1.1 1 1.2;1.3 1.4 1.4;.9 1.2 1]
Obtain the movement path of links using interpolation and speed analysis of each link:
2dx(x-xc)+2dy(y-yc)+2dz(z-zc)=0 dx^2+dy^2+dz^2=1 dz=0.2
The position-time diagram (q-t) and the velocity-time diagram (dq-t) and the acceleration-time diagram (ddq-t) for each interface shows.
For all 6 links:(I=1,2,3,4,5,6):
To determine the Euler-Lagrange equations, it is necessary to form the Lagrangian system, which is the difference between kinetic energy and potential energy.
Where m is the mass of the whole body and v, w are angular velocity vectors and linear velocities, respectively. The symmetric matrix I is also a 3 * 3 matrix called the inertial tensor. Using the rotation matrices for each link so that we have kinetic energy for:
D is called the inertia matrix, which is a symmetric and definite positive matrix.
To calculate the potential energy under rigid dynamic conditions, the only source of energy is the gravitational potential. For the i link, the following is:
Which g is a vector that shows the direction of gravity in the inertia coordinate system and the vector r determines the coordinates of the center of mass of the link.
To write the Euler-Lagrange equations in a particular case, two conditions must first be met. Kinetic energy is a quadratic function of the diff (q) vector as follows:
Which dij is matrix components D. 2. The potential energy is independent of diff (q) Therefore, Lagrange for the robot is obtained as follows:
The Euler-Lagrange equation is obtained as follows, in which c is called the Christopher symbol (type one), which is a partial derivation of the matrix of inertia D and ø is the gravity vector obtained by deriving the potential energy :
As a result, the Euler-Lagrange equations can be written as follows:
To simulate the robot, we need the coordinates and position of the joints at any given moment, which we obtain from the direct kinematic solution and the fourth column of the transformation matrices. The path of the space circle is achieved by the final performer. The film is attached.
Please run the following programs:
1-one_forward_kinematic_and_jacobian
2-tow_invert_kinematics
3-three_invert_dynamic
4-four_animate