JP7239413B2 - 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
JP7239413B2
JP7239413B2 JP2019133067A JP2019133067A JP7239413B2 JP 7239413 B2 JP7239413 B2 JP 7239413B2 JP 2019133067 A JP2019133067 A JP 2019133067A JP 2019133067 A JP2019133067 A JP 2019133067A JP 7239413 B2 JP7239413 B2 JP 7239413B2
Authority
JP
Japan
Prior art keywords
firmware
update
processing device
communication terminal
storage 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.)
Active
Application number
JP2019133067A
Other languages
Japanese (ja)
Other versions
JP2021018541A (en
Inventor
理樹 市原
一登 白根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Description

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

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

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

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

しかし、通信端末のファームウェア更新は、通信端末が備える記憶装置に記録されている所定のプログラムを書き換えることによって行われるため、データの書き換え中に、産業機器の電源が切られて通信端末への電力の供給が停止されると、書き換えが不完全になってファームウェアの内容が不整合を起こすおそれがあった。また、通信端末が取付けられた産業機器においても、動作異常が生じるおそれがあった。 However, since updating the firmware of a communication terminal is performed by rewriting a predetermined program recorded in a storage device provided in the communication terminal, power supply to the communication terminal may be lost if the industrial equipment is turned off while data is being rewritten. 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 possibility that the industrial equipment to which the communication terminal is attached may also malfunction.

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

かかる課題を解決するため本発明においては、産業機器によって電力の供給が制御され、前記産業機器から供給される電力によって動作する以下の組込用通信基板が提供される。この組込用通信基板は、サーバ及び前記産業機器と通信する通信機能を有する処理装置と、ファームウェアを記録する不揮発性の記憶装置と、を備え、前記処理装置は、前記産業機器の状態を示すステータスデータを前記産業機器から取得し、前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記産業機器による前記組込用通信基板への電力の供給の制御の変更を要することなく、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する。 In order to solve the above problems, the present invention provides the following built-in communication board, the power supply of which is controlled by industrial equipment, and which is operated by the power supplied from the industrial equipment . This built-in 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 obtaining status data from the industrial equipment, obtaining update firmware for updating the firmware from the server, and determining a predetermined situation in which the industrial equipment is not powered off based on the status data. is satisfied, the firmware recorded in the non-volatile storage device is updated using the update firmware without changing control of power supply to the embedded communication board by the industrial equipment. do.

また、かかる課題を解決するため本発明においては、産業機器によって電力の供給が制御され、前記産業機器から供給される電力によって動作する以下の通信端末が提供される。この通信端末は、サーバ及び前記産業機器と通信する通信機能を有する処理装置と、ファームウェアを記録する不揮発性の記憶装置と、を備え、前記処理装置は、前記産業機器の状態を示すステータスデータを前記産業機器から取得し、前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記産業機器による前記通信端末への電力の供給の制御の変更を要することなく、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する。 Further, in order to solve such problems, the present invention provides the following communication terminal whose power supply is controlled by industrial equipment and which operates on the power supplied from the industrial equipment . This 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 stores status data indicating the state of the industrial equipment. When update firmware for updating the firmware is obtained from the industrial equipment and the status data satisfies a specific condition for determining a predetermined situation in which the industrial equipment is not turned off. Second, the firmware recorded in the non-volatile storage device is updated using the update firmware without changing control of power supply to the communication terminal by the industrial equipment .

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

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

本発明の第1の実施形態に係る通信端末を含む全体構成例を示す図である。1 is a diagram showing an overall configuration example including a communication terminal according to a first embodiment of the present invention; FIG. 図1に示した通信端末における通常の運用手順の一例を示すフローチャートである。2 is a flow chart showing an example of a normal operating procedure in the communication terminal shown in FIG. 1; ファームウェア更新の処理手順例を示すフローチャートである。7 is a flowchart illustrating an example of a procedure for updating firmware; 第2の実施形態に係る通信端末を含む全体構成例を示す図である。FIG. 10 is a diagram showing an example of the overall configuration including a communication terminal according to a second embodiment; FIG.

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

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

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

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

なお、本実施形態において、通信端末10とネットワーク40との間の通信経路は、図1の外部信号線42のような有線に限定されるものではなく、無線であってもよい。有線接続の場合の典型的な構成として、外部信号線42にLAN(Local Area Network)ケーブルを用い、ネットワーク40にインターネットを用いることができる。この有線接続の場合において、外部信号線42とネットワーク40は必ずしも直接接続される必要はなく、適宜ファイアウォールやハブといった中継装置やイントラネット等のネットワークを挟んでもよいが、これらの構成は本実施形態において本質的ではなく、図示を省略している。また、無線接続の場合の典型的な構成として、外部信号線42の代わりに携帯電話無線を用いることができる。この無線接続の場合、携帯電話無線とネットワーク40の間には、携帯電話基地局や無線通信網などを挟むことができるが、これらの構成も本実施形態では本質的ではない。無線接続の別の構成として、無線LANや近距離無線等を使用してもよい。 Incidentally, in the present embodiment, the communication path between the communication terminal 10 and the network 40 is not limited to a wired line such as the external signal line 42 in FIG. 1, and may be wireless. As a typical configuration for wired connection, a LAN (Local Area Network) cable can be used as the external signal line 42 and the Internet can be used as 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 hub or a network such as an intranet may be interposed as appropriate. The illustration is omitted because it is not essential. Also, as a typical configuration in the case of wireless connection, the external signal line 42 can be replaced with a mobile phone wireless. In the case of this wireless connection, a mobile phone base station, a wireless communication network, or the like can be interposed between the mobile phone radio and the network 40, but these configurations are also not essential in this embodiment. As another configuration of the wireless connection, a 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 a power supply 50 through a power supply line 52 and operates by power supplied from the power supply 50 . Furthermore, the air compressor 20 and the communication terminal 10 are connected by a power supply line 53 , and the communication terminal 10 operates by power supplied from the air compressor 20 through the power supply line 53 . More specifically, the power supplied to the communication terminal 10 through the power supply line 53 is adjusted to a voltage suitable for other devices built in the communication terminal 10 by a power supply circuit (not shown) built into the communication terminal 10. Although they are converted and supplied, they are omitted in FIG. 1 for the sake of simplicity.

また、電力供給線52の途中には、空気圧縮機20に対する電力の供給(ON)/遮断(OFF)を制御可能な電源スイッチ51が設けられている。図1では電源スイッチ51は空気圧縮機20の外部に示されているが、電源スイッチ51は空気圧縮機20に内蔵されていてもよい。上述したように、電源50からの電力は通信端末10にも供給されるものであり、空気圧縮機20は、電源スイッチ51がONにされて電源50から電力が供給されている限り、電力供給線53を通じて通信端末10に電力を供給する。一方、電源スイッチ51がOFFにされて空気圧縮機20に電力が供給されなくなると、通信端末10にも電力は供給されなくなる。電源スイッチ51は、空気圧縮機20の操作者(ユーザ)によって操作される。 A power switch 51 capable of controlling the supply (ON)/cutoff (OFF) of power to the air compressor 20 is provided in the power supply line 52 . Although power switch 51 is shown outside air compressor 20 in FIG. 1 , power switch 51 may be built in air compressor 20 . As described above, the power from the power source 50 is also supplied to the communication terminal 10, and the air compressor 20 is supplied with power as long as the power switch 51 is turned on and power is supplied from the power source 50. Power is supplied to the communication terminal 10 through line 53 . On the other hand, when power switch 51 is turned off and power is no longer supplied to air compressor 20 , power is no longer supplied to 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 memory device 12, and a nonvolatile memory device 13, which are 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 nonvolatile storage device 13, and the like. have. Although FIG. 1 shows the processing device 11 having all of the above functions, each of these functions need not be realized by one processing device 11 in the present embodiment, and the communication terminal 10 can perform the above functions. Multiple devices may be provided with one or more of each function. Further, in FIG. 1, the processing device 11, the volatile memory device 12, and the nonvolatile memory device 13 are shown as separate devices, but the present embodiment is not limited to this, and a plurality of the above devices are included. It may consist 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 and the volatile memory device 12 or the nonvolatile memory device 13 may be integrated.

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

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

不揮発性記憶装置13は、不揮発性のメモリであって、具体的には例えば、フラッシュメモリ(フラッシュROM)である。不揮発性記憶装置13には、ファームウェア等のデータが記憶されている。 The non-volatile memory device 13 is a non-volatile memory, specifically a flash memory (flash ROM), for example. Data such as firmware is stored in the nonvolatile 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 industrial equipment to which the communication terminal 10 according to the present embodiment is connected, and includes a processing device 21 and an air compression section 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 execution of an operation for 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 performs an air compression operation according to instructions from the processing device 21 . The air compressed by the air compression unit 22 is normally discharged to the outside of the air compressor 20 through a pipe, but it is not shown in FIG. .

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

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

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

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

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

次に、処理装置11は、ファームウェア更新処理を実行する(ステップS13)。ファームウェア更新処理は、一般にブートシーケンスとも呼ばれ、その処理手順は図3を参照しながら後述するが、ステップS13では、必ずしもファームウェアが更新されるわけではない。 Next, the processing device 11 executes firmware update processing (step S13). The firmware update process is generally called a boot sequence, and its 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 normal operation of the communication terminal 10 (step S14). The content of the normal operation in step S14 differs depending on the air compressor 20 and the overall system in which the communication terminal 10 is incorporated. Generally, for example, communication with the air compressor 20 and communication with the server 30, predetermined determination and calculation using 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 period of time has elapsed in normal operation), the processing device 11 proceeds to step S13 again to execute the firmware update process, and then performs 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. Any procedure that includes the firmware update process in step S13 in some form until the power is turned off may be used.

