WO2013132946A1 - サーボ制御装置及びサーボ制御方法 - Google Patents

サーボ制御装置及びサーボ制御方法 Download PDF

Info

Publication number
WO2013132946A1
WO2013132946A1 PCT/JP2013/052636 JP2013052636W WO2013132946A1 WO 2013132946 A1 WO2013132946 A1 WO 2013132946A1 JP 2013052636 W JP2013052636 W JP 2013052636W WO 2013132946 A1 WO2013132946 A1 WO 2013132946A1
Authority
WO
WIPO (PCT)
Prior art keywords
axis
control
gain
feedforward
feedback
Prior art date
Application number
PCT/JP2013/052636
Other languages
English (en)
French (fr)
Inventor
竹内 克佳
博久 倉本
山本 英明
Original Assignee
三菱重工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱重工業株式会社 filed Critical 三菱重工業株式会社
Priority to US14/379,940 priority Critical patent/US20150045940A1/en
Priority to CN201380010394.2A priority patent/CN104137014B/zh
Publication of WO2013132946A1 publication Critical patent/WO2013132946A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/0205Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/182Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by the machine tool function, e.g. thread cutting, cam making, tool direction control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/41Servomotor, servo controller till figures
    • G05B2219/41004Selection gain according to selection of speed or positioning mode
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/41Servomotor, servo controller till figures
    • G05B2219/41427Feedforward of position
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49135Active clamping, use servo to keep in position
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49381Raster, line servo, area machining, cutting, facing

Definitions

  • the present invention relates to a servo control device and a servo control method.
  • Patent Document 1 discloses a model speed polynomial during operation as a control device that can reduce positioning time while suppressing excessive speed and overshoot during position control and performs stable control even when the control response is low. Describes a control device that continuously changes the position control gain based on the above.
  • a feedback gain (position loop gain) used in position feedback control is conventionally set to the same value for each axis.
  • the reason for this is that if the feedback gain differs for each axis, as shown in FIG. 9, the balance of the positional deviation during movement of the driven part is lost, and the actual machine trajectory and the trajectory indicated by the position command are lost. This is because an error occurs.
  • the feedback gain that is the same for each axis is determined based on, for example, the axis having the weakest mechanical rigidity. For this reason, when feedback control is performed with the same feedback gain, the position control of each axis does not necessarily have an optimal response.
  • the present invention has been made in view of such circumstances, and in an apparatus having a plurality of axes for controlling the position of the driven part, the position control of each axis can be made an optimum response.
  • An object of the present invention is to provide a servo control device and a servo control method.
  • the servo control device and the servo control method of the present invention employ the following means.
  • the servo control device is provided for each of a plurality of axes, a screw feed unit that converts the rotational motion of the motor into a linear motion, and a driven portion that is linearly moved by the screw feed unit, A servo control device that is applied to a numerical control device including the screw feeding unit and a support on which the driven unit is supported, and controls the motor so that the position of the driven unit matches a position command.
  • Feedback means for performing feedback control for matching the position of the driven part with the position command for each axis, and compensation for position control delay for the driven part by the feedback control for each axis
  • Feed-forward means for performing feed-forward control for the shaft, and when the feed-forward control is turned off, the feed for each axis Is the same value set back gain advance, the feedforward control by the feedforward means when it is turned on, is a predetermined value the feedback gain by the feedback control in accordance with each of the axes.
  • the servo control device is provided for each of a plurality of shafts, a screw feed portion that converts the rotational motion of the motor into a linear motion, a driven portion that is linearly moved by the screw feed portion, a screw
  • the present invention is applied to a numerical control device including a feeding unit and a support on which a driven unit is supported, and controls a motor so that the position of the driven unit matches a position command. Then, feedback control for making the position of the driven part coincide with the position command is performed for each of the plurality of axes by the feedback means.
  • the feedforward means performs feedforward control for compensating for a delay in position control with respect to the driven part by feedback control for each of a plurality of axes. Further, when the feedforward control is turned off, the feedback gain for each axis is set to the same preset value, and when the feedforward control is turned on, the feedback gain by the feedback control is a predetermined value corresponding to each axis. Value.
  • the same feedback gain for each axis set in advance is determined based on, for example, the axis having the weakest mechanical rigidity. For this reason, when feedback control is performed with the same feedback gain, the position control of each axis does not necessarily have an optimal response. However, since the feedback control delay in each axis is compensated by the feedforward control, the delay in the position control of each axis is suppressed even if the feedback gain for each axis is not the same. For this reason, when feedforward control is being performed, by setting the feedback gain of each axis to a value corresponding to each axis, the servo control device does not cause a delay in position control in each axis, and each Axis position control can be made an optimum response.
  • the servo control device can make the position control of each axis an optimum response in a device having a plurality of axes for controlling the position of the driven part.
  • the predetermined value is set differently when the set value of the feedforward gain by the feedforward control is the same for each axis and when the set value is different for one or more of the axes.
  • the configuration is preferred.
  • the predetermined value is a value set for each axis according to the mechanical rigidity of the axis when the set value of the feedforward gain by the feedforward control is the same for each axis. Is preferred.
  • the mechanical rigidity of the shaft is different for each shaft.
  • the feedback gain is set to a value set for each axis in accordance with the mechanical rigidity of the axis, so that the position control of each axis is further controlled. Optimal response can be achieved.
  • the position command for the driven part and the actual position of the driven part Is preferably set to the same value for each of the axes.
  • a servo control method is provided for each of a plurality of axes, a screw feed portion that converts the rotational motion of the motor into a linear motion, and a driven portion that is linearly moved by the screw feed portion, Applied to a numerical control device comprising a screw feeder and a support on which the driven part is supported, and for controlling the motor so that the position of the driven part coincides with a position command, for each axis Further, feedback means for performing feedback control for making the position of the driven part coincide with the position command, and feedforward for compensating for a delay in position control with respect to the driven part due to the feedback control for each axis.
  • Servo control method by a servo control device comprising a feedforward means for performing control, wherein the feedforward control is turned off
  • the feedforward control is turned off
  • the feedback gain for each axis is set to the same value set in advance and the feedforward control by the feedforward means is turned on, and the feedback gain by the feedback control is And a second step of performing feedforward control with a predetermined value corresponding to each axis.
  • FIG. 1 is a diagram illustrating a schematic configuration of a machine tool to which a servo control device according to a first embodiment of the present invention is applied. It is the figure which showed schematic structure of the control object apparatus of the servo control apparatus which concerns on 1st Embodiment of this invention. It is the figure which showed the block diagram of the servo control apparatus which concerns on 1st Embodiment of this invention. It is the figure which showed the block diagram of the speed feedforward part which concerns on 1st Embodiment of this invention. It is the flowchart which showed the flow of the servo control process which concerns on 1st Embodiment of this invention.
  • FIG. 1 is a diagram showing a schematic configuration of a machine tool 50 according to the first embodiment of the present invention.
  • the machine tool 50 includes a bed 1 and a table 2 that is disposed on the bed 1 and is a driven unit that is movable along the X-axis direction.
  • a gate-shaped column 3 is disposed so as to straddle the table 2.
  • a cross rail 4 is attached to the column 3 in the Y axis direction, and a saddle 5 as a driven portion moves on the cross rail 4 so that the saddle 5 can move along the Y axis direction.
  • the saddle 5 includes a ram 6 that is a driven portion that is movable along the Z-axis direction.
  • the object of the first embodiment is to control the position of the saddle 5 so that the machine tip position of the ram 6 in the Y-axis direction matches the position indicated by the position command ⁇ .
  • FIG. 2 shows a schematic configuration of a control target device of the servo control device 20 according to the first embodiment.
  • the servo control device 20 shown in FIG. 2 is a servo control device (Y-axis servo control device) for moving the saddle 5 along the Y-axis direction as an example. Therefore, a servo control device (X-axis servo control device) for moving the table 2 along the X-axis direction and a servo control device (Z-axis servo control device) for moving the ram 6 along the Z-axis direction are also provided.
  • the machine tool 50 is provided.
  • the configuration of these servo machine devices is the same as the configuration shown in FIG. As shown in FIG.
  • the device to be controlled converts the rotational movement of the motor 12 into a linear movement by a ball screw feeding portion (screw feeding portion) 9 including a ball screw nut 10 and a ball screw shaft 11.
  • This is a ball screw drive mechanism of the machine tool 50 that moves a saddle 5 linearly (moves in the Y-axis direction).
  • the motor 12 is provided with a motor encoder 13 that detects and outputs the motor speed ⁇ M.
  • the linear scale 14 detects and outputs a load position ⁇ L indicating the position of the saddle 5.
  • the ball screw driving mechanism when the motor 12 is driven to rotate and the ball screw shaft 11 rotates, the ball screw nut 10 and the saddle 5 fixedly connected thereto move linearly.
  • the servo control device 20 (Y-axis servo control device) shown in FIG. 2 has a saddle 5 so that the front end of the machine attached to the ram 6 matches the position indicated by the position command ⁇ Y in the Y-axis direction. Control the position of the.
  • the X-axis servo control device controls the position of the table 2 so that the predetermined position of the table 2 coincides with the position indicated by the position command ⁇ X in the X- axis direction.
  • the Z-axis servo control device controls the position of the ram 6 so that the front end of the machine attached to the ram 6 coincides with the position indicated by the position command ⁇ Z in the Z- axis direction.
  • FIG. 3 is a block diagram of the servo control device 20 according to the first embodiment.
  • FIG. 3 shows a block diagram of the Y-axis servo control device as an example, but the X-axis servo control device and the Z-axis servo control device have the same configuration.
  • the servo control device 20 includes a position feedback unit 21, a speed feedforward unit 22, a subtraction unit 23, a proportional-integral calculation unit 24, a switching unit 25, and a gain changing unit 26.
  • the position feedback unit 21 performs position feedback control for making the position of the saddle 5 coincide with the position command ⁇ (position command ⁇ Y ).
  • the position feedback unit 21 includes a subtraction unit 27 and a multiplication unit 28.
  • Subtracting unit 27 outputs a position deviation ⁇ is the difference between the position command theta and the load position theta L.
  • Multiplier 28 multiplies position deviation ⁇ by a feedback gain (hereinafter referred to as “position loop gain”) and outputs deviation speed ⁇ V to subtractor 23.
  • position loop gain a feedback gain
  • the position loop gain corresponding to the X axis is K PX
  • the position loop gain corresponding to the Y axis is K PY
  • the position loop gain corresponding to the Z axis is K PZ .
  • the speed feedforward unit 22 performs speed feedforward control for compensating for a delay in position control with respect to the saddle 5 due to position feedback control.
  • the speed feedforward unit 22 includes a first-order derivative term computing unit 30-1 that firstly differentiates the position command ⁇ and a second-order derivative term computing unit 30- that secondarily differentiates the position command ⁇ . 2, a third-order differential term calculation unit 30-3 for third-order differentiation of the position command ⁇ , and a fourth-order differential term calculation unit 30-4 for fourth-order differentiation of the position command ⁇ . Further, the speed feedforward unit 22 multiplies the primary differential term by the primary differential feedforward gain (a Y1 ) and the secondary differential term by the secondary differential feedforward gain (a Y2 ).
  • Multiplication unit 31-2 for multiplication, multiplication unit 31-3 for multiplying the third derivative term by the third derivative feedforward gain ( aY3 ), and multiplication for multiplying the fourth derivative term by the fourth derivative feedforward gain ( aY4 ).
  • s is a Laplace operator (differential operator). In the first embodiment, the same value is used for each axis from the first-order differential feedforward gain to the fourth-order differential feedforward gain.
  • the first-order differential feedforward gain to the fourth-order differential feedforward gain are set to the transfer function of the inverse characteristic model of torque and speed in the mechanical system model.
  • the transfer function of the velocity loop compensation unit 33 is represented by ⁇ K P / (1 + T v s) ⁇ using the position gain K P and the integration time constant T v .
  • the third-order differential term multiplied by the feedforward gain and the fourth-order differential term multiplied by the fourth-order differential feedforward gain are input to the adder 32, respectively.
  • the different differential coefficient values are added and given to the speed loop compensation unit 33.
  • the speed loop compensation unit 33 outputs the compensation speed V ′ obtained by performing the position compensation represented by the transfer function to the subtraction unit 23.
  • the compensation speed V ′ is a speed obtained by compensating for error factors (delay factors) such as “strain”, “deflection”, and “viscosity” with respect to the motor 12 and the saddle 5.
  • the subtracting unit 23 outputs a command speed V obtained by subtracting the motor speed ⁇ M from the value obtained by adding the compensation speed V ′ output from the speed feedforward unit 22 to the deviation speed ⁇ V, and outputs the command speed V to the proportional integration calculating unit 24. .
  • the proportional-integral calculation unit 24 performs a proportional-integral calculation on the command speed V and outputs a command torque ⁇ .
  • the command torque ⁇ is obtained.
  • This command torque ⁇ is given to the device to be controlled shown in FIG. 2, and each part is controlled based on the command torque ⁇ .
  • the motor 12 is driven to rotate when a current corresponding to the command torque ⁇ is supplied from a current controller (not shown).
  • current feedback control is performed so that the current value corresponds to the command torque ⁇ .
  • the rotational motion of the motor 12 is converted into a linear motion by the ball screw feed unit 9.
  • the ball screw nut 10 screwed to the ball screw feeding section 9 is moved together with the saddle 5 which is fixed to the ball screw nut 10 moves to a position the saddle 5 is indicated by the position command theta Y.
  • the switching unit 25 switches on / off of the speed feedforward control by the speed feedforward unit 22.
  • the gain changing unit 26 sets the position loop gain for each axis to the same preset value (hereinafter referred to as “common gain”).
  • the position loop gain by the position feedback control is set to a predetermined value (hereinafter referred to as “optimum gain”) corresponding to each axis.
  • the gain changing unit 26 includes a storage unit that stores the optimum gain and the common gain.
  • the common gain is a value based on an axis having the weakest mechanical rigidity among the X, Y, and Z axes. For this reason, with the common gain, the position loop gain of each axis is not necessarily an optimal value.
  • the optimum gain is set in advance so as to obtain an optimum position loop response for each of the X axis, the Y axis, and the Z axis according to the mechanical rigidity of the axis. For example, since the table 2 which is a heavy object moves on the X axis, hunting is likely to occur when the gain is increased, and therefore the optimum gain of the X axis is smaller than that of the other axes.
  • the servo control device 20 includes, for example, a CPU (Central Processing Unit), a RAM (Random Access Memory), a computer-readable recording medium, and the like. A series of processes for realizing functions related to various controls is recorded on a recording medium or the like in the form of a program as an example.
  • the CPU reads the program into a RAM or the like, and processes and processes information. By executing the above, various controls are realized.
  • the speed feedforward unit 22, the position feedback unit 21, the subtraction unit 23, and the proportional integration calculation unit 24 are provided for each axis, while the switching unit 25 and the gain changing unit 26 may be common to each axis.
  • servo control processing processing executed by the servo control device 20 according to the first embodiment
  • the servo control process starts when the operation of the machine tool 50 is started and ends when the operation of the machine tool 50 ends.
  • step 100 position control for each axis by position feedback control is started.
  • the position loop gain is a common gain, and the speed feedforward control is not started.
  • step 102 the switching unit 25 determines whether or not there is an on command for speed feedforward control. If the determination is affirmative, the process proceeds to step 104. If the determination is negative, the process does not proceed to step 104. In addition, the control by only the position feedback control is continued.
  • the case where the speed feedforward control is turned on is, for example, a case where the workpiece placed on the table 2 is processed by the ram 6.
  • step 104 the position loop gain is changed, and speed feedforward control is started.
  • the switching unit 25 outputs a gain change command for changing the position loop gain to the gain change unit 26 and outputs an FF control start command for starting the speed feedforward control to the speed feedforward unit 22.
  • the gain changing unit 26 changes the position loop gain of each axis from the common gain to the optimum gain.
  • the speed feedforward unit 22 starts the speed feedforward control.
  • the machine tool 50 starts control by position feedback control and speed feedforward control. Since the delay of the position feedback control in each axis is compensated by the speed feedforward control, the delay in the position control of each axis is suppressed even if the position loop gain for each axis is not the same. For this reason, when the speed feedforward control is performed, the servo control device 20 causes a delay in the position control in each axis by setting the position loop gain of each axis to the optimum gain corresponding to each axis. In addition, the position control of each axis can be made an optimum response.
  • step 106 the switching unit 25 determines whether or not there is an instruction to turn off the speed feedforward control. If the determination is affirmative, the process proceeds to step 108. If the determination is negative, the process does not proceed to step 108. In addition, control by position feedback control and speed feedforward control is continued.
  • step 108 the position loop gain is changed from the optimum gain to the common gain, the speed feedforward control is terminated, the process returns to step 102, and the processing from step 102 to step 108 is repeated until the operation of the machine tool 50 is terminated.
  • FIG. 6 is a graph showing an error (hereinafter referred to as “trajectory error”) between the trajectory indicated by the position command and the actual trajectory when the moving direction of the driven part is reversed.
  • FIG. 6 shows a trajectory error in the XZ plane as an example, and a region surrounded by a two-dot chain line circle is a trajectory error when the moving direction is reversed.
  • the lower diagram of FIG. 6 is a graph showing the time change of the position (solid line) of the table 2 which is the driven part in the region surrounded by the circle and the position (broken line) of the motor 12 which moves the table 2 via the shaft.
  • the position of the table 2 that should follow the position of the motor 12 cannot be followed and a delay occurs (in a circle indicated by a broken line).
  • the servo control device 20 performs position feedback control for performing position feedback control for matching the position of the driven part with the position command for each of the X axis, the Y axis, and the Z axis.
  • a speed feedforward unit 22 that performs speed feedforward control for compensating for a delay in position control with respect to the driven part due to position feedback control for each axis.
  • the speed feedforward control is turned off, the servo control device 20 sets the position loop gain for each axis to the same preset value, and the speed feedforward control by the speed feedforward unit 22 is turned on.
  • the position loop gain by the position feedback control is set to the optimum gain corresponding to each axis. Therefore, the servo control device 20 according to the first embodiment can make the position control of each axis an optimum response in the machine tool 50 having a plurality of axes in order to control the position of the driven part.
  • the servo control device 20 since the servo control device 20 according to the first embodiment sets the optimum gain to a value set for each axis according to the mechanical rigidity of the axis, the position control of each axis can be made to have a more optimal response.
  • the configuration of the machine tool 50 according to the second embodiment is the same as the configuration of the machine tool 50 according to the first embodiment shown in FIGS.
  • FIG. 7 shows a block diagram of the servo controller 20 according to the second embodiment. 7 that are the same as in FIG. 3 are assigned the same reference numerals as in FIG. 3, and descriptions thereof are omitted.
  • the set value of the feedforward gain according to the second embodiment is variable.
  • the feed forward gain of each axis is unbalanced.
  • the feed-forward gain here may be a representative feed-forward gain (for example, a first-order differential feed-forward gain for calculating a speed compensation value), or a plurality of feed-forward gains used in speed feed-forward control. The sum of the feedforward gains may be used.
  • the gain changing unit 26 ′ determines the position feedback gain of each axis as a deviation (position between the position command for the driven part and the actual position of the driven part).
  • the deviation ⁇ ) is assumed to be the same value for each axis.
  • the gain changing unit 26 ′ will be specifically described.
  • the X-axis, Y-axis, and Z-axis primary differential feedforward gains are a X1 , a Y1 , and a Z1 , respectively.
  • the primary differential feedforward gains taking into account the weights (0 to 100%) of the primary differential feedforward gains on the X axis, Y axis, and Z axis are set as p X1 , p Y1 , and p Z1 , respectively.
  • the speed command V that is not compensated by the primary speed feedforward control is compensated by the position feedback control, and is expressed by the following equation (2).
  • DL X is the position deviation ⁇ of the table 2 that is the driven part on the X axis.
  • the following equation (3) is derived from the above equations (1) and (2).
  • the following equation (4) is derived in order to obtain the same position deviation for each axis.
  • the ratio of the value obtained by subtracting the set value from the upper limit value of the feed forward gain (numerator of the equation (4)) and the set value of the position loop gain (denominator of the equation (4)) is the same for each axis. It becomes.
  • FIG. 8 is a flowchart showing a flow of processing performed by the gain changing unit 26 'according to the second embodiment in step 104 of the servo control processing.
  • step 200 it is determined whether or not the feedforward gain of each axis is the same. If the determination is affirmative, the process proceeds to step 202. If the determination is negative, the process proceeds to step 204.
  • step 200 it is determined whether all the first-order differential feedforward gains aX1 , aY1 , and aX1 are all the same. The case where they are the same is not limited to the case where the weights p X1 , p Y1 and p Z1 of the first-order differential feedforward gain are set to 100%, for example.
  • step 202 the maximum position loop gain for each axis, that is, the optimum gain according to the first embodiment is set as the position loop gain for each axis.
  • step 204 it is determined whether or not the maximum value K PXM of the X-axis position loop gain is larger than the maximum values K PYM and K PZM of the Y-axis and Z-axis position loop gains. The process proceeds to 206, and if a negative determination is made, the process proceeds to step 216.
  • step 208 it is determined whether or not the Y-axis position loop gain K PY calculated in step 206 is larger than the maximum value K PYM. If the determination is affirmative, the process proceeds to step 210. Shifts to step 212.
  • step 212 it is determined whether or not the Z-axis position loop gain K PZ calculated in step 210 is larger than the maximum value K PYZ. If the determination is affirmative, the process proceeds to step 214. Proceeds to step 106.
  • step 208 and step 212 determine whether the position loop gain of each axis is set to the position loop gains K PX , K PY , K PZ calculated in step 206.
  • the position loop gain of each axis is set to the position loop gain K PX , K PY , K PZ calculated at step 210. Is done.
  • the position loop gain of each axis is set to the position loop gains K PX , K PY , K PZ calculated at step 214.
  • step 216 where the determination is negative in step 204, it is determined whether or not the maximum value K PYM of the Y-axis position loop gain is larger than the maximum values K PXM and K PZM of the position loop gains of the other axes. In the case of determination, the process proceeds to step 218, and in the case of negative determination, the process proceeds to step 228.
  • step 220 it is determined whether or not the X-axis position loop gain K PX calculated in step 218 is larger than the maximum value K PXM. If the determination is affirmative, the process proceeds to step 222. Shifts to step 224.
  • step 224 it is determined whether or not the Z-axis position loop gain K PZ calculated in step 222 is larger than the maximum value K PZM. If the determination is affirmative, the process proceeds to step 226. Proceeds to step 106.
  • step 106 when the determination is negative in step 220 and step 224 and the process proceeds to step 106, the position loop gain of each axis is set to the position loop gains K PX , K PY , and K PZ calculated in step 218.
  • step 220 if the determination in step 220 is affirmative and the determination in step 224 is negative and the process proceeds to step 106, the position loop gain of each axis is set to the position loop gains K PX , K PY , and K PZ calculated in step 222. Is done.
  • step 224 when the determination in step 224 is affirmative and the process proceeds to step 106, the position loop gain of each axis is set to the position loop gains K PX , K PY , K PZ calculated in step 226.
  • step 230 it is determined whether or not the X-axis position loop gain K PX calculated in step 228 is larger than the maximum value K PXM. If the determination is affirmative, the process proceeds to step 232. Proceeds to step 234.
  • step 234 it is determined whether or not the Y-axis position loop gain K PY calculated in step 232 is larger than the maximum value K PYM. If the determination is affirmative, the process proceeds to step 236. Proceeds to step 106.
  • step 106 when the determination is negative in step 230 and step 234 and the process proceeds to step 106, the position loop gain of each axis is set to the position loop gains K PX , K PY , K PZ calculated in step 228.
  • the position loop gain of each axis is set to the position loop gains K PX , K PY , K PZ calculated at step 232. Is done.
  • the position loop gain of each axis is set to the position loop gains K PX , K PY , K PZ calculated at step 236.
  • the servo control device 20 has one or more set values when the feed forward gain setting value is the same for each axis when the feed forward control is turned on. Set different values for different axes.
  • the set value of the feedforward gain is the same for each axis, a difference in the amount of movement of the driven part for each axis is suppressed.
  • the set value of the feedforward gain differs for one or more axes, a difference occurs in the amount of movement of the driven part for each axis, and the position control of the driven part with high accuracy is not performed.
  • different values are set when the set value of the feedforward gain is the same for each axis and when the set value is different for one or more axes. Position control can be made more optimal response.
  • the servo control device 20 can eliminate the imbalance of the feedforward gain and suppress the occurrence of an error between the trajectory indicated by the position command for the driven part and the actual trajectory. it can.
  • the process shown in FIG. 8 may be performed every time at least one of the feedforward gains of each axis is changed.
  • the present invention has been described with respect to an embodiment in which the present invention is applied to a servo control device for a machine tool having three axes (X axis, Y axis, and Z axis), but the present invention is limited to this. Instead, the present invention may be applied to a servo control device for a machine tool having two axes or four axes or more.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Control Of Position Or Direction (AREA)
  • Feedback Control In General (AREA)
  • Numerical Control (AREA)

Abstract

サーボ制御装置(20)は、X軸、Y軸、Z軸毎に、被駆動部の位置を位置指令に一致させるための位置フィードバック制御を行う位置フィードバック部(21)と、軸毎に、位置フィードバック制御による被駆動部に対する位置制御の遅れを補償するための速度フィードフォワード制御を行う速度フィードフォワード部(22)とを備える。そして、サーボ制御装置(20)は、速度フィードフォワード制御がオフとされた場合に、軸毎の位置ループゲインを予め設定した同一値とし、速度フィードフォワード部(22)による速度フィードフォワード制御がオンとされた場合に、位置フィードバック制御による位置ループゲインを軸毎に応じた最適ゲインとする。

Description

サーボ制御装置及びサーボ制御方法
 本発明は、サーボ制御装置及びサーボ制御方法に関するものである。
 例えば、工作機械等に用いられるサーボ制御装置においては、移動させられる被駆動部の位置制御の精度向上のために、様々な制御方法が提案されている。
 例えば、特許文献1には、位置制御時の速度超過やオーバーシュートを抑制しつつ位置決め時間を短縮でき、制御応答が低い場合においても安定した制御を行う制御装置として、動作中にモデル速度の多項式に基づいて位置制御ゲインを連続的に変化させる制御装置が記載されている。
