APPARATUS AND METHOD FOR ESTIMATING POSITION OF THE CENTER OF GRAVITY OF ROBOT

Abstract
A position of gravity of center of a load loaded to an industrial load is estimated. The robot has a robot arm driven horizontally. The robot arm includes first to fourth axis. Acceleration generated at the second axis during accelerated and decelerated intervals of each of three operation periods. In each operation period, the second axis is driven to move the robot arm from one initial position to one first estimating position and returns it from the estimating position to the initial position. During each operation period, the load is given a known mass, the fourth axis is positioned at a preset angle, and the first, third and fourth axes are the same in positions between the initial and estimating positions. The fourth-axis position is changed to different angles for every operation period. Based on calculated acceleration and known factors of the robot and load, the position is estimated.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application is based on and claims the benefit of priorities from earlier Japanese Patent Application No. 2017-117669 filed Jun. 15, 2017, the description of which is incorporated herein by reference.


BACKGROUND
Technical Field

The present invention relates to an apparatus and method for estimating the position of the center of gravity of a load amounted on the arm end of a robot, and in particular, to the apparatus and method which can preferably applied to an industrial robot of a horizontal 4-axis configuration.


Related Art

There is known a conventional technique for estimating the position of the center of gravity of a workpiece held as a load by the end of an arm of a vertical 6-axis robot arm. This technique is for example proposed by Japanese Patent No. 5327722.


In the configuration of the vertical 6-axis robot arm, the fifth axis can be activated to change a state where a force of gravity acts on a workpiece. It is thus possible to estimate the position of center of gravity of the workpiece. This foregoing estimation technique proposed by Japanese Patent No. 5327722 is based on the use of such a changing technique using the fifth axis, but this estimation technique cannot be used in robots which are horizontal 4-axis configuration robots, due to the fact that the state where a force of gravity acts on a workpiece cannot be changed.


SUMMARY

In view of this drawback, it is thus desired to provide a method and apparatus which can estimate the position of the center of gravity of a load mounted on the tip of an arm of a horizontal 4-axis configuration robot.


As an exemplary embodiment according to the disclosure, there is provided an apparatus for estimating a position of gravity of center of a load loaded to a robot, the robot being provided with a robot arm driven horizontally, the robot arm including four axes configured as first to fourth axis and having an end to which the load is loaded. The apparatus is provided with a first acceleration acquiring unit configured to acquire acceleration generated at the second axis during accelerated and decelerated intervals of a first operation period in which the second axis is driven such that the robot arm moves from a first initial position to a first estimating position and returns from the first estimating position to the first initial position, wherein during the first operation period, the load is given a known mass, the fourth axis is positioned at a first angle θa, and the first, third and fourth axes are the same in positions between the first initial and estimating positions; a first torque accruing unit configured to acquire acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval; a first inertia calculating unit configured to calculate inertia τI4a generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque;


a second acceleration acquiring unit configured to acquire acceleration generated at the second axis during accelerated and decelerated intervals of a second operation period in which the second axis is again driven such that the robot arm moves from a second initial position to a second estimating position and returns from the second estimating position to the second initial position, wherein during the second operation period, the load is given the same known mass, the fourth axis is positioned at a second angle θb (≠θa), and the first, third and fourth axes are the same in positions between the second initial and estimating positions; a second torque accruing unit configured to acquire acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval in the second operation period; a second inertia calculating unit configured to calculate inertia i4b generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque in the second operation period;


a third acceleration acquiring unit configured to acquire acceleration generated at the second axis during accelerated and decelerated intervals of a third operation period in which the second axis is again driven such that the robot arm moves from a third initial position to a third estimating position and returns from the third estimating position to the third initial position, wherein during the third operation period, the load is given the same known mass, the fourth axis is positioned at a third angle θc (≠θa, θb), and the first, third and fourth axes are the same in positions between the third initial and estimating positions; a third torque accruing unit configured to acquire acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval in the third operation period; a third inertia calculating unit configured to calculate inertia τI4c generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque in the third operation period; and


