JPH02254516A - Resetting device for microcomputer - Google Patents

Resetting device for microcomputer

Info

Publication number
JPH02254516A
JPH02254516A JP1078812A JP7881289A JPH02254516A JP H02254516 A JPH02254516 A JP H02254516A JP 1078812 A JP1078812 A JP 1078812A JP 7881289 A JP7881289 A JP 7881289A JP H02254516 A JPH02254516 A JP H02254516A
Authority
JP
Japan
Prior art keywords
microcomputer
voltage
circuit
reset
detection position
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
JP1078812A
Other languages
Japanese (ja)
Inventor
Takao Tokunami
敬雄 徳南
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1078812A priority Critical patent/JPH02254516A/en
Publication of JPH02254516A publication Critical patent/JPH02254516A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To cope with many kinds of purposes while using by providing a voltage detecting means which detects the circuit voltage of the device to reset a microcomputer, and switching its detection position to plural circuit voltage positions in accordance with purposes. CONSTITUTION:A microcomputer 1 used for device control, a voltage detecting means 2 which detects the circuit voltage of the device to reset the microcomputer 1, and a switching means 3 which switches the detection position of this voltage detecting means to plural circuit voltage positions in accordance with purposes are provided. Consequently, the detection position is switched to a proper detection position by the switching means when it is necessary to change the reset voltage or timing in accordance with a peripheral circuit. Thus, the principal circuit is shared to cope with requests of different reset detection positions by easy switching in the device where the peripheral circuit is changed to cope with many kinds of purposes.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、機器の制御に用いるマイクロコンピュータの
電源リセットに関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to power reset of a microcomputer used for controlling equipment.

従来の技術 近年マイクロコンピュータの利用技術が進み、機器の制
御にマイクロコンビエータを用いることが多い。マイク
ロコンピュータを用いた機器では、機器の回路電圧がマ
イクロコンピュータの動作保証電圧内にある時のみマイ
クロコンピュータを動作させる必要があり、その手段と
して回路電圧を検知してマイクロコンピュータにリセッ
トをかける、いわゆる電源リセットが用いられる。電源
リセットの回路電圧の検出位置は機器の回路の特性に応
じて個々にきめられていた。
2. Description of the Related Art In recent years, technology for using microcomputers has advanced, and microcombiators are often used to control devices. In equipment that uses a microcomputer, it is necessary to operate the microcomputer only when the circuit voltage of the equipment is within the guaranteed operating voltage of the microcomputer, and the means to do so is to detect the circuit voltage and reset the microcomputer. Power reset is used. The detection position of the circuit voltage for power reset was determined individually depending on the characteristics of the circuit of the device.

発明が解決しようとする課題 しかしながら、開発効率や生産効率の向上を図って主要
回路は同じで周辺回路を変えて多品種対応をする機器に
おいては、従来の構成では一つの検出位置のために問題
を生ずる場合があった。
Problems to be Solved by the Invention However, in order to improve development efficiency and production efficiency, the main circuit is the same but the peripheral circuits are changed to support a wide variety of products. There were cases where this occurred.

本発明は上記問題を解消するために、電源リセットの検
出位置を選択して、主要回路を共通にしたまま多品種対
応が可能なコンピュータ利用機器を提供することを目的
とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, it is an object of the present invention to provide a computer-based device that can be used for a wide variety of products while maintaining a common main circuit by selecting a power reset detection position.

課題を解決するための手段 上記目的を達成するために本発明のマイクロコンピュー
タのリセット装装置は、機器の制御に用いるマイクロコ
ンピュータと、機器の回路電圧を検知して前記マイクロ
コンピュータのリセットを行う電圧検知手段と、前記電
圧検知手段の検出位置を目的に応じて複数の回路電圧位
置に切替可能にする切替手段とを備えた構成である。
Means for Solving the Problems In order to achieve the above object, the microcomputer reset device of the present invention includes a microcomputer used for controlling equipment, and a voltage that detects the circuit voltage of the equipment and resets the microcomputer. This configuration includes a detection means and a switching means that allows the detection position of the voltage detection means to be switched to a plurality of circuit voltage positions depending on the purpose.

