JP2022154103A - Communication device, communication system, and communication method - Google Patents

Communication device, communication system, and communication method Download PDF

Info

Publication number
JP2022154103A
JP2022154103A JP2021056983A JP2021056983A JP2022154103A JP 2022154103 A JP2022154103 A JP 2022154103A JP 2021056983 A JP2021056983 A JP 2021056983A JP 2021056983 A JP2021056983 A JP 2021056983A JP 2022154103 A JP2022154103 A JP 2022154103A
Authority
JP
Japan
Prior art keywords
communication
wired
wireless
devices
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021056983A
Other languages
Japanese (ja)
Other versions
JP7462956B2 (en
Inventor
哲也 桑原
Tetsuya Kuwabara
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.)
Silex Technology Inc
Original Assignee
Silex Technology Inc
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 Silex Technology Inc filed Critical Silex Technology Inc
Priority to JP2021056983A priority Critical patent/JP7462956B2/en
Publication of JP2022154103A publication Critical patent/JP2022154103A/en
Application granted granted Critical
Publication of JP7462956B2 publication Critical patent/JP7462956B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

To provide a communication device capable of performing communication with a low delay in a network constructed in wired and wireless manners.SOLUTION: A communication device 2, a component of a communication system 100, comprises a wired communication section 23 and a wireless communication section 24. The wired communication section 23 performs wired communication by operating as a slave unit for a wired master unit 1 operating as a communication device 2 of wired communication. The wireless communication section 24 performs wireless communication by operating as a communication device 2 for a wireless slave unit 3 operating as a slave unit of wireless communication. The wired master unit 1 and the wired communication section 23 are connected using a daisy chain method or a ring method. The wired communication is performed using a method in which when a frame transmitted by the wired master unit 1 passes through the wired communication section 23, data is input/output to/from the frame by the wired communication section 23. Communication between the wireless communication section 24 and the wireless slave unit 3 is short-range wireless communication, has a fixed cycle of data transmission/reception, and transmits/receives data in a previously assigned channel.SELECTED DRAWING: Figure 1

Description

本発明は、主として、無線通信及び有線通信を行う通信装置に関する。 The present invention mainly relates to a communication device that performs wireless communication and wired communication.

特許文献1は、工場等に設けられる産業機器の制御等に用いられる通信システムを開示する。この通信システムは、複数の機器がデイジーチェーン方式(数珠繋ぎ方式)若しくはリング方式で接続された有線ネットワークであるEtherCAT(Ethernet or Control Automation Technology、登録商標)、又はFL-net等の通信方式で通信を行う。EtherCAT通信は、低遅延及び定周期が利点となっている。有線ネットワークを構成する機器の1つは、無線通信の基地局としても機能する。基地局と子機が無線通信する規格としては、例えばIEEE802.11a、b、g、nが挙げられている。 Patent Literature 1 discloses a communication system used for controlling industrial equipment installed in a factory or the like. This communication system communicates by a communication method such as EtherCAT (Ethernet or Control Automation Technology, a registered trademark), which is a wired network in which a plurality of devices are connected in a daisy chain method (a daisy chain method) or a ring method, or FL-net. conduct. EtherCAT communication has advantages of low delay and fixed period. One of the devices that make up the wired network also functions as a wireless communication base station. IEEE802.11a, b, g, and n are examples of standards for wireless communication between a base station and a child device.

特開2019-29790号公報JP 2019-29790 A

IEEE802.11a、b、g、nによる無線通信では、例えば無線通信が広範囲に及ぶことによる電波干渉や無線フレームの衝突が生じたり、その衝突を回避するための処理が行われたりすることにより、遅延が生じ易い。このため、特許文献1に記載の通信システムでは、EtherCAT通信又はFL-net等の通信方式の利点を十分に活かせていない。 In wireless communication according to IEEE 802.11a, b, g, and n, for example, radio wave interference and wireless frame collision occur due to the spread of wireless communication over a wide area, and processing is performed to avoid such collision. Delays are likely to occur. Therefore, in the communication system described in Patent Document 1, the advantages of communication methods such as EtherCAT communication and FL-net cannot be fully utilized.

本発明は以上の事情に鑑みてなされたものであり、その主要な目的は、有線と無線で構築されたネットワークにおいて、低遅延で通信を行うことができる通信装置を提供することにある。 SUMMARY OF THE INVENTION The present invention has been made in view of the circumstances described above, and a main object thereof is to provide a communication apparatus capable of performing communication with low delay in a wired and wireless network.

課題を解決するための手段及び効果Means and Effects for Solving Problems

本発明の解決しようとする課題は以上の如くであり、次にこの課題を解決するための手段とその効果を説明する。 The problems to be solved by the present invention are as described above. Next, the means for solving the problems and the effects thereof will be described.

本発明の第1の観点によれば、以下の構成の通信装置が提供される。通信装置は、通信システムを構成する。通信システムは、有線親機と、複数の通信装置と、複数の無線子機とを備え、前記有線親機と前記複数の通信装置がデイジーチェーン方式又はリング方式で接続された有線ネットワークを有する。通信装置は、有線通信部と、無線通信部と、を備える。前記有線通信部は、前記有線親機に対して、子機として動作して有線通信を行う。前記無線通信部は、前記無線子機に対して、親機として動作して無線通信を行う。前記有線親機が送信したフレームが前記有線通信部を通過する際に当該有線通信部が前記フレームに対してデータの入出力を行う方式で有線通信が行われている。前記無線通信部と前記無線子機で行われる通信は、近距離無線通信であって、データを送受信する周期が一定であり、予め割り振られたチャンネルでデータを送受信する。 A first aspect of the present invention provides a communication device having the following configuration. A communication device constitutes a communication system. A communication system includes a wired parent device, a plurality of communication devices, and a plurality of wireless slave devices, and has a wired network in which the wired parent device and the plurality of communication devices are connected by a daisy chain method or a ring method. A communication device includes a wired communication unit and a wireless communication unit. The wired communication unit performs wired communication by operating as a child device with respect to the wired parent device. The wireless communication unit performs wireless communication by operating as a parent device with respect to the wireless slave device. Wired communication is performed in such a manner that when the frame transmitted by the wired parent device passes through the wired communication unit, the wired communication unit inputs and outputs data to the frame. The communication performed by the wireless communication unit and the wireless slave device is short-range wireless communication, in which the cycle of data transmission/reception is constant, and data is transmitted/received through a pre-assigned channel.

