JP7358813B2 - Field device system, measurement value conversion method, terminal device, and terminal program - Google Patents

Field device system, measurement value conversion method, terminal device, and terminal program Download PDF

Info

Publication number
JP7358813B2
JP7358813B2 JP2019133857A JP2019133857A JP7358813B2 JP 7358813 B2 JP7358813 B2 JP 7358813B2 JP 2019133857 A JP2019133857 A JP 2019133857A JP 2019133857 A JP2019133857 A JP 2019133857A JP 7358813 B2 JP7358813 B2 JP 7358813B2
Authority
JP
Japan
Prior art keywords
unit
field device
measurement value
value
information
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
JP2019133857A
Other languages
Japanese (ja)
Other versions
JP2021018603A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2019133857A priority Critical patent/JP7358813B2/en
Publication of JP2021018603A publication Critical patent/JP2021018603A/en
Application granted granted Critical
Publication of JP7358813B2 publication Critical patent/JP7358813B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、フィールド機器システム、測定値変換方法、端末装置、及び端末プログラムに関する。 The present invention relates to a field device system, a measurement value conversion method, a terminal device, and a terminal program.

フィールド機器システムは、フィールド機器と、フィールド機器と通信可能に接続される通信装置(例えば、サーバ装置、端末装置、制御装置等)とを備えるシステムである。従来、フィールド機器システムは、例えば分散制御システム(DCS:Distributed Control System)等のようにプラントや工場等の内部に構築されることが殆どであった。近年では、IoT(Internet of Things:モノのインターネット)技術やIIoT(産業用IoT)技術の進展によって、プラント等の外部に構築されるフィールド機器システムも増えている。 A field device system is a system that includes a field device and a communication device (for example, a server device, a terminal device, a control device, etc.) that is communicably connected to the field device. Conventionally, most field device systems have been constructed inside plants, factories, etc., such as, for example, distributed control systems (DCS). In recent years, with advances in IoT (Internet of Things) technology and IIoT (industrial IoT) technology, the number of field device systems built outside plants and the like has increased.

このようなフィールド機器システムで用いられるフィールド機器は、設置後に機能の追加や変更が必要になることがある。例えば、フィールド機器で取得した測定値の表示方法を変更したい場合(測定値の単位が新たに追加されたり、別の物理量に変換して出力したりする場合)、フィールド機器の機能の変更が必要になる。フィールド機器の機能の追加や変更は、例えば、作業者がフィールド機器の設置場所に赴き、端末装置をフィールド機器に接続してフィールド機器のファームウェアを更新することによって行われる。以下の特許文献1には、ホスト・コンピュータからフィールド機器に機器情報(各種プログラムや設定データ等)をダウンロードすることで、フィールド機器の機能の追加や変更を行う発明が開示されている。 Field devices used in such field device systems may require additions or changes in functionality after installation. For example, if you want to change the display method of measured values obtained with a field device (such as adding a new unit of measured value or converting it to a different physical quantity and outputting it), it is necessary to change the functionality of the field device. become. Adding or changing the functions of a field device is performed, for example, by an operator visiting the installation location of the field device, connecting a terminal device to the field device, and updating the firmware of the field device. Patent Document 1 below discloses an invention for adding or changing functions of a field device by downloading device information (various programs, setting data, etc.) from a host computer to the field device.

特開2004-295299号公報Japanese Patent Application Publication No. 2004-295299

ところで、上述した端末装置を用いてフィールド機器の機能の追加や変更を行う場合には、端末装置を携帯した作業者が、各フィールド機器の設置場所に赴いてファームウェアの更新作業を行う必要がある。このため、フィールド機器の数が多くなるほど、ファームウェアの更新作業に要する時間が長くなるとともに、作業者の負担が増加するという問題がある。 By the way, when adding or changing the functions of a field device using the above-mentioned terminal device, a worker carrying the terminal device needs to go to the installation location of each field device and update the firmware. . Therefore, as the number of field devices increases, the time required to update the firmware increases, and the burden on the operator increases.

上述した特許文献1に開示された発明を用いれば、作業者が各フィールド機器の設置場所に赴いてファームウェアの更新作業を行う必要はない。しかしながら、フィールド機器の数が多くなるほど、又は、ホスト・コンピュータとフィールド機器との間の通信速度が遅くなるほど、ダウンロードに要する時間が長くなるという問題がある。 If the invention disclosed in Patent Document 1 mentioned above is used, there is no need for an operator to go to the installation location of each field device and update the firmware. However, there is a problem in that the more the number of field devices increases, or the slower the communication speed between the host computer and the field devices, the longer the time required for downloading becomes.

本発明は上記事情に鑑みてなされたものであり、フィールド機器のファームウェアを更新することなく、必要となる測定値を得ることができるフィールド機器システム、測定値変換方法、端末装置、及び端末プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides a field device system, a measured value conversion method, a terminal device, and a terminal program that can obtain necessary measured values without updating the firmware of the field device. The purpose is to provide.

上記課題を解決するために、本発明の一態様によるフィールド機器システムは、互いに通信可能に接続されるフィールド機器(10)と通信装置(20、30)とを備えるフィールド機器システム(1)であって、前記フィールド機器が、測定対象の検出を行うセンサ(SN)の検出値から、予め規定された第1単位における前記測定対象の測定値である第1測定値(MD1)を求める演算部(12)と、前記第1単位を示す情報が含まれる第1情報(CD1)と、前記通信装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報(CD2)とを記憶する記憶部(13)と、を備え、前記通信装置が、前記フィールド機器から前記第1情報及び前記第2情報と、前記第1測定値とを取得する取得部(35)と、取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値(MD2)に変換する変換部(34)と、を備える。 In order to solve the above problems, a field device system according to one aspect of the present invention is a field device system (1) including a field device (10) and a communication device (20, 30) that are communicably connected to each other. The field device includes a calculation unit (MD1) that calculates a first measurement value (MD1) that is a measurement value of the measurement object in a predefined first unit from a detection value of a sensor (SN) that detects the measurement object. 12), first information (CD1) that includes information indicating the first unit, and second information (CD1) that includes information indicating a second unit that is the unit of the measured value of the measurement target to be output from the communication device. a storage unit (13) for storing information (CD2), and an acquisition unit (13) for the communication device to acquire the first information, the second information, and the first measurement value from the field device; 35), and a conversion unit that converts the first measurement value into a second measurement value (MD2) that is a measurement value of the measurement target in the second unit, based on the acquired first information and second information. (34) and.

また、本発明の一態様によるフィールド機器システムは、前記変換部が、前記第1測定値を同じ物理量であって値が異なる第2測定値に変換する第1変換と、前記第1測定値を物理量が異なる第2測定値に変換する第2変換と、の少なくとも一方を行う。 Further, in the field device system according to one aspect of the present invention, the conversion unit may perform a first conversion of converting the first measurement value into a second measurement value that is the same physical quantity but has a different value; At least one of the following is performed: a second conversion to a second measurement value having a different physical quantity;

また、本発明の一態様によるフィールド機器システムは、前記通信装置が、前記フィールド機器を識別する識別情報(ID)に対応づけられた変換式を格納する格納部(33)を備えており、前記第1情報及び前記第2情報の少なくとも一方には、前記変換式で用いられるパラメータが含まれ、前記変換部が、前記取得部によって取得される前記フィールド機器の前記識別情報に対応づけられた前記変換式を前記格納部から読み出し、読み出した前記変換式と前記パラメータとを用いて、前記第1測定値を前記第2測定値に変換する。 Further, in the field device system according to one aspect of the present invention, the communication device includes a storage unit (33) that stores a conversion formula associated with identification information (ID) for identifying the field device, and At least one of the first information and the second information includes a parameter used in the conversion formula, and the conversion unit selects the parameter that corresponds to the identification information of the field device acquired by the acquisition unit. A conversion formula is read from the storage unit, and the first measurement value is converted to the second measurement value using the read conversion formula and the parameter.

本発明の一態様による測定値変換方法は、互いに通信可能に接続されるフィールド機器(10)と通信装置(20、30)とを備えるフィールド機器システム(1)における測定値変換方法であって、前記フィールド機器から、測定対象の検出を行うセンサ(SN)の検出値から前記フィールド機器によって求められた、予め規定された第1単位における前記測定対象の測定値である第1測定値(MD1)と、前記第1単位を示す情報が含まれる第1情報(CD1)と、自装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報(CD2)とを取得する取得ステップ(S22、S23)と、取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値に変換する変換ステップ(S24)と、を有する。 A measured value conversion method according to one aspect of the present invention is a measured value conversion method in a field device system (1) comprising a field device (10) and a communication device (20, 30) that are communicably connected to each other, A first measurement value (MD1), which is a measurement value of the measurement target in a predefined first unit, obtained by the field device from a detection value of a sensor (SN) that detects the measurement target. , first information (CD1) that includes information indicating the first unit, and second information (CD2) that includes information indicating a second unit that is the unit of the measurement value of the measurement target to be output from the own device. ), and based on the acquired first information and second information, the first measured value is converted into a second measured value of the measurement target in the second unit. and a conversion step (S24) of converting into a measured value.

本発明の一態様による端末装置は、フィールド機器(10)と通信可能に接続される端末装置(30)であって、前記フィールド機器から、測定対象の検出を行うセンサ(SN)の検出値から前記フィールド機器によって求められた、予め規定された第1単位における前記測定対象の測定値である第1測定値(MD1)と、前記第1単位を示す情報が含まれる第1情報(CD1)と、自装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報(CD2)とを取得する取得部(35)と、取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値(MD2)に変換する変換部(34)と、を備える。 A terminal device according to one aspect of the present invention is a terminal device (30) that is communicably connected to a field device (10), and the terminal device (30) is configured to receive information from a detected value of a sensor (SN) that detects a measurement target from the field device. a first measurement value (MD1) which is a measurement value of the measurement target in a predefined first unit determined by the field device; and first information (CD1) including information indicating the first unit. , an acquisition unit (35) that acquires second information (CD2) including information indicating a second unit that is a unit of the measured value of the measurement target to be output from the own device; and the acquired first information and A conversion unit (34) that converts the first measurement value into a second measurement value (MD2) that is a measurement value of the measurement object in the second unit based on the second information.

本発明の一態様による端末プログラムは、コンピュータを、フィールド機器(10)と通信可能に接続される端末装置(30)として機能させる端末プログラムであって、前記コンピュータを、前記フィールド機器から、測定対象の検出を行うセンサ(SN)の検出値から前記フィールド機器によって求められた、予め規定された第1単位における前記測定対象の測定値である第1測定値(MD1)と、前記第1単位を示す情報が含まれる第1情報(CD1)と、自装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報(CD2)とを取得する取得手段(35)と、取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値(MD2)に変換する変換手段(34)と、して機能させる。 A terminal program according to one aspect of the present invention is a terminal program that causes a computer to function as a terminal device (30) that is communicatively connected to a field device (10), and is a terminal program that causes a computer to function as a measurement target from the field device. A first measurement value (MD1), which is a measurement value of the measurement target in a predefined first unit, obtained by the field device from a detection value of a sensor (SN) that performs detection; acquisition means for acquiring first information (CD1) containing information indicating the measurement value and second information (CD2) containing information indicating the second unit which is the unit of the measurement value of the measurement target to be output from the own device; (35) and conversion of converting the first measurement value into a second measurement value (MD2) that is the measurement value of the measurement target in the second unit, based on the acquired first information and second information. means (34).

本発明によれば、フィールド機器のファームウェアを更新することなく、必要となる測定値を得ることができるという効果がある。 According to the present invention, there is an effect that necessary measurement values can be obtained without updating the firmware of a field device.

本発明の一実施形態によるフィールド機器システムの全体構成を示す図である。1 is a diagram showing the overall configuration of a field device system according to an embodiment of the present invention. 本発明の一実施形態によるフィールド機器システムで用いられるフィールド機器の要部構成を示すブロック図である。FIG. 1 is a block diagram showing the main configuration of a field device used in a field device system according to an embodiment of the present invention. 発明の一実施形態によるフィールド機器システムで用いられる端末装置の要部構成を示すブロック図である。FIG. 1 is a block diagram showing the main configuration of a terminal device used in a field device system according to an embodiment of the invention. 本発明の一実施形態によるフィールド機器システムの動作例を示すフローチャートである。1 is a flowchart illustrating an example of the operation of a field device system according to an embodiment of the present invention. 統一単位テーブルの一例を示す図である。It is a figure which shows an example of a unified unit table.

以下、図面を参照して本発明の実施形態によるフィールド機器システム、測定値変換方法、端末装置、及び端末プログラムについて詳細に説明する。 EMBODIMENT OF THE INVENTION Hereinafter, a field device system, a measured value conversion method, a terminal device, and a terminal program according to embodiments of the present invention will be described in detail with reference to the drawings.

〔概要〕
本発明の実施形態は、フィールド機器のファームウェアを更新することなく、必要となる測定値を得ることができるようにするものである。従来、フィールド機器で得られた測定値を変更する場合(例えば、測定値の単位が新たに追加される場合)には、フィールド機器のファームウェアの変更が必要であった。本発明の実施形態は、従来、測定値を変更する場合に必要であったファームウェアの更新を行わずとも、必要となる測定値を得ることができるようにするものである。
〔overview〕
Embodiments of the present invention allow the necessary measurements to be obtained without updating the firmware of the field device. Conventionally, when changing a measurement value obtained by a field device (for example, when a new measurement value unit is added), it has been necessary to change the firmware of the field device. Embodiments of the present invention make it possible to obtain necessary measured values without updating firmware, which was conventionally required when changing measured values.

現在、物理量の単位としてSI単位(国際単位)用いられることが多いが、SI単位以外の単位が用いられている国や地域もある。また、ミリ(m)、キロ(k)、メガ(M)等の接頭辞を含めると、同一の物理量に対して膨大な数の単位が存在する。更に、同じ単位でも、温度によって物体の密度が異なるものは、温度ごと固有の単位がある。 Currently, SI units (international units) are often used as units of physical quantities, but there are countries and regions where units other than SI units are used. Furthermore, if prefixes such as millimeter (m), kilometer (k), and mega (M) are included, there are a huge number of units for the same physical quantity. Furthermore, even if the unit is the same, if the density of an object differs depending on the temperature, there is a unique unit for each temperature.

例えば、圧力のSI単位としては、Pa(パスカル)、kPa(キロ・パスカル)、MPa(メガ・パスカル)等が挙げられる。圧力のSI単位以外の単位としては、mmHg(水銀柱ミリメートル)、bar(バール)、torr(トール)、mmHO(水柱ミリメートル)等が挙げられる。尚、水柱ミリメートルについては、温度毎に規定され、例えば、mmHO(68degF)、mmHO(4℃)等が存在する。 For example, SI units of pressure include Pa (pascal), kPa (kilo-pascal), MPa (mega-pascal), and the like. Examples of units of pressure other than SI units include mmHg (millimeters of mercury), bar, torr, mmH 2 O (millimeters of water), and the like. Note that the millimeter of water column is defined for each temperature, and includes, for example, mmH 2 O (68 degF), mmH 2 O (4° C.), and the like.

従来のフィールド機器は、測定値を設定された単位に換算する機能を持っているため、想定される全ての単位換算をフィールド機器のファームウェアで実装する必要があった。このため、圧力の単位のように、膨大な単位が存在する場合には、単位換算機能だけでも様々な種類の圧力伝送器の開発工数がかかり、品質保証するための検証工数が膨大になっていた。また、新しい単位を追加する場合は、特別なファームウェアを提供しなければならず、同様に開発工数が必要になっていた。 Conventional field devices have the ability to convert measured values into preset units, so all possible unit conversions had to be implemented in the field device's firmware. For this reason, when there are a huge number of units such as pressure units, the unit conversion function alone requires a lot of man-hours to develop various types of pressure transmitters, and the number of man-hours required for verification to ensure quality is enormous. Ta. Additionally, when adding a new unit, special firmware must be provided, which also requires development man-hours.

本発明の実施形態では、互いに通信可能に接続されるフィールド機器と通信装置とによってフィールド機器システムを構成している。フィールド機器は、測定対象の検出を行うセンサの検出値から第1測定値を求める演算部と、第1測定値及び第2測定値(通信装置から出力させるべき測定値)の単位がそれぞれ含まれる第1情報及び第2情報を記憶する記憶部と、を備えている。通信装置は、フィールド機器から第1情報及び第2情報と、第1測定値とを取得する取得部と、取得した第1情報及び第2情報に基づいて、第1測定値を第2測定値に変換する変換部と、を設けている。これにより、フィールド機器のファームウェアを更新することなく、必要となる測定値を得ることができる。 In an embodiment of the present invention, a field device system is configured by a field device and a communication device that are communicably connected to each other. The field device includes a calculation unit that calculates the first measurement value from the detection value of the sensor that detects the measurement target, and units for the first measurement value and the second measurement value (measurement value to be output from the communication device). A storage unit that stores first information and second information. The communication device includes an acquisition unit that acquires first information, second information, and a first measurement value from the field device, and a first measurement value and a second measurement value based on the acquired first information and second information. A converting unit for converting the image into the image is provided. This makes it possible to obtain the necessary measurement values without updating the firmware of the field device.

〔実施形態〕
〈フィールド機器システム〉
図1は、本発明の一実施形態によるフィールド機器システムの全体構成を示す図である。図1に示す通り、本実施形態のフィールド機器システム1は、フィールド機器10、上位システム20、及び端末装置30を備えており、フィールド機器10の測定値を、上位システム20が収集するとともに、端末装置30が取得可能である。
[Embodiment]
<Field device system>
FIG. 1 is a diagram showing the overall configuration of a field device system according to an embodiment of the present invention. As shown in FIG. 1, the field device system 1 of this embodiment includes a field device 10, a host system 20, and a terminal device 30. The host system 20 collects the measured values of the field device 10, and Device 30 is available.

フィールド機器10は、測定対象又はその近傍に設置され、各種物理量(例えば、温度、湿度、圧力、振動、磁気、腐食等)を測定する。尚、測定対象は、特に制限されることはなく、任意のものであって良い。また、図1では、フィールド機器10を1つのみ図示しているが、フィールド機器10の数は任意である。フィールド機器10は、ネットワークN1を介して上位システム20と通信可能に接続される。 The field device 10 is installed at or near a measurement target and measures various physical quantities (for example, temperature, humidity, pressure, vibration, magnetism, corrosion, etc.). Note that the object to be measured is not particularly limited and may be any object. Further, although only one field device 10 is illustrated in FIG. 1, the number of field devices 10 is arbitrary. Field device 10 is communicably connected to host system 20 via network N1.

ネットワークN1は、有線のネットワークであっても良く、無線のネットワークであっても良い。本実施形態では、ネットワークN1は、低消費電力長距離無線通信(LPWA:Low Power Wide Area)が可能なネットワークであるとする。この低消費電力長距離無線通信は、例えば、LoRa(登録商標)、SigFox(登録商標)、NB-IoT等であって良い。尚、フィールド機器10の詳細については後述する。 The network N1 may be a wired network or a wireless network. In this embodiment, it is assumed that the network N1 is a network capable of low power consumption long distance wireless communication (LPWA: Low Power Wide Area). This low power consumption long distance wireless communication may be, for example, LoRa (registered trademark), SigFox (registered trademark), NB-IoT, etc. Note that details of the field device 10 will be described later.

上位システム20は、ゲートウェイ21、アプリケーションサーバ22、及びクラウドシステム23を備える。これらゲートウェイ21、アプリケーションサーバ22、及びクラウドシステム23は、ネットワークN2を介して接続される。ネットワークN2は、ネットワークN1と同様に、有線のネットワークであっても良く、無線のネットワークであっても良い。 The host system 20 includes a gateway 21, an application server 22, and a cloud system 23. These gateway 21, application server 22, and cloud system 23 are connected via network N2. Like the network N1, the network N2 may be a wired network or a wireless network.

ゲートウェイ21は、ネットワークN1とネットワークN2とを接続し、ネットワークN1を介して送受信される各種データと、ネットワークN2を介して送受信される各種データの中継を行う。このゲートウェイ21を設けることで、セキュリティを維持しつつ、ネットワークN1とネットワークN2とを相互に接続することができる。ゲートウェイ21は、フィールド機器10から送信される無線信号を受信することが可能な任意の場所に設置される。 The gateway 21 connects the network N1 and the network N2, and relays various data transmitted and received via the network N1 and various data transmitted and received via the network N2. By providing this gateway 21, network N1 and network N2 can be interconnected while maintaining security. The gateway 21 is installed at any location where it can receive wireless signals transmitted from the field device 10.

