Control device for machine apparatus and gain determination method for friction compensation

10120396 ยท 2018-11-06

Assignee

Inventors

Cpc classification

International classification

Abstract

The purpose of the present invention is to further improve the accuracy of position control of a machine apparatus. A control device for a machine apparatus is equipped with: a speed control unit for calculating a torque command for the machine apparatus; a friction estimation unit for calculating an estimated value of the friction force produced by the machine apparatus; an amplitude phase adjustment unit for calculating a corrected friction value by multiplying the proportional gain by the friction force estimated by the friction estimation unit; and a correction unit for correcting the torque command by using the corrected friction value calculated by the amplitude phase adjustment unit. Furthermore, the proportional gain is determined on the basis of the gain properties of the transfer function of the machine apparatus from the position command to the position deviation.

Claims

1. A control device for a machine apparatus, the device comprising: torque command calculation means for calculating a torque command for the machine apparatus; friction estimation means for calculating an estimated value of a friction force produced in the machine apparatus; adjustment means for calculating a corrected value by multiplying the estimated value calculated by the friction estimation means by a predetermined gain; and correction means for correcting the torque command calculated by the torque command calculation means using the corrected value calculated by the adjustment means, wherein the gain is determined on the basis of gain properties of a transfer function of the machine apparatus from a position command to a position deviation.

2. The control device for a machine apparatus according to claim 1, wherein the gain is determined on the basis of an area that is surrounded by the gain properties of the transfer function in a low frequency region and a predetermined threshold.

3. The control device for a machine apparatus according to claim 2, wherein the transfer function is derived by using linear analysis.

4. The control device for a machine apparatus according to claim 1, wherein the transfer function is derived by using linear analysis.

5. A gain determination method for friction compensation used in a control device that calculates an estimated value of a friction force produced in a machine apparatus, calculates a corrected value by multiplying the calculated estimated value by a predetermined gain, and corrects a torque command for the machine apparatus using the corrected value, the method comprising: a step of deriving a transfer function of the machine apparatus from a position command to a position deviation; and a step of determining the gain on the basis of gain properties of the transfer function.

Description

BRIEF DESCRIPTION OF DRAWINGS

(1) FIG. 1 is a schematic configuration diagram of a machine system according to an embodiment of the present invention.

(2) FIG. 2 is a functional block diagram illustrating a configuration of a control device according to the embodiment of the present invention.

(3) FIG. 3 is a block diagram of a machine apparatus that has friction.

(4) FIG. 4 is a flowchart illustrating a flow of a proportional gain determination process according to the embodiment of the present invention.

(5) FIG. 5 is a graph illustrating an example of gain properties of a transfer function according to the embodiment of the present invention.

(6) FIG. 6 is a graph illustrating an example of an area that corresponds to an evaluated value according to the embodiment of the present invention.

(7) FIG. 7 is a graph illustrating an example of changes in the evaluated value with respect to a proportional gain according to the embodiment of the present invention.

(8) FIG. 8 is a graph illustrating an example of changes in a position deviation in response to the proportional gain according to the embodiment of the present invention.

(9) FIG. 9 is a graph illustrating another example of the area that corresponds to the evaluated value according to the embodiment of the present invention.

(10) FIG. 10 is a functional block diagram illustrating a configuration of the control device according to the embodiment of the present invention.

DESCRIPTION OF EMBODIMENTS

(11) Hereinafter, an embodiment of a control device for a machine apparatus and a gain determination method for friction compensation according to the present invention will be described with reference to the drawings.

(12) FIG. 1 is a schematic configuration diagram of a machine system 10 according to the present embodiment.

(13) The machine system 10 includes a machine apparatus and a control device 14 that regards the machine apparatus 12 as a control target.

(14) In the machine apparatus 12, gears 24 and 26 are respectively disposed in a drive shaft 20 and a load shaft 22, and the gears 24 and 26 engage with each other to transfer a force of the drive shaft 20 to the load shaft 22. As an example, the drive shaft 20 is a rotating shaft of a motor 28 (so-called motor shaft), and the load shaft is a rotating shaft of a load 30. The machine apparatus 12 may include an intermediate shaft that transfers a force between the drive shaft 20 and the load shaft 22.

