WO2013129294A1 - モータ制御装置 - Google Patents

モータ制御装置 Download PDF

Info

Publication number
WO2013129294A1
WO2013129294A1 PCT/JP2013/054715 JP2013054715W WO2013129294A1 WO 2013129294 A1 WO2013129294 A1 WO 2013129294A1 JP 2013054715 W JP2013054715 W JP 2013054715W WO 2013129294 A1 WO2013129294 A1 WO 2013129294A1
Authority
WO
WIPO (PCT)
Prior art keywords
acceleration
time
mechanical load
profile
motor
Prior art date
Application number
PCT/JP2013/054715
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 KR1020147024188A priority Critical patent/KR101634474B1/ko
Priority to US14/379,621 priority patent/US9423777B2/en
Priority to CN201380012087.8A priority patent/CN104160617B/zh
Priority to DE112013001229.4T priority patent/DE112013001229B4/de
Priority to JP2014502197A priority patent/JP5840288B2/ja
Publication of WO2013129294A1 publication Critical patent/WO2013129294A1/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
    • G05B6/00Internal feedback arrangements for obtaining particular characteristics, e.g. proportional, integral or differential
    • G05B6/02Internal feedback arrangements for obtaining particular characteristics, e.g. proportional, integral or differential electric
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/20Controlling the acceleration or deceleration

