what is inverse kinematics? -凯发k8网页登录

inverse kinematics (ik) algorithm design with matlab and simulink

kinematics is the study of motion without considering the cause of the motion, such as forces and torques. inverse kinematics is the use of kinematic equations to determine the motion of a robot to reach a desired position. for example, to perform automated bin picking, a robotic arm used in a manufacturing line needs precise motion from an initial position to a desired position between bins and manufacturing machines. the grasping end of a robot arm is designated as the end-effector. the robot configuration is a list of joint positions that are within the position limits of the robot model and do not violate any constraints the robot has.

given the desired robot’s end-effector positions, inverse kinematics (ik) can determine an appropriate joint configuration for which the end-effectors move to the target pose.

 

configuring the joint positions of a robot using forward or inverse kinematics.

once the robot’s joint angles are calculated using the inverse kinematics, a motion profile can be generated using the jacobian matrix to move the end-effector from the initial to the target pose. the jacobian matrix helps define a relationship between the robot’s joint parameters and the end-effector velocities.

in contrast to forward kinematics (fk), robots with multiple revolute joints generally have multiple solutions to inverse kinematics, and various methods have been proposed according to the purpose. in general, they are classified into two methods, one that is analytically obtained (i.e., analytic solution) and the other that uses numerical calculation.

numerical inverse kinematic solutions

in order to approximate a robot configuration that achieves specified goals and constraints for the robot, numerical solutions can be used. each joint angle is calculated iteratively using algorithms for optimization, such as gradient-based methods.

numerical ik solvers are more general but require multiple steps to converge toward the solution to the non-linearity of the system, while analytic ik solvers are best suited for simple ik problems. numerical ik is more versatile in that robot kinematic constraints can be specified and external constraints, like an aiming constraint for a camera arm to point at a target location, can be set to ik solvers. determining which ik solver to apply mainly depends on the robot applications, such as real-time interactive applications, and on several performance criteria, such as the smoothness of the final pose and scalability to redundant robotics systems.

example: plan a reaching trajectory with multiple kinematic constraints

generalized inverse kinematics to plan a joint-space trajectory with multiple constraints.

you can use robotics system toolbox™ and simscape multibody™ for ik using numerical calculation. related workflows include:

  • creating a rigid body tree robot model
  • importing robot definitions from urdf or dh parameters
  • building a multibody model based on the information defined in cad
  • computing the geometric jacobian
  • analyzing inverse kinematics
  • designing inverse kinematics solvers, configurations, and waypoints
  • solving for multiple-constraint kinematics configuration using generalized inverse kinematics solvers
  • analyzing parallel link mechanism
  • generating equivalent c/c code and embedding it in other application

see robotics system toolbox and simscape multibody for more information.

analytical inverse kinematic solutions

each joint angle is calculated from the pose of the end-effector based on a mathematical formula. by defining the joint parameters and end-effector poses symbolically, ik can find all possible solutions of the joint angles in an analytic form as a function of the lengths of the linkages, its starting posture, and the rotation constraints.

analytical ik is mainly used for robots with low degrees of freedom (dof) due to the nonlinearity of the kinematics equations and the lack of scalability for redundant robot configurations.

example:

a two-linkage robot arm with the joint angles θ1 and θ2 and the joint parameters to calculate the inverse kinematics solutions.

analytic inverse kinematic solutions of the joint angles θ1 and θ2 at the desired end-effector pose.

robotics system toolbox™ and symbolic math toolbox™ can be used for analytical ik.

with these products, you can:

  • generate analytical ik solvers for subsets of 6-dof robots defined in matlab
  • write custom solvers by defining robot’s end-effector location and joint parameters symbolically as sine and cosine functions
  • solve inverse kinematics equations for the joint angles and generate motion profiles
  • convert the derived expressions into matlab® function blocks and create a simulink® or simscape™ model to simulate the robot
  • generate equivalent c code to incorporate with other applications.

videos


software reference

see also: robotics system toolbox, simscape multibody, symbolic math toolbox, robot programming, path planning, dimensional analysis, cobots

university of michigan develops controls for bipedal robots with model-based design

网站地图