作用 本発明は上記した構成により、周辺回路の都合によりリ
セット電圧やタイミングを変える必要が生じた場合にも
、切替手段で適切な検出位置に切替が可能で、共通の主
要回路で多品種への対応を可能にしている。
Operation The present invention has the above-described configuration, and even if it becomes necessary to change the reset voltage or timing due to circumstances in the peripheral circuit, it is possible to switch to an appropriate detection position using the switching means, and it is possible to use a common main circuit for a wide variety of products. It makes it possible to respond.

実施例 図は本発明の一実施例を示す構成図で、1は機器の制御
に用いるマイクロコンピュータ、2は機器の回路電圧を
検知する電圧検知手段、3は前記電圧検知手段2の電圧
検出位置を切替可能にする切替手段である。
Embodiment Figure 1 is a configuration diagram showing an embodiment of the present invention, in which 1 is a microcomputer used to control equipment, 2 is a voltage detection means for detecting the circuit voltage of the equipment, and 3 is a voltage detection position of the voltage detection means 2. This is a switching means that enables switching.

停電検知回路4は周辺回路で、機器の性格に応じて必要
な場合と不必要な場合がある1機器の機能が単純で停電
検知が不必要な場合、停電検知回路4は省略され切替手
段3の内部接点はAの位置にあり、12Vの三端子レギ
ュレー15の出力電圧を検出位置にしている。5vの三
端子レギュレータ6の最低入出方間電圧が3■の場合、
三端子レギュレータ5の出力電圧が8vの時にマイクロ
コンピュータ1をリセットすれば、マイクロコンピュー
タlは、動作電圧5vが保証された状態のみで働くこと
になる。電圧検知手段2の検知電圧を3Vとすると、分
割抵抗R,とR1の比を5=3にすれば上記条件が満足
される。
The power outage detection circuit 4 is a peripheral circuit, and may or may not be necessary depending on the characteristics of the device.If the function of the device is simple and power outage detection is unnecessary, the power outage detection circuit 4 is omitted and the switching means 3 The internal contact of is located at position A, and the output voltage of the 12V three-terminal regulator 15 is detected at the position. If the minimum input and output voltage of the 5V three-terminal regulator 6 is 3■,
If the microcomputer 1 is reset when the output voltage of the three-terminal regulator 5 is 8V, the microcomputer 1 will work only in a state where the operating voltage of 5V is guaranteed. Assuming that the voltage detected by the voltage detection means 2 is 3V, the above condition is satisfied by setting the ratio of the dividing resistors R and R1 to 5=3.

機器の機能が複雑で、停電時にもマイクロコンピュータ
1をリセットしたくない場合には停電検知回路4が周辺
回路として取り入れられる。停電検知回路4は三端子レ
ギュレータ5の出力電圧が8vに下がるとマイクロコン
ピュータlをストップモードにする。ストップモードに
入ったマイクロコンピュータ1は、メモリ内容等を保持
したままで、停電再復帰時にはストップモード以前の状
態から再スタートする。ストップモード時はマイクロコ
ンピュータ1の消費電力は低くなり、動作保証電圧は通
常動作時より低く3Vとなっているが、停電が長くなり
、電源バックアップコンデンサ7の電圧が3Vを下回る
ようになる場合は、マイクロコンピュータlはリセット
を行う必要がある。従ってこの場合、切替手段3の内部
接点をB位置にしておく。
If the function of the device is complex and it is not desired to reset the microcomputer 1 even in the event of a power outage, a power outage detection circuit 4 is incorporated as a peripheral circuit. The power failure detection circuit 4 puts the microcomputer 1 into stop mode when the output voltage of the three-terminal regulator 5 drops to 8V. The microcomputer 1 that has entered the stop mode restarts from the state before the stop mode when the power is restored again while retaining the memory contents. In stop mode, the power consumption of the microcomputer 1 is low and the guaranteed operating voltage is 3V, lower than during normal operation. However, if the power outage becomes long and the voltage of the power backup capacitor 7 drops below 3V, , the microcomputer l needs to be reset. Therefore, in this case, the internal contact of the switching means 3 is set to the B position.

