Motor driving circuit, electronic device using the same, and driving method thereof
A motor driving circuit for driving a step motor includes a logical circuit synchronized with a step pulse signal to control a bridge circuit connected to a coil of the step motor and control electric power supplied to the coil of the step motor, a counter electromotive force detecting unit configured to detect a counter electromotive force generated between both ends of the coil, and a step-out predicting unit configured to assert a detection signal indicating a sign of step-out of the step motor, when the counter electromotive force detected at a detection time after the lapse of a time calculated by multiplying a predetermined coefficient to a length of a high impedance period of the coil since transition to the high impedance period is lower than a predetermined threshold voltage.
1. A motor driving circuit for driving a step motor, comprising:
a logical circuit synchronized with a step pulse signal to control a bridge circuit connected to a coil of the step motor and control electric power supplied to the coil of the step motor;
a counter electromotive force detecting unit configured to detect a counter electromotive force generated between both ends of the coil; and
a step-out predicting unit comprising:
a first comparator which compares the counter electromotive force with a threshold voltage; and
a determining unit which outputs a detection signal based on a comparison result signal from the first comparator,
wherein the step-out predicting unit is configured to assert the detection signal indicating a sign of step-out of the step motor, when the counter electromotive force detected at a detection time is lower than the threshold voltage, is the detection time being after a lapse of a time, that is calculated by multiplying a predetermined coefficient to a length of a high impedance period of the coil, from transition to the high impedance period.
2. The motor driving circuit of claim 1 , wherein when the detection signal is asserted, the logical circuit decreases a current flowing in the coil of the step motor.
3. The motor driving circuit of claim 2 , further comprising:
a current limit circuit configured to limit the current flowing in the coil of the step motor such that the current is lower than a upper limit value,
wherein when the detection signal is asserted, the current limit circuit is configured to increase the upper limit value.
4. The motor driving circuit of claim 3 , wherein the current limit circuit includes a second comparator configured to compare a current detection value indicating a current flowing in the coil with the upper limit value and generate a comparison signal asserted when the current exceeds the upper limit value, and
when the comparison signal is asserted, the logical circuit is configured to generate a pulse modulation signal that transitions to have a first level, and thereafter, when a predetermined OFF time has lapsed, transitions to have a second level and drive switching of the bridge circuit based on the pulse modulation signal.
5. The motor driving circuit of claim 2 , further comprising:
a pulse modulator configured to generate a pulse modulation signal whose duty ratio is adjusted such that the current flowing in the coil of the step motor is identical to a target value,
wherein when the detection signal is asserted, the pulse modulator is configured to increase the target value.
6. The motor driving circuit of claim 2 , wherein when the detection signal is asserted, a source voltage supplied to the bridge circuit is increased.
7. The motor driving circuit of claim 1 , wherein when the detection signal is asserted, a frequency of the step pulse signal is lowered.
8. The motor driving circuit of claim 1 , wherein when the detection signal is asserted, electric power supplied to the step motor is controlled to increase torque of the step motor.
9. The motor driving circuit of claim 1 , wherein the detection time is located at a center portion of the high impedance period.
10. The motor driving circuit of claim 1 , wherein the threshold voltage is changed based on an RPM (Revolutions Per Minute) of the step motor.
11. The motor driving circuit of claim 10 , wherein the threshold voltage is changed to be proportional to the RPM of the step motor.
12. The motor driving circuit of claim 1 , wherein the motor driving circuit is integrated on a single semiconductor substrate.
13. An electronic device, comprising:
a step motor; and
a motor driving circuit according to claim 1 configured to drive the step motor.
14. A method for driving a step motor, comprising:
controlling, with a logical circuit synchronized with a step pulse signal, a bridge circuit connected to a coil of the step motor and controlling electric power supplied to the coil of the step motor, in synchronization with a step pulse signal;
detecting, with a counter electromotive force detecting unit, a counter electromotive force generated between both ends of the coil in a high impedance period of the coil;
comparing, a first comparator, the counter electromotive force with a threshold voltage;
outputting, from a determining unit, a detection signal based on a comparison result signal based on the comparing the counter electromotive force with a threshold voltage; and
asserting, with a step-out predicting unit comprising the first comparator and the determining unit, the detection signal indicating a sign of step-out of the step motor, when the counter electromotive force detected at a detection time is lower than the threshold, the detection time being after a lapse of a predetermined time from transition to the high impedance period.
15. The method of claim 14 , further comprising:
when the detection signal is asserted, controlling electric power supplied to the step motor to increase torque of the step motor.