JP2006323602A - Electronic equipment device and its processing method - Google Patents

Electronic equipment device and its processing method Download PDF

Info

Publication number
JP2006323602A
JP2006323602A JP2005145764A JP2005145764A JP2006323602A JP 2006323602 A JP2006323602 A JP 2006323602A JP 2005145764 A JP2005145764 A JP 2005145764A JP 2005145764 A JP2005145764 A JP 2005145764A JP 2006323602 A JP2006323602 A JP 2006323602A
Authority
JP
Japan
Prior art keywords
reference numeral
signal line
processing means
processing
electronic device
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
JP2005145764A
Other languages
Japanese (ja)
Other versions
JP2006323602A5 (en
JP4731995B2 (en
Inventor
Koji Kawamura
興二 川村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005145764A priority Critical patent/JP4731995B2/en
Publication of JP2006323602A publication Critical patent/JP2006323602A/en
Publication of JP2006323602A5 publication Critical patent/JP2006323602A5/ja
Application granted granted Critical
Publication of JP4731995B2 publication Critical patent/JP4731995B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the shortening of the life of a battery when a power source switch is kept on, and/or to facilitate proper countermeasures when a microcomputer or ASIC runs away. <P>SOLUTION: This electronic equipment device is provided with first and second processing means (102, 101) for executing processing and a signal line (112) for connecting the first and second processing means, wherein the first processing means detects the operating status of the second processing means through the signal line, and performs processing corresponding to the operating status. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、電子機器装置及びその処理方法に関するものである。   The present invention relates to an electronic apparatus device and a processing method thereof.

バックアップ用の電池を有し、ACアダプタやバッテリ等で動作するモバイル系の電子機器は、例えば、特許文献1に記載されている。このような機器において、例えば、図5のように異なる2つのICが共存する構成をとった場合を例として説明する。   A mobile electronic device having a backup battery and operating with an AC adapter, a battery, or the like is described in Patent Document 1, for example. In such a device, for example, a case where two different ICs coexist as shown in FIG. 5 will be described as an example.

符号501はCPUが内蔵されたASICであり、装置全体の制御をする。符号502はマイコンであり、符号505の電源スイッチの検出、符号504のDC電源の出力制御、内蔵RAMへの各種状態フラグのバックアップといった制御を行う。符号504はACアダプタやバッテリ等のいわゆるDC電源であって、符号506の出力イネーブル信号がイネーブルになることによって3.3Vの供給を開始する。符号502のマイコンは、符号504のDC電源と符号509の電池のどちらかの通電がある場合に、通電がある方を主電源として動作する。但し、符号504のDC電源の電圧Vd(3.3V)と符号509の電池電圧Ve(3.0V)の電圧差によって、両方が入っている場合は符号504のDC電源が優先となり、この時、符号509の電池の消費は発生しない構成である。   Reference numeral 501 denotes an ASIC with a built-in CPU, which controls the entire apparatus. Reference numeral 502 denotes a microcomputer that performs control such as detection of a power switch indicated by reference numeral 505, output control of a DC power source indicated by reference numeral 504, and backup of various status flags to a built-in RAM. Reference numeral 504 denotes a so-called DC power source such as an AC adapter or a battery, and the supply of 3.3 V is started when the output enable signal of reference numeral 506 is enabled. The microcomputer denoted by reference numeral 502 operates using either the DC power source denoted by reference numeral 504 or the battery denoted by reference numeral 509 as the main power source. However, if both are included due to the voltage difference between the DC power supply voltage Vd (3.3V) and the battery voltage Ve (3.0V) 509, the DC power supply 504 has priority. In this configuration, the battery 509 is not consumed.

即ち、ユーザーによって符号505の電源スイッチが押されると、符号502のマイコンがそれを検出したのち、装置本体を立ち上げるべく、符号504のDC電源をイネーブルにする。符号504のDC電源から3.3Vが供給されると符号501のASICが動作を開始し、同時に符号502のマイコン自身の電源も符号509の電池から符号504のDC電源へ切り替わるという構成である。   That is, when the power switch 505 is pressed by the user, the microcomputer 502 detects this, and then enables the DC power supply 504 to start up the apparatus body. When 3.3V is supplied from the DC power source indicated by reference numeral 504, the ASIC indicated by reference numeral 501 starts its operation, and at the same time, the power source of the microcomputer 502 indicated by reference numeral 509 is switched from the battery indicated by reference numeral 509 to the DC power source indicated by reference numeral 504.

特開2000-228829号公報JP 2000-228829 A

しかしながら、図5のような構成をとった場合、以下に述べる2つの問題があった。
1つ目の問題は、ACアダプタのコンセントが未接続もしくはバッテリ切れの状態で、符号505の電源スイッチが押しっ放しにされた場合、その間に符号502のマイコンが消費する電力(符号505の電源スイッチの検出にかかる電力、及び符号506の出力イネーブル信号を出力し続ける電力)の全ては符号509の電池の容量によって賄われることになり、符号509の電池の寿命を縮めることにつながっていた。
However, when the configuration shown in FIG. 5 is adopted, there are two problems described below.
The first problem is that if the AC adapter outlet is not connected or the battery is out of power, and the power switch denoted by reference numeral 505 is released, the power consumed by the microcomputer denoted by reference numeral 502 (the power supply denoted by reference numeral 505). All of the power required to detect the switch and the power that continues to output the output enable signal indicated by reference numeral 506 are covered by the capacity of the battery indicated by reference numeral 509, leading to a reduction in the life of the battery indicated by reference numeral 509.

また、2つ目の問題としては、符号502のマイコンもしくは符号501のASICが何らかの原因で暴走した場合、お互いに一方がそれを知り得ることができたとしても、一方が他方に対してリセットをかける等、再度お互いの同期をとる手段がなかったため、この段階ではユーザーによって符号505の電源スイッチを入れ直す(装置としての再起動)ことに期待する以外に方法はなかった。   The second problem is that when the microcomputer 502 or the ASIC 501 runs away for some reason, even if one of them can get to know it, one resets the other. Since there was no means to synchronize each other again, there was no method other than expecting the user to turn the power switch of reference numeral 505 back on (reactivation as a device) at this stage.

本発明の目的は、電源スイッチを押しっ放しにした場合の電池寿命の短縮化を防止すること、及び/又はマイコン若しくはASICが暴走した場合に適切な処理を行うことである。   An object of the present invention is to prevent the battery life from being shortened when the power switch is pressed and / or to perform appropriate processing when the microcomputer or the ASIC goes out of control.

本発明の電子機器装置は、処理を行う第1及び第2の処理手段と、前記第1及び第2の処理手段間を接続する信号線とを有し、前記第1の処理手段は、前記信号線を介して前記第2の処理手段の動作状態を検出し、その動作状態に応じた処理を行うことを特徴とする。   The electronic apparatus apparatus according to the present invention includes first and second processing means for performing processing, and a signal line connecting the first and second processing means. An operation state of the second processing means is detected via a signal line, and processing according to the operation state is performed.

本発明の電子機器装置の処理方法は、信号線を介して接続される第1及び第2の処理手段を有する電子機器装置の処理方法であって、前記第1の処理手段が、前記信号線を介して前記第2の処理手段の動作状態を検出し、その動作状態に応じた処理を行うステップを有することを特徴とする。   The processing method for an electronic device according to the present invention is a processing method for an electronic device having first and second processing means connected via a signal line, wherein the first processing means includes the signal line. And detecting a state of operation of the second processing means via the step, and performing processing according to the state of operation.

第1の処理手段は、第2の処理手段の動作状態に応じた処理を行うので、電源スイッチを押しっ放しにした場合の電池寿命の短縮化を防止することができる。また、第1の処理手段又は第2の処理手段が暴走した場合に適切な処理を行うことができる。   Since the first processing means performs processing according to the operation state of the second processing means, it is possible to prevent the battery life from being shortened when the power switch is left depressed. In addition, when the first processing unit or the second processing unit runs away, an appropriate process can be performed.

本発明に係わる実施形態を説明する。
図1に本発明の実施形態によるIC監視手段を含む電子機器装置の全体ブロック図を示す。
符号101は、CPUが内蔵されたASICであり、装置全体の制御をする。
Embodiments according to the present invention will be described.
FIG. 1 is an overall block diagram of an electronic device apparatus including IC monitoring means according to an embodiment of the present invention.
Reference numeral 101 denotes an ASIC with a built-in CPU, which controls the entire apparatus.

符号104は、DC電圧生成部であり、符号103のコンセントを挿すだけで符号107のVd(3.3V)が供給開始される端子OUT1と、符号106の出力イネーブル信号がイネーブルになることによって符号108の3.3Vを供給開始する端子OUT2を有している。   Reference numeral 104 denotes a DC voltage generation unit. The terminal OUT1 from which the supply of Vd (3.3 V) 107 is started simply by inserting the outlet 103 and the output enable signal 106 is enabled. 108 has a terminal OUT2 for starting supply of 3.3V.

符号102は、本実施形態において最も重要な役割をする第1のICであり、本構成においては、符号105の電源スイッチの検出、符号104のDC電圧生成部の出力制御、内蔵されたRTC機能を用いた各種時間管理、内蔵RAMへの各種状態フラグのバックアップ、符号101とのコマンド通信、符号112の電圧レベルを読み込むといった役割を担う。   Reference numeral 102 denotes a first IC that plays the most important role in the present embodiment. In this configuration, the detection of the power switch indicated by reference numeral 105, the output control of the DC voltage generator indicated by reference numeral 104, and the built-in RTC function It plays a role of various time management using the CPU, backup of various status flags to the built-in RAM, command communication with the reference numeral 101, and reading of the voltage level of the reference numeral 112.

また、符号102のICは符号107のDC電源と、符号109の電池のどちらかの通電がある場合に、通電がある方を主電源として動作する。但し、符号107のDC電源の電圧Vd(3.3V)と符号109の電池電圧Ve(3.0V)の電圧差によって、両方が入っている場合は、DC電源が優先(符号111=Vd)となり、この時、符号102のICが動作することにおける符号109の電池の消費は発生しない構成である。   In addition, the IC denoted by reference numeral 102 operates using either the DC power source denoted by reference numeral 107 or the battery denoted by reference numeral 109 as the main power source when energized. However, if both are included due to the voltage difference between the DC power supply voltage Vd (3.3 V) denoted by reference numeral 107 and the battery voltage Ve (3.0 V) denoted by reference numeral 109, the DC power supply has priority (reference numeral 111 = Vd). At this time, the battery 109 is not consumed when the IC 102 is operated.

更に詳しく言えば、符号102のICの動作は、Veの電池電圧を主電源とした場合は、RTC機能と内蔵RAMへの各種状態フラグのバックアップに限定され、低消費電力のスリープモードで動作する。また、符号102のICはVdのDC電源を主電源とした場合は、通常モードで動作し、前記役割の全てをこなす。また、符号109の電池容量が全て消費し尽くされ、加えて符号107のDC電源も入っていない場合は、RTC機能は停止し、バックアップデータは消滅することになる。   More specifically, when the battery voltage of Ve is the main power source, the operation of the IC 102 is limited to the RTC function and backup of various state flags to the built-in RAM, and operates in a low power consumption sleep mode. . In addition, when the Vd DC power source is the main power source, the IC 102 is operated in the normal mode and performs all of the above roles. If the battery capacity 109 is exhausted and the DC power supply 107 is not turned on, the RTC function is stopped and the backup data disappears.

ここで説明しておくが、符号102のICがスリープモードから通常モードへ移行することを、ウォームスタートと呼ぶ。ウォームスタートの条件としては、符号102のICがスリープモードで動作中に、符号103のコンセントが挿されたことにより、符号107のVd(3.3V)が供給開始され、更に符号105の電源スイッチのオンが検出された時とする。   As will be described here, the transition of the IC denoted by reference numeral 102 from the sleep mode to the normal mode is called a warm start. As a condition for the warm start, supply of Vd (3.3 V) of reference numeral 107 is started when the outlet of reference numeral 103 is inserted while the IC of reference numeral 102 is operating in the sleep mode. When ON is detected.

また、符号102のICの主電源が何も無い状態、即ち符号111の電圧が0Vの状態から、符号107のDC電源もしくは符号109の電池電圧のどちらかが供給され、符号102のICが動作を開始する事をコールドスタートと呼ぶ。コールドスタートの条件としては2つ有り、1つ目は符号111の電圧が0Vの状態で、符号103のコンセントが挿されたことにより、符号107のVd(3.3V)が供給開始された瞬間とする。2つ目は、同じく符号111の電圧が0Vの状態で、符号109の電池が交換もしくは新たに装着されたことにより、符号111に電圧が供給された瞬間とする。   In addition, from the state where there is no main power source of the IC of reference numeral 102, that is, the voltage of reference numeral 111 is 0V, either the DC power source of reference numeral 107 or the battery voltage of reference numeral 109 is supplied, and the IC of reference numeral 102 operates. Starting the process is called a cold start. There are two cold start conditions. The first is the moment when the supply of Vd (3.3 V) 107 is started when the voltage 111 is 0 V and the outlet 103 is inserted. And The second is the moment when the voltage is supplied to the reference numeral 111 when the voltage of the reference numeral 111 is 0V and the battery of the reference numeral 109 is replaced or newly installed.

符号103は符号104のDC電圧生成部のコンセントである。
符号105は、本装置の電源スイッチであって、符号102のICのポートP0に接続され、スイッチの検出が行われる。符号102のICのポートP0にはキーオンウェイクアップの設定をする。キーオンウェイクアップとは符号102のICのポートにおける設定であって、スイッチの検出をするとスリープモードから通常モードへの移行をする。
Reference numeral 103 denotes an outlet of the DC voltage generation unit 104.
Reference numeral 105 denotes a power switch of the present apparatus, which is connected to the port P0 of the IC indicated by reference numeral 102 and detects the switch. Key-on wakeup is set for the port P0 of the IC 102. The key-on wakeup is a setting at the IC port denoted by reference numeral 102. When the switch is detected, the mode is shifted from the sleep mode to the normal mode.

符号106は、符号104のDC電圧生成部に与える出力イネーブル信号である。
符号107は、符号104のDC電圧生成部の端子OUT1から出力されるVd(3.3V)であり、符号113のダイオードを介して符号102のICに供給される。
Reference numeral 106 denotes an output enable signal given to the DC voltage generation unit 104.
Reference numeral 107 denotes Vd (3.3 V) output from the terminal OUT1 of the DC voltage generation unit 104, which is supplied to the IC 102 through the diode 113.

符号108は、符号104のDC電圧生成部の端子OUT2から出力される3.3Vラインであり、符号101のIC(ASIC)に電源を供給する。   Reference numeral 108 denotes a 3.3 V line output from the terminal OUT2 of the DC voltage generation unit 104, which supplies power to an IC (ASIC) 101.

符号109は、バックアップ用のコイン電池であり、符号110のダイオードを介して符号102のICに電圧が供給される。コイン電池の電圧はVe=3.0Vである。   Reference numeral 109 denotes a backup coin battery, and a voltage is supplied to the IC indicated by reference numeral 102 via a diode indicated by reference numeral 110. The voltage of the coin battery is Ve = 3.0V.

符号112は、本実施形態における重要な役割を果たす信号線であって、本構成においては、符号101のICのポートから出力され、符号102のICのポートP1にて電圧レベルを読まれる。後に詳細に説明するが、符号112の信号線は、状況に応じて符号101のICの動作状態を監視するために使用される監視信号線でもあり、符号101のICから符号102のICに対してリセット命令を与えるために使用される信号線でもある。   Reference numeral 112 denotes a signal line that plays an important role in the present embodiment. In this configuration, the signal line is output from the IC port denoted by reference numeral 101 and the voltage level is read at the port P1 of the IC denoted by reference numeral 102. As will be described in detail later, the signal line 112 is also a monitoring signal line used to monitor the operating state of the IC 101 according to the situation, and from the IC 101 to the IC 102. It is also a signal line used to give a reset command.

符号111は、符号102のICの電源電圧であり、符号105の電源スイッチのプルアップ電圧でもある。
符号113は、符号107のVdに直列に入るダイオードである。
Reference numeral 111 denotes a power supply voltage of the IC indicated by reference numeral 102 and also a pull-up voltage of the power switch indicated by reference numeral 105.
Reference numeral 113 denotes a diode that is connected in series with Vd of reference numeral 107.

この符号113のダイオードは本実施形態の構成においては、低リーク品(逆方向へのリーク電流が非常に小さいもの)を選択する必要がある。その理由は、符号109のコイン電池電圧を主電源として符号102のICが動作中、Veの回り込みによって符号113のダイオードに対して逆方向のリーク電流が発生するのだが、このリーク電流は、選定するダイオードによっては、符号109の電池の寿命に対して無視できない数値となるためである。リーク電流は小さいほど無駄な消費が少なくて済むことから、符号113のダイオードは低リーク品を選択する必要がある。   In the configuration of this embodiment, it is necessary to select a low-leakage product (a diode having a very small leakage current in the reverse direction) as the diode denoted by reference numeral 113. The reason for this is that while the IC of the reference numeral 109 is operated with the coin battery voltage of the reference numeral 109 as the main power supply, a leakage current in the reverse direction occurs with respect to the diode of the reference numeral 113 due to the wraparound of Ve. This is because, depending on the diode to be used, a numerical value that cannot be ignored with respect to the battery life of 109. Since the smaller the leakage current, the less wasteful consumption is required. Therefore, it is necessary to select a low-leakage diode for the diode 113.

また、符号114は符号112の信号線をプルダウンする抵抗である。これは、符号101のICへの電圧が0Vの時、ポート出力である符号112の電圧レベルをローレベル(以下、「L」という)に安定させたい理由から付加することが望ましい。   Reference numeral 114 denotes a resistor that pulls down the signal line 112. It is desirable to add this because the voltage level of the reference numeral 112, which is the port output, is stabilized at a low level (hereinafter referred to as "L") when the voltage to the IC of the reference numeral 101 is 0V.

符号115は、符号101のICと符号102のICが通信を行う双方向の信号線であって、符号101のICは符号102のICに対して、定期的に各種状態フラグをコマンドとして通知し、符号102のICは、内蔵メモリ(記憶手段)を有し、受信した状態フラグを内蔵メモリに保存する。   Reference numeral 115 denotes a bidirectional signal line for communication between the IC of reference numeral 101 and the IC of reference numeral 102. The IC of reference numeral 101 periodically notifies the IC of reference numeral 102 of various status flags as commands. The IC denoted by reference numeral 102 has a built-in memory (storage means), and stores the received status flag in the built-in memory.

この状態フラグは、符号102のICの内蔵メモリにおいて、常に1回分の履歴を残し、受信する度に上書き保存する仕様である。また、符号102のICは、符号101のICが起動する度に、前回保存した状態フラグをコマンドで通知する処理を行っている。   This status flag is a specification that always keeps a history of one time in the built-in memory of the IC of reference numeral 102 and overwrites it every time it is received. In addition, the IC denoted by reference numeral 102 performs processing for notifying the state flag stored last time by a command each time the IC denoted by reference numeral 101 is activated.

即ち、これにより、例え前回が何らかの不具合が発生し、符号104のDC電圧生成部からの電圧供給が断たれたとしても、次に符号101のICが起動した際には、前回、どういう状態で終了したかを知ることができる。   That is, even if some trouble occurs in the previous time and the voltage supply from the DC voltage generating unit 104 is cut off, the next time the IC 101 is started, You can know if it is finished.

これ以降の説明では、本実施形態のIC監視手段を含む電子機器装置を実際に使用するケースを例にとって説明する。   In the following description, a case where an electronic device apparatus including the IC monitoring unit of this embodiment is actually used will be described as an example.

(ケース1)
図1、図2を用いてケース1の説明を行う。
ケース1では、符号109の電池容量が残っている状態で、符号103のコンセントを入れたのち、符号105の電源スイッチをオンして、図1のシステム全体に電源を供給し、且つ符号101のICが正常に起動したかを符号102のICが判別する手順を例にとって説明する。実際はほとんどの使用状態がこのケースに含まれると思われる。
(Case 1)
Case 1 will be described with reference to FIGS. 1 and 2.
In case 1, with the battery capacity of reference numeral 109 remaining, after turning on the outlet of reference numeral 103, the power switch of reference numeral 105 is turned on to supply power to the entire system of FIG. A procedure for determining whether the IC has been normally activated by the IC denoted by reference numeral 102 will be described as an example. In fact, most use states are likely to be included in this case.

このケースにおける最初の状態は、符号109の電池容量が残っているため、符号102のICはスリープモードにて動作中である。ステップとしてはステップS209に滞在中である。   In the initial state in this case, since the battery capacity of reference numeral 109 remains, the IC of reference numeral 102 is operating in the sleep mode. As a step, the user is staying at step S209.

この状態で、符号103のコンセントを入れると、符号107のVd(3.3V)が供給され、符号109のVe(3.0V)と符号107のVd(3.3V)の電圧レベルの差から、符号102のICへは符号107のVdが供給されるようになる。符号102のICにとっては、主電源がVeからVdに切り替わったことになる。   In this state, when the outlet of the reference numeral 103 is turned on, Vd (3.3 V) of the reference numeral 107 is supplied. From the difference in voltage level between Ve (3.0 V) of the reference numeral 109 and Vd (3.3 V) of the reference numeral 107. , Vd of reference numeral 107 is supplied to the IC of reference numeral 102. For the IC denoted by reference numeral 102, the main power source is switched from Ve to Vd.

更に、この状態から符号105の電源スイッチがオンされると、符号102のICはポートP0にて、符号105の電源スイッチのオンを検出し(ステップS201)、符号102のICはスリープモードから通常モードへの復帰、即ち、ウォームスタートをする。   Further, when the power switch denoted by reference numeral 105 is turned on from this state, the IC denoted by reference numeral 102 detects that the power switch denoted by reference numeral 105 is turned on at the port P0 (step S201). Return to mode, that is, warm start.

ウォームスタートした符号102のICは、ステップS202で符号106の出力イネーブル信号をイネーブルにし、符号104のDC電圧生成部の端子OUT2から符号108の3.3Vを出力させる。符号108の3.3Vが符号101のICに供給されることで、符号101のICは動作を開始する。   The warm-started IC of reference numeral 102 enables the output enable signal of reference numeral 106 in step S202, and outputs 3.3V of reference numeral 108 from the terminal OUT2 of the DC voltage generation section of reference numeral 104. When 3.3V of reference numeral 108 is supplied to the IC of reference numeral 101, the IC of reference numeral 101 starts operation.

ここで説明しておくが、符号101のICはリセット直後、各種初期設定を一通り終えた後に符号112の信号線が接続しているポートからハイレベル(以下、「H」という)の信号を出力するようにあらかじめプログラミングされているとする。即ち、符号101のICは正常に動作を開始した場合は、符号112の信号線から「H」を出力することになる。   As will be described here, the IC denoted by reference numeral 101 immediately after resetting, after completing various initial settings, outputs a high level (hereinafter referred to as “H”) signal from the port to which the signal line denoted by reference numeral 112 is connected. Assume that it has been programmed in advance to output. That is, when the IC denoted by reference numeral 101 starts operating normally, “H” is output from the signal line denoted by reference numeral 112.

符号112の信号線は、それ以前の状態(符号101のICに電源が供給されていない状態)では符号114のプルダウン抵抗がついているため「L」を維持しており、符号101のICが動作を開始すると符号112の信号線は「L」から「H」へと変化をする。   The signal line 112 is maintained at “L” since the pull-down resistor 114 is attached in the previous state (the state where no power is supplied to the IC 101), and the IC 101 operates. Starts, the signal line 112 changes from “L” to “H”.

符号102のICは、ステップS203で符号112の信号線を7.5msの周期でサンプリングを行っており、符号101のICが電源投入後に正常に起動したかどうかを監視できる仕組みとなっている。   The IC denoted by reference numeral 102 samples the signal line denoted by reference numeral 112 at a cycle of 7.5 ms in step S203, and can monitor whether or not the IC denoted by reference numeral 101 has started up normally after power-on.

符号102のICは、ステップS204で符号112の信号線が「L」から「H」へと変化したのを確認するとステップS205へ進み、符号101のICが正常に起動したことを認識する。   When the IC indicated by reference numeral 102 confirms that the signal line indicated by reference numeral 112 has changed from “L” to “H” in step S204, the IC advances to step S205, and recognizes that the IC indicated by reference numeral 101 has started up normally.

しかし、ステップS204で符号112の信号線が「L」から「H」へと変化するのを確認できなかった場合はステップS206へ進み、符号102のICは1秒間の間、ステップS203とステップS204を繰り返しながら符号112の信号線が「H」へ変化するのを待つ。しかし、1秒を超えても符号112の信号線が「H」にならなかった場合、符号102のICは、タイムアウトしてステップS207へ進み、何らかの原因で符号101のICが起動できなかった、もしくは暴走状態であると判断する。   However, if it is not confirmed in step S204 that the signal line 112 has changed from “L” to “H”, the process proceeds to step S206, and the IC of reference numeral 102 performs steps S203 and S204 for one second. Is repeated until the signal line 112 changes to “H”. However, if the signal line 112 does not become “H” even after 1 second, the IC 102 has timed out and proceeds to step S207, and the IC 101 cannot be activated for some reason. Or it judges that it is a runaway state.

どちらの状態であるにせよ、符号101のICが正常に起動できなかった状態を放置しておくわけにはいかないため、ステップS208において、符号102のICは、装置としての初期状態に戻す意味で符号106の出力イネーブル信号をディゼーブルにし、符号104のDC電圧生成部の端子OUT2からの出力を落としたのち、ステップS209へ進み、符号102のICはスリープモードへ移行する。   In any state, since it is impossible to leave the state in which the IC 101 cannot be normally started, in step S208, the IC 102 is returned to the initial state as a device. After the output enable signal of reference numeral 106 is disabled and the output from the terminal OUT2 of the DC voltage generation section of reference numeral 104 is dropped, the process proceeds to step S209, and the IC of reference numeral 102 shifts to the sleep mode.

またケース1での例外的な事例を説明する。
ここでの例外事例とは、符号109の電池容量が残っている状態で、符号103のコンセントを入れてない状態にも関わらず、符号105の電源スイッチをオンして、図1のシステム全体を立ち上げようとした場合を例にとって説明する。これは、装置の電源が入らない時に考えられる意外と多いケースである。
An exceptional case in case 1 will be described.
The exception case here is that the battery capacity of reference numeral 109 remains and the power switch of reference numeral 105 is turned on in spite of the state where the outlet of reference numeral 103 is not inserted, and the entire system of FIG. The case where it is going to start is demonstrated as an example. This is an unexpectedly many case when the device is not powered.

このケースにおける最初の状態も、符号109の電池容量が残っているため、符号102のICはスリープモードにて動作中である。ステップとしてはステップS209に滞在中である。   Even in the initial state in this case, the battery capacity of 109 remains, so that the IC of 102 is operating in the sleep mode. As a step, the user is staying at step S209.

符号103のコンセントは入っていないため、符号107のVd(3.3V)は供給されず、符号102のICの主電源はVeのままである。   Since the outlet indicated by reference numeral 103 is not inserted, Vd (3.3 V) indicated by reference numeral 107 is not supplied, and the main power source of the IC indicated by reference numeral 102 remains Ve.

この状態で、符号105の電源スイッチがオンされると、符号102のICはポートP0にて、符号105の電源スイッチのオンを検出し(ステップS201)、符号102のICはスリープモードから通常モードへの復帰、即ち、ウォームスタートをする。   In this state, when the power switch denoted by reference numeral 105 is turned on, the IC denoted by reference numeral 102 detects that the power switch denoted by reference numeral 105 is turned on at the port P0 (step S201), and the IC denoted by reference numeral 102 is changed from the sleep mode to the normal mode. Return to, that is, warm start.

ウォームスタートした符号102のICは、ステップS202で符号106の出力イネーブル信号をイネーブルにするが、符号104のDC電圧生成部の端子OUT2からは符号108の3.3Vは出力されない。符号101のICに電源が供給されないため、当然ながら符号101のICは動作を開始できなく、符号112の信号線は、「L」を維持したままである。   The warm-started IC of reference numeral 102 enables the output enable signal of reference numeral 106 in step S202, but 3.3V of reference numeral 108 is not output from the terminal OUT2 of the DC voltage generation unit of reference numeral 104. Since no power is supplied to the IC denoted by reference numeral 101, the IC denoted by reference numeral 101 cannot of course start operation, and the signal line denoted by reference numeral 112 remains "L".

ステップS203でも同様に、符号102のICは、符号112の信号線を7.5msの周期でサンプリングを行うが、ステップS204で符号112の信号線が「L」を維持したままのため、ステップS206へ進む。   Similarly, in step S203, the IC denoted by reference numeral 102 samples the signal line denoted by reference numeral 112 at a cycle of 7.5 ms. However, since the signal line denoted by reference numeral 112 remains at “L” in step S204, step S206 is performed. Proceed to

ステップS206では、符号102のICは、1秒間の間、ステップS203とステップS204を繰り返しながら符号112の信号線が「H」へ変化するのを待つが、1秒を超えても符号112の信号線が「H」にならないため、タイムアウトしステップS207へ進む。   In step S206, the IC of reference numeral 102 waits for the signal line of reference numeral 112 to change to “H” while repeating steps S203 and S204 for one second. Since the line does not become “H”, the process times out and proceeds to step S207.

ステップS207において、ここでの事例ではコンセント未接続状態が原因だが、符号101のICが正常に起動できなかったことには変わりがないため、符号102のICは不正状態と判断する。   In step S207, in this example, the outlet is not connected, but there is no change in that the IC with the reference numeral 101 cannot be normally started, so the IC with the reference numeral 102 is determined to be in an illegal state.

コンセント未接続状態のため、元々、符号104のDC電圧生成部の端子OUT2からは電圧は出ていないが、装置としての初期状態に戻す意味で、ステップS208に進み、符号102のICは符号106の出力イネーブル信号をディゼーブルにする。   Since the outlet is not connected, no voltage is originally output from the terminal OUT2 of the DC voltage generation unit 104, but in order to return to the initial state as the apparatus, the process proceeds to step S208. Disable the output enable signal.

またこのケースの場合、符号102のICは、これまでの一連の処理を符号109のコイン電池の電力によって賄っているため、ステップS209で早々に省電力モードであるスリープモードへ移行する。   In this case, since the IC indicated by the reference numeral 102 covers the series of processes up to now with the power of the coin battery indicated by the reference numeral 109, in step S209, the IC immediately shifts to the sleep mode that is the power saving mode.

(ケース2)
図1、図3を用いてケース2の説明を行う。
ケース2では、図1の装置が通常の動作中に、突然、符号103のコンセントが引き抜かれた、又はバッテリ切れや停電が発生したことにより装置への電源の供給が断たれた等の、いわゆる「不正電源オフ」をしたケースを例にとって説明する。
(Case 2)
The case 2 will be described with reference to FIGS. 1 and 3.
In case 2, the apparatus of FIG. 1 is so-called that the outlet of the reference numeral 103 is suddenly pulled out or the power supply to the apparatus is cut off due to a battery exhaustion or power failure. A case where “illegal power off” is performed will be described as an example.

このケースにおける最初の状態は、符号104のDC電圧生成部の端子OUT1とOUT2からそれぞれ符号107のVd、符号108の3.3Vが供給中の状態であって、符号101と符号102のICは共に通常モードで動作中である。   The initial state in this case is a state in which Vd of reference numeral 107 and 3.3 V of reference numeral 108 are being supplied from the terminals OUT1 and OUT2 of the DC voltage generation section of reference numeral 104, respectively. Both are operating in the normal mode.

また、符号101のICは、符号115の通信線を使用して、定期的に符号102のICに対して各種状態フラグをコマンドとして通知し、符号102のICは受信した状態フラグを内蔵のメモリに保存しているとする。   Further, the IC denoted by reference numeral 101 regularly notifies the IC denoted by reference numeral 102 as various commands using the communication line denoted by reference numeral 115, and the IC denoted by reference numeral 102 stores the received state flag in a built-in memory. Suppose you are saving to.

また、通常モードで動作中の符号102のICは常にステップS301で符号112の信号線を7.5ms周期でサンプリングを行い、ステップS301とステップS302のループ中に滞在している。符号102のICは、符号112の信号線が「H」である間は、符号101のICが正常に動作していることを認識する。   Further, the IC of reference numeral 102 operating in the normal mode always samples the signal line of reference numeral 112 in a cycle of 7.5 ms in step S301 and stays in the loop of step S301 and step S302. The IC denoted by reference numeral 102 recognizes that the IC denoted by reference numeral 101 is operating normally while the signal line denoted by reference numeral 112 is “H”.

この状態で、符号103のコンセントを引き抜くと、もしくは引き抜かなくともバッテリ切れや停電が発生した場合は、符号107のVd(3.3V)と符号108の3.3Vの供給が断たれてしまう。   In this state, if the outlet 103 is pulled out or if the battery runs out or a power failure occurs without being pulled out, the supply of Vd (3.3 V) 107 and 3.3 V 108 is cut off.

符号107のVdが断たれることにより、符号109のVe(3.0V)と符号107のVd(0V)の電圧レベルの差から、符号102のICへは符号109のVeが供給されるようになる。即ち、符号102のICにとっては、主電源がVdからVeに切り替わったことになる。この場合、符号102のICに限って言えば、主電源が切り替わるだけであって動作上は特に問題にならない。   By disconnecting Vd of reference numeral 107, Ve of reference numeral 109 is supplied to the IC of reference numeral 102 from the difference in voltage level between Ve (3.0V) of reference numeral 109 and Vd (0V) of reference numeral 107. become. That is, for the IC denoted by reference numeral 102, the main power supply is switched from Vd to Ve. In this case, as far as the IC of reference numeral 102 is concerned, only the main power source is switched, and there is no particular problem in operation.

しかし、符号101のICにとっては、符号108の3.3Vの供給が断たれた瞬間に動作が停止してしまう。動作を停止した符号101のICのポート出力である符号112の信号線は、本来、電圧レベルが不定となるのだが、本構成においては、符号114のプルダウン抵抗がついているため「L」が確定する。   However, for the IC denoted by reference numeral 101, the operation stops at the moment when the supply of 3.3V denoted by reference numeral 108 is cut off. The voltage level of the signal line 112, which is the port output of the IC 101 whose operation is stopped, is inherently indefinite, but in this configuration, the pull-down resistor 114 is attached, so that “L” is determined. To do.

即ち、ステップS301とステップS302のループ中に滞在している符号102のICは、ステップS302の判別で、符号112の信号線の電圧レベルが「H」から「L」に変化したことを確認し、ステップS303へ進む。   That is, the IC of reference numeral 102 staying in the loop of step S301 and step S302 confirms that the voltage level of the signal line of reference numeral 112 has changed from “H” to “L” in the determination of step S302. The process proceeds to step S303.

ステップS303では、まず、サンプリング回数カウンタ(i)の値を初期化し、ステップS304へ進む。   In step S303, first, the value of the sampling number counter (i) is initialized, and the process proceeds to step S304.

ステップS304において、符号102のICは、再度、符号112の信号線を7.5ms周期でサンプリングを行う。その理由は、ノイズ等の影響により符号112の信号線が瞬間的に「L」に変化し、たまたまステップS302の判定を通過してしまったというような誤判定を回避するためである。   In step S304, the IC denoted by reference numeral 102 samples the signal line denoted by reference numeral 112 again at a cycle of 7.5 ms. The reason is to avoid an erroneous determination such that the signal line 112 is instantaneously changed to “L” due to the influence of noise or the like, and happens to pass the determination in step S302.

次に進んだステップS305の判定において、符号102のICは、「L」の判定が変わらなかった場合はステップS306へ進み、もし「H」の判定だった場合は、ステップS301へ戻る。   In the next determination in step S305, the IC of reference numeral 102 proceeds to step S306 if the determination of “L” has not changed, and returns to step S301 if the determination of “H”.

ステップS306では、符号102のICは、符号112の信号線が「L」を保持している時間を計測する。   In step S306, the IC denoted by reference numeral 102 measures the time during which the signal line denoted by reference numeral 112 holds “L”.

今回は、7.5ms周期で16回以上のサンプリング(時間に換算すると約120ms)において「L」を連続検出したら「不正電源オフ」が確定すると設定した。   This time, it is set that “illegal power-off” is confirmed when “L” is continuously detected in 16 times or more sampling (approximately 120 ms in terms of time) at a period of 7.5 ms.

符号102のICは、サンプリング回数が15回以下の間は、ステップS306からステップS307へ進み、ステップS307で回数カウンタiをインクリメント(プラス1回)したのち、ステップS304へ戻り、このステップS304〜S307のループを繰り返す。   The IC denoted by reference numeral 102 proceeds from step S306 to step S307 while the number of times of sampling is 15 or less, increments the number counter i (plus one time) in step S307, returns to step S304, and steps S304 to S307. Repeat the loop.

符号102のICは、サンプリング回数が16回になったら、ステップS308へ進み、「不正電源オフ」と判断し、ステップS309で,不正電源オフが発生したことを、内蔵のメモリ内にバックアップデータとして保存する。このバックアップデータは、装置本体の次回電源オン時に、符号102のICから符号101のICに対して、符号115の通信線を使用して通知される。   When the number of sampling times reaches 16, the IC of reference numeral 102 proceeds to step S308, determines that “illegal power off”, and in step S309, the fact that the illegal power off has occurred is stored as backup data in the built-in memory. save. The backup data is notified from the IC 102 to the IC 101 using the communication line 115 when the apparatus is turned on next time.

そして、符号102のICは、ステップS310で符号106の出力イネーブル信号をディゼーブルにしたのち、ステップS311へ進み、符号102のICはスリープモードへ移行する。   Then, the IC denoted by reference numeral 102 disables the output enable signal denoted by reference numeral 106 in step S310, and then proceeds to step S311. The IC denoted by reference numeral 102 shifts to the sleep mode.

(ケース3)
図1、図4を用いてケース3の説明を行う。
ケース3では、図1の装置が通常の動作中に、符号101のICが符号102のICに対して、符号112の信号線を使用してリセットをかけるケースを例にとって説明する。
(Case 3)
Case 3 will be described with reference to FIGS. 1 and 4.
Case 3 will be described by taking as an example a case where the IC of reference numeral 101 uses the signal line of reference numeral 112 to reset the IC of reference numeral 102 during the normal operation of the apparatus of FIG.

このケースにおける最初の状態は、符号104のDC電圧生成部の端子OUT1とOUT2からそれぞれ符号107のVd、符号108の3.3Vが供給中の状態であって、符号101と符号102のICは共に通常モードで動作中である。また、通常モードで動作中の符号102のICは常にステップS401で符号112の信号線を7.5ms周期でサンプリングを行い、ステップS401とステップS402のループ中に滞在している。   The initial state in this case is a state in which Vd of reference numeral 107 and 3.3 V of reference numeral 108 are being supplied from the terminals OUT1 and OUT2 of the DC voltage generation section of reference numeral 104, respectively. Both are operating in the normal mode. Further, the IC of reference numeral 102 operating in the normal mode always samples the signal line of reference numeral 112 in a cycle of 7.5 ms in step S401 and stays in the loop of step S401 and step S402.

この状態で、符号101のICが符号102のICにリセットをかける目的で、符号112の信号線に「L」を出力する。但し、符号112の信号線はケース2でも述べているように符号101のICの動作状態を知るための監視信号と兼用しているため、ここでは「L」が保持される時間(パルス幅)を15ms〜112.5msと定義し、この条件に合うパルス幅で符号112の信号線が「L」になった場合、符号102のICは、符号101のICからのリセット命令だと判断するとした。リセット命令は、所定のパルス幅を有するパルス信号である。   In this state, the IC denoted by reference numeral 101 outputs “L” to the signal line denoted by reference numeral 112 in order to reset the IC denoted by reference numeral 102. However, since the signal line 112 is also used as a monitoring signal for knowing the operating state of the IC 101 as described in the case 2, the time during which “L” is held (pulse width) is used here. Is defined as 15 ms to 112.5 ms, and when the signal line 112 is “L” with a pulse width that satisfies this condition, the IC 102 is determined to be a reset command from the IC 101. . The reset command is a pulse signal having a predetermined pulse width.

ケース2と同様に、ステップS401とステップS402のループ中に滞在している符号102のICは、ステップS402の判別で符号112の信号線の電圧レベルが「H」から「L」に変化したことを確認し、ステップS403へ進む。符号102のICは、ステップS403でサンプリング回数カウンタiの値の初期化を行った後、ステップS404へ進む。ステップS404でも、符号102のICは、ノイズ等により符号112の信号線が「L」に変化したと誤判定することを避けるため、再度、符号112の信号線を7.5ms周期でサンプリングを行う。次に進んだステップS405の判定において、符号102のICは、「L」の判定が変わらなかった場合はステップS406へ進み、もし「H」の判定だった場合は、ステップS412へ進む。   As in Case 2, the voltage level of the signal line 112 changed from “H” to “L” in the discrimination of Step S402 in the IC of the code 102 staying in the loop of Step S401 and Step S402. And proceed to step S403. The IC denoted by reference numeral 102 initializes the value of the sampling number counter i in step S403, and then proceeds to step S404. Even in step S404, the IC of reference numeral 102 again samples the signal line of reference numeral 112 at a cycle of 7.5 ms in order to avoid erroneous determination that the signal line of reference numeral 112 has changed to “L” due to noise or the like. . In the next determination in step S405, the IC of reference numeral 102 proceeds to step S406 if the determination of “L” is not changed, and proceeds to step S412 if the determination is “H”.

ステップS406では、符号112の信号線が「L」を保持している時間を計測する。   In step S406, the time during which the signal line 112 is held at “L” is measured.

今回は7.5ms周期で2回以上15回以下の範囲で「L」を検出したら、リセット命令が確定することに設定した。時間に直すとパルス幅が15ms〜112.5msに相当する。   In this case, when “L” is detected in the range of 2 to 15 times in a cycle of 7.5 ms, the reset command is set to be confirmed. In terms of time, the pulse width corresponds to 15 ms to 112.5 ms.

符号102のICは、ステップS407で回数カウンタiをインクリメント(プラス1回)したのち、ステップS404〜S407のループを繰り返す。ステップS405で符号112の信号線が「H」に復帰した場合には、ステップS412へ進み、サンプリングの回数カウンタiの値が2回以上15回以下の条件に当てはまるかの判別を行う。符号102のICは、条件にあっていた場合はステップS413でリセット命令だと解釈し、ステップS414で自己リセットをかける。   The IC denoted by reference numeral 102 increments the number counter i in step S407 (plus one time), and then repeats the loop of steps S404 to S407. If the signal line 112 returns to “H” in step S405, the process proceeds to step S412 to determine whether the value of the sampling number counter i is in the range of 2 to 15 times. If the IC of the code 102 satisfies the condition, it is interpreted as a reset command in step S413, and self-reset is performed in step S414.

ここでの自己リセットとはソフトウエアリセットのことを指し、符号102のICは、リセット直後に開始されるプログラムが格納してあるアドレス(番地)からプログラムをスタートすることを示す。   The self-reset here means a software reset, and an IC denoted by reference numeral 102 indicates that the program is started from an address (address) where the program started immediately after the reset is stored.

以上のように、符号112の信号線が「L」となる時間差によって、符号101のICからのリセット命令か、又は符号101のICの動作状態を示しているかの判断を可能とした。   As described above, it is possible to determine whether the reset command from the IC of the reference numeral 101 or the operation state of the IC of the reference numeral 101 is indicated by the time difference when the signal line of the reference numeral 112 becomes “L”.

ステップS406において、符号102のICは、サンプリング回数が16回になったら、ステップS408〜S411の処理を行う。ステップS408〜S411は、図3のステップS308〜S311と同じ処理である。   In step S406, the IC denoted by reference numeral 102 performs the processing of steps S408 to S411 when the number of sampling times becomes 16. Steps S408 to S411 are the same processing as steps S308 to S311 of FIG.

以上のように、本実施形態によれば、主にバックアップ用途に使用される電池109を有し、前記電池109を電源として動作する第1のIC(第1の処理手段)102を有し、主に装置全体の主電源となるACアダプタやバッテリ等のDC電源104を有し、前記DC電源104を電源として動作する第2のIC(第2の処理手段)101を有し、前記2つの異なるIC間を結ぶ信号線112を有し、前記第1のIC102において、前記信号線112を常に監視する手段を有し、前記信号線112を監視することで前記第2のIC101の動作状態を認識する手段を有し、また認識した動作状態に応じて処理を行う処理手段を有する。   As described above, according to the present embodiment, the battery 109 is mainly used for backup purposes, and the first IC (first processing means) 102 that operates using the battery 109 as a power source is provided. It has a DC power source 104 such as an AC adapter or a battery that is a main power source for the entire apparatus, and has a second IC (second processing means) 101 that operates using the DC power source 104 as a power source. The first IC 102 has a signal line 112 for connecting different ICs, and the first IC 102 has means for constantly monitoring the signal line 112. By monitoring the signal line 112, the operation state of the second IC 101 can be determined. Recognizing means and processing means for performing processing according to the recognized operating state.

電池109等を主電源とし、装置に電源104が入っていない状態でも常時動作可能な第1のIC102と、装置電源から供給されるDC電源104を主電源とする第2のIC101を有するモバイル系の電子機器において、前記2つの異なるIC間を結ぶ信号線112を前記第1のIC102がモニターすることによって、前記第2のIC101が正常に起動したことを確認する。また、前記第2のIC101が正常に動作していることを確認する。また、前記第1のIC102は、前記第2のIC101からのリセット命令を受けることを可能にする。   A mobile system having a first IC 102 that can operate constantly even when the power supply 104 is not turned on in the apparatus, and a second IC 101 that uses a DC power supply 104 supplied from the apparatus power supply as a main power supply. In the electronic apparatus, the first IC 102 monitors the signal line 112 connecting the two different ICs, thereby confirming that the second IC 101 has started up normally. Also, it is confirmed that the second IC 101 is operating normally. Further, the first IC 102 can receive a reset command from the second IC 101.

IC監視を実施することにより、電源スイッチ105をオンしてから、装置本体が正常起動をしたかの判別をすることか可能となり、正常起動しなかった場合の対処が取れるようになった。   By performing the IC monitoring, it is possible to determine whether or not the apparatus main body has started normally after turning on the power switch 105, and it is possible to take measures when the apparatus does not start normally.

また、装置本体が正常に動作していることを監視することも可能となり、突然のバッテリ切れや停電、又はコンセントの引き抜き等のいわゆる不正電源オフに遭遇した場合でも、その状況に応じた処理が可能となった。   In addition, it is possible to monitor that the main unit is operating normally, and even if it encounters a so-called unauthorized power off such as sudden battery exhaustion, power outage, or pulling out of the outlet, processing according to the situation can be performed. It has become possible.

更には、監視信号を本体からのリセット信号線と兼用することで、信号線の削減といった効果もある。   Furthermore, there is an effect of reducing the number of signal lines by using the monitoring signal also as a reset signal line from the main body.

なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

本発明の実施形態によるIC監視手段を含む電子機器装置の全体ブロック図である。It is a whole block diagram of the electronic device apparatus containing the IC monitoring means by embodiment of this invention. 符号102のICにおいて、符号101のICが起動したか否かを検出するフローチャートである。It is a flowchart which detects whether IC of the code | symbol 101 started in the IC of the code | symbol 102. FIG. 符号102のICにおいて、符号104のDC電圧生成部からの出力が突然オフしたことを検出するフローチャートである。10 is a flowchart for detecting that the output from the DC voltage generation unit indicated by reference numeral 104 is suddenly turned off in the IC indicated by reference numeral 102. 符号102のICにおいて、符号101のICからのリセット命令を判断するフローチャートである。10 is a flowchart for determining a reset command from the IC of reference numeral 101 in the IC of reference numeral 102; 従来の電子機器装置の全体ブロック図である。It is a whole block diagram of the conventional electronic device apparatus.

符号の説明Explanation of symbols

101 第2のIC
102 第1のIC
103 コンセント
104 出力イネーブル機能付DC電圧生成部
105 電源スイッチ
106 出力イネーブル信号
109 バックアップ用コイン電池
110 ダイオード
111 電源ライン
112 信号線
113 ダイオード
114 抵抗
115 通信線
101 Second IC
102 First IC
103 Outlet 104 DC voltage generator with output enable function 105 Power switch 106 Output enable signal 109 Backup coin battery 110 Diode 111 Power line 112 Signal line 113 Diode 114 Resistor 115 Communication line

Claims (10)

処理を行う第1及び第2の処理手段と、
前記第1及び第2の処理手段間を接続する信号線とを有し、
前記第1の処理手段は、前記信号線を介して前記第2の処理手段の動作状態を検出し、その動作状態に応じた処理を行うことを特徴とする電子機器装置。
First and second processing means for performing processing;
A signal line connecting the first and second processing means,
The electronic device apparatus, wherein the first processing unit detects an operation state of the second processing unit via the signal line, and performs processing according to the operation state.
前記信号線は、前記第2の処理手段のポート出力に接続され、
前記第2の処理手段は、動作状態に応じて前記ポートから所定の電圧レベルを出力し、
前記第1の処理手段は、前記信号線の電圧レベルを検出することにより前記第2の処理手段の動作状態を検出すると共に、その動作状態に応じた処理をすることを特徴とする請求項1記載の電子機器装置。
The signal line is connected to a port output of the second processing means;
The second processing means outputs a predetermined voltage level from the port according to an operating state,
2. The first processing means detects an operation state of the second processing means by detecting a voltage level of the signal line, and performs processing according to the operation state. The electronic device apparatus as described.
さらに、前記第1の処理手段に接続される第1の電源と、
前記第1の処理手段の指示に応じて前記第2の処理手段に電源を供給する第2の電源とを有し、
前記第2の処理手段は、前記第2の電源から電源が供給されると、前記信号線に第1のレベルを出力し、
前記第1の処理手段は、前記第2の処理手段への電源供給指示から所定期間内に前記信号線が前記第1のレベルになると、前記第2の処理手段が正常に起動したことを認識することを特徴とする請求項1又は2記載の電子機器装置。
A first power source connected to the first processing means;
A second power supply for supplying power to the second processing means in response to an instruction from the first processing means,
The second processing means outputs a first level to the signal line when power is supplied from the second power source,
The first processing means recognizes that the second processing means has started normally when the signal line is at the first level within a predetermined period from a power supply instruction to the second processing means. The electronic device apparatus according to claim 1 or 2, wherein
前記第1の処理手段は、前記第2の処理手段への電源供給指示から所定期間内に前記信号線が前記第1のレベルにならないときには、省電力モードへ移行することを特徴とする請求項3記載の電子機器装置。   The first processing means shifts to a power saving mode when the signal line does not become the first level within a predetermined period from a power supply instruction to the second processing means. 3. The electronic device device according to 3. 前記第2の処理手段は、動作中は前記信号線を第1のレベルに保持し、
前記第1の処理手段は、前記信号線が前記第1のレベルである間は前記第2の処理手段が正常に動作していることを認識することを特徴とする請求項1〜4のいずれか1項に記載の電子機器装置。
The second processing means holds the signal line at the first level during operation,
5. The method according to claim 1, wherein the first processing unit recognizes that the second processing unit is operating normally while the signal line is at the first level. The electronic device apparatus of Claim 1.
前記第1の処理手段は、前記信号線が前記第1のレベルから第2のレベルへ変化した場合は、省電力モードへ移行することを特徴とする請求項5記載の電子機器装置。   6. The electronic device apparatus according to claim 5, wherein the first processing unit shifts to a power saving mode when the signal line changes from the first level to the second level. 前記第1の処理手段は、記憶手段を有し、前記信号線が前記第1のレベルから第2のレベルへ変化した場合は、前記記憶手段へバックアップデータを保存することを特徴とする請求項5又は6記載の電子機器装置。   The first processing means has storage means, and stores backup data in the storage means when the signal line changes from the first level to the second level. 5. The electronic device apparatus according to 5 or 6. 前記第2の処理手段は、前記信号線にリセット信号を出力することができ、
前記第1の処理手段は、前記信号線を介して前記第2の処理手段からリセット信号を入力すると、自己リセットをかけることを特徴とする請求項1〜7のいずれか1項に記載の電子機器装置。
The second processing means can output a reset signal to the signal line,
8. The electron according to claim 1, wherein the first processing unit applies a self-reset when a reset signal is input from the second processing unit via the signal line. 9. Equipment device.
前記リセット信号は、所定のパルス幅を有するパルス信号であることを特徴とする請求項8記載の電子機器装置。   9. The electronic device apparatus according to claim 8, wherein the reset signal is a pulse signal having a predetermined pulse width. 信号線を介して接続される第1及び第2の処理手段を有する電子機器装置の処理方法であって、
前記第1の処理手段が、前記信号線を介して前記第2の処理手段の動作状態を検出し、その動作状態に応じた処理を行うステップを有することを特徴とする電子機器装置の処理方法。
A processing method for an electronic device having first and second processing means connected via a signal line,
The processing method of an electronic device apparatus, comprising: a step in which the first processing unit detects an operation state of the second processing unit via the signal line and performs a process according to the operation state. .
JP2005145764A 2005-05-18 2005-05-18 Electronic device apparatus and processing method thereof Expired - Fee Related JP4731995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005145764A JP4731995B2 (en) 2005-05-18 2005-05-18 Electronic device apparatus and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005145764A JP4731995B2 (en) 2005-05-18 2005-05-18 Electronic device apparatus and processing method thereof

Publications (3)

Publication Number Publication Date
JP2006323602A true JP2006323602A (en) 2006-11-30
JP2006323602A5 JP2006323602A5 (en) 2008-07-03
JP4731995B2 JP4731995B2 (en) 2011-07-27

Family

ID=37543236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005145764A Expired - Fee Related JP4731995B2 (en) 2005-05-18 2005-05-18 Electronic device apparatus and processing method thereof

Country Status (1)

Country Link
JP (1) JP4731995B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011108235A (en) * 2009-11-12 2011-06-02 Fujitsu Technology Solutions Intellectual Property Gmbh Peripheral device, power-saving circuit for switching device, and operation method
JP2012237821A (en) * 2011-05-10 2012-12-06 Ricoh Co Ltd Image forming device
JP2015079427A (en) * 2013-10-18 2015-04-23 株式会社デンソー Data storage controller

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6347812A (en) * 1986-08-15 1988-02-29 Fujitsu Kiden Ltd Sleep mode controller
JPH04151706A (en) * 1990-10-16 1992-05-25 Fujitsu Ltd Cpu reset circuit
JPH11272505A (en) * 1998-03-20 1999-10-08 Tokai Rika Co Ltd Computer monitoring device
JP2002182808A (en) * 2000-12-14 2002-06-28 Sumitomo Wiring Syst Ltd Method for reducing power consumption of cpu, electronic equipment and recording medium recorded with power consumption reducing program
JP2004348641A (en) * 2003-05-26 2004-12-09 Nec Corp Backup method for computer and its power supply
JP2005025309A (en) * 2003-06-30 2005-01-27 Canon Inc Information processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6347812A (en) * 1986-08-15 1988-02-29 Fujitsu Kiden Ltd Sleep mode controller
JPH04151706A (en) * 1990-10-16 1992-05-25 Fujitsu Ltd Cpu reset circuit
JPH11272505A (en) * 1998-03-20 1999-10-08 Tokai Rika Co Ltd Computer monitoring device
JP2002182808A (en) * 2000-12-14 2002-06-28 Sumitomo Wiring Syst Ltd Method for reducing power consumption of cpu, electronic equipment and recording medium recorded with power consumption reducing program
JP2004348641A (en) * 2003-05-26 2004-12-09 Nec Corp Backup method for computer and its power supply
JP2005025309A (en) * 2003-06-30 2005-01-27 Canon Inc Information processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011108235A (en) * 2009-11-12 2011-06-02 Fujitsu Technology Solutions Intellectual Property Gmbh Peripheral device, power-saving circuit for switching device, and operation method
JP2012237821A (en) * 2011-05-10 2012-12-06 Ricoh Co Ltd Image forming device
JP2015079427A (en) * 2013-10-18 2015-04-23 株式会社デンソー Data storage controller

Also Published As

Publication number Publication date
JP4731995B2 (en) 2011-07-27

Similar Documents

Publication Publication Date Title
CN100401820C (en) Cellular phone and operational mode switching method thereof
US6236226B1 (en) Test method and system for uninterruptible power supply
JPH06332579A (en) Power supply system and device provided with said power supply system
US20120042187A1 (en) Information processing apparatus and power supply control circuit
CN103677189B (en) Semiconductor device
JP5820779B2 (en) In-vehicle power supply
JP4731995B2 (en) Electronic device apparatus and processing method thereof
KR100433532B1 (en) Apparatus and method for managing power
JP2007074866A (en) Malfunction prevention device
JP2005038405A (en) Method and computer system for reducing occurrence of cold reset
JP5179454B2 (en) Computer and power supply
CN102841839A (en) Information processing apparatus and control method therefor
CN103546648A (en) Method for managing timing information of terminal and terminal
KR101746434B1 (en) A method for blocking the stanby power having multiple sensing functions
JP4331065B2 (en) Alarm
JP2008079438A (en) Programmable controller and its data backup method
JP2016095771A (en) Backup circuit of device drive battery
CN106325461B (en) Information processing method and electronic equipment
JP2006205589A (en) Power-saving equipment and image forming apparatus equipped with it
JP2007179094A (en) Information processing apparatus and power consumption control method executed therein
JP2005128688A (en) Electronic equipment
JP2014006225A (en) Image forming device, power source switching method, and program
CN107807728B (en) Shutdown discharge system
JPH08194021A (en) Monitoring method and monitor of battery voltage
JP2017037438A (en) Mobile information terminal

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080515

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110325

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: 20110412

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: 20110420

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

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees