JP2021018541A - Embedded communication board, communication terminal, and firmware update method - Google Patents

Embedded communication board, communication terminal, and firmware update method Download PDF

Info

Publication number
JP2021018541A
JP2021018541A JP2019133067A JP2019133067A JP2021018541A JP 2021018541 A JP2021018541 A JP 2021018541A JP 2019133067 A JP2019133067 A JP 2019133067A JP 2019133067 A JP2019133067 A JP 2019133067A JP 2021018541 A JP2021018541 A JP 2021018541A
Authority
JP
Japan
Prior art keywords
firmware
update
volatile storage
storage device
processing 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
JP2019133067A
Other languages
Japanese (ja)
Other versions
JP7239413B2 (en
Inventor
理樹 市原
Masaki Ichihara
理樹 市原
一登 白根
Kazuto Shirane
一登 白根
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.)
Hitachi Industrial Equipment Systems Co Ltd
Original Assignee
Hitachi Industrial Equipment Systems Co Ltd
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 Hitachi Industrial Equipment Systems Co Ltd filed Critical Hitachi Industrial Equipment Systems Co Ltd
Priority to JP2019133067A priority Critical patent/JP7239413B2/en
Publication of JP2021018541A publication Critical patent/JP2021018541A/en
Application granted granted Critical
Publication of JP7239413B2 publication Critical patent/JP7239413B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a method for safely executing its own firmware update when a power supply is controlled by an industrial device in an embedded communication board or a communication terminal.SOLUTION: An embedded communication board (communication terminal 10) whose power supply is controlled by an industrial device (air compressor 20), comprises: a processing device 11 having a communication function for communicating with a server 30 and the industrial device; and a non-volatile storage device 13 for recording firmware. The processing device 11 acquires status data indicating a status of the industrial device from the industrial device, acquires updating-purpose firmware for updating the firmware from the server 30, and updates the firmware recorded in the non-volatile storage device 13 by using the updating-purpose firmware when the status data meets a certain condition which determines a given situation in which the industrial device is not turned off.SELECTED DRAWING: Figure 1

Description

本発明は、組込用通信基板、通信端末、及びファームウェア更新方法に関し、産業機器に取付けられて外部と通信を行う組込用通信基板、通信端末、及びこれらのファームウェア更新方法に適用して好適なものである。 The present invention relates to an embedded communication board, a communication terminal, and a firmware updating method, and is suitable for being applied to an embedded communication board, a communication terminal, and a firmware updating method for these, which are attached to an industrial device and communicate with the outside. It is a thing.

近年、産業機器に外部との通信機能を持たせる用途で、通信機能に特化した通信端末(あるいは組込用通信基板)を産業機器に取付ける、あるいは内蔵するといった手段が用いられるようになっている。このような手段を用いる場合、通信端末に電力を供給する方法として、具体的には、産業機器の電源から電力を供給する方法や、通信端末は電源を有するが産業機器がその電力供給を制御する方法が採られる。 In recent years, in order to give an industrial device a communication function with the outside, a means such as attaching or incorporating a communication terminal (or an embedded communication board) specialized in the communication function to the industrial device has come to be used. There is. When such means is used, as a method of supplying electric power to the communication terminal, specifically, a method of supplying electric power from a power source of an industrial device or a method in which a communication terminal has a power source but the industrial device controls the electric power supply The method of doing is adopted.

上記のような用途に用いられる通信端末は一般的に、何らかの処理装置及び記憶装置を備えており、記憶装置に記録されたファームウェアを処理装置上で実行することによって動作する。ファームウェアは通常、工場出荷時に記録されるが、工場出荷後に機能追加や修正を実施したい場合には、通信端末のファームウェアを更新する必要がある。 Communication terminals used for the above-mentioned applications generally include some kind of processing device and storage device, and operate by executing the firmware recorded in the storage device on the processing device. The firmware is usually recorded at the time of shipment from the factory, but if you want to add or modify functions after shipment from the factory, you need to update the firmware of the communication terminal.

ところで、産業機器は、常時稼働するとは限らないため稼働時以外は電源を切ることが多く、また、消費電力が大きいことから補助用の電源供給装置を設置することも一般的ではない。したがって、上述した通信端末のように電力の供給が産業機器によって制御されている場合、産業機器の電源が切られると、通信端末への電力の供給も停止してしまう。 By the way, since industrial equipment is not always in operation, the power is often turned off except during operation, and since power consumption is large, it is not common to install an auxiliary power supply device. Therefore, when the power supply is controlled by the industrial equipment as in the above-mentioned communication terminal, the power supply to the communication terminal is also stopped when the power of the industrial equipment is turned off.

しかし、通信端末のファームウェア更新は、通信端末が備える記憶装置に記録されている所定のプログラムを書き換えることによって行われるため、データの書き換え中に、産業機器の電源が切られて通信端末への電力の供給が停止されると、書き換えが不完全になってファームウェアの内容が不整合を起こすおそれがあった。また、通信端末が取付けられた産業機器においても、動作異常が生じるおそれがあった。 However, since the firmware update of the communication terminal is performed by rewriting a predetermined program recorded in the storage device provided in the communication terminal, the power of the industrial device is turned off during the data rewriting and the power to the communication terminal is supplied. If the supply of the firmware is stopped, the rewriting may be incomplete and the contents of the firmware may become inconsistent. In addition, there is a risk that an operation abnormality may occur in an industrial device to which a communication terminal is attached.

本発明は以上の点を考慮してなされたもので、組込用通信基板や通信端末において電力の供給が産業機器に制御される場合に、自身のファームウェア更新を安全に実行することができる組込用通信基板、通信端末、及びファームウェア更新方法を提案しようとするものである。 The present invention has been made in consideration of the above points, and is a set capable of safely executing its own firmware update when the power supply is controlled by an industrial device in an embedded communication board or a communication terminal. It is an attempt to propose a built-in communication board, a communication terminal, and a firmware update method.

かかる課題を解決するため本発明においては、産業機器によって電力の供給が制御される以下の組込用通信基板が提供される。この組込用通信基板は、サーバ及び前記産業機器と通信する通信機能を有する処理装置と、ファームウェアを記録する不揮発性の記憶装置と、を備え、前記処理装置は、前記産業機器の状態を示すステータスデータを前記産業機器から取得し、前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する。 In order to solve such a problem, the present invention provides the following embedded communication board whose power supply is controlled by an industrial device. The embedded communication board includes a processing device having a communication function for communicating with a server and the industrial equipment, and a non-volatile storage device for recording firmware, and the processing device indicates the state of the industrial equipment. A specific condition for acquiring status data from the industrial device, acquiring update firmware for updating the firmware from the server, and determining a predetermined situation in which the status data does not turn off the power of the industrial device. When the condition is satisfied, the firmware recorded in the non-volatile storage device is updated using the update firmware.

また、かかる課題を解決するため本発明においては、産業機器によって電力の供給が制御される以下の通信端末が提供される。この通信端末は、サーバ及び前記産業機器と通信する通信機能を有する処理装置と、ファームウェアを記録する不揮発性の記憶装置と、を備え、前記処理装置は、前記産業機器の状態を示すステータスデータを前記産業機器から取得し、前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する。 Further, in order to solve such a problem, in the present invention, the following communication terminals whose power supply is controlled by industrial equipment are provided. The communication terminal includes a processing device having a communication function for communicating with a server and the industrial equipment, and a non-volatile storage device for recording firmware, and the processing device displays status data indicating the state of the industrial equipment. When the update firmware for updating the firmware, which is acquired from the industrial device, is acquired from the server, and the status data satisfies a specific condition for determining a predetermined situation in which the power of the industrial device is not turned off. In addition, the firmware recorded in the non-volatile storage device is updated using the update firmware.