図3は、ファームウェア更新の処理手順例を示すフローチャートである。図3には、図2のステップS13におけるファームウェア更新処理の詳細な処理手順例が示されている。 FIG. 3 is a flowchart illustrating an example of a procedure for updating firmware. 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に記憶されたファームウェアを更新するという方法を採用している。 In updating the firmware of the communication terminal 10, it is necessary to prepare update firmware and record it in the nonvolatile storage device 13 (more specifically, rewrite the firmware data stored in the nonvolatile storage device 13). There is At this time, a method of recording the update firmware in a portable storage device (such as an SD card or a USB flash drive) and allowing the communication terminal 10 to read it directly is also conceivable. It is necessary to go to the location of the communication terminal 10 one by one with a portable storage device to carry out the work, which increases time and effort. Therefore, in this example, a method of acquiring (downloading) update firmware from the server 30 using the communication function of the communication terminal 10 and updating the firmware stored in the nonvolatile storage device 13 is adopted. .

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

ステップS23では、処理装置11は、サーバ30と通信を行い、サーバ30が保持している更新用ファームウェアのデータを揮発性記憶装置12にダウンロードする。 In step S<b>23 , the processing device 11 communicates with the server 30 and downloads 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 of step S23 is completed, next, the processing device 11 communicates with the air compressor 20 and receives status data representing the operating state of the air compressor 20 (step S24). In addition, data transmission to the air compressor 20 may be included when the processing device 11 communicates with the air compressor 20 in step S24.

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