これにより、有線通信ではデイジーチェーン方式又はリング方式で接続された機器に共通のフレームを用いて通信を行うため、低遅延となる。無線通信においても、データを送受信する周期が一定であり、チャンネルが予め割り振られており、かつ近距離無線通信であるため干渉も生じにくく、低遅延となる。以上により、有線と無線が混在するネットワークで低遅延の通信が可能となる。 As a result, in wired communication, communication is performed using a common frame for devices connected by a daisy chain method or a ring method, resulting in low delay. Also in wireless communication, the period of data transmission/reception is constant, channels are allocated in advance, and short-range wireless communication is less likely to cause interference, resulting in low delay. As described above, low-delay communication becomes possible in a network in which wired and wireless are mixed.

前記の通信装置においては、前記無線通信部は、共通のチャンネルを用いて複数の無線子機に対してまとめてデータを送信することが好ましい。 In the communication device, it is preferable that the wireless communication unit collectively transmit data to a plurality of wireless slave units using a common channel.

これにより、短時間で複数の無線子機にデータを送信できる。 As a result, data can be transmitted to a plurality of wireless slave units in a short period of time.

前記の通信装置においては、前記有線通信部は、前記無線通信部が前記無線子機から受信したデータを前記フレームに入力して前記有線親機に送信することが好ましい。 In the communication device, it is preferable that the wired communication unit inputs the data received by the wireless communication unit from the wireless slave device into the frame and transmits the frame to the wired master device.

これにより、有線親機は低遅延で無線子機のデータを取得できる。 As a result, the wired base unit can acquire data from the wireless slave unit with low delay.

本発明の第2の観点によれば、前記通信装置の複数台が有線親機と有線で接続され、それぞれの前記通信装置は前記一又は複数の無線子機と無線通信が可能である通信システムが提供される。前記の通信システムにおいては、前記通信装置の前記無線通信部と前記一又は複数の前記無線子機との間の無線通信は、それぞれ互いに独立して行われる。 According to the second aspect of the present invention, a communication system in which a plurality of said communication devices are connected to a wired parent device by wire, and each said communication device is capable of wireless communication with said one or more wireless slave devices. is provided. In the communication system, wireless communication between the wireless communication unit of the communication device and the one or more wireless slave units is performed independently of each other.

これにより、無線通信を独立して行うことができるので、通信待ちの時間が短くなり、結果として遅延時間を低減できる。 As a result, the wireless communication can be performed independently, so the waiting time for communication can be shortened, and as a result, the delay time can be reduced.

本発明の第3の観点によれば、以下の構成の通信システムが提供される。即ち、通信システムは、有線親機と、複数の通信装置と、無線子機と、を備える。前記有線親機は、有線通信の親機として動作する。前記通信装置は、前記有線親機の子機として動作し、前記有線親機と有線通信を行うとともに、無線通信の親機として動作する。前記無線子機は、無線通信において前記通信装置の子機として動作する。前記有線親機と複数の前記通信装置は、デイジーチェーン方式又はリング方式で有線接続されている。前記有線親機が送信したフレームが前記通信装置を通過する際に当該通信装置が前記フレームに対してデータの入出力を行う方式で有線通信が行われている。前記通信装置と前記無線子機で行われる通信は、近距離無線通信であって、データを送受信する周期が一定であり、予め割り振られたチャンネルでデータを送受信する。 A third aspect of the present invention provides a communication system having the following configuration. That is, the communication system includes a wired master device, a plurality of communication devices, and a wireless slave device. The wired parent device operates as a wired communication parent device. The communication device operates as a child device of the wired parent device, performs wired communication with the wired parent device, and operates as a wireless communication parent device. The wireless slave device operates as a slave device of the communication device in wireless communication. The wired parent device and the plurality of communication devices are connected by wire using a daisy chain method or a ring method. Wired communication is performed in such a manner that when a frame transmitted by the wired parent device passes through the communication device, the communication device inputs and outputs data to the frame. The communication performed between the communication device and the wireless slave device is short-range wireless communication, in which the data transmission/reception cycle is constant and data is transmitted/received through a pre-assigned channel.

本発明の第4の観点によれば、以下の通信方法が提供される。即ち、通信方法は、有線通信ステップと、無線通信ステップと、を含む。前記有線通信ステップでは、有線通信の親機として動作する有線親機と、前記有線親機の子機として動作する複数の通信装置と、の間で有線通信を行う。前記無線通信ステップでは、無線通信の子機として動作する無線子機と、前記通信装置と、の間で無線通信を行う。前記有線親機と複数の前記通信装置は、デイジーチェーン方式又はリング方式で有線接続されている。前記有線親機が送信したフレームが前記通信装置を通過する際に当該通信装置が前記フレームに対してデータの入出力を行う方式で有線通信が行われている。前記通信装置と前記無線子機で行われる通信は、近距離無線通信であって、データを送受信する周期が一定であり、予め割り振られたチャンネルでデータを送受信する。 A fourth aspect of the present invention provides the following communication method. That is, the communication method includes a wired communication step and a wireless communication step. In the wired communication step, wired communication is performed between a wired parent device operating as a wired communication parent device and a plurality of communication devices operating as child devices of the wired parent device. In the wireless communication step, wireless communication is performed between a wireless slave device operating as a slave device for wireless communication and the communication device. The wired parent device and the plurality of communication devices are connected by wire using a daisy chain method or a ring method. Wired communication is performed in such a manner that when a frame transmitted by the wired parent device passes through the communication device, the communication device inputs and outputs data to the frame. The communication performed between the communication device and the wireless slave device is short-range wireless communication, in which the data transmission/reception cycle is constant and data is transmitted/received through a pre-assigned channel.

