JP2012146123A - Communication system - Google Patents

Communication system Download PDF

Info

Publication number
JP2012146123A
JP2012146123A JP2011003904A JP2011003904A JP2012146123A JP 2012146123 A JP2012146123 A JP 2012146123A JP 2011003904 A JP2011003904 A JP 2011003904A JP 2011003904 A JP2011003904 A JP 2011003904A JP 2012146123 A JP2012146123 A JP 2012146123A
Authority
JP
Japan
Prior art keywords
master
hart
communication
bus
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011003904A
Other languages
Japanese (ja)
Other versions
JP5578366B2 (en
Inventor
Katsuji Usami
勝司 宇佐美
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 JP2011003904A priority Critical patent/JP5578366B2/en
Publication of JP2012146123A publication Critical patent/JP2012146123A/en
Application granted granted Critical
Publication of JP5578366B2 publication Critical patent/JP5578366B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Volume Flow (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize automation of master function in HART communication.SOLUTION: In a communication system that uses a communication command of HART communication to perform master-slave communications of HART packet between a master field device and a slave field device, the master field device is provided with: an in-bus master determination part for interpreting the HART packet and determining a type of master in the same bus; an in-bus master information retention part for storing information about the type of master determined by the in-bus master determination part and about receiving time; and a transmission master information automatic determination part for automatically determining master information to be transmitted in a manner added to the HART packet, based on the information stored in the in-bus master information retention part.

Description

本発明は、通信システムに関し、詳しくは、HART(Highway Addressable Remote Transducer)(登録商標)通信におけるマスタ機能の自動化に関するものである。   The present invention relates to a communication system, and more particularly to automation of a master function in HART (Highway Addressable Remote Transducer) (registered trademark) communication.

プラントに設置されるフィールド機器の一種に、複数のセンサが1つの機器に収容されたマルチセンサ機器があり、このようなマルチセンサ機器にもHART通信協会が定めたHART通信機能が組み込まれたものがある。このようなフィールド機器によれば、古くからの業界標準であったアナログ4−20mA信号にデジタル信号を重畳することで、外部機器との間でデジタル通信を行うことができる。   One type of field device installed in a plant is a multi-sensor device in which a plurality of sensors are accommodated in one device, and such a multi-sensor device also incorporates a HART communication function defined by the HART Communication Association. There is. According to such a field device, digital communication can be performed with an external device by superimposing a digital signal on an analog 4-20 mA signal, which has been an industry standard for a long time.

HART通信では、通信プロトコルの中に、マスタの種類を表す情報(1bitの情報であり、2種類のマスタが選択できる)が付加されている。既に通信を行っているマスタと同じ情報では、新たに通信をすることができず、ユーザによるエンジニアリングが必要である。   In HART communication, information indicating the type of master (1-bit information and two types of masters can be selected) is added to the communication protocol. With the same information as the master that is already communicating, new communication cannot be performed and engineering by the user is required.

図5は、従来のHART通信システムの一例を示す概念構成説明図である。図5において、HART通信バス10には、分散制御システム(以下DCSという)20、エンジニアリングツール30、複数のフィールド機器40、50などが接続されている。   FIG. 5 is a conceptual structural explanatory diagram showing an example of a conventional HART communication system. In FIG. 5, a distributed control system (hereinafter referred to as DCS) 20, an engineering tool 30, a plurality of field devices 40 and 50, etc. are connected to the HART communication bus 10.

HART通信バス10は、4−20mA信号にHART通信協会が定めたデジタル信号が重畳される通信経路である。電流を固定として複数のフィールド機器が接続されるマルチドロップ方式では、全ての通信がデジタルで行われる。   The HART communication bus 10 is a communication path in which a digital signal defined by the HART communication association is superimposed on a 4-20 mA signal. In the multi-drop method in which a plurality of field devices are connected with a fixed current, all communication is performed digitally.

DCS20は、制御ループの監視・制御を行うものである。HART通信プロトコルを用いる場合、一般的にはプライマリマスタとなる。   The DCS 20 monitors and controls the control loop. When the HART communication protocol is used, it is generally a primary master.

エンジニアリングツール30は、制御ループの制御は行わず、HART通信バス10を経由してフィールド機器40や50のパラメータの調整や設定を行うツールである。HART通信プロトコルを用いる場合、一般的にはセカンダリマスタとなる。   The engineering tool 30 is a tool for adjusting and setting parameters of the field devices 40 and 50 via the HART communication bus 10 without controlling the control loop. When the HART communication protocol is used, it is generally a secondary master.

フィールド機器40および50は、差圧伝送器、温度伝送器、バルブポジショナなどに代表されるものであり、プラントに設置される。   The field devices 40 and 50 are typified by a differential pressure transmitter, a temperature transmitter, a valve positioner, and the like, and are installed in a plant.

フィールド機器40は、スレーブとして機能し、DCS20やエンジニアリングツール30からの通信による要求に対して、自身が持つプロセス値やパラメータなどを送受信する。   The field device 40 functions as a slave and transmits / receives process values, parameters, and the like held by itself in response to a request from the DCS 20 or the engineering tool 30.

フィールド機器50は、マスタとして機能し、登録されているスレーブとして機能するフィールド機器40に対して、自発的にクライアントサーバ通信を行う。   The field device 50 functions as a master and spontaneously performs client-server communication with the field device 40 that functions as a registered slave.

図6は、マスタとして機能するフィールド機器50の一例を示すブロック図である。図6において、HARTパケット送受信部51は、HART通信バス10に流れるHART通信パケットを送受信する。具体的には、HART通信バス10から受信したデータは、全てHARTパケット解釈部52へ渡すとともに、タイマ53を起動する。また、HARTパケット作成部54から出力されるデータを、タイマ53によってタイミングを図りながら、HART通信バス10へ送信する。   FIG. 6 is a block diagram illustrating an example of the field device 50 that functions as a master. In FIG. 6, a HART packet transmission / reception unit 51 transmits / receives a HART communication packet flowing in the HART communication bus 10. Specifically, all the data received from the HART communication bus 10 is passed to the HART packet interpretation unit 52 and the timer 53 is started. Further, the data output from the HART packet creation unit 54 is transmitted to the HART communication bus 10 while the timing is set by the timer 53.

HARTパケット解釈部52は、HARTパケット送受信部51から受け取ったデータをHART通信プロトコルの仕様に従って解析し、通信に関連する情報とそれ以外の情報に分類する。   The HART packet interpretation unit 52 analyzes the data received from the HART packet transmission / reception unit 51 according to the specifications of the HART communication protocol, and classifies the data into information related to communication and other information.

通信に関連する情報は、HARTのDL層の情報である機器のアドレス情報、マスタの種類(プライマリまたはセカンダリ)、バーストモードの有無、HARTコマンド番号などであり、HARTパケット関連データ格納部55に格納される。一方、通信に関係ないアプリケーション情報などのそれ以外のデータは、アプリケーションアルゴリズム部56に格納される。   Information related to communication includes device address information, which is HART DL layer information, master type (primary or secondary), presence / absence of a burst mode, HART command number, and the like, which are stored in the HART packet related data storage unit 55. Is done. On the other hand, other data such as application information not related to communication is stored in the application algorithm unit 56.

また、フィールド機器自身にとって返信が必要なHART通信パケットの場合にはタイマ53に返信する時間データを渡して以降の処理を継続し、返信が不要なHART通信パケットである場合にはタイマ53を止めて処理を終了する。   If the field device itself is a HART communication packet that requires a reply, the time data to be returned to the timer 53 is passed and the subsequent processing is continued. If the reply is a HART communication packet that does not require a reply, the timer 53 is stopped. To finish the process.

HARTパケット作成部54は、アプリケーションアルゴリズム部56から受け取った情報とHARTパケット関連データ格納部55に格納されているデータに基づいてHARTパケットを生成し、生成したHARTパケットをHARTパケット送受信部51に出力する。   The HART packet creation unit 54 generates a HART packet based on the information received from the application algorithm unit 56 and the data stored in the HART packet related data storage unit 55, and outputs the generated HART packet to the HART packet transmission / reception unit 51. To do.

HARTパケット関連データ格納部55は、HARTパケット解釈部52と、HARTパケット作成部54の間で共有するデータリンク層のデータを格納する。HARTパケット関連データ格納部55に格納されるデータには、受信アドレスや送信アドレス、通信バスの状態やパケットの種類などがある。   The HART packet related data storage unit 55 stores data of the data link layer shared between the HART packet interpretation unit 52 and the HART packet creation unit 54. The data stored in the HART packet related data storage unit 55 includes a reception address, a transmission address, a communication bus state, a packet type, and the like.

アプリケーションアルゴリズム部56は、フィールド機器を構成する所定のアプリケーションを実行する。具体的には、センシング処理、プロセス値演算、診断処理などの他、HARTパケット解釈部52経由で送られた通信リクエストに対して必要な処理を行い、処理結果をHARTパケット作成部54経由でレスポンスとして返す。   The application algorithm unit 56 executes a predetermined application constituting the field device. Specifically, in addition to sensing processing, process value calculation, diagnosis processing, etc., necessary processing is performed on a communication request sent via the HART packet interpretation unit 52, and the processing result is returned via the HART packet creation unit 54. Return as.

データ記憶部57は、アプリケーションアルゴリズム部56で使用するフィールド機器の各種パラメータや通信プロトコルの情報など、各種のデータを格納する。   The data storage unit 57 stores various data such as various parameters of the field device and communication protocol information used by the application algorithm unit 56.

自マスタ情報保持部571は、データ記憶部57の中で、マスタ機能付フィールド機器50のマスタ情報を格納している部分である。この情報は、HART通信プロトコル経由で、フィールド機器50をプライマリかセカンダリのどちらの種類のマスタにするのかがユーザにより設定される。   The own master information holding unit 571 is a part that stores the master information of the field device 50 with a master function in the data storage unit 57. This information is set by the user through the HART communication protocol to determine whether the field device 50 is the primary or secondary master.

フィールド機器50のマスタ機能を使用して、スレーブとして機能するフィールド機器40とHART通信を行う動作を説明する。   An operation of performing HART communication with the field device 40 functioning as a slave using the master function of the field device 50 will be described.

事前準備として、HART通信バス10に接続されているマスタの種類をユーザが判別する。ここでは、プライマリマスタが接続されているものとする。ユーザは、エンジニアリングツール30を使用し、HART通信経由で、フィールド機器50の自マスタ情報保持部57aに、セカンダリマスタとして動作するように自マスタの情報を格納する。   As advance preparation, the user determines the type of master connected to the HART communication bus 10. Here, it is assumed that the primary master is connected. The user uses the engineering tool 30 to store information on the own master in the own master information holding unit 57a of the field device 50 so as to operate as a secondary master via HART communication.

フィールド機器50は、HART通信プロトコルの仕様に基づき発言ができる時間帯として設定されているセカンダリマスタの所定のタイミングで、スレーブとして機能するフィールド機器40にリクエストを送信する。なお、リクエストのHART通信パケットのDL層部分には、自身がセカンダリであることを示す情報が埋め込まれている。   The field device 50 transmits a request to the field device 40 functioning as a slave at a predetermined timing of the secondary master set as a time zone in which a speech can be made based on the specifications of the HART communication protocol. In the DL layer part of the HART communication packet of the request, information indicating that it is secondary is embedded.

フィールド機器40は、フィールド機器50から要求された処理を実行し、レスポンスをフィールド機器50に返す。   The field device 40 executes the process requested by the field device 50 and returns a response to the field device 50.

フィールド機器50は、フィールド機器40からのレスポンスを受信する。   The field device 50 receives the response from the field device 40.

特許文献1には、HART通信の通信コマンドを用いて、マルチセンサ機器との間で通信を行う通信システムおよび通信方法に関する技術が開示されている。   Patent Document 1 discloses a technique related to a communication system and a communication method for performing communication with a multi-sensor device using a communication command for HART communication.

特開2008−27281号公報JP 2008-27281 A

しかし、図5および図6のような従来の構成によれば、ユーザがHART通信バス10上に接続されているマスタの種類を把握し、その種類をマスタ機能付のフィールド機器50に対してエンジニアリングツール30で設定する必要がある。   However, according to the conventional configuration as shown in FIGS. 5 and 6, the user grasps the type of the master connected on the HART communication bus 10 and engineering the type with respect to the field device 50 with the master function. It is necessary to set with the tool 30.

また、HART通信では、その仕様により、同一HART通信バス10には2種類までのマスタしか許可していないので、既にHART通信バス10上に2種類のマスタが存在すると、通信が混信するおそれがある。   Also, in HART communication, only up to two types of masters are permitted on the same HART communication bus 10 due to its specifications. If there are already two types of masters on the HART communication bus 10, there is a risk of communication interference. is there.

さらに、エンジニアリングツール30を利用したパラメータの設定は、一時的に行われることが多い。このような場合でもHART通信バス10上には複数のマスタが存在するため、フィールド機器50のマスタ機能を一時的にオフにしてパラメータの設定を行い、パラメータの設定が終了した後にフィールド機器50のマスタ機能を再びオンに戻す必要がある。すなわち、ユーザはHART通信バス10のマスタの状態を把握しておかなければならず、メンテナンス性を低下させることになる。   Furthermore, parameter setting using the engineering tool 30 is often temporarily performed. Even in such a case, since there are a plurality of masters on the HART communication bus 10, parameter setting is performed by temporarily turning off the master function of the field device 50, and after the parameter setting is completed, the field device 50 The master function needs to be turned back on again. In other words, the user must know the state of the master of the HART communication bus 10, and the maintainability is reduced.

本発明は、このような課題を解決するものであり、その目的は、フィールド機器自身がHART通信バスの状態に基づいて自動的にマスタの種類を設定でき、HART通信バス上に既に複数のマスタが存在する場合にはフィールド機器自身が自動的にマスタ機能を停止させ、一方のマスタが存在しなくなった時点でフィールド機器が自動的にマスタの種類を設定してマスタ機能を動作させることができる通信システムを提供することにある。   The present invention solves such a problem, and an object of the present invention is to enable the field device itself to automatically set the master type based on the state of the HART communication bus. Field device itself automatically stops the master function, and when one master no longer exists, the field device can automatically set the master type and operate the master function. It is to provide a communication system.

このような課題を達成するために、本発明のうち請求項1記載の発明は、
HART通信の通信コマンドを用いてマスタフィールド機器とスレーブフィールド機器の間でHARTパケットのマスタスレーブ通信を行う通信システムにおいて、
前記マスタフィールド機器に、
HARTパケットを解釈して同一バス内におけるマスタの種類を判別するバス内マスタ判別部と、
このバス内マスタ判別部で判別されたマスタの種類と受信した時間の情報を格納するバス内マスタ情報保持部と、
このバス内マスタ情報保持部に格納された情報に基づき、前記HARTパケットに付加して送信するマスタ情報を自動で判断する送信マスタ情報自動判断部、
を設けたことを特徴とする。
In order to achieve such a problem, the invention according to claim 1 of the present invention is:
In a communication system that performs master-slave communication of a HART packet between a master field device and a slave field device using a communication command of HART communication,
In the master field device,
An in-bus master discriminating unit that interprets the HART packet and discriminates the type of master in the same bus;
In-bus master information holding unit for storing information on the type of master determined by the in-bus master determination unit and the received time;
Based on the information stored in the in-bus master information holding unit, a transmission master information automatic determination unit that automatically determines master information to be transmitted in addition to the HART packet;
Is provided.

請求項2記載の発明は、請求項1記載の通信システムにおいて、
有線のHART通信バスを用いることを特徴とする。
The invention described in claim 2 is the communication system according to claim 1,
A wired HART communication bus is used.

請求項3記載の発明は、請求項1記載の通信システムにおいて、
無線通信を行うことを特徴とする。
The invention according to claim 3 is the communication system according to claim 1,
It is characterized by performing wireless communication.

請求項4記載の発明は、請求項1から請求項3のいずれかに記載の通信システムにおいて、
前記マスタフィールド機器は、コリオリ流量計であることを特徴とする。
The invention according to claim 4 is the communication system according to any one of claims 1 to 3,
The master field device is a Coriolis flow meter.

これらにより、HART通信におけるマスタ機能処理の自動化が実現できる。   As a result, automation of master function processing in HART communication can be realized.

本発明の一実施例を示すブロック図である。It is a block diagram which shows one Example of this invention. HART通信バス10の監視動作の流れを説明するフローチャートである。4 is a flowchart for explaining a flow of a monitoring operation of the HART communication bus 10. HARTマスタ通信の送信動作の流れを説明するフローチャートである。It is a flowchart explaining the flow of transmission operation | movement of HART master communication. 本発明の他の実施例を示すブロック図である。It is a block diagram which shows the other Example of this invention. 従来のHART通信システムの一例を示す概念構成説明図である。It is conceptual structure explanatory drawing which shows an example of the conventional HART communication system. マスタとして機能するフィールド機器50の一例を示すブロック図である。It is a block diagram which shows an example of the field apparatus 50 which functions as a master.

以下、本発明について、図面を用いて詳細に説明する。図1は本発明の一実施例を示すブロック図であり、図6と共通する部分には同一の符号を付けている。図1において、HARTパケット解釈部52には通信データからHARTマスタの種類を判別するバス内マスタ判別部521を付加し、HARTパケット生成部54にはHART通信バス10上に存在するマスタの情報に基づいてどの種類のマスタ信号でデータを送信するかを判断する送信マスタ情報自動判断部541を付加している。さらに、バス内マスタ判別部521と送信マスタ情報自動判断部541の情報を伝達するために、HARTパケット関連データ格納部55内に、バス内マスタ情報保持部551を付加している。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, and the same reference numerals are given to portions common to FIG. In FIG. 1, a HART packet interpreter 52 is added with an in-bus master discriminating unit 521 that discriminates the type of HART master from communication data. A transmission master information automatic determination unit 541 for determining which type of master signal to transmit data based on is added. Further, an in-bus master information holding unit 551 is added to the HART packet related data storage unit 55 in order to transmit information of the in-bus master determination unit 521 and the transmission master information automatic determination unit 541.

HARTパケット解釈部52に付加されたバス内マスタ判別部521は、HARTパケット送受信部51から受信したデータに含まれているマスタの種類を示すデータおよび受信時間を判別して格納する。   The in-bus master discriminating unit 521 added to the HART packet interpreting unit 52 discriminates and stores the data indicating the master type included in the data received from the HART packet transmitting / receiving unit 51 and the reception time.

HARTパケット生成部54に付加された送信マスタ情報自動判断部541は、バス内マスタ判別部521に格納されているバス内マスタ情報保持部551の情報から、送信するHARTパケットに付加するマスタ情報を自動で判断する。HARTパケット作成部54はこの情報を使用してHARTパケットを生成する。   The transmission master information automatic determination unit 541 added to the HART packet generation unit 54 determines the master information to be added to the HART packet to be transmitted from the information in the in-bus master information holding unit 551 stored in the in-bus master determination unit 521. Judge automatically. The HART packet creation unit 54 generates a HART packet using this information.

HARTパケット関連データ格納部55に付加されているバス内マスタ情報保持部551は、バス内マスタ判別部521から送信出力されるデータを格納する。バス内マスタ情報保持部551に格納されたデータは送信マスタ情報自動判断部541で使用される。   The in-bus master information holding unit 551 added to the HART packet related data storage unit 55 stores data transmitted from the in-bus master determination unit 521. The data stored in the in-bus master information holding unit 551 is used by the transmission master information automatic determination unit 541.

図2は、図1におけるHART通信バス10の監視動作の流れを説明するフローチャートである。なお、この場合、事前準備として、マスタ機能付きフィールド機器50のマスタ機能を有効にしておく。   FIG. 2 is a flowchart for explaining the flow of the monitoring operation of the HART communication bus 10 in FIG. In this case, as a preliminary preparation, the master function of the field device 50 with a master function is enabled.

フィールド機器50が起動されて、HARTパケット送受信部51におけるHART通信パケットフレームの受信が完了すると(ステップS1)、HARTパケット解釈部52により受信したデータのデータリンク層の解析が行われる(ステップS2)。   When the field device 50 is activated and reception of the HART communication packet frame in the HART packet transmission / reception unit 51 is completed (step S1), the data link layer of the received data is analyzed by the HART packet interpretation unit 52 (step S2). .

ここで、受信フレームのソースアドレスがマスタ機器の場合には次のステップS4に進み、マスタ機器ではなくスレーブ機器の場合はステップS1に戻る(ステップS3)。   If the source address of the received frame is the master device, the process proceeds to the next step S4. If the received address is not the master device but the slave device, the process returns to step S1 (step S3).

HARTパケット解釈部52は、ステップS2における解析結果であるマスタの種類と受信時刻データをバス内マスタ情報保持部551に格納する(ステップS4)。   The HART packet interpretation unit 52 stores the master type and the reception time data as the analysis result in step S2 in the in-bus master information holding unit 551 (step S4).

そして、受信したデータが自機宛の場合は次のステップS6に進み、他機宛の場合はステップS1に戻る(ステップS5)。   If the received data is addressed to the own device, the process proceeds to the next step S6. If the received data is addressed to another device, the process returns to step S1 (step S5).

受信したデータが自機宛の場合、アプリケーションアルゴリズム部56で、要求されたアプリケーションを実行する(ステップS6)。   If the received data is addressed to the own device, the application algorithm unit 56 executes the requested application (step S6).

続いて、HARTパケット作成部54は、アプリケーションアルゴリズム部56の実行結果を元に、返信パケットを作成する(ステップS7)。   Subsequently, the HART packet creation unit 54 creates a reply packet based on the execution result of the application algorithm unit 56 (step S7).

HARTパケット送受信部51は、HARTパケット作成部54で作成された返信パケットフレームを送信する(ステップS8)。   The HART packet transmission / reception unit 51 transmits the reply packet frame created by the HART packet creation unit 54 (step S8).

これにより、ステップS1でHARTパケット送受信部51が受信完了したフレームに対する一連の処理を終了する。   As a result, the series of processing for the frame received by the HART packet transmitting / receiving unit 51 in step S1 is completed.

図3は、HARTマスタ通信の送信動作の流れを説明するフローチャートである。
はじめに、マスタフレーム送信のための周期タイマ53が起動されたか否かを判断し(ステップS1)、周期タイマ53が起動された場合は次のステップS2に進む。
FIG. 3 is a flowchart for explaining the flow of the transmission operation of the HART master communication.
First, it is determined whether or not the periodic timer 53 for master frame transmission is activated (step S1). If the periodic timer 53 is activated, the process proceeds to the next step S2.

HARTパケット作成部54の送信マスタ情報自動判断部541は、バス内マスタ情報保持部551に確保されている情報を読み出し、直近の指定された時間内に受信したマスタの種類がプライマリとセカンダリの両方か否かを判断する(ステップS2)。なお、直近の指定された時間は、たとえば10秒や1分など、ユーザが任意に設定できる。   The transmission master information automatic determination unit 541 of the HART packet creation unit 54 reads the information secured in the in-bus master information holding unit 551, and the types of masters received within the most recently specified time are both primary and secondary. Whether or not (step S2). The most recently specified time can be arbitrarily set by the user, for example, 10 seconds or 1 minute.

ステップS2において、受信したマスタがプライマリとセカンダリの両方でないと判断した場合には、続いてセカンダリか否かを判断する(ステップS3)。   If it is determined in step S2 that the received master is not both primary and secondary, it is subsequently determined whether it is a secondary (step S3).

ステップS3において、受信したマスタがセカンダリでないと判断した場合には、HARTパケット送受信部51は、HARTパケット作成部54で作成されたフレームをセカンダリマスタとして送信する(ステップS4)。   If it is determined in step S3 that the received master is not secondary, the HART packet transmission / reception unit 51 transmits the frame created by the HART packet creation unit 54 as a secondary master (step S4).

ステップS2において、受信したマスタがプライマリとセカンダリの両方であると判断した場合には、HARTパケット送受信部51は何も送信しない(ステップS5)。   If it is determined in step S2 that the received master is both primary and secondary, the HART packet transmitting / receiving unit 51 does not transmit anything (step S5).

ステップS3において、受信したマスタがセカンダリと判断した場合には、HARTパケット送受信部51は、HARTパケット作成部54で作成されたフレームをプライマリマスタとして送信する(ステップS6)。   If it is determined in step S3 that the received master is secondary, the HART packet transmission / reception unit 51 transmits the frame created by the HART packet creation unit 54 as a primary master (step S6).

このように、周期タイマ53の起動に伴う一連のマスタフレーム送信処理を終了する。   In this way, a series of master frame transmission processes accompanying the activation of the cycle timer 53 is completed.

図1のように構成することにより、ユーザが設定操作することなしに、HART通信バス10の状況を自動的に判断し、送信するパケットに自動的にマスタの適切な種類を設定することができるとともに、同一のHART通信バス10上に既に複数のマスタが存在する場合には自動的にマスタ機能を停止させることができる。   With the configuration as shown in FIG. 1, it is possible to automatically determine the status of the HART communication bus 10 without the user performing a setting operation, and to automatically set an appropriate type of master to the packet to be transmitted. At the same time, when a plurality of masters already exist on the same HART communication bus 10, the master function can be automatically stopped.

本発明に基づくマスタ機能を有するフィールド機器としては、たとえば様々な物理量を同時に測定できるコリオリ流量計が考えられる。他のフィールド機器と通信するためのマスタ機能を持つコリオリ流量計の圧力情報を各種物理量の補正に使用することで、高精度の物理量測定データを出力できる。   As a field device having a master function based on the present invention, for example, a Coriolis flow meter capable of simultaneously measuring various physical quantities can be considered. By using the pressure information of a Coriolis flowmeter with a master function for communicating with other field devices to correct various physical quantities, it is possible to output highly accurate physical quantity measurement data.

なお、図1では、有線のHART通信バス10を用いる通信システムの実施例を説明したが、HARTパケット送受信部を図4に示すように無線HARTパケット送受信部58に変更することにより、無線HART通信システムとして構築することもできる。   In FIG. 1, the embodiment of the communication system using the wired HART communication bus 10 has been described. However, by changing the HART packet transmission / reception unit to the wireless HART packet transmission / reception unit 58 as shown in FIG. It can also be constructed as a system.

図4の構成によれば、HARTパケット通信方式が有線から無線に変更されることにより、本発明固有の効果に加えて、フィールド機器相互間でHARTパケット信号を送受するための信号線路が不要になるという効果も得られる。   According to the configuration of FIG. 4, the HART packet communication method is changed from wired to wireless, so that a signal line for transmitting and receiving a HART packet signal between field devices is unnecessary in addition to the effects unique to the present invention. The effect of becoming is also obtained.

以上説明したように、本発明の通信システムによれば、HART通信におけるマスタ機能の自動化が実現できる。   As described above, according to the communication system of the present invention, automation of the master function in HART communication can be realized.

10 HART通信バス
20 分散制御システム(DCS)
30 エンジニアリングツール
40 フィールド機器(スレーブ)
50 フィールド機器(マスタ)
51 HARTパケット送受信部
52 HARTパケット解釈部
521 バス内マスタ判別部
53 タイマ
54 HARTパケット作成部
541 送信マスタ情報自動判断部
55 HARTパケット関連データ格納部
551 バス内マスタ情報保持部
56 アプリケーションアルゴリズム部
57 データ記憶部
58 無線HARTパケット送受信部
10 HART communication bus 20 Distributed control system (DCS)
30 Engineering tool 40 Field device (slave)
50 Field devices (master)
51 HART packet transmission / reception unit 52 HART packet interpretation unit 521 Bus master determination unit 53 Timer 54 HART packet creation unit 541 Transmission master information automatic determination unit 55 HART packet related data storage unit 551 Bus master information holding unit 56 Application algorithm unit 57 Data Storage unit 58 Wireless HART packet transmission / reception unit

Claims (4)

HART通信の通信コマンドを用いてマスタフィールド機器とスレーブフィールド機器の間でHARTパケットのマスタスレーブ通信を行う通信システムにおいて、
前記マスタフィールド機器に、
HARTパケットを解釈して同一バス内におけるマスタの種類を判別するバス内マスタ判別部と、
このバス内マスタ判別部で判別されたマスタの種類と受信した時間の情報を格納するバス内マスタ情報保持部と、
このバス内マスタ情報保持部に格納された情報に基づき、前記HARTパケットに付加して送信するマスタ情報を自動で判断する送信マスタ情報自動判断部、
を設けたことを特徴とする通信システム。
In a communication system that performs master-slave communication of a HART packet between a master field device and a slave field device using a communication command of HART communication,
In the master field device,
An in-bus master discriminating unit that interprets the HART packet and discriminates the type of master in the same bus;
In-bus master information holding unit for storing information on the type of master determined by the in-bus master determination unit and the received time;
Based on the information stored in the in-bus master information holding unit, a transmission master information automatic determination unit that automatically determines master information to be transmitted in addition to the HART packet;
A communication system characterized by comprising:
有線のHART通信バスを用いることを特徴とする請求項1記載の通信システム。   2. The communication system according to claim 1, wherein a wired HART communication bus is used. 無線通信を行うことを特徴とする請求項1記載の通信システム。   The communication system according to claim 1, wherein wireless communication is performed. 前記マスタフィールド機器は、コリオリ流量計であることを特徴とする請求項1から請求項3のいずれかに記載の通信システム。   The communication system according to claim 1, wherein the master field device is a Coriolis flow meter.
JP2011003904A 2011-01-12 2011-01-12 Communications system Active JP5578366B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011003904A JP5578366B2 (en) 2011-01-12 2011-01-12 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011003904A JP5578366B2 (en) 2011-01-12 2011-01-12 Communications system

Publications (2)

Publication Number Publication Date
JP2012146123A true JP2012146123A (en) 2012-08-02
JP5578366B2 JP5578366B2 (en) 2014-08-27

Family

ID=46789627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011003904A Active JP5578366B2 (en) 2011-01-12 2011-01-12 Communications system

Country Status (1)

Country Link
JP (1) JP5578366B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016036074A (en) * 2014-08-01 2016-03-17 シャープ株式会社 Radio telemeter system and radio communication device
CN106104220A (en) * 2013-12-17 2016-11-09 罗伯特·博世有限公司 Air quality measurement apparatus, air quality for vehicle measure system and air quality measuring method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6717708B2 (en) * 2016-08-26 2020-07-01 大王製紙株式会社 Sublimation type inkjet printing transfer paper and method for producing the same

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177843A (en) * 1985-02-04 1986-08-09 Hitachi Ltd Loop network system
JP2006516782A (en) * 2003-01-29 2006-07-06 ハネウェル・インターナショナル・インコーポレーテッド Integrated control system for controlling addressable remote devices
JP2009111976A (en) * 2007-08-31 2009-05-21 Fisher Rosemount Syst Inc Configuring and optimizing wireless mesh network
WO2009082447A1 (en) * 2007-12-21 2009-07-02 Rosemount Inc. Diagnostics for mass flow control
JP2010136286A (en) * 2008-12-08 2010-06-17 Denso Corp Onboard communication network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177843A (en) * 1985-02-04 1986-08-09 Hitachi Ltd Loop network system
JP2006516782A (en) * 2003-01-29 2006-07-06 ハネウェル・インターナショナル・インコーポレーテッド Integrated control system for controlling addressable remote devices
JP2009111976A (en) * 2007-08-31 2009-05-21 Fisher Rosemount Syst Inc Configuring and optimizing wireless mesh network
WO2009082447A1 (en) * 2007-12-21 2009-07-02 Rosemount Inc. Diagnostics for mass flow control
JP2010136286A (en) * 2008-12-08 2010-06-17 Denso Corp Onboard communication network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106104220A (en) * 2013-12-17 2016-11-09 罗伯特·博世有限公司 Air quality measurement apparatus, air quality for vehicle measure system and air quality measuring method
JP2016036074A (en) * 2014-08-01 2016-03-17 シャープ株式会社 Radio telemeter system and radio communication device

Also Published As

Publication number Publication date
JP5578366B2 (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN106033215B (en) Automatic process data transmission and monitoring for industrial process networks
US9936050B2 (en) Method and communication system for data communication
US20100262264A1 (en) Method for Plant Monitoring With a Field Bus of Process Automation Technology
US10419237B2 (en) Slave device, control method of slave device, information processing program and recording medium
JP6600008B2 (en) High-speed data transmission communication protocol for industrial process networks
JP2018501596A (en) Data transmission method and apparatus in industrial process network
KR20190079328A (en) Communication Interface Apparatus and Interface Method Using the Same
RU2637060C2 (en) Technological process control system, peripheral device for use in it (versions) and method of actions planning
US10466670B2 (en) Field bus module, machine controller, and method for parameterizing a field bus module, in particular a safety-oriented field bus module
JP2013156987A (en) Device for transmitting sensor data
WO2017154272A1 (en) Slave device, method for controlling slave device, information processing program, and recording medium
WO2017154273A1 (en) Master-slave control system, method for controlling master-slave control system, information processing program, and recording medium
JP5578366B2 (en) Communications system
US20130131833A1 (en) Method, computer program, computer-readable medium and processing unit for controlling field devices
JP6443365B2 (en) Motor control device, control method, information processing program, and recording medium
CN108369403A (en) Field bus coupler, system and the method for config failure insurance module
JP4766349B2 (en) Field equipment
US20190165996A1 (en) Method for operating a real -time-capable simulation network having multiple network nodes for computing a simulation model, also computer program product relating thereto, and computer-readable storage medium
US20160156698A1 (en) Fieldbus Access Unit and Method for Operating the Same
JP6772748B2 (en) Arithmetic logic unit and control system
WO2015145673A1 (en) Wireless communication quality information processing apparatus and communication system
WO2019176287A1 (en) Control device, control system, control method, and control program
JP5477647B2 (en) Modbus control system
CN111033400B (en) Control device, control method, and storage medium for control program
US20120093024A1 (en) Method for ascertaining a transmissible telegram data length

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140409

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140625

R150 Certificate of patent or registration of utility model

Ref document number: 5578366

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150