アプリケーションサーバ22は、ゲートウェイ21を介して送信されてくるフィールド機器10からの測定値を収集して蓄積する。アプリケーションサーバ22は、蓄積した測定値を解析したり、解析結果をユーザが見やすい形式で表示したりする。尚、解析結果の表示は、アプリケーションサーバ22が備える表示装置に表示しても良く、ネットワークN2を介して(或いは、ネットワークN1,N2を介して)アプリケーションサーバ22と通信可能に接続された他の装置(図示省略)が備える表示装置に表示しても良い。 The application server 22 collects and accumulates measurement values sent from the field devices 10 via the gateway 21. The application server 22 analyzes the accumulated measurement values and displays the analysis results in a format that is easy for the user to view. Note that the analysis results may be displayed on a display device included in the application server 22, or on other devices communicatively connected to the application server 22 via the network N2 (or via the networks N1 and N2). It may be displayed on a display device included in the device (not shown).

クラウドシステム23は、インターネット等のネットワークを介して、各種サービスを提供するシステムである。このクラウドシステム23は、インターネット等のネットワークに接続された各種のサーバ装置から構成される。クラウドシステム23は、例えば、アプリケーションサーバ22からアップロードされたフィールド機器10の測定値やアプリケーションサーバ22で行われた解析結果を、ネットワークを介してユーザに提供するサービスを提供する。 The cloud system 23 is a system that provides various services via a network such as the Internet. This cloud system 23 is composed of various server devices connected to a network such as the Internet. The cloud system 23 provides, for example, a service that provides the measured values of the field device 10 uploaded from the application server 22 and the analysis results performed by the application server 22 to the user via a network.

端末装置30は、ネットワークN3を介してフィールド機器10と通信可能に接続される。ネットワークN3は、有線のネットワークであっても良く、無線のネットワークであっても良い。本実施形態では、ネットワークN3は、近距離無線通信が可能なネットワークであるとする。この近距離無線通信は、通信距離が数[cm]~数[m]程度の無線通信であり、例えば、NFC(Near Field Communication)、Wi-Fi(登録商標)、ZigBee(登録商標)、Bluetooth(登録商標)、赤外線通信等であって良い。 The terminal device 30 is communicably connected to the field device 10 via the network N3. The network N3 may be a wired network or a wireless network. In this embodiment, it is assumed that the network N3 is a network capable of short-range wireless communication. This short-range wireless communication is wireless communication with a communication distance of several [cm] to several [m], and includes, for example, NFC (Near Field Communication), Wi-Fi (registered trademark), ZigBee (registered trademark), and Bluetooth. (registered trademark), infrared communication, etc.

端末装置30は、ネットワークN4を介してインターネット等のネットワークに接続される。ネットワークN4は、有線のネットワークであっても良く、無線のネットワークであっても良い。本実施形態では、ネットワークN4は、Wi-Fi(登録商標)によるネットワーク、又は、3G方式、4G方式、LTE(登録商標)方式等の移動体通信方式のネットワークであって良い。尚、端末装置30の詳細については後述する。 The terminal device 30 is connected to a network such as the Internet via a network N4. The network N4 may be a wired network or a wireless network. In this embodiment, the network N4 may be a Wi-Fi (registered trademark) network or a mobile communication network such as a 3G system, 4G system, or LTE (registered trademark) system. Note that details of the terminal device 30 will be described later.

〈フィールド機器〉
図2は、本発明の一実施形態によるフィールド機器システムで用いられるフィールド機器の要部構成を示すブロック図である。図2に示す通り、フィールド機器10は、センサ信号処理部11、演算部12、記憶部13、通信部14、通信部15、及び電源部16を備えており、センサSNから出力される検出信号(アナログ信号)から、測定対象における物理量(例えば、温度、圧力、振動、pH等)の測定値(以下、「測定対象の測定値」という)を求める。尚、センサSNは、例えば、温度センサ、圧力センサ、振動センサ、pHセンサ等である。
<Field equipment>
FIG. 2 is a block diagram showing the main configuration of a field device used in a field device system according to an embodiment of the present invention. As shown in FIG. 2, the field device 10 includes a sensor signal processing section 11, a calculation section 12, a storage section 13, a communication section 14, a communication section 15, and a power supply section 16, and includes a detection signal output from the sensor SN. (analog signal), a measured value (hereinafter referred to as "measured value of the measured object") of a physical quantity (for example, temperature, pressure, vibration, pH, etc.) in the measured object is obtained. Note that the sensor SN is, for example, a temperature sensor, a pressure sensor, a vibration sensor, a pH sensor, or the like.

センサ信号処理部11は、センサSNから出力される検出信号に対して所定の処理を行う。具体的に、センサ信号処理部11は、A/D(アナログ/ディジタル)変換部やセンサ制御回路を備えており、センサSNから出力される検出信号をディジタル信号(検出値)に変換する処理、センサSNから出力される検出信号に重畳されているノイズを除去する処理等を行う。 The sensor signal processing unit 11 performs predetermined processing on the detection signal output from the sensor SN. Specifically, the sensor signal processing unit 11 includes an A/D (analog/digital) conversion unit and a sensor control circuit, and performs a process of converting a detection signal output from the sensor SN into a digital signal (detection value), Processing to remove noise superimposed on the detection signal output from the sensor SN is performed.

演算部12は、センサ信号処理部11から出力される検出値から、予め規定された単位(第1単位)における測定対象の測定値(第1測定値)を求める。例えば、予め規定された単位が[℃]である場合には、演算部12は、センサ信号処理部11から出力される検出値から摂氏温度を求める。演算部12が行う演算(センサ信号処理部11から出力される検出値から測定対象の測定値を求める演算)の演算式は、不図示のファームウェアに格納されている。演算部12は、記憶部13に記憶された機器設定データCD1(詳細は後述)を読み込むことで、上記の予め規定された単位を取得する。演算部12は、例えばCPU(中央処理装置)によって実現される。尚、演算式は、演算部12において演算式を実行するための演算式処理プログラムであってもよい。 The calculation unit 12 calculates a measured value (first measured value) of the measurement target in a predefined unit (first unit) from the detected value outputted from the sensor signal processing unit 11. For example, when the predefined unit is [° C.], the calculation unit 12 calculates the temperature in degrees Celsius from the detected value output from the sensor signal processing unit 11. The calculation formula for the calculation performed by the calculation unit 12 (calculation for determining the measured value of the measurement target from the detected value output from the sensor signal processing unit 11) is stored in firmware (not shown). The calculation unit 12 reads the device setting data CD1 (details will be described later) stored in the storage unit 13 to obtain the above-mentioned predefined unit. The calculation unit 12 is realized by, for example, a CPU (central processing unit). Note that the arithmetic expression may be an arithmetic expression processing program for executing the arithmetic expression in the arithmetic unit 12.

記憶部13は、フィールド機器10で用いられる各種情報、各種設定データ、各種測定値、各種プログラム等を記憶する。例えば、記憶部13は、識別情報ID、機器設定データCD1(第1情報)、ユーザ設定データCD2(第2情報)、及び測定値MD1を記憶する。尚、記憶部13は、上記のファームウェアを記憶しても良い。記憶部13は、例えば、揮発性又は不揮発性のメモリによって実現される。 The storage unit 13 stores various information, various setting data, various measured values, various programs, etc. used in the field device 10. For example, the storage unit 13 stores identification information ID, device setting data CD1 (first information), user setting data CD2 (second information), and measurement value MD1. Note that the storage unit 13 may store the above firmware. The storage unit 13 is realized by, for example, volatile or nonvolatile memory.

識別情報IDは、フィールド機器10に設定された、フィールド機器10を一意に識別するための情報である。この識別情報IDとしては、フィールド機器10を一意に識別することができれば任意の情報を用いることができる。例えば、フィールド機器10の出荷前に設定される機器固有情報や、フィールド機器10の出荷後に設定されるタグ情報を識別情報IDとして用いることができる。 The identification information ID is information set in the field device 10 to uniquely identify the field device 10. As this identification information ID, any information can be used as long as it can uniquely identify the field device 10. For example, device-specific information that is set before the field device 10 is shipped, or tag information that is set after the field device 10 is shipped can be used as the identification information ID.

機器設定データCD1は、フィールド機器10に関する情報が設定されるデータである。この機器設定データCD1には、上記の予め規定された単位(例えば、[℃])を示す情報が含まれる。つまり、機器設定データCD1には、フィールド機器10から出力される測定値の単位を示す情報が含まれる。この機器設定データCD1は、例えば出荷前に記憶部13に記憶される。 The device setting data CD1 is data in which information regarding the field device 10 is set. This device setting data CD1 includes information indicating the above-mentioned predefined unit (for example, [° C.]). That is, the device setting data CD1 includes information indicating the unit of the measurement value output from the field device 10. This device setting data CD1 is stored in the storage unit 13, for example, before shipping.

ユーザ設定データCD2は、ユーザによって設定されるデータである。このユーザ設定データCD2には、例えば端末装置30から出力される測定対象の測定値(第2測定値)の単位(第2単位)を示す情報が含まれる。例えば、ユーザが端末装置30から華氏温度を出力させたい場合には、ユーザ設定データCD2には、単位[°F]を示す情報が含まれる。このユーザ設定データCD2は、例えば運転初期化時に記憶部13に記憶される。ユーザ設定データCD2は、例えば、端末装置30を用いてフィールド機器10に個別に記憶させても良く、上位システム20が一括して各フィールド機器10に記憶さても良い。尚、機器設定データCD1及びユーザ設定データCD2の具体例については後述する。測定値MD1は、演算部12によって求められた測定値である。また、機器設定データCD2には、接続されているセンサの種類、地域・国情報等の情報が含まれていても良い。 User setting data CD2 is data set by the user. This user setting data CD2 includes, for example, information indicating the unit (second unit) of the measured value (second measured value) of the measurement target output from the terminal device 30. For example, if the user wants to output the Fahrenheit temperature from the terminal device 30, the user setting data CD2 includes information indicating the unit [°F]. This user setting data CD2 is stored in the storage unit 13, for example, at the time of initializing the operation. The user setting data CD2 may be stored individually in the field devices 10 using the terminal device 30, for example, or may be stored in each field device 10 collectively by the host system 20. Note that specific examples of the device setting data CD1 and user setting data CD2 will be described later. The measured value MD1 is a measured value obtained by the calculation unit 12. Further, the device setting data CD2 may include information such as the type of connected sensor, region/country information, etc.

通信部14は、図2に示すネットワークN1を介した通信(低消費電力長距離無線通信)を行う。例えば、LoRa(登録商標)、SigFox(登録商標)、NB-IoT等の通信規格に準拠した無線通信を行う。通信部15は、外部機器である端末装置30と近距離無線通信を行う。例えば、通信部15は、NFC、Wi-Fi(登録商標)、ZigBee(登録商標)、Bluetooth(登録商標)、赤外線通信等の通信規格に準拠した無線通信を行う。 The communication unit 14 performs communication (low power consumption long distance wireless communication) via the network N1 shown in FIG. For example, wireless communication is performed in accordance with communication standards such as LoRa (registered trademark), SigFox (registered trademark), and NB-IoT. The communication unit 15 performs short-range wireless communication with a terminal device 30, which is an external device. For example, the communication unit 15 performs wireless communication based on communication standards such as NFC, Wi-Fi (registered trademark), ZigBee (registered trademark), Bluetooth (registered trademark), and infrared communication.

