Skip to content

kinematic and dynamic simulation and analysis of the six-degree-of-freedom robot(6R Robot)

Notifications You must be signed in to change notification settings

FazelehTavassolian/6DOF-manipulator-kinematic-and-dynamic-simulation-in-Matlab

Repository files navigation

6DOF-manipulator-kinematic-and-dynamic-simulation-in-Matlab

kinematic and dynamic simulation and analysis of the six-degree-of-freedom robot(6R Robot)

Forward kinematic:

Denavit-Hartenberg parameters of robot interfaces:

image

Inverse kinematics(position):

image

image

image

image

image

image

Where the D is equal to:

image

Inverse kinematics(Orientation):

image

Inverse kinematic results for the spatial circle path

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]

image

image

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

image

image

The position-time diagram (q-t) and the velocity-time diagram (dq-t) and the acceleration-time diagram (ddq-t) for each interface shows.

velocity and Jacobin Kinematics:

For all 6 links:(I=1,2,3,4,5,6):

image

Robot Dynamics:

To determine the Euler-Lagrange equations, it is necessary to form the Lagrangian system, which is the difference between kinetic energy and potential energy.

Kinetic energy:

image

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:

image

D is called the inertia matrix, which is a symmetric and definite positive matrix.

potential energy:

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:

image

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.

Motion equations:

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:

image

Which dij is matrix components D. 2. The potential energy is independent of diff (q) Therefore, Lagrange for the robot is obtained as follows:

image

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 :

image

As a result, the Euler-Lagrange equations can be written as follows:

image

Robot simulation and animation:

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.

image

How to run the program:

Please run the following programs:

1-one_forward_kinematic_and_jacobian
2-tow_invert_kinematics
3-three_invert_dynamic
4-four_animate

About

kinematic and dynamic simulation and analysis of the six-degree-of-freedom robot(6R Robot)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages