A sinusoidal command is added to a torque command of a controller to acquire a velocity and a current value of an electric motor. An estimated coupling torque value is calculated by calculating an input torque value from the current value and a torque constant of the electric motor and further calculating a coupling torque value from a velocity difference, motor inertia, and the input torque. An estimated torque error is then calculated from the estimated coupling torque value and the coupling torque value, and inertia, friction, and a spring constant are estimated from the estimated torque error, the velocity, and the coupling torque value.

Patent
   8872463
Priority
Jul 27 2011
Filed
Jun 11 2012
Issued
Oct 28 2014
Expiry
Nov 14 2032
Extension
156 days
Assg.orig
Entity
Large
2
19
currently ok
1. An electric motor controller for controlling an electric motor configured to drive a driven body of a machine tool or industrial machinery, wherein the driven body and the electric motor are coupled to each other by a coupling shaft which has resonance characteristics including a spring, in a servo system including a ball screw and/or decelerator that is estimated as a model of torque from inertia, friction and a spring of motion of the driven body, the controller comprising:
a command unit configured to add an M-sequence command or a sinusoidal command to a position command, a velocity command, or a torque command of the controller;
a current value acquiring unit configured to acquire a current value of a current flowing through the electric motor for each sampling period;
an input torque calculating unit configured to calculate an input torque value of an input torque to the driven body based on the current value and a torque constant of the electric motor;
a velocity acquiring unit configured to acquire a velocity of the electric motor for each sampling period;
a coupling torque calculating unit configured to calculate a coupling torque value of a coupling torque produced by a difference between motion of the electric motor and the motion of the driven body, based on
a difference between a velocity acquired by the velocity acquiring unit during a present sampling period and a velocity acquired by the velocity acquiring unit during a previous sampling period,
inertia of the electric motor, and
the input torque value calculated by the input torque calculating unit;
an estimated coupling torque calculating unit configured to
estimate
an inertia of the driven body,
a viscous friction coefficient of the driven body,
a Coulomb's friction coefficient of the driven body, and
a spring constant of the spring of the coupling shaft, and calculate an estimated coupling torque value from
the velocity of the electric motor,
the coupling torque value,
the estimated inertia of the driven body,
the estimated viscous friction coefficient of the driven body,
the estimated Coulomb's friction coefficient of the driven body, and
the estimated spring constant of the spring of the coupling shaft;
an estimated torque error calculating unit configured to calculate an estimated torque error from a difference between the coupling torque value and the estimated coupling torque value; and
a correcting unit configured to correct (i) the estimated inertia, (ii) the estimated viscous friction coefficient, (iii) the estimated Coulomb's friction coefficient, and (iv) the estimated spring constant for each sampling period, by using the velocity and the coupling torque value, so that the estimated torque error calculated by the estimated torque error calculating unit is minimum.
2. The electric motor controller according to claim 1, wherein the estimated coupling torque calculating unit is configured to obtain the estimated coupling torque value based on:
a product of the estimated inertia and the difference between the velocity acquired for the current sampling period and the velocity acquired for the previous sampling period;
a product of the velocity acquired for each sampling period and the estimated viscous friction coefficient of the driven body;
a product of a polarity of the velocity acquired for each sampling period and the estimated Coulomb's friction coefficient of the driven body;
a product of a reciprocal of the estimated spring constant and a second-order difference of coupling torque values; and
a product of the estimated viscous friction coefficient of the driven body, the reciprocal of the estimated spring constant, and a difference in the coupling torque values.
3. The electric motor controller according to claim 1, wherein
the correcting unit is configured to correct the estimated inertia of the driven body, the estimated viscous friction, the estimated Coulomb's friction coefficient, and the estimated spring constant for each sampling period by using (a) the velocity of the electric motor, (b) the coupling torque value, and (c) an accommodation coefficient so that the estimated torque error calculated by the estimated torque error calculating unit is minimum, and
the accommodation coefficient is inversely proportional to magnitudes of the velocity and the coupling torque value and has a dead zone in which the accommodation coefficient is zero when the velocity is equal to or lower than a predetermined value.
4. The electric motor controller according to claim 1, wherein the estimated coupling torque calculating unit is configured to calculate the estimated coupling torque value based on
an estimated velocity of the driven body,
the velocity of the electric motor,
the coupling torque value,
the estimated inertia of the driven body,
the estimated viscous friction of the driven body,
the estimated Coulomb's friction of the driven body, and
the estimated spring constant of the spring of the coupling shaft.
5. The electric motor controller according to claim 4, wherein
the estimated velocity of the driven body is obtained using
the velocity of the electric motor acquired for each sampling period,
the coupling torque value, and
the estimated spring constant at the time of the previous sampling period.
6. The electric motor controller according to claim 2, wherein
the correcting unit is configured to correct the estimated inertia of the driven body, the estimated viscous friction, the estimated Coulomb's friction coefficient, and the estimated spring constant for each sampling period by using (a) the velocity of the electric motor, (b) the coupling torque value, and (c) an accommodation coefficient so that the estimated torque error calculated by the estimated torque error calculating unit is minimum, and
the accommodation coefficient is inversely proportional to magnitudes of the velocity and the coupling torque value and has a dead zone in which the accommodation coefficient is zero when the velocity is equal to or lower than a predetermined value.