また、かかる課題を解決するため本発明においては、産業機器によって電力の供給が制御される組込用通信基板または通信基板における以下のファームウェア更新方法が提供される。ここで、前記組込用通信基板または前記通信基板は、サーバ及び前記産業機器と通信する通信機能を有する処理装置と、ファームウェアを記録する不揮発性の記憶装置と、を有する。そしてこのファームウェア更新方法は、前記処理装置が、前記産業機器の状態を示すステータスデータを前記産業機器から取得するデータ取得ステップと、前記処理装置が、前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得する更新用ファームウェア取得ステップと、前記処理装置が、前記データ取得ステップで取得された前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記更新用ファームウェア取得ステップで取得された前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新するファームウェア更新ステップと、を備える。 Further, in order to solve such a problem, the present invention provides the following firmware update method for an embedded communication board or a communication board whose power supply is controlled by an industrial device. Here, the embedded communication board or the communication board has a processing device having a communication function for communicating with a server and the industrial equipment, and a non-volatile storage device for recording firmware. The firmware update method includes a data acquisition step in which the processing device acquires status data indicating the state of the industrial device from the industrial device, and an update firmware for the processing device to update the firmware. When the update firmware acquisition step acquired from the server and the processing device satisfy a specific condition for determining a predetermined situation in which the status data acquired in the data acquisition step does not turn off the power of the industrial equipment. A firmware update step for updating the firmware recorded in the non-volatile storage device by using the update firmware acquired in the update firmware acquisition step is provided.

本発明によれば、組込用通信基板や通信端末において電力の供給が産業機器に制御される場合に、自身のファームウェア更新を安全に実行することができる。 According to the present invention, when the power supply is controlled by an industrial device in an embedded communication board or a communication terminal, it is possible to safely update its own firmware.

本発明の第1の実施形態に係る通信端末を含む全体構成例を示す図である。It is a figure which shows the whole structure example including the communication terminal which concerns on 1st Embodiment of this invention. 図1に示した通信端末における通常の運用手順の一例を示すフローチャートである。It is a flowchart which shows an example of the normal operation procedure in the communication terminal shown in FIG. ファームウェア更新の処理手順例を示すフローチャートである。It is a flowchart which shows the processing procedure example of a firmware update. 第2の実施形態に係る通信端末を含む全体構成例を示す図である。It is a figure which shows the whole configuration example including the communication terminal which concerns on 2nd Embodiment.

以下、図面を参照して、本発明の一実施形態を詳述する。以下の説明では、本実施形態に係る通信端末(あるいは組込用通信基板)が接続される産業機器の一例として、空気圧縮機を用いて説明する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the following description, an air compressor will be described as an example of the industrial equipment to which the communication terminal (or the embedded communication board) according to the present embodiment is connected.

(1)第1の実施形態
(1−1)構成
図1は、本発明の第1の実施形態に係る通信端末を含む全体構成例を示す図である。
(1) Configuration of First Embodiment (1-1) FIG. 1 is a diagram showing an overall configuration example including a communication terminal according to the first embodiment of the present invention.

まず、図1を参照しながら、各構成の接続関係を説明する。 First, the connection relationship of each configuration will be described with reference to FIG.

図1に示したように、本実施形態に係る通信端末10は、外部信号線41を介して、空気圧縮機20と通信可能に接続される。また、通信端末10は、外部信号線42、ネットワーク40、及び外部信号線43を介して、サーバ30とも通信可能に接続される。サーバ30は、外部装置の一例であって、通信端末10のファームウェアを更新するために用いられるファームウェアのデータ(以後、更新用ファームウェア)をネットワーク40経由で提供する。なお、更新用ファームウェアは、既存のファームウェア全体を書き換えることによって当該ファームウェアを更新することができる全体データであってもよいし、既存のファームウェアの一部を書き換えることによって当該ファームウェアを更新することができる差分データであってもよい。 As shown in FIG. 1, the communication terminal 10 according to the present embodiment is communicably connected to the air compressor 20 via an external signal line 41. Further, the communication terminal 10 is also communicably connected to the server 30 via the external signal line 42, the network 40, and the external signal line 43. The server 30 is an example of an external device, and provides firmware data (hereinafter, update firmware) used for updating the firmware of the communication terminal 10 via the network 40. The firmware for update may be the entire data that can update the firmware by rewriting the entire existing firmware, or the firmware can be updated by rewriting a part of the existing firmware. It may be difference data.

なお、本実施形態において、通信端末10とネットワーク40との間の通信経路は、図1の外部信号線42のような有線に限定されるものではなく、無線であってもよい。有線接続の場合の典型的な構成として、外部信号線42にLAN(Local Area Network)ケーブルを用い、ネットワーク40にインターネットを用いることができる。この有線接続の場合において、外部信号線42とネットワーク40は必ずしも直接接続される必要はなく、適宜ファイアウォールやハブといった中継装置やイントラネット等のネットワークを挟んでもよいが、これらの構成は本実施形態において本質的ではなく、図示を省略している。また、無線接続の場合の典型的な構成として、外部信号線42の代わりに携帯電話無線を用いることができる。この無線接続の場合、携帯電話無線とネットワーク40の間には、携帯電話基地局や無線通信網などを挟むことができるが、これらの構成も本実施形態では本質的ではない。無線接続の別の構成として、無線LANや近距離無線等を使用してもよい。 In the present embodiment, the communication path between the communication terminal 10 and the network 40 is not limited to the wired connection as in the external signal line 42 of FIG. 1, and may be wireless. As a typical configuration in the case of a wired connection, a LAN (Local Area Network) cable can be used for the external signal line 42, and the Internet can be used for the network 40. In the case of this wired connection, the external signal line 42 and the network 40 do not necessarily have to be directly connected, and a relay device such as a firewall or a hub or a network such as an intranet may be sandwiched between them, but these configurations are configured in the present embodiment. It is not essential and the illustration is omitted. Further, as a typical configuration in the case of wireless connection, a mobile phone radio can be used instead of the external signal line 42. In the case of this wireless connection, a mobile phone base station, a wireless communication network, or the like can be sandwiched between the mobile phone radio and the network 40, but these configurations are also not essential in the present embodiment. As another configuration of wireless connection, wireless LAN, short-range wireless or the like may be used.

図1に示したように、空気圧縮機20は、電力供給線52を通じて電源50に接続され、電源50から供給される電力によって動作する。さらに、空気圧縮機20と通信端末10との間は電力供給線53で接続され、通信端末10は、空気圧縮機20から電力供給線53を通じて供給される電力によって動作する。なお、詳細に言えば、電力供給線53によって通信端末10に供給される電力は、通信端末10が内蔵する電源回路(不図示)によって、通信端末10が内蔵するその他の装置に適した電圧に変換されて供給されるが、簡便のため、図1においてこれらの図示は省略している。 As shown in FIG. 1, the air compressor 20 is connected to the power source 50 through the power supply line 52 and operates by the electric power supplied from the power source 50. Further, the air compressor 20 and the communication terminal 10 are connected by a power supply line 53, and the communication terminal 10 is operated by the electric power supplied from the air compressor 20 through the power supply line 53. More specifically, the power supplied to the communication terminal 10 by the power supply line 53 is set to a voltage suitable for other devices built in the communication terminal 10 by a power supply circuit (not shown) built in the communication terminal 10. Although they are converted and supplied, these illustrations are omitted in FIG. 1 for convenience.

また、電力供給線52の途中には、空気圧縮機20に対する電力の供給(ON)/遮断(OFF)を制御可能な電源スイッチ51が設けられている。図1では電源スイッチ51は空気圧縮機20の外部に示されているが、電源スイッチ51は空気圧縮機20に内蔵されていてもよい。上述したように、電源50からの電力は通信端末10にも供給されるものであり、空気圧縮機20は、電源スイッチ51がONにされて電源50から電力が供給されている限り、電力供給線53を通じて通信端末10に電力を供給する。一方、電源スイッチ51がOFFにされて空気圧縮機20に電力が供給されなくなると、通信端末10にも電力は供給されなくなる。電源スイッチ51は、空気圧縮機20の操作者(ユーザ)によって操作される。 Further, in the middle of the power supply line 52, a power switch 51 capable of controlling the supply (ON) / cutoff (OFF) of power to the air compressor 20 is provided. Although the power switch 51 is shown outside the air compressor 20 in FIG. 1, the power switch 51 may be built in the air compressor 20. As described above, the electric power from the power source 50 is also supplied to the communication terminal 10, and the air compressor 20 supplies the electric power as long as the power switch 51 is turned on and the electric power is supplied from the power source 50. Power is supplied to the communication terminal 10 through the line 53. On the other hand, when the power switch 51 is turned off and the power is not supplied to the air compressor 20, the power is not supplied to the communication terminal 10. The power switch 51 is operated by an operator (user) of the air compressor 20.

