JPH0653811A - Ic input circuit - Google Patents

Ic input circuit

Info

Publication number
JPH0653811A
JPH0653811A JP4202074A JP20207492A JPH0653811A JP H0653811 A JPH0653811 A JP H0653811A JP 4202074 A JP4202074 A JP 4202074A JP 20207492 A JP20207492 A JP 20207492A JP H0653811 A JPH0653811 A JP H0653811A
Authority
JP
Japan
Prior art keywords
output
circuit
signal
input
reset
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
Application number
JP4202074A
Other languages
Japanese (ja)
Inventor
Minoru Oba
稔 大場
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4202074A priority Critical patent/JPH0653811A/en
Publication of JPH0653811A publication Critical patent/JPH0653811A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent malfunction due to an external signal and to reduce the cost of an input circuit by forming a pulse signal synchronized with a prescribed clock from an external signal and when the signal length of the pulse signal is larger than a prescribed value, outputting the pulse signal from the output side. CONSTITUTION:An initializing circuit to be used at the time of turning on a power supply is constituted of a NOT circuit 26, a NAND circuit 25, an OR circuit and an internal clock CLK 1. A Schmitt output 6, a D-FF A 19 with a reset terminal, a DFF B20 with a reset terminal, an exclusive NOR circuit 21 and an AND circuit 22 constitute a synchronous circuit for synchronizing an external signal with an internal clock and a pulse forming circuit for forming a pulse at the time of changing the synchronous signal and an external signal synchronizing means is constituted of both circuits. At this time, D-F/F 23 with the reset and the reset D-F/FD 24 are counted with the pulse of the external synchronizing means. After the lapse of the prescribed time it goes to a timer outputted to the external signal processing circuit to prevent the input of the external signal having the pulse length or below decided by the counted number.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ICの入力回路に係
り、特に外部信号による誤動作を防止することができる
ICの入力回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC input circuit, and more particularly to an IC input circuit capable of preventing malfunction due to an external signal.

【0002】[0002]

【従来の技術】この発明における従来例を図7、図8、
図9について説明する。図7及び図8は、従来のICの
入力回路の例を示すブロック図、図9は、図7、図8の
動作を示すタイミングチャートを示すものである。図7
において、1は外部からの作用を機械的に検出して電気
信号に変換するスイッチ、2はスイッチ1に接続され、
外部からの作用を変換した電気信号を受けて動作するI
7C、3はIC2内に設けられてその入力側にスイッチ
1が接続され、外部信号として入力される電気信号の立
ち上がり及び立ち下がりに対し、各々異なった所定のし
きい値を有してIC2の論理レベルに変換するシュミッ
トトリガ回路、4はIC2内に設けられてシュミットト
リガ回路3の出力側に接続され、シュミットトリガ回路
3にて変換された信号を処理する外部信号処理回路、5
はスイッチ1の出力信号であるスイッチ出力信号、6は
シュミットトリガ回路3の出力信号であるシュミット出
力である。又、図8において、7はスイッチ1と同等の
機能をもち、外部からの作用を電気的に検出するセンサ
であって、このセンサは電源VccとアースG間に抵抗R
1を介して接続されたフォトダイオード7aと、電源V
ccとアースG間に抵抗R2を介して接続されたフォトト
ランジスタ7bとから構成される。8はセンサ7の出力
信号でありスイッチ出力信号5と同等であるセンサ出力
信号を示す。そして図9において、CLK1はIC2が
動作するタイミングを作る内部クロック、10はIC2
の電源投入時及び電源電圧の低下を検出してIC2内部
の動作を制御するリセット信号である。
2. Description of the Related Art Conventional examples of the present invention are shown in FIGS.
FIG. 9 will be described. 7 and 8 are block diagrams showing an example of a conventional IC input circuit, and FIG. 9 is a timing chart showing the operation of FIGS. 7 and 8. Figure 7
, 1 is a switch for mechanically detecting an external action and converting it into an electric signal, 2 is connected to the switch 1,
It operates by receiving an electric signal that has converted the action from the outside.
7C and 3C are provided in the IC2, the switch 1 is connected to the input side of the IC2, and have different predetermined thresholds with respect to rising and falling of an electric signal input as an external signal. The Schmitt trigger circuit 4 for converting to a logic level is provided in the IC 2 and is connected to the output side of the Schmitt trigger circuit 3, and is an external signal processing circuit 5 for processing the signal converted by the Schmitt trigger circuit 3.
Is a switch output signal which is an output signal of the switch 1, and 6 is a Schmitt output which is an output signal of the Schmitt trigger circuit 3. Further, in FIG. 8, 7 is a sensor which has a function equivalent to that of the switch 1 and electrically detects an action from the outside. This sensor has a resistor R between the power source Vcc and the earth G.
1 and the photodiode 7a connected via the power source V
It is composed of a phototransistor 7b connected between cc and the ground G through a resistor R2. Reference numeral 8 denotes an output signal of the sensor 7, which is a sensor output signal equivalent to the switch output signal 5. In FIG. 9, CLK1 is an internal clock that creates the timing at which IC2 operates, and 10 is IC2.
Is a reset signal for controlling the internal operation of the IC 2 when the power is turned on and when a decrease in the power supply voltage is detected.

【0003】次に動作について説明する。IC2の電源
電圧は5V、IC2内部の論理は0を0V、1を5Vの
正論理と仮定する。IC2の電源が投入されると、IC
2の電源電圧検出回路(図示しない)は電源電圧の立ち
上がりを検出し、リセット信号10をある一定時間後0
から1へ切り換える。リセット信号10は0の時IC2
の動作を停止させ、内部ロジックの初期状態を設定し、
1の時IC2を動作させる信号である。リセット信号1
0が0から1へ変化するとIC2は初期状態の設定を終
え、動作状態となり、内部信号の処理及び外部からの信
号入力待ちの状態となる。
Next, the operation will be described. It is assumed that the power supply voltage of IC2 is 5V, and that the logic inside IC2 is 0, 0V, and 1 is 5V, positive logic. When the power of IC2 is turned on, the IC
A power supply voltage detection circuit 2 (not shown) detects the rising of the power supply voltage and outputs the reset signal 10 to 0 after a certain period of time.
Switch from 1 to 1. IC2 when reset signal 10 is 0
Stop the operation of, set the initial state of the internal logic,
When it is 1, it is a signal for operating the IC 2. Reset signal 1
When 0 changes from 0 to 1, the IC 2 completes the setting of the initial state, enters the operating state, and waits for processing of internal signals and waiting for signal input from the outside.

【0004】図7と図8の信号処理動作は同じなので、
図7の動作タイミングを図8について説明する。スイッ
チ1が開閉すると、その出力であるスイッチ出力信号5
は、5Vと0V間を振動し、アナログの電気信号とな
る。そのアナログ信号であるスイッチ出力信号5は外部
信号としてIC2のシュミットトリガ回路3へ入力され
る。シュミットトリガ回路3へ入力されたスイッチ出力
信号5は、シュミットトリガ回路3のローレベルしきい
値VTH−及びハイレベルしきい値VTH+により、1
または0のデジタル信号に変換され、シュミット出力6
として外部信号処理回路4へ入力される。以上により、
IC2への外部信号の処理は終了し、外部からの作用
は、IC2内部にて信号処理される。
Since the signal processing operations of FIGS. 7 and 8 are the same,
The operation timing of FIG. 7 will be described with reference to FIG. When the switch 1 is opened / closed, the output is the switch output signal 5
Vibrates between 5V and 0V and becomes an analog electric signal. The switch output signal 5 which is the analog signal is input to the Schmitt trigger circuit 3 of the IC 2 as an external signal. The switch output signal 5 input to the Schmitt trigger circuit 3 is set to 1 by the low level threshold VTH- and the high level threshold VTH + of the Schmitt trigger circuit 3.
Or converted to a digital signal of 0, Schmitt output 6
Is input to the external signal processing circuit 4. From the above,
The processing of the external signal to the IC2 is completed, and the action from the outside is processed inside the IC2.