特開2006-79526号公報
 ここで、2軸以上を有する工作機械において、位置フィードバック制御で用いるフィードバックゲイン(位置ループゲイン)は、従来各軸同じ値が設定されている。この理由は、各軸でフィードバックゲインが異なると、図9に示されるように、被駆動部の移動時の位置偏差のバランスが崩れ、実際の機械軌跡と位置指令により示される軌跡との間に誤差が生じるためである。
 しかしながら、各軸で同一とされるフィードバックゲインは、例えば最も機械剛性が弱い軸を基準に定められる。このため、同一のフィードバックゲインでフィードバック制御が行われると、各軸の位置制御が必ずしも最適な応答とはならなかった。
 本発明は、このような事情に鑑みてなされたものであって、被駆動部の位置を制御するために複数の軸を有している装置において、各軸の位置制御を最適な応答にできる、サーボ制御装置及びサーボ制御方法を提供することを目的とする。
 上記課題を解決するために、本発明のサーボ制御装置及びサーボ制御方法は以下の手段を採用する。
 本発明の第一態様に係るサーボ制御装置は、複数の軸毎に設けられ、モータの回転運動を直線運動に変換するねじ送り部と、前記ねじ送り部によって直線移動させられる被駆動部と、前記ねじ送り部及び前記被駆動部が支持される支持体とを備える数値制御機器に適用され、前記被駆動部の位置を位置指令に一致させるように前記モータを制御するサーボ制御装置であって、前記軸毎に、前記被駆動部の位置を前記位置指令に一致させるためのフィードバック制御を行うフィードバック手段と、前記軸毎に、前記フィードバック制御による前記被駆動部に対する位置制御の遅れを補償するためのフィードフォワード制御を行うフィードフォワード手段と、を備え、前記フィードフォワード制御がオフとされた場合に、前記軸毎の前記フィードバックゲインを予め設定した同一値とされ、前記フィードフォワード手段による前記フィードフォワード制御がオンとされた場合に、前記フィードバック制御によるフィードバックゲインを前記軸毎に応じた所定値とされる。
 本発明の第一態様に係るサーボ制御装置は、複数の軸毎に設けられ、モータの回転運動を直線運動に変換するねじ送り部と、ねじ送り部によって直線移動させられる被駆動部と、ねじ送り部及び被駆動部が支持される支持体とを備える数値制御機器に適用され、被駆動部の位置を位置指令に一致させるようにモータを制御する。
 そして、フィードバック手段によって、複数の軸毎に、被駆動部の位置を位置指令に一致させるためのフィードバック制御が行われる。また、フィードフォワード手段によって、複数の軸毎に、フィードバック制御による被駆動部に対する位置制御の遅れを補償するためのフィードフォワード制御が行われる。
 さらに、フィードフォワード制御がオフとされた場合に、軸毎のフィードバックゲインが予め設定した同一値とされ、フィードフォワード制御がオンとされた場合に、フィードバック制御によるフィードバックゲインが軸毎に応じた所定値とされる。
 予め設定された各軸で同一のフィードバックゲインは、例えば最も機械剛性が弱い軸を基準に定められる。このため、同一のフィードバックゲインでフィードバック制御が行われると、各軸の位置制御が必ずしも最適な応答とはならなかった。
 しかしながら、フィードフォワード制御によって、各軸におけるフィードバック制御の遅れが補償されるので、軸毎のフィードバックゲインを同一としなくても各軸の位置制御の遅れは抑制されることとなる。このため、フィードフォワード制御が行われている場合に、各軸のフィードバックゲインを軸毎に応じた値とすることによって、サーボ制御装置は、各軸における位置制御に遅れを生じさせずに、各軸の位置制御を最適な応答とできる。
 このように、本発明の第一態様に係るサーボ制御装置は、被駆動部の位置を制御するために複数の軸を有している装置において、各軸の位置制御を最適な応答にできる。
 上記第一態様では、前記所定値が、前記フィードフォワード制御によるフィードフォワードゲインの設定値が各軸で同一の場合と該設定値が一つ以上の前記軸で異なる場合とで、異なる値が設定される構成が好ましい。
 フィードフォワードゲインの設定値が各軸で同一の場合は、各軸毎の被駆動部の移動量に差が生じることが抑制される。一方、フィードフォワードゲインの設定値が一つ以上の軸で異なる場合、各軸のフィードフォワードゲインがアンバランスとなる。各軸のフィードフォワードゲインがアンバランスになると、各軸毎の被駆動部の移動量に差が生じ、精度の高い被駆動部の位置制御が行われないこととなる。
 このため、本構成によれば、フィードフォワード制御がオンとされた際に、フィードフォワードゲインの設定値が各軸で同一の場合と該設定値が一つ以上の軸で異なる場合とで、異なる値が設定されるので、各軸の位置制御をより最適な応答にできる。
 上記第一態様では、前記所定値が、前記フィードフォワード制御によるフィードフォワードゲインの設定値が各軸で同一の場合、前記軸の機械剛性に応じて前記軸毎に設定された値とされる構成が好ましい。
 一般的に軸の機械剛性は、各軸毎に異なっている。このため、本構成によれば、フィードフォワード制御がオンとされた場合に、フィードバックゲインを軸の機械剛性に応じて軸毎に設定された値とされることで、各軸の位置制御をより最適な応答にできる。
 上記第一態様では、前記所定値が、前記フィードフォワード制御によるフィードフォワードゲインの設定値が一つ以上の前記軸で異なる場合、前記被駆動部に対する前記位置指令と前記被駆動部の実際の位置との偏差が各前記軸で同一となる値とされる構成が好ましい。
 本構成によれば、被駆動部に対する位置指令と実際の被駆動部の位置との偏差を各軸で同一とされるので、フィードフォワードゲインのアンバランスを解消し、被駆動部に対する位置指令により示される軌道と実際の軌道との誤差の発生を抑制することができる。
 本発明の第二態様に係るサーボ制御方法は、複数の軸毎に設けられ、モータの回転運動を直線運動に変換するねじ送り部と、前記ねじ送り部によって直線移動させられる被駆動部と、前記ねじ送り部及び前記被駆動部が支持される支持体とを備える数値制御機器に適用され、前記被駆動部の位置を位置指令に一致させるように前記モータを制御するために、前記軸毎に、前記被駆動部の位置を前記位置指令に一致させるためのフィードバック制御を行うフィードバック手段と、前記軸毎に、前記フィードバック制御による前記被駆動部に対する位置制御の遅れを補償するためのフィードフォワード制御を行うフィードフォワード手段と、を備えたサーボ制御装置によるサーボ制御方法であって、前記フィードフォワード制御がオフとされた場合、前記軸毎の前記フィードバックゲインを予め設定した同一値にして、フィードバック制御を行う第1工程と、前記フィードフォワード手段による前記フィードフォワード制御がオンとされた場合、前記フィードバック制御によるフィードバックゲインを前記軸毎に応じた所定値にして、フィードフォワード制御を行う第2工程と、を含む。
 本発明によれば、被駆動部の位置を制御するために複数の軸を有している装置において、各軸の位置制御を最適な応答にできる、という優れた効果を有する。
本発明の第1実施形態に係るサーボ制御装置が適用される工作機械の概略構成を示した図である。 本発明の第1実施形態に係るサーボ制御装置の制御対象機器の概略構成を示した図である。 本発明の第1実施形態に係るサーボ制御装置のブロック線図を示した図である。 本発明の第1実施形態に係る速度フィードフォワード部のブロック線図を示した図である。 本発明の第1実施形態に係るサーボ制御処理の流れを示したフローチャートである。 本発明の第1実施形態に係る被駆動部の移動方向が反転する場合における軌道誤差を示したグラフである。 本発明の第2実施形態に係るサーボ制御装置のブロック線図を示した図である。 本発明のサーボ制御処理のステップ104において本第2実施形態に係るゲイン変換部で行われる処理の流れを示したフローチャートである。 従来の技術の説明に要する図である。
 以下に、本発明に係るサーボ制御装置及びサーボ制御方法の一実施形態について、図面を参照して、本発明を工作機械(数値制御機器)に適用する場合の実施形態について説明する。
〔第1実施形態〕
 図1は、本発明の第1実施形態に係る工作機械50の概略構成を示した図である。図1に示されるように、工作機械50は、ベッド1と、ベッド1上に配置され、X軸方向に沿い移動可能な被駆動部であるテーブル2を備える。また、テーブル2を跨ぐように門形のコラム3が配置されている。コラム3には、Y軸方向にクロスレール4が取り付けられており、このクロスレール4上を被駆動部であるサドル5が移動することにより、サドル5がY軸方向に沿い移動可能とされている。サドル5は、Z軸方向に沿い移動可能な被駆動部であるラム6を備える。ラム6の先端には、切削加工等を行う機械先端が取り付けられている。本第1実施形態では、このラム6のY軸方向における機械先端位置を位置指令θによって示される位置に一致させるようにサドル5の位置を制御することを目的としている。
 図2に、本第1実施形態に係るサーボ制御装置20の制御対象機器の概略構成を示す。なお、図2に示されるサーボ制御装置20は、一例としてサドル5をY軸方向に沿って移動させるためのサーボ制御装置(Y軸サーボ制御装置)である。このため、テーブル2をX軸方向に沿い移動させるためのサーボ制御装置(X軸サーボ制御装置)、及びラム6をZ軸方向に沿い移動させるためのサーボ制御装置(Z軸サーボ制御装置)も工作機械50は備える。これらサーボ機械装置の構成は、図2に示される構成と同様である。
 図2に示されるように、制御対象機器は、モータ12の回転運動をボールねじナット10とボールねじ軸11からなるボールねじ送り部(ねじ送り部)9により直線運動に変換して、負荷であるサドル5を直線移動(Y軸方向に移動)させる工作機械50のボールねじ駆動機構である。モータ12には、モータ速度ωMを検出して出力するモータエンコーダ13が配置されている。リニアスケール14は、サドル5の位置を示す負荷位置θLを検出して出力する。ボールねじ駆動機構では、モータ12が回転駆動してボールねじ軸11が回転すると、ボールねじナット10及びこれに固定連結したサドル5が直線移動するようになっている。
 なお、図2に示されるサーボ制御装置20(Y軸サーボ制御装置)は、ラム6に取り付けられている機械先端がY軸方向の位置指令θによって示される位置に一致するように、サドル5の位置を制御する。同様に、X軸サーボ制御装置は、テーブル2の所定位置がX軸方向の位置指令θによって示される位置に一致するように、テーブル2の位置を制御する。また、Z軸サーボ制御装置は、ラム6に取り付けられている機械先端がZ軸方向の位置指令θによって示される位置に一致するように、ラム6の位置を制御する。
 図3は、本第1実施形態に係るサーボ制御装置20のブロック線図を示した図である。なお、図3は、一例として、Y軸サーボ制御装置のブロック線図を示しているが、X軸サーボ制御装置及びZ軸サーボ制御装置も同様の構成である。
 図3に示されるように、サーボ制御装置20は、位置フィードバック部21、速度フィードフォワード部22、減算部23、比例積分演算部24、切替部25、及びゲイン変更部26を有している。
 位置フィードバック部21は、サドル5の位置を位置指令θ(位置指令θ)に一致させるための位置フィードバック制御を行う。位置フィードバック部21は、減算部27及び乗算部28を備える。
 減算部27は、位置指令θと負荷位置θLとの差である位置偏差Δθを出力する。乗算部28は、位置偏差Δθにフィードバックゲイン(以下、「位置ループゲイン」という。)を乗算して偏差速度ΔVを減算部23へ出力する。なお、X軸に対応する位置ループゲインをKPXとし、Y軸に対応する位置ループゲインをKPYとし、Z軸に対応する位置ループゲインをKPZとする。
 速度フィードフォワード部22は、位置フィードバック制御によるサドル5に対する位置制御の遅れを補償するための速度フィードフォワード制御を行う。
 速度フィードフォワード部22は、図4に示されるように、位置指令θを1次微分する1次微分項演算部30-1と、位置指令θを2次微分する2次微分項演算部30-2と、位置指令θを3次微分する3次微分項演算部30-3と、位置指令θを4次微分する4次微分項演算部30-4とを備える。さらに、速度フィードフォワード部22は、1次微分項に1次微分フィードフォワードゲイン(aY1)を乗じる乗算部31-1と、2次微分項に2次次微分フィードフォワードゲイン(aY2)を乗じる乗算部31-2と、3次微分項に3次微分フィードフォワードゲイン(aY3)を乗じる乗算部31-3と、4次微分項に4次微分フィードフォワードゲイン(aY4)を乗じる乗算部31-4と、加算部32と、速度ループ補償部33とを備える。図4において、sはラプラス演算子(微分演算子)である。なお、本第1実施形態では、1次微分フィードフォワードゲインから4次微分フィードフォワードゲインは、各軸で同一の値が用いられている。
 上記1次微分フィードフォワードゲインから4次微分フィードフォワードゲインは、機械系モデルにおけるトルク及び速度の逆特性モデルの伝達関数に設定されている。また、上記速度ループ補償部33の伝達関数は、位置ゲインKP、積分時定数Tvを用いて、{KP/(1+Tvs)}で表わされる。
 速度フィードフォワード部22では、位置指令θが入力されると、1次微分フィードフォワードゲインが乗算された1次微分項、2次次微分フィードフォワードゲインが乗算された2次微分項、3次微分フィードフォワードゲインが乗算された3次微分項、4次微分フィードフォワードゲインが乗算された4次微分項がそれぞれ加算部32に入力される。これにより、各異なる微分係数値が加算され、速度ループ補償部33に与えられる。速度ループ補償部33では、上記伝達関数で表わされる位置補償が施されて得た補償速度V’を減算部23へ出力する。補償速度V’は、モータ12やサドル5に対する「ひずみ」、「たわみ」、「粘性」といった誤差要因(遅れ要因)を補償した速度である。
 減算部23は、偏差速度ΔVに、速度フィードフォワード部22から出力された補償速度V´を加えた値からモータ速度ωMを減算した指令速度Vを出力し、比例積分演算部24へ出力する。
 比例積分演算部24は、指令速度Vを比例積分演算して指令トルクτを出力する。比例積分演算部24では、速度ループゲインKv、積分時定数Tv、及びトルク定数KTを用いた、τ=VKT{Kv(1+(1/Tvs))}という演算をして指令トルクτを求めている。
 この指令トルクτは、図2に示される制御対象機器に与えられ、この指令トルクτに基づく各部の制御が行われる。例えば、モータ12は、電流制御器(図示省略)から指令トルクτに応じた電流が供給されることにより回転駆動する。この場合、図示は省略するが、指令トルクτに応じた電流値になるように、電流のフィードバック制御が行われている。モータ12の回転運動はボールねじ送り部9により直線運動に変換される。この結果、ボールねじ送り部9に螺合されるボールねじナット10が、ボールねじナット10に固定されているサドル5と共に移動し、サドル5が位置指令θにより示される位置に移動する。
 切替部25は、速度フィードフォワード部22による速度フィードフォワード制御のオン及びオフを切り替える。
 ゲイン変更部26は、切替部25によって速度フィードフォワード制御がオフとされた場合に、軸毎の位置ループゲインを予め設定した同一値(以下、「共通ゲイン」という。)とし、切替部25によって速度フィードフォワード制御がオンとされた場合に、位置フィードバック制御による位置ループゲインを軸毎に応じた所定値(以下、「最適ゲイン」という。)とする。なお、ゲイン変更部26は、最適ゲイン及び共通ゲインを記憶する記憶部を備える。
 共通ゲインは、X軸、Y軸、Z軸のうち、最も機械剛性が弱い軸を基準とした値とされている。このため、共通ゲインでは、各軸の位置ループゲインは必ずしも最適な値であるとは限らない。
 一方、最適ゲインは、軸の機械剛性に応じて、X軸、Y軸、Z軸毎に最適な位置ループ応答が得られるように予め設定されている。例えば、X軸上には重量物であるテーブル2が移動するため、ゲインを大きくするとハンチングが生じやすくなるため、X軸の最適ゲインは他の軸に比べ小さい。また、Z軸上には比較的軽量であるラム6が移動し、かつZ軸はテーブル2に載置された被加工物に対して上下方向に移動する方向ため、比較的高いゲインを得ることが望ましく、Z軸の最適ゲインは他の軸に比べて大きい。
 なお、サーボ制御装置20は、例えば、CPU(Central Processing Unit)、RAM(Random Access Memory)、及びコンピュータ読み取り可能な記録媒体等から構成されている。そして、各種制御に係る機能を実現するための一連の処理は、一例として、プログラムの形式で記録媒体等に記録されており、このプログラムをCPUがRAM等に読み出して、情報の加工・演算処理を実行することにより、各種制御が実現される。
 また、速度フィードフォワード部22、位置フィードバック部21、減算部23、及び比例積分演算部24は、各軸毎に設けられる一方、切替部25及びゲイン変更部26は、各軸共通としてもよい。
 次に、本第1実施形態に係るサーボ制御装置20で実行される処理(以下、「サーボ制御処理」という。)について、図5に示されるフローチャートを用いて説明する。なお、サーボ制御処理は、工作機械50の動作が開始されると共に開始し、工作機械50の動作が終了すると共に終了する。
 まず、ステップ100では、位置フィードバック制御による各軸に対する位置制御が開始される。この場合、位置ループゲインは共通ゲインとされ、速度フィードフォワード制御は開始されていない。
 次のステップ102では、速度フィードフォワード制御のオン指令があるか否かを切替部25が判定し、肯定判定の場合は、ステップ104へ移行し、否定判定の場合は、ステップ104へ移行せずに、位置フィードバック制御のみによる制御が継続される。
 なお、速度フィードフォワード制御のオン指令がされる場合とは、例えば、テーブル2に載置された被加工物に対してラム6による加工が行われる場合等である。
 ステップ104では、位置ループゲインが変更されると共に、速度フィードフォワード制御が開始される。具体的には、切替部25が、ゲイン変更部26へ位置ループゲインを変更させるゲイン変更指令を出力すると共に、速度フィードフォワード部22へ速度フィードフォワード制御を開始させるためのFF制御開始指令を出力する。
 ゲイン変更部26は、ゲイン変更指令が入力されると、各軸の位置ループゲインを共通ゲインから最適ゲインへ変更する。
 速度フィードフォワード部22は、FF制御開始指令が入力されると、速度フィードフォワード制御を開始する。
 これにより、工作機械50は、位置フィードバック制御及び速度フィードフォワード制御による制御が開始される。速度フィードフォワード制御によって、各軸における位置フィードバック制御の遅れが補償されるので、軸毎の位置ループゲインを同一としなくても各軸の位置制御の遅れは抑制されることとなる。このため、速度フィードフォワード制御が行われている場合に、各軸の位置ループゲインを軸毎に応じた最適ゲインとすることによって、サーボ制御装置20は、各軸における位置制御に遅れを生じさせずに、各軸の位置制御を最適な応答とできる。
 次のステップ106では、速度フィードフォワード制御のオフ指令があるか否かを切替部25が判定し、肯定判定の場合は、ステップ108へ移行し、否定判定の場合は、ステップ108へ移行せずに、位置フィードバック制御及び速度フィードフォワード制御による制御が継続される。
 ステップ108では、位置ループゲインが最適ゲインから共通ゲインへ変更されると共に、速度フィードフォワード制御が終了され、ステップ102へ戻り、工作機械50の動作が終了するまでステップ102からステップ108の処理を繰り返す。
 また、位置ループゲインが最適ゲインとされた場合の効果は、被駆動部であるテーブル2、サドル5、及びラム6の移動方法が各軸で反転する場合に顕著に現れる。
 図6は、被駆動部の移動方向が反転する場合における位置指令により示される軌道と実際の軌道との誤差(以下、「軌道誤差」という。)を示したグラフである。図6は、一例としてXZ平面における軌道誤差を示しており、二点鎖線の円で囲まれた領域が、移動方向が反転した場合の軌道誤差である。図6の下図は、上記円で囲まれた領域における被駆動部であるテーブル2の位置(実線)と軸を介してテーブル2を移動させるモータ12の位置(破線)の時間変化を示したグラフであり、本来移動方向が反転しても、モータ12の位置に追従するべき、テーブル2の位置が追従しきれず、遅れが生じていることを示している(破線で示された円内)。
 このように、被駆動部の移動方向が反転する場合、摩擦等の影響によって被駆動部に対する位置制御に遅れが生じる場合がある。しかしながら、位置ループゲインが最適ゲインとされるので、被駆動部に対する位置制御の遅れを抑制することができる。
 以上説明したように、本第1実施形態に係るサーボ制御装置20は、X軸、Y軸、Z軸毎に、被駆動部の位置を位置指令に一致させるための位置フィードバック制御を行う位置フィードバック部21と、軸毎に、位置フィードバック制御による被駆動部に対する位置制御の遅れを補償するための速度フィードフォワード制御を行う速度フィードフォワード部22とを備える。そして、サーボ制御装置20は、速度フィードフォワード制御がオフとされた場合に、軸毎の位置ループゲインを予め設定した同一値とし、速度フィードフォワード部22による速度フィードフォワード制御がオンとされた場合に、位置フィードバック制御による位置ループゲインを軸毎に応じた最適ゲインとする。
 従って、本第1実施形態に係るサーボ制御装置20は、被駆動部の位置を制御するために複数の軸を有している工作機械50において、各軸の位置制御を最適な応答にできる。
 また、本第1実施形態に係るサーボ制御装置20は、最適ゲインを、軸の機械剛性に応じて軸毎に設定された値とするので、各軸の位置制御をより最適な応答にできる。
〔第2実施形態〕
 以下、本発明の第2実施形態について説明する。
 なお、本第2実施形態に係る工作機械50の構成は、図1及び図2に示す第1実施形態に係る工作機械50の構成と同様であるので説明を省略する。
 図7は、本第2実施形態に係るサーボ制御装置20のブロック線図を示す。なお、図7における図3と同一の構成部分については図3と同一の符号を付して、その説明を省略する。
 本第2実施形態に係るフィードフォワードゲインの設定値は可変とされている。フィードフォワードゲインの設定値が一つ以上の軸で異なる場合、各軸のフィードフォワードゲインがアンバランスとなる。各軸のフィードフォワードゲインがアンバランスになると、各軸毎の被駆動部の移動量に差が生じ、精度の高い被駆動部の位置制御が行われないこととなる。
 なお、ここでいうフィードフォワードゲインは、代表的なフィードフォワードゲイン(例えば、速度補償値を算出するための1次微分フィードフォワードゲイン)としてもよいし、速度フィードフォワード制御で用いられている複数のフィードフォワードゲインの総和としてもよい。
 ゲイン変更部26’は、フィードフォワードゲインの設定値が一つ以上の軸で異なる場合、各軸の位置フィードバックゲインを、被駆動部に対する位置指令と被駆動部の実際の位置との偏差(位置偏差Δθ)が各軸で同一となる値とする。
 本第2実施形態に係るゲイン変更部26’について具体的に説明する。
 X軸、Y軸、Z軸の1次微分フィードフォワードゲインを各々aX1、aY1、aZ1とする。被駆動部の速度に変化が生じることによる衝撃を緩和させたい場合のように、1次微分フィードフォワードゲインを100%として用いることができない場合がある。
 このような場合、X軸、Y軸、Z軸の1次微分フィードフォワードゲインの重み(0~100%)を考慮した1次微分フィードフォワードゲインを各々pX1、pY1、pZ1とする。
 以下、X軸を代表して説明する。
 指令速度Vとして各軸に同じ値を与えると、1次の速度フィードフォワード制御で補償される速度指令FFX1は、下記(1)式で表わされる。
Figure JPOXMLDOC01-appb-M000001
 
 一方、1次の速度フィードフォワード制御で補償されない速度指令Vは、位置フィードバック制御で補償されるので、下記(2)式で表わされる。なお、下記(2)式におけるDLはX軸における被駆動部であるテーブル2の位置偏差Δθである。
Figure JPOXMLDOC01-appb-M000002
 
 上記(1),(2)式から下記(3)式が導かれる。
Figure JPOXMLDOC01-appb-M000003
 
 そして、X軸、Y軸、Z軸の各軸で同じ速度指令Vを与えた場合、各軸で同じ位置偏差とするために、下記(4)式が導かれる。(4)式は、フィードフォワードゲインの上限値から設定値を減算した値((4)式の分子)と位置ループゲインの設定値((4)式の分母)との比が各軸で同一となる。
Figure JPOXMLDOC01-appb-M000004
 
 ゲイン変更部26’は、(4)式に基づいて、位置ループゲインの最適ゲインを算出する。例えば、X軸の1次微分フィードフォワードゲインpX1=80%とし、Y軸の1次微分フィードフォワードゲインpY1=70%とした場合、上記(4)式から下記(5)式が導き出される。
