Control method of a robot system and robot system
By setting up a calculation method for multiple control signals in the robot system, and switching the filter circuit and servo gain according to the conveying speed threshold, the problems of motion disorder and position deviation of the robot system when the conveying speed changes are solved, and stable operation results are achieved.
Patent Information
- Application Number
- CN202310287366.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-25
- Filing Date
- 2023-03-22
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-03-22
AI Technical Summary
Existing robot systems cannot effectively cope with changes in conveyor speed when following objects transported by belt conveyors, resulting in erratic movements and positional deviations.
By setting multiple calculation methods for control signals in the robot system, and switching the filtering time constant and servo gain of the filter circuit according to the change of the conveying speed threshold, the robot can ensure that it can adjust the calculation method of the control signals when the conveying speed exceeds the threshold, so as to adapt to the rapid change of the conveying speed.
It effectively suppressed the positional deviation of the robot relative to the object being transported, ensuring that the robot could still perform appropriate operations stably even when the transport speed changed drastically.
Smart Images

Figure CN116804878B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a control method for a robot system and to a robot system. Background Technology
[0002] Previously, robot systems were known for following objects transported by conveying devices such as belt conveyors. In such robot systems, the conveying speed of the object is detected based on the encoder value of the belt conveyor, and the robot's drive is controlled based on this detection result. In such a configuration, Patent Document 1 describes calculating a virtual encoder value based on the encoder value of the belt conveyor to reduce the effects of noise and vibration, and detecting the conveying speed of the object based on this virtual encoder value. Furthermore, Patent Document 1 uses the values of a conventional encoder and a filtering function to calculate the virtual encoder value, and sets the parameters of the filtering function to match the magnitude of the vibration.
[0003] Patent Document 1: Japanese Patent Application Publication No. 2007-290128
[0004] However, in the invention described in Patent Document 1, the robot may be unable to follow changes in the conveying speed of the belt conveyor during operation. Summary of the Invention
[0005] In the control method of the robot system of the present invention, the robot system includes: a conveying device for conveying an object; and a robot that performs operations while following the object conveyed by the conveying device. In the control method of the robot system, the robot follows the object by means of a control signal calculated based on a control signal of the conveying speed of the object detected according to the output signal of an encoder configured on the conveying device, and the calculation method of the control signal is changed if the conveying speed exceeds a threshold.
[0006] The robot system of the present invention includes: a conveying device for conveying an object; a robot for performing operations while following the object conveyed by the conveying device; and a control device for controlling the drive of the robot, wherein the control device causes the robot to follow the object by means of a control signal calculated based on a control signal detected according to the conveying speed of the object as configured in the conveying device, and the calculation method of the control signal is changed if the conveying speed exceeds a threshold. Attached Figure Description
[0007] Figure 1 This is an overall structural diagram of the robot system according to the first embodiment.
[0008] Figure 2It is a graph representing the deviation Δ between the output signal P1 and the smoothed signal P2.
[0009] Figure 3 This is a block diagram of the filter circuit included in the control device.
[0010] Figure 4 It is a diagram used to illustrate how the threshold is set.
[0011] Figure 5 It is a diagram used to illustrate the control methods of a robot system.
[0012] Figure 6 It is a flowchart used to illustrate the control method of a robot system.
[0013] Figure 7 This is a diagram representing an example of a graphical user interface.
[0014] Figure 8 This is a graph representing the thresholds set in the robot system of the second embodiment.
[0015] Figure 9 This is a block diagram of the filter circuit included in the control device.
[0016] Figure 10 This is a graph representing the thresholds set in the robot system of the second embodiment.
[0017] Explanation of reference numerals in the attached figures
[0018] 1. Robot system; 2. Robot; 21. Base; 22. Robotic arm; 221. Arm; 222. Arm; 223. Arm; 224. Arm; 225. Arm; 226. Arm; 23. End effector; 3. Imaging unit; 4. Control device; 40. Graphical interface; 41. Filtering circuit; 411. First filtering circuit; 412. Second filtering circuit; 413. Third filtering circuit; 6. Conveying device; 61. Motor; 62. Belt; 63. Conveying roller; 64. Encoder; 8. Display device; A. Conveying direction; E. Encoder; G. Image; J1. Joint; J2. Joint; J3. Joint; J4. Joint; J5. Joint; J6. Joint; M. Motor; N. Specified number of times; P1. Output signal; P2. Smoothing signal; P21. Smoothing signal; P22. Smoothing signal; P23. Smoothing signal; S1. Step; S2. Step;
[0019] S3, Step; S4, Step; S5, Step; S6, Step; S7, Step; S8, Step; S9, Step; S10, Step; S11, Step; S12, Step; SH, Threshold; SH1, First Threshold; SH2, Second Threshold; SH3, Deceleration Threshold; SH4, Acceleration Threshold; V0, Target Conveying Speed; Vmin, Minimum Speed; W, Object; Δ, Deviation; τ1, First Filtering Time Constant; τ2, Second Filtering Time Constant; τ3, Third Filtering Time Constant. Detailed Implementation
[0020] The control method and the robot system of the present invention will be described in detail below based on the embodiments shown in the accompanying drawings.
[0021] First Implementation Method
[0022] Figure 1 This is an overall structural diagram of the robot system according to the first embodiment. Figure 2 It is a graph representing the deviation Δ between the output signal P1 and the smoothed signal P2. Figure 3 This is a block diagram of the filter circuit included in the control device. Figure 4 It is a diagram used to illustrate how the threshold is set. Figure 5 It is a diagram used to illustrate the control methods of a robot system. Figure 6 It is a flowchart used to illustrate the control method of a robot system. Figure 7 This is a diagram representing an example of a graphical user interface.
[0023] Figure 1 The robot system 1 shown includes a robot 2, a camera unit 3, a control device 4, a conveying device 6, and a display device 8. In robot system 1, the conveying device 6 conveys an object W along a conveying direction A. The control device 4 detects the conveying status of the object W based on the image G acquired by the camera unit 3 and the conveying speed of the object W. The robot 2 performs operations while following the conveying object W. It should be noted that the operations performed on the object W are not particularly limited, and can include, for example, opening holes, connecting with other components (insertion, threaded fixing, screwing, etc.), cleaning, and inspection. Furthermore, the object W is not particularly limited, and can include any object that can be operated on by the robot 2, such as industrial products like printers and automobiles, or their components.
[0024] like Figure 1As shown, robot 2 is a 6-axis vertical multi-joint robot with 6 drive axes. It has a base 21, a robotic arm 22 rotatably connected to the base 21, and an end effector 23 mounted on the front end of the robotic arm 22. The robotic arm 22 is a robotic arm composed of multiple arms 221, 222, 223, 224, 225, and 226 rotatably connected, and has 6 joints J1 to J6. Among them, joints J2, J3, and J5 are bending joints, and joints J1, J4, and J6 are torsional joints. The end effector 23 is appropriately selected according to the purpose of the task.
[0025] In addition, motors M and encoders E for detecting the rotation of motors M are respectively installed at joints J1, J2, J3, J4, J5, and J6. When the robot system 1 is running, the control device 4 performs servo control (feedback control) for each joint J1 to J6 so that the rotation angle of joints J1 to J6 represented by the output of encoder E is consistent with the target position as the control target.
[0026] The conveying device 6 is a belt conveyor, which includes a belt 62, a conveyor roller 63 for the conveyor belt 62, a motor 61 for driving the conveyor roller 63, and an encoder 64 that outputs a signal corresponding to the rotation amount of the belt 62 to the control device 4. When the robot system 1 is running, the control device 4 performs servo control (feedback control) to make the conveying speed of the object W represented by the output of the encoder 64 consistent with the target conveying speed, which is the control target.
[0027] The imaging unit 3 is a camera that captures images of the object W from above the conveyor 6 and outputs the captured images to the control unit 4. The imaging area of the imaging unit 3 is located upstream of the robot 2's working area in the conveying direction A. The imaging unit 3 has a field of view that includes the object W being conveyed on the belt 62. The position in the image output from the imaging unit 3 is associated with the position in the conveying path by the control unit 4. Therefore, if the object W is present within the field of view of the imaging unit 3, the coordinates of the object W at the time the image was captured can be determined based on the position of the object W within the image of the imaging unit 3.
[0028] The control device 4 controls the driving of the robot 2, the imaging unit 3, and the conveying device 6, respectively. The control device 4 is, for example, a computer, and includes a processor (CPU) for processing information, a memory connected to the processor in a communicative manner, and an external interface for connecting to external devices. The memory stores various programs that can be executed by the processor, and the processor can read and execute these programs. Furthermore, some or all of the components of the control device 4 may be located inside the shell of the robot 2. Alternatively, the control device 4 may be composed of multiple processors.
[0029] The structure of robot system 1 has been briefly described above. Robot system 1 operates as follows: First, control device 4 operates conveyor 6 to control the drive of control device 4 so that the conveying speed of object W detected based on the output of encoder 64 becomes the target conveying speed. In this state, object W is supplied to conveyor 6, and the conveying of object W by conveyor 6 begins. Next, control device 4 uses imaging unit 3 to capture images of object W passing through the imaging area, acquiring an image G containing object W. Next, control device 4 detects the coordinates of object W at the time image G was acquired from image G. Next, control device 4 calculates the position of object W at future times based on the coordinates of object W at the time image G was acquired and the conveying speed of object W, and calculates control signals for robot 2 based on the calculated positions. Then, control device 4 uses the calculated control signals to drive robot 2, causing robot 2 to perform a prescribed operation while following the conveying object W.
[0030] Here, the conveyor roller 63 mounted on the conveyor device 6 is designed as a perfect cylinder to smoothly convey the belt 62, but depending on its forming precision, its overall shape may deviate from a perfect cylinder. Furthermore, even if the conveyor roller 63 is formed as a perfect cylinder, there may be a situation where the rotation axis deviates from the central axis, resulting in eccentricity. If the shape of the conveyor roller 63 deviates from a perfect cylinder or becomes eccentric, the resulting high-frequency noise will be superimposed on the output signal of the encoder 64. Additionally, if the shape of the conveyor roller 63 deviates from a perfect cylinder, the conveying speed of the object W will become periodically uneven.
[0031] Therefore, if the control signal is calculated using the conveying speed of the object W detected based on the output signal of the encoder 64, the robot 2's movements may become erratic due to the aforementioned high-frequency noise and speed inconsistencies. Therefore, for example, consider using a filter circuit to smooth the output signal of the encoder 64, and detecting the conveying speed of the object W based on the smoothed signal output from the filter circuit. In this way, by using a filter circuit to smooth the output signal of the encoder 64, the effects of high-frequency noise and speed inconsistencies described above can be suppressed, resulting in stable movements of the robot 2.
[0032] Another advantage is that, based on the filtering time constant τ set in the filtering circuit, when the conveying speed of the object W changes drastically, such as when the conveying device 6 temporarily stops and restarts, ... Figure 2As shown, the waveform of the smoothing signal P2 is blunted relative to the waveform of the output signal P1 of the encoder 64, creating a deviation Δ between the output signal P1 and the smoothing signal P2. Therefore, if the control signal is calculated using the conveying speed of the object W detected based on the smoothing signal, a positional deviation of the robot 2 relative to the conveying object W will occur due to the deviation Δ when the conveying speed of the object W changes drastically, making it impossible to properly perform operations facing the object W. In other words, even with a filtering circuit, if there is only one method for calculating the control signal, it is impossible to cope with drastic changes in the conveying speed of the object W.
[0033] Therefore, in robot system 1, multiple calculation methods for control signals are employed. When the conveying speed of object W exceeds a threshold SH, the calculation method for the control signals is changed, thereby reducing the positional deviation of robot 2 relative to object W compared to the previous calculation method. According to this method, even if the conveying speed of object W changes drastically, the positional deviation of robot 2 relative to the conveying object W can be suppressed, enabling appropriate operation of object W. Furthermore, in this specification, "the conveying speed of object W exceeding the threshold SH" means that the conveying speed of object W is higher or lower than the threshold SH. This will be explained in detail below.
[0034] like Figure 3 As shown, the control device 4 includes a first filter circuit 411 and a second filter circuit 412 as the filter circuit 41. The first filter circuit 411 and the second filter circuit 412 are band-stop filter circuits that cut off predetermined frequency components, or, in this embodiment, high-frequency components above the predetermined frequency. However, the first filter circuit 411 and the second filter circuit 412 can also be band-pass filters. In this case, they are configured to allow frequency components below the predetermined frequency to pass through.
[0035] The first filter circuit 411 smooths the output signal P1 of the encoder 64 and outputs a smoothed signal P21. Similarly, the second filter circuit 412 smooths the output signal P1 of the encoder 64 and outputs a smoothed signal P22. Furthermore, the first filtering time constant τ1 set by the first filter circuit 411 and the second filtering time constant τ2 set by the second filter circuit 412 are different from each other. In this embodiment, the first filtering time constant τ1 is larger than the second filtering time constant τ2. That is, the cutoff frequency fc of the first filter circuit 411 is lower than the cutoff frequency fc of the second filter circuit 412.
[0036] Therefore, compared to smoothed signal P22, smoothed signal P21 exhibits superior high-frequency noise removal, but its deviation Δ is larger when the conveying speed of object W changes drastically. Conversely, compared to smoothed signal P21, smoothed signal P22 has poorer high-frequency noise removal, but it has higher responsiveness and a smaller deviation Δ when the conveying speed of object W changes drastically.
[0037] Furthermore, the control device 4 has a first calculation mode that uses a smoothed signal P21 to calculate the control signal of the robot 2 and a second calculation mode that uses a smoothed signal P22 to calculate the control signal of the robot 2. Moreover, the control device 4 compares the conveying speed of the object W detected according to the output signal P1 of the encoder 64 with a threshold SH related to the conveying speed stored in the memory, and selects one of the first calculation mode and the second calculation mode based on the comparison result.
[0038] The threshold SH is lower than the target conveying speed V0 of the object W, and is set considering the amplitude of high-frequency noise. For example, in a teaching operation, the conveyor 6 is driven at the target conveying speed V0, such as... Figure 4 As shown, the output signal P1 of the encoder 64 is measured at this time. This output signal P1 contains high-frequency noise caused by shape deviation and eccentricity of the conveyor roller 63, and the conveying speed of the object W varies periodically. Next, the minimum speed Vmin is detected based on the output signal P1. Then, the threshold SH is set to a value lower than the minimum speed Vmin. Furthermore, the threshold SH is not particularly limited as long as it is lower than the minimum speed Vmin, but it is preferable to be as high as possible within the range lower than the minimum speed Vmin.
[0039] like Figure 5 As shown, when the conveying speed of the object W detected by the output signal P1 is above the threshold SH, the conveying speed of the object W is stable near the target conveying speed V0, and it is not easy to generate a deviation Δ. Therefore, the control device 4 selects a smoothed signal P21 with high noise removal effect to calculate the control signal of the robot 2 in the first calculation mode. On the other hand, when the conveying speed of the object W detected by the output signal P1 is less than the threshold SH, the conveying speed of the object W may change drastically, and it is easy to generate a deviation Δ. Therefore, the control device 4 selects a smoothed signal P22 with small deviation Δ to calculate the control signal of the robot 2 in the second calculation mode.
[0040] According to this method, compared to always calculating the control signal using the first calculation mode, the deviation Δ when the conveying speed of the object W changes drastically can be suppressed to a smaller extent. Therefore, the deviation between the conveying speed of the object W and the following speed of the robot 2 can be suppressed. As a result, the positional deviation of the robot 2 relative to the conveying object W can be suppressed, and appropriate operations can be performed on the object W. In particular, according to this method, since only the filter time constant is switched, the calculation method of the control signal can be easily changed.
[0041] Furthermore, by setting the threshold SH lower than the minimum speed Vmin, it is possible to avoid frequent switching between the first and second calculation modes in unwanted scenarios (scenarios where the object W is transported at the target transport speed V0) due to high-frequency noise, and to stably calculate the control signal of robot 2.
[0042] Here, based on Figure 6 The flowchart illustrates an example of the method for switching between the first and second calculation modes. First, as step S1, the control device 4 sets the calculation mode of the control signal to the first calculation mode. Next, as step S2, the control device 4 detects the conveying speed of the object W based on the output signal P1. Next, as step S3, the control device 4 determines whether the conveying speed of the object W detected in step S2 is less than a threshold SH. If the conveying speed of the object W is less than the threshold SH, as step S4, the control device 4 increments the count value by 1. On the other hand, if the conveying speed of the object W is greater than or equal to the threshold SH, as step S5, the control device 4 does not count the value. Next, as step S6, the control device 4 determines whether the count value has reached a predetermined number of times N. If the count value has not reached the predetermined number of times N, the process returns to step S2; if the count value has reached the predetermined number of times N, as step S7, the control device 4 switches the calculation mode of the control signal from the first calculation mode to the second calculation mode.
[0043] Next, as step S8, the control device 4 detects the conveying speed of the object W based on the output signal P1. Next, as step S9, the control device 4 determines whether the conveying speed of the object W detected in step S8 is above or equal to a threshold SH. If the conveying speed of the object W is above or equal to the threshold SH, as step S10, the control device 4 increments the count value by 1. On the other hand, if the conveying speed of the object W is less than the threshold SH, as step S11, the control device 4 does not count the value. Next, as step S12, the control device 4 determines whether the count value has reached a predetermined number of times N. If the count value has not reached the predetermined number of times N, it returns to step S8; if the count value has reached the predetermined number of times N, it returns to step S1, switching the calculation mode of the control signal from the second calculation mode to the first calculation mode.
[0044] Furthermore, depending on the characteristics of the conveying device 6 and the operating environment, sudden and significant noise may occur in the output signal P1. The specified number N is set in a manner that prevents the calculation mode from switching due to such sudden changes in conveying speed.
[0045] Furthermore, as described above, the control device 4 performs servo control on each joint J1 to J6 of the robot 2. Specifically, for each joint J1 to J6, the control device 4 performs position loop control based on position commands and position feedback signals from the encoder E and outputs speed commands, performs speed loop control based on speed commands and speed feedback signals from the encoder E and outputs acceleration commands, generates control signals as current commands based on the acceleration commands, and drives each motor M using the generated control signals.
[0046] Therefore, the control device 4 changes the servo gain set in the servo control according to the conveying speed of the object W. The servo gain is a parameter that determines responsiveness and operational stability; a higher servo gain results in better responsiveness, but excessively high gain can sometimes cause vibration. Furthermore, the servo gain includes the position loop gain in position loop control and the speed loop gain in speed loop control, and the value of one or both can be changed.
[0047] The control device 4 has a first servo gain and a second servo gain for calculating the control signal of the robot 2. The second servo gain is higher than the first servo gain. In the first calculation mode, when the conveying speed of the object W detected by the output signal P1 is above the threshold SH, the conveying speed of the object W is stable near the target conveying speed V0, and positional deviation of the robot 2 relative to the conveying object W due to servo delay is less likely to occur. Therefore, the control device 4 uses the first servo gain with high vibration damping to calculate the control signal of the robot 2. On the other hand, in the second calculation mode, when the conveying speed of the object W detected by the output signal P1 is less than the threshold SH, the conveying speed of the object W may change drastically, easily causing positional deviation of the robot 2 relative to the conveying object W due to servo delay. Therefore, the control device 4 uses the second servo gain with high responsiveness to calculate the control signal of the robot 2.
[0048] According to this method, compared to always calculating the control signal using the first calculation mode, servo delay can be suppressed when the conveying speed of the object W changes drastically. Therefore, deviations between the conveying speed of the object W and the following speed of the robot 2 can be suppressed. As a result, positional deviations of the robot 2 relative to the conveying object W can be suppressed, enabling appropriate operation of the object W. In particular, according to this method, since only the servo gain is switched, the calculation method of the control signal can be easily changed.
[0049] Here, when changing the filter time constant and servo gain, sometimes abrupt acceleration or deceleration occurs in the control signal of robot 2. If this acceleration or deceleration exceeds the maximum allowable value set for robot 2, robot 2 may stop automatically due to an error. Therefore, it is preferable to set the first filter time constant τ1, the second filter time constant τ2, and the first and second servo gains in a way that prevents the acceleration or deceleration generated during changes from exceeding the maximum allowable value. In addition, to prevent acceleration or deceleration exceeding the maximum allowable value, it is preferable to impose a limit on the control signal or to correct the control signal.
[0050] In addition, the control device 4 can display on the display device 8 Figure 7 The graphical interface 40 shown receives user input. The graphical interface 40 displays the output signal P1 of the encoder 64 obtained during the teaching operation, the settings for the second filter time constant τ2, the threshold SH, the specified number of passes N, and the second servo gain. Furthermore, the user can freely determine the second filter time constant τ2, the threshold SH, the specified number of passes N, and the second servo gain based on the displayed output signal P1. However, this is not a limitation; these parameters can also be automatically set by the control device 4 based on information obtained through the teaching operation (characteristics of the transport device 6), etc.
[0051] The robot system 1 has been described above. As described above, the control method of this robot system 1 is a control method for a robot system 1 having a conveying device 6 for conveying an object W and a robot 2 that performs operations while following the object W conveyed by the conveying device 6. In this method, the robot 2 follows the object W by using a control signal calculated based on the conveying speed of the object W detected according to the output signal of the encoder 64 disposed on the conveying device 6. If the conveying speed exceeds a threshold SH, the calculation method of the control signal is changed. According to this method, the deviation Δ when the conveying speed of the object W changes drastically can be minimized. Therefore, the positional deviation of the robot 2 relative to the conveyed object W can be suppressed, and appropriate operations can be performed on the object W.
[0052] Furthermore, as described above, in the control method of robot system 1, a filter circuit 41 that processes the output signal of encoder 64 is used in the calculation of the control signal. When the conveying speed of object W exceeds the threshold SH, the calculation method is changed by changing the filtering time constant of filter circuit 41. According to this method, the calculation method of control signal can be changed in a simple way.
[0053] Furthermore, as described above, in the control method of robot system 1, the filtering time constant τ1 when the conveying speed of object W is above the threshold SH (i.e., the first filtering time constant) is larger than the filtering time constant τ2 when the conveying speed of object W is below the threshold SH (i.e., the second filtering time constant). Therefore, the deviation Δ when the conveying speed of object W changes drastically can be suppressed more reliably.
[0054] Furthermore, as described above, in the control method of robot system 1, servo control is performed on robot 2. When the conveying speed of object W exceeds the threshold SH, the servo gain of the servo control is changed, thereby changing the method for calculating the control signal of robot 2. According to this method, the calculation method of the control signal can be changed in a simple way.
[0055] Furthermore, as described above, in the control method of robot system 1, the servo gain when the conveying speed of object W is less than the threshold SH (i.e., the first servo gain) is greater than the servo gain when the conveying speed of object W is above the threshold SH (i.e., the second servo gain). Therefore, the deviation Δ when the conveying speed of object W changes drastically can be suppressed more reliably.
[0056] Furthermore, as described above, the robot system 1 includes: a conveying device 6 that conveys an object W; a robot 2 that performs operations while following the object W conveyed by the conveying device 6; and a control device 4 that controls the drive of the robot 2. Moreover, the control device 4 uses a control signal calculated based on the conveying speed of the object W detected according to the output signal of the encoder 64 disposed on the conveying device 6 to cause the robot 2 to follow the object W, and changes the calculation method of the control signal when the conveying speed of the object W exceeds a threshold SH. With this structure, the deviation Δ when the conveying speed of the object W changes drastically can be suppressed to a small extent. Therefore, the positional deviation of the robot 2 relative to the conveyed object W can be suppressed, and appropriate operations can be performed on the object W.
[0057] Second Implementation Method
[0058] Figure 8 This is a graph representing the thresholds set in the robot system of the second embodiment. Figure 9 This is a block diagram of the filter circuit included in the control device.
[0059] The robot system 1 of this embodiment is the same as the robot system 1 of the first embodiment described above, except for the method of setting the threshold SH. Therefore, in the following description, this embodiment will be described mainly for the differences from the first embodiment described above, and descriptions of the same items will be omitted. In addition, in the figures of this embodiment, the same reference numerals are used to label the same structures as in the embodiments described above.
[0060] In the robot system 1 of this embodiment, as Figure 8 As shown, multiple thresholds SH are set. Specifically, as thresholds SH, a first threshold SH1 and a second threshold SH2 that is lower than the first threshold SH1 are set.
[0061] In addition, such as Figure 9 As shown, the control device 4 includes a first filter circuit 411, a second filter circuit 412, and a third filter circuit 413 as filter circuit 41. The first filter circuit 411, the second filter circuit 412, and the third filter circuit 413 smooth the output signal P1 of the encoder 64 and output smoothed signals P21, P22, and P23, respectively. Furthermore, the first filter time constant τ1 set by the first filter circuit 411, the second filter time constant τ2 set by the second filter circuit 412, and the third filter time constant τ3 set by the third filter circuit 413 are different from each other. In this embodiment, the first filter time constant τ1 > the second filter time constant τ2, and the first filter time constant τ3 > the third filter time constant τ3. The relationship between the second filter time constant τ2 and the third filter time constant τ3 is not particularly limited.
[0062] When the conveying speed of object W detected by output signal P1 is above the first threshold SH1, the conveying speed of object W is stable and less prone to deviation Δ. Therefore, control device 4 selects a smoothed signal P21 with high noise removal effect to calculate the first calculation mode of the control signal of robot 2. Furthermore, when the conveying speed of object W detected by output signal P1 is above the second threshold SH2 but less than the first threshold SH1, the conveying speed of object W may change drastically, easily generating deviation Δ. Therefore, control device 4 selects a smoothed signal P22 with small deviation Δ to calculate the second calculation mode of the control signal of robot 2. Additionally, when the conveying speed of object W detected by output signal P1 is less than the second threshold SH2, the conveying speed of object W may also change drastically, easily generating deviation Δ. Therefore, control device 4 selects a smoothed signal P23 with small deviation Δ to calculate the third calculation mode of the control signal of robot 2.
[0063] In this way, by setting multiple thresholds SH, the acceleration and deceleration regions of the object W can be subdivided, and an optimal filtering time constant can be set for each region. Therefore, the deviation Δ when the conveying speed of the object W changes drastically can be suppressed to a small extent. Thus, the positional deviation of the robot 2 relative to the conveying object W can be suppressed, and the object W can be operated appropriately.
[0064] As described above, in the control method of the robot system 1 of this embodiment, multiple thresholds SH are set. By setting multiple thresholds SH, the acceleration and deceleration regions of the object W can be subdivided, and an optimal filtering time constant can be set for each region. Therefore, the deviation Δ when the conveying speed of the object W changes drastically can be suppressed to a small extent. Thus, the positional deviation of the robot 2 relative to the conveying object W can be suppressed, and appropriate operations can be performed on the object W.
[0065] According to this second embodiment, the same effect as the first embodiment described above can also be achieved.
[0066] Third Implementation Method
[0067] Figure 10 This is a graph representing the thresholds set in the robot system of the third embodiment.
[0068] The robot system 1 of this embodiment is the same as the robot system 1 of the first embodiment described above, except for the method of setting the threshold SH. Therefore, in the following description, this embodiment will be described mainly for the differences from the first embodiment described above, and descriptions of the same items will be omitted. In addition, in the figures of this embodiment, the same reference numerals are used to label the same structures as in the above embodiments.
[0069] In the robot system 1 of this embodiment, as Figure 10 As shown, multiple thresholds SH are set. Specifically, as thresholds SH, there are a deceleration threshold SH3 used when the conveying speed of object W decreases and an acceleration threshold SH4 used when the conveying speed of object W increases. In addition, the acceleration threshold SH4 is lower than the deceleration threshold SH3.
[0070] When the conveying speed of the object W, detected by the output signal P1, decreases from above the deceleration threshold SH3 to below the deceleration threshold SH3, the control device 4 switches the calculation method of the control signal from the first calculation mode to the second calculation mode. Conversely, when the conveying speed of the object W, detected by the output signal P1, increases from below the acceleration threshold SH4 to above the acceleration threshold SH4, the control device 4 switches the calculation method of the control signal from the second calculation mode back to the first calculation mode. In this way, the threshold SH for switching between the first and second calculation modes differs depending on whether the conveying speed of the object W decreases or increases. This minimizes the deviation Δ when the conveying speed of the object W decreases sharply or increases significantly. Therefore, the positional deviation of the robot 2 relative to the conveying object W can be suppressed, enabling appropriate operation of the object W.
[0071] As described above, in the control method of the robot system 1 of this embodiment, multiple thresholds SH are set, including a deceleration threshold SH3 used when the conveying speed of the object W decreases and an acceleration threshold SH4 used when the conveying speed of the object W increases. Therefore, in either the case of a sharp decrease in the conveying speed of the object W or the case of an increase in the conveying speed of the object W, the deviation Δ can be minimized. Thus, positional deviation of the robot 2 relative to the conveyed object W can be suppressed, and appropriate operations can be performed on the object W.
[0072] According to this third embodiment, the same effect as the first embodiment described above can also be achieved.
[0073] The control method and robot system of the present invention have been described above based on the illustrated embodiments. However, the present invention is not limited thereto, and the structure of each part can be replaced with any structure having the same function. Furthermore, other arbitrary components can be added to the present invention. Additionally, the various embodiments can be appropriately combined.
Claims
1. A control method for a robot system, characterized in that, The robot system has the following features: Conveying devices, for conveying objects; and The robot performs its work while following the object being transported by the conveyor. In the control method of the robot system, The robot follows the object using the following control signal: a control signal calculated based on the conveying speed of the object detected according to the output signal of the encoder configured on the conveying device. If the conveying speed exceeds the threshold, the calculation method for the control signal is changed. In the calculation of the control signal, a filtering circuit that processes the output signal of the encoder is used. If the conveying speed exceeds the threshold, the calculation method is modified by changing the filtering time constant of the filtering circuit. The filtering time constant when the conveying speed is above the threshold is larger than the filtering time constant when the conveying speed is below the threshold.
2. The control method for the robot system according to claim 1, characterized in that, Multiple thresholds are set.
3. The control method for the robot system according to claim 2, characterized in that, The thresholds, which are set with a plurality of parameters, include a deceleration threshold used when the conveying speed decreases and an acceleration threshold used when the conveying speed increases.
4. The control method for the robot system according to claim 1, characterized in that, Servo control is applied to the robot. If the conveying speed exceeds the threshold, the servo gain of the servo control is changed, thereby changing the method for calculating the control signal.
5. The control method for the robot system according to claim 4, characterized in that, The servo gain when the conveying speed is less than the threshold is greater than the servo gain when the conveying speed is above the threshold.
6. A robot system, characterized in that, The robot system has the following features: Conveying devices, used to transport objects; The robot performs its work while following the object being transported by the conveyor; and The control device controls the robot's drive. The control device enables the robot to follow the object via a control signal calculated based on the conveying speed of the object detected by the output signal of the encoder configured on the conveying device. If the conveying speed exceeds the threshold, the calculation method for the control signal is changed. In the calculation of the control signal, a filtering circuit that processes the output signal of the encoder is used. If the conveying speed exceeds the threshold, the calculation method is modified by changing the filtering time constant of the filtering circuit. The filtering time constant when the conveying speed is above the threshold is larger than the filtering time constant when the conveying speed is below the threshold.
Citation Information
Patent Citations
Servo control device and servo control method related to approach and / or follow-up control to moving object, and robot control device and robot control method using these control device and method
JP1997109074A
Robot controller
JP2007290128A
Robot control device
JP2016107372A