電源部16は、電池や電源回路を備えており、フィールド機器10の各部(センサ信号処理部11、演算部12、記憶部13、通信部14、及び通信部15)に対して、電力の供給を行う。電源部16は、電池を交換可能に構成されている。電池としては、例えば、塩化チオニルリチウム電池等の自己放電が極めて少ない一次電池や二次電池、燃料電池等を用いることができる。 The power supply section 16 includes a battery and a power supply circuit, and supplies power to each section of the field device 10 (sensor signal processing section 11, calculation section 12, storage section 13, communication section 14, and communication section 15). I do. The power supply unit 16 is configured to have a replaceable battery. As the battery, for example, a primary battery such as a thionyl chloride lithium battery, a secondary battery, a fuel cell, etc. that have extremely low self-discharge can be used.

〈端末装置〉
図3は、発明の一実施形態によるフィールド機器システムで用いられる端末装置の要部構成を示すブロック図である。図3に示す通り、端末装置30は、操作部31、表示部32、格納部33、変換部34(変換手段)、通信部35(取得部、取得手段)、及び通信部36を備える。このような端末装置30は、例えばスマートフォン、タブレット端末、ノート型のコンピュータ等で実現される。尚、端末装置30の機能は、例えば、クラウドシステム23のダウンロードサイトから、通信部36を介してダウンロードしたプログラムを読み出してインストールすることによりソフトウェア的に実現される。
<Terminal device>
FIG. 3 is a block diagram showing the main configuration of a terminal device used in a field device system according to an embodiment of the invention. As shown in FIG. 3, the terminal device 30 includes an operation section 31, a display section 32, a storage section 33, a conversion section 34 (conversion means), a communication section 35 (obtainment section, acquisition means), and a communication section 36. Such a terminal device 30 is realized by, for example, a smartphone, a tablet terminal, a notebook computer, or the like. Note that the functions of the terminal device 30 are realized in terms of software by reading and installing a program downloaded from the download site of the cloud system 23 via the communication unit 36, for example.

操作部31は、例えばタッチパネル、キーボード、ポインティングデバイス等の入力装置を備えており、端末装置30を使用する作業者の操作に応じた指示(端末装置30に対する指示)を変換部34に出力する。表示部32は、例えば液晶表示装置等の表示装置を備えており、変換部34から出力される各種情報を表示する。尚、操作部31及び表示部32は、物理的に分離されたものであっても良く、表示機能と操作機能とを兼ね備えるタッチパネル式の液晶表示装置のように物理的に一体化されたものであっても良い。 The operation unit 31 includes an input device such as a touch panel, a keyboard, a pointing device, etc., and outputs an instruction (instruction to the terminal device 30) according to an operation by a worker using the terminal device 30 to the conversion unit 34. The display unit 32 includes a display device such as a liquid crystal display device, and displays various information output from the conversion unit 34. Note that the operation section 31 and the display section 32 may be physically separated, or may be physically integrated, such as a touch panel liquid crystal display device that has both a display function and an operation function. It's okay.

格納部33は、例えば不揮発性のメモリ、又は、HDD(ハードディスクドライブ)やSSD(ソリッドステートドライブ)等の補助記憶装置を備えており、各種データを格納する。例えば、格納部33は、変換部34で用いられる変換式テーブルTBが格納されている。また、図3に示す通り、測定値MD2(変換部34で測定値MD1を変換して得られた測定値)を格納部33に格納しても良い。 The storage unit 33 includes, for example, a nonvolatile memory or an auxiliary storage device such as an HDD (hard disk drive) or an SSD (solid state drive), and stores various data. For example, the storage unit 33 stores a conversion formula table TB used by the conversion unit 34. Further, as shown in FIG. 3, the measured value MD2 (the measured value obtained by converting the measured value MD1 by the converting section 34) may be stored in the storage section 33.

変換式テーブルTBは、変換部34で用いられる変換式が格納されるテーブルである。この変換式テーブルTBには、フィールド機器10を識別する識別情報IDに対応づけられた1つ又は複数の変換式が格納されている。この変換式は、変換部34で測定値MD1を測定値MD2に変換する際に必要となるフィールド機器10の種類毎の固有の変換式である。また、変換式テーブルTBには、同一の物理量を異なる値に変換する変換式(例えば、[℃]を[°F]に変換する変換式)も格納されている。尚、変換式テーブルTBの具体例については後述する。尚、変換式は、変換部34において変換式を実行するための変換式処理プログラムであってもよい。 The conversion formula table TB is a table in which conversion formulas used by the converter 34 are stored. This conversion formula table TB stores one or more conversion formulas associated with identification information ID for identifying the field device 10. This conversion formula is a unique conversion formula for each type of field device 10 that is required when the conversion unit 34 converts the measured value MD1 to the measured value MD2. The conversion formula table TB also stores conversion formulas for converting the same physical quantity into different values (for example, a conversion formula for converting [°C] to [°F]). Note that a specific example of the conversion formula table TB will be described later. Note that the conversion formula may be a conversion formula processing program for executing the conversion formula in the conversion unit 34.

変換部34は、フィールド機器10から取得された機器設定データCD1及びユーザ設定データCD2に基づいて、フィールド機器10から取得された測定値MD1を変換する。具体的に、変換部34は、測定値MD1を、ユーザ設定データCD2に含まれる単位(第2単位)における測定値MD2(第2測定値)に変換する。変換部34は、例えばCPU(中央処理装置)によって実現される。ここで、変換部34は、測定値MD1を、同じ物理量であって値が異なる測定値MD2に変換する変換(第1変換)、測定値MD1を物理量が異なる測定値MD2に変換する変換(第2変換)との少なくとも一方を行う。 The conversion unit 34 converts the measured value MD1 obtained from the field device 10 based on the device setting data CD1 and user setting data CD2 obtained from the field device 10. Specifically, the conversion unit 34 converts the measured value MD1 into a measured value MD2 (second measured value) in the unit (second unit) included in the user setting data CD2. The conversion unit 34 is realized by, for example, a CPU (central processing unit). Here, the conversion unit 34 performs a conversion (first conversion) that converts the measured value MD1 into a measured value MD2 that is the same physical quantity but has a different value, and a conversion (first conversion) that converts the measured value MD1 into a measured value MD2 that is a different physical quantity. 2 conversion).

変換部34は、機器設定データCD1及びユーザ設定データCD2に含まれている単位を示す情報が同じ物理量を示すものである場合には、それらの単位に応じた変換式(同一の物理量を異なる値に変換する変換式)を変換式テーブルTBから読み出す。そして、変換部34は、読み出した変換式を用いて、測定値MD1を測定値MD2に変換する(第1変換)。 When the information indicating the units included in the device setting data CD1 and the user setting data CD2 indicate the same physical quantity, the conversion unit 34 converts the same physical quantity into a conversion formula (converting the same physical quantity to different values) according to those units. The conversion formula for converting into the following is read out from the conversion formula table TB. Then, the converter 34 converts the measured value MD1 into the measured value MD2 using the read conversion formula (first conversion).

変換部34は、フィールド機器10から取得された識別情報IDが変換式テーブルTBに格納されている場合には、その識別情報IDに対応づけられた変換式を変換式テーブルTBから読み出す。そして、変換部34は、読み出した変換式と機器設定データCD1及びユーザ設定データCD2に含まれている単位を示す情報やパラメータ(変換式で用いられるパラメータ)とを用いて、測定値MD1を測定値MD2に変換する(第2変換)。 When the identification information ID acquired from the field device 10 is stored in the conversion formula table TB, the conversion unit 34 reads the conversion formula associated with the identification information ID from the conversion formula table TB. Then, the conversion unit 34 measures the measured value MD1 using the read conversion formula and the information indicating the unit and parameters (parameters used in the conversion formula) included in the device setting data CD1 and the user setting data CD2. Convert to value MD2 (second conversion).

通信部35は、図1に示すネットワークN3を介してフィールド機器10と近距離無線通信を行う。例えば、通信部35は、NFC、Wi-Fi(登録商標)、ZigBee(登録商標)、Bluetooth(登録商標)、赤外線通信等の通信規格に準拠した無線通信を行う。通信部35は、ネットワークN3を介してフィールド機器10と近距離無線通信を行って、記憶部13に記憶された識別情報ID、機器設定データCD1、ユーザ設定データCD2、及び測定値MD1を取得する。 The communication unit 35 performs short-range wireless communication with the field device 10 via the network N3 shown in FIG. For example, the communication unit 35 performs wireless communication based on communication standards such as NFC, Wi-Fi (registered trademark), ZigBee (registered trademark), Bluetooth (registered trademark), and infrared communication. The communication unit 35 performs short-range wireless communication with the field device 10 via the network N3, and acquires the identification information ID, device setting data CD1, user setting data CD2, and measurement value MD1 stored in the storage unit 13. .

通信部36は、図1に示すネットワークN4を介してインターネット等のネットワークに接続された各種サーバ、機器等と通信を行う。例えば、通信部36は、Wi-Fi(登録商標)の通信規格、又は、3G方式、4G方式、LTE(登録商標)方式等の移動体通信方式の通信規格に準拠した無線通信を行う。通信部36は、ネットワークN4を介して端末装置30の機能を実現するプログラム等を取得する。 The communication unit 36 communicates with various servers, devices, etc. connected to a network such as the Internet via the network N4 shown in FIG. For example, the communication unit 36 performs wireless communication in accordance with the Wi-Fi (registered trademark) communication standard or the communication standard of a mobile communication system such as the 3G system, 4G system, or LTE (registered trademark) system. The communication unit 36 acquires programs and the like that implement the functions of the terminal device 30 via the network N4.

〈フィールド機器システムの動作〉
図4は、本発明の一実施形態によるフィールド機器システムの動作例を示すフローチャートである。図4(a)は、フィールド機器システム1に設けられるフィールド機器10の動作例を示すフローチャートであり、図4(b)は、フィールド機器システム1に設けられる端末装置30の動作例を示すフローチャートである。図4(a)に示すフローチャートは、一定周期で繰り返し行われる。図4(b)に示すフローチャートは、図4(a)と同様に、一定の周期で繰り返し行われても良く、端末装置30に対するユーザの指示があったときに行われても良い。
<Operation of field device system>
FIG. 4 is a flowchart illustrating an example of the operation of a field device system according to an embodiment of the present invention. 4(a) is a flowchart showing an example of the operation of the field device 10 provided in the field device system 1, and FIG. 4(b) is a flowchart showing an example of the operation of the terminal device 30 provided in the field device system 1. be. The flowchart shown in FIG. 4(a) is repeated at regular intervals. The flowchart shown in FIG. 4(b) may be performed repeatedly at a constant cycle, similarly to FIG. 4(a), or may be performed when a user instructs the terminal device 30.

以下では、理解を容易にするために、以下の3つの動作例について順に説明する。尚、以下の第1~第3動作例は何れも、基本的には、図4に示すフローチャートに従って動作が行われる。
・第1動作例…フィールド機器10が温度を測定する機器である場合の動作例
・第2動作例…フィールド機器10がセンサSNとして熱電対を用いて温度を測定する機器である場合の動作例
・第3動作例…フィールド機器10が差圧式流量計である場合の動作例
In the following, the following three operation examples will be explained in order for ease of understanding. Incidentally, all of the following first to third operation examples are basically performed according to the flowchart shown in FIG.
- First operation example...An operation example when the field device 10 is a device that measures temperature. -Second operation example...An operation example when the field device 10 is a device that measures temperature using a thermocouple as the sensor SN.・Third operation example...operation example when the field device 10 is a differential pressure flowmeter

《第1動作例》
本動作例において、機器設定データCD1及びユーザ設定データCD2の各々に含まれる情報は、以下の通りであるとする。
機器設定データCD1 :単位[℃]
ユーザ設定データCD2:単位[°F]
《First operation example》
In this operation example, it is assumed that the information included in each of the device setting data CD1 and the user setting data CD2 is as follows.
Device setting data CD1: Unit [℃]
User setting data CD2: Unit [°F]

図4(a)に示すフローチャートの処理が開始されると、まず、センサSNから出力される検出信号を検出値(ディジタル信号)に変換する処理がセンサ信号処理部11で行われる(ステップS11)。尚、このステップでは、センサSNから出力される検出信号を検出値(ディジタル信号)に変換する前に、検出信号に重畳されているノイズを除去する処理が行われても良い。 When the process of the flowchart shown in FIG. 4A is started, first, the sensor signal processing unit 11 performs a process of converting the detection signal output from the sensor SN into a detection value (digital signal) (step S11). . Note that in this step, before converting the detection signal output from the sensor SN into a detection value (digital signal), a process for removing noise superimposed on the detection signal may be performed.

次に、記憶部13に記憶された機器設定データCD1を読み出し、機器設定データCD1に含まれる単位を示す情報(単位[℃]を示す情報)を取得する処理が演算部12で行われる(ステップS12)。尚、演算部12は、取得した情報(機器設定データCD1に含まれる単位を示す情報)を記憶するようにしても良い。このようにすることで、2回目以降におけるステップS12の処理を省略することができる。 Next, the processing unit 12 reads the device setting data CD1 stored in the storage unit 13 and acquires information indicating the unit (information indicating the unit [°C]) included in the device setting data CD1 (step S12). Note that the calculation unit 12 may store the acquired information (information indicating the unit included in the device setting data CD1). By doing so, it is possible to omit the process of step S12 from the second time onward.

続いて、ステップS11で変換された検出値から、ステップS12で取得した単位における測定値MD1を算出する処理が演算部12で行われる(ステップS13)。尚、検出値から上記の測定値MD1を算出する処理は、不図示のファームウェアに格納されている演算式を用いて行われる。ここで、例えば、上記の測定値MD1として「25」が算出されたとする。これは、測定対象の温度の測定値が摂氏25度(25[℃])であることを意味する。以上の処理が終了すると、算出した測定値MD1を記憶部13に記憶させる処理が演算部12によって行われる(ステップS14)。 Subsequently, the calculation unit 12 performs a process of calculating the measured value MD1 in the unit acquired in step S12 from the detected value converted in step S11 (step S13). Note that the process of calculating the above-mentioned measured value MD1 from the detected value is performed using an arithmetic expression stored in firmware (not shown). Here, for example, assume that "25" is calculated as the above-mentioned measured value MD1. This means that the measured temperature of the object to be measured is 25 degrees Celsius (25 [° C.]). When the above process is completed, the calculation unit 12 performs a process of storing the calculated measurement value MD1 in the storage unit 13 (step S14).

図4(b)に示すフローチャートの処理が開始されると、まず、フィールド機器10から識別情報IDを取得する処理が、端末装置30によって行われる(ステップS21)。この処理が行われることで、端末装置30は、通信可能に接続されているフィールド機器10を特定することができる。これにより、端末装置30は、フィールド機器10の種類(どのようなフィールド機器であるのか)や接続されているセンサの種類等の測定値の変換処理に必要な情報を知ることができる。 When the process of the flowchart shown in FIG. 4B is started, first, the terminal device 30 performs a process of acquiring identification information ID from the field device 10 (step S21). By performing this process, the terminal device 30 can identify the field device 10 that is communicably connected. This allows the terminal device 30 to know information necessary for the measurement value conversion process, such as the type of the field device 10 (what kind of field device it is) and the type of connected sensor.

次に、フィールド機器10から機器設定データCD1及びユーザ設定データCD2を取得する処理が、端末装置30によって行われる(ステップS22:取得ステップ)。具体的には、端末装置30の通信部35とフィールド機器10の通信部15との間で近距離無線通信が行われ、フィールド機器10から端末装置30に機器設定データCD1及びユーザ設定データCD2が送信される。 Next, the terminal device 30 performs a process of acquiring the device setting data CD1 and the user setting data CD2 from the field device 10 (step S22: acquisition step). Specifically, short-range wireless communication is performed between the communication unit 35 of the terminal device 30 and the communication unit 15 of the field device 10, and device setting data CD1 and user setting data CD2 are transmitted from the field device 10 to the terminal device 30. Sent.

尚、端末装置30は、取得した機器設定データCD1及びユーザ設定データCD2を格納部33に格納するようにしても良い。このようにすることで、2回目以降におけるステップS22の処理を省略することができる。ステップS22の処理が省略されると、端末装置30がフィールド機器10から機器設定データCD1及びユーザ設定データCD2を取得するための通信が行われなくなるため、フィールド機器が送信する回数が減り、フィールド機器10の消費電力を低減することができる。これにより、電池寿命を延ばすことができる。 Note that the terminal device 30 may store the acquired device setting data CD1 and user setting data CD2 in the storage section 33. By doing so, it is possible to omit the process of step S22 from the second time onward. If the process of step S22 is omitted, communication for the terminal device 30 to acquire the device setting data CD1 and user setting data CD2 from the field device 10 will not be performed, so the number of times the field device transmits will be reduced, and the field device 10 power consumption can be reduced. Thereby, battery life can be extended.

続いて、フィールド機器10から測定値MD1を取得する処理が端末装置30によって行われる(ステップS23:取得ステップ)。具体的には、端末装置30の通信部35とフィールド機器10の通信部15との間で近距離無線通信が行われ、フィールド機器10から端末装置30に測定値MD1が送信される。尚、図4(b)では、理解を容易にするために、フィールド機器10から機器設定データCD1及びユーザ設定データCD2を取得する処理(ステップS22)と、フィールド機器10から測定値MD1を取得する処理(ステップS23)とを分けて図示しているが、これらの処理は1つにまとめられていても良い。 Subsequently, the terminal device 30 performs a process of acquiring the measured value MD1 from the field device 10 (step S23: acquisition step). Specifically, short-range wireless communication is performed between the communication unit 35 of the terminal device 30 and the communication unit 15 of the field device 10, and the measured value MD1 is transmitted from the field device 10 to the terminal device 30. In addition, in FIG. 4(b), in order to make it easier to understand, the process of acquiring the device setting data CD1 and the user setting data CD2 from the field device 10 (step S22), and the process of acquiring the measured value MD1 from the field device 10 are shown. Although the process (step S23) is illustrated separately, these processes may be combined into one.

続いて、取得した機器設定データCD1及びユーザ設定データCD2に基づいて、測定値MD1を測定値MD2に変換する処理が変換部34で行われる(ステップS24:変換ステップ)。ここで、取得した機器設定データCD1には、単位[℃]を示す情報が含まれており、取得したユーザ設定データCD2には、単位[°F]を示す情報が含まれている。このため、変換部34は、格納部33に格納された変換式テーブルTBに含まれる単位[℃]を単位[°F]に変換する変換式を用いて、測定値MD1を測定値MD2に変換する。 Subsequently, the converting unit 34 performs a process of converting the measured value MD1 into the measured value MD2 based on the acquired device setting data CD1 and user setting data CD2 (step S24: conversion step). Here, the acquired device setting data CD1 includes information indicating the unit [°C], and the acquired user setting data CD2 includes information indicating the unit [°F]. Therefore, the conversion unit 34 converts the measured value MD1 into the measured value MD2 using a conversion formula for converting the unit [°C] to the unit [°F] included in the conversion formula table TB stored in the storage unit 33. do.

例えば、測定値MD1が「25」である場合には、変換部34は、「77」なる測定値MD2に変換する。つまり、変換部24は、フィールド機器10で測定された測定対象の温度の測定値(摂氏25度)を、華氏77度に変換する。以上の処理が終了すると、算出した測定値MD2を出力する処理が行われる(ステップS25)。例えば、算出した測定値MD2を不図示の液晶表示装置に表示する(出力する)処理が表示部32によって行われる。尚、算出した測定値MD2を端末装置30の外部に送信する(出力する)処理が通信部35によって行われても良い。 For example, when the measured value MD1 is "25", the conversion unit 34 converts it into the measured value MD2 of "77". That is, the conversion unit 24 converts the measured temperature value of the object to be measured (25 degrees Celsius) measured by the field device 10 to 77 degrees Fahrenheit. When the above processing is completed, processing is performed to output the calculated measurement value MD2 (step S25). For example, the display unit 32 displays (outputs) the calculated measurement value MD2 on a liquid crystal display device (not shown). Note that the process of transmitting (outputting) the calculated measurement value MD2 to the outside of the terminal device 30 may be performed by the communication unit 35.

《第2動作例》
本動作例において、機器設定データCD1及びユーザ設定データCD2の各々に含まれる情報は、以下の通りであるとする。
機器設定データCD1 :単位[mV]、端子台の電圧値(0.798)
ユーザ設定データCD2:単位[°F]、センサの種類(Type K)
《Second operation example》
In this operation example, it is assumed that the information included in each of the device setting data CD1 and the user setting data CD2 is as follows.
Device setting data CD1: Unit [mV], terminal block voltage value (0.798)
User setting data CD2: Unit [°F], sensor type (Type K)