Figure JPOXMLDOC01-appb-M000005
 
 なお、(5)式を成立させるためには、X軸の最適ゲインをY軸の位置ループゲインKPYの3分の2としてもよいし、Y軸の最適ゲインをX軸の位置ループゲインKPXの2分の3としてもよい。このため、ゲイン変更部26’は、各軸の位置ループゲインの最大値を超えない範囲で、各軸の位置ループゲインが最も大きくなるように最適ゲインを設定する。
 図8は、サーボ制御処理のステップ104において本第2実施形態に係るゲイン変更部26’で行われる処理の流れを示したフローチャートである。
 まず、ステップ200では、各軸のフィードフォワードゲインが同一であるか否かを判定し、肯定判定の場合は、ステップ202へ移行し、否定判定の場合は、ステップ204へ移行する。例えば、ステップ200では、全ての1次微分フィードフォワードゲインaX1,aY1,aX1が全て同一であるか否かを判定する。同一である場合とは、例えば、1次微分フィードフォワードゲインの重みpX1,pY1,pZ1が100%とされている場合に限らず、100%未満であっても同一であればよい。
 ステップ202では、軸毎に各軸で最大の位置ループゲイン、すなわち第1実施形態に係る最適ゲインを位置ループゲインとして設定する。
 ステップ204では、X軸の位置ループゲインの最大値KPXMがY軸及びZ軸の位置ループゲインの最大値KPYM,KPZMよりも大きいか否かを判定し、肯定判定の場合は、ステップ206へ移行し、否定判定の場合は、ステップ216へ移行する。
 ステップ206では、X軸の位置ループゲインKPX=KPXMとし、Y軸の位置ループゲインKPY及びZ軸の位置ループゲインKPZを(4)式に基づいて算出する。
 次のステップ208では、ステップ206で算出したY軸の位置ループゲインKPYが最大値KPYMよりも大きいか否かを判定し、肯定判定の場合は、ステップ210へ移行し、否定判定の場合は、ステップ212へ移行する。
 ステップ210では、Y軸の位置ループゲインKPY=KPYMとし、X軸の位置ループゲインKPX及びZ軸の位置ループゲインKPZを(4)式に基づいて算出する。
 次のステップ212では、ステップ210で算出したZ軸の位置ループゲインKPZが最大値KPYZよりも大きいか否かを判定し、肯定判定の場合は、ステップ214へ移行し、否定判定の場合は、ステップ106へ移行する。
 ステップ214では、Z軸の位置ループゲインKPZ=KPZMとし、X軸の位置ループゲインKPX及びY軸の位置ループゲインKPYを(4)式に基づいて算出し、ステップ106へ移行する。
 すなわち、ステップ208及びステップ212で否定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ206で算出した位置ループゲインKPX,KPY,KPZに設定される。一方、ステップ208で肯定判定となり、ステップ212で否定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ210で算出した位置ループゲインKPX,KPY,KPZに設定される。さらに、ステップ212で肯定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ214で算出した位置ループゲインKPX,KPY,KPZに設定される。
 ステップ204で否定判定となり移行するステップ216では、Y軸の位置ループゲインの最大値KPYMが他の軸の位置ループゲインの最大値KPXM,KPZMよりも大きいか否かを判定し、肯定判定の場合は、ステップ218へ移行し、否定判定の場合は、ステップ228へ移行する。
 ステップ218では、Y軸の位置ループゲインKPY=KPYMとし、X軸の位置ループゲインKPX及びZ軸の位置ループゲインKPZを(4)式に基づいて算出する。
 次のステップ220では、ステップ218で算出したX軸の位置ループゲインKPXが最大値KPXMよりも大きいか否かを判定し、肯定判定の場合は、ステップ222へ移行し、否定判定の場合は、ステップ224へ移行する。
 ステップ222では、X軸の位置ループゲインKPX=KPXMとし、Y軸の位置ループゲインKPY及びZ軸の位置ループゲインKPZを(4)式に基づいて算出する。
 次のステップ224では、ステップ222で算出したZ軸の位置ループゲインKPZが最大値KPZMよりも大きいか否かを判定し、肯定判定の場合は、ステップ226へ移行し、否定判定の場合は、ステップ106へ移行する。
 ステップ226では、Z軸の位置ループゲインKPZ=KPZMとし、X軸の位置ループゲインKPX及びY軸の位置ループゲインKPYを(4)式に基づいて算出し、ステップ106へ移行する。
 すなわち、ステップ220及びステップ224で否定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ218で算出した位置ループゲインKPX,KPY,KPZに設定される。一方、ステップ220で肯定判定となり、ステップ224で否定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ222で算出した位置ループゲインKPX,KPY,KPZに設定される。さらに、ステップ224で肯定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ226で算出した位置ループゲインKPX,KPY,KPZに設定される。
 ステップ216で否定判定となり移行するステップ228では、Z軸の位置ループゲインKPZ=KPZMとし、X軸の位置ループゲインKPX及びY軸の位置ループゲインKPYを(4)式に基づいて算出する。
 次のステップ230では、ステップ228で算出したX軸の位置ループゲインKPXが最大値KPXMよりも大きいか否かを判定し、肯定判定の場合は、ステップ232へ移行し、否定判定の場合は、ステップ234へ移行する。
 ステップ232では、X軸の位置ループゲインKPX=KPXMとし、Y軸の位置ループゲインKPY及びZ軸の位置ループゲインKPZを(4)式に基づいて算出する。
 次のステップ234では、ステップ232で算出したY軸の位置ループゲインKPYが最大値KPYMよりも大きいか否かを判定し、肯定判定の場合は、ステップ236へ移行し、否定判定の場合は、ステップ106へ移行する。
 ステップ236では、Y軸の位置ループゲインKPY=KPYMとし、X軸の位置ループゲインKPX及びZ軸の位置ループゲインKPZを(4)式に基づいて算出し、ステップ106へ移行する。
 すなわち、ステップ230及びステップ234で否定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ228で算出した位置ループゲインKPX,KPY,KPZに設定される。一方、ステップ230で肯定判定となり、ステップ234で否定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ232で算出した位置ループゲインKPX,KPY,KPZに設定される。さらに、ステップ234で肯定判定となってステップ106へ移行した場合、各軸の位置ループゲインは、ステップ236で算出した位置ループゲインKPX,KPY,KPZに設定される。
 以上説明したように、本第2実施形態に係るサーボ制御装置20は、フィードフォワード制御をオンとした際に、フィードフォワードゲインの設定値が各軸で同一の場合と該設定値が一つ以上の軸で異なる場合とで、異なる値を設定する。
 フィードフォワードゲインの設定値が各軸で同一の場合は、各軸毎の被駆動部の移動量に差が生じることが抑制される。一方、フィードフォワードゲインの設定値が一つ以上の軸で異なる場合、各軸毎の被駆動部の移動量に差が生じ、精度の高い被駆動部の位置制御が行われないこととなる。
 このため、本第2実施形態では、フィードフォワードゲインの設定値が各軸で同一の場合と該設定値が一つ以上の軸で異なる場合とで、異なる値が設定されるので、各軸の位置制御をより最適な応答にできる。
 そして、フィードフォワードゲインの設定値が一つ以上の軸で異なる場合、位置ループゲインが、被駆動部に対する位置指令と被駆動部の実際の位置との偏差が各軸で同一となる値とされる。このため、本第2実施形態に係るサーボ制御装置20は、フィードフォワードゲインのアンバランスを解消し、被駆動部に対する位置指令により示される軌道と実際の軌道との誤差の発生を抑制することができる。
 また、図8に示される処理は、各軸のフィードフォワードゲインの少なくとも一つが変更される度に行われてもよい。
 以上、本発明を、上記各実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で上記各実施形態に多様な変更または改良を加えることができ、該変更または改良を加えた形態も本発明の技術的範囲に含まれる。
 例えば、上記各実施形態では、本発明を、3軸(X軸、Y軸、Z軸)を有する工作機械のサーボ制御装置に適用する形態について説明したが、本発明は、これに限定されるものではなく、本発明を、2軸又は4軸以上を有する工作機械のサーボ制御装置に適用する形態としてもよい。
 また、上記各実施形態で説明したサーボ制御処理の流れも一例であり、本発明の主旨を逸脱しない範囲内において不要なステップを削除したり、新たなステップを追加したり、処理順序を入れ替えたりしてもよい。
 1  ベッド
 2  テーブル
 3  コラム
 4  クロスレール
 5  サドル
 6  ラム
 9  ボールねじ送り部
 11 ボールねじ軸
 12 モータ
 20 サーボ制御装置
 21 位置フィードバック部
 22 速度フィードフォワード部
 25 切替部
 26 ゲイン変更部
 50 工作機械

