[go: up one dir, main page]

JP2008109325A - Communications system - Google Patents

Communications system Download PDF

Info

Publication number
JP2008109325A
JP2008109325A JP2006289376A JP2006289376A JP2008109325A JP 2008109325 A JP2008109325 A JP 2008109325A JP 2006289376 A JP2006289376 A JP 2006289376A JP 2006289376 A JP2006289376 A JP 2006289376A JP 2008109325 A JP2008109325 A JP 2008109325A
Authority
JP
Japan
Prior art keywords
communication module
communication
module
bus
function
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.)
Pending
Application number
JP2006289376A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Kurono
光宏 黒野
Hideo Matsukawa
英男 松川
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 JP2006289376A priority Critical patent/JP2008109325A/en
Publication of JP2008109325A publication Critical patent/JP2008109325A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication system capable of rapidly checking the setting and connection of a communication module without complicating the system. <P>SOLUTION: A transmission means 22 transmits a function (a master module/a slave module) of a communication module 2 recognized on the basis of the setting of an internal switch 21 to the communication module 3 through a relay bus 1. A collating means 23 collates the function (the master module/the slave module) transmitted from the communication module 3 and the function of the communication module 2 recognized by itself. A stop means 24 stops the data output from the communication module 2 according to the result in the collating means 23. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の通信モジュールを互いにバスで接続して構成された通信システムに関する。   The present invention relates to a communication system configured by connecting a plurality of communication modules to each other via a bus.

プラントのフィールド制御システムなどでは、監視用端末とフィールド機器、あるいはフィールド機器間で通信を行うことで、プロセス制御を実行している。通信距離などの都合で通信経路に光通信その他の中継バスが設けられる場合、中継バスの両端にそれぞれ通信モジュールが接続される。   In a field control system of a plant or the like, process control is performed by performing communication between a monitoring terminal and a field device or between field devices. In the case where optical communication or other relay buses are provided in the communication path for convenience of communication distance, communication modules are connected to both ends of the relay bus.

図3は、中継バス101の両端に通信モジュール102および通信モジュール103を設けた例を示している。上流側ないし上位側の通信モジュール102にはバス104が、下流側ないし下位側の通信モジュール103にはバス105がそれぞれ接続されている。   FIG. 3 shows an example in which the communication module 102 and the communication module 103 are provided at both ends of the relay bus 101. A bus 104 is connected to the upstream or upper communication module 102, and a bus 105 is connected to the downstream or lower communication module 103.

通信モジュール102および通信モジュール103は共通の通信モジュールとして構成されており、内部スイッチによりその機能が切り替えられる。この例では、上流側ないし上位側をマスターモジュール、下流側ないし下位側をスレーブモジュールに設定することで、正常な通信状態を確保できる。すなわち、図3に示すように、通信モジュール102の内部スイッチ102aはマスターの側に、通信モジュール103の内部スイッチ103aはスレーブの側に、それぞれ設定される。   The communication module 102 and the communication module 103 are configured as a common communication module, and their functions are switched by an internal switch. In this example, a normal communication state can be ensured by setting the upstream side or the upper side as the master module and the downstream side or the lower side as the slave modules. That is, as shown in FIG. 3, the internal switch 102a of the communication module 102 is set on the master side, and the internal switch 103a of the communication module 103 is set on the slave side.

図4は通信タイミングを示すタイミング図である。マスターモジュールとして機能する通信モジュール102は、バス104からデータ(データAおよびデータB)を受信し、通信モジュール102の動作クロックに同期してデータを中継バス101に出力する。スレーブモジュールとして機能する通信モジュール103は中継バス101からデータを受信し、通信モジュール103の動作クロックに同期してデータをバス105に出力する。同様に、バス105からバス104に向けた逆方向のデータ転送も可能とされている。   FIG. 4 is a timing chart showing communication timing. The communication module 102 functioning as a master module receives data (data A and data B) from the bus 104 and outputs the data to the relay bus 101 in synchronization with the operation clock of the communication module 102. The communication module 103 functioning as a slave module receives data from the relay bus 101 and outputs the data to the bus 105 in synchronization with the operation clock of the communication module 103. Similarly, data transfer in the reverse direction from the bus 105 to the bus 104 is also possible.

特開平11−239197号公報JP 11-239197 A

しかし、通信モジュール102または通信モジュール103の内部スイッチの設定に誤りがあった場合、受信されるデータには相手方の通信モジュールを識別する識別要因がないため、通信モジュール102または通信モジュール103が誤動作し、バス104またはバス105に誤データが出力される。誤データの出力が継続した場合、システムに悪影響を与えるおそれがある。   However, if there is an error in the setting of the internal switch of the communication module 102 or the communication module 103, the received data has no identification factor for identifying the communication module of the other party, so that the communication module 102 or the communication module 103 malfunctions. , Erroneous data is output to the bus 104 or the bus 105. If incorrect data output continues, there is a risk of adverse effects on the system.

このような誤動作を防止するため、CRC(Cyclic Redundancy Check;巡回冗長検査)を用いてデータをチェックすることも考えられるが、CRCではデータ全てをバッファする必要があり、回路規模が大きくなるとともに、データ転送の大幅な遅延が発生するため好ましくない。   In order to prevent such a malfunction, it may be possible to check data using a CRC (Cyclic Redundancy Check), but it is necessary to buffer all the data in the CRC, which increases the circuit scale. This is not preferable because a large delay in data transfer occurs.

本発明の目的は、システムを複雑にすることなく、通信モジュールの設定状態や接続状態を迅速にチェックできる通信システムを提供することにある。   An object of the present invention is to provide a communication system capable of quickly checking a setting state and a connection state of a communication module without complicating the system.

本発明の通信システムは、第1の通信モジュールおよび第2の通信モジュールを中継バスで接続して構成された通信システムにおいて、前記第1の通信モジュールは、当該第1の通信モジュールの機能を認識する第1の認識手段と、前記第1の認識手段で認識された機能を、前記中継バスを介して前記第2の通信モジュールに送信する送信手段と、を具備し、前記第2の通信モジュールは、当該第2の通信モジュールの機能を認識する第2の認識手段と、前記送信手段で送信された前記機能と、前記第2の認識手段で認識された前記機能とを照合する照合手段と、を具備することを特徴とする。
この通信システムによれば、送信手段で送信された機能と、第2の認識手段で認識された機能とを照合するので、システムを複雑にすることなく、通信モジュールの設定状態や接続状態を迅速にチェックできる。
The communication system of the present invention is a communication system configured by connecting a first communication module and a second communication module via a relay bus, and the first communication module recognizes the function of the first communication module. First recognizing means that transmits the function recognized by the first recognizing means to the second communication module via the relay bus, and the second communication module. A second recognizing unit for recognizing the function of the second communication module, a collating unit for collating the function transmitted by the transmitting unit, and the function recognized by the second recognizing unit; It is characterized by comprising.
According to this communication system, since the function transmitted by the transmission unit and the function recognized by the second recognition unit are collated, the setting state and connection state of the communication module can be quickly determined without complicating the system. Can be checked.

前記第1の通信モジュールおよび前記第2の通信モジュールは、共通の通信モジュールとして構成され、前記共通の通信モジュールは、前記第1の認識手段および前記第2の認識手段として機能するとともに、当該共通の通信モジュールの機能を前記第1の通信モジュールとしての機能と、前記第2の通信モジュールとしての機能との間で切り替える切替手段を具備してもよい。   The first communication module and the second communication module are configured as a common communication module, and the common communication module functions as the first recognition unit and the second recognition unit, and the common communication module Switching means for switching the function of the communication module between the function as the first communication module and the function as the second communication module may be provided.

前記第1の通信モジュールには外部モジュールとの間の通信のための第1のバスが、前記第2の通信モジュールには外部モジュールとの間の通信のための第2のバスが、それぞれ接続され、前記中継バスの通信周波数が前記第1のバスの通信周波数および前記第2のバスの通信周波数よりも高くされていてもよい。   A first bus for communication with an external module is connected to the first communication module, and a second bus for communication with an external module is connected to the second communication module, respectively. The communication frequency of the relay bus may be higher than the communication frequency of the first bus and the communication frequency of the second bus.

前記中継バスの通信周波数は、前記第1のバスおよび前記第2のバスの通信周波数の整数倍であってもよい。   The communication frequency of the relay bus may be an integer multiple of the communication frequency of the first bus and the second bus.

前記中継バスのビット数を前記第1のバスおよび前記第2のバスのビット数よりも大きくしてもよい。   The number of bits of the relay bus may be larger than the number of bits of the first bus and the second bus.

前記照合手段における照合結果に応じて前記第2の通信モジュールからのデータの出力を停止する停止手段を備えてもよい。   You may provide the stop means which stops the output of the data from a said 2nd communication module according to the collation result in the said collation means.