(15) The control device 14 controls the machine apparatus 12 on the basis of a deviation between the position of the load shaft 22 and a position command. FIG. 2 is a functional block diagram illustrating a configuration of the control device 14 according to the present embodiment.

(16) The control device 14 is configured of, for example, a central processing unit (CPU); a random access memory (RAM), and a computer-readable recording medium. As an example, a series of processes for realizing various types of functions of the control device 14 is recorded in a program format in the recording medium or the like, and the CPU reads this program into the RAM or the like, processes information, and performs operation processing to realize various types of functions.

(17) The control device 14 includes a position control unit 30 and a speed control unit 32.

(18) The position control unit 30 calculates a motor speed command that indicates the speed of the drive shaft 20, on the basis of a deviation (hereinafter, referred to as position deviation) between a position command indicating the position of the load shaft 22 (hereinafter, referred to as load position) and a detected value of the load position. The position deviation is calculated by a subtraction unit 34.

(19) The position control unit 30 calculates the motor speed command using, as an example, proportional control that uses the position deviation. The position of the load shaft 22 is, for example, an angle, and the speed of the drive shaft 20 is, for example, an angular speed.

(20) The speed control unit 32 calculates a torque command that indicates a torque of the drive shaft 20, on the basis of a deviation (hereinafter, referred to as speed deviation) between the motor speed command calculated by the position control unit 30 and a detected value of a motor speed that corresponds to the angular speed of the drive shaft 20 (motor 28). The motor speed deviation is calculated by a subtraction unit 36. The speed control unit 32 calculates the torque command using, as an example, proportional integral control that uses the motor speed deviation.

(21) The torque command is amplified by an amplifier 38 and subsequently input to the motor 28. The motor 28 drives the drive shaft 20 on the basis of the amplified torque command.

(22) The control device 14 includes an FF control unit 40. The FF control unit 40 calculates a corrected value of the torque command on the basis of the position command. This corrected value is added to the torque command by an addition unit 42. That is, the FF control unit 40 corrects the torque command in a feedforward manner and, as an example, calculates the torque command using acceleration feedforward compensation that uses an acceleration obtained by differentiating the position command twice. The control device 14 may not include the FF control unit 40.

(23) FIG. 3 is a block diagram illustrating an example of the machine apparatus 12 that includes a three-inertia system and has friction.

(24) As illustrated in the example of FIG. 3, three inertial bodies (motor, ball screw, and load) respectively correspond to the drive shaft, the intermediate shaft, and the load shaft, and each produces friction.

(25) The control device 14 includes a friction estimation unit 44, an amplitude phase adjustment unit 46, and a correction unit 48 as a friction compensation function.

(26) The friction estimation unit 44 calculates an estimated value of a friction force (hereinafter, referred to as estimated friction value) produced in the machine apparatus 12. The friction estimation unit 44 according to the present embodiment calculates the estimated friction value by inputting the motor speed to a friction model that is built in advance.

(27) However, influence of shaft torsion or deadbands of the gears 24 and 26 (mechanical backlash) delays transfer of force or causes a loss of force. Thus, simply correcting the torque command using the estimated friction value calculated by the friction estimation unit 44 does not result in high accuracy friction compensation.

(28) Therefore, the amplitude phase adjustment unit 46 multiplies the calculated estimated friction value by a predetermined gain (hereinafter, referred to as proportional gain Kc) to calculate a corrected friction value, thereby enabling higher accuracy friction compensation.

(29) The correction unit 48 corrects the torque command using the corrected friction value by subtracting the corrected friction value from the calculated torque command and outputs the corrected torque command to the amplifier 38.

(30) Next, a determination method for the proportional gain Kc used in the amplitude phase adjustment unit 46 will be described.

(31) The proportional gain Kc is determined in advance by using an information processing apparatus. FIG. 4 is a flowchart illustrating a flow of a proportional gain determination process that determines the proportional gain Kc. The proportional gain determination process is recorded in a program format in a recording medium or the like included in the information processing apparatus.

