JP2508976B2 - Reset device - Google Patents
Reset deviceInfo
- Publication number
- JP2508976B2 JP2508976B2 JP5193938A JP19393893A JP2508976B2 JP 2508976 B2 JP2508976 B2 JP 2508976B2 JP 5193938 A JP5193938 A JP 5193938A JP 19393893 A JP19393893 A JP 19393893A JP 2508976 B2 JP2508976 B2 JP 2508976B2
- Authority
- JP
- Japan
- Prior art keywords
- reset
- output
- signal
- pulse
- reset switch
- 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 - Fee Related
Links
- 238000012544 monitoring process Methods 0.000 claims description 36
- 238000001514 detection method Methods 0.000 claims description 16
- 230000004913 activation Effects 0.000 description 10
- 230000000630 rising effect Effects 0.000 description 8
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 239000000470 constituent Substances 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Description
【0001】[0001]
【産業上の利用分野】本発明は、電子機器のリセット装
置に関し、特に、コンピュータシステムのリセット装置
の改良に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reset device for electronic equipment, and more particularly to improvement of a reset device for a computer system.
【0002】[0002]
【従来の技術】いわゆるパソコンに代表されるマイクロ
プロセッサを用いた電子機器には、一般に、電源投入後
のシステムのイニシャライズを行うためのリセットスイ
ッチが設けられており、従来、このリセットスイッチ
は、システムのイニシャライズ専用の機能しか有してお
らず、他の機能を併せ持つようなことはなかった。一
方、上述のようなマイクロプロセッサを用いた電子機器
のなかでもCRT等の表示部を有するような装置におけ
るシステム設定は、表示部の画面上で設定できるように
したものが多い。そして、このような装置においては、
例えば、電源投入時に、キーボードの中の特定のキーが
押下されたこと、または、電源が既に投入されている場
合には、特定の複数のキーが押下されたことを、マイク
ロプロセッサが実行するプログラムによって検出して、
システム設定のためのいわゆるメニュー画面が表示され
るようになっていた。2. Description of the Related Art An electronic device using a microprocessor typified by a so-called personal computer is generally provided with a reset switch for initializing the system after power is turned on. It had only the function dedicated to the initialization of, and did not have other functions at the same time. On the other hand, among the electronic devices using the microprocessor as described above, in many cases, the system settings of a device having a display unit such as a CRT can be set on the screen of the display unit. And in such a device,
For example, a program that the microprocessor executes to press a specific key on the keyboard at power-on, or, if the power is already on, to press multiple specific keys. Detected by
A so-called menu screen for system settings was displayed.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、上述の
ようにリセットを行うスイッチと、システム設定を行う
スイッチとを別個に設けることは、操作性の点だけに着
目すれば、使用者、特に、この種の装置に関する知識に
疎い者にとっては、使用し易いという利点がある半面、
一つの機能に対して専用のキーを設けることは、それだ
け部品点数を増やして装置の高価格化を招くと共に、限
られた実装スペースの中で、各部品に割り当てられるス
ペースがさらに小さくなるので却って操作性の低い部品
配置を招く畏れがあるという問題がある。また、複数の
キーを操作することによりシステム設定画面が得られる
ような構成とすることは、却って操作性を低下させるこ
ととなる。このため、例えば、システム設定を行うメニ
ュー画面を呼出すための専用のキーを設けることが考え
られるが、実装スペースを要するだけでなく、部品点数
を増やすこととなり、結局、装置の高価格化を招いてし
まうという問題があった。However, if the switch for resetting and the switch for system setting are separately provided as described above, if only the operability is focused, the user, especially For those who are unfamiliar with the kind of equipment, it has the advantage of being easy to use.
Providing a dedicated key for one function increases the number of parts and raises the cost of the device, and the space allocated to each part becomes even smaller in the limited mounting space. There is a problem that there is a fear of arranging parts with low operability. In addition, if the system setting screen is obtained by operating a plurality of keys, the operability is rather deteriorated. Therefore, for example, it is conceivable to provide a dedicated key for calling the menu screen for system setting, but it not only requires a mounting space, but also increases the number of parts, which eventually leads to an increase in the price of the device. There was a problem of leaving.
【0004】本発明は、このような従来の課題を解決す
るためになされたものであり、リセットスイッチがシス
テムイニシャライズだけでなく複数の機能を併せ持つこ
とが可能となり、かつプログラムが暴走した時でも確実
にシステムをリセットすることのできるリセット装置を
提供することを目的とする。The present invention has been made in order to solve such a conventional problem, and it becomes possible for the reset switch to have not only system initialization but also a plurality of functions, and to be sure even when a program runs out of control. It is an object of the present invention to provide a reset device capable of resetting a system.
【0005】[0005]
【課題を解決するための手段】上記目的を達成するた
め、本発明のリセット装置は、スイッチ操作の度毎に信
号を発生するリセットスイッチ手段と、前記リセットス
イッチ手段からの信号の出力回数を計数し、該計数値が
設定値に達した時点で、検出信号を出力する計数検知手
段と、システムリセット後に最初に行われた前記リセッ
トスイッチ手段の操作によって一定幅のパルス信号を出
力するリセット監視パルス発生手段と、前記リセット監
視パルス発生手段により一定幅のパルスが出力されてい
る間、前記リセットスイッチ手段からの信号出力回数が
設定値に達したことを示す検出信号が前記計数検知手段
から出力された場合に、システムリセット信号としての
デコード信号を出力するデコード手段とを具備して構成
されている。さらに他の態様では、前記計数検知手段
は、前記リセットスイッチ手段からの信号の出力回数の
計数値として複数の設定値が設定され、前記リセットス
イッチ手段からの信号の計数値が所定の設定値に達した
時点で検出信号を出力し、前記デコード手段は、前記リ
セット監視パルス発生手段により一定幅のパルスが出力
されている間に出力された前記計数検知手段からの検出
信号で示される計数値に応じてパルス幅の異なるデコー
ド信号を出力する構成としている。In order to achieve the above object, the reset device of the present invention counts the reset switch means for generating a signal each time the switch is operated and the number of times the signal is output from the reset switch means. Then, when the count value reaches a set value, a count detection means for outputting a detection signal and a reset monitoring pulse for outputting a pulse signal of a constant width by the operation of the reset switch means performed first after system reset While the generating means and the reset monitor pulse generating means are outputting a pulse having a constant width, a detection signal indicating that the number of signal outputs from the reset switch means has reached a set value is output from the count detecting means. In this case, a decoding means for outputting a decoding signal as a system reset signal is provided. In still another aspect, the count detection unit is set with a plurality of set values as a count value of the number of times the signal is output from the reset switch unit, and the count value of the signal from the reset switch unit is set to a predetermined set value. When it reaches, it outputs a detection signal, and the decoding means outputs a count value indicated by the detection signal from the count detection means, which is output while the reset monitoring pulse generation means outputs a pulse having a constant width. According to the configuration, decoded signals having different pulse widths are output.
【0006】[0006]
【作用】本発明では、リセットスイッチ手段が、リセッ
ト監視パルス手段により発生された一定幅のパルスが出
力されている間に、所定回数、すなわち、計数検知手段
において予め設定された数だけ操作されると、デコード
手段からデコード信号が出力されるので、このデコード
信号をシステムリセット信号とすることにより、リセッ
トスイッチ手段が計数検知手段の設定値以外の回数操作
された際にはこのリセットスイッチ手段の動作をシステ
ムリセット以外の動作開始とすることが可能となるもの
である。According to the present invention, the reset switch means is operated a predetermined number of times, that is, a preset number of times in the count detecting means, while the pulse of the constant width generated by the reset monitoring pulse means is being output. And a decoding signal is output from the decoding means. By using this decoding signal as a system reset signal, the operation of the reset switching means is performed when the reset switching means is operated a number of times other than the set value of the counting detection means. It is possible to start the operation other than the system reset.
【0007】[0007]
【実施例】以下、本発明の実施例について図面を参照し
て詳細に説明する。本リセット装置の構成を図1に示
す。図1に示すように、本リセット装置は、CPU1を
中心に構成されるマイクロコンピュータシステムのシス
テムリセットを行うリセットスイッチ部2と、このリセ
ットスイッチ部2の起動回数を計数するカウンタ部3
と、リセットスイッチ部2の起動によって一定の幅のパ
ルスを発生するリセット監視パルス発生部4と、カウン
タ部3及びリセット監視パルス発生部4の出力信号をデ
コードするデコーダ部5とを備えて構成されている。Embodiments of the present invention will now be described in detail with reference to the drawings. The configuration of this reset device is shown in FIG. As shown in FIG. 1, the present reset device includes a reset switch unit 2 for performing a system reset of a microcomputer system mainly composed of a CPU 1, and a counter unit 3 for counting the number of times the reset switch unit 2 is activated.
A reset monitor pulse generator 4 for generating a pulse having a constant width when the reset switch unit 2 is activated, and a decoder unit 5 for decoding the output signals of the counter unit 3 and the reset monitor pulse generator 4. ing.
【0008】リセットスイッチ部2は、例えば、使用者
が図示しない操作部を押下する度に、リセットスイッチ
起動パルスを発生するものである。本実施例において
は、図2(a),(b)に示されたように、リセットス
イッチ部2の起動時に論理Highの状態から論理Lo
wの状態に立ち下がって一定時間だけ論理Lowの状態
となるいわゆる負論理信号が出力されるようになってい
るものである。尚、このリセットスイッチ部2から出力
される信号は、周辺の回路の誤動作を防止するために、
公知・周知の回路技術によりノイズが除去されているも
のとする。The reset switch section 2 generates a reset switch activation pulse, for example, each time the user depresses an operation section (not shown). In the present embodiment, as shown in FIGS. 2A and 2B, when the reset switch unit 2 is activated, the logic High state is changed to the logic Lo state.
A so-called negative logic signal is output which falls to the state of w and is in the state of logic low for a certain period of time. It should be noted that the signal output from the reset switch unit 2 is set in order to prevent malfunction of peripheral circuits.
It is assumed that noise has been removed by known / known circuit technology.
【0009】カウンタ部3は、リセットスイッチ部2の
起動回数、すなわち、本実施例においては、論理Low
の負論理信号が出力された回数を計数するもので、計数
値が予め設定された回数、例えば、W回に達した際に検
知信号として後述するように論理Lowの信号を出力す
るようになっている。The counter section 3 has the number of times of activation of the reset switch section 2, that is, in the present embodiment, a logical Low.
The number of times the negative logic signal is output is counted, and when the count value reaches a preset number, for example, W times, a logic low signal is output as a detection signal as described later. ing.
【0010】リセット監視パルス発生部4は、リセット
スイッチ部2がシステムリセット後に最初に起動された
時に一定のパルス幅を有するリセット監視パルスを発生
するもので、パルス幅は任意に可変できるようになって
いるものである。このリセット監視パルス発生部4
は、例えば、モノステーブル・マルチバイブレータやプ
ログラマブルカウンタを用いることにより、また、ソフ
トウェアでカウンタ値を設定する構成を採ることにより
実現されるものである。このリセット監視パルス発生部
4と前述のカウンタ部3は共に、外部から入力される同
期クロックパルス(以下「同期CLK」と言う。)に同
期して動作するようになっている。The reset monitor pulse generator 4 generates a reset monitor pulse having a constant pulse width when the reset switch unit 2 is first activated after a system reset, and the pulse width can be arbitrarily changed. It is what This reset monitoring pulse generator 4
Is realized by using, for example, a monostable multivibrator or a programmable counter, or by adopting a configuration in which the counter value is set by software. Both the reset monitor pulse generator 4 and the counter 3 described above operate in synchronization with a synchronous clock pulse (hereinafter referred to as "synchronous CLK") input from the outside.
【0011】デコーダ部5は、リセット監視パルス発生
部4から一定パルス幅のリセット監視パルス信号が出力
されている間に、カウンタ部3によって上述したように
計数値Wが検出された時にシステムリセット信号を出力
するものである(詳細は後述)。The decoder unit 5 outputs the system reset signal when the counter unit 3 detects the count value W as described above while the reset monitoring pulse signal having the constant pulse width is output from the reset monitoring pulse generating unit 4. Is output (details will be described later).
【0012】図2には本装置の主要部におけるタイミン
グ図が示されており、以下、同図を参照しつつ本装置の
動作について説明する。先ず、リセット監視パルス発生
部4から一定パルス幅のリセット監視パルスが出力され
ている間に、リセットスイッチ部2が1回限り起動され
る場合について図2(a)を参照しつつ説明する。リセ
ットスイッチ部2が起動されると、その出力は論理Hi
ghから論理Lowに立ち下がり、一定時間の後再び論
理Highとなる。そして、リセット監視パルス発生部
4においては、リセットスイッチ部2の出力が論理Hi
ghから論理Lowに立ち下がった後に、最初に入力さ
れた同期CLKの立ち上がり時に、リセットスイッチ部
2の論理Low出力が読み込まれることによって、予め
設定されている時間幅だけの論理Lowのリセット監視
パルスが出力されることとなる。FIG. 2 shows a timing chart in the main part of this apparatus, and the operation of this apparatus will be described below with reference to the figure. First, a case where the reset switch unit 2 is activated only once while the reset monitor pulse generator 4 outputs a reset monitor pulse having a constant pulse width will be described with reference to FIG. When the reset switch unit 2 is activated, its output is logical Hi.
It falls from gh to logic low, and becomes logic high again after a fixed time. In the reset monitor pulse generator 4, the output of the reset switch unit 2 is logical Hi.
After falling from gh to logic low, the logic low output of the reset switch unit 2 is read at the rising edge of the first input synchronization CLK, so that the reset monitoring pulse of logic low for a preset time width is read. Will be output.
【0013】このリセット監視パルス発生部4の負論理
出力は、例えば、CPU1の割り込み信号として利用で
きるものであり、この信号をシステムの割り込みコント
ローラ(図示せず)への入力とした場合、CPU1は割
り込み処理に入ることとなる。そして、割り込み処理に
おいては、ユザーによりリセットスイッチ部2が起動さ
れたことによる割り込み要求の発生であると判断するこ
ととなる。尚、この場合、ファームウェアは、ある適切
な時間待機状態となるようにプログラムされている。こ
れは、上述したユーザの操作によるリセットスイッチ部
2の起動に基づく割り込みの発生の後に、システムリセ
ット信号が発生する可能性があるためである。この待機
時間は、リセット監視パルス発生部4から発生されるリ
セット監視パルスのパルス幅より長い分には問題がない
ものである。The negative logic output of the reset monitor pulse generator 4 can be used as, for example, an interrupt signal of the CPU 1. When this signal is input to an interrupt controller (not shown) of the system, the CPU 1 Interrupt processing will be started. Then, in the interrupt processing, it is determined that the interrupt request is generated due to the user activating the reset switch unit 2. In this case, the firmware is programmed so as to be in a standby state for a proper time. This is because there is a possibility that the system reset signal is generated after the generation of the interrupt based on the activation of the reset switch unit 2 by the user's operation described above. There is no problem as long as this waiting time is longer than the pulse width of the reset monitoring pulse generated from the reset monitoring pulse generator 4.
【0014】一方、カウンタ部3においては、リセット
スイッチ部2の出力が論理Highから論理Lowに変
化した直後に、最初に入力された同期CLKの立ち上が
りで、リセットスッチ部2の論理Lowが読み込まれる
ことによって、計数値が1となる。そして、この時点で
は、カウンタ部3の計数値が未だ設定値wに達していな
いので、カウンタ部3の出力は変化することなく論理H
ighとなったままである。On the other hand, in the counter unit 3, immediately after the output of the reset switch unit 2 changes from logic High to logic Low, the logic Low of the reset switch unit 2 is read at the rising edge of the first input synchronization CLK. As a result, the count value becomes 1. Since the count value of the counter unit 3 has not yet reached the set value w at this point, the output of the counter unit 3 does not change and the logic H
It remains high.
【0015】リセット監視パルス発生部4が一定パルス
幅のリセット監視パルスを出力し終えるまでの間に、リ
セットスイッチ部2の起動が先の第1回目の起動以後な
いものとすると、結局、カウンタ部3の計数値が1のま
まであるので、カウンタ部3の出力は、リセット監視パ
ルス発生部4がリセット監視パルスを出力を終えても、
論理Highのままとなる。If it is assumed that the reset switch section 2 has not been activated since the reset monitoring pulse generating section 4 has finished outputting the reset monitoring pulse having a constant pulse width, the counter section is eventually activated. Since the count value of 3 remains 1, the output of the counter unit 3 remains at the output even if the reset monitoring pulse generation unit 4 finishes outputting the reset monitoring pulse.
It remains at logic high.
【0016】デコーダ部5においては、カウンタ部3の
出力とリセット監視パルス発生部4からのリセット監視
パルスとの論理和の反転出力、すなわち、換言すれば、
負論理入力の論理積がとられる結果、その出力は論理H
ighの状態が、リセットスイッチ部2の一回の動作に
よりなんら影響されることなく保持される。In the decoder section 5, an inverted output of the logical sum of the output of the counter section 3 and the reset monitoring pulse from the reset monitoring pulse generating section 4, that is, in other words,
As a result of the logical product of the negative logic inputs, the output is a logic H
The high state is maintained without being affected by one operation of the reset switch unit 2.
【0017】このように、リセットスイッチ部2の起動
が一回しか行われなかった場合には、システムリセット
を行うことなくCPU1に処理を続行させるようにして
よく、この場合、例えば、図示されないCRTにシステ
ムの設定画面を表示させることによって、リセットスイ
ッチ部2の1回の起動がシステム設定画面の呼出スイッ
チとして機能した如くにユーザに認識させることが可能
となるものである。As described above, when the reset switch unit 2 is activated only once, the CPU 1 may be caused to continue the processing without performing the system reset. In this case, for example, a CRT (not shown) is used. By displaying the system setting screen on the screen, it is possible for the user to recognize that one activation of the reset switch unit 2 functions as a call switch for the system setting screen.
【0018】次に、リセット監視パルスの出力期間に、
リセットスイッチ部2がカウンタ部3の設定計数値のW
回起動された場合について、図2(b)を参照しつつ説
明する。リセットスイッチ部2の最初の起動によって割
り込み信号としての機能を果たすリセット監視パルスが
発生する点については、図2(a)の場合と同様であ
る。リセットスイッチ部2の起動がW回目となると、カ
ウンタ部3においては、リセットスイッチ部2の出力が
論理Lowになった後に最初に入力された同期CLKの
立ち上がりで、この論理Lowが読み込まれて計数値が
Wとなる。そして、この時同時に、カウンタ部3の出力
は論理Highから論理Lowに立ち下がることとな
る。Next, during the output period of the reset monitoring pulse,
The reset switch unit 2 sets the count value W of the counter unit 3 to W.
The case of being activated twice will be described with reference to FIG. The point that a reset monitor pulse that functions as an interrupt signal is generated by the first activation of the reset switch unit 2 is the same as in the case of FIG. 2A. When the reset switch unit 2 is activated for the Wth time, in the counter unit 3, this logic Low is read at the rising edge of the synchronous CLK input first after the output of the reset switch unit 2 becomes the logic Low, and the count is calculated. The numerical value is W. At the same time, the output of the counter section 3 falls from the logic High to the logic Low.
【0019】本実施例のデコーダ部5は、先に述べたよ
うに、リセット監視パルス発生部4からリセット監視パ
ルスが発生されており且つカウンタ部3の計数値が設定
値に達した状態において、論理Lowのリセット監視パ
ルスを出力するものであるので、図2(b)に示された
例においては、カウンタ部3の出力が論理Lowに変化
した時点から、リセット監視パルス発生部4の出力が論
理Highに立ち上がる時点までの間、論理Lowの信
号がシステムリセット信号としてデコーダ部5から出力
されることとなる。As described above, the decoder section 5 of the present embodiment is in a state where the reset monitoring pulse is generated from the reset monitoring pulse generating section 4 and the count value of the counter section 3 reaches the set value. Since the reset monitoring pulse of logic low is output, in the example shown in FIG. 2B, the output of the reset monitoring pulse generator 4 changes from the time when the output of the counter 3 changes to logic low. Until the time of rising to the logic High, the signal of the logic Low is output from the decoder unit 5 as the system reset signal.
【0020】このようにデコーダ部5から出力された論
理Lowの出力信号は、従来のCPUを有してなるこの
種の装置における、いわゆるシステムリセット信号とし
て用いることが可能なものである。すなわち、ユーザに
より、リセットスイッチ部2がリセット監視パルスの出
力中に一回起動された場合、リセットスイッチ部2は、
図示されないCRT等の表示部にシステム設定画面を表
示するための画面呼出スイッチとしての機能を果たす一
方、リセット監視パルスの出力中にリセットスイッチ部
2がW回起動された場合、リセットスイッチ部2は、シ
ステムリセットとしての機能を果たすこととなるもので
ある。尚、本実施例においては、システムイニシャライ
ズが生じた際、CPU1はカウンタリセット回路6を介
してカウンタ部3がリセットされるようになっている。
具体的には、カウンタ部3の出力が論理Highに設定
されることとなる。The output signal of logic low output from the decoder unit 5 can be used as a so-called system reset signal in a device of this type having a conventional CPU. That is, when the user activates the reset switch unit 2 once while the reset monitoring pulse is being output, the reset switch unit 2 operates as follows.
While performing a function as a screen call switch for displaying a system setting screen on a display unit such as a CRT (not shown), when the reset switch unit 2 is activated W times during the output of the reset monitoring pulse, the reset switch unit 2 is , Which will function as a system reset. In the present embodiment, the CPU 1 resets the counter unit 3 via the counter reset circuit 6 when system initialization occurs.
Specifically, the output of the counter unit 3 is set to logic High.
【0021】次に、図3を参照しつつ第2の実施例につ
いて説明する。尚、図1に示された構成要素と同一のも
のについては、同一の符号を付してその説明を省略し、
以下の説明においては、異なる点を中心に説明するもの
とする。この第2の実施例は、図1に示された第1の実
施例のカウンタ部3においては、一つの計数値しか設定
できず、それに対応してデコーダ部5は、一種類の状態
しかデコードできないのに対して、この第2の実施例
は、カウンタ部30に同時にN個の計数値が設定可能で
あり、デコーダ部50もN個の状態のデコードが可能と
なっている点が第1の実施例と異なっているものであ
る。すなわち、この第2の実施例におけるカウンタ部3
0は、例えば、N個のカウンタ回路30Aから構成され
ており、各カウンタ回路30Aはそれぞれ異なる計数値
が設定されており、設定された計数値に達すると、その
出力には論理Lowの信号が出力される点においては、
図1に示された第1の実施例のカウンタ部30と同一で
ある。Next, a second embodiment will be described with reference to FIG. The same components as those shown in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.
In the following description, different points will be mainly described. In the second embodiment, in the counter unit 3 of the first embodiment shown in FIG. 1, only one count value can be set, and accordingly, the decoder unit 5 decodes only one kind of state. On the contrary, in the second embodiment, the first point is that the counter unit 30 can simultaneously set N count values and the decoder unit 50 can also decode N states. The embodiment is different from the embodiment. That is, the counter unit 3 according to the second embodiment.
0 is composed of, for example, N counter circuits 30A, each counter circuit 30A is set with a different count value, and when the set count value is reached, a logical low signal is output at the output. In terms of output,
It is the same as the counter unit 30 of the first embodiment shown in FIG.
【0022】デコーダ部50は、カウンタ部30からの
N個の出力信号をデコードするようになっている。すな
わち、本実施例においては、デコード部5から出力され
る信号は、カウンタ部3において計数された値によって
そのパルス幅が異なるようになっている。The decoder section 50 is adapted to decode the N output signals from the counter section 30. That is, in the present embodiment, the pulse width of the signal output from the decoding unit 5 differs depending on the value counted by the counter unit 3.
【0023】次に、第2の実施例の装置の動作について
説明する。先ず、リセットスイッチ部2が一度起動され
ると、その時点からリセット監視パルスが一定時間発生
する点においては、図1に示された第1の実施例と同様
である。そして、リセット監視パルスが発生している間
に、カウンタ部30の計数値がカウンタ部30に設定さ
れたN個の計数値のいずれかに、達することよって、デ
コーダ部50からはその計数値に対応したパルス幅を有
するデコード信号が得られるようになっている。そし
て、CPU1がこのデコード結果に応じた動作を行うよ
うに、ソフトウェア或いはファームウェアにより予め動
作を設定しておくことにより、一つのリセットスイッチ
部2でN個(カウンタ部30に同時に設定可能な計数値
の数)の状態を設定できることとなる。Next, the operation of the apparatus of the second embodiment will be described. First, when the reset switch unit 2 is activated once, the reset monitoring pulse is generated for a certain period from that point, which is the same as the first embodiment shown in FIG. Then, while the reset monitoring pulse is being generated, the count value of the counter unit 30 reaches any of the N count values set in the counter unit 30, so that the decoder unit 50 obtains the count value. A decode signal having a corresponding pulse width can be obtained. Then, by setting the operation in advance by the software or the firmware so that the CPU 1 performs the operation according to the decoding result, one reset switch unit 2 can perform N operations (count values that can be simultaneously set in the counter unit 30). Number) can be set.
【0024】上述の実施例においては、カウンタ部30
及びリセット監視パルス発生部4の動作は、同期CLK
の立ち上がりに同期して行われるようにしたが、これに
限定される必要はなく、同期CLKの立ち下がりで動作
するようにしても勿論よいものである。また、上述の実
施例のカウンタ部3,30、リセット監視パルス発生部
4及びデコーダ部5,50は、負論理を基準として動作
するように設定したが、勿論これについても負論理に限
定される必要はなく、正論理基準で動作するようにして
も、本発明の本質を変えるものではない。さらに、上述
の実施例においては、マイクロコンピュータ装置におけ
る、システムリセットに適用した場合について説明した
が、このような場合に限られる必要ななく、他の装置に
も適用可能であり、汎用的なリセット装置として応用可
能なものである。In the above embodiment, the counter section 30
The operation of the reset monitor pulse generator 4 is performed by the synchronous CLK.
However, the operation is not limited to this, and the operation may be performed at the falling edge of the synchronous CLK. Further, although the counter units 3 and 30, the reset monitor pulse generating unit 4 and the decoder units 5 and 50 of the above-described embodiment are set to operate with reference to negative logic, of course, this is also limited to negative logic. It is not necessary, and operating on a positive logic basis does not change the essence of the invention. Further, in the above-described embodiment, the case where the present invention is applied to the system reset in the microcomputer device has been described, but the present invention is not limited to such a case, and can be applied to other devices, and a general-purpose reset. It is applicable as a device.
【0025】次に、上述したカウンタ部3、リセット監
視パルス発生部及びデコーダ部5の具体回路例について
図4及び図5を参照しつつ説明する。先ず、カウンタ部
3は、4つのD型フリップフロップを主な構成要素とし
て16進カウンタが形成されてなるものである。このカ
ウンタ部3は、カウンタリセット回路6を介してCPU
1により1及至16の計数値の設定が可能ないわゆるダ
ウンカウンタとなっている。ここで、カウンタ部3の主
な構成要素であるフリップフロップの条件としては、い
わゆるダイレクトリセット方式であること、リセット優
先方式であること、立上りエッジ検出であること、が満
たされればD型フリップフロップに限られる必要はな
い。また、この回路例においては、カウンタ部3の設定
値は3となっている。Next, specific circuit examples of the counter section 3, the reset monitoring pulse generating section and the decoder section 5 described above will be described with reference to FIGS. 4 and 5. First, the counter unit 3 is formed of a hexadecimal counter with four D-type flip-flops as main constituent elements. The counter unit 3 is provided with a CPU via a counter reset circuit 6.
It is a so-called down counter capable of setting count values of 1 to 16 by 1. Here, the conditions of the flip-flop, which is the main constituent element of the counter unit 3, are the D-type flip-flop if the so-called direct reset method, the reset priority method, and the rising edge detection are satisfied. It need not be limited to. Further, in this circuit example, the set value of the counter unit 3 is 3.
【0026】さらに、このカウンタ部3は、リセットス
イッチ部2の出力信号をD型フリップフロップの同期C
LKとして動作するように構成されている。Further, the counter section 3 outputs the output signal of the reset switch section 2 to the synchronization C of the D-type flip-flop.
It is configured to operate as an LK.
【0027】リセット監視パルス発生部4は、ワンショ
ットマルチバイブレータをIC化したLS123を用い
て構成されており、その出力パルス幅はいわゆる外付け
の抵抗7とコンデンサ8の大きさによって設定されるも
のである。この具体回路例においては、このリセット監
視パルス発生部4の出力は、アナログスイッチ回路9の
イネーブル端子に接続されており、このイネーブル端子
に論理値Lowのリセット監視パルスが印加されている
間、アナログスイッチ回路9を介してリセットスイッチ
部2の出力信号がカウンタ部3へ入力されるようになっ
ている。The reset monitor pulse generator 4 is constructed by using an LS123 which is an IC of a one-shot multivibrator, and its output pulse width is set by the size of a so-called external resistor 7 and capacitor 8. Is. In this specific circuit example, the output of the reset monitoring pulse generator 4 is connected to the enable terminal of the analog switch circuit 9, and while the reset monitoring pulse having the logical value Low is applied to the enable terminal, the analog signal is output. The output signal of the reset switch unit 2 is input to the counter unit 3 via the switch circuit 9.
【0028】次に、この具体回路例の動作について図5
を参照しつつ説明する。ここで、図5(a)はリセット
監視パルス出力中にリセットスイッチ部2が1回しか操
作されなかった場合を、図5(b)はリセット監視パル
ス出力中にリセットスイッチ部2が設定回数操作された
場合をそれぞれ示すものである。先ず、リセット監視パ
ルス出力中にリセットスイッチ部2が1回しか操作され
なかった場合について説明する。Next, the operation of this specific circuit example will be described with reference to FIG.
Will be described with reference to. Here, FIG. 5A shows the case where the reset switch unit 2 is operated only once during the output of the reset monitoring pulse, and FIG. 5B shows the case where the reset switch unit 2 operates the set number of times during the output of the reset monitoring pulse. These are the cases in which they have been performed. First, the case where the reset switch unit 2 is operated only once during the output of the reset monitoring pulse will be described.
【0029】カウンタ部3のプリセットは、直前に生じ
たシステムイニシャライズによって行われるようになっ
ている。すなわち、システムイニシャライズ信号の論理
Lowから論理Highへの立上がりにおいて、カウン
タリセット回路6を介してD型フリップフロップの出力
QA、QBが共に1となるように信号が入力されるように
なっている。この時、同時に論理Lowのリセット監視
パルスが発生する。そして、このリセット監視パルスの
出力中に、リセットスイッチ部2が1回操作されると、
論理Lowのリセット起動パルスがカウンタ部2に入力
され、カウンタ部2はこのリセット起動パルスの立上が
りにおいて設定値を1つ減らすこととなる。この実施例
においてカウンタ部2は、設定値分だけ計数すると、各
D型フリップフロップのQ出力が零となるように構成さ
れている。The presetting of the counter section 3 is performed by the system initialization which has occurred immediately before. That is, at the rise of the system initialization signal from logic low to logic high, a signal is input via the counter reset circuit 6 so that the outputs QA and QB of the D-type flip-flops are both 1. At this time, a reset monitor pulse of logic low is simultaneously generated. When the reset switch section 2 is operated once while the reset monitoring pulse is being output,
A logic low reset activation pulse is input to the counter section 2, and the counter section 2 decrements the set value by one at the rising edge of the reset activation pulse. In this embodiment, the counter unit 2 is configured so that the Q output of each D-type flip-flop becomes zero when counting by the set value.
【0030】そして、リセット監視パルスの出力中にリ
セットスイッチ部2が1回だけしか操作されない場合に
は、デコード信号は出力されず、その出力は論理Hig
hのままである。When the reset switch section 2 is operated only once during the output of the reset monitoring pulse, the decode signal is not output and its output is the logic High.
It remains h.
【0031】次に、リセット監視パルスの出力中にリセ
ットスイッチ部2が所定回数(この実施例においては3
回)操作された場合について説明する。尚、カウンタ部
2のプリセット及びリセット監視パルスの発生について
は、先の図5(a)の場合と同様であるので再度の説明
は省略し、以下、異なる点を中心に説明する。リセト監
視パルスの出力中に、リセットスイッチ部2が3回操作
されると、3回目のリセットスイッチ起動パルスの論理
Lowから論理Highへの立上がりにおいて、カウン
タ部3の計数値は零となるため、デコード部5からは論
理Lowのデコード信号が出力され、4回目のリセット
スイッチ部2の起動に伴うリセットスイッチ起動パルス
の論理Lowから論理Highへの立上がりにおいて、
デコード信号の出力が終了されることとなる。以上好ま
しい実施例をあげて本発明を説明したが、本発明は必ず
しも上記実施例に限定されるものではない。Next, while the reset monitor pulse is being output, the reset switch section 2 is operated a predetermined number of times (3 in this embodiment).
Times) will be explained. The generation of the preset and reset monitoring pulses of the counter unit 2 is the same as in the case of FIG. 5 (a) described above, and therefore a repetitive description will be omitted, and the different points will be mainly described. If the reset switch unit 2 is operated three times during the output of the reset monitoring pulse, the count value of the counter unit 3 becomes zero at the third rising of the reset switch activation pulse from the logic Low to the logic High. A decode signal of logic low is output from the decode part 5, and at the rising of the reset switch activation pulse from logic low to logic high in association with the fourth activation of the reset switch part 2,
The output of the decode signal is ended. Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments.
【0032】[0032]
【発明の効果】以上説明したように、本発明のリセット
装置によれば、リセットスイッチ手段が所定時間内に、
所定の回数操作された時に初めてシステムリセット信号
が出力されるような構成とすることにより、リセットス
イッチ手段が所定の回数以外操作された場合には、これ
をシステムリセット以外の動作開始信号とすることがで
きるので、一つのリセットスイッチ手段により複数の機
能を実行することができ、そのため、従来と異なり機能
毎に操作キーを設ける必要がなくなり、装置の簡略化が
図れ、ひいては安価な装置を提供することができる。ま
た、リセットスイッチ手段の1回の操作だけでは、即座
にシステムリセットとならないようにすることができる
ので、過ってリセットスイッチ手段を1回操作したよう
な場合の不用意なシステムリセットを回避することがで
き、装置の安全な動作を確保できるという効果が得られ
る。さらに、本発明によれば、コンピュータシステムの
CPUを利用せずにリセット動作が可能な構成となって
いるので、システムのプログラムの暴走時にもシステム
を確実にリセットすることができるといった効果が得ら
れる。As described above, according to the reset device of the present invention, the reset switch means is set within a predetermined time.
When the reset switch means is operated other than the predetermined number of times, the system reset signal is output for the first time when the reset switch is operated a predetermined number of times. Since it is possible to perform a plurality of functions by one reset switch means, it is not necessary to provide an operation key for each function, which is different from the conventional one, so that the apparatus can be simplified and an inexpensive apparatus can be provided. be able to. In addition, it is possible to prevent the system from being reset immediately by only one operation of the reset switch means, so that an inadvertent system reset when the reset switch means is accidentally operated once is avoided. It is possible to obtain the effect that the safe operation of the device can be secured. Further, according to the present invention, since the reset operation is possible without using the CPU of the computer system, it is possible to reliably reset the system even when the program of the system runs out of control. .
【図1】 本発明の第1の実施例によるリセット装置の
主要部の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a main part of a reset device according to a first embodiment of the present invention.
【図2】 第1の実施例によるリセット装置の動作を説
明するための主要部のタイミング図である。FIG. 2 is a timing chart of a main part for explaining the operation of the reset device according to the first embodiment.
【図3】 本発明の第2の実施例によるリセット装置の
主要部の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a main part of a reset device according to a second embodiment of the present invention.
【図4】 本発明に係るリセット装置の具体回路例を示
す回路図である。FIG. 4 is a circuit diagram showing a specific circuit example of a reset device according to the present invention.
【図5】 図4に示された回路動作を説明するための主
要部のタイミング図である。5 is a timing diagram of a main part for explaining the circuit operation shown in FIG.
1 CPU 2 リセットスイッチ部 3,30 カウンタ部 4 リセット監視パルス発生部 5,50 デコーダ部 6 カウンタリセット回路 1 CPU 2 reset switch section 3,30 counter section 4 reset monitoring pulse generation section 5,50 decoder section 6 counter reset circuit
Claims (2)
セットスイッチ手段と、 前記リセットスイッチ手段からの信号の出力回数を計数
し、該計数値が設定値に達した時点で、検出信号を出力
する計数検知手段と、 システムリセット後に最初に行われた前記リセットスイ
ッチ手段の操作によって一定幅のパルス信号を出力する
リセット監視パルス発生手段と、 前記リセット監視パルス発生手段により一定幅のパルス
が出力されている間、前記リセットスイッチ手段からの
信号出力回数が設定値に達したことを示す検出信号が前
記計数検知手段から出力された場合に、システムリセッ
ト信号としてのデコード信号を出力するデコード手段
と、 を具備することを特徴とするリセット装置。1. A reset switch means for generating a signal each time the switch is operated, and the number of output times of the signal from the reset switch means is counted, and a detection signal is output when the count value reaches a set value.
Counting detection means for a reset monitor pulse generating means for outputting a pulse signal of predetermined width by the operation of said reset switch means made first after system reset by the reset monitor pulse generator pulse having a constant width is outputted While the signal is being output, the detection signal indicating that the number of signal outputs from the reset switch means has reached the set value is
When it is output from the count detection means, the system reset
A reset device comprising: a decoding unit that outputs a decode signal as a remote signal.
ッチ手段からの信号の出力回数の計数値として複数の設
定値が設定され、前記リセットスイッチ手段からの信号
の計数値が所定の設定値に達した時点で検出信号を出力
し、 前記デコード手段は、前記リセット監視パルス発生手段
により一定幅のパルスが出力されている間に出力された
前記計数検知手段からの検出信号で示される計数値に応
じてパルス幅の異なるデコード信号を出力する ことを特
徴とする請求項1に記載のリセット装置。2. The reset detection means includes:
As a count value of the number of times the signal is output from the switch means.
A fixed value is set and the signal from the reset switch means is set.
The detection signal is output when the count value of reaches the specified value.
However , the decoding means is the reset monitoring pulse generating means.
Is output while a pulse of constant width is being output by
It responds to the count value indicated by the detection signal from the count detecting means.
2. The reset device according to claim 1, wherein the reset signals are also output with different pulse widths .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5193938A JP2508976B2 (en) | 1993-07-10 | 1993-07-10 | Reset device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5193938A JP2508976B2 (en) | 1993-07-10 | 1993-07-10 | Reset device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0728562A JPH0728562A (en) | 1995-01-31 |
| JP2508976B2 true JP2508976B2 (en) | 1996-06-19 |
Family
ID=16316244
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5193938A Expired - Fee Related JP2508976B2 (en) | 1993-07-10 | 1993-07-10 | Reset device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2508976B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9808595B2 (en) | 2007-08-07 | 2017-11-07 | Boston Scientific Scimed, Inc | Microfabricated catheter with improved bonding structure |
| JP4756389B2 (en) * | 2008-05-21 | 2011-08-24 | オンキヨー株式会社 | Reset device |
| US9901706B2 (en) | 2014-04-11 | 2018-02-27 | Boston Scientific Scimed, Inc. | Catheters and catheter shafts |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0258112A (en) * | 1988-08-24 | 1990-02-27 | Seiko Instr Inc | Initializing device in electronic equipment |
-
1993
- 1993-07-10 JP JP5193938A patent/JP2508976B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0728562A (en) | 1995-01-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8909995B2 (en) | Microcomputer with watchdog timer generating internal and external reset signals | |
| JP2508976B2 (en) | Reset device | |
| JPH07334392A (en) | Reset device and abnormal operation detection device | |
| CN107340872B (en) | Button system and control method thereof | |
| JP2899237B2 (en) | CPU monitoring device | |
| KR100487196B1 (en) | Mobile communication terminal power reservation device | |
| JP5456705B2 (en) | Image forming apparatus | |
| JP4444172B2 (en) | Information processing device | |
| JP3035937B2 (en) | Multifunctional telephone | |
| JP3016852B2 (en) | Data processing device | |
| KR930002026Y1 (en) | Reset circuit for programming peripherals | |
| JPH05289911A (en) | CPU board diagnostic device | |
| JPS63133237A (en) | Halt/resetting circuit for microcomputer | |
| JPH0621785A (en) | Chattering preventing system | |
| JPH05173673A (en) | Resetting kind decision circuit | |
| JPH02128287A (en) | Microcomputer | |
| JPH09222938A (en) | Power control device | |
| JPS6231452A (en) | Runaway preventing circuit for microcomputer | |
| KR900008372B1 (en) | Automatic program instializing apparatus | |
| JPH0341517A (en) | Set-up program starting system | |
| JPH01216626A (en) | Pulse count circuit | |
| JPH11110228A (en) | Interrupt acceptance device and signal processing device | |
| JPH0340185A (en) | One-chip microcomputer | |
| JPH04156649A (en) | Interruption control circuit | |
| JPS6288038A (en) | Device for preventing erroneous display in microcomputer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080416 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090416 Year of fee payment: 13 |
|
| LAPS | Cancellation because of no payment of annual fees |