【0005】ところで、IC2が外部信号を処理する場
合、IC2の内部には、内部クロックCLK1あるいは
その分周出力の立ち上がりまたは立ち下がりのタイミン
グに同期して動作する回路と非同期の回路とが存在す
る。外部からの作用であるスイッチ1は、振動衝撃等の
環境下において振動した開閉を引き起こすことがあり、
この振動したスイッチ出力信号5を受けたシュミットト
リガ回路3は、スイッチ出力信号5がそのしきい値VT
H−またはVTH+を超えた場合、その変化をシュミッ
ト出力6として出力する。IC2の外部信号処理回路4
の中に内部クロックCLK1に非同期の処理回路が含ま
れる場合は、その振動によるシュミット出力6の信号変
化を受けて動作して誤動作を生じる可能性がある。
By the way, when the IC2 processes an external signal, a circuit which operates in synchronization with the rising or falling timing of the internal clock CLK1 or its frequency-divided output exists inside the IC2 and a circuit which is asynchronous. . The switch 1, which is an action from the outside, may cause opening and closing that vibrates in an environment such as vibration impact.
The Schmitt trigger circuit 3 that receives the vibrated switch output signal 5 detects that the switch output signal 5 has a threshold value VT.
When H- or VTH + is exceeded, the change is output as the Schmitt output 6. External signal processing circuit 4 of IC2
If the internal clock CLK1 includes a processing circuit that is not synchronized with the internal clock CLK1, the operation may be affected by the signal change of the Schmitt output 6 due to the vibration, resulting in a malfunction.

【0006】[0006]

【発明が解決しようとする課題】従来のICの入力回路
は、以上のように構成され、外部からの作用に対して内
部クロックCLK1は非同期であるため、外部からの作
用と内部クロックCLK1とのタイミングによっては入
力パルス制限回路の動作時期がずれることがある。又、
入力パルス制限回路が内部クロックCLK1に同期して
動作している場合においては、外部作用が内部クロック
CLK1の周期より短い時間で入力されるとその外部作
用を受け付けることができなくなるという問題点があっ
た。更に、IC2の回路のうち、内部クロックCLK1
に対して非同期の回路部分だけが動作し、これが原因と
なって誤動作を生じる可能性があり、信頼性の低い製品
となるという問題点もあった。
The input circuit of the conventional IC is configured as described above, and since the internal clock CLK1 is asynchronous with respect to the action from the outside, the action from the outside and the internal clock CLK1 are synchronized with each other. The operation timing of the input pulse limiting circuit may be shifted depending on the timing. or,
In the case where the input pulse limiting circuit operates in synchronization with the internal clock CLK1, there is a problem that if the external action is input in a time shorter than the cycle of the internal clock CLK1, the external action cannot be accepted. It was Further, among the circuits of IC2, the internal clock CLK1
On the other hand, there is a problem that only the asynchronous circuit portion operates, which may cause a malfunction, resulting in a product with low reliability.

【0007】一方、かかる誤動作を防止すべく、全ての
回路を内部クロックCLK1に同期させるか、又は内部
クロックCLK1の周期より短い時間の外部信号をIC
2に入力させないようスイッチ1とシュミットトリガ回
路3間にCRを用いた積分回路を設けることが考えられ
るが、この場合はIC2のコストが高くなるという問題
点があった。
On the other hand, in order to prevent such malfunctions, all circuits are synchronized with the internal clock CLK1 or an external signal having a time shorter than the cycle of the internal clock CLK1 is supplied to the IC.
It is conceivable to provide an integrating circuit using a CR between the switch 1 and the Schmitt trigger circuit 3 so as not to input to the IC 2, but in this case, there is a problem that the cost of the IC 2 becomes high.

【0008】この発明は、上述したような問題点を解決
するためになされたもので、外部信号によって誤動作を
生じることがなく、且つコスト高を招くこともないIC
の入力回路を得ることを目的としている。
The present invention has been made to solve the above-mentioned problems, and an IC that does not cause a malfunction due to an external signal and does not cause a cost increase.
The purpose is to obtain the input circuit of.

【0009】[0009]

【課題を解決するための手段】この発明の請求項1に係
るICの入力回路は、外部回路から入力された外部信号
を所定のクロックに同期するパルス信号に形成して出力
する外部信号同期手段と、この外部信号同期手段の出力
側に接続され、この外部信号同期手段によって形成され
たパルス信号長が所定値以上のときに、このパルス信号
を出力側より出力する外部信号選択手段とを備えたもの
である。
An input circuit of an IC according to a first aspect of the present invention is an external signal synchronizing means for forming an external signal input from an external circuit into a pulse signal synchronized with a predetermined clock and outputting the pulse signal. And an external signal selecting means which is connected to the output side of the external signal synchronizing means and which outputs the pulse signal from the output side when the pulse signal length formed by the external signal synchronizing means is a predetermined value or more. It is a thing.

【0010】[0010]

【作用】この発明の請求項1に係るICの入力回路は、
外部信号同期手段が外部回路から入力される外部信号を
所定のクロックに同期するパルス信号に形成する。そし
て、外部信号選択手段が前記外部信号同期手段によって
形成されたパルス信号長が所定値以上のときにこのパル
ス信号を出力側より出力する。
The input circuit of the IC according to claim 1 of the present invention is
The external signal synchronizing means forms an external signal input from an external circuit into a pulse signal which is synchronized with a predetermined clock. Then, the external signal selecting means outputs this pulse signal from the output side when the pulse signal length formed by the external signal synchronizing means is equal to or more than a predetermined value.

【0011】[0011]

【実施例】実施例1.以下、この発明の実施例1を図に
ついて説明する。図1は実施例1を示すブロック図、図
2は実施例1における入力パルス制限回路のロジック
図、図3は図2に使用されている論理記号(A)〜(G)とそ
の真理値表(H)〜(N)を示す図、図4乃至図6は各動作条
件における入力パルス制限回路の動作を示すタイミング
チャートを示すものである。
EXAMPLES Example 1. Embodiment 1 of the present invention will be described below with reference to the drawings. 1 is a block diagram showing a first embodiment, FIG. 2 is a logic diagram of an input pulse limiting circuit in the first embodiment, and FIG. 3 is a logic symbol (A) to (G) used in FIG. 2 and a truth table thereof. 4 (H) to (N) and FIGS. 4 to 6 are timing charts showing the operation of the input pulse limiting circuit under each operating condition.

【0012】図において、1〜3,5,6,9,10は
図7乃至図9にて説明したものと同一または相当部分を
示すので説明を省略する。図において、11はシュミッ
トトリガ回路3の出力側に接続され、シュミット出力6
を受けて外部信号を処理する入力パルス制限回路、4A
は入力パルス制限回路11の出力側に接続された外部信
号処理回路、12は入力パルス制限回路11から出力さ
れ、内部クロックCLK1に同期させられた入力パルス
制限回路出力である。図2において、18は内部クロッ
クCLK1を分周して得られる分周内部クロック、19
はリセット付きのD形フリップフロップ回路(以下、リ
セット付D−F/Fと記す。)Aであって、このリセッ
ト付D−F/FA19は、そのデータ端子にシュミット
出力6が入力され、そのクロック端子に内部クロックC
LK1が入力され、そのリセット端子にリセット信号1
0が入力される。20はそのデータ端子にリセット付D
−F/FA19のQ出力端子が接続され、その出力Q1
9が入力されるリセット付D−F/FBであって、この
リセット付D−F/FB20は、そのクロック端子に内
部クロックCLK1が入力され、そのリセット端子にリ
セット信号10が入力される。21はその一方の入力端
子にリセット付D−F/FA19のQ出力端子が接続さ
れてその出力Q19が入力され、その他方の入力端子に
リセット付D−F/FB20のQ出力端子が接続されて
出力Q20が入力されるイクスクルーシブノア回路、2
2はその一方の入力端子にイクスクルーシブノア回路2
1の出力端子が接続されてその出力Y21が入力され、
その他方の入力端子にリセット信号10が入力されるア
ンド回路である。
In the figure, reference numerals 1 to 3, 5, 6, 9, and 10 indicate the same or corresponding parts as those described with reference to FIGS. In the figure, 11 is connected to the output side of the Schmitt trigger circuit 3, and the Schmitt output 6
Input pulse limiting circuit that receives external signals and processes them, 4A
Is an external signal processing circuit connected to the output side of the input pulse limiting circuit 11, and 12 is an output of the input pulse limiting circuit output from the input pulse limiting circuit 11 and synchronized with the internal clock CLK1. In FIG. 2, reference numeral 18 denotes a divided internal clock obtained by dividing the internal clock CLK1, and 19
Is a D-type flip-flop circuit with reset (hereinafter referred to as DF / F with reset) A, and this DF / FA with reset 19 has a Schmitt output 6 input to its data terminal, Internal clock C on the clock terminal
LK1 is input and the reset signal 1 is input to the reset terminal.
0 is input. 20 has reset D on its data terminal
-The Q output terminal of F / FA19 is connected and its output Q1
In the D-F / FB with reset 9 to which 9 is input, the internal clock CLK1 is input to the clock terminal of the D-F / FB with reset 20, and the reset signal 10 is input to the reset terminal. 21 has one input terminal thereof connected to the Q output terminal of the DF / FA 19 with reset to input its output Q19, and has the other input terminal connected to the Q output terminal of the DF / FB 20 with reset. Exclusive NOR circuit to which the output Q20 is input, 2
2 is an exclusive NOR circuit 2 at one of its input terminals
1 output terminal is connected and its output Y21 is input,
This is an AND circuit in which the reset signal 10 is input to the other input terminal.