上記「端子台の電圧値」は、冷接点補償演算に必要となるパラメータである。上記「センサの種類」は、センサSNの種類(熱電対の種類)を示す情報であって、フィールド機器10の測定値MD1(単位[mV])を、温度(単位[°F])に変換する変換式で必要になるパラメータの一種である。 The above-mentioned "voltage value of the terminal block" is a parameter necessary for cold junction compensation calculation. The above "sensor type" is information indicating the type of sensor SN (thermocouple type), and converts the measured value MD1 (unit [mV]) of the field device 10 into temperature (unit [°F]). This is a type of parameter required in the conversion formula.

図4(a)に示すフローチャートの処理が開始されると、まず、センサSNから出力される検出信号を検出値(ディジタル信号)に変換する処理がセンサ信号処理部11で行われる(ステップS11)。次に、記憶部13に記憶された機器設定データCD1を読み出し、機器設定データCD1に含まれる単位を示す情報(単位[mV]を示す情報)を取得する処理が演算部12で行われる(ステップS12)。 When the process of the flowchart shown in FIG. 4A is started, first, the sensor signal processing unit 11 performs a process of converting the detection signal output from the sensor SN into a detection value (digital signal) (step S11). . Next, the calculation unit 12 performs a process of reading out the device setting data CD1 stored in the storage unit 13 and acquiring information indicating the unit (information indicating the unit [mV]) included in the device setting data CD1 (step S12).

続いて、ステップS11で変換された検出値から、ステップS12で取得した単位における測定値MD1を算出する処理が演算部12で行われる(ステップS13)。ここで、例えば、上記の測定値MD1として「1.0」が算出されたとする。これは、センサSNである熱電対の熱起電力が1.0[mV]であることを意味する。以上の処理が終了すると、算出した測定値MD1を記憶部13に記憶させる処理が演算部12によって行われる(ステップS14)。 Subsequently, the calculation unit 12 performs a process of calculating the measured value MD1 in the unit acquired in step S12 from the detected value converted in step S11 (step S13). Here, for example, it is assumed that "1.0" is calculated as the above-mentioned measured value MD1. This means that the thermoelectromotive force of the thermocouple that is sensor SN is 1.0 [mV]. When the above process is completed, the calculation unit 12 performs a process of storing the calculated measurement value MD1 in the storage unit 13 (step S14).

図4(b)に示すフローチャートの処理が開始されると、まず、フィールド機器10から識別情報IDを取得する処理が、端末装置30によって行われる(ステップS21)。次に、フィールド機器10から機器設定データCD1及びユーザ設定データCD2を取得する処理が、端末装置30によって行われる(ステップS22)。続いて、フィールド機器10から測定値MD1を取得する処理が端末装置30によって行われる(ステップS23)。 When the process of the flowchart shown in FIG. 4B is started, first, the terminal device 30 performs a process of acquiring identification information ID from the field device 10 (step S21). Next, the terminal device 30 performs a process of acquiring the device setting data CD1 and the user setting data CD2 from the field device 10 (step S22). Subsequently, the terminal device 30 performs a process of acquiring the measured value MD1 from the field device 10 (step S23).

続いて、取得した機器設定データCD1及びユーザ設定データCD2に基づいて、測定値MD1を測定値MD2に変換する処理が変換部34で行われる(ステップS24)。ここで、取得した機器設定データCD1及びユーザ設定データCD2には、単位を示す情報に加えて、変換式で用いられるパラメータに関する情報が含まれている。このため、変換部34は、格納部33に格納された変換式テーブルTBから、識別情報IDに対応付けられている変換式を読み出す。 Subsequently, the conversion unit 34 performs a process of converting the measured value MD1 into the measured value MD2 based on the acquired device setting data CD1 and user setting data CD2 (step S24). Here, the acquired device setting data CD1 and user setting data CD2 include information regarding parameters used in the conversion formula in addition to information indicating units. Therefore, the conversion unit 34 reads the conversion formula associated with the identification information ID from the conversion formula table TB stored in the storage unit 33.

本動作例においては、フィールド機器10の測定値MD1(単位[mV])を、温度(単位[°F])に変換する変換式に加えて、冷接点補償演算に用いられる演算式が、フィールド機器10の識別情報IDに対応づけられている。このため、ステップS24の処理では、上記変換式に加えて、冷接点補償演算に用いられる演算式が変換部34に読み出される。変換部34は、読み出した演算式を用いて、ステップS23で取得した測定値MD1に対する冷接点補償演算を行った後に、読み出した変換式を用いて測定値MD2を求める。 In this operation example, in addition to the conversion formula for converting the measured value MD1 (unit [mV]) of the field device 10 into temperature (unit [°F]), the calculation formula used for cold junction compensation calculation is It is associated with the identification information ID of the device 10. Therefore, in the process of step S24, in addition to the above conversion formula, the calculation formula used for the cold junction compensation calculation is read out to the conversion unit 34. The conversion unit 34 uses the read calculation formula to perform a cold junction compensation calculation on the measurement value MD1 acquired in step S23, and then calculates the measurement value MD2 using the read conversion formula.

例えば、測定値MD1が「1.0」である場合には、変換部34は、冷接点補償演算として、測定値MD1に機器設定データCD1に含まれるパラメータ(端子台の電圧値:0.798)を加算する演算を行う。つまり、1.0[mV]+0.798[mV]=1.798[mV]なる演算を行う。そして、変換部34は、冷接点補償演算を行って得られた値(1.798[mV])を、変換式テーブルTBから読み出した変換式と、ユーザ設定データCD2に含まれるセンサの種類(Type K)を示す情報とを用いて華氏温度(例えば、77[°F])に変換する処理を行う。以上の処理が終了すると、算出した測定値MD2を出力する処理が行われる(ステップS24)。尚、センサの種類を示す情報は、例えば、センサの種類に応じた変換式で用いられる係数である。 For example, when the measured value MD1 is "1.0", the conversion unit 34 converts the parameter included in the device setting data CD1 (terminal block voltage value: 0.798 ) is added. In other words, the calculation 1.0 [mV] + 0.798 [mV] = 1.798 [mV] is performed. Then, the conversion unit 34 converts the value (1.798 [mV]) obtained by performing the cold junction compensation calculation into the conversion formula read from the conversion formula table TB and the sensor type ( Type K) is used to convert the temperature into Fahrenheit temperature (for example, 77 [°F]). When the above processing is completed, processing is performed to output the calculated measurement value MD2 (step S24). Note that the information indicating the type of sensor is, for example, a coefficient used in a conversion formula according to the type of sensor.

《第3動作例》
本動作例において、機器設定データCD1及びユーザ設定データCD2の各々に含まれる情報は、以下の通りであるとする。
機器設定データCD1 :単位[kPa]、レンジ情報(0~200[kPa])
ユーザ設定データCD2:単位[MPa]、単位[m/h]、差圧を流量に変換する変換係数
《Third operation example》
In this operation example, it is assumed that the information included in each of the device setting data CD1 and the user setting data CD2 is as follows.
Device setting data CD1: Unit [kPa], range information (0 to 200 [kPa])
User setting data CD2: Unit [MPa], unit [m 3 /h], conversion coefficient for converting differential pressure to flow rate

上記「レンジ情報」は、フィールド機器10に設定された圧力の下限値と上限値とを示す情報である。本動作例において、ユーザ設定データCD2には、圧力の単位[MPa]と流量の単位[m/h]とが含まれている。これは、差圧の測定結果と流量の測定結果とを得るためである。上記「差圧を流量に変換する変換係数」は、差圧を流量に変換する変換式で用いられるパラメータである。尚、差圧とは、配管に設けられたオリフィスの上流側の圧力と下流側の圧力との圧力差である。 The above-mentioned "range information" is information indicating the lower limit value and upper limit value of the pressure set in the field device 10. In this operation example, the user setting data CD2 includes a unit of pressure [MPa] and a unit of flow rate [m 3 /h]. This is to obtain a differential pressure measurement result and a flow rate measurement result. The above-mentioned "conversion coefficient for converting differential pressure to flow rate" is a parameter used in a conversion formula for converting differential pressure to flow rate. Note that the differential pressure is the pressure difference between the pressure on the upstream side and the pressure on the downstream side of the orifice provided in the pipe.

図4(a)に示すフローチャートの処理が開始されると、まず、センサSNから出力される検出信号を検出値(ディジタル信号)に変換する処理がセンサ信号処理部11で行われる(ステップS11)。次に、記憶部13に記憶された機器設定データCD1を読み出し、機器設定データCD1に含まれる単位を示す情報(単位[kPa]を示す情報)を取得する処理が演算部12で行われる(ステップS12)。 When the process of the flowchart shown in FIG. 4A is started, first, the sensor signal processing unit 11 performs a process of converting the detection signal output from the sensor SN into a detection value (digital signal) (step S11). . Next, the calculation unit 12 performs a process of reading out the device setting data CD1 stored in the storage unit 13 and acquiring information indicating the unit (information indicating the unit [kPa]) included in the device setting data CD1 (step S12).

続いて、ステップS11で変換された検出値から、ステップS12で取得した単位における測定値MD1を算出する処理が演算部12で行われる(ステップS13)。ここで、例えば、上記の測定値MD1として「100.0」が算出されたとする。これは、測定対象の流体の差圧が100.0[kPa]であることを意味する。以上の処理が終了すると、算出した測定値MD1を記憶部13に記憶させる処理が演算部12によって行われる(ステップS14)。 Subsequently, the calculation unit 12 performs a process of calculating the measured value MD1 in the unit acquired in step S12 from the detected value converted in step S11 (step S13). Here, for example, assume that "100.0" is calculated as the above measurement value MD1. This means that the differential pressure of the fluid to be measured is 100.0 [kPa]. When the above process is completed, the calculation unit 12 performs a process of storing the calculated measurement value MD1 in the storage unit 13 (step S14).

図4(b)に示すフローチャートの処理が開始されると、まず、フィールド機器10から識別情報IDを取得する処理が、端末装置30によって行われる(ステップS21)。次に、フィールド機器10から機器設定データCD1及びユーザ設定データCD2を取得する処理が、端末装置30によって行われる(ステップS22)。続いて、フィールド機器10から測定値MD1を取得する処理が端末装置30によって行われる(ステップS23)。 When the process of the flowchart shown in FIG. 4B is started, first, the terminal device 30 performs a process of acquiring identification information ID from the field device 10 (step S21). Next, the terminal device 30 performs a process of acquiring the device setting data CD1 and the user setting data CD2 from the field device 10 (step S22). Subsequently, the terminal device 30 performs a process of acquiring the measured value MD1 from the field device 10 (step S23).

