JPS62272713A - Input circuit - Google Patents
Input circuitInfo
- Publication number
- JPS62272713A JPS62272713A JP61114700A JP11470086A JPS62272713A JP S62272713 A JPS62272713 A JP S62272713A JP 61114700 A JP61114700 A JP 61114700A JP 11470086 A JP11470086 A JP 11470086A JP S62272713 A JPS62272713 A JP S62272713A
- Authority
- JP
- Japan
- Prior art keywords
- flip
- output
- input
- gate
- flop
- 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.)
- Pending
Links
- 230000007257 malfunction Effects 0.000 abstract description 3
- 230000002401 inhibitory effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 244000145845 chattering Species 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
【発明の詳細な説明】
五 発明の詳細な説明
〔産業上の利用分野〕
゛この発明は、電子装置の入力部として用いられる入力
回路に関する。Detailed Description of the Invention V. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an input circuit used as an input section of an electronic device.
第4図に示すように、電子装置10には入力部がつきも
のであるが、この入力部にはノイズがのったり、または
機械式スイッチを用いるものではチャツタリング等のた
め、入力信号が同図にA。As shown in FIG. 4, the electronic device 10 is equipped with an input section, but this input section has noise or chattering in the case of a device using a mechanical switch, so that the input signal is To A.
Bで示すように乱れることがしばしば生じる。このため
、通常はアナログフィルタや積分器またはワンショット
マルチ等を用いて対処するようにしている。Disturbances as shown in B often occur. For this reason, an analog filter, an integrator, a one-shot multifunction device, or the like is usually used to deal with this problem.
しかしながら、上記の如き方法では、第4図にBで示す
ようにノイズのパルス幅が大きくなると時定数の大きな
ものが必要となって高価になるばかりでなく、遅れ時間
が大きくなって実用にならなく々ると云う問題が生じる
。However, with the above method, as the pulse width of the noise increases as shown by B in Figure 4, a device with a large time constant is required, which not only makes it expensive, but also increases the delay time, making it impractical. The problem arises that it is not enough.
したがって、この発明はノイズやチャツタリングに強い
入力回路を提供することを目的とする。Therefore, an object of the present invention is to provide an input circuit that is resistant to noise and chatter.
少なくとも2個以上の7リツプフロツプを縦続接続して
構成され外部からの入力信号を基準クロック信号に同期
して順次読込むフリップ7μツプ群と、このフリップフ
ロップの各出力を導入してその一致を検出するイクスク
ルーシブノアゲートと、このゲートから所定の出力が得
られたときのみセットまたはリセットされるフリップフ
ロップとを設ける。A flip-flop group consisting of at least two or more 7-lip-flops connected in series and sequentially reading input signals from the outside in synchronization with a reference clock signal, and each output of this flip-flop are introduced to check their coincidence. An exclusive NOR gate for detection and a flip-flop that is set or reset only when a predetermined output is obtained from this gate are provided.
上記フリップフロップ群により入力信号をクロックに同
期して読込むに当たり、入力信号が2回以上連続して同
じ値でないとその値を後段の回路に伝達しないようにす
ることにより、クロックの1周期よりも短い幅の信号、
すなわちノイズ等を阻止し誤動作の回避を図る。When the input signal is read in synchronization with the clock by the above flip-flop group, the value is not transmitted to the subsequent circuit unless the input signal has the same value two or more times in a row. Also a short width signal,
In other words, noise and the like are blocked to avoid malfunctions.
第1図はこの発明の実施例を示す構成図である。 FIG. 1 is a block diagram showing an embodiment of the present invention.
同図において、1.2はD形フリップフロップ(以下、
単にD−FFとも略記する。)で、基準クロックφの例
えば立ち上がりでD端子に入力されている信号を記憶す
る。勿論、D−FF1,2は基準クロックφの立ち下が
りで動作するタイプのものも使用可能である。3はイク
スクルーシブノアゲートで、その入力でらるD−FFの
出力Q1sQ2の値が等しいと*(Ql、Ql−1、ま
たはQl。In the same figure, 1.2 is a D-type flip-flop (hereinafter referred to as
It is also simply abbreviated as D-FF. ), the signal input to the D terminal at the rising edge of the reference clock φ, for example, is stored. Of course, it is also possible to use D-FFs 1 and 2 that operate at the falling edge of the reference clock φ. 3 is an exclusive NOR gate, and if the values of the outputs Q1sQ2 of the D-FF input to it are equal, *(Ql, Ql-1, or Ql).
Qz−0)紘″1#を、また等しくないときは60″′
をそれぞれ出力する。4はインバータゲート、5.6は
ナントゲートである。7はリセットセラ) (R8)フ
リップフロップで、こ〜ではS入力。Qz-0) Hiro"1#, or 60"' if unequal
Output each. 4 is an inverter gate, and 5.6 is a Nant gate. 7 is a reset cell) (R8) Flip-flop, this is the S input.
n入力がそれぞれ″0′のときに状態を変えるタイプの
ものとするが、′1”のときに状態を変えるタイプのも
のでも良く、その場合はナントゲート5,6はアンドゲ
ートに置き換えられる。Although the type that changes the state when each n input is "0" is used, it may be of the type that changes the state when each input is "1". In that case, the Nant gates 5 and 6 are replaced with AND gates.
@2図は第1図の動作を説明するためのタイムチャート
である。いま、りpツク信号φおよび入力信号Vlnが
それぞれ同図(イ)、(0)の如く示されるものとする
と、D−FF1,2の出力Q1゜Qlはそれぞれ同図(
ハ)、 (ニ)の如くなる。@Figure 2 is a time chart for explaining the operation of Figure 1. Now, assuming that the ripple signal φ and the input signal Vln are shown as shown in (A) and (0) in the same figure, respectively, the outputs Q1 and Ql of D-FF1 and D-FF2 are as shown in the figure (A) and (0), respectively.
c), (d).
そして、D−FF1,2の出力が一致しない場合は、イ
クスクルーシブノアゲート3の出力Qcは同図(ホ)の
如く″0#となり、その結果ナントゲート5.6の出力
は必ず″1″となるため、フリップフロップ7の出力V
ln’は不変であり、以前の状態をそのま〜保持する。If the outputs of D-FF1 and D-FF2 do not match, the output Qc of the exclusive NOR gate 3 becomes "0#" as shown in the figure (E), and as a result, the output of the Nant gate 5.6 is always "1". '', so the output V of flip-flop 7 is
ln' is unchanged and maintains its previous state.
これに対し、 D −FFi、2の出力が一致すると、
イクスクルーシブノアゲート6の出力Q0は11”とな
り、この場合はD−FF2の出力Q2のul”または1
0”によりフリップフロップ7のS入力また紘R入力が
′0″となり、その出力Vin’がこれに応じて変更ま
たは以前の状態を保持することになる。なお、同図(へ
)、())および(チ)はそれぞれフリップフロップ7
のS入力信号、n入力信号および出力信号Vin’を示
している。On the other hand, if the outputs of D -FFi,2 match,
The output Q0 of the exclusive NOR gate 6 is 11", and in this case, the output Q2 of the D-FF2 is ul" or 1
0'' causes the S input or the R input of the flip-flop 7 to become '0'', and its output Vin' changes accordingly or maintains its previous state. In addition, (f), ()) and (c) in the same figure are flip-flops 7, respectively.
The S input signal, the n input signal, and the output signal Vin' are shown.
したがって、この実施例ではクロックφの立ち上がりエ
ツジを2回以上含むような時間幅をもつ信号が入力され
ない限り、イクスクルーシブノアゲート3の出力Qcが
@1”となることはなく、フリップフロップ7の状態は
変更されない。つまり、イクスクルーシブノアゲート3
の出力Q0をフリップ70ツブ7のセット、リセットの
コントロール信号として用いることにより、ノイズ等の
阻止を図るものと云うことができる。このようにして、
フリップフロップ7の出力からはノイズ等を除去した信
号が得られるので、これを後段の回路へ導くことにより
、回路の誤動作を回避することができる。Therefore, in this embodiment, unless a signal having a time width including two or more rising edges of clock φ is input, the output Qc of the exclusive NOR gate 3 will not become @1'', and the flip-flop 7 The state of Exclusive Noah Gate 3 remains unchanged.
By using the output Q0 of the flip 70 as a control signal for setting and resetting the knob 7 of the flip 70, noise and the like can be prevented. In this way,
Since a signal from which noise and the like have been removed is obtained from the output of the flip-flop 7, malfunction of the circuit can be avoided by guiding this signal to the subsequent circuit.
以上ではD−FFの段数を2段としたが、一般的にはこ
れをn(n≧2なる整数)段とし、また広−のイクスク
ルーシブノアゲートとして例えば第3図の如きものを用
い、このゲートに全てのD−FFの出力を入力するよう
にすれば、(n−1)倍のクロック幅よりも短い時間幅
をもつノイズをカットすることができる。なお、第3図
はイクスクルーシブノアゲートの一例を示す回路図であ
り、これについて補足すれば次のとおりで娶る。In the above, the number of stages of the D-FF is set to two, but generally it is set to n stages (n≧2, an integer), and a wide exclusive NOR gate, such as the one shown in Fig. 3, is used. By inputting the outputs of all D-FFs to this gate, it is possible to cut out noise having a time width shorter than (n-1) times the clock width. It should be noted that FIG. 3 is a circuit diagram showing an example of an exclusive NOR gate, and the supplementary information regarding this is as follows.
すなわち、このイクスクルーシブノアゲートはn入力ア
ンドゲート:5a、n入カッアゲート3bおよび2人力
オアゲート5Cから構成される。アンドゲート3aおよ
びノアグー)5bにはn個のD−FFの出力Q 1s
Q 2・・・・・・Qnが入力され、アンドグー)5a
tjn入力が全て@″11の場合だけその出力が1″と
なり、ノアグー)5bはn入力が全て0″のときだけそ
の出力が″1”となるので、オアグー)5CからはQt
a Q2・・・・・・Qnが全て等しくなったとき(
一致したとき)だけ11′なる出力が得られるととにな
る。That is, this exclusive NOR gate is composed of an n-input AND gate 5a, an n-input COR gate 3b, and a two-man OR gate 5C. AND gate 3a and NOAG) 5b has n D-FF output Q 1s
Q2...Qn is input, and goo) 5a
The output is 1'' only when all tjn inputs are 11, and the output of 5b is 1 only when all n inputs are 0, so from 5C, Qt
a Q2... When all Qn are equal (
Only when there is a match), an output of 11' is obtained.
なお、上記のD−FF’はクロックに同期して動作する
ものならば如何なるタイプのものでも良いことは云う迄
もない。It goes without saying that the D-FF' mentioned above may be of any type as long as it operates in synchronization with the clock.
この発明によれば、基準クロック信号に同期して動作す
る複数のフリップ7四ツブとイクスクルーシブノアゲー
トとを用いて、少力くとも基準クロック信号の周期より
も短い時間幅をもつ信号を次段の回路へ伝達しないよう
にしたので、ノイズやチャックリング等による鴎動作を
回避することができ、信頼性の高い入力回路を提供し得
る利点かも九らされる。According to this invention, by using a plurality of flips 7 and an exclusive NOR gate that operate in synchronization with a reference clock signal, a signal having a time width at least shorter than the period of the reference clock signal is generated. Since the signal is not transmitted to the next-stage circuit, it is possible to avoid noise, chuckling, etc., and the advantage of providing a highly reliable input circuit is also increased.
第1図は仁の発明の実施例を示す構成図、第2図は第1
図の動作を説明するだめのタイムチャート、第3図は広
義のイクスクルーシブノアゲートの一例を示す回路図、
第4図は従来例をg明する丸めの説明図である。
符号説明
1.2・・・・・・D形フリップフロップ、3・・・・
・・イクスクルーシプノアグー)、3a・・・・・・n
入カアンドグート、3b・・・・・・n入カッアゲート
、3c・・・・・・オアゲート、4・・・・・・インバ
ータゲート、5.6・・曲ナントゲート、7・・・・・
・フリップフロップ、10・・・・・・電子装置。
代理人 弁理士 並 木 昭 夫
代理人 弁理士 松 崎 清
Il1図
≠
剪 2図
申Vl:W’
−第 3 図
第41!l
(イ)Figure 1 is a block diagram showing an embodiment of Jin's invention, and Figure 2 is a block diagram showing the embodiment of Jin's invention.
Figure 3 is a circuit diagram showing an example of an exclusive NOR gate in a broad sense.
FIG. 4 is an explanatory diagram of rounding to illustrate a conventional example. Symbol explanation 1.2...D type flip-flop, 3...
・・Exclusipnoag)、3a・・・・・・n
Input power and gut, 3b...n entry gate, 3c...or gate, 4...inverter gate, 5.6...song nant gate, 7...
・Flip-flop, 10...Electronic device. Agent Patent Attorney Akio Namiki Agent Patent Attorney Kiyoshi Matsuzaki Figure 1 ≠ Figure 2 Figure Vl: W'
-Figure 3 Figure 41! l (a)
Claims (1)
構成され外部からの入力信号を基準クロック信号に同期
して順次読込むフリップフロップ群と、 該フリップフロップの各出力を導入してその一致を検出
するイクスクルーシブノアゲートと、該ゲートから所定
の出力が得られたときのみセットまたはリセットされる
フリップフロップと、を備え、少なくとも前記基準クロ
ック信号の周期よりも短い時間幅をもつ入力信号を阻止
することを特徴とする入力回路。[Claims] Introducing a group of flip-flops configured by cascading at least two flip-flops and sequentially reading external input signals in synchronization with a reference clock signal, and each output of the flip-flops. and a flip-flop that is set or reset only when a predetermined output is obtained from the gate, and has a time width shorter than at least the period of the reference clock signal. An input circuit characterized in that it blocks an input signal that has an input signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61114700A JPS62272713A (en) | 1986-05-21 | 1986-05-21 | Input circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61114700A JPS62272713A (en) | 1986-05-21 | 1986-05-21 | Input circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62272713A true JPS62272713A (en) | 1987-11-26 |
Family
ID=14644435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61114700A Pending JPS62272713A (en) | 1986-05-21 | 1986-05-21 | Input circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62272713A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007036820A (en) * | 2005-07-28 | 2007-02-08 | Yamaha Corp | Noise removing circuit |
-
1986
- 1986-05-21 JP JP61114700A patent/JPS62272713A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007036820A (en) * | 2005-07-28 | 2007-02-08 | Yamaha Corp | Noise removing circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62272713A (en) | Input circuit | |
EP0130293B1 (en) | Latching circuit array of logic gates | |
US6434588B1 (en) | Binary counter with low power consumption | |
US3544773A (en) | Reversible binary coded decimal synchronous counter circuits | |
EP0186866B1 (en) | Majority circuit | |
US4399549A (en) | Odd number frequency division with symmetrical output | |
US3137789A (en) | Digital comparator | |
US7453293B2 (en) | High frequency divider state correction circuit | |
US4736395A (en) | Logic circuit having a test data loading function | |
EP0875092A1 (en) | Logic circuits | |
JPH04101535A (en) | Interface circuit | |
US3562551A (en) | Unit distance counter | |
KR930004269B1 (en) | 4-bit counter having serial input | |
JP2548340B2 (en) | Chattering removal circuit | |
SU1056180A1 (en) | Device for comparing parallel codes of numbers | |
KR0142792B1 (en) | Data interpolation circuit | |
JPS60236326A (en) | Variable frequency dividing device | |
JPH03216727A (en) | N-bit comparator | |
JPH0779247B2 (en) | Decode circuit | |
JPS60120617A (en) | Digital variable dividing circuit | |
JPH01101736A (en) | Input circuit | |
JPS58206236A (en) | Asynchronous down-counter | |
JPH04243316A (en) | Start timing setting changeover system for pulse signal | |
JPH035804A (en) | Chattering prevention circuit | |
JPS621326A (en) | Data latch circuit |