これにより、有線通信ではデイジーチェーン方式又はリング方式で接続された機器に共通のフレームを用いて通信を行うため、低遅延となる。無線通信においても、データを送受信する周期が一定であり、チャンネルが予め割り振られているので干渉も生じにくいため、低遅延となる。以上により、有線と無線が混在するネットワークで低遅延の通信が可能となる。 As a result, in wired communication, communication is performed using a common frame for devices connected by a daisy chain method or a ring method, resulting in low delay. In wireless communication as well, since the data transmission/reception cycle is constant and channels are allocated in advance, interference is less likely to occur, resulting in low delay. As described above, low-delay communication becomes possible in a network in which wired and wireless are mixed.

本発明の一実施形態に係る通信システムの概要図。1 is a schematic diagram of a communication system according to one embodiment of the present invention; FIG. 無線通信で用いるチャンネル、独立チャンネルID、共有チャンネルIDを示す表。A table showing channels used in wireless communication, independent channel IDs, and shared channel IDs. 通信装置が独立チャンネルIDを用いて1つの無線子機と通信する処理を示す図。FIG. 10 is a diagram showing processing in which a communication device communicates with one wireless slave device using an independent channel ID; 通信装置が共有チャンネルIDを用いて複数の無線子機と通信する処理を示す図。FIG. 10 is a diagram showing processing in which a communication device communicates with a plurality of wireless slave devices using a shared channel ID; 通信装置が有線親機からデータを受信したときに行う処理を示すフローチャート。4 is a flowchart showing processing performed when the communication device receives data from the wired parent device; 通信装置が無線子機にデータを送信するときに行う処理を示すフローチャート。6 is a flowchart showing processing performed when the communication device transmits data to the wireless slave device;

次に、図面を参照して本発明の実施形態を説明する。初めに、図1を参照して通信システム100の概要について説明する。 Embodiments of the present invention will now be described with reference to the drawings. First, an outline of a communication system 100 will be described with reference to FIG.

通信システム100は、工場等の施設に設けられている。通信システム100は、産業機械4を管理及び制御するために用いられる。産業機械4は、例えば、産業用ロボット又は工作機械等である。通信システム100は、有線親機1と、複数の通信装置2と、複数の無線子機3と、を備える。 A communication system 100 is provided in a facility such as a factory. Communication system 100 is used to manage and control industrial machine 4 . The industrial machine 4 is, for example, an industrial robot or a machine tool. A communication system 100 includes a wired master device 1 , a plurality of communication devices 2 , and a plurality of wireless slave devices 3 .

有線親機1は、サーバ又はパーソナルコンピュータであり、産業機械4の制御又は設定に関するデータを送信したり、産業機械4の状態に関するデータを受信したりする。 The wired master device 1 is a server or a personal computer, and transmits data regarding control or setting of the industrial machine 4 and receives data regarding the state of the industrial machine 4 .

通信装置2は、有線接続と無線接続が可能な装置である。通信装置2は、処理装置21と、記憶装置22と、有線通信部23と、無線通信部24と、を備える。 The communication device 2 is a device capable of wired connection and wireless connection. The communication device 2 includes a processing device 21 , a storage device 22 , a wired communication section 23 and a wireless communication section 24 .

処理装置21は、CPU又はSoC等である。記憶装置22は、フラッシュメモリ、HDD、又はSSD等であり、通信装置2の制御で用いられる設定及びプログラム等を記憶する。処理装置21は、記憶装置22に記憶されたプログラムを図略のRAMに読み出して実行することにより、通信装置2に関する制御を行う。 The processing device 21 is a CPU, SoC, or the like. The storage device 22 is a flash memory, HDD, SSD, or the like, and stores settings, programs, and the like used to control the communication device 2 . The processing device 21 controls the communication device 2 by reading a program stored in the storage device 22 into a RAM (not shown) and executing the program.

有線通信部23は、有線通信を行うためのモジュールであり、コネクタ及び信号変換器等で構成されている。無線通信部24は、無線通信を行うためのモジュールであり、アンテナ及び増幅回路等で構成されている。 The wired communication unit 23 is a module for performing wired communication, and includes a connector, a signal converter, and the like. The wireless communication unit 24 is a module for wireless communication, and includes an antenna, an amplifier circuit, and the like.

無線子機3は、無線通信が可能であるとともに、産業機械4に有線で接続される。これにより、無線子機3は、産業機械4を無線で通信システム100に接続する中継器として機能する。具体的には、例えば無線子機3は、産業機械4との間で有線によりデータの入出力を行い、通信システム100との間で当該データを無線で通信する。なお、無線子機3は、産業機械4の筐体内に組み込まれていてもよい。 The wireless slave device 3 is capable of wireless communication and is connected to the industrial machine 4 by wire. Thereby, the wireless slave device 3 functions as a repeater that wirelessly connects the industrial machine 4 to the communication system 100 . Specifically, for example, the wireless slave device 3 performs wired data input/output with the industrial machine 4 and wirelessly communicates the data with the communication system 100 . Note that the wireless slave device 3 may be incorporated in the housing of the industrial machine 4 .

有線親機1と複数の通信装置2は、有線ネットワークで接続されている。具体的には、有線親機1と複数の通信装置2は、デイジーチェーン方式又はリング方式で接続されている。また、通信装置2と無線子機3は無線ネットワークで接続されている。このように、通信システム100は、有線と無線の両方のネットワークを含んで構成されている。 A wired master device 1 and a plurality of communication devices 2 are connected by a wired network. Specifically, the wired master device 1 and the plurality of communication devices 2 are connected by a daisy chain method or a ring method. Also, the communication device 2 and the wireless slave device 3 are connected via a wireless network. Thus, the communication system 100 includes both wired and wireless networks.

