1. Field of the Invention
The present invention relates to a motor controller for controlling the drive of a motor.
2. Description of the Related Art
As a motor controller for controlling the drive of a motor, an inverter device used for the adjustable-speed drive of an AC motor is known, for example, as disclosed in Japanese Patent Publication No. 3592144. Such an inverter device is generally provided with an overcurrent protective device for performing gate shutdown when an excess current is detected. The overcurrent protective device that performs gate shutdown in this way determines that there is abnormality if a current feedback value sent from a current-detecting device arranged in a main circuit is not less than a predetermined value, and shuts a gate, thereby preventing damage from spreading to other parts in the inverter device.
On the other hand, the overcurrent protective device disclosed in Japanese Patent Publication No. 3592144 evaluates whether or not momentary current detection means for detecting currents of two or more phases is abnormal on the basis of the current values detected by the momentary current detection means. The overcurrent protective device prohibits the operation of the inverter device if any abnormal currents are observed.
Incidentally, in the case of such a simple configuration in which the drive of a motor is controlled using an inverter device as disclosed in Japanese Patent Publication No. 3592144, the rotation of the motor can be stopped by the inverter device in case of failure.
In the case of a configuration, however, in which the speed control of a motor is performed by outputting a drive command from the controller to a motor control unit, as in a case where a plurality of motors is controlled by a single controller, a situation arises in which any new drive commands are not input to the motor control unit if any failure occurs in communication between the controller and the motor control unit. In this situation, the motor control unit shuts a gate and cuts off current supply to the motor, in order to stop the motor. If the motor control unit cuts off current supply to the motor, the motor falls into a free-running state without being submitted to drive control. Consequently, safety may be impaired depending on the controlled object of the motor. If a plurality of motors is controlled in particular, the increased number of controlled objects may further impair safety.
An object of the present invention is to obtain a configuration capable of rapidly decelerating a motor even if a failure occurs in communication between a controller and a motor control unit in a motor controller in which a drive command is input from the controller to the motor control unit.
A motor controller according to one embodiment is provided with a controller, and a motor control unit configured to be capable of communicating with the controller to drive a motor according to a drive command output from the controller. The motor control unit includes a deceleration controller for outputting a drive command, so as to decelerate the motor, if any failure occurs in communication with the controller while the motor is being driven.
According to the motor controller in accordance with one embodiment, drive control is performed so as to decelerate the motor by the motor control unit by outputting a drive command from a deceleration controller of the motor control unit if any failure occurs in communication between the controller and the motor control unit. Consequently, it is possible to rapidly and safely decelerate or stop the motor even if a drive command is not input from the controller to the motor control unit.
A motor controller according to one embodiment is provided with a controller, and a motor control unit configured to be capable of communicating with the controller to drive a motor according to a drive command output from the controller. The motor control unit includes a deceleration controller for outputting a drive command, so as to decelerate the motor, if any failure occurs in communication with the controller while the motor is being driven.
Consequently, the motor can be decelerated by the deceleration controller of the motor control unit even if any failure occurs in communication between the controller and the motor control unit. It is therefore possible to prevent the motor from falling into a free-running state. Accordingly, it is possible to safely and rapidly decelerate or stop the motor.
In addition, the above-described configuration eliminates the need to provide any auxiliary communication means to be used if a communication failure occurs between the controller and the motor control unit. Costs can thus be reduced.
The motor control unit further includes a communication failure detector for detecting a failure in communication with the controller, and a command selector for selecting a drive command output from the controller as a drive command for the motor if any communication failure is not detected by the communication failure detector, or selecting a drive command output from the deceleration controller as a drive command for the motor if a communication failure is detected by the communication failure detector.
Consequently, the drive command output from the deceleration controller of the motor control unit is selected by the command selector only if any failure occurs in communication between the controller and the motor control unit. Accordingly, regular motor control (normal control) is performed based on the drive command output from the controller when communication between the controller and the motor control unit is performed normally. On the other hand, it is possible to safely and rapidly decelerate or stop the motor by the drive command output from the deceleration controller if any communication failure occurs between the controller and the motor control unit.
The deceleration controller can decelerate or stop the motor by performing regenerative operation thereon so as to decelerate the motor.
The drive command is a torque command. The motor control unit further includes a torque limiter for limiting the torque command to a predetermined value or smaller. The torque limiter is configured to, in at least part of a rotational speed range in the regenerative operation region of the motor, make the predetermined value lower than a torque limiting value at the time of normal control of the motor, if any communication failure is detected by the communication failure detector.
Consequently, a torque command in the regenerative operation of the motor can be made smaller than a torque command in the normal control thereof if any failure occurs in communication between the controller and the motor control unit. Accordingly, the heat generation of the motor can be suppressed in the regenerative operation thereof performed at the time of communication failure.
A construction machine according to one embodiment is provided with the above-described motor controller, and a motor controlled by the motor controller. Accordingly, it is possible to safely and rapidly decelerate or stop the motor by applying the motor controller having the above-described configuration, even if any communication failure occurs between a controller and a plurality of motor controllers in a motor used to, for example, turn the construction machine.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Constituent elements identical or corresponding to each other or one another in the figures are denoted by like reference numerals and characters and will not be discussed again.
Note that the motor M is not limited in particular and may be, for example, an IPM motor. In addition, the electric accumulator B may be of any structure, including a battery or a capacitor, as long as the accumulator is capable of accumulating electricity. In addition, the motor controller 1 may be applied to a machine other than construction machines, as long as the machine is provided with a motor.
The main controller 2 generates a torque command Tnref (n is the number of motors M) for each motor control unit 3 according to a speed command Sref. Specifically, the main controller 2 includes a speed control unit 11 for generating a torque command Tnref appropriate for each motor M according to the speed command Sref.
The motor control units 3 are arranged in association with the respective motors M. That is, assuming that the number of motors M controlled by the motor controller 1 is n, then the number of motor control units 3 included by the motor controller 1 is also n. The motor control units 3 are communicably connected to the main controller 2 by communication means capable of CAN communication or the like.
The motor control units 3 control the drive of the motors M on the basis of the torque command Tnref (drive command) output from the main controller 2. Specifically, each motor control unit 3 includes a current controller 21, a PWM signal generator 22, a main circuit 23, a rotation detector 24, and a speed detector 25. As illustrated in
Hereafter, the configuration and functionality of each motor control unit 3 will be described using
As illustrated in
As illustrated in
The detailed configuration of the current controller 21 will be described later.
As illustrated in
The PI controllers 41A and 41B calculate voltage commands Vqref and Vdref used to control the rotational speed of each motor M by a PI control method. More specifically, the PI controller 41A calculates a torque voltage command Vqref on the basis of the deviation between the present q-axis current Ig output from the three-to-two phase converter 27 and a q-axis current command Iqref and the proportional and integral gains of the PI controller 41A, as illustrated in
As illustrated in
The PWM controller 43 generates the PWM control signal Spwm compliant to the three-phase voltage commands Vuref, Vvref and Vwref and outputs the PWM control signal Spwm to the main circuit 23. The main circuit 23 converts the DC voltage of the electric accumulator B to an AC voltage on the basis of this PWM control signal Spwm, thereby supplying a three-phase AC current to the motor M.
As illustrated in
The speed detector 25 differentiates the rotational angle θ of the motor M detected by the rotation detector 24 with respect to time to calculate a rotational angular speed ω (hereinafter simply referred to as the rotational speed ω), and outputs this rotational speed ω to the current controller 21. In the current controller 21, the rotational speed ω is used to generate the alternative torque command T0ref.
As illustrated in
As illustrated in
(Current Controller)
Next, the configuration of the current controller 21 will be described in detail using
The torque command Tnref output from the main controller 2 and the rotational speed ω output from the speed detector 25 are input to the current controller 21. In addition, the zero speed command S0ref is generated in the current controller 21. The current controller 21 generates a q-axis current command Iqref and a d-axis current command Iqref according to the torque command Tnref, if the torque command Tnref is input from the main controller 2. On the other hand, the current controller 21 generates the q-axis current command Iqref and the d-axis current command Iqref according to the zero speed command S0ref, if the torque command Tnref is not input from the main controller 2.
Specifically, the current controller 21 is provided with a speed control unit 31, a torque command selector 32, a communication failure detector 33, a torque clamper 34 (torque limiter), a deceleration/stoppage necessity determination unit 35, and a current command generator 36.
The speed control unit 31 generates the alternative torque command T0ref on the basis of the zero speed command S0ref. Specifically, the speed control unit 31 includes a zero speed command generator 50, a lowpass filter (LPF) 51, multipliers 52 and 53, an integrator element 54, a proportional gain output unit 55, and an integral gain output unit 56.
The zero speed command generator 50 generates and outputs the zero speed command S0ref to the lowpass filter 51. Note that a signal of the zero speed command S0ref may be generated anywhere, as long as the command signal is generated within the motor control unit 3. In addition, the zero speed command generator 50 may generate the zero speed command S0ref either constantly or only if a failure occurs in communication with the main controller 2.
The multiplier 52 multiplies the difference between the zero speed command S0ref and the rotational speed w output from the speed detector 25 by a proportional gain output from the proportional gain output unit 55. The multiplier 53 multiplies the difference between the zero speed command S0ref and the rotational speed ω by an integral gain output from the integral gain output unit 56.
The integrator element 54 integrates a signal multiplied by the integral gain by the multiplier 53. The signal thus calculated by the integrator element 54 is added to the signal obtained by the multiplier 53. The proportional gain output unit 55 and the integral gain output unit 56 output a previously-stored proportional gain and integral gain, respectively. Note that alternatively, the proportional gain output unit 55 and the integral gain output unit 56 may calculate and output a proportional gain and an integral gain, respectively.
The signal calculated by the multiplier 52 and the signal obtained by adding the signal calculated by the integrator element 54 to the signal calculated by the multiplier 53 are added to each other and output as the alternative torque command T0ref.
The speed control unit 31 configured as described above generates such a torque command (alternative torque command T0ref) as to cause the rotational speed of the motor M to be zero, according to the zero speed command S0ref.
The torque command selector 32 selects one of the torque command Tnref output from the main controller 2 and the alternative torque command T0ref output from the speed control unit 31, according to an output signal (communication failure signal) from the communication failure detector 33, and outputs the selected command as the drive command for the motor M. That is, the torque command Tnref output from the main controller 2 and the alternative torque command T0ref output from the speed control unit 31 are input to the torque command selector 32. The torque command selector 32 selects and outputs the torque command Tnref if no failure is present in communication between the main controller 2 and the motor control unit 3. On the other hand, the torque command selector 32 selects and outputs the alternative torque command T0ref output from the speed control unit 31 if any failure in communication between the main controller 2 and the motor control unit 3 is detected by the communication failure detector 33.
The communication failure detector 33 outputs a communication failure signal to the torque command selector 32 if the detector detects any failure in communication between the main controller 2 and the motor control unit 3. The communication failure detector 33 outputs the communication failure signal if communication between the main controller 2 and the motor control unit 3 falls into an abnormal state due to, for example, disconnection or for any other reason.
The torque clamper 34 limits a torque command output from the torque command selector 32 to a predetermined value or lower, in order to limit the output of the motor M. Specifically, the torque clamper 34 limits the torque command so as to fall within a range of torque values (predetermined torque value or lower) shown by a solid line or a single-dot chain line according to the rotational speed of the motor M output from the speed detector 25, as illustrated in, for example,
In
Note that in part of the range of rotational velocities during the regenerative operation of the motor M, a torque limiting value at the time of deceleration/stoppage control is set to a value smaller than a torque limiting value in a case where control for driving the motor M according to the torque command Tnref output from the main controller 2 (hereinafter referred to as normal control) is performed (as shown by the single-dot chain line in
As illustrated in
The deceleration/stoppage necessity determination unit 35 determines whether or not the motor M is a device subject to deceleration and stoppage, if any communication failure occurs between the main controller 2 and the motor control unit 3. Specifically, the deceleration/stoppage necessity determination unit 35 determines, according to the purpose of use and the specifications of the motor M, whether or not the motor M needs to be decelerated and stopped if any communication failure occurs between the main controller 2 and the motor control unit 3. Data on each motor M is previously stored in an unillustrated memory or the like within the motor control unit 3. If the motor M is determined by the deceleration/stoppage necessity determination unit 35 to be a device subject to deceleration and stoppage, a deceleration/stoppage determination signal is output to the torque clamper 34. Note that if the motor M is determined by the deceleration/stoppage necessity determination unit 35 to be a device not subject to deceleration and stoppage, the motor control unit 3 shuts an unillustrated gate. Consequently, the motor M continues to rotate until it stops by itself due to friction and the like.
The current command generator 36 generates the q-axis current command Iqref and the d-axis current command Idref on the basis of a torque command (hereinafter referred to as the post-clamping torque command T1ref) limited by the torque clamper 34. Specifically, the post-clamping torque command T1ref and the rotational speed ω of the motor M are input to the current command generator 36. The current command generator 36 generates the q-axis current command Iqref and the d-axis current command Idref used to vector-control the motor M, according to the post-clamping torque command T1ref and the rotational speed ω.
As described above, the current controller 21 controls the drive of the motor M using the torque command Tnref, if the torque command Tnref is input from the main controller 2. In a case where any failure occurs in communication with the main controller 2, the current controller 21 controls the drive of the motor M using the alternative torque command T0ref output from the speed control unit 31, so that the speed of the motor M decreases to zero, if the motor M is a device subject to deceleration/stoppage control. Consequently, it is possible to prevent the motor M from falling into a free-running state. Accordingly, it is possible to safely and rapidly stop the motor M even if any failure occurs in communication with the main controller 2.
(Operation of Current Controller)
Next, the deceleration/stoppage control of the current controller 21 having such a configuration as described above will be described using the flowchart of
When the flow illustrated in
If a determination is made by the communication failure detector 33 that communication between the main controller 2 and the motor control unit 3 is performed normally (if “YES” in step S1), the current controller 21 controls the motor M on the basis of the torque command Tnref output from the main controller 2 (step S2). Specifically, the torque command selector 32 outputs the torque command Tnref output from the main controller 2 to the torque clamper 34. The torque clamper 34 limits the torque command to a value within the range shown by the solid line and the single-dot chain line in
Thereafter, this flow is completed (END).
On the other hand, if a determination is made by the communication failure detector 33 that communication between the main controller 2 and the motor control unit 3 is abnormal (if “NO” in step S1), the deceleration/stoppage necessity determination unit 35 determines whether or not the motor M is a device subject to deceleration/stoppage control (a device necessary to be submitted to deceleration/stoppage control) (step S3).
If the motor M is determined by the deceleration/stoppage necessity determination unit 35 to be a device subject to deceleration/stoppage control (if “YES” in step S3), deceleration/stoppage control is performed by the motor control unit 3 (step S4).
Specifically, the torque command selector 32 selects the alternative torque command T0ref output from the speed control unit 31 on the basis of a communication failure signal output from the communication failure detector 33, and outputs the alternative torque command T0ref to the torque clamper 34. The alternative torque command T0ref is a torque command used to set the rotational speed of the motor M to zero. That is, the alternative torque command T0ref is a torque command used to decelerate and stop the motor M by causing the motor M to undergo regenerative operation.
The torque clamper 34 sets the torque limiting value to a value smaller than the torque limiting value at the time of normal control in part of the rotational speed range of regenerative operation (changes the range of torque limiting values shown by the single-dot chain line in
The current command generator 36 generates and outputs the q-axis current command Iqref and the d-axis current command Idref according to such a post-clamping torque command T1ref as to decrease the rotational speed while suppressing the heat generation of the motor M.
On the other hand, if the motor M is determined by the deceleration/stoppage necessity determination unit 35 to be a device not subject to deceleration and stoppage (if “NO” in step S3), the motor control unit 3 shuts an unillustrated gate and stops current supply to the motor M (step S5). Consequently, the rotational speed of the motor M gradually decreases due to friction and the like.
After deceleration/stoppage control (step S4) and gate shutdown (step S5) are performed by such a motor control unit 3 as described above, this flow is completed (END).
As described above, in the motor controller 1 in which each motor M is driven by an associated motor control unit 3 according to the torque command Tnref output from the main controller 2, the motor control unit 3 includes a speed control unit 31 used to decelerate and stop the motor M if any failure occurs in communication with the main controller 2. Consequently, it is possible to safely and rapidly decelerate and stop the motor M even if the torque command Tnref is not input from the main controller 2 to the motor control unit 3.
In addition, the motor control unit 3 includes a torque command selector 32 for selecting one of the torque command Tnref output from the main controller 2 and the alternative torque command T0ref output from the speed control unit 31, according to the presence/absence of failure in communication with the main controller 2. Consequently, it is possible to easily switch between the torque command Tnref and the alternative torque command T0ref. Accordingly, it is possible to more reliably and rapidly decelerate and stop the motor M even if any failure occurs in communication between the main controller 2 and the motor control unit 3.
Yet additionally, the motor control unit 3 includes the deceleration/stoppage necessity determination unit 35 for determining whether or not the motor M is a device to be submitted to deceleration/stoppage control. If the motor M is determined by the deceleration/stoppage necessity determination unit 35 to be a device not subject to deceleration/stoppage control, the motor control unit 3 shuts a gate. On the other hand, if the motor M is determined by the deceleration/stoppage necessity determination unit 35 to be a device subject to deceleration/stoppage control, deceleration/stoppage control is performed by the motor control unit 3. Consequently, it is possible to perform deceleration/stoppage control by the motor control unit 3 on a device in need of deceleration/stoppage control. In addition, it is possible to prevent deceleration/stoppage control by the motor control unit 3 from being performed on a device not in need of deceleration/stoppage control.
If the motor M is determined by the deceleration/stoppage necessity determination unit 35 to be a device subject to deceleration/stoppage control, the torque limiting value is made smaller by the torque clamper 34, compared with a torque limiting value at the time of normal control, in at least part of the rotational speed range of regenerative operation. Consequently, it is possible to prevent the temperature of the motor M from rising when regenerative operation is performed on the motor M as deceleration/stoppage control.
Higher advantageous effects can be obtained by providing a construction machine with the motor controller 1 having the above-described configuration. That is, in a case where the motor M is configured to, for example, turn the construction machine, it is possible to safely and rapidly decelerate and stop the motor M without placing the motor M in a free-running state even if any failure occurs in communication between the main controller 2 and the motor control unit 3.
In this modified example, the zero speed command generator 50 generates a speed command which causes the speed of the motor M to gradually approach zero with time, so that the speed decreases linearly, as illustrated in
Consequently, the speed of the motor M gradually decreases if a communication failure is detected between the main controller 2 and the motor control unit 3. Accordingly, it is possible to prevent the motor M from decelerating or stopping suddenly.
As illustrated in
The torque command subtracter 102 multiplies a torque command output from the torque command selector 32 by a predetermined coefficient smaller than 1 (0.9 in the present embodiment) to decrease an alternative torque command Tsref to be input to the torque command selector 32. Specifically, the torque command subtracter 102 includes a coefficient output unit 103 and a multiplier 104. The coefficient output unit 103 previously stores the predetermined coefficient smaller than 1 and outputs the coefficient to the multiplier 104. Note that the coefficient of the coefficient output unit 103 may be a value other than 0.9, or a variable rather than a steady value.
The multiplier 104 multiplies a torque command output from the torque command selector 32 by a coefficient output from the coefficient output unit 103. Consequently, there is obtained a torque command smaller than the torque command output from the torque command selector 32. The torque command thus obtained using the multiplier 104 is input to the torque command selector 32 as the alternative torque command Tsref.
The torque command selector 32 outputs a torque command Tnref input from the main controller 2 to the torque clamper 34 when communication between the main controller 2 and the motor control unit is performed normally. On the other hand, the torque command selector 32 outputs the alternative torque command Tsref calculated using the torque command output from the torque command selector 32 immediately before failure detection to the torque clamper 34 using the torque command subtracter 102, if any communication failure is detected by the communication failure detector 33 between the main controller 2 and the motor control unit. At this time, the torque command subtracter 102 decreases the torque command output from the torque command selector 32 and once again inputs the torque command to the torque command selector 32. The torque command output from the torque command selector 32 therefore decreases gradually. Note that even if the torque command output from the torque command selector 32 is a signal “0”, the torque command subtracter 102 continues to output an alternative torque command signal “0”.
In the present embodiment, the torque command of the motor M can be calculated by the torque command subtracter 102 using a torque command output from the torque command selector 32 immediately before a failure occurs in communication between the main controller 2 and the motor control unit. Consequently, the motor M can be driven and controlled by the motor control unit even if the torque command Tnref is not input from the main controller 2.
In addition, since the torque command given to the motor M can be gradually decreased using the torque command subtracter 102, it is possible to gradually decelerate and stop the motor M.
Having thus described the embodiments of the present invention, the above-described embodiments are merely examples for carrying out the present invention. Accordingly, the present invention is not limited to the above-described embodiments, and therefore, the embodiments may be modified as appropriate and carried out without departing from the gist of the invention.
In the above-described respective embodiments, the motor controller 1 is provided with a plurality of motor control units 3 for controlling the drive of motors M according to the torque command Tnref output from the main controller 2. Only one motor control unit 3 may be provided for the main controller 2, however.
Also in the above-described respective embodiments, the torque command selector 32 selects one of the torque command Tnref output from the main controller 2 and the alternative torque command T0ref or Tsref generated within the motor control unit 3 according to the presence/absence of failure in communication between the main controller 2 and the motor control unit 3. The motor control unit may have any configuration, however, as long as the configuration allows the deceleration/stoppage control of a motor M to be performed by the motor control unit if any failure occurs in communication between the main controller 2 and the motor control unit.
Also in the above-described respective embodiments, each motor control unit 3 continues deceleration/stoppage control until a motor M stops, if any failure occurs in communication with the main controller 2. However, the motor control unit 3 may be configured so as to continue deceleration/stoppage control until the rotational speed of the motor M decreases to a predetermined value or lower. That is, the motor control unit 3 may set a speed command to be given to the motor M to a predetermined value, rather than zero, if any failure occurs in communication between the main controller 2 and the motor control unit 3.
Also in the above-described respective embodiments, the rotational speed of each motor M is decreased to zero only by means of deceleration/stoppage control by each motor control unit 3. An unillustrated mechanical brake may be used concomitantly, however, if the motor M has to be decelerated or stopped as soon as possible. Consequently, it is possible to more rapidly decelerate or stop the motor M, compared with a case where the motor M is decelerated or stopped with a mechanical brake alone. In addition, loads on the mechanical brake are relieved, thereby extending the operating life of the mechanical brake.
Also in the above-described respective embodiments, each motor M is an IPM motor. Without limitation to this configuration, however, the motor M may be, for example, an SPM motor or an AC motor.
Number | Date | Country | Kind |
---|---|---|---|
2013-113581 | May 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4766547 | Modery et al. | Aug 1988 | A |
6909950 | Shimizu | Jun 2005 | B2 |
7072751 | Shimizu | Jul 2006 | B2 |
20040232864 | Sunaga et al. | Nov 2004 | A1 |
20130060432 | Take et al. | Mar 2013 | A1 |
Number | Date | Country |
---|---|---|
1 153 783 | Nov 2001 | EP |
1 616 746 | Jan 2006 | EP |
3592144 | Nov 2004 | JP |
2011-200030 | Oct 2011 | JP |
Entry |
---|
Extended European Search Reported dated Jul. 28, 2015, issued in counterpart EP application No. 14170665.5 (6 pages). |
Number | Date | Country | |
---|---|---|---|
20140354197 A1 | Dec 2014 | US |