続いて、取得した機器設定データCD1及びユーザ設定データCD2に基づいて、測定値MD1を測定値MD2に変換する処理が変換部34で行われる(ステップS24)。ここで、取得したユーザ設定データCD2には、2つの単位を示す情報(単位[MPa],[m/h]を示す情報)に加えて、変換式で用いられるパラメータが含まれている。このため、変換部34は、格納部33に格納された変換式テーブルTBから、識別情報IDに対応付けられている変換式を読み出す。 Subsequently, the conversion unit 34 performs a process of converting the measured value MD1 into the measured value MD2 based on the acquired device setting data CD1 and user setting data CD2 (step S24). Here, the acquired user setting data CD2 includes parameters used in the conversion formula in addition to information indicating two units (information indicating units [MPa] and [m 3 /h]). Therefore, the conversion unit 34 reads the conversion formula associated with the identification information ID from the conversion formula table TB stored in the storage unit 33.

ユーザ設定データCD2に含まれる単位[MPa]を示す情報と、機器設定データCD1に含まれる単位[kPa]を示す情報とは、同じ物理量(圧力)の単位を示す情報である。このため、変換部34は、格納部33に格納された変換式テーブルTBに含まれる単位[kPa]を単位[MPa]に変換する変換式を用いて、測定値MD1を測定値MD2に変換する。 The information indicating the unit [MPa] included in the user setting data CD2 and the information indicating the unit [kPa] included in the device setting data CD1 are information indicating the unit of the same physical quantity (pressure). Therefore, the conversion unit 34 converts the measured value MD1 into the measured value MD2 using a conversion formula for converting the unit [kPa] to the unit [MPa] included in the conversion formula table TB stored in the storage unit 33. .

また、ユーザ設定データCD2に含まれる単位[m/h]を示す情報と、機器設定データCD1に含まれる単位[kPa]を示す情報とは、異なる物理量(流量、圧力)の単位を示す情報である。このため、変換部34は、格納部33に格納された変換式テーブルTBから読み出した変換式(識別情報IDに対応づけられた変換式)と、ユーザ設定データCD2に含まれるパラメータ(差圧を流量に変換する変換係数)とを用いて、測定値MD1を異なる物理量を示す測定値MD2に変換する。 Furthermore, the information indicating the unit [m 3 /h] included in the user setting data CD2 and the information indicating the unit [kPa] included in the device setting data CD1 are information indicating units of physical quantities (flow rate, pressure) that are different from each other. It is. Therefore, the conversion unit 34 uses the conversion formula (conversion formula associated with the identification information ID) read from the conversion formula table TB stored in the storage unit 33 and the parameter (differential pressure) included in the user setting data CD2. The measured value MD1 is converted into a measured value MD2 indicating a different physical quantity using a conversion coefficient (conversion coefficient for converting into a flow rate).

例えば、測定値MD1が「100.0」である場合には、変換部34は、単位[kPa]を単位[MPa]に変換する変換式を用いて、100.0[kPa]を0.1[MPa]に変換する処理を行う。また、変換部34は、識別情報IDに対応付けられた変換式を用いて、100.0[kPa]を、例えば20.0[m/h]に変換する処理を行う。以上の処理が終了すると、算出した測定値MD2を出力する処理が行われる(ステップS24)。 For example, when the measured value MD1 is "100.0", the conversion unit 34 converts 100.0 [kPa] into 0.1 using a conversion formula that converts the unit [kPa] into the unit [MPa]. Processing to convert to [MPa] is performed. Further, the conversion unit 34 performs a process of converting 100.0 [kPa] into, for example, 20.0 [m 3 /h] using a conversion formula associated with the identification information ID. When the above processing is completed, processing is performed to output the calculated measurement value MD2 (step S24).

以上の通り、本実施形態では、フィールド機器10が、測定対象の検出を行うセンサSNの検出値から、予め規定された単位における測定対象の測定値MD1を求める。そして、端末装置30が、フィールド機器10から機器設定データCD1及びユーザ設定データCD2と、測定値MD1とを取得し、取得した機器設定データCD1及びユーザ設定データCD2に基づいて、測定値MD1を測定値MD2に変換している。 As described above, in this embodiment, the field device 10 obtains the measured value MD1 of the measurement target in a predefined unit from the detection value of the sensor SN that detects the measurement target. Then, the terminal device 30 acquires the device setting data CD1, the user setting data CD2, and the measured value MD1 from the field device 10, and measures the measured value MD1 based on the acquired device setting data CD1 and user setting data CD2. It is converted to the value MD2.

測定値MD1を測定値MD2に変換する処理は、端末装置30で行われるため、端末装置30で用いられるプログラム(アプリケーション)をアップデートして、端末装置30で行われる変換処理を追加又は変更すれば、必要となる測定値MD2を得ることができる。このため、本実施形態では、フィールド機器10のファームウェアを更新することなく、必要となる測定値を得ることができる。 The process of converting the measured value MD1 into the measured value MD2 is performed in the terminal device 30, so if you update the program (application) used in the terminal device 30 and add or change the conversion process performed in the terminal device 30, , the required measurement value MD2 can be obtained. Therefore, in this embodiment, necessary measurement values can be obtained without updating the firmware of the field device 10.

ここで、フィールド機器10は、低消費電力長距離無線通信が可能なネットワークN1を介して上位システム20に接続されている。このため、仮に、上位システム20がフィールド機器10のファームウェアを更新しようとすると、通信速度が遅すぎるため、ファームウェアのダウンロードに膨大な時間が必要になる。これに対し、本実施形態では、ネットワークN4を介して端末装置30で用いられるプログラム(アプリケーション)を端末装置30にダウンロードしているため、端末装置30で用いられるプラグラム(アプリケーション)を短時間でダウンロードすることができる。 Here, the field device 10 is connected to the host system 20 via a network N1 capable of low power consumption long distance wireless communication. Therefore, if the host system 20 were to update the firmware of the field device 10, the communication speed would be too slow and it would take a huge amount of time to download the firmware. On the other hand, in this embodiment, since the program (application) used in the terminal device 30 is downloaded to the terminal device 30 via the network N4, the program (application) used in the terminal device 30 is downloaded in a short time. can do.

また、本実施形態では、機器設定データCD1及びユーザ設定データCD2を、端末装置30ではなく、フィールド機器10に記憶させるようにしている。これにより、フィールド機器10に通信可能に接続される端末装置30が変わっても、端末装置30には同じ単位の同じ測定値を表示させることができる。 Furthermore, in this embodiment, the device setting data CD1 and the user setting data CD2 are stored in the field device 10 instead of in the terminal device 30. Thereby, even if the terminal device 30 communicably connected to the field device 10 changes, the terminal device 30 can display the same measurement value in the same unit.

以上、本発明の一実施形態によるフィールド機器システム、測定値変換方法、端末装置、及び端末プログラムについて説明したが、本発明は上記実施形態に制限される訳ではなく、本発明の範囲内で自由に変更が可能である。例えば、上記実施形態では、端末装置30が、フィールド機器10から機器設定データCD1及びユーザ設定データCD2と測定値MD1とを取得し、機器設定データCD1及びユーザ設定データCD2に基づいて測定値MD1を測定値MD2に変換する例について説明した。しかしながら、端末装置30の機能と同様の機能を上位システム20(例えば、アプリケーションサーバ22)に設け、上位システム20にてフィールド機器10から取得した測定値MD1を測定値MD2に変換するようにしても良い。 Although the field device system, measured value conversion method, terminal device, and terminal program according to one embodiment of the present invention have been described above, the present invention is not limited to the above embodiment, and is free within the scope of the present invention. It is possible to change to For example, in the above embodiment, the terminal device 30 acquires the device setting data CD1, the user setting data CD2, and the measured value MD1 from the field device 10, and calculates the measured value MD1 based on the device setting data CD1 and the user setting data CD2. An example of converting into the measured value MD2 has been described. However, even if a function similar to that of the terminal device 30 is provided in the host system 20 (for example, the application server 22), the host system 20 converts the measured value MD1 acquired from the field device 10 into the measured value MD2. good.

また、上述した実施形態では、ネットワークN1が、低消費電力長距離無線通信(LPWA)が可能なネットワークであり、フィールド機器10と上位システム20とが、LoRa(登録商標)等の通信規格に準拠した無線通信を行う例について説明した。しかしながら、ネットワークN1は、低消費電力長距離無線通信(LPWA)が可能なネットワークに制限されることはなく、任意のネットワークであって良い。また、フィールド機器10と上位システム20とが、ISA100.11aやWirelessHART(登録商標)等の通信規格に準拠した無線通信を行っても良い。 Further, in the embodiment described above, the network N1 is a network capable of low power consumption long distance wireless communication (LPWA), and the field device 10 and the host system 20 are compliant with communication standards such as LoRa (registered trademark). An example of performing wireless communication has been described. However, the network N1 is not limited to a network capable of low power consumption long distance wireless communication (LPWA), and may be any network. Further, the field device 10 and the host system 20 may perform wireless communication based on a communication standard such as ISA100.11a or WirelessHART (registered trademark).

また、上述した実施形態において、単位の取り扱いを容易にするために、複数の物理量の単位を統一した統一単位テーブルを用いることが好ましい。図5は、統一単位テーブルの一例を示す図である。図5に示す通り、統一単位テーブルは、一意に定まる単位番号に対して、各種の物理単位が対応づけられたテーブルである。 Furthermore, in the embodiments described above, in order to facilitate the handling of units, it is preferable to use a unified unit table that unifies the units of a plurality of physical quantities. FIG. 5 is a diagram showing an example of a unified unit table. As shown in FIG. 5, the unified unit table is a table in which various physical units are associated with unique unit numbers.

統一単位テーブルでは、同じ物理量を示す単位であっても、接頭辞が異なる単位は、単位番号が異なるように対応づけられている。圧力の単位である[Pa],[kPa],[MPa]を例に挙げると、[Pa]は単位番号「1」に対応づけられ、[kPa]は単位番号「2」に対応づけられ、[MPa]は単位番号「3」に対応づけられている。このような統一単位テーブルを用いることで、複数種類のセンサが混在する状況であっても単位の取り扱いが容易になる。また、新たな単位が増えた場合であっても、容易に追加を行うことができる。 In the unified unit table, even if the units indicate the same physical quantity, units with different prefixes are associated with different unit numbers. Taking the pressure units [Pa], [kPa], and [MPa] as an example, [Pa] is associated with the unit number "1", [kPa] is associated with the unit number "2", [MPa] is associated with the unit number "3". By using such a unified unit table, it becomes easy to handle units even in a situation where multiple types of sensors coexist. Furthermore, even if new units are added, they can be added easily.

