JP7117948B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP7117948B2
JP7117948B2 JP2018165898A JP2018165898A JP7117948B2 JP 7117948 B2 JP7117948 B2 JP 7117948B2 JP 2018165898 A JP2018165898 A JP 2018165898A JP 2018165898 A JP2018165898 A JP 2018165898A JP 7117948 B2 JP7117948 B2 JP 7117948B2
Authority
JP
Japan
Prior art keywords
time
electronic device
elapsed time
unit
change
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.)
Active
Application number
JP2018165898A
Other languages
Japanese (ja)
Other versions
JP2020038540A (en
Inventor
雄三 藤田
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP2018165898A priority Critical patent/JP7117948B2/en
Publication of JP2020038540A publication Critical patent/JP2020038540A/en
Application granted granted Critical
Publication of JP7117948B2 publication Critical patent/JP7117948B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Description

この発明は、自機に関する動作変化を示すログを記録する電子機器に関する。 TECHNICAL FIELD The present invention relates to an electronic device that records a log indicating changes in operation of the device itself.

計測機器等の電子機器では、従来から一般的に、自機の動作状態を把握可能とするため、エラーログを不揮発性メモリ等に記録している。エラーログには、エラーの内容及び当該エラーの発生時刻を示す情報が含まれる。また、電子機器が有する内部時計は、電源とは別にバッテリ(二次電池)を有している(例えば特許文献1参照)。これにより、電子機器は、電源供給が停止して復帰した場合でも、時刻情報を確保でき、自機の動作状態を把握可能となる。一方で、内部時計がバッテリを有していない場合、電源供給が停止して復帰した場合には、時刻情報が確保できずにリセットされてしまう。 2. Description of the Related Art Conventionally, electronic devices such as measuring devices generally record an error log in a non-volatile memory or the like so as to be able to grasp the operating state of the device itself. The error log contains information indicating the content of the error and the time at which the error occurred. Further, an internal clock included in an electronic device has a battery (secondary battery) in addition to a power source (see, for example, Patent Document 1). As a result, even when the power supply is stopped and then restored, the electronic device can secure the time information and can grasp the operating state of the device itself. On the other hand, if the internal clock does not have a battery, when the power supply is stopped and then restored, the time information cannot be secured and the internal clock is reset.

特開平7-219673号公報JP-A-7-219673

このように従来の電子機器は、バッテリを有し、電源供給が停止して復帰した場合でも、時刻情報を確保可能としている。しかしながら、電子機器がバッテリを有する場合、バッテリ交換のための複雑なケース構造が必要となるため製品コストが増大し、また、バッテリ交換によるメンテナンスコストが増大する。また、バッテリとして用いられることが多いリチウム電池は、近年輸送等の取扱いが複雑化している。これらの理由から、バッテリを用いない構成が望まれている。 As described above, the conventional electronic device has a battery, and can secure time information even when the power supply is stopped and restored. However, when an electronic device has a battery, a complicated case structure is required for battery replacement, which increases the product cost and also increases the maintenance cost due to the battery replacement. Lithium batteries, which are often used as batteries, have recently become complicated to handle in transportation and the like. For these reasons, a configuration that does not use a battery is desired.

この発明は、上記のような課題を解決するためになされたもので、バッテリを搭載せずに、自機の動作状態を把握可能とする電子機器を提供することを目的としている。 SUMMARY OF THE INVENTION The present invention has been made to solve the problems described above, and an object of the present invention is to provide an electronic device capable of grasping its operating state without mounting a battery.

この発明に係る電子機器は、不揮発性メモリと、自機への電源供給の開始からの経過時間又は経過時刻を計時する計時部と、自機への電源供給の開始を含む自機に関する動作変化を検出する動作変化検出部と、動作変化検出部により動作変化が検出された場合に、当該動作変化の内容及び計時部により計時された経過時間又は経過時刻に基づく当該動作変化の発生時間又は発生時刻を示すログを、不揮発性メモリに記録するログ記録部とを備え、動作変化検出部は、自機への電源供給における電圧低下を検出する機能を有し、ログ記録部は、動作変化検出部により検出された自機への電源供給における電圧低下及び当該電圧低下の発生時間又は発生時刻を示す情報を含むログを、不揮発性メモリに記録することを特徴とする。 An electronic device according to the present invention comprises a non-volatile memory, a timer section for measuring the elapsed time or elapsed time from the start of power supply to the device, and an operation change related to the device including the start of power supply to the device. and when a change in behavior is detected by the change in behavior detection unit, the occurrence time or occurrence of the change in behavior based on the content of the change in behavior and the elapsed time or elapsed time measured by the timer a log recording unit that records a log indicating time in a nonvolatile memory ; the operation change detection unit has a function of detecting a voltage drop in the power supply to the device itself; and the log recording unit detects the operation change. A log including information indicating a voltage drop in the power supply to the device detected by the unit and the occurrence time or occurrence time of the voltage drop is recorded in a non-volatile memory .

この発明によれば、上記のように構成したので、バッテリを搭載せず、自機の動作状態を把握可能となる。 According to the present invention, since it is configured as described above, it is possible to grasp the operation state of the self-machine without installing a battery.

この発明の実施の形態1に係る電子機器の構成例を示す図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a figure which shows the structural example of the electronic device which concerns on Embodiment 1 of this invention. この発明の実施の形態1における不揮発性メモリに記録される情報の一例を示す図である。It is a figure which shows an example of the information recorded on the non-volatile memory in Embodiment 1 of this invention.

以下、この発明の実施の形態について図面を参照しながら詳細に説明する。
実施の形態1.
図1はこの発明の実施の形態1に係る電子機器の構成例を示す図である。
電子機器は、図1に示すように、不揮発性メモリ1、計時部2、定期記録部3、動作変化検出部4及びログ記録部5を備えている。なお、電子機器は、システムLSI(Large Scale Integration)等の処理回路、又はメモリ等に記憶されたプログラムを実行するCPU(Central Processing Unit)等により実現される。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Embodiment 1.
FIG. 1 is a diagram showing a configuration example of an electronic device according to Embodiment 1 of the present invention.
As shown in FIG. 1, the electronic device includes a nonvolatile memory 1, a timer 2, a periodical recorder 3, an operation change detector 4, and a log recorder 5. As shown in FIG. Note that the electronic device is implemented by a processing circuit such as a system LSI (Large Scale Integration) or a CPU (Central Processing Unit) that executes a program stored in a memory or the like.

不揮発性メモリ1は、定期記録部3及びログ記録部5による制御に従い、各種情報を記録する。 The nonvolatile memory 1 records various information under the control of the regular recording unit 3 and the log recording unit 5 .

計時部2は、電子機器への電源供給の開始からの経過時間又は経過時刻を計時する。なお、電子機器への電源供給が停止して復帰した場合には、計時部2により計時されている経過時間又は経過時刻はリセットされて初期値に戻る。この計時部2としては、例えば、バッテリを有していないRTC(リアルタイムクロック)を用いることができる。RTCは、経過時間をカウントして時刻の形式に変換する機能を有する。また、計時部2として、例えば、クロックにより動作するカウンタを用いてもよい。カウンタは、経過時間をカウントする機能を有する。 The clock unit 2 clocks the elapsed time or elapsed time from the start of power supply to the electronic device. It should be noted that when the power supply to the electronic device is stopped and restored, the elapsed time or the elapsed time clocked by the timer 2 is reset and returns to the initial value. As the timer 2, for example, an RTC (real time clock) without a battery can be used. The RTC has a function of counting elapsed time and converting it into time format. Further, as the timer 2, for example, a counter operated by a clock may be used. The counter has the function of counting elapsed time.

定期記録部3は、定期的(例えば1秒毎)に、計時部2により計時された経過時間又は経過時刻を示す情報を、不揮発性メモリ1の特定のアドレスに記録する。
なお図1では、定期記録部3が電子機器に設けられている場合を示している。しかしながら、この定期記録部3は、電子機器に必須の構成ではなく、電子機器に設けられていなくてもよい。
The regular recording unit 3 periodically (for example, every second) records the elapsed time measured by the clock unit 2 or information indicating the elapsed time at a specific address in the nonvolatile memory 1 .
Note that FIG. 1 shows a case where the periodic recording unit 3 is provided in an electronic device. However, the periodical recording section 3 is not an essential component of the electronic device and may not be provided in the electronic device.

動作変化検出部4は、電子機器への電源供給の開始を含む電子機器に関する動作変化を検出する。以下では、動作変化検出部4は、電子機器に関する動作変化として、電子機器のエラーも検出する。また、動作変化検出部4は、電子機器に関する動作変化として、電子機器への電源供給における電圧異常(電圧低下)を検出するPF(パワーフェール)機能を有していてもよい。電子機器は、PF機能により電圧異常が検出された場合、電源が落ちるまでの数msの間に不揮発性メモリ1に必要情報をバックアップする。 The operation change detection unit 4 detects a change in operation regarding the electronic device including the start of power supply to the electronic device. In the following description, the motion change detection unit 4 also detects an error in the electronic device as a motion change related to the electronic device. Further, the operation change detection unit 4 may have a PF (power fail) function that detects a voltage abnormality (voltage drop) in the power supply to the electronic device as a change in the operation of the electronic device. When a voltage abnormality is detected by the PF function, the electronic device backs up necessary information in the nonvolatile memory 1 for several milliseconds until the power is turned off.

ログ記録部5は、動作変化検出部4により動作変化が検出された場合に、当該動作変化を示すログを不揮発性メモリ1に記録する。このログには、動作変化の内容及び動作変化の発生時間又は発生時刻を示す情報が含まれる。また、ログ記録部5は、動作変化の発生時間又は発生時刻を、計時部2により計時されている経過時間又は経過時刻から得る。また、ログ記録部5は、ログを、動作変化の発生順に不揮発性メモリ1に記録する。 The log recording unit 5 records a log indicating the change in motion in the nonvolatile memory 1 when the change in motion is detected by the change detection unit 4 . This log includes information indicating the content of the behavior change and the occurrence time or occurrence time of the behavior change. In addition, the log recording unit 5 obtains the occurrence time or occurrence time of the action change from the elapsed time or elapsed time clocked by the clock unit 2 . In addition, the log recording unit 5 records the log in the nonvolatile memory 1 in order of occurrence of changes in behavior.

また、動作変化検出部4がPF機能を有している場合、ログ記録部5は、ログとして、電子機器への電源供給における電圧低下及び当該電圧低下の発生時間又は発生時刻を示す情報を含むログを、不揮発性メモリ1に記録可能である。
また、ログ記録部5は、電子機器への電源供給が停止して復帰した際に、不揮発性メモリ1の特定のアドレスに記録されている経過時間又は経過時刻を示す情報を、当該電源供給が停止した時間又は時刻を示す情報として当該不揮発性メモリ1に記録する。
Further, when the behavior change detection unit 4 has a PF function, the log recording unit 5 includes, as a log, information indicating a voltage drop in the power supply to the electronic device and the time or occurrence time of the voltage drop. A log can be recorded in the non-volatile memory 1 .
Further, when the power supply to the electronic device is stopped and then restored, the log recording unit 5 records the elapsed time or information indicating the elapsed time recorded at a specific address in the nonvolatile memory 1. It is recorded in the non-volatile memory 1 as information indicating the stop time or time.

次に、図1に示す電子機器の動作例について、図2を参照しながら説明する。なお、計時部2は、バッテリを有していないRTCであり、電子機器への電源供給の開始からの経過時刻を計時しているものとする。この計時部2はバッテリを有していないため、電子機器への電源供給が停止して復帰した場合には、計時部2により計時されている経過時刻はリセットされて初期値に戻る。 Next, an operation example of the electronic device shown in FIG. 1 will be described with reference to FIG. Note that the clock unit 2 is an RTC that does not have a battery, and clocks the elapsed time from the start of power supply to the electronic device. Since the timekeeping unit 2 does not have a battery, when the power supply to the electronic device is stopped and restored, the elapsed time kept by the timekeeping unit 2 is reset to the initial value.

図2に示すように、定期記録部3は、定期的(例えば1秒毎)に、計時部2により計時された経過時刻を示す情報を、不揮発性メモリ1の特定のアドレス(図2ではアドレス「1001」)に記録している。すなわち、アドレス「1001」に記録される経過時刻を示す情報は、定期的に更新される。図2では、計時部2により計時される経過時刻の初期値は、「2001/01/01 00:00:00」である。 As shown in FIG. 2, the regular recording unit 3 periodically (for example, every second) stores information indicating the elapsed time measured by the timer unit 2 at a specific address (in FIG. 2, address "1001"). That is, the information indicating the elapsed time recorded at the address "1001" is updated periodically. In FIG. 2, the initial value of the elapsed time measured by the timer 2 is "2001/01/01 00:00:00".

また、動作変化検出部4は、電子機器に関する動作変化の検出を行う。そして、動作変化検出部4により動作変化が検出されると、ログ記録部5は、当該動作変化を示すログを不揮発性メモリ1に記録する。なお、ログ記録部5は、動作変化の発生時刻を、計時部2により計時された経過時刻から得る。 Also, the motion change detection unit 4 detects a motion change related to the electronic device. Then, when the change in motion is detected by the change in motion detection unit 4 , the log recording unit 5 records a log indicating the change in motion in the nonvolatile memory 1 . Note that the log recording unit 5 obtains the time at which the behavior change occurred from the elapsed time measured by the clock unit 2 .

図2では、アドレス「1002」に、電源オン(電子機器への電源供給の開始)を示すログが記録されている。また、図2では、アドレス「1003」~「1005」に、電子機器のエラーを示すログが記録されている。また、図2では、アドレス「1006」に、電源低下(電子機器への電源供給における電圧低下)を示すログが記録されている。 In FIG. 2, a log indicating power-on (start of power supply to the electronic device) is recorded at address "1002". Also, in FIG. 2, logs indicating errors in the electronic device are recorded at addresses "1003" to "1005". Also, in FIG. 2, a log indicating a power drop (a voltage drop in the power supply to the electronic device) is recorded at address "1006".

また、図2では、アドレス「1007」に、電源オンを示すログが再び記録されている。すなわち、このアドレス「1007」に記録されているログが示す電源オンの発生時刻と、1つ前のアドレス「1006」に記録されているログが示す電源低下の発生時刻との間の期間に、電源オフ(電子機器への電源供給の停止)が発生していることがわかる。
なお、電子機器への電源供給が停止して復帰した場合には計時部2により計時されている経過時刻がリセットされて初期値に戻る。そのため、アドレス「1007」に記録されているログが示す電源オンの発生時刻は、上記初期値となっている。
In addition, in FIG. 2, a log indicating power-on is again recorded at address "1007". That is, during the period between the power-on occurrence time indicated by the log recorded at this address "1007" and the power-down occurrence time indicated by the log recorded at the previous address "1006", It can be seen that a power off (stop of power supply to the electronic device) has occurred.
It should be noted that when the power supply to the electronic device is stopped and restored, the elapsed time clocked by the clock unit 2 is reset and returns to the initial value. Therefore, the power-on occurrence time indicated by the log recorded at address "1007" is the initial value.

また、図2では示していないが、ログ記録部5は、電子機器への電源供給が停止して復帰した際に、不揮発性メモリ1の特定のアドレスに記録されている経過時刻を、当該電源供給が停止した時刻として不揮発性メモリ1に記録する。 Although not shown in FIG. 2, the log recording unit 5 stores the elapsed time recorded at a specific address in the nonvolatile memory 1 when the power supply to the electronic device is stopped and then restored. It is recorded in the non-volatile memory 1 as the time when the supply was stopped.

ここで、従来の電子機器においてバッテリを搭載しない場合、電子機器への電源供給が停止して復帰した場合には、時刻情報が確保できない。また、従来の電子機器では、エラーログのみを不揮発性メモリ等に記録している。よって、この場合には、電子機器の動作状態を把握できない。
これに対し、実施の形態1に係る電子機器は、バッテリを搭載しない点は同じであるが、エラーログに加え、電子機器への電源供給の開始についてもログとして不揮発性メモリ1に記録する。これにより、実施の形態1に係る電子機器は、バッテリを搭載せずとも、電子機器の現場導入後からの電源のリセット回数及び発生したエラーの内容を把握可能となり、自機の動作状態を把握可能となる。その結果、実施の形態1に係る電子機器は、自機の動作状態の解析を、低コスト及び低メンテナンスコストで実現可能となる。
Here, if a battery is not installed in a conventional electronic device, or if the power supply to the electronic device is stopped and restored, the time information cannot be secured. Further, in conventional electronic devices, only error logs are recorded in a non-volatile memory or the like. Therefore, in this case, the operating state of the electronic device cannot be grasped.
On the other hand, the electronic device according to the first embodiment is the same in that it does not have a battery, but in addition to the error log, the start of power supply to the electronic device is also recorded in the nonvolatile memory 1 as a log. As a result, the electronic device according to the first embodiment can grasp the number of times the power supply is reset after the electronic device is introduced to the site and the content of the error that has occurred without installing a battery, thereby grasping the operating state of the device itself. It becomes possible. As a result, the electronic device according to the first embodiment can analyze its operating state at low cost and low maintenance cost.

図2では、アドレス「1007」及びアドレス「1011」に電源オンを示すログが記録されており、電子機器の現場導入後から電源が2回リセットされたことがわかる。
また、図2では、アドレス「1004」に記録されているログとアドレス「1009」に記録されているログから、同じの経過時刻「2005/6/20 21:45:02」に同じエラー「YYYY」が発生していることがわかる。
In FIG. 2, a log indicating power-on is recorded at addresses "1007" and "1011", and it can be seen that the power has been reset twice after the electronic device was installed on site.
Also, in FIG. 2, the log recorded at address "1004" and the log recorded at address "1009" indicate that the same error "YYYY ” is occurring.

また上記では、定期記録部3は、定期的に、計時部2により計時された経過時刻を示す情報を、不揮発性メモリ1の特定のアドレスに記録している。そして、ログ記録部5は、電子機器への電源供給が停止して復帰した際に、上記特定のアドレスに記録されている経過時刻を示す情報を、当該電源供給が停止した時刻を示す情報として不揮発性メモリ1に記録している。
また、動作変化検出部4はPF機能を有し、ログ記録部5は、動作変化検出部4により検出された電子機器への電源供給における電圧低下及び当該電圧低下の発生時刻を示すログを、不揮発性メモリ1に記録している。
これらにより、実施の形態1に係る電子機器では、電子機器への電源供給が停止した時刻を大よそ把握可能となる。よって、ユーザは、電子機器の動作開始時刻が既知である場合、電子機器への電源供給が復帰した後に、リセットされた経過時刻に電源供給が停止した時刻又は電圧低下の発生時刻を加算することで、電子機器の動作時刻を大よそ把握可能である。なおこの処理は、電子機器が自動で行ってもよい。
Moreover, in the above description, the regular recording unit 3 periodically records the information indicating the elapsed time measured by the clock unit 2 at a specific address of the nonvolatile memory 1 . Then, when the power supply to the electronic device is stopped and restored, the log recording unit 5 uses the information indicating the elapsed time recorded at the specific address as the information indicating the time when the power supply was stopped. It is recorded in the nonvolatile memory 1.
In addition, the behavior change detection unit 4 has a PF function, and the log recording unit 5 stores a log indicating the voltage drop in the power supply to the electronic device detected by the behavior change detection unit 4 and the time when the voltage drop occurred, It is recorded in the nonvolatile memory 1.
As a result, the electronic device according to the first embodiment can roughly grasp the time when the power supply to the electronic device is stopped. Therefore, when the operation start time of the electronic device is known, the user can add the time when the power supply is stopped or the time when the voltage drop occurs to the reset elapsed time after the power supply to the electronic device is restored. Therefore, it is possible to roughly grasp the operation time of the electronic device. Note that this processing may be automatically performed by the electronic device.

なお、実施の形態1に係る電子機器では、電子機器への電源供給が停止してから復帰するまでの時間は把握できないが、その時間は電子機器の周りの機器の状況により判断可能である。 In addition, in the electronic device according to the first embodiment, it is not possible to grasp the time from when the power supply to the electronic device is stopped until when it is restored, but the time can be determined based on the conditions of the devices around the electronic device.

また、実施の形態1に係る電子機器に対し、ユーザからの時間又は時刻の入力を受付け、計時部2により計時されている経過時間又は経過時刻を当該受付けた時間又は時刻に設定し直す設定部を追加してもよい。これにより、実施の形態1に係る電子機器は、計時部2により計時されている経過時間又は経過時刻がリセットされて初期値に戻った場合でも、当該経過時間又は経過時刻を正確な時間又は時刻に合わせることが可能となり、電子機器の動作状態をより精密に把握可能となる。 Further, a setting unit that receives an input of time or time from the user and resets the elapsed time or the elapsed time measured by the clock unit 2 to the received time or time for the electronic device according to the first embodiment. may be added. As a result, even when the elapsed time or the elapsed time measured by the time measuring unit 2 is reset and returns to the initial value, the electronic device according to the first embodiment can maintain the elapsed time or the elapsed time as an accurate time or time. , and the operating state of the electronic device can be grasped more precisely.

また上記では、動作変化検出部4が電子機器に関する動作変化として電子機器のエラーを検出する場合について示した。しかしながら、これに限らず、動作変化検出部4が電子機器に関する動作変化として電子機器に対する設定又は操作を検出してもよく、同様の効果が得られる。 In the above description, the case where the motion change detection unit 4 detects an error in the electronic device as a motion change related to the electronic device has been described. However, without being limited to this, the motion change detection unit 4 may detect a setting or an operation on the electronic device as a motion change regarding the electronic device, and similar effects can be obtained.

以上のように、この実施の形態1によれば、電子機器は、不揮発性メモリ1と、自機への電源供給の開始からの経過時間又は経過時刻を計時する計時部2と、自機への電源供給の開始を含む自機に関する動作変化を検出する動作変化検出部4と、動作変化検出部4により動作変化が検出された場合に、当該動作変化の内容及び計時部2により計時された経過時間又は経過時刻に基づく当該動作変化の発生時間又は発生時刻を示すログを、不揮発性メモリ1に記録するログ記録部5とを備えた。これにより、実施の形態1に係る電子機器は、バッテリを搭載せず、自機の動作状態を把握可能となる。 As described above, according to the first embodiment, the electronic device includes the nonvolatile memory 1, the timer 2 for measuring the elapsed time from the start of power supply to the device or the elapsed time, and and when a change in motion is detected by the change in motion detection unit 4, the content of the change in motion and the time measured by the timer unit 2 are detected. A log recording unit 5 for recording, in the nonvolatile memory 1, a log indicating the occurrence time or occurrence time of the change in behavior based on the elapsed time or elapsed time. As a result, the electronic device according to the first embodiment can grasp the operating state of itself without being equipped with a battery.

なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。 It should be noted that, within the scope of the present invention, any component of the embodiment can be modified, or any component of the embodiment can be omitted.

1 不揮発性メモリ
2 計時部
3 定期記録部
4 動作変化検出部
5 ログ記録部
1 non-volatile memory 2 timer unit 3 periodic recording unit 4 operation change detection unit 5 log recording unit

Claims (5)

不揮発性メモリと、
自機への電源供給の開始からの経過時間又は経過時刻を計時する計時部と、
自機への電源供給の開始を含む自機に関する動作変化を検出する動作変化検出部と、
前記動作変化検出部により動作変化が検出された場合に、当該動作変化の内容及び前記計時部により計時された経過時間又は経過時刻に基づく当該動作変化の発生時間又は発生時刻を示すログを、前記不揮発性メモリに記録するログ記録部とを備え、
前記動作変化検出部は、自機への電源供給における電圧低下を検出する機能を有し、
前記ログ記録部は、前記動作変化検出部により検出された自機への電源供給における電圧低下及び当該電圧低下の発生時間又は発生時刻を示す情報を含むログを、前記不揮発性メモリに記録する
ことを特徴とする電子機器。
a non-volatile memory;
a clocking unit that clocks the elapsed time or the elapsed time from the start of power supply to the device;
an operation change detection unit that detects a change in operation regarding the own device including the start of power supply to the own device;
When a change in action is detected by the change in action detection unit, a log indicating the content of the change in action and the time or time of occurrence of the change in action based on the elapsed time or elapsed time measured by the timer unit; A log recording unit that records in a nonvolatile memory ,
The operation change detection unit has a function of detecting a voltage drop in power supply to the device,
The log recording unit records, in the non-volatile memory, a log including information indicating a voltage drop in the power supply to the device detected by the operation change detecting unit and the occurrence time or occurrence time of the voltage drop.
An electronic device characterized by:
前記計時部により計時された経過時間又は経過時刻を示す情報を定期的に前記不揮発性メモリの特定のアドレスに記録する定期記録部を備え、
前記ログ記録部は、自機への電源供給が停止して復帰した際に、前記不揮発性メモリの特定のアドレスに記録されている経過時間又は経過時刻を示す情報を、当該電源供給が停止した時間又は時刻を示す情報として当該不揮発性メモリに記録する
ことを特徴とする請求項1記載の電子機器。
A regular recording unit that periodically records the elapsed time or information indicating the elapsed time measured by the time measuring unit at a specific address of the nonvolatile memory,
When the power supply to the device is stopped and then restored, the log recording unit stores the elapsed time or information indicating the elapsed time recorded at a specific address of the nonvolatile memory. 2. The electronic device according to claim 1, wherein the information is recorded in the nonvolatile memory as information indicating time.
時間又は時刻の入力を受付け、前記計時部により計時されている経過時間又は経過時刻を当該受付けた時間又は時刻に設定し直す設定部を備えた
ことを特徴とする請求項1又は請求項記載の電子機器。
3. The apparatus according to claim 1 or 2 , further comprising a setting unit that receives an input of time or time and resets the elapsed time or elapsed time measured by the time measuring unit to the received time or time. electronics.
前記計時部は、バッテリを有していないリアルタイムクロックである
ことを特徴とする請求項1から請求項のうちの何れか1項記載の電子機器。
The electronic device according to any one of claims 1 to 3 , wherein the timer is a real-time clock that does not have a battery.
前記計時部は、クロックにより動作するカウンタである
ことを特徴とする請求項1から請求項のうちの何れか1項記載の電子機器。
The electronic device according to any one of claims 1 to 3 , wherein the timer section is a counter that operates with a clock.
JP2018165898A 2018-09-05 2018-09-05 Electronics Active JP7117948B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018165898A JP7117948B2 (en) 2018-09-05 2018-09-05 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018165898A JP7117948B2 (en) 2018-09-05 2018-09-05 Electronics

Publications (2)

Publication Number Publication Date
JP2020038540A JP2020038540A (en) 2020-03-12
JP7117948B2 true JP7117948B2 (en) 2022-08-15

Family

ID=69738049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018165898A Active JP7117948B2 (en) 2018-09-05 2018-09-05 Electronics

Country Status (1)

Country Link
JP (1) JP7117948B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000346918A (en) 1999-06-07 2000-12-15 Sharp Corp Information terminal equipment and method for measuring battery life of the information terminal equipment
JP2005283532A (en) 2004-03-31 2005-10-13 Hanshin Electric Co Ltd Control unit having clock function
JP2011080968A (en) 2009-10-09 2011-04-21 Oval Corp Maintenance expert system in measuring device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348535A (en) * 1993-06-07 1994-12-22 Toshiba Corp Abnormality generation history storage device
US5557784A (en) * 1995-03-30 1996-09-17 International Business Machines Corporation Power on timer for a personal computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000346918A (en) 1999-06-07 2000-12-15 Sharp Corp Information terminal equipment and method for measuring battery life of the information terminal equipment
JP2005283532A (en) 2004-03-31 2005-10-13 Hanshin Electric Co Ltd Control unit having clock function
JP2011080968A (en) 2009-10-09 2011-04-21 Oval Corp Maintenance expert system in measuring device

Also Published As

Publication number Publication date
JP2020038540A (en) 2020-03-12

Similar Documents

Publication Publication Date Title
TWI666560B (en) Electronic device and method for event logging
TWI519945B (en) Server and method and apparatus for server downtime metering
EP3167371B1 (en) A method for diagnosing power supply failure in a wireless communication device
JP5529686B2 (en) Computer apparatus abnormality inspection method and computer apparatus using the same
JP7117948B2 (en) Electronics
JP2010204851A (en) Storage device and information processing apparatus
JP4362126B2 (en) Fingerprint data generator, program
JP2009211625A (en) Start log storage method for information processor
TWI689811B (en) Method of periodical record for event
JP7134030B2 (en) Communication system and slave device
JP2012128552A (en) Information processing apparatus and time synchronizing method of information processing apparatus
US10990156B2 (en) Method for calculating power-on hours of an electronic device and electronic device utilizing the same
JP5450352B2 (en) Power supply monitoring apparatus and information processing apparatus
CN113917385A (en) Self-detection method and system for electric energy meter
JP2010003132A (en) Information processor, and fault detection method of input/output device thereof, and program thereof
CN110018921B (en) Event recording controller and electronic device
JP2005031903A (en) Information processor
JP2010054412A (en) Real-time clock
US20240111912A1 (en) Timestamping tampering events that occur during primary power outages
JP2006011991A (en) Computer controller and software execution recording mode therefor
US20240111639A1 (en) Restoring states of real time clock devices for multiple hosts
JP2010123216A (en) Magnetic disk device
JP2018141648A (en) Electronic timepiece, display control method and program
JP2001144243A (en) Precautionary safeguard of semiconductor integrated circuit
CN117807638A (en) Time stamping tamper events occurring during a primary power interruption

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220613

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20220613

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220802

R150 Certificate of patent or registration of utility model

Ref document number: 7117948

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150