次に、図1を参照しながら、通信端末10の構成を詳しく説明する。通信端末10は、空気圧縮機20に取付けられる電子機器であって、内部信号線44を介して互いが接続された処理装置11、揮発性記憶装置12、及び不揮発性記憶装置13を備える。 Next, the configuration of the communication terminal 10 will be described in detail with reference to FIG. The communication terminal 10 is an electronic device attached to the air compressor 20, and includes a processing device 11, a volatile storage device 12, and a non-volatile storage device 13 connected to each other via an internal signal line 44.

処理装置11は、サーバ30と通信する機能、空気圧縮機20と通信する機能、及び、揮発性記憶装置12や不揮発性記憶装置13に記憶されているデータを読み/書き/実行する機能等を有する。なお、図1では、上記の各機能を全て有する処理装置11を示しているが、本実施形態においてこれら各機能は1つの処理装置11によって実現される必要はなく、通信端末10が、上記の各機能の1または複数の機能を有する複数の装置を備えて構成されるとしてもよい。また、図1では、処理装置11、揮発性記憶装置12、及び不揮発性記憶装置13はそれぞれ別の装置として示したが、本実施形態はこれに限定されるものではなく、複数の上記装置が一体とされた装置で構成されてもよい。また、上記したように処理装置11が有する各機能を複数の装置で実現する場合には、これら複数の装置と揮発性記憶装置12または不揮発性記憶装置13とが一体とされてもよい。 The processing device 11 has a function of communicating with the server 30, a function of communicating with the air compressor 20, a function of reading / writing / executing data stored in the volatile storage device 12 and the non-volatile storage device 13. Have. Although FIG. 1 shows a processing device 11 having all of the above functions, in the present embodiment, each of these functions does not need to be realized by one processing device 11, and the communication terminal 10 is described above. It may be configured to include a plurality of devices having one or a plurality of functions of each function. Further, in FIG. 1, the processing device 11, the volatile storage device 12, and the non-volatile storage device 13 are shown as separate devices, but the present embodiment is not limited to this, and a plurality of the above devices may be used. It may be composed of an integrated device. Further, when each function of the processing device 11 is realized by a plurality of devices as described above, the plurality of devices may be integrated with the volatile storage device 12 or the non-volatile storage device 13.

処理装置11は、通信端末10に電力が供給されているとき、不揮発性記憶装置13に記憶されたファームウェアを読み出し、そのファームウェアを実行する。通信端末10は、内部に別途電源スイッチを設ける等して、通信端末10に電源を投入する際の別の条件を設けるようにしてもよいが、本実施形態においては本質的ではないため、詳細な説明は省略する。また、詳細は後述するが、処理装置11は、特定の条件を満たした場合に、外部(例えばサーバ30)から取得した更新用ファームウェアを用いて、不揮発性記憶装置13に記憶されたファームウェアを更新するファームウェア更新処理を実行する。 When the communication terminal 10 is supplied with electric power, the processing device 11 reads the firmware stored in the non-volatile storage device 13 and executes the firmware. The communication terminal 10 may be provided with a separate power switch inside to provide another condition for turning on the power to the communication terminal 10, but this is not essential in the present embodiment. Description will be omitted. Further, as will be described in detail later, when a specific condition is satisfied, the processing device 11 updates the firmware stored in the non-volatile storage device 13 by using the update firmware acquired from the outside (for example, the server 30). Execute the firmware update process.

揮発性記憶装置12は、揮発性のメモリであって、具体的にはDRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)等のRAMである。揮発性記憶装置12は、例えば、不揮発性記憶装置13から読み出されて実行されるプログラム(ファームウェア)や、当該プログラムの実行時に用いられるデータの他、サーバ30からダウンロードしたデータ(例えば更新用ファームウェア)等を一時的に記録するために使用される。 The volatile storage device 12 is a volatile memory, specifically, a RAM such as a DRAM (Dynamic Random Access Memory) or a SRAM (Static Random Access Memory). The volatile storage device 12 includes, for example, a program (firmware) read from the non-volatile storage device 13 and executed, data used when executing the program, and data downloaded from the server 30 (for example, update firmware). ) Etc. are used to temporarily record.

不揮発性記憶装置13は、不揮発性のメモリであって、具体的には例えば、フラッシュメモリ(フラッシュROM)である。不揮発性記憶装置13には、ファームウェア等のデータが記憶されている。 The non-volatile storage device 13 is a non-volatile memory, specifically, for example, a flash memory (flash ROM). Data such as firmware is stored in the non-volatile storage device 13.

次に、図1を参照しながら、空気圧縮機20の構成を詳しく説明する。空気圧縮機20は、本実施形態に係る通信端末10が接続される産業機器の一例であって、図1に示したように、処理装置21及び空気圧縮部22を備える。 Next, the configuration of the air compressor 20 will be described in detail with reference to FIG. The air compressor 20 is an example of an industrial device to which the communication terminal 10 according to the present embodiment is connected, and includes a processing device 21 and an air compressor 22 as shown in FIG.

処理装置21は、空気圧縮機20全般の制御、及び外部との通信を行う。例えば、処理装置21は、内部信号線45を介して空気圧縮部22に対して指示を出すことによって、空気圧縮部22による空気を圧縮する動作(空気圧縮動作)の実行を制御する。 The processing device 21 controls the air compressor 20 in general and communicates with the outside. For example, the processing device 21 controls the execution of an operation of compressing air (air compression operation) by the air compression unit 22 by issuing an instruction to the air compression unit 22 via the internal signal line 45.

空気圧縮部22は、典型的には、動力源と空気を圧縮する機構とによって構成され、処理装置21の指示に応じて、空気圧縮動作を実行する。空気圧縮部22によって圧縮された空気は、通常、配管を通じて空気圧縮機20の外部に導出されるが、本発明には直接的な関係を持たないため、図1等では図示を省略している。 The air compression unit 22 is typically composed of a power source and a mechanism for compressing air, and executes an air compression operation in response to an instruction from the processing device 21. The air compressed by the air compression unit 22 is usually led out to the outside of the air compressor 20 through a pipe, but since it has no direct relationship with the present invention, the illustration is omitted in FIG. 1 and the like. ..

ここで、一般的な空気圧縮機と同様、空気圧縮機20は、空気圧縮動作を常時続けて使用されるものではなく、様々な状況や理由に応じて、空気圧縮動作を行ったり止めたりする。具体的には例えば、空気圧縮機20が接続された配管に十分な圧力が供給されている場合や、空気圧縮機20に用意されたユーザインタフェース(不図示)によってユーザから空気圧縮動作の停止が指示された場合等には、空気圧縮機20の処理装置21は、空気圧縮部22による空気圧縮動作を停止する。また、これも一般的な空気圧縮機と同様であるが、空気圧縮機20は、空気圧縮動作を行っている最中は動力源(モータ)が稼働している。このモータの稼働中に突然電源を切ることは、管理上あるいは空気圧縮機の保守上の観点から好ましくない。すなわち、空気圧縮機20においては、空気圧縮動作の実行中に電源断を行うことは、取り扱い上禁止されている。 Here, like a general air compressor, the air compressor 20 does not always use the air compression operation continuously, and performs or stops the air compression operation according to various situations and reasons. .. Specifically, for example, when sufficient pressure is supplied to the pipe to which the air compressor 20 is connected, or when the user interface (not shown) provided in the air compressor 20 stops the air compression operation from the user. When instructed, the processing device 21 of the air compressor 20 stops the air compression operation by the air compression unit 22. Further, this is also the same as that of a general air compressor, but in the air compressor 20, the power source (motor) is operating during the air compression operation. Suddenly turning off the power while the motor is in operation is not preferable from the viewpoint of management or maintenance of the air compressor. That is, in the air compressor 20, it is prohibited in terms of handling to turn off the power during the execution of the air compression operation.

(1−2)ファームウェア更新
本実施形態に係る通信端末10によるファームウェア更新について、図2を参照しながら通常の運用手順を説明した後、図3を参照しながらファームウェア更新処理の詳細な手順を説明する。
(1-2) Firmware update Regarding the firmware update by the communication terminal 10 according to the present embodiment, the normal operation procedure is explained with reference to FIG. 2, and then the detailed procedure of the firmware update process is explained with reference to FIG. To do.

図2は、図1に示した通信端末における通常の運用手順の一例を示すフローチャートである。 FIG. 2 is a flowchart showing an example of a normal operation procedure in the communication terminal shown in FIG.