次に、有線ネットワークの通信方式について説明する。本実施形態では、EtherCAT(登録商標)により有線親機1と通信装置2が通信を行う。具体的には、有線親機1が有線通信の親機(マスター機)として動作し、通信装置2が有線通信の子機(スレーブ機)として動作する。有線親機1と複数の通信装置2は、当該有線ネットワークの通信方式を採用することで、定周期及び低遅延の通信に対応できる。 Next, the communication system of the wired network will be explained. In this embodiment, the wired base unit 1 and the communication device 2 communicate with each other by EtherCAT (registered trademark). Specifically, the wired parent device 1 operates as a wired communication parent device (master device), and the communication device 2 operates as a wired communication child device (slave device). The wired base unit 1 and the plurality of communication devices 2 can support fixed-cycle and low-delay communication by adopting the communication method of the wired network.

本実施形態の通信方式では、有線親機1は、図1に示すフレーム10を送信する。有線親機1が送信したフレーム10は、有線ネットワークを構成する全ての通信装置2を経由し、有線親機1に戻る。このフレーム10は、ヘッダと、複数のデータグラムと、誤り検知のためのFCS等を含んでいる。1つのデータグラムは、1つの通信装置2に対応している。通信装置2は、データグラムに記述された情報に基づいて、フレーム10に応答データを格納したり、フレーム10に記述されたデータを記憶したりする(詳細は後述)。 In the communication system of this embodiment, the wired master device 1 transmits a frame 10 shown in FIG. A frame 10 transmitted by the wired master device 1 returns to the wired master device 1 via all the communication devices 2 forming the wired network. This frame 10 includes a header, a plurality of datagrams, an FCS for error detection, and the like. One datagram corresponds to one communication device 2 . Based on the information described in the datagram, the communication device 2 stores response data in the frame 10 and stores data described in the frame 10 (details will be described later).

一般的な有線LANによる通信では、送信を行う主体が複数あり、フレームの送信先が様々であるため、フレームが衝突することを回避するために待ち時間等が設定される。その結果、遅延が生じるとともに、遅延時間にもバラツキが生じる。この点、本実施形態の通信方式では、送信を行う主体は有線親機1のみであり、フレームの送信経路も1つであるため、遅延が生じにくい。本実施形態では、有線ネットワークとしてEtherCATを用いたが、同種の通信を行う他の通信方式、例えばメカトロリンク(登録商標)又はSERCOS(登録商標)等を用いてもよい。 In general wired LAN communication, there are a plurality of entities that perform transmission, and frames are sent to various destinations. As a result, a delay occurs and the delay time also varies. In this regard, in the communication system of the present embodiment, the transmission is performed only by the wired base unit 1, and the number of frame transmission paths is one, so delay is unlikely to occur. In this embodiment, EtherCAT is used as a wired network, but other communication methods for performing the same type of communication, such as Mechatrolink (registered trademark) or SERCOS (registered trademark), may be used.

次に、図2から図4を参照して、無線ネットワークの通信方式について説明する。本実施形態では、ANT通信を用いて、通信装置2と無線子機3との間で無線通信を行う。ANT通信は、近距離無線通信を代表する例である。 Next, the communication method of the wireless network will be described with reference to FIGS. 2 to 4. FIG. In this embodiment, wireless communication is performed between the communication device 2 and the wireless slave device 3 using ANT communication. ANT communication is a representative example of short-range wireless communication.

ANT通信は、マスタースレーブ方式であり、全ての通信装置2はANT通信の親機として動作する。つまり、図1に示す例では、通信装置2A、2B及び2Cをそれぞれ親機とする3つのANT通信の無線ネットワークが存在することとなる。ANT通信では、事前にチャンネル及びIDが割り振られる。そのため、通信中に空いているチャンネルを探索する処理が不要であるため、ANT通信は、通信状況に応じてチャンネルを変更する方式と比較して、遅延が生じにくい。また、ANT通信は、無線通信の範囲が近距離(例えば、5m~10mなど)であり、予め決められた周期(定周期)でマスタースレーブ間の通信が行われ得る。 ANT communication is a master-slave system, and all communication devices 2 operate as masters of ANT communication. In other words, in the example shown in FIG. 1, there are three wireless networks for ANT communication, each having the communication devices 2A, 2B and 2C as master devices. In ANT communication, channels and IDs are assigned in advance. Therefore, since processing for searching for an available channel during communication is not required, ANT communication is less likely to cause delays than methods that change channels according to communication conditions. In ANT communication, the range of wireless communication is short distance (for example, 5 m to 10 m), and communication between master and slave can be performed at a predetermined cycle (fixed cycle).

図2には、通信装置2及び無線子機3に割り振られたチャンネル及びIDが示されている。図1に示すように、通信装置2Aは無線子機3A,3Bと通信を行う。無線通信の親機と子機は同じチャンネルを用いて通信を行う。従って、通信装置2Aのチャンネルと、無線子機3A,3Bのチャンネルは同じである。通信装置2Bについても同様に、同じチャンネルを用いて無線子機3C、3D及び3Eと通信する。 FIG. 2 shows the channels and IDs assigned to the communication device 2 and the wireless slave device 3 . As shown in FIG. 1, a communication device 2A communicates with wireless slave devices 3A and 3B. The wireless communication parent and child devices communicate using the same channel. Therefore, the channel of the communication device 2A and the channel of the wireless slave devices 3A and 3B are the same. Similarly, the communication device 2B communicates with the wireless slave devices 3C, 3D and 3E using the same channel.

ANT通信では、独立チャンネルIDを用いた1対1の通信が可能である。独立チャンネルIDを用いる場合、通信装置2と無線子機3で予め定めた独立チャンネルIDを設定した後に、図3に示すようにANT通信を行う。具体的には、通信装置2と無線子機3でペアリングを行った後に、無線通信を開始する。1回(1スロット)の通信は送受信をペアとして行う。つまり、親機である通信装置2が無線子機3にデータを送信した後に、無線子機3が通信装置2にデータを送信する。また、1スロットの通信周期も予め定められている。 In ANT communication, one-to-one communication using independent channel IDs is possible. When using an independent channel ID, after setting a predetermined independent channel ID in the communication device 2 and the wireless slave device 3, ANT communication is performed as shown in FIG. Specifically, after the communication device 2 and the wireless slave device 3 are paired, wireless communication is started. One time (one slot) communication is performed as a pair of transmission and reception. That is, the wireless slave device 3 transmits data to the communication device 2 after the communication device 2 serving as the parent device transmits data to the wireless slave device 3 . In addition, the communication cycle of one slot is also determined in advance.