(32) First, in Step 100 (S100), the proportional gain Kc that is used in the amplitude phase adjustment unit 46 is temporarily selected. In the present embodiment, as an example, the proportional gain Kc is temporarily selected in the range of 0 to 10 per 0.25.

(33) Next, in Step 102 (S102), a transfer function of the machine apparatus 12 from the position command to the position deviation is derived by using linear analysis.

(34) This transfer function models the machine apparatus and is from the position command to the position deviation with respect to the machine apparatus 12. That is, the transfer function represents characteristics of the entire machine system 10 including the machine apparatus 12 and the control device 14 performing friction compensation and includes information related to the position deviation.

(35) The friction model in the linear analysis considers, for example, only viscous friction that is proportional to speed as a friction parameter (viscous friction parameter). Elements such as the deadbands of the gears 24 and 26 are non-linear elements and thus are not considered in the linear analysis.

(36) Deriving the transfer function using the linear analysis allows the proportional gain Kc, described later, to be easily determined.

(37) Next, in Step 104 (S104), gain properties of the derived transfer function are calculated. The above information related to the position deviation is easily extracted from the gain properties of the transfer function.

(38) FIG. 5 is a graph illustrating an example of the gain properties of the transfer function according to the present embodiment, in which the horizontal axis (x axis) represents frequency and the vertical axis (y axis) represents gain.

(39) Next, in Step 106 (S106), an evaluated value J that is used in determination of the proportional gain Kc is calculated on the basis of the gain properties.

(40) Specifically, in Step 106 (S106), the area that is surrounded by the gain properties of the transfer function in a low frequency region (for example, a region in which the frequency is less than or equal to one) and a predetermined threshold is calculated as the evaluated value J. In the present embodiment, the threshold is set as a predetermined gain (hereinafter, referred to as gain threshold), and the gain threshold is set to, as an example, 3 dB. Then, as illustrated in FIG. 6, the evaluated value J that corresponds to the area surrounded by the gain threshold set as y=3 dB and the gain properties is calculated. This evaluated value J is the information related to the position deviation.

(41) The evaluated value J for each proportional gain Kc is represented by the following Equation (1), given that the frequency at the intersection of the gain threshold and a gain property G.sub.re(j) is .sub.c.
J(K.sub.c)=.sub.0.sup..sup.c|G.sub.re(j)|d(1)

(42) It is indicated that the position deviation is decreased as the evaluated value J is increased.

(43) Since the properties of the transfer function are from the position command to the position deviation, the transfer function means that the position deviation is unlikely to be generated as the gain is equal to 0 dB or less. That is, it is indicated that the position deviation is decreased as the evaluated value J that corresponds to a value obtained by integrating a predetermined region in which the gain is less than or equal to 0 dB is increased.

(44) Next, in Step 108 (S108), a determination of whether or not all of the proportional gains Kc are temporarily selected is performed, and, in a case of a positive determination, a transition is made to Step 110 (S110). Meanwhile, in a case of a negative determination, a transition is made to Step 100 (S100). A new proportional gain Kc is temporarily selected, and the evaluated value J is calculated in accordance with the temporarily selected proportional gain Kc.

(45) In Step 110 (S110), the evaluated values J of the temporarily selected proportional gains Kc are compared with each other, and the proportional gain Kc at which the evaluated value J is the largest is derived.

(46) FIG. 7 is a graph illustrating an example of changes in the evaluated value J with respect to the proportional gain Kc.

(47) In the example of FIG. 7, the evaluated value J is the largest in a case of proportional gain Kc=3.25.

(48) FIG. 8 is a simulation result that illustrates the position deviation in a case of proportional gain Kc=0, 1, 2, 3, 4, and 5 with respect to the model of the machine apparatus 12 used in derivation of the result illustrated in FIG. 7. In FIG. 8, the horizontal axis is time, and the vertical axis is the position deviation.

(49) The position deviation is the largest in a case of proportional gain Kc=0, that is, in a case where the friction compensation does not function. The position deviation is decreased as the proportional gain Kc is increased, and the position deviation is the smallest in a case of proportional gain Kc=3 among the proportional gains Kc. Meanwhile, the compensation is rendered excessive in a case of proportional gain Kc=4 and 5, and the position deviation is increased.

(50) As illustrated in FIG. 8, the position deviation is the smallest in a case of proportional gain Kc=3 that is close to proportion gain Kc=3.25 at which the evaluated value J is the largest in the example of FIG. 7.

(51) As such, since the extent to which the position deviation is generated in the current system configuration can be estimated from the gain properties of the transfer function of the machine system 10, the proportional gain Kc by which the estimated friction value is multiplied is easily optimized.

(52) Next, in Step 112 (S112), the value of the proportional gain Kc at which the estimated value J is the largest is determined as the proportional gain Kc that is actually used in the amplitude phase adjustment unit 46 and is set for the amplitude phase adjustment unit 46, and the proportional gain determination process is ended.

(53) The proportional gain determination process is performed for, as an example, setting of the proportional gain Kc before shipment of the machine system 10. However, the invention is not limited thereto. The machine system may be connected with the information processing apparatus to enable online identification of friction of the machine apparatus 12, and the proportional gain determination process may be performed to newly set the proportional gain Kc online in a case of updating the viscous friction parameter of the machine apparatus 12.

(54) While the evaluated value J is calculated from the area surrounded by the gain threshold and the gain properties in the above embodiment, the invention is not limited thereto. As illustrated in FIG. 9, the evaluated value J may be calculated from the area that is surrounded by the gain properties and the frequency .sub.c (x=.sub.c) corresponding to the gain threshold.

(55) In this case, it is indicated that the position deviation is decreased as the evaluated value J is decreased.

(56) The friction estimation unit 44 and the amplitude phase adjustment unit 46 may be arranged as a part of the FF control unit 40 as illustrated in FIG. 10. The friction estimation unit 44 receives input of a speed signal that is calculated by a speed calculation unit 50 from the position command. The estimated friction value produced in the machine apparatus 12 is calculated by arranging the amplitude phase adjustment unit 46 in a rear stage of the friction estimation unit 44. The estimated friction value calculated is output to the correction unit 48.

(57) The amplitude phase adjustment unit 46 may perform phase compensation as represented in Equation (2). In Equation (2), a phase lead time constant is denoted by T1, and a phase lag time constant is denoted by T2.

(58) Gf ( s ) = Kc ( T 1 s + 1 ) ( T 2 s + 1 ) ( 2 )

(59) As described heretofore, the control device 14 for the machine apparatus 12 according to the present embodiment includes the speed control unit 32 that calculates the torque command for the machine apparatus 12, the friction estimation unit 44 that calculates the estimated value of the friction force produced in the machine apparatus 12, the amplitude phase adjustment unit that calculates the corrected friction value by multiplying the friction force estimated by the friction estimation unit 44 by the proportional gain Kc, and the correction unit 48 that corrects the torque command using the corrected friction value calculated by the amplitude phase adjustment unit 46. The proportional gain Kc is determined on the basis of the gain properties of the transfer function of the machine apparatus 12 from the position command to the position deviation.

(60) Therefore, the control device 14 according to the present embodiment can further improve the accuracy of position control of the machine apparatus 12.

(61) While the present invention is heretofore described by using the above embodiment, the technical scope of the present invention is not limited to the scope described in the above embodiment. Various modifications or improvements can be carried out to the above embodiment to the extent not departing from the gist of the invention, and the embodiments to which modifications or improvements are carried out also fall within the technical scope of the present invention. In addition, the embodiments may be appropriately combined.

REFERENCE SIGNS LIST

(62) 10 MACHINE SYSTEM

(63) 12 MACHINE APPARATUS

(64) 14 CONTROL DEVICE

(65) 32 SPEED CONTROL UNIT

(66) 44 FRICTION ESTIMATION UNIT

(67) 46 AMPLITUDE PHASE ADJUSTMENT UNIT

(68) 48 CORRECTION UNIT