a center of gravity calculating unit configured to calculate a position of a center of gravity of the load on a plane based on a distance from the fourth axis to the load, a direction of the center of gravity from the fourth axis, amounts of the calculated inertia τI4a, τI4b and τI4c, and the first to third angles θc, θa, and θb of the fourth axis.


Accordingly, even in the horizontal four-axis industrial robot, it is possible to estimate, through easier estimating operations, a position of a center of gravity of a load loaded to the robot in an end-effector coordinate plane. Hence, this position information can be reflected in controlling the robot arm, whereby the arm control can be performed in a more reliable and precise manner even if loads being loaded to the robot have indefinite shapes or irregular densities.


It is preferred that, in the foregoing configuration, the first to third acceleration acquiring units sets, as the first to third angles θc, θa, and θb of the fourth axis, 0 degrees, 90 degrees, and −90 degrees in a coordinate set for an end effector holding the load. This configuration thus results in a simple and easier acceleration acquisition, while an amount of calculation, which is performed by a controller or a calculator, is reduced.


It is also preferred that the robot has a base at one end the first axis is provided, a base coordinate being set to the base and having a Z-axis direction along a height direction; the third axis is provided to link second and third arms composing part of the robot arm; and each of the first to third acceleration acquiring units is configured to calculate the acceleration and deceleration with the third axis in a state where the third axis is driven to an uppermost position in the height direction. By this configuration, vibration or shaking motions of a third link through which the third axis is realized can be prevented from being transmitted to the load which is now subject to the estimation, thereby making it possible to positionally estimate the center of gravity in a more reliable manner.


As another exemplary embodiment according to the disclosure, there is provided a method of estimating a position of gravity of center of a load loaded to a robot, which has similar features described above.





BRIEF DESCRIPTION OF THE DRAWINGS

In the accompanying drawings:



FIG. 1 is a flowchart showing part of the process explaining how to estimate the position of the center of gravity on a workpiece mounted on the end of a horizontal 4-axis configuration robot, according to an embodiment;



FIG. 2 is a flowchart showing the remaining part of the process explaining how to estimate the position of the center of gravity of the workpiece;



FIG. 3 is an illustration explaining how the arm behaves during the first motion period, by using a 4-axis arm model;



FIG. 4 is a graph showing a velocity waveform of the second axis;



FIG. 5 is a graph showing an acceleration waveform of the second axis;



FIG. 6 is a graph showing a torque waveform at the fourth axis;



FIG. 7 is an explanation explaining how the arm behaves during the second motion period, by using the 4-axis arm model;



FIG. 8 is an illustration explaining how the arm behaves during the third motion period, by using the 4-axis arm model;



FIG. 9 is a perspective diagram schematically showing an industrial robot system; and



FIG. 10 is an illustration showing the 4-axis arm model.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Hereinafter, with reference to FIGS. 1 to 10, a preferred embodiment will now be described according to an apparatus and method for estimating the position of the center of gravity of a load amounted on the arm end of an industrial robot.


First of all, by using FIG. 9, a whole system will be described. FIG. 9 shows a system configuration of one of ordinarily used industrial robots, in which a robot system 1 is provided. This robot system 1 is provided with an industrial robot 2, a controller 3 which controls motions of the robot 2, and a teaching pendant 4 communicably connected to the controller 3. The controller 3 can serve as a control apparatus and an estimation apparatus for estimating a center of gravity of a load attached to the robot 2.


The robot 2 is configured, for example, as a 4-axis horizontal multi-articulated robot, and is equipped with a base 5 fixedly mounted on an installation surface of, for example, a floor, a first arm 6 rotatably built on the base 5, a second arm 7 coupled with the first arm 6, and a shaft 8 linked with the second arm 7. To the base 5, as shown in FIG. 9, a three-dimensional base coordinate XTZ is set, in which the Z-axis direction is along the height direction of the robot 2.