【0013】又、図2において、23はそのデータ端子
が電源に接続されてハイレベルに維持されたリセット付
D−F/FCであって、このリセット付D−F/FC2
3はそのクロック端子に分周内部クロックCLK2が入
力され、そのリセット端子にアンド回路22の出力端子
が接続されてその出力Y21が入力される。24はその
データ端子にリセット付D−F/FC23のQ出力端子
が接続されてその出力Q23が入力されるリセット付D
−F/FDであって、このリセット付D−F/FD24
はそのクロック端子に分周内部クロックCLK2が入力
され、そのリセット端子にアンド回路22の出力端子が
接続されてその出力Y22が入力される。
In FIG. 2, reference numeral 23 denotes a reset D-F / FC whose data terminal is connected to a power source and maintained at a high level.
3, the divided internal clock CLK2 is input to its clock terminal, the output terminal of the AND circuit 22 is connected to its reset terminal, and its output Y21 is input. 24 is a D with reset in which the Q output terminal of the DF / FC23 with reset is connected to its data terminal and the output Q23 is input.
-F / FD, and this D-F / FD24 with reset
The divided internal clock CLK2 is input to its clock terminal, the output terminal of the AND circuit 22 is connected to its reset terminal, and its output Y22 is input.

【0014】更に、図2において、25はその一方の入
力端子にシュミット出力6が入力され、その他方の入力
端子にノット回路26を介してリセット信号10が入力
されるナンド回路、27はその一方の入力端子にシュミ
ット出力6が入力され、その他方の入力端子にリセット
信号10が入力されるオア回路、28はそのデータ端子
にリセット付D−F/FA19のQ出力端子が接続され
て、その出力Q19が入力されるセット・リセット付D
フリップフロップであって、このセット・リセット付D
フリップフロップ28はそのクロック端子にリセット付
D−F/FD24のQ出力端子が接続されてその出力Q
24が入力され、そのセット端子にナンド回路25の出
力端子が接続されてその出力Y25が入力され、そのリ
セット端子にオア回路27の出力端子が接続されてその
出力Y27が入力される。
Further, in FIG. 2, 25 is a NAND circuit in which the Schmitt output 6 is input to one of its input terminals and the reset signal 10 is input to the other input terminal via the knot circuit 26, and 27 is one of them. Of the Schmitt output 6 is input to the input terminal of and the reset signal 10 is input to the other input terminal, and 28 is connected to the data output terminal of the Q output terminal of the DF / FA with reset 19 and Output Q19 is input D with set / reset
This is a flip-flop with this set / reset D
The flip-flop 28 has its clock terminal connected to the Q output terminal of the DF / FD 24 with reset to output its output Q.
24 is input, the output terminal of the NAND circuit 25 is connected to its set terminal and its output Y25 is input, and the output terminal of the OR circuit 27 is connected to its reset terminal and its output Y27 is input.

【0015】以下に実施例1の動作について説明する。
尚、説明の便宜のため、信号のハイレベル5Vを1、信
号のローレベル0Vを0で表す。まず、図2及び図4を
用いて、電源投入時について説明する。IC2の電源が
投入されると、IC2の電源電圧検出回路(図示しな
い)は電源電圧の立ち上がりを検出し、リセット信号1
0をある一定時間後に0から1へ切り換える。リセット
信号10は0の時IC2の動作を停止させ、1の時IC
2を動作させる信号である。リセット信号10が0から
1へ変化した時、スイッチ1は動作していないので開閉
のいずれかの状態にあり、スイッチ出力信号5としてシ
ュミットトリガ回路3へ出力する。
The operation of the first embodiment will be described below.
For convenience of description, the high level 5V of the signal is represented by 1, and the low level 0V of the signal is represented by 0. First, the power-on time will be described with reference to FIGS. 2 and 4. When the power of the IC2 is turned on, the power supply voltage detection circuit (not shown) of the IC2 detects the rising of the power supply voltage and the reset signal 1
0 is switched from 0 to 1 after a certain period of time. When the reset signal 10 is 0, the operation of the IC2 is stopped, and when the reset signal 10 is 1, the IC is stopped.
2 is a signal for operating. When the reset signal 10 changes from 0 to 1, since the switch 1 is not operating, it is in one of the open and closed states, and the switch output signal 5 is output to the Schmitt trigger circuit 3.

【0016】シュミットトリガ回路3はスイッチ出力信
号5の電圧レベルが確定しているので、0または1の信
号をシュミット出力6として、リセット付D−F/FA
19のデータ端子、ナンド回路25及びオア回路27そ
れぞれの一方の入力端子へ出力する。ナンド回路25及
びオア回路27の他方の入力端子にはリセット信号10
が入力されるので、リセット信号10が0の時、シュミ
ット出力6が0であれば出力Y27が0、シュミット出
力6が1であれば出力Y25が0となる。
Since the voltage level of the switch output signal 5 is fixed in the Schmitt trigger circuit 3, the 0 or 1 signal is used as the Schmitt output 6 and the DF / FA with reset is supplied.
It outputs to the data terminal 19 and one input terminal of each of the NAND circuit 25 and the OR circuit 27. The reset signal 10 is applied to the other input terminals of the NAND circuit 25 and the OR circuit 27.
When the reset signal 10 is 0, the output Y27 is 0 if the Schmitt output 6 is 0, and the output Y25 is 0 if the Schmitt output 6 is 1.

【0017】出力Y25及び出力Y27は、各々セット
・リセット付D−F/F28のセット端子及びリセット
端子に接続されているので、出力Y25が0の時はセッ
ト・リセット付D−F/F28のQ出力は1、出力Y2
7が0の時は0となる。セット・リセット付D−F/F
28のQ出力は入力パルス制限回路出力12であるの
で、電源投入時のスイッチ1の初期状態が入力パルス制
限回路出力12として出力され外部信号処理回路4Aへ
入力される。又、リセット信号10はアンド回路22に
入力されているので、出力Y22はリセット信号10の
変化に合わせて0となりリセット付D−F/FC23及
びリセット付D−F/FD24それぞれのリセット端子
へ出力される。
The outputs Y25 and Y27 are connected to the set terminal and the reset terminal of the D / F / F28 with set / reset, respectively, so that when the output Y25 is 0, the D / F / F28 with set / reset is connected. Q output is 1, output Y2
When 7 is 0, it becomes 0. DF with set / reset
Since the Q output of 28 is the input pulse limiting circuit output 12, the initial state of the switch 1 when the power is turned on is output as the input pulse limiting circuit output 12 and input to the external signal processing circuit 4A. Further, since the reset signal 10 is input to the AND circuit 22, the output Y22 becomes 0 according to the change of the reset signal 10 and is output to the reset terminals of the reset D-F / FC 23 and the reset D-F / FD 24, respectively. To be done.

【0018】リセット付D−F/FC23及びリセット
付D−F/FD24はタイマー回路を構成するので、各
々のリセット完了後、各々のクロック端子に入力される
内部クロックCLK2の立ち上がりエッジにて動作し、
内部クロックCLK2の2つ目の立ち上がりエッジ後に
出力Q24を0から1へと変化させる。出力Q24はセ
ット・リセット付D−F/F28のクロック端子に入力
されるので、出力Q24の立ち上がりエッジにて、デー
タ端子に入力されている出力Q19を出力する。この時
の出力Q19は変化しないので、入力パルス制限回路出
力12は従来の状態を保つ。以上により、電源投入時の
初期状態の設定が完了し、スイッチ出力信号5の入力待
ち状態となる。
Since the reset DF / FC 23 and the reset DF / FD 24 form a timer circuit, they operate at the rising edge of the internal clock CLK2 input to each clock terminal after completion of each reset. ,
The output Q24 is changed from 0 to 1 after the second rising edge of the internal clock CLK2. Since the output Q24 is input to the clock terminal of the D / F / F with set / reset 28, the output Q19 input to the data terminal is output at the rising edge of the output Q24. Since the output Q19 at this time does not change, the input pulse limiting circuit output 12 maintains the conventional state. As described above, the setting of the initial state when the power is turned on is completed, and the switch output signal 5 is ready for input.