前記第1の通信モジュールの機能および前記第2の通信モジュールの機能は、それぞれマスターモジュールあるいはスレーブモジュールとしての機能であってもよい。   The function of the first communication module and the function of the second communication module may be functions as a master module or a slave module, respectively.

本発明の通信システムによれば、送信手段で送信された機能と、第2の認識手段で認識された機能とを照合するので、システムを複雑にすることなく、通信モジュールの設定状態や接続状態を迅速にチェックできる。   According to the communication system of the present invention, since the function transmitted by the transmission unit and the function recognized by the second recognition unit are collated, the setting state and connection state of the communication module can be achieved without complicating the system. Can be checked quickly.

以下、図1〜図2を参照して、本発明による通信システムの一実施形態について説明する。   Hereinafter, an embodiment of a communication system according to the present invention will be described with reference to FIGS.

図1は、本実施形態の通信システムの構成を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration of a communication system according to the present embodiment.

図1に示すように、本実施形態の通信システムは、中継バス1の両端に通信モジュール2および通信モジュール3を接続して構成される。上流側ないし上位側の通信モジュール2は、バス4を介して外部の通信モジュール(不図示)に接続されている。また、下流側ないし下位側の通信モジュール3は、バス5を介して外部の通信モジュール(不図示)に接続されている。   As shown in FIG. 1, the communication system of the present embodiment is configured by connecting a communication module 2 and a communication module 3 to both ends of a relay bus 1. The upstream or upper communication module 2 is connected to an external communication module (not shown) via the bus 4. The downstream or lower communication module 3 is connected to an external communication module (not shown) via the bus 5.

通信モジュール2および通信モジュール3には、共通のモジュールが用いられており、切替手段および認識手段としての内部スイッチにより機能を設定している。すなわち、通信モジュール2の内部スイッチ21をマスター側に、通信モジュール3の内部スイッチ31をスレーブ側に、それぞれ設定することにより、通信モジュール2をマスターモジュール(上流側ないし上位側のモジュール)として、通信モジュール3をスレーブモジュール(下流側ないし下位側のモジュール)として、それぞれ使用している。   A common module is used for the communication module 2 and the communication module 3, and functions are set by an internal switch as a switching unit and a recognition unit. That is, by setting the internal switch 21 of the communication module 2 on the master side and the internal switch 31 of the communication module 3 on the slave side, the communication module 2 is set as a master module (upstream or upper module) for communication. Module 3 is used as a slave module (downstream or lower module).

図1に示すように、通信モジュール2は、内部スイッチ21の設定状態に基づいて認識される通信モジュール2の機能(マスターモジュール/スレーブモジュール)を、中継バス1を介して通信モジュール3に送信する送信手段22と、通信モジュール3から送信された機能(マスターモジュール/スレーブモジュール)と自ら認識される通信モジュール2の機能とを照合する照合手段23と、照合手段23における照合結果に応じて通信モジュール2からのデータの出力を停止する停止手段24と、を構成する。   As shown in FIG. 1, the communication module 2 transmits the function (master module / slave module) of the communication module 2 recognized based on the setting state of the internal switch 21 to the communication module 3 via the relay bus 1. Transmission means 22, collation means 23 for collating the function (master module / slave module) transmitted from communication module 3 with the function of communication module 2 recognized by itself, and communication module according to the collation result in collation means 23 And stop means 24 for stopping the output of data from 2.

また、通信モジュール3は、内部スイッチ31の設定状態に基づいて認識される通信モジュール3の機能(マスターモジュール/スレーブモジュール)を、中継バス1を介して通信モジュール2に送信する送信手段32と、通信モジュール2から送信された機能(マスターモジュール/スレーブモジュール)と自ら認識される通信モジュール3の機能(マスターモジュール/スレーブモジュール)とを照合する照合手段33と、照合手段33における照合結果に応じて通信モジュール3からのデータの出力を停止する停止手段34と、を構成する。   Further, the communication module 3 includes a transmission unit 32 that transmits the function (master module / slave module) of the communication module 3 recognized based on the setting state of the internal switch 31 to the communication module 2 via the relay bus 1; A collation means 33 for collating the function (master module / slave module) transmitted from the communication module 2 with the function (master module / slave module) of the communication module 3 recognized by itself, and according to the collation result in the collation means 33 And stop means 34 for stopping the output of data from the communication module 3.

バス4、バス5および中継バス1はいずれも5ビットであるが、通信周波数は同一ではなく、バス4およびバス5では32MHzであるのに対し、中継バス1では64MHzである。   The bus 4, the bus 5 and the relay bus 1 are all 5 bits, but the communication frequency is not the same, and the bus 4 and the bus 5 are 32 MHz, whereas the relay bus 1 is 64 MHz.

バス4から通信モジュール2に転送されたデータは、通信モジュール2の動作クロックに同期して中継バス1に出力される。さらに通信モジュール3で受信されたデータは、通信モジュール3の動作クロックに同期してバス5に出力される。   The data transferred from the bus 4 to the communication module 2 is output to the relay bus 1 in synchronization with the operation clock of the communication module 2. Further, the data received by the communication module 3 is output to the bus 5 in synchronization with the operation clock of the communication module 3.

また、バス5から通信モジュール3に転送されたデータは、通信モジュール3の動作クロックに同期して中継バス1に出力される。さらに通信モジュール2で受信されたデータは、通信モジュール2の動作クロックに同期してバス4に出力される。   The data transferred from the bus 5 to the communication module 3 is output to the relay bus 1 in synchronization with the operation clock of the communication module 3. Further, the data received by the communication module 2 is output to the bus 4 in synchronization with the operation clock of the communication module 2.

図2は、中継バス1を介するデータの通信タイミングを示すタイミング図である。   FIG. 2 is a timing chart showing data communication timing via the relay bus 1.

図2(a)の例では、バス4からバス5へのデータ転送を示しており、バス4を転送された「データA」および「データB」が、一定の遅延時間をもって通信モジュール2から中継バス1に出力される。   In the example of FIG. 2A, data transfer from the bus 4 to the bus 5 is shown. “Data A” and “Data B” transferred through the bus 4 are relayed from the communication module 2 with a certain delay time. Output to bus 1.

また、通信モジュール2の送信手段22は、内部スイッチ21により設定された通信モジュール2の機能(マスターモジュール/スレーブモジュール)を識別する識別データ11を中継バス1に出力する。例えば、内部スイッチ21が図1に示す状態の場合には、マスターモジュールとしての機能を示す識別データ11が出力される。中継バス1の通信周波数は64MHzであるため、図2(a)に示すように、バス4を32MHzで転送されてきた「データA」および「データB」は、1/2の時間長に圧縮され、転送データ中に識別データ11を挿入することが可能となる。   The transmission means 22 of the communication module 2 outputs identification data 11 for identifying the function (master module / slave module) of the communication module 2 set by the internal switch 21 to the relay bus 1. For example, when the internal switch 21 is in the state shown in FIG. 1, the identification data 11 indicating the function as the master module is output. Since the communication frequency of the relay bus 1 is 64 MHz, as shown in FIG. 2A, “data A” and “data B” transferred through the bus 4 at 32 MHz are compressed to ½ time length. Thus, the identification data 11 can be inserted into the transfer data.

中継バス1を転送された識別データ11は、通信モジュール3により受信される。   The identification data 11 transferred through the relay bus 1 is received by the communication module 3.

通信モジュール3の照合手段33は、内部スイッチ31により設定された通信モジュール3の機能(マスターモジュール/スレーブモジュール)と、通信モジュール2から送信されてきた識別データ11が示す機能とを照合する。   The collation means 33 of the communication module 3 collates the function (master module / slave module) of the communication module 3 set by the internal switch 31 with the function indicated by the identification data 11 transmitted from the communication module 2.

例えば、図1に示す場合には、識別データ11に基づいて通信モジュール2はマスターモジュールとして機能していると判断される。また、内部スイッチ31の状態に基づいて、通信モジュール3はスレーブモジュールとして機能していると認識される。このため、照合手段33における照合結果は「正常」となる。一方、内部スイッチ21または内部スイッチ31の設定が誤っていた場合には、通信モジュール2および通信モジュール3の機能がいずれもマスターモジュールまたはスレーブモジュールと判定されるため、照合手段33における照合結果は「異常」となる。この場合、停止手段34により通信モジュール3からバス5へのデータの出力が停止され、システムへの悪影響が抑制される。   For example, in the case illustrated in FIG. 1, it is determined that the communication module 2 functions as a master module based on the identification data 11. Further, based on the state of the internal switch 31, the communication module 3 is recognized as functioning as a slave module. For this reason, the collation result in the collation means 33 is “normal”. On the other hand, if the setting of the internal switch 21 or the internal switch 31 is incorrect, the functions of the communication module 2 and the communication module 3 are both determined to be the master module or the slave module. It becomes "abnormal". In this case, the output of data from the communication module 3 to the bus 5 is stopped by the stop unit 34, and adverse effects on the system are suppressed.

一方、図2(b)の例では、バス5からバス1へのデータ転送を示しており、バス5を転送された「データC」および「データD」が、一定の遅延時間をもって通信モジュール3から中継バス1に出力される。   On the other hand, in the example of FIG. 2B, data transfer from the bus 5 to the bus 1 is shown, and “data C” and “data D” transferred through the bus 5 have a certain delay time. To the relay bus 1.

また、通信モジュール3の送信手段32は、内部スイッチ31により設定された通信モジュール3の機能(マスターモジュール/スレーブモジュール)を識別する識別データ12を中継バス1に出力する。例えば、内部スイッチ31が図1に示す状態の場合には、スレーブモジュールとしての機能を示す識別データ12が出力される。中継バス1の通信周波数は64MHzであるため、図2(b)に示すように、バス5を32MHzで転送されてきた「データC」および「データD」は、1/2の時間長に圧縮され、転送データ中に識別データ12を挿入することが可能となる。   The transmission means 32 of the communication module 3 outputs identification data 12 for identifying the function (master module / slave module) of the communication module 3 set by the internal switch 31 to the relay bus 1. For example, when the internal switch 31 is in the state shown in FIG. 1, the identification data 12 indicating the function as a slave module is output. Since the communication frequency of the relay bus 1 is 64 MHz, as shown in FIG. 2B, the “data C” and “data D” transferred through the bus 5 at 32 MHz are compressed to ½ time length. Thus, the identification data 12 can be inserted into the transfer data.

中継バス1を転送された識別データ12は、通信モジュール2により受信される。   The identification data 12 transferred through the relay bus 1 is received by the communication module 2.

通信モジュール2の照合手段23は、内部スイッチ21により設定された通信モジュール2の機能(マスターモジュール/スレーブモジュール)と、通信モジュール3から送信されてきた識別データ12が示す機能とを照合する。   The collation unit 23 of the communication module 2 collates the function (master module / slave module) of the communication module 2 set by the internal switch 21 with the function indicated by the identification data 12 transmitted from the communication module 3.

例えば、図1に示す場合には、識別データ12に基づいて通信モジュール3はスレーブモジュールとして機能していると判断される。また、内部スイッチ21の状態に基づいて、通信モジュール2はマスターモジュールとして機能していると認識される。このため、照合手段23における照合結果は「正常」となる。一方、内部スイッチ21または内部スイッチ31の設定が誤っていた場合には、通信モジュール2および通信モジュール3の機能がいずれもマスターモジュールまたはスレーブモジュールと判定されるため、照合手段23における照合結果は「異常」となる。この場合、停止手段24により通信モジュール2からバス4へのデータの出力が停止され、システムへの悪影響が抑制される。   For example, in the case shown in FIG. 1, it is determined that the communication module 3 functions as a slave module based on the identification data 12. Further, based on the state of the internal switch 21, it is recognized that the communication module 2 functions as a master module. For this reason, the collation result in the collation means 23 is “normal”. On the other hand, if the setting of the internal switch 21 or the internal switch 31 is incorrect, the functions of the communication module 2 and the communication module 3 are both determined to be the master module or the slave module, and the verification result in the verification unit 23 is “ It becomes "abnormal". In this case, the output of data from the communication module 2 to the bus 4 is stopped by the stop unit 24, and adverse effects on the system are suppressed.

なお、識別データとして、通常の転送データ(例えば、「データA」、「データB」、「データC」あるいは「データD」)として出現しないパターンを選択すればよい。   As the identification data, a pattern that does not appear as normal transfer data (for example, “data A”, “data B”, “data C”, or “data D”) may be selected.

また、データの転送順序は、図2(a)および図2(b)の例に限定されない。例えば、「データA」と識別データ11の転送順序を入れ替え、識別データを先に転送するようにしてもよい。   Further, the data transfer order is not limited to the example of FIGS. 2 (a) and 2 (b). For example, the transfer order of “data A” and identification data 11 may be switched, and the identification data may be transferred first.

