1. Field of the Invention
The present invention relates to a motor controlling apparatus, and in particular to a motor controlling apparatus for suppressing vibrations by compensating a commanded position by multiplying a commanded acceleration with a gain determined from constants of the mechanical system.
2. Description of the Related Art
Conventionally, in motor control apparatuses for driving a machine with a motor, a servo control system includes a low-pass filter or notch filters to deal with high-frequency mechanical resonance. These filters are deployed in the control loop of the servo control system, and provided not for compensating position commands but aiming at improvement of the response and stability of the servo control system.
On the other hand, in order to deal with low-frequency resonance, techniques for using smooth commands, techniques of processing commands with notch filters, techniques using an input shaping method for commands and others have been used. These are, differing from countermeasure against high-frequency resonance, designed to cut off or sufficiently reduce the energy of resonance frequencies of the mechanical system, from the position command given to the servo control system.
Further, there is a method of controlling an inertial system by setting up an operation amount for vibration suppressing control by multiplying acceleration command information by a predetermined gain and adding the operation amount for vibration suppressing control to the position command (e.g., Japanese Laid-open Patent Publication No. 2010-88290 A).
In the motor control apparatus in machine tools, generally, PTP (Point to Point) control without regards to a moving path, or path control that controls the machine position along a given moving path, is carried out. When a motor control apparatus performs path control, it is unpreferable that the servo control system greatly deviates from the commanded path programmed by the user.
A case in which time-sequential position commands are given to a certain servo control axis will be taken into consideration. The purpose of the servo control system is to drive a machine in accordance with the time-sequential position commands. However, mechanical resonance sometimes prevents the servo control system from driving a machine exactly on the commanded position. The vibration remains as residual vibration after the axis is stopped, causing problems such as forming a stripe pattern on the workpiece being machined if the machine tool is in machining operation.
When conventional techniques such as notch filters, input shaping and the like are used, the energy components corresponding to resonance frequency are cut by notch filters or input shaping, so that residual vibration is reduced. However, since these filters change the commanded path in compensation for reduction of the residual vibration, there occurs a phenomenon that the machine cannot be driven following the commanded path the user has programmed. For example, when the commands are processed through notch filters, generally overshoot occurs. It is easily understood there from that step response of notch filters causes overshoot. If use of notch filters causes an overshoot in the commanded path, traces corresponding to the overshoot are left on the workpiece, hence degrading machining quality.
Although the conventional notch filtering or input shaping implemented to the commands is excellent in suppressing residual vibration, there has been the problem that the machine tool moves along a path different from the commanded path the user has programmed.
A motor control apparatus according to one embodiment of the present invention is a motor control apparatus for controlling a servo motor, which includes a position command generator for generating the position command of the motor, a compensation filter for compensating the position command generated by the position command generator and a servo control unit for controlling the movement of the motor based on a position command after compensation, i.e., the compensated position command by the compensation filter, and is constructed such that the compensation filter includes a filter F(s) having an inertia JL of the driven part, a stiffness coefficient K of an elastically deformable part and a damping coefficient C of the elastically deformable part as the elements of filter coefficients.
The object, features and advantages of the present invention will be better understood by reading the following description of the embodiments, taken together with the drawings wherein:
Referring now to the drawings, the motor control apparatuses according to the present invention will be described. However, it should be noted that the technical scope of the present invention is not limited by the embodied mode of these but embraces the inventions defined by the claims and their equivalence.
To begin with, a motor control apparatus according to the first embodiment of the present invention will be described. In the motor control apparatus according to the first embodiment of the invention, command compensation is performed on the premise that path control is performed for a two-inertia system representing the simplest vibration model.
In
The equations of motion of the motor 100 and machine 200, Vm and VL, and the combined force T of the spring 30 and damper 40 are given as the following equations.
The above three equations are illustrated as in a block diagram in
On the basis of the above equations of motion and the equation of the combined force of the spring and damper, the transfer functions from torque u to motor speed Vm and to machine speed VL can be determined as the following (Eq. 1) and (Eq. 2), respectively:
In recent motor control apparatuses, thanks to the control gain becoming higher and use of feed-forward control, the actual position of the motor is promptly controlled as soon as a move command is given to the motor. In other words, the transfer characteristics from the position command of the motor to the actual position of the motor is almost 1.
The operation of the motor control apparatus according to the first embodiment of the present invention will be described. The position command generated by position command generator 20 is input to the compensation filter 1. The compensation filter 1 outputs a position command after compensation as a compensated position command. The servo control unit 2, based on the position command after compensation, outputs torque to control the movement of the motor 100. The movement of the motor 100 causes a transfer mechanism 300 to move the machine 200.
In the servo control unit 2, the position command after compensation is input to a first subtractor 3, which subtracts the feedback of the detected value of the motor position from the input to output a position error, which is, in turn, input to a position controller 4. The position command after compensation is also input to a feed forward unit 5, then is differentiated by a differentiator 6 to output the speed. The output speed is supplied together with the output from position controller 4 to an adder 7, from which a speed command is output.
The speed command is input to a second subtractor 8, which subtracts the feedback of the detected value of the motor speed from the input to output a speed error. The output speed error is supplied to a speed controller 9, which outputs torque. The torque is input to the motor. The motor dynamics is represented as transfer characteristic from torque to motor speed 10, and thus yields motor speed. The generated motor speed is kinematically integrated by a first integrator 11 to give a motor position. On the other hand, in the present invention, transfer characteristic 12 from torque to machine speed is taken into account. Torque is processed through transfer characteristic 12 from torque to machine speed, so that a machine speed is output. Machine speed is kinematically integrated by a second integrator 13 to give a machine position.
The transfer characteristic from the position command of the motor to the actual position of the motor becoming close to 1, is equivalent to the transfer function from the point B to the point C in
In the motor control apparatus according to the first embodiment of the present invention, differing from notch filters or input shaping, as stated above a vibration suppression filter taking path precision into account is provided. To be more specific, the position command given to the servo control system is not a position command to the motor but is regarded as a position command to the machine. This means that the motor is allowed to vibrate as long as the machine is not vibrated, which is markedly different from the conventional concept of notch filters or input shaping that “the components of energy corresponding to the resonance frequencies are removed”.
The position command given to the servo control system is regarded as the position command to the machine. Accordingly, it is necessary to perform control such that the transfer characteristic from points A to D will approach to 1. Herein, when the transfer characteristic from points B to C is assumed to be 1, it is understood that the transfer characteristic from points A to B needs to have an inverse characteristic to that from points C to D.
As can be seen in
In the motor control apparatus according to the first embodiment of the present invention, attention is focused on the fact that this filter is dependent on the mechanical system constants (JL, C, K) only, hence the filter can be defined by these three constants. That is, the compensation filter 1 is characterized by inclusion of a filter F(s) having an inertia JL of a driven part, a stiffness coefficient K of an elastically deformable part and a damping coefficient C of the elastically deformable part as the elements of filter coefficients.
As described, according to the motor control apparatus according to the first embodiment of the present invention, it is possible to provide a vibration suppressing filter that is designed by taking path precision into consideration, differing from notch filters or input shaping.
Next, a motor control apparatus according to the second embodiment of the present invention will be described. In view of ease of implementation of software, there are cases where calculating a compensation amount to be added to the position command is easier than directly performing a filtering process to the position command. To achieve this, the filtering characteristic determined in the first embodiment should be transformed into a compensation amount.
Formation of a compensation amount to the position command can be done by subtracting 1 from the filter characteristic. The block diagram of the compensation filter of the motor control apparatus according to the first embodiment of the present invention is illustrated in
In this way, the position command after compensation can be determined by adding a differential compensation amount for implementation of a filter F(s)−1 on the position command, to the position command.
On the basis of the above equation, this equation can be written as follows:—
Therefore, as another way of implementing the filter F(s) included in the compensation filter 1, the following method can be considered, which includes the steps of:
determining an acceleration command (a value obtained by differentiating the position command twice because s2 (the square of Laplace operator or differential operator) is attached;
multiplying the acceleration command by a gain JL/K, determined by the mechanical inertia JL and the spring constant K of the elastic part; and
implementing a first order low-pass filter with a time constant of τ=C/K, determined by the damping constant C and the spring constant K.
In the motor control apparatus according to the second embodiment of the present invention, the compensation filter 1 includes: an acceleration command operator 1a for calculating an acceleration command, from a position command; a first compensation amount operator 1b for multiplying the acceleration command output from the acceleration command operator 1a, by a gain JL/K, determined by the inertia JL of the driven part and the stiffness constant K of the elastically deformable part; and a second compensation amount operator 1c for implementing a first order low-pass filter with a time constant of C/K, determined by the damping constant C of the elastically deformable part and the stiffness constant K of the elastically deformable part, on the first compensation amount output from the first compensation amount operator 1b, and is characterized in that the filter F(s) is realized by adding the second compensation amount output from the second compensation amount operator 1c, to the position command.
According to the motor control apparatus of the second embodiment of the present invention, it is possible to suppress vibration that takes the damping coefficient into account and hence is more realistic. As a result, it is possible to expect a high vibration suppressing effect compared to the conventional art.
Next, a motor control apparatus according to the third embodiment of the present invention will be described.
The constants JL, C and K that appear in the calculation formula F(s)−1, are all the elements that form the numerator polynomial of the following transfer function from torque to motor speed.
As often used in vibrating systems, the numerator polynomial of the transfer function from torque to motor speed is written in a quadratic standard form.
As a result, the gain and time constant can be determined as follows:—
Gain: JL/K=1/ω)2
Time Constant: C/K=2ζ/ω
Since input of the two constants, the frequency co and the damping factor ζ given in the quadratic standard form, is easier than input of the three constants, the mechanical inertia JL, damping constant C and spring constant K, in the motor control apparatus according to the third embodiment the filter F(s) included in the compensation filter is realized based on the frequency co and the damping factor ζ.
As described, the motor control apparatus according to the third embodiment of the present invention, is characterized in that, instead of inputting the gain JL/K, determined by the inertia JL of the driven part and the stiffness constant K of the elastically deformable part and the time constant of C/K, determined by the damping constant C of the elastically deformable part and the stiffness constant K of the elastically deformable part, the frequency co and the vibration attenuation coefficient ζ are input to realize the filter F(s) included in the compensation filter.
As described heretofore, according to the motor control apparatus of the embodiments of the present invention, it is possible to compensate the two-inertia system, which is the simplest vibration model, on the basis of path control.
Number | Date | Country | Kind |
---|---|---|---|
2015-007219 | Jan 2015 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4139811 | Klinger | Feb 1979 | A |
4914365 | Murakami | Apr 1990 | A |
5030901 | Futami | Jul 1991 | A |
5093609 | Sakamoto | Mar 1992 | A |
5220262 | Kneifel, II | Jun 1993 | A |
5691615 | Kato | Nov 1997 | A |
6218801 | Brog.ang.rdh | Apr 2001 | B1 |
8040098 | Zhang | Oct 2011 | B2 |
8855826 | Benosman | Oct 2014 | B2 |
8860352 | Benosman | Oct 2014 | B2 |
9257932 | Ikai | Feb 2016 | B2 |
20030020427 | Hamamura | Jan 2003 | A1 |
20050080495 | Tessier | Apr 2005 | A1 |
20060208683 | Ide | Sep 2006 | A1 |
20100052597 | Dong | Mar 2010 | A1 |
20110193510 | Fleming | Aug 2011 | A1 |
20110288791 | Jeppesen | Nov 2011 | A1 |
20130234642 | Igarashi | Sep 2013 | A1 |
20150115860 | Wang | Apr 2015 | A1 |
20150295522 | Sakai | Oct 2015 | A1 |
20150303855 | Verhulst | Oct 2015 | A1 |
20150361658 | Yamashina | Dec 2015 | A1 |
Number | Date | Country |
---|---|---|
101795880 | Aug 2010 | CN |
102570956 | Jul 2012 | CN |
2000148250 | May 2000 | JP |
2004272749 | Sep 2004 | JP |
2004272883 | Sep 2004 | JP |
2005174082 | Jun 2005 | JP |
200970396 | Apr 2009 | JP |
2009226520 | Oct 2009 | JP |
2009255805 | Nov 2009 | JP |
2010088290 | Apr 2010 | JP |
Entry |
---|
Machine translation JP2009255805A. |
Machine translation JP2005174082A. |
English Abstract and Machine Translation for Japanese Publication No. 2009-070396 A, published Apr. 2, 2014, 21 pgs. |
English Abstract for Japanese Publication No. 2004-272883 A, published Sep. 30, 2004, 1 pg. |
English Abstract and Machine Translation for Japanese Publication No. 2010088290 A, published Apr. 15, 2010, 19 pgs. |
English Abstract for Chinese Publication No. 102570956 A, published Jul. 11, 2012, 1 pg. |
English Abstract and Machine Translation for Chinese Publication No. 101795880 A, published Aug. 4, 2010, 29 pgs. |
Number | Date | Country | |
---|---|---|---|
20160209829 A1 | Jul 2016 | US |