【0019】次にスイッチ出力信号5が1から0に変化
(変化後の0の論理レベルを保つ時間は、無限大と仮定
する。)すると、シュミットトリガ回路3は、スイッチ
出力信号5がしきい値VTH−になるまで、シュミット
出力6を1のまま保持し、スイッチ出力信号5がVTH
−以下となると、シュミット出力6を0に変化させる。
シュミット出力6の1から0への変化を受けたリセット
付D−F/FA19は、内部クロックCLK1の次の立
ち上がりエッジにて、出力Q19を1から0に変化させ
る。更に次の内部クロックCLK1の立ち上がりエッジ
では、リセット付D−F/FB20の出力Q20を同様
に1から0に変化させる。この時の出力Q19と出力Q
20の論理は一致せず、その2つを入力としているイク
スクルーシブノア回路21の出力Y21は、出力Q19
の1から0への変化から出力Q20の1から0への変化
まで0となる。出力Y21とリセット信号10を入力と
するアンド回路22は、0が優先であるので、出力Y2
1が0の時、出力Y22として0を出力する。
Next, when the switch output signal 5 changes from 1 to 0 (the time for maintaining the logic level of 0 after the change is assumed to be infinite), the Schmitt trigger circuit 3 makes the switch output signal 5 the threshold value. Until the value VTH- is reached, the Schmitt output 6 is kept at 1 and the switch output signal 5 becomes VTH.
-When the value is below, the Schmitt output 6 is changed to 0.
The DF / FA 19 with reset which has received the change of the Schmitt output 6 from 1 to 0 changes the output Q19 from 1 to 0 at the next rising edge of the internal clock CLK1. Further, at the next rising edge of the internal clock CLK1, the output Q20 of the DF / FB 20 with reset is similarly changed from 1 to 0. Output Q19 and output Q at this time
The logic of 20 does not match, and the output Y21 of the exclusive NOR circuit 21 which receives the two of them does not output Q19.
Is 0 from the change of 1 from 0 to the change of the output Q20 from 1 to 0. In the AND circuit 22 which receives the output Y21 and the reset signal 10, 0 is prioritized, so the output Y2
When 1 is 0, 0 is output as the output Y22.

【0020】出力Y22はリセット付D−F/FC23
及びリセット付D−F/FD24それぞれのリセット端
子に入力されているので、出力Y22が0の時、リセッ
ト付D−F/FC23及びリセット付D−F/FD24
は、各々出力Q23及び出力Q24として0を出力す
る。リセット付D−F/FC23は、そのデータ端子が
電源に接続されているのでリセット後、内部クロックC
LK2の立ち上がりエッジで、出力Q23として1を出
力する。出力Q23はリセット付D−F/FD24のデ
ータ端子に入力されており、内部クロックCLK2の立
ち上がりエッジでは、出力Q23が1となっているの
で、出力Q24として1を出力する。出力Q24はセッ
ト・リセット付D−F/F28のクロック端子に入力さ
れているので、出力Q24の0から1への立ち上がりエ
ッジにてデータ端子の入力、つまり出力Q19の0の状
態を入力パルス制限回路出力12として出力する。
Output Y22 is DF / FC23 with reset
And the D-F / FD24 with reset are input to the respective reset terminals, so that when the output Y22 is 0, the D-F / FC23 with reset and the D-F / FD24 with reset are input.
Outputs 0 as the output Q23 and the output Q24, respectively. Since the data terminal of the DF / FC 23 with reset is connected to the power supply, after reset, the internal clock C
At the rising edge of LK2, 1 is output as the output Q23. The output Q23 is input to the data terminal of the DF / FD 24 with reset, and since the output Q23 is 1 at the rising edge of the internal clock CLK2, 1 is output as the output Q24. Since the output Q24 is input to the clock terminal of the D-F / F28 with set / reset, at the rising edge from 0 to 1 of the output Q24, the input of the data terminal, that is, the 0 state of the output Q19, is input pulse limited It is output as the circuit output 12.

【0021】以上により、スイッチ出力信号5は、図1
に示した入力パルス制限回路11を介して、外部信号処
理回路4Aへ伝達されるが、入力パルス制限回路出力1
2は図2に示したセット・リセット付D−F/F28の
Q出力端子からの出力であり、そのクロック端子へのク
ロックは内部クロックCLK2の立ち上がりエッジによ
ってタイミングが作られているので、外部信号処理回路
4Aへの入力信号は、内部クロックCLK1に同期した
信号となる。尚、スイッチ出力信号5の変化が0から1
への時も上述したと同様にIC2は動作する。
From the above, the switch output signal 5 is as shown in FIG.
Is transmitted to the external signal processing circuit 4A via the input pulse limiting circuit 11 shown in FIG.
2 is an output from the Q output terminal of the D / F / F 28 with set / reset shown in FIG. 2, and the timing of the clock to that clock terminal is generated by the rising edge of the internal clock CLK2. The input signal to the processing circuit 4A is a signal synchronized with the internal clock CLK1. The change of the switch output signal 5 is from 0 to 1.
At the time of, the IC2 operates in the same manner as described above.

【0022】次に、図2、図5、図6を用いて、初期設
定終了後のスイッチ1の動作状態による入力パルス制限
回路11の動作について説明する。まず図5について説
明する。図5は、スイッチ出力信号5が1から0とな
り、更に1となる変化においてシュミットトリガ回路3
のしきい値VTH−及びVTH+を越える時間TBが、
TB<T1で(内部クロックCLK1の1周期時間)且
つ内部クロックCLK1の立ち上がりエッジにかからな
い場合におけるタイミングを示している。シュミット出
力6の信号STBは内部クロックCLK1の立ち上がり
エッジにかからず、又内部クロックCLK1の立ち上が
りエッジにて動作しているリセット付D−F/FA19
は、そのクロックC入力の立ち上がり時点におけるデー
タ端子入力を出力するので、データ端子入力の変化ST
Bは無視され、出力Q19は変化しない。同様に出力Q
19が変化しないので、リセット付D−F/FB20の
出力Q20も変化せず、イクスクルーシブオア回路21
の出力Y21及びアンド回路22の出力Y22も変化し
ない。出力Y22はカウンタ回路であるリセット付D−
F/FC23及びリセット付D−F/FD24それぞれ
のリセット端子に入力されているので、各リセット端子
は電源投入時の初期設定以外0とはならない。故にリセ
ット付D−F/FD24の出力Q24も1のまま変化せ
ず、出力Q24がクロック端子に接続されているセット
・リセット付D−F/F28は、従来のデータをそのま
ま保持し、図1に示した入力パルス制限回路出力12は
変化しない。故に、スイッチ出力信号5の信号変化ST
Bが、TB<T1で且つ内部クロックCLK1の立ち上
がりエッジにかからない時は、スイッチ出力信号5は入
力パルス制限回路11にて無視され、外部信号処理回路
4Aへは出力されない。
Next, the operation of the input pulse limiting circuit 11 according to the operating state of the switch 1 after completion of the initial setting will be described with reference to FIGS. 2, 5, and 6. First, FIG. 5 will be described. FIG. 5 shows that when the switch output signal 5 changes from 1 to 0 and further changes to 1, the Schmitt trigger circuit 3
Time TB which exceeds the threshold values VTH- and VTH + of
The timing is shown when TB <T1 (one cycle time of the internal clock CLK1) and the rising edge of the internal clock CLK1 is not reached. The signal STB of the Schmitt output 6 does not depend on the rising edge of the internal clock CLK1 and the DF / FA with reset 19 which operates at the rising edge of the internal clock CLK1.
Outputs the data terminal input at the rising edge of the clock C input, the change ST of the data terminal input
B is ignored and output Q19 remains unchanged. Similarly output Q
Since 19 does not change, the output Q20 of the DF / FB 20 with reset does not change, and the exclusive OR circuit 21
Output Y21 of the AND circuit 22 and output Y22 of the AND circuit 22 do not change. The output Y22 is a counter circuit with reset D-
Since the reset terminals of the F / FC 23 and the DF / FD 24 with reset are input, each reset terminal does not become 0 except the initial setting when the power is turned on. Therefore, the output Q24 of the D-F / FD 24 with reset does not change to 1, and the D-F / F 28 with set / reset in which the output Q24 is connected to the clock terminal holds the conventional data as it is. The input pulse limiting circuit output 12 shown in FIG. Therefore, the signal change ST of the switch output signal 5
When B is less than TB <T1 and does not reach the rising edge of the internal clock CLK1, the switch output signal 5 is ignored by the input pulse limiting circuit 11 and is not output to the external signal processing circuit 4A.

【0023】次に図6について説明する。図6は、スイ
ッチ出力信号5が1から0となり、更に1となる変化に
おいて、シュミットトリガ回路3のしきい値VTH−及
びVTH+を越える時間TBが、T1<TB<T2(内
部クロックCLK2の1周期時間)場合におけるタイミ
ングを示している。シュミット出力6の信号STBは、
T1<TBなので、シュミット出力6が1から0へと変
化した後、次の内部クロックCLK1の立ち上がりエッ
ジから更に次の立ち上がりエッジまでの1周期T1の
間、アンド回路22の出力Y22は0を出力する。出力
Y22の0を受けたリセット付D−F/FC23及びリ
セット付D−F/FD24はリセットされ、カウンタ回
路を再び動作させる内部クロックCLK2の立ち上がり
エッジが2回発生後、出力Q24は0から1へと変化
し、セット・リセット付D−F/F28はデータ端子に
入力されている信号Q19を図1の入力パルス制限回路
出力12として出力する。この時の出力Q19は1であ
るので、入力パルス制限回路出力12として1が出力さ
れ、スイッチ出力信号5の信号の変化は無視される。セ
ット・リセット付D−F/F28のデータ端子には出力
Q19が入力されており、出力Q19は、シュミット出
力6の内部クロックCLK1の同期信号となっている。
従ってもし出力Q24の立ち上がりエッジのタイミング
にスイッチ出力信号5が変化しても、内部クロックCL
K1の立ち下がり時に内部クロックCLK2が変化して
いるので、これも無視されることとなる。あるいは、リ
セット付D−F/FA19及びリセット付D−F/FB
20それぞれの出力Q19及び出力Q20が変化する
と、出力Y22として0の信号が出力されるので、タイ
マー回路であるリセット付D−F/FC23及びリセッ
ト付D−F/FD24は、リセットされて出力Q24の
出力は0になり、再カウントする事となる。故に、スイ
ッチ出力信号5の信号変化STBが、T1<TB<T2
の場合も、スイッチ出力信号5は入力パルス制限回路1
1にて無視され、外部信号処理回路4Aへ出力されな
い。
Next, FIG. 6 will be described. In FIG. 6, when the switch output signal 5 changes from 1 to 0 and further changes to 1, the time TB that exceeds the threshold values VTH- and VTH + of the Schmitt trigger circuit 3 is T1 <TB <T2 (1 of the internal clock CLK2). The cycle time is shown in FIG. The signal STB of Schmitt output 6 is
Since T1 <TB, after the Schmidt output 6 changes from 1 to 0, the output Y22 of the AND circuit 22 outputs 0 for one period T1 from the rising edge of the next internal clock CLK1 to the next rising edge. To do. The DF / FC23 with reset and the DF / FD24 with reset that received 0 of the output Y22 are reset, and after two rising edges of the internal clock CLK2 for operating the counter circuit again, the output Q24 changes from 0 to 1 The DF / F 28 with set / reset outputs the signal Q19 input to the data terminal as the output 12 of the input pulse limiting circuit in FIG. Since the output Q19 at this time is 1, 1 is output as the input pulse limiting circuit output 12, and the change in the signal of the switch output signal 5 is ignored. The output Q19 is input to the data terminal of the D / F / F 28 with set / reset, and the output Q19 is a synchronizing signal of the internal clock CLK1 of the Schmitt output 6.
Therefore, even if the switch output signal 5 changes at the timing of the rising edge of the output Q24, the internal clock CL
Since the internal clock CLK2 is changing at the fall of K1, this is also ignored. Alternatively, DF / FA19 with reset and DF / FB with reset
When the output Q19 and the output Q20 of the respective 20 change, a signal of 0 is output as the output Y22. Therefore, the DF / FC23 with reset and the DF / FD24 with reset, which are the timer circuits, are reset to output Q24. Output becomes 0 and will be re-counted. Therefore, the signal change STB of the switch output signal 5 is T1 <TB <T2.
Also in the case of, the switch output signal 5 is the input pulse limiting circuit 1
It is ignored at 1 and is not output to the external signal processing circuit 4A.

【0024】以上により、スイッチ出力信号5の信号変
化STBが、T1+T2<TBの場合のみ、スイッチ出
力信号5は入力パルス制限回路11によって、外部信号
処理回路4Aへ出力され、信号の処理が実施される。実
際には、内部クロックCLK1及び内部クロックCLK
2のタイミングにより、入力が制限されるパルス幅は、
T1+T2からT1+T2の2倍までばらつく。このば
らつきを抑えるためには、D−F/FC23やD−F/
FD24のようなフリップフロップの個数を増やした
り、内部クロックCLK1及び内部クロックCLK2の
周波数を上げることにより可能である。又、この発明の
実施例の説明ではシュミット出力6の信号の変化が1か
ら0になった後1に戻る場合について説明したが、0か
ら1になった後0に戻る信号変化の場合でも同様の効果
を得ることができる。
As described above, the switch output signal 5 is output to the external signal processing circuit 4A by the input pulse limiting circuit 11 only when the signal change STB of the switch output signal 5 is T1 + T2 <TB, and the signal processing is performed. It Actually, the internal clock CLK1 and the internal clock CLK
The pulse width whose input is limited by the timing of 2 is
It varies from T1 + T2 to twice T1 + T2. In order to suppress this variation, DF / FC23 or DF / FC /
This is possible by increasing the number of flip-flops such as the FD 24 or increasing the frequencies of the internal clocks CLK1 and CLK2. In the description of the embodiment of the present invention, the case where the change of the signal of the Schmitt output 6 changes from 1 to 0 and then returns to 1 has been described, but the same applies to the case of the signal change of changing from 0 to 1 and then returns to 0. The effect of can be obtained.

【0025】以上の説明より明らかなように、ノット回
路26、ナンド回路25、オア回路27及び内部クロッ
クCLK1は電源投入時の初期設定回路を構成し、シュ
ミットトリガ回路3、リセット付D−F/FA19、リ
セット付D−F/FB20、イクスクルーシブノア回路
21及びアンド回路22は、外部信号を内部クロックに
同期させる同期回路と、この同期した信号の変化時にパ
ルスを形成させるパルス形成回路とを構成して、請求項
1における外部信号同期手段を構成している。又、リセ
ット付D−F/FC23、リセット付D−F/FD24
は外部信号同期手段によって形成されたパルスによって
カウントを始め、一定時間後に外部信号処理回路4Aに
出力するタイマー回路を構成し、このタイマー回路のカ
ウント数によって決められるパルス長以下の外部信号が
外部信号処理回路4Aに入力されるのを防止するので、
請求項1における外部信号選択手段を構成している。
As is clear from the above description, the knot circuit 26, the NAND circuit 25, the OR circuit 27 and the internal clock CLK1 constitute an initial setting circuit when the power is turned on, and the Schmitt trigger circuit 3 and the reset DF / F / The FA 19, the DF / FB 20 with reset, the exclusive NOR circuit 21, and the AND circuit 22 include a synchronizing circuit that synchronizes an external signal with an internal clock and a pulse forming circuit that forms a pulse when the synchronized signal changes. The external signal synchronization means in claim 1 is configured. In addition, DF / FC23 with reset, DF / FD24 with reset
Constitutes a timer circuit which starts counting by the pulse formed by the external signal synchronizing means and outputs it to the external signal processing circuit 4A after a fixed time. An external signal having a pulse length equal to or shorter than the pulse number determined by the count number of the timer circuit is an external signal. Since it is prevented from being input to the processing circuit 4A,
The external signal selecting means in claim 1 is configured.

【0026】実施例2.以上、実施例1について説明し
たが、この発明は入力パルス制限回路11が一般的なロ
ジックにより構成されているので、入力を反転させるこ
とで、アンド回路をノア回路に変更する事ができる。
又、D形フリップフロップ回路にて構成されている回路
も、T形等他のフリップフロップ回路でも構成すること
が可能である。
Example 2. Although the first embodiment has been described above, since the input pulse limiting circuit 11 of the present invention is configured by general logic, the AND circuit can be changed to the NOR circuit by inverting the input.
Further, the circuit configured by the D-type flip-flop circuit can be configured by another flip-flop circuit such as T-type.

【0027】[0027]

【発明の効果】以上のように、この発明の請求項1に係
るICの入力回路は、外部回路から入力された外部信号
を所定のクロックに同期するパルス信号に形成して出力
する外部信号同期手段と、この外部信号同期手段の出力
側に接続され、この外部信号同期手段によって形成され
たパルス信号長が所定値以上のときに、このパルス信号
を出力側より出力する外部信号選択手段とを備えたた
め、外部信号が非同期であるがためのICの誤動作を防
止するとともに、内部クロックよりも短い時間の外部信
号の入力を防止することにより、装置に加えられる振動
・衝撃等による外部信号の瞬断による影響を受けること
もなく信頼性の高い製品を得られ、且つ外付け回路を増
やす必要がないので、装置が安価にできるという効果を
奏する。
As described above, in the input circuit of the IC according to the first aspect of the present invention, the external signal synchronization for forming and outputting the external signal input from the external circuit into the pulse signal synchronized with the predetermined clock is output. Means and an external signal selecting means connected to the output side of the external signal synchronizing means and outputting the pulse signal from the output side when the pulse signal length formed by the external signal synchronizing means is a predetermined value or more. As a result, the malfunction of the IC due to the asynchronousness of the external signal is prevented, and the input of the external signal for a shorter time than the internal clock is prevented. Since a highly reliable product can be obtained without being affected by disconnection and there is no need to increase the number of external circuits, the device can be inexpensive.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の実施例1を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】実施例1における入力パルス制限回路のロジッ
ク図である。
FIG. 2 is a logic diagram of an input pulse limiting circuit in the first embodiment.

【図3】図2に使用されている論理記号とその真理値表
である。
3 is a logic symbol used in FIG. 2 and a truth table thereof. FIG.

【図4】入力パルス制限回路の動作を示すタイミングチ
ャートである。
FIG. 4 is a timing chart showing the operation of the input pulse limiting circuit.

【図5】入力パルス制限回路の動作を示すタイミングチ
ャートである。
FIG. 5 is a timing chart showing the operation of the input pulse limiting circuit.

【図6】入力パルス制限回路の動作を示すタイミングチ
ャートである。
FIG. 6 is a timing chart showing the operation of the input pulse limiting circuit.

【図7】従来のICの入力回路の一例を示すブロック図
である。
FIG. 7 is a block diagram showing an example of a conventional IC input circuit.

【図8】従来のICの入力回路の他の一例を示すブロッ
ク図である。
FIG. 8 is a block diagram showing another example of an input circuit of a conventional IC.

【図9】図7の動作を示すタイミングチャートである。9 is a timing chart showing the operation of FIG.

【符号の説明】[Explanation of symbols]

2 IC 11 入力パルス制限回路 19 リセット付D−F/FA 20 リセット付D−F/FB 21 イクスクルーシブノア回路 22 アンド回路 23 リセット付D−F/FC 24 リセット付D−F/FD 25 ナンド回路 26 ノット回路 27 オア回路 2 IC 11 Input pulse limiting circuit 19 DF / FA with reset 20 DF / FB with reset 21 Exclusive NOR circuit 22 AND circuit 23 DF / FC with reset 24 DF / FD with reset 25 NAND Circuit 26 Knot Circuit 27 OR Circuit

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年4月19日[Submission date] April 19, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0002[Name of item to be corrected] 0002

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0002】[0002]