Specifically, one longitudinal end portion of the first arm 6 is rotatably coupled with the base 5 via a first axis J1 which enables the first arm 6 to be rotated. The first axis J1 has a shaft center directed along the Z-axis direction which is set to be a vertical axis to the base 5. One longitudinal end portion of the second arm 7 is also rotatably coupled with the other longitudinal end portion of the first arm 6 via a second axis J2 which enables the second arm 7 to be rotated therearound relatively to the first arm 6. The second axis J2 also has a shaft center directed along the Z-axis direction. The shaft 8 is rotatably and vertical-movably arranged through the remaining longitudinal end portion of the second arm 7. A third axis J3 is arranged to move the shaft 8 up and down in the Z-axis direction, while a fourth axis J4 is arranged to enable rotation of the shaft 8. To a lower end portion of the shaft 8, a flange (or an end effector) 9 is detachably attached to the shaft 8 in a positionally adjusted manner.


A two-dimensional end-effector coordinate (or referred to as a flange coordinate) xy is set to the flange 9.


The base 5, the first arm 6, the second arm 7, the shaft 8 and the flange 9 serves, as a whole, as a robot arm of the robot 2, so that the flange 9 serves as a robot arm end portion. Hence, a tool, or a workpiece, can be attached to the flange 9. Such a tool is an air chuck 10. In the explanation shown in FIG. 7, the air chuck 10 is employed to suck a workpiece 11 which is a load to the robot. In effect, the workpiece 11 has an indefinite shape and its density is locally irregular, which needs to check the position of the center of gravity in the end-effector coordinate xy in order to raise control precision in controlling robot arm operations.


The respective axes J1 to J4 provided in the robot 2 are actually provided by central axes of the shafts of electric motors (not shown), which are arranged respectively to the axes J1 to J4. Closely to each of the motors, a sensor to detect both a rotation angle and a rotation speed is arranged, although not shown.


In general, industrial robots are driven according to predetermined operation programs made via a teaching conducted previously. The controller 3 complies with the operation programs to feedback control drive of each of the motors and control motions of the arms of the robot 2.


Hence, although not shown, the controller 3 is provided as a computer configuration provided with a processor (such as CPU) 3A performing control actions of the robot 2, a storage device (such as ROM) 3B, and other necessary components such as RAM (not shown). In the present embodiment, the storage device 3B, which serves as a non-transitory computer readable recording medium, is composed of, for example, semiconductor memory elements. When being activated, the processor 3A reads various programs from the storage device 3B, into which such programs are implemented beforehand, and executes steps defined in such programs, thereby functionally realizing the functions set forth in the present disclosure.


The teaching pendant 4 is formed into a size which allows a user to hold it by hand or bring it with the user, so that the teaching pendant 4 is formed into a flat, substantially rectangular plate shape. There are arranged key switches on the teaching pendant 4, for various user's input operations at the teaching pendant 4. The teaching pendant 4 is communicably connected to the controller 3 via a cable, and provided with a communication interface to establish fast data transfer to and from the controller 3. Various types of information signals, such as operation signals given by user's key switch operations, can thus be sent from the teaching pendant 4 to the controller 3.


How to estimate the position of the center of gravity of the workpiece 11 which including the tool will now be detained theoretically.



FIG. 10 shows a 4-axis arm model of the foregoing robot 2. In the present embodiment, the position of the center of gravity is estimated based on acceleration acting on the fourth axis, in response to having the second axis of the arms moved. Here it is assumed that the mass m of the workpiece 11 including the tool is known.


When the robot 2 is activated, an amount of toque τM applied to each of the electric motors can be expressed by the following formula (1):











τ
M

=




(


τ
I

+

τ
f

+

τ
G

+
Frc

)

Gear



(



M
I


ω

+


M
vis


ω


)


Gear

+

M
Frc



,




(
1
)







wherein τI: inertia toque, MI: inertia of motor, τf: centrifugal toque, Mvis: viscosity of motor, Gear: gear ratio, τG: gravity torque, MFrc: friction of motor, ω: angular velocity of motor, Frc: friction torque, ω(dot):=dω/dt: angular acceleration of motor.


In the following, the angular acceleration may be referred to simply as “acceleration”.


When the motor is driven based on an angular velocity pattern shown in FIG. 2, torque acting on the motor during an accelerated interval and a decelerated interval is referred as τMacc and τMdcc, and a difference between the torque amounts tMacc and τMdcc is calculated. By this difference calculation, terms depending on τf, Frc, Mvis, and MFrc are removed, so that terms τI and MI depending on the acceleration remain, as shown in the formula (2):











