Control device and control method

By dividing the robot arm trajectory into sample intervals and updating motion coefficients, the control device efficiently reduces processing time and computational load while maintaining constraint satisfaction.

JP2024148887AInactive Publication Date: 2024-10-18AZBIL CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023062442
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing control methods for robot arms require extensive calculations to determine joint angles at multiple passing points, increasing processing time and computational load.

Method used

A control device that divides the trajectory into sample intervals expressed by polynomials, initializes and updates motion coefficients to satisfy constraints, and acquires joint angles based on these coefficients to reduce processing time and calculations.

Benefits of technology

The method reduces computational load while ensuring constraint satisfaction, allowing for faster robot arm movement without increasing the number of passing points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024148887000001_ABST
    Figure 2024148887000001_ABST
Patent Text Reader

Abstract

To satisfy constraints, shorten a drive time and reduce a calculation amount required for processing.SOLUTION: A control device includes: a section division unit 102 that divides a trajectory into sample sections which are continuous sections between passing points and in which an observation position being a relative position on the trajectory is expressed by a polynomial equation about time; a section speed initialization unit 104 which initializes an observation motion coefficient being a coefficient of the polynomial equation of the observation position for each sample section divided by the section division unit 102; a section speed update unit 105 which updates the observation motion coefficient initialized by the section speed initialization unit 104 such that the time required to pass through each sample section while satisfying a constraint condition for each sample section divided by the section division unit 102; and a time-series angle acquisition unit 106 which acquires the joint angle of each joint of a robot arm for each control time on the basis of the observation motion coefficient updated by the section speed update unit 105.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a control device and a control method for controlling a robot arm. [Background technology]

[0002] In the industrial field, a robot arm having multiple joints moves from a current position to a target position according to instructions from a program, etc. In this case, there is a method of calculating in advance the joint angle command value at each control time of each joint from the current position to the target position, and driving each joint according to the command value. There is a demand for driving the robot arm at high speed to shorten the driving time.

[0003] In order to meet such demands, for example, Patent Document 1 discloses a control method for shortening the drive time of a robot arm. In the control method disclosed in Patent Document 1, many passing points are precisely set from the start point to the end point of the trajectory, and the joint angular velocity at each passing point from the start point is made as fast as possible without violating various constraints imposed on the velocity or acceleration. As a result, the control method disclosed in Patent Document 1 can shorten the drive time from the start point to the end point of the trajectory. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2008-194760 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, the control method disclosed in Patent Document 1 has a problem in that the overall amount of calculation required for the process is large because the process involves determining the speed for each of the many passing points on the trajectory.

[0006] The present disclosure has been made to solve the above-mentioned problems, and aims to provide a control device that is capable of satisfying constraints, shortening drive time, and reducing the amount of calculations required for processing. [Means for solving the problem]

[0007] The control device according to the present disclosure is characterized in that it includes an interval division unit that divides a trajectory into sample intervals, which are successive intervals between passing points, and which are intervals in which an observed position, which is a relative position on the trajectory, is expressed by a polynomial with respect to time; an interval speed initialization unit that initializes an observed motion coefficient, which is a coefficient of the polynomial of the observed position, for each sample interval divided by the interval division unit; an interval speed update unit that updates the observed motion coefficient initialized by the interval speed initialization unit for each sample interval divided by the interval division unit so that the time required to pass through the sample interval is short while satisfying constraints; and a time series angle acquisition unit that acquires the joint angles of each joint of the robot arm for each control time based on the observed motion coefficient updated by the interval speed update unit. Effect of the Invention

[0008] According to the present disclosure, since it is configured as described above, it is possible to satisfy the constraints and shorten the drive time, and also to reduce the amount of calculation required for processing. [Brief description of the drawings]

[0009] [Figure 1] FIG. 2 is a diagram illustrating a configuration example of a control device according to the first embodiment. [Diagram 2] 5 is a flowchart showing an example of the operation of the control device according to the first embodiment. [Diagram 3] 10 is a flowchart showing an operation example of a passing point information acquisition unit in the first embodiment. [Figure 4] 5 is a flowchart showing an operation example of a section information acquisition unit in the first embodiment. [Diagram 5] 13 is a flowchart showing an operation example of a section rate initialization unit in the first embodiment. [Figure 6] 4 is a diagram showing an example of an overall S-curve used by the section speed initialization unit in the first embodiment. FIG. [Figure 7] 5 is a flowchart showing an operation example of a section speed update unit in the first embodiment. [Figure 8] 4A to 4C are diagrams showing an example of an S-curve before and after updating by a section speed updating unit in the first embodiment. [Figure 9] 5 is a flowchart showing an operation example of a time-series angle acquisition unit in the first embodiment. [Figure 10] 5 is a flowchart showing an example of the operation of a joint control unit in the first embodiment. [Figure 11] 13 is a flowchart showing an example of the operation of the section dividing unit in the second embodiment. [Figure 12] 13 is a flowchart showing an example of the operation of a section dividing unit in the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the embodiments will be described in detail with reference to the drawings. Embodiment 1 FIG. 1 is a diagram showing an example of the configuration of a control device 1 according to the first embodiment. As shown in FIG. 1, the control device 1 includes a passing point information acquisition unit 101, a section division unit 102, a section information acquisition unit 103, a section speed initialization unit 104, a section speed update unit 105, a time series angle acquisition unit 106, and a joint control unit 107.

[0011] The control device 1 is realized by a processing circuit such as a system LSI (Large Scale Integration), or a CPU (Central Processing Unit) that executes a program stored in a memory or the like.

[0012] The pass point information acquisition unit 101 acquires a plurality of pass points on a trajectory and pass point information for each of the pass points. The pass points include a start point and an end point on the trajectory. The pass point information also includes an observation position, a hand position and orientation, a joint angle, and a group of constraint ranges related to the feature quantities to be monitored. The observation position represents the relative position of the pass point on the trajectory. The hand position and orientation are the position and orientation of the tip, which is the hand of the robot arm. The joint angles are the joint angles of each joint of the robot arm.

[0013] 1 illustrates a case where the passing point information acquisition unit 101 is provided inside the control device 1. However, the present invention is not limited to this, and the passing point information acquisition unit 101 may be provided outside the control device 1.

[0014] The interval division unit 102 divides the trajectory into a plurality of sample intervals based on the results acquired by the passing point information acquisition unit 101. A sample interval is a continuous interval from one passing point to another, and is an interval in which the observation position is expressed by a polynomial with respect to time.

[0015] Based on the results obtained by the passing point information obtaining unit 101, the interval information obtaining unit 103 approximates the feature to be monitored or the integrated value of the feature with a polynomial of the observation position for each sample interval divided by the interval dividing unit 102, and obtains the coefficients of the polynomial and a group of constraint ranges related to the feature. Hereinafter, the coefficients of the polynomial may be referred to as feature coefficients, and in particular, the coefficients of the polynomial approximating the joint angles may be referred to as joint angle coefficients.

[0016] The interval speed initialization unit 104 initializes the observed motion coefficients for each sample interval divided by the interval division unit 102, based on the results acquired by the passing point information acquisition unit 101 and the results acquired by the interval information acquisition unit 103. The observed motion coefficients are the coefficients of a polynomial at the observation position.

[0017] Based on the results acquired by the passing point information acquisition unit 101 and the results acquired by the section information acquisition unit 103, the section speed update unit 105 updates the observed motion coefficients initialized by the section speed initialization unit 104 for each sample section divided by the section division unit 102 so that the time required to pass through the sample section is shortened while satisfying the constraint conditions. That is, the section speed update unit 105 calculates the output range of the feature for each sample section, and updates the observed motion coefficients initialized by the section speed initialization unit 104 so that the time required to pass through the sample section is shortened while the output range does not violate the constraint range.

[0018] The time-series angle acquisition unit 106 acquires the joint angles of the joints of the robot arm for each control time based on the observed motion coefficients updated by the section speed update unit 105. Then, the time-series angle acquisition unit 106 outputs information indicating the acquired joint angles to the joint control unit 107 as a joint angle command value.