図2によればまず、空気圧縮機20に電源が投入されること(すなわち、電源スイッチ51がON状態)により、通信端末10に電源が投入される(ステップS11)。 According to FIG. 2, first, the power is turned on to the communication terminal 10 by turning on the power to the air compressor 20 (that is, the power switch 51 is in the ON state) (step S11).

次に、通信端末10への電源の投入を受けて処理装置11は、不揮発性記憶装置13に記憶されたファームウェアを読み出し、ファームウェアの実行を開始する(ステップS12)。 Next, upon receiving the power to be turned on to the communication terminal 10, the processing device 11 reads the firmware stored in the non-volatile storage device 13 and starts executing the firmware (step S12).

次に、処理装置11は、ファームウェア更新処理を実行する(ステップS13)。ファームウェア更新処理は、一般にブートシーケンスとも呼ばれ、その処理手順は図3を参照しながら後述するが、ステップS13では、必ずしもファームウェアが更新されるわけではない。 Next, the processing device 11 executes the firmware update process (step S13). The firmware update process is generally also called a boot sequence, and the process procedure will be described later with reference to FIG. 3, but the firmware is not necessarily updated in step S13.

ファームウェア更新処理の後、処理装置11は、通信端末10による通常時の運用を実行する(ステップS14)。ステップS14における通常運用の内容は、空気圧縮機20や、通信端末10が組み込まれる全体のシステムによって異なる。一般的には例えば、空気圧縮機20との通信及びサーバ30との通信、さらにこれらの通信によって取得したデータを用いた所定の判定や計算、あるいは一定時間の待機等の処理が含まれる。 After the firmware update process, the processing device 11 executes a normal operation by the communication terminal 10 (step S14). The content of the normal operation in step S14 differs depending on the air compressor 20 and the entire system in which the communication terminal 10 is incorporated. Generally, for example, communication with the air compressor 20, communication with the server 30, a predetermined determination and calculation using the data acquired by these communications, and processing such as waiting for a certain period of time are included.

ステップS14で通常運用が実行された後(あるいは、通常運用で所定の時間が経過した後)、処理装置11は、再びステップS13に移行してファームウェア更新処理を実行し、その後ステップS14の通常運用の実行を繰り返す。このループ処理は、通信端末10の電源が切られるまで、言い換えれば、空気圧縮機20の電源が切られるまで継続する。 After the normal operation is executed in step S14 (or after a predetermined time has elapsed in the normal operation), the processing device 11 proceeds to step S13 again to execute the firmware update process, and then the normal operation in step S14. Repeat the execution of. This loop processing continues until the power of the communication terminal 10 is turned off, in other words, until the power of the air compressor 20 is turned off.

なお、図2に示した処理手順は一例であって、本実施形態に係る通信端末10の通常の運用手順はこれに限定されるものではなく、少なくとも、通信端末10において電源が投入されてから切られるまでの間に、何らかの形でステップS13のファームウェア更新処理が含まれる手順であればよい。 The processing procedure shown in FIG. 2 is an example, and the normal operation procedure of the communication terminal 10 according to the present embodiment is not limited to this, and at least after the power is turned on in the communication terminal 10. Any procedure may be used as long as the procedure includes the firmware update process of step S13 in some way before it is cut off.

図3は、ファームウェア更新の処理手順例を示すフローチャートである。図3には、図2のステップS13におけるファームウェア更新処理の詳細な処理手順例が示されている。 FIG. 3 is a flowchart showing an example of a firmware update processing procedure. FIG. 3 shows a detailed processing procedure example of the firmware update processing in step S13 of FIG.

なお、通信端末10のファームウェアを更新するにあたっては、更新用ファームウェアを用意し、不揮発性記憶装置13に記録する(より詳細には、不揮発性記憶装置13に記憶されたファームウェアのデータを書き換える)必要がある。このとき、可搬性を有する記憶装置(例えばSDカードやUSBフラッシュドライブ等)に更新用ファームウェアを記録し、これを通信端末10に直接読み取らせるといった方法も考えられるが、この方法では、上記の可搬性を有する記憶装置を持って通信端末10の所在地に逐一出向いて作業を行う必要があり、時間や手間が嵩む。そこで、本例では、通信端末10が有する通信機能を利用してサーバ30から更新用ファームウェアを取得(ダウンロード)し、不揮発性記憶装置13に記憶されたファームウェアを更新するという方法を採用している。 When updating the firmware of the communication terminal 10, it is necessary to prepare the update firmware and record it in the non-volatile storage device 13 (more specifically, rewrite the firmware data stored in the non-volatile storage device 13). There is. At this time, a method of recording the update firmware in a portable storage device (for example, an SD card, a USB flash drive, etc.) and having the communication terminal 10 directly read the firmware is also conceivable. It is necessary to carry a portable storage device and go to the location of the communication terminal 10 one by one to perform the work, which increases time and effort. Therefore, in this example, a method is adopted in which the update firmware is acquired (downloaded) from the server 30 by using the communication function of the communication terminal 10 and the firmware stored in the non-volatile storage device 13 is updated. ..

図3によればまず、処理装置11は、サーバ30に対して、サーバ30が更新用ファームウェアのデータを保持しているか否かを問い合わせ(ステップS21)、問い合わせの結果を判定する(ステップS22)。問い合わせの結果から、更新用ファームウェアのデータが存在する場合は(ステップS22のYES)、ステップS23に進み、存在しない場合は(ステップS22のNO)、ファームウェア更新処理を終了する。 According to FIG. 3, first, the processing device 11 inquires the server 30 whether or not the server 30 holds the data of the update firmware (step S21), and determines the result of the inquiry (step S22). .. From the result of the inquiry, if the update firmware data exists (YES in step S22), the process proceeds to step S23, and if it does not exist (NO in step S22), the firmware update process ends.

ステップS23では、処理装置11は、サーバ30と通信を行い、サーバ30が保持している更新用ファームウェアのデータを揮発性記憶装置12にダウンロードする。 In step S23, the processing device 11 communicates with the server 30 and downloads the update firmware data held by the server 30 to the volatile storage device 12.

ステップS23の処理が完了すると次に、処理装置11は、空気圧縮機20と通信を行い、空気圧縮機20の運転状態を表すステータスデータを受信する(ステップS24)。なお、ステップS24において処理装置11が空気圧縮機20と通信する際、空気圧縮機20へのデータ送信を含んでもよい。 When the processing in step S23 is completed, the processing device 11 then communicates with the air compressor 20 and receives status data representing the operating state of the air compressor 20 (step S24). When the processing device 11 communicates with the air compressor 20 in step S24, data transmission to the air compressor 20 may be included.

次いで、処理装置11は、ステップS24で受信したステータスデータに基づいて、予め定めた「特定の条件」を満たすか否かを判定する(ステップS25)。本例では、空気圧縮機20が空気圧縮動作を実行中(空気圧縮運転中)であることを「特定の条件」とする。これは、前述したように、空気圧縮機20では、空気圧縮動作の実行中に電源断を行うことは、取り扱い上禁止されていることに基づいている。したがって、ステップS24で空気圧縮機20から受信するステータスデータには、空気圧縮運転中であるかという空気圧縮機20の運転状態を示すデータが含まれる必要がある。 Next, the processing device 11 determines whether or not the predetermined "specific conditions" are satisfied based on the status data received in step S24 (step S25). In this example, it is defined as "specific condition" that the air compressor 20 is executing the air compression operation (during the air compression operation). This is based on the fact that, as described above, in the air compressor 20, it is prohibited in terms of handling to turn off the power during the execution of the air compression operation. Therefore, the status data received from the air compressor 20 in step S24 needs to include data indicating the operating state of the air compressor 20 as to whether the air compression operation is in progress.

なお、本例では説明を簡略にするために、空気圧縮運転中であることを特定の条件としたが、実際には、電源断が行われない状況であることを確実に確保するために、より詳細な条件を「特定の条件」として設定してもよい。例えば、空気圧縮機20の空気圧縮動作における動作工程を細分化し、更新用ファームウェアの書き込みに必要と想定される所定時間が担保できない可能性がある、終盤の動作工程については「特定の条件」から除外するようにしてもよい。 In this example, in order to simplify the explanation, the specific condition is that the air compression operation is in progress, but in order to ensure that the power is not turned off in reality, More detailed conditions may be set as "specific conditions". For example, the operation process in the air compression operation of the air compressor 20 may be subdivided, and the predetermined time required for writing the update firmware may not be secured. The operation process in the final stage is described from "specific conditions". It may be excluded.

