JP7134030B2 - Communication system and slave device - Google Patents
Communication system and slave device Download PDFInfo
- Publication number
- JP7134030B2 JP7134030B2 JP2018165894A JP2018165894A JP7134030B2 JP 7134030 B2 JP7134030 B2 JP 7134030B2 JP 2018165894 A JP2018165894 A JP 2018165894A JP 2018165894 A JP2018165894 A JP 2018165894A JP 7134030 B2 JP7134030 B2 JP 7134030B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- unit
- information
- log
- occurrence
- 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
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Description
この発明は、スレーブ装置に関する動作変化を示すログを記録する通信システム及びスレーブ装置に関する。 The present invention relates to a communication system and a slave device that record a log indicating changes in behavior of the slave device.
計測機器等の電子機器では、従来から一般的に、自機の動作状態を把握可能とするため、エラーログを不揮発性メモリ等に記録している。エラーログには、エラーの内容及び当該エラーの発生時刻を示す情報が含まれる。また、電子機器が有する内部時計は、電源とは別にバッテリ(二次電池)を有している(例えば特許文献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.
このように従来の電子機器は、バッテリを有し、電源供給が停止して復帰した場合でも、時刻情報を確保可能としている。しかしながら、電子機器がバッテリを有する場合、バッテリ交換のための複雑なケース構造が必要となるため製品コストが増大し、また、バッテリ交換によるメンテナンスコストが増大する。また、バッテリとして用いられることが多いリチウム電池は、近年輸送等の取扱いが複雑化している。これらの理由から、バッテリを用いない構成が望まれている。 As described above, the conventional electronic device has a battery, and can secure time information even when the power supply is stopped and then 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 above-mentioned problems, and it is an object of the present invention to provide a communication system capable of grasping the operating state of a slave device without installing a battery.
この発明に係る通信システムは、マスタ装置及びスレーブ装置を備え、マスタ装置は、通信情報に時刻情報を付加してスレーブ装置に随時送信する送信部を備え、スレーブ装置は、不揮発性メモリと、送信部により送信された通信情報及び時刻情報を受信する受信部と、自機に関する動作変化を検出する動作変化検出部と、動作変化検出部により動作変化が検出された場合に、当該動作変化の内容及び受信部により受信された時刻情報に基づく当該動作変化の発生時刻を示すログを、不揮発性メモリに記録するログ記録部と、受信部による時刻情報の受信が停止してからの経過時間又は経過時刻を計時する計時部とを備え、ログ記録部は、受信部による時刻情報の受信が停止している間、受信部により受信された時刻情報に基づく動作変化の発生時刻に代えて、計時部により計時された経過時間又は経過時刻に基づく動作変化の発生時間又は発生時刻を用いることを特徴とする。 A communication system according to the present invention includes a master device and a slave device. The master device includes a transmission unit that adds time information to communication information and transmits it to the slave device as needed. a receiving unit for receiving communication information and time information transmitted by a unit; a motion change detecting unit for detecting a change in motion relating to the device itself; and a log recording unit that records in a non-volatile memory a log indicating the time at which the change in behavior occurred based on the time information received by the receiving unit; a timer for keeping time, wherein the log recording unit records the time when the reception of the time information by the receiver is stopped, instead of the time at which the operation change occurs based on the time information received by the receiver. It is characterized by using the occurrence time or occurrence time of the action change based on the elapsed time or elapsed time measured by .
この発明によれば、上記のように構成したので、バッテリを搭載せず、スレーブ装置の動作状態を把握可能となる。 According to the present invention, since it is configured as described above, it is possible to grasp the operating state of the slave device without installing a battery.
以下、この発明の実施の形態について図面を参照しながら詳細に説明する。
実施の形態1.
図1はこの発明の実施の形態1に係る通信システムの構成例を示す図である。
通信システムは、図1に示すように、マスタ装置1及び1つ以上のスレーブ装置2を備えている。
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 a communication system according to Embodiment 1 of the present invention.
The communication system comprises a master device 1 and one or
マスタ装置1は、図2に示すように、通信情報生成部11、送信部12及び受信部13を備えている。なお、マスタ装置1は、システムLSI(Large Scale Integration)等の処理回路、又はメモリ等に記憶されたプログラムを実行するCPU(Central Processing Unit)等により実現される。
The master device 1 includes a communication information generator 11, a
通信情報生成部11は、通信情報を生成する。通信情報は、例えば、スレーブ装置2に対して温度情報の送信を要求する情報である。
送信部12は、通信情報生成部11により生成された通信情報に時刻情報を付加してスレーブ装置2に随時(例えば数秒毎に)送信する。
受信部13は、送信部24により送信された応答情報を受信する。
The communication information generator 11 generates communication information. The communication information is, for example, information requesting the
The
The receiving
スレーブ装置2は、図3に示すように、不揮発性メモリ21、受信部22、応答情報生成部23、送信部24、計時部25、定期記録部26、動作変化検出部27及びログ記録部28を備えている。なお、スレーブ装置2は、システムLSI等の処理回路、又はメモリ等に記憶されたプログラムを実行するCPU等により実現される。
As shown in FIG. 3, the
不揮発性メモリ21は、定期記録部26及びログ記録部28による制御に従い、各種情報を記録する。
受信部22は、送信部12により送信された通信情報及び時刻情報を受信する。
The
The receiving
応答情報生成部23は、受信部22により受信された通信情報に対する応答情報を生成する。応答情報は、例えば、通信情報が温度情報の送信を要求する情報である場合には、温度情報である。
送信部24は、応答情報生成部23により生成された応答情報をマスタ装置1に送信する。
The
The
計時部25は、受信部22による時刻情報の受信が停止してからの経過時間又は経過時刻を計時する。なお、スレーブ装置2への電源供給が停止して復帰した場合には、計時部25により計時されている経過時間又は経過時刻はリセットされて初期値に戻る。この計時部25としては、例えば、バッテリを有していないRTC(リアルタイムクロック)を用いることができる。RTCは、経過時間をカウントして時刻の形式に変換する機能を有する。また、計時部25として、例えば、クロックにより動作するカウンタを用いてもよい。カウンタは、経過時間をカウントする機能を有する。
The
定期記録部26は、定期的(例えば1秒毎)に、計時部25により計時された経過時間又は経過時刻を示す情報を、不揮発性メモリ21の特定のアドレスに記録する。
なお図1では、定期記録部26がスレーブ装置2に設けられている場合を示している。しかしながら、この定期記録部26は、スレーブ装置2に必須の構成ではなく、スレーブ装置2に設けられていなくてもよい。
The
Note that FIG. 1 shows a case where the
動作変化検出部27は、スレーブ装置2に関する動作変化を検出する。以下では、動作変化検出部27は、スレーブ装置2に関する動作変化として、スレーブ装置2のエラー及びスレーブ装置2への電源供給の開始を検出する。また、動作変化検出部27は、スレーブ装置2に関する動作変化として、スレーブ装置2への電源供給における電圧異常(電圧低下)を検出するPF(パワーフェール)機能を有していてもよい。スレーブ装置2は、PF機能により電圧異常が検出された場合、電源が落ちるまでの数msの間に不揮発性メモリ21に必要情報をバックアップする。
The
ログ記録部28は、動作変化検出部27により動作変化が検出された場合に、当該動作変化を示すログを不揮発性メモリ21に記録する。このログには、動作変化の内容及び動作変化の発生時間又は発生時刻を示す情報が含まれる。また、ログ記録部28は、受信部22により時刻情報が受信されている場合には、動作変化の発生時刻を当該時刻情報から得る。一方、ログ記録部28は、受信部22による時刻情報の受信が停止している場合には、動作変化の発生時間又は発生時刻を、計時部25により計時されている経過時間又は経過時刻から得る。また、ログ記録部28は、ログを、動作変化の発生順に不揮発性メモリ21に記録する。
The
また、動作変化検出部27がPF機能を有している場合、ログ記録部28は、ログとして、スレーブ装置2への電源供給における電圧低下及び当該電圧低下の発生時間又は発生時刻を示す情報を含むログを、不揮発性メモリ21に記録可能である。
Further, when the behavior
また、ログ記録部28は、受信部22による時刻情報の受信が停止し且つスレーブ装置2に対する電源供給が停止していない間に不揮発性メモリ21に記録されたログに対し、当該ログが示す発生時間又は発生時刻を、当該受信部22による時刻情報の受信が停止する直前の時刻情報に基づく発生時刻に算出し直してもよい。
また、ログ記録部28は、スレーブ装置2に対する電源供給が復帰してから受信部22による時刻情報の受信が再開するまでの間に不揮発性メモリ21に記録されたログに対し、当該ログが示す発生時間又は発生時刻を、受信部22による時刻情報の受信が再開した際に不揮発性メモリ21の特定のアドレスに記録されている経過時間又は経過時刻を示す情報及び当該受信部22による時刻情報の受信が再開した際の時刻情報に基づく発生時刻に算出し直してもよい。
In addition, the
In addition, the
次に、図3に示すスレーブ装置2の動作例について、図4を参照しながら説明する。なお、マスタ装置1は、通信情報に時刻情報を付加してスレーブ装置2に随時送信している。また、計時部25は、バッテリを有していないRTCであるとする。
Next, an operation example of the
受信部22は、送信部12により送信された通信情報及び時刻情報を受信している(通信状態)。また、動作変化検出部27は、スレーブ装置2に関する動作変化の検出を行う。そして、動作変化検出部27により動作変化が検出されると、ログ記録部28は、当該動作変化を示すログを不揮発性メモリ21に記録する。なお、ログ記録部28は、動作変化の発生時刻を、受信部22により受信された時刻情報から得る。
The receiving
図4では、アドレス「1002」~「1004」に、スレーブ装置2のエラーを示すログが記録されている。また、図4では、アドレス「1005」に、マスタ装置1とスレーブ装置2との間での通信エラーを示すログが記録されている。
In FIG. 4, logs indicating errors of the
そして、この通信エラーにより、受信部22による時刻情報の受信が停止すると(通信断状態)、計時部25は経過時刻の計時を開始する。また、定期記録部26は、定期的(例えば1秒毎)に、計時部25により計時された経過時刻を示す情報を、不揮発性メモリ21の特定のアドレス(図4ではアドレス「1001」)に記録する。すなわち、アドレス「1001」に記録される経過時刻を示す情報は、定期的に更新される。図4では、計時部25により計時される経過時刻の初期値は、「2001/01/01 00:00:00」である。
When the receiving
また、動作変化検出部27は、スレーブ装置2に関する動作変化の検出を継続する。そして、動作変化検出部27により動作変化が検出されると、ログ記録部28は、当該動作変化のログを不揮発性メモリ21に記録する。なお、ログ記録部28は、動作変化の発生時刻を、計時部25により計時された経過時刻から得る。
In addition, the behavior
図4では、アドレス「1006」に、スレーブ装置2のエラーを示すログが記録されている。このログが示す発生時刻は、受信部22による時刻情報の受信が停止してからの経過時刻となっている。
In FIG. 4, a log indicating an error of
また、ログ記録部28は、受信部22による時刻情報の受信が停止し且つスレーブ装置2に対する電源供給が停止していない間に不揮発性メモリ21に記録されたログに対し、当該ログが示す発生時刻を、当該受信部22による時刻情報の受信が停止する直前の時刻情報に基づいて算出し直してもよい。
アドレス「1006」に記録されているログが示すエラーの発生時刻は、「2001/01/01 00:20:30」である。すなわち、このログが示すエラーは、1つ前の通信エラーが発生してから20分30秒後に発生している。そこで、ログ記録部28は、アドレス「1005」に記録されているログが示す通信エラーの発生時刻「2019/03/02 02:15:04」に「00:20:30」を加算することで、アドレス「1006」に記録されているログが示すエラーの発生時刻として「2019/03/02 02:35:34」を得ることができる。
In addition, the
The error occurrence time indicated by the log recorded at address "1006" is "2001/01/01 00:20:30". That is, the error indicated by this log occurred 20 minutes and 30 seconds after the previous communication error occurred. Therefore, the
また、図4では、アドレス「1007」に、マスタ装置1とスレーブ装置2との間での通信復活を示すログが記録されている。
Further, in FIG. 4, a log indicating that the communication between the master device 1 and the
そして、この通信復活により、受信部22による時刻情報の受信が再開すると(通信状態)、計時部25は経過時刻の計時を停止する。
また、動作変化検出部27は、スレーブ装置2に関する動作変化の検出を継続する。そして、動作変化検出部27により動作変化が検出されると、ログ記録部28は、当該動作変化のログを不揮発性メモリ21に記録する。なお、ログ記録部28は、動作変化の発生時刻を、受信部22により受信された時刻情報から得る。
Then, when the reception of the time information by the
In addition, the behavior
図4では、アドレス「1008」に、スレーブ装置2のエラーを示すログが記録されている。また、図4では、アドレス「1009」に、マスタ装置1とスレーブ装置2との間での通信エラーを示すログが記録されている。
In FIG. 4, a log indicating an error of the
そして、この通信エラーにより、受信部22による時刻情報の受信が停止すると(通信断状態)、計時部25は経過時刻の計時を開始する。また、定期記録部26は、定期的(例えば1秒毎)に、計時部25により計時された経過時刻を示す情報を、不揮発性メモリ21の特定のアドレス(図4ではアドレス「1001」)に記録する。
When the receiving
また、動作変化検出部27は、スレーブ装置2に関する動作変化の検出を継続する。そして、動作変化検出部27により動作変化が検出されると、ログ記録部28は、当該動作変化のログを不揮発性メモリ21に記録する。なお、ログ記録部28は、動作変化の発生時刻を、計時部25により計時された経過時刻から得る。
In addition, the behavior
図4では、アドレス「1010」に、電源低下(スレーブ装置2への電源供給における電圧低下)を示すログが記録されている。このログが示す発生時刻は、受信部22による時刻情報の受信が停止してからの経過時刻となっている。
In FIG. 4, a log indicating a power drop (voltage drop in the power supply to the slave device 2) is recorded at address "1010". The time of occurrence indicated by this log is the elapsed time after the receiving
また、ログ記録部28は、受信部22による時刻情報の受信が停止し且つスレーブ装置2に対する電源供給が停止していない間に不揮発性メモリ21に記録されたログに対し、当該ログが示す発生時刻を、当該受信部22による時刻情報の受信が停止する直前の時刻情報に基づいて算出し直してもよい。
アドレス「1010」に記録されているログが示す電源低下の発生時刻は、「2001/01/01 01:23:00」である。すなわち、このログが示す電源低下は、1つ前の通信エラーが発生してから1時間23分後に発生している。そこで、ログ記録部28は、アドレス「1009」に記録されているログが示す通信エラーの発生時刻「2019/03/03 02:15:04」に「01:23:00」を加算することで、アドレス「1010」に記録されているログが示す電源低下の発生時刻として「2019/03/03 03:38:04」を得ることができる。
In addition, the
The power failure occurrence time indicated by the log recorded at address "1010" is "2001/01/01 01:23:00". That is, the power drop indicated by this log occurred 1 hour and 23 minutes after the previous communication error occurred. Therefore, the
また、図4では、アドレス「1011」に、電源オンを示すログが記録されている。すなわち、このアドレス「1011」に記録されているログが示す電源オンの発生時刻と、1つ前のアドレス「1010」に記録されているログが示す電源低下の発生時刻との間の期間に、電源オフ(スレーブ装置2への電源供給の停止)が発生していることがわかる。
なお、スレーブ装置2への電源供給が停止して復帰した場合には計時部25により計時されている経過時刻がリセットされて初期値に戻る。そのため、アドレス「1011」に記録されているログが示す電源オンの発生時刻は、上記初期値となっている。
In FIG. 4, a log indicating power-on is recorded at address "1011". That is, during the period between the power-on occurrence time indicated by the log recorded at this address "1011" and the power-down occurrence time indicated by the log recorded at the previous address "1010", It can be seen that power off (stop of power supply to the slave device 2) has occurred.
When the power supply to the
また、図4では、アドレス「1012」に、スレーブ装置2のエラーを示すログが記録されている。また、図4では、アドレス「1013」に、マスタ装置1とスレーブ装置2との間での通信復活を示すログが記録されている。
Also, in FIG. 4, a log indicating an error of the
そして、この通信復活により、受信部22による時刻情報の受信が再開すると(通信状態)、計時部25は経過時刻の計時を停止する。
Then, when the reception of the time information by the
また、ログ記録部28は、スレーブ装置2に対する電源供給が復帰してから受信部22による時刻情報の受信が再開するまでの間に不揮発性メモリ21に記録されたログに対し、当該ログが示す発生時刻を、受信部22による時刻情報の受信が再開した際に不揮発性メモリ21の特定のアドレスに記録されている経過時刻を示す情報及び当該受信部22による時刻情報の受信が再開した際の時刻情報に基づいて算出し直してもよい。
In addition, the
この際、ログ記録部28は、まず、受信部22による時刻情報の受信が再開した際に、アドレス「1013」に記録したログが示す発生時刻「2019/03/04 2:15:00」に対応する、アドレス「1001」に記録した情報が示す経過時刻「2001/01/01 01:15:00」を読込む。
そして、ログ記録部28は、上記経過時刻「2001/01/01 01:15:00」からアドレス「1012」に記録されたログが示す発生時刻「2001/01/01 00:15:00」を差し引くことで、差分値「01:00:00」を得る。そして、アドレス「1013」に記録したログが示す発生時刻「2019/03/04 2:15:00」から「01:00:00」を差し引く。これにより、アドレス「1012」に記録されたログが示す発生時刻として、「2019/03/04 01:15:00」を得ることができる。
同様に、ログ記録部28は、上記経過時刻「2001/01/01 01:15:00」からアドレス「1011」に記録されたログが示す発生時刻「2001/01/01 00:00:00」を差し引くことで、差分値「01:15:00」を得る。そして、アドレス「1013」に記録したログが示す発生時刻「2019/03/04 2:15:00」から「01:15:00」を差し引く。これにより、アドレス「1011」に記録されたログが示す発生時刻として、「2019/03/04 01:00:00」を得ることができる。
At this time, when the reception of the time information by the receiving
Then, the
Similarly, the
ここで、従来の電子機器においてバッテリを搭載しない場合、電子機器への電源供給が停止して復帰した場合には、時刻情報が確保できない。また、従来の電子機器では、エラーログのみを不揮発性メモリ等に記録している。よって、この場合には、電子機器の動作状態を把握できない。
これに対し、実施の形態1に係るスレーブ装置2は、バッテリを搭載しない点は同じであるが、マスタ装置1から通知される時刻情報を受信する。これにより、実施の形態1に係るスレーブ装置2は、バッテリを搭載せずとも、電源供給が停止して復帰した後、最新の時刻情報を確保できる。よって、スレーブ装置2の現場導入後からの経過時刻及び発生したエラーの内容を把握可能となり、自機の動作状態を把握可能となる。その結果、実施の形態1に係るスレーブ装置2は、自機の動作状態の解析を、低コスト及び低メンテナンスコストで実現可能となる。
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
また、実施の形態1に係るスレーブ装置2は、マスタ装置1との間での通信が途絶えた場合でも、時刻情報を確保するため、自身が保持している計時部25により計時された経過時間又は経過時刻を管理する。これにより、スレーブ装置2は、マスタ装置1との間での通信が途絶える直前のマスタ装置1からの時刻情報又は通信が復活した際のマスタ装置1からの時刻情報によって、通信が途絶えた期間でのログが示す発生時刻を設定し直すことができる。
Further, even when communication with the master device 1 is interrupted, the
また上記では、動作変化検出部27がスレーブ装置2に関する動作変化としてスレーブ装置2のエラーを検出する場合について示した。しかしながら、これに限らず、動作変化検出部27がスレーブ装置2に関する動作変化としてスレーブ装置2に対する設定又は操作を検出してもよく、同様の効果が得られる。
In the above, the case where the motion
以上のように、この実施の形態1によれば、通信システムは、マスタ装置1及びスレーブ装置2を備え、マスタ装置1は、通信情報に時刻情報を付加してスレーブ装置2に随時送信する送信部12を備え、スレーブ装置2は、不揮発性メモリ21と、送信部12により送信された通信情報及び時刻情報を受信する受信部22と、自機に関する動作変化を検出する動作変化検出部27と、動作変化検出部27により動作変化が検出された場合に、当該動作変化の内容及び受信部22により受信された時刻情報に基づく当該動作変化の発生時刻を示すログを、不揮発性メモリ21に記録するログ記録部28とを備えた。これにより、実施の形態1に係る通信システムは、バッテリを搭載せず、スレーブ装置2の動作状態を把握可能となる。
As described above, according to the first embodiment, the communication system includes the master device 1 and the
なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。 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 スレーブ装置
11 通信情報生成部
12 送信部
13 受信部
21 不揮発性メモリ
22 受信部
23 応答情報生成部
24 送信部
25 計時部
26 定期記録部
27 動作変化検出部
28 ログ記録部
1
Claims (6)
前記マスタ装置は、
通信情報に時刻情報を付加して前記スレーブ装置に随時送信する送信部を備え、
前記スレーブ装置は、
不揮発性メモリと、
前記送信部により送信された通信情報及び時刻情報を受信する受信部と、
自機に関する動作変化を検出する動作変化検出部と、
前記動作変化検出部により動作変化が検出された場合に、当該動作変化の内容及び前記受信部により受信された時刻情報に基づく当該動作変化の発生時刻を示すログを、前記不揮発性メモリに記録するログ記録部と、
前記受信部による時刻情報の受信が停止してからの経過時間又は経過時刻を計時する計時部とを備え、
前記ログ記録部は、前記受信部による時刻情報の受信が停止している間、前記受信部により受信された時刻情報に基づく動作変化の発生時刻に代えて、前記計時部により計時された経過時間又は経過時刻に基づく動作変化の発生時間又は発生時刻を用いる
ことを特徴とする通信システム。 comprising a master device and a slave device,
The master device
A transmission unit that adds time information to communication information and transmits it to the slave device at any time,
The slave device
non-volatile memory;
a receiving unit that receives the communication information and time information transmitted by the transmitting unit;
a motion change detection unit that detects a motion change related to the self-machine;
When a behavior change is detected by the behavior change detection unit, a log indicating the content of the behavior change and the time of occurrence of the behavior change based on the time information received by the reception unit is recorded in the nonvolatile memory. a log recorder;
A timer that measures the elapsed time or the elapsed time after the reception of the time information by the reception unit is stopped,
The log recording unit stores the elapsed time measured by the time measuring unit instead of the time at which the change in behavior occurs based on the time information received by the receiving unit while the reception of the time information by the receiving unit is stopped. or a communication system characterized by using an occurrence time or an occurrence time of an action change based on an elapsed time.
ことを特徴とする請求項1記載の通信システム。 The log recording unit records the time of occurrence indicated by the log or 2. The communication system according to claim 1 , wherein the occurrence time is recalculated to the occurrence time based on the time information immediately before the reception of the time information by the receiving unit is stopped.
前記ログ記録部は、前記スレーブ装置に対する電源供給が復帰してから前記受信部による時刻情報の受信が再開するまでの間に前記不揮発性メモリに記録されたログに対し、当該ログが示す発生時間又は発生時刻を、前記受信部による時刻情報の受信が再開した際に前記不揮発性メモリの特定のアドレスに記録されている経過時間又は経過時刻を示す情報及び当該受信部による時刻情報の受信が再開した際の時刻情報に基づく発生時刻に算出し直す
ことを特徴とする請求項1又は請求項2記載の通信システム。 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,
The log recording unit records the occurrence time indicated by the log recorded in the nonvolatile memory after the power supply to the slave device is restored and before the receiving unit resumes receiving the time information. or information indicating the elapsed time or elapsed time recorded at a specific address of the non-volatile memory when the reception of the time information by the reception unit is resumed and the reception of the time information by the reception unit is resumed. 3. The communication system according to claim 1 , wherein the calculation is recalculated to the time of occurrence based on the time information at the time of occurrence.
ことを特徴とする請求項1から請求項3のうちの何れか1項記載の通信システム。 The communication system according to any one of claims 1 to 3 , wherein the timer is a real-time clock that does not have a battery.
ことを特徴とする請求項1から請求項3のうちの何れか1項記載の通信システム。 The communication system according to any one of claims 1 to 3 , wherein the timer is a counter operated by a clock.
通信情報に時刻情報を付加してスレーブ装置に随時送信する送信部を備えたマスタ装置における前記送信部により送信された通信情報及び時刻情報を受信する受信部と、
自機に関する動作変化を検出する動作変化検出部と、
前記動作変化検出部により動作変化が検出された場合に、当該動作変化の内容及び前記受信部により受信された時刻情報に基づく当該動作変化の発生時刻を示すログを、前記不揮発性メモリに記録するログ記録部と
前記受信部による時刻情報の受信が停止してからの経過時間又は経過時刻を計時する計時部とを備え、
前記ログ記録部は、前記受信部による時刻情報の受信が停止している間、前記受信部により受信された時刻情報に基づく動作変化の発生時刻に代えて、前記計時部により計時された経過時間又は経過時刻に基づく動作変化の発生時間又は発生時刻を用いる
ことを特徴とするスレーブ装置。 non-volatile memory;
a receiving unit for receiving communication information and time information transmitted by the transmitting unit in a master device having a transmitting unit that adds time information to communication information and transmits it to a slave device as needed;
a motion change detection unit that detects a motion change related to the self-machine;
When a behavior change is detected by the behavior change detection unit, a log indicating the content of the behavior change and the time of occurrence of the behavior change based on the time information received by the reception unit is recorded in the nonvolatile memory. A log recording unit and a clock unit that measures the elapsed time or the elapsed time after the reception of time information by the receiving unit is stopped,
The log recording unit stores the elapsed time measured by the time measuring unit instead of the time at which the change in behavior occurs based on the time information received by the receiving unit while the reception of the time information by the receiving unit is stopped. Or use the occurrence time or occurrence time of the behavior change based on the elapsed time
A slave device characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018165894A JP7134030B2 (en) | 2018-09-05 | 2018-09-05 | Communication system and slave device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018165894A JP7134030B2 (en) | 2018-09-05 | 2018-09-05 | Communication system and slave device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020038539A JP2020038539A (en) | 2020-03-12 |
JP7134030B2 true JP7134030B2 (en) | 2022-09-09 |
Family
ID=69738552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018165894A Active JP7134030B2 (en) | 2018-09-05 | 2018-09-05 | Communication system and slave device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7134030B2 (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006155367A (en) | 2004-11-30 | 2006-06-15 | Canon Inc | Image forming apparatus, data processing method, image forming method, and program |
JP2007078351A (en) | 2005-09-09 | 2007-03-29 | Oki Electric Ind Co Ltd | Information processing apparatus and method therefor, and computer program |
JP2008170205A (en) | 2007-01-10 | 2008-07-24 | Yamatake Corp | History recording device |
JP2012171361A (en) | 2011-02-17 | 2012-09-10 | Denso Corp | Onboard system, master ecu and diagnostic tool |
JP2017032525A (en) | 2015-08-06 | 2017-02-09 | アズビル株式会社 | Converter of electromagnetic flow meter and history recording method |
JP2017151936A (en) | 2016-02-26 | 2017-08-31 | オムロン株式会社 | Master device, slave device, information processing device, event log collection system, master device control method, slave device control method, and control program |
JP2018124241A (en) | 2017-02-03 | 2018-08-09 | 富士通株式会社 | Information processing device, method, and program |
-
2018
- 2018-09-05 JP JP2018165894A patent/JP7134030B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006155367A (en) | 2004-11-30 | 2006-06-15 | Canon Inc | Image forming apparatus, data processing method, image forming method, and program |
JP2007078351A (en) | 2005-09-09 | 2007-03-29 | Oki Electric Ind Co Ltd | Information processing apparatus and method therefor, and computer program |
JP2008170205A (en) | 2007-01-10 | 2008-07-24 | Yamatake Corp | History recording device |
JP2012171361A (en) | 2011-02-17 | 2012-09-10 | Denso Corp | Onboard system, master ecu and diagnostic tool |
JP2017032525A (en) | 2015-08-06 | 2017-02-09 | アズビル株式会社 | Converter of electromagnetic flow meter and history recording method |
JP2017151936A (en) | 2016-02-26 | 2017-08-31 | オムロン株式会社 | Master device, slave device, information processing device, event log collection system, master device control method, slave device control method, and control program |
JP2018124241A (en) | 2017-02-03 | 2018-08-09 | 富士通株式会社 | Information processing device, method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP2020038539A (en) | 2020-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9251689B2 (en) | Status monitoring, storage and reporting for optical transceivers by tracking operating parameter variations | |
US8547564B2 (en) | Image processing apparatus connectable to a plurality of host devices and having a receiver | |
US20080229125A1 (en) | Power managing method of a scheduling system and related scheduling system | |
RU2483471C2 (en) | Transmitter with relative time timer | |
CN103718122A (en) | Field apparatus | |
JP2008210234A (en) | Information processor, time correction processing method, and time correction processing program, and program recording medium | |
JP7134030B2 (en) | Communication system and slave device | |
JP2010071737A (en) | Recording device | |
JP7117948B2 (en) | Electronics | |
CN104349001A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2012128552A (en) | Information processing apparatus and time synchronizing method of information processing apparatus | |
JP2005337990A (en) | Wireless system, wireless device, and computer program | |
US8555045B2 (en) | Electronic meter for concurrently updating firmware and collecting meter usage with a micro controller calculates the usage when a reset time is longer than a predetermined period of storing time | |
JP2015014904A (en) | Information processing system | |
JP4662842B2 (en) | Time correction system | |
JP2010003132A (en) | Information processor, and fault detection method of input/output device thereof, and program thereof | |
KR102512489B1 (en) | System and method for updating firmware of remote meter terminal | |
JP7251081B2 (en) | Information processing device and program | |
JP2005351634A (en) | Wireless system, wireless device, and computer program | |
JP2008304335A (en) | Measurement control system and measuring quantity receiver | |
JP2010123216A (en) | Magnetic disk device | |
JP2008217105A (en) | Program runaway prevention device of microcomputer, and electronic equipment | |
JP2010225104A (en) | Electronic device | |
JP2000270114A (en) | Automatic meter reading terminal transmitter | |
JP2022161488A (en) | Building management system and control method |
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: 20220519 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220524 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220701 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20220701 |
|
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: 20220802 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220830 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7134030 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |