JPH04132414A - Prevention circuit for unstable setting - Google Patents
Prevention circuit for unstable settingInfo
- Publication number
- JPH04132414A JPH04132414A JP25490390A JP25490390A JPH04132414A JP H04132414 A JPH04132414 A JP H04132414A JP 25490390 A JP25490390 A JP 25490390A JP 25490390 A JP25490390 A JP 25490390A JP H04132414 A JPH04132414 A JP H04132414A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- shift register
- clock
- setting
- data
- 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
- 230000002265 prevention Effects 0.000 title claims description 8
- 230000000903 blocking effect Effects 0.000 claims description 2
- 238000005070 sampling Methods 0.000 abstract description 6
- 244000145845 chattering Species 0.000 abstract description 4
- 239000000203 mixture Substances 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野]
本発明は、ディジタル回路の論理保持回路に関し、特に
論理設定における不安定設定防止回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic holding circuit for a digital circuit, and particularly to a circuit for preventing unstable setting in logic setting.
論理保持回路は、異なるレベルの信号を与えるものであ
る。すなわち、この種の論理保持回路は、動作するディ
ジタル回路に論理レベルで” 1 ”または“Oパの直
流信号をスイッチ等で与える構成となっている。Logic holding circuits provide signals of different levels. That is, this type of logic holding circuit has a configuration in which a DC signal of logic level "1" or "O-P" is applied to an operating digital circuit using a switch or the like.
(発明が解決しようとする課題〕
従来の論理設定回路は、連続的な直流レベルの信号で論
理設定を行う。すなわち、設定信号が連続的に“0”ま
たは“1”であれば、何ら問題はない。(Problems to be Solved by the Invention) Conventional logic setting circuits perform logic setting using continuous DC level signals.In other words, if the setting signal is continuously "0" or "1", there is no problem. There isn't.
ところで、設定されるディジタル回路がトグルスイッチ
等により手動で設定される場合がある。Incidentally, the digital circuit to be set may be manually set using a toggle switch or the like.
このような論理設定回路の一例が第3圓に示されている
。第3図は、設定部10に論理設定用スイッチ1が設け
られており、被設定部20に論理設定すべきディジタル
回路がある場合を示している。このような場合には、ス
イッチ1を動作させた瞬間、チャツタリングにより論理
設定が不安定になるという問題がある。An example of such a logic setting circuit is shown in the third circle. FIG. 3 shows a case where the setting section 10 is provided with the logic setting switch 1, and the section to be set 20 includes a digital circuit whose logic should be set. In such a case, there is a problem that the logic setting becomes unstable due to chattering the moment the switch 1 is activated.
本発明の目的は、上述のような問題を回避するための不
安定設定防止回路を提供することにある。An object of the present invention is to provide an unstable setting prevention circuit for avoiding the above-mentioned problems.
本発明は、切り替えスイッチによる論理設定の不安定を
防止する不安定設定防止回路であって、クロックを発生
する発生回路と、
前記発生回路からのクロックで論理設定をサンプリング
し、データを蓄えるNビットのシフトレジスタと、
このシフトレジスタに蓄えられたデータがすべて一致し
ているか否かを判定する判定回路と、この判定回路の出
力で前記発生回路のクロックの阻止あるいは通過を制御
するゲート回路と、このゲート回路を通過したクロック
で前記シフトレジスタの最終段のデータを保持して出力
する保持口路とを有することを特徴としている。The present invention is an unstable setting prevention circuit that prevents instability of logic settings caused by a changeover switch, and includes a generator circuit that generates a clock, and N bits that sample logic settings using the clock from the generator circuit and store data. a shift register, a determination circuit that determines whether all data stored in the shift register match, and a gate circuit that controls blocking or passing of the clock of the generation circuit using the output of the determination circuit; The device is characterized in that it has a holding port which holds and outputs the data of the final stage of the shift register using the clock that has passed through the gate circuit.
前述した本発明において、前記判定回路は、前記シフト
レジスタのNビットのデータの排他的否定論理和の演算
を行い、前記シフトレジスタのNビットのデータが一致
しているか否かを判定するのが好適である。In the present invention described above, the determination circuit performs an exclusive NOR operation on the N-bit data of the shift register and determines whether the N-bit data of the shift register match. suitable.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は、本発明の一実施例を示す回路図である。第1
図に示される不安定設定防止回路は、設定部10と、被
設定部20とを備えている。FIG. 1 is a circuit diagram showing one embodiment of the present invention. 1st
The unstable setting prevention circuit shown in the figure includes a setting section 10 and a set section 20.
被設定部20は、論理設定をクロックでサンプリングし
ディジタルを蓄える8ビツトシフトレジスタ3と、シフ
トレジスタ3の出力が全て一致しているか否かを判定す
る排他的否定論理和回路(Exclusive NOR
:以下、EX −NOR回路という)9と、このEX
−NOR回路9の出力出クロック発生回路2からのクロ
ックを阻止するクロック制御用NAND(ナンド)回路
7と、シフトレジスタ3の最終データを、EX −NO
R回路9の出力で制御されたクロックでリタイミングす
る出力用フリップフロップ(FF)8とを備えている。The set section 20 includes an 8-bit shift register 3 that samples logic settings with a clock and stores digital data, and an exclusive NOR circuit that determines whether all outputs of the shift register 3 match.
:hereinafter referred to as EX-NOR circuit) 9 and this EX
-The clock control NAND circuit 7 that blocks the clock from the output clock generation circuit 2 of the NOR circuit 9 and the final data of the shift register 3 are
The output flip-flop (FF) 8 performs retiming using a clock controlled by the output of the R circuit 9.
EX −NOR回路9は、AND (アンド)回路4と
NOR(ノア)回路5とOR(オア)回路6とを備えて
いる。The EX-NOR circuit 9 includes an AND circuit 4, a NOR circuit 5, and an OR circuit 6.
そして、被設定部20において、シフトレジスタ3のQ
出力端子は、AND回路4およびNOR回路5の入力端
子にそれぞれ接続されている。最終段のQ出力端子はさ
らに、フリップフロップ8のD入力端子に接続されてい
る。Then, in the set section 20, the Q of the shift register 3 is
The output terminals are connected to input terminals of AND circuit 4 and NOR circuit 5, respectively. The Q output terminal of the final stage is further connected to the D input terminal of the flip-flop 8.
EX −NOR回路9において、AND回路4およびN
OR回路5の出力端子は、OR回路6の入力端子に接続
されている。OR回路6の出力端子は、NAND回路7
の他方の入力端子に接続されている。NAND回路7の
出力端子はフリップフロップ8のクロック入力端子CL
に接続されている。In the EX-NOR circuit 9, AND circuit 4 and N
The output terminal of OR circuit 5 is connected to the input terminal of OR circuit 6. The output terminal of the OR circuit 6 is connected to the NAND circuit 7.
is connected to the other input terminal of The output terminal of the NAND circuit 7 is the clock input terminal CL of the flip-flop 8.
It is connected to the.
設定部10には、論理設定用スイッチ1と、サンプリン
グ用クロック発生回路2とが設けられている。論理設定
用スイッチ1はシフトレジスタ3の入力端子りに接続さ
れている。クロック発生回路2は、シフトレジスタ3の
クロック入力端子CKおよびクロック制御用NAND回
路7の一方の入力端子に接続されている。The setting section 10 is provided with a logic setting switch 1 and a sampling clock generation circuit 2. The logic setting switch 1 is connected to the input terminal of the shift register 3. The clock generation circuit 2 is connected to the clock input terminal CK of the shift register 3 and one input terminal of the clock control NAND circuit 7.
次に、本実施例の動作を、第2図のタイムチャートをも
参照しながら説明する。第2図は、論理設定用スイッチ
1をハイレベルからロウレベルへ動作した時を示すタイ
ムチャートである。Next, the operation of this embodiment will be explained with reference to the time chart of FIG. FIG. 2 is a time chart showing when the logic setting switch 1 is operated from high level to low level.
サンプリング用クロック発生回路2は、スイッチ動作に
より発生するチャックリングより短い周期のクロックを
発生している。まず、設定部10がハイレベルに設定さ
れている状態では、論理設定用スイッチlは、第2図(
a)に示すように、ハイレベルに設定されている。この
設定情報(論理設定)がシフトレジスタ3に入力され、
第2図(b)に示すような、サンプリング用クロック発
生回路2からのクロックによりサンプリングされて蓄え
られる。The sampling clock generation circuit 2 generates a clock having a shorter period than the chuck ring generated by the switch operation. First, when the setting section 10 is set to a high level, the logic setting switch l is set to the high level as shown in FIG.
As shown in a), it is set to a high level. This setting information (logical setting) is input to the shift register 3,
The data is sampled and stored using the clock from the sampling clock generation circuit 2 as shown in FIG. 2(b).
サンプリング後のシフトレジスタ3内のデータを第3図
(C)に示す。この場合、シフトレジスタ3のQ出力は
すべて“′1パである。したがって、EX・NOR回路
9の出力は、第2図(d)に示すように“1”となる。The data in the shift register 3 after sampling is shown in FIG. 3(C). In this case, all Q outputs of the shift register 3 are "1". Therefore, the output of the EX/NOR circuit 9 is "1" as shown in FIG. 2(d).
これにより、第2図(elに示すように、NANDAN
D回路ロック発生回路2からのクロックを通過させ、フ
リップフロップ8のクロック入力端子CLに人力される
。このクロックで、フリップフロップ8は、シフトレジ
スタ3の最終データを正しく取り込み、リタイミングし
て出力する。As a result, as shown in Figure 2 (el), NANDAN
The clock from the D-circuit lock generation circuit 2 is passed through and inputted to the clock input terminal CL of the flip-flop 8. With this clock, the flip-flop 8 correctly takes in the final data of the shift register 3, retimes it, and outputs it.
フリップフロップ8のQ出力を第2図(f)に示してい
る。The Q output of the flip-flop 8 is shown in FIG. 2(f).
スイッチ1を時刻t、でロウレベルへ動作し始めると、
設定部10による設定内容はチャックリングにより変化
し、シフトレジスタ3の出力は第2図(C)に示すよう
に“1”と“°O“が混在した形となる。EX −NO
R回路9の出力は、第2図回に示すように、“0”°と
なる。したがって、NANDAND回路ロックを阻止す
るため、フリップフロップ8は、チャックリングを起こ
す前のデータ、すなわち“1゛を保持している。これに
より、フリ、プフロ、プ8のQ出力は、第2図(f)に
示すように、ハイの状態に保たれる。When switch 1 starts to operate to low level at time t,
The setting contents by the setting unit 10 change by chucking, and the output of the shift register 3 becomes a mixture of "1" and "°O" as shown in FIG. 2(C). EX-NO
The output of the R circuit 9 becomes "0" as shown in the second diagram. Therefore, in order to prevent the NANDAND circuit from locking, the flip-flop 8 holds the data before chucking, that is, "1".As a result, the Q output of the flip-flop 8 is as shown in FIG. As shown in (f), it is kept in a high state.
時刻1tでチャツタリングが起きなくなった時、シフト
レジスタ3の出力は第2図(C)に示すようにすべて“
0”となり、EX −NOR回路9の出力は第2図(d
)に示すように′1”になる。したがって、NANDA
ND回路ロックを通過させ、フリ、プフロノプ8は、シ
フトレジスタ3の最終段のデータをリタイミングし、Q
出力を第2図げ)に示すようにロウに変化させる。When chatter stops occurring at time 1t, all outputs of the shift register 3 become “
0'', and the output of the EX-NOR circuit 9 is as shown in Figure 2 (d
) as shown in ``1''. Therefore, NANDA
Passing the ND circuit lock, the Pfronop 8 retimes the data in the final stage of the shift register 3, and
Change the output to low as shown in Figure 2).
以上の実施例は論理設定用スイッチ1をハイからロウへ
設定した場合であるが、ロウからハイへ設定した場合に
も、同様の理由により、チャックリングによる不安定設
定を防止することができる。The above embodiment deals with the case where the logic setting switch 1 is set from high to low, but even when the logic setting switch 1 is set from low to high, unstable setting due to chuckling can be prevented for the same reason.
以上説明したように本発明によれば、スイ・7チによる
論理設定変更の場合、チャックリングによる不安定設定
を防止できるという効果を有する。As explained above, according to the present invention, when the logic setting is changed using the switch/7 switch, it is possible to prevent unstable setting due to the chuck ring.
第1図は、本発明の一実施例を示す回路図、第2図は、
第1図のスイッチをハイレベルからロウレベルに設定し
たときの動作を説明するタイムチャート、
第3図は、論理設定防止回路の一例を示す回路図である
。
1・・・論理設定用スイッチ
2・・・サンプリング用クロック発生回路3・・・8ビ
ツトシフトレジスタ
4・・・AND回路
5・・・NOR回路
6・・・OR回路
7・・・NANDAN
D回路・フリップフロップ
9・・・EX −NOR回路
10・・・設定部
20・・・被設定部
代理人 弁理士 岩 佐 義 幸FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG. 2 is a circuit diagram showing an embodiment of the present invention.
A time chart illustrating the operation when the switch in FIG. 1 is set from a high level to a low level. FIG. 3 is a circuit diagram showing an example of a logic setting prevention circuit. 1...Logic setting switch 2...Sampling clock generation circuit 3...8-bit shift register 4...AND circuit 5...NOR circuit 6...OR circuit 7...NANDAND D circuit・Flip-flop 9...EX-NOR circuit 10...Setting section 20...Setting section agent Patent attorney Yoshiyuki Iwasa
Claims (2)
する不安定設定防止回路であって、 クロックを発生する発生回路と、 前記発生回路からのクロックで論理設定をサンプリング
し、データを蓄えるNビットのシフトレジスタと、 このシフトレジスタに蓄えられたデータがすべて一致し
ているか否かを判定する判定回路と、この判定回路の出
力で前記発生回路のクロックの阻止あるいは通過を制御
するゲート回路と、このゲート回路を通過したクロック
で前記シフトレジスタの最終段のデータを保持して出力
する保持回路とを有することを特徴とする不安定設定防
止回路。(1) An unstable setting prevention circuit that prevents unstable logic settings caused by a changeover switch, which includes a generator circuit that generates a clock, and an N-bit circuit that samples the logic settings using the clock from the generator circuit and stores data. a shift register; a determination circuit that determines whether all data stored in the shift register match; a gate circuit that uses the output of the determination circuit to control blocking or passing of the clock of the generation circuit; An unstable setting prevention circuit comprising: a holding circuit that holds and outputs data in the final stage of the shift register using a clock that has passed through a gate circuit.
のデータの排他的否定論理和の演算を行い、前記シフト
レジスタのNビットのデータが一致しているか否かを判
定する請求項1記載の不安定設定防止回路。(2) The determination circuit according to claim 1, wherein the determination circuit performs an exclusive NOR operation on the N-bit data of the shift register, and determines whether the N-bit data of the shift register match. Unstable setting prevention circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25490390A JPH04132414A (en) | 1990-09-25 | 1990-09-25 | Prevention circuit for unstable setting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25490390A JPH04132414A (en) | 1990-09-25 | 1990-09-25 | Prevention circuit for unstable setting |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04132414A true JPH04132414A (en) | 1992-05-06 |
Family
ID=17271449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25490390A Pending JPH04132414A (en) | 1990-09-25 | 1990-09-25 | Prevention circuit for unstable setting |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04132414A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7131409B2 (en) | 2002-07-31 | 2006-11-07 | Mikuni Corporation | Valve timing changer |
US7287507B2 (en) | 2003-02-28 | 2007-10-30 | Aisin Seiki Kabushiki Kaisha | Engine oil supply apparatus |
-
1990
- 1990-09-25 JP JP25490390A patent/JPH04132414A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7131409B2 (en) | 2002-07-31 | 2006-11-07 | Mikuni Corporation | Valve timing changer |
US7287507B2 (en) | 2003-02-28 | 2007-10-30 | Aisin Seiki Kabushiki Kaisha | Engine oil supply apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0219015A (en) | Multifunctional flip-flop circuit | |
KR100498473B1 (en) | Control signal generation circuit and data transmission circuit having the same | |
JPH04132414A (en) | Prevention circuit for unstable setting | |
JP3380329B2 (en) | Digital data arbitration device | |
JP2678115B2 (en) | Timer circuit | |
US5768322A (en) | Transferred data recovery apparatus | |
EP0877380A1 (en) | Delay circuit using a digital memory | |
JPH1185304A (en) | Clock input control circuit | |
JPH088514B2 (en) | Digital correlator | |
JPH0254340A (en) | Preventing circuit for erroneous setting action | |
JP2779443B2 (en) | Semiconductor device | |
JP2917581B2 (en) | Latch circuit | |
JPH076152A (en) | Input circuit for external control signal | |
JPH05291900A (en) | Comparator circuit | |
JP3312647B2 (en) | Flip-flop circuit with asynchronous set / reset | |
JPH0450657Y2 (en) | ||
KR100338402B1 (en) | Memory device and method of controlling the same | |
KR940008663B1 (en) | Cyclic permutable cordward data detection circuit | |
JP2000259323A (en) | Input signal control circuit | |
JP2593017B2 (en) | Serial data transfer device | |
JPH0486116A (en) | Digital signal processing circuit | |
JP2810584B2 (en) | Serial data transfer circuit | |
KR950009571B1 (en) | Self-check device in digital output port | |
JPH02139629A (en) | Fifo buffer device | |
KR100199190B1 (en) | Data acquisition logic |