以上のように、本実施形態の通信システムによれば、CRCのチェックを行う場合のように複雑なシステム設計や大規模な変更を要することなく、各通信モジュールの設定状況を確認することができ、システムの信頼性を向上させることができる。また、データ転送の遅延を招くこともない。さらに、機能の照合は実質的にリアルタイムに実行されるため、設定状況に誤りがある場合には速やかにデータ転送が停止され、システムへ与える悪影響を最小限に抑えることができる。   As described above, according to the communication system of the present embodiment, the setting status of each communication module can be confirmed without requiring a complicated system design or a large-scale change as in the case of CRC check. , The reliability of the system can be improved. Further, there is no delay in data transfer. Furthermore, since the function verification is performed substantially in real time, if there is an error in the setting status, the data transfer is immediately stopped, and adverse effects on the system can be minimized.

上記実施形態では、中継バス1の通信周波数をバス4およびバス5の通信周波数の2倍としているが、中継バス1の通信周波数は任意に定めることができる。例えば、バス4およびバス5の通信周波数の整数倍(3倍以上)としてもよい。また、中継バス1のビット数をバス4およびバス5のビット数よりも大きくしてもよい。この場合、中継バス1の通信周波数はバス4およびバス5と同一でもよいし、異なっていてもよい。   In the above embodiment, the communication frequency of the relay bus 1 is twice the communication frequency of the bus 4 and the bus 5, but the communication frequency of the relay bus 1 can be arbitrarily determined. For example, it may be an integral multiple (three times or more) of the communication frequency of the bus 4 and the bus 5. Further, the number of bits of the relay bus 1 may be larger than the number of bits of the bus 4 and the bus 5. In this case, the communication frequency of the relay bus 1 may be the same as or different from the bus 4 and the bus 5.

さらに、中継バスの通信周波数およびビット数は、中継バスの単位時間当たりのデータ転送量が拡大できる範囲において任意に設定することができる。識別データを中継バスの転送データ中に挿入できるように構成すればよい。   Furthermore, the communication frequency and the number of bits of the relay bus can be arbitrarily set within a range in which the data transfer amount per unit time of the relay bus can be expanded. What is necessary is just to comprise so that identification data can be inserted in the transfer data of a relay bus | bath.

また、上記実施形態では、同一のモジュールの設定を切り替えることで、マスターモジュール/スレーブモジュールを切り替えるようにしているが、それぞれのモジュールを専用機として用意してもよい。この場合には、誤ったモジュールを接続した場合に、照合手段における照合結果が「異常」となるように構成すればよい。なお、上記実施形態に示したように、マスターモジュールおよびスレーブモジュールを共通のモジュールとすることで、開発費用を削減することが可能となる。   In the above embodiment, the master module / slave module is switched by switching the setting of the same module. However, each module may be prepared as a dedicated machine. In this case, when an incorrect module is connected, the collation result in the collation means may be “abnormal”. In addition, as shown in the said embodiment, it becomes possible to reduce development cost by making a master module and a slave module into a common module.

また、上記実施形態では、2つの通信モジュール間で機能の照合を行っているが、3つ以上の通信モジュール間で機能の照合を行ってもよい。この場合、識別データの転送に必要な転送量を確保するために、通信周波数やビット数を適宜、選択することができる。   Further, in the above embodiment, function verification is performed between two communication modules. However, function verification may be performed between three or more communication modules. In this case, the communication frequency and the number of bits can be appropriately selected in order to secure the transfer amount necessary for transferring the identification data.

また、識別データによって示すべきデータが複数種類ある場合に、識別データを挿入するタイミングによって、その種別を示すようにしてもよい。中継バスを転送される転送データ中のどこに識別データを挿入するかにより、共通の識別データ(パターン)を用いつつ互いに異なる複数の種別を示すことができる。   Further, when there are a plurality of types of data to be indicated by the identification data, the type may be indicated by the timing at which the identification data is inserted. Depending on where the identification data is inserted in the transfer data transferred through the relay bus, it is possible to indicate a plurality of different types while using common identification data (pattern).

以上説明したように、本発明の通信システムによれば、送信手段で送信された機能と、第2の認識手段で認識された機能とを照合するので、システムを複雑にすることなく、通信モジュールの設定状態や接続状態を迅速にチェックできる。また、照合結果が異常の場合、データの転送を停止することにより、システムへの悪影響を最小限に抑制できる。   As described above, according to the communication system of the present invention, the function transmitted by the transmission unit and the function recognized by the second recognition unit are collated, so that the communication module can be used without complicating the system. You can quickly check the setting status and connection status. In addition, when the collation result is abnormal, the adverse effect on the system can be minimized by stopping the data transfer.

