The entire disclosure of Japanese Patent Application Nos. 2009-217477, 2009-217478 and 2009-217479 including specification, claims, drawings, and abstract is incorporated herein by reference.
1. Technical Field
The present invention relates to a driver circuit for a stepping motor, which includes two coils and rotates a rotor driven by the coils by the setting of dissimilar phases of supply currents to these two coils.
2. Background Art
Among the various types of motors available, one representative type of motor capable of precisely determining position is a stepping motor. Stepping motors are widely utilized in various apparatuses, for example, in focusing and anti-shake mechanisms in cameras and in paper feed mechanisms in office automation equipment.
The stepping motor is generally driven by changing the rotating position of the rotor by a current phase to two stator coils. Therefore, if the rotor is rotated in accordance with the phase of current to the coils, the rotor rotates a predetermined amount regardless of the amount of current to the coils. Accordingly, the amount of current to the coils is generally set sufficiently large so that the rotor can rotate reliably.
There are demands to set the power consumption in electric equipment as low as possible. These demands are particularly high in office automation equipment requiring high current or battery driven portable equipment. On the other hand, in the drive of stepping motors, setting the amount of current to a magnitude at which the rotor rotates reliably means extra current flows to the coils and extra power is consumed. Furthermore, motor drive at high power causes irregular rotor rotation and also causes vibration, noise, and heat generation.
The present invention detects an induced voltage and controls a motor drive current in accordance with the induced voltage.
Embodiments of the present invention will be described hereinafter with reference to the attached drawings.
Overall Configuration
Here, the driver 100 includes an output control circuit 12 and the input signal is supplied to the output control circuit 12. The output control circuit 12 determines the drive waveform (phase) at a predetermined frequency in accordance with the input signal and determines the amplitude of the drive current by PWM control to create a drive control signal. Then, the created drive control signal is supplied to an output circuit 14.
The output circuit 14 is composed of a plurality of transistors, the switching of which controls current from a power supply and generates motor drive currents, which are supplied to the motor 200.
The motor 200 is a stepping motor and has two coils 22 and 24 and a rotor 26. The two coils 22 and 24 are arranged so as to be positionally displaced at an electrical angle of 90° to each other. Therefore, the direction of the magnetic fields with respect to the rotor 26 at the rotor central angle is also displaced at an electrical angle of 90° to each other. Furthermore, the rotor 26 includes a permanent magnet, for example, and its position where it is stable is determined in accordance with the magnetic field from the two coils 22 and 24. Namely, regarding the angle of rotation of the rotor, by supplying alternating currents having a phase difference of 90° to each other to the two coils arranged at positions displaced by 90°, the current phases make it possible to move and rotate the rotor 26. Furthermore, at the timing of a specific current phase, stopping the change in current phase makes it possible to stop the rotor at a position in accordance with the current phase at that time. In this manner, the rotation of the motor 200 is controlled.
Voltages of outputs OUT1 to OUT4 of four current paths to the two coils 22 and 24 are supplied to a drive current adjustment circuit 30. The drive current adjustment circuit 30 determines current amplitude to the motor 200 on the basis of the voltages of outputs OUT1 to OUT4. Then, an adjustment signal for this current amplitude is supplied to the output control circuit 12. Therefore, the output control circuit 12 generates the drive control signal from the input signal and the adjustment signal.
Output Circuit Configuration
In this manner, an arm composed of two transistors Q1 and Q2 connected in series and an arm composed of two transistors Q3 and Q4 connected in series are provided between the power supply and ground and the coil 22 (24) is connected to a midpoint between the transistors Q1 and Q2 and to a midpoint between the transistors Q3 and Q4. Then, by turning on the transistors Q1 and Q4 and turning off the transistors Q2 and Q3, a current flows in one direction to the coil 22 (24), and by turning off the transistors Q1 and Q4 and turning on the transistors Q2 and Q3, a current flows in the opposite direction to the coil 22 (24) so as to drive the coils 22 and 24.
Providing two of these circuits enables the currents supplied to the two coils 22 and 24 to be controlled individually.
Configuration of Drive Current Adjustment Circuit
An example configuration of the drive current adjustment circuit 30 is shown in
The output control circuit 12 creates the drive control signal in PWM control in accordance with the adjustment signal. Here, in the PWM control system, there are the direct PWM control system and the constant-current chopping system.
In the case of the direct PWM control system, PWM control is performed assuming the rectangular wave duty ratio and the current output are proportional. At this time, when an induced voltage develops at the motor, the actual current output value decreases. In the direct PWM control system, a current output value can be adjusted by controlling the rectangular wave duty ratio, which is to be a target, and a coefficient for adjusting the amplitude of the rectangular wave.
In the case of the constant-current chopping system, by detecting current flowing through a resistor Rt, current for driving the motor is detected and control is performed by varying the pulse width of the rectangular wave so that the current becomes the target value. In the constant-current chopping system, the current output value can be adjusted by varying the above-mentioned target value.
A driver circuit employing the direct PWM control system in the embodiment will be described.
Here, in the embodiment, the output voltages OUT1 to OUT4 to the four coil terminals are directly converted from analog to digital by the ADC 34.
For this reason, a timing circuit 38 is included. On the basis of drive phase of each coil, the timing circuit 38 controls switching of the switches 32 and controls switching of the transistors Q2 and Q4 in the output circuit 14. Namely, for coil 22 (24), one OUT terminal is connected to ground and another OUT terminal is open. As a result, an induced voltage appears at the OUT terminal on the open side. This is input by the ADC 34 and the ADC 34 outputs a digital value indicating amplitude.
Here, as described above, the output circuit for one coil 22 (24) has a configuration shown in
Then, in the example of the voltage waveform between OUT3 and OUT4 in
Namely, in this period, with the transistors Q1 and Q3 off, the transistor Q2 (or Q4) to be turned on in the next phase is turned on. It should be noted that the transistor Q4 (or Q2) is set to remain off.
In the example of
The switching of the transistors Q1 to Q4 and the control of the switches 32 in the output circuit 14 for the coils 22 and 24 for induced voltage measurement are performed by the timing circuit 38 on the basis of switching phase signal from the output control circuit 12.
The induced voltage of the coil 22 (24) is obtained as a difference of both terminal voltages. However, in the embodiment, since one terminal of the coil 22 (24) is connected to ground when the induced voltage is measured, at the other terminal in the open state, a value of the voltage difference of both terminals of the coil 22 (24) is directly obtained. Therefore, it is not necessary to detect the voltage difference of both terminals of the coil with an op-amp and the circuitry becomes simple. Furthermore, the OUT on the open side is a terminal on the side where the induced voltage rises and the input to the ADC 34 is basically a positive voltage that can be directly converted into a digital signal at the ADC 34.
In this manner the induced voltage at a phase where the drive current waveform becomes 0 is sequentially detected by the ADC 34. Therefore, at the two coils 22 and 24, detection is performed four times in one electrical angle period of the motor. The detection period of the induced voltage is ⅛ period in the 1-2 phase excitation mode and 1/16 period in the W1-2 phase excitation mode employed in the embodiment.
Next,
If the drive current is adjusted so that the induced voltage waveform has a phase where the drive efficiency is at a maximum, the risk of losing synchronization is large when the load of the motor fluctuates. Accordingly, although dependent on the actual usage situation of the motor, it is preferable not to perform control to attain a phase where the drive efficiency is maximum but preferable to perform control to attain a phase having a slight margin.
Determination Based on Induced Voltage Waveform
The drive voltage after kickback in state 2 has a mountain shape. In this case, the phase of the induced voltage leads compared with the drive voltage waveform. Therefore, it is considered to correspond to the excessive drive current in
State 3 has no induced voltage after kickback. Therefore, there is no rotation of the rotor and an out of synchronization state can be determined.
In the control logic 36 of the drive current adjustment circuit 30, the output control circuit 12 is controlled on the basis of this determination result. In the case of state 3, the control logic 36 outputs a signal indicating the loss of synchronization was detected. The above-mentioned signal is received by a controller (not shown) for controlling the driver circuit 20.
In this manner, the embodiment determines the motor drive state in accordance with the induced voltage waveform in the induced voltage detection period and controls the motor drive current. Therefore, the drive state of the motor is accurately grasped and an appropriate motor drive control can be performed.
The control logic 36 performs determination from the digital data of the induced voltage. For example, it is preferable to perform the above-mentioned waveform determination from a comparison of three detection values. Here, the magnitude of the kickback differs depending on the magnitude of the coil current. Accordingly, it is preferable to perform the actual detection in the second half of the detection period to eliminate the influence of kickback as much as possible and detect the induced voltage waveform. For example, it is preferable to divide the detection period into eight periods and perform detection at 6/8, ⅞, and 8/8 period. At 8/8, it is also possible to detect loss of synchronization due to the voltage being 0V.
Estimation of Zero Cross
As described hereinabove, with the induced voltage waveform basically having a monotonic increase, a target phase is set in the embodiment so that the zero cross point exists prior to 4/8 of the detection period. Accordingly, in the case where the induced voltage waveform has a monotonic increase, it is preferable to obtain a slope from the detection values at 6/8 and 8/8, estimate and compare the zero cross with the target phase, and control the change in drive current. This waveform detection is performed in the control logic 36 of the drive current adjustment circuit 30 and the output control circuit 12 is controlled in accordance with the output from the control logic 36.
In this manner, with regard to the induced voltage, detecting the induced voltage at the two points separated by set time ΔT enables the zero cross point to be estimated. Then, it is preferable to set a margin for the motor drive current from the motor load fluctuation, set a target for the zero cross point, and perform control so that the zero cross point approaches the target phase.
If the estimated zero cross point is delayed in comparison with the target phase, the current amount is increased, and if leading, the current amount is decreased. In the case where the difference with the target phase is large, the unit amount of the increase or decrease may be changed. In the case where the difference with the target phase is within a predetermined range, an increase or decrease need not be performed.
Furthermore, the change in the unit amount may be accomplished by changing the frequency and not changing the unit amount for one time. Namely, if the change of one unit amount is performed twice per detection, the gain doubles.
In particular, in the case where there is a tendency for insufficient current amount, it is necessary to restore the current amount early since there is a risk of loss of synchronization. For example, with respect to a normal range of control for the drive current, the unit amount (one step) is set to 1/256 and control (change of one unit amount) is performed once for one period of an electrical angle and near the loss of synchronization control is performed four times (change of four unit amounts) for one period. In the embodiment, detection is performed four times during one period (electrical angle of 360°) of the motor so that control can be performed four times, one for every detection. When changing only once, it is also preferable to perform control for increase or decrease only when the same determination result is obtained four times.
Furthermore, depending on the motor characteristics and magnitude of the drive voltage, it is necessary to change the control. Accordingly, it is preferable for the control gain (unit amount) to be variable.
Furthermore, depending on the motor characteristics, there are cases where the kickback width increases and the waveform detection of the induced voltage cannot be performed. In these cases where detection of the induced voltage cannot be performed, it is preferable to perform drive at maximum current and to not perform adjustment control of the drive current.
Furthermore, in the case of an application to systems having low fluctuations of load on the motor, the terminal for outputting the induced voltage is set only as OUT1. This can reduce the number of the switches 32 and the size of the driver 100.
Effect
According to the embodiment, high efficiency operation of the motor is possible. Therefore, efficient motor drive can be performed by reducing the power consumption. Furthermore, since the drive operation is smooth, the generation of vibration and noise can be suppressed. Moreover, the high efficiency operation yields the effects of suppressing the generation of heat and simplifying the cooling mechanism.
Furthermore, when detecting the induced voltage, the waveform can be detected by inputting the voltage directly into the ADC 34 without the need for obtaining the difference. Thus, op-amps can be omitted and the circuit can be simplified.
This high efficiency control has maximum effectiveness during normal operation where the rotation operation is continuous and it is preferable to perform another control operation, or the drive operation at maximum current, such as at startup. It is recommended that this control be performed only when the speed of rotation is a predetermined value or higher.
While there has been described what are at present considered to be preferred embodiments of the invention, it will be understood that various modifications may be made thereto, and it is intended that the appended claims cover all such modifications as fall within the true spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2009-217477 | Sep 2009 | JP | national |
2009-217478 | Sep 2009 | JP | national |
2009-217479 | Sep 2009 | JP | national |
The present application is a continuation application of prior U.S. patent application Ser. No. 12/883,739, filed on Sep. 16, 2010, by Kosaku Hioki, titled “DRIVER CIRCUIT” which is hereby incorporated by reference in its entirety, and priority thereto for common subject matter is hereby claimed.
Number | Name | Date | Kind |
---|---|---|---|
4219767 | Wimmer | Aug 1980 | A |
4490664 | Moriguchi | Dec 1984 | A |
4510423 | Iwasawa | Apr 1985 | A |
5694015 | Luniewicz et al. | Dec 1997 | A |
6021097 | Kanno et al. | Feb 2000 | A |
6049184 | Uggla et al. | Apr 2000 | A |
6509709 | Kubozuka et al. | Jan 2003 | B2 |
6879128 | Coutu et al. | Apr 2005 | B2 |
7453230 | Kremin | Nov 2008 | B1 |
20020024315 | Kubozuka et al. | Feb 2002 | A1 |
20030042801 | Miyajima et al. | Mar 2003 | A1 |
20040189237 | Mamyoda | Sep 2004 | A1 |
20050024007 | Coutu et al. | Feb 2005 | A1 |
20050024008 | Yamada | Feb 2005 | A1 |
20050116678 | Yamada | Jun 2005 | A1 |
20060255760 | Yoshihisa | Nov 2006 | A1 |
20080309274 | Thomson | Dec 2008 | A1 |
20100188036 | Hioki et al. | Jul 2010 | A1 |
20110068732 | Hioki | Mar 2011 | A1 |
20110080122 | Klemm et al. | Apr 2011 | A1 |
Number | Date | Country |
---|---|---|
08037798 | Feb 1996 | JP |
2005-346788 | Dec 2005 | JP |
2006288056 | Oct 2006 | JP |
2007-215271 | Aug 2007 | JP |
Number | Date | Country | |
---|---|---|---|
20130293180 A1 | Nov 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12883739 | Sep 2010 | US |
Child | 13935008 | US |