[go: up one dir, main page]

CN106067790B - De-jittering circuit - Google Patents

De-jittering circuit Download PDF

Info

Publication number
CN106067790B
CN106067790B CN201610421566.0A CN201610421566A CN106067790B CN 106067790 B CN106067790 B CN 106067790B CN 201610421566 A CN201610421566 A CN 201610421566A CN 106067790 B CN106067790 B CN 106067790B
Authority
CN
China
Prior art keywords
circuit
reverse
output
data selector
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610421566.0A
Other languages
Chinese (zh)
Other versions
CN106067790A (en
Inventor
凌云
曾红兵
陈刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Jiuzhou Longteng Scientific And Technological Achievement Transformation Co ltd
Shenzhen Hanhonda Electronic Technology Co ltd
Original Assignee
Hunan University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN201610421566.0A priority Critical patent/CN106067790B/en
Publication of CN106067790A publication Critical patent/CN106067790A/en
Application granted granted Critical
Publication of CN106067790B publication Critical patent/CN106067790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/125Discriminating pulses
    • H03K5/1252Suppression or limitation of noise or interference
    • H03K5/1254Suppression or limitation of noise or interference specially adapted for pulses generated by closure of switches, i.e. anti-bouncing devices

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Electronic Switches (AREA)

Abstract

一种去抖动电路,包括开关脉冲产生电路、正向充放电电路、反向充放电电路、数据选择器。去抖动电路由输出脉冲通过数据选择器控制选通正向充放电电路、反向充放电电路中的一路作为输出脉冲。所述去抖动电路能够自动过滤负宽脉冲期间的正窄脉冲和正宽脉冲期间的负窄脉冲干扰,特别是能够过滤连续的按键或者开关触点抖动窄脉冲干扰信号;需要过滤的正窄脉冲最大宽度能够通过改变正向电流驱动器的流出驱动电流大小或者正向抗干扰电容的大小进行调整;需要过滤的负窄脉冲最大宽度能够通过改变反向电流驱动器的流出驱动电流大小或者反向抗干扰电容的大小进行调整。所述去抖动电路能够应用在需要采用电路可靠消除按键或者开关脉冲抖动影响的场合。

Figure 201610421566

A de-jitter circuit includes a switching pulse generating circuit, a forward charging and discharging circuit, a reverse charging and discharging circuit, and a data selector. The de-jitter circuit is controlled by the output pulse through the data selector to select one of the forward charging and discharging circuit and the reverse charging and discharging circuit as the output pulse. The de-jitter circuit can automatically filter the positive narrow pulse during the negative wide pulse and the negative narrow pulse during the positive wide pulse, especially can filter the continuous key or switch contact jitter narrow pulse interference signal; the positive narrow pulse that needs to be filtered is the largest. The width can be adjusted by changing the size of the outgoing drive current of the forward current driver or the size of the forward anti-interference capacitor; the maximum width of the negative narrow pulse that needs to be filtered can be adjusted by changing the size of the outgoing drive current of the reverse current driver or the size of the reverse anti-jamming capacitor size is adjusted. The de-jitter circuit can be applied to occasions where a circuit needs to be used to reliably eliminate the influence of key or switch pulse jitter.

Figure 201610421566

Description

De-jittering circuit
Technical Field
The invention relates to a mechanical key or switch pulse signal processing circuit, in particular to a debouncing circuit.
Background
In a digital signal circuit, it is often required to output a pulse when a mechanical key or switch is pressed. When the mechanical key switch is pressed down or released, the jitter interference pulse is generated by the switch pulse due to the jitter of the contact. The software is adopted to eliminate the switch jitter, the working time of a CPU is consumed, and the system resources are greatly wasted. When a circuit is needed to eliminate the influence of the jitter pulse of the key switch, an RS trigger and an RC filter circuit are commonly used. When the RS trigger is used, the key switch is required to have both a normally closed switch and a normally open switch, and its application is limited. An RC filter circuit is adopted, when jitter interference is continuous narrow pulse interference, a filter time constant needs to be increased, and the quick response capability of the circuit is influenced; or when continuous narrow pulse interference exists in the key circuit, the RC filter circuit has a direct current memory effect, and the front narrow pulse can influence the filtering of the rear narrow pulse.
Disclosure of Invention
In order to solve the problems of the existing key and switch jitter elimination circuit, the invention provides a jitter elimination circuit which comprises a switch pulse generation circuit, a forward charge and discharge circuit, a reverse charge and discharge circuit and a data selector.
The switching pulse generating circuit outputs a switching pulse.
And the input signals of the forward charge-discharge circuit and the reverse charge-discharge circuit are switching pulses.
The data selector is an alternative data selector; two data input ends of the data selector are respectively connected to the output ends of the forward charge-discharge circuit and the reverse charge-discharge circuit.
The data output end of the data selector is an output pulse end; the data selector performs data selection control by the output pulse.
The forward charge-discharge circuit comprises a forward current driver, a forward anti-interference capacitor and a forward anti-interference Schmitt circuit; the input end of the forward current driver is the input end of a forward charging and discharging circuit, and the output of the forward current driver is connected to the input end of a forward anti-interference Schmitt circuit; one end of the forward anti-interference capacitor is connected to the input end of the forward anti-interference Schmitt circuit, and the other end of the forward anti-interference capacitor is connected to the public ground of the debounce circuit or the power supply of the forward anti-interference Schmitt circuit.
The reverse charging and discharging circuit comprises a reverse current driver, a reverse anti-interference capacitor and a reverse anti-interference Schmitt circuit; the input end of the reverse current driver is the input end of the reverse charge-discharge circuit, and the output end of the reverse current driver is connected to the input end of the reverse anti-interference Schmitt circuit; one end of the reverse anti-interference capacitor is connected to the input end of the reverse anti-interference Schmitt circuit, and the other end of the reverse anti-interference capacitor is connected to the public ground of the debounce circuit or the power supply of the reverse anti-interference Schmitt circuit.
The output end of the forward anti-interference Schmitt circuit is the output end of the forward charging and discharging circuit, and the output end of the reverse anti-interference Schmitt circuit is the output end of the reverse charging and discharging circuit.
When the input of the forward current driver is at a high level, the output end of the forward current driver is driven by current and outputs driving current; when the input of the forward current driver is at a low level, the output end is driven by voltage and outputs a low level; when the input of the reverse current driver is at a low level, the output end of the reverse current driver is driven by current and outputs driving current; when the input of the reverse current driver is at a high level, the output end is driven by voltage and outputs a low level.
When the input of the forward current driver is at a high level, the output end of the forward current driver is driven by current and outputs constant current driving current; when the input of the reverse current driver is at a low level, the output end of the reverse current driver is driven by current and outputs constant current driving current.
When the output signal of the data selector and the input signal of the forward anti-interference Schmitt circuit are in the same phase relation, the output signal of the data selector and the input signal of the reverse anti-interference Schmitt circuit are in an anti-correlation system; when the output signal of the data selector and the input signal of the forward anti-interference Schmitt circuit are in an anti-correlation system, the output signal of the data selector and the input signal of the reverse anti-interference Schmitt circuit are in an in-phase relationship.
The specific method that the data selector carries out data selection control by the output pulse is that when the output signal of the data selector and the input signal of the forward anti-interference Schmitt circuit are in an in-phase relation and the output signal of the data selector and the input signal of the reverse anti-interference Schmitt circuit are in an anti-correlation relation, the low-level control data selector of the output pulse selects the output signal of the forward anti-interference Schmitt circuit to be sent to the output end of the data selector, and the high-level control data selector selects the output signal of the reverse anti-interference Schmitt circuit to be sent to the output end of the data selector; when the output signal of the data selector and the input signal of the forward anti-interference Schmitt circuit are in an anti-correlation system and the output signal of the data selector and the input signal of the reverse anti-interference Schmitt circuit are in an in-phase relationship, the low-level control data selector of the output pulse selects the output signal of the reverse anti-interference Schmitt circuit to be sent to the output end of the data selector, and the high-level control data selector selects the output signal of the forward anti-interference Schmitt circuit to be sent to the output end of the data selector.
The positive narrow pulse width which can be filtered by the debouncing circuit is controlled by changing the positive charging time; the negative narrow pulse width that the debounce circuit is able to filter is controlled by varying the reverse charge time.
The forward charging time is controlled by changing the magnitude of the outflow driving current of the forward current driver or the magnitude of the forward anti-interference capacitor; the reverse charging time is controlled by changing the size of the outflow driving current of the reverse current driver or the size of the reverse anti-interference capacitor.
The forward anti-interference Schmitt circuit and the reverse anti-interference Schmitt circuit both have high input impedance characteristics. .
The invention has the beneficial effects that: the de-jitter circuit allows positive pulse and negative pulse signals with widths larger than a specified value to pass through; the device can automatically filter positive narrow pulses in a negative wide pulse period, particularly can quickly recover filtering capacity to filter continuous positive narrow pulse interference signals, and eliminates the rising edge jitter of switching pulses; the de-jitter circuit can automatically filter negative narrow pulses in a positive wide pulse period, particularly can quickly recover filtering capacity to filter continuous negative narrow pulse interference signals, and eliminates falling edge jitter of switching pulses; the maximum width of the positive narrow pulse to be filtered can be adjusted by changing the magnitude of the outflow driving current of the forward current driver or the magnitude of the forward anti-interference capacitor; the maximum width of the negative narrow pulse to be filtered can be adjusted by changing the size of the flowing-out driving current of the reverse current driver or the size of the reverse anti-interference capacitor; the de-jitter circuit can be applied to occasions needing to adopt a circuit to reliably eliminate the jitter influence of the switching pulse.
Drawings
FIG. 1 is a block diagram of an embodiment of a debouncing circuit;
FIG. 2 is an embodiment of a switching pulse generating circuit;
FIG. 3 shows an embodiment of a pulse debounce circuit;
FIG. 4 is a waveform of an embodiment of a pulse debounce circuit;
FIG. 5 is a circuit of embodiment 1 of a forward current driver and a reverse current driver;
FIG. 6 is a forward current driver and reverse current driver embodiment 2 circuit;
fig. 7 shows a forward current driver and a reverse current driver embodiment 3 circuit.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a block diagram of an embodiment of a debounce circuit, which includes a switching pulse generation circuit and a pulse debounce circuit. The switching pulse generating circuit outputs a switching pulse P1 generated by a key or a switching operation, and the switching pulse P1 is sent to the pulse jitter eliminating circuit to be subjected to pulse jitter elimination, so that an output pulse P2 is obtained.
The switch pulse generating circuit is used for generating and outputting switch pulses when a switch or a key is operated. Fig. 2 shows an embodiment of the switching pulse generating circuit, which is composed of a switch S10, a resistor R10, and a driving gate F10. The switching pulse P1 is output via the drive gate F10, and the load capacity of the switching pulse P1 can be improved. When the driving gate F10 is selected, the in-phase driving gate can be selected, and the reverse-phase driving gate can be selected; the high and low level band loading capabilities of drive gate F10 are required to be the same or close together, and the sink current band loading capability is the same or close to the source current band loading capability. The driving gate F10 may be a CMOS gate or a high-speed CMOS gate. The driving gate F10 may be formed by an operational amplifier circuit.
The pulse jitter eliminating circuit comprises a forward charge-discharge circuit, a reverse charge-discharge circuit and a data selector.
Fig. 3 shows an embodiment of a pulse jitter elimination circuit. In the embodiment, the forward current driver, the forward anti-interference capacitor and the forward anti-interference Schmitt circuit are respectively a current driver U11, a capacitor C11 and a Schmitt circuit F11, and form a forward charging and discharging circuit; the reverse current driver, the reverse anti-interference capacitor and the reverse anti-interference Schmitt circuit are respectively a current driver U21, a capacitor C21 and a Schmitt circuit F21, and form a reverse charging and discharging circuit. One end of the capacitor C11 is connected with the input end of the Schmitt circuit F11, and the other end is connected to the common ground; one end of the capacitor C21 is connected to the input end of the Schmitt circuit F21, and the other end is connected to the common ground. P1 is the switch pulse end, P2 is the output pulse end.
In the embodiment, the data selector T11 is an alternative data selector, the two data input signals and the output signal are in-phase, and the schmitt circuit F11 and the schmitt circuit F21 are in-phase schmitt circuit and anti-phase schmitt circuit, respectively, so that the output of the data selector T11 and the input signal of the schmitt circuit F11 are in-phase, and the output of the data selector T11 and the input signal of the schmitt circuit F21 are in anti-phase. The function of the data selector T11 is: when the control terminal A is selected to be 0, outputting Y to be D1; when the control terminal a is selected to be 1, the output Y is D2. The output terminal Y (i.e. the pulse output terminal P2) of the data selector T11 is directly connected to the selection control terminal a of the data selector T11, and when the output pulse P2 is low, the data selector T11 is controlled to select the output signal a3 of the schmitt circuit F11 to be sent to the output terminal Y of the data selector; when the output pulse P2 is at a high level, the data selector T11 is controlled to select the output signal a4 of the schmitt circuit F21 to be supplied to the output terminal Y of the data selector.
Fig. 4 shows waveforms of an embodiment of the pulse jitter elimination circuit, which includes a switching pulse P1, a schmitt circuit F11 output A3, a schmitt circuit F21 output a4, and an output pulse P2. In fig. 3, when the switching pulse P1 is kept at the low level for a long time, the point a1 is at the low level, and the output A3 of the schmitt circuit F11 is at the low level; when the switching pulse P1 is kept high for a long time, the point a1 is high, and the point A3 is high. When the switching pulse P1 changes from high level to low level, the output a1 of the current driver U11 immediately changes to low level potential, and the output A3 immediately changes from high level to low level. When the switching pulse P1 changes from low level to high level, the potential of a1 rises due to the charging of the capacitor C11 by the driving current output by the current driver U11, and when the charging time reaches T1 and the potential of a1 rises to reach and exceed the upper limit threshold voltage of the schmitt circuit F11, the potential of A3 changes from low level to high level; when the positive pulse width of the P1 is less than T1, the charging time is less than T1, the P1 becomes low level when the potential of the A1 does not reach the upper limit threshold voltage of the Schmitt circuit F11, the potential of the A1 immediately becomes low level potential, and the A3 maintains the low level state. In fig. 4, the initial states of P1 and A3 are low. The widths of the positive narrow pulse 11, the positive narrow pulse 12 and the positive narrow pulse 13 are all smaller than T1, the potential of A1 cannot reach or exceed the upper limit threshold voltage of a Schmitt circuit F11 through charging, and the state of A3 is not influenced; the width of the positive pulse 14 of P1 is greater than T1, so A3 changes from low to high after the rising edge of the positive pulse 14 of P1 by time T1. The falling edge of the positive pulse 14 of P1 changes A3 from high to low, the width of the positive pulse 15 of P1 is greater than T1, and A3 changes from low to high after the rising edge of the positive pulse 15 is over time T1. The falling edge of the P1 positive pulse 15 changes A3 from high to low, and the widths of the positive pulse 16, the positive pulse 17, and the positive pulse 18 of P1 are all smaller than T1, so that the positive pulse 16, the positive pulse 17, and the positive pulse 18 have no effect on A3, and A3 remains in a low state. The width of the positive pulse 19 of P1 is greater than T1, and A3 goes from low to high after the rising edge of the positive pulse 19 is over a time T1.
In fig. 3, when the switching pulse P1 is kept at the low level for a long time, the point a2 is at the high level, and the output a4 of the schmitt circuit F21 is at the low level; when the switching pulse P1 is kept high for a long time, the point a2 is low and the point a4 is high. When the switching pulse P1 changes from the low level to the high level, the output a2 of the current driver U21 immediately changes to the low level potential, and the output a4 immediately changes from the low level to the high level. When the switching pulse P1 changes from high level to low level, the potential of a2 rises due to the charging of the capacitor C21 by the driving current output by the current driver U21, and when the charging time reaches T2 and the potential of a2 rises to reach the upper limit threshold voltage of the schmitt circuit F21, the potential of a4 changes from high level to low level; when the negative pulse width of the P1 is less than T2, the charging time is less than T2, and the A2 potential does not rise to the upper threshold voltage of the Schmitt circuit F21, the P1 becomes high, the A2 immediately becomes low, and the A4 maintains high. In fig. 4, the initial states of P1 and a4 are low. The rising edge of the positive pulse 11 of P1 changes a4 from low to high, the negative pulse 20 of P1 has a width greater than T2, and a4 changes from high to low after the falling edge of the negative pulse 20 for a time T2. The rising edge of the positive pulse 12 of P1 changes a4 from low to high, and the widths of the negative pulse 20 and the negative pulse 21 of P1 are both smaller than T2, so that the negative pulse 20 and the negative pulse 21 have no effect on a4, and a4 maintains a low state. The widths of the negative pulse 23, the negative pulse 24, the negative pulse 25 and the negative pulse 26 are all smaller than T2, the potential of A2 cannot reach or be higher than the upper limit threshold voltage of the Schmitt circuit F21 through charging, and the state of A4 is not influenced; the negative pulse 27 of P1 has a width greater than T2, and therefore a4 changes from high to low after the falling edge of the negative pulse 27 of P1 for a time T2. At the rising edge of the negative pulse 27 of P1, a4 changes from low to high.
The output A3 of the schmitt circuit F11 remains low when the switching pulse P1 is low, and becomes high after a time T1 after the switching pulse P1 changes from low to high. The output a4 of the schmitt circuit F21 remains high when the switching pulse P1 is high, and becomes low after the switching pulse P1 changes from high to low for a time T2. Alternatively, when A3 is high, a4 must be high; when a4 is low, A3 is necessarily low.
In fig. 4, the initial states of A3 and a4 are both low, the output Y of the data selector T11 is low, and the data selector T11 selects A3 as the output Y and maintains it while A3 is low. When A3 changes from low to high at edge 30, output Y changes to high, and data selector T11 selects a4 as output Y, at which time a4 is necessarily high, maintaining the high state of output Y. When a4 changes from high to low at edge 31, the output Y changes to low, and the data selector T11 selects A3 as the output Y, at which time A3 is necessarily low, maintaining the low state of the output Y. When A3 changes from low to high on edge 32, output Y changes to high, and data selector T11 selects a4 as output Y, at which time a4 is necessarily high, maintaining the high state of output Y.
The pulse jitter elimination circuit filters out narrow pulses 11, 12, 13, 23, 24, 25 and 26 in the P1 signal, while positive wide pulses 14 (including positive pulses 14, 15, 16, 17 and 18, negative pulses 23, 24, 25 and 26 are interference pulses) and negative wide pulses 27 enable corresponding positive wide pulses 28 and negative wide pulses 29 to appear in the P2 signal. The output pulse P2 is in phase with the switching pulse P1, and the rising edge of the output wide pulse 28 lags behind the rising edge of the input positive wide pulse 14 by a time T1 and the falling edge lags by a time T2.
The positive pulse 11, the positive pulse 12 and the positive pulse 13 are positive narrow pulses, wherein the positive pulse 11 is an interference pulse, and the positive pulse 12 and the positive pulse 13 are continuous shaking pulses. Time T1 is the maximum positive narrow pulse width that the pulse debounce circuit is able to filter. T1 is the forward charging time. T1 is affected by the magnitude of the drive current flowing out of the current driver U11, the low level potential of the current driver U11, the magnitude of the capacitor C11, and the upper threshold voltage of the schmitt circuit F11. In general, adjusting the value of T1 can be done by varying the magnitude of the outgoing drive current of current driver U11 and the magnitude of capacitor C11.
Negative pulse 23, negative pulse 24, negative pulse 25, negative pulse 26, wherein negative pulse 23 is an interference pulse, and negative pulse 24, negative pulse 25, negative pulse 26 are continuous shaking pulses. Time T2 is the maximum negative narrow pulse width that the pulse debounce circuit is able to filter. T2 is the reverse charging time. T2 is affected by the magnitude of the drive current flowing out of the current driver U21, the low level potential of the current driver U21, the magnitude of the capacitor C21, and the upper threshold voltage of the schmitt circuit F21. In general, adjusting the value of T2 can be done by varying the magnitude of the outgoing drive current of current driver U21 and the magnitude of capacitor C21.
In fig. 3, one end of the capacitor C11 connected to the common ground may be connected to the power supply terminals of the schmitt circuit F11 and the schmitt circuit F21; similarly, the end of the capacitor C21 connected to the common ground may be connected to the power supply terminals of the schmitt circuit F11 and the schmitt circuit F21, either alone or together with the capacitor C11.
In fig. 3, the schmitt circuit F11 and the schmitt circuit F21 may also simultaneously or individually select an inverted schmitt circuit, and the inputs D1 and D2 and the output Y of the data selector T11 may also simultaneously or individually have an inverted correlation. When the schmitt circuit F11 and the schmitt circuit F21 simultaneously or individually select the inverse schmitt circuit, and the inputs D1 and D2 and the output Y of the data selector T11 simultaneously or individually have the inverse phase relationship, the following conditions need to be satisfied, that is: when the Y output by the data selector T11 is in-phase relation with the input signal of the Schmitt circuit F11 forward charging and discharging circuit, the Y output by the data selector T11 is in anti-correlation with the input signal of the Schmitt circuit F21; at this time, the output of the Y low-level control selection schmitt circuit F11 is supplied to the output terminal of the data selector T11, and the output of the Y high-level control selection schmitt circuit F21 is supplied to the output terminal of the data selector T11. When the Y output by the data selector T11 is in an inverse correlation with the input signal of the Schmitt circuit F11, the Y output by the data selector T11 is in an in-phase relationship with the input signal of the Schmitt circuit F21; at this time, the output of the Y low-level control selection schmitt circuit F21 is supplied to the output terminal of the data selector T11, and the output of the Y high-level control selection schmitt circuit F11 is supplied to the output terminal of the data selector T11.
Fig. 5 shows a forward current driver and a reverse current driver circuit of embodiment 1. The open-drain output in-phase driver F12 and the resistor R11 form a forward current driver. When P1 is low, the in-phase driver F12 outputs a1 that is low; when P1 is high, the in-phase driver F12 is an open-drain output, and power + VCC flows a driving current through the resistor R11.
The open-drain output inverting driver F22 and the resistor R21 form an inverting current driver. When P1 is high, the output a2 of inverting driver F22 is low; when P1 is low, inverting driver F22 is an open-drain output, and power + VCC flows the driving current through resistor R21.
The non-inverting driver F12 and the inverting driver F22 can be selected from various open collector and open drain integrated circuits.
Fig. 6 shows a forward current driver and a reverse current driver embodiment 2 circuit. The triode V21, the resistor R22 and the resistor R23 form a reverse current driver, when the P1 is at a high level, the triode V21 is in saturated conduction, and the output A2 of the reverse current driver is at a low level; when P1 is low, transistor V21 is turned off, and power + VCC draws driving current through resistor R22.
A forward current driver is composed of the triode V11, the triode V12, the resistor R12, the resistor R13 and the resistor R14, when the P1 is at a low level, the triode V12 is cut off, the triode V11 is in saturated conduction, and the output A1 of the forward current driver is at a low level; when P1 is at a high level, transistor V12 is in saturation conduction, transistor V11 is turned off, and power + VCC flows out a driving current through resistor R12. The inverting circuit formed by the transistor V12 and the resistor R14 in fig. 6 can be replaced by other inverters.
In fig. 6, the forward current driver and the reverse current driver do not provide a constant magnitude drive current for the outgoing drive current.
Fig. 7 shows a forward current driver and a reverse current driver embodiment 3 circuit. The triode V25, the triode V26, the voltage regulator tube D25, the resistor R25 and the resistor R26 form a reverse current driver, wherein the triode V26, the voltage regulator tube D25 and the resistor R25 form a reverse constant current circuit. When the P1 is at a high level, the triode V25 is in saturation conduction, and the reverse current driver output a2 is at a low level; when P1 is low, transistor V25 is turned off, and power supply + VCC draws a constant current drive current through transistor V26.
The triode V15, the triode V16, the triode V17, the voltage regulator tube D15, the resistor R15, the resistor R16 and the resistor R17 form a forward current driver, wherein the triode V16, the voltage regulator tube D15 and the resistor R15 form a forward constant current circuit. When the P1 is at a low level, the transistor V17 is turned off, the transistor V15 is turned on in saturation, and the forward current driver output a1 is at a low level; when the P1 is at a high level, the transistor V17 is in saturation conduction, the transistor V15 is cut off, and the power supply + VCC flows out a constant current driving current through the transistor V16. The inverting circuit formed by the transistor V17 and the resistor R17 in fig. 7 can be replaced by other inverters.
The forward anti-interference Schmitt circuit and the reverse anti-interference Schmitt circuit are both Schmitt circuits, and the input signal is voltage on a capacitor, so that the Schmitt circuit is required to have high input impedance characteristic. The schmitt circuit can select CMOS schmitt inverters CD40106, 74HC14 with high input impedance characteristics, or select CMOS schmitt nand gates CD4093, 74HC24 with high input impedance characteristics. The upper threshold voltage of a CMOS schmitt inverter or CMOS schmitt nand gate is a fixed value associated with the device. A Schmitt inverter or a Schmitt NAND gate is used for forming the same-phase Schmitt circuit, and a stage of inverter is required to be added behind the Schmitt inverter or the Schmitt NAND gate.
The Schmitt circuit can be formed by an operational amplifier, and the upper limit threshold voltage and the lower limit threshold voltage can be flexibly changed by forming the Schmitt circuit by the operational amplifier. Similarly, when the schmitt circuit is configured by using an operational amplifier, it is necessary to use a structure and a circuit having high input impedance characteristics.
The data selector may be an alternative data selector formed by devices such as 74HC151, 74HC152, 74HC153, CD4512, and CD4539, or may be a gate circuit.

Claims (8)

1.一种去抖动电路,其特征在于:1. A debounce circuit, characterized in that: 包括开关脉冲产生电路、正向充放电电路、反向充放电电路、数据选择器;Including switching pulse generation circuit, forward charge and discharge circuit, reverse charge and discharge circuit, data selector; 所述开关脉冲产生电路输出开关脉冲;The switching pulse generating circuit outputs switching pulses; 所述正向充放电电路和反向充放电电路的输入信号为开关脉冲;The input signals of the forward charging and discharging circuit and the reverse charging and discharging circuit are switching pulses; 所述数据选择器为二选一数据选择器;所述数据选择器的二个数据输入端分别连接至正向充放电电路、反向充放电电路的输出端;The data selector is a two-to-one data selector; the two data input ends of the data selector are respectively connected to the output ends of the forward charging and discharging circuit and the reverse charging and discharging circuit; 所述数据选择器的数据输出端为输出脉冲端;所述数据选择器由输出脉冲进行数据选择控制;The data output end of the data selector is an output pulse end; the data selector is controlled by the output pulse for data selection; 所述正向充放电电路包括正向电流驱动器、正向抗干扰电容、正向抗干扰施密特电路;所述正向电流驱动器的输入端为正向充放电电路输入端,输出连接至正向抗干扰施密特电路输入端;所述正向抗干扰电容的一端连接至正向抗干扰施密特电路输入端,另外一端连接至去抖动电路的公共地或者是正向抗干扰施密特电路的供电电源;The forward charging and discharging circuit includes a forward current driver, a forward anti-interference capacitor, and a forward anti-interference Schmitt circuit; the input end of the forward current driver is the input end of the forward charging and discharging circuit, and the output is connected to the positive To the input end of the anti-jamming Schmitt circuit; one end of the forward anti-jamming capacitor is connected to the input end of the forward anti-jamming Schmitt circuit, and the other end is connected to the common ground of the de-jitter circuit or the forward anti-jamming Schmitt circuit the power supply of the circuit; 所述反向充放电电路包括反向电流驱动器、反向抗干扰电容、反向抗干扰施密特电路;所述反向电流驱动器的输入端为反向充放电电路的输入端,输出连接至反向抗干扰施密特电路输入端;所述反向抗干扰电容的一端连接至反向抗干扰施密特电路输入端,另外一端连接至去抖动电路的公共地或者是反向抗干扰施密特电路的供电电源;The reverse charge and discharge circuit includes a reverse current driver, a reverse anti-jamming capacitor, and a reverse anti-jamming Schmitt circuit; the input end of the reverse current driver is the input end of the reverse charge and discharge circuit, and the output is connected to The reverse anti-jamming Schmitt circuit input terminal; one end of the reverse anti-jamming capacitor is connected to the reverse anti-jamming Schmitt circuit input terminal, and the other end is connected to the common ground of the de-jitter circuit or the reverse anti-jamming device. The power supply of the Mitt circuit; 所述正向抗干扰施密特电路输出端为正向充放电电路输出端,反向抗干扰施密特电路输出端为反向充放电电路输出端。The output terminal of the forward anti-interference Schmitt circuit is the output terminal of the forward charging and discharging circuit, and the output terminal of the reverse anti-interference Schmitt circuit is the output terminal of the reverse charging and discharging circuit. 2.根据权利要求1所述的去抖动电路,其特征在于:所述正向电流驱动器输入为高电平时,输出端为电流驱动且流出驱动电流;所述正向电流驱动器输入为低电平时,输出端为电压驱动且输出低电平;所述反向电流驱动器输入为低电平时,输出端为电流驱动且流出驱动电流;所述反向电流驱动器输入为高电平时,输出端为电压驱动且输出低电平。2 . The debounce circuit according to claim 1 , wherein: when the input of the forward current driver is at a high level, the output terminal is driven by current and flows out a driving current; when the input of the forward current driver is at a low level , the output terminal is driven by voltage and outputs a low level; when the input of the reverse current driver is at a low level, the output terminal is driven by current and flows out driving current; when the input of the reverse current driver is at a high level, the output terminal is a voltage driven and output low. 3.根据权利要求2所述的去抖动电路,其特征在于:所述正向电流驱动器输入为高电平时,输出端为电流驱动且流出恒流驱动电流;所述反向电流驱动器输入为低电平时,输出端为电流驱动且流出恒流驱动电流。3 . The de-jitter circuit according to claim 2 , wherein: when the input of the forward current driver is at a high level, the output terminal is current driven and a constant current driving current flows out; the input of the reverse current driver is low. 4 . When the level is high, the output terminal is current driven and flows out constant current driving current. 4.根据权利要求2所述的去抖动电路,其特征在于:所述数据选择器输出信号与正向抗干扰施密特电路输入信号之间为同相关系时,数据选择器输出信号与反向抗干扰施密特电路输入信号之间为反相关系;所述数据选择器输出信号与正向抗干扰施密特电路输入信号之间为反相关系时,数据选择器输出信号与反向抗干扰施密特电路输入信号之间为同相关系。4. The de-jitter circuit according to claim 2, wherein when the output signal of the data selector and the input signal of the forward anti-interference Schmitt circuit are in an in-phase relationship, the output signal of the data selector and the reverse The input signal to the anti-interference Schmitt circuit is in an inverse relationship; when the output signal of the data selector and the input signal of the forward anti-interference Schmitt circuit are in an inverse relationship, the output signal of the data selector and the reverse There is an in-phase relationship between the input signals of the anti-interference Schmitt circuit. 5.根据权利要求4所述的去抖动电路,其特征在于:所述数据选择器由输出脉冲进行数据选择控制的具体方法是,当数据选择器输出信号与正向抗干扰施密特电路输入信号之间为同相关系、数据选择器输出信号与反向抗干扰施密特电路输入信号之间为反相关系时,输出脉冲的低电平控制数据选择器选择正向抗干扰施密特电路的输出信号送到数据选择器的输出端,高电平控制数据选择器选择反向抗干扰施密特电路的输出信号送到数据选择器的输出端;当数据选择器输出信号与正向抗干扰施密特电路输入信号之间为反相关系、数据选择器输出信号与反向抗干扰施密特电路输入信号之间为同相关系时,输出脉冲的低电平控制数据选择器选择反向抗干扰施密特电路的输出信号送到数据选择器的输出端,高电平控制数据选择器选择正向抗干扰施密特电路的输出信号送到数据选择器的输出端。5 . The de-jitter circuit according to claim 4 , wherein the specific method for the data selector to perform data selection control by output pulses is when the data selector output signal is input to the forward anti-interference Schmitt circuit. 6 . When there is an in-phase relationship between the signals and an inverse relationship between the output signal of the data selector and the input signal of the reverse anti-jamming Schmitt circuit, the low level of the output pulse controls the data selector to select the forward anti-jamming Schmitt circuit. The output signal of the circuit is sent to the output end of the data selector, and the high level controls the data selector to select the output signal of the reverse anti-interference Schmitt circuit to the output end of the data selector; When the input signal of the anti-jamming Schmitt circuit is in an in-phase relationship, and the output signal of the data selector and the input signal of the reverse anti-jamming Schmitt circuit are in the same phase relationship, the low level of the output pulse controls the selection of the data selector. The output signal of the reverse anti-jamming Schmitt circuit is sent to the output end of the data selector, and the high level controls the data selector to select the output signal of the forward anti-jamming Schmitt circuit to the output end of the data selector. 6.根据权利要求1-5中任一项所述的去抖动电路,其特征在于:能够过滤的正窄脉冲宽度通过改变正向充电时间来进行控制,能够过滤的负窄脉冲宽度通过改变反向充电时间来进行控制。6. The debounce circuit according to any one of claims 1 to 5, wherein the filterable positive narrow pulse width is controlled by changing the forward charging time, and the filterable negative narrow pulse width is controlled by changing the negative pulse width. Control the charging time. 7.根据权利要求6所述的去抖动电路,其特征在于:所述正向充电时间通过改变正向电流驱动器的流出驱动电流大小或者正向抗干扰电容的大小来进行控制;所述反向充电时间通过改变反向电流驱动器的流出驱动电流大小或者反向抗干扰电容的大小来进行控制。7 . The debounce circuit according to claim 6 , wherein the forward charging time is controlled by changing the magnitude of the outgoing drive current of the forward current driver or the magnitude of the forward anti-interference capacitor; the reverse The charging time is controlled by changing the size of the outgoing drive current of the reverse current driver or the size of the reverse anti-interference capacitor. 8.根据权利要求6所述的去抖动电路,其特征在于:所述正向抗干扰施密特电路和反向抗干扰施密特电路均具有高输入阻抗特性。8 . The de-jitter circuit according to claim 6 , wherein the forward anti-jamming Schmitt circuit and the reverse anti-jamming Schmitt circuit have high input impedance characteristics. 9 .
CN201610421566.0A 2016-06-15 2016-06-15 De-jittering circuit Active CN106067790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610421566.0A CN106067790B (en) 2016-06-15 2016-06-15 De-jittering circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610421566.0A CN106067790B (en) 2016-06-15 2016-06-15 De-jittering circuit

Publications (2)

Publication Number Publication Date
CN106067790A CN106067790A (en) 2016-11-02
CN106067790B true CN106067790B (en) 2021-09-14

Family

ID=57421325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610421566.0A Active CN106067790B (en) 2016-06-15 2016-06-15 De-jittering circuit

Country Status (1)

Country Link
CN (1) CN106067790B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353504A (en) * 2000-11-10 2002-06-12 日本电气株式会社 Clock interruption detection circuit
CN101093983A (en) * 2006-06-21 2007-12-26 夏普株式会社 Comparing circuit and infrared receiver
CN103312130A (en) * 2013-07-01 2013-09-18 湖南工业大学 Bidirectional thyristor trigger circuit and method
CN104113326A (en) * 2013-09-29 2014-10-22 西安电子科技大学 Multiphase clock generation circuit with programmable function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7944245B2 (en) * 2008-12-18 2011-05-17 Stmicroelectronics Pvt. Ltd. Pulse filtering module circuit, system, and method
US9647476B2 (en) * 2014-09-16 2017-05-09 Navitas Semiconductor Inc. Integrated bias supply, reference and bias current circuits for GaN devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353504A (en) * 2000-11-10 2002-06-12 日本电气株式会社 Clock interruption detection circuit
CN101093983A (en) * 2006-06-21 2007-12-26 夏普株式会社 Comparing circuit and infrared receiver
CN103312130A (en) * 2013-07-01 2013-09-18 湖南工业大学 Bidirectional thyristor trigger circuit and method
CN104113326A (en) * 2013-09-29 2014-10-22 西安电子科技大学 Multiphase clock generation circuit with programmable function

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Evaluation on State of Charge Estimation of Batteries With Adaptive Extended Kalman Filter by Experiment Approach";Rui Xiong等;《IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY》;20130131;第62卷(第1期);108-117 *
"一种模/数混合型FIR噪声滤波器设计";易鸿;《现代电子技术》;20110915;第34卷(第18期);165-169 *

Also Published As

Publication number Publication date
CN106067790A (en) 2016-11-02

Similar Documents

Publication Publication Date Title
KR101685436B1 (en) Low-power, low-latency power-gate apparatus and method
CN106130516B (en) Mechanical switch debounce circuit
CN106067789B (en) Anti-shake circuit
WO2020041113A1 (en) Delay cell
JPH04227321A (en) Output buffer circuit conducting output voltage detection for reducing switching- induced noise
JPH053767B2 (en)
JPH08181591A (en) Power-on reset circuit
JPH06244706A (en) Input buffer with compensated low-pass filter net
CN105958980B (en) Narrow pulse filter circuit
KR101658211B1 (en) Pulse width filter
US4730131A (en) Input signal conditioning circuit
CN106067790B (en) De-jittering circuit
CN106100614B (en) Key debounce circuit
CN203775016U (en) Self-locking high-end driving circuit
JP4137339B2 (en) Output buffer circuit and semiconductor device
CN105857770B (en) Packaging counts sensing device
CN106067788B (en) High-frequency interference filtering circuit
JPH08321757A (en) Noise attenuation output buffer
CN105958977B (en) Narrow pulse filtering method
JP2019503157A (en) Brushless DC motor protection circuit and control device
CN205681387U (en) A narrow pulse filter circuit
JP3899472B2 (en) Output buffer circuit with preset function
CN109495093A (en) The suppression circuit of a kind of electronic equipment and its dash current
CN203840320U (en) Peripheral circuit for main control circuit
CN116436132B (en) Charging circuit and charging method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230522

Address after: 230000 Room 203, building 2, phase I, e-commerce Park, Jinggang Road, Shushan Economic Development Zone, Hefei City, Anhui Province

Patentee after: Hefei Jiuzhou Longteng scientific and technological achievement transformation Co.,Ltd.

Address before: 412007 Hunan University of Technology Taishan 88 West Road, Hunan University of Technology, Hunan Institute of industry, education and research

Patentee before: HUNAN University OF TECHNOLOGY

Effective date of registration: 20230522

Address after: 518000 511, Building C, Shenzhen Qianwan Hard Technology Industrial Park, Nanchang Community, Xixiang Street, Bao'an District, Shenzhen, Guangdong

Patentee after: SHENZHEN HANHONDA ELECTRONIC TECHNOLOGY Co.,Ltd.

Address before: 230000 Room 203, building 2, phase I, e-commerce Park, Jinggang Road, Shushan Economic Development Zone, Hefei City, Anhui Province

Patentee before: Hefei Jiuzhou Longteng scientific and technological achievement transformation Co.,Ltd.