τ
Macc

-

τ
Mdec


=




τ
Iacc

-

τ
Idec


Gear

+



M
I



(



ω
.

acc

-


ω
.

dec


)



Gear






(
2
)







When the second axis is driven but the fourth axis is not driven, angular acceleration of the fourth axis becomes zero. Hence, inertia torque τI4 of the second axis can be expressed by the formula (3).










τ






I
4


=




τ

M





4

acc


-

τ

M





4

dec





(



ω
.

acc

-


ω
.

dec


)


Gear


=


m






l
h



L
2



cos


(


θ
4

+

θ
h


)



+

I

z





4








(
3
)







In a case where the angle of the fourth axis is set to each of mutually-different angles θa, θb, and θc and in this each setting state, the robot arm is driven in the same motion, differences between inertia Ia, Ib, and Ic of the fourth axis can be expressed by the formulas (4) and (5), such that:















I
a

-

I
b


=



m






l
h



L
2



{


cos


(


θ
a

+

θ
h


)


-

cos


(


θ
b

+

θ
h


)



}








=



m






l
h



L
2



{



(


cos






θ
a


-

cos






θ
b



)


cos






θ
h


-


(


sin






θ
a


-

sin






θ
b



)


sin






θ
h



}











(
4
)








I
a

-

I
c


=

m






l
h



L
2



{



(


cos






θ
a


-

cos






θ
c



)


cos






θ
h


-


(


sin






θ
a


-

sin






θ
c



)


sin






θ
h



}






(
5
)







The positional coordinate xcog, ycog of the center of gravity of the workpiece 11, which are desired, is expressed by the formula (6), such that:






x
cog
=I
h·cos θh






y
cog
=I
h·sin θh  (6)


Using the formulas (4) and (5), this formula (6) can be developed into the following formulas (7) and (8).















l
h


sin






θ
h


=




(


cos






θ
a


-

cos






θ
c



)



(


I
a

-

I
b


)


-


(


cos






θ
a


-

cos






θ
b



)



(


I
a

-

I
c


)





{



(


cos






θ
a


-

cos






θ
b



)



(


sin






θ
a


-

sin






θ
c



)


-


(


sin






θ
a


-

sin






θ
b



)



(


cos






θ
a


-

cos






θ
c



)



}


m










=

y
cog








(
7
)












l
h


cos






θ
h


=




(


sin






θ
a


-

sin






θ
c



)



(


I
a

-

I
b


)


-


(


sin






θ
a


-

sin






θ
b



)



(


I
a

-

I
c


)





{



(


cos






θ
a


-

cos






θ
b



)



(


sin






θ
a


-

sin






θ
c



)


-


(


sin






θ
a


-

sin






θ
b



)



(


cos






θ
a


-

cos






θ
c



)



}


m








=

x
cog










(
8
)







When θa=0, θb=π/2, and θc=−π/2 are substituted into the formulas (7) and (8), these formulas (7) and (8) can be simplified as follows:











l
h


sin






θ
h


=




I
c

-

I
b


m

=

y
cog






(
9
)








l
h


cos






θ
h


=




2


I
a


-

I
b

-

I
c


m

=

x
cog






(
10
)







With reference to FIGS. 1-8, operations of the system according to the present embodiment, which is based on the foregoing theoretical principal, will now be described.



FIGS. 1 and 2 show flowcharts for a process used for estimating the position of the center of gravity. This process is executed by the controller 3.


First, the arm of the robot 2 is driven to move to a first intimal position (step S1). By way of example, as shown in FIG. 3, this first initial position is set to





(J1,J2,J3,J4)=J(0,−40,220,0),


in which the values “0, −40, 220, 0” are expressed as “θ values” (hereinafter the same expression as this is employed) and “J3=220” shows that the third axis is moved to its uppermost end position, i.e., the uppermost allowable limit position Zmax (refer to FIG. 9) in the height Z-axis direction, which attitude provides Oa to the fourth axis.


The arm is then driven to start a first operation such that the arm is driven to take its first estimating position, and driven to return to the first initial position (step S2). For example, the first estimating position is given as:






J(0,40,220,0).


In this state, the fourth axis is kept at its initial position, that is, J4a=0.


Then, the processing proceeds to step S3 where an acceleration waveform at the second axis and a torque waveform at the fourth axis are subjected to their sampling operations during a first operation period defined by a period of time necessary for the arm to arrive at the first estimating position (an operation (1)) and a period of time necessary for the arm to return to the first initial position from the first estimating position (an operation (2)). Such waveforms are exemplified as in FIGS. 4 and 5. Averaging the waveforms in the operations (1) and (2) during the first operation period makes it possible to provide a waveform with the friction force factor removed.


Then, based on the obtained acceleration waveform, acceleration at the second axis in the accelerated and decelerated intervals, which are referred as ω(dot)2aa and ω(dot)2ad, are acquired by reverse-conversion of the acquired wave forms (step S4). The process at step S4 functionally corresponds to a first acceleration acquiring unit. Furthermore, based on the obtained torque waveform, acceleration torque of the fourth axis in the accelerated and decelerated intervals, which are referred as τ4aa and τ4ad, are acquired (step S5). The process at step S5 functionally corresponds to a first torque acquiring unit. The acceleration values at the second axis and the torque values at the fourth axis, which have been acquired at steps S4 and S5, are substituted into a formula (11) to calculate inertia, τI4a, at the fourth axis (step S6).










τ






I

4

a



=



τ

4

aa


-

τ

4

ad





(



ω
.


2

aa


-


ω
.


2

ad



)


Gear






(
11
)







The arm is then driven to move to a second initial position (step S7). This second initial position is set as a position defined by moving only the fourth-axis position from θa to θb=90 degrees at the first initial position, that is, the second initial position is, for instance,






J(0,−40,220,90).


The arm is further driven to perform a second operation (step S8). As shown in FIG. 7, a second estimating position is set as a position defined by moving only the fourth-axis position to θb=90 degrees at the first estimating position, which is






J(0,40,220,90).


Equivalently to the first operation period, a second operation period is defined as a duration necessary to move the arm from the second estimating position to the second initial position.


Steps S9 to S12 follows subsequently, which are processed in the same way as the foregoing steps S3 to S6, but directed to the second operation period. Hence, the process at step S10 provides values of acceleration of the second axis, ω(dot)2ba and ω(dot)2bd, and the process at step S11 provides values of torque of the fourth axis, τ4ba and τ4bd. The step S10 functionally realizes a second acceleration acquiring unit, while the step S11 functionally realizes a second torque acquiring unit. By substituting the value of acceleration of the second axis acquired at step S10 and the value of torque of the fourth axis acquired at step S11 into the following formula (12) to calculate inertia of the fourth axis, τI4b (step S12):










τ






I

4

b



=



τ

4

ba


-

τ

4

bd





(



ω
.


2

ba


-


ω
.


2

bd



)


Gear






(
12
)







The arm is again driven to move to a third initial position (step S13). This third initial position is set as a position defined by moving only the fourth-axis position from θa to θc=−90 degrees at the first initial position, that is, the third initial position is, for instance,






J(0,−40,220,−90).


The arm is further driven to perform a third operation (step S14). As shown in FIG. 8, a third estimating position is set as a position defined by moving only the fourth-axis position to θc=−90 degrees at the first estimating position, which is






J(0,40,220,−90).


Equivalently to the first operation period, a third operation period is defined as a duration necessary to move the arm from the third estimating position to the third initial position.


Steps S15 to S18 follows subsequently, which are processed in the same way as the foregoing steps S3 to S6, but directed to the third operation period. Hence, the process at step S16 provides values of acceleration of the second axis, ω(dot)2ca and ω(dot)2cd, and the process at step S17 provides values of torque of the fourth axis, τ4ca and τ4cd. The step S16 functionally realizes a third acceleration acquiring unit, while the step S17 functionally realizes a third torque acquiring unit. By substituting the value of acceleration of the second axis acquired at step S16 and the value of torque of the fourth axis acquired at step S17 into the following formula (13) to calculate inertia of the fourth axis, τI4c (step S18):










τ






I

4

c



=



τ

4

ca


-

τ

4

cd





(



ω
.


2

ca


-


ω
.


2

c





d



)


Gear






(
13
)







In the present embodiment, when the angles θa, θb and θc of the fourth axis are selected as 0 degrees, 90 degrees, and −90 degrees respectively, the determining process at step S19 is YES. In this case, the processing proceeds to step S20, at which the foregoing formulas (9) and (10) are used to calculate Ih cos θh and Ih sin θh. It is thus possible to perform the process at step S21, at which the formula (6) is used to calculate the position (xcog, ycog) of center of gravity of the workpiece 11.


Meanwhile, in contrast to the above, when the angles θa, θb and θc of the fourth axis are selected as 0 degrees, 90 degrees, and −90 degrees respectively, the determining process at step S19 becomes NO. In this case, the foregoing formulas (7) and (8) are used to calculate Ih cos θh and Ih sin θh (step S22). Furthermore, in the same manner as the above, the formula (6) is used to calculate the position of the center of gravity, (xcog, ycog) of the workpiece 11 in the end-effecter coordinate xy (step S22). In using the formulas (9) and (10), or, (7) and (8), the amounts of the fourth-axis inertia Ia, Ib, and Ic are replaced by the mounts of fourth-axis inertia τI4a, τI4b, and τI4c, respectively, calculated by the formulas (11), (12) and (13).


Hence, the steps S19 to S22 functionally realize a gravity-center position calculating unit.


If there is an error between the actual position of center of gravity of the workpiece 11 and the position of center of gravity, (xcog, ycog), actually calculated in the present embodiment, correction coefficients depending on an amount of the error can be used for correcting the position.


As described in the present embodiment, in a state where the arm of the horizontal four-axis robot 2 has a known workpiece 11 (its mass m) attached to the end of the robot 2, the controller 3 drives the arm to acquire the acceleration of the second axis in each of the accelerated and decelerated intervals for the first operation period. The first operation period is defined as a period necessary for movement from the first initial position at which the fourth-axis position is θa, to the first estimating position realized by moving the second axis, and a period necessary for return from the first estimating position to the first initial position.


The controller 3 then acquires acceleration torque of the fourth axis in the accelerated interval and deceleration torque of the fourth axis in the decelerated interval, and calculates inertia τI4a around the fourth axis based on the acceleration in each of the accelerated and decelerated intervals, the acceleration torque, and the deceleration torque.


In addition, the controller 3 performs the second operation to acquire the acceleration of the second axis in each of the accelerated and decelerated intervals in the second operation period. The second operation enables the second axis to be operated from the second initial position realized by changing the fourth-axis position to θb at the first initial position. As to the second operation period, by the controller 3, amounts of the acceleration and deceleration torque of the fourth axis are acquired, and an amount of the inertial τI4b around the fourth axis is calculated, in the same manner as obtaining the first torque.


The controller 3 further performs the third operation to acquire the acceleration of the second axis in each of the accelerated and decelerated intervals in the third operation period. The third operation enables the second axis to be operated from the third initial position realized by changing the fourth-axis position to θc at the first initial position. As to the third operation period, by the controller 3, amounts of the acceleration and deceleration torque of the fourth axis are acquired, and an amount of the inertia τI4c around the fourth axis is calculated. Then, by the controller 3, based on the foregoing known and calculated amounts of Ih, θh, τI4a, τI4b, τI4c, θa, θb, and θc, the position of center of gravity (xcog, ycog) of the workpiece 11 is calculated.


In other words, the fourth axis of the arm provided with the load is moved to each of the three different fourth-axis positions, whereby the load is moved horizontally in the same manner, which causes acceleration at the fourth axis (i.e., physically, the fourth link). Based on the acceleration applied to the fourth axis at each of the three different fourth-axis positions, amounts of inertia τI4a, τI4b and τI4c are calculated. These inertia amounts τI4a, τI4b and τI4c and the fourth-axis positions θa, θb, and θc are then subjected to acquisition of the position of center of gravity, i.e., the gravity center position, (xcog, ycog), of the workpiece 11. It is thus possible to estimate the gravity center position of the workpiece 11 in the horizontal plane (i.e., the end-effector coordinate xy) in a robot provided with an arm configuration including the four axes (i.e., four joints). Accordingly, even in the four-axis horizontal multi-joint robot, the center of gravity of a workpiece can positionally be estimated in a reliable manner, thus making it possible to precisely control actions of the robot arm in its operation.


Practically, the fourth axis (i.e., the fourth joints) is moved to angles θa=0 degrees, θb=90 degrees, and θc=−90 degrees, respectively, which enables use of the formulas (9) and (10) to calculate the gravity center position (xcog, ycog) in an easier manner, which thus simplifies the calculation for the positional estimation. In addition, the fourth axis is moved with the third axis (joint) positionally fixed at the upper end position, with the result that, during arm movement to each of the first and second estimating positions, vibrations caused in the workpiece by the third axis can be suppressed. This suppression will lead to higher estimation precision in obtaining the gravity center position.


The present invention described above is not limited to the above-described embodiment, but can be developed to various other embodiments without departing from the spirit thereof.


For example, the angles θa=0 degrees, θb=90 degrees, and θc=−90 degrees to each of which the fourth axis is moved not be limited to such relationships between the angle positions and the angles, but changed to other angular relationships. As another example, the angle amounts θ can be changed to other amounts described in the embodiment.


Further, the initial positions and estimating positions can also be changed to other positions.


Still further, the third axis (joint) cannot always be set at the upper end position if the robot is used in a condition that there is no or almost no influence of vibrations caused by the third axis. In such cases, the third axis, practically the shaft 8, can be lowered in the Z-axis direction during the estimation actions.


Still further, the execution order between the foregoing second and third steps can be interchanged to each other, and in the same manner, the execution order between the foregoing fifth and sixth steps can be interchanged to each other and the execution order of the foregoing eighth and ninth steps can also be exchanged with each other.