ステップS25において特定の条件を満たした場合(ステップS25のYES)、処理装置11は更新用ファームウェアを書き込むことで、ファームウェアを更新する(ステップS26)。より具体的には、処理装置11は、ステップS23でダウンロードして揮発性記憶装置12に記憶した更新用ファームウェアのデータを、不揮発性記憶装置13に書き込む。ステップS26の処理後、ファームウェア更新処理は終了する。一方、ステップS25において特定の条件を満たさない場合は(ステップS25のNO)、更新用ファームウェアを書き込むことなく、ファームウェア更新処理を終了する。 When a specific condition is satisfied in step S25 (YES in step S25), the processing device 11 updates the firmware by writing the update firmware (step S26). More specifically, the processing device 11 writes the update firmware data downloaded in step S23 and stored in the volatile storage device 12 to the non-volatile storage device 13. After the process of step S26, the firmware update process ends. On the other hand, if the specific condition is not satisfied in step S25 (NO in step S25), the firmware update process is terminated without writing the update firmware.

なお、図3に示した処理手順は一例であって、本実施形態におけるファームウェア更新処理は、これに限定されるものではなく、例えば以下のような処理手順を採用してもよい。 The processing procedure shown in FIG. 3 is an example, and the firmware update processing in the present embodiment is not limited to this, and for example, the following processing procedure may be adopted.

第1に、ステップS24の処理は、他のタイミングで実行するようにしてもよい。具体的には例えば、空気圧縮機20からステータスデータを受信するステップS24の処理を、図2のステップ14で述べた通常運用の処理に含めるようにしてもよい。この場合、通信端末10の処理装置11は、通常運用の際に、空気圧縮機20の運転状態を表すデータ(ステータスデータ)を空気圧縮機20から取得して、例えば揮発性記憶装置12に一時的に保存すればよく、このようにすることで、ファームウェア更新処理の際に改めてステータスデータを取得する処理が不要となる。 First, the process of step S24 may be executed at another timing. Specifically, for example, the process of step S24 for receiving status data from the air compressor 20 may be included in the process of normal operation described in step 14 of FIG. In this case, the processing device 11 of the communication terminal 10 acquires data (status data) representing the operating state of the air compressor 20 from the air compressor 20 during normal operation, and temporarily stores the data (status data) in the volatile storage device 12, for example. By doing so, it is not necessary to acquire the status data again at the time of the firmware update process.

第2に、ステップS25の判定処理は、他のタイミングで実行するようにしてもよい。具体的には、ステップS23(更新用ファームウェアのダウンロード)の前に、ステップS25の判定を実行し、特定の条件を満たさなかった場合には、更新用ファームウェアをダウンロードしない、としてもよい。この場合、ファームウェアを更新してよい特定の条件が成立している場合にのみ、更新用ファームウェアをダウンロードすることができるため、不要なデータのダウンロードや一時的な保存を行う必要がなくなり、処理コストを節約することができる。 Secondly, the determination process in step S25 may be executed at another timing. Specifically, the determination in step S25 may be executed before step S23 (download of the update firmware), and if the specific condition is not satisfied, the update firmware may not be downloaded. In this case, since the update firmware can be downloaded only when specific conditions for updating the firmware are satisfied, it is not necessary to download unnecessary data or temporarily save the firmware, and the processing cost is reduced. Can be saved.

以上に説明したように、第1の実施形態において、通信端末10は、ファームウェア更新処理のステップS25で「特定の条件」を満足する場合にのみ、ファームウェアの更新を実行する。この「特定の条件」は、通信端末10への電力の供給が停止されないと想定される状況を判別可能な条件、言い換えれば、産業機器(本実施形態では空気圧縮機20)の電源断が行われない所定の状況(タイミング)を判別可能な条件、であればよく、通信端末10が取付けられる産業機器によって、その具体的内容は異なる。 As described above, in the first embodiment, the communication terminal 10 executes the firmware update only when the "specific condition" is satisfied in step S25 of the firmware update process. This "specific condition" is a condition that can determine a situation in which it is assumed that the supply of electric power to the communication terminal 10 is not stopped, in other words, the power of the industrial equipment (air compressor 20 in this embodiment) is turned off. The conditions may be such that a predetermined situation (timing) that cannot be determined can be determined, and the specific content differs depending on the industrial equipment to which the communication terminal 10 is attached.

すなわち、本実施形態によれば、通信端末10への電力の供給が停止されない状況でのみ、通信端末10におけるファームウェアの更新が実行されることで、ファームウェアのデータ書き換え中に電力の供給が停止されて不完全な書き換えによってファームウェアの内容が不整合を起こすことを防止できる。この結果、通信端末10のファームウェア更新を安全に実行することができる。引いては、ファームウェアの更新失敗によって通信端末10が取付けられた産業機器(例えば空気圧縮機20)において動作異常が生じることも防止できる。 That is, according to the present embodiment, the firmware update in the communication terminal 10 is executed only in the situation where the power supply to the communication terminal 10 is not stopped, so that the power supply is stopped during the data rewriting of the firmware. It is possible to prevent the contents of the firmware from becoming inconsistent due to incomplete rewriting. As a result, the firmware update of the communication terminal 10 can be safely executed. As a result, it is possible to prevent an operation abnormality from occurring in an industrial device (for example, an air compressor 20) to which the communication terminal 10 is attached due to a failure to update the firmware.

また、本実施形態によれば、産業機器(空気圧縮機20)の稼働中にファームウェア更新を実行できることから、ファームウェアの更新のために別途作業時間を設ける等の手間が掛からないという効果が得られる。 Further, according to the present embodiment, since the firmware update can be executed while the industrial equipment (air compressor 20) is in operation, it is possible to obtain an effect that it is not necessary to set a separate working time for updating the firmware. ..

(2)第2の実施形態
以下に、本発明の第2の実施形態について、第1の実施形態と相違する部分を中心に説明する。本実施形態の説明では、特別に説明がない部分に関しては、第1の実施形態と同様の構成を備え、同様の処理を行うものとする。
(2) Second Embodiment The second embodiment of the present invention will be described below, focusing on the parts different from the first embodiment. In the description of the present embodiment, the same configuration as that of the first embodiment is provided and the same processing is performed with respect to the portion not particularly described.

図4は、第2の実施形態に係る通信端末を含む全体構成例を示す図である。第2の実施形態では、通信端末60の内部構成が一部異なっている以外は、図1に示した第1の実施形態と同様である。したがって、図4に示したように、第2の実施形態に係る通信端末60は、第1の実施形態と同様に、空気圧縮機20及びサーバ30との接続関係を有する。 FIG. 4 is a diagram showing an overall configuration example including the communication terminal according to the second embodiment. The second embodiment is the same as the first embodiment shown in FIG. 1, except that the internal configuration of the communication terminal 60 is partially different. Therefore, as shown in FIG. 4, the communication terminal 60 according to the second embodiment has a connection relationship with the air compressor 20 and the server 30 as in the first embodiment.

通信端末60は、空気圧縮機20に取付けられる電子機器であって、内部信号線44を介して互いが接続された処理装置11、揮発性記憶装置12、及び不揮発性記憶装置13A,13Bを備える。通信端末60は、不揮発性記憶装置13が不揮発性記憶装置13A,13Bによって二重化されている点で、第1の実施形態に係る通信端末10の構成と相違する。 The communication terminal 60 is an electronic device attached to the air compressor 20, and includes a processing device 11, a volatile storage device 12, and non-volatile storage devices 13A and 13B connected to each other via an internal signal line 44. .. The communication terminal 60 is different from the configuration of the communication terminal 10 according to the first embodiment in that the non-volatile storage device 13 is duplicated by the non-volatile storage devices 13A and 13B.

