The present invention relates to a motor controller, and more particularly, to a motor controller which may be applied to a fan motor system.
Conventionally, there are two driving methods for driving a motor. The first driving method uses the Hall sensor for switching phases, so as to drive the motor. The second driving method does not use the Hall sensor to drive the motor. The Hall sensor is affected by the external environment easily, such that the detecting accuracy is decreased. Besides, the installation of the Hall sensor results in an increase of the volume and the cost of the system. Therefore, the sensorless driving method is provided for solving the above problems.
In the sensorless driving method, the motor controller may switch phases by detecting a back electromotive force of a floating phase or a phase current. In general, the motor controller outputs a pulse width modulation signal to control the speed of the motor. However, when the motor controller is in a pulse with modulation driving mode, the output terminal of the motor controller generates switching noise. Such switching noise may result in misjudgment when detecting the voltage or the current, such that the motor is operated abnormally. Thus, a new technology is needed to overcome the drawback of the prior art.
According to the present invention, a motor controller which may be applied to a fan motor system is provided. The motor controller comprises a switch circuit, a control unit, and a pulse width modulation processing unit. The switch circuit includes a first transistor, a second transistor, a third transistor, a fourth transistor, a first terminal, and a second terminal. The switch circuit is coupled to a motor for driving the motor. The control unit is configured to generate a plurality of control signals to control the switch circuit. The pulse width modulation processing unit is configured to generate a first pulse width modulation signal to the control unit based on a second pulse width modulation signal, where the first pulse width modulation signal has a first duty cycle and the second pulse width modulation signal has a second duty cycle. The pulse width modulation processing unit may utilize a duty cycle graph or a duty cycle table for generating the first pulse width modulation signal. When the second duty cycle increases, the first duty cycle increases.
The motor controller may adopt a constant voltage driving mode or a constant current driving mode to drive the motor. More specifically, the motor controller may utilize a duty cycle conversion mechanism, such that the motor controller is operated in the constant voltage driving mode or the constant current driving mode, where the control unit may be configured to execute the duty cycle conversion mechanism. When the motor controller is in the constant voltage driving mode and the first duty cycle of the first pulse width modulation signal increases, a constant voltage outputted by the motor controller increases. The constant voltage may be equal to the voltage difference between the first terminal and the second terminal. Furthermore, the constant voltage may be proportional to the first duty cycle. For example, the constant voltage may be equal to the first duty cycle multiplied by an input voltage. At this moment the motor controller may maintain the original output energy and eliminate switching noise at the same time. When the input voltage changes, the motor controller may keep the output energy unchanged by a modulation mechanism. Similarly, when the motor controller is in the constant current driving mode and the first duty cycle increases, a constant current outputted by the motor controller increases. The constant current may be equal to the current flowing through the first terminal and the second terminal. The constant current may be proportional to the first duty cycle. The motor controller is configured to increase a success rate of starting the motor by the constant voltage driving mode or the constant current driving mode.
According to one embodiment of the present invention, the motor controller may utilize a duty cycle conversion mechanism, such that the motor controller is operated in a non pulse width modulation driving mode. The motor controller may utilize the non pulse width modulation driving mode to drive the motor when operating in a start state, a soft start state, or a normal operation state. The motor controller may utilize a pulse width modulation driving mode to drive the motor when operating in a normal operation state. Furthermore, the motor controller is configured to increase a success rate of starting the motor by the non pulse width modulation driving mode. By means of the non pulse width modulation driving mode, the motor controller may avoid generating switching noise, so as to overcome the drawback of the prior art.
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.
The above-mentioned and other objects, features, and advantages of the present invention will become apparent with reference to the following descriptions and the accompanying drawing, wherein:
Preferred embodiments according to the present invention will be described in detail with reference to the drawing.
The control unit 110 may operate alternatively in a first driving mode and a second driving mode, so as to supply the electric energy to the motor M. In the first driving mode, the control unit 110 turns on the first transistor 101 and the fourth transistor 104 by controlling the first control signal C1 and the fourth control signal C4. At this moment the current flows sequentially from the third terminal VCC to the first transistor 101, the motor M, and the fourth transistor 104 for supplying the electric energy to the motor M. In the second driving mode, the control unit 110 turns on the second transistor 102 and the third transistor 103 by controlling the second control signal C2 and the third control signal C3. At this moment the current flows sequentially from the third terminal VCC to the third transistor 103, the motor M, and the second transistor 102 for supplying the electric energy to the motor M. By operating alternatively between the first driving mode and the second driving mode, the motor M can be operated normally as a result.
The motor controller 10 may adopt a constant voltage driving mode or a constant current driving mode to drive the motor M. By means of the constant voltage driving mode or the constant current driving mode, the motor controller 10 may avoid generating switching noise, thereby overcoming the drawback of the prior art. More specifically, the motor controller 10 may utilize a duty cycle conversion mechanism, such that the motor controller 10 is operated in the constant voltage driving mode or the constant current driving mode, where the control unit 110 may be configured to execute the duty cycle conversion mechanism. When the motor controller 10 is in the constant voltage driving mode and the first duty cycle of the first pulse width modulation signal Vp1 increases, a constant voltage outputted by the motor controller 10 increases. The constant voltage may be equal to the voltage difference between the first terminal O1 and the second terminal O2. Furthermore, the constant voltage may be proportional to the first duty cycle. For example, the constant voltage may be equal to the first duty cycle multiplied by the input voltage. That is to say, when the first duty cycle is 50%, the constant voltage is one half of the input voltage. At this moment the motor controller 10 may maintain the original output energy and eliminate switching noise at the same time. When the input voltage changes, the motor controller 10 may keep the output energy unchanged by a modulation mechanism. Similarly, when the motor controller 10 is in the constant current driving mode and the first duty cycle increases, a constant current outputted by the motor controller 10 increases. The constant current may be equal to the current flowing through the first terminal O1 and the second terminal O2. The constant current may be proportional to the first duty cycle. The designer may adopt the constant voltage driving mode or the constant current driving mode to drive the motor M based on different applications. According to one embodiment of the present invention, the motor controller 10 may utilize a non pulse width modulation driving mode to control the switch circuit 100 for outputting a specific energy, so as to enable the motor M to be operated normally and eliminate switching noise simultaneously. By means of the non pulse width modulation driving mode, the motor controller 10 may be configured to increase a success rate of starting the motor M. Moreover, the motor controller 10 may be applied to a single-phase or polyphase configuration. The motor controller 10 may switch phases by detecting a back electromotive force of a floating phase or a phase current.
Since the back electromotive force may be too small in a starting procedure, the motor controller 10 may utilize the constant voltage driving mode or the constant current driving mode to drive the motor M when operating in a start state, thereby avoiding misjudging a phase switching time point. That is, the motor controller may utilize the non pulse width modulation driving mode to drive the motor M when operating in the start state. When the motor controller 10 is in a normal operation state and the first duty cycle is too small, the motor controller 10 may utilize the constant voltage driving mode or the constant current driving mode to drive the motor M, thereby avoiding misjudging a phase switching time point. Therefore, when the motor controller 10 is in the normal operation state, the designer may utilize the constant voltage driving mode, the constant current driving mode, or a pulse width modulation driving mode to drive the motor M based on different operating conditions or applications. Moreover, the motor controller 10 may utilize the constant voltage driving mode or the constant current driving mode to drive the motor M when operating in a soft start state. That is, the motor controller 10 may utilize the non pulse width modulation driving mode to drive the motor M when operating in the soft start state.
According to one embodiment of the present invention, the motor controller 10 may be applied to a sensorless motor system, a DC motor system, and a brushless motor system. The motor controller 10 utilizes a duty cycle conversion mechanism, such that the motor controller 10 is operated in a constant voltage driving mode or a constant current driving mode, thereby increasing a success rate of starting the motor M. The motor controller 10 drives the motor M by a non pulse width modulation driving mode, so as to overcome the drawback of the prior art. The motor controller 10 may be operated in the non pulse width modulation driving mode based on a duty cycle conversion mechanism.
While the present invention has been described by the preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications.
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.