Summary of the invention
In order to solve existing key and switch disappears the problems of twitter circuit, the present invention provides a kind of stabilization electricity
Road, including switching pulse generation circuit, positive anti-jamming circuit, reversed anti-jamming circuit, data selector.
The switching pulse generation circuit exports switching pulse;The forward direction anti-jamming circuit and reversed anti-jamming circuit
Input signal is switching pulse.
The data selector is alternative data selector;Two data input pins of the data selector connect respectively
It is connected to the output end of positive anti-jamming circuit and reversed anti-jamming circuit.
The data output end of the data selector is output pulse ends;The data selector is counted by output pulse
It is controlled according to selection.
The forward direction anti-jamming circuit includes repid discharge diode, charging resistor, positive anti-interference capacitor, positive anti-dry
Disturb Schmidt circuit;The repid discharge diode cathode is positive anti-jamming circuit input terminal, and anode is connected to positive anti-dry
Disturb Schmidt circuit input terminal;The charging resistor and repid discharge diodes in parallel;One end of the forward direction anti-interference capacitor
It is connected to positive anti-interference Schmidt circuit input terminal, other end is connected to the electricity of publicly either powering of preventing jittering circuit
Source.
The reversed anti-jamming circuit includes quick charge diode, discharge resistance, reversed anti-interference capacitor, reversely resists and do
Disturb Schmidt circuit;The quick charge diode anode is reversed anti-jamming circuit input terminal, and cathode is connected to reversed anti-dry
Disturb Schmidt circuit input terminal;The discharge resistance and quick charge diodes in parallel;One end of the reversed anti-interference capacitor
It is connected to reversed anti-interference Schmidt circuit input terminal, other end is connected to the electricity of publicly either powering of preventing jittering circuit
Source.
The anti-interference Schmidt circuit output end of forward direction is positive anti-jamming circuit output end, reversed anti-interference Schmidt
Circuit output end is reversed anti-jamming circuit output end.
When being same phase relation between the data selector output signal and positive anti-jamming circuit input signal, data choosing
Selecting between device output signal and reversed anti-jamming circuit input signal is also same phase relation;The data selector output signal with
When being inverted relationship between positive anti-jamming circuit input signal, data selector output signal and reversed anti-jamming circuit are inputted
It is also inverted relationship between signal.
The data selector is by the specific method that output pulse carries out data selection control, when data selector exports
It is same phase relation, data selector output signal and reversed anti-jamming circuit between signal and positive anti-jamming circuit input signal
When being same phase relation between input signal, the low level control data selector for exporting pulse selects the defeated of positive anti-jamming circuit
Signal is sent to the output end of data selector out, and high level control data selector selects the output signal of reversed anti-jamming circuit
It is sent to the output end of data selector;When being reverse phase between data selector output signal and positive anti-jamming circuit input signal
When being inverted relationship between relationship, data selector output signal and reversed anti-jamming circuit input signal, the low of pulse is exported
Level controls the output end that data selector selects the output signal of reversed anti-jamming circuit to be sent to data selector, high level control
The output signal of the positive anti-jamming circuit of data selector selection processed is sent to the output end of data selector.
The positive narrow pulse width that the preventing jittering circuit can filter is controlled by changing charge constant;Institute
The negative narrow pulse width that preventing jittering circuit can filter is stated to be controlled by changing discharge time constant.
The charge constant is the product of charging resistor and positive anti-interference capacitor;The discharge time constant is to put
The product of resistance and reversed anti-interference capacitor.
The anti-interference Schmidt circuit of forward direction and reversed anti-interference Schmidt circuit all have high input impedance charcteristic.
The beneficial effects of the present invention are: the preventing jittering circuit allows, width is greater than the positive pulse of specified value and negative pulse is believed
Number pass through;Can positive burst pulse during the negative broad pulse of automatic fitration, especially can fast quick-recovery filter capacity filtering it is continuous
Positive narrow pulse interference signal, eliminate switching pulse rising edge shake;The preventing jittering circuit being capable of the just wide arteries and veins of automatic fitration
Negative burst pulse during punching especially quick-recovery filter capacity can filter continuous negative narrow pulse interference signal fastly, and elimination is opened
The failing edge shake of Guan pulse punching;The positive burst pulse maximum width for needing to filter can be adjusted by changing charge constant
It is whole;The negative burst pulse maximum width for needing to filter can be adjusted by changing discharge time constant;The preventing jittering circuit
It can apply in the occasion for needing reliably to eliminate switching pulse effect of jitter using circuit.
Specific embodiment
Below in conjunction with attached drawing, the invention will be further described.
It is as shown in Figure 1 preventing jittering circuit example structure block diagram, including switching pulse generation circuit and pulse disappear and tremble electricity
Road.The switching pulse P1 that the output of switching pulse generation circuit is generated by key or switch operation, switching pulse P1 are sent to arteries and veins
The punching twitter circuit that disappears carries out pulse and disappears and tremble, and obtains output pulse P2.
Switching pulse generation circuit is used to generate switching pulse when having switch or button operation and export.Such as Fig. 2 institute
It is shown as one embodiment of switching pulse generation circuit, is made of switch S10, resistance R10, driving gate F10.Switching pulse P1 warp
It is exported by driving gate F10, the carrying load ability of switching pulse P1 can be improved.When selecting driving gate F10, it can choose with mutually drive
Dynamic door, also can choose reverse phase driving gate;It is required that the high level of driving gate F10 is consistent with low level carrying load ability or connects
Closely, and sink current carrying load ability is consistent or close with sourcing current carrying load ability.Driving gate F10 can choose CMOS electricity
Road either high-speed cmos gate circuit.Driving gate F10 is also an option that with operational amplifier circuit and constitutes.
The pulse twitter circuit that disappears includes positive anti-jamming circuit, reversed anti-jamming circuit, data selector.
Pulse is illustrated in figure 3 to disappear twitter circuit embodiment.In embodiment, repid discharge diode, charging resistor, forward direction are anti-
Interference capacitors, positive anti-interference Schmidt circuit are respectively diode D11, resistance R11, capacitor C11, Schmidt circuit F11, group
At positive anti-jamming circuit;Quick charge diode, discharge resistance, reversed anti-interference capacitor, reversed anti-interference Schmidt's electricity
Road is respectively diode D21, resistance R21, capacitor C21, Schmidt circuit F21, constitutes reversed anti-jamming circuit.Capacitor C11
A termination Schmidt circuit F11 input terminal, other end is connected to publicly;A termination Schmidt circuit of capacitor C21
The input terminal of F21, other end are connected to publicly.P1 is switching pulse end, and P2 is output pulse ends.
In Fig. 3 embodiment, data selector T11 is alternative data selector, and two data input signals and output are believed
It is all same phase relation between number, Schmidt circuit F11, Schmidt circuit F21 are same phase Schmidt circuit, therefore, data choosing
Selecting is same phase relation between device T11 output and positive anti-jamming circuit input, data selector T11 output and reversed anti-interference electricity
It is also same phase relation between the input of road.The function of data selector T11 are as follows: when selecting control terminal A=0, export Y=D1;When
When selecting control terminal A=1, Y=D2 is exported.The output end Y (i.e. pulse output end P2) of data selector T11 is connected directly to number
According to the selection control terminal A of selector T11, when output pulse P2 is low level, control data selector T11 selects Schmidt circuit
The output signal A3 of F11 is sent to the output end Y of data selector;When output pulse P2 is high level, data selector T11 is controlled
The output signal A4 of selection Schmidt circuit F21 is sent to the output end Y of data selector.
Fig. 4 is that pulse disappears the waveform of twitter circuit embodiment, including switching pulse P1 and Schmidt circuit F11 output A3, applies
Close spy circuit F21 output A4, the waveform for exporting pulse P2.In Fig. 3, diode D11, resistance R11, capacitor C11 constitute asymmetric
Charge-discharge circuit, Schmidt circuit F11 are, when switching pulse P1 is maintained low level for a long time, to apply with phase Schmidt circuit
The output A3 of close spy's circuit F11 is low level;When switching pulse P1 is maintained high level for a long time, A3 is high level.P1 letter
It number discharges capacitor C11 fast, when switching pulse P1 becomes low level from high level, A1 current potential is immediately turned into low level current potential,
A3 becomes low level from high level immediately.P1 signal charges slowly, when switching pulse P1 becomes high level from low level to capacitor C11
When, A1 current potential from P1 high level signal by resistance R11 to capacitor C11 charge rise, when charging between reach T1, A1 current potential
When rising meets and exceeds the upper limit threshold voltage of Schmidt circuit F11, A3 becomes high level from low level;When the positive pulse of P1
Width is less than T1, and the charging time is less than T1, and P1 becomes low when A1 current potential is not up to the upper limit threshold voltage of Schmidt circuit F11
Level, A1 current potential are immediately turned into low level current potential, and A3 maintains low level state.In Fig. 4, the original state of P1 and A3 are low electricity
It is flat.Positive burst pulse 11, positive burst pulse 12, positive burst pulse 13 width be respectively less than T1, A1 current potential can not be charged to or be more than
The upper limit threshold voltage of Schmidt circuit F11, does not influence A3 state;The width of the positive pulse 14 of P1 is greater than T1, therefore,
After the rising edge of the positive pulse 14 of P1 crosses time T1, A3 becomes high level from low level.The failing edge of the positive pulse 14 of P1 makes A3
Become low level from high level, the width of the positive pulse 15 of P1 is greater than T1, and after 15 rising edge of positive pulse crosses time T1, A3 is from low
Level becomes high level.The failing edge of the positive pulse 15 of P1 makes A3 become low level, positive pulse 16, the positive pulse of P1 from high level
17, the width of positive pulse 18 is respectively less than T1, and therefore, positive pulse 16, positive pulse 17, positive pulse 18 do not influence A3, and A3 is maintained
Low level state.The width of the positive pulse 19 of P1 is greater than T1, and after 19 rising edge of positive pulse crosses time T1, A3 becomes from low level
High level.
In Fig. 3, diode D21, resistance R21, capacitor C21 equally constitute asymmetric charge-discharge circuit, Schmidt circuit F21
For same phase Schmidt circuit, when switching pulse P1 is maintained low level for a long time, the output A4 of Schmidt circuit F21 is low electricity
It is flat;When switching pulse P1 is maintained high level for a long time, A4 is high level.P1 signal charges fastly to capacitor C21, when switch arteries and veins
When rushing P1 and becoming high level from low level, A2 current potential is immediately turned into high level current potential, and A4 becomes high level from low level immediately.P1
Signal discharges slowly to capacitor C21, and when switching pulse P1 becomes low level from high level, A2 current potential is passed through by P1 low level signal
Resistance R21 to capacitor C21 discharge, upon discharging between reach T2, A2 current potential drops below the lower limit threshold of Schmidt circuit F21
When voltage, A4 becomes low level from high level;When P1 negative pulse width be less than T2, discharge time be less than T2, A2 current potential not under
When drop reaches the lower limit threshold voltage of Schmidt circuit F21, P1 becomes high level, and A2 current potential is immediately turned into high level current potential,
A4 maintains high level state.In Fig. 4, the original state of P1 and A4 are low level.The rising edge of the positive pulse 11 of P1 makes A4 from low
Level becomes high level, and the width of the negative pulse 20 of P1 is greater than T2, and after 20 failing edge of negative pulse crosses time T2, A4 is from high level
Become low level.The rising edge of the positive pulse 12 of P1 makes A4 become high level from low level, the negative pulse 20 of P1, negative pulse 21
Width is respectively less than T2, and therefore, negative pulse 20, negative pulse 21 do not influence A4, and A4 maintains low level state.Negative pulse 23 is born
Pulse 24, negative pulse 25, negative pulse 26 width be respectively less than T2, A2 current potential can not be through discharging at or below Schmidt circuit
The lower limit threshold voltage of F21, does not influence A4 state;The width of the negative pulse 27 of P1 is greater than T2, therefore, in the negative pulse of P1
After 27 failing edge crosses time T2, A4 becomes low level from high level.In the rising edge of the negative pulse 27 of P1, A4 becomes from low level
For high level.
The output A3 of Schmidt circuit F11 switching pulse P1 be low level when keep low level, switching pulse P1 by
Time T1 excessively just becomes high level after low level becomes high level.The output A4 of Schmidt circuit F21 is height in switching pulse P1
High level is kept when level, time T2 is crossed after switching pulse P1 becomes low level from high level just becomes low level.In other words,
When A3 is high level, A4 must be high level;When A4 is low level, A3 must be low level.
In Fig. 4, the original state of A3, A4 are low level, and the output Y of data selector T11 is low level, data selection
Device T11 selects A3 as output Y and maintains in A3 for low level period.When A3 becomes high level from low level at edge 30
When, output Y becomes high level, and data selector T11 selects A4 as output Y, and A4 must be high level at this time, maintain output Y
High level state.When A4 is when edge 31 becomes low level from high level, output Y becomes low level, data selector T11 choosing
A3 is selected as output Y, A3 must be low level at this time, maintain the low level state of output Y.When A3 becomes at edge 32 from low level
When for high level, output Y becomes high level, and data selector T11 select A4 as output Y, and A4 must be high level at this time, tie up
Hold the high level state of output Y.
Pulse disappear twitter circuit by P1 signal burst pulse 11, burst pulse 12, burst pulse 13, burst pulse 23, burst pulse 24,
Burst pulse 25, burst pulse 26 all filter out, and positive broad pulse 14 (including positive pulse 14, positive pulse 15, positive pulse 16, positive pulse
17 and positive pulse 18, negative pulse 23, negative pulse 24, negative pulse 25, negative pulse 26 are disturbing pulse), negative broad pulse 27 can lead to
It crosses, makes occur corresponding positive broad pulse 28 and negative broad pulse 29 in P2 signal.The same phase of pulse P2 and switching pulse P1 is exported, and it is defeated
Positive broad pulse 14 rising edge lag time T1, failing edge lag time T2 of 28 rising edge of broad pulse out than input.
Positive pulse 11, positive pulse 12, positive pulse 13 are positive burst pulse, and wherein positive pulse 11 is single disturbing pulse, positive arteries and veins
Punching 12, positive pulse 13 are continuous Vibrating pulse.Time T1 is that pulse disappears the positive narrow pulse width of maximum that twitter circuit can filter.
T1 by charge constant, the high level current potential of switching pulse P1, low level current potential and Schmidt circuit F11 upper limit threshold
Voltage joint effect.Under normal conditions, the high level current potential of switching pulse P1, low level current potential are therefore definite value adjusts T1's
Value can be carried out by changing the upper limit threshold voltage of charge constant or Schmidt circuit F11.In Fig. 3, when charging
Between constant be charging resistor R11 and capacitor C11 product.The pulse disappear twitter circuit allow width be greater than T1 positive pulse signal
Pass through.
Negative pulse 23, negative pulse 24, negative pulse 25, negative pulse 26 are negative burst pulse, and wherein negative pulse 23 is single interference
Pulse, negative pulse 24, negative pulse 25, negative pulse 26 are continuous Vibrating pulse.Time T2 is that the pulse twitter circuit that disappears can filter
The negative narrow pulse width of maximum.T2 is by discharge time constant, the high level current potential of switching pulse P1, low level current potential and Shi Mi
The lower limit threshold voltage joint effect of special circuit F21.Under normal conditions, the high level current potential of switching pulse P1, low level current potential
For definite value, therefore, the value for adjusting T2 can be by change discharge time constant or the lower limit threshold voltage of Schmidt circuit F21
Come carry out.In Fig. 3, discharge time constant is the product of discharge resistance R21 and capacitor C21.The pulse disappear twitter circuit allow it is wide
Undersuing of the degree greater than T2 passes through.
In Fig. 3, capacitor C11, which connects one end publicly, to be disappeared the power supply end of twitter circuit with reconfiguration in pulse;Equally
Ground, capacitor C21, which connects one end publicly, reconfiguration to disappear the power supply electricity of twitter circuit in pulse individually or together with capacitor C11
Source.
In Fig. 3, Schmidt circuit F11, Schmidt circuit F21 can also simultaneously or separately select reverse phase Schmidt electric
Road can also simultaneously or separately be inverted relationship between input D1, D2 and output Y of data selector T11.When Schmidt's electricity
Road F11, Schmidt circuit F21 simultaneously or separately select reverse phase Schmidt circuit, input D1, D2 of data selector T11 with
When being simultaneously or separately inverted relationship between output Y, need to meet following condition, it may be assumed that believe when data selector T11 is exported
When being same phase relation between number Y and positive anti-jamming circuit input signal, data selector T11 output signal Y and reversed anti-dry
Disturbing between circuit input signal is also same phase relation;The output of the low level control selection Schmidt circuit F11 of Y is sent to data choosing
The output end of device T11 is selected, the output of the high level control selections Schmidt circuit F21 of Y is sent to the output of data selector T11
End.When being inverted relationship between data selector T11 output signal Y and positive anti-jamming circuit input signal, data selection
It is also inverted relationship between device T11 output signal Y and reversed anti-jamming circuit input signal;The low level control selection of Y is applied close
The output of special circuit F21 is sent to the output end of data selector T11, the output of the high level control selections Schmidt circuit F11 of Y
It is sent to the output end of data selector T11.
The anti-interference Schmidt circuit of the forward direction, reversed anti-interference Schmidt circuit are Schmidt circuit, input signal
For the voltage on capacitor, it is therefore desirable to which Schmidt circuit has high input impedance charcteristic.Schmidt circuit, which can choose, has height
Cmos schmitt phase inverter CD40106,74HC14 of input impedance characteristic, or selection have high input impedance charcteristic
The devices such as cmos schmitt NAND gate CD4093,74HC24.Cmos schmitt phase inverter or cmos schmitt NAND gate it is upper
Limit threshold voltage, lower limit threshold voltage is fixed value relevant to device.With schmitt inverter or Schmidt's NAND gate
It constitutes with phase Schmidt circuit, needs to increase level-one phase inverter behind schmitt inverter or Schmidt's NAND gate.
Schmidt circuit is also an option that using operational amplifier and constitutes, and Schmidt's electricity is constituted using operational amplifier
Road can neatly change upper limit threshold voltage, lower limit threshold voltage.Similarly, Schmidt's electricity is constituted using operational amplifier
Lu Shi is needed using structure and circuit with high input impedance charcteristic.
Data selector can choose the devices such as 74HC151,74HC152,74HC153, CD4512, CD4539 and constitute two choosings
One data selector can also constitute alternative data selector with gate circuit.