[0019] The joint control unit 107 controls the joint angles of the joints of the robot arm based on the joint angle command values ​​for each control time obtained by the time-series angle acquisition unit 106. In this way, the control device 1 can move the robot arm from the start point to the end point.

[0020] 1 shows a case where the joint control unit 107 is provided inside the control device 1. However, the present invention is not limited to this, and the joint control unit 107 may be provided outside the control device 1.

[0021] Next, an example of the operation of the control device 1 according to the first embodiment shown in FIG. 1 will be described with reference to FIG.

[0022] In an operation example of the control device 1 according to the first embodiment shown in Fig. 1, first, the pass point information acquisition unit 101 acquires a plurality of pass points on a trajectory and pass point information for each of the pass points (step ST101), as shown in Fig. 2. The pass point information includes an observation position, a hand position and posture, a joint angle, and a group of constraint ranges related to feature quantities to be monitored.

[0023] Next, the section dividing unit 102 divides the trajectory into a plurality of sample sections based on the results obtained by the passing point information obtaining unit 101 (step ST102).

[0024] Next, based on the results obtained by the passing point information obtaining unit 101, the interval information obtaining unit 103 approximates the feature to be monitored or the integrated value of the feature for each sample interval divided by the interval dividing unit 102 using a polynomial at the observation position, and obtains the coefficients of the polynomial and a group of constraint ranges related to the feature (step ST103).

[0025] Next, the interval speed initialization unit 104 initializes the observed motion coefficient for each sample interval divided by the interval division unit 102, based on the results obtained by the passing point information acquisition unit 101 and the results obtained by the interval information acquisition unit 103 (step ST104).

[0026] Next, the section speed update unit 105 updates the observed motion coefficient initialized by the section speed initialization unit 104 for each sample section divided by the section division unit 102 based on the results acquired by the passing point information acquisition unit 101 and the section information acquisition unit 103 so that the time required to pass through the sample section is shortened while satisfying the constraint condition (step ST105). That is, the section speed update unit 105 calculates the output range of the feature for each sample section, and updates the observed motion coefficient initialized by the section speed initialization unit 104 so that the time required to pass through the sample section is shortened while the output range does not violate the constraint range.

[0027] Next, the time-series angle acquisition unit 106 acquires the joint angles of the joints of the robot arm for each control time based on the observed motion coefficients updated by the section speed update unit 105 (step ST106). Then, the time-series angle acquisition unit 106 outputs information indicating the acquired joint angles to the joint control unit 107 as joint angle command values.

[0028] Next, the joint control unit 107 controls the joint angles of the joints of the robot arm based on the joint angle command values ​​at each control time obtained by the time-series angle acquisition unit 106 (step ST107). In this way, the control device 1 can move the robot arm from the start point to the end point.

[0029] Next, an example of the operation of the passing point information acquisition unit 101 in the first embodiment shown in FIG. 1 will be described with reference to FIG. Here, the trajectory is generally given as the trajectory of the position and orientation of the tip of a robot arm. There are many types of trajectories. Examples of trajectories include linearly interpolated trajectories, joint angle interpolated trajectories, and arbitrary trajectories. A linearly interpolated trajectory is a trajectory generated from a hand position and posture of a given start point and end point to draw a straight line from the start point to the end point in the robot coordinate system. A joint angle interpolated trajectory is a trajectory generated from a joint angle of a given start point and end point to change each joint at an equal rate from the start point to the end point. An arbitrary trajectory is a trajectory in which the hand position and posture or the joint angle in the trajectory from the start point to the end point are given in detail. An example of the operation of the passing point information acquisition unit 101 in the case where the trajectory is a linearly interpolated trajectory will be described below.

[0030] In an example of operation of the pass point information acquisition unit 101 in the embodiment 1 shown in FIG. 1, as shown in FIG. 3, first, the pass point information acquisition unit 101 determines the number of pass points N to divide the trajectory, and sets the pass points on the trajectory (step ST1011). The number of passing points N may be a fixed value, or may be calculated as a variable proportional to the distance between the start point and the end point of the trajectory. Note that the passing points here include the start point and the end point.

[0031] Next, the passing point information acquiring unit 101 sets the observation positions at all passing points (step ST1012). The observation position is the relative position of a passing point on the trajectory. In the control device 1 according to the first embodiment, when the robot arm moves on the trajectory, the observation position also moves in sync. The observation position at the nth (n: 1 to N) passing point is defined, for example, as in the following formula (1). In this definition, the observation position is 0 at the start point and 1 at the end point, indicating a relative position on the trajectory. Note that the observation position needs to be defined so that it monotonically increases as the trajectory moves from the start point to the end point. TIFF2024148887000002.tif6166

[0032] Moreover, the first derivative of the observed position with respect to time is defined as the observed velocity, which is the velocity of the object to be controlled.

[0033] Next, the pass point information acquisition unit 101 acquires the hand positions and orientations at all pass points (step ST1013). For example, when the trajectory is a linearly interpolated trajectory, if the passing points are defined so that the amount of change in position and posture between the passing points is equal, the hand position can be found by linear interpolation from the hand positions of the start point and the end point, and the hand posture can be found by spherical linear interpolation from the hand postures of the start point and the end point.

[0034] Next, the pass point information acquiring unit 101 acquires the joint angles of all the joints at all the pass points (step ST1014). For example, if a robot arm has P joints, the joint angle [θ 1(n) ,θ 2(n) , ,θ p(n) ] is the hand position and orientation at the nth passing point [x (n) , y (n) , z (n) , Rx (n) ,Ry (n) ,Rz (n) ] can be obtained using inverse kinematics.

[0035] Next, the pass point information acquiring unit 101 acquires the restriction range groups at all pass points (step ST1015). The constraint range is monitored to determine whether a feature to be calculated subsequently falls within the constraint range. The constraint range is the range in which the feature value to be monitored can take a value, i.e., a range, and is generally a range from a lower limit value to an upper limit value.