本発明の適用範囲は上記実施形態に限定されることはない。本発明は、複数の通信モジュールを中継バスで接続して構成された通信システムに対し、広く適用することができる。   The scope of application of the present invention is not limited to the above embodiment. The present invention can be widely applied to a communication system configured by connecting a plurality of communication modules through a relay bus.

一実施形態の通信システムの構成を示すブロック図。The block diagram which shows the structure of the communication system of one Embodiment. 中継バスを介するデータの通信タイミングを示すタイミング図。The timing diagram which shows the communication timing of the data via a relay bus. 従来の通信システムの構成を示すブロック図。The block diagram which shows the structure of the conventional communication system. 従来の通信システムにおけるデータの通信タイミングを示すタイミング図。The timing diagram which shows the communication timing of the data in the conventional communication system.

符号の説明Explanation of symbols

1 中継バス
2 通信モジュール
3 通信モジュール
21 内部スイッチ(第1の認識手段、第2の認識手段、切替手段)
22 送信手段
23 照合手段
24 停止手段
31 内部スイッチ(第1の認識手段、第2の認識手段、切替手段)
32 送信手段
33 照合手段
34 停止手段
DESCRIPTION OF SYMBOLS 1 Relay bus 2 Communication module 3 Communication module 21 Internal switch (1st recognition means, 2nd recognition means, switching means)
22 transmitting means 23 collating means 24 stopping means 31 internal switch (first recognizing means, second recognizing means, switching means)
32 Transmitting means 33 Verification means 34 Stopping means

Claims (7)

第1の通信モジュールおよび第2の通信モジュールを中継バスで接続して構成された通信システムにおいて、
前記第1の通信モジュールは、
当該第1の通信モジュールの機能を認識する第1の認識手段と、
前記第1の認識手段で認識された機能を、前記中継バスを介して前記第2の通信モジュールに送信する送信手段と、
を具備し、
前記第2の通信モジュールは、
当該第2の通信モジュールの機能を認識する第2の認識手段と、
前記送信手段で送信された前記機能と、前記第2の認識手段で認識された前記機能とを照合する照合手段と、
を具備することを特徴とする通信システム。
In a communication system configured by connecting a first communication module and a second communication module via a relay bus,
The first communication module includes:
First recognition means for recognizing the function of the first communication module;
Transmitting means for transmitting the function recognized by the first recognition means to the second communication module via the relay bus;
Comprising
The second communication module includes:
Second recognition means for recognizing the function of the second communication module;
Collating means for collating the function transmitted by the transmitting means with the function recognized by the second recognizing means;
A communication system comprising:
前記第1の通信モジュールおよび前記第2の通信モジュールは、共通の通信モジュールとして構成され、
前記共通の通信モジュールは、
前記第1の認識手段および前記第2の認識手段として機能するとともに、当該共通の通信モジュールの機能を前記第1の通信モジュールとしての機能と、前記第2の通信モジュールとしての機能との間で切り替える切替手段を具備することを特徴とする通信システム。
The first communication module and the second communication module are configured as a common communication module,
The common communication module is:
It functions as the first recognition unit and the second recognition unit, and the function of the common communication module is between the function as the first communication module and the function as the second communication module. A communication system comprising switching means for switching.
前記第1の通信モジュールには外部モジュールとの間の通信のための第1のバスが、前記第2の通信モジュールには外部モジュールとの間の通信のための第2のバスが、それぞれ接続され、
前記中継バスの通信周波数が前記第1のバスの通信周波数および前記第2のバスの通信周波数よりも高くされていることを特徴とする請求項1または2に記載の通信システム。
A first bus for communication with an external module is connected to the first communication module, and a second bus for communication with an external module is connected to the second communication module, respectively. And
The communication system according to claim 1 or 2, wherein a communication frequency of the relay bus is set higher than a communication frequency of the first bus and a communication frequency of the second bus.
前記中継バスの通信周波数は、前記第1のバスおよび前記第2のバスの通信周波数の整数倍であることを特徴とする請求項3に記載の通信システム。 4. The communication system according to claim 3, wherein a communication frequency of the relay bus is an integral multiple of a communication frequency of the first bus and the second bus. 前記中継バスのビット数を前記第1のバスおよび前記第2のバスのビット数よりも大きくしたことを特徴とする請求項1〜4のいずれか1項に記載の通信システム。 The communication system according to any one of claims 1 to 4, wherein the number of bits of the relay bus is larger than the number of bits of the first bus and the second bus. 前記照合手段における照合結果に応じて前記第2の通信モジュールからのデータの出力を停止する停止手段を備えることを特徴とする請求項1〜5のいずれか1項に記載の通信システム。 The communication system according to claim 1, further comprising a stop unit that stops outputting data from the second communication module in accordance with a collation result in the collation unit. 前記第1の通信モジュールの機能および前記第2の通信モジュールの機能は、それぞれマスターモジュールあるいはスレーブモジュールとしての機能であることを特徴とする請求項1〜6のいずれか1項に記載の通信システム。 The communication system according to any one of claims 1 to 6, wherein the function of the first communication module and the function of the second communication module are functions as a master module or a slave module, respectively. .
JP2006289376A 2006-10-25 2006-10-25 Communications system Pending JP2008109325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006289376A JP2008109325A (en) 2006-10-25 2006-10-25 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006289376A JP2008109325A (en) 2006-10-25 2006-10-25 Communications system

Publications (1)

Publication Number Publication Date
JP2008109325A true JP2008109325A (en) 2008-05-08

Family

ID=39442334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006289376A Pending JP2008109325A (en) 2006-10-25 2006-10-25 Communications system

Country Status (1)

Country Link
JP (1) JP2008109325A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014207847A (en) * 2013-03-19 2014-10-30 株式会社東芝 Power conversion device, communication device, cooperative control method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04286239A (en) * 1991-03-14 1992-10-12 Hitachi Ltd Communication equipment
JPH09149061A (en) * 1995-11-22 1997-06-06 Hitachi Ltd Communication control device, communication network, and competition control method thereof
JPH10290250A (en) * 1997-04-15 1998-10-27 Yazaki Corp Abnormality monitoring device in network
JP2005027280A (en) * 2003-06-12 2005-01-27 Matsushita Electric Ind Co Ltd Bluetooth master selection method, Bluetooth master selection program, and Bluetooth device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04286239A (en) * 1991-03-14 1992-10-12 Hitachi Ltd Communication equipment
JPH09149061A (en) * 1995-11-22 1997-06-06 Hitachi Ltd Communication control device, communication network, and competition control method thereof
JPH10290250A (en) * 1997-04-15 1998-10-27 Yazaki Corp Abnormality monitoring device in network
JP2005027280A (en) * 2003-06-12 2005-01-27 Matsushita Electric Ind Co Ltd Bluetooth master selection method, Bluetooth master selection program, and Bluetooth device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014207847A (en) * 2013-03-19 2014-10-30 株式会社東芝 Power conversion device, communication device, cooperative control method, and program

Similar Documents

Publication Publication Date Title
CN201740999U (en) Input and/or output security module for automation equipment
US11016463B2 (en) Control and data-transfer system, gateway module, I/O module, and method for process control
US10326865B2 (en) Filter or bridge for communications between CAN and CAN-FD protocol modules
CN101692178B (en) Apparatus for interconnecting modules
US7783814B2 (en) Safety module and automation system
US7269465B2 (en) Control system for controlling safety-critical processes
JP2011054195A (en) Method and apparatus for bus coupling of safety-relevant process
JP5772911B2 (en) Fault tolerant system
CN100480913C (en) Safety-oriented control system
JP3897047B2 (en) Information processing apparatus and information processing method
JP3965699B2 (en) Information processing apparatus and information processing method
JPWO2020090034A1 (en) Processing equipment
JP2008109325A (en) Communications system
JP2009086938A (en) High safety control device
US9241043B2 (en) Method of connecting a hardware module to a fieldbus
CN111587551B (en) System for generating data stream based on redundant information
JP6471234B2 (en) Control system
JP5604799B2 (en) Fault tolerant computer
JP2008109324A (en) Communications system
JP6017344B2 (en) Control device, control system, and data generation method
Silva et al. Master replication and bus error detection in FTT-CAN with multiple buses
JPH11219322A (en) Duplex instrumentation system and its data collation method
CN121220009A (en) Bridged fieldbus module and method for operating bridged fieldbus module
Sinha et al. LIN validation frame-work: a novel approach
JP2008092523A (en) Data transfer apparatus and data processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091014

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120404