Class content : topics discussed robotics control
Robot controls
Saturday, September 24, 2016
Sunday, August 28, 2016
Animation for machine dynamics
This is the animation which is created for people who are interested in learning machine dynamics.
Tuesday, August 23, 2016
Sllider crank mechanism- forces acting in the links
Forces acting in the slider crank mechanism
This is the content discussed in the class. step by step procedure is given in the presentation.
You can download and learn yourself. For feed back and queries mail me.
Monday, August 22, 2016
Learning Kinematics
This is one of the interesting blogs I have come across .I appreciate the efforts made by Cornell University in bringing up this content.
Students/ learners could benefit from the content. As usual pl give your feed back , comments and post your questions.
Open access content in Kinematics
Students/ learners could benefit from the content. As usual pl give your feed back , comments and post your questions.
Open access content in Kinematics
Thursday, August 18, 2016
Machine dynamics
This is the content which will create an Understanding in finding the forces acting in a four bar mechanism.
Thanks to our Prof.Rasool Mohideen and my students
Tilak and Imran
click to download
Thanks to our Prof.Rasool Mohideen and my students
Tilak and Imran
click to download
Saturday, July 2, 2016
Wednesday, May 4, 2016
Learning Jacobian matirix and sample Problem
A sample problem is given in the link. This can give a overview of the Jacobian matrix and understanding of kinematic analysis of robots.
Ack: Springer : Industrial Robotics application.
Thursday, April 7, 2016
Wednesday, April 6, 2016
robotics control
ROBOT CONTROL JACOBIANS, VELOCITY, AND FORCE
Jacobian matrices are a super useful tool, and heavily used throughout robotics and control theory. Basically, a Jacobian defines the dynamic relationship between two different representations of a system. For example, if we have a 2-link robotic arm, there are two obvious ways to describe its current position: 1) the end-effector position and orientation (which we will denote ), and 2) as the set of joint angles (which we will denote ). The Jacobian for this system relates how movement of the elements of causes movement of the elements of . You can think of a Jacobian as a transform matrix for velocity.
Formally, a Jacobian is a set of partial differential equations:
Why is this important? Well, this goes back to our desire to control in operational (or task) space. We’re interested in planning a trajectory in a different space than the one that we can control directly. Iin our robot arm, control is effected through a set of motors that apply torque to the joint angles, BUT what we’d like is to plan our trajectory in terms of end-effector position (and possibly orientation), generating control signals in terms of forces to apply in space. Jacobians allow us a direct way to calculate what the control signal is in the space that we control (torques), given a control signal in one we don’t (end-effector forces). The above equivalence is a first step along the path to operational space control. As just mentioned, though, what we’re really interested in isn’t relating velocities, but forces. How can we do this?
Energy equivalence and Jacobians
Conservation of energy is a property of all physical systems where the amount of energy expended is the same no matter how the system in question is being represented. The planar two-link robot arm shown below will be used for illustration.
Let the joint angle positions be denoted , and end-effector position be denoted .
Work is the application of force over a distance
where is work, is force, and is velocity.
Power is the rate at which work is performed
where is power.
Substituting in the equation for work into the equation for power gives:
Because of energy equivalence, work is performed at the same rate regardless of the characterization of the system. Rewriting this terms of end-effector space gives:
where is the force applied to the hand, and is the velocity of the hand. Rewriting the above in terms of joint-space gives:
where is the torque applied to the joints, and is the angular velocity of the joints. Setting these two equations (in end-effector and joint space) equal to each other and substituting in our equation for the Jacobian gives:
where is the Jacobian for the end-effector of the robot, and represents the forces in joint-space that affect movement of the hand. This says that not only does the Jacobian relate velocity from one state-space representation to another, it can also be used to calculate what the forces in joint space should be to effect a desired set of forces in end-effector space.
Building the Jacobian
First, we need to define the relationship between the position of the end-effector and the robot’s joint angles, . However will we do it? Well, we know the distances from the shoulder to the elbow, and elbow to the wrist, as well as the joint angles, and we’re interested in finding out where the end-effector is relative to a base coordinate frame…OH MAYBE we should use those forward transformation matrices from the previous post. Let’s do it!
The forward transformation matrix
Recall that transformation matrices allow a given point to be transformed between different reference frames. In this case, the position of the end-effector relative to the second joint of the robot arm is known, but where it is relative to the base reference frame (the first joint reference frame in this case) is of interest. This means that only one transformation matrix is needed, transforming from the reference frame attached to the second joint back to the base.
The rotation part of this matrix is straight-forward to define, as in the previous section:
The translation part of the transformation matrices is a little different than before because reference frame 1 changes as a function of the angle of the previous joint’s angles. From trigonometry, given a vector of length and an angle the position of the end point is defined , and the position is . The arm is operating in the plane, so the position will always be 0.
Using this knowledge, the translation part of the transformation matrix is defined:
Giving the forward transformation matrix:
which transforms a point from reference frame 1 (elbow joint) to reference frame 0 (shoulder joint / base).
The point of interest is the end-effector which is defined in reference frame 1 as a function of joint angle, and the length of second arm segment, :
To find the position of our end-effector in terms of the origin reference frame multiply the point by the transformation :
where, by pulling out the term and using the trig identities
and
the position of our end-effector can be rewritten:
which is the position of the end-effector in terms of joint angles. As mentioned above, however, both the position of the end-effector and its orientation are needed; the rotation of the end-effector relative to the base frame must also be defined.
Accounting for orientation
Fortunately, defining orientation is simple, especially for systems with only revolute and prismatic joints (spherical joints will not be considered here). With prismatic joints, which are linear and move in a single plane, the rotation introduced is 0. With revolute joints, the rotation of the end-effector in each axis is simply a sum of rotations of each joint in their respective axes of rotation.
In the example case, the joints are rotating around the axis, so the rotation part of our end-effector state is
where denotes angular rotation. If the first joint had been rotating in a different plane, e.g. in the plane around the axis instead, then the orientation would be
Partial differentiation
Once the position and orientation of the end-effector have been calculated, the partial derivative of these equations need to be calculated with respect to the elements of . For simplicity, the Jacobian will be broken up into two parts, and , representing the linear and angular velocity, respectively, of the end-effector.
The linear velocity part of our Jacobian is:
The angular velocity part of our Jacobian is:
The full Jacobian for the end-effector is then:
Analyzing the Jacobian
Once the Jacobian is built, it can be analysed for insight about the relationship between and .
For example, there is a large block of zeros in the middle of the Jacobian defined above, along the row corresponding to linear velocity along the axis, and the rows corresponding to the angular velocity around the and axes. This means that the position, and rotations and are not controllable. This can be seen by going back to the first Jacobian equation:
No matter what the values of , it is impossible to affect , , or , because the corresponding rows during the above multiplication with the Jacobian are . These rows of zeros in the Jacobian are referred to as its `null space’. Because these variables can’t be controlled, they will be dropped from both and .
Looking at the variables that can be affected it can be seen that given any two of the third can be calculated because the robot only has 2 degrees of freedom (the shoulder and elbow). This means that only two of the end-effector variables can actually be controlled. In the situation of controlling a robot arm, it is most useful to control the coordinates, so will be dropped from the force vector and Jacobian.
After removing the redundant term, the force vector representing the controllable end-effector forces is
where is force along the axis, is force along the axis, and the Jacobian is written
If instead , i.e. torque around the axis, were chosen as a controlled force then the force vector and Jacobian would be (assuming force along the axis was also chosen):
But we’ll stick with control of the and forces instead, as it’s a little more straightforward.
Using the Jacobian
With our Jacobian, we can find out what different joint angle velocities will cause in terms of the end-effector linear and angular velocities, and we can also transform desired forces into torques. Let’s do a couple of examples. Note that in the former case we’ll be using the full Jacobian, while in the latter case we can use the simplified Jacobian specified just above.
Example 1
Given known joint angle velocities with arm configuration
and arm segment lengths , the velocities of the end-effector can be calculated by substituting in the system state at the current time into the equation for the Jacobian:
And so the end-effector is linear velocity is , with angular velocity is .
courtesy;studywolf.
Formally, a Jacobian is a set of partial differential equations:
.
With a bit of manipulation we can get a neat result:
,
or
,
where and represent the time derivatives of and . This tells us that the end-effector velocity is equal to the Jacobian, , multiplied by the joint angle velocity.Why is this important? Well, this goes back to our desire to control in operational (or task) space. We’re interested in planning a trajectory in a different space than the one that we can control directly. Iin our robot arm, control is effected through a set of motors that apply torque to the joint angles, BUT what we’d like is to plan our trajectory in terms of end-effector position (and possibly orientation), generating control signals in terms of forces to apply in space. Jacobians allow us a direct way to calculate what the control signal is in the space that we control (torques), given a control signal in one we don’t (end-effector forces). The above equivalence is a first step along the path to operational space control. As just mentioned, though, what we’re really interested in isn’t relating velocities, but forces. How can we do this?
Energy equivalence and Jacobians
Conservation of energy is a property of all physical systems where the amount of energy expended is the same no matter how the system in question is being represented. The planar two-link robot arm shown below will be used for illustration.
Let the joint angle positions be denoted , and end-effector position be denoted .
Work is the application of force over a distance
Power is the rate at which work is performed
Substituting in the equation for work into the equation for power gives:
Building the Jacobian
First, we need to define the relationship between the position of the end-effector and the robot’s joint angles, . However will we do it? Well, we know the distances from the shoulder to the elbow, and elbow to the wrist, as well as the joint angles, and we’re interested in finding out where the end-effector is relative to a base coordinate frame…OH MAYBE we should use those forward transformation matrices from the previous post. Let’s do it!
The forward transformation matrix
Recall that transformation matrices allow a given point to be transformed between different reference frames. In this case, the position of the end-effector relative to the second joint of the robot arm is known, but where it is relative to the base reference frame (the first joint reference frame in this case) is of interest. This means that only one transformation matrix is needed, transforming from the reference frame attached to the second joint back to the base.
The rotation part of this matrix is straight-forward to define, as in the previous section:
Using this knowledge, the translation part of the transformation matrix is defined:
The point of interest is the end-effector which is defined in reference frame 1 as a function of joint angle, and the length of second arm segment, :
Accounting for orientation
Fortunately, defining orientation is simple, especially for systems with only revolute and prismatic joints (spherical joints will not be considered here). With prismatic joints, which are linear and move in a single plane, the rotation introduced is 0. With revolute joints, the rotation of the end-effector in each axis is simply a sum of rotations of each joint in their respective axes of rotation.
In the example case, the joints are rotating around the axis, so the rotation part of our end-effector state is
Once the position and orientation of the end-effector have been calculated, the partial derivative of these equations need to be calculated with respect to the elements of . For simplicity, the Jacobian will be broken up into two parts, and , representing the linear and angular velocity, respectively, of the end-effector.
The linear velocity part of our Jacobian is:
Once the Jacobian is built, it can be analysed for insight about the relationship between and .
For example, there is a large block of zeros in the middle of the Jacobian defined above, along the row corresponding to linear velocity along the axis, and the rows corresponding to the angular velocity around the and axes. This means that the position, and rotations and are not controllable. This can be seen by going back to the first Jacobian equation:
Looking at the variables that can be affected it can be seen that given any two of the third can be calculated because the robot only has 2 degrees of freedom (the shoulder and elbow). This means that only two of the end-effector variables can actually be controlled. In the situation of controlling a robot arm, it is most useful to control the coordinates, so will be dropped from the force vector and Jacobian.
After removing the redundant term, the force vector representing the controllable end-effector forces is
Using the Jacobian
With our Jacobian, we can find out what different joint angle velocities will cause in terms of the end-effector linear and angular velocities, and we can also transform desired forces into torques. Let’s do a couple of examples. Note that in the former case we’ll be using the full Jacobian, while in the latter case we can use the simplified Jacobian specified just above.
Example 1
Given known joint angle velocities with arm configuration
courtesy;studywolf.
Subscribe to:
Posts (Atom)