1. Field of the Invention
The present invention relates to a motor driving circuit and its related correction method, and more particularly, to a motor driving circuit and its related correction method in which an electrostatic discharge diode is additionally disposed.
2. Description of the Prior Art
A motor is an electronic device for transferring electrical energy into dynamic energy, for example a DC motor, an AC motor or a stepper motor, etc., wherein the DC motor or the AC motor is frequently utilized in non-sophisticated control devices, such as a fan. Generally, the DC motor rotates based on a current direction or a current passing through coils of a rotor of the DC motor to generate different amounts or polarized direction of magnetic force, so as to attract or repel a permanent magnet on a stator of the DC motor to make the motor rotate.
Please refer to
The control module 12 receives a pulse width modulation signal of the pulse width modulation source 104 and a sensing result of the Hall sensor 106 to generate four control signals for turning switches MP1, MP2, MN1 and MN2 on or off, respectively. According to the Hall sensor 106 which detects the position of the stator, the control module 102 supplies energy to the motor 12 in two motor-driving modes of the motor 12, i.e. a first motor-driving mode and a second motor-driving mode. In the first motor-driving mode, the control module 102 turns on the switches MP1 and MN2 and turns off the switches MP2 and MN1, and the current passes through the DC power supply 100, the switches MP1, the output port OUT1, the motor 12, the output port OUT2, the switches MN2 and the ground GND, so as to transfer energy to the motor 12. In the second motor-driving mode, the control module 102 turns on the switches MP2 and MN1 and turns off the switches MP1 and MN2, and the current passes through the DC power supply 100, the switch MP2, the output port OUT2, the motor 12, the output port OUT1, the switch MN1 and the ground GND, so as to transfer energy to the motor 12. As a result, the motor 12 switches periodically between the first motor-driving mode and the second motor-driving mode to rotate normally, and the control module 102 cooperates with the duty cycle of the pulse width modulation source 104 to adjust energy transferred to the motor 12, which can save electrical energy as well as control rotation speed.
However, during the process of packaging, test, transport and manipulation, the electrostatic discharge effect can conduct external electricity in an inappropriate manner to cause damage to internal circuits of the motor driving circuit. Therefore, how to alleviate the electrostatic discharge effect in the motor driving circuit has become an important issue in the art.
It is therefore an objective of the present invention to provide a motor driving circuit and its related correction method for driving a motor.
A motor driving circuit for driving a motor, including an electrostatic discharge diode, having an input port and an output port coupled to a first DC power supply, a pulse width modulation source coupled to the input port of the electrostatic discharge diode to generate a pulse width modulation signal, and a driving module including a voltage detecting module comparing the pulse width modulation signal with a voltage of the output port of the electrostatic discharge diode to generate a voltage comparison result, a lock/restart module generating a shut-down signal according to the voltage comparison result, a control module generating a control signal according to the shut-down signal, and a bridge circuit switching the motor on or off by turning on or turning off an up-bridge circuit and a down-bridge circuit according to the control signal.
A correction method for driving a motor, the correction method comprising comparing a pulse width modulation signal with a voltage of an output port of an electrostatic discharge diode to generate a voltage comparison result; generating a shut-down signal according to the voltage comparison result; generating a control signal according to the shut-down signal; and switching the motor on or off by turning on or turning off an up-bridge circuit and a down-bridge circuit according to the control signal.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
The motor driving circuit 20 further includes a Hall sensor 204 and a driving module 206 for driving a motor 208. The driving module 206 further includes an operational amplifier 210, a comparator 212, a control module 214, a lock/restart module 216, a bridge circuit 218 and a thermal protection module 220. Furthermore, a switch SW is coupled to the first DC power supply 203 for conducting the first DC power supply 203 to an output port of the electrostatic discharge diode 200. A bypass capacitor CVDD is also coupled to the switch SW to stabilize an output voltage VDD of the first DC power supply 203. The pulse width modulation source 202 is coupled to an input port of the electrostatic discharge diode 200. The bridge circuit 218 includes switches MP1, MP2, MN1 and MN2 and diodes DP1, DP2, DN1 and DN2. In this embodiment, the switches MP1 and MP2 are realized by p-type MOS transistors to form the up-bridge circuit, switches MN1 and MN2 are realized by n-type MOS transistors to form the down-bridge circuit, and the diodes DP1, DP2, DN1 and DN2 are sequentially coupled between output ports and input ports of the switches MP1, MP2, MN1 and MN2.
In detail, the Hall sensor 204 is utilized to sense a current direction of the motor 208 for generating a sensing result to output to the operational amplifier 210. The operational amplifier 210 outputs an amplified signal to the control module 214 and the comparator 212 according to the sensing result. The comparator 212 outputs a Hall comparison signal HRST to the lock/restart module 216 according to the amplified signal. The lock/restart module 216 outputs a shut-down signal SD to the control module 214 according to the Hall comparison signal HRST. The thermal protection module 214 also outputs an over-heat signal OH to the control module 214. Therefore, the control module 214 outputs control signals to switch the switches MP1, MP2, MN1 and MN2 on or off according to the amplified signal, the shut-down signal SD, the pulse width modulation signal and the over-heat signal OH. The motor 208 is coupled between two output ports OUT1 and OUT2 of the bridge circuit 218. Based on the on or off states of the switches MP1, MP2, MN1 and MN2, the motor 208 is accordingly turned on or off. Furthermore, the switches MP1 and MP2 are realized by p-type MOS transistors, wherein sources of the switches MP1 and MP2 are coupled to a second DC power supply VDD2, and gates of the switches MP1 and MP2 are coupled to the control module 214 to receive control signals for the basis of turning the switches MP1 and MP2 on or off. The switches MN1 and MN2 are realized by n-type MOS transistors, wherein sources of the switches MN1 and MN2 are coupled to the ground GND, gates of the switches MN1 and MN2 are coupled to the control module 214 to receive control signals for the basis of turning the switches MN1 and MN2 on or off, and drains of the switches MP1 and MP2 as well as drains of the switches MN1 and MN2 are coupled to each other. More particularly, the output port OUT1 is coupled to the drains of the switches MP1 and MN1, and the output port OUT2 is coupled to the drains of the switches MP2 and MN2. The diodes DP1, DP2, DN1 and DN2 are sequentially coupled to the switches MP1, MP2, MN1 and MN2 to provide another conducting path for the current in the bridge circuit 218, to provide charging or discharging operation of the motor 208.
Please refer to
Please refer to
However, if the first DC power supply 203 and the pulse width modulation source 202 supply the driving module 206 at different timings, the motor 208 disposed with one electrostatic discharge diode 200 will incorrectly enter the lock mode. Please refer to
Noticeably, although the motor driving circuit 20 can effectively alleviate the electrostatic discharge effect of the pulse width modulation source 202 through the electrostatic discharge diode 200, the first DC power supply 203 and the pulse width modulation source 202 cause the motor 208 to enter into the lock mode incorrectly when they supply the driving module 206 at different timings. Therefore, the motor 208 will not turn for a while after motor driving circuit 20 starts, and a fan coupled to the motor 208 will not turn either, which reduces usability of the motor 208 with different driving sources.
Therefore, the present invention further provides a solution for the motor driving circuit and its related method when the motor incorrectly enters into the lock mode. Please refer to
Please refer to
A correction method utilized with the motor driving circuit 50 of the present invention can be summarized in a correction process 70, as shown in
Step 700: Start.
Step 702: Compare a pulse width modulation signal PWM with a voltage of an output port of an electrostatic discharge diode 200 to generate a voltage comparison result VDRST.
Step 704: Generate a shut-down signal SD according to the voltage comparison result VDRST.
Step 706: Generate a control signal according to the shut-down signal SD.
Step 708: Switch the motor 208 on or off by turning on or turning off an up-bridge circuit and a down-bridge circuit according to the control signal.
Step 710: End.
Details of the correction process 70 can be fully understood by the motor driving circuit 50 shown in
Furthermore, a motor driving method utilized with the motor driving circuit 50 of the present invention can be summarized into a motor driving process 80, as shown in
Step 800: Start.
Step 802: Sense a current direction passing through the motor 208 by a Hall sensor 204 to generate a sensing result to the driving module 506.
Step 804: Generate an amplified signal by an operational amplifier 210 to a control module 214 and a comparator 212 according to the sensing result.
Step 806: Generate a Hall comparison signal HRST by the comparator 212 to the lock/restart module 216 according to the amplified signal.
Step 808: Generate a shut-down signal SD by the lock/restart module 216 to the control module 214 according to the Hall comparison signal HRST and the voltage comparison result VDRST.
Step 810: Generate the control signal by the control module 214 to individually switch the up-bridge circuit and the down-bridge circuit of the bridge circuit 218 to accordingly switch the motor 208 on or off according to the amplified signal, the shut-down signal SD and the pulse width modulation signal PWM.
Step 812: End.
Details of the motor driving process 80 can be fully understood by the timing diagram of the related signals of the motor driving circuit 20 while the motor 208 rotates as shown in
In the motor driving circuit and its related correction method of the present invention, the voltage detecting module is utilized for comparing the voltage difference between the input port and the output port of the electrostatic discharge diode to prevent the motor from incorrectly entering the lock mode as the motor just initiates, so as to make the motor rotate correctly. Therefore, those skilled in the art can adjust and modify the present invention according to practical requirements by other similar methods or applications to detect/compare the voltage difference between the input port and the output port of the electrostatic discharge diode, so as to achieve the similar purpose of the present invention, which is also within the scope of the present invention.
In summary, the present invention provides a motor driving circuit including an electrostatic discharge diode therein and a related correction method, which additionally include a voltage detecting module for comparing the voltage difference between a pulse width modulation source and an output port of the electrostatic discharge diode, so as to prevent a motor from incorrectly entering the lock mode. This ensures that the motor rotates normally after starting, and also effectively reduces the electrostatic discharge effect generated by the pulse width modulation source, so as to provide a better circuit design for protecting the motor driving circuit.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
100137102 | Oct 2011 | TW | national |