JP5235562B2 - Communication system, control device, and control target device - Google Patents
Communication system, control device, and control target device Download PDFInfo
- Publication number
- JP5235562B2 JP5235562B2 JP2008216115A JP2008216115A JP5235562B2 JP 5235562 B2 JP5235562 B2 JP 5235562B2 JP 2008216115 A JP2008216115 A JP 2008216115A JP 2008216115 A JP2008216115 A JP 2008216115A JP 5235562 B2 JP5235562 B2 JP 5235562B2
- Authority
- JP
- Japan
- Prior art keywords
- control
- control device
- active
- communication
- standby
- 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.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 title claims description 193
- 230000004044 response Effects 0.000 claims description 39
- 230000005540 biological transmission Effects 0.000 claims description 26
- 238000012544 monitoring process Methods 0.000 claims description 8
- 230000005856 abnormality Effects 0.000 description 20
- 238000001514 detection method Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 17
- 238000000034 method Methods 0.000 description 17
- 238000012545 processing Methods 0.000 description 16
- 230000009977 dual effect Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Hardware Redundancy (AREA)
- Near-Field Transmission Systems (AREA)
Description
本発明は、制御装置と制御対象装置が含まれる通信システムに関する。より具体的には、無線通信システムにおけるホットスタンバイ方式のコントローラ二重系システム、及び、多重系システムに関するものである。 The present invention relates to a communication system including a control device and a control target device. More specifically, the present invention relates to a hot standby controller dual system and a multiplex system in a wireless communication system.
無線通信システムにおける、コントローラ二重化システムは、現用系コントローラと待機系コントローラと、制御対象となる複数の制御対象局により構成されており、常態では現用系コントローラが制御対象局を無線ネットワークを介して制御を行い、待機系コントローラは、現用系コントローラの故障を検出した場合に、現用系に替わって制御を実施する。 The redundant controller system in a wireless communication system is composed of an active controller, a standby controller, and a plurality of control target stations to be controlled. Under normal conditions, the active controller controls the control target station via a wireless network. When the standby controller detects a failure of the active controller, it performs control instead of the active controller.
特許文献1では、現用系コントローラの故障を検出するために、現用系コントローラと待機系コントローラ間を、通信エラーレートの低い有線ネットワークで接続し、現用系コントローラから待機系コントローラへのハートビート通信により故障検出する方法が開示されている。
一方、特許文献2では、現用系と待機系を有線ネットワークで接続した場合に、ケーブル断線時にはホットスタンバイ機能が実現できない可能性について指摘しており、ケーブル断線時には、無線通信機能を利用する方法を開示する一方で、現用系の故障検出を無線ネットワークを用いて行うことに関して、電波障害による通信の不安定さを懸念事項として挙げており、無線ネットワークを利用する場面を、ケーブル断線時に限定している。
また、特許文献3では、現用系と待機系を、無線ネットワークで接続した例が示されている。しかしながら、電波障害により通信が不安定になった場合に、システムを正常に機能させるための方法は開示されていない。
On the other hand,
特許文献1及び特許文献2に示すように、従来、ホットスタンバイ方式を実現するためには、現用系コントローラと待機系コントローラは有線接続されていることが前提となっていた。その理由は、特許文献2に示されるように、現用系コントローラの故障を無線で検出する場合、電波障害等による通信の不安定さによる誤動作が懸念されるためである。
例えば、ノイズや障害物などの外部要因により、一時的に待機系コントローラで、現用系コントローラとの通信が不能に陥ったケースでは、待機系コントローラは、現用系コントローラに異常が発生したと誤検出してしまうことが考えられる。このようなケースでは、現用系と待機系双方のコントローラが起動してしまい、無線ネットワーク上で互いに電波干渉を起こしてしまうため、システムダウンに繋がる可能性がある。
別の例では、待機系コントローラのアンテナの周辺回路の故障により、アンテナによる損失が大きくなってしまうケースが考えられる。このケースでは、待機系コントローラでは、アンテナによる損失が大きいために、受信が不能となり、現用系にエラーが発生したと誤検出する可能性がある。しかも、送信においては、ある程度の送信出力が行えるため、待機系が誤って現用系に切り替わった場合には、電波干渉によるシステムダウンを引き起こす可能性がある。
As shown in
For example, if the standby controller temporarily becomes unable to communicate with the active controller due to external factors such as noise or obstacles, the standby controller erroneously detects that an error has occurred in the active controller. It is possible that In such a case, both the active and standby controllers are activated and cause radio wave interference with each other on the wireless network, which may lead to a system down.
In another example, there may be a case where the loss due to the antenna increases due to a failure of the peripheral circuit of the antenna of the standby controller. In this case, the standby controller has a large loss due to the antenna, so that reception is impossible, and there is a possibility of erroneous detection that an error has occurred in the active system. In addition, since a certain amount of transmission output can be performed in transmission, there is a possibility that the system may be down due to radio wave interference when the standby system is erroneously switched to the active system.
本発明は、上記のような課題を解決することを主な目的の一つとしており、無線特有の通信の不安定な状態においても、ホットスタンバイ方式を実現することを主な目的の一つとする。 One of the main objects of the present invention is to solve the above-described problems, and one of the main objects is to realize a hot standby system even in an unstable state of wireless-specific communication. .
本発明に係る通信システムは、
複数の制御装置と複数の制御対象装置とを有し、いずれかの制御装置が前記複数の制御対象装置を制御する現用系の制御装置となり、他の制御装置が現用系の制御装置をバックアップする待機系の制御装置となる通信システムであって、
少なくともいずれかの制御装置が、
前記複数の制御装置の中から現用系とすべき制御装置を選択するよう要求する選択要求を少なくともいずれかの制御対象装置に対して送信し、
前記複数の制御対象装置は、
前記選択要求を受信した場合に、現用系とすべき制御装置を選択し、選択結果を少なくともいずれかの制御装置に対して送信し、
前記複数の制御装置は、
前記選択結果に基づいて、いずれかの制御装置を現用系とすることを特徴とする。
A communication system according to the present invention includes:
It has a plurality of control devices and a plurality of control target devices, and one of the control devices becomes the active control device that controls the plurality of control target devices, and the other control device backs up the active control device. A communication system serving as a standby control device,
At least one of the control devices
A selection request for requesting to select a control device to be used from among the plurality of control devices is transmitted to at least one of the control target devices;
The plurality of control target devices are:
When receiving the selection request, select a control device to be the active system, and send the selection result to at least one of the control devices,
The plurality of control devices include:
On the basis of the selection result, any one of the control devices is set as an active system.
待機系の制御装置が現用系の制御装置の異常を誤検出した場合でも、制御対象装置により選択された1つの制御装置のみが現用系として動作するので、制御用のデータは1つの制御装置から送信されるのみであり、このため電波干渉によるシステムダウンも生じない。従って、無線ネットワークシステムにおいて、現用系と待機系の制御装置を有線接続しなくても、ホットスタンバイを実現することが可能となる。 Even if the standby control device erroneously detects an abnormality in the active control device, only one control device selected by the control target device operates as the active system, so control data is obtained from one control device. Therefore, system down due to radio wave interference does not occur. Therefore, in the wireless network system, hot standby can be realized without connecting the active and standby control devices by wire.
実施の形態1.
図1は、本実施の形態に係る無線通信システムの構成例を示す。
FIG. 1 shows a configuration example of a radio communication system according to the present embodiment.
図1に示すように、本実施の形態に係る無線通信システムは、複数のマスタ装置100(制御装置)と複数のスレーブ装置200(制御対象装置)が無線ネットワーク300で接続されている。
また、いずれかのマスタ装置100が現用系となり、複数のスレーブ装置200を制御し、他方のマスタ装置100が待機系となり、現用系のマスタ装置100をバックアップする。
本実施の形態では、マスタ装置#1(100a)(以下、単にマスタ#1ともいう)が、現用系コントローラであり、無線通信手段により、複数の制御対象となるスレーブ装置#1〜#n(200a〜200n)(以下、単にスレーブ#1〜#nともいう)の制御を行う。
この制御は周期的に行われ、マスタ#1(100a)が発行するコマンドフレームに対して、スレーブ#1〜#nが応答フレームを返すことで行われる。
マスタ装置#2(100b)(以下、単にマスタ#2ともいう)は、待機系コントローラであり、現用系コントローラが故障などの理由により制御を継続できなくなった場合に、マスタ#1に替わってスレーブの制御を行う。
なお、マスタ#1は、スレーブ#1〜#nにコマンドフレームを送信するとともに、マスタ#2にもコマンドフレームを送信する。更に、スレーブ#1〜#nは、マスタ#1に応答フレームを送信するとともに、マスタ#2にも応答フレームを送信する。
マスタ#2は、これらコマンドフレーム、応答フレームの送受信状況を監視することで、マスタ#1における故障を検知する。
As shown in FIG. 1, in the wireless communication system according to the present embodiment, a plurality of master devices 100 (control devices) and a plurality of slave devices 200 (control target devices) are connected by a
Also, one of the
In the present embodiment, master device # 1 (100a) (hereinafter also simply referred to as master # 1) is an active controller, and a plurality of
This control is performed periodically, and is performed by the
Master device # 2 (100b) (hereinafter also simply referred to as master # 2) is a standby system controller, and if the active system controller cannot continue control due to a failure or the like, it is replaced with
図2は、通信シーケンスを時系列に示したものである。 FIG. 2 shows a communication sequence in time series.
本実施の形態に係る通信システムは、制御フェーズと、アービトレーションフェーズにより構成される。
制御フェーズでは、前記したように、マスタがスレーブに対してコマンドを発行し、スレーブよりコマンドの実行結果を得るフェーズであり、アービトレーションフェーズは、次の制御フェーズにおける現用系コントローラを決定するフェーズである。
つまり、アービトレーションフェーズは、現用系コントローラ(現用系の制御装置)を更新するタイミングである。
The communication system according to the present embodiment includes a control phase and an arbitration phase.
In the control phase, as described above, the master issues a command to the slave and obtains the command execution result from the slave, and the arbitration phase is a phase for determining the active controller in the next control phase. .
That is, the arbitration phase is a timing at which the active controller (active control device) is updated.
本実施の形態では、MAC(Media Access Control)層にTDMA(Time Division Multiple Access)を採用しており、制御フェーズとアービトレーションフェーズを1つのスーパーフレームに収容するものとして説明する。
ただし、アービトレーションフェーズを実施するタイミングが現用系コントローラと待機系コントローラで既知であり、互いのアービトレーションへの参加を阻害しない場合は、必ずしもTDMAを採用する必要はなく、例えば、CSMA/CA(Carrier Sense Multiple Access/Collision Avoidance)を用いても良い。
また、制御フェーズとアービトレーションフェーズを1つのスーパーフレームに収容する必要はなく、個別のスーパーフレームとして構成しても良い。
In the present embodiment, TDMA (Time Division Multiple Access) is adopted for a MAC (Media Access Control) layer, and the control phase and the arbitration phase are described as being accommodated in one superframe.
However, when the timing of executing the arbitration phase is known in the active system controller and the standby system controller and does not inhibit each other's participation in arbitration, it is not always necessary to adopt TDMA. For example, CSMA / CA (Carrier Sense (Multiple Access / Collection Avidance) may be used.
Further, it is not necessary to accommodate the control phase and the arbitration phase in one superframe, and they may be configured as individual superframes.
ここで、本実施の形態に係るマスタ#1、マスタ#2とスレーブ#1〜#nの動作の概要を説明する。
Here, an outline of operations of the
図2に示したアービトレーションフェーズが到来すると、マスタ#1、マスタ#2の少なくともいずれかがスレーブ#1〜#nに対して、REQフレームを送信する。このREQフレームは、次の制御フェーズにおいて現用系とすべきマスタ装置を選択するよう要求するものであり、選択要求の例である。
REQフレームは、故障していない限り現用系であるマスタ#1のみが送信する。但し、待機系であるマスタ#2がマスタ#1が故障していると判断した場合には、マスタ#2もREQフレームを送信する。
このため、原則としてマスタ#1のみがREQフレームを送信するが、マスタ#1が故障している場合には、マスタ#2のみがREQフレームを送信する。また、マスタ#2がマスタ#1の故障を検知したが、実際にはマスタ#1は故障していない場合は、マスタ#1及びマスタ#2の両者からREQフレームが送信される。
When the arbitration phase shown in FIG. 2 arrives, at least one of
The REQ frame is transmitted only by the
Therefore, in principle, only
REQフレームを受信した各スレーブは、次の現用系とすべきマスタを選択し、選択したマスタを示すSELフレームをマスタ#1及びマスタ#2の両者に送信する。SELフレームは選択結果の例である。
マスタ#1及びマスタ#2は、スレーブ#1〜#nからのSELフレームの内容に基づいて現用系のマスタを設定(更新)する。
スレーブにおけるマスタの選択基準、SELフレームの内容に基づく現用系コントローラの決定手順の詳細については後述する。
Each slave that has received the REQ frame selects a master to be the next active system, and transmits a SEL frame indicating the selected master to both
Details of the determination procedure of the active controller based on the master selection criteria and the contents of the SEL frame in the slave will be described later.
図3は、本実施の形態におけるマスタ装置100(制御装置)の機能ブロックを示したものである。 FIG. 3 shows functional blocks of the master device 100 (control device) in the present embodiment.
スレーブ制御実行判定部101は、初期状態において現用系、もしくは、待機系が指定される。
現用系に指定された場合は、スレーブ制御実行判定部101は、動作モードを現用系の動作モードに設定し、当該マスタは現用系コントローラとして機能する。
現用系コントローラは、スレーブ制御実行部104に、スレーブ制御の実行を指示する。制御フェーズが完了したら、アービトレーション実行部103へアービトレーションへの参加を指示し、アービトレーションの実行結果を得る。アービトレーションに勝利した場合は、次の制御フェーズにおいても、当該マスタは現用系コントローラに留まり、スレーブ制御の実行を指示する。一方、アービトレーションに負けた場合は、スレーブ制御実行判定部101が動作モードを待機系の動作モードに設定して、当該マスタは待機系コントローラに切り替わり、以後、待機系コントローラとして機能する。
初期状態において、待機系に指定された場合は、動作モードを待機系の動作モードに設定し、待機系コントローラとして機能する。
待機系コントローラは、スレーブ制御実行部104に、スレーブ制御の実行を指示しない。待機系コントローラは、現用系異常検出部102より、現用系コントローラの異常検出が通知された場合に、アービトレーション実行部103に、アービトレーション参加指示を行い、アービトレーションの結果を得る。アービトレーションに勝利した場合は、次の制御フェーズにおいて、スレーブ制御実行判定部101が動作モードを現用系の動作モードに設定して、当該マスタは現用系コントローラに切り替わり、スレーブ制御実行部104にスレーブ制御の実行を指示し、以後、現用系コントローラとして機能する。アービトレーションに負けた場合は、待機系コントローラに留まる。
なお、スレーブ制御実行判定部101は、動作モード設定部の機能の一部を担う。
In the slave control
When the active system is designated, the slave control
The active controller instructs the slave
In the initial state, when the standby system is designated, the operation mode is set to the standby operation mode and functions as a standby controller.
The standby controller does not instruct the slave
The slave control
現用系異常検出部102は、待機系に設定された場合(待機系の動作モードが設定されている場合)のみ有効となるブロックである。
現用系異常検出部102は、制御フェーズにおいて、現用系のマスタとスレーブの無線通信を監視(現用系のマスタとスレーブ間で送受信されるフレームを受信)し、所定期間フレームが受信できなくなった場合に、現用系異常を検出し、スレーブ制御実行判定部101に通知を行う。
現用系異常検出部102は、状態監視部の例である。
The active system
In the control phase, the active system
The active system
アービトレーション実行部103は、スレーブ制御実行判定部101よりアービトレーション参加指示を受けた場合に、アービトレーションフェーズにおいて、REQフレームを送信することで、アービトレーションに参加し、SELフレームを受信して、その内容からアービトレーションの実行結果を判定する。判定結果は、スレーブ制御実行判定部101に通知する。アービトレーションの詳細については後述する。
アービトレーション実行部103は、選択要求送信部及び選択結果受信部として機能し、また、動作モード設定部の機能の一部を担う。
When the
The
スレーブ制御実行部104は、スレーブにコマンドを発行して、実行結果を得るブロックであり、通信フレームとして、コマンドフレームを送信し、応答フレームを受信する。
The slave
無線通信処理部105は、各種フレームを無線ネットワーク300を介して通信するためのブロックである。
The wireless
図4は、本実施の形態におけるスレーブ装置200(制御対象装置)の機能ブロックを示したものである。 FIG. 4 shows functional blocks of the slave device 200 (control target device) in the present embodiment.
アービトレーション判定部201は、アービトレーションフェーズにおいて、マスタ#1及びマスタ#2からのREQフレームを受信して、いずれかを次のサイクルの現用系コントローラとして選択し、結果をSELフレームで送信する。
アービトレーション判定部201は、選択要求受信部、選択部及び選択結果送信部の例である。
コマンド実行部202は、制御フェーズにおいて、コントローラが発行したコマンドを受け付けて実行し、実行結果を返すブロックである。
The
The
The
次にアービトレーションの実施手順、アービトレーションにおけるマスタ装置100及びスレーブ装置200の動作例を図10及び図11を参照して説明する。
図10は、マスタ装置100の動作例を示すフローチャートであり、図11は、スレーブ装置200の動作例を示すフローチャートである。
Next, an arbitration execution procedure and an operation example of the
FIG. 10 is a flowchart illustrating an operation example of the
アービトレーションは、図2に示すアービトレーションフェーズに行われる。
マスタ装置100は、アービトレーションフェーズの到来を確認し(S1001)、アービトレーションフェーズが到来してなければ制御フェーズの処理を継続する(S1002)。
アービトレーションフェーズが到来していれば、現用系であれば(現用系の動作モードに設定されていれば)、現用系コントローラのスレーブ制御実行判定部101は、故障していなければ(S1003でYES)、アービトレーション実行部103にアービトレーション参加を指示し、アービトレーション実行部103がREQフレームをスレーブに送信して(S1005)、アービトレーションに参加する。
つまり、現用系のマスタは、故障により参加できない場合を除き常にアービトレーションに参加する。故障している場合は、所定のエラー処理が行われる(S1004)。
一方、待機系であれば(待機系の動作モードに設定されていれば)、待機系コントローラのスレーブ制御実行判定部101は、現用系異常検出部102から現用系マスタの異常が通知されており、現用系マスタが故障していると判断した場合(S1011でYES)に、アービトレーション実行部103にアービトレーション参加を指示し、アービトレーション実行部103がREQフレームをスレーブに送信して(S1012)、アービトレーションに参加する。
Arbitration is performed in the arbitration phase shown in FIG.
The
If the arbitration phase has arrived, if it is the active system (if the operation mode of the active system is set), the slave control
In other words, the active master always participates in arbitration unless it cannot participate due to a failure. If there is a failure, predetermined error processing is performed (S1004).
On the other hand, if it is a standby system (if it is set to a standby system operation mode), the slave control
一方、スレーブ装置200では、アービトレーション判定部201が、REQフレームを受信したら(S1101)、REQフレームの送信元を判別し(S1102)、送信元がいずれのマスタであるかによって(S1103)、次のサイクルの現用系コントローラとして、マスタ#1、マスタ#2のどちらかを選択基準に照らして選択する。
選択基準としては、ステップS1102の送信元の判別の結果、現用系又は待機系のいずれか片方のマスタからのみ、REQフレームを受信した場合は、REQフレームの送信元のマスタを選択し(S1104)、現用系及び待機系の両方のマスタからREQフレームを受信した場合は、現用系のマスタを選択する(S1105)。また、2つの待機系のマスタからREQフレームを受信した場合は、制御フェーズにおいて最後にコマンドを受信したマスタを選択する(S1106)。なお、このケースは、特殊なケースであり、詳細は後述する。
その後、アービトレーション判定部201は、選択した結果をSELフレームを用いて送信する(S1107)。
なお、どちらのマスタからもREQフレームを受信しなかった場合は、SELフレームを送信しないこととする。
On the other hand, in the
As a selection criterion, when the REQ frame is received from only one of the active system and the standby system as a result of the determination of the transmission source in step S1102, the master of the transmission source of the REQ frame is selected (S1104). When the REQ frame is received from both the active and standby masters, the active master is selected (S1105). If a REQ frame is received from two standby masters, the master that last received the command in the control phase is selected (S1106). This case is a special case, and details will be described later.
Thereafter, the
If no REQ frame is received from either master, the SEL frame is not transmitted.
マスタ#1、マスタ#2は、アービトレーション実行部103が、個々のスレーブが送信するSELフレームを受信し(S1006、S1013)、個々のスレーブの選択結果を集計する(S1007、S1014)。
現用系の動作モードが設定されている場合は、半数のスレーブから自身を選択したことを示すSELフレームを受信した場合(S1008でYES)に、スレーブ制御実行判定部101は、現用系の動作モードの設定を維持する(S1009)。
一方、自身を選択したスレーブが半数未満である場合(S1008でNO)は、スレーブ制御実行判定部101は、制御フェーズになった際に動作モードを待機系に切替える(S1010)。
また、待機系の動作モードが設定されている場合は、過半数のスレーブから自身を選択したことを示すSELフレームを受信した場合(S1015でYES)に、スレーブ制御実行判定部101は、制御フェーズになった際に動作モードを待機系に切替える(S1017)。
一方、自身を選択したスレーブが過半数未満である場合(S1015でNO)は、スレーブ制御実行判定部101は、待機系の動作モードの設定を維持する(S1016)。
そして、現用系のマスタ及び待機系のマスタは、それぞれの制御フェーズにおける処理を行う(S1018)。
なお、通信エラー等のために、両マスタともに、ステップS1008及びS1015において前記条件(半数又は過半数)を満たさなかった場合は、両者負けとなり、次の制御フェーズを実施するマスタは存在しないことになる。
In the
When the working mode of the active system is set, when the SEL frame indicating that it has selected itself is received from half of the slaves (YES in S1008), the slave control
On the other hand, if less than half of the slaves have selected themselves (NO in S1008), the slave control
When the standby operation mode is set, the slave control
On the other hand, if the number of slaves that have selected themselves is less than the majority (NO in S1015), the slave control
Then, the active master and the standby master perform processing in the respective control phases (S1018).
If both the masters do not satisfy the above conditions (half or majority) in steps S1008 and S1015 due to a communication error or the like, both masters lose, and there is no master that performs the next control phase. .
次に、アービトレーションフェーズについて述べる。
本実施の形態では、アービトレーションフェーズは、前述したように、TDMAによるスーパーフレームの後ろの方に位置し、複数のアービトレーション用のタイムスロットにより構成される。
アービトレーションフェーズは、固定のタイムスロット番号pから開始されることとする。
なお、タイムスロット番号は、制御フェーズの先頭をタイムスロット番号0として、番号を順番に割り付けることとする。このことは、現用系が故障して通信が行われなくなった場合や、待機系が現用系との通信が不能になった場合でも、待機系のコントローラが、アービトレーションへの参加タイミングを知ることを可能にする。
Next, the arbitration phase will be described.
In the present embodiment, the arbitration phase is located at the rear of the TDMA superframe as described above, and includes a plurality of arbitration time slots.
The arbitration phase starts from a fixed time slot number p.
Time slot numbers are assigned in order, with the beginning of the control phase being
図5は、OFDMA(Orthogonal Frequency Division Multiplexing Access)を用いた場合の例である。
タイムスロット番号pにはマスタ#1がREQフレームを送信し、p+1にはマスタ#2がREQフレームを送信するものとする。
スレーブは、タイムスロット番号p+2において、それぞれのスレーブに割り付けられたサブチャネルを用いてアービトレーションの結果であるSELフレームを送信する。
このように、アービトレーションのタイムスロットを固定にすることで、前述した、アービトレーションの結果が両者負けになった場合に、次のサイクルで、マスタ#1、マスタ#2がアービトレーションに参加することを可能にする。
この場合、アービトレーションに勝利する条件は、マスタ#1、マスタ#2ともに、待機系コントローラの条件(図10のS1015)となり、過半数以上のスレーブからSELフレームを受信した場合となる。
なお、スレーブは、制御フェーズにて、最後にコマンドを受信したマスタを現用系コントローラと認識し、アービトレーションでは、当該現用系のマスタを選択するものとする(図11のS1106)。
FIG. 5 is an example in the case of using OFDMA (Orthogonal Frequency Division Multiplexing Access).
It is assumed that
In the time slot number p + 2, the slave transmits a SEL frame that is the result of arbitration using the subchannel assigned to each slave.
In this way, by fixing the arbitration time slot, it is possible for the
In this case, the condition for winning the arbitration is the condition of the standby controller (S1015 in FIG. 10) for both
In the control phase, the slave recognizes the master that has received the command last as the active controller, and selects the active master in arbitration (S1106 in FIG. 11).
また、アービトレーションフェーズも無線通信を利用して実行することから、通信エラーを考慮する必要がある。そこで、リトライを実施することで、エラーレートを下げることが考えられる。
図5では、(1)マスタ#1のREQフレームの送信、(2)マスタ#2のREQフレームの送信、(3)スレーブのSELフレームの送信を一連のシーケンスとして、リトライを実施する方法を示している。リトライの回数は固定である。
本シーケンスにおいて、スレーブは、一旦、SELフレームを送信した後に、リトライで、その内容を変更しないこととする。このようにする理由は、リトライ中に特定のスレーブがその内容を変更した場合、通信エラー等に理由により、マスタ#1、マスタ#2で異なる結果を認識する可能性があるためである。
なお、リトライに関して、ノイズの特性に応じて、以下のシーケンスにしても良い。
(1)マスタ#1がREQを複数回送信する。(2)マスタ#2がREQを複数回送信する。(3)スレーブがSELを複数回送信する。
Further, since the arbitration phase is also performed using wireless communication, it is necessary to consider a communication error. Therefore, it is conceivable to reduce the error rate by performing a retry.
FIG. 5 shows a method of performing a retry using a sequence of (1)
In this sequence, the slave does not change the contents by retry after transmitting the SEL frame once. The reason for doing this is that if a specific slave changes its contents during a retry, the
Regarding the retry, the following sequence may be used according to the characteristics of noise.
(1)
このように、本実施の形態によれば、現用系と待機系を有線接続する必要がなくなるため、低コストで設置性に優れ、ケーブル断線のリスクの無い無線ネットワークシステムにおける二重系システム、及び、多重系システムを実現することが可能となる。
つまり、現用系のマスタと待機系のマスタが有線接続されていない構成において、待機系のマスタが現用系のマスタの異常を誤検出した場合でも、アービトレーションにおいてスレーブにより選択された1つのマスタのみが現用系として動作するので、コマンドフレームは1つのマスタから送信されるのみであり、このため電波干渉によるシステムダウンも生じない。従って、無線ネットワークシステムにおいて、現用系と待機系のマスタを有線接続しなくても、システムダウンを発生させることなく、ホットスタンバイを実現することが可能となる。
As described above, according to the present embodiment, since there is no need to wire-connect the active system and the standby system, the dual system in the wireless network system that is low in cost and excellent in installability and has no risk of cable disconnection, and Thus, it becomes possible to realize a multiplex system.
In other words, in a configuration in which the active master and the standby master are not connected by wire, even if the standby master erroneously detects an abnormality in the active master, only one master selected by the slave in arbitration is available. Since it operates as an active system, the command frame is only transmitted from one master, and therefore, system down due to radio wave interference does not occur. Therefore, in the wireless network system, it is possible to realize hot standby without causing system down even if the active and standby masters are not connected by wire.
以上、本実施の形態では、
現用系コントローラが複数の制御対象局の制御を無線通信手段を用いて周期的実施し、現用系と待機系の二重化されたコントローラを有し、現用系コントローラが故障した場合でも、待機系のコントローラが、制御対象局の制御を行う二重系システムであって、
現用系、待機系の各々のコントローラが、制御対象局の制御権を複数の制御対象局に、前記無線通信手段を用いて要求し、
現用系、及び、待機系コントローラが発行する制御権の要求を受けて、制御対象局は、次のサイクルのコントローラを選択し、選択結果を、前記無線通信手段を用いてコントローラに通知し、
前記、複数の制御対象局が通知する選択結果を受信し、現用系コントローラは、半数以上の制御対象局から自局を選択したことを示す選択結果を受信した場合に制御権を取得し、待機系コントローラは、過半数以上の制御対象局から自局を選択したことを示す選択結果を受信した場合に、制御権を取得するコントローラ二重化無線通信システムを説明した。
As described above, in the present embodiment,
The active controller periodically performs control of a plurality of control target stations using wireless communication means, and has a redundant controller for the active system and the standby system. Even if the active controller fails, the standby controller Is a dual system that controls the control target station,
Each of the active and standby controllers requests the control target station's control right to a plurality of control target stations using the wireless communication means,
In response to the request for the control right issued by the active system and the standby system controller, the control target station selects the controller of the next cycle, notifies the controller of the selection result using the wireless communication means,
When the selection result notified by the plurality of control target stations is received and the active controller receives the selection result indicating that the own station has been selected from more than half of the control target stations, the control system acquires the control right and waits. The system controller has explained the controller duplex wireless communication system that acquires the control right when receiving the selection result indicating that the own station has been selected from the majority of control target stations.
また、本実施の形態では、現用系コントローラが故障したと判定した場合にだけ、制御対象局の制御権を要求する待機系コントローラを説明した。 Further, in the present embodiment, the standby controller that requests the control right of the control target station only when it is determined that the active controller has failed has been described.
また、本実施の形態では、現用系コントローラと待機系コントローラの両方が、制御対象局の制御権を要求した場合に、現用系コントローラを優先的に選択する制御対象局を説明した。 Further, in the present embodiment, the control target station that preferentially selects the active controller when both the active controller and the standby controller request the control right of the control target station has been described.
なお、以上では、マスタ装置とスレーブ装置が無線通信を行う無線通信システムを例にして説明したが、マスタ装置とスレーブ装置が有線接続されている有線通信システムであってもよい。 In the above description, the wireless communication system in which the master device and the slave device perform wireless communication has been described as an example. However, a wired communication system in which the master device and the slave device are connected by wire may be used.
また、以上では、2台のマスタ装置が存在し、そのうちの1台が現用系となり、他方の1台が待機系となる構成を説明したが、3台以上のマスタ装置が存在し、そのうちの1台が現用系となり、他の2台以上が待機系となる構成であってもよい。この場合には、例えば、2台以上の待機系のマスタ装置に優先順位を設け、スレーブ装置は、現用系のマスタ装置が故障しているときには、次のサイクルにおいて現用系となるべきマスタ装置を優先順位に従って選択するようにしてもよい。 In the above description, there are two master devices, one of which is the active system, and the other is the standby system. However, there are three or more master devices, of which The configuration may be such that one is the active system and the other two or more are standby systems. In this case, for example, priority is given to two or more standby master devices, and when the active master device fails, the slave device determines the master device to be the active device in the next cycle. You may make it select according to a priority.
実施の形態2.
実施の形態1では、OFDMAを用いてアービトレーションを行う方法を示した。
本実施の形態では、シングルキャリアでのアービトレーション方式を示す。
In the first embodiment, a method of performing arbitration using OFDMA is shown.
In this embodiment, a single carrier arbitration method is shown.
シングルキャリアを利用する場合は、アービトレーションフェーズにおいて、各スレーブがSELフレームを送信するスロットを割り付ける。この時、スレーブの数が多いと、アービトレーションに時間がかかるという問題が生じる。
そこで、本実施の形態では、アービトレーションで応答するスレーブの数を制限することで、アービトレーションフェーズを短縮することが可能とする方法を示す。
このように複数のスレーブのうちREQフレームに応答することが許可された応答許可スレーブ(マスタを選択することが許可されたスレーブ)は、選択許可制御対象装置の例である。
When a single carrier is used, a slot in which each slave transmits a SEL frame is allocated in the arbitration phase. At this time, if the number of slaves is large, there is a problem that arbitration takes time.
Therefore, in the present embodiment, a method is shown that makes it possible to shorten the arbitration phase by limiting the number of slaves that respond by arbitration.
Thus, a response-permitted slave that is permitted to respond to a REQ frame among a plurality of slaves (slave that is permitted to select a master) is an example of a selection-permitted control target device.
図6は、応答する応答許可スレーブの数をm台(mは2以上、スレーブ総数以下)に制限した場合の例を示す。
アービトレーションに勝利する条件は、現用系コントローラは半数以上(m/2)、待機系コントローラは過半数((m+1)/2)の応答許可スレーブから、自局を選択したことを示すSELフレームを受信することである。
アービトレーションに応答する応答許可スレーブ、及び、その数は、システム運用を開始する前に決定しておけば良い。
なお、アービトレーションに応答する応答許可スレーブが故障した場合は、現用系コントローラが無線通信手段を用いて、制御フェーズにおいて、待機系コントローラとスレーブに通知して、変更することとする。
なお、スレーブの数を制限することは、無線通信手段にOFDMAを用いた場合にも適用が可能である。
FIG. 6 shows an example when the number of response-permitted slaves that respond is limited to m (m is 2 or more and the total number of slaves or less).
The condition for winning the arbitration is that the active controller receives a SEL frame indicating that the own station has been selected from more than half (m / 2) and the standby controller from the majority ((m + 1) / 2) response-permitted slaves. That is.
The response-permitted slaves that respond to the arbitration and the number of slaves may be determined before starting the system operation.
When a response-permitted slave that responds to arbitration fails, the active controller notifies and changes the standby controller and slave in the control phase using the wireless communication means.
Note that limiting the number of slaves is also applicable when OFDMA is used as the wireless communication means.
本実施の形態では、REQフレームに応答するスレーブを応答許可スレーブに制限している点を除いては実施の形態1と同様である。
つまり、マスタの構成は図3に示した通りであり、スレーブの構成は図4に示した通りである。
また、ステップS1008における判断基準が応答許可スレーブの半数であり、ステップS1015における判断基準が応答許可スレーブの過半数である点を除けば、マスタの動作は図10に示した通りである、
また、応答許可スレーブの動作は、図11に示した通りである。
The present embodiment is the same as the first embodiment except that the slaves that respond to the REQ frame are limited to response-permitted slaves.
That is, the configuration of the master is as shown in FIG. 3, and the configuration of the slave is as shown in FIG.
Further, the master operation is as shown in FIG. 10 except that the judgment criterion in step S1008 is half of the response permitted slaves and the judgment criterion in step S1015 is a majority of the response permitted slaves.
The operation of the response-permitted slave is as shown in FIG.
以上、本実施の形態では、
コントローラを選択する制御対象局を、システム運用前、もしくは、システム運用中に、決定、もしくは、変更し、
現用系コントローラは、前記、選択された制御対象局の数の半数以上の制御対象局から自局を選択したことを示す選択結果を受信した場合に制御対象局の制御権を獲得し、待機系コントローラは、前記、選択された制御対象局の過半数以上の制御対象局から自局を選択したことを示す選択結果を受信した場合に、制御対象局の制御権を獲得するコントローラ二重化無線通信システムを説明した。
As described above, in the present embodiment,
Determine or change the control target station to select the controller before or during system operation.
The active controller acquires the control right of the control target station when receiving a selection result indicating that the own station has been selected from the control target stations that are more than half the number of the selected control target stations, When the controller receives a selection result indicating that the selected station is selected from a majority of the selected control target stations, the controller has a dual controller wireless communication system that acquires the control right of the control target station. explained.
実施の形態3.
本実施の形態では、マスタ#1が現用系のコントローラとして機能している場合に、マスタ#1が故障していない場合でも、通信状態が不調になった場合で、かつ、マスタ#2が、マスタ#1より通信状態が良い場合に、マスタ#2が現用系マスタに切り替わって、制御フェーズを実行する場合の例を示す。
In the present embodiment, when the
図9は、本実施の形態に係るマスタ装置100の構成例を示す。
図9では、構成要素としては、図3に示したものと同様であるが、現用系異常検出部102の機能が実施の形態1に比べて増えている。
本実施の形態では、現用系異常検出部102は、待機系の動作モードが設定されている場合に、制御フェーズにおいて、現用系のマスタの状態を監視するとともに、現用系のマスタとスレーブとの間の通信の通信品質及び自装置とスレーブとの間の通信の通信品質を判定する。そして、測定した現用系のマスタの通信品質と自装置の通信品質をスレーブ制御実行判定部101に通知する。
スレーブ制御実行判定部101は、現用系異常検出部102から通知された通信品質を比較し、自装置の通信品質の方が現用系のマスタの通信品質よりもよければ、アービトレーション実行部103にアービトレーション参加を指示する。
なお、スレーブ制御実行判定部101は、本実施の形態では、動作モード設定部の一部の機能と選択要求送信部の一部の機能を担う。
また、現用系異常検出部102は、本実施の形態では、状態監視部の例であるとともに、第1の通信品質判定部及び第2の通信品質判定部の例である。
FIG. 9 shows a configuration example of the
In FIG. 9, the components are the same as those shown in FIG. 3, but the function of the active system
In the present embodiment, when the standby system operation mode is set, the active system
The slave control
In the present embodiment, the slave control
In addition, in this embodiment, working-system
図7は、本実施の形態の通信シーケンスを示したものである。
物理層の方式は問わないが、本実施の形態ではOFDMAを利用することを前提とする。
FIG. 7 shows a communication sequence of the present embodiment.
The physical layer method is not limited, but in this embodiment, it is assumed that OFDMA is used.
制御フェーズにおいて、タイムスロット番号0に、マスタ#1がコマンドフレーム(CMD)を送信し、タイムスロット番号1にマスタ#2がダミーフレーム(DMY)を送信する。ここで、マスタ#2が送信するフレームは、無線通信品質を計測することを目的としており、フレームの内容は問わない。
マスタ#2では、現用系異常検出部102が、無線通信品質を計測するためのダミーフレームを送信する。
スレーブでは、コマンド実行部202が、マスタ#1のコマンドフレームに対する応答フレーム(ACK)をタイムスロット番号2に送信するが、その際に、マスタ#1が送信したコマンドフレーム(ダウンリンクフレーム)を受信した際の通信品質とマスタ#2が送信したダミーフレーム(ダウンリンクフレーム)を受信した際の通信品質に関する情報を応答フレーム(ACK)に付加して送信する。
ここで、通信品質に関する情報とは、例えば、RSSI(Receive Signal Strength Indication)を用いることができる。
応答フレームはマスタ#1、マスタ#2の双方で受信する。より具体的には、マスタ#1では、スレーブ制御実行部104が応答フレームを受信し、マスタ#2では、現用系異常検出部102が応答フレームを受信する。
そして、スレーブからの応答フレームを受信した際に、マスタ#1、マスタ#2は、スレーブからマスタへのフレーム(アップリンクフレーム)の通信品質を判定することができる。
マスタ#1では、アップリンクフレームにおける通信品質を示す情報を次のコマンドフレームに付加してスレーブに送信する。マスタ#2では、現用系異常検出部102が、マスタ#1からスレーブへのコマンドフレームを受信し、このコマンドフレームの内容によりスレーブからマスタ#1へのアップリンクフレームにおける通信品質を判定することができる。
このように、マスタ#2の現用系異常検出部102は、マスタ#1からスレーブへのコマンドフレームの内容によりスレーブからマスタ#1へのアップリンクにおける通信品質を判定することができ、スレーブからの応答フレームの受信状態によりスレーブからマスタ#2へのアップリンクにおける通信品質を判定することができる。
更に、スレーブからの応答フレームの内容によりマスタ#1からスレーブへのダウンリンクにおける通信品質及びマスタ#2からスレーブへのダウンリンクにおける通信品質を判定することができる。
In the control phase,
In
In the slave, the
Here, for example, RSSI (Receive Signal Strength Indication) can be used as the information related to communication quality.
The response frame is received by both
When receiving a response frame from the slave,
In
In this way, the active system
Furthermore, the communication quality in the downlink from the
そして、アービトレーションフェーズにおいて、待機系のマスタ#2では、スレーブ制御実行判定部101が現用系異常検出部102から通知された通信品質をチェックして、マスタ#1より、マスタ#2の方が安定的に通信状態が良いと判断した場合に、アービトレーションに参加する。
マスタ#1のREQフレームには、個々のスレーブとマスタ#1の間のアップリンクフレーム、ダウンリンクフレームの通信品質をパラメータとして付加し、タイムスロットpに送信する。
マスタ#2のREQフレームには、個々のスレーブとマスタ#2の間の通信品質をパラメータとして付加してタイムスロットp+1に送信する。
アービトレーションに応答するスレーブは、上記、通信品質のパラメータを評価し、その結果をSELフレームに付加して、タイムスロットp+2に送信する。
なお、スレーブが通信品質のパラメータを評価してコントローラを選択する際には、例えば、以下の優先順位に基づいて選択を行う。
(1)通信不能になるマスタとスレーブの組合せがより少ないこと
(2)通信品質がより良好であること
アービトレーションフェーズのフレームシーケンス、アービトレーション結果を受けた各マスタの動作は、実施の形態1、2に示したものと同じである。
In the arbitration phase, in the
The communication quality of the uplink frame and the downlink frame between each slave and the
The quality of communication between each slave and
The slave responding to the arbitration evaluates the communication quality parameter, adds the result to the SEL frame, and transmits it to the time
When the slave evaluates the communication quality parameter and selects the controller, for example, the selection is performed based on the following priority order.
(1) There are fewer combinations of masters and slaves incapable of communication. (2) Communication quality is better. The operation of each master that receives the frame sequence of the arbitration phase and the arbitration result is the same as in the first and second embodiments. It is the same as shown in.
図12は、本実施の形態に係るマスタの動作例を示すフローチャートである。
図12では、S1201が追加された点を除き、図10と同様である。
本実施の形態では、待機系である場合に、スレーブ制御実行判定部101は、現用系マスタが故障していない場合(S1011でNO)に、自装置の通信品質が現用系マスタの通信品質よりもよいと判断すれば(S1201でYES)、アービトレーション実行部103にアービトレーション参加を指示し、アービトレーション実行部103がREQフレームをスレーブに送信して、アービトレーションに参加する。なお、実施の形態1と同様に、現用系マスタが故障していると判断した場合(S1011でYES)にも、REQフレームは送信される。
以降の動作は、図10と同様であるため説明は省略する。
FIG. 12 is a flowchart showing an operation example of the master according to the present embodiment.
12 is the same as FIG. 10 except that S1201 is added.
In the present embodiment, in the case of the standby system, the slave control
Subsequent operations are the same as those in FIG.
また、図13は、本実施の形態に係るスレーブの動作例を示すフローチャートである。
図13では、図11のS1104の代わりにS1301が行われ、S1106の代わりにS1302が行われる。
つまり、アービトレーション判定部201は、REQフレームの送信元を判別した結果、2つのマスタ(現用系と待機系、待機系と待機系)からREQフレームを受信していた場合は、REQフレームに示されている各々のマスタの通信品質に基づき、例えば上記の選択基準に従って、通信状態のよいマスタを選択する(S1301、S1302)。
これ以外の動作は、図11と同様なので、説明は省略する。
FIG. 13 is a flowchart showing an operation example of the slave according to the present embodiment.
In FIG. 13, S1301 is performed instead of S1104 of FIG. 11, and S1302 is performed instead of S1106.
That is, if the
Since other operations are the same as those in FIG.
以上、本実施の形態に示した方法によれば、刻々と変化する通信環境に応じて、通信状態の良いマスタをコントローラとして選択することが可能となり、より信頼性の高いシステムが構築可能となる。 As described above, according to the method shown in the present embodiment, it is possible to select a master having a good communication state as a controller in accordance with the communication environment that changes every moment, and it becomes possible to construct a more reliable system. .
以上、本実施の形態では、
現用系、及び、待機系コントローラから制御対象局へ送信する際の通信状態を、個々の制御対象局でのフレームの受信状態を計測し、応答フレームに付加して返信させることで得て、
待機系コントローラの通信状態が、現用系コントローラに比べて継続的に良いと判定した場合に、制御対象局の制御権を要求する待機系コントローラを説明した。
As described above, in the present embodiment,
The communication state when transmitting from the active system and the standby system controller to the control target station is obtained by measuring the reception state of the frame at each control target station and adding it to the response frame and returning it.
The standby controller that requests the control right of the control target station when it is determined that the communication state of the standby controller is continuously better than that of the active controller has been described.
また、本実施の形態では、
現用系、待機系コントローラから制御対象局へ送信する際の通信状態と、
制御対象局から、現用系、及び、待機系コントローラへ送信する際の通信状態を、制御対象局が送信する応答フレームの受信状態から得て、
制御対象局の制御権を要求する際に、付加情報として送信するコントローラと、
次のサイクルのコントローラを選択する際に、前記、付加情報として送信された通信状態を基に、通信状態の良いコントローラを選択する制御対象局を説明した。
In the present embodiment,
Communication status when transmitting from the active / standby controller to the control target station,
From the control target station, obtain the communication state when transmitting to the active system and the standby system controller from the reception state of the response frame transmitted by the control target station,
When requesting the control right of the control target station, a controller that transmits as additional information,
The control target station that selects a controller having a good communication state based on the communication state transmitted as the additional information when the controller of the next cycle is selected has been described.
実施の形態4.
実施の形態3においては、制御フェーズにおいて、待機系コントローラのマスタ#2が送信するフレーム(DMY)の内容は問わないとした。
本実施の形態では、直前の現用系コントローラのマスタ#1が送信したコマンドフレーム(CMD)の内容を送信するようにする(ただし、送信元は、マスタ#2であることが判定できるようになっており、通信品質の比較はできるようにする)。
このようにすることで、スレーブは、マスタ#1が送信したコマンドフレームを受信し損なった場合でも、マスタ#2が送信したフレームを受信できれば、コマンドを受信することが可能であり、より信頼性を高めることが可能となる。
スレーブからの応答フレームについても、待機系のマスタが、スレーブから受信した受信フレームを現用系のマスタに送信することで、コマンド同様に通信品質を高めることができる。
In the third embodiment, the contents of the frame (DMY) transmitted by
In the present embodiment, the contents of the command frame (CMD) transmitted by
By doing in this way, even if the slave fails to receive the command frame transmitted by the
As for the response frame from the slave, the standby master transmits the received frame received from the slave to the active master, so that the communication quality can be improved as in the case of the command.
つまり、制御フェーズでは、現用系のマスタが、スレーブ制御用のコマンドフレーム(制御データ)を複数のスレーブに対して送信するが、待機系のマスタは、現用系のマスタが複数のスレーブに対して送信したコマンドフレームを受信し、同じ内容のフレーム(予備制御データ)を複数のスレーブに送信する。
通信シーケンスは、図7と同様であり、待機系のマスタは、タイムスロット0において、現用系のマスタからコマンドフレームを受信し、タイムスロット1において、コマンドフレームと同じフレームを複数のスレーブに送信する。
スレーブは、タイムスロット0において、現用系のマスタからのコマンドフレームを受信するが、このコマンドフレームを正常に受信できず、タイムスロット1において、待機系のマスタから送信されたフレームを正常に受信できた場合に、現用系のマスタからのコマンドフレームの代わりに待機系のマスタからのフレームを利用する。
In other words, in the control phase, the active master transmits a command frame (control data) for slave control to a plurality of slaves, while the standby master is connected to a plurality of slaves by the active master. The transmitted command frame is received, and the same content frame (preliminary control data) is transmitted to a plurality of slaves.
The communication sequence is the same as in FIG. 7. The standby master receives a command frame from the active master in
The slave receives the command frame from the active master in
また、同様に、制御フェーズにおいて、各スレーブは、タイムスロット2において、現用系のマスタからの制御に応答する応答フレーム(応答データ)を送信するとともに、当該応答フレームと同じ内容のフレーム(予備応答データ)を待機系のマスタに送信し、待機系のマスタは各スレーブからのフレームを受信する。
待機系のマスタは、各スレーブから受信したフレームを現用系のマスタに送信する。
現用系のマスタは、各スレーブから送信された応答フレームを正常に受信できず、待機系のマスタから送信されたフレームを正常に受信できた場合に、各スレーブからの応答フレームの代わりに待機系のマスタから受信したフレームを利用する。
Similarly, in the control phase, each slave transmits a response frame (response data) in response to control from the active master in
The standby master transmits the frame received from each slave to the active master.
If the active master cannot normally receive the response frame sent from each slave and can successfully receive the frame sent from the standby master, it will use the standby system instead of the response frame from each slave. Use frames received from other masters.
本実施の形態に示した方法は、マスタ#1とマスタ#2を離して設置した場合に、より高い効果を得ることができる。
例えば、マスタ#1、マスタ#2、スレーブ#2が、図8に示すような位置関係にあった場合に、マスタ#1とスレーブ#2は障害物のために、通信が不調になる可能性がある。
本実施の形態に示した方法によれば、マスタ#2を経由して通信が可能になるため、安定した通信を行えることが期待できる。
The method shown in the present embodiment can achieve a higher effect when the
For example, when
According to the method shown in the present embodiment, communication is possible via
以上、本実施の形態では、
現用系、待機系コントローラとの通信状態を、個々の制御対象局で計測するための待機系コントローラが送信するフレームとして、現用系コントローラのコマンドフレームの中身をコピーしたもの送信する待機系コントローラと、
現用系コントローラが、送信するコマンドフレームの受信に失敗した場合に、前記、待機系コントローラが送信したフレームを受信して、エラーリカバリーを図る制御対象局を持つコントローラ二重化無線通信システムを説明した。
As described above, in the present embodiment,
A standby controller that transmits a copy of the contents of the command frame of the active controller as a frame that is transmitted by the standby controller for measuring the communication state with the active and standby controllers at each control target station, and
The dual controller wireless communication system having the control target station that receives the frame transmitted by the standby controller and performs error recovery when the active controller fails to receive the command frame to be transmitted has been described.
また、本実施の形態では、
制御対象局が送信した応答フレームの中身をコピーしたものを送信する待機系コントローラと、
制御対象局が送信した応答フレームの受信に失敗した場合に、前記、待機系コントローラが送信したフレームを受信して、エラーリカバリーを図る現用系コントローラを持つコントローラ二重化無線通信システムを説明した。
In the present embodiment,
A standby controller that transmits a copy of the response frame transmitted by the control target station; and
The dual controller wireless communication system having the active controller that receives the frame transmitted by the standby controller and performs error recovery when receiving the response frame transmitted by the control target station has been described.
実施の形態5.
本実施の形態では、実施の形態1、2、3に示した待機系のマスタがアービトレーションに参加するに至ったイベント(現用系故障検出や通信状態)、及び、アービトレーションの結果をログ情報として出力する。
In this embodiment, the standby master shown in the first, second and third embodiments outputs an event (working system failure detection or communication state) that has led to arbitration and the result of the arbitration as log information. To do.
つまり、実施の形態1、2に示した待機系のマスタは、現用系のマスタが正常な状態でないと判断した際の監視内容、現用系のマスタが正常な状態でないと判断してREQフレームを送信した際のスレーブからのSELフレームの少なくともいずれかを記憶し、これらをログ情報として出力する。
また、実施の形態3に示した待機系のマスタは、自装置の通信品質が現用系のマスタの通信品質よりもよいと判断した際の自装置及び現用系のマスタの通信品質の内容、自装置の通信品質が現用系のマスタの通信品質よりもよいと判断してREQフレームを送信した際のスレーブからのSELフレームの少なくともいずれかを記憶し、これらをログ情報として出力する。
That is, the standby master shown in the first and second embodiments determines the monitoring contents when it is determined that the active master is not in a normal state, determines that the active master is not in a normal state, and sends a REQ frame. At least one of the SEL frames from the slave at the time of transmission is stored, and these are output as log information.
In addition, the standby master shown in the third embodiment, the communication quality of the own device and the active master when it is determined that the communication quality of the own device is better than the communication quality of the active master, It is determined that the communication quality of the apparatus is better than the communication quality of the active master and at least one of the SEL frames from the slave when the REQ frame is transmitted is stored, and these are output as log information.
また、実施の形態1、2に示したスレーブは、REQフレームに対するSELフレームを記憶し、これをログ情報として出力する。
さらに、実施の形態3に示したスレーブは、アービトレーションフェーズの前での現用系のマスタとの通信における通信品質と待機系のマスタとの通信における通信品質とを記憶し、これらをログ情報として出力する。
The slaves shown in the first and second embodiments store a SEL frame for the REQ frame, and output this as log information.
Furthermore, the slave shown in the third embodiment stores the communication quality in communication with the active master and the communication quality in communication with the standby master before the arbitration phase, and outputs these as log information. To do.
このように、本実施の形態では、コントローラ切り替えに関連する情報をログ情報として記憶するため、ログ情報を用いて、コントローラ切り替えに至った要因を分析することが容易となる。 As described above, in the present embodiment, information related to controller switching is stored as log information. Therefore, it is easy to analyze factors that have led to controller switching using log information.
以上、本実施の形態では、制御対象局の制御権を要求するに至った要因、及び、要求に対する制御対象局の選択結果、通信状態をログ情報として出力することを特徴とする現用系、及び、待機系コントローラを説明した。 As described above, in the present embodiment, the factor that has led to requesting the control right of the control target station, the selection result of the control target station with respect to the request, and the active system characterized in that the communication state is output as log information, and Explained the standby system controller.
また、本実施の形態では、現用系、待機系コントローラの制御権要求に対する自局の選択結果、及び通信状態をログ情報として出力する制御対象局を説明した。 Further, in the present embodiment, the control target station that outputs the selection result of the own station and the communication status as log information in response to the control right request of the active system and the standby system controller has been described.
実施の形態6.
実施の形態3では、制御フェーズにおいて、現用系コントローラがスレーブに対してCMDフレームを送信し、待機系コントローラはスレーブに対してDMYフレームを送信することを述べた。
本実施の形態では、現用系コントローラが、CMDフレーム内でアービトレーション・リクエストを送信し、待機系コントローラは、DMYフレームにて、アービトレーション・リクエストの有無を送信するようにする。
さらに、スレーブからは、応答フレーム(ACK)で、アービトレーションの結果を送信するようにする。
Embodiment 6 FIG.
In the third embodiment, it has been described that, in the control phase, the active controller transmits a CMD frame to the slave, and the standby controller transmits a DMY frame to the slave.
In the present embodiment, the active controller transmits an arbitration request in the CMD frame, and the standby controller transmits the presence / absence of the arbitration request in the DMY frame.
Further, the arbitration result is transmitted from the slave in a response frame (ACK).
つまり、本実施の形態では、現用系のマスタ装置は、CMDフレーム(制御データ)にアービトレーション・リクエスト(選択要求)を含ませ、アービトレーション・リクエストが含まれるCMDフレームを各スレーブ装置に送信する。
また、待機系のマスタ装置は、アービトレーション・リクエストがある場合は、DMYフレームにアービトレーション・リクエストを含ませ、現用系のマスタ装置によるCMDフレームの送信に並行して、アービトレーション・リクエストが含まれるDMYフレームを各スレーブ装置に送信する。一方、アービトレーション・リクエストがない場合は、アービトレーション・リクエストがない旨の情報をDMYフレームに含ませて、このDMYフレームを各スレーブ装置に送信する。
待機系のマスタ装置は、実施の形態1又は3と同様の状態において、アービトレーション・リクエストをDMYフレームに含ませる。
つまり、実施の形態1と同様に、待機系のマスタは、現用系のマスタの状態を監視し、現用系のマスタが故障していると判断した際に、アービトレーション・リクエストが含まれるDMYフレームを各スレーブに送信する。
また、実施の形態3と同様に、待機系のマスタは、現用系のマスタと各スレーブとの通信品質を計測し、また、自装置と各スレーブとの通信品質を計測し、現用系のマスタの通信品質よりも自装置の通信品質がよいと判断した際に、アービトレーション・リクエストが含まれるDMYフレームを各スレーブに送信する。
In other words, in the present embodiment, the active master device includes an arbitration request (selection request) in the CMD frame (control data), and transmits the CMD frame including the arbitration request to each slave device.
Further, when there is an arbitration request, the standby master device includes the arbitration request in the DMY frame, and in parallel with the transmission of the CMD frame by the active master device, the DMY frame including the arbitration request Is transmitted to each slave device. On the other hand, when there is no arbitration request, information indicating that there is no arbitration request is included in the DMY frame, and this DMY frame is transmitted to each slave device.
The standby master device includes an arbitration request in the DMY frame in the same state as in the first or third embodiment.
That is, as in the first embodiment, the standby master monitors the status of the active master, and when it determines that the active master is out of order, the standby master transmits a DMY frame including an arbitration request. Send to each slave.
Similarly to the third embodiment, the standby master measures the communication quality between the active master and each slave, and also measures the communication quality between the own apparatus and each slave, and the active master. When it is determined that the communication quality of the own apparatus is better than the communication quality of the DMY frame, a DMY frame including an arbitration request is transmitted to each slave.
このように、本実施の形態によれば、CMDフレーム、DMYフレームにおいてアービトレーション・リクエストを送信し、ACKフレームにおいて選択結果を応答するため、制御フェーズ内でアービトレーションが実施可能となり、アービトレーションの実行時間を短縮することが可能となる。 As described above, according to the present embodiment, an arbitration request is transmitted in the CMD frame and the DMY frame, and the selection result is responded in the ACK frame. Therefore, arbitration can be performed in the control phase, and the execution time of the arbitration can be reduced. It can be shortened.
実施の形態7.
本実施の形態では、ビーコン情報を送信して、例えば、TDMAを用いた通信方式におけるネットワーク内の他のスレーブのタイムスロットや、OFDMAを用いた通信方式におけるチャネルアサインメント等を指定する例を説明する。
ビーコン情報とは、上述のタイムスロットやチャネルアサインメント等を指定する通信制御のための情報である。
Embodiment 7 FIG.
In this embodiment, an example is described in which beacon information is transmitted to specify, for example, the time slot of another slave in the network in the communication method using TDMA, the channel assignment in the communication method using OFDMA, or the like. To do.
The beacon information is information for communication control that specifies the above-described time slot, channel assignment, and the like.
図7に示す通信シーケンスを用いて、本実施の形態を説明する。
タイムスロット0において、現用系マスタはビーコン情報が含まれるCMDフレーム(制御データ)を送信する。続く、タイムスロット1において待機系マスタも、ビーコン情報が含まれるDMYフレーム(予備制御データ)を送信する。この時、待機系マスタは現用系マスタと同じ内容のビーコン情報を生成し、送信できることとする。
スレーブは、現用系マスタからのビーコン情報を受信できなかった場合は、待機系マスタからのビーコン情報を受信して、このビーコン情報に従って通信を行う。
このことにより、現用系マスタが故障した場合において、待機系マスタが発行するビーコン情報に従って、実施の形態1、2、6で述べたアービトレーションを実施することが可能となる。
The present embodiment will be described using the communication sequence shown in FIG.
In
When the slave cannot receive the beacon information from the active master, it receives the beacon information from the standby master and performs communication according to the beacon information.
Thus, when the active master fails, the arbitration described in the first, second, and sixth embodiments can be performed according to the beacon information issued by the standby master.
以上、本実施の形態では、
現用系コントローラが送信するビーコン情報と同じビーコン情報を送信する待機系コントローラと、
現用系コントローラが送信するビーコン情報を受信できなかった場合に、待機系コントローラが送信するビーコン情報に従って通信を行う制御対象局により構成されるコントローラ二重化無線通信システムを説明した。
As described above, in the present embodiment,
A standby controller that transmits the same beacon information as the beacon information transmitted by the active controller;
The dual controller wireless communication system configured by the control target stations that perform communication according to the beacon information transmitted by the standby controller when the beacon information transmitted by the active controller cannot be received has been described.
最後に、実施の形態1〜7に示したマスタ装置100及びスレーブ装置200のハードウェア構成例について説明する。
図14は、実施の形態1〜7に示すマスタ装置100及びスレーブ装置200のハードウェア資源の一例を示す図である。
なお、図14の構成は、あくまでもマスタ装置100及びスレーブ装置200のハードウェア構成の一例を示すものであり、マスタ装置100及びスレーブ装置200のハードウェア構成は図14に記載の構成に限らず、他の構成であってもよい。
Finally, hardware configuration examples of the
FIG. 14 is a diagram illustrating an example of hardware resources of the
Note that the configuration of FIG. 14 is merely an example of the hardware configuration of the
図14において、マスタ装置100及びスレーブ装置200は、プログラムを実行するCPU911(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサともいう)を備えている。
CPU911は、バス912を介して、例えば、ROM(Read Only Memory)913、RAM(Random Access Memory)914、通信ボード915、表示装置901、キーボード902、マウス903、磁気ディスク装置920と接続され、これらのハードウェアデバイスを制御する。
更に、CPU911は、FDD904(Flexible Disk Drive)、コンパクトディスク装置905(CDD)、プリンタ装置906、スキャナ装置907と接続していてもよい。また、磁気ディスク装置920の代わりに、光ディスク装置、メモリカード(登録商標)読み書き装置などの記憶装置でもよい。
RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置の一例である。
通信ボード915、キーボード902、マウス903、スキャナ装置907、FDD904などは、入力装置の一例である。
また、通信ボード915、表示装置901、プリンタ装置906などは、出力装置の一例である。
In FIG. 14, the
The
Further, the
The
A
The
通信ボード915は、図1に示すように、無線ネットワークに接続されている。例えば、通信ボード915は、無線ネットワークとして、携帯電話ネットワーク、無線LAN(ローカルエリアネットワーク)等に接続することが可能である。また、無線ネットワークを介して、インターネット、WAN(ワイドエリアネットワーク)などに接続されていても構わない。
As shown in FIG. 1, the
磁気ディスク装置920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。
プログラム群923のプログラムは、CPU911がオペレーティングシステム921、ウィンドウシステム922を利用しながら実行する。
The
The programs in the
また、RAM914には、CPU911に実行させるオペレーティングシステム921のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。
また、RAM914には、CPU911による処理に必要な各種データが格納される。
The
The
また、ROM913には、BIOS(Basic Input Output System)プログラムが格納され、磁気ディスク装置920にはブートプログラムが格納されている。
マスタ装置100及びスレーブ装置200の起動時には、ROM913のBIOSプログラム及び磁気ディスク装置920のブートプログラムが実行され、BIOSプログラム及びブートプログラムによりオペレーティングシステム921が起動される。
The
When the
上記プログラム群923には、実施の形態1〜7の説明において「〜部」として説明している機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。
The
ファイル群924には、実施の形態1〜7の説明において、「〜の判断」、「〜の判別」、「〜の計算」、「〜の比較」、「〜の評価」、「〜の更新」、「〜の設定」、「〜の登録」、「〜の選択」、「〜の集計」等として説明している処理の結果を示す情報やデータや信号値や変数値やパラメータが、「〜ファイル」や「〜データベース」の各項目として記憶されている。
「〜ファイル」や「〜データベース」は、ディスクやメモリなどの記録媒体に記憶される。ディスクやメモリなどの記憶媒体に記憶された情報やデータや信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示などのCPUの動作に用いられる。
抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示のCPUの動作の間、情報やデータや信号値や変数値やパラメータは、メインメモリ、レジスタ、キャッシュメモリ、バッファメモリ等に一時的に記憶される。
また、実施の形態1〜7で説明しているフローチャートの矢印の部分は主としてデータや信号の入出力を示し、データや信号値は、RAM914のメモリ、FDD904のフレキシブルディスク、CDD905のコンパクトディスク、磁気ディスク装置920の磁気ディスク、その他光ディスク、ミニディスク、DVD等の記録媒体に記録される。また、データや信号は、バス912や信号線やケーブルその他の伝送媒体によりオンライン伝送される。
In the
The “˜file” and “˜database” are stored in a recording medium such as a disk or a memory. Information, data, signal values, variable values, and parameters stored in a storage medium such as a disk or memory are read out to the main memory or cache memory by the
Information, data, signal values, variable values, and parameters are stored in the main memory, registers, cache memory, and buffers during the CPU operations of extraction, search, reference, comparison, calculation, processing, editing, output, printing, and display. It is temporarily stored in a memory or the like.
In addition, the arrows in the flowcharts described in the first to seventh embodiments mainly indicate input / output of data and signals, and the data and signal values are the
また、実施の形態1〜7の説明において「〜部」として説明しているものは、「〜回路」、「〜装置」、「〜機器」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」であってもよい。すなわち、「〜部」として説明しているものは、ROM913に記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェアのみ、或いは、素子・デバイス・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD等の記録媒体に記憶される。プログラムはCPU911により読み出され、CPU911により実行される。すなわち、プログラムは、実施の形態1〜7の「〜部」としてコンピュータを機能させるものである。あるいは、実施の形態1〜7の「〜部」の手順や方法をコンピュータに実行させるものである。
In addition, what is described as “to part” in the description of the first to seventh embodiments may be “to circuit”, “to device”, “to device”, and “to step”, It may be “˜procedure” or “˜processing”. That is, what is described as “˜unit” may be realized by firmware stored in the
このように、実施の形態1〜7に示すマスタ装置100及びスレーブ装置200は、処理装置たるCPU、記憶装置たるメモリ、磁気ディスク等、入力装置たるキーボード、マウス、通信ボード等、出力装置たる表示装置、通信ボード等を備えるコンピュータであり、上記したように「〜部」として示された機能をこれら処理装置、記憶装置、入力装置、出力装置を用いて実現するものである。
As described above, the
100 マスタ装置、101 スレーブ制御実行判定部、102 現用系異常検出部、103 アービトレーション実行部、104 スレーブ制御実行部、105 無線通信処理部、200 スレーブ装置、201 アービトレーション判定部、202 コマンド実行部、203 無線通信処理部、300 無線ネットワーク。
DESCRIPTION OF
Claims (30)
少なくともいずれかの制御装置が、
前記複数の制御装置の中から現用系とすべき制御装置を選択するよう要求する選択要求を前記複数の制御対象装置に対して送信し、
前記複数の制御対象装置は、
前記選択要求を受信した場合に、現用系とすべき制御装置を選択し、選択結果を前記複数の制御装置に対して送信し、
前記複数の制御装置は、
前記選択結果に基づいて、前記複数の制御対象装置の少なくとも半数から選択された制御装置を現用系とすることを特徴とする通信システム。 It has a plurality of control devices and a plurality of control target devices, and one of the control devices becomes the active control device that controls the plurality of control target devices, and the other control device backs up the active control device. A communication system serving as a standby control device,
At least one of the control devices
A selection request for requesting to select a control device to be used from among the plurality of control devices is transmitted to the plurality of control target devices,
The plurality of control target devices are:
When receiving the selection request, select a control device to be the active system, send the selection result to the plurality of control devices,
The plurality of control devices include:
A control system selected from at least half of the plurality of control target devices based on the selection result is used as a working system.
前記選択要求を送信できない状態にあるとき以外は、前記選択要求を前記複数の制御対象装置に対して送信することを特徴とする請求項1に記載の通信システム。 The active control system is
The communication system according to claim 1, wherein the selection request is transmitted to the plurality of devices to be controlled except when the selection request cannot be transmitted.
現用系である制御装置の状態を監視し、監視の結果、現用系である制御装置が正常な状態でないと判断した場合に、前記選択要求を送信することを特徴とする請求項1又は2に記載の通信システム。 The control device that is the standby system
The status of a control device that is an active system is monitored, and when it is determined that the control device that is an active system is not in a normal state as a result of monitoring, the selection request is transmitted. The communication system described.
前記複数の制御対象装置の制御のための制御データを前記複数の制御対象装置に対して送信する期間である制御フェーズ以外のタイミングにおいて、前記選択要求を前記複数の制御対象装置に対して送信することを特徴とする請求項1〜3のいずれかに記載の通信システム。 The active control system is
The selection request is transmitted to the plurality of control target devices at a timing other than the control phase, which is a period during which control data for controlling the plurality of control target devices is transmitted to the plurality of control target devices. The communication system according to any one of claims 1 to 3.
前記制御フェーズにおいて現用系である制御装置の状態を監視し、監視の結果、現用系である制御装置が正常な状態でないと判断した場合に、前記制御フェーズ以外のタイミングにおいて前記選択要求を送信することを特徴とする請求項4に記載の通信システム。 The control device that is the standby system
The status of the active control device is monitored in the control phase, and if the result of monitoring indicates that the active control device is not in a normal state, the selection request is transmitted at a timing other than the control phase. The communication system according to claim 4.
前記複数の制御対象装置の制御のための制御データに前記選択要求を含ませ、前記選択要求が含まれた制御データを前記複数の制御対象装置に対して送信することを特徴とする請求項1に記載の通信システム。 The active control system is
2. The control data for controlling the plurality of control target devices includes the selection request, and the control data including the selection request is transmitted to the plurality of control target devices. The communication system according to 1.
現用系である制御装置による制御データの送信に並行して、前記選択要求を前記複数の制御対象装置に対して送信することを特徴とする請求項6に記載の通信システム。 The control device that is the standby system
The communication system according to claim 6, wherein the selection request is transmitted to the plurality of control target devices in parallel with transmission of control data by a control device which is an active system.
現用系である制御装置が前記複数の制御対象装置の少なくとも半数から選択された場合に、当該制御装置を継続して現用系とし、
待機系であるいずれかの制御装置が前記複数の制御対象装置の過半数から選択された場合に、当該制御装置を新たに現用系とすることを特徴とする請求項1〜7のいずれかに記載の通信システム。 Before Symbol plurality of control devices,
When a control device that is an active system is selected from at least half of the plurality of control target devices, the control device is continuously used as an active system,
The control device according to any one of claims 1 to 7, wherein when one of the control devices that is a standby system is selected from a majority of the plurality of control target devices, the control device is newly set as an active system. Communication system.
少なくともいずれかの制御装置が、
前記複数の制御装置の中から現用系とすべき制御装置を選択するよう要求する選択要求を複数の制御対象装置に対して送信し、
前記複数の制御対象装置は、
自装置が選択許可制御対象装置である場合に、前記選択要求を受信し、現用系とすべき制御装置を選択し、選択結果を前記複数の制御装置に対して送信し、
前記複数の制御装置は、
現用系である制御装置が前記複数の選択許可制御対象装置の少なくとも半数から選択された場合に、当該制御装置を継続して現用系とし、
待機系であるいずれかの制御装置が前記複数の選択許可制御対象装置の過半数から選択された場合に、当該制御装置を新たな現用系とすることを特徴とする通信システム。 It has a plurality of control devices and a plurality of control target devices, and one of the control devices becomes the active control device that controls the plurality of control target devices, and the other control device backs up the active control device. A communication system in which a plurality of selection-permitted control target devices, which are standby control devices and are permitted to select a control device, are designated among the plurality of control target devices ,
At least one of the control devices
Sends it to a plurality of control target apparatus selection request for requesting to select the control device should be the active system from the plurality of control devices,
The plurality of control target devices are:
When the own device is a selection-permitted control target device, it receives the selection request, selects a control device to be the active system, and transmits a selection result to the plurality of control devices,
The plurality of control devices include:
When a control device that is an active system is selected from at least half of the plurality of selection-permitted control target devices, the control device is continuously used as an active system,
If any of the control device is a standby system is selected from a majority of the plurality of selection permit the control target device, communication system that is characterized in that the control device as a new active system.
受信した選択要求の送信元を判別し、現用系である制御装置及び待機系である制御装置のいずれか一つからしか選択要求を受信していない場合は、選択要求の送信元の制御装置を選択し、現用系である制御装置及び待機系である制御装置から選択要求を受信している場合は、現用系である制御装置を選択することを特徴とする請求項1〜8のいずれかに記載の通信システム。 The plurality of control target devices are:
The transmission source of the selection request received is determined, and if the selection request is received from only one of the control device that is the active system and the control device that is the standby system, the control device that is the transmission source of the selection request is selected, if receiving the selection request from a controller and the standby system is working system controller, to any one of claims 1 to 8, characterized in that selecting a working system controller The communication system described.
現用系である制御装置及び待機系である制御装置の各々が前記複数の制御対象装置と通信を行い、
待機系である制御装置が、現用系である制御装置と前記複数の制御対象装置との通信における通信品質と自装置と前記複数の制御対象装置との通信における通信品質とを比較し、自装置の通信品質が現用系である制御装置の通信品質よりもよい場合は、前記選択要求を前記複数の制御対象装置に対して送信することを特徴とする請求項1又は2に記載の通信システム。 The communication system is:
Each of the control device that is the active system and the control device that is the standby system communicates with the plurality of control target devices,
The control device that is the standby system compares the communication quality in communication between the control device that is the active system and the plurality of control target devices and the communication quality in communication between the own device and the plurality of control target devices. 3. The communication system according to claim 1, wherein the selection request is transmitted to the plurality of control target devices when the communication quality of the control device is better than the communication quality of the control device that is the active system.
現用系である制御装置と待機系である制御装置から前記選択要求を受信した場合に、現用系である制御装置との通信における通信品質と待機系である制御装置との通信における通信品質とを比較して、いずれかの制御装置を選択することを特徴とする請求項11に記載の通信システム。 The plurality of control target devices are:
When the selection request is received from the control device that is the active system and the control device that is the standby system, the communication quality in communication with the control device that is the active system and the communication quality in communication with the control device that is the standby system The communication system according to claim 11, wherein one of the control devices is selected by comparison.
前記複数の制御対象装置の制御のための制御データを前記複数の制御対象装置に対して送信し、
待機系である制御装置は、前記制御データと同じ内容のデータを予備制御データとして前記複数の制御対象装置に対して送信することを特徴とする請求項1〜8のいずれかに記載の通信システム。 The active control system is
Transmitting control data for controlling the plurality of control target devices to the plurality of control target devices;
The communication system according to any one of claims 1 to 8 , wherein the control device that is a standby system transmits data having the same content as the control data to the plurality of control target devices as preliminary control data. .
現用系である制御装置から送信された制御データを正常に受信できず、待機系である制御装置から送信された予備制御データを正常に受信できた場合に、前記制御データの代わりに前記予備制御データを利用することを特徴とする請求項13に記載の通信システム。 The plurality of control target devices are:
When the control data transmitted from the control device that is the active system cannot be normally received and the backup control data that is transmitted from the control device that is the standby system can be normally received, the preliminary control is used instead of the control data. 14. The communication system according to claim 13, wherein data is used.
現用系である制御装置からの制御に応答する応答データを現用系である制御装置に対して送信するとともに、前記応答データと同じ内容のデータを予備応答データとして待機系である制御装置に送信し、
待機系である制御装置は、
前記複数の制御対象装置から送信された予備応答データを受信するとともに、受信した予備応答データを現用系である制御装置に送信することを特徴とする請求項1〜8のいずれかに記載の通信システム。 The plurality of control target devices are:
Response data responding to control from the active control device is transmitted to the active control device, and data having the same contents as the response data is transmitted as standby response data to the standby control device. ,
The control device that is the standby system
The communication according to any one of claims 1 to 8 , wherein the preliminary response data transmitted from the plurality of control target devices is received, and the received preliminary response data is transmitted to a control device that is an active system. system.
前記複数の制御対象装置から送信された応答データを正常に受信できず、待機系である制御装置から送信された予備応答データを正常に受信できた場合に、前記応答データの代わりに前記予備応答データを利用することを特徴とする請求項15に記載の通信システム。 The active control system is
When the response data transmitted from the plurality of control target devices cannot be normally received and the preliminary response data transmitted from the control device as a standby system is normally received, the preliminary response is used instead of the response data. The communication system according to claim 15, wherein data is used.
待機系であるときに現用系の制御装置が正常な状態でないと判断した際の監視内容、現用系の制御装置が正常な状態でないと判断して前記選択要求を送信した際の制御対象装置からの選択結果の少なくともいずれかを記憶することを特徴とする請求項3に記載の通信システム。 The plurality of control devices include:
What is monitored when it is determined that the active control device is not in a normal state when it is a standby system, from the control target device when it is determined that the active control device is not in a normal state and the selection request is transmitted The communication system according to claim 3, wherein at least one of the selection results is stored.
待機系であるときに自装置の通信品質が現用系の制御装置の通信品質よりもよいと判断した際の自装置及び現用系の制御装置の通信品質の内容、自装置の通信品質が現用系の制御装置の通信品質よりもよいと判断して前記選択要求を送信した際の制御対象装置からの選択結果の少なくともいずれかを記憶することを特徴とする請求項11に記載の通信システム。 The plurality of control devices include:
When the standby system determines that the communication quality of the local device is better than the communication quality of the active control device, the communication quality of the local device and the active control device, and the communication quality of the local device are the active system. The communication system according to claim 11, wherein at least one of selection results from the control target device when the selection request is transmitted after determining that the communication quality of the control device is better is stored.
前記選択要求に対する選択結果を記憶することを特徴とする請求項1〜8のいずれかに記載の通信システム。 The plurality of control target devices are:
Communication system according to any one of claims 1 to 8, characterized in that storing a selection result of the selection request.
現用系の制御装置との通信における通信品質と待機系の制御装置との通信における通信品質とを記憶することを特徴とする請求項12に記載の通信システム。 The plurality of control target devices are:
13. The communication system according to claim 12, wherein communication quality in communication with the active control device and communication quality in communication with the standby control device are stored.
それぞれ、前記複数の制御対象装置と無線通信を行うことを特徴とする請求項1〜20のいずれかに記載の通信システム。 The plurality of control devices include:
21. The communication system according to claim 1, wherein wireless communication is performed with each of the plurality of control target devices.
制御データにビーコン情報を含ませ、前記ビーコン情報が含まれた制御データを前記複数の制御対象装置に対して送信し、
待機系である制御装置は、
前記ビーコン情報と同じ内容の情報を予備制御データに含ませ、前記ビーコン情報と同じ内容の情報が含まれた予備制御データを前記複数の制御対象装置に対して送信することを特徴とする請求項13に記載の通信システム。 The active control system is
Including beacon information in the control data, transmitting the control data including the beacon information to the plurality of control target devices,
The control device that is the standby system
The information having the same content as the beacon information is included in the preliminary control data, and the preliminary control data including the information having the same content as the beacon information is transmitted to the plurality of control target devices. 14. The communication system according to 13.
現用系とすべき制御装置を選択するよう要求する選択要求を前記複数の制御対象装置に対して送信する選択要求送信部と、
制御対象装置における選択結果を受信する選択結果受信部と、
前記選択結果を解析して自装置が現用系に選択されたか否かを判別し、判別結果に基づいて動作モードを現用系の動作モード及び待機系の動作モードのいずれかに設定する動作モード設定部を有することを特徴とする制御装置。 When it is the active system, it controls a plurality of control target devices, and when it is the standby system, it is a control device that backs up another control device that is the active system,
A selection request transmitter for transmitting a selection request for selecting a control device to be used as an active system to the plurality of control target devices;
A selection result receiving unit for receiving a selection result in the control target device;
Analyzing the selection result to determine whether or not the device is selected as the active system, and based on the determination result, the operation mode is set to either the active mode or the standby mode. The control apparatus characterized by having a part.
前記動作モード設定部により現用系の動作モードが設定されている場合に前記選択要求を送信できない状態にあるとき以外は、前記選択要求を前記複数の制御対象装置に対して送信することを特徴とする請求項23に記載の制御装置。 The selection request transmitter is
The selection request is transmitted to the plurality of devices to be controlled except when the selection request cannot be transmitted when the operation mode setting unit sets the active operation mode. The control device according to claim 23.
前記動作モード設定部により待機系の動作モードが設定されている場合に、現用系である他の制御装置の状態を監視する状態監視部を有し、
前記選択要求送信部は、
前記動作モード設定部により待機系の動作モードが設定されている場合に、前記状態監視部により現用系である他の制御装置が正常な状態でないと判断されたときに、前記選択要求を前記複数の制御対象装置に対して送信することを特徴とする請求項23又は24に記載の制御装置。 The control device further includes:
When a standby operation mode is set by the operation mode setting unit, a state monitoring unit that monitors the state of another control device that is the active system,
The selection request transmitter is
If the operating mode of the standby system is set by the operation mode setting unit, when said state other control device is a working system by the monitoring unit is determined not to be a normal state, the plurality of the selection request The control apparatus according to claim 23 or 24, wherein the control apparatus transmits the information to the control target apparatus.
現用系の動作モードを設定しているときに、自装置が前記複数の制御対象装置の少なくとも半数から選択された場合に、現用系の動作モードの設定を維持し、
待機系の動作モードを設定しているときに、自装置が前記複数の制御対象装置の過半数から選択された場合に、現用系の動作モードを設定することを特徴とする請求項23〜25のいずれかに記載の制御装置。 Before Symbol operation mode setting section,
When the operation mode of the active system is set, if the own device is selected from at least half of the plurality of control target devices, the setting of the operation mode of the active system is maintained,
26. The operation mode of the active system is set when the own device is selected from a majority of the plurality of control target devices when the operation mode of the standby system is set. The control apparatus in any one.
現用系とすべき制御装置を選択するよう要求する選択要求を、前記複数の制御対象装置に対して送信する選択要求送信部と、
前記複数の制御対象装置の中で制御装置の選択が許可されている複数の選択許可制御対象装置における選択結果を受信する選択結果受信部と、
前記選択結果を解析して自装置が現用系に選択されたか否かを判別し、判別結果に基づいて動作モードを現用系の動作モード及び待機系の動作モードのいずれかに設定する動作モード設定部とを有し、
前記動作モード設定部は、
現用系の動作モードを設定しているときに、自装置が前記複数の選択許可制御対象装置の少なくとも半数から選択された場合に、現用系の動作モードの設定を維持し、
待機系の動作モードを設定しているときに、自装置が前記複数の選択許可制御対象装置の過半数から選択された場合に、現用系の動作モードを設定することを特徴とする制御装置。 When it is the active system, it controls a plurality of control target devices, and when it is the standby system, it is a control device that backs up another control device that is the active system,
A selection request for requesting to select the control device should be the active system, a selection request transmitting unit that sends for the plurality of control target equipment,
A selection result receiving unit that receives a selection result in a plurality of selection-permitted control target devices that are permitted to select a control device among the plurality of control target devices;
Analyzing the selection result to determine whether or not the device is selected as the active system, and based on the determination result, the operation mode is set to either the active mode or the standby mode. And
The operation mode setting unit
When the operation mode of the active system is set, if the own device is selected from at least half of the plurality of selection permission control target devices, the setting of the operation mode of the active system is maintained,
When setting the operating mode of the standby system, when the own device is selected from a majority of the plurality of selection permit the control target device, the current system settings that said control device to the operation mode of .
前記動作モード設定部により待機系の動作モードが設定されている場合に、現用系である他の制御装置と前記複数の制御対象装置との通信における通信品質を判定する第1の通信品質判定部と、
前記動作モード設定部により待機系の動作モードが設定されている場合に、前記複数の制御対象装置との間で通信を行うとともに、前記複数の制御対象装置との通信における通信品質を判定する第2の通信品質判定部とを有し、
前記選択要求送信部は、
前記動作モード設定部により待機系の動作モードが設定されている場合に、前記第1の通信品質判定部により判定された他の制御装置と前記複数の制御対象装置との通信における通信品質と前記第2の通信品質判定部により判定された自装置と前記複数の制御対象装置との通信における通信品質とを比較し、自装置の通信品質が他の制御装置の通信品質よりもよい場合に、前記選択要求を前記複数の制御対象装置に対して送信することを特徴とする請求項23又は24に記載の制御装置。 The control device further includes:
A first communication quality determination unit that determines communication quality in communication between another control device that is an active system and the plurality of control target devices when a standby operation mode is set by the operation mode setting unit When,
In the case where a standby operation mode is set by the operation mode setting unit, communication with the plurality of control target devices is performed, and communication quality in communication with the plurality of control target devices is determined. 2 communication quality judgment unit,
The selection request transmitter is
When a standby operation mode is set by the operation mode setting unit, communication quality in communication between the other control device and the plurality of control target devices determined by the first communication quality determination unit, and When the communication quality in communication between the own device determined by the second communication quality determination unit and the plurality of control target devices is compared, and the communication quality of the own device is better than the communication quality of other control devices, The control apparatus according to claim 23 or 24, wherein the selection request is transmitted to the plurality of control target apparatuses.
現用系とすべき制御装置を選択するよう要求する選択要求を、少なくともいずれかの制御装置から受信する選択要求受信部と、
前記選択要求受信部が受信した選択要求の送信元を判別し、現用系である制御装置及び待機系である制御装置のいずれか一つからしか選択要求を受信していない場合は、選択要求の送信元の制御装置を選択し、現用系である制御装置及び待機系である制御装置から選択要求を受信している場合は、現用系である制御装置を選択する選択部と、
前記選択部による選択結果を前記選択要求の送信元に送信する選択結果送信部とを有することを特徴とする制御対象装置。 One of them is the active system, and other than the active system is a control target device to be controlled by a plurality of control devices that are standby systems that back up the active system,
A selection request receiving unit that receives a selection request for selecting a control device to be an active system from at least one of the control devices;
The selection request receiving unit determines the source of the selection request received, and if the selection request is received from only one of the control device that is the active system and the control device that is the standby system, When the control device of the transmission source is selected and a selection request is received from the control device that is the active system and the control device that is the standby system, a selection unit that selects the control device that is the active system;
An apparatus to be controlled, comprising: a selection result transmission unit that transmits a selection result by the selection unit to a transmission source of the selection request.
現用系とすべき制御装置を選択するよう要求する選択要求を、少なくともいずれかの制御装置から受信する選択要求受信部と、
前記選択要求受信部が現用系である制御装置及び待機系である制御装置から選択要求を受信した場合に、現用系である制御装置との通信における通信品質を判定するとともに、待機系である制御装置との通信における通信品質を判定し、現用系である制御装置との通信における通信品質と待機系である制御装置との通信における通信品質を比較して、いずれかの制御装置を選択する選択部と、
前記選択部による選択結果を前記選択要求の送信元に送信する選択結果送信部とを有することを特徴とする制御対象装置。 One of them is the active system, and other than the active system is a control target device to be controlled by a plurality of control devices that are standby systems that back up the active system,
A selection request receiving unit that receives a selection request for selecting a control device to be an active system from at least one of the control devices;
When the selection request receiving unit receives a selection request from the control device that is the active system and the control device that is the standby system, the communication quality in communication with the control device that is the active system is determined, and the control that is the standby system Selection that determines the communication quality in communication with the device, compares the communication quality in communication with the active control device and the communication quality in communication with the standby control device, and selects one of the control devices And
An apparatus to be controlled, comprising: a selection result transmission unit that transmits a selection result by the selection unit to a transmission source of the selection request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008216115A JP5235562B2 (en) | 2008-08-26 | 2008-08-26 | Communication system, control device, and control target device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008216115A JP5235562B2 (en) | 2008-08-26 | 2008-08-26 | Communication system, control device, and control target device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010055136A JP2010055136A (en) | 2010-03-11 |
JP5235562B2 true JP5235562B2 (en) | 2013-07-10 |
Family
ID=42071034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008216115A Expired - Fee Related JP5235562B2 (en) | 2008-08-26 | 2008-08-26 | Communication system, control device, and control target device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5235562B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014147773A1 (en) * | 2013-03-20 | 2014-09-25 | 富士通株式会社 | Hardware device and method for controlling hardware device |
WO2016151743A1 (en) * | 2015-03-24 | 2016-09-29 | 三菱電機株式会社 | Apparatus control device, vehicular electronic control device, vehicular electronic control system, apparatus control method, and apparatus control program |
JP6160669B2 (en) * | 2015-10-06 | 2017-07-12 | カシオ計算機株式会社 | EVENT INFORMATION COMMUNICATION CONTROL DEVICE, EVENT INFORMATION COMMUNICATION CONTROL METHOD, AND PROGRAM |
JP7119826B2 (en) * | 2018-09-20 | 2022-08-17 | 日本電信電話株式会社 | Wireless performance measurement system, wireless performance measurement method, wireless performance measurement device, and wireless performance measurement program |
JP2022126389A (en) * | 2021-02-18 | 2022-08-30 | 国立大学法人 東京大学 | Delay time guaranteed wireless communication terminal and delay time guaranteed wireless communication method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62160541A (en) * | 1986-01-10 | 1987-07-16 | Hitachi Ltd | Dual system switching system |
JPH05145531A (en) * | 1991-11-20 | 1993-06-11 | Nec Corp | Uninterruptible line changeover device |
US5796935A (en) * | 1995-07-20 | 1998-08-18 | Raytheon Company | Voting node for a distributed control system |
US7275100B2 (en) * | 2001-01-12 | 2007-09-25 | Hitachi, Ltd. | Failure notification method and system using remote mirroring for clustering systems |
JP2004302512A (en) * | 2003-03-28 | 2004-10-28 | Hitachi Ltd | Cluster computing system and fail-over method for the same |
JP2006185308A (en) * | 2004-12-28 | 2006-07-13 | Mitsubishi Electric Corp | Controller duplex system and controller multiplex system |
-
2008
- 2008-08-26 JP JP2008216115A patent/JP5235562B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010055136A (en) | 2010-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5235562B2 (en) | Communication system, control device, and control target device | |
US11146090B2 (en) | Battery management system, and method and apparatus for transmitting information | |
US20160353477A1 (en) | Method of indicating scheduling assignment in device to device wireless communication, and d2d-enabled wireless device using the method | |
US8560746B2 (en) | Access control apparatus, access control method and storage system | |
US10938628B2 (en) | Battery management system and communication method thereof | |
WO2015098589A1 (en) | Cluster system, server device, cluster system management method, and computer-readable recording medium | |
US20100229050A1 (en) | Apparatus having first bus and second bus connectable to i/o device, information processing apparatus and method of controlling apparatus | |
EP3860296B1 (en) | Method for transmitting downlink control channel, terminal and network side device | |
JP2017045199A (en) | Controller | |
US20150121129A1 (en) | Storage control device, storage apparatus, and computer-readable recording medium having storage control program stored therein | |
US7801026B2 (en) | Virtualization switch and method for controlling a virtualization switch | |
US20180364936A1 (en) | Storage control device, method and non-transitory computer-readable storage medium | |
JP6134720B2 (en) | Connection method | |
JP2013025765A (en) | Master/slave system, control device, master/slave switching method and master/slave switching program | |
KR102592204B1 (en) | A vehicle and method for controlling communication thereof | |
US9246848B2 (en) | Relay apparatus, storage system, and method of controlling relay apparatus | |
JP2004152156A (en) | Interface conversion device | |
US20140173318A1 (en) | Relaying device, relaying method, and power control system | |
JP6008380B2 (en) | BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP2004007930A (en) | System and program for controlling power system monitoring | |
JP5433219B2 (en) | Cluster system | |
JP5516402B2 (en) | Information processing apparatus and information processing apparatus control method | |
KR102608939B1 (en) | Method for peripheral device sharing using multi-core processor and electronic apparatus using same | |
EP3660680B1 (en) | Redundant system | |
CN116661688B (en) | Service response method and device of SAS storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110114 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121207 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121211 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130205 |
|
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: 20130226 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130326 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160405 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |