1
$\begingroup$

I am learning Simmechanics Matlab to do inverse dynamics for 4 DOF robotic arm. I read many examples to input motion to revolute joints like through PID, slider gain, sine waves, signal Builder etc. But these are not fulfilling my purpose as I have to rotate angles within limits and automatically. For example when I used sine wave signal, it continuously rotate until simulation time is not over. So, basically what I have is angles to rotate (through inverse kinematics) and now I want to find out torque required to reach that pose. How I can do this? How to create signal which fit in this scenario.

Thanks.

$\endgroup$
1
$\begingroup$

For each revolute joint in the robot you can add a joint sensor. The sensors can be configured to output all joint forces and torques. That way you can compute reaction and motor forces and torques for a specified motion or pose of the robot.

Please make sure that you carefully select the reference frames for the measurements.

$\endgroup$
  • $\begingroup$ Thanks 50k4 for reply, I know how to give motion to joints but what I do not know is like this. Let theta1 should move from 0 to 10 deg, theta2 should move from 0 to 15 deg, likewise theta3 and theta4 should move some angle to reach a known pose. How to give motion input to robot revolute joint like this. I solved inverse kinemtics for my robot so I know these angles. Thanks. $\endgroup$ – Naseeb Gill Mar 12 '17 at 17:27
0
$\begingroup$

You can use Simscape Multibody (the new name for what was SimMechanics) as a two-step process.

Joints in the package generally allow for one of two inputs to be used - force/torque or position. If you choose to provide joint torque, then the resulting output motion is calculated by the dynamics of the system. If you choose to provide joint position, then Simscape calculates the force/torque required to achieve that motion, then applies that to the system dynamics.

The process I would use for designing would go something like this:

  1. Create a motion profile that you deem is representative of the tasks the robot is supposed to perform.
  2. Calculate the inverse kinematics to get the required joint angles to achieve the motion profile.
  3. Use the joint sensors 50k4 mentioned to trend/plot the joint forces and torques required to achieve your motion profile.
  4. Choose the peak force/torque for each axis of motion, add some performance margin, and choose actuators that at least provide that performance.
  5. Generate a model for the actuators you selected. This model includes whatever actuator dynamics there are along with whatever input conditioning you're expecting to use. For example, how are you expecting to have the actuators in real life track joint angle? PID control of angle error? That's what you model.
  6. Replace your ideal multibody joints with your detailed actuator models.
  7. Re-run your simulation and verify you're getting the performance you want.

Important to note - try to model weight and bulk as accurately as you can. Masses and inertias can, in some instances, have a very dramatic and negative impact on performance.

$\endgroup$
  • $\begingroup$ So, to be clear, the "two step process" that I've outlined in seven steps is really just provide the ideal angles and use a joint sensor to find what torques are required, then provide those torques and verify that you're getting the desired motion. The torques you should be providing are the ones that the actuator you intend to use can output, not the ideal torque source of an ideal joint in simscape multibody. $\endgroup$ – Chuck Apr 11 '17 at 14:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.