上記実施例の構成によれば、周辺回路である停電検知回
路4の有無によって異なる電圧検知手段2の検出位置に
対して、切替手段3が適切な検出位置に接続することを
可能にしでいる。
According to the configuration of the above embodiment, the switching means 3 can be connected to an appropriate detection position for the detection position of the voltage detection means 2, which differs depending on the presence or absence of the power failure detection circuit 4, which is a peripheral circuit.

発明の効果 以上のように本発明のマイクロコンピュータのリセット
装置においては、周辺回路を変えて多品種対応する機器
で、異なるリセット検出位置の要求に対し、主要回路は
共通にして、簡単な切替のみで対処でき、機器の開発効
率や生産効率が向上するという優れた効果が得られる。
Effects of the Invention As described above, in the microcomputer reset device of the present invention, the main circuit is common and only a simple changeover can be made to meet the requirements for different reset detection positions in devices that are compatible with a wide variety of products by changing the peripheral circuits. This has the advantage of improving equipment development efficiency and production efficiency.

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

図は、本発明の一実施例におけるマイクロコンピュータ
のリセット装置を示す構成図である。 1・・・・・・マイクロコンピュータ、2・・・・・・
電圧検知手段、3・・・・・・切替手段。
FIG. 1 is a configuration diagram showing a microcomputer reset device in an embodiment of the present invention. 1...Microcomputer, 2...
Voltage detection means, 3...Switching means.

Claims (1)

【特許請求の範囲】[Claims] 機器の制御に用いるマイクロコンピュータと、機器の回
路電圧を検知して前記マイクロコンピュータのリセット
を行う電圧検知手段と、前記電圧検知手段の検出位置を
目的に応じて複数の回路電圧位置に切替可能にした切替
手段とを備えたマイクロコンピュータのリセット装置。
A microcomputer used to control the equipment, a voltage detection means for detecting the circuit voltage of the equipment and resetting the microcomputer, and a detection position of the voltage detection means capable of being switched to a plurality of circuit voltage positions according to the purpose. A microcomputer reset device equipped with a switching means.
JP1078812A 1989-03-29 1989-03-29 Resetting device for microcomputer Pending JPH02254516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1078812A JPH02254516A (en) 1989-03-29 1989-03-29 Resetting device for microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1078812A JPH02254516A (en) 1989-03-29 1989-03-29 Resetting device for microcomputer

Publications (1)

Publication Number Publication Date
JPH02254516A true JPH02254516A (en) 1990-10-15

Family

ID=13672258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1078812A Pending JPH02254516A (en) 1989-03-29 1989-03-29 Resetting device for microcomputer

Country Status (1)

Country Link
JP (1) JPH02254516A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006320766A (en) * 2006-09-07 2006-11-30 Takao:Kk Pachinko game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006320766A (en) * 2006-09-07 2006-11-30 Takao:Kk Pachinko game machine
JP4590495B2 (en) * 2006-09-07 2010-12-01 株式会社高尾 Pachinko machine

Similar Documents

Publication Publication Date Title
JPS59200327A (en) Control system of peripheral device
JPH02254516A (en) Resetting device for microcomputer
KR100210819B1 (en) Method and apparatus for supplying power supply in full electronic switching system
JPS5822409A (en) Sequence controller
JPS61223916A (en) Power source control system
JPS62243017A (en) Power source backup circuit for memory
CN106528457B (en) Programmable logic controller and method for preserving data during power failure thereof
JP2003016400A (en) Power failure detecting device and card reader equipped with the same power failure detecting device
JPH054026Y2 (en)
JPH0751609Y2 (en) Failure information storage circuit of programmable controller
JP2943222B2 (en) Electronic disk drive
JPS61240303A (en) Washing machine
JPS6338320A (en) Switching system for alternate switching circuit
JPH04117513A (en) Reset device
JPS5932807B2 (en) Clock switching method
JPH06100923B2 (en) Power retention circuit in case of power failure
JPS5870333A (en) Cmos integrated circuit device of dynamic type
JPH03174616A (en) Microcomputer
JPS60251443A (en) Backup device of programmable controller
JPH10333923A (en) Interruption control circuit for microcomputer
JPS6290063A (en) Key telephone system
JPH04284554A (en) Computer system
JPH0553618A (en) Programmable controller
JPS6256735B2 (en)
JPH0329015A (en) Instantaneous service interruption processor for equipment using computer