Control device, control method and program
By using interpolation and optimal posture derivation methods in the motion trajectories of machine elements, combined with mechanical characteristics, the problems of inappropriate postures and long search times in the existing technology are solved, and more efficient posture control and trajectory planning are achieved.
Patent Information
- Application Number
- CN201980086509.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-01-04
- Filing Date
- 2019-11-18
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the motion trajectory planning of machine elements, determining the posture based on the position of the via point may lead to inappropriate or inefficient postures, and the high degree of freedom in searching postures leads to increased time consumption.
Provide control devices and methods to derive appropriate postures at passing points through interpolation posture derivation and optimal posture derivation, combined with the mechanical characteristics of machine components, to reduce search load and time.
It achieves more appropriate posture control in the motion trajectory of machine components, expands the reachable range, improves search efficiency, reduces posture changes, and improves operating efficiency.
Smart Images

Figure CN113226663B9_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a control device, a control method, and a program. Background Art
[0002] Generally, for a robot arm or the like provided in a robot device (hereinafter, also referred to as a machine element), operation is controlled based on a motion trajectory indicating the position and posture of the robot arm or the like.
[0003] In order to properly control the operation of such a machine element, it is important to properly determine the position and posture of the machine element in a motion trajectory connecting the start and end points of the motion. However, when planning the motion trajectory, it is not preferable to simultaneously search for the position and posture of the machine element because the degree of freedom of the search is high (six degrees of freedom in total) and the search takes time.
[0004] Therefore, it is first considered to determine the via point on the motion trajectory and search for the position (three degrees of freedom) of the machine element at the via point, and then search for the posture (three degrees of freedom) of the machine element based on the searched position of the machine element.
[0005] For example, Patent Document 1 below describes a method of pre-storing a posture data table in which position data on a trajectory of a robot and posture data of the robot are associated with each other, and determining the posture of the robot based on the position data of the robot.
[0006] [Citation List]
[0007] [Patent Document]
[0008] [Patent Document 1]
[0009] Japanese Patent Laid-Open No. 10-315169 Summary of the invention
[0010] [Technical issues]
[0011] However, in the case where the posture of a machine element is determined based on the position of the machine element at a via point, the determined posture of the machine element may not be a suitable posture in consideration of the mechanical characteristics of the machine element. Therefore, a control device, a control method, and a program are required that can more appropriately derive the posture of a machine element at a via point between a start point and an end point of a motion trajectory.
[0012] Solution to the problem
[0013] According to the present disclosure, a control device is provided, which includes: an interpolation posture derivation unit, which derives the interpolation posture of a machine element moving in a trajectory from a starting point via a via point to an end point; an optimal posture derivation unit, which derives the optimal posture of the machine element at the via point; and a posture derivation unit, which derives the posture into which the machine element is controlled at the via point based on the interpolation posture and the optimal posture.
[0014] In addition, according to the present disclosure, a control method for a computing device is provided, which includes: deriving an interpolated posture of a machine element moving in a trajectory from a starting point via a via point to an end point; deriving an optimal posture of the machine element at the via point; and deriving a posture into which the machine element is controlled at the via point based on the interpolated posture and the optimal posture.
[0015] In addition, according to the present disclosure, a program is provided that causes a computer to function as: an interpolation posture derivation unit that derives an interpolation posture of a machine element moving in a trajectory from a starting point via a via point to an end point; an optimal posture derivation unit that derives an optimal posture of the machine element at the via point; and a posture derivation unit that derives a posture into which the machine element is controlled at the via point based on the interpolation posture and the optimal posture. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] [ Figure 1A ] Figure 1A is a schematic diagram showing an example of the position and posture of a machine element at the starting point.
[0017] [ Figure 1B ] Figure 1B is a schematic diagram showing an example of the position and posture of a machine element at an end point.
[0018] [ Figure 2A ] Figure 2A is a schematic diagram showing an example of the position and posture of a machine element at a via point.
[0019] [ Figure 2B ] Figure 2B is a schematic diagram showing another example of the position and posture of the machine element at the via point.
[0020] [ Figure 3 ] Figure 3 is a block diagram showing a functional configuration of a control device according to an embodiment of the present disclosure.
[0021] [ Figure 4 ] Figure 4 is a flowchart showing an example of the operation of the control device when deriving the posture of a machine element.
[0022] [ Figure 5 ] Figure 5It is an explanatory diagram showing spherical linear interpolation using quaternions.
[0023] [ Figure 6 ] Figure 6 It is an explanatory diagram showing the Euclidean distance between a starting point and a via point and the Euclidean distance between a via point and an end point.
[0024] [ Figure 7 ] Figure 7 1 is an explanatory diagram showing the derivation of the interpolated posture of the machine element at the pass-through point using the quaternion spherical linear correction.
[0025] [ Figure 8 ] Figure 8 It is an explanatory diagram showing a quadratic Bezier curve passing through a starting point, a via point, and an end point.
[0026] [ Fig. 9 ] Fig. 9 This is an explanatory diagram for explaining the optimal posture of the machine element at the transit point derived in consideration of the mechanism of the machine element.
[0027] [ Fig. 10A ] Fig. 10A is a diagram showing an example of a function that controls the internal division ratio between the interpolation posture and the optimal posture.
[0028] [ Fig. 10B ] Fig. 10B is a diagram showing another example of a function that controls the internal division ratio between the interpolation posture and the optimal posture.
[0029] [ Fig. 10C ] Fig. 10C is a graph showing another example of a function that controls the internal division ratio between the interpolated posture and the optimal posture.
[0030] [ Fig.11 ] Fig.11 is a block diagram showing an example of a hardware configuration of a control device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] The preferred embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Incidentally, in this specification and the accompanying drawings, components having substantially the same functional configuration are represented by the same symbols to omit repeated descriptions. In this specification and the accompanying drawings, components having substantially the same functional configuration are represented by the same reference numerals to omit repeated descriptions.
[0032] Note that the description is given in the following order.
[0033] 1. Overview of technologies related to the present disclosure
[0034] 2. Configuration example of control device
[0035] 3. Operation examples of control devices
[0036] 4. Hardware Configuration Example
[0037] 5. Summary
[0038] <1. Overview of Technology Related to the Present Disclosure>
[0039] First, refer to Figures 1A to 2B An overview of the technology according to the present disclosure is described.
[0040] For example, consider the following case: a machine element 200 such as a robot arm of the robot device 10 passes through a point P v From the starting point P s Move to the end point P e Specifically, the following case will be considered: the robot device 10 is operated to Figure 1A The starting point P of the machine element 200 is shown s Position and posture Figure 1B The end point P of the machine element 200 is shown e Note that in order to simplify the description, Figure 1A and Figure 1B As shown, the machine element 200 is at the starting point P s and the end point P e The posture is the same.
[0041] At this time, for example, the machine element 200 passes through point P v The posture at which the machine element 200 is located can be obtained from the starting point P s and the end point P e Specifically, the machine element 200 can be derived from the posture at the starting point P s and the end point P e The postures at the points are added to each other to derive the position of the machine element 200 at the point P v For example, the machine element 200 is in Figure 1A The starting point P shown s The posture of the machine element 200 is Figure 1B The end point P shown e Therefore, it is possible to have the same posture as the machine element 200 at the starting point P s and the end point P e The posture of the machine element 200 at the point P is derived in the same manner. v The posture of the place.
[0042] However, in this method, the machine element 200 is derived at the point Pv In the case of the posture at v There is no solution to make the posture of the machine element 200 appropriate, such as Figure 2A In addition, depending on the point P v The posture of the machine element 200 may become unnatural or inefficient if the position of the machine element 200 is too large.
[0043] On the other hand, for example, the machine element 200 passes through point P v The posture at the starting point P can be derived from the mechanical properties of the machine element 200 without considering the position of the machine element 200 at the starting point P s The end point P e Specifically, the posture of the machine element 200 passing through the point P can be derived. v The posture at which the v The torque applied to each part of the machine element 200 is small or the maneuverability of the machine element 200 is high.
[0044] However, in this method, the machine element 200 is derived at the point P v In the case of a posture at the starting point P, the posture of the machine element 200 may be different from the starting point P s Or the end point P e The posture is significantly changed compared to the Figure 2B As shown, the operating efficiency of the machine element 200 may be reduced.
[0045] Therefore, it is desirable to derive the position of the machine element 200 passing through the point P by considering multiple postures derived by different methods. v In view of the above situation, the technology according to the present disclosure is considered. Specifically, the technology according to the present disclosure derives the posture of the machine element 200 passing through the point P based on the interpolated posture and the optimal posture. v The posture of the place.
[0046] Here, the interpolated posture is obtained by moving the machine element 200 at the starting point P s The posture at which the machine element 200 is at the end point P e On the other hand, the optimal posture is a posture derived based on the mechanical characteristics of the machine element 200. According to the technology related to the present disclosure, by using the interpolated posture and the optimal posture to derive the posture of the machine element 200, the machine element 200 can be more appropriately controlled to move between the points P and P. v The posture of the place.
[0047] Hereinafter, a control device that implements the technology according to the present disclosure outlined above will be described in detail.
[0048] <2. Configuration example of control device>
[0049] Next, we will refer to Figure 3 A specific configuration example of the control device 100 according to an embodiment of the present disclosure is described. Figure 3 : is a block diagram showing the functional configuration of the control device 100 according to the present embodiment.
[0050] like Figure 3 As shown, the control device 100 includes a recognition unit 110 , a trajectory generation unit 120 , an interpolation posture derivation unit 130 , an optimal posture derivation unit 140 , a posture derivation unit 150 , and a control unit 160 .
[0051] For example, the control device 100 controls the position and posture of the machine element 200 by controlling the drive unit 220 of the machine element 200 based on the information acquired by the sensor unit 210. The control device 100 may be provided inside the robot device 10 including the machine element 200, or may be provided outside the robot device 10 including the machine element 200.
[0052] Here, the machine element 200 represents a component set in the robot device 10 whose position and posture can be controlled by a mechanical mechanism. For example, the machine element 200 can be a robot arm of the robot device 10 or an end effector at the end of the robot arm, or can be a leg of the robot device 10 or a ground contacting portion at the end of the leg.
[0053] The sensor unit 210 includes sensors for acquiring information about the environment around the robot device 10 and sensors for acquiring information about the robot device 10 itself. For example, the sensor unit 210 may include various cameras (e.g., RGB cameras, grayscale cameras, stereo cameras, depth cameras, infrared cameras, and ToF (time of flight) cameras) as sensors for acquiring environmental information around the robot device 10. The sensor unit 210 may include various ranging sensors, such as a LIDAR (Laser Imaging Detection and Ringing) sensor or a RADAR (Radio Detection and Ringing) sensor. For example, the sensor unit 210 may include an environmental sensor, a microphone, an illuminance meter, a thermometer, or a hygrometer. In addition, for example, the sensor unit 210 may include an encoder, a voltmeter, an ammeter, a strain gauge, a pressure gauge, an IMU (Inertial Measurement Unit), etc. as sensors for acquiring self-machine information of the robot device 10.
[0054] However, it goes without saying that the sensor unit 210 may include known sensors other than the above-mentioned sensors as long as the sensor unit 210 can acquire environmental information around the robot device 10 or its own machine information.
[0055] The recognition section 110 recognizes the environmental state around the robot device 10 or the self-machine state of the robot device 10 based on the information acquired by the sensor unit 210. Specifically, the recognition section 110 may recognize the environmental state around the robot device 10 through obstacle recognition, shape recognition, object recognition, mark recognition, character recognition, white line recognition, lane recognition, or voice recognition based on the environmental information acquired by the sensor unit 210. In addition, the recognition section 110 may recognize the self-machine state of the robot device 10 by performing position recognition, motion state (speed, acceleration, jerk, etc.) recognition, or body state (remaining power supply, temperature, joint angle, etc.) recognition based on the self-machine information acquired by the sensor unit 210.
[0056] Any of the above-mentioned recognition operations of the recognition section 110 may be performed by using known recognition techniques. For example, the recognition of the recognition section 110 may be performed based on a predetermined rule, or may be performed based on a machine learning algorithm.
[0057] The trajectory generation unit 120 generates a trajectory for operating the machine element 200 of the robot device 10 based on the recognition result of the recognition unit 110. Specifically, first, the trajectory generation unit 120 determines the starting point P for operating the machine element 200 based on the environmental state around the robot device 10 recognized by the recognition unit 110 and the machine state of the robot device 10 itself. s and the end point P e Next, the trajectory generation unit 120 generates a trajectory connecting the determined starting point P s and the end point P e The control device 100 generates a trajectory of the machine element 200 and determines the position of the machine element 200 on the trajectory and the posture of the machine element 200 at the position. The control device 100 can move the machine element 200 along the generated trajectory by controlling the driving of the driving unit 220 based on the generated trajectory.
[0058] In addition, the trajectory generation unit 120 sets the connection starting point P s and the end point P e The trajectory passes through the point P v , and when generating the trajectory, it is determined that the machine element 200 passes through point P v The trajectory generation unit 120 can pass through point P v Set as the intermediate point to facilitate the search of the trajectory, or you can set the passing point P v It is set to avoid obstacles, or it can be set to pass through point P according to instructions from the user. v In addition, the trajectory generation unit 120 may set a plurality of passing points P on the trajectory. vIncidentally, when the trajectory generating unit 120 sets the passing point P v In the case of v The location of the place.
[0059] Here, in the control device 100 of the present embodiment, the posture deriving unit 150 described later derives the posture of the machine element 200 passing through the point P. v Specifically, based on the interpolated posture derived by the interpolated posture deriving unit 130 and the optimal posture derived by the optimal posture deriving unit 140, the posture of the machine element 200 passing through the point P is derived. v The posture of the place.
[0060] Accordingly, when the control device 100 searches for the starting point P s To the end point P e When the route is to be determined, it is sufficient to search only the position of the machine element 200, rather than searching for the position of the machine element 200 passing through the point P. v Therefore, when the search algorithm is used to set the point P v When searching with three degrees of freedom of the position of the machine element 200 , the control device 100 can reduce the search load and time because it is sufficient to search with six degrees of freedom of the position and posture of the machine element 200 .
[0061] The interpolation posture deriving unit 130 calculates the posture of the machine element 200 based on the posture of the machine element 200 at the starting point P. s The posture of the machine element 200 at the end point P e The posture at point P is derived v The interpolated pose at .
[0062] Specifically, the interpolation posture deriving unit 130 may calculate the posture of the machine element 200 at the starting point P s The posture of the machine element 200 at the end point P e The pose at P is linearly interpolated to derive the pose at P v For example, the interpolation posture deriving unit 130 may also use the interpolation posture from the starting point P s To point P v The distance from the end point P e To point P v The ratio of the distances at the starting point P s The posture and end point P e Linear interpolation is performed between the poses to derive the point P v That is, the interpolation posture deriving unit 130 can also derive the interpolation posture of the machine element 200 from the starting point P s To the end point P eA pose during the pose conversion is used as the interpolation pose.
[0063] The posture derivation unit 150 described later uses the gestures passing through the point P v The interpolated posture at the point P is used to derive the actual position of the machine element 200 at v The control device 100 uses the interpolated posture to derive the posture to which the machine element 200 is actually controlled, thereby preventing the machine element 200 from being controlled at the point P. v The posture of the machine element 200 is the same as that of the machine element 200 at the starting point P s or end point P e A big change in posture.
[0064] The optimal posture derivation unit 140 derives the optimal posture through the point P based on the mechanical characteristics of the machine element 200. v Specifically, the optimal posture deriving unit 140 may derive the optimal posture of the machine element 200 at the point P based on at least one of the following: v The optimal posture of the machine element 200 is the maneuverability of the machine element 200, the torque applied to the machine element 200, or the singular point of the machine element 200. For example, the optimal posture deriving unit 140 can derive the optimal posture so that the maneuverability of the machine element 200 is high, or the optimal posture can be derived so that the torque applied to the machine element 200 is small, or the optimal posture can be derived so as to avoid the singular point of the machine element 200. That is, the optimal posture deriving unit 140 can derive the mechanism of the machine element 200 passing through the point P v The best posture is the best posture.
[0065] Alternatively, the optimal posture deriving unit 140 may derive the optimal posture via the point P v The best posture at the point P v The tangent direction of the trajectory is related to the machine element 200 passing through point P v The approach directions at are substantially consistent with each other.
[0066] The posture derivation unit 150 described later uses the gestures passing through the point P v The interpolated pose at the point P is used to derive the position of the machine element 200 at the point P v The control device 100 can derive the posture that the machine element 200 is actually controlled to be by using the optimal posture, so that the machine element 200 passes through the point P. v The control device 100 derives the posture to which the machine element 200 is actually controlled by using the optimal posture so that the machine element 200 passes through the point P. v The posture at which the operation of the operating element 200 is performed may be a posture that makes the operation of the operating element 200 more suitable.
[0067] The posture deriving unit 150 derives the position of the machine element 200 at the point P based on the interpolated posture and the optimal posture. v Specifically, the posture deriving unit 150 can derive the posture of the machine element 200 at the point P by internal division between the interpolated posture and the optimal posture. v It should be noted that, for example, the internal division between the interpolation posture and the optimal posture can be performed based on a continuous function in which the ratio of the interpolation posture at the starting point P s and the end point P e Therefore, the posture deriving unit 150 can more appropriately derive the posture of the machine element 200 when passing through the point P. v The posture of the place.
[0068] The control unit 160 controls the driving of the driving unit 220 based on the trajectory generated by the trajectory generating unit 120. Specifically, first, the control unit 160 grasps the position and posture of the machine element 200 from the machine state of the robot device 10 recognized by the recognition unit 110. Next, the control unit 160 controls the driving of the driving unit 220 of the machine element 200 so that the difference between the position and posture of the machine element 200 and the position and posture of the trajectory generated by the trajectory generating unit 120 is reduced. Accordingly, the control device 100 can operate the machine element 200 from the starting point P based on the trajectory generated by the trajectory generating unit 120. s To the end point P e .
[0069] The driving unit 220 drives each unit of the machine element 200 of the robot device 10 based on the control from the control part 160. For example, the driving unit 220 may be an actuator or the like that drives a joint of the machine element 200.
[0070] <3. Example of control device operation>
[0071] Next, we will refer to Figures 4 to 10C An operation example of the control device 100 when deriving the posture of the machine element 200 is described. Figure 4 : is a flowchart showing an operation example of the control device 100 when deriving the posture of the machine element 200 .
[0072] First, the control device 100 calculates the starting point P s and via point P v The Euclidean distance d between s and via point P v With the end point P e The Euclidean distance d between v( S100 ) Next, the interpolation posture deriving unit 130 derives an interpolation posture by performing spherical linear correction on the quaternion representing the posture of the machine element 200 ( S110 ).
[0073] Spherical linear interpolation is done using two independent quaternions q A and q B The interpolation method can be performed by using the parameter t (where 0≤t≤1) as shown in Equation 1 below. Figure 5 As shown, the quaternion q A and q B Derive the interpolated quaternion q(t).
[0074] [Mathematical formula 1]
[0075]
[0076] (where θ = cos -1 (q A ·q B ))
[0077] Note that for quaternions, conjugate quaternions represent the same posture. Therefore, in Equation 1, in the case where the absolute value of θ exceeds π / 2, q is replaced by a conjugate quaternion with the opposite sign. A or B It is enough to do the calculation.
[0078] In addition, when the posture of the machine element 200 is represented by Euler angles instead of quaternions, the interpolation posture deriving unit 130 can calculate the posture by converting the Euler angles into a roll angle. Linear interpolation is performed on the individual components of the pitch angle θ and the yaw angle ψ to derive the interpolated attitude. For example, the roll angle The linear interpolation of can be performed by the following Equation 2 using a parameter t (where 0≤t≤1). Incidentally, the linear interpolation can be performed for the pitch angle θ and the yaw angle ψ in a similar manner.
[0079] [Mathematical formula 2]
[0080]
[0081] In this way, the interpolation posture deriving unit 130 can derive the position of the machine element 200 in the following manner by using the spherical linear correction of the quaternion. Figure 6 and 7 The via point P shown v Specifically, first, as Figure 6 As shown, the interpolation posture derivation unit 130 calculates the starting point P s and via point P v The Euclidean distance d betweens and via point P v With the end point P e The Euclidean distance d between v Next, as shown in the following equation 3, the calculated Euclidean distance d is calculated by s With d v The ratio of spherical linear correction parameters t is determined by i As a result, Figure 7 As shown, the interpolation posture deriving unit 130 can derive the posture of the machine element 200 at the point P by the following equation 4: v The interpolated pose at .
[0082] [Mathematical formula 3]
[0083]
[0084]
[0085] Next, the optimal posture derivation unit 140 derives a position that smoothly connects the starting point P s , via point P v and the end point P e The curve of the curve is derived through the point P v The tangent vector L (S120) at the starting point P is used as a smooth connection. s , via point P v and the end point P e The curve may be, for example, a Bezier curve, a spline curve, a B-spline curve, or a curve obtained by Lagrange interpolation.
[0086] like Figure 8 As shown, a quadratic Bezier curve as an example of a Bezier curve is a curve defined by three control points P0, P1, and P2. By using the positions of the three control points P0, P1, and P2 and a parameter s (where 0≤s≤1), a point P on the quadratic Bezier curve can be represented by the following equation 5.
[0087] [Formula 4]
[0088] p(s)=(1-s) 2 p0+2s(1-s)p1+s 2 p2 Equation 5
[0089] Therefore, the optimal posture derivation unit 140 can be configured to use P0 as the starting point P s , with P2 as the end point P e Appropriately control P1 to derive a smooth connection between the starting point P s , via point P v and the end point P eFor example, if P1 is determined so that when the starting point P s and via point P v The Euclidean distance d between s and via point P v With the end point P e The Euclidean distance d between v When the ratio s0 is replaced by the parameter s, the resulting point becomes the point passing through point P v As a result, the final derived via point P v The tangent vector L at is shown in the following equation 6.
[0090] [Formula 5]
[0091]
[0092] Next, the optimal posture deriving unit 140 derives the optimal posture of the machine element 200 so that the passing point P of the curve v The tangent vector L at the point is related to the machine element 200 relative to the point P v The approach directions are substantially consistent with each other (S130).
[0093] However, in this method, no determination is made as to the position of the machine element 200 relative to the point P. v Similar to the interpolation posture deriving unit 130, the machine element 200 can be s and the end point P e The posture of the machine element 200 in the axial direction is derived by linear interpolation between the postures at .
[0094] It should be noted that, as an example of the above modification, the optimal posture deriving section 140 may also use a s and via point P v The straight line vector and the straight line vector passing through point P v and the end point P e The bisector direction vector of the straight line vector, not the curve vector passing through point P v In this case, the optimal posture deriving unit 140 can derive the optimal posture of the machine element 200 so that the bisector direction vector and the machine element 200 are relative to the point P. v The approach directions of are substantially consistent with each other. For example, the bisector direction L2 can be expressed by the following equation 7.
[0095] [Mathematical formula 6]
[0096]
[0097] In addition, if Fig. 9As shown, the optimal posture deriving unit 140 can derive the optimal posture q by considering the mechanism of the machine element 200. o For example, the optimal posture derivation section 140 may prepare in advance a lookup table in which an optimal posture has been derived for each position that the machine element 200 can take. For example, the optimal posture stored in the lookup table may be a posture of the machine element 200 that maximizes maneuverability, a posture of the machine element 200 that minimizes the sum of the squares of the torque applied to each joint of the machine element 200, or a predetermined posture of the machine element 200 corresponding to a specific task.
[0098] Then, the posture derivation unit 150 determines a function for internal division between the interpolated posture and the optimal posture (S140). Thereafter, the posture derivation unit 150 calculates the interpolated posture based on the determined function f(p v ) performs an internal division between the interpolated pose and the optimal pose to derive the position at which the machine element 200 is actually controlled to move through the point P v The position has a posture (S150).
[0099] For example, the pose q can be interpolated based on the following equation 8 i With the best posture q o Based on the internal division of the above function with a ratio of u:1-u (where 0≤u≤1), the machine element 200 is derived at the point P v The actual posture q v . By the way, posture q v , interpolation pose q i and the best pose q o They are quaternions respectively.
[0100] [Formula 7]
[0101]
[0102] Here, at point P v With the starting point P s or end point P e When the machine element 200 is actually controlled to a posture q v is the interpolated pose q i (i.e. the machine element 200 is at the starting point P s or end point P e The internal division ratio u is preferably controlled to be 0. In addition, considering the continuity of the posture of the machine element 200, it is desirable that the internal division ratio u changes continuously. Therefore, the internal division ratio u between the interpolated posture and the optimal posture is obtained by passing through the point P v Position P v The function f(p v), and can be determined to satisfy the following conditions (1) to (3). Note that P s Indicates the starting point P s The position of P e Indicates the end point P e location.
[0103] (1)0≤f(p v )≤1
[0104] (2)f(p s )=f(p e )=0
[0105] (3)f(p v ) in P v is continuous in the domain
[0106] For example, at the starting point P s and via point P v The Euclidean distance d between s and via point P v With the end point P e The Euclidean distance d between v When the ratio r of is defined by the following equation 9, the function f(p v ) can be Figures 10A to 10C The function g(r) is shown in the graph. Fig. 10A The function g(r) shown in is a B-spline basis function, and its curve is Fig. 10B The function g(r) shown in is a quadratic function that draws a parabola, and its curve is Fig. 10C The function g(r) shown in is an optional function that satisfies the above-mentioned conditions (1) to (3).
[0107] [Mathematical formula 8]
[0108]
[0109] According to the above operation, the interpolation posture deriving unit 130, the optimal posture deriving unit 140 and the posture deriving unit 150 can derive the posture of the machine element 200 when passing through the point P. v As a result, the control device 100 can control the machine element 200 to move through the point P based on the derived posture. v The posture (S160) is at the position.
[0110] It should be noted that the above-mentioned gesture derivation method is merely an example, and the technology according to the present disclosure is not limited to the above-mentioned gesture derivation method.
[0111] For example, the optimal posture derivation section 140 may derive an optimal posture obtained by weighting and adding a plurality of optimal postures derived from each of a plurality of viewpoints as the optimal posture to be used by the posture derivation section 150. In addition, the posture derivation section 150 may dynamically control the internal division ratio between the interpolated posture and the optimal posture based on environmental information (e.g., obstacle information) around the robot device 10 or information on the manipulability or singularity of the machine element 200. In addition, in the case where there are constraints on the postures that the machine element 200 can take, the optimal posture derivation section 140 may control the optimal posture to satisfy the constraints, and the posture derivation section 150 may control the internal division ratio between the interpolated posture and the optimal posture to satisfy the constraints.
[0112] <4. Hardware Configuration Example>
[0113] Next, we will refer to Fig.11 An example of the hardware configuration of the control device 100 according to the present embodiment is described. Fig.11 : is a block diagram showing an example of the hardware configuration of the control device 100 according to the present embodiment.
[0114] like Fig.11 As shown, the control device 100 includes a CPU (central processing unit) 901, a ROM (read only memory) 902, a RAM (random access memory) 903, a host bus 905, a bridge 907, an external bus 906, an interface 908, an input device 911, an output device 912, a storage device 913, a drive 914, a connection port 915, and a communication device 916. The information processing device 100 may include a processing circuit such as an electric circuit, a DSP, or an ASIC instead of the CPU 901 or in combination with the CPU 901.
[0115] The CPU 901 functions as an arithmetic processing unit and a control device, and controls the overall operation in the device 100 according to various programs. In addition, the CPU 901 may be a microprocessor. The ROM 902 stores programs to be used by the CPU 901, calculation parameters, and the like. The RAM 903 temporarily stores programs to be used for execution of the CPU 901, parameters that are appropriately changed in execution, and the like. For example, the CPU 901 may perform the functions of the recognition section 110, the trajectory generation section 120, the interpolation posture derivation section 130, the optimal posture derivation section 140, the posture derivation section 150, and the control section 160.
[0116] The CPU 901, the ROM 902, and the RAM 903 are connected to each other through a host bus 905 including a CPU bus, etc. The host bus 905 is connected to an external bus 906 such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge 907. Incidentally, the host bus 905, the bridge 907, and the external bus 904b do not necessarily have to be separately configured, and these functions may be implemented in one bus.
[0117] The input device 911 is a device for a user to input information, for example, a mouse, a keyboard, a touch panel, a button, a microphone, a switch, or a lever. Alternatively, the input device 911 may be a remote control device using infrared or other radio waves, or may be an external connection device such as a mobile phone or a PDA that supports the operation of the control device 100. In addition, for example, the input device 911 may include an input control circuit that generates an input signal based on information input by the user using the above-mentioned input device.
[0118] The output device 912 is a device capable of visually or auditorily notifying the user of information. For example, the output device 912 may be a display device such as a CRT (cathode ray tube) display device, a liquid crystal display device, a plasma display device, an EL (electroluminescence) display device, a laser projector, an LED (light emitting diode) projector, or a lamp, and may be an audio output device such as a speaker or headphones.
[0119] For example, the output device 912 may output the results obtained by various processes of the control device 100. Specifically, the output device 912 may visually display the results obtained by various processes of the control device 100 in various formats such as text, images, tables, or graphs. Alternatively, the output device 912 may convert an audio signal such as voice data or acoustic data into an analog signal and audibly output the signal.
[0120] The storage device 913 is a device for data storage, which is formed as an example of a storage unit of the control device 100. For example, the storage device 913 can be implemented by a magnetic storage device (e.g., HDD (Hard Disk Drive)), a semiconductor storage device, an optical storage device, or a magneto-optical storage device. The storage device 913 may include a storage medium, a recording device that records data in the storage medium, a reading device that reads data from the storage medium, a deleting device that deletes data recorded in the storage medium, and the like. The storage device 913 can store programs and various data executed by the CPU 901, various data acquired from the outside, and the like.
[0121] The drive 914 is a reader / writer for a storage medium, and is built in the control device 100 or externally attached to the information processor 900. The drive 914 reads information recorded in a magnetic disk, an optical disk, a magneto-optical disk, or a storage medium that is installed or removable (such as a semiconductor memory), and outputs the information to the RAM 903. Alternatively, the drive 914 can also write information in a removable storage medium.
[0122] The connection port 915 is an interface connected to an external device. The connection port 915 is a connection port capable of exchanging data with an external device, and may be a USB (Universal Serial Bus), for example.
[0123] For example, the communication device 916 is an interface for connecting to the network 920 formed by a communication device or the like. For example, the communication device 916 may be for a wired or wireless LAN (Local Area Network), LTE (Long Term Evolution), Bluetooth (registered trademark), or WUSB (Wireless USB). Alternatively, the communication device 916 may be a router for optical communication, a router for ADSL (Asymmetric Digital Subscriber Line), a modem for various communications, or the like. The communication device 916 may send signals, etc. to the Internet or other communication devices, and receive signals, etc. from the Internet and other communication devices, according to a predetermined protocol such as TCP / IP.
[0124] Note that the network 920 is a wired or wireless transmission line for information. For example, the network 920 may include a public network such as the Internet, a telephone line network or a satellite communication network, various LANs (local area networks) including Ethernet (registered trademark), WAN (wide area network) and LAN, etc. In addition, the network 920 may include a dedicated line network such as an IP-VPN (Internet Protocol-Virtual Private Network).
[0125] Note that a computer program for hardware (eg, CPU, ROM, and RAM) may be generated and built into the control device 100 to exert the same functions as those of each configuration of the control device according to the above-described embodiment. In addition, a storage medium storing the computer program may be provided.
[0126] <5. Conclusion>
[0127] As described above, the control device 100 according to the present embodiment can not only s The end point P e and considering that the machine element 200 is passing through point P v The optimal posture of the machine element 200 at the point P is derived by simple interpolation. v The posture of the place.
[0128] According to this, the control device 100 can make the machine element 200 pass through the point P v The posture at the position is more suitable, thereby expanding the reachable range of the machine element 200.
[0129] In addition, the control device 100 can set the optimal posture to meet the requirements or constraints of the machine element 200, thereby controlling the machine element 200 to move through the point P according to the requirements or constraints. v The posture of the place.
[0130] Furthermore, since the control device 100 can derive from the position the position of the machine element 200 at the point P v Therefore, when generating a trajectory by teaching, it is sufficient to teach the position of the machine element 200 without teaching the posture of the machine element 200. Accordingly, the control device 100 can improve the efficiency of teaching.
[0131] In addition, the control device 100 can reduce the dimensionality of the search space from the 6-dimensional space of the position and posture of the machine element 200 to the 3-dimensional space of only the position of the machine element 200 when searching for a trajectory, which can make the search more efficient.
[0132] In the above, although the preferred embodiments of the present disclosure have been described in detail with reference to the accompanying drawings, the technical scope of the present disclosure is not limited to these examples. It is clear that anyone with ordinary knowledge in the technical field of the present disclosure can propose various changes or modifications within the scope of the technical ideas set forth in the claims, and therefore, it should be understood that these changes and modifications certainly belong to the technical scope of the present disclosure.
[0133] In addition, the effects described herein are only illustrative or exemplary, and not restrictive. That is, the technology according to the present disclosure may exhibit other effects that are obvious to those skilled in the art based on the description of this specification in addition to or instead of the above effects.
[0134] It is to be noted that the following configurations also belong to the technical scope of the present disclosure. (1)
[0136] A control device, comprising:
[0137] an interpolation posture deriving unit that derives an interpolation posture of a machine element moving in a trajectory from a starting point through a via point to an end point at the via point;
[0138] an optimal posture deriving unit that derives an optimal posture of the machine element at the passing point; and
[0139] A posture deriving unit derives a posture to which the machine element is controlled at the passing point based on the interpolated posture and the optimal posture. (2)
[0141] The control device according to (1) above, wherein:
[0142] The interpolation posture deriving section derives the interpolation posture based on the posture of the machine element at the starting point and the posture of the machine element at the end point. (3)
[0144] The control device according to (2) above, wherein:
[0145] The interpolation posture deriving section derives the interpolation posture by linear interpolation between the posture of the machine element at the starting point and the posture of the machine element at the end point. (4)
[0147] The control device according to (3) above, wherein:
[0148] The linear interpolation is performed based on a ratio of a distance from the start point to the via point to a distance from the end point to the via point. (5)
[0150] The control device according to any one of (1) to (4) above, wherein:
[0151] The optimal posture deriving unit derives the optimal posture based on mechanical characteristics of the machine element. (6)
[0153] The control device according to (5) above, wherein:
[0154] The optimal posture deriving section derives the optimal posture based on at least any one or more of: maneuverability of the machine element, torque applied to the machine element, and singularity of the machine element. (7)
[0156] The control device according to (5) above, wherein:
[0157] The optimal posture deriving unit derives an optimal posture in which a tangent vector of a continuous curve sequentially passing through the starting point, the via point, and the end point substantially coincides with an approach direction of the machine element to the via point. (8)
[0159] The control device according to (7) above, wherein:
[0160] The curve is a Bezier curve, a spline curve, a B-spline curve, or a curve obtained by Lagrange interpolation. (9)
[0162] A control device according to any one of (5) to (8) above, wherein:
[0163] The optimal posture deriving unit derives the optimal posture by weighting and superimposing a plurality of postures. (10)
[0165] The control device according to any one of (1) to (9) above, wherein:
[0166] The posture deriving unit derives a posture to which the machine element is controlled at the passing point by internal division between the interpolated posture and the optimal posture. (11)
[0168] The control device according to (10) above, wherein:
[0169] The ratio of the internal division is determined based on a function based on a ratio of a distance from the start point to the via point to a distance from the end point to the via point. (12)
[0171] The control device according to (11), wherein:
[0172] The function is a continuous function. (13)
[0174] The control device according to (11) or (12) above, wherein:
[0175] The function is a function in which, when the via point coincides with the start point or the end point, a posture to which the machine element is controlled at the via point is adopted as the interpolated posture. (14)
[0177] A control device according to any one of (11) to (13) above, wherein:
[0178] The function is changed based on environmental information or local information of the machine element. (15)
[0180] A method for controlling a computing device, the method comprising:
[0181] 15. A control method executed by a computing device, the control method comprising:
[0182] deriving an interpolated pose of a machine element moving in a trajectory from a starting point through a via point to an end point at the via point;
[0183] deriving an optimal pose of the machine element at the via point; and
[0184] Based on the interpolated posture and the optimal posture, a posture into which the machine element is controlled at the via point is derived. (16)
[0186] A program that causes a computer to:
[0187] an interpolation posture deriving unit that derives an interpolation posture of a machine element moving in a trajectory from a starting point through a via point to an end point at the via point;
[0188] an optimal posture deriving unit that derives an optimal posture of the machine element at the passing point; and
[0189] A posture deriving unit derives a posture to which the machine element is controlled at the passing point based on the interpolated posture and the optimal posture.
[0190] [reference numerals list]
[0191] 10: Robotic Device
[0192] 100: Control device
[0193] 110: Identification Department
[0194] 120: Trajectory Generation Department
[0195] 130: Interpolation pose export section
[0196] 140: Optimal Posture Derivation Section
[0197] 150: Pose export section
[0198] 160: Control Department
[0199] 200: Machine components
[0200] 210: Sensor unit
[0201] 220: Drive unit
Claims
1. A control device, comprising: An interpolation posture derivation unit that derives the motion in a trajectory from the starting point through the via point to the end point An optimal posture derivation unit, which derives the optimal posture based on at least one or more of the following: A posture deriving unit, which derives the interpolated posture and the optimal posture according to the interpolated posture.
2. The control device according to claim 1, wherein: The interpolation posture deriving unit is based on the posture of the machine element at the starting point and the 3. The control device according to claim 2, wherein: The interpolation posture deriving unit calculates the interpolation posture by comparing the posture of the machine element at the starting point with the posture of the machine element at the starting point.
4. The control device according to claim 3, wherein: Based on the distance from the starting point to the via point and the distance from the end point to the via point 5. The control device according to claim 1, wherein: The curve is a Bezier curve, a spline curve, a B-spline curve or a Lagrange interpolation curve.
6. The control device according to claim 1, wherein: The optimal posture deriving unit derives the optimal posture by weighting and superimposing a plurality of postures.
7. The control device according to claim 1, wherein: The posture derivation unit determines the internal division between the interpolation posture and the optimal posture.
8. The control device according to claim 7, wherein: The ratio of the internal division is determined based on the following function: the function is based on the ratio from the starting point to 9. The control device according to claim 8, wherein: The function is a continuous function.
10. The control device according to claim 8, wherein: The function is the following function: in this function, the via point and the starting point or the 11. The control device according to claim 8, wherein: The function is changed based on environmental information or local information of the machine element.
12. A control method executed by a computing device, the control method comprising: The machine element moving in the trajectory from the starting point through the via point to the end point is derived in the The machine element is derived based on at least any one or more of the following: Based on the interpolated posture and the optimal posture, the machine element at the via point is derived.
13. A computer readable medium having a program stored thereon, the program causing a computer to use An interpolation posture derivation unit that derives the motion in a trajectory from the starting point through the via point to the end point An optimal posture derivation unit, which derives the optimal posture based on at least one or more of the following: A posture deriving unit, which derives the interpolated posture and the optimal posture according to the interpolated posture.
