JPH0756619B2 - Input noise detection circuit - Google Patents
Input noise detection circuitInfo
- Publication number
- JPH0756619B2 JPH0756619B2 JP60105037A JP10503785A JPH0756619B2 JP H0756619 B2 JPH0756619 B2 JP H0756619B2 JP 60105037 A JP60105037 A JP 60105037A JP 10503785 A JP10503785 A JP 10503785A JP H0756619 B2 JPH0756619 B2 JP H0756619B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- latch circuit
- data
- output
- 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.)
- Expired - Lifetime
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
- Manipulation Of Pulses (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、データが“1"の時一定周期パルス列、データ
が“0"の時ハイレベルまたはロウレベルとなるデータ信
号を入力とするシステムの入力ノイズ検出回路に関する
ものである。Description: TECHNICAL FIELD The present invention relates to an input noise of a system in which a constant-period pulse train is used when data is “1” and a data signal that is high level or low level when data is “0” is input. The present invention relates to a detection circuit.
従来の技術 従来、この種の入力ノイズ検出回路は第5図のようにキ
ーマトリクス使用回路において、キーマトリクス出力に
R−Sフリップフロップを接続するだけであった。第5
図の場合、キーマトリクス出力信号にチャタリングによ
る影響が出ても、R−Sフリップフロップが一度セット
されれば、その出力は“1"となるのでデータ信号による
チャタリングの影響は出ない。またR−Sフリップフロ
ップは適時システムからのリセット信号によってリセッ
トされる。前記のように従来はチャタリング防止をする
だけのものであった。2. Description of the Related Art Conventionally, in this type of input noise detection circuit, an RS flip-flop is simply connected to the key matrix output in the key matrix using circuit as shown in FIG. Fifth
In the case of the figure, even if the key matrix output signal is affected by chattering, once the RS flip-flop is set, its output becomes "1", and therefore the chattering effect by the data signal is not exerted. Also, the RS flip-flop is reset by a reset signal from the system at appropriate times. As described above, conventionally, it is only to prevent chattering.
発明が解決しようとする問題点 このように従来の構成では、チャタリング防止は可能で
あるが、その他に入力信号にノイズが乗っていた場合、
システムがノイズをデータと誤認識し、誤動作を起こす
可能性があった。本発明はこのような問題点を解決する
もので、入力ノイズによる誤動作を防止することを目的
とするものである。Problems to be Solved by the Invention In the conventional configuration as described above, it is possible to prevent chattering, but if noise is added to the input signal,
The system may mistakenly recognize noise as data and cause a malfunction. The present invention solves such a problem, and an object thereof is to prevent malfunction due to input noise.
問題点を解決するための手段 この問題点を解決するために本発明は、システムリセッ
ト後、データが“1"の時、一定周期のm個のパネル列を
入力データ信号とし、データが“0"の時ハイレベルまた
はロウレベルを入力データ信号とする第1ラッチ回路と
nパルス目(m≧n)のタイミングでデータ信号をラッ
チする第2ラッチ回路と前記nパルス目のタイミング
で、データ信号を、第2ラッチ回路にラッチするための
ロード信号と前記ロード信号以後、前記第1ラッチ回路
出力及び第2ラッチ回路出力との比較結果をチェックす
るタイミング信号を作る第1論理回路と前記2つの第1
ラッチ回路及び第2ラッチ回路の出力を比較する比較器
と前記比較器の結果より第1ラッチ回路及び第2ラッチ
回路の出力が異なった場合、前記第1ラッチ回路がラッ
チした“1"データをノイズと判定し、チェック信号のタ
イミングでシステムリセット信号を作り、第1ラッチ回
路及び第2ラッチ回路の出力が一致した場合、前記第1
ラッチ回路がラッチした“1"データを正常な入力信号と
判定して、“1"データを保持することを判別する第2論
理回路と前記第2論理回路がシステムリセット信号を出
力した場合またはシステムがリセット信号を出力した場
合、第1ラッチ回路、第2ラッチ回路、第1論理回路お
よびシステムをリセットするリセット回路で構成したも
のである。Means for Solving the Problems In order to solve this problem, according to the present invention, when the data is “1” after system reset, m panel rows of a constant cycle are used as input data signals, and the data is “0”. , A first latch circuit that uses a high level or a low level as an input data signal and a second latch circuit that latches the data signal at the timing of the nth pulse (m ≧ n) and the data signal at the timing of the nth pulse. A first logic circuit for generating a timing signal for checking a comparison result between the load signal for latching in the second latch circuit and the output of the load signal and the output of the second latch circuit after the load signal; 1
When the outputs of the first latch circuit and the second latch circuit are different from the result of the comparator comparing the outputs of the latch circuit and the second latch circuit, the "1" data latched by the first latch circuit is output. If it is determined that the noise occurs, a system reset signal is generated at the timing of the check signal, and the outputs of the first latch circuit and the second latch circuit match, the first
When the "1" data latched by the latch circuit is judged to be a normal input signal and the second logic circuit for judging whether to hold the "1" data and the second logic circuit output the system reset signal, or the system When it outputs a reset signal, the reset circuit resets the first latch circuit, the second latch circuit, the first logic circuit, and the system.
作用 この構成により、システムリセット後ラッチした“1"デ
ータと“1"データラッチ後n発目のタイミングでラッチ
したデータ信号を比較し、比較結果が異なった場合、前
記第1ラッチ回路がラッチした“1"データをノイズとし
て判定し、システムリセット信号によってシステムをリ
セットする。また比較結果が一致した場合、前記第1ラ
ッチ回路がラッチした“1"データを正常と判定してシス
テムをリセットしない。With this configuration, the "1" data latched after the system reset is compared with the data signal latched at the nth timing after the "1" data latch, and when the comparison result is different, the first latch circuit latches the data. Judge "1" data as noise and reset the system by the system reset signal. If the comparison results are in agreement, the "1" data latched by the first latch circuit is judged to be normal and the system is not reset.
実施例 第1図は本発明の一実施例による入力ノイズ検出回路の
ブロック図である。ブロックは、一定周期のm個のパル
ス列のデータ信号が入力される第1ラッチ回路1、前記
第1ラッチ回路1の出力とクロック信号とを入力し、ロ
ード信号とチェック信号とを作る第1論理回路2、前記
ロード信号で機能する第2ラッチ回路3、前記第1ラッ
チ回路1及び第2ラッチ回路3の各出力を比較する比較
器4、その比較結果を前記チェック信号のタイミング
で、機能する第2論理回路5および前記第1ラッチ回路
1、第2ラッチ回路3、第1論理回路2のそれぞれをリ
セットするリセット回路6をそなえ、同リセット回路6
はシステム7からの信号で機能するものである。第2図
は本発明の一実施例による入力ノイズ検出回路の具体的
ロジック回路図である。第3図は本回路構成に正常な信
号が入力された場合のタイミングチャートを示す。第3
図で、データ信号の1,2,3パルス目が“1"データであっ
た場合、システムリセット後1パルス目の“1"データに
よって第1ラッチ回路(R−Sフリップフロップ8)が
セットされ、その出力Aは“1"となる。第1論理回路
(ANDゲート14,15、リセット付Tフリップフロップ16〜
18,ORゲート19)によって作られたデータ信号の2パル
ス目をラッチするためのロード信号によって、データ信
号の2パルス目の“1"データを第2ラッチ回路(インバ
ータ10,NORゲート11,R−Sフリップフロップ9)がラッ
チし、出力Bは“1"となる。前記第1及び第2ラッチ回
路出力A,Bを比較器(EXORゲート12)で比較し、比較結
果を第2論理回路(ANDゲート13)で、前記第1論理回
路で作られたチェック信号のタイミングでチェックす
る。この場合、第1ラッチ回路出力A及び第2ラッチ回
路出力Bが、それぞれ“1"と一致しているためデータ信
号を正常と判定して前記第2論理回路(ANDゲート13)
はシステムリセット信号を出力しない。Embodiment 1 FIG. 1 is a block diagram of an input noise detection circuit according to an embodiment of the present invention. The block inputs a first latch circuit 1 to which a data signal of m pulse trains having a constant cycle is input, a first logic which inputs the output of the first latch circuit 1 and a clock signal, and generates a load signal and a check signal. A circuit 2, a second latch circuit 3 that functions with the load signal, a comparator 4 that compares the outputs of the first latch circuit 1 and the second latch circuit 3, and the comparison result functions at the timing of the check signal. The reset circuit 6 includes a second logic circuit 5 and a reset circuit 6 for resetting the first latch circuit 1, the second latch circuit 3, and the first logic circuit 2, respectively.
Is a function of the signal from the system 7. FIG. 2 is a specific logic circuit diagram of the input noise detection circuit according to the embodiment of the present invention. FIG. 3 shows a timing chart when a normal signal is input to this circuit configuration. Third
In the figure, if the first, second and third pulses of the data signal are "1" data, the first latch circuit (RS flip-flop 8) is set by the "1" data of the first pulse after system reset. , Its output A becomes "1". First logic circuit (AND gates 14 and 15, reset T flip-flop 16 to
18, OR gate 19) loads the second pulse of the data signal to the second latch circuit (inverter 10, NOR gate 11, R) by the load signal for latching the second pulse of the data signal. The S flip-flop 9) latches, and the output B becomes "1". The outputs of the first and second latch circuits A and B are compared by a comparator (EXOR gate 12), and the comparison result is checked by a second logic circuit (AND gate 13) of the check signal generated by the first logic circuit. Check at the timing. In this case, since the first latch circuit output A and the second latch circuit output B match "1" respectively, the data signal is judged to be normal and the second logic circuit (AND gate 13)
Does not output the system reset signal.
次に、データ信号の1,2,3パルス目が“0"データであっ
た場合、つまりデータ信号がロウレベル固定の場合にお
いて、システムリセット後、仮に1パルス目にノイズ発
生によって“1"データが生じた場合のタイミングチャー
トを第4図に示す、前記第1ラッチ回路1はセットさ
れ、その出力Aは“1"となる。2パルス目は“0"データ
であるため前記第2ラッチ回路3はセットされず、その
出力Bは“0"である。前記第1及び第2ラッチ回路の出
力結果が異なっているため、ノイズと判定して前記第2
論理回路5はシステムリセット信号を出力する。またシ
ステムリセット信号はリセット回路(ORゲート20)を介
して、前記第1及び第2ラッチ回路、第1論理回路をリ
セットする。Next, if the 1st, 2nd, and 3rd pulses of the data signal are "0" data, that is, if the data signal is fixed at the low level, after the system reset, "1" data is temporarily generated due to noise occurrence in the 1st pulse. A timing chart in the case of occurrence is shown in FIG. 4. The first latch circuit 1 is set and its output A becomes "1". Since the second pulse is "0" data, the second latch circuit 3 is not set and its output B is "0". Since the output results of the first and second latch circuits are different, it is determined that the noise occurs and the second
The logic circuit 5 outputs a system reset signal. The system reset signal resets the first and second latch circuits and the first logic circuit via the reset circuit (OR gate 20).
なお、データ信号をハイレベル固定にすることは、第2
図の実施例の回路では避けなければならない。それは前
記第1及び第2ラッチ回路がハイレベルをラッチしてし
まい、ノイズ検出という機能を全く失ってしまうからで
ある。Note that fixing the data signal at the high level is the second
It must be avoided in the circuit of the illustrated embodiment. This is because the first and second latch circuits latch the high level and completely lose the function of noise detection.
第2〜4図に示す実施例は正論理で説明しているが、第
2図のロジック構成を負論理に変更すれば、各入力パタ
ーンを負極性に変えることができる。Although the embodiments shown in FIGS. 2 to 4 are described in the positive logic, each input pattern can be changed to the negative polarity by changing the logic configuration in FIG. 2 to the negative logic.
発明の効果 以上のように本発明によれば、入力データ信号がノイズ
によって異常が生じていても、システムの誤動作を防止
できるという効果が得られる。EFFECTS OF THE INVENTION As described above, according to the present invention, it is possible to prevent the malfunction of the system even if the input data signal is abnormal due to noise.
第1図は本発明の一実施例による入力ノイズ検出、シス
テムリセット回路を示すブロック図、第2図は一実施例
による入力ノイズ検出回路を示すロジック構成図、第3
図は正常な入力信号時を示すタイミングチャート図、第
4図は異常な入力信号時を示すタイミングチャート図、
第5図は従来の技術を示す回路図である。 1……第1ラッチ回路、2……第1論理回路、3……第
2ラッチ回路、4……比較器、5……第2論理回路、6
……リセット回路、7……システム、8,9……R−Sフ
リップフロップ、10……インバータ、11……NORゲー
ト、12……EXORゲート、13〜15……ANDゲート、16〜18
……リセット付Tフリップフロップ、19,20……ORゲー
ト、21……システム。FIG. 1 is a block diagram showing an input noise detection and system reset circuit according to an embodiment of the present invention, FIG. 2 is a logic configuration diagram showing an input noise detection circuit according to an embodiment, and FIG.
FIG. 4 is a timing chart showing a normal input signal, FIG. 4 is a timing chart showing an abnormal input signal,
FIG. 5 is a circuit diagram showing a conventional technique. 1 ... 1st latch circuit, 2 ... 1st logic circuit, 3 ... 2nd latch circuit, 4 ... comparator, 5 ... 2nd logic circuit, 6
...... Reset circuit, 7 ... System, 8,9 ... RS flip-flop, 10 ... Inverter, 11 ... NOR gate, 12 ... EXOR gate, 13-15 ... AND gate, 16-18
...... T flip-flop with reset, 19,20 …… OR gate, 21 …… System.
フロントページの続き (56)参考文献 特開 昭58−96335(JP,A) 実開 昭56−109148(JP,U) 実開 昭59−192744(JP,U)Continuation of the front page (56) References JP-A-58-96335 (JP, A) Actual opening 56-109148 (JP, U) Actual opening 59-192744 (JP, U)
Claims (1)
て入力する第1ラッチ回路と、 前記パルス列のnパルス目(mn)のデータ信号をラ
ッチする第2ラッチ回路と、 前記第1ラッチ回路の出力と前記第2ラッチ回路の出力
とを比較する比較器と、 前記nパルス目のタイミングで、データ信号を前記第2
ラッチ回路にラッチするためのロード信号と、このロー
ド信号以後、前記比較器の出力をチェックするタイミン
グ信号と、をつくる第1論理回路と、 前記比較器が、前記両ラッチ回路の出力が異なると判定
したとき、前記タイミング信号でシステムセット信号を
つくる第2論理回路と、 前記第2論理回路がシステムリセット信号を出力したと
き、またはシステムがリセット信号を出力したとき、前
記第1ラッチ回路、前記第2ラッチ回路、前記第1論理
回路および前記システムをリセットするリセット回路
と、 を有する入力ノイズ検出回路。1. A first latch circuit for inputting m pulses having a constant cycle as a data signal, a second latch circuit for latching an nth pulse (mn) data signal of the pulse train, and the first latch circuit. Comparator for comparing the output of the second latch circuit with the output of the second latch circuit, and a data signal for the second signal at the timing of the n-th pulse.
A first logic circuit for generating a load signal for latching in a latch circuit and a timing signal for checking the output of the comparator after the load signal; and when the comparator outputs different outputs from the both latch circuits. A second logic circuit that produces a system set signal based on the timing signal when the determination is made, and the first latch circuit and the second logic circuit output a system reset signal or a system reset signal. An input noise detection circuit including a second latch circuit, the first logic circuit, and a reset circuit that resets the system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60105037A JPH0756619B2 (en) | 1985-05-17 | 1985-05-17 | Input noise detection circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60105037A JPH0756619B2 (en) | 1985-05-17 | 1985-05-17 | Input noise detection circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61262911A JPS61262911A (en) | 1986-11-20 |
| JPH0756619B2 true JPH0756619B2 (en) | 1995-06-14 |
Family
ID=14396809
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60105037A Expired - Lifetime JPH0756619B2 (en) | 1985-05-17 | 1985-05-17 | Input noise detection circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0756619B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01169501A (en) * | 1987-12-23 | 1989-07-04 | Hioki Ee Corp | Switch signal reader |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS56109148U (en) * | 1980-01-24 | 1981-08-24 |
-
1985
- 1985-05-17 JP JP60105037A patent/JPH0756619B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61262911A (en) | 1986-11-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5410550A (en) | Asynchronous latch circuit and register | |
| US6348825B1 (en) | High performance, low power, scannable flip-flop | |
| JP3080341B2 (en) | Data match detection circuit | |
| JPH0654474B2 (en) | Time-related error detection device and method | |
| HK1047356A1 (en) | Circuit for the detection of clock signal period abnormalities | |
| US5454018A (en) | Counter circuit with automatic reset | |
| US4082218A (en) | Potential failure detecting circuit having improved means for detecting transitions in short duration signals | |
| US4282488A (en) | Noise eliminator circuit | |
| JPH0756619B2 (en) | Input noise detection circuit | |
| JPH01205237A (en) | Synchronous function failure detection | |
| EP0110104B1 (en) | Edge-triggered latch circuit | |
| ITMI991386A1 (en) | CIRCUIT FOR THE REALIZATION OF A MINIMUM TIME OF WAKE - UP IN THE LOGICAL CIRCUITS OF WAKE - UP | |
| JP3019422B2 (en) | Phase comparator | |
| US5422896A (en) | Timing check circuit for a functional macro | |
| KR0167254B1 (en) | Debugging circuit of memory | |
| JP3260483B2 (en) | External control signal input circuit | |
| WO1993015576A1 (en) | Means to avoid data distorsion in clock-synchronized signal sampling | |
| KR900002470Y1 (en) | Noise reduction circuit | |
| JP3500174B2 (en) | Input circuit of semiconductor device | |
| JPH04158276A (en) | Circuit for examining whether logic circuit is true of false | |
| KR100207481B1 (en) | Detecting time adjustment equipment to detect data during desire period | |
| JPH04302523A (en) | Pulse generator | |
| JP2885126B2 (en) | Input test circuit | |
| JPH05206790A (en) | Malfunction preventing circuit | |
| JPH11144468A (en) | Address transition detection circuit |