なお、本例では説明を簡略にするために、空気圧縮運転中であることを特定の条件としたが、実際には、電源断が行われない状況であることを確実に確保するために、より詳細な条件を「特定の条件」として設定してもよい。例えば、空気圧縮機20の空気圧縮動作における動作工程を細分化し、更新用ファームウェアの書き込みに必要と想定される所定時間が担保できない可能性がある、終盤の動作工程については「特定の条件」から除外するようにしてもよい。 In this example, in order to simplify the explanation, the specific condition is that the air compression is in operation. 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 there is a possibility that the predetermined time required for writing the update firmware cannot be guaranteed, and the operation process at the end may not be guaranteed from "specific conditions". You may make it exclude.

ステップS25において特定の条件を満たした場合(ステップS25のYES)、処理装置11は更新用ファームウェアを書き込むことで、ファームウェアを更新する(ステップS26)。より具体的には、処理装置11は、ステップS23でダウンロードして揮発性記憶装置12に記憶した更新用ファームウェアのデータを、不揮発性記憶装置13に書き込む。ステップS26の処理後、ファームウェア更新処理は終了する。一方、ステップS25において特定の条件を満たさない場合は(ステップS25のNO)、更新用ファームウェアを書き込むことなく、ファームウェア更新処理を終了する。 If the specific condition is satisfied in step S25 (YES in step S25), the processing device 11 updates the firmware by writing update firmware (step S26). More specifically, the processing device 11 writes the update firmware data downloaded in step S<b>23 and stored in the volatile storage device 12 to the nonvolatile 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に示した処理手順は一例であって、本実施形態におけるファームウェア更新処理は、これに限定されるものではなく、例えば以下のような処理手順を採用してもよい。 Note that the processing procedure shown in FIG. 3 is an example, and the firmware update processing in this 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 normal operation process 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 in the volatile storage device 12, for example. By doing so, there is no need to acquire the status data again when updating the firmware.

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

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

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

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

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

