JP2018005572A - Electronic instrument - Google Patents
Electronic instrument Download PDFInfo
- Publication number
- JP2018005572A JP2018005572A JP2016131949A JP2016131949A JP2018005572A JP 2018005572 A JP2018005572 A JP 2018005572A JP 2016131949 A JP2016131949 A JP 2016131949A JP 2016131949 A JP2016131949 A JP 2016131949A JP 2018005572 A JP2018005572 A JP 2018005572A
- Authority
- JP
- Japan
- Prior art keywords
- time
- power supply
- circuit
- power source
- main power
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Electric Clocks (AREA)
- Power Sources (AREA)
Abstract
Description
本発明は期限付き機能が有効か否かを判定する制御部を備える電子機器に関する。 The present invention relates to an electronic device including a control unit that determines whether or not a function with a time limit is valid.
近年の電子機器は通信機能やネットワーク接続機能を備えることから、セキュリティ技術に関心が高まっている。例えば、業務用無線通信機は不正使用を防止することを目的として期限付き機能(期限付きの暗号鍵)を搭載する。このような機器は、予め期限を設定することにより、これを経過するとその機器は使用することができなくなる。 Since recent electronic devices have a communication function and a network connection function, there is an increasing interest in security technology. For example, a commercial wireless communication device is equipped with a function with a time limit (encryption key with a time limit) for the purpose of preventing unauthorized use. By setting a time limit in advance for such a device, the device cannot be used after the expiration.
しかし、その機器の内部の時計機能が電源電圧低下により動作不能になると、時刻情報を消失してしまう場合がある。その場合はたとえ期限内であってもその機器は使用できなくなる。そのような問題を解決する手段として、不揮発性メモリに時刻情報を記憶させ電源復帰後に自動的に時刻を再設定するという技術が特許文献1で提案されている。 However, if the clock function inside the device becomes inoperable due to a power supply voltage drop, time information may be lost. In that case, the device cannot be used even within the time limit. As means for solving such a problem, Patent Document 1 proposes a technique of storing time information in a non-volatile memory and automatically resetting the time after power is restored.
また期限付き機能を備える電子機器には、主電源がオフになった後も期限管理を行うことができるように時計回路及びバックアップ用の補助電源を備えるものがある。そのような機器では主電源がオフになった後も、補助電源が時計回路の動作を維持させ期限管理を継続する。 Some electronic devices having a time limit function include a clock circuit and a backup auxiliary power source so that time limit management can be performed even after the main power is turned off. In such a device, even after the main power supply is turned off, the auxiliary power supply maintains the operation of the clock circuit and continues the time limit management.
しかし補助電源の容量は放電により低下し、それに伴い出力電圧は徐々に低下する。そして補助電源の出力電圧が時計回路の動作電圧を下回ると、時計回路は動作を停止し時刻情報は消失する。時刻情報が消失すると、たとえ期限内であったとしても期限付き機能は使用不可能になる。 However, the capacity of the auxiliary power supply decreases due to discharge, and the output voltage gradually decreases accordingly. When the output voltage of the auxiliary power source falls below the operating voltage of the timepiece circuit, the timepiece circuit stops operating and time information disappears. When the time information is lost, the function with a time limit becomes unusable even if it is within the time limit.
本発明は、このような課題を解決するためになされたものであり、期限付き機能が使用不能となることを防ぐことを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to prevent the time-limited function from being disabled.
本発明に係る期限付き機能を備える電子機器は、主電源と、前記主電源からの電力供給によって充電される補助電源と、前記補助電源の電圧値を測定する電圧監視部と、
時刻情報を生成し、前記主電源のオン時には主電源からの電力供給により動作し、前記主電源のオフ時には前記補助電源からの電力供給により動作する時計回路と、
前記時刻情報と前記電圧値を記憶する記憶部と、
第1の時刻の時刻情報と前記第1の時刻における第1の電圧値と、前記第1の時刻の後であって前記主電源がオフからオンに切り替わったとき、前記主電源から前記補助電源への充電を開始するに先立って測定した第2の電圧値とに基づいた第2の時刻により前記期限付き機能が有効であるか否かを判定する制御部と、
を備える。
An electronic device having a time-limited function according to the present invention includes a main power source, an auxiliary power source charged by power supply from the main power source, a voltage monitoring unit that measures a voltage value of the auxiliary power source,
A timepiece circuit that generates time information and operates by power supply from a main power supply when the main power supply is on, and operates by power supply from the auxiliary power supply when the main power supply is off;
A storage unit for storing the time information and the voltage value;
The time information of the first time, the first voltage value at the first time, and when the main power source is switched from off to on after the first time, the main power source to the auxiliary power source A controller that determines whether or not the time-limited function is valid at a second time based on a second voltage value measured prior to starting charging to
Is provided.
本発明により、期限付き機能が使用不能となることを防ぐことができる。 By this invention, it can prevent that a function with a time limit becomes unusable.
実施の形態1
まず、図面を参照して本発明の実施の形態について説明する。図1は実施の形態1に係る電子機器100のブロック図である。電子機器100は主電源11、電源スイッチ12、電源回路13、切替回路14、補助電源15、電源混合回路16、時計回路17、電圧監視部18、制御回路21、及び電子回路部23を備える。制御回路21は制御部19、記憶部20を備え、切替回路14、時計回路17、電圧監視部18、制御部19、記憶部20はそれぞれ通信バス22に接続されている。電子機器100は期限付き暗号鍵を備えており、ユーザーは予め期限を設定することができる。電子機器100は設定された期限を過ぎると所定の機能が制限される。例えば、電子機器100は無線通信機であり、電子回路部23は無線通信手段であるとすると、電子機器100は無線通信手段を通信不能とする。以下、各ブロックの詳細を説明する。
Embodiment 1
First, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an
主電源11は電子機器100を動作させるため電源スイッチ12を閉じて電力を供給する。主電源11は商用電源を電源元とする直流安定化電源又は充電式二次電池である。充電式二次電池の例としてはリチウムイオン電池や自動車用バッテリーを挙げることができる。電源スイッチ12は主電源11から受けた電力を電源回路13に供給するか否かをユーザーが切り替える。電源回路13は電源スイッチ12経由で受けた主電源からの電圧を安定させ、切替回路14、電源混合回路16、制御回路21、電子回路部23へ電力を供給する。
The main power supply 11 supplies power by closing the
切替回路14は制御回路21からの指示を受け、電源回路13から供給された電力を補助電源15に供給するか否かを切り替える。切替回路14は電源回路13、補助電源15、通信バス22にそれぞれ接続している。
The
補助電源15は充電式二次電池であり、例えばリチウムイオン電池やニッケル水素電池などである。主電源11が充電式二次電池の場合、補助電源15の電池容量は主電源11よりも小さい。補助電源15は切替回路14から電力の供給を受けている場合は主電源11から電力の供給によって充電される。切替回路14からの電力の供給がストップした場合、補助電源15は電源混合回路16を介して制御回路21及び時計回路17へ電力を供給する。補助電源15は電圧監視部18に接続しており、電圧監視部18により電圧を監視されている。
The
電源混合回路16は例えば電圧コンパレータ及びスイッチング回路などによって構成されている。電源回路13から電力の供給を受けている場合、電源混合回路16はこの電力を時計回路17へ供給する。また、電源回路13から電力の供給を受けていない場合、電源混合回路16は補助電源15から受ける電力を時計回路17へ供給する。
The power supply mixing circuit 16 is configured by, for example, a voltage comparator and a switching circuit. When power is supplied from the
時計回路17は電源混合回路16から電力の供給を受け、時刻情報を生成する回路である。時計回路17は一般にRTC(Real Time Clock)と呼ばれる。時計回路17はエラー履歴を記録する機能を備えており、電力の供給が断たれた場合に継続的な時刻情報の生成が不能となったことを記録する。例えば、時計回路17はエラー履歴をフラグとして記憶する。エラーフラグは初期値が「0」で、エラーが発生した場合は「1」となる。時計回路17は通信バス22に接続しており、必要に応じて時刻情報及びエラー履歴を制御回路21に出力する。
The
電圧監視部18は補助電源15の電圧値を測定する。電圧監視部18はA/Dコンバータ(Analog to Digital コンバータ)を備え、測定した電圧値を通信バス22に出力する。電圧監視部18は補助電源15、通信バス22にそれぞれ接続している。尚、電圧値は補助電源15の電池残容量に相当する。
The voltage monitoring unit 18 measures the voltage value of the
制御回路21は制御部19及び記憶部20を備える。制御回路21は電源回路13から電力の供給を受ける。
The control circuit 21 includes a
制御部19は時計回路17が生成する時刻情報及びエラー履歴を読み取り、さらに電圧監視部18が測定する電圧値を読み取る。そして、制御部19は記憶部20にアクセスし、読み取った時刻情報及び電圧値を書き込み、また書き込んだ情報を読み取る。さらに、制御部19はこれら読み取った情報に応じて期限付き暗号鍵が有効であるか否かを判定する。具体的には、制御部19は図2において示す原理に基づき各データから経過時間を算出し、期限付き暗号鍵が有効であるか否かを判定する。
The
記憶部20は時刻情報及び電圧値を記憶し、電力の供給が断たれた後もこれを保持する。記憶部20は不揮発性の記憶装置であり、例えばEEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュメモリ、FeRAM(Ferroelectric Random Access Memory)などである。記憶部20は通信バス22に接続している。
The memory |
通信バス22は切替回路14、時計回路17、電圧監視部18、制御回路21をそれぞれ接続する。通信バス22は例えばI2C(Inter-Integrated Circuit)、UART(Universal Asynchronous Receiver Transmitter)などの機内通信プロトコルである。
The
次に、本実施の形態1に係る補助電源15の電圧と時間との関係について図2を使って説明する。
Next, the relationship between the voltage and time of the
図2の縦軸は電圧を示し、横軸は時間を示す。曲線30は一般的なバックアップ用補助電源として使用されるリチウムイオン二次電池を採用した場合の放電特性を表している。電子機器100は主電源11から電力の供給を受けて動作している。補助電源15はその間充電され続け、ほぼ一定の電圧V1を維持している。
The vertical axis in FIG. 2 indicates voltage, and the horizontal axis indicates time. A curve 30 represents discharge characteristics when a lithium ion secondary battery used as a general backup auxiliary power source is employed. The
ここで、時間t1において電源スイッチ12がオフになり、補助電源15への充電が止まる。すると電子機器100は補助電源15を使用して、例えば時計回路17などの予め設定された回路へ電力の供給を継続するよう切り替える。時計回路17は補助電源15から供給される電力により動作を継続する。補助電源15は蓄えられているエネルギーを消費し、電圧は徐々に低下する。補助電源15はエネルギーが消費されると電池自体の内部抵抗が増加する。そして変曲点31に達すると、電圧は急激に降下する。
Here, at time t1, the
時計回路17の動作保障電圧はV2であり、V2を下回ると時計回路17は動作しなくなる。補助電源15は徐々に電圧を下げ、t2の時点で電圧V2に達する。やがて補助電源の電圧は電圧V2を下回り、時計回路17の動作は停止する。
The operation guarantee voltage of the
時計回路17が動作停止した後は時計回路17のインピーダンスが増加し、補助電源15の放電電流は少なくなるので、電圧の降下は緩やかになる(変曲点32)。その後、動作を停止した時計回路17に流れる暗電流により徐々に補助電源15の電圧は低下していく。
After the
曲線30によって表される放電時間と電圧との関係は、補助電源15の仕様及び電子機器100の回路構成により決定される。従って実際の測定等により曲線30を予め把握しておき、時計回路17の動作保障電圧V2を下回る前の時間tx及び電圧Vxを記憶しておけば、電圧Vyを測定することにより時間tyを予測することが可能となる。本実施の形態1ではこの原理を利用し、かかる課題を解決している。尚、図2に示すグラフは、実際の電子機器100で測定しても良いし、同じタイプの回路構成を有する装置を使って測定しても良い。
The relationship between the discharge time and the voltage represented by the curve 30 is determined by the specifications of the
次に、図3から図5に示すフローチャートを参照しながら本発明の実施の形態1に係る電子機器100の処理について説明する。図3は主電源11がオフになる前までの割り込み動作を示すフローチャートである。図4は電子機器100の主電源11がオフになった後、主電源11が再びオンになる前までの処理を示すフローチャートである。図5は主電源11が再びオンになった後の処理を示すフローチャートである。
Next, processing of
制御回路21は、主電源11がオンからオフに切り替わったタイミングに基づいて定まる時刻に、時計回路17が生成する時刻情報と、その時刻において電圧監視部18が測定する電圧値とを記憶する。ここでは、制御回路21は、電子機器100の主電源11がオフになる前に、割り込み処理として時計回路17が生成する時刻情報と、その時刻において電圧監視部18が測定する電圧値とを記憶する(S100)。制御回路21はこの割り込み処理を定期的に繰り返し行い、時刻情報と電圧値を上書きすることができる。ここで本実施の形態1においては、主電源11がオフになる前であって、最後に記憶した時刻をTxaとし、時刻Txaの電圧値をVxaとする。
The control circuit 21 stores the time information generated by the
次に、ユーザーが電源スイッチ12をオフにする(S101)。すると、主電源11からの電力の供給が止まり、制御回路21は停止する(S102)。続いて電源混合回路16は出力する電圧を補助電源15に切り替える(S103)。 Next, the user turns off the power switch 12 (S101). Then, the supply of power from the main power supply 11 is stopped, and the control circuit 21 is stopped (S102). Subsequently, the power supply mixing circuit 16 switches the output voltage to the auxiliary power supply 15 (S103).
ステップS103以降、時計回路17は補助電源15から電力の供給を受けて動作を継続する。補助電源15は徐々に容量を下げながら時計回路17を駆動する。補助電源15の出力電圧は時間の経過に伴い低下する。そして、時計回路17が受ける電圧が時計回路17の動作保障電圧を下回ると、やがて時計回路17は動作を停止する(S104)。
After step S103, the
時計回路17が動作を停止した後も、補助電源15は放電を継続する(S105)。
Even after the
続いて、ユーザーが電源スイッチ12を再びオンにした後の処理について図5を参照しながら説明する。ユーザーが電源スイッチ12を再びオンにする(S201)。すると、制御回路21に電圧が供給される。これにより制御回路21は再び動作を開始する(S202)。
Next, processing after the user turns on the
続いて、電源混合回路16は時計回路17へ供給する電源を補助電源15から主電源11に切り替える(S203)。このとき、時計回路17は補助電源15から電力供給を受けている間に動作が停止したか否かをエラー履歴として記録する。具体的には例えば、時計回路17はエラーフラグを0から1に切り替える。
Subsequently, the power supply mixing circuit 16 switches the power supplied to the
次に、制御回路21は電圧監視部18が測定した補助電源15の電圧値を読み取る(S204)。本実施の形態1においては、この電圧値をVyaとする。
Next, the control circuit 21 reads the voltage value of the
続いて、制御回路21は切替回路14に対して補助電源15へ充電を開始するよう指示を送る(S205)。つまり、制御回路21は、補助電源15への充電を開始するに先立って補助電源15の電圧値を読み取ることとなる。
Subsequently, the control circuit 21 sends an instruction to the switching
次に、制御回路21は時計回路17のエラー履歴を読み取り、時計回路17の生成する時刻情報が有効か否かを判定する(S206)。具体的には、制御回路21は時計回路17のエラーフラグの値を読み出す。エラーフラグが0の場合、制御回路21は時刻情報を有効と判定する(S206:Yes)。この場合、制御回路21は期限付き暗号鍵の期限が有効か否かを判定するステップ(S207)へ進む。エラーフラグが1の場合、制御回路21は時刻情報を有効と判定しない(S206:No)。この場合、制御回路21は経過時間が算出可能か否かを判定するステップ(S210)へ進む。
Next, the control circuit 21 reads the error history of the
制御回路21は経過時間が算出可能か否かを判定する(S210)。まず、制御回路21は、ステップS100において電源スイッチ12がオフする前に記憶した時計回路17の時刻情報及びその時点における補助電源15の電圧値を読み出す。すなわち本実施の形態1においては、制御回路21は時刻情報Txaと電圧値Vxaを読み出す。次に、ステップS204において測定した補助電源15の電圧値Vyaを読み出す。電圧値Vyaが所定の範囲の場合は、図2を参照しながら説明した原理に基づいて、制御回路21は経過時間を算出することが可能である。例えば本実施の形態1においては、図2に示すグラフを参照すると、ty−txが経過時間となる。従って、時刻情報Txaに経過時間ty−txを加算し、現在の時刻情報を得ることができる。尚、経過時間の算出方法は、記憶部20に格納しておいた所定の計算式に基づく方法でもよいし、記憶部20に所定の表を格納しておき近似値を当てはめる方法でもよい。制御回路21が経過時間を算出した後(S210:Yes)は、制御回路21は時刻情報を更新し(S211)、ステップS207へ進む。一方、ステップS204において所定の範囲内で電圧値が測定されなかった場合は、制御回路21は経過時間を算出することができない(S210:No)。その場合、制御回路21は時計回路の時刻情報を初期化する。そして、制御回路21はユーザーに時刻情報を入力させるステップ(S212)へ進む。例えば、図示しない表示部が時刻情報の入力を促すメッセージを表示する。図示しない表示部及び入力部を介して、ユーザーが時刻情報を入力すると、制御回路21はステップS207へ進む。
The control circuit 21 determines whether or not the elapsed time can be calculated (S210). First, the control circuit 21 reads the time information of the
続いて、制御回路21は時刻情報が予め設定された暗号鍵の有効期限内か否かを判定する(S207)。制御回路21が時刻情報を暗号鍵の有効期限内であると判定した場合(S207:Yes)、制御回路21は無線通信手段である電子回路部23の機能を有効化する(S208)。すなわち、電子機器100は暗号鍵を用いた通信が可能な状態となり、制御回路21はユーザーによる操作を受け付ける。一方、制御回路21が時刻情報を暗号鍵の有効期限内であると判定しなかった場合(S207:No)、制御回路21は無線通信手段である電子回路部23の機能を無効化する(S209)。すなわち、電子機器100は暗号鍵を用いた通信が無効となり、制御回路21はユーザーによる操作を受け付けない。
Subsequently, the control circuit 21 determines whether the time information is within the expiration date of the preset encryption key (S207). When the control circuit 21 determines that the time information is within the validity period of the encryption key (S207: Yes), the control circuit 21 validates the function of the electronic circuit unit 23 that is a wireless communication unit (S208). That is, the
以上のように、本実施の形態によれば、主電源がオフになっている状態での消費電力を抑えつつ、期限付き機能が使用不能となることを防ぐことができる。 As described above, according to the present embodiment, it is possible to prevent the time-limited function from being disabled while suppressing power consumption in a state where the main power source is turned off.
実施の形態2
次に本発明に係る実施の形態2について説明する。図6は本発明に係る実施の形態2のブロック図である。重複した説明を避けるために、実施の形態1と同じブロックについては同じ番号を付している。
Embodiment 2
Next, a second embodiment according to the present invention will be described. FIG. 6 is a block diagram of Embodiment 2 according to the present invention. In order to avoid redundant description, the same blocks as those in the first embodiment are given the same numbers.
電子機器200と電子機器100との差異は、電源回路40、電源混合回路41、制御回路44である。以下に差異点について説明する。
Differences between the
電源回路40は、電源スイッチ12経由で受けた主電源からの電圧を安定させ、切替回路14及び電源混合回路41へ電力を供給する。
The power circuit 40 stabilizes the voltage from the main power received via the
電源混合回路41は、電源回路40から電力の供給を受けているときはこれを制御回路44及び時計回路17へ供給する。電源混合回路41は、例えば電圧コンパレータ及びスイッチング回路などによって構成される。また電源混合回路41は、電源回路40から電力の供給を受けていないときは補助電源15から受ける電力を制御回路44及び時計回路17へ供給する。
When receiving power from the power supply circuit 40, the power
制御回路44は、制御部42及び記憶部43を備える。制御回路44は、電源混合回路41から電力の供給を受ける。
The
制御部42は時計回路17が生成する時刻情報及びエラー履歴を読み取り、さらに電圧監視部18が測定する電圧値を読み取る。そして、制御部42は記憶部43にアクセスし、読み取った時刻情報及び電圧値を書き込み、また書き込んだ情報を読み取る。さらに、制御部42はこれら読み取った情報に応じて期限付き暗号鍵が有効であるか否かを判定する。具体的には、制御部42は図2において示す原理に基づき各データから経過時間を算出し、期限付き暗号鍵が有効であるか否かを判定する。
The control unit 42 reads the time information and error history generated by the
以上に説明した差異点によって、電子機器200は、電源スイッチ12がオフになった場合、補助電源15の電力を制御回路44及び時計回路17に供給する。
Due to the differences described above, the
次に、図7及び図8に示すフローチャートを参照しながら本発明の実施の形態2に係る電子機器200の処理について説明する。図7は主電源がオフになった後主電源が再びオンになる前までの処理を示すフローチャートである。図8は主電源が再びオンになった後の処理を示すフローチャートである。
Next, processing of the
まず図7のフローチャートについて詳細を説明する。ユーザーが電源スイッチ12をオフにする(S301)。すると、主電源11から電源回路40以降への電力の供給が停止する。それに伴い、電源混合回路41は制御回路44及び時計回路17に出力する電源を主電源11から補助電源15に切り替える(S302)。
First, the details of the flowchart of FIG. 7 will be described. The user turns off the power switch 12 (S301). Then, the supply of power from the main power supply 11 to the power supply circuit 40 and later stops. Accordingly, the power
次に、制御回路44は、主電源がオンからオフに切り替わったタイミングに基づいて定まる時刻に、時計回路17が生成する時刻情報と、その時刻において電圧監視部18が測定する電圧値とを記憶する。ここでは、制御回路44は、時計回路17が生成する時刻情報を読み込み、予め設定された所定の時間が経過するか否かを判定する(S303)。ここで、予め設定された所定の時間とは、補助電源15によって時計回路17が動作をすることができる時間をいう。かかる時間は回路設計や実験データ等に基づき決定される。所定時間を経過していない場合(S303:No)、制御回路44は更に時刻情報を読み込む。所定時間を経過している場合(S303:Yes)、制御回路44は、時刻情報とその時点における補助電池の電圧値を読み込み、これらを記憶部43に記憶させる(S304)。ここで本実施の形態2においては、記憶部43に記憶させた時刻をTxbとし、時刻Txbの電圧値をVxbとする。
Next, the
この後、補助電源15は制御回路44及び時計回路17に電圧を供給し続ける。そして、時計回路17の動作保障電圧を下回った後は、やがて時計回路は動作を停止する(S305)。
Thereafter, the
時計回路が動作を停止した後も、補助電源15は放電を継続する(S306)。
Even after the clock circuit stops operating, the
続いて、ユーザーが電源スイッチ12を再びオンにした後の処理について図8を参照しながら説明する。まず、ユーザーが電源スイッチ12を再びオンにする(S401)。すると、主電源11から電源回路40への電力の供給が再開する。それに伴い、電源混合回路41は、制御回路44及び時計回路17に出力する電源を補助電源15から主電源11に切り替える(S402)。
Next, processing after the user turns on the
次に、制御回路44は、電圧監視部18が測定する電圧値を読み取る(S403)。本実施の形態2においては、この電圧値をVybとする。
Next, the
続いて、制御回路44は切替回路14を切り替える指示を出し、補助電源15に対して充電を開始する(S404)。
Subsequently, the
次に、制御回路44は、時計回路17のエラー履歴を読み取り、時計回路17の生成する時刻情報が有効か否かを判定する(S405)。具体的には、制御回路44は時計回路17のエラーフラグの値を読み出す。制御回路44が時刻情報を有効と判定した場合(S405:Yes)、制御回路44は期限付き暗号鍵の期限が有効か否かを判定する(S406)。制御回路44が時刻情報を有効と判定しなかった場合(S405:No)、制御回路44は経過時間が算出可能か否かを判定する(S408)。
Next, the
経過時間が算出可能か否かの判定において、制御回路44は、ステップS304において記憶した時刻情報Txb及びその時点における電圧値Vxb、そしてステップS403において測定した電圧値Vybを参照する。電圧値Vybが所定の範囲内であった場合は、図2を参照しながら説明した原理に基づいて、制御回路44は経過時間を算出することが可能である。制御回路44が経過時間を算出できた場合(S408:Yes)、制御回路44は時刻情報を更新し(S409)、ステップS406へ進む。一方、ステップS403において電圧監視部18が所定の範囲内の電圧値を測定することができなかった場合は、制御回路44は経過時間を算出することができない(S408:No)。その場合、制御回路44は、時計回路17の時刻情報を初期化する。そして、制御回路44はユーザーに時刻情報を入力させるステップ(S410)へ進む。例えば、図示しない表示部が時刻情報の入力を促すメッセージを表示する。図示しない表示部及び入力部を介して、ユーザーが時刻情報を入力すると、制御回路44はステップS406へ進む。
In determining whether the elapsed time can be calculated, the
続いて、制御回路44は時刻情報が予め設定された暗号鍵の有効期限内か否かを判定する(S406)。制御回路44が時刻情報を暗号鍵の有効期限内であると判定した場合(S406:Yes)、制御回路21は無線通信手段である電子回路部23の機能を有効化する(S407)。すなわち、電子機器200は暗号鍵を用いた通信が可能な状態となり、制御回路44はユーザーによる操作を受け付ける。一方、制御回路44が時刻情報を暗号鍵の有効期限内であると判定しなかった場合(S406:No)、制御回路21は無線通信手段である電子回路部23の機能を無効化する(S411)。すなわち、電子機器200は暗号鍵を用いた通信が無効となり、制御回路44はユーザーによる操作を受け付けない。
Subsequently, the
尚、図7のステップS304は1度でも構わないし、時計回路17の動作が停止するまでに複数回行ってもよく、その都度、記憶部のデータを上書きしても構わない。
Note that step S304 in FIG. 7 may be performed once, or may be performed a plurality of times before the operation of the
以上のように、本実施の形態によれば、主電源がオフになった後も補助電源の電圧を監視することにより、精度よく経過時間を算出し、期限付き機能が使用不能となることを防ぐことができる。 As described above, according to the present embodiment, by monitoring the voltage of the auxiliary power supply even after the main power supply is turned off, the elapsed time can be accurately calculated, and the time limit function can be disabled. Can be prevented.
実施の形態3
次に本発明に係る実施の形態3について説明する。実施の形態3のブロック構成は、実施の形態2と同じ(図6)である。実施の形態2と実施の形態3との差異点は主電源がオフになった後主電源が再びオンになる前までの処理にある。したがって、ここではブロック図の説明を省略する。
Next, a third embodiment according to the present invention will be described. The block configuration of the third embodiment is the same as that of the second embodiment (FIG. 6). The difference between the second embodiment and the third embodiment lies in the processing from when the main power source is turned off to before the main power source is turned on again. Therefore, description of the block diagram is omitted here.
次に、図9に示すフローチャートを参照しながら本発明の実施の形態3に係る電子機器200の処理について説明する。図9は主電源がオフになった後主電源が再びオンになる前までの処理を示すフローチャートである。ステップS301及びステップS302は実施の形態2と同じであるためここでの説明は省略する。
Next, processing of
次に制御回路44は電圧監視部18が測定する電圧値を読み込み、予め設定された所定の電圧を下回るか否かを判定する(S503)。ここで、予め設定された所定の電圧とは、補助電源15によって時計回路17が動作をすることができる電圧をいう。言い換えれば、予め設定された所定の電圧とは動作保障電圧を下回らない電圧であり、図2のV2よりも高い電圧である。所定電圧を下回っていない場合(S503:No)、制御回路44は更に電圧値を読み込む。そして所定電圧を下回った場合(S503:Yes)、制御回路44は、時刻情報とその時点における補助電池の電圧値を読み込み、これらを記憶部43に記憶させる(S504)。ここで本実施の形態3においては、記憶部43に記憶させた時刻をTxcとし、時刻Txcの電圧値をVxcとする。
Next, the
この後の処理は実施の形態2と同じであるために、ここから放電継続まで(S306)の図9についての説明は省略する。 Since the subsequent processing is the same as that of the second embodiment, the description of FIG. 9 from here to the continuation of discharge (S306) will be omitted.
また、この後実施の形態3に係る電子機器200において、ユーザーが電源スイッチ12を再びオンにした後の処理については、図8と同様である。ただし、本実施の形態3においては、ステップS403において、制御回路44が読み取る電圧値をVycとする。また、経過時間が算出可能か否かの判定において、制御回路44は、ステップS304において記憶した時刻情報Txb及びその時点における電圧値Vxb、そしてステップS403において測定した電圧値Vybを参照する。本実施の形態3におけるその他の処理は、本実施の形態2において図8を参照して説明した内容と同様であるため、ここでは省略する。
Further, in the
尚、ステップS504は1度でも構わないし、時計回路17の動作が停止するまでに複数回行ってもよく、その都度、記憶部43のデータを上書きしてもよい。
Note that step S504 may be performed once, or may be performed a plurality of times before the operation of the
実施の形態3において主電源11が再びオンになった場合の処理については、実施の形態2と同じであるためここでの説明は省略する。 Since the processing when the main power supply 11 is turned on again in the third embodiment is the same as that in the second embodiment, the description thereof is omitted here.
以上のように、本実施の形態3によれば、主電源11がオフになった後も補助電源15の電圧を監視することにより、精度よく経過時間を算出し、期限付き機能が使用不能となることを防ぐことができる。
As described above, according to the third embodiment, the elapsed time can be accurately calculated by monitoring the voltage of the
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。例えば、主電源11からの電力の供給は、電源スイッチ12を全て経由せず、主電源11の一部を直接、切替回路14へ供給することもできる。また補助電源15からの電圧を使って動作する場合の消費電力を抑制するため、制御回路44は主演算処理部に加えて補助演算処理部を備えていても良い。その場合、電源スイッチ12がオフになると、制御部42は動作を停止し、電源混合回路41から供給される電圧により、図示しない補助演算処理部が動作して、通信バス22を介して各演算を行ってもよい。電子回路部23は、有効期限が設定された暗号鍵により動作もしくは操作が制限される電子機器であれば無線通信手段には限定されない。
Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention. For example, the supply of power from the main power supply 11 can be directly supplied to the switching
100,200 電子機器
11 主電源
12 電源スイッチ
13,40 電源回路
14 切替回路
15 補助電源
16,41 電源混合回路
17 時計回路
18 電圧監視部
19,42 制御部
20,43 記憶部
21,44 制御回路
22 通信バス
23 電子回路部
100, 200 Electronic device 11
Claims (5)
主電源と、
前記主電源からの電力供給によって充電される補助電源と、
前記補助電源の電圧値を測定する電圧監視部と、
時刻情報を生成し、前記主電源のオン時には主電源からの電力供給により動作し、前記主電源のオフ時には前記補助電源からの電力供給により動作する時計回路と、
前記時刻情報と前記電圧値を記憶する記憶部と、
第1の時刻の時刻情報と前記第1の時刻における第1の電圧値と、前記第1の時刻の後であって前記主電源がオフからオンに切り替わったとき、前記主電源から前記補助電源への充電を開始するに先立って測定した第2の電圧値とに基づいた第2の時刻により前記期限付き機能が有効であるか否かを判定する制御部と、
を備える、
電子機器。 An electronic device having a time-limited function,
A main power supply,
An auxiliary power source charged by power supply from the main power source;
A voltage monitoring unit for measuring a voltage value of the auxiliary power source;
A timepiece circuit that generates time information and operates by power supply from a main power supply when the main power supply is on, and operates by power supply from the auxiliary power supply when the main power supply is off;
A storage unit for storing the time information and the voltage value;
The time information of the first time, the first voltage value at the first time, and when the main power source is switched from off to on after the first time, the main power source to the auxiliary power source A controller that determines whether or not the time-limited function is valid at a second time based on a second voltage value measured prior to starting charging to
Comprising
Electronics.
第1の時刻における時刻情報と、前記第1の時刻における前記補助電源の第1の電圧値と、第2の時刻における前記補助電源の第2の電圧値とに基づき、前記第1の時刻から前記第2の時刻までの経過時間を算出する、
請求項1に記載の電子機器。 The controller is
Based on the time information at the first time, the first voltage value of the auxiliary power source at the first time, and the second voltage value of the auxiliary power source at the second time, from the first time Calculating an elapsed time until the second time;
The electronic device according to claim 1.
前記主電源がオンからオフに切り替わったタイミングに基づいて定まる時刻である、
請求項1又は2に記載の電子機器。 The first time is
It is a time determined based on the timing at which the main power source is switched from on to off.
The electronic device according to claim 1 or 2.
前記主電源がオンからオフに切り替わった後、前記電圧値が所定の値を下回った時である、
請求項1又は2に記載の電子機器。 The first time is
After the main power is switched from on to off, the voltage value falls below a predetermined value.
The electronic device according to claim 1 or 2.
請求項2に記載の電子機器。 Adding the calculated elapsed time to the first time and displaying the added time information;
The electronic device according to claim 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016131949A JP2018005572A (en) | 2016-07-01 | 2016-07-01 | Electronic instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016131949A JP2018005572A (en) | 2016-07-01 | 2016-07-01 | Electronic instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018005572A true JP2018005572A (en) | 2018-01-11 |
Family
ID=60947971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016131949A Pending JP2018005572A (en) | 2016-07-01 | 2016-07-01 | Electronic instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018005572A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020153970A (en) * | 2019-03-20 | 2020-09-24 | レナタ・アーゲー | Wristwatch with battery integrated in clasp |
-
2016
- 2016-07-01 JP JP2016131949A patent/JP2018005572A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020153970A (en) * | 2019-03-20 | 2020-09-24 | レナタ・アーゲー | Wristwatch with battery integrated in clasp |
US11460815B2 (en) | 2019-03-20 | 2022-10-04 | Renata Ag | Wristwatch with battery integrated in the clasp |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100987606B1 (en) | Apparatus and method for correcting measurements of remaining capacity of battery pack | |
US8400116B2 (en) | Method and apparatus for calculating power-off duration time and state of charging of battery | |
US10557890B2 (en) | Battery capacity monitor | |
KR100354243B1 (en) | Method for generating data for monitoring and controlling states of charge and discharge of secondary battery | |
US6956488B2 (en) | Method of and apparatus for setting battery alarm voltage in battery management server | |
CN104037835B (en) | The method for charging batteries of information processor and information processor | |
JP2009017775A (en) | Charging management method and device of battery for portable terminal | |
JP2004304940A (en) | Battery pack, electronic apparatus, battery remaining capacity prediction system, and semiconductor device | |
JP5035800B2 (en) | Mobile device | |
JP2018005572A (en) | Electronic instrument | |
CN107436410A (en) | A kind of electric quantity controlling method, device, equipment and storage medium | |
JP2008226758A (en) | Charge management device, control method for the same, and control program | |
KR20190031653A (en) | Battery status based charging control method and appratus thereof | |
JP2011062028A (en) | Chargeable device and method of charging the same | |
WO2017020592A1 (en) | Discharging method, terminal equipment, and computer storage medium | |
JP2003009407A (en) | Information terminal equipment | |
EP2672562B1 (en) | Systems and methods for predicting battery power-delivery performance | |
JP6376860B2 (en) | Mobile terminal device | |
JP2010206706A (en) | Terminal device, battery residual quantity display method, and program | |
CN110138038A (en) | A kind of charging reminding method, device, wearable device and storage medium | |
JP6261970B2 (en) | Battery deterioration determination device, battery deterioration determination method, and battery deterioration determination program | |
JP2809661B2 (en) | Battery driven information processing device, battery power supply system, and battery management device | |
JP3921492B2 (en) | Electronic equipment | |
KR100512165B1 (en) | A method for calibrating a capacity of battery | |
KR102405088B1 (en) | Information processing apparatus and charging method therefor |