MOTOR CONTROLLER
20180373221 ยท 2018-12-27
Inventors
Cpc classification
G05B19/237
PHYSICS
International classification
Abstract
A motor controller which controls a servo motor for driving a machine, includes: a speed command unit which commands the speed of the machine; a speed detection unit which detects the speed of the servo motor; and a speed control unit which produces a torque command based on a speed command and a motor speed detected so as to control the speed of the servo motor, where the speed control unit includes a filter which approximates the inverse characteristic of a transmission characteristic from the servo motor to the machine, the filter has a transmission characteristic F(s) based on a frequency , a vibration damping coefficient and a cutoff frequency .sub.adj which are adjustment parameters and the frequency is adjusted so as to be equal to or more than an antiresonant frequency .sub.0 of the machine but less than a resonant frequency .sub.p.
Claims
1. A motor controller which controls a servo motor for driving a machine, the motor controller comprising: a speed command unit which issues a speed command for commanding a speed of the machine; a speed detection unit which detects a speed of the servo motor; and a speed control unit which produces a torque command based on the speed command issued by the speed command unit and a motor speed detected by the speed detection unit so as to control the speed of the servo motor, wherein the speed control unit includes a filter which approximates an inverse characteristic of a transmission characteristic from the servo motor to the machine, the filter has a transmission characteristic F(s) of formula below based on a frequency , a vibration damping coefficient and a cutoff frequency .sub.adj which are adjustment parameters and the frequency is adjusted so as to be equal to or more than an antiresonant frequency .sub.0 of the machine but less than a resonant frequency .sub.p of the machine.
2. The motor controller according to claim 1, wherein the speed control unit includes: a feedforward control unit which produces a first torque command based on the speed command; a feedback control unit which produces a second torque command based on a difference between the speed command and the motor speed; and an addition unit which adds together the first torque command and the second torque command so as to produce the torque command, and the feedforward control unit and the feedback control unit include the filters for which the transmission characteristic F(s) can the set individually and independently.
3. The motor controller according to claim 2, wherein the feedforward control unit includes the filter which approximates an inverse characteristic of a transmission characteristic from the torque command to a speed of the machine, and the feedback control unit includes the filter which approximates an inverse characteristic of a transmission characteristic from the motor speed to the speed of the machine.
4. The motor controller according to claim 2, wherein the frequency in the transmission characteristic F(s) of the filter in the feedforward control unit can be adjusted in a range equal to or more than the frequency in the transmission characteristic F(s) of the filter in the feedback control unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
[0016]
[0017]
[0018]
[0019]
DETAILED DESCRIPTION OF THE INVENTION
[0020] An example of an embodiment of the present invention will be described below with reference to accompanying drawings. In the drawings, the same or corresponding portions are identified with the same reference numerals.
[0021]
[0022] The speed command unit 10 produces the speed command value for the servo motor 50 (that is, the speed command value for the machine 60) according to a program and a command input from a higher controller, an external input device or the like which is unillustrated.
[0023] The encoder 40 is provided in the servo motor 50 so as to detect the rotation speed of the servo motor 50. The detected motor speed is utilized as a speed feedback.
[0024] The speed control unit 20 produces a torque command value based on the speed command value produced in the speed command unit 10 and a motor speed value detected in the encoder 40. The speed control unit 20 includes a feedforward control unit (hereinafter referred to as a FF control unit) 21, a feedback control unit (hereinafter referred to as a FB control unit) 23 and an adder 26.
[0025] The FF control unit 21 produces a first torque command value based on the speed command value produced in the speed command unit 10. The FF control unit 21 includes a FF controller 22 and a filter 31.
[0026] The FF controller 22 differentiates the speed command value which is produced in the speed command unit 10 and which is then passed through the filter 31, and thereby produces the first torque command value.
[0027] The filter 31 is provided in the step preceding the FF controller 22. The filter 31 has the transmission characteristic F(s) of a formula (1) below based on a frequency , a vibration damping coefficient and a cutoff frequency .sub.adj which are adjustment parameters.
[0028] The frequency is adjusted in a range equal to or more than the antiresonant frequency .sub.0 of the machine 60 (the ball screw 70) but less than the resonant frequency .sub.p thereof, and is preferably set near the resonant frequency .sub.p. In this way, as will be described later, the transmission characteristic F(s) of the filter 31 approximates the inverse characteristic of the transmission characteristic based on a two-inertia system model from the servo motor 50 to the machine 60 (the ball screw 70), more specifically, the inverse characteristic of the transmission characteristic from a torque command to a machine speed.
[0029] The FB control unit 23 produces a second torque command value based on a difference between the speed command value produced in the speed command unit 10 and the motor speed value detected in the encoder 40. The FB control unit 23 includes a subtractor 24, a proportional-integral controller (hereinafter referred to as a PI controller) 25 and filter 32.
[0030] The subtractor 24 determines the difference between the speed command value produced in the speed command unit 10 and passed through the filter 32 and the motor speed value detected in the encoder 40. The PI controller 25 performs PI control on the difference determined in the subtractor 24 so as to produce the second torque command value.
[0031] The filter 32 is provided in the step preceding the subtractor 24. As with the filter 31, the filter 32 has the transmission characteristic F(s) of formula (1) above. The frequency is adjusted in the range equal to or more than the antiresonant frequency .sub.0 of the machine 60 (the ball screw 70) but less than the resonant frequency .sub.p thereof, and is preferably set near the antiresonant frequency .sub.0. In this way, as will be described later, the transmission characteristic F(s) of the filter 32 approximates the inverse characteristic of the transmission characteristic based on the two-inertia system model from the servo motor 50 to the machine 60 (the ball screw 70), more specifically, the inverse characteristic of the transmission characteristic from the motor speed to the machine speed.
[0032] For the filter 31 of the FF control unit 21 and the filter 32 of the FB control unit 23, the transmission characteristic F(s) can be set individually and independently. The frequency in the transmission characteristic F(s) of the filter 31 in the FF control unit 21 can be adjusted in a range equal to or more than the frequency in the transmission characteristic F(s) of the filter 32 in the FB control unit 23.
[0033] The adder 26 adds together the first torque command value from the FF control unit 21 and the second torque command value from the FB control unit 23.
[0034] Here, the rigidity of the ball screw 70 in the machine 60 is low such that the servo motor 50 and the machine 60 are brought into a state of spring coupling. Due to the spring coupling, in the ball screw 70 of the machine 60, low-frequency resonance (vibration) in a servo control band may occur.
[0035] In order to reduce the low-frequency resonance (vibration) in the ball screw 70 of the machine 60, the motor controller 1 of the present embodiment is characterized to include the filters 31 and 32 which have the transmission characteristic F(s) of formula (1) above that approximates the inverse characteristic of the transmission characteristic from the servo motor 50 to the machine 60 (the ball screw 70). A method of determining the transmission characteristic F(s) of the filters 31 and 32 will be described below.
[0036]
[0037] In this way, the model shown in
Torque.fwdarw.machine speed (transmission characteristic):
[0038] In formulas (2) and (3) above, forms which are converted into a secondary standard system are simultaneously represented. Here, .sub.p and are a resonant frequency and a vibration damping coefficient when the servo motor 50 is fixed in the two-inertia system model, and .sub.0 and are an antiresonant frequency and a vibration damping coefficient thereof. The antiresonant frequency .sub.0 and the resonant frequency .sub.p are represented by formulas below.
[0039] By formulas (2) and (3) above, the transmission characteristic from the motor speed V.sub.m to the machine speed V.sub.L is represented by formula below. Motor speed.fwdarw.machine speed (transmission characteristic):
[0040]
[0041] Here, the speed command issued by the speed command unit 10 is considered to be a command for the machine speed. This is a way of considering the reduction of vibrations in the machine 60 (the ball screw 70) regardless of whether or not vibrations are present from the speed command to the machine speed, that is, in the step preceding the machine 60 (the ball screw 70).
[0042] In order to consider that the speed command is a command for the machine speed, it is preferable to make the transmission characteristic from the speed command to the machine speed approach 1. Preferably, in order for the transmission characteristic from the speed command to the machine speed to be made the filter 31 of the FF control unit 21 has the inverse characteristic of the transmission characteristic from the torque (torque command) u to the machine speed V.sub.L, that is, the transmission characteristic from the machine speed V.sub.L to the torque (torque command) u, and the filter 32 in the step preceding the subtractor 24 of the FB control unit 23 has the inverse characteristic of the transmission characteristic from the motor speed V.sub.m to the machine speed V.sub.L, that is, the transmission characteristic from the machine speed V.sub.L to the motor speed V.sub.m.
[0043] The transmission characteristic from the machine speed V.sub.L to the torque (torque command) u and the transmission characteristic from the machine speed V.sub.L to the motor speed V.sub.m are represented from formulas (3) and (6) above by formulas below. Machine speed.fwdarw.torque (transmission characteristic):
Machine speed.fwdarw.motor speed (transmission characteristic):
[0044] It is found from formulas (7) and (8) above that
(1) denominator polynomials are common,
(2) numerator polynomials are different in parameters for the frequencies .sub.p and .sub.0 and the vibration damping coefficients and but are the same in the form and
(3) the numerator polynomials include the secondary transmission characteristic of the frequency .sub.p or the antiresonant frequency .sub.0. Hence, the sharing of the transmission characteristic (formula (7) above) of the filter 31 in the FF control unit 21 and the transmission characteristic (formula (8) above) of the filter 32 in the FB control unit 23 will be examined below.
[0045] The zero point and the pole of the secondary transmission characteristic of formulas (7) and (8) above are determined by formulas below. Machine speed.fwdarw.zero point of torque (transmission characteristic):
s=.sub.pj{square root over (1.sup.2)}.sub.p [Formula 10]
Machine speed.fwdarw.zero point of motor speed (transmission characteristic):
s=.sub.0j{square root over (1.sup.2)}.sub.0 [Formula 11]
Pole (common)
[0046] In this way, the distances of the zero point and the pole from the complex plane origin are determined by formulas below. Machine speed.fwdarw.zero point of torque (transmission characteristic):
|s|=.sub.p [Formula 13]
Machine speed.fwdarw.zero point of motor speed (transmission characteristic):
|s|=.sub.0[Formula 14]
Pole (common):
[0047] Here, when it is assumed that as a general machine tool, a load inertia ratio J.sub.L/J.sub.m is approximately 1 and that the vibration damping coefficient is about 0.1, by formulas (4) and (5) above, the resonant frequency .sub.p is about 2 times the antiresonant frequency .sub.0. It is found from formula (9) above that since the distance of the pole from the complex plane origin is separated 5 to 7.07 times (52 times) as much as the distance of the zero point from the complex plane origin, the zero point is dominant in the transmission characteristic.
[0048] In this way, as the common transmission characteristic F(s) of the filters 31 and 32, the transmission characteristic of formula (1) below including the dominant zero point is approximated.
[0049] In formula (1) above, a denominator polynomial is made to have the format of a general secondary filter of the cutoff frequency .sub.adj. From the numerator polynomials of formulas (7) and (8) above, a numerator polynomial is made to have a format based on the frequency to and the vibration damping coefficient serving as the adjustment parameters.
[0050] In formula (1) above, the frequency serving as the adjustment parameter is adjusted in the range equal to or more than the antiresonant frequency .sub.0 of the machine 60 (the ball screw 70) but less than the resonant frequency .sub.p thereof. For example, in the transmission characteristic F(s) of the filter 31 in the FF control unit 21, by formula (7) above, the frequency is preferably set near the resonant frequency .sub.p, and the transmission characteristic F(s) of the filter 32 in the FB control unit 23, by formula (8) above, the frequency is preferably set to the antiresonant frequency .sub.0. As described previously, since as a general machine tool, the resonant frequency .sub.p is about 2 times the antiresonant frequency .sub.0, the frequency in the transmission characteristic F(s) of the filter 31 in the FF control unit 21 is adjusted the range equal to or more than the frequency in the transmission characteristic F(s) of the filter 32 in the FB control unit 23.
[0051] As described above, in the motor controller 1 of the present embodiment which performs the speed control based on the speed command, the speed control unit 20 includes the filters 31 and 32 which approximate the inverse characteristic of the transmission characteristic from the servo motor 50 to the machine 60 (the ball screw 70), the filters 31 and 32 have the transmission characteristic F(s) of formula (1) above based on the frequency , the vibration damping coefficient and the cutoff frequency .sub.adj which are the adjustment parameters and the frequency is adjusted so as to be equal to or more than the antiresonant frequency .sub.0 of the machine 60 (the ball screw 70) but less than the resonant frequency .sub.p. In this way, it is possible to make the transmission characteristic from the speed command to the machine speed approach 1, and thus the speed command can be considered to be a command for the machine speed. Hence, it is possible to reduce vibrations in the ball screw (drive unit) 70 of the machine 60.
[0052] Incidentally, according to formulas (7) and (8) above, the characteristic (the inverse characteristic of the transmission characteristic from the torque (torque command) to the machine speed) necessary for the filter 31 of the FF control unit 21 in the speed control unit 20 is different from the characteristic (the inverse characteristic of the transmission characteristic from the motor speed to the machine speed) necessary for the filter 32 of the FB control unit 23. In the motor controller 1 of the present embodiment, since the FF control unit 21 and the FB control unit 23 include the filters 31 and 32 for which the transmission characteristic F(s) can be set individually and independently, it is possible to more reduce vibrations in the ball screw 70 of the machine 60 with the filters 31 and 32 shared.
[0053] Specifically, the frequency in the transmission characteristic F(s) of the filter 31 in the FF control unit 21 is set near the resonant frequency .sub.p, and the frequency in the transmission characteristic F(s) of the filter 32 in the FB control unit 23 is set near the antiresonant frequency .sub.0. In this way, the FF control unit 21 includes the filter 31 which approximates the inverse characteristic of the transmission characteristic from the torque to the machine speed, and the FB control unit 23 includes the filter 32 which approximates the inverse characteristic of the transmission characteristic from the motor speed to the machine speed. In this way, it is possible to make the transmission characteristic from the speed command to the machine speed approach 1, and thus the speed command can be more considered to be a command for the machine speed. Hence, it is possible to more reduce vibrations in the ball screw (drive unit) 70 of the machine 60.
[0054] Although the embodiment of the present invention is described above, the present invention is not limited to the embodiment described above. The effects described in the present embodiment are simply a list of most preferred effects produced from the present invention, and the effects of the present invention are not limited to the effects described in the present embodiment.
[0055] For example, in the embodiment described above, the motor drive device which performs the speed control based on the speed command is illustrated. However, the feature of the present invention is not limited to this configuration, and the present invention can also be applied to motor drive devices for speed control in which position control based on a position command and the speed control based on the speed command are performed with separate motor drive devices.
[0056] In the embodiment described above, the motor controller which performs the speed control on the ball screw (drive unit) of the machine is illustrated. However, the feature of the present invention is not limited to this configuration, and the present invention can also be applied to a motor controller which performs speed control on the feed axis (drive unit) of a machine, a motor controller which performs speed control on a hydraulic pump, a belt conveyor (drive unit) or the like in an industrial machine and the like.
EXPLANATION OF REFERENCE NUMERALS
[0057] 1 motor controller [0058] 10 speed command unit [0059] 20 speed control unit [0060] 21 FF control unit [0061] 22 FF controller [0062] 23 FB control unit [0063] 24 subtractor [0064] 25 PI controller [0065] 26 adder (addition unit) [0066] 31, 32 filter [0067] 40 encoder (speed detection unit) [0068] 50 servo motor [0069] 60 machine [0070] 70 ball screw (drive axis) [0071] 70A spring [0072] 70B dumper