図4は、第2の実施形態に係る通信端末を含む全体構成例を示す図である。第2の実施形態では、通信端末60の内部構成が一部異なっている以外は、図1に示した第1の実施形態と同様である。したがって、図4に示したように、第2の実施形態に係る通信端末60は、第1の実施形態と同様に、空気圧縮機20及びサーバ30との接続関係を有する。 FIG. 4 is a diagram showing an overall configuration example including a 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 memory device 12, and nonvolatile memory devices 13A and 13B, which are connected to each other via an internal signal line 44. . The communication terminal 60 differs from the communication terminal 10 according to the first embodiment in that the nonvolatile memory device 13 is duplicated by the nonvolatile memory 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 store programs (firmware) and other data used in the communication terminal 60 in the same way, and when one is used as an active system, the other can be used as a standby system. assigned. The active system/standby system in the non-volatile storage devices 13A and 13B can be set by the processing device 11 and arbitrarily switched, and at the time of switching, stored data other than firmware is synchronized from the active system to the standby system. For example, when the non-volatile storage device 13A is used as an active system, the processing device 11 reads and executes firmware stored in the non-volatile storage device 13A. In the following description, the nonvolatile memory device 13A is assumed to be an active system, and the nonvolatile memory device 13B is assumed to be a standby system. Note that the nonvolatile memory devices 13A and 13B do not necessarily have to be configured as separate memory devices, and may be realized by one nonvolatile memory device. That is, a partition may be created inside one non-volatile storage device to divide it into an active storage area and a standby storage area.

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

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

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

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

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

その後、処理装置11は、不揮発性記憶装置13A,13Bの間で稼働系と待機系とを切り替え、上記の「特定の条件」を満たす場合に、不揮発性記憶装置13Aのファームウェアも更新する。待機系となった不揮発性記憶装置13Aに対するファームウェア更新の手順としては、例えば、ステップS23で揮発性記憶装置12に一時的に記憶されている更新用ファームウェアのデータを、不揮発性記憶装置13Aに書き込めばよい。 After that, the processing device 11 switches between the active system and the standby system between the nonvolatile storage devices 13A and 13B, and updates the firmware of the nonvolatile storage device 13A when the above "specific conditions" are satisfied. As a procedure for updating the firmware for the standby nonvolatile storage device 13A, for example, the update firmware data temporarily stored in the volatile storage device 12 in step S23 is written to the nonvolatile 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 non-volatile storage device 13A of the active system to continue normal operation, while the firmware of the non-volatile storage device 13B of the standby system is stored. can be updated. Therefore, according to the second embodiment, in addition to the effects obtained in the first embodiment, it is more efficient than the first embodiment in that the firmware can be updated during operation. Firmware update can be executed 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 above first and second embodiments constitute the processing device 11, the volatile storage device 12, and the nonvolatile storage device 13 (13A, 13B). and realized in the form of an electronic device in which these are housed in some kind of housing. However, the present invention is not limited to the form of electronic equipment housed in such a housing. Specifically, for example, it may be in the form of a built-in communication board that includes each of the above configurations without being housed in a housing. Furthermore, in the case of taking the form of a built-in communication board, it is not limited to being formed on one board, and one or a plurality of circuits corresponding to each configuration are divided and formed on a plurality of boards. , a form in which a plurality of these substrates are connected.

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

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

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

