This application claims the priority benefits of Japan Patent Application No. 2018-108439, filed on Jun. 6, 2018. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
At least an embodiment of the present invention relates to a method of controlling a brushless direct current (DC) motor and a control device therefor.
A brushless DC motor is driven via an inverter circuit coupled to a DC power supply, and a voltage applied to a motor coil is generally controlled by pulse width modulation (PWM). Generally, the inverter circuit configured to drive a three-phase brushless DC motor is configured so that for each of motor phases (referred to as “U-phase”, “V-phase”, and “W-phase”), a high-side (upper) transistor coupled to a power supply line and a low-side (lower) transistor coupled to a ground point are coupled in series, and a coupling point of the both transistors is coupled with a coil of the corresponding phase of the motor. Each of the transistors is provided in parallel with a flywheel diode for feeding back a back electromotive force of the motor. For example, a power field effect transistor (power FET) is used as the transistor. In the following description, a flow of current from an A-phase coil to a B-phase coil in the motor will be expressed as “A->B”. When the motor is driven by the inverter circuit, the current is supplied to each of the coils of the motor by PWM control such that at a certain timing, the current flows from a U-phase coil of the motor to a V-phase coil (that is, U->V), at the next timing U->W, at the next timing, V->W and so on, and a rotating magnetic field is formed in the motor to rotate the motor.
Since the PWM drive is employed, a state where the current is supplied from the DC power supply to the motor via the inverter circuit and a state where the current is not supplied alternately exist, but the current continues to flow through the motor coil by self-induction even if a state where the current is supplied from the DC power is switched to a state where the current is not supplied. The PWM drive has two forms including one-side PWM drive and synchronous rectification PWM drive, employed based on a path where the current flows.
When the current flows, for example, U->V in the motor 1, switching for the PWM drive may be performed in either the U-phase high-side transistor TrUP or the V-phase low-side transistor TrVN, and here, the switching is performed in the U-phase high-side transistor TrUP. As a result of the switching for the PWM drive, the transistor TrUP will repeat an ON state, that is, a conduction state, and an OFF state, that is, a cut-off state. At a timing for operating the U-phase high-side transistor TrUP by the PWM drive, the V-phase low-side transistor TrVN is in the ON state (as indicated by “PWM ON”), and the remaining transistors TrUN, TrVP, TrWP, and TrWN are all in the OFF state. At this time, the same current path is used in the one-side PWM drive and in the synchronous rectification PWM drive, and is indicated by a bold arrow in upper circuit diagrams in
On the other hand, if the U-phase high-side transistor TrUP is turned off (as indicated by “PWM OFF”), in the one-side PWM drive, states of the transistors other than the transistor TrUP are not changed, and thus, the U-phase low-side transistor TrUN also remains in the OFF state. Therefore, as illustrated in
However, in the synchronous rectification PWM drive, if the motor decelerates due to a load fluctuation and the like or a speed command to the motor, a regenerative current flowing through the motor coil flows back toward the power supply side, and as a result, the power supply voltage may increase to damage a control circuit configured to drive and control the motor, an electronic device included in the inverter circuit, and the like. Therefore, the one-sided PWM drive and the synchronous rectification PWM drive are switched as described above, based on a drive state of the motor. Japanese Unexamined Patent Application Publication No. 2002-172162 (hereinafter, referred to as “Patent Literature 1”) discloses a technology in which the synchronous rectification PWM drive is used if the motor is accelerated or operated at a constant rotational speed, and the one-side PWM drive is used to prevent a power supply voltage rise due to a regenerative current if the motor is decelerated. Japanese Unexamined Patent Application Publication No. 2008-072788 (hereinafter, referred to as “Patent Literature 2”) discloses a technology in which the synchronous rectification PWM drive is switched to the one-side PWM drive if a power supply voltage reaches equal to or greater than a predetermined value and the one-side PWM drive is switched to the synchronous rectification PWM drive if it is detected that the rotational speed of the motor is within a target speed range.
Patent Literature 1: Japanese Unexamined Patent Application Publication No. 2002-172162
Patent Literature 2: Japanese Unexamined Patent Application Publication No. 2008-072788
The power supply voltage may also rise due to a factor other than a backflow of the regenerative current from the motor, the factor including a voltage fluctuation caused by a factor at a power supply side. Generally, the rise of the power supply voltage due to a factor other than the backflow of the regenerative current is so small that there is only a small possibility to damage an equipment, an electronic device, and the like. Even if the regenerative current flows back to the power supply, the power supply voltage may not rise depending on a condition of another load coupled to the power supply. In a control method described in Patent Literature 2, the synchronous rectification PWM drive is switched to the one-side PWM drive even if the power supply voltage reaches equal to or greater than a predetermined value due to a factor other than the regenerative current, and as a consequence, an unnecessary switching will be performed, resulting in an increase in heat generation and energy loss.
An embodiment of the present invention is to provide a method of controlling a brushless DC motor capable of preventing an unnecessary switching to one-side PWM drive to reduce heat generation and energy loss, and to provide also a control device therefor.
A control method of at least an embodiment of the present invention is a control method of controlling a voltage to be applied to a coil of each phase of a motor being a brushless DC motor by PWM drive, including: detecting a power supply voltage to be used for driving the motor; detecting a rotational speed of the motor; evaluating a speed reduction rate, based on the detected rotational speed, transitioning to a deceleration mode when the speed reduction rate is equal to or greater than a first threshold value, releasing the deceleration mode when the speed reduction rate is less than the first threshold value; and switching the PWM drive to one-side PWM drive when the power supply voltage reaches equal to or greater than a second threshold value during the deceleration mode to drive the motor.
A control device according to at least an embodiment of the present invention is a control device for controlling a voltage to be applied to a coil of each phase of a motor being a brushless DC motor by PWM drive, including: a power supply voltage detector configured to detect a power supply voltage to be used for driving the motor; and a controller configured to evaluate a speed reduction rate, based on a detected rotational speed of the motor, transition to a deceleration mode when the speed reduction rate is equal to or greater than a first threshold value, release the deceleration mode when the speed reduction rate is less than the first threshold value, and switch the PWM drive to one-side PWM drive when the power supply voltage reaches equal to or greater than a second threshold value during the deceleration mode to drive the motor.
Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
In at least an embodiment of the present invention, while the deceleration mode is set when a speed change rate in the rotational speed of the motor is equal to or greater than a first threshold value, and the deceleration mode is released when the speed change rate reaches less than the first threshold value, the PWM drive is switched to the one-side PWM drive when the power supply voltage reaches equal to or greater than a second threshold value during the deceleration mode, and therefore, even when the power supply voltage rises while the motor is not decelerating, the PWM drive will not be switched to the one-side PWM drive. This makes it possible to prevent an unnecessary switching to the one-sided PWM drive to reduce heat generation and energy loss.
In at least an embodiment of the present invention, a terminal voltage of a coil of at least one phase of the motor may be detected to detect the rotational speed of the motor. At least an embodiment of the present invention can also apply to a sensorless brushless DC motor not including a Hall element sensor or the like configured to detect a rotor position of the motor by detecting the rotational speed by the terminal voltage of the coil.
In at least an embodiment of the present invention, the rotational speed is detected for each sampling to calculate a speed reduction amount, and the speed reduction amount is used as the speed reduction rate. With this configuration, to set and release the deceleration mode, a difference in rotational speed between two samplings may simply be evaluated. More specifically, the motor can be driven and controlled by using a microprocessor configured to acquire the rotational speed for each sampling. As a result, a finer control of the brushless DC motor can be realized.
According to at least an embodiment of the present invention, it is possible to prevent an unnecessary switching to one-side PWM drive while controlling a voltage to be applied to a coil of each phase of a brushless DC motor by PWM drive to reduce heat generation and energy loss.
Now an embodiment of the present invention will be described with reference to the drawings.
The control device includes an inverter circuit 11 coupled to the DC power supply 2, the inverter circuit 11 being configured to drive the motor 1 with a rectangular wave, a microprocessor 14 configured to perform a control operation on the motor 1 by a software process to generate a command value for the inverter circuit 11, and a gate drive circuit 15 provided between the microprocessor 14 and the inverter circuit 11, the gate drive circuit 15 being configured to convert the command value from the microprocessor 14 into a drive signal for the inverter circuit 11. The microprocessor 14 drives the inverter circuit 11 via the gate drive circuit 15 thereby to PWM drive each of the coils of the motor 1. The inverter circuit 11 is equivalent to the inverter circuit illustrated in
In the U-phase, a drain of the high-side transistor TrUP is supplied with a power supply voltage VDD, a source of the transistor TrUP is coupled with a drain of the low-side transistor TrUN and with the U-phase coil of the motor 1, and a source of the transistor TrUN is coupled to the ground point GND. A cathode and an anode of the diode DUP are coupled to the drain and the source of the high-side transistor TrUP, respectively, and a cathode and an anode of the diode DUN are coupled to the drain and the source of the low-side transistor TrUN, respectively. The same configuration is applied to the V-phase and the W-phase.
Further,
The microprocessor 14 contains an analog/digital (A/D) conversion circuit 16 configured to detect the power supply voltage VDD, and A/D conversion circuits 16U, 16V, 16W configured to respectively detect terminal voltages of U-phase, V-phase and W-phase coils of the motor 1.
In the control device, a voltage divider circuit where the resistances R1, R2 are coupled in series is coupled in parallel to the DC power supply 2, and voltages of the resistances R1, R2 at the coupling points are input to the A/D conversion circuit 16. A terminal of the U-phase coil of the motor 1, that is, an end coupled to the transistors TrUP, TrUN out of ends of the U-phase coil, is coupled with one end of the voltage divider circuit where the resistances RU1, RU2 are coupled in series, the other end of the voltage divider circuit is grounded, and voltages of the resistances RU1, RU2 at coupling points, that is, the divided terminal voltages are input to the A/D conversion circuit 16U. Likewise, a voltage divider circuit comprised of the resistances RV1, RV2 is provided for the terminal of the V-phase coil, a terminal voltage divided by the voltage divider circuit is input to the A/D conversion circuit 16V, a voltage divider circuit comprised of the resistances RW1, RW2 is provided for the terminal of the W-phase coil, and a terminal voltage divided by the voltage divider circuit is input to the A/D conversion circuit 16W.
If any phase-coil of the motor 1 does not serve as a current path for driving the motor 1, a voltage based on the back electromotive force resulting from the rotation of the motor 1 appears at the terminal of that phase-coil. This voltage is a voltage proportional to the rotational speed of the motor 1. The microprocessor 14 also controls an energization timing for the coil of each phase of the motor 1, and thus, the microprocessor 14 can understand the terminal voltage of which phase-coil corresponds to the rotational speed in each time point, and from a voltage value obtained via the A/D converter circuits 16U, 16V, 16W, the rotational speed of the motor 1 based on the terminal voltage of a coil of at least one phase of the motor 1 can be obtained. It is noted that in this control device, the resistances R1, R2 and the A/D conversion circuit 16 constitute a power supply voltage detector configured to detect a power supply voltage to be used for driving the motor 1. Components of the microprocessor 14 other than the A/D conversion circuit 16 constitute a controller configured to drive the motor 1.
Next, the microprocessor 14 will be described. The microprocessor 14 is a general one used for driving and controlling a brushless DC motor, and in the control device of the present embodiment, specifically, the microprocessor 14 switches between the synchronous rectification PWM drive and the one-side PWM drive described above to drive the motor. In the control device, a deceleration mode is set as a mode for switching from the synchronous rectification PWM drive to the one-side PWM drive. The deceleration mode indicates that the motor 1 is decelerating. The microprocessor 14 monitors the rotational speed of the motor 1, based on the voltage value obtained via the A/D conversion circuit 16U, 16V, 16W, and evaluates the speed reduction rate based on the rotational speed. The speed reduction rate mentioned here is a value indicating how much the rotational speed of the motor 1 is decreased per unit time, and the greater the level of the deceleration of the motor 1 is, the larger the positive value is. In practice, in the microprocessor 14, the rotational speed of the motor 1 is sampled in a fixed cycle, and the speed reduction amount, that is, a value obtained by subtracting the rotational speed acquired by a current sampling from the rotational speed acquired by the previous sampling, can be used as the speed change rate. In this case, to avoid an influence due to noise or the like, a speed reduction amount, that is, a difference between a sampling before last or older (for example, a sampling before last) and a current sampling, may be used as the speed change rate. The speed reduction amount determined based on samplings in a fixed cycle is used as the speed reduction rate, and thus, the calculation of division can be omitted.
The microprocessor 14 determines whether or not the speed reduction rate is equal to or greater than a prescribed value (first threshold value), and sets the deceleration mode if the value is equal to or greater than the prescribed value, and releases the deceleration mode if the value is less than the prescribed value. The prescribed value is a value prescribed to determine whether or not the motor 1 is in a decelerating state. The determination based on the prescribed value is performed each time the speed reduction rate is acquired. A storage region for storing a deceleration mode flag is set inside the microprocessor 14, if the deceleration mode is set, the deceleration mode flag is turned on (ON), and if the deceleration mode is released, the deceleration mode flag is turned off (OFF). The microprocessor 14 drives the motor 1 by the synchronous rectification PWM drive if the deceleration mode is released. If the deceleration mode is set, the microprocessor 14 compares a value of the power supply voltage VDD detected via the A/D conversion circuit 16 with a determination level (second threshold value), and if the power supply voltage is equal to or greater than the determination level, the microprocessor 14 switches the drive of the motor 1 from the synchronous rectification PWM drive to the one-side PWM drive. The determination level is a voltage value prescribed depending on a tolerance level of the rise of the power supply voltage due to the regenerative current. If the deceleration mode is set even if the power supply voltage drops below the determination level after switching to the one-side PWM drive, the microprocessor 14 does not switch the one-side PWM drive to the synchronous rectification PWM drive. Of course, if the deceleration mode is released while the one-side PWM drive is performed, the microprocessor 14 switches the drive of the motor 1 from the one-side PWM drive to the synchronous rectification PWM drive.
In an initial state where the rotational speed of the motor 1 is constant, the deceleration mode flag is turned off and the deceleration mode is released, and as understood from
In the control device according to the present embodiment described above, in the deceleration mode, the PWM drive is switched to the one-sided PWM drive if the power supply voltage reaches equal to or greater than the determination level, and thus, it is possible to prevent an electronic device from being destroyed by increasing the power supply voltage due to a regenerative current generated by the deceleration of the motor 1, and in addition, the PWM drive is not switched to the one-sided PWM drive if the deceleration mode is released, and thus, it is possible to prevent an unnecessary reduction in efficiency.
The control device based on at least an embodiment of the present invention may have a configuration other than that illustrated in
In the control device illustrated in
Number | Date | Country | Kind |
---|---|---|---|
2018-108439 | Jun 2018 | JP | national |