ANT通信では、更に、共有チャンネルIDを用いた1対多の通信も可能である。共有チャンネルIDを用いる場合、通信装置2と複数の無線子機3で予め定めた共有チャンネルIDを設定した後に、図4に示すようにANT通信を行う。具体的には、通信装置2と複数の無線子機3でそれぞれペアリングを行った後に、無線通信を開始する。1回の通信は送受信をペアとして行う。つまり、通信装置2は、複数の無線子機3にブロードキャストでデータを送信した後に、無線子機3がブロードキャストにより通信装置2にデータを送信する。また、通信周期も予め定められている。 ANT communication also allows one-to-many communication using a shared channel ID. When using a shared channel ID, after setting a predetermined shared channel ID in the communication device 2 and the plurality of wireless slave devices 3, ANT communication is performed as shown in FIG. Specifically, after pairing is performed between the communication device 2 and the plurality of wireless slave devices 3, wireless communication is started. In one communication, transmission and reception are performed as a pair. That is, after the communication device 2 transmits data to the plurality of wireless slave devices 3 by broadcasting, the wireless slave device 3 transmits data to the communication device 2 by broadcasting. A communication cycle is also predetermined.

通信周期が予め定められていることにより、送信時間のバラツキを軽減したり、遅延時間を短くしたりすることができる。また、予めチャンネルを割り振って、定められた周期で無線通信を行うのであれば、ANT通信に限られず、他の通信方式を用いてもよい。 Since the communication cycle is predetermined, it is possible to reduce variations in transmission time and shorten delay time. Further, if a channel is allocated in advance and wireless communication is performed at a predetermined cycle, other communication methods may be used without being limited to ANT communication.

次に、図5及び図6を参照して、通信装置2が行う有線通信及び無線通信の流れを説明する。初めに、図5を参照して、通信装置2が有線親機1からフレーム10を受信したときに行う処理を説明する。 Next, the flow of wired communication and wireless communication performed by the communication device 2 will be described with reference to FIGS. 5 and 6. FIG. First, with reference to FIG. 5, the processing performed when the communication device 2 receives the frame 10 from the wired master device 1 will be described.

通信装置2は、有線通信のデータ(フレーム10)を受信した場合(S101)、データグラムのデバイスアドレスが自身のアドレスに一致するか否かを判断する(S102)。データグラムのデバイスアドレスが自身のアドレスに一致する場合、通信装置2は、データグラムにwriteコマンドが含まれているか否かを判断する(S103)。 When receiving wired communication data (frame 10) (S101), the communication device 2 determines whether or not the device address of the datagram matches its own address (S102). If the device address of the datagram matches its own address, the communication device 2 determines whether the datagram includes a write command (S103).

データグラムには、writeコマンドとreadコマンドの何れかが含まれている。writeコマンドとは、フレーム10を受信した通信装置2がデータグラムに含まれているデータを制御先である無線子機3(結果的には産業機械4)に対して書き込みを行うことを指示するコマンドである。本実施形態では、データグラムにwriteコマンドが含まれている場合、通信装置2は、無線送信バッファに指定されたデータを格納する(S104)。無線送信バッファとは無線送信を行うために一時的にデータを記憶しておく領域である。具体的には、無線送信バッファは記憶装置22により実現される。 A datagram contains either a write command or a read command. The write command instructs the communication device 2 that received the frame 10 to write the data contained in the datagram to the wireless slave device 3 (resultingly, the industrial machine 4) that is the control destination. is a command. In this embodiment, when the datagram includes a write command, the communication device 2 stores the specified data in the wireless transmission buffer (S104). A wireless transmission buffer is an area for temporarily storing data for wireless transmission. Specifically, the wireless transmission buffer is implemented by the storage device 22 .

データグラムにwriteコマンドが含まれていない場合(言い換えればデータグラムreadコマンドが含まれている場合)、通信装置2は、無線受信バッファにデータが格納されているか否かを判断する(S105)。無線受信バッファとは、無線子機3を介して産業機械4から無線で受信したデータを一時的に記憶しておく領域である。具体的には、無線受信バッファは記憶装置22により実現される。無線受信バッファにデータが格納されている場合、通信装置2は、このデータを有線親機1から送信されたフレーム10のデータグラムに格納する(S106)。 If the datagram does not contain a write command (in other words, if it contains a datagram read command), the communication device 2 determines whether data is stored in the wireless reception buffer (S105). The wireless reception buffer is an area for temporarily storing data wirelessly received from the industrial machine 4 via the wireless slave device 3 . Specifically, the wireless reception buffer is realized by the storage device 22 . When data is stored in the wireless reception buffer, the communication device 2 stores this data in the datagram of the frame 10 transmitted from the wired master device 1 (S106).

次に、図6を参照して、通信装置2が無線子機3との間で無線通信を行う処理を説明する。 Next, with reference to FIG. 6, the process of performing wireless communication between the communication device 2 and the wireless slave device 3 will be described.

上述したように、通信装置2と無線子機3の間の無線通信は予め定められた周期で行われる。通信装置2は、その通信周期が到来したか否かを判断する(S201)。通信装置2は、通信周期が到来したと判断した場合、無線送信バッファにデータが格納されているか否かを判断する(S202)。 As described above, wireless communication between the communication device 2 and the wireless slave device 3 is performed at predetermined intervals. The communication device 2 determines whether or not the communication cycle has arrived (S201). When determining that the communication cycle has arrived, the communication device 2 determines whether data is stored in the wireless transmission buffer (S202).