The present application is based on, and claims priority from, Japanese Application Number 2011-164503, filed Jul. 27, 2011 and Japanese Application Number 2011-249061, filed Nov. 14, 2011, the disclosures of which are hereby incorporated by reference herein in their entirety.

1. Field of the Invention

The present invention relates to an electric motor controller that uses an electric motor to control driving of a driven body of a machine tool or industrial machinery and, in particular, to an electric motor controller having a function for simultaneously estimating inertia, friction, and a spring of the driven body.

2. Description of the Related Art

Learning magnitudes of inertia and friction of a driven body that is driven by an electric motor is not only important when determining machining conditions of a machine tool or the like but is also important for accurately controlling a drive shaft that drives the driven body.

For example, when determining acceleration and deceleration constants of a command as a machining condition, the magnitudes of inertia and friction must be accurately known in order to fully exploit the accelerating ability of the electric motor. In addition, regarding control, magnitudes of inertia and friction must be accurately known in order to calculate a gain that determines responsiveness of velocity control. Furthermore, robustness of a servo can be enhanced by constructing a disturbance observer using values of inertia and friction.

An electric motor controller comprising a function for simultaneously estimating inertia and friction is disclosed in Japanese Patent Application Laid-open No. 2011-072178. The controller specifically estimates controlled object parameters including nonlinear friction. The technique disclosed in Japanese Patent Application Laid-open No. 2011-072178 targets so-called one-inertial systems in which a controlled object is assumed as being a rigid body, and no disclosures are made in regards to controlled objects having spring characteristics. Many driven bodies in machine tools and industrial machinery cannot be treated as complete rigid bodies. Therefore, when a rigid body is assumed as a controlled object of estimation as is the case of the technique disclosed in Japanese Patent Application Laid-open No. 2011-072178, a problem arises in that the controlled object is limited to rigid bodies or estimation accuracy deteriorates when the controlled object is not a rigid body.

A technique in which a controlled object is assumed as being a resonance model and parameters of the controlled object are estimated by an iterative least square technique is disclosed in Japanese Patent Application Laid-open No. 2008-228360. The technique disclosed in Japanese Patent Application Laid-open No. 2008-228360 has a problem in that estimated friction is limited to linear friction and that nonlinear friction cannot be estimated.

With the foregoing in view, it is an object of the present invention to provide an electric motor controller capable of simultaneously estimating, in real-time, inertia, nonlinear friction, and a spring of a controlled object.

An electric motor controller according to the present invention has a function for simultaneously estimating inertia, friction, and a spring, wherein an electric motor, which is a controlled object, drives a driven body of a machine tool or industrial machinery, the electric motor and the driven body are coupled to each other by a coupling shaft having resonance characteristics including a spring. In addition, and the controller includes: a command unit that adds an M-sequence command or a sinusoidal command to a position command, a velocity command, or a torque command of the controller; a current value acquiring unit that acquires a value of a current flowing through the electric motor for each sampling period; an input torque calculating unit that calculates a value of an input torque to the driven body based on the current value and a torque constant of the electric motor; a velocity acquiring unit that acquires a velocity of the electric motor for each sampling period; a coupling torque calculating unit that calculates a value of a coupling torque applied to the electric motor based on a difference between a velocity acquired by the velocity acquiring unit during a present sampling and a velocity acquired by the velocity acquiring unit during a previous sampling, the inertia of the electric motor, and the input torque value calculated by the input torque calculating unit; an estimated coupling torque calculating unit which estimates inertia, viscous friction, and Coulomb's friction of the driven body and a spring constant of the spring of the coupling shaft based on the velocity of the electric motor and the coupling torque value, and which estimates the coupling torque value from the estimated inertia, the estimated viscous friction, and the estimated Coulomb's friction of the driven body and the estimated spring constant; an estimated torque error calculating unit that calculates an estimated torque error by subtracting the estimated coupling torque value estimated by the estimated coupling torque calculating unit from the coupling torque value calculated by the coupling torque calculating unit; and a correcting unit that corrects the estimated inertia, the estimated viscous friction, the estimated Coulomb's friction, and the estimated spring constant for each sampling period so that the estimated torque error calculated by the estimated torque error calculating unit is minimum.

The estimated coupling torque value can be obtained based on: a product of a difference in velocity of the electric motor that is acquired for each sampling period and the estimated inertia; a product of a velocity acquired for each sampling period and the estimated viscous friction of the driven body; a product of a polarity of a velocity acquired for each sampling period and an estimated Coulomb's friction of a load; a product of a second-order difference of the coupling torque value and a reciprocal of the estimated spring constant; and a product of a difference of the coupling torque value, a reciprocal of the estimated inertia, the estimated viscous friction, and the estimated spring constant.

The correcting unit corrects the estimated inertia, the estimated viscous friction, the estimated Coulomb's friction, and the estimated spring constant for each sampling period by using a velocity of the electric motor, the coupling torque value, and an accommodation coefficient so that the estimated torque error calculated by the estimated torque error calculating unit is minimum, and the accommodation coefficient is inversely proportional to magnitudes of the velocity and the coupling torque value and may have a dead zone in which the accommodation coefficient is zero when the velocity is equal to or lower than a predetermined value.

