JP2013041503A - Reset circuit and electronic apparatus - Google Patents
Reset circuit and electronic apparatus Download PDFInfo
- Publication number
- JP2013041503A JP2013041503A JP2011179064A JP2011179064A JP2013041503A JP 2013041503 A JP2013041503 A JP 2013041503A JP 2011179064 A JP2011179064 A JP 2011179064A JP 2011179064 A JP2011179064 A JP 2011179064A JP 2013041503 A JP2013041503 A JP 2013041503A
- Authority
- JP
- Japan
- Prior art keywords
- reset
- unit
- power
- signal
- input
- 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.)
- Withdrawn
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明の実施形態は、リセット回路および電子機器に関する。 Embodiments described herein relate generally to a reset circuit and an electronic apparatus.
従来、BIOSを搭載するPC等の電子機器では、電源スイッチをオンとすると電源供給が開始され、BIOSを用いてハードウェアを初期化する起動処理が実行される。例えば、この起動処理時に何らかの要因によりエラーが発生した場合、処理の停止や暴走等の不具合現象が発生する。 2. Description of the Related Art Conventionally, in an electronic device such as a PC equipped with a BIOS, when a power switch is turned on, power supply is started, and startup processing for initializing hardware using the BIOS is executed. For example, if an error occurs for some reason during the activation process, a malfunction such as a process stop or runaway occurs.
このような不具合現象の対策として、一部の機器では起動処理時にウォッチドッグタイマを起動し、電子機器にPCIリセットをかけることで不具合現象を回避している。 As a countermeasure against such a malfunction phenomenon, some devices avoid the malfunction phenomenon by starting a watchdog timer during a startup process and applying a PCI reset to the electronic device.
しかしながら、PCIリセットは、BIOSからのリセットであり、BIOSを実行するCPUやチップセット等のハードウェアが原因でエラーが発生した場合には、リセットがかけられないおそれがある。 However, the PCI reset is a reset from the BIOS, and if an error occurs due to hardware such as a CPU or a chip set that executes the BIOS, the reset may not be performed.
実施形態のリセット回路および電子機器は、入力部と、リセット部と、を備える。前記入力部には、BIOSを実行する実行部を有するリセット対象部に設けられた異常検出部から出力された異常検出信号が入力される。前記リセット部は、前記入力部に前記異常検出信号が入力された場合、前記リセット対象部をリセットさせる。 The reset circuit and the electronic device of the embodiment include an input unit and a reset unit. An abnormality detection signal output from an abnormality detection unit provided in a reset target unit having an execution unit that executes BIOS is input to the input unit. The reset unit resets the reset target unit when the abnormality detection signal is input to the input unit.
以下、添付図面を参照して、実施形態にかかる電子機器の実施形態を詳細に説明する。 Hereinafter, an embodiment of an electronic device according to an embodiment will be described in detail with reference to the accompanying drawings.
図1に示すように、電子機器1は、機器本体10と、この機器本体10に接続されたリセット回路20と、を備えている。電子機器1は、例えばPC(Personal Computer)やPOS(Point of Sales:販売時点管理)端末等である。本実施形態では、機器本体10がリセット対象部に相当する。
As shown in FIG. 1, the electronic device 1 includes a device
機器本体10は、CPU(Central Processing Unit)11と、チップセット12と、電源回路13と、AND回路15と、ゲートアレイ16と、記憶部17と、を備えている。
The
CPU11は、記憶部17に記憶されたBIOS(Basic Input/Output System)や所定の制御プログラムを実行し、電子機器1を構成する各部の動作を制御する。CPU11には、記憶部17や電源スイッチ14、表示器(図示せず)、キーボード(図示せず)等がチップセット12を介して接続されている。CPU11は、チップセット12や記憶部17、図示しない入出力部(I/O)と共に、マザーボード(図示せず)に実装されている。CPU11は、チップセット12とによって制御部を構成している。CPU11は、記憶部17に記憶されたBIOSを実行して所定の初期化処理等の処理を実行する。CPU11は、BIOSを実行する実行部に相当する。
The
チップセット12は、記憶部17に記憶されたBIOSを実行して、所定の初期化処理等の処理を実行する。チップセット12には、AND回路15を介して電源スイッチ14が接続されている。また、チップセット12には、AND回路15を介してリセット回路20のリセット部23が接続されている。チップセット12は、BIOSを実行する実行部に相当する。
The
記憶部17は、ROM(Read Only Memory)やRAM(Random Access Memory)等を有して構成されている。記憶部17は、BIOSや制御プログラムをROMに記憶している。BIOSには、電子機器1が備える各部の初期化処理にかかるプログラムや設定が含まれている。また、BIOSには、後述するウォッチドッグタイマが計時するカウント値のクリアを行うクリア信号を、CPU11から所定周期で出力させるためのプログラムが含まれている。
The
ゲートアレイ16は、ウォッチドッグタイマ16aを有している。ウォッチドッグタイマ16aは、電源スイッチ14の押下等により電源回路13から電力の供給が開始されると計時を開始する。また、ウォッチドッグタイマ16aは、CPU11からクリア信号を受け付けると計時したカウント値をクリアした後、再度計時を開始する。ゲートアレイ16は、ウォッチドッグタイマ16aのカウント値を監視し、そのカウント値が予め定められた時間(タイムアウト値)を経過すると、WDT(ウォッチドッグタイマ)信号をリセット回路20の入力部21に入力する。即ち、ゲートアレイ16は、CPU11からのクリア信号を監視することで、機器本体10を監視している。ここで、本実施形態では、WDT信号が、異常検出部から出力される異常検出信号に相当する。なお、クリア信号は、CPU11ではなく、チップセット12が出力するようにしてもよい。
The
電源回路13は、電子機器1の各部へ電力を供給する電源ユニットである。電源回路13は、ユーザによる電源スイッチ14の押下に応じてオンとオフとを切り替え、オン時において各部への電力供給を開始する。また、電源回路13は、リセット回路20の制御に従い、自己の状態をオフ(電源遮断状態)からオン(電源供給状態)へ移行したり、オフからオンへ移行したりする。
The
リセット回路20は、プログラマブルロジックデバイスによって構成されている。詳細には、リセット回路20は、CPLD(Complex Programmable Logic Device)によって構成されている。リセット回路20は、別の言い方をするとパワーサイクルリセット回路である。リセット回路20は、ゲートアレイ16、AND回路15および電源回路13と接続されている。リセット回路20は、入力部21と、電圧検出部22と、リセット部23と、を備える。リセット回路20は、電源回路13から常時電力を供給されており、機器本体10がオフ状態であっても動作する。また、リセット回路20は、機器本体10のBIOSを実行しない。つまり、リセット回路20は、機器本体10のBIOSに対して独立して動作する。
The
入力部21には、機器本体10に設けられたゲートアレイ16から出力されたWDT信号が入力される。
The WDT signal output from the
電圧検出部22は、電源回路13を監視して、機器本体10で用いられる電源の電圧値を検出する。
The
リセット部23は、入力部21にWDT信号が入力されていない状態、即ち機器本体10が正常状態である場合には、電源オン(ON)信号を、機器本体10のAND回路15に入力する。したがって、機器本体10が正常状態である場合、電源スイッチ14がオンされると、AND回路15には、電源スイッチ14からの電源オン信号と、リセット部23からの電源オン信号が入力されるので、AND回路15から電源オン信号がチップセット12を介して電源回路13に入力される。これにより、電源回路13が機器本体10の各部に起動電力を供給する。一方、AND回路15にリセット部23から電源オン信号が入力されている状態で、電源スイッチ14がオフされると、電源スイッチ14から電源オフ(OFF)信号がAND回路15に入力され、AND回路15から電源オフ信号がチップセット12を介して電源回路13に入力される。これにより、電源回路13が各部への電力供給を遮断する。
The
一方、リセット部23は、電源スイッチ14がオンされた状態で、入力部21にWDT信号が入力された場合、即ち機器本体10が異常状態となった場合には、機器本体10をリセットさせる。詳細には、リセット部23は、機器本体10が異常状態となった場合には、機器本体10の電源をオフおよびオンして、機器本体10を再起動させる。本実施形態では、リセット部23は、機器本体10に対して電源オフ信号を出力してから規定時間が経過した後に、機器本体10に対して電源オン信号を出力する。より詳細には、リセット部23は、電源オフ信号を出力してから規定時間が経過した後に電圧検出部22が検出した電圧値が規定の閾値よりも低い場合、機器本体10に対して電源オン信号を出力する。上記の規定時間は、例えば、オン状態の機器本体10の各部が良好にオフ状態に移行するのに必要な時間である。
On the other hand, when the power switch 14 is turned on and the WDT signal is input to the
この際、機器本体10では電源スイッチ14がオンされた状態であるので、リセット部23からAND回路15に電源オフ信号が入力されると、電源オフ信号がAND回路15からチップセット12を介して電源回路13に入力される。これにより、電源回路13が各部への電力供給を遮断する。一方、AND回路15にリセット部23から電源オン信号が入力されると、電源オン信号がAND回路15からチップセット12を介して電源回路13に入力される。これにより、電源回路13が各部へ起動電力を供給する。以上のとおり、リセット部23は、機器本体10をリセットさせる信号(電源オン信号、電源オフ信号)を機器本体10に出力する出力部として機能する。
At this time, since the power switch 14 is turned on in the device
以下に、図2を参照して、リセット回路20が実行するリセット処理の流れについて説明する。
Hereinafter, the flow of reset processing executed by the
まず、入力部21が、機器本体10のゲートアレイ16からのWDT信号の入力を待機する(ステップS1のNo)。入力部21にWDT信号が入力された場合(ステップS1のYes)、リセット部23が、機器本体10に電源オフ信号を出力する(ステップS2)。これにより、機器本体10において、電源回路13が電力供給の遮断を開始する。
First, the
リセット部23は、電源オフ信号を出力したならば、規定時間だけ待機してから(ステップS3)、機器本体10の電源電圧が規定の閾値よりも低くなったかを判定する(ステップS4)。この機器本体10の電源電圧の値は、電圧検出部22によって検出された電圧値である。リセット部23は、機器本体10の電源電圧が規定の閾値よりも低くなっていない場合には(ステップS4のNo)、ステップS3に戻り、ステップS3,S4の処理を繰り返し行う。
If the
リセット部23は、機器本体10の電源電圧が規定の閾値よりも低くなった場合には(ステップS4のYes)、電源オン信号を機器本体10に出力する(ステップS5)。これにより、機器本体10において、電源回路13が電力供給を開始する。このようにして機器本体10がリセットされる。
The
以上説明したように、本実施形態では、BIOSを実行するCPU11やチップセット12を有する機器本体10に設けられたゲートアレイ16から出力された異常検出信号が、リセット回路20の入力部21に入力された場合、リセット回路20のリセット部23が機器本体10をリセットさせる。したがって、CPU11等のハードウェアが原因で機器本体10にエラーが生じた場合であっても、BIOSによらずに、リセット回路20によって機器本体10を良好にリセットさせることができる。
As described above, in this embodiment, the abnormality detection signal output from the
また、リセット部23は、機器本体10に対して電源オフ信号を出力してから規定時間が経過した後に、機器本体10に対して電源オン信号を出力する。したがって、機器本体10の各部がオフ状態に移行するのを電源オン信号で遮るのを抑制することができる。
The
また、リセット部23は、電源オフ信号を出力してから規定時間が経過した後に電圧検出部22が検出した電圧値が規定の閾値よりも低い場合、機器本体10に対して電源オン信号を出力する。したがって、機器本体10にリセット動作を良好に行わせることができる。
In addition, the
なお、本実施形態では、リセット回路20がプログラマブルロジックデバイスによって構成された例を説明したが、これに限るものではなく、リセット回路20は、プログラマブルロジックデバイス以外の回路によって構成されていてもよい。
In the present embodiment, the example in which the
本発明の実施形態を説明したが、上記実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。上記新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although the embodiment of the present invention has been described, the above embodiment is presented as an example, and is not intended to limit the scope of the invention. The novel embodiment can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1…電子機器
10…機器本体(リセット対象部)
11…CPU(実行部)
12…チップセット(実行部)
16…ゲートアレイ(異常検出部)
20…リセット回路
21…入力部
22…電圧検出部
23…リセット部
DESCRIPTION OF SYMBOLS 1 ...
11 ... CPU (execution unit)
12 ... Chipset (execution unit)
16 ... Gate array (abnormality detection unit)
DESCRIPTION OF
Claims (6)
前記入力部に前記異常検出信号が入力された場合、前記リセット対象部をリセットさせるリセット部と、
を備えるリセット回路。 An input unit to which an abnormality detection signal output from an abnormality detection unit provided in a reset target unit having an execution unit that executes BIOS is input;
When the abnormality detection signal is input to the input unit, a reset unit that resets the reset target unit;
A reset circuit comprising:
前記リセット部は、電源オフ信号を出力してから規定時間が経過した後に前記電圧検出部が検出した電圧値が規定の閾値よりも低い場合、前記リセット対象部に対して前記電源オン信号を出力する請求項2に記載のリセット回路。 A voltage detection unit for detecting a voltage value of a power source used in the reset target unit;
The reset unit outputs the power-on signal to the reset target unit when a voltage value detected by the voltage detection unit is lower than a predetermined threshold after a predetermined time has elapsed since the power-off signal was output. The reset circuit according to claim 2.
前記異常検出部から出力された異常検出信号が入力される入力部、および前記入力部に前記異常検出信号が入力された場合、前記リセット対象部をリセットさせるリセット部を有するリセット回路と、
を備える電子機器。 A reset target unit having an execution unit and an abnormality detection unit for executing BIOS;
An input unit to which an abnormality detection signal output from the abnormality detection unit is input, and a reset circuit having a reset unit that resets the reset target unit when the abnormality detection signal is input to the input unit;
Electronic equipment comprising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011179064A JP2013041503A (en) | 2011-08-18 | 2011-08-18 | Reset circuit and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011179064A JP2013041503A (en) | 2011-08-18 | 2011-08-18 | Reset circuit and electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013041503A true JP2013041503A (en) | 2013-02-28 |
Family
ID=47889818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011179064A Withdrawn JP2013041503A (en) | 2011-08-18 | 2011-08-18 | Reset circuit and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013041503A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015122051A (en) * | 2013-12-24 | 2015-07-02 | 明泰科技股▲分▼有限公司 | Automatic reset type electronic device and automatic reset method thereof |
-
2011
- 2011-08-18 JP JP2011179064A patent/JP2013041503A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015122051A (en) * | 2013-12-24 | 2015-07-02 | 明泰科技股▲分▼有限公司 | Automatic reset type electronic device and automatic reset method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122321B (en) | Hardware repair method, hardware repair system, and computer-readable storage device | |
US10585755B2 (en) | Electronic apparatus and method for restarting a central processing unit (CPU) in response to detecting an abnormality | |
US8677182B2 (en) | Computer system capable of generating an internal error reset signal according to a catastrophic error signal | |
JP2015516099A5 (en) | ||
US9075586B2 (en) | Power switching system, computer system, and reboot controlling method thereof | |
US20170091017A1 (en) | Fault detecting device and method | |
US8447966B2 (en) | Peripheral control module, computer system, and operation method thereof | |
KR20150087744A (en) | Method and apparatus for changing operation status of electric device | |
US20180329721A1 (en) | Stand-by mode of an electronic circuit | |
JP2007323631A (en) | Cpu runaway determination circuit | |
TWI693513B (en) | Server system and power saving method thereof | |
JP6148129B2 (en) | Information processing apparatus, firmware update method, and firmware update program | |
TWI515550B (en) | Chip device and electronic system thereof | |
JP2013041503A (en) | Reset circuit and electronic apparatus | |
JP6049961B1 (en) | CPU monitoring device | |
JP5148662B2 (en) | Electronic device and control program thereof | |
CN106484438B (en) | Computer startup method and system | |
TWI720615B (en) | Computer device and shutdown and reboot controlling method thereof | |
JP4061329B2 (en) | Game machine control device | |
JP2011240158A5 (en) | ||
TW201430702A (en) | Method and system for updating firmware | |
US9311172B2 (en) | External electronic device | |
TWI590037B (en) | Computer and controlling method thereof | |
WO2014112039A1 (en) | Information processing device, method for controlling information processing device and information processing device control program | |
JP2019003588A (en) | Method of rebooting program on memory from value of program counter according to system clock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20141104 |