Information
-
Patent Grant
-
6294890
-
Patent Number
6,294,890
-
Date Filed
Thursday, July 15, 199925 years ago
-
Date Issued
Tuesday, September 25, 200123 years ago
-
Inventors
-
Original Assignees
-
Examiners
Agents
-
CPC
-
US Classifications
Field of Search
US
- 318 56821
- 318 56822
- 318 5682
- 318 576
- 318 56811
- 318 567
- 901 29
- 901 42
-
International Classifications
-
Abstract
A robot controller is provided which can smoothly switch the mode between a position control in a free space and a position or force control to a contact surface, so that even if the contact surface has an unknown geometric error, the control system mode can be switched without the damage of a contact object and a workpiece and the out-of-control of the robot. The workpiece is moved to approach an estimated contact surface within the free space under a position control. Next, a groping motion is carried out under a position control from the estimated contact surface to an actual contact surface, and switched to a contact motion under a force control at the time point when the detected force value exceeds a certain threshold value. Then, a leaving motion is carried out.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a robot controller having a control system mode switching function, and in particular to a robot controller which can smoothly switch the mode between a position control in a free space and a position or force control to a contact surface, so that even if the contact surface has an unknown geometric error, the control system mode can be switched without the damage of a contact object and a workpiece and the out-of-control of the robot.
2. Description of the Related Art
As for force control study cases, there are known a hybrid position/force control (M. H. Raibert, John J. Craig: Hybrid Position/Force Control of Manipulators, Journal of Dynamic Systems, Measurement, and Control 102, ASME, pp. 126-133, 1981, hereafter referred to as Document 1), a method of developing it using operating coordinate systems as references (O. Khatib: A Unified Approach for Motion and Force Control of Robot Manipulators: The operational Space Formulation, IEEE Journal of Robotics and Automation, Vol. RA-3, No. 1, 1987, hereafter referred to as Document 2), a mechanical impedance control (N. Hogan: Impedance Control: An Approach to Manipulation: Part 1-3, Journal of Dynamic Systems, Measurement, and Control 107, ASME, 1985, hereafter referred to as Document 3), and so on.
Each of the cases is a pioneer study regarding the robot force control. It is, however, known that those cases may encounter a problem in that a control characteristic extremely deviates from its design specifications or a control system becomes unstable due to variations in elasticity and frictional coefficient of a contact surface defining a restricted space.
Further, the most of the cases are limited to the force control in a normal direction to the contact surface.
Moreover, no sufficient consideration is given to a control system with respect to an uncertain state transition associated with the collision occurring between the free space and the restricted space.
As for a control method for collision processes (Shoji, Inaba, Fukuda, and Hosogai, Stable Control for Robot Manipulator facing collision, Japan Mechanical Association Symposium (Chapter C), Vol. 56-527, pp. 1847-1853, 1990 or the like, hereafter referred to as Document 4), there are known a method in which an optimum approaching speed prior to the contact is preliminarily obtained so as not to cause the large impact force, and a position control is switched over to a force control at the time point when a detected force value succeeding to the contact exceeds a threshold value (Kitagaki and Uchiyama, Optimum Approaching Speed for Manipulator in Ambient Condition, Japan Robot Association Journal Vol. 8-4, pp. 413-420, 1990, hereafter referred to as Document 5, Shimura and Hori, Robust Force Control for Robot Manipulator and Control for Collision Process, Japan Robot Association Journal vol. 11-2, pp. 235-245, 1993, hereafter referred to as Document 6; and Kiyoshi Oishi, Force Control Containing Collision Process Based on H ∞ Speed Controller, Japan Mechanical Association Robo-Mech 95, pp. 358‥361, 1995, hereafter referred to as Document 7), a method in which a control mode having a large damping characteristic is once inserted at the time of switching (O. Khatib, J. Burdic, Motion and Force Control of Robot Manipulators, IEEE Conference on Robotics and Automation, pp. 1381-1386, 1986, hereafter referred to as Document 8), and so on.
In those controls, only the depressing force in the normal direction is used as an object to be force-controlled, and therefore, the frictional force in a tangential direction can not be dealt with, or otherwise the switching therebetween can not be carried out as desired.
It is essential to the force control study cases (Documents 1, 2 and 3) that the geometric position of the contact surface is completely known, that is, no consideration is given to a contact surface having an uncertain geometric error in these cases. For this reason, if the contact surface has the geometric error, the position control under the contact state may result in unnatural force acting on and damaging the contact object and the workpiece, or otherwise, the force control under the non-contact state may result in the out-of-control of the robot because of attempting to make the depressing force coincident with a target force value.
Further, each of the study cases (Documents 4, 5, 6, 7 and 8) is directed to a control system which is simple and lacks a robust property, or is based on a control system which may be robust but is not reliable in stability as a whole.
SUMMARY OF THE INVENTION
The present invention was made in view of the problems noted above. An object of the present invention is to provide a robot controller having such a function as to smoothly switch the mode between a position control in a free space and a position or force control to a contact surface, so that even if the contact surface has an unknown geometric error, the control system mode can be switched without the damage of a contact object and a workpiece and the out-of-control of the robot.
To achieve the above-described object, according to the present invention, there is provided a robot controller used for a processing work or an assembling work to include approach motion means for preliminary setting an estimated contact surface which is the closest surface where a contact surface defining a restricted space and having a geometric error is expected to exist, and moving a workpiece or a predetermined portion of a processing or assembling machine to approach the estimated contact surface under a position control in the direction of at least two degrees of freedom; groping motion means for moving the workpiece or the predetermined portion of the processing or assembling machine under a position control in the direction of at least two degrees of freedom to approach an actual contact surface from the estimated surface reached through the approach motion means at a preliminarily set approach speed equal to or less than a maximum collision speed; contact motion means for simultaneously carrying out a position control in the direction of at least one degree of freedom and a friction control in the direction of the same degree of freedom with respect to the contact surface reached through the groping motion means; and leaving motion means for moving the workpiece on which a processing or the like has been made through the contact motion means or the predetermined portion of the processing or assembling machine by which the processing or the like has been made through the contact motion means to leave to a predetermine position under a position control in the direction of at least two degrees of freedom.
The robot controller may operate such that the robot holds the workpiece and depresses the workpiece onto the processing machine or the like, or alternatively may operate such that the robot holds the processing machine or the like and depresses the predetermined portion (a grinding surface, a cutting surface or the like) of the processing machine onto the workpiece. An unknown geometric error exists between the workpiece and the predetermined portion of the processing machine, and in general the error can not be recognized by the robot accurately.
Therefore, the closest surface is estimated where the contact surface is expected to exist, and defined as the estimated contact surface. Then, since the side away from the estimated surface to the robot is a free space, the robot can be operated using a general position control system. That is, with the approach motion means, the approach motion is carried out under a position control in the direction of at least two degrees of freedom until the estimate contact surface is reached. The reason why the control is carried out in the direction of at least two degrees of freedom is that a position control in the direction of two degrees of freedom is sufficient for a control on a planar plane, but a three-dimensional control requires the direction of the increased degrees of freedom to be controlled.
Next, with the groping motion means, the workpiece or the predetermined portion of the processing or assembling machine approaches the actual contact surface to the estimated contact surface at an approach speed equal to or less than a preset maximum collision speed while the position control in the direction of at least two degrees of freedom is carried out.
As for the maximum collision speed, a threshold value for the resisting force is set to be smaller than a dangerous resisting force, or an absolute value of a threshold value for the friction is set to be smaller than an absolute value of a dangerous friction, so that the maximum collision speed is obtained on the basis of these values.
Next, with the contact motion means, the position control in the direction of at least one degree of freedom and the friction control in the direction of the same degree of freedom are simultaneously carried out with respect to the contact surface reaching by the groping motion means.
The reason why the friction control is carried out is that it is preferable to control the frictional force so that a grinding energy required for the grinding or the like of the workpiece becomes a predetermined designation value in order that a ground surface or the like has high quality (as set forth in Japanese Patent Application No. Hei. 9-124932).
Next, with the leaving motion means, the workpiece on which the processing or the like has been made or the predetermined portion of the processing or assembling machine by which the processing or the like has been made is moved to a predetermined position while the position control in the direction of at least two degree of freedom is carried out. The leaving from the contact surface is executed by switching the control into the position control in the direction of at least two degrees of freedom at the time point when the resisting force in a normal direction becomes zero or a set value approximate zero.
With the above-mentioned arrangement, it is possible to smoothly switch the control mode by the robot between the position control within the free space and the force or position control to the contact surface. Further, even if the contact surface has an unknown geometric error, the mode switching is enabled without the damage of the contact object and the workpiece and the out-of-control of the robot.
Here, although the switching from the groping motion means to the contact motion means may be carried out forcibly when a predetermined time period has been passed or a target position has been reached, according to the present invention it is preferable that the groping motion means carries out a position control in the direction of at least one degree of freedom from the estimated contact surface reaching by the approach motion means to the actual contact surface, carries out a resisting-force control in the direction of another degree of freedom with respect to the contact surface, and transits to the contact motion means when a detected resisting force or frictional force is equal to or more than a preliminarily set threshold value.
The resisting-force control is carried out with respect to the contact surface, and if the detected force value such as the resisting-force, and the frictional force becomes equal to or larger than the preset threshold value, then the switching is carried out from the groping motion means to the contact motion means.
This can make the mode switching more smoothly.
In addition, since the robot ensures a predetermined cycle time periodically, the time omitted due to the mode switching may be supplemented by the leaving motion means.
Further, according to the present invention, the contact motion means simultaneously carries out a position control in the direction of at least one degree of freedom with respect to the contact surface reaching by the groping motion means, and a control of a resisting force belonging to the direction of another degree of freedom with respect to the contact surface.
The position control and the resisting-force control are carried out in the direction of different degrees of freedom from each other.
Moreover, according to the present invention, the robot controller has a sliding mode decoupling function designed correspondingly to variations in elasticity or friction coefficient of a contact object, and control modes for the position control in the direction of two degree of freedom, the position control in the direction of one degree of freedom and the friction control in the direction of the same degree of freedom, the position control in the direction of one degree of freedom and the control of the resisting force belonging to the direction of another degree of freedom with respect to the contact surface are respectively provided with control elements or compensators preliminarily designed for the respective modes, so that the control elements or the compensators are selectable in association with switching from one to another among the approach motion means, the groping motion means, the contact motion means and the leaving motion means.
The sliding mode decoupling control enables a robust force control against parameter variations. This sliding mode decoupling control is applied to the robot control, and the control elements or compensators preliminarily designed for the respective control modes mentioned above are prepared. The control elements or the compensators are selectable in association with the switching among the approach motion means, the groping motion means, the contact motion means and the leaving motion means.
This enables the sliding mode decoupling control suitable for each motion means, and thus the processing or assembling can be executed with high quality.
BRIEF DESCRIPTION OF THE DRAWINGS
In the accompanying drawings:
FIG. 1
shows states in which a workpiece held by a robot manipulator approaches a restricted space from a free space to contact with a contact surface;
FIG. 2
shows a flowchart for an operation in a first embodiment of the present invention;
FIG. 3
shows control types corresponding to transitions in each control modes;
FIG. 4
shows reference values and pointers regarding the mode switching;
FIG. 5
shows correction for the reference values regarding the mode switching;
FIG. 6
shows an entire construction of a two-joint robot;
FIG. 7
is a block diagram of a control system;
FIG. 8
is a detailed block diagram showing a compensator portion shown in
FIG. 7
for carrying out sliding mode decoupling control; and
FIG. 9
shows control variables corresponding to the respective modes.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
A first embodiment of the present invention will be described hereafter with reference to the accompanying drawings.
FIG. 1
shows states in which a workpiece
3
held by a robot manipulator
1
approaches a restricted space from a free space to contact with a contact surface
5
. In a case where the contact surface
5
is a rotative grindstone or a grinding belt used for a grinding process, or a buff, the contact surface
5
continuously moves downwardly at a speed V
t
from the upper side in the figure. Therefore, the workpiece
3
contacting therewith receives a friction in association with the contact.
Here, it is assumed that the contact surface
5
has an uncertain geometric error so that the robot manipulator
1
cannot recognize the accurate position. In this case, the closest surface where the contact surface is expected to exist is estimated, and defined as an estimated-contact surface or an estimated surface
7
. The left side of the estimated surface is a free space in the figure, and therefore the robot manipulator
1
can be operated using a general position control system. This control is referred to as a position/position control since the position control is carried out with respect to plural degrees of freedom to control each degree of freedom.
Here, the operation under the position/position control to the estimated surface
7
within the free space is referred to as an approach motion (FIG.
1
(
a
)). Subsequently, a groping motion under a position/resisting-force control is carried out from the estimated surface
7
to an actual contact surface
5
(FIG.
1
(
b
)), and is switched over to a contact motion under position/friction control at the time point when a detected force value exceeds a certain threshold value (FIG.
1
(
c
)).
More specifically, a normal direction speed V
na
of the contact surface
5
during the approach motion is made coincident with a preset approach speed V
ng
(for instance, zero) on the estimated surface
7
, and the speed V
ng
is kept constant until a normal direction resisting-force f
n
after the collision exceeds a threshold value f
nth
as preset small or until a tangential direction frictional force f
tth
exceeds a preset small threshold value f
tth
as also present small. Then, at the time point of exceeding either one of the threshold values, the control is switched over to the position/friction control. When the workpiece
3
leaves from the contact surface
5
, the control is switched over to the position/position control to carry out a leaving motion at the time point when the normal direction force reaches zero or a preset value approximate zero.
For the second or subsequent contacts, the estimated surface
7
is set at the position where the preceding leaving motion was initiated. This can cope with the positional variations of the contact surface in association with frictional wear or the like, and can dispense with the groping motion because the estimated surface
7
is coincident with the actual contact surface
5
.
FIG. 2
is a flowchart showing each motion for the operation according to the first embodiment of the present invention.
Next, a second embodiment of the present invention will be described.
In the second embodiment of the present invention, the position/position control is carried out from the estimated surface
7
to the actual contact surface
5
with respect to the groping motion. Then, the control is switched over to the position/resisting-force control when a predetermined position has been reached or a predetermined time period has passed (not shown in the drawings).
Note that the types of control to cope with transition between control modes should not be limited to the above-mentioned first and second embodiments of the present invention. Examples of the control types are shown in
FIG. 3. A
user can select the control type depending on the intended object or the required operation.
Here, the meanings of the described control modes will be defined as follows: The position/position control means that the position control is carried out in both the normal and tangential directions with respect to the contact surface
5
. The position/resisting-force control means that the position control in the tangential direction and the resisting-force control in the normal direction are simultaneously carried out. The position/friction control means that the position control in the tangential direction and the friction control in the tangential direction are simultaneously carried out.
Next, a setting method for the groping motion will be described with respect to each control mode.
First of all, the case where the groping motion is carried out under the position/position control will be described.
In general, when the robust position control or speed control is in operation, the robot
1
must try to continuously follow a target locus or its time variation ratio, the speed V
ng
, even if the workpiece
3
collides against the contact surface
5
.
In this case, the threshold value f
nth
for the resisting force f
n
is set to be smaller than a dangerous resisting force f
nmax
, or the absolute value of the threshold value f
tth
for the frictional force f
t
is set to be smaller than the absolute value of a dangerous friction f
tmax
, so that a maximum collision speed V
ng,max
is obtained on the basis of these values. The following formulae 1 and 2 stand where ΔT is a measurable time period after the contact, l is a displacement occurring due to the normal direction depressing force at that time, k is an elastic coefficient of the contact surface, and α is a frictional coefficient thereof.
f
n
|
ΔT
=k·l=k·v
n
·ΔT≦f
nth
(Formula 1)
f
n
|
ΔT
=α·k·l=α·k·v
n
·ΔT≦f
tth
(Formula 2)
If the time period ΔT is a measurable minimal time period ΔT
min
, then the maximum collision speed V
ng,max
can be obtained by the following formula 3.
V
ng,max
≦min(
f
nth
/(
k
0
ΔT
min
),
f
tth
/(α
0
k
0
ΔT
min
)) (Formula 3)
Therefore, the approach speed V
ng
is selected so as to satisfy V
ng
≦V
ng,max
.
Next, the case where the groping motion is carried out under the position/resisting-force control will be described.
This is not the case where forcible operation is carried out under the position control or the speed control as described in connection with the position/position control. This is the case where the resisting-force control is carried out in the normal direction. It is also conceivable to adopt a process in which the control system automatically generates the drive force based on an error between the target resisting force and the detected force until the actual contact surface
5
is reached. In this case also, the resisting force f
n
is monitored, and if the monitored resisting force f
n
reaches the threshold value f
nth
, then the operation is switched over to the contact motion.
Next, a method for generating a reference value upon the consideration of the state transition will be described.
FIG. 4
shows an example of the generation of the reference value in the case where the groping motion and the contact motion are carried out under the position/resisting-force control and the position/friction control, respectively, similarly to the first embodiment of the present invention. In this embodiment, physical amounts to be controlled are a normal directional position P
n
and the tangential directional position P
t
during the approach motion. Therefore, reference values P
rn
and P
rt
are generated corresponding to these amounts, respectively. At this stage, each of the resisting-force f
n
and the frictional force f
t
must be zero, and is never entered into the control system, so that each of reference values f
rn
and f
rt
may be any arbitrary value. Accordingly, each of them is set to be zero temporally.
For the groping motion, a position reference value P
rt
and a resisting-force reference value f
rn
in the tangential direction are only designed, and other values P
rn
and f
rt
are considered as “Don't Care”. Similarly, for the contact motion, a position reference value P
rt
in the tangential direction and a frictional force reference value f
rt
are defined. For the leaving motion, the values P
rn
and P
rt
are defined, whereas other values are considered as “Don't Care”, similarly to the approach motion. Note that the switching from the groping motion to the contact motion requires the mode switching occurring due to the interruption generated by the above-mentioned threshold value. At this time, the elements, which must be switched specifically, are all reference values (P
rn
, P
rt
, f
rn
and f
rt
), a switch for determining which reference value should be used, a control variable for the control system (described later), the following formula 4, and an output value y to be selected for use from output variables (P
n
, P
t
, f
n
and f
t
).
σ, B
0
*
−1
, {tilde over (C)}
0
, {tilde over (r)}, k
1
, k
2
(Formula 4)
Bolded arrows aligned in a lower portion of
FIG. 4
correspond to pointers on a memory for generating reference value data, a time period between adjacent pointers is referred to as a motion rate ΔT. The switching from the groping motion to the contact motion requires a jumping of the pointer corresponding to the interruption as shown in this drawings.
FIG. 5
shows a corrected reference value immediately after the jumping. Data are added to supplement the jumping time period T
x
.
Next, a modeling of the manipulator and the external force will be described.
An equation of motion in a joint coordinate system of an n-axis manipulator
1
can be expressed by the following formula 5.
M
(
q
)
{umlaut over (q)}+h
(
q,{dot over (q)}
)+
J
x
T
F=τ
(Formula 5)
Note that M(q) (n×n) is an inertial matrix, q(n×1) is a joint angle, the following formula 6 expresses a non-linear torque generated by a viscous friction, a centrifugal force, a Coriolis force, and a gravity, J
r
(n×n) is Jacobian relating the operation coordinate system to the joint coordinate system, F (n×1) is a force received from the friction surface, and τ (n×1) is a driving torque on the joint.
h(q,{dot over (q)})(n×1) (Formula 6)
The position of the workpiece
3
on the operation coordinate system is expressed as a function of the joint q by the following formula 7.
P=f
(
q
) (Formula 7)
From the formula 7, formulae 8 and 9 are obtained through time-differential on both sides.
{dot over (P)}=J
r
(
q
)·
{dot over (q)}
(Formula 8)
{umlaut over (P)}=J
r
(
q
)·
{umlaut over (q)}+J
r
(
q
)·
{dot over (q)}
(Formula 9)
Using the formula 9 under the condition of det [J
r
(q)]≠0, the formula 5 is converted into an equation of motion, formula 10 on the operation coordinate system.
M
x
(
q
)
{umlaut over (P)}+h
x
(
q,{dot over (q)}
)+
F=J
r
−T
τ={overscore (u)}
M
x
(
q
)
=J
r
−T
(
q
)
M
(
q
)
J
r
−31
(
q
),
h
x
(
q,q
)=
J
r
−T
(
q
)
h
(
q,q
)−
M
x
(
q
)
{dot over (J)}
(
q
)
{dot over (q)}
(Formula 10)
During the force control, the manipulator control system receives a reaction vector F(t) from the contact object. Although the reaction vector F(t) is comprised of a resisting-force component f
n
(t) and a friction component f
t
(t) on the contact surface
5
, either of the components is to be controlled. It is assumed that the resisting force f
n
(t) is caused due to the elasticity of the contact surface
5
, and the friction f
t
(t) in the tangential direction is obtained by multiplying the resisting force by the frictional coefficient α. Using a coefficient matrix K (n×n) and a space matrix S
M
(n×n), the vector F(t) is defined as being expressed by the following formula 11, where K
0
and ΔK are a nominal component and a variable component, respectively.
F=S
M
·K·P=S
M
·(
K
0
+ΔK
)·
P
Each element of K(n×n) has a construction corresponding to the physical restriction, and this is related to a controllability as described later. Here, a nominal value and a variation are considered as expressed by the formula 12 with respect to the inertial matrix M
x
and the non-linear force h
x
.
M
x
=M
x0
+ΔM
x
h
x
=h
x0
+Δh
x
(Formula 12)
Then, the motion equation formula 10 can be expressed by the formula 13.
M
x0
+ΔM
x
)
{umlaut over (P)}+
(
h
x0
+Δh
x
)+
S
M
(
K
0
+ΔK
)
P=M
x0
{umlaut over (P)}+Δh+S
M
K
0
P−d={overscore (u)}−d=ΔM
x
{umlaut over (P)}+Δh
x
+S
M
ΔKP, ∥d∥<L
(Formula 13)
Here, if the input is artificially determined as being expressed by the formula 14, then the motion equation can be further simplified approximately so that a corresponding equation of state, formula 16, is obtained.
{overscore (u)}=u+h
x0
(Formula 14)
M
x0
{umlaut over (P)}+S
M
K
0
P=u+d
(Formula 15)
X=[P{dot over (P)}]
T
∈R
2α×1
As for an output equation, an output y is different between the case of the position control and the case of the force control, and further even under the force control it is different between the case in which the resisting force is to be controlled and the case in which the friction is to be controlled, but the following formula 17 stands.
(Formula 17)
y∈R
n×1
(Formula 17)
The output y can be obtained as being expressed by the formula 18 in the case of the position/position control.
y=[I
n
O
n
]·X
(Formula 18)
In the case of the position/force control, it can be obtained as being expressed by the formula 19.
y
f
∈R
(n−p)×1
,y
p
∈R
p×1
,S
f
∈R
(n−p)×n
,S
p
∈R
p×n
Here, y
f
is a force-monitoring component vector, y
p
is a position-monitoring component vector, and S
f
and S
p
are matrixes which are selected in conformity with the intended use so that elements in y are independent from one another. For instance, a suitable S
f
is selected corresponding to the resisting-force control and the friction control.
Next, an example of a process of designing a control system for a multi-joint robot will be described.
This multi-joint robot adopts a sliding mode decoupling control. Therefore, first of all, a sliding mode decoupling control system will be described (T. Mita, T. Suzuki and A. Shimada, Robust Decoupling Control Via Sliding Mode Control, 1996 IEEE Workshop on Variable Structure Systems, pp. 20-25, and Mita, Suzuki and Shimada, VSS Decoupling Control and Role of Zero Point, Electric Association Industrial Measurement Control Study Team IIC-97-26, Mar. 17, 1997 are available as references for the sliding mode decoupling control system).
The object to be controlled is expressed by the formula 20.
{dot over (x)}
(
t
)=
Ax
(
t
)+
Bu
(
t
)+
Bd
(
x,t
),
y=Cx
(
t
) (Formula 20)
Note that it is assumed that the A(n×n), B(n×m), C(m×n) and d(x,t) under a condition of non-linear disturbance the magnitude of which is known does satisfy the formula 21, does not satisfy det(CB)≠0, and does satisfy the formula 22.
∥d(x,t)∥≦L(x,t) (Formula 21)
c
i
B=
0, . . . ,
c
i
A
P
i
−2
B=
0,
c
i
A
P
i
−1
B≠
0 (Formula 22)
Here, c
i
means i-tl column of the C matrix. As well-known, if the formula 23 is nonsingular, then the decoupling can be achieved.
Next, using the C matrix and a differentiable target value r(t), the coefficient matrix formula 24 is defined, and a hyper-plane σ(t) is designed. In this case, the formula 25 stands.
{tilde over (c)},{tilde over (r)}(t) (Formula 24)
{tilde over (c)}B=B* (Formula 25)
The formulae 26 to 28 are defined.
{tilde over (C)}=[{tilde over (c)}
1
, . . . , {tilde over (c)}
m
]
T
{tilde over (c)}
i
=a
1
i
c
i
+a
2
i
c
i
A+ . . . +a
pi−1
i
c
i
A
p
−
2
+c
i
A
p−1
(Formula 26)
{tilde over (r)}(t)=[{tilde over (r)}
1
(t), . . . , {tilde over (r)}
m
(t)]
T
{tilde over (r)}
i
(
t
)=
a
1
i
r
i
+a
2
i
r
i
(1)
+ . . . +a
p
i
−1
i
r
i
p
i
−2)
+r
p
i
−1)
(Formula 27)
σ(
t
)=
{tilde over (C)}x
(
t
)−{tilde over (r)}(
t
) (Formula 28)
Note that if the output and its first-stage to (P
i
−1)-th stage differential values can be monitored, then the formula 29 can be defined, and the hyper-plane σ(t) can be obtained as being expressed by the formulae 30 and 31 in place of the formula 28.
{tilde over (y)}(t) (Formula 29)
{tilde over (y)}(t)=[{tilde over (y)}
1
(t), . . . , {tilde over (y)}
m
(t)]
{tilde over (y)}
i
(
t
)=
a
1
i
y
i
+a
2
i
y
i
(1)
+ . . . +a
pi−1
i
y
i
(pi−2)
+y
(pi−1)
(Formula 30)
σ(
t
)=
{tilde over (y)}
(
t
)−
{tilde over (r)}
(
t
) (Formula 31)
In this case, as for the control input, the formulae 32 and 33 are used.
u=−
(
{tilde over (C)}B
)
−1
{tilde over (C)}Ax+
(
{tilde over (C)}B
)
−1
{overscore (u)}+
(
{tilde over (C)}B)
−1
{tilde over (r)}=−B*
−1
{tilde over (C)}Ax+B*
−1
ũ+B*
−1
{tilde over (r)}
(Formula 32)
Using the formula 34 to define candidates of Lyapunov function in each row, the formula 35 are obtained.
V
i
(
t
)=σ
i
2
(
t
)/2≧0 (Formula 34)
V(t) (Formula 35)
Using the formula 36, if the k
i
(x, t) is selected as being expressed by the formula 37, then V
i
(t) becomes a Lyapunov function, and the formula 38 is obtained. The right upper (k) means k-th differential.
{dot over (V)}
i
=σ
i
(−
k
i
sgn (σ
i
)+
{tilde over (c)}
i
Bd
)=|σ
i
|(−−
k
i
±{tilde over (c)}
i
Bd
) (Formula 36)
k
i
(x,t)>∥{tilde over (c)}
i
B∥L(x,t) (Formula 37)
σ
i
(k)
→0, k≧0 (Formula 38)
A necessary and sufficient condition for the stable equivalent linear system when the formula 39 stands is that a invariant zero point in the formula 40 is stable. This condition is equivalent to the case in which in each of the formulae 41 to 43 the equation h
i
(s)=0 (i=1 to m) is the stable multinomial and invariant zero point of (C, A, B) is stable.
V
i
(
t
)=σ
i
2
(t)/2≧0 (Formula 39)
({tilde over (C)},A,B) (Formula 40)
H(s)=diah(h
1
(s), h
2
(s), . . . , h
m
(s)) Formula 42)
h
i
=a
1
i
+a
2
i
s+ . . . +a
p
i
−1
i
S
p
i
−2
+S
P
i
−1
(Formula 43)
Note that since the formula 44 does not have the zero point, it is sufficient that the h
i
(s)=0 (i=1 to m) is selected to be the stable multinomial.
n=Σ
i−1
m
p
i
(Formula 44)
Next, the adaptation to the case in which the C matrix has an uncertainty.
Consideration is given to the case in which the C matrix has such an uncertainty as to be expressed by c
i
=c
0i
+δ
i
i C
0i
, δ
i,min
≦δ
i
≦δ
i,max
, |δ
i
|<1, but the output y can be monitored directly. The δ value of the hyper-plane formula 28 can be obtained accurately, but the formula 46 or the formula 47 corresponding to the c
0i
is required to be used as the formula 45 in the control input formula 32. Then, the k
i
(x, t) of the formula 37 must be corrected similarly to the formula 48 so that the V becomes the Lyapunov function.
{tilde over (c)} (Formula 45)
{tilde over (c)}
0
(Formula 46)
{tilde over (B)}
0
(Formula 47)
k
i
(
x, t
)>∥{tilde over (c)}
0i
B∥L
(
x, t
)+(1+δ
i,min
)
−1
δ
i,max
|{dot over (r)}|
(Formula 48)
Next, the force control for the two-joint robot, to which the above-described control process is actually applied, will be described.
FIG. 6
shows the entire construction of this two-joint robot.
In
FIG. 6
, a vertical two-joint manipulator
1
moves the workpiece
3
so as to approach a grinding belt (a grindstone, a buff or the like) running in the same one direction (the approach motion). Thereafter, the groping motion is carried out under the position/position control or the position/resisting-force control until the workpiece
3
is completely contacted with the grinding surface
5
. It is designed that the grinding operation is practiced under the position/resisting-force control or the position/friction control.
Although the manipulator
1
is described as having a two-joint construction for simplifying the explanation, the application of the present invention should not be restricted to the two-joint construction.
It is defined that a mass of a first link
15
of the vertical two-joint manipulator
1
is m
1
, a mass of a second link
17
thereof is m
2
, a length from a first axis
11
to a second axis
13
is l
2
, a length from the second axis
13
to the grinding surface
5
is l
2
, a length from the first axis
11
to a center of gravity of the first link
15
is r
1
, and a length from the second axis
13
to a center of gravity of the second link
17
is r
2
. A base coordinate system of the vertical two-joint manipulator
1
is defined as Σ
B
, an operation coordinate system is defined as Σ
0P
the original point coordinate value of the Σ
B
in the Σ
0P
is defined as (X
A
, Y
A
) and a Z axial rotational angle of Σ
B
of the Σ
0P
is defined as θ
A
. The friction on the workpiece
3
is defined as F
t
.
It is further defined that the force F is comprised of the resisting force F
n
and the friction F
t
on the grinding surface
5
, and can be monitored using a force sensor.
F==[f
n
f
t
]
T
(Formula 49)
The workpiece coordinate value P in the operation coordinate system Σ
0P
is defined.
P=[p
x
p
y
]
T
(Formula 50)
If the elastic coefficient and the friction coefficient of the grinding surface are defined as k (=k
0
+Δk) and α (=α
0
+Δα), respectively, then the coefficient matrix K is expressed by the formula 51.
Although the M
X
and h
X0
are functions of q, the following description is directed to the case in which the A and B matrixes are obtained for such a operation that the workpiece is positioned near the original point of the Σ
0P
. The M
X0
in this case is expressed by the formula 52.
Note that the formula 53 stands.
|M
X0
|≠0 (Formula 53)
From the formulae 16 and 52, the A and B matrixes are expressed by the formulae 54 and 55, respectively.
The amount to be controlled depends on the control mode, and in the case of the position/position control it is expressed by the formula 56.
In the case of the position/resisting-force control, it is expressed by the followings.
If the depression in the normal direction and the positioning in the tangential direction are considered as the object to be controlled, the formula 58 is obtained using the formula 19 through the formula 57.
S
f
=[1 0], S
p
=[0 1] (Formula 57)
Next, in the case of the position/friction control, the amount to be controlled is expressed as follows.
If the positioning in the tangential direction while carrying out the friction control in the same direction is considered as the object to be controlled, the formula 60 is obtained using the formula 19 through the formula 60.
S
f
=[1 0], S
p
=[0 1] (Formula 59)
The control system design with respect to the formulae 56, 58 and 60 can be unified as being expressed by the formula 61 if the component in the first column and the first row in the right side coefficient matrix is temporally designed as the c
11
and finally returned to the original variable in accordance with each mode.
Note that, in the case where nominal values α
0
and k
0
of variables are used, the coefficient matrix and the element variable are denoted by C
0
and C
011
, respectively.
From the above-noted matrixes A, B and C, the control system is designed so that each control corresponds to the intended object. From the formulae 55 and 61, the formulae 62 and 63 are obtained.
det(CB)=0 (Formula 63)
Next, using the nominal parameter of the C matrix, the formula 64 stands.
Note that the formula 65 also stands.
n=Σ
i=1
n
p
i
=2+2=4 (Formula 65)
The incoherent matrixes are expressed by the formulae 66 and 67.
Note that the formula 68 is made nonsingular.
B*
0
(Formula 68)
From the formula 26, the formula 69 is introduced into the formula 70.
{overscore (C)}
0
(Formula 69)
On the other hand, it is necessary to provide the reference value r(t) as a variable related to the control mode to correspond to the output.
Each element in the following formula 72 is determined in accordance with the formula 71.
Note that if the monitoring output and the first-stage time-differential value of the reference value are used directly, then the switching function σ(t) indicative of the hyper-plane is obtained as being expressed by the formula 73 correspondingly to each control mode of the formula 71 even if an uncertain element exists in the C matrix.
The non-linear input gain k
i
(x, t) is expressed by the formula 74 from the formula 48, and the final joint driving torque τ of the manipulator
1
is expressed by the formula 75.
k
i
(
x, t
)>∥
{tilde over (c)}
0i
B∥L
(
x, t
)+(1+δ
i,min
)
−1
δ
i,max
|
{tilde over ({dot over (r)})}|
(Formula 74)
τ=J
r
T
{overscore (u)}=J=J
r
T
·(
u+h
X0
(
q,{dot over (q)}))=J
r
T
·(−
B*
−1
{tilde over (C)}AX+B*
−1{overscore (u)}+B
0*
−1
{tilde over (r)}+h
X0
(
q,{dot over (q)}))
(Formula 75)
FIG. 7
is a block diagram for the control system corresponding to the above description.
FIG. 8
shows, in detail, a compensator portion for carrying out the sliding mode control which is shown in FIG.
7
. In
FIG. 8
, the formula 76 is required to be switched appropriately in association with the control mode transition.
r, y, B
0*
−1
, {tilde over (C)}
0
, k
1
, k
2
(Formula 76)
A table in
FIG. 9
collectively shows corresponding variables to respective modes. That is, the values of variables shown in the table are switched for use during the actual control.
As described above, the sliding mode decoupling control method and the control system for the same are applied to the force control of the robot under the condition that the elastic coefficiency and the friction coefficiency of the contact surface
5
is varied. These are further extended so as to cope with the mode switching and the state transition associated therewith. Therefore, the smooth mode switching between the position control of the robot within the free space and the force/position control toward the contact surface
5
is made possible, so that even if the contact surface
5
has an unknown geometric error, the smooth mode switching can be achieved without the damage of the contact object and the workpiece
3
and the out-of-control of the robot.
Accordingly, the application of the present control method to the grinding process, the cutting process, or other works such as a peg-in-hole inserting a shaft into a hole makes it possible to realize the processing or assembling with high quality.
In addition, since the present control method is constructed on the basis of the operation conversion system, the present control method is usable not only for a serially connected conventional robot but also for a parallel connected robot manipulator and the like.
As described above, according to the present invention, the smooth mode switching for the robot between the position control in the free space and the force or position control to the contact surface can be achieved using the approach motion means, the groping motion means, the contact motion means and the leaving motion means. Further, the preliminarily setting of the estimated contact surface makes it possible to carry out the mode control without the damage of the contact object and the workpiece and the out-of-control of the robot even if the contact surface has an unknown geometric error.
Claims
- 1. A robot controller used for a processing work or an assembling work, which has a control system mode switching function, said robot controller comprising:approach motion means for preliminary setting an estimated contact surface which is the closest surface where a contact surface defining a restricted space and having a geometric error is expected to exist, and moving a workpiece or a predetermined portion of a processing or assembling machine to approach said estimated contact surface under a position control in the direction of at least two degrees of freedom; groping motion means for moving said workpiece or said predetermined portion of said processing or assembling machine under a position control in the direction of at least two degrees of freedom to approach an actual contact surface from said estimated surface reaching by said approach motion means at a preliminarily set approach speed equal to or less than a maximum collision speed; contact motion means for simultaneously carrying out a position control in the direction of at least one degree of freedom and a friction control in the direction of the same degree of freedom with respect to said contact surface reaching by the groping motion means; and leaving motion means for moving said workpiece on which at least a processing has been made by the contact motion means or said predetermined portion of said processing or assembling machine by which at least the processing has been made by the contact motion means to leave to a predetermined position under a position control in the direction of at least two degrees of freedom.
- 2. A robot controller having a control system mode switching function according to claim 1, wherein said groping motion means carries out a position control in the direction of at least one degree of freedom from said estimated contact surface reaching by said approach motion means to said actual contact surface, carries out a resisting-force control in the direction of another degree of freedom with respect to said contact surface, and transits to said contact motion means when a detected resisting force or frictional force is equal to or more than a preliminarily set threshold value.
- 3. A robot controller having a control system mode switching function according to claim 1 or 2, wherein said contact motion means simultaneously carries out a position control in the direction of at least one degree of freedom with respect to said contact surface reaching by said groping motion means, and a control of a resisting force belonging to the direction of another degree of freedom with respect to said contact surface.
- 4. A robot controller having a control system mode switching function according to any one of claims 1 to 3, wherein said robot controller has a sliding mode decoupling function designed correspondingly to variations in elasticity or friction coefficient of a contact object, and control modes for said position control in said direction of at least two degree of freedom, said position control in said direction of one degree of freedom and said friction control in the direction of the same degree of freedom, said position control in said direction of one degree of freedom and said control of said resisting force belonging to said direction of another degree of freedom with respect to said contact surface are respectively provided with control elements or compensators preliminarily designed for respective modes, so that said control elements or said compensators are selectable in association with switching from one to another among said approach motion means, said groping motion means, said contact motion means and said leaving motion means.
Priority Claims (1)
Number |
Date |
Country |
Kind |
10-207820 |
Jul 1998 |
JP |
|
US Referenced Citations (2)
Number |
Name |
Date |
Kind |
6040554 |
Terada et al. |
Mar 2000 |
|
6064168 |
Tao et al. |
May 2000 |
|