JP2007140779A - Power source management device, failure-monitoring device, failure-monitoring program, and recording medium - Google Patents

Power source management device, failure-monitoring device, failure-monitoring program, and recording medium Download PDF

Info

Publication number
JP2007140779A
JP2007140779A JP2005331900A JP2005331900A JP2007140779A JP 2007140779 A JP2007140779 A JP 2007140779A JP 2005331900 A JP2005331900 A JP 2005331900A JP 2005331900 A JP2005331900 A JP 2005331900A JP 2007140779 A JP2007140779 A JP 2007140779A
Authority
JP
Japan
Prior art keywords
power supply
information processing
power
processing apparatus
supply voltage
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.)
Granted
Application number
JP2005331900A
Other languages
Japanese (ja)
Other versions
JP4655899B2 (en
Inventor
Makoto Kinoshita
誠 木下
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2005331900A priority Critical patent/JP4655899B2/en
Publication of JP2007140779A publication Critical patent/JP2007140779A/en
Application granted granted Critical
Publication of JP4655899B2 publication Critical patent/JP4655899B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a power source management device which secures the safe startup and end of an information-processing device. <P>SOLUTION: The power source management device manages the power source of an information-processing device by being incorporated into the information-processing device. The power source management device determines whether at least either the starting or stopping of power feeding is permitted based on a source voltage value on the substrate of the information-processing device. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、PC等の情報処理装置の電源制御に関する。   The present invention relates to power control of an information processing apparatus such as a PC.

電子機器において運用終了処理が行われ、電子機器への給電(電力供給)が止まると、電子機器を構成するコンデンサが放電を始める。したがって、電子機器への給電が停止しても、しばらくの間は基板上に電流が流れており、その電源電圧は0ボルトにはならない。すなわち、基板上の電源電圧は、給電停止後徐々に降下し、ある時間経過後に0ボルトとなる。   When the operation end process is performed in the electronic device and the power supply (power supply) to the electronic device is stopped, the capacitor constituting the electronic device starts to discharge. Therefore, even if the power supply to the electronic device is stopped, a current flows on the substrate for a while, and the power supply voltage does not become 0 volts. That is, the power supply voltage on the substrate gradually decreases after power supply is stopped, and becomes 0 volt after a certain time.

このように、給電停止後しばらくの間は基板に実装されるIC等に電流が流れている不安定な状態であり、この間に電子機器の電源が再投入された(すなわち、電源電圧が0ボルト近傍になる前にIC等に再び電流が流れ、駆動を始めた)場合、IC等の動作が不安定になるおそれがある。特に、情報処理装置のマザーボード(情報処理装置のシステムを構成するための最も基本的なデバイス群を1枚の基板に実装したもの)上のIC等は、その仕様上、上記不安定状態での起動(電源再投入)を禁止しているものが多いが、マザーボード自体はIC等の仕様を考慮した仕様になっておらず、上記不安定状態においても、ユーザーの電源操作による電源投入を許可するようになっている。   Thus, for a while after the power supply is stopped, the current is flowing in the IC mounted on the substrate and the like, and the electronic device is turned on again (that is, the power supply voltage is 0 volts). If the current flows again to the IC or the like before starting to be in the vicinity and driving is started), the operation of the IC or the like may become unstable. In particular, the IC etc. on the motherboard of the information processing device (the most basic device group for configuring the information processing device system mounted on a single substrate) There are many cases where startup (power-on) is prohibited, but the motherboard itself does not take into consideration the specifications of the IC, etc., and even in the unstable state described above, the user can turn on the power by operating the power. It is like that.

以上の問題を、図10を用いて説明すれば以下の通りである。同図に示すように、t100でユーザーが電源スイッチをON状態にし(押し)、この状態を時間T1=例えば16ミリ秒だけ継続させることで情報処理装置の電源から給電が開始され、電源電圧は0Vから5Vまで上昇する。これにより情報処理装置は正常に起動する。なお、情報処理装置の基板は、その電源電圧が0.95V以下であればOFF状態(安定状態)になり、その電源電圧が4.6V以上であればON状態(安定状態)になるものとする。ついで、t102でユーザーが電源スイッチをON状態にし(押し)、この状態を時間T2=例えば4秒継続させる(いわゆる長押しする)ことで電源からの給電が停止され、電源電圧は5Vから降下する。ここで、t103でユーザーが電源スイッチをOFF状態にし(離し)、直後のt104で再度ON状態にする(押す)と、情報処理装置の基板の電源電圧が0.95Vまで降下しない不安定な状態(2.8V付近)で再び電源からの給電が開始されることになる。すなわち、5Vから降下した電源電圧が0.95Vまで下がりきることなく、2.8V付近から再び上昇する。また、t106での情報処理装置(OS)側での終了によって給電が停止され、電源電圧が5Vから降下し出した直後のt107でユーザーが電源スイッチをON状態にして(押して)しまうと、再び給電が開始され、5Vから降下した電源電圧が安定な0.95Vまで下がりきることなく、不安定な状態である2.8V付近から再び上昇する。   The above problem will be described with reference to FIG. As shown in the figure, at time t100, the user turns on (presses) the power switch and continues this state for a time T1 = for example, 16 milliseconds. It rises from 0V to 5V. As a result, the information processing apparatus starts up normally. The substrate of the information processing apparatus is in an OFF state (stable state) if the power supply voltage is 0.95 V or less, and is in an ON state (stable state) if the power supply voltage is 4.6 V or more. To do. Next, at t102, the user turns on (presses) the power switch, and this state is continued for time T2 = for example 4 seconds (so-called long press) to stop power supply from the power source, and the power supply voltage drops from 5V. . Here, if the user turns off (releases) the power switch at t103 and turns it back on (presses) again immediately after t104, the power supply voltage of the substrate of the information processing apparatus does not drop to 0.95V. Power supply from the power supply is started again at (around 2.8 V). That is, the power supply voltage dropped from 5V rises again from around 2.8V without falling to 0.95V. In addition, when the power supply is stopped due to the end on the information processing device (OS) side at t106 and the user turns on (presses) the power switch at t107 immediately after the power supply voltage starts to drop from 5V, the power switch is turned on again. The power supply is started, and the power supply voltage dropped from 5V does not fall down to a stable 0.95V, but rises again from around an unstable state of 2.8V.

このように、マザーボード上のIC等が不安定な状態であるにもかかわらず、情報処理装置の電源が投入されると、情報処理装置が全く起動しない、起動しても正常に動作しないなどの不具合が発生するおそれがある。   In this way, even if the IC on the motherboard is in an unstable state, when the information processing device is turned on, the information processing device does not start at all, or even if it starts, it does not operate normally. There is a risk of malfunction.

なお、関連技術を開示する公知文献として、下記特許文献1・2を挙げることができる。
特開2000−293923(公開日:2000年10月20日) 特開2000−339069(公開日:2000年12月8日)
In addition, the following patent documents 1 and 2 can be mentioned as well-known literature which discloses a related technique.
JP 2000-293923 (release date: October 20, 2000) JP 2000-339069 (release date: December 8, 2000)

しかしながら、情報処理装置の電源スイッチは電源投入操作を常に受け付ける状態となっており、また、ユーザーが情報処理装置の状態を常に正確に把握することも不可能であることから、上記のような不具合の発生を回避することが困難であった。   However, since the power switch of the information processing apparatus is always in a state of accepting a power-on operation, and the user cannot always grasp the state of the information processing apparatus accurately, the above-described problems It was difficult to avoid the occurrence of

本発明は上記課題に鑑みてなされたものであり、その目的は、情報処理装置の安全な起動および終了を担保するための情報処理装置の電源管理装置を提供することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a power management device for an information processing device for ensuring safe start-up and termination of the information processing device.

本発明の電源管理装置は、上記課題を解決するために、情報処理装置に組み込まれることで、該情報処理装置の電源を管理する電源管理装置であって、上記電源の給電開始および給電停止の少なくとも一方の許否(許可・禁止)を、上記情報処理装置の基板上の電源電圧値に基づいて決定することを特徴とする。   In order to solve the above problems, the power management device of the present invention is a power management device for managing the power supply of the information processing device by being incorporated in the information processing device, wherein the power supply is started and stopped. At least one permission / prohibition (permission / prohibition) is determined based on a power supply voltage value on a substrate of the information processing apparatus.

上記構成によれば、例えば、給電開始を上記電源電圧値が第1の閾値以下の場合にのみ許可することで、給電停止(電源OFF)操作直後の不安定な(電源電圧が下がり切っていない)状態で再び給電が開始されるといった誤操作を防止でき、これにより、情報処理装置が起動しなくなる、あるいは起動しても正常に動作しないといった不具合を回避できる。なお、上記給電開始は、電源が非給電状態のときに情報処理装置の電源スイッチがON状態にされたことに伴うものであっても良いし、情報処理装置の再起動に伴うものであっても構わない。さらに、本電源管理装置は、起動障害発生時に自律的に上記情報処理装置を再起動するように構成することもできる。この場合、リトライ処理を行っても構わない。   According to the above configuration, for example, by allowing the start of power supply only when the power supply voltage value is equal to or lower than the first threshold value, the power supply voltage is unstable (the power supply voltage has not fallen down) immediately after the power supply stop (power OFF) operation. ) State, it is possible to prevent an erroneous operation such that power supply is started again, thereby avoiding a problem that the information processing apparatus does not start or does not operate normally even when started. The power supply start may be accompanied by the power switch of the information processing apparatus being turned on when the power supply is in a non-power supply state, or may be accompanied by a restart of the information processing apparatus. It doesn't matter. Furthermore, the power management apparatus can be configured to autonomously restart the information processing apparatus when a startup failure occurs. In this case, retry processing may be performed.

また、例えば、上記給電停止を上記電源電圧値が第2の閾値以上である場合にのみ許可することで、給電開始(電源ON)操作直後の不安定な(電源電圧が上がり切っていない)状態で再び給電が停止されるといった誤操作を防止でき、これにより、情報処理装置が正常に終了あるいは起動しないといった不具合を回避できる。なお、上記給電停止は、電源が給電状態のときに情報処理装置の電源スイッチが所定時間以上ONされたことに伴うものであっても良いし、情報処理装置の終了に伴うものであっても構わない。さらに、本電源管理装置は、終了障害発生時に自律的に上記情報処理装置の終了を行うように構成することもできる。この場合、リトライ処理を行っても構わない。   Further, for example, by allowing the power supply stop only when the power supply voltage value is equal to or greater than the second threshold value, an unstable state (the power supply voltage has not fully increased) immediately after the power supply start (power ON) operation is performed. Thus, it is possible to prevent an erroneous operation such that power supply is stopped again, thereby avoiding a problem that the information processing apparatus does not normally end or start up. The power supply stop may be accompanied by the power switch of the information processing apparatus being turned ON for a predetermined time or more when the power supply is in a power supply state, or may be accompanied by termination of the information processing apparatus. I do not care. Further, the power management apparatus can be configured to autonomously terminate the information processing apparatus when a termination failure occurs. In this case, retry processing may be performed.

本発明の障害監視装置は、上記課題を解決するために、情報処理装置に組み込まれることで該情報処理装置の電源に係る障害を監視する障害監視装置であって、記憶部と、上記電源の情報処理装置への給電開始を、基板上の電源電圧が第1の閾値以下の場合にのみ許可する電源管理手段と、情報処理装置への給電開始後に上記電源電圧の値が第2の閾値以上になった場合は正常処理である旨を上記記憶部に記録する一方で上記電源電圧の値が第2の閾値以上にならない場合は異常処理である旨を上記記憶部に記録する記録手段と、をえたことを特徴とする。   In order to solve the above problems, the fault monitoring apparatus of the present invention is a fault monitoring apparatus that monitors a fault related to a power supply of the information processing apparatus by being incorporated in the information processing apparatus. Power management means that permits power supply start to the information processing apparatus only when the power supply voltage on the substrate is equal to or lower than the first threshold value, and the value of the power supply voltage after the power supply start to the information processing apparatus is equal to or higher than the second threshold value Recording means for recording in the storage unit that the normal processing is recorded in the storage unit, while recording in the storage unit that it is abnormal processing when the value of the power supply voltage does not exceed the second threshold value, It is characterized by having gained.

上記構成によれば、情報処理装置の確実な起動処理を担保することでその信頼性を高めることができるのに加え、情報処理装置の起動状態および起動障害を記録しておくことで、後の障害解析作業を容易にし、保守性を向上させることができる。   According to the above configuration, the reliability of the information processing apparatus can be ensured by ensuring reliable start processing, and in addition, the activation state and activation failure of the information processing apparatus can be recorded, Failure analysis work can be facilitated and maintainability can be improved.

また、本障害監視装置においては、上記電源管理手段は、上記電源の情報処理装置への給電停止を、上記電源電圧値が第2の閾値以上である場合にのみ許可し、上記記録手段は、情報処理装置への給電停止後、上記電源電圧の値が第1の閾値以下になった場合は正常処理である旨を上記記憶部に記録する一方で上記電源電圧の値が第1の閾値以下にならない場合は異常処理である旨を上記記憶部に記録することが好ましい。   In the fault monitoring apparatus, the power management unit permits the power supply to the information processing apparatus to be stopped only when the power supply voltage value is equal to or greater than a second threshold value. After the power supply to the information processing apparatus is stopped, if the power supply voltage value is equal to or lower than the first threshold value, the fact that the processing is normal is recorded in the storage unit, while the power supply voltage value is equal to or lower than the first threshold value. If not, it is preferable to record in the storage section that the process is abnormal.

上記構成によれば、情報処理装置の確実な起動処理を担保することでその信頼性を高めることができるのに加え、情報処理装置の終了状態および終了障害を記録しておくことで、後の障害解析作業を容易にし、保守性を向上させることができる。   According to the above configuration, in addition to being able to improve the reliability by ensuring a reliable start-up process of the information processing device, by recording the end state and end failure of the information processing device, Failure analysis work can be facilitated and maintainability can be improved.

また、本障害監視装置においては、上記記録手段は、上記給電停止がユーザーの操作(ユーザーの電源スイッチ操作あるいは情報処理装置のOSの終了)によるものかあるいは停電に伴うものかを上記記憶部に記録することが好ましい。   Further, in the fault monitoring apparatus, the recording means stores in the storage unit whether the power supply stop is caused by a user operation (user power switch operation or information processing apparatus OS termination) or due to a power failure. It is preferable to record.

この点、情報処理装置が一般的に有するハードディスク等は、ディスクアクセス中に正常な処理を行わない物理的な電源断(停電等の非人的要因・ユーザーの不用意なスイッチ操作等の人的要因等)が発生するとアクセスしていたデータ領域にあるデータの破損や、ディスクの物理的な破損につながる可能性がある。そして、このようなディスクアクセス中における物理的な電源断が繰り返される等、ディスクにおける障害となる要因が蓄積されていくと、ディスクの故障や重要なデータの損失、情報処理装置の動作不良を引き起こす。   In this regard, hard disks, etc., which information processing devices generally have, are subject to physical power interruptions that do not perform normal processing during disk access (non-human factors such as power outages, human operations such as inadvertent switch operations by the user) If this occurs, there is a possibility that the data in the accessed data area may be damaged or the disk may be physically damaged. Then, if factors that cause disk failures such as repeated physical power interruptions during disk access are accumulated, it may cause disk failure, loss of important data, and malfunction of the information processing device. .

ここで、このような電源断の状態を記録しておくことにより、情報処理装置に障害が発生した場合に、情報処理装置にどのような操作がなされてきたのか等の障害に至るまでの経緯を知り、障害発生原因解析や保守、後の情報処理装置を構成する部品の改善に役立てることが可能となる。   Here, by recording such a power-off state, in the event of a failure in the information processing apparatus, the process up to the failure such as what operation has been performed on the information processing apparatus Can be used to analyze the cause of the failure, perform maintenance, and improve the components of the information processing apparatus later.

また、本障害監視装置においては、基板上の電源電圧が第1の閾値以下の場合に、給電開始可能であることを表示する表示部を備えることが好ましい。また、上記表示部は、基板上の電源電圧が第2の閾値以上の場合に給電停止可能であることを表示することが好ましい。こうすれば、ユーザーは、起動あるいは終了が可能な状態か否かを容易に把握することができ、誤操作を防止できる。これにより、情報処理装置の安全な起動および終了処理がより確実に担保される。   The fault monitoring apparatus preferably includes a display unit that displays that power supply can be started when the power supply voltage on the substrate is equal to or lower than the first threshold. Moreover, it is preferable that the display unit displays that the power supply can be stopped when the power supply voltage on the substrate is equal to or higher than the second threshold value. In this way, the user can easily grasp whether or not it can be activated or terminated, and erroneous operation can be prevented. As a result, safe start-up and termination processing of the information processing apparatus is ensured more reliably.

本発明の障害監視プログラムは、上記障害監視装置の各手段をコンピュータに実行可能とすることを特徴とする。   The fault monitoring program of the present invention is characterized in that each means of the fault monitoring apparatus can be executed by a computer.

