A control method of a driving device for driving a robot that includes an end effector configured to hold a first workpiece, and a robot arm including the driving device and configured to move the end effector and cause the first workpiece to contact a second workpiece, the driving device including:
- a first driving source,
- a second driving source, and
- an output portion to which both rotation of the first driving source and rotation of the second driving source are transmitted,
- the method comprising:
- executing, by a control device, a first process and a second process depending on a motion of the robot to be performed,
- wherein, in the first process, the control device controls the first driving source and the second driving source such that when the output portion is rotated in a predetermined direction, a rotational direction of the output portion is limited to the predetermined direction, for positioning the end effector at a predetermined position via the output portion and causing the end effector to hold the first workpiece,
- wherein, in the second process, the control device controls the first driving source and the second driving source such that when the output portion is rotated in the predetermined direction, the output portion is able to rotate in a direction opposite to the predetermined direction, for moving the end effector via the output portion and causing the first workpiece to contact the second workpiece to manufacture a product,
- wherein, in a case where the second process is executed to control the end effector via the output portion to move the first workpiece, the control device controls the first driving source and the second driving source such that a first torque generated by the first driving source and a second torque generated by the second driving source are made different and a difference is generated between the first torque and the second torque, and
- wherein, in a case where the second process is executed to control the end effector via the output portion to cause the first workpiece to contact the second workpiece, the control device controls the first driving source and the second driving source such that the first torque generated by the first driving source and the second torque generated by the second driving source are controlled such that the difference between the first torque and the second torque is less than the difference between the first torque and the second torque in the case where the second process is executed to control the end effector via the output portion to move the first workpiece.