また、図面における制御線や情報線は、説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実施には、ほとんど全ての構成が相互に接続されていると考えてもよい。 In addition, the control lines and information lines in the drawings show what is considered necessary for explanation, and not all the control lines and information lines are necessarily shown on the product. In practice, it may be considered that almost all configurations are 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 compression unit 30 server 40 network 41, 42, 43 external signal lines 44, 45 internal signal Line 50 Power supply 51 Power switch 52, 53 Power supply line

Claims (12)

産業機器によって電力の供給が制御され、前記産業機器から供給される電力によって動作する組込用通信基板であって、
サーバ及び前記産業機器と通信する通信機能を有する処理装置と、
ファームウェアを記録する不揮発性の記憶装置と、
を備え、
前記処理装置は、
前記産業機器の状態を示すステータスデータを前記産業機器から取得し、
前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、
前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記産業機器による前記組込用通信基板への電力の供給の制御の変更を要することなく、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする組込用通信基板。
An embedded communication board, the power supply of which is controlled by an industrial device and which is operated by the power supplied from the industrial device ,
a processing device having a communication function that communicates with a server and the industrial equipment;
a non-volatile storage device for recording firmware;
with
The processing device is
obtaining status data indicating a state of the industrial equipment from the industrial equipment;
obtaining update firmware from the server for updating the firmware;
When the status data indicates a specific condition for determining a predetermined situation in which the power supply of the industrial equipment is not performed, it is necessary to change the control of power supply to the built-in communication board by the industrial equipment. and update the firmware recorded in the non-volatile storage device using the update firmware.
前記処理装置が前記サーバから取得した前記更新用ファームウェアを一時的に記憶する揮発性の記憶装置をさらに備え、
前記ステータスデータが前記特定の条件を満たす場合に、前記処理装置は、前記揮発性の記憶装置に一時的に記憶された前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする請求項1に記載の組込用通信基板。
further comprising a volatile storage device for temporarily storing the update firmware obtained by the processing device from the server;
When the status data satisfies the specific condition, the processing device uses the update firmware temporarily stored in the volatile storage device to be recorded in the non-volatile storage device. 2. The embedded communication board according to claim 1, wherein said firmware is updated.
前記処理装置は、前記ステータスデータが前記特定の条件を満たさない場合には、前記サーバから前記更新用ファームウェアを取得しない
ことを特徴とする請求項1に記載の組込用通信基板。
2. The embedded communication board according to claim 1, wherein said processing device does not acquire said update firmware from said server when said status data does not satisfy said specific condition.
前記不揮発性の記憶装置を二重化する第1及び第2の記憶部を有し、
前記第1及び前記第2の記憶部は、一方が稼働系で使用される場合に他方が待機系に割り当てられ、
前記処理装置は、前記ステータスデータが前記特定の条件を満たす場合に、前記更新用ファームウェアを用いて、前記待機系に割り当てられている前記記憶部に記録された前記ファームウェアを更新する
ことを特徴とする請求項1に記載の組込用通信基板。
Having first and second storage units that duplicate the nonvolatile storage device,
When one of the first and second storage units is used in an active system, the other is assigned to a standby system,
The processing device updates the firmware recorded in the storage unit assigned to the standby system using the update firmware when the status data satisfies the specific condition. The built-in communication board according to claim 1.
産業機器によって電力の供給が制御され、前記産業機器から供給される電力によって動作する通信端末であって、
サーバ及び前記産業機器と通信する通信機能を有する処理装置と、
ファームウェアを記録する不揮発性の記憶装置と、
を備え、
前記処理装置は、
前記産業機器の状態を示すステータスデータを前記産業機器から取得し、
前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得し、
前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記産業機器による前記通信端末への電力の供給の制御の変更を要することなく、前記更新用ファームウェアを用いて前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
することを特徴とする通信端末。
A communication terminal whose power supply is controlled by an industrial device and which operates on the power supplied from the industrial device ,
a processing device having a communication function that communicates with a server and the industrial equipment;
a non-volatile storage device for recording firmware;
with
The processing device is
obtaining status data indicating a state of the industrial equipment from the industrial equipment;
obtaining update firmware from the server for updating the firmware;
without requiring a change in control of power supply to the communication terminal by the industrial equipment when the status data indicates a specific condition for determining a predetermined situation in which the industrial equipment is not powered off. A communication terminal that updates the firmware recorded in the nonvolatile storage device using update firmware.
前記処理装置が前記サーバから取得した前記更新用ファームウェアを一時的に記憶する揮発性の記憶装置をさらに備え、
前記ステータスデータが前記特定の条件を満たす場合に、前記処理装置は、前記揮発性の記憶装置に一時的に記憶された前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする請求項に記載の通信端末。
further comprising a volatile storage device for temporarily storing the update firmware obtained by the processing device from the server;
When the status data satisfies the specific condition, the processing device uses the update firmware temporarily stored in the volatile storage device to be recorded in the non-volatile storage device. 6. The communication terminal according to claim 5 , wherein said firmware is updated.
前記ステータスデータが前記特定の条件を満たさない場合には、前記処理装置は、前記サーバから前記更新用ファームウェアを取得しない
ことを特徴とする請求項に記載の通信端末。
6. The communication terminal according to claim 5 , wherein when 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の記憶部は、一方が稼働系で使用される場合に他方が待機系に割り当てられ、
前記処理装置は、前記ステータスデータが前記特定の条件を満たす場合に、前記更新用ファームウェアを用いて、前記待機系に割り当てられている前記記憶部に記録された前記ファームウェアを更新する
ことを特徴とする請求項に記載の通信端末。
Having first and second storage units that duplicate the nonvolatile storage device,
When one of the first and second storage units is used in an active system, the other is assigned to a standby system,
The processing device updates the firmware recorded in the storage unit assigned to the standby system using the update firmware when the status data satisfies the specific condition. The communication terminal according to claim 5 .
産業機器によって電力の供給が制御され、前記産業機器から供給される電力によって動作する組込用通信基板または通信端末におけるファームウェア更新方法であって、
前記組込用通信基板または前記通信端末は、
サーバ及び前記産業機器と通信する通信機能を有する処理装置と、
ファームウェアを記録する不揮発性の記憶装置と、
を有し、
前記処理装置が、前記産業機器の状態を示すステータスデータを前記産業機器から取得するデータ取得ステップと、
前記処理装置が、前記ファームウェアを更新するための更新用ファームウェアを前記サーバから取得する更新用ファームウェア取得ステップと、
前記処理装置が、前記データ取得ステップで取得された前記ステータスデータが前記産業機器の電源断が行われない所定の状況を判別する特定の条件を満たす場合に、前記産業機器による前記組込用通信基板または前記通信端末への電力の供給の制御の変更を要することなく、前記更新用ファームウェア取得ステップで取得された前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新するファームウェア更新ステップと、
を備えることを特徴とするファームウェア更新方法。
A firmware update method for a built-in communication board or a communication terminal , the power supply of which is controlled by an industrial device and which operates on the power supplied from the industrial device, comprising :
The built-in communication board or the communication terminal ,
a processing device having a communication function that communicates with a server and the industrial equipment;
a non-volatile storage device for recording firmware;
has
a data acquisition step in which the processing device acquires status data indicating the state of the industrial equipment from the industrial equipment;
an update firmware acquisition step in which the processing device acquires update firmware for updating the firmware from the server;
When the processing device satisfies a specific condition for determining a predetermined situation in which the power of the industrial device is not turned off , the embedded communication by the industrial device , the status data acquired in the data acquiring step satisfies a specific condition. The firmware recorded in the non-volatile storage device is updated using the update firmware acquired in the update firmware acquisition step without changing control of power supply to the board or the communication terminal. a firmware update step to update;
A firmware update method, comprising:
前記組込用通信基板または前記通信端末は、揮発性の記憶装置をさらに有し、
前記更新用ファームウェア取得ステップにおいて、前記処理装置は、前記サーバから取得した前記更新用ファームウェアを前記揮発性の記憶装置に一時的に記憶し、
前記ファームウェア更新ステップにおいて、前記ステータスデータが前記特定の条件を満たす場合に、前記処理装置は、前記更新用ファームウェア取得ステップで前記揮発性の記憶装置に一時的に記憶した前記更新用ファームウェアを用いて、前記不揮発性の記憶装置に記録された前記ファームウェアを更新する
ことを特徴とする請求項に記載のファームウェア更新方法。
The embedded communication board or the communication terminal further has a volatile storage device,
In the updating firmware acquiring step, the processing device temporarily stores the updating firmware acquired from the server in the volatile storage device;
In the firmware update step, if the status data satisfies the specific condition, the processing device updates the update firmware temporarily stored in the volatile storage device in the update firmware acquisition step. 10. The firmware update method according to claim 9 , wherein the firmware recorded in the non-volatile storage device is updated using the firmware.
前記データ取得ステップで取得した前記ステータスデータが前記特定の条件を満たさない場合には、前記更新用ファームウェア取得ステップを実行しない
ことを特徴とする請求項に記載のファームウェア更新方法。
10. The firmware update method according to claim 9 , wherein said update firmware acquisition step is not executed when said status data acquired in said data acquisition step does not satisfy said specific condition.
前記不揮発性の記憶装置は、一方が稼働系で使用される場合に、他方が待機系に割り当てられる第1及び第2の記憶部によって二重化が構成され、
前記ファームウェア更新ステップにおいて前記処理装置は、前記ステータスデータが前記特定の条件を満たす場合に、前記更新用ファームウェアを用いて、前記待機系に割り当てられている前記記憶部に記録された前記ファームウェアを更新する
ことを特徴とする請求項に記載のファームウェア更新方法。
The non-volatile storage device is configured to be duplicated by first and second storage units, one of which is used in the active system and the other of which is allocated to the standby system,
In the firmware update step, the processing device updates the firmware recorded in the storage unit assigned to the standby system using the update firmware when the status data satisfies the specific condition. The firmware update method according to claim 9 , characterized by:
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 JP2021018541A (en) 2021-02-15
JP7239413B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022169407A (en) * 2021-04-27 2022-11-09 株式会社日立産機システム 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