Claims (5)

  1.  複数の軸毎に設けられ、モータの回転運動を直線運動に変換するねじ送り部と、前記ねじ送り部によって直線移動させられる被駆動部と、前記ねじ送り部及び前記被駆動部が支持される支持体とを備える数値制御機器に適用され、前記被駆動部の位置を位置指令に一致させるように前記モータを制御するサーボ制御装置であって、
     前記軸毎に、前記被駆動部の位置を前記位置指令に一致させるためのフィードバック制御を行うフィードバック手段と、
     前記軸毎に、前記フィードバック制御による前記被駆動部に対する位置制御の遅れを補償するためのフィードフォワード制御を行うフィードフォワード手段と、
    を備え、
     前記フィードフォワード制御がオフとされた場合に、前記軸毎の前記フィードバックゲインを予め設定した同一値とし、前記フィードフォワード手段による前記フィードフォワード制御がオンとされた場合に、前記フィードバック制御によるフィードバックゲインを前記軸毎に応じた所定値とするサーボ制御装置。
  2.  前記所定値は、前記フィードフォワード制御によるフィードフォワードゲインの設定値が各軸で同一の場合と該設定値が一つ以上の前記軸で異なる場合とで、異なる値が設定される請求項1記載のサーボ制御装置。
  3.  前記所定値は、前記フィードフォワード制御によるフィードフォワードゲインの設定値が各軸で同一の場合、前記軸の機械剛性に応じて前記軸毎に設定された値とされる請求項1又は請求項2記載のサーボ制御装置。
  4.  前記所定値は、前記フィードフォワード制御によるフィードフォワードゲインの設定値が一つ以上の前記軸で異なる場合、前記被駆動部に対する前記位置指令と前記被駆動部の実際の位置との偏差が各前記軸で同一となる値とされる請求項1から請求項3の何れか1項記載のサーボ制御装置。
  5.  複数の軸毎に設けられ、モータの回転運動を直線運動に変換するねじ送り部と、前記ねじ送り部によって直線移動させられる被駆動部と、前記ねじ送り部及び前記被駆動部が支持される支持体とを備える数値制御機器に適用され、前記被駆動部の位置を位置指令に一致させるように前記モータを制御するために、
     前記軸毎に、前記被駆動部の位置を前記位置指令に一致させるためのフィードバック制御を行うフィードバック手段と、
     前記軸毎に、前記フィードバック制御による前記被駆動部に対する位置制御の遅れを補償するためのフィードフォワード制御を行うフィードフォワード手段と、
    を備えたサーボ制御装置によるサーボ制御方法であって、
     前記フィードフォワード制御がオフとされた場合、前記軸毎の前記フィードバックゲインを予め設定した同一値にして、フィードバック制御を行う第1工程と、
     前記フィードフォワード手段による前記フィードフォワード制御がオンとされた場合、前記フィードバック制御によるフィードバックゲインを前記軸毎に応じた所定値にして、フィードフォワード制御を行う第2工程と、
    を含むサーボ制御方法。
PCT/JP2013/052636 2012-03-05 2013-02-05 サーボ制御装置及びサーボ制御方法 WO2013132946A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/379,940 US20150045940A1 (en) 2012-03-05 2013-02-05 Servo control device and servo control method
CN201380010394.2A CN104137014B (zh) 2012-03-05 2013-02-05 伺服控制装置及伺服控制方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-048132 2012-03-05
JP2012048132A JP5943650B2 (ja) 2012-03-05 2012-03-05 サーボ制御装置及びサーボ制御方法

Publications (1)

Publication Number Publication Date
WO2013132946A1 true WO2013132946A1 (ja) 2013-09-12

Family

ID=49116430

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/052636 WO2013132946A1 (ja) 2012-03-05 2013-02-05 サーボ制御装置及びサーボ制御方法

Country Status (5)

Country Link
US (1) US20150045940A1 (ja)
JP (1) JP5943650B2 (ja)
CN (1) CN104137014B (ja)
TW (1) TW201351081A (ja)
WO (1) WO2013132946A1 (ja)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6277001B2 (ja) * 2014-01-22 2018-02-07 株式会社ミツトヨ 駆動制御装置、駆動装置、および、駆動制御方法
JP6604198B2 (ja) * 2015-12-25 2019-11-13 株式会社ジェイテクト モータ制御装置
CN105425397A (zh) * 2016-01-01 2016-03-23 赵山山 一种头戴式显示器的自动调节方法、系统和装置
JP6666234B2 (ja) * 2016-11-29 2020-03-13 ファナック株式会社 数値制御装置
JP7156184B2 (ja) * 2019-06-28 2022-10-19 オムロン株式会社 パラメータ調整方法
JP7489766B2 (ja) * 2019-10-31 2024-05-24 川崎重工業株式会社 液圧駆動システム、それを備える電液アクチュエータユニット、及び制御装置
CN110928239B (zh) * 2019-12-12 2020-11-13 山东大学 带有时间延迟数控机床给进系统的控制方法及系统
CN114488782B (zh) * 2022-04-18 2022-08-19 中国科学院西安光学精密机械研究所 基于谐波减速机构的转台双位置环控制方法及控制系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11273286A (ja) * 1998-03-23 1999-10-08 Toshiba Corp 磁気ディスク装置及び同装置に適用するヘッド位置決め制御方法
JP2006079526A (ja) * 2004-09-13 2006-03-23 Mitsubishi Electric Corp 位置決め制御装置
JP2011003137A (ja) * 2009-06-22 2011-01-06 Mitsubishi Heavy Ind Ltd サーボ制御装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004092859A1 (ja) * 2003-04-11 2004-10-28 Mitsubishi Denki Kabushiki Kaisha サーボ制御器
TW200639842A (en) * 2005-04-06 2006-11-16 Sony Corp Servo control device, servo control method, and disc recording or reproducing device
JP4745798B2 (ja) * 2005-11-11 2011-08-10 株式会社日立産機システム 電動機制御装置の自動調整法および装置
JP5422368B2 (ja) * 2009-12-24 2014-02-19 三菱重工業株式会社 サーボ制御装置
CN101895252B (zh) * 2010-07-09 2012-06-06 上海新时达电气股份有限公司 电机伺服驱动器控制器参数自动调整装置及其方法
CN102075127B (zh) * 2011-01-04 2012-09-05 北京航空航天大学 一种永磁同步电机伺服驱动装置及其位置控制方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11273286A (ja) * 1998-03-23 1999-10-08 Toshiba Corp 磁気ディスク装置及び同装置に適用するヘッド位置決め制御方法
JP2006079526A (ja) * 2004-09-13 2006-03-23 Mitsubishi Electric Corp 位置決め制御装置
JP2011003137A (ja) * 2009-06-22 2011-01-06 Mitsubishi Heavy Ind Ltd サーボ制御装置

Also Published As

Publication number Publication date
TW201351081A (zh) 2013-12-16
JP5943650B2 (ja) 2016-07-05
US20150045940A1 (en) 2015-02-12
CN104137014A (zh) 2014-11-05
CN104137014B (zh) 2017-04-19
JP2013182586A (ja) 2013-09-12

Similar Documents

Publication Publication Date Title
JP5943650B2 (ja) サーボ制御装置及びサーボ制御方法
JP5512954B2 (ja) 数値制御機械の位置制御装置
KR101389616B1 (ko) 모터 제어 장치
US7671553B2 (en) Servo controller
KR101612218B1 (ko) 다관절 로봇의 탄성 변형 보상 제어 장치 및 제어 방법
JP5112100B2 (ja) サーボ制御装置
JP4575508B1 (ja) デュアル位置フィードバック制御を行うサーボ制御装置
WO2012053352A1 (ja) 負荷イナーシャ推定方法及び制御パラメータ調整方法
WO2012057235A1 (ja) 数値制御方法
JP4323542B2 (ja) 学習制御機能を備えた電動機の制御装置
JP4944806B2 (ja) 位置制御装置
JP5890473B2 (ja) モータを制御するモータ制御装置
JP5422368B2 (ja) サーボ制御装置
US20090160389A1 (en) Method and device for guiding the movement of a moveable machine element of a machine
WO2013140679A1 (ja) 軌跡制御装置
WO2014136686A1 (ja) 工作機械の送り軸制御方法および送り軸制御装置
JP5739400B2 (ja) 被駆動体の位置補正機能を有するサーボ制御装置
JP5916583B2 (ja) 多関節ロボットのウィービング制御装置
JP2022091856A (ja) モータ制御システム、モータ制御システムの制御方法、及びロボットシステム
JP2005056254A (ja) 工作機械の位置制御装置及び工作機械の位置制御方法
JP4226420B2 (ja) 位置制御装置
JP4867105B2 (ja) 数値制御装置
JP2011145884A (ja) 軌跡制御装置
JP2007072943A (ja) 位置制御装置
JP2009044812A (ja) 位置又は速度制御装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13757999

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14379940

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13757999

Country of ref document: EP

Kind code of ref document: A1