無線送信バッファにデータが格納されている場合、通信装置2は、このデータを無線子機3に送信する(S203)。一方、無線送信バッファにデータが格納されていない場合、通信装置2は、無線子機3からの受信データが有るか否かを判断する(S204)。通信装置2は、無線子機3からの受信データがある場合、このデータを無線受信バッファに格納する(S205)。 When data is stored in the wireless transmission buffer, the communication device 2 transmits this data to the wireless slave device 3 (S203). On the other hand, if no data is stored in the wireless transmission buffer, the communication device 2 determines whether or not there is data received from the wireless slave device 3 (S204). If there is data received from the wireless slave device 3, the communication device 2 stores this data in the wireless reception buffer (S205).

図5及び図6で示す各処理を繰り返すことにより、通信装置2は、有線親機1から受信したデータを産業機械4に送信したり、産業機械4から受信したデータを有線親機1に送信したりすることができる。また、上述したように、本実施形態の有線通信及び無線通信は低遅延かつ定周期である。従って、遅延等の影響が大きい産業機械4を適切に制御できる。 By repeating each process shown in FIGS. 5 and 6, the communication device 2 transmits data received from the wired master device 1 to the industrial machine 4, and transmits data received from the industrial machine 4 to the wired master device 1. You can Moreover, as described above, the wired communication and the wireless communication of the present embodiment are low-delay and periodic. Therefore, it is possible to appropriately control the industrial machine 4 which is greatly affected by delays and the like.

以上に説明したように、本実施形態の通信装置2は、通信システム100を構成する。通信システム100は、有線親機1と、複数の通信装置2と、複数の無線子機3とを備え、有線親機1と複数の通信装置2がデイジーチェーン方式又はリング方式で接続された有線ネットワークを有する。通信装置2は、有線通信部23と、無線通信部24と、を備える。有線通信部23は、有線親機1に対して、子機として動作して有線通信を行う。無線通信部24は、無線子機3に対して、親機として動作して無線通信を行う。有線親機1が送信したフレーム10が有線通信部23を通過する際に有線通信部23がフレーム10に対してデータの入出力を行う方式で有線通信が行われている。無線通信部24と無線子機3で行われる通信は、近距離無線通信であって、データを送受信する周期が一定であり、予め割り振られたチャンネルでデータを送受信する。 As described above, the communication device 2 of this embodiment configures the communication system 100 . The communication system 100 includes a wired master device 1, a plurality of communication devices 2, and a plurality of wireless slave devices 3. The wired master device 1 and the plurality of communication devices 2 are connected by a daisy chain method or a ring method. have a network; The communication device 2 includes a wired communication section 23 and a wireless communication section 24 . The wired communication unit 23 operates as a child device with respect to the wired master device 1 and performs wired communication. The wireless communication unit 24 performs wireless communication with the wireless slave device 3 by operating as a master device. Wired communication is performed by a method in which the wired communication unit 23 inputs and outputs data to the frame 10 when the frame 10 transmitted by the wired master device 1 passes through the wired communication unit 23 . The communication between the wireless communication unit 24 and the wireless slave device 3 is short-range wireless communication, in which the data transmission/reception cycle is constant, and data is transmitted/received through a pre-assigned channel.

これにより、有線通信ではデイジーチェーン方式又はリング方式で接続された機器に共通のフレーム10を用いて通信を行うため、低遅延となる。無線通信においても、データを送受信する周期が一定であり、チャンネルが予め割り振られており、かつ近距離無線通信であるため干渉も生じにくく、低遅延となる。以上により、有線と無線が混在するネットワークで低遅延の通信が可能となる。 As a result, in wired communication, communication is performed using a common frame 10 for devices connected in a daisy chain system or a ring system, resulting in low delay. Also in wireless communication, the period of data transmission/reception is constant, channels are allocated in advance, and short-range wireless communication is less likely to cause interference, resulting in low delay. As described above, low-delay communication becomes possible in a network in which wired and wireless are mixed.

本実施形態の通信装置2において、無線通信部24は、共通のチャンネルを用いて複数の無線子機3に対してまとめてデータを送信する。 In the communication device 2 of this embodiment, the wireless communication unit 24 collectively transmits data to the plurality of wireless slave units 3 using a common channel.

これにより、短時間で複数の無線子機3にデータを送信できる。 As a result, data can be transmitted to a plurality of wireless slave units 3 in a short period of time.

本実施形態の通信装置2において、有線通信部23は、無線通信部24が無線子機3から受信したデータをフレーム10に入力して有線親機1に送信する。 In the communication device 2 of the present embodiment, the wired communication unit 23 inputs the data received by the wireless communication unit 24 from the wireless slave device 3 into the frame 10 and transmits the frame 10 to the wired master device 1 .

これにより、有線親機1は低遅延で無線子機のデータを取得できる。 As a result, the wired master device 1 can acquire the data of the wireless slave device with low delay.

以上に本発明の好適な実施形態を説明したが、上記の構成は例えば以下のように変更することができる。 Although the preferred embodiment of the present invention has been described above, the above configuration can be modified as follows, for example.