二重化された不揮発性記憶装置13A,13Bは、通信端末60で使用されるプログラム(ファームウェア)やその他データを、それぞれ同じく記憶しており、一方が稼働系として用いられる場合に、他方が待機系に割り当てられる。不揮発性記憶装置13A,13Bにおける稼働系/待機系は、処理装置11が設定し、任意に切り替えることができ、切替時にはファームウェア以外の記憶データが稼働系から待機系に同期される。例えば、不揮発性記憶装置13Aを稼働系とする場合、処理装置11は不揮発性記憶装置13Aに記憶されているファームウェアを読み出して実行する。以下では、不揮発性記憶装置13Aを稼働系、不揮発性記憶装置13Bを待機系として説明する。なお、不揮発性記憶装置13A,13Bは、必ずしも別々の記憶装置として構成される必要はなく、1つの不揮発性記憶装置で実現されてもよい。すなわち、1つの不揮発性記憶装置の内部でパーティションを作成して、稼働系の記憶領域と待機系の記憶領域とに分割する等としてもよい。 The duplicated non-volatile storage devices 13A and 13B also store programs (firmware) and other data used in the communication terminal 60, respectively, and when one is used as an operating system, the other is a standby system. Assigned. The operating system / standby system in the non-volatile storage devices 13A and 13B can be set by the processing device 11 and can be arbitrarily switched, and at the time of switching, stored data other than the firmware is synchronized from the operating system to the standby system. For example, when the non-volatile storage device 13A is used as an operating system, the processing device 11 reads and executes the firmware stored in the non-volatile storage device 13A. Hereinafter, the non-volatile storage device 13A will be described as an operating system, and the non-volatile storage device 13B will be described as a standby system. The non-volatile storage devices 13A and 13B do not necessarily have to be configured as separate storage devices, and may be realized by one non-volatile storage device. That is, a partition may be created inside one non-volatile storage device and divided into a storage area of an active system and a storage area of a standby system.

第2の実施形態における通信端末60のファームウェア更新処理について、第1の実施形態のファームウェア更新処理(図3)を参照しながら説明する。第2の実施形態では、ファームウェア更新処理によって待機系の不揮発性記憶装置13Bに記憶されたファームウェアを更新することができる。このとき、稼働系の不揮発性記憶装置13Aに記憶されたデータは変更されないため、処理装置11は、不揮発性記憶装置13Aを利用して通常運用(図2のステップS14参照)を続けながら、不揮発性記憶装置13Bのファームウェア更新を実行可能となる。 The firmware update process of the communication terminal 60 in the second embodiment will be described with reference to the firmware update process (FIG. 3) of the first embodiment. In the second embodiment, the firmware stored in the standby non-volatile storage device 13B can be updated by the firmware update process. At this time, since the data stored in the non-volatile storage device 13A of the operating system is not changed, the processing device 11 is non-volatile while continuing normal operation (see step S14 in FIG. 2) using the non-volatile storage device 13A. The firmware update of the sexual storage device 13B can be executed.

まず、処理装置11が更新用ファームウェアの有無をサーバ30に問い合わせ、その有無を判定する(ステップS21〜S22)。ステップS22で更新用ファームウェアが存在した場合には、処理装置11は、更新用ファームウェアのデータをダウンロードし、揮発性記憶装置12に一時的に記憶する(ステップS23)。 First, the processing device 11 inquires the server 30 about the presence or absence of the update firmware, and determines the presence or absence of the update firmware (steps S21 to S22). If the update firmware is present in step S22, the processing device 11 downloads the update firmware data and temporarily stores it in the volatile storage device 12 (step S23).

そして、処理装置11は、空気圧縮機20からステータスデータを受信し(ステップS24)、受信データに基づいて、予め定めた「特定の条件」を満たすか否かを判定する(ステップS25)。特定の条件の内容は、第1の実施形態と同様でよく、具体的には例えば、空気圧縮機20が空気圧縮動作を実行中(空気圧縮運転中)であること、とする。 Then, the processing device 11 receives the status data from the air compressor 20 (step S24), and determines whether or not the predetermined "specific conditions" are satisfied based on the received data (step S25). The content of the specific condition may be the same as that of the first embodiment. Specifically, for example, it is assumed that the air compressor 20 is executing the air compression operation (air compression operation).

ステップS25で特定の条件を満たす場合は、処理装置11は、更新用ファームウェアの書き込みを行う(ステップS26)。但し、本実施形態では、処理装置11は、揮発性記憶装置12に一時的に記憶した更新用ファームウェアのデータを、待機系の不揮発性記憶装置13Bに対してのみ書き込む。 If the specific condition is satisfied in step S25, the processing device 11 writes the update firmware (step S26). However, in the present embodiment, the processing device 11 writes the update firmware data temporarily stored in the volatile storage device 12 only to the standby non-volatile storage device 13B.

以上のステップS21〜S26の処理が行われることにより、通信端末60では、通信端末10への電力の供給が停止されない(電源が切られない)状況において、待機系の不揮発性記憶装置13Bに記憶されているファームウェアを安全に更新することができる。 By performing the above steps S21 to S26, the communication terminal 60 stores the power in the standby non-volatile storage device 13B in a situation where the power supply to the communication terminal 10 is not stopped (the power is not turned off). You can safely update the firmware that has been installed.

その後、処理装置11は、不揮発性記憶装置13A,13Bの間で稼働系と待機系とを切り替え、上記の「特定の条件」を満たす場合に、不揮発性記憶装置13Aのファームウェアも更新する。待機系となった不揮発性記憶装置13Aに対するファームウェア更新の手順としては、例えば、ステップS23で揮発性記憶装置12に一時的に記憶されている更新用ファームウェアのデータを、不揮発性記憶装置13Aに書き込めばよい。 After that, the processing device 11 switches between the operating system and the standby system between the non-volatile storage devices 13A and 13B, and updates the firmware of the non-volatile storage device 13A when the above "specific conditions" are satisfied. As a procedure for updating the firmware for the non-volatile storage device 13A that has become the standby system, for example, the update firmware data temporarily stored in the volatile storage device 12 in step S23 can be written to the non-volatile storage device 13A. Just do it.

以上に説明したように、第2の実施形態に係る通信端末60は、稼働系の不揮発性記憶装置13Aを利用して通常運用の動作を継続しながら、待機系の不揮発性記憶装置13Bのファームウェアを更新することができる。したがって、第2の実施形態によれば、第1の実施形態で得られる効果に加えて、動作中にファームウェアが更新できる点で第1の実施形態よりも効率よく、また稼働系のファームウェアは同時に更新されない点で第1の実施形態よりも安全に、ファームウェアの更新を実行することができる。 As described above, the communication terminal 60 according to the second embodiment uses the operating system non-volatile storage device 13A to continue the normal operation operation, and the firmware of the standby system non-volatile storage device 13B. Can be updated. Therefore, according to the second embodiment, in addition to the effect obtained in the first embodiment, the firmware can be updated during operation, which is more efficient than the first embodiment, and the operating firmware can be simultaneously used. The firmware update can be performed more safely than in the first embodiment in that it is not updated.

(3)他の実施形態
上述の第1及び第2の実施形態で説明した通信端末10,60は、処理装置11、揮発性記憶装置12、及び不揮発性記憶装置13(13A,13B)を構成として備え、これらが何らかの筐体に格納された電子機器の形態で実現される。しかし、本発明は、このような筐体に格納された電子機器の形態に限定されるものではない。具体的には例えば、筐体に格納されずに、上記の各構成が含まれる組込用通信基板の形態であってもよい。さらに、組込用通信基板の形態をとる場合、1枚の基板上に形成されることに限定されず、1または複数の各構成に相当する回路等が、複数の基板に分割されて形成され、これら複数の基板が結線された形態であってもよい。
(3) Other Embodiments The communication terminals 10 and 60 described in the first and second embodiments described above constitute a processing device 11, a volatile storage device 12, and a non-volatile storage device 13 (13A, 13B). These are realized in the form of electronic devices stored in some housing. However, the present invention is not limited to the form of the electronic device housed in such a housing. Specifically, for example, it may be in the form of an embedded communication board that includes each of the above configurations without being stored in the housing. Further, when taking the form of an embedded communication board, it is not limited to being formed on one board, and a circuit or the like corresponding to one or a plurality of configurations is formed by being divided into a plurality of boards. , These plurality of substrates may be connected.