[0036] In the control device 1 according to the first embodiment, the feature quantities to be monitored are the joint angular velocity and the joint angular acceleration. In this case, the constraint feature set at the nth passing point is the angular velocity range [ω 1lwr(n) ,ω 1upr(n) , ,ω plwr(n) ,ω pupr(n) ], and the angular acceleration range [α 1lwr(n) ,α 1upr(n) ,...,α plwr(n) ,α pupr(n) These values ​​are calculated from the specifications or performance of the motor or reducer that drives the robot arm. For example, the angular velocity range is determined by the maximum rotational speed of the motor, and the angular acceleration range is determined by the maximum torque of the motor or reducer.

[0037] The feature quantities to be monitored are not limited to the angular velocity and angular acceleration. That is, the feature quantities to be monitored may be other physical quantities such as the hand velocity or acceleration, the rate of change in the hand posture, or torque.

[0038] The above-described operation example of the passing point information acquisition unit 101 is an operation example in the case where the trajectory is a linearly interpolated trajectory. On the other hand, when the trajectory is a joint angle interpolation trajectory or an arbitrary trajectory, the operation example of the passing point information acquisition unit 101 is partially different from the operation example shown above.

[0039] When the trajectory is a joint angle interpolated trajectory, the pass-point information acquisition unit 101 acquires the joint angles at all pass-points, and then acquires the hand positions and orientations at all pass-points using forward kinematics. That is, in the operation example of the pass point information acquisition unit 101 in the case of the joint angle interpolated trajectory, the order of steps ST1013 and ST1014 is reversed from the operation example of the pass point information acquisition unit 101 in the case of the linear interpolated trajectory shown in FIG.

[0040] When the trajectory is an arbitrary trajectory, the input may be given in various formats, and the operation example of the passing point information acquisition unit 101 changes accordingly. For example, when the hand position and posture at each passing point are given as input, steps ST1011, ST1012, and ST1013 in the operation example shown in FIG. 3 become unnecessary, and only the processes in steps ST1014 and ST1015 need to be executed.

[0041] As described above, the operation example of the pass point information acquisition unit 101 may differ depending on the type of trajectory, but the output obtained as the processing result of the pass point information acquisition unit 101 is of the same quality regardless of the type of trajectory.

[0042] Next, an example of the operation of section division section 102 in the first embodiment shown in FIG. 1 will be described. A sample interval is a continuous interval from one passing point to another, and the observation positions within that interval are expressed by a polynomial with respect to a certain time. Each passing point belongs to one sample interval. Note that a passing point on the boundary between sample intervals belongs to both of the two adjacent sample intervals. The observation positions of each sample interval are expressed as a polynomial in time, so by connecting these together, the observation positions from the start point to the end point can be expressed as a piecewise polynomial.

[0043] The interval division unit 102 selects, from among all passing points, passing points that correspond to the boundaries of the sample intervals. Hereinafter, the selected passing points are defined as sample points because they are used to generate sample intervals. As a result, the interval division unit 102 generates a plurality of sample intervals with the selected sample points as both ends of the interval.

[0044] In the control device 1 according to the first embodiment, the interval division unit 102 selects every L passing points, sets (M+1) sampling points, and generates M sampling intervals (N=M×L+1).

[0045] In each sample interval, for example, the time change of the observation position is expressed by a third-order polynomial. Specifically, the observation position s when the robot arm moves through the sample section m (m) is expressed by the following formula (2). In formula (2), t indicates the time from when the robot arm enters the sample section m, and [s (m) ,v (m) ,a (m) ,j (m) ] indicates the observed motion coefficient in the sample interval m. The observed motion coefficient is a coefficient for expressing the time change of the observed position as a third-order polynomial of time. s (m) indicates the observation position at the end of the sample interval m, and v (m) denotes the observed velocity at the end of the sample interval m, and a (m) is the observed acceleration at the end of the sample interval m, i.e., the time derivative of the observed velocity, and j (m) denotes the observed jerk at the end of sample interval m, i.e., the time derivative of the observed acceleration. It should be noted that this formula is not an approximation, and henceforth, the observation position will be determined by this formula. TIFF2024148887000003.tif7166

[0046] As in the above example, a third-order polynomial is suitable for expressing the time change of the observed position, because a third-order polynomial makes the angular acceleration, which is the second derivative, continuous in the joint angle command value finally obtained at each control time for each joint, allowing the robot arm to be driven smoothly. On the other hand, if the polynomial expressing the time change of the observation position is made linear or quadratic, the above angular acceleration will not be continuous, and the movement of the robot arm will be poor when driven. Furthermore, if the polynomial expressing the time change of the observation position is of the fourth degree or higher, the amount of calculation required for processing increases, and the effect of the control device 1 according to the first embodiment decreases. Therefore, the polynomial that represents the time change of the observation position should be of order 3, which is the lowest order possible, so that the angular acceleration is continuous.

[0047] Next, an example of the operation of section information acquisition unit 103 in the first embodiment shown in FIG. 1 will be described with reference to FIG.

[0048] In an example of the operation of the interval information acquisition unit 103 in the first embodiment shown in FIG. 1, first, as shown in FIG. 4, the interval information acquisition unit 103 approximates the feature to be monitored or the integrated value of the feature in all sample intervals with a polynomial at the observation position, and acquires the coefficients of the polynomial (step ST1031). In the control device 1 according to the first embodiment, the angular velocity and angular acceleration are monitored. Therefore, the section information acquisition unit 103 performs polynomial approximation on the joint angle, which is the integral value of the angular velocity and angular acceleration, and acquires the joint angle coefficients, which are the coefficients of the polynomial, for all the joints. Note that, just as the joint angle is the double integral of the angular acceleration, the value obtained by integrating the feature amount in this case includes a value obtained by integrating the feature amount multiple times. Moreover, in the control device 1 according to the first embodiment, a two-dimensional polynomial is used as the polynomial of the observation position.

[0049] The joint angle θ of joint p at observation position s in sample section m p (m) (s) is the joint angle coefficient [C p0 (m) ,C p1 (m) ,C p2 (m) ] is used to calculate the joint angle coefficient using the following formula (3). The joint angle coefficient is calculated by the observation position s (n) and joint angle θ p(n) It is possible to obtain the value by approximating the combination of the above using, for example, the least squares method. TIFF2024148887000004.tif8166

[0050] Next, the interval information acquiring unit 103 acquires a group of constraint ranges for all sample intervals (step ST1032). In the control device 1 according to the first embodiment, the angular velocity and angular acceleration are monitored. Therefore, the section information acquisition unit 103 acquires a group of constraint ranges for the angular velocity and angular acceleration. Then, the section information acquisition unit 103 sets the group of constraint ranges in the sample section so as to satisfy the constraint ranges at all passing points included in the sample section. In other words, the section information acquisition unit 103 sets the group of constraint ranges in the sample section m so as to satisfy the constraint ranges [ω pmin (m) ,ω pmax (m) ] is the constraint range [ω pmin(n) ,ω pmax(n) ] are set so that all of the following are satisfied. That is, ω pmin (m) is all ω pmin(n) is larger than ω pmax (m) is all ω pmax(n) Set it smaller than

[0051] In the control device 1 according to the first embodiment, the angular velocity and angular acceleration are monitored, and the joint angle is approximated by a polynomial of the observed position. However, the same applies to the cases of other feature amounts. For example, if the control device 1 according to the first embodiment monitors the speed or acceleration of the hand, the hand position may be approximated by a polynomial based on the observed position. Furthermore, if the control device 1 according to the first embodiment monitors the speed at which the posture of the hand changes, the accumulated amount of change in the posture of the hand can be approximated by a polynomial based on the observed position. Furthermore, if the control device 1 according to embodiment 1 monitors the torque acting on a joint, the torque can be approximated by a polynomial based on the observation position, or the angular acceleration obtained from the polynomial approximating the joint angle can be multiplied by the mass matrix in the observation section to obtain an approximate value of the torque.

[0052] Next, an example of the operation of section rate initialization section 104 in the first embodiment shown in FIG. 1 will be described with reference to FIG.

[0053] The purpose of the interval speed initialization unit 104 is to obtain observed motion coefficients that satisfy the constraint range for all feature quantities in each sample interval.

[0054] In an example of the operation of section speed initialization unit 104 in the first embodiment shown in FIG. 1, as shown in FIG. 5, first, section speed initialization unit 104 prepares one overall S-curve for the entire trajectory (step ST1041).

[0055] The overall S-curve is a curve that indicates acceleration and deceleration in the movement of a robot arm, for example, as shown in Figure 6. The overall S-curve shown in Figure 6 is divided into seven sections, with the first to third sections being the S-curve acceleration section, the fourth section being the constant speed section, and the fifth to seventh sections being the S-curve deceleration section. The S-curve acceleration section and the S-curve deceleration section are each divided into three sections. That is, the first section is a section where a>0 and j>0, the second section is a section where a>0 and j=0, the third section is a section where a>0 and j<0, the fourth section is a section where a=0 and j=0, the fifth section is a section where a<0 and j<0, the sixth section is a section where a<0 and j=0, and the seventh section is a section where a<0 and j>0.

[0056] Hereinafter, each of the first to seventh intervals is defined as a global interval. Like the sample interval, each global interval has its own observed motion coefficient. Here, when setting the range of each global interval of the overall S-curve, the boundary of each global interval is set to coincide with the sample interval, and each sample interval is set so that two or more global intervals are not included. Of the global sections shown in FIG. 6, the second section, the fourth section, and the sixth section can be omitted.

[0057] Next, the section speed initialization unit 104 copies the observed motion coefficients in all sample sections from the observed motion coefficients of the global section of the entire S-curve in which the sample sections are included, and calculates [s(m) ,v (m) ,a (m) ,j (m) ] is obtained (step ST1042). (m) Replace with the minimum value of the observed position in the sample interval.

[0058] Next, the interval speed initialization unit 104 acquires the output range within the sample interval of the feature quantity to be monitored in all sample intervals (step ST1043). Here, the output range is the range of values ​​that the feature can take within the sample interval, i.e., the range or range of values. This output range can be obtained by obtaining the minimum and maximum values ​​within the sample interval of the feature. In the control device 1 according to the first embodiment, the angular velocity and angular acceleration are monitored. Therefore, the section velocity initialization unit 104 obtains an output range from the observed motion coefficients and the joint angle coefficients.

[0059] Next, the section speed initialization unit 104 compares the output range of the feature to be monitored in the sample section with the constraint range in all sample sections, and determines whether or not a constraint violation occurs (steps ST1044 and ST1045). Note that, when there are multiple feature to be monitored, the section speed initialization unit 104 determines whether or not a constraint violation occurs for each of the feature.

[0060] In this step ST1045, if the section rate initialization unit 104 determines that a constraint violation has occurred, it updates the observed motion coefficients in all sample sections (step ST1046). For example, as shown in the following formula (4), the section rate initialization unit 104 updates the coefficients other than the zeroth order by halving them. After that, the sequence returns to step ST1043. TIFF2024148887000005.tif23166

[0061] On the other hand, if it is determined in step ST1045 that no constraint violation has occurred, the section speed initialization section 104 ends the process.

[0062] Through the above process, observed motion coefficients that satisfy all constraint conditions are acquired in each sample interval, and the process of the interval speed initialization unit 104 ends.

[0063] Next, an example of the operation of section speed updating section 105 in the first embodiment shown in FIG. 1 will be described with reference to FIG.

[0064] Specifically, the section speed update unit 105 updates the observed speed at the sample points that separate the sample sections, then updates the observed motion coefficient in the four sample sections centered on the boundaries, calculates the feature to be monitored, judges whether the calculated feature has a constraint violation, and if any feature has a constraint violation, updates the observed speed at the sample points and repeats the above-mentioned process until the constraint violation is no longer present.The section speed update unit 105 performs the above process at all sample points, thereby obtaining a result with a shorter driving time over the entire trajectory.

[0065] Here, the start position of sample interval m is defined as sample point m, and the observed velocity and observed acceleration of sample point m are updated. The range affected by this update is the four sample intervals from sample interval m-2 to sample interval m+1, and the observation position is s (m-2) ~s (m+2) It becomes. 8, even if the speed and acceleration in sample interval m are updated, the speed and acceleration in sample intervals m-2 and m+2 are not updated, but the speed and acceleration in sample intervals m-1 and m+1 are updated. In FIG. 8, the dashed curve indicates the S-shaped curve before the update by the section speed update unit 105, and the solid curve indicates the S-shaped curve after the update by the section speed update unit 105.

[0066] Then, the section speed update unit 105 repeats the processes of steps ST1052 to ST1057 shown below for all sample points until no constraint violation occurs.

[0067] In an example of the operation of the section speed updating section 105 in the first embodiment, as shown in FIG. 7, first, the section speed updating section 105 sets the first sample section m as the update target (step ST1051).

[0068] Next, the section speed update unit 105 updates the observed speed of the sample point m in the sample section m to be updated (step ST1052). Here, it is assumed that the section speed update unit 105 updates the observed speed and observed acceleration of the sample point m. At this time, the section speed update unit 105 stores the observed speed before updating, and then sets it to the maximum value at both ends of the target range, as shown in the following equations (5) to (7). In addition, the section speed update unit 105 sets the observed acceleration to the acceleration when uniformly accelerated motion is performed in the target range. TIFF2024148887000006.tif29166

[0069] Next, the section speed update unit 105 acquires the observed motion coefficient in the section from the sample section m-2 to the sample section m+1 (step ST1053). In this case, first, the section speed update unit 105 acquires the observed motion coefficients of the sample section m and the sample section m+1. In order to perform a smooth uniform jerk from sample point m to sample point m+2, it is necessary to calculate the observed motion coefficients that satisfy the following equations (8) to (13). Here, t thru (m) is the driving time of the sample section m, which represents the time required for the robot arm to drive the sample section m. Among the variables that appear in these six equations, [s (m) ,s (m+1) ,s (m+2) ],[v (m) ,v (m+2) ],[a (m) ,a (m+2) ] are known. Therefore, the section speed update unit 105 (m+1) ],[a (m+1) ],[j (m) ,j (m+1) ],[t thru (m) ,tthru (m+1) ] are calculated from these six equations to obtain the observed motion coefficients for sample interval m and sample interval m+1. TIFF2024148887000007.tif63166

[0070] Furthermore, the section speed update unit 105 calculates the observed motion coefficients for the sample section m-2 and the sample section m-1. This is calculated by the same process as above. In order to perform a smooth uniform jerk from the sample point m-2 to the sample point m, it is necessary to calculate the observed motion coefficients that satisfy the following equations (14) to (19). Of the variables that appear in these six equations, [s (m-2) ,s (m-1) ,s (m) ],[v (m-2) ,v (m) ],[a (m-2) ,a (m) ] are known. Therefore, the section speed update unit 105 (m-1) ],[a (m-1) ],[j (m-2) ,j (m-1) ],[t thru (m-2) ,t thru (m-1) ] are calculated from these six equations to obtain the observed motion coefficients for sample interval (m-2) and sample interval (m-1). TIFF2024148887000008.tif63166

[0071] Next, the section speed update unit 105 acquires the output range of the feature quantity to be monitored within the sample section from sample section m-2 to sample section m+1 from the observed motion coefficients and joint angle coefficients (step ST1054). Here, the joint angle θ of joint p at time t in sample section m p (m)(t) is calculated by the following formula (20). The coefficients in formula (20) are obtained by substituting the observed position represented by the observed movement coefficient shown in formula (2) into the observed position of the joint angle coefficient shown in formula (3). Note that time t indicates the time from entering the sample section m. TIFF2024148887000009.tif8166

[0072] And the angular velocity ω of joint p at time t in sample interval m p (m) (t) is the joint angle θ p (m) It is calculated by the first derivative of (t) at time t using the following equation (21). TIFF2024148887000010.tif9166

[0073] Here, the angular velocity ω p (m) The time when (t) takes an extreme value is calculated by solving the fourth-order equation given by (22) below, which is obtained by first-order differentiation of (21) at time t. Therefore, the section velocity update unit 105 calculates the angular velocity for each time using Equation (21) from the times passing both ends of the sample section m and the times within the range of the times passing both ends among the times at which the extreme values ​​are taken, and calculates the output range [ω pmin (m) ,ω pmax (m) ] to obtain. Among the times at which extreme values ​​are taken, those before the time at which the starting point of the sampling interval m is passed and those after the time at which the end point is passed are irrelevant and may be ignored. TIFF2024148887000011.tif9166

[0074] In addition, the angular acceleration α of joint p at time t in sample interval m p (m) (t) is the angular velocity ω p (m) It is calculated by the first derivative of (t) at time t using the following equation (23). TIFF2024148887000012.tif9166

[0075] Here, the time when the angular acceleration α p (m) (t) takes an extreme value is calculated by solving the cubic equation of Equation (24) obtained by taking the first-order derivative of Equation (23) at time t. Therefore, the section velocity update unit 105 calculates the angular acceleration for each time from the time when passing through both ends of the standard section m and the time within the range of the time when passing through both ends among the times when taking extreme values, using Equation (23), and obtains the output range [α pmin (m) , α pmax (m) of the angular acceleration of joint p in the standard section m. TIFF2024148887000013.tif9166

[0076] Next, the section velocity update unit 105 compares the output range and the constraint range of the feature amount in the section from the standard section m - 2 to the standard section m + 1, and determines whether a constraint violation has occurred (steps ST1055, ST1056). When there are a plurality of feature amounts to be monitored, the section velocity update unit 105 determines whether a constraint violation has occurred for each of the feature amounts.

[0077] In this step ST1056, when the section velocity update unit 105 determines that a constraint violation has occurred, it updates the observed velocity at the sample point m using the following Equation (25) so as to approach the value before update (step ST1057). Note that in order to approach the value before update of the observed velocity, the range that the update rate μ in Equation (25) can take is [0 < u < 1]. After that, the sequence returns to step ST1053. TIFF2024148887000014.tif9166

[0078] On the other hand, if it is determined in step ST1056 that no constraint violation has occurred, the section speed updating unit 105 sets the next sample section m as the update target (step ST1058).

[0079] Next, the section speed update section 105 determines whether the update has been completed for all sample sections (step ST1059). In step ST1059, if the section speed updating section 105 determines that updating has not been completed for all sample sections, the process returns to step ST1052. On the other hand, if it is determined in step ST1059 that the updating has been completed for all the sample intervals, the section speed updating section 105 ends the process.

[0080] Here, the degree of the polynomial that approximates the feature value to be monitored or the integrated value of the feature value in the interval information acquisition unit 103 will be mentioned. In step ST1054, the section speed update unit 105 finds the time when the feature value becomes an extreme value by solving an equation obtained by differentiating an equation obtained by substituting a polynomial in which the observation position is expressed by time into an approximate polynomial in which the observation position is expressed, but this equation is a high-order equation. If this equation becomes quintic or higher, the amount of calculation required to find the time when the feature value becomes an extreme value increases, and the effect of the control device 1 according to the first embodiment becomes smaller. Therefore, the degree of the approximation polynomial in the interval information acquisition unit 103 should be selected so that the equations (Equations (22) and (24) in the first embodiment) for finding the times of extreme values ​​in step ST1054 are of the fourth degree or less. In the control device 1 according to the first embodiment, the degree of the polynomial approximation of the joint angle is set to second order, so that Equations (22) and (24) are of the fourth degree or less.

[0081] Next, an example of the operation of the time-series angle acquisition unit 106 in the first embodiment shown in FIG. 1 will be described with reference to FIG.

[0082] In an example of the operation of the time-series angle acquiring unit 106 in the first embodiment shown in FIG. 1, as shown in FIG. 9, first, the time-series angle acquiring unit 106 acquires the total drive time and the number of output frames (step ST1061). At this time, the time-series angle acquisition unit 106 first acquires the drive time in all the sample intervals. thru (m) is obtained by solving the cubic equation (26) below using the observed motion coefficients and selecting the smallest positive solution. TIFF2024148887000015.tif9166

[0083] Next, the time series angle acquisition unit 106 acquires the passage time at the end of each sample interval. pass (m) is obtained from the sum of the drive times in the sample interval up to that point. TIFF2024148887000016.tif9166

[0084] Next, the time-series angle acquisition unit 106 acquires the drive time and the number of output frames over the entire trajectory. An output frame is the smallest time unit when the joint control unit 107 controls a joint angle, and corresponds to one control period when the joint control unit 107 controls each joint. One joint angle command value is required for each output frame, and the joint control unit 107 controls using the joint angle command value as a command value for each control period. Therefore, the number of output frames matches the number of control periods of the joint control unit 107 over the entire trajectory.

[0085] The time-series angle acquisition unit 106 calculates the driving time t over the entire trajectory as shown in the following equation (28). whole Let t be the passing time in the last sample interval M. pass (M) After setting, the control period t pitch The number of output frames F is calculated using the following equation (29), where ceil is a function that rounds up to an integer value. TIFF2024148887000017.tif18166

[0086] Next, the time-series angle acquisition section 106 sets the passage times in all output frames (step ST1062). Passing time t in output frame f [f] t [f] =t pitch It is calculated by ×(f-1).

[0087] Next, the time-series angle acquisition unit 106 acquires the associated sample interval, which is the sample interval to which the angle belongs in all the output frames (step ST1063). At this time, the time series angle acquisition unit 106 compares the passing time in frame f with the passing time at the interval end of each sample interval, and then sets the first sample interval in which the passing time at the interval end is greater as the sample interval m to which frame f belongs.

[0088] Next, the time-series angle acquisition unit 106 acquires the observation positions in all output frames (step ST1064). Here, the passing time t in frame f [f] From the sample interval m to which it belongs, the passing time t pass (m-1) The difference time t delta In this case, the observation position s in frame f [f] is calculated using the observed motion coefficient for sample interval m according to the following equation (31). TIFF2024148887000018.tif20166

[0089] Next, the time-series angle acquisition section 106 acquires the joint angles in all output frames (step ST1065). First, the time-series angle acquisition unit 106 acquires an observation position s [f] and the observation position s of the passing point (n) (n) and the observation position s of the passing point (n+1) (n+1)A search is made for a passing point number n having an observation position that satisfies the following equation (32). TIFF2024148887000019.tif8166

[0090] Next, the time-series angle acquisition unit 106 calculates the joint angle θ of the joint p in the output frame f. p [f] The method of obtaining this is, for example, to calculate the joint angle θ p(n) and the joint angle θ of the joint p at the passing point (n+1) p(n+1) Therefore, a method of determining the value by linear interpolation using the following equation (33) can be used. TIFF2024148887000020.tif12166

[0091] The time-series angle acquisition unit 106 arranges the joint angles of each joint acquired as described above in the order of output frames, and outputs them to the joint control unit 107 as a time series of joint angle command values.

[0092] Next, an example of the operation of the joint control unit 107 in the first embodiment will be described with reference to FIG.

[0093] First, the joint control unit 107 sets the output frame f to 0 (step ST1071).

[0094] Next, the joint control unit 107 acquires the joint angle command value of the current output frame f from the time series (step ST1072). p [f] It becomes.

[0095] Next, the joint control unit 107 controls the angle of the joint so that it coincides with the joint angle command value (step ST1073).

[0096] Next, the joint control section 107 waits until the next control cycle (step ST1074).

[0097] Next, the joint control unit 107 increments the output frame f by one (step ST1075).

[0098] Next, the joint control unit 107 determines whether the processing has been completed for all frames (step ST1076). In step ST1076, if the joint control section 107 determines that the processing has not been completed for all frames, the process returns to step ST1072. On the other hand, if the joint control unit 107 determines in step ST1076 that the processing has been completed for all frames, it ends the processing.

[0099] Next, the effects of the control device 1 according to the first embodiment will be described. Here, in the method disclosed in Patent Document 1, a given trajectory is divided into many fine passing points, and the speed at each passing point is set so that the driving time is the shortest under constraint conditions. In contrast, in the control device 1 according to the first embodiment, a given trajectory is divided into a plurality of sample intervals, and the speed in each sample interval is set so that the driving time is the shortest under the constraint conditions. In the control device 1 according to the first embodiment, the position in each sample interval, i.e., the transition of the integral of the speed, is expressed by a polynomial of time, for example, a third-order polynomial. As a result, in the control device 1 according to the first embodiment, even a complex speed change that has been expressed using a large number of passing points in the conventional method can be expressed with a smaller number of sample intervals, and the amount of data required for expression can be reduced. As a result, in the control device 1 according to the first embodiment, the amount of calculation required to shorten the driving time from the start point to the end point can be reduced compared to the conventional method.

[0100] Furthermore, in the control device 1 according to the first embodiment, the feature quantity to be monitored in each sample interval or the value obtained by integrating the feature quantity is approximated by a low-order polynomial. For example, the interval information acquisition unit 103 sets the velocity and acceleration of each joint angle as the feature quantity, and approximates the joint angle, which is the integral value thereof, by a low-order polynomial. This makes it possible for the control device 1 according to the first embodiment to express the change in the feature quantity to be monitored over the entire trajectory as accurately as possible, even in a small sample interval. The control device 1 according to the first embodiment uses this low-order polynomial to perform an approximation calculation of the output range of the feature quantity to be monitored in each sample interval, and judges whether or not the feature quantity violates the constraint. As a result, the control device 1 according to the first embodiment can judge for each sample interval without preparing a large number of passing points and judging whether or not the constraint is violated as in the conventional method, and can shorten the drive time from the start point to the end point within the range in which the feature quantity to be monitored satisfies the constraint.

[0101] In the above description, the section information acquisition unit 103 approximates the feature quantity to be monitored or the value obtained by integrating the feature quantity with a low-order polynomial, and the section speed update unit 105 uses the low-order polynomial to determine whether the feature quantity violates the constraint. However, the present invention is not limited to this, and the section information acquisition unit 103 is not an essential component of the control device 1. That is, instead of approximating the feature value to be monitored or the integrated value of the feature value by a low-order polynomial, the section speed update unit 105 may calculate the value of the feature value at a passing point included in the sample section to determine whether or not the constraint is violated. In this case, the amount of calculation for determining whether or not the constraint is violated is the same as in the conventional method, so the effect of the control device 1 according to the first embodiment is reduced, but there is an advantage that complex speed changes can be expressed with a small number of data, so a certain degree of effect can be obtained.

[0102] As described above, according to the first embodiment, the control device 1 includes an interval division unit 102 that divides the trajectory into sample intervals that are continuous intervals between passing points and in which the observation position, which is a relative position on the trajectory, is expressed by a polynomial with respect to time, an interval speed initialization unit 104 that initializes an observed motion coefficient, which is a coefficient of the polynomial of the observation position, for each sample interval divided by the interval division unit 102, an interval speed update unit 105 that updates the observed motion coefficient initialized by the interval speed initialization unit 104 for each sample interval divided by the interval division unit 102 so that the time required to pass through the sample interval is shortened while satisfying the constraint condition, and a time series angle acquisition unit 106 that acquires the joint angle of each joint of the robot arm for each control time based on the observed motion coefficient updated by the interval speed update unit 105. As a result, the control device 1 according to the first embodiment can satisfy the constraints and shorten the drive time, and can reduce the amount of calculation required for processing.

[0103] Moreover, according to the first embodiment, the control device 1 includes an interval information acquisition unit 103 that approximates the feature to be monitored or the integrated value of the feature for each sample interval divided by the interval division unit 102 with a polynomial of the observation position and acquires the coefficients of the polynomial and the constraint range for the feature, and the interval speed update unit 105 calculates the output range of the feature based on the result acquired by the interval information acquisition unit 103, and updates the observed motion coefficient initialized by the interval speed initialization unit 104 so that the output range does not violate the constraint range. This makes it possible for the control device 1 according to the first embodiment to further reduce the amount of calculation required for processing.

[0104] Embodiment 2 In the second embodiment, a description will be given of another operation example of the section dividing unit 102. That is, in contrast to the first embodiment, the second embodiment shows a case in which the section dividing unit 102 adaptively divides the sample section in accordance with the state of the joint angle. The configuration example of the control device 1 according to the second embodiment is the same as the configuration example of the control device 1 according to the first embodiment shown in FIG.

[0105] Similar to the section division unit 102 in embodiment 1, the section division unit 102 in embodiment 2 receives as input the processing result in the passing point information acquisition unit 101, generates a specified number of sample intervals, and outputs the processing result. On the other hand, unlike the section division unit 102 in embodiment 1, the section division unit 102 in embodiment 2 divides the trajectory into a plurality of sample sections so that passing points where the joint angles of at least one or more joints take extreme values ​​become boundaries of the sample sections.

[0106] In the operation example of the interval division unit 102 in the second embodiment, the interval division unit 102 selects (M+1) sample points from N passing points and generates M sample intervals, which is similar to the operation example of the interval division unit 102 in the first embodiment. On the other hand, the interval division unit 102 in embodiment 2 first selects the start point, end point, and passing points corresponding to the extreme values ​​of the joint angle as tentative sample points, generates tentative sample intervals from the obtained tentative sample points, adds sample points to each tentative sample interval so as to divide it equally according to its length, and finally selects (M+1) sample points and generates M sample intervals.

[0107] An example of the operation of section division section 102 in the second embodiment will be described below with reference to FIG. Here, the interval dividing unit 102 divides the trajectory into a plurality of sample intervals such that a passing point where any joint angle is at an extreme value of the transition becomes a boundary of the sample interval in principle.

[0108] In an example of the operation of the interval division unit 102 in the second embodiment, as shown in Fig. 11, first, the interval division unit 102 selects tentative sample points and generates a plurality of tentative sample intervals (step ST1021b). A tentative sample interval is a provisionally determined sample interval whose start and end points are adjacent tentative sample points.

[0109] In this case, first, the section dividing unit 102 selects passing points corresponding to the start point and the end point as tentative sample points. Next, the section division unit 102 judges whether the joint angle of any of the passing points is larger than the joint angles of the passing points on both sides, or whether the joint angle of any of the passing points is smaller than the joint angles of the passing points on both sides, for all the passing points. If the above is true, the section division unit 102 selects the passing point as a tentative sample point.

[0110] If the number of provisional sample points obtained by the above process exceeds a certain number, the section division unit 102 evaluates the importance of the selected provisional sample points and cancels the setting of provisional sample points with low importance as sample points. This ensures that the number of provisional sample points falls within a certain number. The certain number is, for example, a number determined as a percentage of the total number of specified sample points (M+1). The importance is, for example, an index determined by the curvature of the joint angle or the contribution rate to the generated torque.

[0111] By the above process, (M temp +1) tentative sample points out of M temp sample points are generated (2≦M temp <M)。

[0112] Next, the section division unit 102 determines the number of divisions for all the tentative sample sections (step ST1022b). (m) is calculated according to the following formula (34) so ​​that the number corresponds to the range of the observation positions of the provisional sample points and the sum of the division numbers of all the provisional sample intervals is about M. TIFF2024148887000021.tif11166

[0113] Next, the interval division unit 102 adds divided sample points to each tentative sample interval (step ST1023b). The number of divided sample points to be added is (k (m) -1), and the provisional sample interval is k (m) When the (m) −1) observation positions, the passing points closest to each observation position are added as new divided sample points.

[0114] Next, the interval division unit 102 collectively sets the tentative sample points obtained in step ST1021b and the divided sample points obtained in step ST1023b as sample points, and updates M with the number of these sample points (step ST1024b). As a result, (M+1) sample points are selected, and M sample intervals are generated.

[0115] The above-described operation example of the section dividing unit 102 is merely an example, and is not limited thereto. That is, the section dividing unit 102 in the second embodiment may be implemented by any method capable of dividing a trajectory into a plurality of sample sections such that passing points at which at least one joint angle has an extreme value become boundaries of the sample sections, and may be implemented by other procedures.

[0116] Next, the effects of the control device 1 according to the second embodiment will be described. In the sample interval that is the output of the interval dividing unit 102 in the first embodiment, if an extreme value actually exists in the transition of the joint angle within the sample interval, the feature quantity to be monitored is also likely to have a maximum or minimum value within the sample interval. As a result, the number of times that the observed speed is attenuated in the interval speed updating unit 105, that is, the number of times that the interval speed updating unit 105 returns from step ST1055 to step ST1053, increases, which becomes a major bottleneck in reducing the overall amount of calculation.

[0117] In contrast, the interval dividing unit 102 in the second embodiment selects, as a sample point, a passing point at which the transition of any of the joint angles has an extreme value, thereby avoiding a situation where the transition of any of the joint angles has an extreme value within the sample interval. As a result, in the control device 1 according to the second embodiment, the number of times that the observed speed is attenuated in the interval speed updating unit 105 can be reduced, and the overall amount of calculation can be reduced.

[0118] It should be noted that the joints whose sample intervals are defined by passing points where the joint angle extremes are located do not necessarily have to be all of the joints of the robot arm, and may be only at least one or more important joints, such as joints with strict constraints on the feature quantities to be monitored. Furthermore, it is most preferable to make all extreme values ​​of the joint angles coincide with the boundaries of the sample interval, but a certain degree of effect can be obtained even if only some of the extreme values ​​coincide with the boundaries of the sample interval.

[0119] Furthermore, the pass points may be moved and set so that they coincide with the extreme values ​​of the joint angles, in other words, so that the extreme values ​​of the joint angles are not located between the pass points. In this way, the effect of the control device 1 according to the second embodiment can be slightly improved.

[0120] According to the second embodiment, the interval dividing unit 102 divides the trajectory into a plurality of sample intervals such that passing points at which the joint angles of at least one or more joints take extreme values ​​become boundaries of the sample intervals. As a result, the control device 1 according to the second embodiment can reduce the overall amount of calculations compared to the control device 1 according to the first embodiment.

[0121] Embodiment 3 In the third embodiment, a description will be given of another operation example of the interval dividing unit 102. That is, in contrast to the first embodiment, the third embodiment describes a case in which the interval dividing unit 102 adaptively divides the sample interval in accordance with the state of the feature amount. The configuration example of the control device 1 according to the third embodiment is the same as the configuration example of the control device 1 according to the first embodiment shown in FIG.

[0122] The interval dividing unit 102 in the third embodiment divides the trajectory into a plurality of sample intervals so that passing points at which at least one of the feature values ​​to be monitored or the integrated values ​​of the feature values ​​takes an extreme value become boundaries of the sample intervals. That is, in the second embodiment, a passing point where the joint angle takes an extreme value is selected as a boundary point of the sample interval, but in the third embodiment, instead of the joint angle, a passing point where the feature to be monitored or the integrated value of the feature takes an extreme value is selected. Since the rest is the same as the second embodiment, a detailed description of the procedure will be omitted.

[0123] The effects of the control device 1 according to the third embodiment are similar to those of the control device 1 according to the second embodiment. That is, when the section speed update unit 105 monitors the feature based on the feature to be monitored or a polynomial that approximates the integrated value of the feature, the bottleneck of the calculation is reduced if the observation section does not include extreme values, which is expected to reduce the amount of calculation.

[0124] According to the third embodiment, the interval division unit 102 divides the trajectory into a plurality of sample intervals such that passing points at which at least one of the feature quantities to be monitored or the integrated values ​​of the feature quantities take extreme values ​​become boundaries of the sample intervals. As a result, the control device 1 according to the third embodiment can reduce the overall amount of calculations compared to the control device 1 according to the first embodiment.

[0125] Embodiment 4 In the fourth embodiment, a description will be given of another operation example of the interval dividing unit 102. That is, in contrast to the first embodiment, the fourth embodiment describes a case in which the interval dividing unit 102 adaptively divides the sample interval in accordance with the state of the feature amount. The configuration example of the control device 1 according to the fourth embodiment is the same as the configuration example of the control device 1 according to the first embodiment shown in FIG.

[0126] Like the section dividing unit 102 in the first embodiment, the section dividing unit 102 in the fourth embodiment receives the processing result in the passing point information acquiring unit 101 as an input, and outputs the processing result. On the other hand, unlike the interval division unit 102 in the first embodiment, the interval division unit 102 in the fourth embodiment divides the trajectory into a plurality of sample intervals such that at least one of the feature to be monitored or the integrated value of the feature in the sample interval satisfies a predetermined condition. An example of the operation of the section dividing section 102 in the fourth embodiment will be described below with reference to FIG.

[0127] In the following, as in the second embodiment, an example will be described in which passing points where the joint angle takes an extreme value are set as boundaries of sample intervals, and the trajectory is divided into a plurality of sample intervals such that at least one of the features to be monitored or the integrated values ​​of the features satisfy a predetermined condition. In this way, the fourth embodiment can be implemented in combination with the second and third embodiments, and it is preferable to do so, but this is not necessarily required, and the fourth embodiment can also be implemented alone.

[0128] In an example of the operation of the section division unit 102 in the fourth embodiment, as shown in Fig. 12, first, the section division unit 102 selects tentative sample points and generates a plurality of tentative sample sections (step ST1021c). The process of this step ST1021c is similar to the process of step ST1021b shown in Fig. 11.

[0129] Next, the interval division section 102 sets the first tentative sample interval as the sample interval (step ST1022c).

[0130] Next, the interval division unit 102 determines whether or not the feature quantity to be monitored or the value obtained by integrating the feature quantity satisfies a predetermined condition for the sample interval (step ST1023c). Here, a method for determining whether a feature to be monitored or an integrated value of the feature satisfies a predetermined condition may be, for example, a method of performing a polynomial approximation on the feature to be monitored in a sample interval or a value obtained by integrating the feature for all joints, calculating an approximation error between the feature and a feature obtained from the polynomial approximation at a passing point included in the sample interval, and comparing the root mean square or maximum value of the approximation error with a pre-prepared threshold value to make a determination.

[0131] As a more specific example, an example will be described in which the feature quantities to be monitored are the angular velocity and angular acceleration of a joint, and it is determined whether the joint angle, which is their integral, satisfies a predetermined condition. In this case, the section division unit 102 approximates the transition of the joint angle in the sample section with a polynomial using the least squares method or the like for all joints. Then, the section division unit 102 calculates the approximation error between the joint angle and the approximate joint angle at the passing point included in the sample section, and compares the root mean square or maximum value of the approximation error with a previously prepared threshold value. Then, the section division unit 102 determines that the condition is not satisfied if these values ​​are greater than the threshold value.

[0132] If it is determined in step ST1023c that the predetermined condition is satisfied, the section dividing section 102 changes the sample section to a confirmed sample section (step ST1024c), and then proceeds to step ST1026c.

[0133] On the other hand, if it is determined in step ST1023c that the predetermined condition is not satisfied, the section dividing unit 102 divides the sample section into two provisional sample sections (step ST1025c). At this time, the section dividing unit 102 divides the sample section into two provisional sample sections by selecting a passing point in the center of the sample section as a new sample. Then, the process proceeds to step ST1026c.

[0134] Next, the interval dividing section 102 sets the next tentative sample interval as the sample interval (step ST1026c).

[0135] Next, the interval dividing section 102 determines whether the processing for the last tentative sample interval is complete (step ST1027c). In step ST1027c, if the section dividing section 102 determines that the processing has not been completed for the last tentative sample section, the process returns to step ST1023c.

[0136] On the other hand, if it is determined in step ST1027c that the processing has been completed for the last tentative sample section, the section dividing section 102 determines whether any tentative sample sections remain (step ST1028c). In step ST1028c, if the section dividing section 102 determines that a tentative sample section remains, the process returns to step ST1021c. In step ST1027c, if the section dividing section 102 determines that no tentative sample sections remain, it ends the process. Then, the interval dividing section 102 sets all the confirmed sample intervals as the final sample intervals.

[0137] The above-described procedure is merely an example, and the present invention is not limited to this procedure. Any other procedure may be used as long as the method can divide the trajectory into a plurality of sample intervals such that at least one of the feature values ​​to be monitored or the integrated values ​​of the feature values ​​satisfies a predetermined condition.

[0138] In addition, in the above example, the section division unit 102 performs a polynomial approximation on a feature to be monitored, such as a joint angle, or a value obtained by integrating the feature, and makes a judgment based on the approximation error. However, the present invention is not limited to this. In addition to the above, the interval division unit 102 can also make a determination based on the cumulative change amount of the feature value to be monitored in each sample interval. For example, the section division unit 102 may select the amount of change in the position or posture of the hand as the feature amount and make a judgment based on the accumulated amount of change. That is, the section division unit 102 may calculate the accumulated amount of change in the sample section, and if the value is greater than a threshold, further divide the sample section. In this way, the section division unit 102 can divide the sample section so that the accumulated amount of change in the position or posture of the hand in each sample section is equal to or less than a predetermined value. Alternatively, the section dividing unit 102 may make the determination based on the accumulated change in another feature amount, such as the accumulated change in the joint angle of each joint.

[0139] However, the feature quantities handled here or values ​​obtained by integrating the feature quantities must be information that can be acquired by the passing point information acquisition unit 101. For example, values ​​updated by the section speed update unit 105 are values ​​that have not yet been determined by the section division unit 102, and therefore cannot be used when making decisions in section division. In addition, the combination of the feature amount or the integrated value of the feature amount and the predetermined condition must be such that the judgment result changes depending on the division of the sample interval. For example, since the curvature of the joint angle is a value that does not change even if the sample interval is further divided, it is not possible to divide the sample interval so that the curvature of the joint angle is equal to or smaller than a threshold value.