Definitions

  • the present invention relates to a motor control device that controls the operation of various motors such as a servo motor.
  • Patent Documents 1 to 5 are disclosed as methods for reducing the power consumption during positioning control.
  • Patent Document 1 discloses a head positioning device that reduces power consumption in accordance with a user's application, and efficiently performs positioning control regardless of temperature change, deterioration with time, and the like.
  • the speed profile storage unit stores in advance a target speed profile A corresponding to high-speed seek and a target speed profile B with low seek speed but low power consumption so that the user can select it.
  • a position error signal is obtained by comparing the current track position of the head and the target position in a subtractor.
  • the target speed setting unit outputs the target speed of the head based on the position error signal and the target speed profile A or B of the speed profile storage unit.
  • the control unit calculates the drive current of the head driving motor based on the speed error signal and the servo control constant.
  • This calculated drive current is input to the motor drive unit.
  • the initial value of the drive current is stored in the drive current initial value storage unit.
  • the comparator compares the current drive current with the initial value.
  • the servo control constant adjustment unit adjusts the servo control constant of the control unit based on the comparison result of the comparator.
  • the shapes of the target speed profiles A and B are both triangular. In particular, the target speed profile B reduces power consumption by extending the seek time instead of decreasing the seek speed.
  • Patent Document 2 discloses a thermal optimization method aiming to obtain a method for optimizing robot operation performance against power loss in a robot drive system. According to the method of patent document 2, a method for optimizing the operating performance of the current operating path of the robot against power loss in the drive system of an industrial robot, the method comprising at least one component of the system To calculate the power loss in all or part of the operating path, compare the calculated power loss with the maximum allowable power loss in the component, and depending on the comparison, the acceleration and speed in the current operating path The process of adjusting the transition of
  • Patent Document 3 discloses a command pattern generation method for generating a command pattern that minimizes the temperature rise of the drive motor when a movement amount and a tact are specified. According to the method disclosed in Patent Document 3, two parameters including at least the maximum speed value ⁇ max or the maximum acceleration value ⁇ max are determined from the four parameters of the movement amount ⁇ max, the tact tact, the maximum speed value ⁇ max, and the maximum acceleration value ⁇ max. Then, the movement amount ⁇ max and the tact tact are specified, and a command pattern having a parabolic shape with a speed of 0 at the time 0 and the time tact and an area of the movement amount ⁇ max is generated. Copper loss is minimized by making the speed command pattern parabolic.
  • Patent Document 4 discloses a machine tool control device for the purpose of optimally suppressing the power consumption of the entire machine tool.
  • the apparatus of Patent Document 4 includes a first power consumption calculating unit that calculates power consumption of a feed shaft driving motor, a second power consumption calculating unit that calculates power consumption of a device that operates at a constant power, When there is a relative relationship with at least one of the acceleration time and the deceleration time of the feed shaft driving motor based on the sum of the power calculated by the first power consumption calculating means and the power calculated by the second power consumption calculating means Motor control means for determining a constant and controlling the motor for driving the feed shaft based on the time constant. The time constant is determined so that the total sum of power is minimized.
  • Patent Document 5 discloses a trajectory generating apparatus that can reduce the required energy.
  • the trajectory generation device of Patent Document 5 performs trajectory generation by interpolating between point sequences using a clothoid curve.
  • the trajectory generation device includes an arithmetic processing unit having clothoid curve generation means, and the clothoid curve is a triple clothoid curve. Thereby, the continuity in the tangential direction and the continuity of the curvature at the passing point are ensured.
  • the tangent direction is made to correspond with a straight line direction.
  • Patent Document 6 discloses a robot control device that aims to reduce energy consumed when performing a PTP (point-to-point) operation without extending the operation time.
  • the device of Patent Document 6 determines the operation start moment of each axis command so that the deceleration operations of a plurality of axes do not overlap in the control of the multi-axis motor common to the bus.
  • the regenerative energy increases due to the overlap of the deceleration operations, preventing consumption by regenerative resistance.
  • Patent Document 7 also discloses a robot control device that aims to reduce the energy consumed when performing the PTP operation without extending the operation time.
  • the operation time of a plurality of axes is calculated, and the command time of the short operation time is extended in accordance with the longest operation time, thereby reducing the power consumption. To do.
  • JP-A-5-325446 Special table 2004-522602 gazette JP 2007-241604 A JP 2010-250697 A JP 2011-145797 A JP 2012-192484 A JP 2012-192485 A
  • Patent Document 1 discloses only a case where the shape of the speed profile is a triangle, and therefore there is a problem that sufficient energy saving cannot be realized by changing the speed profile according to the operating conditions.
  • Patent Document 2 discloses minimizing heat and loss during positioning control, but does not disclose minimizing the entire energy including work.
  • Patent Document 5 cannot cope with the case where the upper limit acceleration exists in the motor and the mechanical load.
  • Patent Document 6 does not disclose a reduction in power consumption during positioning control of a single-axis motor.
  • Patent Document 7 also does not disclose a reduction in power consumption during positioning control of a single-axis motor.
  • An object of the present invention is to provide a motor control device that solves the above problems and controls the operation of the motor so as to reduce the power consumption during positioning control.
  • the motor control device includes: A command value generation circuit for generating a position command value representing a desired position of the mechanical load at each moment; A motor drive circuit for controlling the motor to move the mechanical load according to the position command value; The command value generation circuit The mechanical load is accelerated from a state stopped at the first position to a peak speed, decelerated from the peak speed and stopped at the second position, and acceleration and deceleration of the mechanical load are performed.
  • an acceleration profile A (t) representing a temporal acceleration change of the mechanical load so as to gradually decrease from the acceleration A max ;
  • a speed profile representing a temporal speed change of the mechanical load is determined, The position command value is generated according to the speed profile.
  • the motor control device of the present invention it is possible to reduce power consumption during positioning control.
  • FIG. 7 is a diagram for explaining the effect of the position command value generation process of FIG. 6, and the values of functions f 1 (r) and f 2 (r) with respect to a parameter r representing a ratio of the movement time T to the shortest movement time T 0
  • FIG. 7 is a diagram for explaining the effect of the position command value generation process of FIG. 6, and the values of functions g 1 (r) and g 2 (r) with respect to a parameter r representing a ratio of the movement time T to the shortest movement time T 0 .
  • FIG. 1 is a block diagram showing a configuration of a positioning system including a motor control device according to Embodiment 1 of the present invention.
  • the motor control device includes a command value generation circuit 7, a motor drive circuit 4, and a regenerative resistor 6, and the mechanical load 3 connected to the motor 1 is moved from the initial position (first position).
  • the motor 1 is controlled to move to the target position (second position).
  • the positioning system of FIG. 1 further includes a power source 5 and an encoder 2.
  • the motor 1 is operated by the current 22 supplied from the motor driving circuit 4 and applies a driving force 21 such as torque or thrust to the mechanical load 3.
  • a driving force 21 such as torque or thrust
  • the mechanical load 3 for example, a ball screw mechanism is assumed, but the mechanical load 3 is not limited to this.
  • the encoder 2 detects motor information 23 such as the rotational position (angle) and rotational speed of the rotating shaft of the motor 1 and sends it to the motor drive circuit 4.
  • the rotation position and rotation speed of the rotation shaft of the motor 1 included in the motor information 23 correspond to the position and speed of the mechanical load 3.
  • the command value generation circuit 7 generates a position command value 24 representing a desired position of the mechanical load 3 at each moment.
  • the command value generation circuit 7 includes command value generation information including a travel distance D, a travel time T, and an upper limit acceleration A max from a host device (not shown) such as a programmable logic controller (PLC) or an operation panel. Is entered.
  • the movement distance D represents the movement amount from the initial position of the mechanical load 3 to the target position.
  • the movement time T represents the time required for the mechanical load 3 to move from the initial position to the target position.
  • the movement time T input to the command value generation circuit 7 as the command value generation information is an arbitrary desired value.
  • the upper limit acceleration A max is an acceleration that can be applied to the mechanical load 3 by the motor 1 (for example, an acceleration determined by a structural constraint of the mechanical load 3 or an acceleration specified by a user of the motor control device). Represents the upper limit of.
  • the command value generation circuit 7 generates a position command value 24 by executing position command value generation processing described later with reference to FIG. 2 based on the input command value generation information. Since the rotational position and rotational speed of the rotating shaft of the motor 1 are detected as information corresponding to the position and speed of the mechanical load 3 as described above, the position command value 24 is actually the motor 1 at each moment. Represents the desired rotation position of the rotation axis.
  • the motor drive circuit 4 controls the motor 1 to move the mechanical load 3 according to the position command value 24.
  • the motor drive circuit 4 is a servo amplifier.
  • the motor drive circuit 4 includes a power converter such as a PWM inverter, and generates a current 22 to be supplied to the motor 1 by the power 25 supplied from the power supply 5.
  • the motor drive circuit 4 feeds back the rotational position (actual position) of the rotating shaft of the motor 1 detected by the encoder 2 to follow the position command value 24 (desired position) sent from the command value generation circuit 7.
  • a control system is provided, whereby a current 22 for driving the motor 1 is calculated and generated so that the rotational position of the rotating shaft of the motor 1 follows the position command value 24, and the generated current 22 is supplied to the motor 1. .
  • the power source 5 is, for example, a three-phase AC power source or a single-phase AC power source.
  • the regenerative resistor 6 consumes regenerative power 26 when the motor 1 is in a regenerative state.
  • the position command value 24 generated by the command value generation circuit 7 will be further described.
  • the command value generation circuit 7 determines an acceleration profile A (t) representing a temporal acceleration change of the mechanical load 3, and changes the temporal speed change of the mechanical load 3 according to the acceleration profile A (t).
  • a speed profile to be represented is determined, and a position command value 24 is generated according to the speed profile.
  • the acceleration profile A (t) is accelerated from a state where the mechanical load 3 is stopped at the initial position to the peak velocity V p, so as to stop at the target position by decelerating from the peak velocity V p, and the machine load as the absolute value of the acceleration during the acceleration and deceleration of 3 is less than the upper limit acceleration a max, and maintain a predetermined upper limit acceleration a max over a predetermined time period from the start of the acceleration of the mechanical load 3 Then, it is determined so as to gradually decrease from the upper limit acceleration Amax .
  • the acceleration profile A (t) is determined so that the mechanical load 3 is moved from the initial position to the target position with the movement time T.
  • the shortest movement time T 0 is determined by accelerating the mechanical load 3 from the state where the mechanical load 3 is stopped at the initial position to the predetermined peak speed with the upper limit acceleration A max. It is the time from deceleration to max and stopping at the target position.
  • the area obtained by integrating the speed profile over the movement time T is the movement distance D.
  • Each embodiment of the present invention proposes an acceleration profile A (t) having various shapes (thus, a velocity profile having various shapes).
  • the power consumption during the positioning operation can be reduced by using these acceleration profiles A (t).
  • the electric energy does not indicate the electric power per unit time, but the total electric energy during the positioning operation (the integrated electric energy obtained by integrating or integrating the electric power per unit time during the positioning operation time). ).
  • FIG. 2 is a flowchart showing a position command value generation process executed by the command value generation circuit 7 of FIG.
  • the acceleration profile A (t) includes an acceleration time for accelerating at a first acceleration from a state in which the mechanical load 3 is stopped at the initial position to a peak speed V p, and the mechanical load 3 at the peak speed V.
  • the absolute values of the first and second accelerations are the upper limit acceleration A max . Therefore, the present embodiment is characterized in that a speed profile having a trapezoidal shape is generated.
  • step S 1 the movement distance D, the movement time T, and the upper limit acceleration A max are input to the command value generation circuit 7.
  • step S2 to calculate the shortest travel time T 0.
  • step S3 the movement time T to determine longer or not than the shortest travel time T 0, the process proceeds to step S5.
  • step S4 the travel time T may be increased by 10%, but the present invention is not limited to this.
  • step S5 the acceleration time and the deceleration time T 1, the uniform time T 2, to calculate the peak velocity V p.
  • the length T 1 of acceleration time and deceleration time and the length T 2 of constant speed time are given by the following equations.
  • V p A max ⁇ T 1 .
  • step S5 Furthermore, the calculated acceleration time and deceleration time T 1, the uniform time T 2, by the peak velocity V p, to determine the acceleration profile A (t).
  • step S6 the velocity profile is determined by integrating the acceleration profile A (t).
  • step S7 the position command value 24 is generated by integrating the speed profile, and the process is terminated.
  • FIG. 3 is a schematic diagram showing an acceleration profile and velocity profile for describing the shortest travel time T 0.
  • the acceleration profile and speed profile when the shortest time control is performed are indicated by bold dotted lines.
  • Acceleration profile at this time is accelerated with the upper limit acceleration A max from time 0 to half of the time T 0/2 of the shortest moving time, so as to decelerate in upper acceleration limit A max from the time T 0/2 until the shortest movement time T 0 To be determined. Accordingly, the mechanical load 3 is accelerated at the upper limit acceleration A max from the state stopped at the initial position to the predetermined peak speed, and decelerated at the upper limit acceleration A max at the moment when the peak speed is reached, and stops at the target position.
  • the speed profile when performing the shortest time control has a triangular shape.
  • the upper limit acceleration A max exists, it is impossible to move the mechanical load 3 in a movement time shorter than the shortest movement time T 0 . Only when moving the mechanical load 3 according to the position command value 24 generated from the acceleration profile and speed profile shown by the thick dotted line in FIG. 3, the shortest time of the moving distance D and the moving time T 0 without exceeding the upper limit acceleration A max. Control can be realized.
  • step S3 when the movement time T is equal to or shorter than the shortest movement time T 0 (step S3 is NO), the movement time T is increased (step S4). It aims at reducing. However, in the present embodiment, as indicated by the thick solid line in FIG. 3, the absolute value of the acceleration is simply decreased according to the amount of increase in the movement time T from the shortest movement time T 0 (that is, similar to the shortest time control). 4), a trapezoidal speed profile as shown in FIG.
  • FIG. 4 is a schematic diagram showing an acceleration profile A (t) and a velocity profile generated by the command value generation circuit 7 of FIG.
  • the acceleration profile A (t) includes an acceleration time during which the mechanical load 3 is stopped at the initial position to a peak speed V p at an acceleration a, and a constant speed time during which the mechanical load 3 is moved at the peak speed V p. consists deceleration time to stop at the target position by decelerating at the acceleration a mechanical load 3 from the peak velocity V p.
  • the length of the acceleration time and the length of the deceleration time are equal to each other.
  • the trapezoidal velocity profile is uniquely determined using the acceleration a representing the absolute value of acceleration during acceleration time and deceleration time as a parameter when the movement distance D and movement time T are given.
  • the acceleration a representing the absolute value of acceleration during acceleration time and deceleration time as a parameter when the movement distance D and movement time T are given.
  • acceleration time and deceleration time T 1 and constant velocity time T 2 are given by the following equations.
  • the upper limit of the absolute value of the acceleration a is the upper limit acceleration A max
  • the lower limit is, when the constant velocity time T 2 becomes 0, i.e., an acceleration when the speed profile is triangular.
  • the peak velocity V p in the velocity profile can be expressed by the following equation.
  • the operation state of the motor 1 when performing the positioning control according to the trapezoidal speed profile of FIG. 4 is an “acceleration operation state” in which the speed increases, and a “constant speed operation state in which the speed keeps a constant value”. And “deceleration operation state” in which the speed decreases.
  • this classification can be applied not only to a trapezoidal speed profile as shown in FIG. 4 but also to a speed profile having a more general acceleration / deceleration pattern.
  • the amount of electric power related to the motor output is calculated for each operation state.
  • the third equal sign uses the differential formula of the product function.
  • the electric energy related to the motor output in the acceleration operation state is represented by 1/2 ⁇ J ⁇ V p 2 . This is equivalent to kinetic energy when the mechanical load 3 and the motor 1 is operated at the peak rate V p.
  • the motor 1 when the motor 1 is in a decelerating operation state, that is, when the time t in FIG. 4 is TT 1 ⁇ t ⁇ T, a negative acceleration is generated to decrease the speed v.
  • the speed v since the speed v is in the positive direction, the speed v and the torque ⁇ have different signs, and the motor output power W per unit time becomes a negative value.
  • a negative value of the motor output power W means that the motor 1 is in a regenerative state (regenerative power is generated), and the motor 1 does not consume power.
  • This regenerative power is consumed by the regenerative resistor 6 in FIG. From another viewpoint, this means that the kinetic energy obtained during the acceleration operation state is consumed by the regenerative resistor 6 during the deceleration operation state and is discarded as heat energy.
  • the electric energy related to the motor output in the acceleration operation state is dominant, and this electric energy is the peak speed V of the mechanical load 3 and the motor 1. Equivalent to kinetic energy when operating at p . Therefore, in order to reduce the amount of power, the kinetic energy is small, i.e., it is necessary to reduce the peak velocity V p.
  • dV p / da in equation (9) is negative.
  • the peak speed Vp is minimized when the acceleration a is equal to the upper limit acceleration Amax . Since the kinetic energy is proportional to the square of the speed, the amount of electric power related to the motor output is minimized when the acceleration a is equal to the upper limit acceleration Amax .
  • the amount of loss consumed by the winding resistance of the motor 1 is calculated out of the electric energy required for the positioning control. Assuming that the winding resistance of the motor 1 is R and the current I flowing through the motor 1 is, the loss power L per unit time is expressed by the following equation.
  • the current I is expressed as follows using the acceleration a.
  • the current I flowing through the motor 1 is proportional to the acceleration a.
  • the electric energy related to the motor output is calculated for each of the “acceleration operation state”, “constant speed operation state”, and “deceleration operation state”, but the loss generated in the motor 1 is also calculated for each of these operation states.
  • the acceleration a is not 0 when the motor 1 is in the acceleration operation state
  • the current I is not 0 from the equation (13). Therefore, the loss power L is generated according to the equation (11), and the amount of power corresponding to the loss power L is consumed. Since the acceleration a is 0 when the motor 1 is in a constant speed operation state, the current I can be regarded as almost 0. Accordingly, at this time, the loss power L can be regarded as almost zero.
  • the electric energy E (a) related to the loss in the acceleration operation state that is, the electric energy obtained by integrating the lost electric power L over the acceleration time (0 ⁇ t ⁇ T 1 ) is expressed by the equations (11) and (11) 13) is expressed by the following equation.
  • FIG. 5 is a schematic diagram showing changes in loss with respect to acceleration a.
  • the vertical axis in FIG. 5 represents a value obtained by dividing the amount of power E (a) related to the loss in Expression (14) by R ⁇ (J / K T ) 2 ⁇ T / 2 ⁇ A min 2 .
  • the loss monotonously decreases as the acceleration a increases.
  • the loss increases monotonically as the acceleration a increases.
  • the amount of power required for positioning control is the sum of the amount of power related to motor output and the amount of power related to loss.
  • the motor control device of the present embodiment it is possible to reduce power consumption during positioning control.
  • Embodiment 2 In the first embodiment, positioning control is performed according to a trapezoidal speed profile in order to reduce power consumption. However, in this embodiment, a speed profile different from this is used.
  • the configuration of the positioning system including the motor control device according to the second embodiment is the same as that of the first embodiment (FIG. 1), but the position command value generation process executed by the command value generation circuit 7 is the same as the first embodiment. Different from 1.
  • FIG. 6 is a flowchart showing position command value generation processing according to Embodiment 2 of the present invention.
  • steps S1 to S4 are the same as those in the first embodiment (FIG. 2), and thus description thereof is omitted.
  • step S4 is YES
  • the process proceeds to step S11.
  • step S11 it determines whether the movement time T is less than ⁇ (3/2) times the shortest travel time T 0, when YES, the process proceeds to step S12, and if NO then the process proceeds to step S14.
  • an acceleration profile A (t) and a velocity profile having different shapes are generated according to YES or NO in step S11.
  • step S11 When step S11 is YES, that is, when the movement time T satisfies T 0 ⁇ T ⁇ (3/2) ⁇ T 0 , the acceleration profile A (t) is the first positive load on the mechanical load 3.
  • a first equal acceleration time for acceleration by acceleration, an acceleration reduction time for continuously decreasing the acceleration applied to the mechanical load 3 as a linear function of time from the first acceleration to a negative second acceleration, and a mechanical load. 3 is a second constant acceleration time for decelerating at a second acceleration.
  • the absolute values of the first and second accelerations are the upper limit acceleration A max .
  • steps S12 to S13 the acceleration profile A (t) shown in FIG. 7 is generated.
  • step S12 the first and second constant acceleration time T 3 is calculated by the following equation.
  • step S13 based on the constant acceleration time T 3, to determine the acceleration profile A (t), with respect to 0 ⁇ t ⁇ T time varies across t as follows.
  • step S11 is NO, that is, when the movement time T satisfies T ⁇ ⁇ (3/2) ⁇ T 0 , the command value generation circuit 7 has a predetermined peak acceleration A p smaller than the upper limit acceleration A max. And then, using this peak acceleration Ap , an acceleration profile A (t) is determined.
  • the acceleration profile A (t) starts to accelerate at the peak acceleration A p from the state where the mechanical load 3 is stopped at the first position, and the acceleration applied to the mechanical load 3 is a linear function of time from A p to ⁇ A p. continuously reduced as a finally determined to stop at the second position by decelerating at a peak acceleration a p.
  • steps S14 to S15 an acceleration profile A (t) shown in FIG. 8 is generated.
  • step S14 it calculates the peak acceleration A p by the following equation.
  • step S15 based on the peak acceleration A p, to determine the acceleration profile A (t), the following equation with respect to time t vary over 0 ⁇ t ⁇ T.
  • steps S6 to S7 are substantially the same as those in the first embodiment (FIG. 2).
  • step S6 the velocity profile is determined by integrating the acceleration profile A (t) determined in step S13 or S15.
  • step S7 the position command value 24 is generated by integrating the speed profile, and the process is terminated.
  • the movement distance D can be moved by the movement time T.
  • Constant acceleration time T 3 in the formula (16), or, the peak acceleration A p in the formula (18) is determined so as to move the moving distance D in moving time T.
  • FIG. 7 is a schematic diagram showing the acceleration profile A (t) (formula (16)) determined in step S13 of FIG. 6 and the corresponding velocity profile.
  • the absolute value of the acceleration becomes the upper limit acceleration A max only in the first and second constant acceleration time is always less than the upper limit acceleration A max is the acceleration reduction time. Therefore, obviously, the acceleration profile A (t) in FIG. 7 does not exceed the upper limit acceleration Amax .
  • FIG. 8 is a schematic diagram showing the acceleration profile A (t) (formula (18)) determined in step S15 of FIG. 6 and the corresponding velocity profile.
  • the inequality sign in Expression (20) uses that the movement time T satisfies T ⁇ ⁇ (3/2) ⁇ T 0 . Therefore, the peak acceleration A p does not exceed the upper limit acceleration A max.
  • the establishment of the inequality sign means that step S11 in FIG. 6 is NO, that is, T> ⁇ (3/2) ⁇ T 0 . Therefore, when the position command value generation process of FIG. 6 is performed, an acceleration profile A (t) that does not exceed the upper limit acceleration Amax , regardless of which of steps S12 to S13 or steps S14 to S15 is performed by the conditional branch of step S11. Can be generated.
  • the amount of power required for positioning control includes the amount of power related to motor output and the amount of power related to loss.
  • the electric energy related to the motor output is approximately equal to the kinetic energy determined from the peak speed.
  • the amount of power related to loss is dominated by the loss during acceleration, and the loss power can be calculated from the current flowing during acceleration.
  • the peak velocity V p V p1 when using the acceleration profile A (t) of equation (16) is calculated.
  • the peak velocity V p1 is obtained by integrating the equation (16) over a time period during which the positive acceleration is applied (from time 0 to half of the moving time T / 2) as in the following equation.
  • the amount of electric power related to the loss can be obtained by integrating the power loss L in the equation (11) over a time when the acceleration is positive (0 ⁇ t ⁇ T / 2).
  • the electric energy E L1 related to the loss when the positioning control is performed using the acceleration profile A (t) of Expression (16) is expressed by the following expression. .
  • Positioning control is performed using the speed profile represented by the solid line in FIG. 3, and the electric energy related to the motor output and the electric power related to the loss when moving the moving distance D by the moving time T are calculated as follows.
  • the velocity profile has a triangular shape.
  • the peak velocity V p2 and the electric energy E L2 related to the loss are calculated by the following equations.
  • Expression (29) to Expression (32) are expressed as the following expressions.
  • FIG. 9 is a schematic diagram showing changes in values of the functions f 1 (r) and f 2 (r) with respect to the parameter r.
  • the solid line represents the function f 1 (r)
  • the dotted line represents the function f 2 (r). According to FIG. 9, it can be seen that when 1 ⁇ r ⁇ (3/2), f 1 (r) ⁇ f 2 (r) regardless of the value of the parameter r.
  • the peak speed V p1 when the positioning control is performed using the acceleration profile A (t) of the equation (16) is based on the peak speed V p2 when the positioning control is performed using the triangular speed profile.
  • the amount of electric power related to the motor output is also greater when the positioning control is performed using the acceleration profile A (t) of the equation (16) than when the positioning control is performed using the triangular speed profile. It means that is smaller.
  • FIG. 10 is a schematic diagram showing changes in values of the functions g 1 (r) and g 2 (r) with respect to the parameter r.
  • the solid line represents the function g 1 (r)
  • the dotted line represents the function g 2 (r).
  • E L1 related to the loss when the positioning control is performed using the acceleration profile A (t) of the equation (16) is the electric power related to the loss when the positioning control is performed using the triangular speed profile. It represents that the amount is smaller than E L2 .
  • the electric power related to the motor output is greater when the positioning control is performed using the acceleration profile A (t) of Expression (16) than when the positioning control is performed using the triangular speed profile. Since both the amount and the amount of power related to loss are small, it can be said that the total amount of power is also small.
  • the peak speed V p3 when the positioning control is performed using the acceleration profile A (t) of the equation (18) and the electric energy E L3 related to the loss generated at that time are calculated.
  • the peak velocity V p3 is obtained by integrating the equation (18) over the time for applying the positive acceleration (from time 0 to half of the moving time T / 2) as in the following equation.
  • V p3 ⁇ V p2 and E L3 ⁇ E L2 hold. This is because when the positioning control is performed using the acceleration profile A (t) of the equation (18) rather than when the positioning control is performed using the triangular speed profile, the electric energy related to the motor output is This shows that the amount of power related to loss is also reduced.
  • the position command value 24 can be calculated with a small calculation load. .
  • the motor control device of the present embodiment it is possible to reduce power consumption during positioning control.
  • Embodiment 3 In the first and second embodiments, the effect has been described by calculating the amount of power consumption when performing positioning control quantitatively and showing that this is reduced. In the present embodiment, the effect will be described by a method different from this.
  • the configuration of the positioning system including the motor control device according to the third embodiment is the same as that of the first embodiment (FIG. 1), but the position command value generation process executed by the command value generation circuit 7 is the same as that of the first embodiment. Different from 1.
  • FIG. 11 is a flowchart showing a position command value generation process according to Embodiment 3 of the present invention.
  • steps S1 to S4 are the same as those in the first embodiment (FIG. 2), and thus description thereof is omitted.
  • step S4 is YES
  • the process proceeds to step S21, and the acceleration profile A (t) is determined in steps S21 to S22.
  • the acceleration profile A (t) includes a first constant acceleration time for accelerating the mechanical load 3 at a positive first acceleration, and an acceleration applied to the mechanical load 3 from the first acceleration to a negative second acceleration. It consists of an acceleration reduction time for continuously decreasing and a second constant acceleration time for decelerating the mechanical load 3 at the second acceleration.
  • the absolute values of the first and second accelerations are the upper limit acceleration A max .
  • the acceleration profile A (t) is generated as shown in FIG. 12, for example.
  • step S12 the first and second constant acceleration time T 3 is calculated by the following equation.
  • step S22 based on the constant acceleration time T 3, to determine the acceleration profile A (t), with respect to 0 ⁇ t ⁇ T time varies across t as follows.
  • FIG. 12 is a schematic diagram showing the acceleration profile A (t) determined in step S22 of FIG. 11 and the corresponding velocity profile.
  • the acceleration profile A (t) is determined so as to maintain the upper limit acceleration A max for the equal acceleration time T 3 after the acceleration of the mechanical load 3 is started and then gradually decrease from the upper limit acceleration A max .
  • the acceleration profile A (t) in the equation (40) is determined so that the mechanical load 3 is moved from the initial position to the target position in the movement time T (that is, the equation (19) is satisfied). , constant acceleration time T 3 of the formula (39) is obtained.
  • the acceleration profile A (t) of the equation (40) is taken as an example.
  • the acceleration profile A (t) is not limited to this, and the upper limit acceleration A max over the constant acceleration time T 3 after the acceleration of the mechanical load 3 is started. Can be used as long as the acceleration profile is determined so as to be maintained and then gradually decreased from the upper limit acceleration Amax .
  • Another example is the acceleration profile A (t) (formula (16)) in FIG. 7 described in the second embodiment.
  • FIG. 13 is a schematic diagram showing an acceleration profile and a corresponding velocity profile used in the position command value generation process according to a modification of the third embodiment of the present invention.
  • the acceleration profile A (t) has been described above as long as the acceleration profile A (t) has a shape that maintains the upper limit acceleration Amax for a predetermined time after the acceleration of the mechanical load 3 is started and then gradually decreases from the upper limit acceleration Amax .
  • Other shapes different from those may be used.
  • the acceleration in the acceleration reduction time is not limited to continuously decreasing as shown in FIG. 12, but may be reduced stepwise as shown in FIG.
  • the acceleration profile A (t) in FIG. 13 is expressed by the following equation.
  • the acceleration profile A (t) of the equation (41) is determined so as to move the mechanical load 3 from the initial position to the target position in the movement time T, that is, to satisfy the following equation.
  • FIG. 14 is a schematic diagram showing a first acceleration profile A (t) and a velocity profile for explaining the effect according to the third embodiment of the present invention.
  • FIG. 15 is a schematic diagram showing a second acceleration profile A (t) and a velocity profile for explaining the effect according to the third embodiment of the present invention. 14 and 15, the same mechanical load 3 is moved over the movement time T using the same motor 1. Assuming that A 1 > A 2 ⁇ 0, the acceleration profile A (t) in FIG. 14 is expressed by the following equation.
  • the acceleration profile A (t) in FIG. 14 a large acceleration is generated when the speed is small, and a small acceleration is generated when the speed is large. Accordingly, the acceleration is positive time (0 ⁇ t ⁇ T / 2 ) the first half (0 ⁇ t ⁇ T / 4 ) to a large acceleration A 1 occurs among the backward half (T / 4 ⁇ t ⁇ T / 2) generating a small acceleration a 2 in.
  • the acceleration is negative (T / 2 ⁇ t ⁇ T)
  • a small acceleration A 2 is generated in the first half (T / 2 ⁇ t ⁇ (3/4) T)
  • the second half ((3/4) T ⁇ generate the acceleration a 1 large t ⁇ T).
  • acceleration profile A (t) in FIG. 15 is expressed by the following equation.
  • a small acceleration is generated when the speed is low, and a large acceleration is generated when the speed is high. Accordingly, a small acceleration A 2 is generated in the first half (0 ⁇ t ⁇ T / 4) of the time when the acceleration is positive (0 ⁇ t ⁇ T / 2), and the second half (T / 4 ⁇ t ⁇ T / 2). the acceleration a 1 generates large.
  • the acceleration is negative (T / 2 ⁇ t ⁇ T)
  • a large acceleration A 1 is generated in the first half (T / 2 ⁇ t ⁇ (3/4) T) and the second half ((3/4) T ⁇ generate a small acceleration a 2 to t ⁇ T).
  • the loss during the acceleration operation is dominant in the electric energy related to the loss. Since the current and the acceleration are in a proportional relationship as described above, the electric energy related to the loss generated when the positioning control is performed using the acceleration profile A (t) in FIGS. 14 and 15 is the mechanical load 3. and using the total value J of the inertia of the motor 1, the motor 1 and a torque constant K T is expressed by the following equation.
  • the acceleration profile A (t) of FIG. 14 is used.
  • the distance traveled becomes larger.
  • the acceleration in the acceleration profile A (t) in FIGS. 14 and 15 in order to move the same movement distance D with the same movement time T, the acceleration in the acceleration profile A (t) in FIG. A 1 and A 2 ) must be smaller than the acceleration in the acceleration profile A (t) in FIG. 15 (accelerations A 1 and A 2 in FIG.
  • the kinetic energy at the time of positioning control can be made small.
  • the kinetic energy can be regarded as the amount of electric power related to the motor output, so that the amount of electric power related to the motor output can be reduced.
  • the movement time T is divided into four sections, and the speed profile in which the acceleration is constant in each section has been described.
  • the movement time T may be divided into more sections.
  • the acceleration composed of the first constant acceleration time, the acceleration reduction time, and the second constant acceleration time, which is represented by Expression (39) and Expression (40), or Expression (41) and Expression (43).
  • the profile A (t) does not include repetitive calculations or the like to calculate, and includes only algebraic calculation, so that the position command value 24 can be calculated with a small calculation load.
  • the motor control device of the present embodiment it is possible to reduce power consumption during positioning control.
  • Embodiment 4 In the first to third embodiments, the case where the shape of the acceleration profile is symmetrical between acceleration and deceleration (therefore, the case where the shape of the speed profile is symmetrical between acceleration and deceleration) has been described.
  • the embodiment of the invention is not limited to this, and the shape of the acceleration profile may be asymmetric between acceleration and deceleration.
  • the fourth embodiment a case where such an acceleration profile is used will be described.
  • FIG. 16 is a schematic diagram showing an acceleration profile and a corresponding velocity profile used in the position command value generation process according to Embodiment 4 of the present invention.
  • the acceleration profile A (t) in FIG. 16 is expressed by the following equation.
  • the acceleration profile A (t) of the equation (47) is also set so that the mechanical load 3 is moved from the initial position to the target position in the movement time T, and the acceleration of the mechanical load 3 is started for a predetermined time T. It is determined to maintain the upper limit acceleration A max over 3 and then gradually decrease from the upper limit acceleration A max .
  • the acceleration profile A (t) of the equation (47) has different shapes when accelerating and decelerating.
  • Time T 3 of the formula (47) shall be calculated by the equation (15).
  • acceleration A 3 and the time T 5 in the equation (47) are determined as follows.
  • the speed needs to change continuously.
  • the value obtained by integrating the acceleration profile over the acceleration time in which the acceleration is positive needs to be equal to the absolute value of the value obtained by integrating the acceleration profile over the deceleration time in which the acceleration is negative.
  • the acceleration time and the deceleration time are equal to each other, and therefore, the acceleration time is 0 ⁇ t ⁇ T / 2 and the deceleration time is T / 2 ⁇ t ⁇ T. .
  • the following equation needs to be established for equation (47).
  • acceleration profiles described in the first to third embodiments described above are symmetrical in shape when accelerating and decelerating, so that the speed is automatically continuous.
  • the mechanical load 3 is moved in the movement time T over the movement distance D using the acceleration profile of the equation (47).
  • the portion corresponding to the acceleration time of the acceleration profile of Expression (47) is the same as that described in the second embodiment, and therefore the distance moved during the acceleration time is D / 2.
  • the acceleration profile of Expression (47) is used, in order for the total distance traveled during the acceleration time and the deceleration time to be the travel distance D, the distance traveled during the deceleration time needs to be D / 2. is there.
  • the acceleration profile of formula (47) the distance traveled during the deceleration time is expressed by the following equation using the T 5 acceleration A 3 and time.
  • the acceleration A 3 and the time T 5 are calculated by solving the simultaneous equations of the equations (48) and (53) in which A 3 and T 5 are unknowns.
  • the acceleration A 3 and time using the T 5 determines the acceleration profile of formula (47), then to determine the velocity profile in accordance with the acceleration profile A (t), and generates a position command value 24 according to the speed profile.
  • the power consumption when performing positioning control is calculated by the sum of the power amount related to the motor output and the power amount related to the loss, and the power amount related to the motor output and the power amount related to the loss. In both cases, the amount of power used during the acceleration operation is dominant.
  • the acceleration profile of Expression (47) the acceleration profile is determined so as to maintain the upper limit acceleration A max for a predetermined time T 3 after the acceleration of the mechanical load 3 is started and then gradually decrease from the upper limit acceleration A max. As a result, the amount of power required during the acceleration operation can be reduced.
  • acceleration A 3 and time T 5 parameters related to the acceleration profile are calculated so that the mechanical load 3 is moved over the movement distance D at the movement time T and the velocity profile is continuous over the movement time T. Therefore, by performing positioning control using this acceleration profile, it is possible to reduce the amount of power required for positioning without causing impact or vibration when performing positioning control while performing desired positioning control. There is an effect.
  • the calculation amount is reduced in consideration of the limitation of the upper limit acceleration, and the positioning control value can be reduced.
  • a position command value that can reduce power consumption is generated.
  • the power consumption can be reduced by 14 to 25%, which is close to the numerical optimum solution, compared with the conventional motor control device, and real-time and online implementation which is difficult with the numerical optimum solution. Can give an approximate solution.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Multiple Motors (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

 指令値生成回路(7)は、機械的負荷(3)を第1の位置において停止した状態からピーク速度(V)まで加速し、ピーク速度(V)から減速して第2の位置において停止させるように、かつ、機械的負荷(3)の加速及び減速を行う際の加速度の絶対値が所定の上限加速度(Amax)以下であるように、かつ、機械的負荷(3)の加速を開始してから所定時間にわたって所定の上限加速度(Amax)を維持し、その後に上限加速度(Amax)から漸減するように、機械的負荷(3)の時間的な加速度変化を表す加速度プロファイル(A(t))を決定する。指令値生成回路(7)は、加速度プロファイル(A(t))に従って、機械的負荷(3)の時間的な速度変化を表す速度プロファイルを決定し、速度プロファイルに従って位置指令値(24)を生成する。

Description

モータ制御装置
 本発明は、サーボモータなどの各種モータの動作を制御するモータ制御装置に関する。
 近年の省エネルギー意識の高まりから、各種産業用機械においてサーボモータなどのモータを用いて位置決め制御を行う際、消費電力量をなるべく小さくしたいという要求がある。
 このように位置決め制御時の消費電力を低減する方法として、特許文献1~5の発明が公開されている。
 特許文献1は、使用者の用途に応じて消費電力を減少し、また、温度変化や経時的劣化等にかかわらず位置決め制御を効率的に行うことを目的とするヘッド位置決め装置を開示している。速度プロフィール記憶部は、予め高速シークに対応する目標速度プロフィールAと、シーク速度は遅いが消費電力が少ない目標速度プロフィールBとを、使用者により選択可能に記憶している。ヘッドの現在のトラック位置と目標位置とを減算器において比較することで、位置誤差信号が得られる。目標速度設定部は、この位置誤差信号と速度プロフィール記憶部の目標速度プロフィールA又はBとに基づいてヘッドの目標速度を出力する。制御部は、速度誤差信号とサーボ制御定数に基づいてヘッド駆動用モータの駆動電流を算出する。この算出された駆動電流がモータ駆動部に入力される。駆動電流の初期値が駆動電流初期値記憶部に記憶される。比較器は、現在の駆動電流と初期値とを比較する。サーボ制御定数調整部は、比較器の比較結果に基づいて制御部のサーボ制御定数を調整する。目標速度プロフィールA及びBの形状はいずれも三角形であり、特に、目標速度プロフィールBは、シーク速度を下げる代わりにシーク時間を延ばすことで消費電力を削減している。
 特許文献2は、ロボットの駆動システムにおける電力損失に対してロボットの動作パフォーマンスを最適化するための方法を得ることを目的とする熱最適化方法を開示している。特許文献2の方法によれば、工業ロボットの駆動システムにおける電力損失に対して該ロボットの現在の動作パスの動作パフォーマンスを最適化するための方法であって、この方法は、システムの少なくとも1部品に対して、動作パスの全部又は一部における電力損失を計算し、計算された電力損失を該部品における最大許容電力損失と比較し、該比較に依存して、現在の動作パスにおける加速度及び速度の推移を調節する過程を有する。
 特許文献3は、移動量とタクトが指定されたとき、駆動モータの温度上昇を最小化する指令パターンを生成することを目的とする指令パターン生成方法を開示している。特許文献3の方法によれば、移動量θmax、タクトtact、速度最大値ωmax、加速度最大値αmaxの4パラメータのうち、少なくとも速度最大値ωmaxあるいは加速度最大値αmaxを含む2つのパラメータを決定することで、移動量θmaxとタクトtactを特定し、時刻0及び時刻tactで速度が0となり、面積が移動量θmaxである、速度が放物線形状の指令パターンを生成する。速度の指令パターンを放物線形状にすることにより、銅損を最小化している。
 特許文献4は、工作機械全体の消費電力を最適に抑えることを目的とする工作機械の制御装置を開示している。特許文献4の装置は、送り軸駆動用モータの消費電力を算出する第1の消費電力算出手段と、一定電力にて動作する機器の消費電力を算出する第2の消費電力算出手段と、第1の消費電力算出手段により算出された電力と第2の消費電力算出手段により算出された電力との総和に基づき、送り軸駆動用モータの加速時間及び減速時間の少なくとも一方と相対関係を有する時定数を決定し、この時定数に基づき送り軸駆動用モータを制御するモータ制御手段とを備える。時定数は、電力の総和が最小になるように決定される。
 特許文献5は、所要エネルギーの低減を図ることができる軌道生成装置を開示している。特許文献5の軌道生成装置は、点列間をクロソイド曲線により補間して軌道生成を行い、軌道生成装置はクロソイド曲線生成手段を有する演算処理装置を備え、前記クロソイド曲線が三連クロソイド曲線とされ、それにより通過点での接線方向の連続性及び曲率の連続性が担保されてなるものである。なお、端点が直線と接続される場合、その接線方向は直線方向に一致させられる。
 特許文献6は、動作時間を引き延ばすことなく、PTP(point to point)動作を行う際に消費するエネルギーを低減することを目的とするロボットの制御装置を開示している。特許文献6の装置は、母線共通の多軸モータの制御において、複数軸の減速動作が重ならないように、各軸指令の動作始動の瞬間を決定する。減速動作が重なることで回生エネルギーが大きくなり、回生抵抗で消費されてしまうのを防ぐ。
 特許文献7もまた、動作時間を引き延ばすことなく、PTP動作を行う際に消費するエネルギーを低減することを目的とするロボットの制御装置を開示している。特許文献7の装置によれば、多軸モータの制御において、複数軸の動作時間を計算し、最も長い動作時間にあわせて、短い時間の動作時間の指令時間を伸ばして、消費電力量を削減する。
特開平5-325446号公報 特表2004-522602号公報 特開2007-241604号公報 特開2010-250697号公報 特開2011-145797号公報 特開2012-192484号公報 特開2012-192485号公報
 特許文献1は、速度プロフィールの形状が三角形である場合のみを開示し、従って、動作条件に応じて速度プロフィールを変化させて十分な省エネルギー化を実現することができないという問題点がある。
 特許文献2は、位置決め制御時の熱や損失を最小化することを開示しているが、仕事を含めた全体のエネルギーを最小化することについては開示していない。
 また、一般に、モータや機械的負荷を駆動する際、動作時に許容される上限加速度がある。特許文献3の発明を実施するとき、負荷の移動距離や移動時間によっては、この上限加速度を超えて動作させてしまうという問題がある。
 特許文献4の発明では、モータの加速時間及び減速時間の少なくとも一方と相対関係を有する時定数のみが最適化されるが、モータ及び機械的負荷に上限加速度が存在する場合に対処することができない。
 特許文献5の発明もまた、モータ及び機械的負荷に上限加速度が存在する場合に対処することができない。
 特許文献6は、単軸モータの位置決め制御時の消費電力量を低減することを開示していない。
 特許文献7もまた、単軸モータの位置決め制御時の消費電力量を低減することを開示していない。
 本発明の目的は、以上の問題点を解決し、位置決め制御時の消費電力量を低減するようにモータの動作を制御するモータ制御装置を提供することにある。
 本発明の態様に係るモータ制御装置によれば、
 モータに接続された機械的負荷を第1の位置から第2の位置に移動させるように上記モータを制御するモータ制御装置において、上記モータ制御装置は、
 各瞬間における上記機械的負荷の所望位置を表す位置指令値を生成する指令値生成回路と、
 上記位置指令値に従って上記機械的負荷を移動させるように上記モータを制御するモータ駆動回路とを備え、
 上記指令値生成回路は、
 上記機械的負荷を上記第1の位置において停止した状態からピーク速度まで加速し、上記ピーク速度から減速して上記第2の位置において停止させるように、かつ、上記機械的負荷の加速及び減速を行う際の加速度の絶対値が所定の上限加速度Amax以下であるように、かつ、上記機械的負荷の加速を開始してから所定時間にわたって所定の上限加速度Amaxを維持し、その後に上記上限加速度Amaxから漸減するように、上記機械的負荷の時間的な加速度変化を表す加速度プロファイルA(t)を決定し、
 上記加速度プロファイルA(t)に従って、上記機械的負荷の時間的な速度変化を表す速度プロファイルを決定し、
 上記速度プロファイルに従って上記位置指令値を生成することを特徴とする。
 本発明のモータ制御装置によれば、位置決め制御時の消費電力量を低減することができる。
本発明の実施の形態1に係るモータ制御装置を含む位置決めシステムの構成を示すブロック図である。 図1の指令値生成回路7によって実行される位置指令値生成処理を示すフローチャートである。 最短移動時間Tを説明するための加速度プロファイル及び速度プロファイルを示す概略図である。 図1の指令値生成回路7によって生成される加速度プロファイル及び速度プロファイルを示す概略図である。 加速度aに対する損失の変化を示す概略図である。 本発明の実施の形態2に係る位置指令値生成処理を示すフローチャートである。 図6のステップS13で決定される加速度プロファイル及び対応する速度プロファイルを示す概略図である。 図6のステップS15で決定される加速度プロファイル及び対応する速度プロファイルを示す概略図である。 図6の位置指令値生成処理の効果を説明するための図であって、最短移動時間Tに対する移動時間Tの比を表すパラメータrに対する関数f(r)及びf(r)の値の変化を示す概略図である。 図6の位置指令値生成処理の効果を説明するための図であって、最短移動時間Tに対する移動時間Tの比を表すパラメータrに対する関数g(r)及びg(r)の値の変化を示す概略図である。 本発明の実施の形態3に係る位置指令値生成処理を示すフローチャートである。 図11のステップS22で決定される加速度プロファイル及び対応する速度プロファイルを示す概略図である。 本発明の実施の形態3の変形例に係る位置指令値生成処理で使用される加速度プロファイル及び対応する速度プロファイルを示す概略図である。 本発明の実施の形態3に係る効果を説明するための第1の加速度プロファイル及び速度プロファイルを示す概略図である。 本発明の実施の形態3に係る効果を説明するための第2の加速度プロファイル及び速度プロファイルを示す概略図である。 本発明の実施の形態4に係る位置指令値生成処理で使用される加速度プロファイル及び対応する速度プロファイルを示す概略図である。
実施の形態1
 図1は、本発明の実施の形態1に係るモータ制御装置を含む位置決めシステムの構成を示すブロック図である。図1の位置決めシステムにおいて、モータ制御装置は、指令値生成回路7、モータ駆動回路4、及び回生抵抗6を含み、モータ1に接続された機械的負荷3を初期位置(第1の位置)から目標位置(第2の位置)に移動させるようにモータ1を制御する。図1の位置決めシステムはさらに、電源5及びエンコーダ2を備える。
 モータ1は、モータ駆動回路4から供給される電流22により動作し、トルク又は推力などの駆動力21を機械的負荷3に与える。機械的負荷3として、例えばボールネジ機構が想定されるが、これに限定されるものではない。エンコーダ2は、モータ1の回転軸の回転位置(角度)及び回転速度などのモータ情報23を検出してモータ駆動回路4に送る。モータ情報23に含まれるモータ1の回転軸の回転位置及び回転速度は、機械的負荷3の位置及び速度に対応する。
 指令値生成回路7は、各瞬間における機械的負荷3の所望位置を表す位置指令値24を生成する。指令値生成回路7には、プログラマブルロジックコントローラ(Programmable Logic Controller: PLC)や操作パネルなどの上位装置(図示せず)から、移動距離D、移動時間T、上限加速度Amaxを含む指令値生成情報が入力される。ここで、移動距離Dは、機械的負荷3の初期位置から目標位置までの移動量を表す。移動時間Tは、機械的負荷3が初期位置から目標位置まで移動するのに要する時間を表す。指令値生成情報として指令値生成回路7に入力される移動時間Tは、その任意の所望値である。上限加速度Amaxは、モータ1によって機械的負荷3に与えることが可能な加速度(例えば、機械的負荷3の構造的制約によって決まる加速度、又は、モータ制御装置のユーザによって指定される加速度、など)の上限値を表す。指令値生成回路7は、この入力された指令値生成情報に基づいて、図2を参照して後述する位置指令値生成処理を実行することで、位置指令値24を生成する。なお、前述のように機械的負荷3の位置及び速度に対応する情報としてモータ1の回転軸の回転位置及び回転速度が検出されるので、実際には、位置指令値24は各瞬間におけるモータ1の回転軸の所望回転位置を表す。
 モータ駆動回路4は、位置指令値24に従って機械的負荷3を移動させるようにモータ1を制御する。モータ1としてサーボモータが採用されている場合、モータ駆動回路4はサーボアンプである。モータ駆動回路4は、PWMインバータなどの電力変換器を備え、電源5から供給される電力25により、モータ1に供給する電流22を生成する。モータ駆動回路4は、エンコーダ2によって検出されたモータ1の回転軸の回転位置(実際の位置)を、指令値生成回路7から送られた位置指令値24(所望位置)に追従させるためのフィードバック制御系を備え、これにより、モータ1の回転軸の回転位置が位置指令値24に追従するようにモータ1を駆動する電流22を計算して生成し、生成した電流22をモータ1に供給する。
 電源5は、例えば3相交流電源又は単相交流電源である。
 回生抵抗6は、モータ1が回生状態になったときに回生電力26を消費する。
 指令値生成回路7によって生成される位置指令値24についてさらに説明する。指令値生成回路7は、まず、機械的負荷3の時間的な加速度変化を表す加速度プロファイルA(t)を決定し、加速度プロファイルA(t)に従って、機械的負荷3の時間的な速度変化を表す速度プロファイルを決定し、速度プロファイルに従って位置指令値24を生成する。ここで、加速度プロファイルA(t)は、機械的負荷3を初期位置において停止した状態からピーク速度Vまで加速し、ピーク速度Vから減速して目標位置において停止させるように、かつ、機械的負荷3の加速及び減速を行う際の加速度の絶対値が上限加速度Amax以下であるように、かつ、機械的負荷3の加速を開始してから所定時間にわたって所定の上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減するように決定される。
 詳しくは、指令値生成回路7は、移動距離D及び上限加速度Amaxに基づく、最短移動時間T=2×√(D/Amax)よりも長い所定の移動時間Tが与えられたとき、機械的負荷3を初期位置から目標位置に移動時間Tで移動させるように加速度プロファイルA(t)を決定する。最短移動時間Tは、詳しくは、機械的負荷3を初期位置において停止した状態から所定のピーク速度まで上限加速度Amaxで加速し、ピーク速度に達した瞬間に機械的負荷3を上限加速度Amaxで減速して目標位置において停止させるまでの時間である。指令値生成回路7は、移動距離D及び上限加速度Amaxに基づいて、機械的負荷3を初期位置から目標位置に移動させるのに要する最短移動時間T=2×√(D/Amax)を計算し、最短移動時間Tよりも長い所定の移動時間Tを決定してもよい。指令値生成情報として指令値生成回路7に入力された移動時間Tが最短移動時間Tよりも長いならば、その移動時間Tをそのまま使用する。そうでなければ、入力された移動時間Tに代えて、最短移動時間Tよりも長い所定の移動時間Tを決定して使用する。
 速度プロファイルを移動時間Tにわたって積分した面積が移動距離Dになる。
 本発明の各実施の形態では、さまざまな形状を有する加速度プロファイルA(t)(従って、さまざまな形状を有する速度プロファイル)を提案する。本発明の各実施の形態では、これらの加速度プロファイルA(t)を用いることで、位置決め動作時の消費電力量を低減することができる。ここで、電力量とは、単位時間あたりの電力を指すものではなく、位置決め動作中の合計の電力量(単位時間あたりの電力を、位置決め動作時間中、積分もしくは積算して得られる積算電力量)を指す。
 図2は、図1の指令値生成回路7によって実行される位置指令値生成処理を示すフローチャートである。本実施の形態において、加速度プロファイルA(t)は、機械的負荷3を初期位置において停止した状態からピーク速度Vまで第1の加速度で加速する加速時間と、機械的負荷3をピーク速度Vで移動させる等速時間と、機械的負荷3をピーク速度Vから第2の加速度で減速して目標位置において停止させる減速時間とからなる。第1及び第2の加速度の絶対値は上限加速度Amaxである。従って、本実施の形態では、台形形状を有する速度プロファイルを生成することを特徴とする。
 ステップS1において、移動距離D、移動時間T、及び上限加速度Amaxが指令値生成回路7に入力される。ステップS2において、最短移動時間Tを計算する。ステップS3において、移動時間Tが最短移動時間Tよりも長いか否かを決定し、YESのときはステップS5に進み、NOのときはステップS4で移動時間Tを増大させ、ステップS3に戻る。ステップS4では、例えば移動時間Tを1割ずつ増大させてもよいが、これに限定されるものではない。
 ステップS5において、加速時間及び減速時間Tと、等速時間Tと、ピーク速度Vとを計算する。加速時間及び減速時間の長さTと、等速時間の長さTとは、次式によって与えられる。
Figure JPOXMLDOC01-appb-M000008
           (1)
Figure JPOXMLDOC01-appb-M000009
           (2)
 また、ピーク速度Vは、V=Amax・Tによって与えられる。
 ステップS5ではさらに、計算された加速時間及び減速時間Tと、等速時間Tと、ピーク速度Vとにより、加速度プロファイルA(t)を決定する。ステップS6において、加速度プロファイルA(t)を積分することで、速度プロファイルを決定する。ステップS7において、速度プロファイルを積分することで、位置指令値24を生成し、処理を終了する。
 次に、本実施の形態に係るモータ制御装置の効果について説明する。
 まず、上限加速度を設けて位置決め制御を行う理由について説明する。モータ1には、モータ1の種類に依存して通常出力することが可能なトルクの最大値が存在する。機械的負荷3のイナーシャは位置決め制御時に一定であるので、運動方程式(イナーシャ×加速度=トルク)の関係から、加速度とトルクに比例関係が成立する。このことから、トルクの最大値が存在すると、位置決め制御時にモータ1によって機械的負荷3に与えることが可能な加速度に上限(上限加速度)が生じる。また、機械的負荷3自体が許容できる加速度の上限が存在する場合があり、これもまた、位置決め制御時に加速度の上限を生じさせる要因となる。仮に、この上限加速度を超えて機械的負荷3に加速度を与えると、モータ1に過大な電流が流れたり、機械的負荷3に大きな衝撃が加わり、最悪の場合、モータ1、モータ駆動装置4、及び/又は、機械的負荷3が破損する可能性がある。このため、位置指令値24を生成する際に、上限加速度を考慮する必要がある。
 上限加速度を考慮して、機械的負荷3が初期位置から目標位置まで移動するのに要する移動時間Tを最短にするためには、いわゆる最短時間制御(Bang-Bang制御)と呼ばれる制御を行うことが知られている。図3は、最短移動時間Tを説明するための加速度プロファイル及び速度プロファイルを示す概略図である。図3において、最短時間制御を行ったときの加速度プロファイル及び速度プロファイルを太点線で示す。最短時間制御を行ったときの移動時間、すなわち最短移動時間Tは、移動距離D及び上限加速度Amaxを用いて、T=2×√(D/Amax)で表される。このときの加速度プロファイルは、時間0から最短移動時間の半分の時間T/2まで上限加速度Amaxで加速し、時間T/2から最短移動時間Tまで上限加速度Amaxで減速するように決定される。従って、機械的負荷3は、初期位置において停止した状態から所定のピーク速度まで上限加速度Amaxで加速され、ピーク速度に達した瞬間に上限加速度Amaxで減速されて目標位置において停止する。最短時間制御を行ったときの速度プロファイルは三角形形状になる。上限加速度Amaxが存在する場合、最短移動時間Tよりも短い移動時間で機械的負荷3を移動させることは不可能である。図3の太点線で示す加速度プロファイル及び速度プロファイルから生成した位置指令値24に従って機械的負荷3を移動させるときのみ、上限加速度Amaxを超えることなく、移動距離D及び移動時間Tの最短時間制御を実現することができる。
 仮に最短移動時間T以下の移動時間Tが入力された場合、移動時間Tを最短移動時間Tよりも増大させ、この増大された移動時間Tに基づいて加速度プロファイルA(t)及び速度プロファイルを決定する。図2の位置指令値生成処理において、移動時間Tが最短移動時間T以下であるとき(ステップS3がNO)に移動時間Tを増大させる(ステップS4)のは、位置決め制御時の消費電力量を低減することを目的としている。ただし、本実施の形態では、図3の太実線で示すように移動時間Tを最短移動時間Tより増大させた分に応じて単に加速度の絶対値を減少させる(すなわち、最短時間制御と同様に三角形形状の速度プロファイルを用いる)のではなく、図4に示すような台形形状の速度プロファイルを用いる。図4は、図1の指令値生成回路7によって生成される加速度プロファイルA(t)及び速度プロファイルを示す概略図である。加速度プロファイルA(t)は、機械的負荷3を初期位置において停止した状態からピーク速度Vまで加速度aで加速する加速時間と、機械的負荷3をピーク速度Vで移動させる等速時間と、機械的負荷3をピーク速度Vから加速度aで減速して目標位置において停止させる減速時間とからなる。加速時間の長さと減速時間の長さとは互いに等しい。台形形状の速度プロファイルは、移動距離D及び移動時間Tが与えられたとき、加速時間及び減速時間における加速度の絶対値を表す加速度aをパラメータとして、一意的に決定される。以下、図4を参照して、加速度aの好ましい値について説明する。
 加速度aをパラメータとして、加速時間及び減速時間Tと、等速時間Tとは、次式で与えられる。
Figure JPOXMLDOC01-appb-M000010
           (3)
Figure JPOXMLDOC01-appb-M000011
           (4)
 加速度aの絶対値の上限は上限加速度Amaxであるが、下限は、等速時間Tが0になるとき、すなわち、速度プロファイルが三角形形状になるときの加速度である。この加速度aの絶対値の下限Aminは、速度プロファイルを移動時間Tにわたって積分した面積が移動距離Dになるという関係から、Amin=4D/Tで表される。この加速度aの絶対値の下限Aminを用いて、加速時間及び減速時間Tを次式で表すことができる。
Figure JPOXMLDOC01-appb-M000012
                    (5)
 また、加速度aの絶対値の下限Aminを用いて、速度プロファイルにおけるピーク速度Vは、次式で表すことができる。
Figure JPOXMLDOC01-appb-M000013
                    (6)
 一方、最短時間制御を行ったときの最短移動時間Tと、移動距離Dと、上限加速度Amaxとの間には、Amax=4D/T の関係があるので、上限加速度Amaxは、Amax=Amin・T/T で表される。よって、加速度aがとれる範囲は次式で表される。
Figure JPOXMLDOC01-appb-M000014
                    (7)
 次に、モータ1を動作させる際の消費電力量について考察する。モータ1の動作時に電力を消費する主要因は、モータ出力(モータ1が行う仕事)と、モータ1の巻線抵抗で消費される損失との2つに分類でき、その合計で消費電力量が決定される。すなわち、「位置決め制御に要する電力量」=モータ出力に関する電力量+損失に関する電力量、とみなせる。
 単位時間あたりのモータ出力電力Wは、モータ速度vとモータトルクτを用いて、W=v×τで表される。また、図4の台形形状の速度プロファイルに従って位置決め制御を行っている際のモータ1の動作状態は、速度が増加していく「加速動作状態」、速度が一定値を保ち続ける「等速動作状態」、及び速度が減少していく「減速動作状態」に分類できる。ただし、この分類は、図4のような台形形状の速度プロファイルだけではなく、より一般の加減速パターンを有する速度プロファイルであっても同様にあてはめることができる。以下、図4の台形形状の速度プロファイルに従って動作するときに、動作状態毎にモータ出力に関する電力量の大きさを計算する。
 まず、モータ1が加速動作状態にあるとき、すなわち、図4で時間tが0≦t≦Tのとき、正方向の加速度を発生させるために、モータ1には正方向のトルクが発生する、速度も正なので、単位時間あたりのモータ出力電力Wの符号も正になる。モータ1が加速を開始した直後(時間t=0)から、モータ1が加速完了(時刻t=T)するまでのモータ出力に関する電力量は、以下のように算出される。
Figure JPOXMLDOC01-appb-M000015
          (8)
 ここで、2番目の等号では、機械的負荷3及びモータ1のイナーシャの合計値をJと表して、モータ1の運動方程式である、J×dv/dt=τの関係、すなわち、トルクτと加速度dv/dtとが比例関係にあることを用いている。3番目の等号では、積の関数の微分公式を用いている。5番目の等号では、加速時間の最初(t=0)では速度vが0になること(v(0)=0)、及び、加速時間の最後(t=T)では速度vがVになること(v(T)=V)を用いている。最終的に、加速動作状態のときのモータ出力に関する電力量は、1/2・J・V で表される。これは、機械的負荷3及びモータ1がピーク速度Vで動作するときの運動エネルギーに等しい。
 また、モータ1が等速動作状態にあるとき、すなわち、図4で時間tがT<t≦T+Tのときには、加速度aが0になるので、発生するトルクτもほぼ0とみなせる。よって、W=v×τの関係から、モータ出力電力Wもほぼ0になる。
 さらに、モータ1が減速動作状態にあるとき、すなわち、図4で時間tがT-T<t≦Tのときには、速度vを減少させるために負の加速度を発生させるが、これには負のトルクを発生させる必要がある、しかし、速度vは正方向なので、速度vとトルクτが異符号になり、単位時間あたりのモータ出力電力Wは負の値になる。モータ出力電力Wが負の値になるということは、回生状態になっている(回生電力が発生している)ことを意味し、モータ1は電力を消費しないことになる。この回生電力は、図1の回生抵抗6で消費される。これは、別の見方をすれば、加速動作状態の間に得られた運動エネルギーが、減速動作状態の間に回生抵抗6によって消費され、熱エネルギーとして捨てられることを意味している。
 以上の考察から、位置決め制御時のモータ出力に関する電力量においては、加速動作状態のときのモータ出力に関する電力量が支配的であり、この電力量は、機械的負荷3及びモータ1がピーク速度Vで動作するときの運動エネルギーに等しい。よって、この電力量を低減させるためには、運動エネルギーを小さくする、すなわち、ピーク速度Vを小さくする必要がある。
 位置決め制御中のピーク速度Vと加速度aとの関係を表す式(6)を加速度aに関して微分すると、次式が得られる。
Figure JPOXMLDOC01-appb-M000016
                    (9)
 ここで、a>0及びa-Amin≧0であることと、相加平均>相乗平均の関係とを用いると、式(9)の分子について、次式が成り立つ。
Figure JPOXMLDOC01-appb-M000017
                    (10)
 従って、式(9)のdV/daは負である。よって、加速度aが大きいほど、ピーク速度Vは小さくなる。特に、ピーク速度Vが最小になるのは、加速度aが上限加速度Amaxに等しいときである。運動エネルギーは速度の二乗に比例するので、モータ出力に関する電力量が最小になるのも、加速度aが上限加速度Amaxに等しいときである。
 次に、図4の台形形状の速度プロファイルに従って位置決め制御を行うとき、位置決め制御時に要する電力量のうち、モータ1の巻線抵抗で消費される損失の大きさを計算する。モータ1の巻線抵抗をRとし、モータ1に流れる電流Iとすると、単位時間あたりの損失電力Lは、次式で表される。
L=R・I     (11)
 モータ1のトルクτは、モータ1の電流Iに比例して発生する。すなわち、その比例定数(トルク定数)をKとすると、τ=K・Iの関係がある。この関係を運動方程式に代入すると、次式の関係が成立する。
J・a=K・I     (12)
 従って、電流Iは、加速度aを用いて以下のように表される。
I=J・a/K・     (13)
 よって、モータ1に流れる電流Iは、加速度aに比例するといえる。
 モータ出力に関する電力量を「加速動作状態」、「等速動作状態」、及び「減速動作状態」のそれぞれについて計算したが、モータ1に発生する損失についても同様に、これらの動作状態毎に計算する。モータ1が加速動作状態にあるときは加速度aが0ではないので、式(13)より電流Iも0ではない。よって、式(11)に従い損失電力Lが発生し、この損失電力L分の電力量を消費する。モータ1が等速動作状態にあるときは加速度aが0であるので、電流Iもほとんど0とみなせる。従って、このとき、損失電力Lもほぼ0とみなせる。また、モータ1が減速動作状態にあるときには、負のトルクが発生するのに伴って電流Iが発生する。しかし、前述したように、モータ1が減速動作状態にあるときには回生電力が発生するので、回生電力が減速動作状態のときの損失電力Lを補償する。さらに、余った回生電力は、回生抵抗6で消費されることになる。従って、減速動作状態では、損失を補償するための電力量はほとんど必要ない。以上から、位置決め制御時の損失に関する電力量においても、加速動作状態のときの損失に関する電力量が支配的である。よって、位置決め動作に要する電力量は、加速動作状態時の電力量が支配的であるといえる。加速度aを用いて、加速動作状態のときの損失に関する電力量E(a)、すなわち、損失電力Lを加速時間(0≦t≦T)にわたって積分した電力量は、式(11)及び(13)から、次式で表される。
Figure JPOXMLDOC01-appb-M000018
          (14)
 加速度aの変化に応じて、式(14)の損失に関する電力量E(a)がどのように変化するかを調べる。ここで、巻線抵抗R、イナーシャJ、及びトルク定数Kの値は、モータ1及び機械的負荷3が決まれば一定であることに注意する。
 図5は、加速度aに対する損失の変化を示す概略図である。図5の縦軸は、式(14)の損失に関する電力量E(a)を、R・(J/K・T/2・Amin で除算した値を示す。図5において、Amin≦a<(9/8)・Aminでは、損失は加速度aが増加するにつれて単調減少する。損失は、a=(9/8)・Aminにおいて最小値になり、a=Aminのときの損失を1とすると、a=(9/8)・Aminにおいて損失は27/32になる。a>(9/8)・Aminでは、損失は加速度aが増加するにつれて単調増加する。さらに、a=(√5+1)/2・Aminでは、a=Aminのときの損失と同じ値になる。
 以上をふまえて、図4の台形形状の速度プロファイルに従って位置決め制御を行うとき、位置決め制御に要する電力量が、加速度a及び移動時間Tに応じて、どのようなときに最小になるかを考察する。
 前述したように、位置決め制御に要する電力量は、モータ出力に関する電力量と損失に関する電力量との和になることに注意する。まず、Amax≦(9/8)・Aminの場合、すなわち、Amax=Amin・T/T の関係を考慮して、T<T≦3√2/4・Tの場合、加速度aを上限加速度Amaxに設定すると、位置決め制御に要する電力量が最小になる。なぜならば、前述のように、加速度aが上限加速度Amaxであるときにピーク速度Vが最小になり、運動エネルギーも最小になり、従ってモータ出力に関する電力量が最小になる。また、図5より、a≦(9/8)Aminにおいては、損失は加速度aの増加に伴い単調減少するので、損失に関する電力量も最小になる。よって、モータ出力に関する電力量と損失に関する電力量との和である位置決め制御に要する電力量は最小になる。
 次に、(9/8)Amin<Amax≦(√5+1)/2・Amin、すなわち、3√2/4・T<T≦√((√5+1)/2)・Tのときもまた、上述の場合と同様に、加速度aを上限加速度Amaxに設定すると、モータ出力に関する電力量が最小になる。加速度aを上限加速度Amaxに設定したとき、損失に関する電力量は最小にはならないが、少なくとも、加速度aをその下限Aminに設定したとき、すなわち、三角形形状の速度プロファイルに従って位置決め制御を行うときの損失に関する電力量よりは小さくなる。よって、加速度aを上限加速度Amaxに設定したとき、少なくとも、位置決め制御で一般的である三角形形状の速度プロファイルを用いた場合よりは、位置決め制御に要する電力量を小さくできるという効果がある。
 図2のステップS5で計算される加速時間及び減速時間T、等速時間T、ピーク速度Vは、式(3)、式(4)、式(6)において、a=Amaxを代入したときの値である。また、式(3)、式(4)、式(6)は、計算するのに繰り返し計算等を含まず、代数演算しか含んでいないので、位置指令値24を小さな計算負荷で生成できるという効果がある。
 以上説明したように、本実施の形態のモータ制御装置によれば、位置決め制御時の消費電力量を低減することができる。
実施の形態2
 実施の形態1では、消費電力量を低減するために、台形形状の速度プロファイルに従って位置決め制御を行ったが、本実施の形態では、これとは異なる速度プロファイルを用いる。実施の形態2に係るモータ制御装置を含む位置決めシステムの構成は、実施の形態1(図1)と同じであるが、指令値生成回路7によって実行される位置指令値生成処理が、実施の形態1とは異なる。
 図6は、本発明の実施の形態2に係る位置指令値生成処理を示すフローチャートである。図6のフローチャートにおいて、ステップS1~S4は、実施の形態1(図2)と同じなので説明を省略する。ステップS4がYESのとき、ステップS11に進む。ステップS11において、移動時間Tが最短移動時間Tの√(3/2)倍より小さいか否かを決定し、YESのときはステップS12に進み、NOのときはステップS14に進む。本実施の形態では、ステップS11のYES又はNOに応じて、異なる形状の加速度プロファイルA(t)及び速度プロファイルを生成する。
 ステップS11がYESのとき、すなわち、移動時間Tが、T<T<√(3/2)×Tを満たすとき、加速度プロファイルA(t)は、機械的負荷3を正の第1の加速度で加速する第1の等加速度時間と、機械的負荷3に与える加速度を第1の加速度から負の第2の加速度まで時間の一次関数として連続的に低下させる加速度低減時間と、機械的負荷3を第2の加速度で減速する第2の等加速度時間とからなる。第1及び第2の加速度の絶対値は上限加速度Amaxである。ステップS12~S13では、図7に示す加速度プロファイルA(t)を生成する。
 ステップS12において、第1及び第2の等加速度時間Tを次式により計算する。
Figure JPOXMLDOC01-appb-M000019
          (15)
 ステップS13において、等加速度時間Tに基づいて、0≦t≦Tにわたって変化する時間tに関して加速度プロファイルA(t)を次式のように決定する。
Figure JPOXMLDOC01-appb-M000020
          (16)
 一方、ステップS11がNOのとき、すなわち、移動時間Tが、T≧√(3/2)×Tを満たすとき、指令値生成回路7は、上限加速度Amaxより小さい所定のピーク加速度Aを決定し、次いで、このピーク加速度Aを用いて加速度プロファイルA(t)を決定する。加速度プロファイルA(t)は、機械的負荷3を第1の位置において停止した状態からピーク加速度Aで加速し始め、機械的負荷3に与える加速度をAから-Aまで時間の一次関数として連続的に低下させ、最終的にピーク加速度Aで減速して第2の位置において停止させるように決定される。ステップS14~S15では、図8に示す加速度プロファイルA(t)を生成する。
 ステップS14において、ピーク加速度Aを次式により計算する。
=6D/T     (17)
 ステップS15において、ピーク加速度Aに基づいて、0≦t≦Tにわたって変化する時間tに関して加速度プロファイルA(t)を次式により決定する。
Figure JPOXMLDOC01-appb-M000021
          (18)
 図6のフローチャートにおいて、ステップS6~S7は、実施の形態1(図2)と実質的に同じである。ステップS6において、ステップS13又はS15で決定された加速度プロファイルA(t)を積分することで、速度プロファイルを決定する。ステップS7において、速度プロファイルを積分することで、位置指令値24を生成し、処理を終了する。
 次に、本実施の形態に係るモータ制御装置の効果について説明する。
 はじめに、式(16)又は式(18)で決定された加速度プロファイルA(t)について、次式が成り立つことを確認することができる。
Figure JPOXMLDOC01-appb-M000022
          (19)
 すなわち、式(16)又は式(18)で決定された加速度プロファイルA(t)を用いると、移動距離Dを移動時間Tで移動することができる。式(16)における等加速度時間T、又は、式(18)におけるピーク加速度Aは、移動距離Dを移動時間Tで移動するように決定されている。
 次に、式(16)又は式(18)で決定された加速度プロファイルA(t)が上限加速度Amaxを超えないことを説明する。図7は、図6のステップS13で決定される加速度プロファイルA(t)(式(16))及び対応する速度プロファイルを示す概略図である。図7に示すように、加速度の絶対値は、第1及び第2の等加速度時間においてのみ上限加速度Amaxになり、加速度低減時間では常に上限加速度Amax未満である。従って、明らかに、図7の加速度プロファイルA(t)は上限加速度Amaxを超えることはない。図8は、図6のステップS15で決定される加速度プロファイルA(t)(式(18))及び対応する速度プロファイルを示す概略図である。図8に示すように、加速度の絶対値は、時間t=0及びTのときのみピーク加速度Aになる。ピーク加速度Aは次式を満たす。
Figure JPOXMLDOC01-appb-M000023
                    (20)
 ここで、式(20)の不等号は、移動時間Tが、T≧√(3/2)×Tを満たすことを利用している。よって、ピーク加速度Aは上限加速度Amaxを超えることはない。ここで、不等号が成立することは、図6のステップS11がNOであること、すなわち、T>√(3/2)×Tであることを用いている。よって、図6の位置指令値生成処理を行うとき、ステップS11の条件分岐によってステップS12~S13あるいはステップS14~S15のどちらを行っても、上限加速度Amaxを超えない加速度プロファイルA(t)を生成することができる。
 次に、式(16)又は式(18)で決定された加速度プロファイルA(t)を用いて位置決め制御を行うことによって消費電力量を低減できることについて説明する。実施の形態1で説明したように、位置決め制御に要する電力量は、モータ出力に関する電力量と、損失に関する電力量とでからなる。前述のように、モータ出力に関する電力量は、ピーク速度から決まる運動エネルギーにほぼ等しい。また、損失に関する電力量は、加速時の損失が支配的であり、加速時に流れる電流から損失電力を計算することができる。
 まず、式(16)の加速度プロファイルA(t)を用いたときのピーク速度V=Vp1を算出する。ピーク速度Vp1は、次式のように、式(16)を、正の加速度を加える時間(時間0から移動時間の半分T/2まで)にわたって積分することにより得られる。
Figure JPOXMLDOC01-appb-M000024
          (21)
 また、損失に関する電力量は、式(11)の損失電力Lを、加速度が正の時間(0≦t≦T/2)にわたって積分することにより求められる。このとき、加速度と電流が概ね比例関係にあることを利用すると、式(16)の加速度プロファイルA(t)を用いて位置決め制御するときの損失に関する電力量EL1は、次式により表される。
Figure JPOXMLDOC01-appb-M000025
                    (22)
 次に、比較のために、位置決め制御において一般的に使用される三角形形状の速度プロファイルを用いて位置決め制御を行ったときの消費電力量を計算する。図3の実線で表す速度プロファイルを用いて位置決め制御を行い、移動距離Dを移動時間Tで移動するときのモータ出力に関する電力量と、損失に関する電力量とを以下のように計算する。
 実施の形態1において図4の加速度a=Aminであるとき、速度プロファイルが三角形形状になる。このときのピーク速度Vp2と損失に関する電力量EL2は、次式により計算される。
Figure JPOXMLDOC01-appb-M000026
                    (23)
Figure JPOXMLDOC01-appb-M000027
                    (24)
 ここで、r=T/Tとおくと、式(21)~式(24)を次式のように表すことができる。
Figure JPOXMLDOC01-appb-M000028
          (25)
Figure JPOXMLDOC01-appb-M000029
          (26)
Figure JPOXMLDOC01-appb-M000030
          (27)
Figure JPOXMLDOC01-appb-M000031
          (28)
 ピーク速度Vp1及びVp2の大小と、損失に関する電力量EL1及びEL2の大小とを比較するために、パラメータr=T/Tに関する以下の関数を導入する。
Figure JPOXMLDOC01-appb-M000032
          (29)
Figure JPOXMLDOC01-appb-M000033
          (30)
Figure JPOXMLDOC01-appb-M000034
          (31)
Figure JPOXMLDOC01-appb-M000035
          (32)
 式(29)~式(32)を用いると、式(25)~式(28)は次式のように表される。
Figure JPOXMLDOC01-appb-M000036
          (33)
          (34)
Figure JPOXMLDOC01-appb-M000038
          (35)
Figure JPOXMLDOC01-appb-M000039
          (36)
 式(16)の加速度プロファイルA(t)は、図6のステップS11がYESであるときに使用されるので、パラメータr=T/Tは、1<r<√(3/2)の範囲内で変化する。図9は、パラメータrに対する関数f(r)及びf(r)の値の変化を示す概略図である。図9において実線が関数f(r)を表し、点線が関数f(r)を表す。図9によれば、1<r<√(3/2)ではパラメータrの値に関わらず、f(r)<f(r)であることがわかる。これは、式(16)の加速度プロファイルA(t)を用いて位置決め制御を行ったときのピーク速度Vp1は、三角形形状の速度プロファイルを用いて位置決め制御を行ったときのピーク速度Vp2より小さくなり、このため、モータ出力に関する電力量も、三角形形状の速度プロファイルを用いて位置決め制御を行ったときよりも、式(16)の加速度プロファイルA(t)を用いて位置決め制御を行ったときのほうが小さくなるということを意味している。
 図10は、パラメータrに対する関数g(r)及びg(r)の値の変化を示す概略図である。図10において、実線が関数g(r)を表し、点線が関数g(r)を表す。図9によれば、1<r<√(3/2)ではパラメータrの値に関わらず、g(r)<g(r)であることがわかる。これは、式(16)の加速度プロファイルA(t)を用いて位置決め制御を行ったときの損失に関する電力量EL1は、三角形形状の速度プロファイルを用いて位置決め制御を行ったときの損失に関する電力量EL2より小さくなることを表している。
 以上説明したように、三角形形状の速度プロファイルを用いて位置決め制御を行ったときよりも、式(16)の加速度プロファイルA(t)を用いて位置決め制御を行ったときのほうが、モータ出力に関する電力量と、損失に関する電力量とがともに小さくなるので、トータルの電力量も小さくなることがいえる。
 さらに、式(18)の加速度プロファイルA(t)を用いて位置決め制御を行ったときピーク速度Vp3と、そのときに発生する損失に関する電力量EL3を算出する。まず、ピーク速度Vp3は、次式のように、式(18)を、正の加速度を加える時間(時間0から移動時間の半分T/2まで)にわたって積分することにより得られる。
Figure JPOXMLDOC01-appb-M000040
                    (37)
 また、式(18)の加速度プロファイルA(t)を用いて位置決め制御するときの損失に関する電力量EL3は、次式により表される。
Figure JPOXMLDOC01-appb-M000041
                    (38)
 明らかに、Vp3<Vp2、かつ、EL3<EL2が成立する。これは、三角形形状の速度プロファイルを用いて位置決め制御を行ったときよりも、式(18)の加速度プロファイルA(t)を用いて位置決め制御を行ったときのほうが、モータ出力に関する電力量も、損失に関する電力量も小さくなることを表している。
 以上説明したように、図6の位置指令値生成処理に従って位置指令値を生成することにより、ピーク加速度を上限加速度Amax以下にしつつ、なおかつ、位置決めに要する電力量を削減するという効果がある。また、式(15)~式(18)は、計算するのに繰り返し計算等を含まず、代数演算しか含んでいないので、位置指令値24を小さな計算負荷で演算することができるという効果がある。
 以上説明したように、本実施の形態のモータ制御装置によれば、位置決め制御時の消費電力量を低減することができる。
実施の形態3
 実施の形態1、2では、位置決め制御を行うときの消費電力量を定量的に計算し、これが低減されることを示すことにより、その効果を説明した。本実施の形態では、これとは別の方法で効果を説明する。実施の形態3に係るモータ制御装置を含む位置決めシステムの構成は、実施の形態1(図1)と同じであるが、指令値生成回路7によって実行される位置指令値生成処理が、実施の形態1とは異なる。
 図11は、本発明の実施の形態3に係る位置指令値生成処理を示すフローチャートである。図11のフローチャートにおいて、ステップS1~S4は、実施の形態1(図2)と同じなので説明を省略する。ステップS4がYESのとき、ステップS21に進み、ステップS21~S22において加速度プロファイルA(t)を決定する。加速度プロファイルA(t)は、機械的負荷3を正の第1の加速度で加速する第1の等加速度時間と、機械的負荷3に与える加速度を第1の加速度から負の第2の加速度まで連続的に低下させる加速度低減時間と、機械的負荷3を第2の加速度で減速する第2の等加速度時間とからなる。第1及び第2の加速度の絶対値は上限加速度Amaxである。加速度プロファイルA(t)は、例えば、図12のように生成される。
 ステップS12において、第1及び第2の等加速度時間Tを次式により計算する。
Figure JPOXMLDOC01-appb-M000042
          (39)
 ステップS22において、等加速度時間Tに基づいて、0≦t≦Tにわたって変化する時間tに関して加速度プロファイルA(t)を次式のように決定する。
Figure JPOXMLDOC01-appb-M000043
          (40)
 図12は、図11のステップS22で決定される加速度プロファイルA(t)及び対応する速度プロファイルを示す概略図である。
 加速度プロファイルA(t)は、機械的負荷3の加速を開始してから等加速度時間Tにわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減するように決定される。式(40)の加速度プロファイルA(t)は、機械的負荷3を初期位置から目標位置に移動時間Tで移動させるように(すなわち、式(19)が成立するように)決定され、このとき、式(39)の等加速度時間Tが得られる。
 ここでは、式(40)の加速度プロファイルA(t)を例としてあげたが、これに限られるものではなく、機械的負荷3の加速を開始してから等加速度時間Tにわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減するように決定される加速度プロファイルであれば、どのようなものであってもよい。他の例としては、実施の形態2で説明した図7の加速度プロファイルA(t)(式(16))などが挙げられる。
 図13は、本発明の実施の形態3の変形例に係る位置指令値生成処理で使用される加速度プロファイル及び対応する速度プロファイルを示す概略図である。加速度プロファイルA(t)は、機械的負荷3の加速を開始してから所定時間にわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減するような形状であれば、以上に説明したものとは異なる他の形状であってもよい。例えば、加速度低減時間における加速度は、図12のように連続的に低下することに限定されず、図13のように段階的に低下してもよい。図13の加速度プロファイルA(t)は次式で表される。
Figure JPOXMLDOC01-appb-M000044
          (41)
 式(41)の加速度プロファイルA(t)は、機械的負荷3を初期位置から目標位置に移動時間Tで移動させるように、すなわち次式を満たすように決定される。
Figure JPOXMLDOC01-appb-M000045
          (42)
 このとき、等加速度時間Tが次式により得られる。
Figure JPOXMLDOC01-appb-M000046
          (43)
 式(41)の加速度プロファイルA(t)を用いたときも、位置決め動作時の消費電力量を低減することができる。
 次に、本実施の形態に係るモータ制御装置の効果について説明する。
 図14及び図15を参照して、機械的負荷3の加速を開始してから所定時間にわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減する加速度プロファイルA(t)を用いることにより、位置決め制御に要する電力量を低減させることができることを説明する。図14は、本発明の実施の形態3に係る効果を説明するための第1の加速度プロファイルA(t)及び速度プロファイルを示す概略図である。図15は、本発明の実施の形態3に係る効果を説明するための第2の加速度プロファイルA(t)及び速度プロファイルを示す概略図である。図14及び図15のいずれの場合においても、同一のモータ1を用いて同一の機械的負荷3を移動時間Tにわたって移動するものとする。A>A≧0として、図14の加速度プロファイルA(t)は次式で表されるものとする。
Figure JPOXMLDOC01-appb-M000047
          (44)
 図14の加速度プロファイルA(t)では、速度が小さいときに大きな加速度を発生し、速度が大きいときに小さな加速度を発生する。従って、加速度が正の時間(0≦t≦T/2)のうち前半(0≦t<T/4)に大きい加速度Aを発生し、その後半(T/4<t<T/2)に小さい加速度Aを発生する。加速度が負の時間(T/2<t≦T)では、その前半(T/2<t≦(3/4)T)に小さい加速度Aを発生し、その後半((3/4)T<t≦T)に大きい加速度Aを発生する。
 また、図15の加速度プロファイルA(t)は次式で表されるものとする。
Figure JPOXMLDOC01-appb-M000048
          (45)
 図15の加速度プロファイルA(t)では、速度が小さいときに小さな加速度を発生し、速度が大きいときに大きな加速度を発生する。従って、加速度が正の時間(0≦t≦T/2)のうち前半(0≦t<T/4)に小さい加速度Aを発生し、その後半(T/4<t<T/2)に大きい加速度Aを発生する。加速度が負の時間(T/2<t≦T)では、その前半(T/2<t≦(3/4)T)に大きい加速度Aを発生し、その後半((3/4)T<t≦T)に小さい加速度Aを発生する。
 実施の形態1で説明したように、損失に関する電力量において、加速動作時の損失が支配的である。前述のように電流と加速度は比例関係にあるので、図14及び図15の加速度プロファイルA(t)を用いて位置決め制御を行ったときに発生する損失に関する電力量はいずれも、機械的負荷3及びモータ1のイナーシャの合計値Jと、モータ1のトルク定数Kとを用いて次式で表される。
Figure JPOXMLDOC01-appb-M000049
                    (46)
 すなわち、図14及び図15の加速度プロファイルA(t)を用いて位置決め制御を行ったときに、それぞれ同じ電力量の損失が発生する。
 次に、図14及び図15の加速度プロファイルA(t)を用いて位置決め制御を行ったときに移動することのできる距離を考える。図14及び図15の加速度プロファイルA(t)のいずれを用いたときでも、加速度が正の時間の最後(t=T/2)において、ピーク速度Vは、V=(A+A)・T/4になる。また、それぞれの加速度プロファイルA(t)に従って移動する移動距離は、速度プロファイルのプロットと時間軸とによって囲まれる面積に相当するので、図14及び図15によれば、図14の加速度プロファイルA(t)を用いたときのほうがより大きな距離を移動することがわかる。これは、速度が小さいときに大きな加速度を発生することに起因する。よって、損失に関する電力量が同一であるときに、より大きな移動距離を移動するためには、図14のように速度が小さいときに大きな加速度を発生し、速度が大きいときに小さな加速度を発生する加速度プロファイルA(t)を用いるほうが有利であることを示している。このことは、同一の移動距離を移動するという観点で見れば、図14の加速度プロファイルA(t)のほうが、損失に関する電力量を減少させる上で有利であることを示している。
 また、同一の移動距離を移動するのに、速度が小さいときに大きな加速度を発生し、速度が大きいときに小さな加速度を発生する場合、ピーク速度を小さくする効果がある。前述のように、図14及び図15の例において、加速度A及びAの値が同じであり、かつ、移動時間Tが同じである場合、図14の加速度プロファイルA(t)を用いたときのほうが、移動距離が大きくなる。図14及び図15の加速度プロファイルA(t)をそれぞれ用いたとき、同じ移動距離Dを同じ移動時間Tで移動するためには、図14の加速度プロファイルA(t)における加速度(図14の加速度A及びA)を図15の加速度プロファイルA(t)における加速度(図15の加速度A及びA)よりも小さくする必要がある。図14の加速度プロファイルA(t)における加速度を小さくすることにより、図14のピーク速度は、図15のピーク速度よりも小さくなる。これにより、位置決め制御時の運動エネルギーを小さくすることができる。実施の形態1で説明したように、運動エネルギーはモータ出力に関する電力量とみなすことができるで、モータ出力に関する電力量を低減させることができるという効果がある。
 図14及び図15の例では、移動時間Tを4つの区間に分割して、それぞれの区間内で加速度が一定値である速度プロファイルを用いて説明したが、より多くの区間に分割しても同様の議論が成立する。すなわち、加速度が次第に増大する加速度プロファイルよりも、加速を開始した直後に大きな加速度をとり、その後に加速度を漸減する加速度プロファイルのほうが、加速度が正の時間が開始した直後からなるべく大きな速度をとることができるので、位置決め制御を行うときの損失を減少させ、速度プロファイルのピーク速度を低下させる。
 加速度に上限加速度の制約がある場合は、加速を開始した直後からしばらくの間にわたって上限加速度を発生し、その後に上限加速度から漸減する加速度を発生する加速度プロファイルを用いて位置決め制御を行うことにより、加速度を上限加速度以下にしながら位置決め制御時に発生する損失を減少させ、かつ、ピーク速度を低下させることができる。すなわち、加速度を上限加速度以下にしながら、位置決め制御に要する電力量を低減する加速度プロファイルを生成することができる。また、例えば、式(39)及び式(40)、又は式(41)及び式(43)で表される、第1の等加速度時間、加速度低減時間、及び第2の等加速度時間からなる加速度プロファイルA(t)は、計算するのに繰り返し計算等を含まず、代数演算しか含んでいないので、位置指令値24を小さな計算負荷で演算することができるという効果がある。
 以上説明したように、本実施の形態のモータ制御装置によれば、位置決め制御時の消費電力量を低減することができる。
実施の形態4
 実施の形態1~3では、加速度プロファイルの形状が加速時と減速時とで対称である場合(従って、速度プロファイルの形状も加速時と減速時とで対称である場合)について述べたが、本発明の実施の形態はこれに限られるものではなく、加速度プロファイルの形状が加速時と減速時とで非対称であってもよい。本実施の形態4では、このような加速度プロファイルを用いる場合について説明する。
 図16は、本発明の実施の形態4に係る位置指令値生成処理で使用される加速度プロファイル及び対応する速度プロファイルを示す概略図である。図16の加速度プロファイルA(t)は次式で表される。
Figure JPOXMLDOC01-appb-M000050
          (47)
 式(47)の加速度プロファイルA(t)もまた、機械的負荷3を初期位置から目標位置に移動時間Tで移動させるように、かつ、機械的負荷3の加速を開始してから所定時間Tにわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減するように決定される。特に、式(47)の加速度プロファイルA(t)は、加速時と減速時とで異なる形状を有する。
 式(47)の時間Tは、式(15)により算出されるものとする。
 また、式(47)の加速度A及び時間Tは以下のように決定される。
 位置決め制御時に衝撃や振動を引き起こさないためには、速度が連続的に変化する必要がある。このためには、加速度プロファイルを加速度が正である加速時間にわたって積分した値が、加速度プロファイルを加速度が負である減速時間にわたって積分した値の絶対値に等しい必要がある。式(47)の例では、加速時間及び減速時間が互いに等しい場合を想定し、従って、加速時間は0≦t≦T/2であり、減速時間はT/2<t≦Tであるとする。すなわち、式(47)について次式が成立することが必要である。
Figure JPOXMLDOC01-appb-M000051
          (48)
 加速度プロファイルを加速時間にわたって積分した値が、ピーク速度Vになる。式(47)の加速度プロファイルの加速時間に対応する部分は、実施の形態2の式(16)と同じなので、式(48)の左辺を計算すると、式(21)と同様に、次式で表すことができる。
Figure JPOXMLDOC01-appb-M000052
          (49)
 また、式(48)の右辺を計算すると、次式で表すことができる。
Figure JPOXMLDOC01-appb-M000053
          (50)
 よって、式(48)が成立するためには、次式を満たすように加速度A及び時間Tを選択する必要がある。
Figure JPOXMLDOC01-appb-M000054
          (51)
 なお、前述の実施の形態1~3で説明した加速度プロファイルは、加速時と減速時の形状が対称であるので、速度も自動的に連続となる。
 式(47)の加速度プロファイルを用いて、機械的負荷3を移動距離Dにわたって移動時間Tで移動させる。ここで、前述のように、式(47)の加速度プロファイルの加速時間に対応する部分は、実施の形態2で説明したものと同一になるので、加速時間中に移動する距離はD/2となる。よって、式(47)の加速度プロファイルを用いたときに、加速時間及び減速時間に移動する距離の合計が移動距離Dになるためには、減速時間に移動する距離がD/2である必要がある。式(47)の加速度プロファイルを用いたときに、減速時間中に移動する距離は、加速度A及び時間Tを用いて次式で表される。
Figure JPOXMLDOC01-appb-M000055
          (52)
 従って、式(47)の加速度プロファイルを用いて、機械的負荷3を移動距離Dにわたって移動時間Tで移動させるためには、次式を満たすように加速度A及び時間Tを決定する必要がある。
Figure JPOXMLDOC01-appb-M000056
          (53)
 A及びTを未知数とする式(48)及び式(53)の連立方程式を解くことで加速度A及び時間Tを算出する。この加速度A及び時間Tを用いて式(47)の加速度プロファイルを決定し、次いで、加速度プロファイルA(t)に従って速度プロファイルを決定し、速度プロファイルに従って位置指令値24を生成する。
 次に本実施の形態の効果について説明する。
 実施の形態3で述べたように、位置決め制御を行うときの消費電力量は、モータ出力に関する電力量と損失に関する電力量との合計で計算され、また、モータ出力に関する電力量と損失に関する電力量とのいずれにおいても、加速動作時に使用する電力量が支配的である。式(47)の加速度プロファイルのように、機械的負荷3の加速を開始してから所定時間Tにわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減するように加速度プロファイルを決定することで、加速動作時に要する電力量を小さくすることができる。
 また、機械的負荷3を移動距離Dにわたって移動時間Tで移動させるように、かつ、速度プロファイルが移動時間Tにわたって連続になるように、加速度プロファイルに関するパラメータ(加速度A及び時間T)を算出しているので、この加速度プロファイルを用いて位置決め制御を行うことにより、所望の位置決め制御を行いながら、位置決め制御を行うときに衝撃や振動を発生せず、かつ、位置決めに要する電力量を削減できるという効果がある。
 なお、本実施の形態では加速時間(加速度が正である時間)と減速時間(加速度が負である時間)が等しい例について説明を行ったが、加速時間と減速時間が異なっていても、機械的負荷3の加速を開始してから所定時間にわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから漸減するように加速度プロファイルを決定するのであれば、上記の実施の形態と同様の効果、すなわち、所望の位置決め制御を行いながら、動作時の消費電力量を削減できる効果がある。さらに、図16の例では、機械的負荷3の加速を開始してから所定時間にわたって上限加速度Amaxを維持し、その後に上限加速度Amaxから連続的に減少するような加速度プロファイルを用いる場合について説明を行ったが、連続的に減少することに代えて、加速度が段階的に減少するような加速度プロファイルを用いてもよい。
 本発明によれば、位置決め制御に使用する位置指令値(又は対応する加速度プロファイル及び速度プロファイル)を生成する技術に関して、上限加速度の制限を考慮して、演算量を少なくして、位置決め制御時の消費電力量を小さくすることのできる位置指令値を生成する。
 本発明によれば、消費電力量を、従来のモータ制御装置に比較して、数値最適解に近い14~25%にわたって削減することができ、かつ、数値最適解では困難なリアルタイムかつオンラインの実装が可能な近似解を与えることができる。
1 モータ、2 エンコーダ、3 機械的負荷、4 モータ駆動回路、5 電源、6 回生抵抗、7 指令値生成回路。

Claims (17)

  1.  モータに接続された機械的負荷を第1の位置から第2の位置に移動させるように上記モータを制御するモータ制御装置において、上記モータ制御装置は、
     各瞬間における上記機械的負荷の所望位置を表す位置指令値を生成する指令値生成回路と、
     上記位置指令値に従って上記機械的負荷を移動させるように上記モータを制御するモータ駆動回路とを備え、
     上記指令値生成回路は、
     上記機械的負荷を上記第1の位置において停止した状態からピーク速度まで加速し、上記ピーク速度から減速して上記第2の位置において停止させるように、かつ、上記機械的負荷の加速及び減速を行う際の加速度の絶対値が所定の上限加速度Amax以下であるように、かつ、上記機械的負荷の加速を開始してから所定時間にわたって所定の上限加速度Amaxを維持し、その後に上記上限加速度Amaxから漸減するように、上記機械的負荷の時間的な加速度変化を表す加速度プロファイルA(t)を決定し、
     上記加速度プロファイルA(t)に従って、上記機械的負荷の時間的な速度変化を表す速度プロファイルを決定し、
     上記速度プロファイルに従って上記位置指令値を生成することを特徴とするモータ制御装置。
  2.  上記指令値生成回路は、上記第1の位置から上記第2の位置までの移動距離Dと、上記上限加速度Amaxとに基づいて計算された最短移動時間Tよりも長い所定の移動時間Tが与えられたとき、上記機械的負荷を上記第1の位置から上記第2の位置に上記移動時間Tで移動させるように、かつ、上記速度プロファイルが上記移動時間Tにわたって連続になるように上記加速度プロファイルA(t)を決定することを特徴とする請求項1記載のモータ制御装置。
  3.  上記最短移動時間Tは、T=2×√(D/Amax)であることを特徴とする請求項2記載のモータ制御装置。
  4.  上記加速度プロファイルA(t)は、
     上記機械的負荷を正の第1の加速度で加速する第1の等加速度時間と、
     上記機械的負荷に与える加速度を上記第1の加速度から負の第2の加速度まで低下させる加速度低減時間と、
     上記機械的負荷を上記第2の加速度で減速する第2の等加速度時間とからなり、
     上記第1の加速度は上記上限加速度Amaxであることを特徴とする請求項3記載のモータ制御装置。
  5.  上記移動時間Tが、T<T<√(3/2)×Tを満たすとき、上記加速度プロファイルA(t)において、
     上記第2の加速度の絶対値は上記上限加速度Amaxであり、
     上記加速度低減時間では、上記機械的負荷に与える加速度をAmaxから-Amaxまで時間の一次関数として連続的に低下させることを特徴とする請求項4記載のモータ制御装置。
  6.  上記第1及び第2の等加速度時間の長さTは、
    Figure JPOXMLDOC01-appb-M000001
    によって与えられ、
     上記加速度プロファイルA(t)は、0≦t≦Tにわたって変化する時間tに関して、
    Figure JPOXMLDOC01-appb-M000002
    によって与えられることを特徴とする請求項5記載のモータ制御装置。
  7.  上記第2の加速度の絶対値は上記上限加速度Amaxであり、
     上記加速度低減時間では、上記機械的負荷に与える加速度をAmaxから-Amaxまで連続的に低下させることを特徴とする請求項4記載のモータ制御装置。
  8.  上記第1及び第2の等加速度時間の長さTは、
    Figure JPOXMLDOC01-appb-M000003
    によって与えられ、
     上記加速度プロファイルA(t)は、0≦t≦Tにわたって変化する時間tに関して、
    Figure JPOXMLDOC01-appb-M000004
    によって与えられることを特徴とする請求項7記載のモータ制御装置。
  9.  上記第2の加速度の絶対値は上記上限加速度Amaxであり、
     上記加速度低減時間では、上記機械的負荷に与える加速度をAmaxから-Amaxまで段階的に低下させることを特徴とする請求項4記載のモータ制御装置。
  10.  モータに接続された機械的負荷を第1の位置から第2の位置に移動させるように上記モータを制御するモータ制御装置において、上記モータ制御装置は、
     各瞬間における上記機械的負荷の所望位置を表す位置指令値を生成する指令値生成回路と、
     上記位置指令値に従って上記機械的負荷を移動させるように上記モータを制御するモータ駆動回路とを備え、
     上記指令値生成回路は、上記第1の位置から上記第2の位置までの移動距離Dと、所定の上限加速度Amaxとに基づく、最短移動時間T=2×√(D/Amax)の√(3/2)倍よりも長い所定の移動時間Tが与えられたとき、
     上記上限加速度Amaxより小さい所定のピーク加速度Aを決定し、
     上記機械的負荷を上記第1の位置において停止した状態から上記ピーク加速度Aで加速し始め、上記機械的負荷に与える加速度をAから-Aまで時間の一次関数として連続的に低下させ、最終的に上記ピーク加速度Aで減速して上記第2の位置において停止させるように、かつ、上記機械的負荷を上記第1の位置から上記第2の位置に上記移動時間Tで移動させるように、上記機械的負荷の時間的な加速度変化を表す加速度プロファイルA(t)を決定し、
     上記加速度プロファイルA(t)に従って、上記機械的負荷の時間的な速度変化を表す速度プロファイルを決定し、
     上記速度プロファイルに従って上記位置指令値を生成することを特徴とするモータ制御装置。
  11.  上記ピーク加速度Aは、A=6D/Tによって与えられ、
     上記加速度プロファイルA(t)は、0≦t≦Tにわたって変化する時間tに関して、
    Figure JPOXMLDOC01-appb-M000005
    によって与えられることを特徴とする請求項10記載のモータ制御装置。
  12.  モータに接続された機械的負荷を第1の位置から第2の位置に移動させるように上記モータを制御するモータ制御装置において、上記モータ制御装置は、
     各瞬間における上記機械的負荷の所望位置を表す位置指令値を生成する指令値生成回路と、
     上記位置指令値に従って上記機械的負荷を移動させるように上記モータを制御するモータ駆動回路とを備え、
     上記指令値生成回路は、上記第1の位置から上記第2の位置までの移動距離Dと、所定の上限加速度Amaxとに基づいて計算された最短移動時間Tよりも長い所定の移動時間Tが与えられたとき、
     上記機械的負荷を上記第1の位置において停止した状態からピーク速度Vまで加速し、上記ピーク速度Vから減速して上記第2の位置において停止させるように、かつ、上記機械的負荷の加速及び減速を行う際の加速度の絶対値が上記上限加速度Amax以下であるように、かつ、上記機械的負荷を上記第1の位置から上記第2の位置に上記移動時間Tで移動させるように、上記機械的負荷の時間的な加速度変化を表す加速度プロファイルA(t)を決定し、
     上記加速度プロファイルA(t)に従って、上記機械的負荷の時間的な速度変化を表す速度プロファイルを決定し、
     上記速度プロファイルに従って上記位置指令値を生成し、
     上記加速度プロファイルA(t)は、
     上記機械的負荷を上記第1の位置において停止した状態から上記ピーク速度Vまで正の第1の加速度で加速する加速時間と、
     上記機械的負荷を上記ピーク速度Vで移動させる等速時間と、
     上記機械的負荷を上記ピーク速度Vから負の第2の加速度で減速して上記第2の位置において停止させる減速時間とからなり、
     上記第1の加速度は上記上限加速度Amaxであることを特徴とするモータ制御装置。
  13.  上記最短移動時間Tは、T=2×√(D/Amax)であることを特徴とする請求項12記載のモータ制御装置。
  14.  上記第2の加速度の絶対値は上記上限加速度Amaxであることを特徴とする請求項13記載のモータ制御装置。
  15.  上記加速時間及び上記減速時間の長さTは、
    Figure JPOXMLDOC01-appb-M000006
    によって与えられ、
     上記等速時間の長さTは、
    Figure JPOXMLDOC01-appb-M000007
    によって与えられ、
     上記ピーク速度Vは、V=Amax・Tによって与えられることを特徴とする請求項14記載のモータ制御装置。
  16.  上記指令値生成回路は、さらに、
     上記移動距離D及び上記上限加速度Amaxに基づいて上記最短移動時間Tを計算し、
     上記最短移動時間Tよりも長い所定長さの上記移動時間Tを決定することを特徴とする請求項2~15のいずれかに記載のモータ制御装置。
  17.  上記モータが回生状態になったときに回生電力を消費させる抵抗を備えることを特徴とする請求項1~16のいずれかに記載のモータ制御装置。
PCT/JP2013/054715 2012-03-01 2013-02-25 モータ制御装置 WO2013129294A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR1020147024188A KR101634474B1 (ko) 2012-03-01 2013-02-25 모터 제어 장치
US14/379,621 US9423777B2 (en) 2012-03-01 2013-02-25 Motor control device
CN201380012087.8A CN104160617B (zh) 2012-03-01 2013-02-25 电动机控制装置
DE112013001229.4T DE112013001229B4 (de) 2012-03-01 2013-02-25 Motorsteuerungsvorrichtung
JP2014502197A JP5840288B2 (ja) 2012-03-01 2013-02-25 モータ制御装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012045252 2012-03-01
JP2012-045252 2012-03-01

Publications (1)

Publication Number Publication Date
WO2013129294A1 true WO2013129294A1 (ja) 2013-09-06

Family

ID=49082493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/054715 WO2013129294A1 (ja) 2012-03-01 2013-02-25 モータ制御装置

Country Status (7)

Country Link
US (1) US9423777B2 (ja)
JP (1) JP5840288B2 (ja)
KR (1) KR101634474B1 (ja)
CN (1) CN104160617B (ja)
DE (1) DE112013001229B4 (ja)
TW (1) TWI486732B (ja)
WO (1) WO2013129294A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015130745A (ja) * 2014-01-07 2015-07-16 三菱電機株式会社 モータ制御装置
JP2017022810A (ja) * 2015-07-07 2017-01-26 Dmg森精機株式会社 モータ駆動制御装置およびこれを備えた工作機械
JP2017102674A (ja) * 2015-12-01 2017-06-08 オムロン株式会社 軌跡生成装置、軌跡生成装置の制御方法、制御プログラム、および記録媒体
JP2018060289A (ja) * 2016-10-03 2018-04-12 オムロン株式会社 軌跡生成装置、軌跡生成装置の制御方法、制御プログラム、および記録媒体
JP2018060290A (ja) * 2016-10-03 2018-04-12 オムロン株式会社 制御装置、制御装置の制御方法、制御プログラム、および記録媒体
JP2021022176A (ja) * 2019-07-27 2021-02-18 公立大学法人公立諏訪東京理科大学 可動部制御装置、可動部制御方法及びプログラム
US11318627B2 (en) 2018-02-14 2022-05-03 Omron Corporation Sensor unit, control method, and recording medium

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5582240B1 (ja) * 2013-06-19 2014-09-03 日本精工株式会社 モータの最適動作パターン選定方法、モータの最適動作パターン選定プログラム及びモータ選定装置
DE112013007679T5 (de) * 2013-12-13 2016-08-25 Mitsubishi Electric Corporation Numerische Steuerungsanlage und numerisches Steuerungsverfahren
TWI552510B (zh) * 2014-04-30 2016-10-01 Innoserv Fa Inc Servo motor drive
KR101752564B1 (ko) 2015-09-18 2017-06-29 (주)엔티렉스 스텝모터 제어장치 및 제어방법
US9870002B1 (en) * 2016-09-06 2018-01-16 X Development Llc Velocity control of position-controlled motor controllers
CN106788084B (zh) * 2016-12-12 2019-06-21 深圳市优必选科技有限公司 运动控制方法及装置、运动轨迹规划方法
DE102017001701A1 (de) * 2017-02-22 2018-08-23 Grob-Werke Gmbh & Co. Kg Steuerungsvorrichtung und Steuerungsverfahren zum Steuern einer Werkzeugmaschine
TWI671980B (zh) * 2018-01-25 2019-09-11 許博吉 驅動裝置
TWI662781B (zh) * 2018-03-29 2019-06-11 東元電機股份有限公司 馬達控制系統及其方法
CN109031953B (zh) * 2018-07-26 2021-10-15 上海高适软件有限公司 基于自学习的电动升降桌遇阻回退方法和系统及升降设备
CN111206394B (zh) * 2018-11-21 2023-08-11 青岛海尔洗衣机有限公司 一种洗涤剂投放方法及洗衣机
CN110504885B (zh) * 2019-09-18 2020-11-13 哈尔滨工业大学 一种适用于pmsm伺服系统的快速响应高精度位置控制方法
CN111427386B (zh) * 2020-04-16 2023-03-31 中国科学院光电技术研究所 一种结合bang-bang控制与无超调预测控制的光电设备快速调转方法
CN114967591B (zh) * 2022-03-04 2022-12-09 弥费实业(上海)有限公司 一种晶圆盒移载控制方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03245208A (ja) * 1990-02-23 1991-10-31 Hitachi Ltd 駆動装置の加減速制御方法
JP2001037080A (ja) * 1999-07-22 2001-02-09 Keiogijuku 機械群から構成されるシステムにおけるエネルギーのリサイクル方法
JP2006293622A (ja) * 2005-04-08 2006-10-26 Mitsubishi Electric Corp 指令生成装置
JP2010250697A (ja) * 2009-04-17 2010-11-04 Fanuc Ltd 工作機械の制御装置

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4300663A (en) * 1979-12-27 1981-11-17 Otis Elevator Company Elevator door motion mode control
US4506321A (en) * 1982-09-08 1985-03-19 Imec Corporation Motion control system with adaptive deceleration
JPH0424809A (ja) 1990-05-20 1992-01-28 Fujitsu Ltd ロボット制御装置
JPH05325446A (ja) 1992-05-22 1993-12-10 Ricoh Co Ltd ヘッド位置決め装置
US5331264A (en) * 1993-04-15 1994-07-19 Fanuc Robotics North America, Inc. Method and device for generating an input command for a motion control system
JP3477792B2 (ja) 1994-03-04 2003-12-10 三菱電機株式会社 モーション制御装置
JP3461927B2 (ja) 1994-10-04 2003-10-27 株式会社アマダ 電力回生装置を備えた折曲げ加工装置
JP2002085871A (ja) * 2000-09-20 2002-03-26 Aisin Seiki Co Ltd 刺繍機
US6527130B2 (en) * 2001-02-16 2003-03-04 General Electric Co. Method and system for load measurement in a crane hoist
SE0100974D0 (sv) 2001-03-20 2001-03-20 Abb Ab Termisk optimeringsmetod
US7158900B2 (en) * 2002-01-07 2007-01-02 Siemens Energy & Automation, Inc. Pulse output function for programmable logic controller
US6714229B2 (en) * 2002-05-14 2004-03-30 Fuji Photo Film Co., Ltd. Image forming apparatus
US7430480B2 (en) 2003-10-07 2008-09-30 Matsushita Electric Industrial Co., Ltd. Particulate determination method
US7016019B2 (en) * 2003-12-16 2006-03-21 Asml Netherlands B.V. Lithographic apparatus and device manufacturing method
JP4172477B2 (ja) * 2005-08-17 2008-10-29 村田機械株式会社 パターンの実機への実装方法
JP2007086904A (ja) 2005-09-20 2007-04-05 Brother Ind Ltd 加速度軌跡生成装置
JP4508135B2 (ja) 2006-03-08 2010-07-21 パナソニック株式会社 指令パターン生成方法
JP4762219B2 (ja) 2007-10-15 2011-08-31 三菱電機株式会社 メカニカルシステムの制御装置
TWI399029B (zh) * 2009-09-25 2013-06-11 Syntec Inc 馬達速度控制方法、馬達速度控制器及具有馬達速度控制器之製造系統
JP5555838B2 (ja) 2010-01-13 2014-07-23 マッスル株式会社 軌道生成方法および軌道生成装置
JP5678745B2 (ja) 2011-03-16 2015-03-04 株式会社デンソーウェーブ ロボットの制御方法およびロボットの制御装置
JP5678746B2 (ja) 2011-03-16 2015-03-04 株式会社デンソーウェーブ ロボットの制御方法およびロボットの制御装置
US9041337B2 (en) * 2012-05-18 2015-05-26 Linestream Technologies Motion profile generator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03245208A (ja) * 1990-02-23 1991-10-31 Hitachi Ltd 駆動装置の加減速制御方法
JP2001037080A (ja) * 1999-07-22 2001-02-09 Keiogijuku 機械群から構成されるシステムにおけるエネルギーのリサイクル方法
JP2006293622A (ja) * 2005-04-08 2006-10-26 Mitsubishi Electric Corp 指令生成装置
JP2010250697A (ja) * 2009-04-17 2010-11-04 Fanuc Ltd 工作機械の制御装置

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015130745A (ja) * 2014-01-07 2015-07-16 三菱電機株式会社 モータ制御装置
JP2017022810A (ja) * 2015-07-07 2017-01-26 Dmg森精機株式会社 モータ駆動制御装置およびこれを備えた工作機械
JP2017102674A (ja) * 2015-12-01 2017-06-08 オムロン株式会社 軌跡生成装置、軌跡生成装置の制御方法、制御プログラム、および記録媒体
JP2018060289A (ja) * 2016-10-03 2018-04-12 オムロン株式会社 軌跡生成装置、軌跡生成装置の制御方法、制御プログラム、および記録媒体
JP2018060290A (ja) * 2016-10-03 2018-04-12 オムロン株式会社 制御装置、制御装置の制御方法、制御プログラム、および記録媒体
US11318627B2 (en) 2018-02-14 2022-05-03 Omron Corporation Sensor unit, control method, and recording medium
JP2021022176A (ja) * 2019-07-27 2021-02-18 公立大学法人公立諏訪東京理科大学 可動部制御装置、可動部制御方法及びプログラム
JP7142359B2 (ja) 2019-07-27 2022-09-27 公立大学法人公立諏訪東京理科大学 可動部制御装置、可動部制御方法及びプログラム

Also Published As

Publication number Publication date
US9423777B2 (en) 2016-08-23
US20150061564A1 (en) 2015-03-05
JP5840288B2 (ja) 2016-01-06
CN104160617A (zh) 2014-11-19
TWI486732B (zh) 2015-06-01
TW201346475A (zh) 2013-11-16
DE112013001229B4 (de) 2019-05-09
KR101634474B1 (ko) 2016-06-28
KR20140127839A (ko) 2014-11-04
JPWO2013129294A1 (ja) 2015-07-30
DE112013001229T5 (de) 2015-01-22
CN104160617B (zh) 2016-12-14

Similar Documents

Publication Publication Date Title
JP5840288B2 (ja) モータ制御装置
CN106168790B (zh) 一种在线改变目标速度和位置的s形加减速控制方法
Tajima et al. Kinematic corner smoothing for high speed machine tools
CN101853013B (zh) 一种用于数控机床高速加工的加减速控制方法
KR101356224B1 (ko) 전자 캠 제어장치 및 전자 캠 곡선 생성 방법
CN101510087B (zh) 微小线段高速加工的前瞻自适应速度控制方法
JP5484949B2 (ja) モータの制御方法及び装置
JP5623757B2 (ja) モータの制御方法及び装置
JP2011176906A5 (ja)
CN101477354B (zh) 位置s型指令产生方法
JP2011176907A5 (ja)
JP5331068B2 (ja) 数値制御装置
CN110879569A (zh) 一种前瞻控制方法
EP2602221A2 (en) Comfort peak curve operation
CN112713817A (zh) 电动机的控制装置
JP4976746B2 (ja) 定速走行制御方法及び制御装置
JP5268974B2 (ja) 数値制御装置および生産システム
CN110989504A (zh) 一种五轴加工进给速度的区间自适应规划方法
JP2007279899A (ja) 数値制御装置
CN113635306B (zh) 机器人紧急制动方法、机器人及存储介质
Jeong et al. Jerk limited velocity profile generation for high speed industrial robot trajectories
KR101575144B1 (ko) 에너지 절감형 수치 제어 장치
JP2012143850A (ja) ロボット及びロボット駆動方法
TWI399029B (zh) 馬達速度控制方法、馬達速度控制器及具有馬達速度控制器之製造系統
JPH1190758A (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: 13754363

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014502197

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 14379621

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20147024188

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 112013001229

Country of ref document: DE

Ref document number: 1120130012294

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13754363

Country of ref document: EP

Kind code of ref document: A1