また、本発明の記録媒体は、コンピュータの読み取り可能な記録媒体であって、上記障害監視プログラムが記録されていることを特徴とする。   The recording medium of the present invention is a computer-readable recording medium on which the failure monitoring program is recorded.

以上のように、本発明の電源管理装置によれば、情報処理装置に実装されるIC等が電気的に不安定状態において電源投入された場合の起動不良を防ぎ、情報処理装置の確実な起動及び運用終了処理を行うことでその信頼性を高めることができる。   As described above, according to the power management device of the present invention, it is possible to prevent a startup failure when an IC or the like mounted on the information processing device is turned on in an electrically unstable state and to reliably start the information processing device. And the reliability can be improved by performing the operation end processing.

また、本発明の障害監視装置によれば、情報処理装置の確実な起動・終了処理を行うことでその信頼性を高めることができるのに加え、情報処理装置の電源に関する操作および発生した障害等を記録しておくことにより、後の障害解析時の解析を容易にし、保守性を向上させることができる。   Further, according to the fault monitoring apparatus of the present invention, the reliability of the information processing apparatus can be improved by performing reliable start / end processing, and the operation related to the power source of the information processing apparatus, the fault that has occurred, etc. By recording, it is possible to facilitate analysis at the time of failure analysis later and improve maintainability.

本発明の実施の一形態を図1〜9に基づいて説明すれば以下のとおりである。   An embodiment of the present invention will be described below with reference to FIGS.

図1は本実施の形態に係る障害監視装置の構成を示すブロック図であり、図2は本障害監視装置の具体的構成を示す模式図であり、図3は本障害監視装置が組み込まれた情報処理装置の構成を示す模式図である。   FIG. 1 is a block diagram showing a configuration of a fault monitoring apparatus according to the present embodiment, FIG. 2 is a schematic diagram showing a specific configuration of the fault monitoring apparatus, and FIG. 3 is incorporated with the fault monitoring apparatus. It is a schematic diagram which shows the structure of information processing apparatus.

図1〜3に示されるように、例えば、産業用PCである情報処理装置50は、マザーボード51、マザーボード電源電圧出力端子57、電源制御信号入力端子58、電源ユニット(以下、電源)52、およびハードディスク53を備える。本実施の形態に係る障害監視装置10は、この情報処理装置50の筐体内に組み込み可能に構成されており、CPU11、SRAM12、バッテリ13、RS232Cインターフェイス(以下、インターフェイス)56、マザーボード電源電圧入力端子14、電源制御信号出力端子15、電源スイッチ信号入力端子16、LED55、およびLED出力端子17を有する。   As shown in FIGS. 1 to 3, for example, an information processing apparatus 50 that is an industrial PC includes a motherboard 51, a motherboard power supply voltage output terminal 57, a power supply control signal input terminal 58, a power supply unit (hereinafter, power supply) 52, and A hard disk 53 is provided. The fault monitoring apparatus 10 according to the present embodiment is configured to be incorporated in the casing of the information processing apparatus 50, and includes a CPU 11, an SRAM 12, a battery 13, an RS232C interface (hereinafter referred to as an interface) 56, a motherboard power supply voltage input terminal. 14, a power control signal output terminal 15, a power switch signal input terminal 16, an LED 55, and an LED output terminal 17.

ここで、インターフェイス56は情報処理装置50および障害監視装置10間のデータ伝送の仲介を行う。SRAM12は情報処理装置50の状態や発生した障害等のログを格納する。LED55は情報処理装置50の電源投入許可状態および禁止状態を表示する。また、マザーボード電源電圧入力端子14には、情報処理装置50のマザーボード51上の電源電圧が入力される。電源制御信号出力端子15からは、マザーボード51(電源制御信号入力端子)への電源制御信号が出力される。電源スイッチ信号入力端子16には、情報処理装置50の筐体に設けられる電源スイッチ54のON信号が入力される。また、バッテリ13は、障害監視装置10の各部へ電源を供給し、例えば、ログ蓄積用のSRAM12へ記憶保持用の電力を供給する。   Here, the interface 56 mediates data transmission between the information processing apparatus 50 and the failure monitoring apparatus 10. The SRAM 12 stores a log of the state of the information processing apparatus 50 and a failure that has occurred. The LED 55 displays a power-on permission state and a prohibition state of the information processing apparatus 50. The power supply voltage on the motherboard 51 of the information processing apparatus 50 is input to the motherboard power supply voltage input terminal 14. The power control signal output terminal 15 outputs a power control signal to the mother board 51 (power control signal input terminal). The power switch signal input terminal 16 receives an ON signal of a power switch 54 provided in the housing of the information processing apparatus 50. Further, the battery 13 supplies power to each unit of the failure monitoring apparatus 10 and supplies, for example, power for storing and holding to the log storage SRAM 12.

また、CPU11は、内部RAM21、内部ROM22、A/Dコンバータ(ADC)18、UART(通信部)19、タイマ20、電源スイッチ信号入力ポート24、電源制御用出力ポート23、LED出力ポート25、および制御部6を備える。   The CPU 11 includes an internal RAM 21, an internal ROM 22, an A / D converter (ADC) 18, a UART (communication unit) 19, a timer 20, a power switch signal input port 24, a power control output port 23, an LED output port 25, and A control unit 6 is provided.

ここで、内部ROM22は、オペレーティングシステム、障害監視装置10における各ハードウェア資源を制御するドライバ群、および障害監視装置10の各機能を実現するためのプログラム群等、並びに運用中に使用する定数等を格納する。内部RAM21は常時運用するためのデータを格納する。ADC18は、情報処理装置50のマザーボード51上の電源電圧(アナログ値)をデジタル値に変換する。UART19は、情報処理装置50および障害監視装置10間において伝送データの変換等を行う。電源スイッチ信号入力ポート24には、電源スイッチ54の信号が入力される。電源制御用出力ポート23からは、情報処理装置50の電源制御信号が出力される。LED出力ポート25からは、LED55の制御信号が出力される。   Here, the internal ROM 22 is an operating system, a driver group for controlling each hardware resource in the failure monitoring apparatus 10, a program group for realizing each function of the failure monitoring apparatus 10, and constants used during operation. Is stored. The internal RAM 21 stores data for continuous operation. The ADC 18 converts the power supply voltage (analog value) on the mother board 51 of the information processing apparatus 50 into a digital value. The UART 19 converts transmission data between the information processing device 50 and the failure monitoring device 10. A signal from the power switch 54 is input to the power switch signal input port 24. A power control signal for the information processing apparatus 50 is output from the power control output port 23. A control signal for the LED 55 is output from the LED output port 25.

CPU11の制御部6は、オペレーティングシステム、各ドライバ群およびプログラム群等により実現され、その機能ブロックとして、オペレーティングシステム上で動作する、システム制御部101(電源管理手段)、ADC制御部102、ログ管理部103(記録手段)、およびタイマ制御部104を備える。システム制御部101は、障害監視装置10の制御およびその各機能を実現する。ADC制御部102は、ADC18を制御し、A/D変換を行う。ログ管理部103は、情報処理装置50および障害監視装置10の状態を記録するログデータ(状態ログデータ)と障害情報に関するログデータ(障害ログデータ)とをログ蓄積用のSRAM12に書き込む。この障害ログデータあるいは状態ログデータをログ蓄積用SRAM12に蓄積するにあたっては、障害監視装置10における各ハードウェア資源を制御するドライバおよび各機能を実現するシステム制御部101がログ管理部103を起動させ、起動したログ管理部103がログデータをログ蓄積用SRAM12内の指定された領域に書き込む。タイマ制御部104は、タイマ20の制御を行い、タイマ20のハードウェア割込みが発生する毎に必要な処理を行う。   The control unit 6 of the CPU 11 is realized by an operating system, each driver group, a program group, and the like, and operates as a functional block on the operating system. The system control unit 101 (power management unit), the ADC control unit 102, and log management A unit 103 (recording unit) and a timer control unit 104 are provided. The system control unit 101 realizes control of the failure monitoring apparatus 10 and each function thereof. The ADC control unit 102 controls the ADC 18 and performs A / D conversion. The log management unit 103 writes log data (status log data) for recording the status of the information processing device 50 and the failure monitoring device 10 and log data related to failure information (failure log data) to the SRAM 12 for log accumulation. When this failure log data or status log data is stored in the log storage SRAM 12, the driver that controls each hardware resource in the failure monitoring apparatus 10 and the system control unit 101 that implements each function activates the log management unit 103. The started log management unit 103 writes the log data in a designated area in the log storage SRAM 12. The timer control unit 104 controls the timer 20 and performs necessary processing every time a hardware interrupt of the timer 20 occurs.