The estimated coupling torque calculating unit is capable of calculating an estimated coupling torque value based on an estimated velocity of the driven body, a velocity of the electric motor, the coupling torque value, the estimated inertia of the driven body, the estimated viscous friction of the driven body, the estimated Coulomb's friction of the driven body, and the estimated spring constant.

An estimated velocity of the driven body can be obtained using a velocity of the electric motor acquired for each sampling period, the coupling torque value, and the estimated spring constant at the time of a previous sampling.

According to the present invention, an electric motor controller which comprises a function for simultaneously estimating inertia, friction, and a spring and which is capable of estimating, in real-time, inertia, nonlinear friction, and a spring can be provided.

The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee. The above and other objects and features of the present invention will become apparent from a reading of the following description of the preferred embodiments by reference to the accompanying drawings, wherein:

FIG. 1 is a block diagram showing a configuration of a control system;

FIG. 2 is a block diagram illustrating a configuration of a servo controller shown in FIG. 1;

FIG. 3 is a diagram illustrating a controlled object by way of modeling;

FIG. 4 is a block diagram illustrating a configuration of an estimating unit shown in FIG. 3;

FIGS. 5A and 5B are diagrams illustrating the addition of a sinusoidal command to a position command (FIG. 5A) or to a velocity command (FIG. 5B) by a sinusoidal command unit, and FIG. 5C is a diagram illustrating the addition of a sinusoidal command to a torque command by the sinusoidal command unit in the same manner as shown in FIG. 2;

FIGS. 6A to 6C are diagrams illustrating the addition of an M-sequence command to a position command (FIG. 6A), to a velocity command (FIG. 6B), or to a torque command (FIG. 6C) by an M-sequence command generating unit;

FIG. 7 is a diagram illustrating a change in coefficients in Formula (1) from a case where a velocity dead zone is provided to a case where a velocity dead zone is not provided;

FIG. 8 is a flow chart of an estimation process of inertia, friction, and a spring constant performed by a servo control unit including an estimating unit;

FIG. 9 is a block diagram illustrating a mechanical model;

FIG. 10 is a block diagram illustrating a simplified mechanical model; and

FIG. 11 is a diagram illustrating a simplified friction model having nonlinear characteristics.

FIG. 1 is a block diagram showing a configuration of a control system.

As shown in FIG. 1, an object that is directly controlled by a controller according to the present invention is an electric motor 2 that operates a driven body 4. For example, the electric motor 2 is used as a drive force for changing a position or a posture of a table holding a workpiece in a machine tool or industrial machinery or as a drive source for driving a rotation of a robot arm.

The electric motor 2 and the driven body 4 are coupled to each other by a coupling shaft 6. The coupling shaft 6 has resonance characteristics including a spring. For example, the coupling shaft 6 is a mechanism consisting of a ball screw and a nut which transforms a rotational motion into a linear motion, and further includes a decelerator. For example, the controlled object 1 including the driven body 4 also includes a table or a robot arm that holds a workpiece in a machine tool or industrial machinery and the workpiece that is attached and detached by the table or the arm, as well as motion parts such as the coupling shaft 6 and the electric motor 2 itself. Hereinafter, the motion parts of the electric motor 2, the coupling shaft 6, and the driven body 4 will be collectively referred to as the controlled object 1.

The controlled object 1 including the driven body 4 has frictional characteristics consisting of viscous friction and Coulomb's friction, and spring characteristics. A description will be provided later by modeling the controlled object 1 using FIG. 2.

A servo controller 10 controls a position, a velocity, and a torque of the electric motor 2. The servo controller 10 is connected to a higher-level controller 20 such as a CNC (numerical controller) which outputs commands related to a position, a velocity, and a torque of the electric motor 2 in accordance with a work schedule. Moreover, a plurality of servo controllers 10 may be connected to the higher-level controller 20. The higher-level controller 20 functions to transmit a start signal to a sinusoidal command generating unit 40 (refer to FIGS. 2 and 5A to 5C) or an M-sequence command generating unit 41 (refer to FIGS. 6A to 6C) and an estimating unit 30 of the servo controller 10.

FIG. 2 is a block diagram illustrating a configuration of the servo controller 10 shown in FIG. 1 in greater detail.

As shown in FIG. 2, the servo controller 10 comprises a position control unit 11, a velocity control unit 12, a current control unit 13, and an amplifier 14. Based on a position gain Kp and a velocity gain Kv respectively set to the position control unit 11 and the velocity control unit 12, the servo controller 10 operates in correspondence to a command signal from the higher-level controller 20 and a feedback signal related to a position or a velocity from a position/velocity detector 3 attached to the electric motor 2. An output (a PWM signal) of the current control unit 13 is inputted to the amplifier 14. The amplifier 14 controls the supply of power to the electric motor 2 in accordance with the PWM signal received from the current control unit 13.

