Robot motion teaching device, robot system and robot control device
By extracting the operator's movement trajectory and generating a conversion function, it solves the problem of robot movement teaching for workpieces with different shapes, improves manufacturing efficiency, and achieves high-precision movement synchronization and information through the combination of visual sensors and feature point extraction units. shared.
Patent Information
- Application Number
- CN201910288650.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-11
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-04-11
AI Technical Summary
The existing technology makes it difficult to teach the robot actions when the workpieces have different shapes, resulting in low manufacturing efficiency.
The action trajectory extraction part extracts the operator's action trajectory and generates a conversion function based on the feature points of the workpiece to generate the robot action trajectory to achieve workpiece shape conversion. It combines the visual sensor and the feature point extraction part to obtain image information and optimize the action trajectory to adapt to different conditions. artifact.
Even if the workpieces have different shapes, the robot can be easily taught movements to improve manufacturing efficiency, and high-precision movement synchronization can be achieved through shared information over the network and simulated operations in the virtual reality space.
Smart Images

Figure CN110385694B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a robot motion teaching device, a robot system and a robot control device. Background Art
[0002] Conventionally, there is known an operation teaching device that causes a robot to imitate actual work performed by an operator (for example, Patent Document 1).
[0003] The motion teaching device in patent document 1 uses multiple cameras to obtain the movement of the operator's arm, wrist tip, fingers or the movement of the work object when the operator is performing the work as multiple time series data about the three-dimensional position, and uses sensors installed on the operator's wrist tip and fingers to detect the force applied to the work object, thereby obtaining the time series data about the force, and converts these two time series data obtained at the same time into each axis trajectory data corresponding to the movement of each joint axis of the multiple robot arms.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent Application Laid-Open No. 60-205721 Summary of the invention
[0007] Problem that the invention aims to solve
[0008] However, the motion teaching device of Patent Document 1 is based on the premise that the workpiece on which the operator actually works and the workpiece on which the robot works are identical. Therefore, there is a problem that it becomes difficult to teach the robot the motion when the shapes of the workpieces are slightly different.
[0009] The present invention is made in view of the above situation, and its purpose is to provide a robot motion teaching device, a robot system and a robot control device, which can easily teach the robot motion based on the operator's actual work even when the workpiece actually worked on by the operator and the workpiece worked on by the robot are different, thereby improving manufacturing efficiency.
[0010] Solutions for solving problems
[0011] According to one embodiment of the present invention, a robot motion teaching device comprises: a motion trajectory extraction unit, which extracts the motion trajectory of the operator's finger or the arm by processing the time-varying image of the first workpiece and the operator's finger or arm when the operator is working on the first workpiece; a mapping generation unit, which generates a conversion function from the first workpiece to the second workpiece based on the feature points of the first workpiece and the feature points of the second workpiece on which the robot is working; and a motion trajectory generation unit, which generates the motion trajectory of the robot based on the motion trajectory of the operator's finger or the arm extracted by the motion trajectory extraction unit and the conversion function generated by the mapping generation unit.
[0012] According to this embodiment, the motion trajectory extraction unit extracts the motion trajectory of the operator's finger or arm by processing the first workpiece and the time-varying image of the operator's finger or arm when the operator is working on the first workpiece, and the mapping generation unit generates a conversion function for converting from the first workpiece to the second workpiece based on the feature points of the first workpiece and the feature points of the second workpiece on which the robot is working. In addition, the motion trajectory generation unit generates the motion trajectory of the robot based on the extracted motion trajectory of the operator's finger or arm and the generated conversion function. Thus, even if the first workpiece on which the operator actually works and the second workpiece on which the robot is working are different, the robot can be easily taught the motion based on the actual operation of the operator, thereby improving manufacturing efficiency.
[0013] In the above-mentioned embodiment, a trajectory optimization unit may be provided for optimizing the motion trajectory of the robot generated by the motion trajectory generation unit based on the motion time required for the robot to move along the motion trajectory of the robot and the acceleration of each axis of the robot.
[0014] According to this configuration, the trajectory optimizing unit optimizes the motion trajectory of the robot so as to reduce the motion time and suppress excessive acceleration.
[0015] In addition, in the above-mentioned embodiment, it can also be provided with: a first visual sensor, which obtains time-varying images of the first workpiece and the finger or the arm of the operator when the operator is working on the first workpiece; and a first feature point extraction unit, which extracts the feature point of the first workpiece from the image obtained by the first visual sensor, and the motion trajectory extraction unit extracts the motion trajectory of the finger or the arm of the operator from the image obtained by the first visual sensor.
[0016] According to this structure, the first visual sensor acquires time-varying images of the first workpiece and the operator's finger or arm, and the motion trajectory extraction unit extracts the motion trajectory of the operator's finger or arm from the acquired image, and the first feature point extraction unit extracts feature points of the first workpiece.
[0017] In addition, in the above-mentioned embodiment, there may be further provided: a second visual sensor that captures the second workpiece and acquires an image; and a second feature point extraction unit that extracts the feature point of the second workpiece from the image acquired by the second visual sensor.
[0018] According to this configuration, the second visual sensor acquires an image of the second workpiece, and the second feature point extraction unit extracts feature points of the second workpiece from the acquired image.
[0019] Furthermore, in the above-mentioned embodiment, the operation performed by the operator on the first workpiece may be performed in a virtual reality space.
[0020] According to this configuration, it is not necessary to prepare the first workpiece and the operator's working environment in reality, and the movement trajectory of the operator's finger can be extracted by performing the work of moving the first workpiece by software in the virtual reality space.
[0021] In the above-mentioned embodiment, a storage unit may be provided for storing the feature points of the second workpiece and the motion trajectory of the robot in association with each other.
[0022] According to this configuration, when working on the second workpiece again, the operation trajectory of the robot stored in the storage unit is read, thereby improving the working efficiency.
[0023] In addition, a robot system according to another embodiment of the present invention comprises: a plurality of robots; a plurality of control devices that respectively control the robots; a network that connects the control devices; and a motion teaching device for the robots connected to the network.
[0024] According to this embodiment, based on the feature points of the second workpiece, the control devices of the plurality of robots can read the motion trajectories of the robots stored in the storage unit of the motion teaching device via the network, and the plurality of robots can share information.
[0025] In addition, according to another embodiment of the present invention, a robot control device includes the motion teaching device of the above-mentioned robot, and the second feature point extraction unit extracts the positions of multiple feature points of the second workpiece at a prescribed period, and the robot control device includes a position and posture calculation unit. The position and posture calculation unit updates the motion equation of each feature point at each prescribed period based on the positions of the extracted multiple feature points, and calculates the position or posture of the second workpiece based on the positions of each feature point calculated by the updated motion equations, and controls the robot based on the position or posture of the second workpiece calculated by the position and posture calculation unit so that the robot follows the second workpiece.
[0026] According to the present embodiment, the second feature point extraction unit extracts the positions of multiple feature points of the second workpiece from the image acquired by the visual sensor at a prescribed period. Then, the position and posture calculation unit updates the motion equations of the multiple feature points at each prescribed period based on the positions of the multiple feature points extracted by the second feature point extraction unit. In addition, the position and posture calculation unit calculates the positions of the new multiple feature points from each updated motion equation, and calculates the position or posture of the second workpiece based on the calculated positions of the multiple feature points. Furthermore, the robot control device controls the robot based on the position or posture of the second workpiece calculated by the position and posture calculation unit so that the robot follows the second workpiece.
[0027] In this way, since the motion equation of each feature point is updated at a predetermined period, the motion equation of the second workpiece can be constructed online. As a result, the robot can follow the second workpiece that moves randomly with high accuracy.
[0028] Effects of the Invention
[0029] According to the present invention, even when the workpiece on which the operator actually works is different from the workpiece on which the robot works, the robot can be easily taught the operation based on the actual work of the operator, thereby achieving the effect of improving manufacturing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 1 is a diagram showing the overall configuration of a robot system according to an embodiment of the present invention.
[0031] Figure 2 It is shown Figure 1 Block diagram of the motion teaching device of the robot system in FIG.
[0032] Figure 3 Is used to illustrate the Figure 2A diagram of a conversion function generation process performed by a mapping generation unit included in the action teaching device.
[0033] Description of reference numerals:
[0034] 1 Robotic system
[0035] 2 Robots
[0036] 3 Robot control device
[0037] 10 Motion teaching device
[0038] 11. First camera (first visual sensor)
[0039] 12. Second camera (second visual sensor)
[0040] 14 Motion trajectory extraction unit
[0041] 15. First feature point extraction unit
[0042] 16. Second feature point extraction unit
[0043] 17 Mapping Generation Unit
[0044] 18 Motion trajectory generation unit
[0045] W1 First workpiece
[0046] W2 Second workpiece
[0047] A, A′ motion trajectory
[0048] F Finger
[0049] H Operator DETAILED DESCRIPTION
[0050] Hereinafter, a robot motion teaching device 10 and a robot system 1 according to an embodiment of the present invention will be described with reference to the drawings.
[0051] like Figure 1 As shown, the robot system 1 of the present embodiment includes: a robot 2 ; a robot control device 3 connected to the robot 2 ; and a motion teaching device 10 of the present embodiment connected to the robot control device 3 .
[0052] The motion teaching device 10 includes: a first camera (first visual sensor) 11, which is used to photograph the first workpiece W1 and the finger F of the operator H when the operator H operates on the first workpiece W1 and obtain a time-varying image; a second camera (second visual sensor) 12, which is used to photograph the second workpiece W2 operated by the robot 2 and obtain an image; and an image processing unit 13, which is connected to the first camera 11 and the second camera 12.
[0053] like Figure 2 As shown, the image processing unit 13 includes: a motion trajectory extraction unit 14, which is connected to the first camera 11; a first feature point extraction unit 15, which is connected to the first camera 11; a second feature point extraction unit 16, which is connected to the second camera 12; a mapping generation unit 17, which is connected to the first feature point extraction unit 15 and the second feature point extraction unit 16; and a motion trajectory generation unit 18, which is connected to the motion trajectory extraction unit 14 and the mapping generation unit 17.
[0054] The motion trajectory extraction unit 14 extracts the motion trajectory of the finger F of the operator H from the image acquired by the first camera 11. Specifically, the motion trajectory extraction unit 14 extracts the motion trajectory of the finger F of the operator H from the time-varying image acquired by the first camera 11 by using a known motion capture technology while attaching a marker to the finger F of the operator H.
[0055] The first feature point extraction unit 15 extracts the coordinates of a plurality of feature points of the first workpiece W1 in any image acquired by the first camera 11 through image processing, for example, extracts the coordinates of a plurality of feature points such as vertex angles and edges.
[0056] The second feature point extraction unit 16 extracts the coordinates of a plurality of feature points of the second workpiece W2 in any image acquired by the second camera 12 through image processing, for example, extracts the coordinates of a plurality of feature points such as vertex angles and edges.
[0057] The mapping generation unit 17 calculates the conversion function f based on the coordinates of the feature points extracted by the first feature point extraction unit 15 and the coordinates of the feature points extracted by the second feature point extraction unit 16 and using the following mapping theory formula (1).
[0058]
[0059] Here, the symbol f represents the conversion function, k represents the number of feature points of the first workpiece W1, and x (k) Indicates the coordinates of the kth feature point. In the case of a two-dimensional graph, x1 and x2 represent the coordinates (x1, x2) of the two-dimensional coordinate system. (k) ′ represents the coordinates of the kth feature point of the second workpiece W2, f(x (k) ) represents the kth coordinate x of the first workpiece W1 calculated using the mapping function f(k) Coordinates associated with the second workpiece W2.
[0060] Reference Figure 3 , explaining the calculation method. Figure 3 , a shape B of a rectangular first workpiece W1 and a shape B′ of a second workpiece W2 different from the shape of the first workpiece W1 are shown as examples.
[0061] exist Figure 3 In FIG. 1 , a point C is set at an arbitrary position in the first workpiece W1 . The shape B of the first workpiece W1 , the shape B′ of the second workpiece W2 , and the point C are set with coordinates using a coordinate system C2 in the figure.
[0062] Here, in Figure 3 In the equation (1), point C' represents the position of the shape of the second workpiece W2 corresponding to the position of point C relative to the shape of the first workpiece W1. If the coordinates of the shape B of the first workpiece W1 and the shape B' of the second workpiece W2 in the coordinate system C2 are known, the position of the point C' (i.e., the coordinates of the coordinate system C2) can be calculated by introducing the information of these coordinates into the conversion function f of equation (1).
[0063] The motion trajectory generating unit 18 uses this calculation method to calculate the motion trajectory of the finger F of the operator H for the shape B' of the second workpiece W2 corresponding to the motion trajectory of the finger F of the operator H acquired for the shape B of the first workpiece W1. Figure 1 In the coordinate system of , by introducing the motion trajectory A of the finger F of the operator H with respect to the first workpiece W1 extracted by the motion trajectory extraction unit 14 into the conversion function f, the motion trajectory A′ of the robot 2 with respect to the second workpiece W2 can be calculated.
[0064] When the robot control device 3 receives the motion trajectory A from the motion trajectory generating unit 18, the coordinates of each point constituting the motion trajectory A are multiplied by a coordinate conversion matrix (e.g., Jacobian matrix) to convert the coordinates into coordinates in the three-dimensional robot coordinate system. Thus, by using the converted coordinates as teaching points, the robot 2 can be made to move according to the motion trajectory A′.
[0065] According to the motion teaching device 10 and the robot system 1 of the present embodiment, the motion trajectory A of the finger F of the operator H acquired by the motion capture technology is converted into the motion trajectory A′ of the robot 2. Therefore, compared with the case where a teaching operation panel is used, the time required for teaching a complex motion trajectory A can be shortened. There is an advantage that the motion trajectory A can be taught by the intuitive motion of the operator H who is teaching. In addition, there is an advantage that the proficiency of the operator H who is teaching is not required compared with the case where a teaching operation panel is used.
[0066] In addition, according to the motion teaching device 10 and the robot system 1 of the present embodiment, even if the first workpiece W1 operated by the operator H and the second workpiece W2 operated by the robot 2 do not have strictly the same shape, by generating a conversion function by the mapping generation unit 17, when converting the motion trajectory A of the finger F of the operator H into the motion trajectory A′ of the robot 2, it is possible to convert it into the motion trajectory A′ that takes into account the different shapes of the workpieces W1 and W2.
[0067] For example, even if the first workpiece W1 and the second workpiece W2 have similar shapes or shapes with different scales in one direction, it is possible to generate the motion trajectory A′ of the robot 2 with high accuracy. Thus, the motion of the robot 2 can be easily taught based on the intuitive actual operation of the operator H, thereby having the advantage of being able to improve manufacturing efficiency.
[0068] In addition, compared with the case of teaching by computer simulation, there is an advantage in that there is no need to create high-precision CAD data.
[0069] In addition, in the present embodiment, a trajectory optimization unit (not shown) may be provided, which is used to optimize the motion trajectory A′ of the robot 2 generated by the motion trajectory generation unit 18. The optimization process of the motion trajectory A′ performed by the trajectory optimization unit may be performed by, for example, using the technology disclosed in “Changliu Liu, Masayoshi Tomizuka, Realtime trajectory optimization for nonlinear robotics systems: Relaxation and convexification, Systems & Control Letters 108 (2017), p56-63”.
[0070] In this optimization process, a trajectory planning is performed to avoid obstacles, and then the trajectory is optimized. In the trajectory planning, the evaluation functions and constraints of the following equations (2) to (5) are used to obtain a trajectory that keeps the distance to the obstacle above a fixed value, suppresses the change in the generated motion trajectory A', and suppresses the motor torque.
[0071]
[0072] x t ∈x,u t ∈u (3)
[0073] x t =f(x t-1,u t-1 ) (4)
[0074]
[0075] Formula (2) shows the evaluation function J(x, u) used for trajectory planning, and it is calculated by adding the prescribed weights ω1 and ω2 to the preset motion trajectory x of the robot 2. r The change in (xx r The square of the norm of ) and the square of the norm of the motor torque u are added to obtain the minimum trajectory x and torque u.
[0076] Formula (3), Formula (4), and Formula (5) are restriction conditions for Formula (2).
[0077] Formula (4) is the kinetic model.
[0078] Formula (5) takes the distance to the obstacle as a condition that it is greater than the minimum distance.
[0079] In the optimization of the trajectory, the evaluation functions and constraints of the following equations (6) to (8) are used, and the trajectory is optimized in such a way that the action time required to move along the action trajectory A′ is kept low while also keeping the acceleration low.
[0080]
[0081] τ>0,α∈A (7)
[0082] g T (τ, α) = 0 (8)
[0083] Formula (6) shows the evaluation function J for optimizing the trajectory: T (τ, a), and find the action time τ and acceleration a that are minimized by adding the predetermined weights ω3 and ω4 to the square of the norm of the action time τ and the square of the norm of the acceleration a and adding the sum of the values.
[0084] Equations (7) and (8) are constraints on equation (6), and equation (8) represents the relationship between time and acceleration.
[0085] By performing the optimization process for the motion trajectory A′, it is possible to teach the motion trajectory A′ that does not collide with surrounding obstacles and enables high-speed motion.
[0086] In addition, in the case where the second workpiece W2 moves randomly, for example, the robot control device disclosed in Japanese Patent Gazette No. 2018-27580 can also be used. That is, the second feature point extraction unit 16 extracts the positions of multiple feature points of the second workpiece W2 at a specified period, and based on the positions of the extracted multiple feature points, the position and posture calculation unit updates the motion equation of each feature point at each of the above-mentioned periods, and the position or posture of the second workpiece W2 is calculated based on the positions of each feature point calculated by the updated motion equations, and then the robot 2 can be controlled based on the calculated position or posture of the second workpiece W2. The above method has the following advantages: for the second workpiece W2 that moves randomly, the robot 2 can be made to follow with high precision through visual servoing.
[0087] Furthermore, when the second workpiece W2 is an irregular member such as a cable, the shape may be recognized by simulation using the image acquired by the first camera 11 , and the map generator 17 may determine the conversion function based on the recognized shape.
[0088] In addition, in this embodiment, a case where the movement trajectory of the marker position is extracted from the time-varying image acquired by the first camera 11 with the marker attached to the finger F of the operator H by using a known motion capture technology is illustrated. Alternatively, the operator H may work on the first workpiece W1 in a VR (virtual reality) space. With the above configuration, the motion trajectory A of the finger F of the operator H can be extracted without actually preparing the first workpiece W1 and the working environment of the operator H.
[0089] In addition, a storage unit may be provided, which is used to associate and store the feature points of the second workpiece W2 and the generated motion trajectory A' of the robot 2. With the above structure, when the second workpiece W2 is operated again, the motion trajectory A' of the robot 2 stored in the storage unit can be read, thereby improving the working efficiency.
[0090] A robot system may be used, which includes: a plurality of robots 2; a control device for controlling each robot 2; a network for connecting the control devices; and a motion teaching device 10 having a storage unit connected to the network.
[0091] The above structure has the advantage that the motion trajectory A′ of the robot 2 stored in the storage unit of the motion teaching device 10 can be read by the control devices of the plurality of robots 2 via the network based on the feature points of the second workpiece W2 , and the plurality of robots 2 can share information.
Claims
1. A robot motion teaching device, characterized in that: have: a motion trajectory extraction unit that extracts a motion trajectory of the operator's finger or arm by processing a time-varying image of the first workpiece and the operator's finger or arm when the operator is working on the first workpiece; a mapping generation unit that generates a conversion function for converting from the first workpiece to the second workpiece based on feature points of the first workpiece and feature points of a second workpiece on which the robot is working; a motion trajectory generating unit that generates a motion trajectory of the robot based on the motion trajectory of the finger or the arm of the operator extracted by the motion trajectory extracting unit and the conversion function generated by the mapping generating unit; as well as The trajectory optimization unit optimizes the motion trajectory generated by the motion trajectory generation unit by obtaining the motion time and the acceleration at which a value of a predetermined function of the motion time required for the robot to move along the motion trajectory and the acceleration of each axis of the robot becomes minimum.
2. The robot motion teaching device according to claim 1, characterized in that: The robot's motion teaching device comprises: a first visual sensor that acquires a time-varying image of the first workpiece and the finger or the arm of the operator when the operator is working on the first workpiece; as well as a first feature point extraction unit that extracts the feature point of the first workpiece from the image acquired by the first visual sensor, The motion trajectory extraction unit extracts a motion trajectory of the finger or the arm of the operator from the image acquired by the first visual sensor.
3. The robot motion teaching device according to claim 1 or 2, characterized in that: The robot's motion teaching device comprises: A second visual sensor, which photographs the second workpiece and acquires an image; and A second feature point extraction unit extracts the feature points of the second workpiece from the image acquired by the second vision sensor.
4. The robot motion teaching device according to claim 1, characterized in that: The operator performs operations on the first workpiece in a virtual reality space.
5. The robot motion teaching device according to claim 1 or 2, characterized in that: The robot motion teaching device includes a storage unit configured to store the feature points of the second workpiece and the motion trajectory of the robot in association with each other.
6. A robot system, characterized in that: have: Multiple robots; A plurality of control devices, which respectively control each of the robots; a network connecting the control devices; and The robot motion teaching device according to claim 5 is connected to the network.
7. A robot control device, characterized in that: A robot motion teaching device according to claim 3, The second feature point extraction unit extracts positions of a plurality of the feature points of the second workpiece at a predetermined period. The robot control device includes a position and posture calculation unit, which updates the motion equation of each feature point at each predetermined period based on the positions of the extracted multiple feature points, and calculates the position or posture of the second workpiece based on the positions of each feature point calculated by the updated motion equation. The robot control device controls the robot based on the position or posture of the second workpiece calculated by the position and posture calculation unit so that the robot follows the second workpiece.
Citation Information
Patent Citations
Robot operation teaching device
JP1985205721A
Robot control device
JP2018027580A
Image-based trajectory robot programming planning approach
US20160243704A1
Programming method and apparatus for robot movement
US6654666B1
Robot teaching device, and method for generating robot control program
WO2017130389A1