Also Published As

Publication number Publication date
JP2021018541A (en) 2021-02-15

Similar Documents

Publication Publication Date Title
US6668261B1 (en) Method of upgrading a program using associated configuration data
WO2017149825A1 (en) Program update system, program update method, and computer program
JP6227794B2 (en) Vehicle control device, reprogramming system
TWI722269B (en) Firmware updating method and electronic device using the same
JP2007094766A (en) Controller, upgrade method and program
JP2003345730A (en) Interface device, method for updating firmware in interface device and program therefor
WO2019207729A1 (en) Industrial computer, industrial computer system, operating system update method, and program
JP7239413B2 (en) EMBEDDED COMMUNICATION BOARD, COMMUNICATION TERMINAL, AND FIRMWARE UPDATE METHOD
CN111026417A (en) Embedded equipment upgrading method and embedded equipment
JPH04167139A (en) Program down loading system
JP6515462B2 (en) INFORMATION PROCESSING DEVICE, SETTING METHOD FOR INFORMATION PROCESSING DEVICE, AND SETTING PROGRAM
JP2000245681A (en) Version updating method for firmware for electronic endoscope device and electronic endoscope device
JP5084853B2 (en) Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program
US10120677B2 (en) Method of rewriting printer firmware, and printer
JP2013186634A (en) Information processing apparatus
JP2007042038A (en) Device and method for controlling terminal equipment
JP3715631B2 (en) Information processing apparatus, CPU frequency control method, and program
JP7491765B2 (en) Firmware update system and firmware update method
JPH0798659A (en) Down load bootstrap method
KR102120684B1 (en) Method for downloading FPGA firmware data using FPGA firmware download system
KR20030041605A (en) Apparatus and method for remote upgrading of program in communication system
JP2021174610A (en) Control system and control equipment
JP2002024044A (en) Controller
JP2018147285A (en) Electronic device, activation method, and program
KR100793203B1 (en) Method for updating a data in note-book computer

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