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 PDFInfo
- 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
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
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を挙げることができる。
しかしながら、情報処理装置の電源スイッチは電源投入操作を常に受け付ける状態となっており、また、ユーザーが情報処理装置の状態を常に正確に把握することも不可能であることから、上記のような不具合の発生を回避することが困難であった。 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
ここで、インターフェイス56は情報処理装置50および障害監視装置10間のデータ伝送の仲介を行う。SRAM12は情報処理装置50の状態や発生した障害等のログを格納する。LED55は情報処理装置50の電源投入許可状態および禁止状態を表示する。また、マザーボード電源電圧入力端子14には、情報処理装置50のマザーボード51上の電源電圧が入力される。電源制御信号出力端子15からは、マザーボード51(電源制御信号入力端子)への電源制御信号が出力される。電源スイッチ信号入力端子16には、情報処理装置50の筐体に設けられる電源スイッチ54のON信号が入力される。また、バッテリ13は、障害監視装置10の各部へ電源を供給し、例えば、ログ蓄積用のSRAM12へ記憶保持用の電力を供給する。
Here, the
また、CPU11は、内部RAM21、内部ROM22、A/Dコンバータ(ADC)18、UART(通信部)19、タイマ20、電源スイッチ信号入力ポート24、電源制御用出力ポート23、LED出力ポート25、および制御部6を備える。
The
ここで、内部ROM22は、オペレーティングシステム、障害監視装置10における各ハードウェア資源を制御するドライバ群、および障害監視装置10の各機能を実現するためのプログラム群等、並びに運用中に使用する定数等を格納する。内部RAM21は常時運用するためのデータを格納する。ADC18は、情報処理装置50のマザーボード51上の電源電圧(アナログ値)をデジタル値に変換する。UART19は、情報処理装置50および障害監視装置10間において伝送データの変換等を行う。電源スイッチ信号入力ポート24には、電源スイッチ54の信号が入力される。電源制御用出力ポート23からは、情報処理装置50の電源制御信号が出力される。LED出力ポート25からは、LED55の制御信号が出力される。
Here, the
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
次に、情報処理装置50に対し、そのマザーボード51上の電源電圧を監視し、その電源ユニット(以下、電源52)を管理する具体的構成について説明する。
Next, a specific configuration for monitoring the power supply voltage on the
まず、情報処理装置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
また、情報処理装置50の電源52を操作するための電源スイッチ54は、情報処理装置50の筐体に設けられており、そのスイッチ信号入力端子16に入力された信号(ON信号)は、電源スイッチケーブル61を介してCPU11が備える電源スイッチ信号入力ポート24へ入力される。入力された信号は、定期的にタイマ20の割込みによって起動するタイマ制御部104によりスムージング処理が行われ、信号の立ち上がりを検知することにより電源スイッチ54が操作されたことをシステム制御部101に通知する。
A
障害監視装置10による情報処理装置50の電源制御は、CPU11の制御部6が、電源制御信号を電源制御信号出力ポート23から電源制御信号出力端子15に出力し、この電源制御信号が電源制御信号ケーブル60を介して情報処理装置50の電源制御信号入力端子58に入力されることで実現される。
In the power control of the
ユーザが電源スイッチを操作することによって電源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
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
一方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
なお、S101がNoの間は、CPU11がLED55(例えば赤色)を点灯し、電源電圧が不安定状態であることをユーザーに報知する。一方、S101でYesとなれば、CPU11がLED55を消灯し、電源電圧が安定状態になったことをユーザーに報知する。
While S101 is No, the
ユーザが電源スイッチを操作することによって電源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
ユーザーが電源スイッチ54を一定時間(例えばT2=4秒)以上長押しすると(図8のt1〜t2参照)、一定時間以上ON信号が電源スイッチケーブル61およびスイッチ信号入力端子16を介してCPU11のシステム制御部101に通知される。
When the user presses and holds the
これらの通知(電源OFFの指示)を受けて、ADC制御部102から通知されるマザーボード51上の電源電圧の値と閾値B(4.6V)とを比較する(S121)。
Upon receiving these notifications (power-off instruction), the power supply voltage value on the
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
一方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
なお、S121がNoの間は、CPU11がLED55(例えば赤色)を点灯し、電源電圧が不安定状態であることをユーザーに報知する。一方、S101でYesとなれば、CPU11がLED55を消灯し、電源電圧が安定状態になったことをユーザーに報知する。
While S121 is No, the
障害監視装置10から自動的に情報処理装置50をOFF(電源52の給電を停止)する場合の処理手順を図6・9に基づいて説明すれば以下の通りである。なお、図9は本障害監視装置を組み込んだ情報処理装置の自動終了および再起動処理を示すシーケンスチャートである。
A processing procedure when the
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
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
一方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
なお、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
最後に(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
さらに、システム制御部101は、停電等によって、ユーザーの操作あるいは障害監視装置10の電源OFF指示に基づくことなく電源断がなされた場合も、ログ管理部103を介して停電等により情報処理装置が電源断した旨のログデータをログ蓄積用SRAM12内の所定領域に書き込む。
Furthermore, the
情報処理装置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
このように、本障害監視装置10によれば、情報処理装置50の電源52がOFF(給電停止)された直後に電源スイッチ54が操作され、情報処理装置50の起動処理が行われた場合でも、システム制御部101は、電源電圧が閾値A(0.95V)を下回るまで電源スイッチ54の押し下げ通知を無視する。この処理により、電源断後におけるIC等の電気的不安定状態における情報処理装置起動を防ぐことができる。なお、電源52のOFF(給電停止)が正常に完了し、電源電圧が0.95V以下になれば、改めて、上記の電源スイッチ54の押し下げ通知による起動処理を開始することができる。
As described above, according to the
また、ユーザーによる電源スイッチ54の操作、情報処理装置50の起動および終了状態等の情報は状態ログとして障害監視装置10のログ蓄積用SRAM12の指定される領域に記録されており、その情報を利用することにより、情報処理装置における機器障害やユーザーの操作履歴などを把握することができる。
In addition, information such as the operation of the
さらに、本障害監視装置10は、LED55の発光状態(点灯/消灯)によって情報処理装置50の電源操作の許否状態をユーザーに報知することができる。
Further, the
このように、本障害監視装置10によれば、情報処理装置50の起動および運用終了を安全に行うことができ、その信頼性を向上させることができる。また、情報処理装置50および障害監視装置10に対する操作およびそれらの状態を、起動、運用中および運用終了時にわたって記録することで、障害発生時の障害原因解析を容易にでき、保守性を向上させることが可能となる。
As described above, according to the
本発明は上述した実施の形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、実施の形態に開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 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).
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
12 Log storage SRAM
13
19 Communication Department (UART)
20
22 ROM
23 Power control
53
56
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の閾値以下の場合にのみ許可する電源管理手段と、
情報処理装置への給電開始後に上記電源電圧の値が第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.
上記記録手段は、情報処理装置への給電停止後、上記電源電圧の値が第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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012153213A (en) * | 2011-01-25 | 2012-08-16 | Denso Corp | Electronic control apparatus |
Citations (5)
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 |
-
2005
- 2005-11-16 JP JP2005331900A patent/JP4655899B2/en active Active
Patent Citations (5)
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)
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 |