Control method, control device, information processing method, information processing device, robot device, article manufacturing method, program, and recording medium
Patent Information
- Application Number
- JP2021096818
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2021-06-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-06-09
AI Technical Summary
Existing methods for stopping a robot arm fail to adequately consider reducing the risk of hardware damage when constraints on all axes cannot be satisfied during a stop operation.
A control method that determines a control value to prioritize satisfying either the first or second physical constraint based on a predetermined condition when the constraints of both cannot be met, ensuring a stop operation that minimizes hardware risk.
The method enables a stop operation with reduced hardware damage risk even when all axis constraints are not satisfied, prioritizing constraints based on joint speed or predetermined conditions.
Abstract
Description
Technical Field
[0001] The present invention relates to a method for controlling a robot and a method for information processing of a robot.
Background Art
[0002] In recent years, in production sites such as factories, operations such as assembly and conveyance are being automated by a robot system including a robot arm having a plurality of joints and an end effector such as a hand or a tool attached to the robot arm. When operating the robot arm, based on the target position, target speed, interpolation method, etc. input by the user, the control controller generates the target value (target angle) of each joint and executes a desired operation. In such a robot system, when an unexpected operation or some abnormality occurs for the user, it is necessary to immediately stop the robot arm and the end effector in order to ensure the safety of the user and the robot system.
[0003] The non-patent document shown below describes a method for calculating a stop target value such that the movement path of the tip (end effector) of the robot system coincides between the normal operation and the stop operation by introducing a mediation variable in the same dimension as the time axis of the normal operation. A mediation variable based on various physical constraints such as acceleration, jerk, and torque on an arbitrary axis is calculated, and the target value of another axis is calculated based on the mediation variable. If the calculated target values of each axis satisfy the physical constraints of all axes, then the target values of each axis are adopted. Since the target values of each axis are calculated using the same mediation variable, it is ensured that the positional relationship of each axis is the same as the normal trajectory, and the path of the tip during normal operation and the path of the tip during stop operation are the same.
[0004] This allows the end effector to stop on the same path it would have originally traveled before stopping, reducing the risk of collision with surrounding objects during stopping. Furthermore, by adhering to physical constraints when calculating the target value at stopping, it is possible to avoid issuing sudden deceleration commands that place excessive demands on hardware such as arm links and reducers, thereby reducing the risk of hardware damage. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Friedrich Lange and Michael Suppa. “Trajectory Generation for Immediate Path-Accurate Jerk-Limited Stopping of Industrial Robots” Proc.Int.Conf.on Robotic and Automation(ICRA), May 2015 [Overview of the project] [Problems that the invention aims to solve]
[0006] However, in the method described in Non-Patent Document 1 above, when acquiring target values (control values) for each axis for stopping, if it is not possible to calculate target values for each axis that satisfy the constraints for all axes, the predetermined target values that were previously taught during the operation are used as is. Therefore, in stopping when it is not possible to calculate target values for each axis that satisfy the constraints for all axes, sufficient consideration has not been given to reducing the risk of hardware damage.
[0007] In view of the above problems, the present invention provides a control method that enables the acquisition of control values that allow for stopping while minimizing the risk of hardware damage, even when it is not possible to satisfy the constraints of all axes. [Means for solving the problem]
[0008] To solve the above problems, the present invention provides a control method for stopping a robot having at least a first joint and a second joint, characterized in that, when acquiring a control value to execute the stop, if it is not possible to acquire a control value that satisfies a first physical constraint at the first joint and a second physical constraint at the second joint, the control value is acquired in such a way that it prioritizes satisfying either the first physical constraint or the second physical constraint, based on predetermined conditions. [Effects of the Invention]
[0009] According to the present invention, even when it is not possible to satisfy the constraints of all axes, it is possible to acquire control values that enable stopping while minimizing the risk of hardware damage. [Brief explanation of the drawing]
[0010] [Figure 1] This is a schematic diagram of the robot system 1000 in an embodiment. [Figure 2] This is a control block diagram of the robot system 1000 in an embodiment. [Figure 3] This is a control flowchart in the embodiment. [Figure 4] This is a graph of the trajectory of the robot arm body 200 during normal operation in the embodiment. [Figure 5] This is a graph of the trajectory showing the parameters in the embodiment. [Figure 6] This is a graph of the trajectory showing the parameters in the embodiment. [Figure 7] This is a schematic diagram of the robot system 1000 in an embodiment. [Figure 8] This is a control flowchart in the embodiment. [Figure 9] This is a schematic diagram of the information processing device 800 in the embodiment. [Modes for carrying out the invention]
[0011] The embodiments for carrying out the present invention will be described below with reference to the attached drawings. The embodiments shown below are merely examples, and those skilled in the art can modify the details of the configuration as appropriate without departing from the spirit of the present invention. Furthermore, the numerical values discussed in these embodiments are for reference only and do not limit the present invention. In the following drawings, the arrows X, Y, and Z indicate the overall coordinate system of the robot system. Generally, the XYZ 3D coordinate system represents the world coordinate system of the entire installation environment. In addition, a local coordinate system may be used for the robot hand, fingers, joints, etc., depending on control considerations. In this embodiment, the world coordinate system, which is the overall coordinate system, is represented by XYZ, and the local coordinate system is represented by xyz.
[0012] (First Embodiment) Figure 1 is a schematic diagram showing the robot system 1000 in this embodiment. As shown in Figure 1, the robot system 1000 comprises a multi-joint robot arm body 200, an end effector 300 provided at the tip of the robot arm body 200, and a control device 400 that controls the robot arm body 200 and the end effector 300. It also includes a workpiece 600 that is operated using the robot arm body 200 and the end effector body 300, a mounting table 500 on which the workpiece 600 is placed, and a signal input device 700 that transmits the presence or absence of a workpiece to the control device 400. Furthermore, it includes an external input device 800 that inputs command values to the robot arm body 200 and the end effector body 300.
[0013] The robot arm body 200 comprises a base 210 that contacts the ground and five links 201, 202, 203, 204, and 205. It also has five joints J1, J2, J3, J4, and J5 that rotatably connect these links 201 to 205 in the directions of the arrows shown in Figure 1. Joints J1 to J5 have arm motors 211 to 215 for oscillating or rotating links 201 to 205 (Figure 2). Each arm motor 211 to 215 is equipped with a reduction gear, as shown in the appendix, which reduces the rotation of the motor and generates torque to rotate each link 201 to 205. Furthermore, each joint J1 to J5 is provided with encoders 221 to 225 (Figure 2), and the angle of each joint is detected from each encoder and fed back to the control device 400. By positioning each link in a predetermined position, the end effector body 300 can be positioned in a predetermined position in the XYZ space.
[0014] The end effector body 300 is a robot hand and includes fingers 301 and 302, a hand motor 312 (Figure 2) for opening and closing the fingers 301 and 302 to move them closer together or further apart, and a reduction gear shown in the appendix. The robot system 1000 performs operations such as gripping the workpiece 600 with the end effector body 300 and bringing it into contact with another workpiece. In this way, it is possible to manufacture an article in which the workpiece 600 and another workpiece are assembled, using the workpiece 600 and another workpiece as materials. The hand motor 312 is also provided with an encoder 322 (Figure 2), which detects the speed of the hand motor 312 and feeds it back to the control device 400. In this embodiment, a robot hand is used as an example for the end effector body 300, but it is not limited to this. For example, tools such as electric screwdrivers or end mills may be used.
[0015] FIG. 2 is a block diagram showing a detailed configuration of the control system of the robot system 1000 in FIG. 1. The control device 400 is composed of a computer and includes a CPU (Central Processing Unit) 401 as a processor. Further, as a storage unit, it includes a ROM (Read Only Memory) 402, a RAM (Random Access Memory) 403, a HDD (Hard Disc Drive) 404, and a recording disc drive 405. In addition, interfaces 406, 407, 408, 409, 410, 411 for communicating with each device are provided. The CPU 401, the ROM 402, the RAM 403, and the interfaces 406 to 412 are connected to each other by a bus 412 so as to be communicable with each other.
[0016] Among these, the RAM 403 is used for temporarily storing data such as teaching points and control commands by the operation of the external input device 800. The ROM 402 stores a basic program 430 such as BIOS for causing the CPU 401 to execute various arithmetic processes. The CPU 401 executes various arithmetic processes based on the control program recorded (stored) in the HDD 404. The HDD 404 is a storage unit that stores various data and the like that are the arithmetic processing results of the CPU 401. The recording disc drive 405 can read various data and control programs recorded on the recording disc 431. Further, an external storage device 812 such as a monitor 811 on which various images are displayed, a rewritable non-volatile memory, and an external HDD are connected to the interfaces 407 and 408.
[0017] The external input device 800 may be an operating device such as a teaching pendant (TP), for example, or may be another computer device (PC or server) capable of editing a robot program. The external input device 800 can be connected to the control device 400 via wired or wireless communication connection means and has a user interface function such as robot operation and status display. The target joint angles of each of the joints J1 to J5 input by the external input device 800 are output to the CPU 401 via the interface 406 and the bus 412.
[0018] The CPU 401 receives, for example, the teaching point data input by the external input device 800 from the interface 406. Further, based on the teaching point data input from the external input device 800, it can generate the trajectories of the respective axes of the robot arm main body 200 and transmit them to the arm motors 211 to 215 using the arm motor driver 230 via the interface 409. The CPU 401 outputs, at a predetermined interval, data of drive commands indicating the control amounts of the rotation angles of the respective arm motors 211 to 215 to the arm motor driver 230 via the bus 412 and the interface 409.
[0019] Based on the drive command received from the CPU 401, the arm motor driver 230 calculates the amount of current output to each of the arm motors 211 to 215, supplies current to each of the arm motors 211 to 215, and controls the joint angles of the respective joints J1 to J5. Further, it outputs the pulse signals from the respective encoders 221 to 225 described above to the CPU 401 via the interface 409 and the bus 412. That is, the CPU 401 executes feedback control of each of the arm motors 211 to 215 via the arm motor driver 230 so that the current joint angle values of the joints J1 to J6 detected by the respective encoders 221 to 225 become the target joint angles.
[0020] Furthermore, the control device 400 is also connected to the hand motor 312 via the interface 410 and the hand motor driver 330. Based on the drive command received from the CPU 401, the hand motor driver 330 calculates the amount of current output to the hand motor 312, supplies current to the hand motor 312, and controls the speed of the hand motor 312. Further, it outputs the pulse signal from the encoder 322 described above to the CPU 401 via the interface 410 and the bus 412. That is, the CPU 401 executes feedback control of the hand motor 312 via the hand motor driver 330 so that the current speed value of the hand motor 312 detected by the encoder 322 becomes the target speed.
[0021] Furthermore, the control device 400 is also connected to the signal input device 700 via interface 411 and bus 412. The mounting table 500 is equipped with sensors capable of detecting the presence or absence of a workpiece 600, such as a pressure sensor (not shown). Based on the detection result of the pressure sensor, the signal input device 700 outputs a signal indicating the presence or absence of the workpiece 600 to the CPU 401 via interface 411 and bus 412. The CPU 401 can determine whether or not a workpiece 600 is present on the mounting table 500 based on the signal from the signal input device 700, and can control the robot arm body 200 and the end effector body 300 based on that determination.
[0022] Here, the robot arm body 200 is performing an operation to move the end effector body 300 to a predetermined position on the mounting table 500 in order to transport the workpiece 600 to another workpiece location, based on a command from the control device 400. During this operation, the control device 400 detects via the signal input device 700 that the workpiece 600 has not reached the predetermined position. If this continues, the operation will continue without gripping the workpiece 600, resulting in poor work efficiency. Therefore, the control device 400 needs to calculate target values for each axis to stop the robot arm body 200 as quickly as possible and have the user perform maintenance. The stopping process of the robot arm body 200 in this embodiment will be described in detail below.
[0023] Figure 3 is a control flowchart showing the process for obtaining the axis target value (control value) for stopping the robot arm body 200 in this embodiment. The flowchart in Figure 3 consists of steps S1 to S7. The contents of each process in steps S1 to S7 will be explained in detail below with reference to the diagrams. The following processes are assumed to be executed by the CPU 401 of the control device 400.
[0024] First, in step S1, the axis target value (normal axis target value) for each joint (each axis) necessary to perform normal operation is obtained. In this embodiment, it is applicable to any number of axes as long as the robot device has two or more joints. For the sake of simplicity, this explanation will detail the control of two joints as an example.
[0025] Figure 4 is a graph showing the axis target values (normal axis target values) during normal operation obtained in step S1. Figure 4(a) shows the normal axis target values for the first joint, and Figure 4(b) shows the normal axis target values for the second joint during normal operation. In Figures 4(a) and (b), the horizontal axis represents the time step k, and the vertical axis represents the axis target value [deg]. i is a value that indicates the first or second joint, and in Figure 4(a) it shows the normal axis target value for the first joint, and in Figure 4(b) it shows the normal axis target value for the second joint. The time step is set by the control cycle of the robot arm body 200.
[0026] From Figure 4(a), the normal axis target value qd1(k) for the first joint when the time step k range is 0≦k≦5 is qd1(k)=[0,0.550,0.950,1.200,1.275,1.350]. From Figure 4(b), the normal axis target value qd2(k) for the second joint when the time step k range is 0≦k≦5 is qd2(k)=[0,0.100,0.270,0.530,0.900,1.200]. In this case, a stop command is received at time step k=3, and to switch from normal operation to stop operation after k=3, the normal axis target value after k=3 is changed for stopping.
[0027] Next, in step S2, based on the stop command, the axis target value (limit axis target value) is obtained for each joint when decelerating while adhering to the physical constraints. Specifically, physical constraints can be limit values (upper limits) of acceleration, jerk, torque, etc. This time, we will explain using the case where acceleration is limited as an example. In the following explanation, the axis target value (stop axis target value) for the stopping operation at axis i at time step k will be represented by qci(k)[deg]. The value obtained by multiplying the velocity by the time step width is vci(k)[deg]. When the value obtained by multiplying the acceleration limit value at axis i by the square of the time step width is ai'[deg], the axis target value (limit axis target value) qai(k)[deg] when decelerating at the upper limit of the acceleration constraint can be calculated by equation (1).
[0028]
number
[0029] In this embodiment, the limit value of the acceleration of each joint is the value given by equation (2).
[0030]
number
[0031] At this time, the limit axis target value of the first joint at time step k=4 is the value given by equation (3).
[0032]
number
[0033] Similarly, the target value for the limit axis of the second joint is the value given by equation (4).
[0034]
number
[0035] In this embodiment, acceleration constraints are considered, but torque constraints and jerk constraints can also be considered simultaneously. In that case, the limit axis target value that is furthest (away from) the current joint value (angle) among the limit axis target values calculated based on each physical constraint should be adopted in step S2.
[0036] Next, in step S3, the parameter Sai(k) is obtained by projecting the limit axis target value calculated in step S2 onto the time axis. Figure 5 shows the limit axis target value and the parameter projected onto the time axis. Figure 5(a) shows the axis target value for the first joint, and Figure 5(b) shows the axis target value for the second joint.
[0037] As shown in Figures 5 and 6, the parameter Sai(k) can be obtained by linear interpolation of the normal axis target value in normal operation, and Sa1(4) and Sa2(4) are the values given by equations (5) and (6), respectively.
[0038]
number
[0039]
number
[0040] Here, the reason why the time steps for obtaining the parameters differ between equation (5) and equation (6) is as follows: The limit axis target value qa1(4) of the first joint is greater than the normal axis target value qd1(4) of the normal trajectory, while the limit axis target value qa2(4) of the second joint is less than the normal axis target value qd2(4) of the normal trajectory. Therefore, the parameter Sa2(4) cannot be obtained by linear interpolation between time step 4 and time step 5, so we use the time step between time step 3 and time step 4.
[0041] Next, in step S4, candidate target values for the insertion axis of each joint are obtained from the parameters at each joint obtained in step S3. Figure 6 shows each parameter in the graph of the normal trajectory at the first joint and the graph of the normal trajectory at the second joint. The upper graph in Figure 6 is the graph of the normal trajectory at the first joint, and the lower graph in Figure 6 is the graph of the normal trajectory at the second joint.
[0042] First, the target insertion axis value for each joint is obtained from the parameter Sa1(4) obtained from the limiting axis target value at the first joint. The target insertion axis value at the first joint is equal to the limiting axis target value obtained in step 2, and is the value shown in equation (7).
[0043]
number
[0044] On the other hand, the target value of the stopping axis at the second joint can be obtained by linear interpolation from the normal axis target value in normal movement, and is the value shown in equation (8).
[0045]
number
[0046] Next, the target stopping axis values for each joint are obtained from the parameter Sa2(4) obtained from the limiting axis target value at the second joint. The target stopping axis value at the first joint can be obtained by linear interpolation from the normal axis target value in normal movement, and is the value shown in equation (9).
[0047]
number
[0048] On the other hand, the target value of the stopping axis at the second joint is equal to the target value of the limiting axis obtained in step S2, and is the value shown in Equation 10.
[0049]
number
[0050] Next, in step S5, it is determined whether there is a target stopping axis value among the candidates for target stopping axis value obtained in step S4 that satisfies the physical constraints of all axes (all joints).
[0051] First, we determine whether the absolute values of the acceleration of each axis exceed the physical constraints when we adopt the target stopping axis values obtained from the parameter Sa1(4). The target stopping axis value at the first joint is the value shown in equation (7), and since it is obtained from the acceleration constraint values of the first and second joints from equation (2), the acceleration at the first joint does not exceed the constraint.
[0052] On the other hand, when the target value of the stopping axis obtained from the parameter Sa1(4) is adopted, the value of acceleration at the second joint is given by equation (11).
[0053]
number
[0054] From equations (2) and (11), the acceleration value at the second joint when the stopping axis target value obtained from the parameter Sa1(4) is adopted exceeds the acceleration constraint value a2' = 0.150 at the second joint. Therefore, the stopping axis target value calculated from the parameter sa1(4) is not the stopping axis target value that satisfies the physical constraints of all axes.
[0055] Next, we determine whether the absolute values of the acceleration of each axis exceed the physical constraints when the target stopping axis values obtained from the parameter Sa2(4) are adopted. The target stopping axis value at the second joint is the value shown in equation (8), and since this value was obtained from the acceleration constraint value of the second joint from equation (4), the acceleration at the second joint does not exceed the constraints.
[0056] On the other hand, when the stopping axis target value obtained from the parameter Sa2(4) is adopted, the acceleration value at the first joint is the value shown in equation (12).
[0057]
number
[0058] From equations (2) and (12), the acceleration value at the first joint when the stopping axis target value obtained from the parameter Sa2(4) is adopted exceeds the acceleration constraint value a1' = 0.150 at the first joint. Therefore, the stopping axis target value obtained from the parameter Sa2(4) is not a stopping axis target value that satisfies the physical constraints of all axes.
[0059] If, among the candidate stop axis target values obtained in step S4, there exists a stop axis target value that satisfies the physical constraints of all axes, then step S5: No is obtained, and the process proceeds to step S7. If, among the candidate stop axis target values obtained in step S4, there exists a stop axis target value that satisfies the physical constraints of all axes, then step S5: Yes is obtained, and the process proceeds to step S6, where the robot arm body 200 is stopped using the stop axis target value that satisfies the physical constraints of all axes.
[0060] In this case, where there is no target stop axis value that satisfies the physical constraints of all axes, it becomes impossible to stop the robot. Therefore, in order to stop the robot while satisfying the physical constraints as much as possible, in step S7, the target stop axis value obtained in step S4 is evaluated based on a pre-prepared evaluation method (predetermined conditions). A key feature of this system is that the target stop axis value with the highest evaluation value is used as the target stop axis value for stopping the robot arm body 200.
[0061] In this embodiment, the method for determining the target value of the stopping axis in step S7 is to determine the target value of the stopping axis based on the velocity of each joint at the time step (k=3 in this embodiment) when the stop command is received, prioritizing the physical constraints of the joints with high velocity. The target value of the stopping axis obtained by the parameter Sai(k), which is obtained by the constraints of the joints with high velocity at the time step when the stop command is received, is used as the target value of the stopping axis for stopping the robot arm body 200.
[0062] The velocities of each joint at the time step when a stop command is received are the values shown in equations (13) and (14), respectively.
[0063]
number
[0064]
number
[0065] From equations (13) and (14), since the velocity at the second joint is the greatest, we use the candidate stop axis target value obtained by the parameter Sa2(4) obtained by the physical constraints of the second joint. The stop axis target value obtained by the parameter Sa2(4) at the first joint is qc1(4)=1.222 from equation (9), and the stop axis target value at the second joint is qc2(4)=0.640 from equation (4). In this case, the absolute value of the acceleration at the first joint is |ac1(4)|=0.228 from equation (12), and the absolute value of the acceleration at the second joint is |ac2(4)|=a2'=0.1500 from equation (2). Thus, for the axis operating at the greatest velocity (in this case, the second joint), the stop axis target value can be determined while adhering to the physical constraints. In this embodiment, the case where the physical constraints of the first joint and the second joint are the same was used as an example, but it may be carried out even if they are different.
[0066] By repeating the above operations, the robot arm body 200 can be stopped while adhering to physical constraints as much as possible for the axis operating at the highest speed. This prioritizes adherence to physical constraints in joints where high speeds place a heavy load on the transmission mechanism. Therefore, even if it is not possible to obtain a stop axis target value that satisfies the constraints of all joints (axes), it is possible to perform a stop that satisfies the physical constraints as much as possible, thereby minimizing the risk of damage to the hardware (robot arm body 200).
[0067] In the above-described embodiment, the physical constraints of the joints to be prioritized were determined based on the velocity of each joint at the time step when the stop command was received, but this is not limited to this. For example, the physical constraints of the joint that reached the highest velocity in the time steps up to before the stop command was received (before the timing of k=3) may be prioritized. Alternatively, a predetermined threshold for velocity may be set in advance, and the physical constraints of the joint that reached the threshold the most times in the time steps up to before the stop command was received may be prioritized.
[0068] (Second embodiment) Next, a second embodiment of the present invention will be described in detail. In this embodiment, the method for determining the stop axis target value in step S7 differs from that of the first embodiment described above. In this embodiment, the stop axis target value in step S4 is determined using the physical constraint of the joint with the smallest excess amount to the physical constraint at the time step in which stopping occurs (k=4, one time step after k=3 when the stop command was received). In the following, parts of the hardware and control system configuration that differ from the first embodiment will be illustrated and described as necessary. Furthermore, parts that are the same as in the first embodiment will have the same configuration and operation as described above, and their detailed explanation will be omitted.
[0069] From equation (9), the target stopping axis value calculated from the parameter Sa1(4) exceeds the acceleration constraint value of the second joint by 0.210 / 0.150 = 1.40 times. On the other hand, from equation (12), the target stopping axis value calculated from the parameter Sa2(4) exceeds the acceleration constraint value of the second joint by 0.228 / 0.150 = 1.52 times. Therefore, when actually stopping, using the parameter Sa1(4) at the first joint can suppress the exceedance of the physical constraint.
[0070] As a result, even if it is not possible to obtain a stop axis target value that satisfies the constraints of all joints (axes), the robot can perform a stop that satisfies the physical constraints as much as possible, thereby minimizing the risk of damage to the hardware (robot arm body 200).
[0071] (Third embodiment) Next, a third embodiment of the present invention will be described in detail. This embodiment differs from the first and second embodiments described above in the method for determining the stop axis target value in step S7. In the following, parts of the hardware and control system configuration that differ from the embodiments described above will be illustrated and explained as necessary. Furthermore, parts that are the same as those in the first embodiment will have the same configuration and operation as described above, and their detailed explanation will be omitted.
[0072] In this embodiment, the target stop axis value calculated in step S4 is not used, and the target limit axis value obtained by equations (3) and (4) is adopted. This makes it possible to perform a stop that reduces the risk of damage to the hardware (robot arm body 200) even if it is not possible to calculate a target stop axis value that satisfies the constraints of all joints (axes). Note that it is also possible to switch between obtaining a target stop axis value that satisfies the physical constraints of all joints and obtaining a target stop axis value that satisfies the physical constraints of any of the joints.
[0073] (Fourth embodiment) Next, a fourth embodiment of the present invention will be described in detail. This embodiment differs from the first and second embodiments described above in the method for determining the stop axis target value in step S7. In the following, parts of the hardware and control system configuration that differ from the embodiments described above will be illustrated and described as necessary. Furthermore, parts that are the same as those in the first embodiment will have the same configuration and operation as described above, and their detailed explanation will be omitted.
[0074] In this embodiment, the case where the acquired stop command relates to a worker will be explained as an example. In the case of a stop related to a worker, it is necessary to immediately stop the robot arm body 200 to ensure the worker's safety. Therefore, the control device 400 stops the robot arm body 200 at its current position, regardless of whether the physical constraints are met or not, based on the acquired stop axis target value.
[0075] Figure 7 shows the robot system 1000 in this embodiment. The base 210 of the robot arm body 200 in this embodiment is equipped with a detection sensor 260 for detecting workers. The detection sensor 260 is a light-emitting type sensor that detects the presence or absence of a worker by acquiring the reflected light when the emitted light is reflected by a worker. If a worker is detected, a signal is sent to the control device 400 as a stop command due to worker approach. In this embodiment, an optical sensor is used, but the system is not limited to this, and any sensor capable of detecting a worker, such as a magnetic sensor or an imaging device, may be used.
[0076] Figure 8 shows the control flowchart in this embodiment. This embodiment differs from the embodiment described above in that it includes steps S21 and S22. Furthermore, the following processes are executed by the CPU 401 of the control device 400, and steps S21, S22, and S23, which are different steps, will be described in detail.
[0077] As shown in Figure 8, in this embodiment, before proceeding to step S1, step S21 is provided to determine whether the stop command is due to an approaching worker. If step S21: Yes, i.e., if the stop command is due to an approaching worker, proceed to step S22. If it is not due to an approaching worker, proceed from step S21: No to step S1 and perform the stop processing according to the various embodiments described above.
[0078] In step S22, in order to ensure the safety of the worker, the robot arm body 200 is stopped immediately. Therefore, the process switches from stopping the robot arm body 200 in a way that does not satisfy any physical constraints to stopping it immediately regardless of any physical constraints.
[0079] Then, in step S23, in order to stop immediately regardless of physical constraints, the current position of each joint of the robot arm body 200 is used as the stop axis target value, and the robot arm body 200 is stopped.
[0080] As a result, the robot arm body 200 can be stopped immediately upon receiving a stop command, thereby ensuring the safety of the worker. Furthermore, because the robot arm body 200 is stopped immediately, the risk of damage to the robot arm body 200's hardware due to contact with the worker, such as from safety equipment worn by the worker, can be minimized.
[0081] (Fifth embodiment) Next, a fifth embodiment of the present invention will be described in detail. The various embodiments described above describe the stopping operation of the robot arm body 200 in an actual machine. However, the present invention can also be implemented in an information processing device (simulation device) that performs simulations of a robot arm. This will be described in detail below.
[0082] Figure 9 shows a schematic diagram of the information processing device 900 that simulates the operation of the robot arm body 200 in this embodiment. The information processing device 900 is a desktop personal computer equipped with an OS (Operating System) 901, a display 902, a keyboard 903, and a mouse 904.
[0083] OS901 stores CAD data for the robot arm body 200 and the robot hand body 300, as well as a trajectory generation engine equivalent to that of the actual machine's control device 400. The display unit, display 902, shows a simulation screen 905 of the robot arm body 200. In addition, the normal operation execution button 906, stop button 907, stop button 908, stop button 909, and stop button 910 are displayed.
[0084] Here, the stop button 907 is a button that executes a simulation of the stop process in the first embodiment described above. The stop button 908 is a button that executes a simulation of the stop process in the second embodiment described above. The stop button 909 is a button that executes a simulation of the third embodiment described above. The stop button 910 is a button that executes a simulation of the fourth embodiment described above.
[0085] The operator can input predetermined information (such as trajectory data for the normal trajectory) using the keyboard 903 and / or mouse 904, and then execute a motion simulation of the robot arm body 200 by clicking the normal motion execution button 906. While the normal motion is being played back, the operator can click one of the stop buttons 907, 908, 909, or 910. When a stop command is issued at the time of the click, the operator performs a stop process to obtain the target value of the stop axis by applying the above embodiment. This allows the operator to simulate and verify multiple types of stop operations that reduce the risk of hardware damage to the robot arm body 200 under various conditions.
[0086] (Other embodiments) The processing procedures of the embodiments described above are specifically executed by a control device or information processing device. Therefore, the above-described functions can be achieved by supplying a recording medium containing a software program capable of executing the above-described functions to a device that integrates each control device, and by having a CPU that performs integrated processing read and execute the program stored on the recording medium. In this case, the program read from the recording medium itself realizes the functions of each embodiment described above, and the program itself and the recording medium on which the program is recorded constitute the present invention.
[0087] Furthermore, in each embodiment, the computer-readable recording medium was described as a ROM, RAM, or flash ROM, and the control program was stored in the ROM, RAM, or flash ROM. However, the present invention is not limited to these embodiments. The control program for carrying out the present invention may be recorded on any recording medium that is computer-readable. For example, an HDD, external storage device, recording disk, etc., may be used as the recording medium for supplying the control program.
[0088] Furthermore, while the various embodiments described above have explained the case in which the robot arm body 200 is a multi-joint robot arm having multiple joints, the number of joints is not limited to this. Although a vertical multi-axis configuration was shown as the type of robot arm, the same configuration can be implemented with other types of joints, such as a parallel link type.
[0089] Furthermore, in the above-described embodiment, the physical constraints of the joints to be prioritized were determined based on the velocity and acceleration of each joint at the time step when a stop command was received. However, it is also possible to use any physical quantity, such as jerk, torque, or load, depending on the situation.
[0090] Furthermore, although the above-described embodiment was carried out by directly acquiring the joint velocity using sensors, it is not limited to this. For example, sensors may be provided on the robot hand body 300, and the physical quantities generated at each joint may be acquired based on the physical quantities generated at the robot hand body 300.
[0091] Furthermore, the various embodiments described above are applicable to machines that can automatically perform actions such as extension and retraction, bending and straightening, vertical movement, horizontal movement, or rotation, or combinations thereof, based on information stored in a memory device provided in the control device.
[0092] It should be noted that the present invention is not limited to the embodiments described above, and many modifications are possible within the technical concept of the present invention. Furthermore, the effects described in the embodiments of the present invention are merely a list of the most preferred effects arising from the present invention, and the effects of the present invention are not limited to those described in the embodiments of the present invention. [Explanation of Symbols]
[0093] 200 Robot Arm Body Links 201, 202, 203, 204, 205 210 base 300 Robot Hand Body 301, 302 fingers 400 Control Unit 500 mounting platform 600 work 700 Signal Input Device 800 External Input Device 900 Information Processing Equipment 901 OS 902 displays 903 Keyboard 904 Mouse 905 Simulation screen 906 Normal operation execution button 907, 908, 909, 910 Stop button 1000 Robot Systems J1, J2, J3, J4, J5 joints
Claims
1. A control method for stopping a robot having a first joint and a second joint, comprising: When acquiring a control value for executing the stop, the control value is acquired so as to satisfy either a first physical constraint in the first joint or a second physical constraint in the second joint. A control method comprising:
2. In the control method according to claim 1, the first physical constraint and the second physical constraint are set for stopping the robot, and the robot is capable of stopping without satisfying the first physical constraint or the second physical constraint; A control method comprising:
3. In the control method according to claim 1 or 2, when it is not possible to obtain the control value that satisfies the first physical constraint and the second physical constraint, obtain the control value so as to preferentially satisfy either the first physical constraint or the second physical constraint based on a predetermined condition. A control method comprising:
4. 4. The control method according to claim 3, the predetermined condition is a condition for prioritizing either the first physical constraint or the second physical constraint based on a first physical quantity occurring in the first joint at a first timing when a command to stop the robot is acquired and a second physical quantity occurring in the second joint at the first timing. A control method comprising:
5. 5. The control method according to claim 4, a condition for acquiring the control value based on the first physical quantity and the second physical quantity so as to preferentially satisfy a physical constraint in a joint in which a physical quantity having a larger value occurs. A control method comprising:
6. 5. The control method according to claim 4, the predetermined condition is a condition for acquiring the control value so as to preferentially satisfy a physical constraint in a joint in which a physical quantity having a largest value occurs, based on the first physical quantity and the second physical quantity before the first timing. A control method comprising:
7. 5. The control method according to claim 4, the predetermined condition is a condition for acquiring the control value so as to preferentially satisfy a physical constraint in a joint in which a physical quantity that has reached a predetermined threshold value the largest number of times occurs, based on the first physical quantity and the second physical quantity before the first timing. A control method comprising:
8. 5. The control method according to claim 4, the predetermined condition is a condition that prioritizes either the first physical constraint or the second physical constraint based on the first physical quantity that will occur in the first joint at a second timing that is later than the first timing and the second physical quantity that will occur in the second joint at the second timing. A control method comprising:
9. 9. The control method according to claim 8, the predetermined condition is to acquire the control value based on the first physical quantity and the second physical quantity at the second timing so as to preferentially satisfy a physical constraint at a joint where a physical quantity that exceeds a predetermined threshold by a smaller amount is likely to occur. A control method comprising:
10. 10. The control method according to claim 8 or 9, The second timing is one time step after the first timing. A control method comprising:
11. 11. The control method according to claim 10, The time step is set by the control period of the robot. A control method comprising:
12. 12. The control method according to claim 1 , The control value is a first target value that satisfies a first physical constraint and the second physical constraint to execute the stop; A parameter obtained based on the first target value; A second target value obtained based on the parameter; and A control method comprising:
13. The control method according to claim 12, The first target value and the second target value are obtained as candidates for the control value. A control method comprising:
14. In the control method according to claim 12 or 13, determining whether the first physical constraint or the second physical constraint is satisfied when the first target value or the second target value is used as the control value; A control method comprising:
15. 15. The control method according to claim 12, The parameter is acquired based on the first target value and trajectory data for operating the robot. A control method comprising:
16. 16. The control method according to claim 15, The parameter is obtained by linearly interpolating the first target value and the trajectory data. A control method comprising:
17. 17. The control method according to claim 12, using the first target value as the control value to perform the stopping; A control method comprising:
18. 5. The control method according to claim 4, The first physical quantity or the second physical quantity is any one of a velocity, an acceleration, a jerk, a torque, and a load. A control method comprising:
19. 5. The control method according to claim 4, acquiring the first physical quantity or the second physical quantity based on a third physical quantity acting on a hand of the robot; A control method comprising:
20. 2. The control method according to claim 1, when acquiring the control value, switching between a case in which either the first physical constraint or the second physical constraint is preferentially satisfied and a case in which both the first physical constraint and the second physical constraint are satisfied; A control method comprising:
21. 2. The control method according to claim 1, When the stopping of the robot is related to a worker, regardless of whether the first physical constraint and / or the second physical constraint is satisfied, acquiring the control value for stopping the robot so as to maintain the current position of the robot at the first timing when the command to stop the robot was acquired, and executing the stopping of the robot. A control method comprising:
22. A method for manufacturing an article, comprising controlling the robot using the control method according to any one of claims 1 to 21 to manufacture the article.
23. A control device for stopping a robot having a first joint and a second joint, When acquiring a control value for executing the stop, the control value is acquired so as to satisfy either a first physical constraint in the first joint or a second physical constraint in the second joint. A control method comprising:
24. A robot system comprising the control device according to claim 23 and the robot.
25. An information processing method for performing a simulation regarding the stopping of a robot having a first joint and a second joint, comprising: When acquiring a control value for executing the stop, the control value is acquired so as to satisfy either a first physical constraint in the first joint or a second physical constraint in the second joint; executing the simulation of the robot based on the control value; 23. An information processing method comprising:
26. 26. The information processing method according to claim 25, There are multiple types of simulations: displaying buttons for executing a plurality of types of the simulations on a display unit; 23. An information processing method comprising:
27. An information processing device that performs a simulation regarding the stopping of a robot having a first joint and a second joint, When acquiring a control value for executing the stop, the control value is acquired so as to satisfy either a first physical constraint in the first joint or a second physical constraint in the second joint; executing the simulation of the robot based on the control value; 23. An information processing apparatus comprising:
28. 28. The information processing device according to claim 27, There are multiple types of simulations: displaying buttons for executing a plurality of types of the simulations on a display unit; 23. An information processing apparatus comprising:
29. A program capable of executing the control method according to any one of claims 1 to 21 or the information processing method according to claim 25 or 26.
30. 30. A computer-readable recording medium storing the program according to claim 29.