また、図1や図4では、通信端末10(または通信端末60)を、産業機器(空気圧縮機20)とは別の独立した装置として示したが、本発明はこのような構成に限定されるものではない。例えば、通信端末10,60が産業機器(空気圧縮機20)の付属品として取付けられる構成であってもよい。また例えば、上述した組込用通信基板の形態で、産業機器(空気圧縮機20)に内蔵される構成であってもよい。 Further, in FIGS. 1 and 4, the communication terminal 10 (or the communication terminal 60) is shown as an independent device separate from the industrial equipment (air compressor 20), but the present invention is limited to such a configuration. It's not something. For example, the communication terminals 10 and 60 may be attached as accessories of the industrial equipment (air compressor 20). Further, for example, in the form of the built-in communication board described above, the configuration may be built into the industrial equipment (air compressor 20).

また、図1や図4では、通信端末10(または通信端末60)で使用される電力は、産業機器(空気圧縮機20)の電源50から電力供給線52,53を介して供給されるように示されているが、本発明における電力供給は、このような構成に限定されるものではなく、通信端末(あるいは組込用通信基板)への電力の供給が産業機器に制御されている形態であればよい。したがって、通信端末や組込用通信基板への電力供給を産業機器(空気圧縮機20)が制御できる構成となっていれば、本発明の通信端末や組込用通信基板は、産業機器とは別の独自電源を有してもよい。 Further, in FIGS. 1 and 4, the electric power used in the communication terminal 10 (or the communication terminal 60) is supplied from the power source 50 of the industrial equipment (air compressor 20) via the electric power supply lines 52 and 53. However, the power supply in the present invention is not limited to such a configuration, and the power supply to the communication terminal (or the embedded communication board) is controlled by the industrial equipment. It should be. Therefore, if the industrial device (air compressor 20) can control the power supply to the communication terminal and the embedded communication board, the communication terminal and the embedded communication board of the present invention are different from the industrial device. It may have another proprietary power supply.

なお、本発明は上述した実施形態に限定されるものではなく、様々な変形例が含まれる。例えば、上述した実施形態は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、各実施形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記憶装置、または、ICカード、SDカード、DVD等の記憶媒体に置くことができる。 The present invention is not limited to the above-described embodiment, and includes various modifications. For example, the above-described embodiment has been described in detail in order to explain the present invention in an easy-to-understand manner, and is not necessarily limited to the one including all the described configurations. Further, it is possible to add / delete / replace a part of the configuration of each embodiment with another configuration. Further, each of the above configurations, functions, processing units, processing means and the like may be realized by hardware by designing a part or all of them by, for example, an integrated circuit. Further, each of the above configurations, functions, and the like may be realized by software by the processor interpreting and executing a program that realizes each function. Information such as programs, tables, and files that realize each function can be stored in a memory, a hard disk, a storage device such as an SSD (Solid State Drive), or a storage medium such as an IC card, an SD card, or a DVD.

また、図面における制御線や情報線は、説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実施には、ほとんど全ての構成が相互に接続されていると考えてもよい。 In addition, the control lines and information lines in the drawings indicate what is considered necessary for explanation, and do not necessarily indicate all the control lines and information lines in the product. In practice, almost all configurations may be considered interconnected.

10,60 通信端末
11 処理装置
12 揮発性記憶装置
13,13A,13B 不揮発性記憶装置
20 空気圧縮機
21 処理装置
22 空気圧縮部
30 サーバ
40 ネットワーク
41,42,43 外部信号線
44,45 内部信号線
50 電源
51 電源スイッチ
52,53 電力供給線
10,60 Communication terminal 11 Processing device 12 Volatile storage device 13, 13A, 13B Non-volatile storage device 20 Air compressor 21 Processing device 22 Air compressor 30 Server 40 Network 41, 42, 43 External signal line 44, 45 Internal signal Line 50 Power supply 51 Power switch 52, 53 Power supply line

Claims (15)