A velocity feedback signal from the detector 3 attached to the electric motor 2 and a current feedback signal from the amplifier 14 are inputted to the estimating unit 30. The estimating unit 30 functions to simultaneously calculate estimated inertia (moment of inertia), estimated friction force, and an estimated spring constant of the driven body 4 of the controlled object 1 using the received velocity feedback signal and current feedback signal. The estimated data of inertia, the estimated data of frictional force, and the estimated data of the sprint constant of the driven body 4 obtained by calculation are outputted to the higher-level controller 20 together with a completion signal. Moreover, with the frictional force, a viscous frictional force and a Coulomb's frictional force can be calculated separate from each other.

Once the calculation of the respective estimated values of inertia, friction, and a spring constant is finished, the estimating unit 30 functions to respectively transmit the completion signal, the estimated data of inertia (an estimated inertia JL of the driven body), the estimated data of friction force (an estimated viscous frictional force C1, an estimated Coulomb's frictional force C2), and the estimated data of a spring constant (an estimated spring constant Kc) to the higher-level controller 20. The higher-level controller 20 functions to receive the completion signal, the estimated inertia JL, the estimated viscous frictional force C1, the estimated Coulomb's frictional force C2, and the estimated spring constant Kc transmitted from the estimating unit 30.

FIG. 3 is a diagram illustrating the controlled object 1 by way of modeling.

The controlled object 1 including the motion parts of the electric motor 2, the coupling shaft 6, and the driven body 4 can be modeled using a torque constant Kt of the electric motor 2, a driven body model 7, a spring model 8, and an electric motor model 9. In FIG. 3, s denotes a Laplace transform operator. A subtracter 18 subtracts a coupling torque Tc from an input torque Tm. A difference (Tm−Tc) between the input torque Tm and the coupling torque Tc, outputted from the subtracter 18, is converted into a motor velocity ωm by the electric motor model 9. A machine velocity ωL is subtracted from the motor velocity ωm by a subtracter 19, and the subtraction result (ωm−ωL) is converted into the coupling torque Tc by the spring model 8. The coupling torque Tc is inputted to the subtracter 18 and the driven body model 7. The coupling torque Tc is converted into the machine velocity ωL by the driven body model 7.

FIG. 4 is a block diagram illustrating a configuration of the estimating unit 30 shown in FIG. 3.

A current feedback sampling unit 31 samples, at a predetermined sampling period T, a current feedback signal iq(t) that is obtained by detecting a current flowing through the electric motor 2 using a current sensor (not shown), and loads the sampled current feedback signal into the estimating unit 30 as a current feedback value iq(n). In a similar manner, a velocity feedback sampling unit 32 samples, at a predetermined sampling period T, a velocity feedback signal ωm(t) outputted from the detector 3 that detects a velocity of the electric motor 2, and loads the sampled velocity feedback signal into the estimating unit 30 as a velocity feedback value ωm(n).

A multiplying unit 35 multiplies inertia Jm of the electric motor by a difference (Δωm) in motor velocity ωm acquired for each sampling period between a value (ωmn−1) taken at a previous sampling and a value (ωmn) taken at a present sampling, and outputs a multiplication result (Jm×Δωm) to a subtracting unit 37. An input torque calculating unit 36 calculates an input torque value Tm(n) by multiplying the current feedback value iq(n) by a torque constant Kt of the electric motor 2. The subtracting unit 37 calculates a coupling torque value Tc(n) applied to the electric motor 2 by subtracting the value (Jm×Δωm) outputted from the multiplying unit 35 from the input torque value Tm(n) calculated by the input torque calculating unit 36. The coupling torque value Tc(n) outputted from the subtracting unit 37 is inputted to a subtracting unit 38 and an inverse modeling unit 33. In this case, the multiplying unit 35, the input torque calculating unit 36, and the subtracting unit 37 constitute a “coupling torque calculating unit”.

The subtracting unit 38 calculates an estimated torque error e(n) by subtracting the estimated coupling torque value expressed as Tc(n) with a superscripted “^”, which is outputted from the inverse modeling unit 33, from the coupling torque value Tc(n) outputted from the subtracting unit 37, and outputs the estimated torque error e(n) to the correcting unit 34. The subtracting unit 38 constitutes an “estimated torque error calculating unit”.

The inverse modeling unit 33 calculates the estimated coupling torque value expressed as T(n) with a superscripted “^” using Formula (1) below.

T ^ ( n ) = h 0 · v 0 ( n ) + h 1 · v 1 ( n ) + h 2 · v 2 ( n ) + h 3 · v 3 ( n ) + h 4 · v 4 ( n ) h 0 = JL T h 1 = C 1 h 2 = C 2 h 3 = - h 0 Kc · T h 4 = h 1 · h 3 h 0 v 0 ( n ) = Δω m ( n ) v 1 ( n ) = ω m ( n ) v 2 ( n ) = sgn ( ω m ( n ) ) v 3 ( n ) = Δ 2 Tc ( n ) v 4 ( n ) = Δ Tc ( n ) ( 1 )

In Formula (1), JL denotes estimated inertia of the driven body 4, T denotes a sampling period, C1 denotes estimated viscous friction of a load, C2 denotes estimated Coulomb's friction of the load, Kc denotes an estimated spring constant, ΔTc(n) denotes a difference in coupling torque values, Δ2Tc(n) denotes a second-order difference in coupling torque values, sgn denotes a sign function, ω(n) denotes a motor velocity, Δω(n) denotes a difference in motor velocity, and T(n) with a superscripted “^” denotes an estimated coupling torque value (n=1, 2, 3, . . . ).

In other words, the estimated coupling torque value expressed as T(n) with a superscripted “^” can be obtained using the motor velocity ω(n), the coupling torque value Tc(n), the estimated inertia JL of the driven body 4, the estimated viscous friction C1 of the load, the Coulomb's friction of the load, and the estimated spring constant. “^” superscripted to T(n) signifies estimation.

Each term of Formula (1) above will now be described. The first term corresponds to a product of a difference in the velocity acquired for each sampling period and the estimated inertia, the second term corresponds to a product of the velocity acquired for each sampling period and the estimated viscous friction of a load, the third term corresponds to a product of a polarity of the velocity acquired for each sampling period and the estimated Coulomb's friction of a load, and the fourth term corresponds to a second-order difference of the coupling torque and a reciprocal of the estimated spring constant. The fifth term corresponds to a product of coefficients obtained by the first, second, and fourth terms and the coupling torque.

Using Formula (2) below based on a steepest descent method so that the estimated torque error e(n) outputted from the subtracting unit 38 is minimum, the correcting unit 34 updates and corrects the estimated inertia JL, the estimated viscous friction C1, the estimated Coulomb's friction C2, and the estimated spring constant Kc of the driven body 4 for each sampling period T using the velocity feedback value ωm(n) and the coupling torque value Tc(n).

More specifically, the correcting unit 34 performs correction by using the estimated inertia JL, the estimated viscous friction C1, the estimated Coulomb's friction C2, and the estimated spring constant Kc of the driven body 4 that comprises the controlled object 1 for each sampling period T. The correcting unit 34 estimates a coefficient of the inverse modeling unit 33 by calculating Formula (2) below so that the estimated torque error e(n) has a small value. By updating and correcting the coefficient of the calculation formula of the inverse modeling unit 33 using the coefficient estimated by the correcting unit 34, the estimated torque error e(n) outputted from the subtracting unit 38 can be made smaller.

h m ( n ) = m = 0 3 μ m ( n ) · e ( n ) · v m ( n ) μ m ( n ) = { η m 1 + m = 0 v m ( n ) 2 ( v 1 ( n ) σ ) 0 ( v 1 ( n ) < σ ) ( 2 )

In Formula (2), e(n) denotes an estimated torque error, μm(n) denotes an accommodation coefficient, ηm denotes a constant, and σ denotes a velocity dead zone width.

The accommodation coefficient μm(n) is inversely proportional to the magnitudes of velocity and the coupling torque Tc, and a dead zone can be provided so that the accommodation coefficient μm(n) is zero when the velocity is equal to or lower than a predetermined value. Using Formula (2) above, the respective coefficients of the aforementioned Formula (1) based on the steepest descent method are sequentially corrected so as to reduce the estimated torque error of the estimated coupling torque expressed as T(n) with a superscripted “^”. At this point, estimation accuracy can be improved by setting a velocity dead zone so as to reduce adverse effects of rapid motions of the electric motor 2 and to reduce the influence of a velocity difference between the electric motor 2 and the driven body 4 as well as by preventing the coefficients of Formula (1) from being corrected at or under a predetermined velocity. As described earlier, ηm is a constant that sets a velocity dead zone. When |ν1|<σ, ηm=0.

FIGS. 5A and 5B are diagrams illustrating the addition of a sinusoidal command to a position command or to a velocity command by a sinusoidal command unit.

In FIG. 2 (and FIG. 5C), upon receiving the start signal from the higher-level controller 20, the sinusoidal command generating unit 40 adds a sinusoidal command to a torque command. The present invention is not limited to adding a sinusoidal command to a torque command and, alternatively, a sinusoidal command may be added to a position command as shown in FIG. 5A or a sinusoidal command may be added to a velocity command as shown in FIG. 5B.

In addition, as shown in FIGS. 6A to 6C, instead of the sinusoidal command unit adding a sinusoidal command to a position command, a velocity command, or a torque command, an M-sequence command may be added by an M-sequence command generating unit 41 to a position command (FIG. 6A), to a velocity command (FIG. 6B), or to a torque command (FIG. 6C).

FIG. 7 is a diagram illustrating a change in coefficients in Formula (1) above from a case (b) where a velocity dead zone is provided to a case (a) where a velocity dead zone is not provided. As illustrated by (a) in FIG. 7, coefficients h0 and h2 are unstable when a velocity dead zone is not provided. Conversely, as illustrated by (b) in FIG. 7, coefficients h0 and h2 converge to a stable state over time when a velocity dead zone is provided. Illustration of viscous friction denoted by the coefficient h1 has been omitted here.

FIG. 8 is a flow chart of an estimation process performed by a servo control unit including an estimating unit. Hereinafter, a step by step description will be given.

[Step SA01] A determination is made on whether an inertia estimation process has been activated or not. If activated (if the determination result is YES), a transition is made to Step SA02, and if not activated (if the determination result is NO), activation is awaited.

This step represents an operation for awaiting a start command from the higher-level controller 20 for the estimation process by the estimating unit 30. A start timing of the process of the estimating unit 30 can be set in advance to the higher-level controller 20 by an operator as one of the operations of the respective units in accordance with a process schedule. Alternatively, the higher-level controller 20 may be arranged to automatically judge a timing at which actual inertia Jms of the driven body 4 changes due to the attaching or detaching of a workpiece and to output a start command to the estimating unit 30.

[Step SA02] An M-sequence command or a sinusoidal command is added to a torque command, a velocity command, or a position command.

In this step, for example, when a start signal is inputted, the sinusoidal command generating unit 40 outputs a sinusoidal command having a predetermined frequency (for example, 10 Hz). The outputted sinusoidal command is added to a torque command outputted from the velocity control unit 12. At this point, the velocity control unit 12 is favorably controlled so as to output a constant torque command. Accordingly, operations of an estimation processes for inertia, friction, and a spring can always be kept the same to suppress dispersion in estimation accuracy.

[Step SA03] A velocity value and a current value are acquired.

[Step SA04] An input torque value is calculated from the current value and a torque constant. In addition, a coupling torque value is calculated from the input torque value, a difference in velocities, and motor inertia.

[Step SA05] An estimated coupling torque value is calculated.

[Step SA06] An estimated torque error is calculated from the estimated coupling torque value and the input torque value.

[Step SA07] Inertia, friction, and a spring constant are estimated from the estimated torque error, a velocity, and the coupling torque value. Subsequently, the process is terminated.

When a coupling between a driven body and an electric motor has resonance characteristics including a spring, the controller described above simultaneously estimates inertia, friction coefficient, and a spring constant. The controller can also accommodate a case where friction specifically has nonlinear friction characteristics. Although it is a feature of the controller that the velocity of the driven body is not used to estimate the respective coefficients, when the spring constant is small or, in other words, when a coupling rigidity between the driven body and the electric motor is low, estimation accuracy is improved by providing a dead zone in an estimation algorithm.

However, a width of the dead zone may be affected by the spring constant (coupling rigidity). For example, when the spring constant is small, the width of the dead zone must be increased accordingly. Therefore, when the spring constant is completely unknown, an appropriate dead zone width cannot be set and may result in a significant error in estimation accuracy.

In consideration thereof, by using an estimated velocity of the driven body, estimation of a torque value can be enabled without the use of a dead zone or, in other words, without being dependent on a spring constant (coupling rigidity). Furthermore, since the estimated velocity of the driven body is estimated using a spring constant that is sequentially estimated, a feature is achieved in that estimation of the driven body can be performed without being dependent on a magnitude of a spring constant.

Next, modeling of a controlled object, a definition of an inverse model thereof, and an estimation algorithm formula for respective coefficients of the inverse model will be described. An equation of motion of a mechanical model of this two-inertia system is as expressed by Formulas (3) to (5) below.

T m ( t ) = J m · ω m ( t ) t + C m · ω m ( t ) + T c ( t ) ( 3 ) T c ( t ) = K c · ( ω m ( t ) - ω t ( t ) ) · t + D c · ( ω m ( t ) - ω t ( t ) ) ( 4 ) T d ( t ) = J t · ω t ( t ) t + C t · ω t ( t ) - T c ( t ) ( 5 )

In Formulas (3) to (5), Jm and Jt denote inertia, Kc denotes a spring constant, Cm and Ct denote friction coefficients, Dc denotes an internal damping coefficient, ωm and ωt denote velocities, Tm denotes an input torque, Td denotes a disturbance torque, and Tc denotes a coupling torque. In addition, a block diagram representation of the equation of motion is shown in FIG. 9. In this case, the suffix m of J, ω, and T denote an electric motor (motor) and the suffix t of J, ω, and C denote a driven body (table).

With a general machine tool, since friction of a linear guide of a table or a nut portion of a ball screw that is a driven body is dominant, other friction can be ignored. In the present invention, modeling is performed by including friction of a coupling shaft in friction of a driven body. Therefore, this mechanical model ignores the friction coefficient Cm and assumes that the internal damping coefficient Dc is included in the friction coefficient Ct. Moreover, the friction coefficient Ct of the table (driven body) is assumed as being nonlinear friction comprising a viscous friction coefficient C1 and a Coulomb's friction coefficient C2 as expressed by Formula (6) below.
Ct·ωt(t)=C1·ωt(t)+C2·sgn(ωt(t))  (6)

In Formula (6), sgn( ) denotes a sign function expressed by Formula (7) below.

sgn ( x ) = { 1 ( x > 0 ) 0 ( x = 0 ) - 1 ( x < 0 ) ( 7 )

While the respective constants of the mechanical model are identified on-line (during operation of the machine) in this case, since a state free of disturbance such as processing load is assumed, disturbance Td can be ignored.

In summary, Formulas (3) to (5) can be described as Formulas (8) to (10) below using Formula (6). Moreover, Tm(t), Tc(t), Td(t), and Ct·ωt(t) denote functions of time t.

T m ( t ) = J m · ω m ( t ) t + T c ( 8 ) T c ( t ) = K c · ( ω m ( t ) - ω t ( t ) ) · t ( 9 ) T c ( t ) = J t · ω t ( t ) t + C 1 · ω t ( t ) + C 2 · sgn ( ω t ( t ) ) ( 10 )

In addition, a block diagram representation of the equation of motion is shown in FIG. 10 and is used as the mechanical model that is the controlled object. A method will now be proposed in which an inverse model of a two-inertia system mechanical model is loaded into control software to accurately identify, on-line, parameters of the inverse model in a short period of time. For identification, it is assumed that motor inertia Jm is known and table inertia, nonlinear friction, and a spring constant are identified. In particular, for friction, a simplified friction model having nonlinear characteristics and comprising only viscous friction and Coulomb's friction such as that shown in FIG. 11 is assumed.

For easy handling of nonlinear friction, a polynomial is generally used, but in the case of the present invention, such nonlinear friction is handled as-is (without modifying such a non-linearity) as expressed by Formula (6). This is because an advantage in implementation is conceivably gained by handling nonlinear friction as-is when considering a dynamic range on the control software and the like.

The inverse model used for parameter identification is expressed as Formula (10) above in which the table velocity ωt is assumed as input and the coupling torque Tc is assumed as output.

Discretization using backward difference to perform digital control by software enables a definition expressed by Formula (11) below, where T denotes a sampling period.

T c ( n ) = J t T · ( ω t ( n ) - ω t ( n - 1 ) ) + C 1 · ω t ( n ) + C 2 · sgn ( ω t ( n ) ) ( 11 )

Although the table velocity ωt is observable by attaching a detector to the table, since a detector is often unavailable due to constraints in mechanism or cost, it is assumed that the table velocity ωt cannot be observed in this case. In consideration thereof, the table velocity ωt can be obtained from Formula (9) above as expressed by Formula (12) below.

ω t ( t ) = ω m ( t ) - t T c ( t ) K c ( 12 )

Discretization using backward difference results in Formula (13) below.

ω t ( n ) = ω m ( n ) - 1 K c · T ( T c ( n ) - T c ( n - 1 ) ) ( 13 )

By substituting Formula (13) above into Formula (11) and then rearranging Formula (11), Formula (14) below is obtained. Formula (14) represents a definition of the inverse model used for parameter identification. In this case, an estimated coupling torque expressed as Tc with a superscripted “^” and a coupling torque Tc are distinguished from each other. “^” superscripted to Tc(n) in Formula (14) below signifies estimation. Hereinafter, Tc(n) with a superscripted “^” will be described as Tc(n) superscript “^”.

T ^ c ( n ) = J t T · ( ω m ( n ) - ω m ( n - 1 ) ) + C 1 · ω m ( n ) + C 2 · sgn ( ω m ( n ) - 1 K c · T · ( T c ( n ) - T c ( n - 1 ) ) ) - J t K c · T 2 · ( T c ( n ) - 2 · T c ( n - 1 ) + T c ( n - 2 ) ) - C 1 K c · T · ( T c ( n ) - T c ( n - 1 ) ) ( 14 )

A practical method of sequentially identifying the respective coefficients of the inverse model expressed by Formula (14) using a steepest descent method will now be proposed. Using an observable motor velocity ωm and a coupling torque Tc that can be calculated from a similarly observable torque Tm and the velocity ωm as inputs to the inverse model, parameter identification is performed by sequentially updating the respective coefficients of the inverse model so that a difference between an estimated coupling torque Tc superscript “^” that is an output of the inverse model and the coupling torque Tc or, in other words, an identification error, is minimum.

The inverse model of Formula (14) above is arranged as Formula (15) below.

T ^ c ( n ) = m = 0 4 ( h m · v m ( n ) ) ( 15 )

In Formula (15), the respective coefficients are defined as follows.

h 0 = J t T ( 16 ) h 1 = C 1 h 2 = C 2 ( 17 ) h 3 = - J t K c · T 2 ( 19 ) h 4 = - C 1 K c · T ( 20 ) v 0 ( n ) = ω m ( n ) - ω m ( n - 1 ) ( 21 ) v 1 ( n ) = ω m ( n ) ( 22 ) v 2 ( n ) = sgn ( ω m ( n ) - 1 K c · T · ( T c ( n ) - T c ( n - 1 ) ) ) ( 23 ) v 3 ( n ) = ( T c ( n ) - 2 · T c ( n - 1 ) + T c ( n - 2 ) ) ( 24 ) v 4 ( n ) = ( T c ( n ) - T c ( n - 1 ) ) ( 25 )

Moreover, ν2 defined in Formula (23) above becomes an input for identifying the Coulomb's friction coefficient C2 and signifies a polarity of the table velocity ωt. However, since Formula (23) above includes an unknown spring constant Kc, ν2 cannot be used as-is. Although ν2 can be treated as a polarity of the motor velocity ωm when the spring constant is large, an identification error is created when the spring constant is small.

Therefore, ν2 defined in Formula (23) above is estimated using a spring constant that is being sequentially estimated.

Since a sequentially estimated spring constant Kc with a superscripted “^” is estimated from h0 and h2 of an immediately previous sample, Formula (26) below is obtained from Formulas (16) and (19) above. In this case, “^” superscripted to Kc(n) signifies estimation in the same manner as Tc(n) superscript “^”.

K ^ c ( n ) = - h 0 ( n - 1 ) h 3 ( n - 1 ) · T ( 26 )

By substituting Formula (26) into Formula (23) above, Formula (27) below representing an estimation input is obtained.

v 2 ( n ) = sgn ( ω m ( n ) + h ^ 3 ( n - 1 ) h ^ 0 ( n - 1 ) · ( T c ( n ) - T c ( n - 1 ) ) ) ( 27 )

The coupling torque Tc can be obtained using Formula (28) below from an observable input torque Tm and a similarly observable motor velocity ωm.
Tc(n)=Tm(n)−Jm·(ωm(n)−ωm(n−1))  (28)

By denoting a difference between the coupling torque Tc and the estimated coupling torque Tc superscript “^” that is an output of the inverse model as an identification error e(n), the respective coefficients of the inverse model are updated by a steepest descent method algorithm as Formula (29) below. Accordingly, inertia, nonlinear friction, and a spring constant of the mechanical model can be simultaneously identified. Moreover, “^” superscripted to hm in Formulas (29) and (31) below also signifies estimation.
ĥm(n)=ĥm(n−1)+μ(ne(nvm(n)custom character,e(n)=Tc(n)−{circumflex over (T)}c(n)  (29)

Although μ is a coefficient for determining an identification velocity, μ is sequentially varied as expressed by Formula (30) below so as to prevent the identification velocity from affecting input magnitude.

μ m ( n ) = η 1 + m = 0 3 v m ( n ) 2 ( 30 )

In this case, η denotes a positive constant. Since coefficient h4 in Formula (20) can be calculated as h4=h1*h3/h0, the coefficient h4 need not be identified. Therefore, a final online identification formula of the inverse model can be expressed as Formula (31) below, where “·” signifies multiplication.

h ^ m ( n ) = m = 0 3 μ m ( n ) · e ( n ) · v m ( n ) ( 31 )

Formula (15) above corresponds to Formula (1) and Formulas (30) and (31) above correspond to Formula (2).

Since a flow chart of a process performed by the servo processing unit including the estimating unit is similar to that shown in FIG. 8, a description thereof will be omitted.

Toyozawa, Yukio, Sonoda, Naoto

Patent Priority Assignee Title
10756660, Sep 01 2015 Rockwell Automation Technologies, Inc. System and method for isolation of load dynamics in motor drive tuning
9768720, Aug 14 2015 LITE-ON ELECTRONICS (GUANGZHOU) LIMITED; Lite-On Technology Corp. Method and system for estimating operation parameters of a servomotor
Patent Priority Assignee Title
5159254, Apr 09 1990 Mitsubishi Denki K.K. Numerical control unit for estimating movement parameters using a model
5442270, Feb 06 1992 Fanuc Ltd. Adaptive sliding mode control method for object of control including spring system
5729111, Nov 10 1979 Kabushiki Kaisha Meidensha Inertia lowering control apparatus capable of suppressing axially torsional vibration occurring on flexible drive shaft of two-mass inertia resonant system
5990645, Aug 18 1995 Kabushiki Kaisha Yaskawa Denki Mechanical vibration detector and vibration damping controller
6211640, Mar 23 1999 MATSUSHITA ELECTRIC INDUSTRIAL CO , LTD Motor drive control system
6945375, Feb 21 2003 Magna Drivetrain of America, Inc. Torque transfer device having an electric motor/brake actuator and friction clutch
20030088345,
20050079943,
20070164695,
20110050146,
CN101232271,
CN101262199,
CN102006011,
CN1267953,
DE102010036500,
EP1968184,
JP2008228360,
JP2009303432,
JP2011072178,
///
Executed onAssignorAssigneeConveyanceFrameReelDoc
Feb 20 2012SONODA, NAOTOFanuc CorporationASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS 0283500128 pdf
Feb 20 2012TOYOZAWA, YUKIOFanuc CorporationASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS 0283500128 pdf
Jun 11 2012Fanuc Corporation(assignment on the face of the patent)
Date Maintenance Fee Events
Apr 12 2018M1551: Payment of Maintenance Fee, 4th Year, Large Entity.
Apr 13 2022M1552: Payment of Maintenance Fee, 8th Year, Large Entity.


Date Maintenance Schedule
Oct 28 20174 years fee payment window open
Apr 28 20186 months grace period start (w surcharge)
Oct 28 2018patent expiry (for year 4)
Oct 28 20202 years to revive unintentionally abandoned end. (for year 4)
Oct 28 20218 years fee payment window open
Apr 28 20226 months grace period start (w surcharge)
Oct 28 2022patent expiry (for year 8)
Oct 28 20242 years to revive unintentionally abandoned end. (for year 8)
Oct 28 202512 years fee payment window open
Apr 28 20266 months grace period start (w surcharge)
Oct 28 2026patent expiry (for year 12)
Oct 28 20282 years to revive unintentionally abandoned end. (for year 12)