【従来の技術】この発明における従来例を図7、図8、
図9、図10、図11について説明する。図7、図8、
図10は、従来のICの入力回路の例を示すブロック
図、図9は、図7、図8の動作を示すタイミングチャー
、図11は図10の動作を示すタイミングチャート
示すものである。図7において、1は外部からの作用を
機械的に検出して電気信号に変換するスイッチ、2はス
イッチ1に接続され、外部からの作用を変換した電気信
号を受けて動作するI7C、3はIC2内に設けられて
その入力側にスイッチ1が接続され、外部信号として入
力される電気信号の立ち上がり及び立ち下がりに対し、
各々異なった所定のしきい値を有してIC2の論理レベ
ルに変換するシュミットトリガ回路、4はIC2内に設
けられてシュミットトリガ回路3の出力側に接続され、
シュミットトリガ回路3にて変換された信号を処理する
外部信号処理回路、5はスイッチ1の出力信号であるス
イッチ出力信号、6はシュミットトリガ回路3の出力信
号であるシュミット出力である。又、図8において、7
はスイッチ1と同等の機能をもち、外部からの作用を電
気的に検出するセンサであって、このセンサは電源Vcc
とアースG間に抵抗R1を介して接続されたフォトダイ
オード7aと、電源VccとアースG間に抵抗R2を介し
て接続されたフォトトランジスタ7bとから構成され
る。8はセンサ7の出力信号でありスイッチ出力信号5
と同等であるセンサ出力信号を示す。そして図9におい
て、CLK1はIC2が動作するタイミングを作る内部
クロック、10はIC2の電源投入時及び電源電圧の低
下を検出してIC2内部の動作を制御するリセット信号
である。図10において、28はシュミット出力6を入
力し、ある一定時間遅延されてY28を出力する遅延回
路、29はシュミット出力6と遅延回路28の出力Y2
8が入力されてY29を出力するアンド回路、30はア
ンド回路29の出力Y29をデータとして入力するリセ
ット付きD形フリップフロップ回路(以下、リセット付
きD−F/Fと記す。)、31はリセット付きD−F/
F30のクロック信号を示す。このような回路は、例え
ば公開特許公報平成2年第310974号に示されたも
のが知られている。
2. Description of the Related Art Conventional examples of the present invention are shown in FIGS.
9, 10 and 11 will be described. 7, 8,
FIG. 10 is a block diagram showing an example of a conventional IC input circuit, FIG. 9 is a timing chart showing the operation of FIGS. 7 and 8 , and FIG. 11 is a timing chart showing the operation of FIG. In FIG. 7, 1 is a switch for mechanically detecting an action from the outside and converting it into an electric signal, 2 is connected to the switch 1, and I7C, 3 which operates by receiving the electric signal with the action converted from the outside, The switch 1 is provided on the input side of the IC 2 and is connected to the input side thereof.
A Schmitt trigger circuit 4 for converting to a logic level of the IC2, each having a different predetermined threshold value, is provided in the IC2 and is connected to the output side of the Schmitt trigger circuit 3.
An external signal processing circuit for processing the signal converted by the Schmitt trigger circuit 3, 5 is a switch output signal which is an output signal of the switch 1, and 6 is a Schmitt output which is an output signal of the Schmitt trigger circuit 3. Also, in FIG.
Is a sensor that has the same function as the switch 1 and that electrically detects an external action. This sensor is a power source Vcc.
And a ground G via a resistor R1 and a phototransistor 7b connected between a power source Vcc and a ground G via a resistor R2. 8 is an output signal of the sensor 7, which is a switch output signal 5
Shows a sensor output signal equivalent to Further, in FIG. 9, CLK1 is an internal clock that creates the timing at which the IC2 operates, and 10 is a reset signal that controls the internal operation of the IC2 when the power of the IC2 is turned on and when a decrease in the power supply voltage is detected. In FIG. 10, 28 is the Schmitt output 6 input.
Delay time to output Y28 after being delayed for a certain time.
And 29 is the Schmitt output 6 and the output Y2 of the delay circuit 28.
An AND circuit that receives 8 and outputs Y29, 30 is an
The output Y29 of the output circuit 29 is input as data.
D-type flip-flop circuit (with reset)
It is referred to as DF / F. ), 31 is D-F / with reset
The clock signal of F30 is shown. Such a circuit is
For example, the one disclosed in Japanese Patent Publication No. 310974 of 1990
Is known.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0005[Name of item to be corrected] 0005

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0005】ところで、IC2が外部信号を処理する場
合、IC2の内部には、内部クロックCLK1あるいは
その分周出力の立ち上がりまたは立ち下がりのタイミン
グに同期して動作する回路と非同期の回路とが存在す
る。外部からの作用であるスイッチ1は、振動衝撃等の
環境下において振動した開閉を引き起こすことがあり、
この振動したスイッチ出力信号5を受けたシュミットト
リガ回路3は、スイッチ出力信号5がそのしきい値VT
H−またはVTH+を超えた場合、その変化をシュミッ
ト出力6として出力する。IC2の外部信号処理回路4
の中に内部クロックCLK1に非同期の処理回路が含ま
れる場合は、その振動によるシュミット出力6の信号変
化を受けて動作して誤動作を生じる可能性がある。次に
図10及び図11の動作について説明する。IC2の電
源が投入されると、IC2の電源電圧検出回路は電源電
圧の立ち上がりを検出し、リセット信号10が0から1
へ変化するとIC2は初期状態の設定を終え、動作可能
な状態になり、内部信号の処理及び外部からの信号入力
待ちの状態となる。リセット信号10は、リセット付き
D−F/F30のRに入力されているので、リセット信
号10が0になると、出力Q30は0となり、他の信号
の入力待ちの状態になる。そのリセット信号10が0の
ときから、スイッチ1が閉じているとスイッチ出力信号
5はシュミット入力3へ入力され、シュミット出力6と
して0を出力する。シュミット出力6は0であるので、
アンド回路29の出力Y29は0となる。リセット付き
D−F/F30のDへ入力される出力Y29が0である
ので、リセット付きD−F/F30のCにクロック信号
31の立ち上がりエッジが入力されても、出力Q30は
0のまま変化しない。この後、外部からの作用であるス
イッチ1は、振動衝撃等の環境下において振動して短時
間の開いた状態を引き起こすと、スイッチ出力信号5が
0Vから+5Vへ立ち上がり、シュミット入力3のしき
い値VTH+を越えた時点でそのシュミット出力6を0
から1へ変化させる。その後、スイッチ1の開いた状態
が短時間なので、スイッチ出力信号5が+5Vから0V
へ立ち下がり、シュミット入力3のしきい値VTH−を
越えた時点でそのシュミット出力6を1から0へ変化さ
せ、0−1−0の時間T3のパルスがシュミット出力6
に発生する。このシュミット出力6のT3は、遅延回路
28に入力され、遅延時間Td後にパルス時間T4とし
て出力Y28に出力される。シュミット出力6と出力Y
28が入力されるアンド回路29は、二つの入力が両方
とも1の時出力Y29を1とするので、T3の時間がT
dよりも短い(T3<Td)場合、Y29は0の状態を
保つ。出力Y29が0なので、リセット付きD−F/F
30の出力Q30の信号も0のまま変化しない。また、
スイッチ1が閉じた状態から開いた状態に変化すると、
スイッチ出力信号5が0Vから+5Vへ立ち上がり、シ
ュミット入力3のしきい値VTH+を越えた時点でその
シュミット出力6を0から1へ変化させる。このシュミ
ット出力6は、遅延回路28に入力され、遅延時間Td
後に出力Y28を0から1へ変化させる。アンド回路2
9は、二つの入力が両方とも1の時、つまりシュミット
出力6の0から1への信号の変化からTd時間後に変化
する出力Y28の0から1の変化後に、アンド回路29
の出力Y29を0から1へ変化させる。このY29の信
号の変化後、クロック信号31の立ち上がりエッジで出
力Q30は0から1へ変化し、スイッチ出力5は外部信
号処理装置4へ伝達される。次に、スイッチ1が開いた
状態にて、振動衝撃等の環境下において振動して短時間
の閉じた状態を引き起こすと、スイッチ出力信号5が+
5Vから0Vへ立ち下がり、シュミット入力3のしきい
値VTH−を越えた時点でそのシュミット出力6を1か
ら0へ変化させる。その後、スイッチ1の開いた状態が
短時間なので、スイッチ出力信号5が0Vから+5Vへ
立ち上がり、シュミット入力3のしきい値VTH+を越
えた時点でそのシュミット出力6を0から1へ変化さ
せ、1−0−1の時間T5のパルスがシュミット出力6
に発生する。このシュミット出力6のT5は、遅延回路
28に入力され、遅延時間Td後にパルス時間T6とし
て出力Y28に出力される。シュミット出力6と出力Y
28が入力されるアンド回路29は、二つの入力が両方
とも1の時出力Y29を1とするので、論理が0である
T5及びT6のパルスはそのままアンド回路29の出力
Y29として出力される。出力Y29の論理が1から0
に変化したT5及びT6の時間の間に、クロック信号3
1の立ち上がりエッジが入力されると、リセット付きD
−F/F30の出力Q30は1から0に変化する。Y2
9が再び1に変化して、クロック信号31の立ち上がり
エッジが入力されると、Q30は1に変化する。よって
スイッチ出力5のT5の瞬断は、T7及びT8として外
部信号処理装置に入力される。このように、スイッチ出
力5の論理が1の状態からの瞬断は、防止することが出
来ない。更に、スイッチ1が開いた状態、つまりスイッ
チ出力5の論理が1の状態にてリセット信号10の論理
が0となりT9の時間の間ICの初期状態の設定の動作
を行うと、リセット信号10の1から0の変化に同期し
て、Q30は1から0へ変化する。ところがリセット付
きD−F/F30の入力Dに入力されるY29の論理は
1であるので、リセット信号10の論理が0から1へ変
化した後の、クロック信号31の最初の立ち上がりエッ
ジで、Q30の論理は0から1へ変化する。つまりT9
時間リセット信号10が0となると、T10時間だけQ
30は0となり、スイッチ1の状態と一致しない状態が
発生する。
By the way, when the IC2 processes an external signal, a circuit which operates in synchronization with the rising or falling timing of the internal clock CLK1 or its frequency-divided output exists inside the IC2 and a circuit which is asynchronous. . The switch 1, which is an action from the outside, may cause opening and closing that vibrates in an environment such as vibration impact.
The Schmitt trigger circuit 3 that receives the vibrated switch output signal 5 detects that the switch output signal 5 has a threshold value VT.
When H- or VTH + is exceeded, the change is output as the Schmitt output 6. External signal processing circuit 4 of IC2
If the internal clock CLK1 includes a processing circuit that is not synchronized with the internal clock CLK1, the operation may be affected by the signal change of the Schmitt output 6 due to the vibration, resulting in a malfunction. next
The operation of FIGS. 10 and 11 will be described. IC2 power
When the power is turned on, the power supply voltage detection circuit of IC2
The rising edge of the pressure is detected, and the reset signal 10 changes from 0 to 1.
When it changes to, IC2 finishes setting the initial state and can operate.
The internal signal processing and signal input from the outside.
It will be in a waiting state. Reset signal 10 is with reset
Since it is input to R of D-F / F30, the reset signal
When the signal 10 becomes 0, the output Q30 becomes 0 and other signals
Is waiting for input. The reset signal 10 is 0
Since then, when switch 1 is closed, the switch output signal
5 is input to the Schmitt input 3, and the Schmitt output 6
And outputs 0. Since the Schmitt output 6 is 0,
The output Y29 of the AND circuit 29 becomes 0. With reset
The output Y29 input to D of the D-F / F30 is 0.
Therefore, the clock signal is input to C of D-F / F30 with reset.
Even if the rising edge of 31 is input, the output Q30 is
It remains 0 and does not change. After this, the external action
The switch 1 vibrates in an environment such as a vibration shock for a short time.
The switch output signal 5 causes the open state between
Rising from 0V to + 5V, Schmitt input 3 threshold
The Schmidt output 6 is set to 0 when the threshold value VTH + is exceeded.
Change from 1 to 1. After that, switch 1 is open
Is a short time, switch output signal 5 is from + 5V to 0V
Falling to the threshold VTH- of the Schmitt input 3
When it exceeds, the Schmidt output 6 is changed from 1 to 0.
The pulse of 0-1-0 at time T3 is the Schmitt output 6
Occurs in. T3 of this Schmitt output 6 is a delay circuit
28, and the pulse time is T4 after the delay time Td.
Is output to the output Y28. Schmidt output 6 and output Y
The AND circuit 29 to which 28 is input has both two inputs.
Output Y29 is set to 1 when both are 1, so the time of T3 is T
If it is shorter than d (T3 <Td), Y29 is set to 0.
keep. Output Y29 is 0, so DF / F with reset
The signal of the output Q30 of 30 also remains 0 and does not change. Also,
When the switch 1 changes from the closed state to the open state,
The switch output signal 5 rises from 0V to + 5V,
When the threshold value VTH + of the input 3 is exceeded,
The Schmidt output 6 is changed from 0 to 1. This Sumi
Output 6 is input to the delay circuit 28, and the delay time Td
After that, the output Y28 is changed from 0 to 1. AND circuit 2
9 is Schmitt when both inputs are 1
Change after Td time from the change of the output 6 signal from 0 to 1.
After the output Y28 changes from 0 to 1, the AND circuit 29
The output Y29 of is changed from 0 to 1. This Y29 belief
Issued at the rising edge of clock signal 31 after the change of signal.
Force Q30 changes from 0 to 1 and switch output 5
No. processing device 4 is transmitted. Then switch 1 opened
In a state, it vibrates in an environment such as vibration impact for a short time
Switch output signal 5 is +
The threshold of Schmitt input 3 falls from 5V to 0V
When the value VTH- is exceeded, the Schmitt output 6 is set to 1
Change from 0 to 0. After that, the open state of switch 1
Switch output signal 5 changes from 0V to + 5V because it is a short time
Rising, exceeding the threshold VTH + of Schmitt input 3
At that time, the Schmitt output 6 is changed from 0 to 1.
Then, the pulse of 1-0-1 time T5 is the Schmitt output 6
Occurs in. T5 of this Schmitt output 6 is a delay circuit
28, and the pulse time is T6 after the delay time Td.
Is output to the output Y28. Schmidt output 6 and output Y
The AND circuit 29 to which 28 is input has both two inputs.
When both are 1, the output Y29 is 1, so the logic is 0.
The pulse of T5 and T6 is directly output from the AND circuit 29.
It is output as Y29. Output Y29 logic is 1 to 0
Clock signal 3 during the time of T5 and T6 that changed to
When a rising edge of 1 is input, D with reset
-The output Q30 of the F / F30 changes from 1 to 0. Y2
9 changes to 1 again and the clock signal 31 rises
When an edge is input, Q30 changes to 1. Therefore
The instantaneous interruption of T5 of the switch output 5 is outside as T7 and T8.
It is input to the local signal processing device. In this way, switch out
It is possible to prevent a momentary interruption from the state where the logic of force 5 is 1.
do not come. In addition, switch 1 is open,
H When the output 5 logic is 1, the reset signal 10 logic
Becomes 0 and the operation of setting the initial state of the IC during the time T9
When the reset signal 10 changes from 1 to 0,
Q30 changes from 1 to 0. However, with reset
The logic of Y29 input to the input D of DF / F30 is
Since it is 1, the logic of the reset signal 10 changes from 0 to 1.
The first rising edge of the clock signal 31 after conversion.
Then, the logic of Q30 changes from 0 to 1. That is T9
When the time reset signal 10 becomes 0, only Q for T10
30 becomes 0, and the state that does not match the state of switch 1
Occur.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0006[Correction target item name] 0006

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0006】[0006]

【発明が解決しようとする課題】従来例の図7、図8、
図9では、ICの入力回路は、以上のように構成され、
外部からの作用に対して内部クロックCLK1は非同期
であるため、外部からの作用と内部クロックCLK1と
のタイミングによっては入力パルス制限回路の動作時期
がずれることがある。又、入力パルス制限回路が内部ク
ロックCLK1に同期して動作している場合において
は、外部作用が内部クロックCLK1の周期より短い時
間で入力されるとその外部作用を受け付けることができ
なくなるという問題点があった。更に、IC2の回路の
うち、内部クロックCLK1に対して非同期の回路部分
だけが動作し、これが原因となって誤動作を生じる可能
性があり、信頼性の低い製品となるという問題点もあっ
た。更に、従来例の図10、図11では、スイッチ1が
開いた状態での振動及び衝撃による瞬間的な開閉による
外部信号処理装置4への信号の変化の伝達を防止するこ
とができない。また、リセット時の初期状態では、スイ
ッチ1の状態と一致しないことが発生する。これらは、
誤動作の原因となる可能性があり、信頼性の低い製品と
なるという問題点があった。
FIG. 7, FIG. 8 of a conventional example,
In FIG. 9, the input circuit of the IC is configured as described above,
Since the internal clock CLK1 is asynchronous with respect to the action from the outside, the operation timing of the input pulse limiting circuit may be shifted depending on the action from the outside and the timing of the internal clock CLK1. Further, in the case where the input pulse limiting circuit operates in synchronization with the internal clock CLK1, there is a problem that if the external action is input in a time shorter than the cycle of the internal clock CLK1, the external action cannot be accepted. was there. Further, in the circuit of the IC2, only the circuit part asynchronous with the internal clock CLK1 operates, which may cause a malfunction, resulting in a low reliability product. Furthermore, in FIGS. 10 and 11 of the conventional example, the switch 1 is
Due to momentary opening and closing due to vibration and shock in the open state
To prevent the transmission of signal changes to the external signal processing device 4.
I can't. In the initial state after reset, the switch
It sometimes happens that the state of the switch 1 does not match. They are,
Unreliable products that may cause malfunction.
There was a problem that

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0007[Correction target item name] 0007

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0007】一方、かかる誤動作を防止すべく、全ての
回路を内部クロックCLK1に同期させるか、又は内部
クロックCLK1の周期より短い時間の外部信号をIC
2に入力させないようスイッチ1とシュミットトリガ回
路3間にCRを用いた積分回路を設けることが考えられ
るが、この場合は装置コストが高くなるという問題点が
あった。
On the other hand, in order to prevent such malfunctions, all circuits are synchronized with the internal clock CLK1 or an external signal having a time shorter than the cycle of the internal clock CLK1 is supplied to the IC.
It is conceivable to provide an integrating circuit using a CR between the switch 1 and the Schmitt trigger circuit 3 so as not to input the signal to the switch 2. However, in this case, there is a problem that the device cost increases.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図10[Name of item to be corrected] Fig. 10

【補正方法】追加[Correction method] Added

【補正内容】[Correction content]

【図10】従来のICの入力回路の他の一例を示すブロ
ック図である。
FIG. 10 is a block diagram showing another example of a conventional IC input circuit.
FIG.

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図11[Name of item to be corrected] Fig. 11

【補正方法】追加[Correction method] Added

【補正内容】[Correction content]

【図11】図10の動作を示すタイミングチャートであ
る。
11 is a timing chart showing the operation of FIG .
It

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図10[Name of item to be corrected] Fig. 10

【補正方法】追加[Correction method] Added

【補正内容】[Correction content]

【図10】 [Figure 10]

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図11[Name of item to be corrected] Fig. 11

【補正方法】追加[Correction method] Added

【補正内容】[Correction content]

【図11】 FIG. 11

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 外部回路に接続され、この外部回路から
の信号をIC内部に取り込むICの入力回路において、 前記外部回路から入力された外部信号を所定のクロック
に同期するパルス信号に形成する外部信号同期手段と、 この外部信号同期手段の出力側に接続され、この外部信
号同期手段によって形成されたパルス信号長が所定値以
上のときに、前記パルス信号を出力側より出力する外部
信号選択手段と、 を備えたことを特徴とするICの入力回路。
1. An input circuit of an IC, which is connected to an external circuit and takes in a signal from the external circuit into the IC, wherein the external signal input from the external circuit is formed into a pulse signal synchronized with a predetermined clock. A signal synchronizing means and an external signal selecting means connected to the output side of the external signal synchronizing means and outputting the pulse signal from the output side when the pulse signal length formed by the external signal synchronizing means is equal to or more than a predetermined value. An input circuit for an IC, comprising:
JP4202074A 1992-07-29 1992-07-29 Ic input circuit Pending JPH0653811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4202074A JPH0653811A (en) 1992-07-29 1992-07-29 Ic input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4202074A JPH0653811A (en) 1992-07-29 1992-07-29 Ic input circuit

Publications (1)

Publication Number Publication Date
JPH0653811A true JPH0653811A (en) 1994-02-25

Family

ID=16451523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4202074A Pending JPH0653811A (en) 1992-07-29 1992-07-29 Ic input circuit

Country Status (1)

Country Link
JP (1) JPH0653811A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4809558A (en) * 1987-02-27 1989-03-07 Itt Corporation Method and apparatus for use with vortex flowmeters
US4836016A (en) * 1985-08-10 1989-06-06 Toyota Jidosha Kabushiki Kaisha Method and apparatus for detecting abnormal state in pulse train generating sensor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4836016A (en) * 1985-08-10 1989-06-06 Toyota Jidosha Kabushiki Kaisha Method and apparatus for detecting abnormal state in pulse train generating sensor
US4809558A (en) * 1987-02-27 1989-03-07 Itt Corporation Method and apparatus for use with vortex flowmeters

Similar Documents

Publication Publication Date Title
US6075392A (en) Circuit for the glitch-free changeover of digital signals
US5128970A (en) Non-return to zero synchronizer
KR100286155B1 (en) Oscillator circuit integrated in integrated circuit
JP4007027B2 (en) Power-on reset circuit
CN115664391B (en) Flip-flop circuit
JPH0653811A (en) Ic input circuit
US6928569B2 (en) Automatic output delay timing adjustment for programmable glitch filter
US6356142B1 (en) Digital filter tune loop
JP2921494B2 (en) Oscillation circuit
KR101697527B1 (en) Protection circuit for preventing a digital circuitry from abnormal operations
JP3021747B2 (en) PLL circuit
KR0167202B1 (en) Device of noise deletion in plc interrupt module
JPH0645880A (en) Delay type flip flop circuit
JP2679481B2 (en) Self-propelled synchronous circuit
KR200262927Y1 (en) Clock fail detector
JPH06120812A (en) Semiconductor integrated circuit
JP2001148623A (en) Malfunction preventing method and circuit
JPH0668280A (en) Reset circuit
KR100393421B1 (en) Counter System for Synchronous AF Converter
JP2973613B2 (en) Programmable counter
JPH10290148A (en) Phase comparator circuit
JPH0318773B2 (en)
JPH0727429B2 (en) Microcomputer oscillation clock switching circuit
NZ206464A (en) Phase adjusting pulse corrector
JPS6361821B2 (en)