また、上記実施形態における第2動作例では、端末装置30の変換部34で行われる変換処理に付随して冷接点補償演算が行われる例について説明した。しかしながら、変換処理に付随して行われる演算処理は、冷接点補償演算に限られる訳ではなく、任意の演算処理であって良い。例えば、フィルタリング処理、スケーリング処理、その他の処理を行うことができる。 Furthermore, in the second operation example in the above embodiment, an example has been described in which the cold junction compensation calculation is performed in conjunction with the conversion process performed by the conversion unit 34 of the terminal device 30. However, the calculation process performed in conjunction with the conversion process is not limited to the cold junction compensation calculation, and may be any calculation process. For example, filtering processing, scaling processing, and other processing can be performed.

1 フィールド機器システム
10 フィールド機器
12 演算部
13 記憶部
20 上位システム
30 端末装置
33 格納部
34 変換部
35 通信部
CD1 機器設定データ
CD2 ユーザ設定データ
ID 識別情報
MD1 測定値
MD2 測定値
SN センサ
1 Field device system 10 Field device 12 Arithmetic unit 13 Storage unit 20 Host system 30 Terminal device 33 Storage unit 34 Conversion unit 35 Communication unit CD1 Device setting data CD2 User setting data ID Identification information MD1 Measured value MD2 Measured value SN Sensor

Claims (6)

互いに通信可能に接続されるフィールド機器と通信装置とを備えるフィールド機器システムであって、
前記フィールド機器は、測定対象の検出を行うセンサの検出値から、予め規定された第1単位における前記測定対象の測定値であって前記フィールド機器から出力される第1測定値を求める演算部と、
前記第1単位を示す情報が含まれる第1情報と、前記通信装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報とを記憶する記憶部と、を備え、
前記通信装置は、前記フィールド機器から前記第1情報及び前記第2情報と、前記第1測定値とを取得する取得部と、
取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値に変換する変換部と、を備える、
フィールド機器システム。
A field device system comprising a field device and a communication device that are communicably connected to each other,
The field device includes a calculation unit that calculates a first measurement value of the measurement object in a predefined first unit, which is output from the field device, from a detection value of a sensor that detects the measurement object. and,
a storage unit that stores first information including information indicating the first unit; and second information including information indicating a second unit that is a unit of the measured value of the measurement target to be output from the communication device. and,
The communication device includes an acquisition unit that acquires the first information, the second information, and the first measurement value from the field device;
a conversion unit that converts the first measurement value into a second measurement value that is a measurement value of the measurement target in the second unit, based on the acquired first information and second information;
Field equipment system.
前記変換部は、前記第1測定値を同じ物理量であって値が異なる第2測定値に変換する第1変換と、前記第1測定値を物理量が異なる第2測定値に変換する第2変換と、の少なくとも一方を行う、請求項1記載のフィールド機器システム。 The conversion unit performs a first conversion that converts the first measurement value into a second measurement value that is the same physical quantity but has a different value, and a second conversion that converts the first measurement value into a second measurement value that has a different physical quantity. The field device system according to claim 1, wherein the field device system performs at least one of the following. 前記通信装置は、前記フィールド機器を識別する識別情報に対応づけられた変換式を格納する格納部を備えており、
前記第1情報及び前記第2情報の少なくとも一方には、前記変換式で用いられるパラメータが含まれ、
前記変換部は、前記取得部によって取得される前記フィールド機器の前記識別情報に対応づけられた前記変換式を前記格納部から読み出し、読み出した前記変換式と前記パラメータとを用いて、前記第1測定値を前記第2測定値に変換する、
請求項1又は請求項2記載のフィールド機器システム。
The communication device includes a storage unit that stores a conversion formula associated with identification information for identifying the field device,
At least one of the first information and the second information includes a parameter used in the conversion formula,
The conversion unit reads the conversion formula associated with the identification information of the field device acquired by the acquisition unit from the storage unit, and uses the read conversion formula and the parameters to convert the first converting the measured value into the second measured value;
The field device system according to claim 1 or claim 2.
互いに通信可能に接続されるフィールド機器と通信装置とを備えるフィールド機器システムにおける測定値変換方法であって、
前記フィールド機器から、測定対象の検出を行うセンサの検出値から前記フィールド機器によって求められた、予め規定された第1単位における前記測定対象の測定値であって前記フィールド機器から出力される第1測定値と、前記第1単位を示す情報が含まれる第1情報と、自装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報とを取得する取得ステップと、
取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値に変換する変換ステップと、
を有する測定値変換方法。
A measurement value conversion method in a field device system comprising a field device and a communication device that are communicably connected to each other,
A measured value of the object to be measured in a predefined first unit, which is determined by the field device from a detection value of a sensor that detects the object to be measured , and is the first value output from the field device . 1 measurement value, first information including information indicating the first unit, and second information including information indicating a second unit which is the unit of the measurement value of the measurement target to be output from the own device. an acquisition step to acquire;
a conversion step of converting the first measurement value into a second measurement value that is a measurement value of the measurement object in the second unit, based on the acquired first information and second information;
A measurement value conversion method having
フィールド機器と通信可能に接続される端末装置であって、
前記フィールド機器から、測定対象の検出を行うセンサの検出値から前記フィールド機器によって求められた、予め規定された第1単位における前記測定対象の測定値であって前記フィールド機器から出力される第1測定値と、前記第1単位を示す情報が含まれる第1情報と、自装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報とを取得する取得部と、
取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値に変換する変換部と、
を備える端末装置。
A terminal device communicably connected to a field device,
A measured value of the object to be measured in a predefined first unit, which is determined by the field device from a detection value of a sensor that detects the object to be measured , and is the first value output from the field device . 1 measurement value, first information including information indicating the first unit, and second information including information indicating a second unit which is the unit of the measurement value of the measurement target to be output from the own device. an acquisition unit that acquires;
a conversion unit that converts the first measurement value into a second measurement value that is a measurement value of the measurement target in the second unit, based on the acquired first information and second information;
A terminal device equipped with.
コンピュータを、フィールド機器と通信可能に接続される端末装置として機能させる端末プログラムであって、
前記コンピュータを、前記フィールド機器から、測定対象の検出を行うセンサの検出値から前記フィールド機器によって求められた、予め規定された第1単位における前記測定対象の測定値であって前記フィールド機器から出力される第1測定値と、前記第1単位を示す情報が含まれる第1情報と、自装置から出力させるべき前記測定対象の測定値の単位である第2単位を示す情報が含まれる第2情報とを取得する取得手段と、
取得した前記第1情報及び前記第2情報に基づいて、前記第1測定値を前記第2単位における前記測定対象の測定値である第2測定値に変換する変換手段と、
して機能させる端末プログラム。
A terminal program that causes a computer to function as a terminal device communicably connected to a field device,
The computer receives, from the field device, a measurement value of the measurement object in a predefined first unit, which is obtained by the field device from a detection value of a sensor that detects the measurement object. a first measurement value to be output ; first information including information indicating the first unit; and first information including information indicating a second unit that is the unit of the measurement value of the measurement target to be output from the device itself. 2. an acquisition means for acquiring the information;
Conversion means for converting the first measurement value into a second measurement value that is a measurement value of the measurement object in the second unit, based on the acquired first information and second information;
A terminal program that makes it work.
JP2019133857A 2019-07-19 2019-07-19 Field device system, measurement value conversion method, terminal device, and terminal program Active JP7358813B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019133857A JP7358813B2 (en) 2019-07-19 2019-07-19 Field device system, measurement value conversion method, terminal device, and terminal program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019133857A JP7358813B2 (en) 2019-07-19 2019-07-19 Field device system, measurement value conversion method, terminal device, and terminal program

Publications (2)

Publication Number Publication Date
JP2021018603A JP2021018603A (en) 2021-02-15
JP7358813B2 true JP7358813B2 (en) 2023-10-11

Family

ID=74566053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019133857A Active JP7358813B2 (en) 2019-07-19 2019-07-19 Field device system, measurement value conversion method, terminal device, and terminal program

Country Status (1)

Country Link
JP (1) JP7358813B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003029807A (en) 2001-07-17 2003-01-31 Yokogawa Electric Corp Process controller
JP2018206301A (en) 2017-06-09 2018-12-27 横河電機株式会社 Field apparatus, setting device, and setting program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003029807A (en) 2001-07-17 2003-01-31 Yokogawa Electric Corp Process controller
JP2018206301A (en) 2017-06-09 2018-12-27 横河電機株式会社 Field apparatus, setting device, and setting program

Also Published As

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

Similar Documents

Publication Publication Date Title
US8666431B2 (en) Water-quality measurement system using a smartphone
JP7073952B2 (en) Data collection system and data collection method
JP6776143B2 (en) Water level measurement system
KR20190079917A (en) SYSTEM AND APPARATUS FOR OBTAINING DATA OF FACILITY AND SENSOR BASED ON INDUSTRIAL IoT SERVICE
JP5292036B2 (en) Fatigue damage monitoring device
JP2016206067A (en) Sensor monitoring system, disaster monitoring system, and disaster monitoring method
EP3504522B1 (en) Split electronic volume corrector (evc)
JP2018146533A (en) Sensor calibration apparatus and sensor calibration method
JP5952978B1 (en) Electronic device operating environment setting system, operating environment setting method, and operating environment setting program
US11252485B2 (en) Integration of transducer data collection
JP7358813B2 (en) Field device system, measurement value conversion method, terminal device, and terminal program
JP6705452B2 (en) Information processing device, device, information processing system, information processing method, and information processing program
JP6520280B2 (en) Environmental Information Acquisition System, Management Server, and Environmental Information Acquisition Method
CN109716071B (en) System and method for measuring environmental parameters
JP2017083285A (en) Location estimation system, location estimation method and program
US10484450B2 (en) Radio module as web-controllable remote sensor
TW202024957A (en) Information processing method, and program
JP5385821B2 (en) Wireless system and program used therefor
US11330350B2 (en) Field device and information providing method
JP2010033279A (en) Device for monitoring operation of air conditioner, operation-monitoring system, and operation-monitoring method
KR102077322B1 (en) Transmitters, switching hubs and transmission control system using them
US20090107212A1 (en) Process field instrument with integrated sensor unit and related system and method
JP2009224907A (en) Wireless communication system and communication path setting program used for the same
JP2015185092A (en) Network system, communication method, server, server program, terminal, and terminal program
JP2019068217A (en) Communication path management system and communication path management device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220607

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230628

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230911

R150 Certificate of patent or registration of utility model

Ref document number: 7358813

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150