Claims
  • 1. An apparatus for estimating a position of gravity of center of a load loaded to a robot, the robot being provided with a robot arm driven horizontally, the robot arm including four axes configured as first to fourth axis and having an end to which the load is loaded, the apparatus comprising: a first acceleration acquiring unit configured to acquire acceleration generated at the second axis during accelerated and decelerated intervals of a first operation period in which the second axis is driven such that the robot arm moves from a first initial position to a first estimating position and returns from the first estimating position to the first initial position, wherein during the first operation period, the load is given a known mass, the fourth axis is positioned at a first angle θa, and the first, third and fourth axes are the same in positions between the first initial and estimating positions;a first torque accruing unit configured to acquire acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval;a first inertia calculating unit configured to calculate inertia τI4a generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque;a second acceleration acquiring unit configured to acquire acceleration generated at the second axis during accelerated and decelerated intervals of a second operation period in which the second axis is again driven such that the robot arm moves from a second initial position to a second estimating position and returns from the second estimating position to the second initial position, wherein during the second operation period, the load is given the same known mass, the fourth axis is positioned at a second angle θb (≠θa), and the first, third and fourth axes are the same in positions between the second initial and estimating positions;a second torque accruing unit configured to acquire acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval in the second operation period;a second inertia calculating unit configured to calculate inertia τI4b generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque in the second operation period;a third acceleration acquiring unit configured to acquire acceleration generated at the second axis during accelerated and decelerated intervals of a third operation period in which the second axis is again driven such that the robot arm moves from a third initial position to a third estimating position and returns from the third estimating position to the third initial position, wherein during the third operation period, the load is given the same known mass, the fourth axis is positioned at a third angle θc (≠θa, θb), and the first, third and fourth axes are the same in positions between the third initial and estimating positions;a third torque accruing unit configured to acquire acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval in the third operation period;a third inertia calculating unit configured to calculate inertia τI4c generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque in the third operation period; anda center of gravity calculating unit configured to calculate a position of a center of gravity of the load on a plane based on a distance from the fourth axis to the load, a direction of the center of gravity from the fourth axis, amounts of the calculated inertia τI4a, τI4b and τI4c, and the first to third angles θc, θa, and θb of the fourth axis.
  • 2. The apparatus of claim 1, wherein the first to third acceleration acquiring units are configured to set, as the first to third angles θc, θa, and θb of the fourth axis, 0 degrees, 90 degrees, and −90 degrees in a coordinate set for an end effector holding the load.
  • 3. The apparatus of claim 1, wherein the robot has a base at one end the first axis is provided, a base coordinate being set to the base and having a Z-axis direction along a height direction; the third axis is provided to link second and third arms composing part of the robot arm; andeach of the first to third acceleration acquiring units is configured to calculate the acceleration and deceleration with the third axis in a state where the third axis is driven to an uppermost position in the height direction.
  • 4. The apparatus of claim 2, wherein the robot has a base at one end the first axis is provided, a base coordinate being set to the base and having a Z-axis direction along a height direction; the third axis is provided to link second and third arms composing part of the robot arm; andeach of the first to third acceleration acquiring units is configured to calculate the acceleration and deceleration with the third axis in a state where the third axis is driven to an uppermost position in the height direction.
  • 5. A method of estimating a position of gravity of center of a load loaded to a robot, the robot being provided with a robot arm driven horizontally, the robot arm including four axes configured as first to fourth axis and having an end to which the load is loaded, comprising: first acquiring acceleration generated at the second axis during accelerated and decelerated intervals of a first operation period in which the second axis is driven such that the robot arm moves from a first initial position to a first estimating position and returns from the first estimating position to the first initial position, wherein during the first operation period, the load is given a known mass, the fourth axis is positioned at a first angle θa, and the first, third and fourth axes are the same in positions between the first initial and estimating positions;first acquiring acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval;first calculating inertia τI4a generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque;second acquiring acceleration generated at the second axis during accelerated and decelerated intervals of a second operation period in which the second axis is again driven such that the robot arm moves from a second initial position to a second estimating position and returns from the second estimating position to the second initial position, wherein during the second operation period, the load is given the same known mass, the fourth axis is positioned at a second angle θb(≠θa), and the first, third and fourth axes are the same in positions between the second initial and estimating positions;second accruing acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval in the second operation period;second calculating inertia τI4b generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque in the second operation period;third acquiring acceleration generated at the second axis during accelerated and decelerated intervals of a third operation period in which the second axis is again driven such that the robot arm moves from a third initial position to a third estimating position and returns from the third estimating position to the third initial position, wherein during the third operation period, the load is given the same known mass, the fourth axis is positioned at a third angle θc (≠θa, θb), and the first, third and fourth axes are the same in positions between the third initial and estimating positions;third accruing acceleration torque generated at the fourth axis during the accelerated interval and deceleration torque generated at the fourth axis during the decelerated interval in the third operation period;third calculating inertia τI4c generated around the fourth axis based on the acceleration in both the accelerated and decelerated intervals, the acceleration torque and the decelerated torque in the third operation period; andcalculating a position of a center of gravity of the load on a plane based on a distance from the fourth axis to the load, a direction of the center of gravity from the fourth axis, amounts of the calculated inertia τI4a, τI4b and τI4c, and the first to third angles θc, θa, and θb of the fourth axis.
  • 6. The method of claim 5, wherein the first to third acceleration acquiring steps set, as the first to third angles θc, θa, and θb of the fourth axis, 0 degrees, 90 degrees, and −90 degrees in a coordinate set for an end effector holding the load.
  • 7. The method of claim 5, wherein the robot has a base at one end the first axis is provided, a base coordinate being set to the base and having a Z-axis direction along a height direction; and the third axis is provided to link second and third arms composing part of the robot arm,wherein each of the first to third acceleration acquiring step calculates the acceleration and deceleration with the third axis in a state where the third axis is driven to an uppermost position in the height direction.
  • 8. The method of claim 6, wherein the robot has a base at one end the first axis is provided, a base coordinate being set to the base and having a Z-axis direction along a height direction; and the third axis is provided to link second and third arms composing part of the robot arm,wherein each of the first to third acceleration acquiring step calculates the acceleration and deceleration with the third axis in a state where the third axis is driven to an uppermost position in the height direction.
Priority Claims (1)
Number Date Country Kind
2017-117669 Jun 2017 JP national