Institute's noise that produces is to the method for sensor devices interference when eliminating the stepping motor motion
Technical field
The present invention relates to a kind of method of eliminating noise to the sensor devices interference, and be particularly related to a kind of method that noise that stepping motor produces disturbs sensor devices of eliminating.
Background technology
Have under the equipment of motor or the situation that device operates in discontinuous running, often discontinuous running the time can produce noise, as stepping motor operate in away-stop-walk-stop-... the time, or operate in one the step-two the step-one the step-three the step-... the time etc. various situations, when stepping motor changes at moving situation, just produce the noise of interference signal source.
Fig. 1 decides driven Stepping Motor Control circuit diagram, in Fig. 1, be the control circuit 100 that example explanation is decided driven stepping motor (not drawing among the figure) with four groups of switches, and every group of switch all uses transistor.Switch 101~104 in the control circuit 100 is series load (Load) 106~109 respectively, and switch 101~104 receives control signal C1, C2, C3, C4 respectively.When control signal C1 was " H " (being high levle), then switch 101 conductings (on) made and decide driven stepping motor (not drawing among the figure) setting in motion.Equally, when control signal C2, C3, C4 distinguished or be " H " simultaneously, then just difference or conducting simultaneously of switch 102~104 made and decides driven stepping motor (not drawing among the figure) setting in motion.
Fig. 2 is an operating clock periodogram of deciding the driven stepping motor, and do explanation with reference to Fig. 1, in Fig. 2, decide the driven stepping motor and be with a control signal for " H "-two control signal for " H "-one control signal for " H "-two control signal for " H "-... circuit operation be example, and decide the driven stepping motor can look user's needs and do any different circuit operation.
When period T 1, control signal C1 is " H ", and control signal C2, C3, C4 are " L " (being low level), switch 101 conductings, and switch 102~104 cuts out, and decides driven stepping motor (not drawing among the figure) setting in motion.When period T 2, control signal C2, C3 are " H ", and control signal C1, C4 are " L ", switch 102,103 conductings, and switch 101,104 cuts out (off), decides driven stepping motor (not drawing among the figure) setting in motion again.When period T 3, control signal C4 is " H ", and control signal C1~C3 is " L ", switch 104 conductings, and switch 101~103 cuts out, and decides driven stepping motor (not drawing among the figure) setting in motion again.Decide the motion that driven stepping motor (not drawing among the figure) can be finished appointment according to user's demand at operating clock so under cycle.
Yet, being applied in sensor devices when being the scanner of charge coupled device when deciding the driven stepping motor, the noise that is produced according to the above-mentioned operating clock cycle is shown in the clock cycle figure of known motor-sensor devices of Fig. 3.When period T 1 (identical) with the period T 1 of Fig. 2, shift exposure energy phase TD among the exposure clock cycle SH, optical diode (Photo Diode) (comprising among the charge-coupled device) is transferred to the exposure energy of sensing the simulation offset buffer (CCD Analog Shift Register) of charge coupled device; Sensing exposure energy phase TS among the exposure clock cycle SH, optical diode is at the sensing exposure energy.Equally, when period T 1, the motor movement phase TM of motor movement clock cycle MM decides the driven stepping motor and moves; The motor withholding period TI of motor movement clock cycle MM, it is slack to decide the driven stepping motor.When period T 2 (identical with the period T 2 of Fig. 2), clock cycle SH is identical with period T 1 with the description of motor movement clock cycle MM in exposure.
In Fig. 2, period T 1 is one group of switch conduction, and period T 2 is two groups of switch conductions, for power supply (as the VCC among Fig. 1), is that one group of load and two groups load on mutual change.Therefore, when load was changed into one group by two groups, the voltage of power supply rose, period T 1 as shown in Figure 3; When if load is changed into two groups by one group, then the voltage of power supply descends, period T 2 as shown in Figure 3.So, when the voltage of power supply rises or descends, its voltage changes the noise that is produced will enter power supply.
At this moment, the transfer exposure energy phase TD among the clock cycle SH that exposes just promptly is an optical diode is transferred to charge coupled device simulation offset buffer with the exposure energy of sensing.Because the power supply of charge coupled device is identical with the power supply of deciding the driven stepping motor, when deciding noise that the driven stepping motor produced and enter power supply, this noise will enter charge coupled device by power supply.For the charge coupled device of antinoise difference, can produce the situation of line image light and dark because of noise jamming.
Summary of the invention
Therefore the invention provides a kind of when eliminating the stepping motor motion institute's noise that produces to the method for sensor devices interference, solve because of deciding the driven stepping motor when moving, the noise jamming that is produced, sensor devices (as charge coupled device) to the antinoise ability, needn't can avoid the non-ideality of the image appearance of institute's sensing through engineering loaded down with trivial details and that significantly change as band.
The present invention provides a kind of method of eliminating the stepping motor when motion institute noise that produces to the sensor devices interference, its step comprises: an exposure clock cycle is provided, obtaining an exposure energy, and shift this exposure energy by this sensor devices sensing one light source by this sensor devices; Each cycle in this exposure clock cycle comprises a sensing exposure energy phase and a transfer exposure energy phase; One motor movement clock cycle was provided, and each cycle of this motor movement clock cycle is several cycles of this exposure clock cycle; Comprise a motor withholding period and a motor movement phase in this motor movement each cycle in the clock cycle; Get the one-period in this exposure clock cycle, corresponding to the motor withholding period of the one-period of this motor movement clock cycle, by this sensor devices sensing with shift this exposure energy.
The present invention propose another kind of when eliminating the stepping motor motion institute's noise that produces to the method for sensor devices interference, its step comprises: an exposure clock cycle is provided, obtaining an exposure energy, and shift this exposure energy by this sensor devices sensing one light source by this sensor devices; Each cycle in this exposure clock cycle comprises a sensing exposure energy phase and a transfer exposure energy phase; One motor movement clock cycle was provided; Comprise a motor movement phase and a motor withholding period in this motor movement each cycle in the clock cycle; In withholding period, shift this exposure energy corresponding to the motor of this motor movement clock cycle by this sensor devices; Each cycle of this motor movement clock cycle and each cycle in this exposure clock cycle are formed a phase difference, and formed this phase difference refers to that this motor movement phase and this transfer exposure energy phase are in time without any overlapped part.So, can solve because of deciding the driven stepping motor when moving, the exposure energy that the noise jamming sensor devices that it produced is shifted.
Description of drawings
Fig. 1 decides driven Stepping Motor Control circuit diagram;
Fig. 2 is an operating clock periodogram of deciding the driven stepping motor;
Fig. 3 is the clock cycle figure of known motor-sensor devices;
Fig. 4 is the clock cycle figure of motor-sensor devices of the present invention;
Fig. 5 is the clock cycle figure of the another kind of motor-sensor devices of the present invention.
Reference numeral is respectively:
100: control circuit
101~104: switch
106~109: load
Embodiment
Embodiment one:
Decide the interference of noise that the driven stepping motor time produced in motion in order to eliminate to sensor devices (following is example with the charge coupled device), Cycle Length (Cycle Length of the exposure clock cycle of charge coupled device as shown in Figure 3) with exposure clock cycle of not changing charge coupled device, and be wherein a kind of method with the Cycle Length that changes the motor movement clock cycle of deciding the driven stepping motor, shown in the clock cycle figure of Fig. 4 motor-sensor devices of the present invention.
In Fig. 4, when period T 1 (identical) with the period T 1 of Fig. 2, the transfer exposure energy phase TD among the exposure clock cycle SH, optical diode is transferred to charge coupled device simulation offset buffer with the exposure energy of sensing; Sensing exposure energy phase TS among the exposure clock cycle SH, optical diode is at the sensing exposure energy.Equally, when period T 1, the motor movement phase TM of motor movement clock cycle MM decides the driven stepping motor and moves; The motor withholding period TI of motor movement clock cycle MM, it is slack to decide the driven stepping motor.And the length of period T 1 equals the length of a motor movement phase TM of motor movement clock cycle MM and the length sum of a motor withholding period TI; Equally, the length of one-period T1 is that equal to expose two of clock cycle SH shift the length of exposure energy phase TD and the length sum of two sensing exposure energy phase TS.So, the one-period length of motor movement clock cycle MM equal to expose two Cycle Lengths of clock cycle SH.When period T 2 (identical with the period T 2 of Fig. 2), clock cycle SH is identical with period T 1 with the description of motor movement clock cycle MM in exposure.
In Fig. 2, period T 1 is one group of switch conduction, and period T 2 is two groups of switch conductions, for power supply (as the VCC among Fig. 1), is that one group of load and two groups load on mutual change.Therefore, when load was changed into one group by two groups, the voltage of power supply rose, period T 1 as shown in Figure 4; If load is when changing into two groups by one group, then the voltage of power supply descends, period T 2 as shown in Figure 4.So, when the voltage of power supply rises or descends, its voltage changes the noise that is produced will enter power supply.Optical diode the exposure energy of sensing is transferred to charge coupled device simulation offset buffer during (the transfer exposure energy phase TD among the clock cycle SH that promptly exposes), enter charge coupled device by power supply and the noise jamming of producing for fear of noise, then in period T 1 (period T 2, ...) in take second among the exposure clock cycle SH of charge coupled device and shift exposure energy phase TD, it is corresponding to period T 1 (period T 2, ...) in the interval of motor withholding period TI of motor movement clock cycle MM, and avoid in period T 1 (period T 2, ...) in the transfer exposure energy phase TD of exposure among the clock cycle SH corresponding to the interval of the motor movement phase TM of motor movement clock cycle MM.As described above, because at the motor movement phase of motor movement clock cycle MM TM, decide the noise that the driven stepping motor produced and to enter the power supply supply; And at the motor withholding period TI of motor movement clock cycle MM, it is out-of-work deciding the driven stepping motor, can not produce the noise that changes because of the voltage of power supply so decide the driven stepping motor, remove to influence the exposure energy that is transferred to optical diode by charge coupled device, can avoid noise jamming and produce the situation of line image light and dark.
In this example, the one-period length of motor movement clock cycle MM is two Cycle Lengths of exposure clock cycle SH.Yet, the noise that elimination stepping motor of the present invention is produced when moving is to the method for sensor disturbance, the one-period length of its motor movement clock cycle MM can be three Cycle Lengths of exposure clock cycle SH, even can be more, and visual practical application and determine it.But the one-period length at motor movement clock cycle MM is two above Cycle Lengths of exposure clock cycle SH, also only be from exposure clock cycle SH, to take out one-period to do of the work of optical diode transfer exposure energy to charge coupled device simulation offset buffer, and the cycle of being taken must be the interval at the motor withholding period TI of motor movement clock cycle MM, and can not be in the interval of the motor movement phase of motor movement clock cycle MM TM, just can eliminate decide the driven stepping motor when motion the noise that produces to the interference of charge coupled device.
Embodiment two:
Decide the interference of noise that the driven stepping motor time produced in motion in order to eliminate to sensor devices (following is example with the charge coupled device), with the Cycle Length of exposure clock cycle of not changing charge coupled device and the Cycle Length of motor movement clock cycle (Cycle Length of the exposure clock cycle of charge coupled device as shown in Figure 3 with decide the Cycle Length of the motor movement clock cycle of driven stepping motor), and be wherein a kind of method with the phase relation that changes exposure clock cycle and motor movement clock cycle, shown in the clock cycle figure of the present invention's another kind motor-sensor devices of Fig. 5.
In Fig. 5, when period T 1 (identical) with the period T 1 of Fig. 2, the transfer exposure energy phase TD among the exposure clock cycle SH, optical diode is transferred to charge coupled device simulation offset buffer with the exposure energy of sensing; Sensing exposure energy phase TS among the exposure clock cycle SH, optical diode is at the sensing exposure energy.Equally, when period T 1, the motor movement phase TM of motor movement clock cycle MM decides the driven stepping motor and moves; The motor withholding period TI of motor movement clock cycle MM, it is slack to decide the driven stepping motor.And the length of period T 1 equals the length of a motor movement phase TM of motor movement clock cycle MM and the length sum of a motor withholding period TI; Equally, the length of one-period T1 equal to expose of clock cycle SH shifts the length of exposure energy phase TD and the length sum of a sensing exposure energy phase TS.So, the one-period length of motor movement clock cycle MM equal the to expose one-period length of clock cycle SH.When period T 2 (identical with the period T 2 of Fig. 2), clock cycle SH is identical with period T 1 with the description of motor movement clock cycle MM in exposure.
In Fig. 2, period T 1 is one group of switch conduction, and period T 2 is two groups of switch conductions, for power supply (as the VCC among Fig. 1), is that one group of load and two groups load on mutual change.Therefore, when two groups of loads were changed into one group, the voltage of power supply rose, period T 1 as shown in Figure 5; When if load is changed into two groups by one group, then the voltage of power supply descends, period T 1 as shown in Figure 5.So, when the voltage of power supply rises or descends, its voltage changes the noise that is produced will enter power supply.Optical diode the exposure energy of sensing is transferred to charge coupled device simulation offset buffer during (the transfer exposure energy phase TD among the clock cycle SH that promptly exposes), enter charge coupled device by power supply and the noise jamming that produces for fear of noise, then take transfer exposure energy phase TD among the exposure clock cycle SH of charge coupled device and be interval, and the transfer exposure energy phase TD among the clock cycle SH that avoids exposing is corresponding to the interval of the motor movement phase TM of motor movement clock cycle MM corresponding to the motor withholding period TI of motor movement clock cycle MM.So, the transfer exposure energy phase TD of exposure clock cycle SH and the motor movement phase TM of motor movement clock cycle MM form a phase difference PD.As described above, because at the motor movement phase of motor movement clock cycle MM TM, decide the noise that the driven stepping motor produced and to enter the power supply supply; And at the motor withholding period TI of motor movement clock cycle MM, it is out-of-work deciding the driven stepping motor, so the transfer exposure energy phase TD of exposure clock cycle SH and the formed phase difference PD of motor movement phase TM of motor movement clock cycle MM, it can make decides the driven stepping motor and can not produce the noise that changes because of the voltage of power supply, remove to influence the exposure energy that is transferred to charge coupled device simulation offset buffer by optical diode, can avoid noise jamming and produce the situation of line image light and dark.
Therefore, advantage of the present invention is to solve because of deciding the driven stepping motor when moving, and the noise jamming that it produced is to the transducer of antinoise ability, needn't can avoid the non-ideality of the image appearance of institute's sensing via engineering loaded down with trivial details and that significantly change as band.。
In sum; though the present invention with preferred embodiment openly as above, it is not in order to limit the present invention, any those skilled in the art; various changes and the retouching done are without departing from the spirit and scope of the present invention all forgiven in protection scope of the present invention.