The present invention relates to a stepper motor driving apparatus and particularly to a stepper motor driving apparatus improved in a process of initializing a stepper motor used in an on-vehicle meter or the like.
For the reason of indication accuracy and cost, a stepper motor has been recently put into wide use in an on-vehicle meter such as a speed meter for indicating vehicle velocity or a tachometer for indicating the number of engine revolutions.
In a vehicle equipped with an on-vehicle meter using such a stepper motor, there is however a possibility that a difference between the required amount of movement of an indicating pointer interlocked with the rotation of the stepper motor and the actual amount of movement of the indicating pointer may be generated by a mistaken drive signal caused by vibration of the vehicle, noise, etc.
Therefore, in an on-vehicle meter using such a stepper motor, an initializing process is carried out so that the stepper motor is rotated backward in a stopper direction, for example, at switching-on timing of an ignition switch to restore the indicating pointer to a zero position decided by the stopper.
In the initializing process, whether the indicating pointer position-controlled by the stepper motor comes into contact with the stopper deciding the zero position of the indicating pointer is detected as follows. An induced voltage generated on the basis of change of magnetic flux in accordance with the rotation of a rotor of the stepper motor is detected. Zero position detection is performed so that when the detected induced voltage is not higher than a predetermined threshold, a decision is made that the indicating pointer has been stopped because of collision with the stopper disposed in the zero position.
For example, a stepper motor driving apparatus in which such zero position detection can be performed has been disclosed in International Patent Publication No. WO97/37425.
In the stepper motor including the switches 5 to 8 disposed between the ground potential 0 and the winding wires 1 to 4 respectively as shown in
Next, in
The voltage peaks 51 and 52 are different in polarity. This fact will be understood well when a zero line 53 shown in
The evaluation circuit 20 shown in
A threshold for the comparator 21 is decided in the inverting input terminal “−” by the voltage divider composed of the resistors 22 and 23. The voltage divider composed of the resistors 24 and 25 is provided so that only the voltage peak 52 exceeding a predetermined potential can reach the noninverting input terminal. The voltage in the inverting input terminal of the comparator 21 is decided by the voltage divider composed of the resistors 22 and 23 so that the voltage is lower than the voltage in the noninverting input terminal. Only the negative voltage is input and coupled to the noninverting input terminal of the comparator 21 by the diode 26 while only the edge of the negative voltage is input and coupled to the noninverting input terminal by the capacitor 27. The resistance ratio at a tap of the voltage divider composed of the resistors 22 and 23 is set to be equal to the resistance ratio at a tap of the voltage divider composed of the resistors 24 and 25. Accordingly, even in the case where the supply potential UB fluctuates, a signal output from the comparator 21 does not depend on the fluctuation of the supply potential UB because the two voltage dividers can lead the fluctuation of the supply potential UB in the same ratio.
The comparators 21 have output terminals 28 respectively. The output terminals 28 are led to an output terminal 200 common to all the comparators 21 through negatively polarized diodes 29 respectively. The common output terminal 200 is further connected to a reference voltage source Uref through a resistor 201 and connected to the ground potential 0 through a capacitor 202. As described above, when the voltage peak 52 of the voltage chart 50 induced in a current non-conduction winding wire exceeds a reference value, that is, when elastic blocking is specified, a signal is generated at the common output terminal 200. The output signal generated at the common output terminal 200 for designating blocking is supplied as an external interrupt signal to the micro-controller in the control circuit of the stepper motor. In the micro-controller, the output signal is further processed appropriately.
The fact that a reversed phase voltage is induced in a current non-conduction winding wire when an armature rotates backward is used in the evaluation for specifying elastic blocking. This voltage in the noninverting input terminal of at least one of the comparators 21 is lower than the voltage in the inverting input terminal. As a result, the output of the comparator 21 is switched. Accordingly, an interrupt is triggered so that blocking of the stepper motor is specified. On the contrary, when the stepper motor is operating, the voltage in the noninverting input terminal of the comparator 21 is kept higher than the voltage in the inverting input terminal.
In the above related stepper motor driving apparatus, however, the fact that a reversed phase voltage is induced in a current non-conduction wiring wire when an armature rotates backward is used in the evaluation for specifying elastic blocking (i.e. detecting the zero position).
For this reason, when the stepper motor driving apparatus is applied to an on-vehicle meter, the indicating pointer attached to the rotation shaft of the stepper motor stops in a position far from the stopper because of the backward rotation of the armature after the indicating pointer comes into contact with the stopper. Accordingly, there is a problem of accuracy in the meter because the indicating pointer cannot be set in the zero position accurately. Moreover, the indicating pointer behaves intensively because of the retreat (backward rotation) of the indicating pointer, so that the behavior of the indicating pointer looks unattractive. It is therefore necessary to detect the induced voltage before the backward rotation.
Therefore, an object of the invention is to provide a stepper motor driving apparatus in which the zero position can be detected more accurately in consideration of the above problem in the background art.
According to the invention as in the paragraph (1), the zero position can be detected more accurately because the time in which the induced voltage waveform exceeds a threshold is monitored without use of the fact that a reversed phase voltage is induced in a current non-conduction winding wire when an armature rotates backward as in the related art.
According to the invention as in the paragraph (2), the zero position can be detected surely because the influence of temperature change can be avoided.
According to the invention as in the paragraph (3), the zero position can be detected more accurately because the number of sampling cycles in which the induced voltage waveform sampled in predetermined sampling timing in a predetermined sampling time exceeds a predetermined threshold is monitored without use of the fact that a reversed phase voltage is induced in a current non-conduction winding wire when an armature rotates backward as in the related art.
According to the invention as in the paragraph (4), the zero position can be detected surely because the influence of temperature change can be avoided.
The above objects and advantages of the present invention will become more apparent by describing in detail preferred exemplary embodiments thereof with reference to the accompanying drawings, wherein:
The on-vehicle meter further has an indicating pointer 2 provided as a driven member interlocked with the rotation drive of the rotor 1b, gears 3 for transmitting the rotation drive of the rotor 1b to the indicating pointer 2, and a stopper 5 for stopping the indicating pointer 2 in a zero position by contacting the indicating pointer 2 mechanically. Incidentally, the zero position setting based on contact between the stopper 5 and the indicating pointer 2 may be replaced by a zero position setting based on contact between a stopper piece 6 as a driven member protruded from one of the gears 3 and a stopper 5′ provided separately in a position corresponding to the zero position.
As shown in
An angular data signal D1 calculated on the basis of velocity information given from a vehicle velocity sensor (not shown) and an initialization command signal Son of a high level based on an ignition-on operation of an ignition switch (not shown) are input to the CPU 41a. Excitation signals S1, S2, S3 and S4 are output from the motor drive circuit 41c so as to be supplied to respective opposite ends a and b of the excitation coils 1a1 and 1a2.
Induced voltage waveforms V1, V2, V3 and V4 are input to the zero position detection circuit 41d through interface (I/F) circuits 42a, 42b, 42c and 42d respectively. The I/F circuits 42a to 42d are connected to the respective ends a and b of the excitation coils 1a1 and 1a2. The zero position detection circuit 41d supplies a zero position judgment signal to the CPU 41a.
In an ordinary operating mode, the CPU 41a generates a first excitation pattern in accordance with the angular data signal D1 by a micro-stepping drive method so that one electrical cycle is formed by a plurality of excitation steps for rotating the rotor 1b forward and backward, and supplies the first excitation pattern to the excitation coils 1a1 and 1a2 to control the excitation state of the excitation coils 1a1 and 1a2 to thereby drive the stepper motor 1 to rotate the rotor 1b in a forward direction (Y2) or a backward direction (Y1) in accordance with the angular data signal D1. During the initializing process, the CPU 41a generates a second excitation pattern in accordance with the initialization command signal S1 in such manner that the plurality of excitation steps in the first excitation pattern are partially converted into excitation steps for detecting induced voltage waveforms, and supplies the second excitation pattern to the excitation coils 1a1 and 1a2 to thereby drive the stepper motor 1 to rotate the rotor 1b in the backward direction (i.e. Y1 direction) in which the indicating pointer 2 moves toward the stopper 5.
The micro-stepping drive method uses 1/n(n≧3) micro-stepping. For example, in this embodiment, micro-stepping for dividing one electrical cycle into 64 steps is used so that an electrical angle of 90 degrees is divided into 16 steps.
During the initializing process, induced voltage waveforms V1, V2, V3 and V4 generated at the respective opposite ends of the excitation coils 1a1 and 1a2 in a non-excitation state in which one end is opened are input to the zero position detection circuit 41d through the I/F circuits respectively in accordance with the detection timing signal. When the time or the number of sampling cycles in which any one of the input induced voltage waveforms V1, V2, V3 and V4 is not larger than a threshold is not larger than a predetermined value, the zero position detection circuit 41d generates a zero position judgment signal for judging that the indicating pointer 2 has come into contact with the stopper 5 in the zero position, and supplies the zero position judgment signal to the CPU 41a. That is, when one end of each of the excitation coils 1a1 and 1a2 is opened, the excitation coils 1a1 and 1a2 serve as elements for detecting induced voltage waveforms.
Next, the operation of the on-vehicle meter configured as described above will be described below with reference to
Then, the induced voltage waveform measuring coils are changed from a drive output to a Hi-Z output (high impedance output) in accordance with the detection timing signal (step S4). The term “Hi-Z output” means a state in which one end of each of excitation coils equivalent to the induced voltage waveform measuring coils is opened during a sampling time (e.g. 3 ms in this embodiment) based on the induced voltage waveform detection excitation step so that the excitation coils are not excited so that induced voltages are output from the excitation coils during the sampling time.
The waveforms of the induced voltages generated from the induced voltage waveform measuring coils during the sampling time (T1) based on the induced voltage waveform detection excitation step are sampled by several times at predetermined sampling timing intervals (step S5). That is, the induced voltage waveforms V1, V2, V3 and V4 generated at the respective opposite ends of the excitation coils 1a1 and 1a2 are sampled through the I/F circuits respectively and input to the zero position detection circuit 41d.
Then, a judgment is made as to whether a time (T2) in which each induced voltage waveform sampled during the sampling time T1 exceeds a threshold is shorter than a predetermined reference time (Tref) (i.e. T2<Tref) or not (step S6).
That is, when the time T2 in which each induced voltage waveform sampled during the sampling time T1 exceeds a threshold (Vref) is not shorter than the reference time Tref, a decision is made that the indicating pointer 2 has not come into contact with the stopper 5 yet and is rotating. When the time T2 is shorter than the reference time Tref, a decision is made that the indicating pointer 2 has already come into contact with the stopper 5.
In the rotating state shown in
In the contact state shown in
Therefore, when, for example, the criterional reference time Tref is set to have a value corresponding to four sampling cycles in advance, the time T2 based on the comparison result shown in
Referring back to the flow chart of
On the other hand, when the step S6 results in “NO”, a judgment is made as to whether the rotor 1b has rotated by a predetermined angle or not (step S9). When the step S9 results in “YES”, the output excitation phase is kept for a predetermined time (step S10) and then the initializing process is terminated abnormally. When the step S9 results in “NO”, the backward rotation process is executed up to the next detection excitation step in a micro-stepping manner (step S11) and then the current position of the routine goes back to the step S4.
As described above, unlike the related apparatus, the fact that a reversed phase voltage is induced in a current non-conduction winding wire when an armature rotates backward is not used in the invention. In the invention, a judgment is made as to whether the time T2 in which the sampled induced voltage waveform exceeds the threshold Vref is shorter than the predetermined criterional reference time Tref or not. When the time T2 in which the sampled induced voltage waveform exceeds the threshold Vref is not shorter than the criterional reference time Tref, a decision is made that the indicating pointer 2 has not come into contact with the stopper 5 yet and is rotating. When the time T2 is shorter than the criterional reference time Tref, a decision is made that the indicating pointer 2 has already come into contact with the stopper 5. Accordingly, the zero position can be detected more accurately.
Although an embodiment of the invention has been described above, the invention is not limited thereto and various changes and modifications may be made.
For example, the threshold Vref in the above embodiment may be set so that the influence of temperature change can be eliminated as sufficiently as possible.
Therefore, from these characteristics, the threshold Vref is set in advance so that change of the time T2 in which the induced voltage waveform exceeds the threshold Vref is minimized with respect to temperature change in a specific temperature range. That is, the threshold Vref is set in advance so that time widths T2A, T2B and T2C in which the induced voltage waveform exceeds the threshold Vref are substantially equal to one another.
In other words, the threshold Vref is set in advance so that change of the number of sampling cycles in which the induced voltage waveform sampled in predetermined sampling timing in a predetermined sampling time exceeds the threshold Vref is minimized with respect to temperature change in a specific temperature range.
When the threshold Vref is set as described above, the time T2 or the number of sampling cycles in which the induced voltage waveform exceeds the threshold Vref can be kept substantially constant even in the case where the value of the induced voltage waveform varies according to temperature change in a specific temperature range. Accordingly, the zero position can be detected accurately without any influence of temperature change.
Number | Date | Country | Kind |
---|---|---|---|
P. 2003-372417 | Oct 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5032781 | Kronenberg | Jul 1991 | A |
5333371 | Mittenbuhler et al. | Aug 1994 | A |
5723964 | Nakaba | Mar 1998 | A |
5847531 | Hoffsommer et al. | Dec 1998 | A |
5869776 | Vuong et al. | Feb 1999 | A |
5877694 | Kataoka | Mar 1999 | A |
6014075 | Fujimori et al. | Jan 2000 | A |
6111380 | Munz et al. | Aug 2000 | A |
6150782 | Breitling et al. | Nov 2000 | A |
6262872 | Messerli et al. | Jul 2001 | B1 |
6282498 | Tamaki et al. | Aug 2001 | B1 |
6400543 | Messerli et al. | Jun 2002 | B2 |
6402478 | Zhang et al. | Jun 2002 | B1 |
6476580 | Nakamiya et al. | Nov 2002 | B1 |
6519999 | Komura et al. | Feb 2003 | B2 |
6556795 | Miyamura et al. | Apr 2003 | B2 |
6677723 | Shimazaki | Jan 2004 | B2 |
6680597 | Catellani et al. | Jan 2004 | B1 |
6731092 | Shimazaki | May 2004 | B2 |
6741058 | Yamada et al. | May 2004 | B2 |
6778367 | Grendene | Aug 2004 | B1 |
6853162 | Betts et al. | Feb 2005 | B2 |
20020117988 | Komura | Aug 2002 | A1 |
20030094916 | Umehara et al. | May 2003 | A1 |
20040027089 | Forsey | Feb 2004 | A1 |
20040104701 | Ohshima | Jun 2004 | A1 |
20040108829 | Betts et al. | Jun 2004 | A1 |
20040189237 | Mamyoda | Sep 2004 | A1 |
20050024008 | Yamada | Feb 2005 | A1 |
20050083008 | Oishi | Apr 2005 | A1 |
20050093503 | Sasaki | May 2005 | A1 |
20050116678 | Yamada | Jun 2005 | A1 |
20060055360 | Reiter et al. | Mar 2006 | A1 |
Number | Date | Country |
---|---|---|
WO 9737425 | Oct 1997 | WO |
0101558 | Jan 2001 | WO |
Number | Date | Country | |
---|---|---|---|
20050116678 A1 | Jun 2005 | US |