[0140] Next, a description will be given of the effects of the control device 1 according to the embodiment 4. Here, a case will be described as an example in which the feature quantities to be monitored are the angular velocity and angular acceleration of a joint, and it is determined whether the joint angle, which is their integral, satisfies a predetermined condition.

[0141] In the first embodiment, the number of sample intervals is set to a fixed value, and the lengths of the sample intervals are set to be approximately equal. However, the number of sample intervals and the length of each sample interval should be appropriately set according to the transition of the joint angle of the trajectory. For example, if the range of the sample interval is too long, the accuracy of approximation of the transition of the joint angle by the joint angle coefficient deteriorates, and as a result, a constraint violation may occur in the output from the time-series angle acquisition unit 106. On the other hand, when the range of the sample interval is too short, the range that can be processed in one sample interval is often divided into multiple sample intervals, and if the sample interval increases, the result is a redundant increase in calculation time.

[0142] Therefore, the interval dividing unit 102 in the fourth embodiment monitors and guarantees the approximation accuracy of the transitions of all joint angles in all sample intervals, thereby appropriately setting the lengths of the ranges of all sample intervals. As a result, the control device 1 according to the fourth embodiment can reduce the possibility of a constraint violation occurring in the output from the time-series angle acquiring unit 106, and can also reduce the possibility of an increase in calculation time due to an excessive number of sample intervals.

[0143] According to the fourth embodiment, the interval division unit 102 divides the trajectory into a plurality of sample intervals such that at least one of the feature values ​​to be monitored or the integrated values ​​of the feature values ​​in the sample interval satisfies a predetermined condition. As a result, the control device 1 according to the fourth embodiment can reduce the overall amount of calculation while improving accuracy compared to the control device 1 according to the first embodiment.

[0144] Embodiment 5. In the fifth embodiment, a description will be given of another operation example of the interval dividing unit 102. That is, in contrast to the first embodiment, the fifth embodiment shows a case in which the interval dividing unit 102 adaptively divides the sample interval in accordance with the state of the constraint range group of the feature. The configuration example of the control device 1 according to the fifth embodiment is similar to the configuration example of the control device 1 according to the first embodiment shown in FIG.

[0145] The interval dividing unit 102 in the fifth embodiment divides the trajectory into a plurality of sample intervals such that, in the sample interval, a group of constraint ranges related to the feature quantities to be monitored satisfy a predetermined condition. In the fourth embodiment, the intervals are divided based on whether the feature to be monitored or the integrated value of the feature satisfies a predetermined condition. However, the fifth embodiment differs in that the intervals are divided based on a group of constraint ranges related to the feature, rather than on the feature itself.

[0146] The operation example of section division section 102 in the fifth embodiment differs from the operation example of the fourth embodiment shown in FIG. 12 in steps ST1022c to ST1027c. As an example, a case will be described in which the section dividing unit 102 divides sections based on upper and lower limits that define a group of constraint ranges of angular acceleration of a joint. Note that it is assumed here that the group of constraint ranges of angular acceleration is not constant and takes a different value for each passing point.

[0147] First, the interval dividing unit 102 obtains the upper and lower limit values ​​of the angular acceleration at the passing points included in the tentative sample interval. Next, the interval dividing section 102 finds the difference between the maximum value and the minimum value within the provisional sample interval for each of the upper and lower limit values. Then, the section division unit 102 compares this difference with a threshold value, and if it is smaller than the threshold value, it determines that the predetermined condition is satisfied, and if it is larger than the threshold value, it determines that the predetermined condition is not satisfied and further section division is required.

[0148] Next, the effects of the control device 1 according to the fifth embodiment will be described. In step ST1032, interval information acquisition section 103 in the first embodiment acquires a group of constraint ranges of pass points included in each sample interval, sets the minimum upper limit as the upper limit representing the sample interval, and sets the maximum lower limit as the lower limit representing the sample interval. Therefore, when the range of change of the upper limit or lower limit within the sample interval is large, a conservative value can be set as the constraint range of the sample interval. In contrast, interval division section 102 in the fifth embodiment divides the interval so that the difference between the maximum and minimum values ​​of the upper and lower limits in the sample interval is smaller than a predetermined threshold value. Therefore, values ​​closer to the upper and lower limits at each passing point in each sample interval are set as constraints, and the influence of using such conservative values ​​can be reduced.

[0149] According to the fifth embodiment, the interval division unit 102 divides the trajectory into a plurality of sample intervals such that at least one of a group of constraint ranges related to the feature quantity to be monitored in the sample interval satisfies a predetermined condition. This enables the control device 1 according to the fifth embodiment to set more appropriate values ​​as the constraint ranges of the sample intervals compared to the control device 1 according to the first embodiment.

[0150] It should be noted that the embodiments may be freely combined, or any of the components in each embodiment may be modified, or any of the components in each embodiment may be omitted. [Explanation of symbols]

[0151] 1 Control device 101 Passing point information acquisition section 102 Section division section 103 Section information acquisition unit 104 Section speed initialization section 105 Section speed update unit 106 Time series angle acquisition unit 107 Joint control section

Claims

1. an interval division unit that divides the trajectory into sample intervals, which are successive intervals between passing points, and in which an observation position, which is a relative position on the trajectory, is expressed by a polynomial with respect to time; an interval velocity initialization unit that initializes an observed motion coefficient, which is a coefficient of a polynomial of an observed position, for each sample interval divided by the interval division unit; an interval speed update unit that updates the observed motion coefficients initialized by the interval speed initialization unit so that the time required to pass through each sample interval divided by the interval division unit is shortened while satisfying a constraint condition; a time series angle acquisition unit that acquires a joint angle of each joint of the robot arm for each control time based on the observed motion coefficient updated by the section speed update unit; A control device comprising:

2. an interval information acquisition unit that approximates a feature value to be monitored or an integrated value of the feature value by a polynomial at an observation position for each sample interval divided by the interval division unit, and acquires coefficients of the polynomial and a constraint range related to the feature value; The section speed update unit calculates an output range of a feature amount based on the result of acquisition by the section information acquisition unit, and updates the observed motion coefficient initialized by the section speed initialization unit so that the output range does not violate a constraint range.

2. The control device according to claim 1.

3. The section dividing unit divides the trajectory into a plurality of sample sections such that passing points at which at least one joint angle takes an extreme value become boundaries of the sample sections.

3. The control device according to claim 1 or 2.

4. The interval division unit divides the trajectory into a plurality of sample intervals such that passing points at which at least one of the feature values ​​to be monitored or the integrated value of the feature value takes an extreme value become boundaries of the sample intervals.

3. The control device according to claim 2.

5. The section division unit divides the trajectory into a plurality of sample sections such that at least one of the feature quantity to be monitored or an integrated value of the feature quantity satisfies a predetermined condition in the sample section.

3. The control device according to claim 2.

6. The section division unit divides the trajectory into a plurality of sample sections such that at least one of a group of constraint ranges related to the feature quantity to be monitored satisfies a predetermined condition in the sample section.

3. The control device according to claim 2.

7. a step of dividing the trajectory into sample intervals, each of which is a continuous interval between passing points and in which an observation position, which is a relative position on the trajectory, is expressed by a polynomial with respect to time, by an interval dividing unit; an interval speed initialization unit initializing an observed motion coefficient, which is a coefficient of a polynomial of an observation position, for each sample interval divided by the interval division unit; a section speed update unit updating the observed motion coefficients initialized by the section speed initialization unit for each sample section divided by the section division unit so that the time required to pass through the sample section is shortened while satisfying a constraint condition; a time-series angle acquisition unit acquiring a joint angle of each joint of the robot arm for each control time based on the observed motion coefficient updated by the section speed update unit; The control method includes:

Citation Information

Patent Citations

  • Robot arm and control method therefor

    JP2008194760A