次に、情報処理装置50に対し、そのマザーボード51上の電源電圧を監視し、その電源ユニット(以下、電源52)を管理する具体的構成について説明する。   Next, a specific configuration for monitoring the power supply voltage on the mother board 51 and managing the power supply unit (hereinafter, power supply 52) for the information processing apparatus 50 will be described.

まず、情報処理装置50を構成するマザーボード51上にマザーボード電源電圧出力端子57を設け、マザーボード51上の電源電圧を、マザーボード電源電圧出力端子57から電源電圧ケーブル59を介して障害監視装置10上のマザーボード電源電圧入力端子14に入力する。マザーボード電源電圧入力端子14に入力された電源電圧のアナログ信号は、障害監視装置10の基板上の配線を経由して、CPU11が内蔵するADCに入力される。ADC18に入力された情報処理装置50の電源電圧のアナログ信号は、ADC制御部102により駆動されるADC18によってデジタル値に変換される。ADC制御部102は、算出されたデジタル値に対して移動平均処理を施し、これをCPU11に内蔵される内部RAM21の指定された領域に格納する。ついで、システム制御部101が一定間隔毎に前記電源電圧値のデジタル値の平均値と、内部ROM22に記憶されている事前に設定された第1の閾値(閾値A)あるいは第2の閾値(閾値B)とを比較し、この比較結果に基づいて、情報処理装置50および障害監視装置10の各部を制御する。   First, the motherboard power supply voltage output terminal 57 is provided on the motherboard 51 constituting the information processing apparatus 50, and the power supply voltage on the motherboard 51 is supplied from the motherboard power supply voltage output terminal 57 to the fault monitoring apparatus 10 via the power supply voltage cable 59. Input to the motherboard power supply voltage input terminal 14. The analog signal of the power supply voltage input to the motherboard power supply voltage input terminal 14 is input to the ADC built in the CPU 11 via the wiring on the board of the failure monitoring apparatus 10. The analog signal of the power supply voltage of the information processing apparatus 50 input to the ADC 18 is converted into a digital value by the ADC 18 driven by the ADC control unit 102. The ADC control unit 102 performs a moving average process on the calculated digital value and stores it in a designated area of the internal RAM 21 built in the CPU 11. Next, the system control unit 101 calculates the average value of the digital value of the power supply voltage value at regular intervals and the first threshold value (threshold A) or the second threshold value (threshold value) stored in the internal ROM 22 in advance. B) and compare each part of the information processing device 50 and the failure monitoring device 10 based on the comparison result.

また、情報処理装置50の電源52を操作するための電源スイッチ54は、情報処理装置50の筐体に設けられており、そのスイッチ信号入力端子16に入力された信号(ON信号)は、電源スイッチケーブル61を介してCPU11が備える電源スイッチ信号入力ポート24へ入力される。入力された信号は、定期的にタイマ20の割込みによって起動するタイマ制御部104によりスムージング処理が行われ、信号の立ち上がりを検知することにより電源スイッチ54が操作されたことをシステム制御部101に通知する。   A power switch 54 for operating the power source 52 of the information processing apparatus 50 is provided in the housing of the information processing apparatus 50, and a signal (ON signal) input to the switch signal input terminal 16 is a power source. The signal is input to the power switch signal input port 24 of the CPU 11 via the switch cable 61. The input signal is subjected to smoothing processing by the timer control unit 104 that is periodically started by an interruption of the timer 20, and the system control unit 101 is notified that the power switch 54 has been operated by detecting the rise of the signal. To do.

障害監視装置10による情報処理装置50の電源制御は、CPU11の制御部6が、電源制御信号を電源制御信号出力ポート23から電源制御信号出力端子15に出力し、この電源制御信号が電源制御信号ケーブル60を介して情報処理装置50の電源制御信号入力端子58に入力されることで実現される。   In the power control of the information processing apparatus 50 by the failure monitoring apparatus 10, the control unit 6 of the CPU 11 outputs a power control signal from the power control signal output port 23 to the power control signal output terminal 15, and this power control signal is the power control signal. This is realized by being input to the power control signal input terminal 58 of the information processing apparatus 50 via the cable 60.

ユーザが電源スイッチを操作することによって電源52をON(給電を開始)し、情報処理装置を起動する処理手順を図4・8に基づいて説明すれば以下の通りである。なお、図8は本障害監視装置を組み込んだ情報処理装置のユーザによる起動あるいは終了処理を示すシーケンスチャートである。   A processing procedure for turning on the power source 52 (starting power feeding) and starting the information processing apparatus by operating the power switch by the user will be described with reference to FIGS. FIG. 8 is a sequence chart showing the activation or termination processing by the user of the information processing apparatus incorporating the fault monitoring apparatus.

S100でユーザーが電源スイッチ54を(少なくともT1=16ミリ秒以上)押すと、そのON信号が電源スイッチケーブル61およびスイッチ信号入力端子16を介してCPU11のシステム制御部101に通知される。これを受けて、システム制御部101は、ADC制御部102から通知されるマザーボード51上の電源電圧の値と閾値A(0.95V)とを比較する(S101)。   When the user presses the power switch 54 (at least T1 = 16 milliseconds or more) in S100, the ON signal is notified to the system control unit 101 of the CPU 11 via the power switch cable 61 and the switch signal input terminal 16. In response to this, the system control unit 101 compares the value of the power supply voltage on the mother board 51 notified from the ADC control unit 102 with the threshold value A (0.95 V) (S101).