産業機器によって電力の供給が制御される組込用通信基板であって、
サーバ及び前記産業機器と通信する通信機能を有する処理装置と、
ファームウェアを記録する不揮発性の記憶装置と、
を備え、
前記処理装置は、
前記産業機器の状態を示すステータスデータを前記産業機器から取得し、
前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、
前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする組込用通信基板。
An embedded communication board whose power supply is controlled by industrial equipment.
A processing device having a communication function for communicating with a server and the industrial equipment,
A non-volatile storage device that records firmware and
With
The processing device
Status data indicating the state of the industrial equipment is acquired from the industrial equipment, and
Obtain the update firmware for updating the firmware from the server,
When the status data satisfies a specific condition for determining a predetermined situation in which the power of the industrial device is not turned off, the update firmware is used to update the firmware recorded in the non-volatile storage device. A built-in communication board characterized by this.
前記処理装置が前記サーバから取得した前記更新用ファームウェアを一時的に記憶する揮発性の記憶装置をさらに備え、
前記ステータスデータが前記特定の条件を満たす場合に、前記処理装置は、前記不揮発性の記憶装置に記憶された前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする請求項1に記載の組込用通信基板。
Further, the processing device further includes a volatile storage device for temporarily storing the update firmware acquired from the server.
When the status data satisfies the specific condition, the processing device updates the firmware recorded in the non-volatile storage device by using the update firmware stored in the non-volatile storage device. The embedded communication board according to claim 1, wherein the embedded communication board is provided.
前記処理装置は、前記ステータスデータが前記特定の条件を満たさない場合には、前記サーバから前記更新用ファームウェアを取得しない
ことを特徴とする請求項1に記載の組込用通信基板。
The embedded communication board according to claim 1, wherein the processing device does not acquire the update firmware from the server when the status data does not satisfy the specific condition.
前記不揮発性の記憶装置を二重化する第1及び第2の記憶部を有し、
前記第1及び前記第2の記憶部は、一方が稼働系で使用される場合に他方が待機系に割り当てられ、
前記処理装置は、前記ステータスデータが前記特定の条件を満たす場合に、前記更新用ファームウェアを用いて、前記待機系に割り当てられている前記記憶部に記録された前記ファームウェアを更新する
ことを特徴とする請求項1に記載の組込用通信基板。
It has first and second storage units that duplicate the non-volatile storage device.
When one of the first and second storage units is used in the active system, the other is assigned to the standby system.
The processing device is characterized in that, when the status data satisfies the specific condition, the update firmware is used to update the firmware recorded in the storage unit assigned to the standby system. The embedded communication board according to claim 1.
前記産業機器から供給される電力によって作動する
ことを特徴とする請求項1に記載の組込用通信基板。
The embedded communication board according to claim 1, wherein the circuit board is operated by electric power supplied from the industrial equipment.
前記産業機器に内蔵されて構成される
ことを特徴とする請求項1に記載の組込用通信基板。
The embedded communication board according to claim 1, wherein the embedded communication board is built in the industrial equipment.
産業機器によって電力の供給が制御される通信端末であって、
サーバ及び前記産業機器と通信する通信機能を有する処理装置と、
ファームウェアを記録する不揮発性の記憶装置と、
を備え、
前記処理装置は、
前記産業機器の状態を示すステータスデータを前記産業機器から取得し、
前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、
前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
することを特徴とする通信端末。
A communication terminal whose power supply is controlled by industrial equipment.
A processing device having a communication function for communicating with a server and the industrial equipment,
A non-volatile storage device that records firmware and
With
The processing device
Status data indicating the state of the industrial equipment is acquired from the industrial equipment, and
Obtain the update firmware for updating the firmware from the server,
When the status data satisfies a specific condition for determining a predetermined situation in which the power of the industrial device is not turned off, the update firmware is used to update the firmware recorded in the non-volatile storage device. A communication terminal characterized by
前記処理装置が前記サーバから取得した前記更新用ファームウェアを一時的に記憶する揮発性の記憶装置をさらに備え、
前記ステータスデータが前記特定の条件を満たす場合に、前記処理装置は、前記不揮発性の記憶装置に記憶された前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする請求項7に記載の通信端末。
Further, the processing device further includes a volatile storage device for temporarily storing the update firmware acquired from the server.
When the status data satisfies the specific condition, the processing device updates the firmware recorded in the non-volatile storage device by using the update firmware stored in the non-volatile storage device. The communication terminal according to claim 7, wherein the communication terminal is provided.
前記ステータスデータが前記特定の条件を満たさない場合には、前記処理装置は、前記サーバから前記更新用ファームウェアを取得しない
ことを特徴とする請求項7に記載の通信端末。
The communication terminal according to claim 7, wherein if the status data does not satisfy the specific condition, the processing device does not acquire the update firmware from the server.
前記不揮発性の記憶装置を二重化する第1及び第2の記憶部を有し、
前記第1及び前記第2の記憶部は、一方が稼働系で使用される場合に他方が待機系に割り当てられ、
前記処理装置は、前記ステータスデータが前記特定の条件を満たす場合に、前記更新用ファームウェアを用いて、前記待機系に割り当てられている前記記憶部に記録された前記ファームウェアを更新する
ことを特徴とする請求項7に記載の通信端末。
It has first and second storage units that duplicate the non-volatile storage device.
When one of the first and second storage units is used in the active system, the other is assigned to the standby system.
The processing device is characterized in that, when the status data satisfies the specific condition, the update firmware is used to update the firmware recorded in the storage unit assigned to the standby system. The communication terminal according to claim 7.
前記産業機器から供給される電力によって作動する
ことを特徴とする請求項7に記載の通信端末。
The communication terminal according to claim 7, wherein the communication terminal is operated by electric power supplied from the industrial equipment.
産業機器によって電力の供給が制御される組込用通信基板または通信基板におけるファームウェア更新方法であって、
前記組込用通信基板または前記通信基板は、
サーバ及び前記産業機器と通信する通信機能を有する処理装置と、
ファームウェアを記録する不揮発性の記憶装置と、
を有し、
前記処理装置が、前記産業機器の状態を示すステータスデータを前記産業機器から取得するデータ取得ステップと、
前記処理装置が、前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得する更新用ファームウェア取得ステップと、
前記処理装置が、前記データ取得ステップで取得された前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記更新用ファームウェア取得ステップで取得された前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新するファームウェア更新ステップと、
を備えることを特徴とするファームウェア更新方法。
A method of updating firmware on an embedded communication board or communication board whose power supply is controlled by industrial equipment.
The embedded communication board or the communication board
A processing device having a communication function for communicating with a server and the industrial equipment,
A non-volatile storage device that records firmware and
Have,
A data acquisition step in which the processing apparatus acquires status data indicating the state of the industrial equipment from the industrial equipment, and
An update firmware acquisition step in which the processing device acquires update firmware for updating the firmware from the server, and
When the processing device satisfies a specific condition for determining a predetermined situation in which the power of the industrial equipment is not turned off, the status data acquired in the data acquisition step is acquired in the update firmware acquisition step. A firmware update step for updating the firmware recorded in the non-volatile storage device using the update firmware, and
A firmware update method characterized by providing.
前記組込用通信基板または前記通信基板は、揮発性の記憶装置をさらに有し、
前記更新用ファームウェア取得ステップにおいて、前記処理装置は、前記サーバから取得した前記更新用ファームウェアを前記揮発性の記憶装置に一時的に記憶し、
前記ファームウェア更新ステップにおいて、前記ステータスデータが前記特定の条件を満たす場合に、前記処理装置は、前記更新用ファームウェア取得ステップで前記不揮発性の記憶装置に記憶した前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする請求項12に記載のファームウェア更新方法。
The embedded communication board or the communication board further comprises a volatile storage device.
In the update firmware acquisition step, the processing device temporarily stores the update firmware acquired from the server in the volatile storage device.
When the status data satisfies the specific condition in the firmware update step, the processing device uses the update firmware stored in the non-volatile storage device in the update firmware acquisition step to use the non-volatile firmware. The firmware update method according to claim 12, wherein the firmware recorded in the sex storage device is updated.
前記データ取得ステップで取得した前記ステータスデータが前記特定の条件を満たさない場合には、前記更新用ファームウェア取得ステップを実行しない
ことを特徴とする請求項12に記載のファームウェア更新方法。
The firmware update method according to claim 12, wherein if the status data acquired in the data acquisition step does not satisfy the specific condition, the update firmware acquisition step is not executed.
前記不揮発性の記憶装置は、一方が稼働系で使用される場合に、他方が待機系に割り当てられる第1及び第2の記憶部によって二重化が構成され、
前記ファームウェア更新ステップにおいて前記処理装置は、前記ステータスデータが前記特定の条件を満たす場合に、前記更新用ファームウェアを用いて、前記待機系に割り当てられている前記記憶部に記録された前記ファームウェアを更新する
ことを特徴とする請求項12に記載のファームウェア更新方法。
When one of the non-volatile storage devices is used in the active system, the other is configured to be duplicated by the first and second storage units assigned to the standby system.
In the firmware update step, when the status data satisfies the specific condition, the processing device updates the firmware recorded in the storage unit assigned to the standby system by using the update firmware. The firmware update method according to claim 12, wherein the firmware update method is performed.
JP2019133067A 2019-07-18 2019-07-18 EMBEDDED COMMUNICATION BOARD, COMMUNICATION TERMINAL, AND FIRMWARE UPDATE METHOD Active JP7239413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019133067A JP7239413B2 (en) 2019-07-18 2019-07-18 EMBEDDED COMMUNICATION BOARD, COMMUNICATION TERMINAL, AND FIRMWARE UPDATE METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019133067A JP7239413B2 (en) 2019-07-18 2019-07-18 EMBEDDED COMMUNICATION BOARD, COMMUNICATION TERMINAL, AND FIRMWARE UPDATE METHOD

Publications (2)

Publication Number Publication Date
JP2021018541A true JP2021018541A (en) 2021-02-15
JP7239413B2 JP7239413B2 (en) 2023-03-14

Family

ID=74563663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019133067A Active JP7239413B2 (en) 2019-07-18 2019-07-18 EMBEDDED COMMUNICATION BOARD, COMMUNICATION TERMINAL, AND FIRMWARE UPDATE METHOD

Country Status (1)

Country Link
JP (1) JP7239413B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022230256A1 (en) * 2021-04-27 2022-11-03 株式会社日立産機システム Communication device and firmware update system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011204267A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of synchronizing basic input/output program between data processing devices, and computer program
JP2015101028A (en) * 2013-11-26 2015-06-04 キヤノン株式会社 Image formation device, control method for image formation device, recording medium, and program
JP2016206853A (en) * 2015-04-20 2016-12-08 ブラザー工業株式会社 Image forming apparatus, firmware update method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011204267A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of synchronizing basic input/output program between data processing devices, and computer program
JP2015101028A (en) * 2013-11-26 2015-06-04 キヤノン株式会社 Image formation device, control method for image formation device, recording medium, and program
JP2016206853A (en) * 2015-04-20 2016-12-08 ブラザー工業株式会社 Image forming apparatus, firmware update method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022230256A1 (en) * 2021-04-27 2022-11-03 株式会社日立産機システム Communication device and firmware update system

Also Published As

Publication number Publication date
JP7239413B2 (en) 2023-03-14

Similar Documents

Publication Publication Date Title
US6668261B1 (en) Method of upgrading a program using associated configuration data
EP2629200A1 (en) Embedded program update method, embedded program update program, electronic apparatus, network system
TW201301134A (en) Firmware updating system and method
CN110083380A (en) Firmware update and the electronic device for using the method
CN109582372A (en) A kind of starting method and device of system
US8826263B2 (en) Portable terminal, portable terminal control method, and portable terminal control program
CN1327649C (en) Mobile communication system and mobile terminal device
JP2021018541A (en) Embedded communication board, communication terminal, and firmware update method
US11449329B2 (en) Vehicle control device and program update system
WO2019207729A1 (en) Industrial computer, industrial computer system, operating system update method, and program
JPH04167139A (en) Program down loading system
JP2016045677A (en) Information processing device, method for setting information processing device and setting program
JPH07191835A (en) Computer system
JP4840553B2 (en) Wireless communication apparatus, boot program rewriting method and program
JP2000181719A (en) Method for down loading program to communication equipment
JP2013186634A (en) Information processing apparatus
KR100636518B1 (en) Method for upgrade of firmware in mobile telecommunication terminal
WO2024053107A1 (en) Robot control system, control device, computer program, and update processing method for control software
KR100498351B1 (en) Initiated data recovery method for mobile communication terminal
JP2014026313A (en) Display board for field device
TW202411035A (en) Update processing methods for robot control systems, control devices, computer programs, and control software
JP2004259224A (en) Peripheral device
JPH0798659A (en) Down load bootstrap method
KR20030041605A (en) Apparatus and method for remote upgrading of program in communication system
JP2022149277A (en) Electronic apparatus, firmware update method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211027

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230302

R150 Certificate of patent or registration of utility model

Ref document number: 7239413

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150