上述の実施形態では、通信装置2が無線子機3との間で無線通信を行う構成で説明したが、複数の通信装置2と複数の無線子機3との間で連携して無線通信を行う場合について説明する。例えば、有線親機1が複数の産業機械4の管理及び制御をできるだけ同じタイミングで処理したいことがある。具体的には、産業用ロボットを用いて、複数の製品を同時に効率よく製造する場合などにおいては、複数の産業用ロボットが同じタイミングで同じ動作(例えば、物を掴むなど)を行う必要がある。図1及び図2を用いて説明すると、複数の産業機械4に有線で接続される無線子機3Aから3Eは、それぞれが接続する産業機械4とできるだけ同じタイミングで通信する必要がある。このような場合、1つの通信装置2と複数の無線子機3(3A~3E)との間で無線通信を行うと、その通信装置2の負荷が大きくなり、遅延が生じ得るため、上述の複数の産業機械4の管理及び制御をできるだけ同じタイミングで処理することが困難になり得る。そこで、複数の通信装置2を用いて、複数の無線子機3A~3Eとの通信が同じタイミングになるよう連携しつつも、各々独立チャンネルIDで通信する複数の通信装置2(例えば、2A及び2B)に無線子機3を振り分け、通信装置2Aは無線子機3A及び3Bと、通信装置2Bは無線子機3C,3D及び3Eとそれぞれ独立に通信させる結果、1つの通信装置2あたりの負荷を下げることが可能となり、遅延時間を低減できる。 In the above-described embodiment, the communication device 2 performs wireless communication with the wireless slave device 3. However, a plurality of communication devices 2 and a plurality of wireless slave devices 3 cooperate to perform wireless communication. A case of doing so will be described. For example, the wired master device 1 may want to manage and control a plurality of industrial machines 4 at the same timing as much as possible. Specifically, when industrial robots are used to efficiently manufacture multiple products at the same time, it is necessary for multiple industrial robots to perform the same action (for example, grabbing an object) at the same timing. . 1 and 2, the wireless slave devices 3A to 3E connected by wires to a plurality of industrial machines 4 need to communicate with the industrial machines 4 to which they are connected at the same timing as much as possible. In such a case, when wireless communication is performed between one communication device 2 and a plurality of wireless slave devices 3 (3A to 3E), the load on the communication device 2 increases and delays may occur. It may be difficult to manage and control a plurality of industrial machines 4 at the same timing as much as possible. Therefore, a plurality of communication devices 2 (for example, 2A and 2B), the communication device 2A communicates independently with the wireless slave devices 3A and 3B, and the communication device 2B independently communicates with the wireless slave devices 3C, 3D and 3E. can be lowered, and the delay time can be reduced.

これにより、無線通信を独立して行うことができるので、通信待ちの時間が短くなり、結果として遅延時間を低減できる。 As a result, the wireless communication can be performed independently, so the waiting time for communication can be shortened, and as a result, the delay time can be reduced.

以上に本発明の好適な実施の形態を説明したが、上記の構成は例えば以下のように変更することができる。 Although the preferred embodiments of the present invention have been described above, the above configuration can be modified, for example, as follows.

通信システム100が設けられる施設は工場に限られず、例えばオフィス又は店舗等であってもよい。 The facility where the communication system 100 is installed is not limited to a factory, and may be an office, a store, or the like.

上記実施形態で示したフローチャートは一例であり、一部の処理を省略したり、一部の処理の内容を変更したり、新たな処理を追加したりしてもよい。 The flowcharts shown in the above embodiments are examples, and some of the processes may be omitted, the contents of some of the processes may be changed, or new processes may be added.

本発明は、有線と無線が混在するネットワークで低遅延を要する無線通信システムに適用できる。特に、デイジーチェーン方式又はリング方式で接続された有線ネットワーク(例えば、EtherCAT)などに有用である。 INDUSTRIAL APPLICABILITY The present invention can be applied to a wireless communication system that requires low delay in a mixed wired and wireless network. In particular, it is useful for wired networks (for example, EtherCAT) connected in a daisy chain system or a ring system.

1 有線親機
2 通信装置
3 無線子機
21 処理装置
22 記憶装置
23 有線通信部
24 無線通信部
100 通信システム
REFERENCE SIGNS LIST 1 wired parent device 2 communication device 3 wireless slave device 21 processing device 22 storage device 23 wired communication unit 24 wireless communication unit 100 communication system

Claims (6)

有線親機と、複数の通信装置と、複数の無線子機とを備え、前記有線親機と前記複数の通信装置がデイジーチェーン方式又はリング方式で接続された有線ネットワークにおける、通信システムの通信装置であって、
前記有線親機に対して、子機として動作して有線通信を行う有線通信部と、
前記無線子機に対して、親機として動作して無線通信を行う無線通信部と、
を備え、
前記有線親機が送信したフレームが前記有線通信部を通過する際に当該有線通信部が前記フレームに対してデータの入出力を行う方式で有線通信が行われており、
前記無線通信部と前記無線子機で行われる通信は、近距離無線通信であって、データを送受信する周期が一定であり、予め割り振られたチャンネルでデータを送受信することを特徴とする通信装置。
A communication device for a communication system in a wired network comprising a wired parent device, a plurality of communication devices, and a plurality of wireless slave devices, wherein the wired parent device and the plurality of communication devices are connected by a daisy chain method or a ring method. and
a wired communication unit that operates as a child device and performs wired communication with respect to the wired parent device;
a wireless communication unit that operates as a parent device and performs wireless communication with the wireless slave device;
with
When the frame transmitted by the wired parent device passes through the wired communication unit, the wired communication unit inputs and outputs data to and from the frame.
A communication apparatus characterized in that the communication performed by the wireless communication unit and the wireless slave device is short-range wireless communication, the cycle of data transmission and reception is constant, and data is transmitted and received through a pre-assigned channel. .
請求項1に記載の通信装置であって、
前記無線通信部は、共通のチャンネルを用いて複数の無線子機に対してまとめてデータを送信することを特徴とする通信装置。
A communication device according to claim 1,
The communication device, wherein the wireless communication unit collectively transmits data to a plurality of wireless slave units using a common channel.
請求項1又は2に記載の通信装置であって、
前記有線通信部は、前記無線通信部が前記無線子機から受信したデータを前記フレームに入力して前記有線親機に送信することを特徴とする通信装置。
The communication device according to claim 1 or 2,
The communication apparatus, wherein the wired communication unit inputs data received by the wireless communication unit from the wireless slave device into the frame and transmits the frame to the wired master device.
請求項1から3までの何れか一項に記載の前記通信装置の複数台が有線親機と有線で接続され、それぞれの前記通信装置は前記一又は複数の無線子機と無線通信が可能である通信システムにおいて、
前記通信装置の前記無線通信部と前記一又は複数の前記無線子機との間の無線通信は、それぞれ互いに独立して行われることを特徴とする通信システム。
A plurality of the communication devices according to any one of claims 1 to 3 are connected to a wired master device by wire, and each of the communication devices is capable of wireless communication with the one or more wireless slave devices. In a communication system,
A communication system, wherein wireless communication between the wireless communication unit of the communication device and the one or more wireless slave units is performed independently of each other.
有線通信の親機として動作する有線親機と、
前記有線親機の子機として動作し、前記有線親機と有線通信を行うとともに、無線通信の親機として動作する複数の通信装置と、
無線通信において前記通信装置の子機として動作する無線子機と、
を備え、
前記有線親機と複数の前記通信装置は、デイジーチェーン方式又はリング方式で有線接続されており、
前記有線親機が送信したフレームが前記通信装置を通過する際に当該通信装置が前記フレームに対してデータの入出力を行う方式で有線通信が行われており、
前記通信装置と前記無線子機で行われる通信は、近距離無線通信であって、データを送受信する周期が一定であり、予め割り振られたチャンネルでデータを送受信することを特徴とする通信システム。
A wired parent device that operates as a wired communication parent device,
a plurality of communication devices that operate as child devices of the wired parent device, perform wired communication with the wired parent device, and operate as wireless communication parent devices;
a wireless slave device that operates as a slave device of the communication device in wireless communication;
with
the wired parent device and the plurality of communication devices are connected by wire using a daisy chain method or a ring method;
Wired communication is performed by a method in which the communication device inputs and outputs data to the frame when the frame transmitted by the wired parent device passes through the communication device,
A communication system according to claim 1, wherein the communication performed between the communication device and the wireless slave device is short-distance wireless communication, data is transmitted and received at a constant cycle, and data is transmitted and received through a pre-assigned channel.
有線通信の親機として動作する有線親機と、前記有線親機の子機として動作する複数の通信装置と、の間で有線通信を行う有線通信ステップと、
無線通信の子機として動作する無線子機と、前記通信装置と、の間で無線通信を行う無線通信ステップと、
を含み、
前記有線親機と複数の前記通信装置は、デイジーチェーン方式又はリング方式で有線接続されており、
前記有線親機が送信したフレームが前記通信装置を通過する際に当該通信装置が前記フレームに対してデータの入出力を行う方式で有線通信が行われており、
前記通信装置と前記無線子機で行われる通信は、近距離無線通信であって、データを送受信する周期が一定であり、予め割り振られたチャンネルでデータを送受信することを特徴とする通信方法。
a wired communication step of performing wired communication between a wired parent device operating as a wired communication parent device and a plurality of communication devices operating as child devices of the wired parent device;
a wireless communication step of performing wireless communication between a wireless slave device operating as a wireless communication slave device and the communication device;
including
the wired parent device and the plurality of communication devices are connected by wire using a daisy chain method or a ring method;
Wired communication is performed in such a manner that when the frame transmitted by the wired parent device passes through the communication device, the communication device inputs and outputs data to the frame,
A communication method according to claim 1, wherein the communication performed between the communication device and the wireless slave device is short-range wireless communication, data is transmitted and received at a constant cycle, and data is transmitted and received through a pre-assigned channel.
JP2021056983A 2021-03-30 2021-03-30 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD Active JP7462956B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021056983A JP7462956B2 (en) 2021-03-30 2021-03-30 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021056983A JP7462956B2 (en) 2021-03-30 2021-03-30 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2022154103A true JP2022154103A (en) 2022-10-13
JP7462956B2 JP7462956B2 (en) 2024-04-08

Family

ID=83557141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021056983A Active JP7462956B2 (en) 2021-03-30 2021-03-30 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP7462956B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271100B (en) 2011-09-05 2014-11-05 国电南京自动化股份有限公司 Gateway device between EtherCAT industrial Ethernet and wireless Zigbee and protocol conversion method of gateway device
WO2016111155A1 (en) 2015-01-07 2016-07-14 三菱電機株式会社 Wireless communication device, wireless communication system, and wireless communication method
KR101789977B1 (en) 2015-08-19 2017-10-25 미쓰비시덴키 가부시키가이샤 Wireless master station, wireless slave station, wireless communication system and wireless communication method
JP6757976B2 (en) 2017-07-28 2020-09-23 サイレックス・テクノロジー株式会社 Base stations, control systems, and base station control methods
JP7192608B2 (en) 2019-03-26 2022-12-20 オムロン株式会社 Network management device, management method, management program and recording medium

Also Published As

Publication number Publication date
JP7462956B2 (en) 2024-04-08

Similar Documents

Publication Publication Date Title
JP6355863B1 (en) Network system and communication method
US8837354B2 (en) Apparatus and method for supporting wireless actuators and other devices in process control systems
JP2022501892A (en) Sending and receiving packets wirelessly
US7161903B2 (en) Control station, apparatus and network system
US20220124841A1 (en) Human machine interface for mission critical wireless communication link nodes
JP2014030168A (en) Relay communication system and relay communication device
CN101459568A (en) Field network system
CN109716247B (en) Arithmetic device and control system
EP3220710B1 (en) Wireless communication apparatus and wireless communication method
JP2022154103A (en) Communication device, communication system, and communication method
WO2021024760A1 (en) Wireless communication system, wireless communication device, and wireless communication control method
JP4600697B2 (en) Network equipment test system
JP6757976B2 (en) Base stations, control systems, and base station control methods
JP7315980B2 (en) BASE STATION, COMMUNICATION SYSTEM AND METHOD OF CONTROLLING BASE STATION
JP6737104B2 (en) Wireless communication device, wireless communication program, and wireless communication system
US11489697B2 (en) Transmission of data on a local bus
JP5414916B2 (en) Engineering tools and programmable controllers
WO2021214966A1 (en) Communication device, communication system, communication method, and program
JP7086542B2 (en) Receiver, transmitter, wireless communication system and wireless communication method
JP7072231B2 (en) Communication devices, communication systems, communication methods, and programs
EP3513597B1 (en) Methods, first transmit device and relay device for supporting wireless communication
JP2023130202A (en) Communication system, access point, station, and communication method
KR101726343B1 (en) Multi-band serial communication device and data communication method using it
JP6246510B2 (en) Wireless communication system, wireless communication device, main arbitration device, and wireless communication method
CN117082157A (en) Industrial Ethernet communication method, device and medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230824

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240319

R150 Certificate of patent or registration of utility model

Ref document number: 7462956

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150