S101でNo、すなわち電源電圧が0.95Vを上回れば、電源電圧が不安定状態であるものとして給電開始は許可されない。すなわち、システム制御部101は、電源スイッチ54の操作通知を無視して電源制御信号を「Low」のままとし(図8のt3参照)、電源電圧が閾値A(0.95V)を下回るまで(S101でYesになるまで)電源52はそれまでの非給電状態のまま維持される。なお、電源電圧が閾値A(0.95V)を下回った時点でS102へ進む(図8のt4参照)。   If S101 is No, that is, if the power supply voltage exceeds 0.95 V, the power supply start is not permitted because the power supply voltage is in an unstable state. That is, the system control unit 101 ignores the operation notification of the power switch 54 and keeps the power control signal “Low” (see t3 in FIG. 8) until the power supply voltage falls below the threshold A (0.95 V) ( The power supply 52 is maintained in the non-powered state until then (until S101 becomes Yes). Note that the process proceeds to S102 when the power supply voltage falls below the threshold A (0.95 V) (see t4 in FIG. 8).

一方S101でYes、すなわち電源電圧が0.95V以下であれば、電源電圧が安定状態であるものとして電源52の情報処理装置50への給電開始が許可される。すなわち、システム制御部101は、電源制御信号(電源制御用ポート信号)を「High(H)」にし(S102)、電源52はT1後にマザーボード51へ給電を開始する。そして、ユーザーが押していた電源スイッチ54を離す(OFF状態にする)と(S103)、システム制御部101は、電源制御信号(電源制御用ポート信号)を「Low(L)」にする(S104)。そして、情報処理装置50からの起動通知を受ける(通信が開始される)と、ログ管理部103は、情報処理装置50がユーザの電源操作によって起動した旨のログデータをログ蓄積用SRAM12内の所定領域に書き込む(S105)。ただし、一定時間経過しても情報処理装置50からの起動通知がない(通信が開始されない)場合は、起動障害があったものとして、図7に示す自動再起動処理に移行する(後述)。   On the other hand, if S101 is Yes, that is, if the power supply voltage is 0.95 V or less, it is assumed that the power supply voltage is in a stable state, and power supply to the information processing apparatus 50 from the power supply 52 is permitted. That is, the system control unit 101 sets the power control signal (power control port signal) to “High (H)” (S102), and the power source 52 starts feeding the motherboard 51 after T1. When the power switch 54 that the user has pressed is released (turned off) (S103), the system control unit 101 sets the power control signal (power control port signal) to “Low (L)” (S104). . When the activation notification is received from the information processing apparatus 50 (communication is started), the log management unit 103 stores log data indicating that the information processing apparatus 50 has been activated by a user's power operation in the log storage SRAM 12. Writing in a predetermined area (S105). However, if there is no activation notification from the information processing apparatus 50 (communication is not started) even after a lapse of a certain time, it is assumed that there is an activation failure, and the process proceeds to the automatic restart processing shown in FIG. 7 (described later).

なお、S101がNoの間は、CPU11がLED55(例えば赤色)を点灯し、電源電圧が不安定状態であることをユーザーに報知する。一方、S101でYesとなれば、CPU11がLED55を消灯し、電源電圧が安定状態になったことをユーザーに報知する。   While S101 is No, the CPU 11 lights the LED 55 (for example, red) to notify the user that the power supply voltage is in an unstable state. On the other hand, if the answer is Yes in S101, the CPU 11 turns off the LED 55 and notifies the user that the power supply voltage is in a stable state.

ユーザが電源スイッチを操作することによって電源52をOFF(給電を停止)し、情報処理装置50を終了する場合の処理手順を図5・8に基づいて説明すれば以下の通りである。   The processing procedure when the user operates the power switch to turn off the power source 52 (power supply is stopped) and terminate the information processing apparatus 50 will be described below with reference to FIGS.

ユーザーが電源スイッチ54を一定時間(例えばT2=4秒)以上長押しすると(図8のt1〜t2参照)、一定時間以上ON信号が電源スイッチケーブル61およびスイッチ信号入力端子16を介してCPU11のシステム制御部101に通知される。   When the user presses and holds the power switch 54 for a certain time (for example, T2 = 4 seconds) or longer (see t1 to t2 in FIG. 8), the ON signal is sent from the CPU 11 via the power switch cable 61 and the switch signal input terminal 16 for a certain time or longer. This is notified to the system control unit 101.

これらの通知(電源OFFの指示)を受けて、ADC制御部102から通知されるマザーボード51上の電源電圧の値と閾値B(4.6V)とを比較する(S121)。   Upon receiving these notifications (power-off instruction), the power supply voltage value on the motherboard 51 notified from the ADC control unit 102 is compared with the threshold value B (4.6 V) (S121).

S121でNo、すなわち電源電圧が4.6V以下であれば、電源電圧が不安定状態であるものとして給電停止は許可されない。すなわち、システム制御部101は、電源スイッチ54の操作通知を無視して電源制御信号を「Low」のままとし、電源電圧が4.6Vを上回るまで(S121でYesになるまで)電源52はそれまでの給電状態のまま維持される。なお、電源電圧が閾値B(4.6V)を上回った時点でS122へ進む。   If S121 is No, that is, if the power supply voltage is 4.6 V or less, the power supply stop is not permitted because the power supply voltage is in an unstable state. That is, the system control unit 101 ignores the operation notification of the power switch 54 and keeps the power control signal “Low”, and the power supply 52 does not operate until the power supply voltage exceeds 4.6 V (Yes in S121). Until the power supply state is maintained. When the power supply voltage exceeds the threshold value B (4.6V), the process proceeds to S122.

一方S121でYes、すなわち電源電圧が4.6V以上であれば、電源電圧が安定状態であるものとして電源52の情報処理装置50への給電停止が許可される。すなわち、システム制御部101は、電源制御信号(電源制御用ポート信号)を「High(H)」にし(S122)、T2以上経過後にユーザーが押していた電源スイッチ54を離す(OFF状態にする)と(S123)、電源制御信号(電源制御用ポート信号)を「Low(L)」にする(S124)。これにより、電源52はマザーボード51へ給電を停止する(図8のt2・t7参照)。そして、情報処理装置50との通信が停止されると、ログ管理部103は情報処理装置がユーザの電源操作によって終了した旨のログデータをログ蓄積用SRAM12内の所定領域に書き込む(S126)。ただし、一定時間経過しても情報処理装置50との通信が停止されない場合は、終了障害があったものとして、図6に示す自終了処理に移行する(後述)。   On the other hand, if S121 is Yes, that is, if the power supply voltage is 4.6V or higher, the power supply to the information processing apparatus 50 from the power supply 52 is permitted to be stopped as the power supply voltage is in a stable state. In other words, the system control unit 101 sets the power control signal (power control port signal) to “High (H)” (S122), and releases the power switch 54 that the user has pressed after the time T2 or more has elapsed (sets it to the OFF state). (S123), the power control signal (power control port signal) is set to "Low (L)" (S124). As a result, the power supply 52 stops supplying power to the mother board 51 (see t2 and t7 in FIG. 8). When communication with the information processing apparatus 50 is stopped, the log management unit 103 writes log data indicating that the information processing apparatus has been terminated by the user's power operation to a predetermined area in the log storage SRAM 12 (S126). However, if communication with the information processing apparatus 50 is not stopped even after a certain time has elapsed, it is assumed that there has been an end failure, and the process proceeds to a self-end process shown in FIG. 6 (described later).

なお、S121がNoの間は、CPU11がLED55(例えば赤色)を点灯し、電源電圧が不安定状態であることをユーザーに報知する。一方、S101でYesとなれば、CPU11がLED55を消灯し、電源電圧が安定状態になったことをユーザーに報知する。   While S121 is No, the CPU 11 lights the LED 55 (for example, red) to notify the user that the power supply voltage is in an unstable state. On the other hand, if the answer is Yes in S101, the CPU 11 turns off the LED 55 and notifies the user that the power supply voltage is in a stable state.

障害監視装置10から自動的に情報処理装置50をOFF(電源52の給電を停止)する場合の処理手順を図6・9に基づいて説明すれば以下の通りである。なお、図9は本障害監視装置を組み込んだ情報処理装置の自動終了および再起動処理を示すシーケンスチャートである。   A processing procedure when the information processing apparatus 50 is automatically turned off (stops the power supply of the power supply 52) from the failure monitoring apparatus 10 will be described with reference to FIGS. FIG. 9 is a sequence chart showing automatic termination and restart processing of the information processing apparatus incorporating the fault monitoring apparatus.

OSから終了あるいは再起動する場合または上記の終了障害が起きた場合、障害監視装置10は自律的に以下の処理を行う。まず、システム制御部101は、ADC制御部102から通知されるマザーボード51上の電源電圧の値と閾値B(4.6V)とを比較する(S10)。   When the operation is terminated or restarted from the OS or when the above-described termination failure occurs, the failure monitoring apparatus 10 autonomously performs the following processing. First, the system control unit 101 compares the value of the power supply voltage on the mother board 51 notified from the ADC control unit 102 with a threshold value B (4.6 V) (S10).

S10でNo、すなわち電源電圧が4.6V以下であれば、電源電圧が不安定状態であるものとして給電停止を行わない。すなわち、システム制御部101は、電源制御信号を「Low」のままとし、電源電圧が4.6Vを上回るまで(S10でYesになるまで)電源52はそれまでの給電状態のまま維持される。なお、電源電圧が閾値B(4.6V)を上回った時点でS11へ進む。   If No in S10, that is, if the power supply voltage is 4.6 V or less, the power supply voltage is unstable and power supply is not stopped. That is, the system control unit 101 keeps the power supply control signal “Low”, and the power supply 52 is maintained in the power supply state until then until the power supply voltage exceeds 4.6 V (until S10 becomes Yes). Note that the process proceeds to S11 when the power supply voltage exceeds the threshold value B (4.6V).

一方S10でYes、すなわち電源電圧が4.6V以上であれば、電源電圧が安定状態であるものとして電源52の情報処理装置50への給電停止が可能である(図9のt11参照)。すなわち、システム制御部101は、電源制御信号を「High(H)」にし(S11)、さらに、タイマ20を起動して5秒をカウントした後((図9のt13参照))、電源制御信号を「L」にする(S12〜14)。これにより、電源スイッチ52が長押し(T2=4秒)された場合と同じ状態となり、情報処理装置50の電源52はマザーボード51への給電を停止する(図9のt12参照)。ついで、システム制御部101は、再度タイマ20を起動して10秒をカウントしつつ(S15)、ADC制御部102から通知される電源電圧の値と閾値A(0.95V)とを比較する(S17)。ここで、電源電圧の値が0.95V以下であれば(図9のt13参照)、システム制御部101は情報処理装置50が正常に終了したと認識する。これを受けてログ管理部103は情報処理装置が正常終了した旨のログデータをログ蓄積用SRAM12内の所定領域に書き込む(S19)。一方、電源電圧が0.95V以上(S16でNo)であるが、10秒が経過していない場合(S17でNo)はS16に戻り、10秒が経過していればS18に進む。S18ではS11に戻り、以降の処理をリトライ規定回数まで繰り返す。そして、リトライ起動処理を規定回行ってもなお電源電圧値が閾値A(0.95V)以下とならない(情報処理装置50が正常終了しなかった)場合には(S18でYes)、ログ管理部103は、情報処理装置50が異常終了した旨のログ(障害ログ)データをログ蓄積用SRAM12内の所定領域に書き込む(S20)。   On the other hand, if Yes in S10, that is, if the power supply voltage is 4.6 V or higher, it is possible to stop power supply to the information processing device 50 of the power supply 52 as the power supply voltage is in a stable state (see t11 in FIG. 9). That is, the system control unit 101 sets the power control signal to “High (H)” (S11), and after starting the timer 20 and counting 5 seconds (see t13 in FIG. 9), the power control signal Is set to “L” (S12-14). As a result, the power switch 52 is in the same state as when the power switch 52 is pressed long (T2 = 4 seconds), and the power supply 52 of the information processing apparatus 50 stops supplying power to the motherboard 51 (see t12 in FIG. 9). Next, the system control unit 101 activates the timer 20 again and counts 10 seconds (S15), and compares the power supply voltage value notified from the ADC control unit 102 with the threshold A (0.95 V) ( S17). Here, if the value of the power supply voltage is 0.95 V or less (see t13 in FIG. 9), the system control unit 101 recognizes that the information processing apparatus 50 has ended normally. In response to this, the log management unit 103 writes log data to the effect that the information processing apparatus has been completed normally in a predetermined area in the log storage SRAM 12 (S19). On the other hand, if the power supply voltage is 0.95 V or higher (No in S16) but 10 seconds have not elapsed (No in S17), the process returns to S16, and if 10 seconds have elapsed, the process proceeds to S18. In S18, the process returns to S11, and the subsequent processing is repeated up to the prescribed number of retries. If the power supply voltage value does not fall below the threshold value A (0.95 V) even if the retry activation process is performed a specified number of times (the information processing apparatus 50 has not ended normally) (Yes in S18), the log management unit 103 writes log (failure log) data indicating that the information processing apparatus 50 has terminated abnormally into a predetermined area in the log storage SRAM 12 (S20).

なお、S19あるいはS20においては、この度の終了(マザーボード51への給電の停止)が、OS終了あるいは再起動または上記の終了障害に伴って障害監視装置10側から自動的に行われたものであることも同時に書き込まれる。また、S10では、CPU11がLED55(例えば赤色)を点灯し、電源電圧が不安定状態であることをユーザーに報知する。一方、S16でYesとなれば、CPU11がLED55を消灯し、電源電圧が安定状態になったことをユーザーに報知する。   In S19 or S20, the termination (stop of power supply to the mother board 51) is automatically performed from the fault monitoring apparatus 10 side in accordance with the termination or restart of the OS or the above termination failure. That is also written at the same time. In S10, the CPU 11 lights the LED 55 (for example, red) to notify the user that the power supply voltage is unstable. On the other hand, if Yes in S16, the CPU 11 turns off the LED 55 and notifies the user that the power supply voltage has become stable.

最後に(S21)、電源OFF設定か再起動かが判定され、電源OFF設定あれば情報処理装置50の終了処理を完了し、再起動設定であればAに進み、図7に示す再起動の処理へと移行する。   Finally (S21), it is determined whether the power is turned off or restarted. If the power is turned off, the end processing of the information processing apparatus 50 is completed. If the power is turned off, the process proceeds to A, and the restart process shown in FIG. Migrate to

さらに、システム制御部101は、停電等によって、ユーザーの操作あるいは障害監視装置10の電源OFF指示に基づくことなく電源断がなされた場合も、ログ管理部103を介して停電等により情報処理装置が電源断した旨のログデータをログ蓄積用SRAM12内の所定領域に書き込む。   Furthermore, the system control unit 101 also enables the information processing apparatus to operate through the log management unit 103 due to a power failure or the like even when a power failure occurs due to a power failure or the like, without being based on a user operation or a power-off instruction from the failure monitoring device 10. Log data indicating that the power is cut off is written in a predetermined area in the log storage SRAM 12.

情報処理装置50を再起動する(電源52の給電開始を自動的に行う)場合の処理手順を図7・9に基づいて説明すれば以下の通りである。   The processing procedure for restarting the information processing apparatus 50 (automatically starting the power supply 52) will be described below with reference to FIGS.

図6のAに続いて情報処理装置50の再起動処理を行う場合あるいは上記した起動障害が起きた場合、障害監視装置10は自律的に以下の処理を行う。まず、システム制御部101は、タイマ20を起動して2秒をカウントした後(図9のt14参照)、電源制御信号を「High(H)」にする(S30〜32)。この2秒は、ADC等の誤差を排除し、マザーボード51の電源電圧を確実に0.95V以下にするための期間である。ついで、再度タイマ20を起動して1秒をカウントした後電源制御信号を「L」にする(S33〜35)。これにより、電源スイッチ52がT1押された場合と同じ状態となり、情報処理装置50の電源52はマザーボード51への給電を開始する。ついで、システム制御部101は、再度タイマ20を起動して10秒をカウントしつつ(S36)、ADC制御部102から通知される電源電圧の値と閾値B(4.6V)とを比較する(S37)。ここで、電源電圧の値が4.6V以上であれば(図9のt15参照)、システム制御部101は情報処理装置50が正常に再起動したと認識する。これを受けてログ管理部103は情報処理装置が正常起動した旨のログデータをログ蓄積用SRAM12内の所定領域に書き込む(S40)。一方、電源電圧が4.6V未満(S37でNo)であるが、10秒が経過していない場合(S38でNo)はS37に戻り、10秒が経過していればS39に進む。S39ではS30に戻り、以降の処理をリトライ規定回数まで繰り返す。リトライ処理を規定回行ってもなお電源電圧値が閾値B(4.6V)以上にならない(情報処理装置50が正常に再起動しなかった)場合には(S39でYes)、ログ管理部103は、情報処理装置50が異常起動した旨のログ(障害ログ)データをログ蓄積用SRAM12内の所定領域に書き込む(S41)。なお、S40やS41においては、この度の起動(マザーボードへの給電開始)が、情報処理装置50の再起動あるいは起動障害に伴って障害監視装置10側から自動的に行われたものであることも同時に書き込まれる。また、S30では、CPU11がLED55(例えば赤色)を点灯し、電源電圧が不安定状態であることをユーザーに報知する。一方、S37でYesとなれば、CPU11がLED55を消灯し、電源電圧が安定状態になったことをユーザーに報知する。   When the restart processing of the information processing apparatus 50 is performed following A in FIG. 6 or when the above-described activation failure occurs, the failure monitoring apparatus 10 autonomously performs the following processing. First, the system control unit 101 activates the timer 20 and counts 2 seconds (see t14 in FIG. 9), and then sets the power control signal to “High (H)” (S30 to 32). This 2 seconds is a period for eliminating errors such as ADC and ensuring that the power supply voltage of the mother board 51 is 0.95 V or less. Next, after starting the timer 20 again and counting one second, the power control signal is set to “L” (S33 to S35). As a result, the state is the same as when the power switch 52 is pressed by T1, and the power source 52 of the information processing apparatus 50 starts to supply power to the motherboard 51. Next, the system control unit 101 starts the timer 20 again and counts 10 seconds (S36), and compares the value of the power supply voltage notified from the ADC control unit 102 with the threshold B (4.6V) ( S37). Here, if the value of the power supply voltage is 4.6 V or more (see t15 in FIG. 9), the system control unit 101 recognizes that the information processing apparatus 50 has been normally restarted. In response to this, the log management unit 103 writes log data indicating that the information processing apparatus has been normally started in a predetermined area in the log storage SRAM 12 (S40). On the other hand, if the power supply voltage is less than 4.6 V (No in S37) but 10 seconds have not elapsed (No in S38), the process returns to S37, and if 10 seconds have elapsed, the process proceeds to S39. In S39, the process returns to S30, and the subsequent processing is repeated up to the prescribed number of retries. If the power supply voltage value does not exceed the threshold value B (4.6 V) even after the retry process is performed a predetermined number of times (the information processing apparatus 50 has not been restarted normally) (Yes in S39), the log management unit 103 Writes log (failure log) data indicating that the information processing apparatus 50 has started abnormally into a predetermined area in the log storage SRAM 12 (S41). In S40 and S41, the startup (power supply to the mother board) is automatically performed from the fault monitoring apparatus 10 side when the information processing apparatus 50 is restarted or started up. Written simultaneously. In S30, the CPU 11 turns on the LED 55 (for example, red) to notify the user that the power supply voltage is in an unstable state. On the other hand, if Yes in S37, the CPU 11 turns off the LED 55 and notifies the user that the power supply voltage is in a stable state.

このように、本障害監視装置10によれば、情報処理装置50の電源52がOFF(給電停止)された直後に電源スイッチ54が操作され、情報処理装置50の起動処理が行われた場合でも、システム制御部101は、電源電圧が閾値A(0.95V)を下回るまで電源スイッチ54の押し下げ通知を無視する。この処理により、電源断後におけるIC等の電気的不安定状態における情報処理装置起動を防ぐことができる。なお、電源52のOFF(給電停止)が正常に完了し、電源電圧が0.95V以下になれば、改めて、上記の電源スイッチ54の押し下げ通知による起動処理を開始することができる。   As described above, according to the fault monitoring apparatus 10, even when the power switch 54 is operated immediately after the power supply 52 of the information processing apparatus 50 is turned off (power supply is stopped) and the information processing apparatus 50 is activated. The system control unit 101 ignores the push-down notification of the power switch 54 until the power supply voltage falls below the threshold A (0.95 V). By this processing, it is possible to prevent the information processing apparatus from being activated in an electrically unstable state such as an IC after the power is turned off. If the power supply 52 is normally turned off (power supply is stopped) and the power supply voltage becomes 0.95 V or less, the startup process can be started again by the notification that the power switch 54 is pressed down.

また、ユーザーによる電源スイッチ54の操作、情報処理装置50の起動および終了状態等の情報は状態ログとして障害監視装置10のログ蓄積用SRAM12の指定される領域に記録されており、その情報を利用することにより、情報処理装置における機器障害やユーザーの操作履歴などを把握することができる。   In addition, information such as the operation of the power switch 54 by the user and the start and end status of the information processing apparatus 50 is recorded as a status log in a designated area of the log storage SRAM 12 of the fault monitoring apparatus 10, and the information is used. By doing so, it is possible to grasp a device failure or an operation history of the user in the information processing apparatus.

さらに、本障害監視装置10は、LED55の発光状態(点灯/消灯)によって情報処理装置50の電源操作の許否状態をユーザーに報知することができる。   Further, the fault monitoring apparatus 10 can notify the user of the power supply operation permission / inhibition state of the information processing apparatus 50 by the light emission state (lighting / extinguishing) of the LED 55.

このように、本障害監視装置10によれば、情報処理装置50の起動および運用終了を安全に行うことができ、その信頼性を向上させることができる。また、情報処理装置50および障害監視装置10に対する操作およびそれらの状態を、起動、運用中および運用終了時にわたって記録することで、障害発生時の障害原因解析を容易にでき、保守性を向上させることが可能となる。   As described above, according to the fault monitoring apparatus 10, the information processing apparatus 50 can be safely started and ended, and the reliability thereof can be improved. Also, by recording the operations on the information processing device 50 and the failure monitoring device 10 and their states during startup, operation, and operation end, failure cause analysis at the time of failure occurrence can be facilitated, and maintainability is improved. It becomes possible.

本発明は上述した実施の形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、実施の形態に開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiment, and various modifications are possible within the scope shown in the claims, and the embodiment can be obtained by appropriately combining technical means disclosed in the embodiment. Is also included in the technical scope of the present invention.

本発明に係る障害監視装置は、特に、産業用の情報処理装置(PC等)に好適である。   The fault monitoring apparatus according to the present invention is particularly suitable for an industrial information processing apparatus (PC or the like).

本実施の形態にかかる障害監視装置の構成を示すブロック図である。It is a block diagram which shows the structure of the failure monitoring apparatus concerning this Embodiment. 図1に示す障害監視装置の具体的構成を示す模式図である。It is a schematic diagram which shows the specific structure of the failure monitoring apparatus shown in FIG. 図1に示す障害監視装置を情報処理装置に組み込んだ構成を示す模式図である。It is a schematic diagram which shows the structure which integrated the failure monitoring apparatus shown in FIG. 1 in information processing apparatus. 本実施の形態にかかる障害監視装置の処理工程(ユーザー操作による起動)を示すフローチャートである。It is a flowchart which shows the process process (activation by user operation) of the failure monitoring apparatus concerning this Embodiment. 本実施の形態にかかる障害監視装置の処理工程(ユーザー操作による終了)を示すフローチャートである。It is a flowchart which shows the process process (end by user operation) of the failure monitoring apparatus concerning this Embodiment. 本実施の形態にかかる障害監視装置の処理工程を示すフローチャート(障害監視装置による自動終了)である。It is a flowchart (automatic end by a failure monitoring apparatus) which shows the process process of the failure monitoring apparatus concerning this Embodiment. 本実施の形態にかかる障害監視装置の処理工程(障害監視装置による自動再起動処理)を示すフローチャートである。It is a flowchart which shows the process (automatic restart process by a failure monitoring apparatus) of the failure monitoring apparatus concerning this Embodiment. 本障害監視装置を組み込んだ情報処理装置の起動あるいは終了処理を示すシーケンスチャートである。It is a sequence chart which shows the starting or completion | finish process of the information processing apparatus incorporating this fault monitoring apparatus. 本障害監視装置を組み込んだ情報処理装置の自動終了および(自動)再起動処理を示すシーケンスチャートである。It is a sequence chart which shows the automatic termination and (automatic) restart process of the information processing apparatus incorporating this fault monitoring apparatus. 従来のPCの起動あるいは終了処理を示すシーケンスチャートである。It is a sequence chart which shows the starting or completion | finish process of the conventional PC.

符号の説明Explanation of symbols

6 制御部
10 障害監視装置
11 CPU
12 ログ蓄積用SRAM
13 バッテリ
14 マザーボード電源電圧入力端子
15 電源制御信号出力端子
16 電源スイッチ信号入力端子
17 LED出力端子
18 ADコンバータ(ADC)
19 通信部(UART)
20 タイマ
21 RAM
22 ROM
23 電源制御信号出力ポート
24 電源スイッチ信号入力ポート
25 LED出力ポート
50 情報処理装置
51 情報処理装置マザーボード
52 電源(ユニット)
53 ハードディスク
54 電源スイッチ
55 LED
56 RS232Cインターフェイス
57 マザーボード電源電圧出力端子
58 電源制御信号入力端子
59 電源電圧ケーブル
60 電源制御信号ケーブル
61 電源スイッチケーブル
62 LED出力ケーブル
6 Control Unit 10 Fault Monitoring Device 11 CPU
12 Log storage SRAM
13 Battery 14 Motherboard Power Supply Voltage Input Terminal 15 Power Supply Control Signal Output Terminal 16 Power Switch Signal Input Terminal 17 LED Output Terminal 18 AD Converter (ADC)
19 Communication Department (UART)
20 Timer 21 RAM
22 ROM
23 Power control signal output port 24 Power switch signal input port 25 LED output port 50 Information processing device 51 Information processing device motherboard 52 Power supply (unit)
53 Hard disk 54 Power switch 55 LED
56 RS232C interface 57 Motherboard power supply voltage output terminal 58 Power supply control signal input terminal 59 Power supply voltage cable 60 Power supply control signal cable 61 Power switch cable 62 LED output cable

Claims (16)

情報処理装置に組み込まれることで、該情報処理装置の電源を管理する電源管理装置であって、
上記電源の給電開始および給電停止の少なくとも一方の許否を、上記情報処理装置の基板上の電源電圧値に基づいて決定することを特徴とする電源管理装置。
A power management apparatus that manages the power of the information processing apparatus by being incorporated in the information processing apparatus,
A power management apparatus, wherein whether or not to start and stop the power supply of the power supply is determined based on a power supply voltage value on a substrate of the information processing apparatus.
上記給電開始を、上記電源電圧値が第1の閾値以下の場合にのみ許可することを特徴とする請求項1記載の電源管理装置。   The power management apparatus according to claim 1, wherein the power supply start is permitted only when the power supply voltage value is equal to or lower than a first threshold value. 上記給電開始は、電源が非給電状態のときに情報処理装置の電源スイッチがON状態にされたことに伴うものであることを特徴とする請求項2記載の電源管理装置。   3. The power management apparatus according to claim 2, wherein the power supply start is accompanied by a power switch of the information processing apparatus being turned on when the power is in a non-powered state. 上記給電開始は、情報処理装置の再起動に伴うものであることを特徴とする請求項2記載の電源管理装置。   The power management apparatus according to claim 2, wherein the start of power supply is accompanied by a restart of the information processing apparatus. 起動障害発生時に、自ら上記情報処理装置の再起動を行うことを特徴とする請求項4記載の電源管理装置。   5. The power management apparatus according to claim 4, wherein when the start failure occurs, the information processing apparatus restarts itself. 上記給電停止を、上記電源電圧値が第2の閾値以上である場合にのみ許可することを特徴とする請求項1記載の電源管理装置。   The power management apparatus according to claim 1, wherein the power supply stop is permitted only when the power supply voltage value is equal to or greater than a second threshold value. 上記給電停止は、電源が給電状態のときに情報処理装置の電源スイッチが所定時間以上ON状態にされたことに伴うものであることを特徴とする請求項6記載の電源管理装置。   7. The power management apparatus according to claim 6, wherein the power supply stop is accompanied by a power switch of the information processing apparatus being turned on for a predetermined time or more when the power is in a power supply state. 上記給電停止は、情報処理装置の終了に伴うものであることを特徴とする請求項6記載の電源管理装置。   The power management apparatus according to claim 6, wherein the power supply stop is accompanied by termination of the information processing apparatus. 終了障害発生時に、自ら上記情報処理装置の終了を行うことを特徴とする請求項8記載の電源管理装置。   9. The power management apparatus according to claim 8, wherein when the termination failure occurs, the information processing apparatus is terminated by itself. 情報処理装置に組み込まれることで該情報処理装置の電源に係る障害を監視する障害監視装置であって、
記憶部と、
上記電源の情報処理装置への給電開始を、基板上の電源電圧が第1の閾値以下の場合にのみ許可する電源管理手段と、
情報処理装置への給電開始後に上記電源電圧の値が第2の閾値以上になった場合は正常処理である旨を上記記憶部に記録する一方で上記電源電圧の値が第2の閾値以上にならない場合は異常処理である旨を上記記憶部に記録する記録手段と、を備えることを特徴とする障害監視装置。
A failure monitoring device that monitors a failure related to a power supply of the information processing device by being incorporated in the information processing device,
A storage unit;
Power supply management means for permitting the start of power supply to the information processing apparatus of the power supply only when the power supply voltage on the substrate is equal to or lower than a first threshold;
If the value of the power supply voltage becomes greater than or equal to the second threshold after the start of power supply to the information processing apparatus, the fact that the processing is normal is recorded in the storage unit, while the value of the power supply voltage is greater than or equal to the second threshold. A failure monitoring apparatus comprising: a recording unit configured to record in the storage unit that an abnormal process has occurred when it is not.
上記電源管理手段は、上記電源の情報処理装置への給電停止を、上記電源電圧値が第2の閾値以上である場合にのみ許可し、
上記記録手段は、情報処理装置への給電停止後、上記電源電圧の値が第1の閾値以下になった場合は正常処理である旨を上記記憶部に記録する一方で上記電源電圧の値が第1の閾値以下にならない場合は異常処理である旨を上記記憶部に記録することを特徴とする請求項10記載の障害監視装置。
The power management means permits the power supply to the information processing apparatus of the power supply to be stopped only when the power supply voltage value is equal to or greater than a second threshold;
After the power supply to the information processing apparatus is stopped, the recording unit records in the storage unit that the power supply voltage value is equal to or lower than a first threshold value, and the power supply voltage value is The failure monitoring apparatus according to claim 10, wherein an abnormality process is recorded in the storage unit when it does not become the first threshold value or less.
上記記録手段は、上記給電停止がユーザー操作によるものかあるいは停電によるものかを上記記憶部に記録することを特徴とする請求項11記載の障害監視装置。   12. The fault monitoring apparatus according to claim 11, wherein the recording unit records in the storage unit whether the power supply stop is caused by a user operation or a power failure. 基板上の電源電圧が第1の閾値以下の場合に、給電開始可能であることを表示する表示部を備えることを特徴とする請求項10記載の障害監視装置。   The fault monitoring apparatus according to claim 10, further comprising a display unit that displays that power supply can be started when the power supply voltage on the substrate is equal to or lower than a first threshold value. 上記表示部は、基板上の電源電圧が第2の閾値以上の場合に給電停止可能であることを表示することを特徴とする請求項13記載の障害監視装置。   The fault monitoring apparatus according to claim 13, wherein the display unit displays that the power supply can be stopped when the power supply voltage on the substrate is equal to or higher than a second threshold value. 請求項10または11記載の障害監視装置の各手段をコンピュータに実行可能とすることを特徴とする障害監視プログラム。   12. A failure monitoring program that enables a computer to execute each means of the failure monitoring apparatus according to claim 10. 請求項15記載の障害監視プログラムが記録されたことを特徴とするコンピュータの読み取り可能な記録媒体。   A computer-readable recording medium on which the failure monitoring program according to claim 15 is recorded.
JP2005331900A 2005-11-16 2005-11-16 Power management device, failure monitoring device, failure monitoring program, and recording medium Active JP4655899B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005331900A JP4655899B2 (en) 2005-11-16 2005-11-16 Power management device, failure monitoring device, failure monitoring program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005331900A JP4655899B2 (en) 2005-11-16 2005-11-16 Power management device, failure monitoring device, failure monitoring program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007140779A true JP2007140779A (en) 2007-06-07
JP4655899B2 JP4655899B2 (en) 2011-03-23

Family

ID=38203568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005331900A Active JP4655899B2 (en) 2005-11-16 2005-11-16 Power management device, failure monitoring device, failure monitoring program, and recording medium

Country Status (1)

Country Link
JP (1) JP4655899B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012153213A (en) * 2011-01-25 2012-08-16 Denso Corp Electronic control apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0530925U (en) * 1991-09-25 1993-04-23 株式会社ミツトヨ Information processing device with power supply voltage drop detection function
JPH06202769A (en) * 1992-12-28 1994-07-22 Casio Comput Co Ltd Power source device
JPH07281796A (en) * 1994-04-13 1995-10-27 Canon Inc Computer system
JPH0951636A (en) * 1995-08-07 1997-02-18 Canon Inc Power supply system and electronic apparatus equipped with the power supply system
JPH11249766A (en) * 1998-02-27 1999-09-17 Hitachi Koki Co Ltd Power voltage abnormality detector for multi-substrate

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0530925U (en) * 1991-09-25 1993-04-23 株式会社ミツトヨ Information processing device with power supply voltage drop detection function
JPH06202769A (en) * 1992-12-28 1994-07-22 Casio Comput Co Ltd Power source device
JPH07281796A (en) * 1994-04-13 1995-10-27 Canon Inc Computer system
JPH0951636A (en) * 1995-08-07 1997-02-18 Canon Inc Power supply system and electronic apparatus equipped with the power supply system
JPH11249766A (en) * 1998-02-27 1999-09-17 Hitachi Koki Co Ltd Power voltage abnormality detector for multi-substrate

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012153213A (en) * 2011-01-25 2012-08-16 Denso Corp Electronic control apparatus

Also Published As

Publication number Publication date
JP4655899B2 (en) 2011-03-23

Similar Documents

Publication Publication Date Title
JP5562486B2 (en) Computer system, method and computer program product for programming a real time clock
US7423355B2 (en) Power controller, apparatus provided with backup power supply, program for controlling power, and method for controlling power
JP4448851B2 (en) BIOS for saving and restoring operating state in case of AC power shortage
CN106326061B (en) Cache data processing method and equipment
JP5556894B2 (en) Uninterruptible power supply and electronic computer system
JP6130520B2 (en) MULTISYSTEM SYSTEM AND MULTISYSTEM SYSTEM MANAGEMENT METHOD
US20150052390A1 (en) Apparatus and Method for Microprocessor File System Protection
WO2013161425A1 (en) Information processing device, information processing method, and program
JP2005051935A (en) Uninterruptible power supply unit
CN111831488A (en) TCMS-MPU control unit with safety level design
CN105389525A (en) Management method and system for blade server
US6408397B1 (en) Using RTC wake-up to enable recovery from power failures
US20090138740A1 (en) Method and computer device capable of dealing with power fail
JPWO2012086072A1 (en) Storage device, control device, and control method
JP4456602B2 (en) Saving operating status due to lack of AC power
JP4186942B2 (en) MEMORY BACKUP CIRCUIT AND ELECTRONIC DEVICE USING THE SAME
KR100433532B1 (en) Apparatus and method for managing power
JP4655899B2 (en) Power management device, failure monitoring device, failure monitoring program, and recording medium
JP2010193540A (en) Battery device
JP4304624B2 (en) Information processing device, uninterruptible power supply, power supply method, recording medium, and program
JP4543328B2 (en) Information processing device, uninterruptible power supply, power supply method, recording medium, and program
US10921875B2 (en) Computer system, operational method for a microcontroller, and computer program product
JP2862704B2 (en) Power supply
JP2013214233A (en) Portable terminal device
JP2013232083A (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100713

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101130

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101213

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4655899

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D04

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250