JP2024021986A - Communication control device, communication control method and data collection system - Google Patents

Communication control device, communication control method and data collection system Download PDF

Info

Publication number
JP2024021986A
JP2024021986A JP2022125234A JP2022125234A JP2024021986A JP 2024021986 A JP2024021986 A JP 2024021986A JP 2022125234 A JP2022125234 A JP 2022125234A JP 2022125234 A JP2022125234 A JP 2022125234A JP 2024021986 A JP2024021986 A JP 2024021986A
Authority
JP
Japan
Prior art keywords
communication control
communication
transmission timing
control device
sensing 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.)
Pending
Application number
JP2022125234A
Other languages
Japanese (ja)
Inventor
将照 山岸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SMK Corp
Original Assignee
SMK Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SMK Corp filed Critical SMK Corp
Priority to JP2022125234A priority Critical patent/JP2024021986A/en
Publication of JP2024021986A publication Critical patent/JP2024021986A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】送信タイミングを他の端末装置の送信タイミングとずらすことができる通信制御装置、通信制御方法及びデータ収集システムを提供する。【解決手段】機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定する、通信制御装置である。【選択図】図5The present invention provides a communication control device, a communication control method, and a data collection system that can shift transmission timing from transmission timing of other terminal devices. A communication control device that performs calculations using division values obtained by dividing a MAC address assigned to each device, and sets transmission timing based on the calculation results. [Selection diagram] Figure 5

Description

本発明は、通信制御装置、通信制御方法及びデータ収集システムに関する。 The present invention relates to a communication control device, a communication control method, and a data collection system.

複数の端末装置から、当該端末装置が有するセンサーで測定されたセンシングデータを収集するシステムが知られている。係るシステムは、例えば、スマートグリッド、ビルの照明管理、インフラのモニタリング、防犯システム、高齢者見守りサービス、スマート農業等で用いられている。特に、サブギガヘルツ周波数帯(例えば、920MHz前後の帯域)を用いた無線通信は、Wi-Fi(登録商標)やBLE(Bluetooth Low Energy)に比べて電波が遠くまで伝搬し、障害物による影響を受けづらく、電波干渉が少ない等の利点から、上述したシステムでの利用が期待されている。 A system is known that collects sensing data measured by a sensor included in a plurality of terminal devices from a plurality of terminal devices. Such systems are used, for example, in smart grids, building lighting management, infrastructure monitoring, crime prevention systems, elderly monitoring services, smart agriculture, etc. In particular, wireless communication using sub-gigahertz frequency bands (for example, around 920 MHz) allows radio waves to propagate farther than Wi-Fi (registered trademark) or BLE (Bluetooth Low Energy), and is less susceptible to interference from obstacles. It is expected to be used in the above-mentioned system due to its advantages such as being difficult to receive radio waves and causing little radio wave interference.

上述したシステムでは、センシングデータを収集する際に端末装置毎の送信タイミングをずらすことで、送信データが衝突してしまうことを回避することが求められる。例えば、下記の特許文献1には、複数のセンサが、自身に付与されているMAC(Media Access Control)アドレスに基づいて、データを送信するまでの遅延時間を決定する技術が記載されている。また、特許文献1には、遅延時間は、乱数に基づくランダム値Rnを用いて決定することや、MACアドレスの全桁を用いることで、個別のランダム値Rnを算出することが記載されている。さらに、特許文献1には、MACアドレスの一部、具体的には、MACアドレスの下位8ビットからランダム値Rnを算出することも記載されている。 In the above-described system, it is required to avoid collisions of transmitted data by shifting the transmission timing of each terminal device when collecting sensing data. For example, Patent Document 1 listed below describes a technique in which a plurality of sensors determine a delay time until data is transmitted based on MAC (Media Access Control) addresses assigned to the sensors themselves. Further, Patent Document 1 describes that the delay time is determined using a random value Rn based on random numbers, and that an individual random value Rn is calculated using all digits of the MAC address. . Further, Patent Document 1 also describes that a random value Rn is calculated from a part of the MAC address, specifically, from the lower 8 bits of the MAC address.

特開2018-197925号公報JP2018-197925A

しかしながら、MACアドレスは通常、連番で付与されるため、MACアドレスの下位8ビットも連番、若しくは、近い値となり得る。このため、特許文献1に記載されているように、MACアドレスの全桁や下位の一部に基づく遅延時間では、遅延時間のランダム性を十分担保できない、換言すれば、十分に送信タイミングをずらすことができず、送信データが衝突してしまう虞がある。 However, since MAC addresses are usually assigned as consecutive numbers, the lower 8 bits of the MAC address can also be consecutive numbers or a close value. For this reason, as described in Patent Document 1, the delay time based on all digits or a part of the lower digits of the MAC address cannot sufficiently ensure the randomness of the delay time. In other words, the transmission timing cannot be sufficiently shifted. There is a risk that the transmitted data will collide.

本発明は、異なる端末装置間の送信タイミングを必要十分にずらすことが可能な通信制御装置、通信制御方法及びデータ収集システムを提供することを目的の一つとする。 One of the objects of the present invention is to provide a communication control device, a communication control method, and a data collection system that can shift the transmission timing between different terminal devices to a necessary and sufficient degree.

本発明は、
機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定する、
通信制御装置である。
The present invention
Perform calculations using the divided values obtained by dividing the MAC address assigned to each device, and set the transmission timing based on the calculation results.
It is a communication control device.

本発明は、
機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定する、
通信制御方法である。
The present invention
Perform calculations using the divided values obtained by dividing the MAC address assigned to each device, and set the transmission timing based on the calculation results.
This is a communication control method.

本発明は、
複数の端末装置と、
複数の端末装置のそれぞれから送信されるセンシングデータを受信する通信装置と、
を有し、
端末装置は、センシングデータを取得するセンサーと、通信制御装置とを有し、
通信制御装置は、機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定し、設定した送信タイミングでセンシングデータを通信装置に送信するための制御を行う、
データ収集システムである。
The present invention
multiple terminal devices;
a communication device that receives sensing data transmitted from each of the plurality of terminal devices;
has
The terminal device includes a sensor that acquires sensing data and a communication control device,
The communication control device performs calculations using the divided values obtained by dividing the MAC address assigned to each device, sets the transmission timing based on the calculation result, and sends the sensing data to the communication device at the set transmission timing. control for sending,
It is a data collection system.

本発明で考慮すべき問題についての説明がなされる際に参照される図である。FIG. 2 is a diagram to be referred to when explaining problems to be considered in the present invention. 本発明で考慮すべき問題についての説明がなされる際に参照される図である。FIG. 2 is a diagram to be referred to when explaining problems to be considered in the present invention. 本発明で考慮すべき問題についての説明がなされる際に参照される図である。FIG. 2 is a diagram to be referred to when explaining problems to be considered in the present invention. 一実施形態に係る通信制御装置の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of a communication control device according to an embodiment. 一実施形態に係る通信制御装置で行われる処理の流れを示すフローチャートである。3 is a flowchart showing the flow of processing performed by a communication control device according to an embodiment. 変形例を説明するための図である。It is a figure for explaining a modification. 変形例を説明するための図である。It is a figure for explaining a modification.

以下、本発明の実施形態等について図面を参照しながら説明する。なお、以下に説明する実施形態等は本発明の好適な具体例であり、本発明の内容がこれらの実施形態等に限定されるものではない。説明は以下の順序で行う。
<本発明で考慮すべき問題>
<一実施形態>
<変形例>
Embodiments of the present invention will be described below with reference to the drawings. Note that the embodiments described below are preferred specific examples of the present invention, and the content of the present invention is not limited to these embodiments. The explanation will be given in the following order.
<Issues to be considered in the present invention>
<One embodiment>
<Modified example>

<本発明で考慮すべき問題>
始めに、本発明の理解を容易とするために、本発明で考慮すべき問題について説明する。図1は、データ収集システム(データ収集システム1)の構成例を示す図である。データ収集システム1は、例えば、複数の端末装置2と、複数の端末装置2と無線接続される集約機3(通信装置の一例)と、集約機3と接続されるサーバー等のクラウドコンピュータCPと、を有している。図1では、複数の端末装置2として、7個の端末装置(端末装置2A、2B、2C・・・2G)が示されている。なお、個々の端末装置を区別する必要がない場合は、端末装置2と総称する。もちろん、端末装置2は、7個以外の個数であってもよい。データ収集システム1では、端末装置2が有するセンサー(後述するセンサー5)で測定されたセンシングデータが、端末装置2から集約機3に送信される。集約機3は、各端末装置2から送信されたセンシングデータを受信することでセンシングデータを集約した後、集約したセンシングデータをクラウドコンピュータCPに送信する。
<Issues to be considered in the present invention>
First, in order to facilitate understanding of the present invention, problems to be considered in the present invention will be explained. FIG. 1 is a diagram showing a configuration example of a data collection system (data collection system 1). The data collection system 1 includes, for example, a plurality of terminal devices 2, an aggregator 3 (an example of a communication device) wirelessly connected to the plurality of terminal devices 2, and a cloud computer CP such as a server connected to the aggregator 3. ,have. In FIG. 1, seven terminal devices (terminal devices 2A, 2B, 2C, . . . , 2G) are shown as the plurality of terminal devices 2. Note that when there is no need to distinguish between individual terminal devices, they are collectively referred to as terminal devices 2. Of course, the number of terminal devices 2 may be other than seven. In the data collection system 1 , sensing data measured by a sensor (sensor 5 described later) included in the terminal device 2 is transmitted from the terminal device 2 to the aggregator 3 . The aggregator 3 aggregates the sensing data by receiving the sensing data transmitted from each terminal device 2, and then transmits the aggregated sensing data to the cloud computer CP.

端末装置2はセンサー5を有している。例えば、端末装置2Aはセンサー5Aを有し、端末装置2Bはセンサー5Bを有する。センサー5としては、例えば、温度センサー、湿度センサー、加速度センサー、風や温度、湿度を計測する環境センサー、体温や脈拍等の生体情報を計測する生体センサー等が挙げられる。 The terminal device 2 has a sensor 5. For example, the terminal device 2A has a sensor 5A, and the terminal device 2B has a sensor 5B. Examples of the sensor 5 include a temperature sensor, a humidity sensor, an acceleration sensor, an environmental sensor that measures wind, temperature, and humidity, and a biological sensor that measures biological information such as body temperature and pulse.

各端末装置2は、センサー5により得られたセンシングデータを集約機3に送信する通信機能を有する。端末装置2は、例えば、センシングデータをサブギガヘルツ周波数帯を用いた無線通信により、集約機3に送信する。サブギガヘルツ周波数帯とは、1GHz未満の周波数帯を意味する。端末装置2は、例えば起動後、初回送信の後、所定の時間間隔で、センシングデータを集約機3に定期的に送信する。 Each terminal device 2 has a communication function to transmit sensing data obtained by the sensor 5 to the aggregator 3. The terminal device 2 transmits sensing data to the concentrator 3 by wireless communication using a sub-gigahertz frequency band, for example. Sub-gigahertz frequency band means a frequency band below 1 GHz. The terminal device 2 periodically transmits sensing data to the aggregator 3 at predetermined time intervals, for example after startup and after the initial transmission.

集約機3は、例えばゲートウェイやアクセスポイントであり、端末装置2から送信されたセンシングデータを、クラウドコンピュータCPに送信する通信装置である。集約機3は、例えば、LTE(Long Term Evolution)や4G(Generation)(第4世代移動通信システム)、5G(第5世代移動通信システム)等の通信規格に基づいて、センシングデータをクラウドコンピュータCPに送信する。 The aggregator 3 is, for example, a gateway or an access point, and is a communication device that transmits sensing data transmitted from the terminal device 2 to the cloud computer CP. The aggregator 3 transmits sensing data to a cloud computer CP based on communication standards such as LTE (Long Term Evolution), 4G (4th generation mobile communication system), and 5G (5th generation mobile communication system). Send to.

クラウドコンピュータCPは、集約機3から送信されたセンシングデータを利用した処理を行う。処理の内容は、データ収集システム1の用途に応じて異なる。 The cloud computer CP performs processing using the sensing data transmitted from the aggregator 3. The content of the processing differs depending on the use of the data collection system 1.

データ収集システム1の具体例について説明する。データ収集システム1は、例えば、街路灯の状態判別システムに適用され得る。本例の場合、端末装置2は街路灯であり、センサー5は加速度センサーである。街路灯から送信された加速度センサーのセンシングデータが、集約機3を介してクラウドコンピュータCPに送信される。クラウドコンピュータCP側では、加速度センサーによるセンシングデータを監視することで、例えば街路灯が通常の設置状態とは異なる傾きをしていることを検出できる。係る検出結果に応じて、当該街路灯に保守員を派遣することで、街路灯を適切に保守点検できる。もちろん、本例は、データ収集システム1の具体例の一つであり、本発明の内容が係る具体例に限定されることはない。 A specific example of the data collection system 1 will be explained. The data collection system 1 may be applied to, for example, a street light condition determination system. In this example, the terminal device 2 is a street light, and the sensor 5 is an acceleration sensor. Sensing data from the acceleration sensor transmitted from the street light is transmitted to the cloud computer CP via the aggregator 3. On the cloud computer CP side, by monitoring sensing data from an acceleration sensor, it is possible to detect, for example, that a street light is tilted differently from its normal installation state. By dispatching maintenance personnel to the street light in accordance with the detection result, the street light can be maintained and inspected appropriately. Of course, this example is one specific example of the data collection system 1, and the content of the present invention is not limited to this specific example.

端末装置2と集約機3との間では、LPWA(Low Power Wide Area)(省電力広域)に基づく通信方式に従った無線通信が行われる。LPWAは伝送速度が3G回線、4G回線などのセルラー回線や無線LAN(Local Area Network)と比較すると遅いものの、広範囲に伝送でき、周波数帯幅も狭帯域であり、且つ、消費電力が極めて少ないという特性を有している。このため、データ収集システム1のように、小さいセンシングデータを複数の場所から多数送信するセンサーネットワークに好適である。 Wireless communication is performed between the terminal device 2 and the aggregator 3 according to a communication method based on LPWA (Low Power Wide Area). Although the transmission speed of LPWA is slower than that of cellular lines such as 3G and 4G lines and wireless LAN (Local Area Network), it can transmit over a wide range, has a narrow frequency band, and consumes extremely little power. It has characteristics. Therefore, like the data collection system 1, it is suitable for a sensor network that transmits a large number of small sensing data from multiple locations.

LPWAに基づく通信規格としては、例えば、SIGFOX(サブGHz帯(866MHz帯、915MHz帯・920MHz帯)(登録商標)、最大伝送速度は100bps程度。伝送距離は数十km程度)、LoRa(サブGHz帯、最大伝送速度は250kbps程度。伝送距離は最大10km程度)(登録商標)、Wi-Fi HaLow(サブGHz帯、最大伝送速度は150kbps程度。伝送距離は1km程度)、Wi-SUN(サブGHz帯、最大伝送速度は800kbps。伝送距離は1km程度)(登録商標)、Flexnet(280MHz帯、最大伝送速度は10kbps、最大伝送距離は20km程度)(登録商標)等が挙げられるが、これに限定されることはない。 Communication standards based on LPWA include, for example, SIGFOX (sub-GHz band (866 MHz band, 915 MHz band, 920 MHz band) (registered trademark), maximum transmission speed is about 100 bps, transmission distance is about several tens of kilometers), LoRa (sub-GHz band) (registered trademark), Wi-Fi HaLow (sub-GHz band, maximum transmission speed is approximately 150 kbps, transmission distance is approximately 1 km), Wi-SUN (sub-GHz band, maximum transmission speed is approximately 150 kbps, transmission distance is approximately 1 km) Band, maximum transmission speed is 800 kbps, transmission distance is approximately 1 km) (registered trademark), Flexnet (280 MHz band, maximum transmission speed is 10 kbps, maximum transmission distance is approximately 20 km) (registered trademark), but is limited to these. It will not be done.

また、データ収集システム1では端末装置2が複数、配置されることから、端末装置2は、低消費電力だけでなく、小型であり、且つ、低コストであることが望まれる。 Furthermore, since a plurality of terminal devices 2 are arranged in the data collection system 1, it is desired that the terminal devices 2 not only consume low power but also be small and low in cost.

ところで、集約機3は、複数の端末装置2から送信されるセンシングデータを受信するが、複数のセンシングデータを同一タイミングで受信することができない。例えば、図2に示すように、端末装置2Aから送信されたセンシングデータを集約機3が受信している場合は、他の端末装置2B~2Gから送信されたセンシングデータを集約機3は受信できない。端末装置2B等から送信されたセンシングデータを集約機3が受信できないことを回避するために、各端末装置2のセンシングデータの送信タイミングを意図的にずらし、送信されたセンシングデータが衝突してしまうことを回避することが必要となる。通信時間は非常に短いが同時に電源を投入した場合など、特に端末装置2の起動時に送信データの衝突が起きる可能性が高くなる。例えば、上述した端末装置2が街路灯のような設備では、街路灯の設置後に遠隔から同時に電源が投入されるケースが想定される。そこで、特に、起動後の初回の送信タイミングをずらす必要性が高い。 By the way, the aggregator 3 receives sensing data transmitted from a plurality of terminal devices 2, but cannot receive the plurality of sensing data at the same timing. For example, as shown in FIG. 2, if the aggregator 3 is receiving sensing data transmitted from the terminal device 2A, the aggregator 3 cannot receive sensing data transmitted from other terminal devices 2B to 2G. . In order to avoid the aggregator 3 not being able to receive the sensing data transmitted from the terminal device 2B etc., the transmission timing of the sensing data of each terminal device 2 is intentionally shifted, resulting in a collision of the transmitted sensing data. It is necessary to avoid this. Although the communication time is very short, there is a high possibility that a collision of transmitted data will occur especially when the terminal device 2 is started up, such as when the power is turned on at the same time. For example, in the case where the above-mentioned terminal device 2 is a street light, a case is assumed in which the power is turned on simultaneously from a remote location after the street light is installed. Therefore, it is particularly necessary to shift the timing of the first transmission after startup.

端末装置2毎にセンシングデータの送信タイミングを確実にずらすには、乱数を発生させ、送信タイミングを基準時から乱数に対応する分、遅延させることで可能となる。例えば、初回の送信タイミングを端末装置2毎でずらすことができれば、その後、一定間隔でセンシングデータが送信される場合であっても、送信タイミングが重なることを回避できる。この方法の場合、各端末装置2がRND(Random Number Generator)機能を有することが必要とされる。 In order to reliably shift the transmission timing of sensing data for each terminal device 2, it is possible to generate a random number and delay the transmission timing by an amount corresponding to the random number from the reference time. For example, if the initial transmission timing can be shifted for each terminal device 2, it is possible to avoid overlapping transmission timings even if sensing data is transmitted at regular intervals thereafter. In the case of this method, each terminal device 2 is required to have an RND (Random Number Generator) function.

図3は、乱数を用いて送信タイミングをずらす処理の流れを示すフローチャートである。ステップST1では、各端末装置2を起動させる処理が行われる。例えば、管理センター等から各端末装置2に対して、一斉にコマンドが送信され、当該コマンドに基づいて各端末装置2が同時に起動する。各端末装置2が内部にRTC(Real Time Clock)を有し、RTCが所定時刻になったときに、各端末装置2が同時に起動するようにしてもよい。なお、本例では各端末装置2が同時に起動させるようにしているが、異なるタイミングで起動するようにしてもよい。そして、処理がステップST2に進む。 FIG. 3 is a flowchart showing the process of shifting the transmission timing using random numbers. In step ST1, processing for activating each terminal device 2 is performed. For example, a command is sent from a management center or the like to each terminal device 2 at the same time, and each terminal device 2 is activated simultaneously based on the command. Each terminal device 2 may have an RTC (Real Time Clock) therein, and each terminal device 2 may be activated simultaneously when the RTC reaches a predetermined time. Note that in this example, each terminal device 2 is activated at the same time, but the terminal devices 2 may be activated at different timings. The process then proceeds to step ST2.

ステップST2では、端末装置2が有するRND機能によって乱数(ユニーク値)を生成する処理が行われる。そして、処理がステップST3に進む。 In step ST2, the RND function of the terminal device 2 performs a process of generating a random number (unique value). The process then proceeds to step ST3.

ステップST3では、端末装置2が、乱数に基づいてディレイ時間を決定する。そして、端末装置2は、基準時(例えば、起動タイミング)に対してディレイ時間の分、遅延させたタイミングを、センシングデータの初回の送信タイミングとして設定する。そして、処理がステップST4に進む。 In step ST3, the terminal device 2 determines the delay time based on random numbers. Then, the terminal device 2 sets the timing delayed by the delay time with respect to the reference time (for example, the activation timing) as the first transmission timing of the sensing data. The process then proceeds to step ST4.

ステップST4では、ステップST3で設定された送信タイミングで、センシングデータを送信する初回の送信処理が行われる。そして、処理がステップST5に進む。 In step ST4, an initial transmission process of transmitting sensing data is performed at the transmission timing set in step ST3. The process then proceeds to step ST5.

ステップST5では、ステップST3で設定された送信タイミングから一定時間毎に、定期的にセンシングデータを送信する処理が行われる。一定時間は、例えば各端末装置2に共通しており、具体的な時間は通信方式に応じて異なる。ステップST3で設定された初回の送信タイミングは端末装置2毎に異なるようになっているため、定期的にセンシングデータを送信する処理において送信タイミングが重なってしまう可能性は低くなる。 In step ST5, sensing data is periodically transmitted at fixed time intervals starting from the transmission timing set in step ST3. The certain period of time is, for example, common to each terminal device 2, and the specific period of time differs depending on the communication method. Since the first transmission timing set in step ST3 is different for each terminal device 2, there is a low possibility that the transmission timings will overlap in the process of periodically transmitting sensing data.

以上説明した方法によれば、送信タイミングが重なってしまうことを回避できる。しかしながら、上述したように、データ収集システム1で使用される端末装置2は、できるだけ低コストであることが望まれる。すなわち、端末装置2にRND機能を持たせると端末装置2のコストが増加する虞がある。また、例えば各端末装置2が同時に起動し、その後は定期的にセンシングデータを送信するシステムでは、起動時の送信タイミングを端末装置2毎にずらせればよく、乱数を使用して送信タイミングを厳密にずらす必要性が乏しい。また、乱数を生成する処理を行うために端末装置2における消費電力が大きくなる虞もある。以上の点を踏まえつつ、本発明の一実施形態について詳細に説明する。 According to the method described above, it is possible to avoid overlapping transmission timings. However, as described above, it is desirable that the terminal device 2 used in the data collection system 1 be as low in cost as possible. That is, if the terminal device 2 is provided with an RND function, there is a possibility that the cost of the terminal device 2 will increase. In addition, for example, in a system in which each terminal device 2 starts up at the same time and thereafter periodically transmits sensing data, it is sufficient to shift the transmission timing at startup for each terminal device 2, and use random numbers to strictly control the transmission timing. There is little need to shift it. Furthermore, there is a possibility that power consumption in the terminal device 2 will increase in order to perform the process of generating random numbers. An embodiment of the present invention will be described in detail with the above points in mind.

<一実施形態>
[通信制御装置の構成例]
図4は、本実施形態に係る通信制御装置(通信制御装置10)の構成例を示すブロック図である。通信制御装置10は、例えば、発振器11と、通信回路12と、制御回路13とを有している。通信制御装置10は、例えば、これらの構成部品を密集配置させた超小型モジュール(例えば、幅および長さが十数mmで厚さが数mm程度の直方体)であり、各端末装置2に内蔵されている。発振器11、通信回路12及び制御回路13は、例えば、プリント基板に実装されている。プリント基板は、片面実装、両面実装のどちらでも構わず、また、層数なども問わない。
<One embodiment>
[Example of configuration of communication control device]
FIG. 4 is a block diagram showing a configuration example of a communication control device (communication control device 10) according to this embodiment. The communication control device 10 includes, for example, an oscillator 11, a communication circuit 12, and a control circuit 13. The communication control device 10 is, for example, an ultra-small module (for example, a rectangular parallelepiped with a width and length of about 10 mm and a thickness of about several mm) in which these components are arranged closely, and is built in each terminal device 2. has been done. The oscillator 11, the communication circuit 12, and the control circuit 13 are mounted on a printed circuit board, for example. The printed circuit board may be mounted on one side or both sides, and the number of layers does not matter.

発振器11は、例えば、温度センサーと温度補償回路を内蔵し、周囲温度の変化による周波数の変化が小さくなるようにしたTCXO(Temperature Compensated Crystal Oscillators)である。発振器11が出力する発振周波数は、通信回路12に入力される。発振器11は、例えば、水晶振動子(不図示)と発振回路(不図示)とを一体化したパッケージ水晶発振器(SPXO:Simple Packaged Crystal Oscillator)であってもよい。 The oscillator 11 is, for example, a TCXO (Temperature Compensated Crystal Oscillator) that incorporates a temperature sensor and a temperature compensation circuit so that changes in frequency due to changes in ambient temperature are reduced. The oscillation frequency output by the oscillator 11 is input to the communication circuit 12. The oscillator 11 may be, for example, a simple packaged crystal oscillator (SPXO) that integrates a crystal resonator (not shown) and an oscillation circuit (not shown).

通信回路12は、サブギガヘルツ周波数帯を利用する通信方式に対応した無線通信を行う回路である。通信回路12は、例えば、RFIC(Radio Frequency Integrated Circuit)などの通信用IC(Integrated Circuit)で構成されている。通信回路12は、アンテナATを介して集約機3等と通信する。アンテナATは、通信制御装置10の筐体内に収納される内蔵アンテナでもよい。 The communication circuit 12 is a circuit that performs wireless communication compatible with a communication method using a sub-gigahertz frequency band. The communication circuit 12 is composed of, for example, a communication IC (Integrated Circuit) such as an RFIC (Radio Frequency Integrated Circuit). The communication circuit 12 communicates with the aggregator 3 and the like via the antenna AT. The antenna AT may be a built-in antenna housed within the casing of the communication control device 10.

具体的には、通信回路12は、第1通信回路12A及び第2通信回路12Bを有している。第1通信回路12Aは、発振器11から出力される発振周波数を用いた処理として、当該発振周波数を用いてデータ(例えば、センシングデータ)を送信する送信処理を行う。第1通信回路12Aは、例えば、フィルタや変調回路などで構成され、送信データに応じて発振器11からの発振周波数を変調し、変調した信号(RF信号)をアンテナATに出力し、データ送信を行う。 Specifically, the communication circuit 12 includes a first communication circuit 12A and a second communication circuit 12B. The first communication circuit 12A performs a transmission process of transmitting data (for example, sensing data) using the oscillation frequency output from the oscillator 11. The first communication circuit 12A is composed of, for example, a filter or a modulation circuit, and modulates the oscillation frequency from the oscillator 11 according to the transmission data, outputs the modulated signal (RF signal) to the antenna AT, and performs data transmission. conduct.

第2通信回路12Bは、受信処理を行う。第2通信回路12Bは、例えば、フィルタや復調回路などで構成され、アンテナATを介して基地局などから送信されたRF信号を受信し、受信したRF信号を復調して受信データを取得する。受信データは、例えば、制御回路13に出力されて利用される。 The second communication circuit 12B performs reception processing. The second communication circuit 12B includes, for example, a filter, a demodulation circuit, and the like, and receives an RF signal transmitted from a base station or the like via an antenna AT, demodulates the received RF signal, and obtains received data. The received data is, for example, output to the control circuit 13 and used.

制御回路13は、例えば、マイクロコンピュータ(MCU:Micro Controller Unit)(マイコンと略称する場合もある)で構成されており、発振器11、通信回路12などの通信制御装置10を構成する構成部品を統括的に制御する。制御回路13は、外部インタフェースを介して外部モジュール(例えば、上位制御マイコン)との間でデータの送受信を行う。この外部インタフェースとしては、例えば、UART(Universal Asynchronous Receiver/Transmitter)が挙げられる。なお、外部インタフェースは、他のインタフェースであっても構わない。上位制御マイコンは、端末装置2が有するセンサー5に接続されている。上位制御マイコンは、センサー5で計測されたセンシングデータを適宜デジタル形式のデータに変換して、制御回路13に供給する。制御回路13は、上位制御マイコンから供給されたセンシングデータを通信回路12を介して集約機3に送信する。 The control circuit 13 is composed of, for example, a microcontroller unit (MCU) (sometimes abbreviated as a microcomputer), and controls the components constituting the communication control device 10 such as the oscillator 11 and the communication circuit 12. control. The control circuit 13 transmits and receives data to and from an external module (for example, a host control microcomputer) via an external interface. An example of this external interface is a UART (Universal Asynchronous Receiver/Transmitter). Note that the external interface may be another interface. The upper control microcomputer is connected to a sensor 5 included in the terminal device 2 . The host control microcomputer appropriately converts the sensing data measured by the sensor 5 into digital data and supplies it to the control circuit 13. The control circuit 13 transmits sensing data supplied from the host control microcomputer to the aggregator 3 via the communication circuit 12.

また、制御回路13は、基準時に対してディレイ時間の分、遅延させた送信タイミングを生成し、適宜なメモリに設定する。本実施形態では基準時は起動時(具体的には、電源投入時)であるものとして説明するが、起動時以外(例えば、スリープ状態からアクティブ状態への遷移時)であってもよい。そして、制御回路13は、現在時刻が設定された送信タイミングになると、通信回路12を制御して、センシングデータを集約機3に送信する。なお、送信タイミングの具体的な生成例については後述する。 Further, the control circuit 13 generates a transmission timing delayed by the delay time with respect to the reference time, and sets it in an appropriate memory. In this embodiment, the reference time will be explained as being the time of startup (specifically, when the power is turned on), but it may be other than the time of startup (for example, the time of transition from the sleep state to the active state). Then, the control circuit 13 controls the communication circuit 12 to transmit the sensing data to the aggregator 3 when the current time reaches the set transmission timing. Note that a specific example of generating the transmission timing will be described later.

[通信制御装置の動作例]
次に、図5のフローチャートを参照しつつ、通信制御装置10の動作例について説明する。ステップST11では、制御回路13が、端末装置2の起動に応じて、通信制御装置10の各部を起動させる処理を行う。本例では、データ収集システム1を構成する端末装置2が、各端末装置2に対する遠隔操作に応じて同時に起動する。もちろん、各端末装置2が自律的な制御を行うことで、同時に起動してもよい。そして、処理がステップST12に進む。
[Operation example of communication control device]
Next, an example of the operation of the communication control device 10 will be described with reference to the flowchart in FIG. In step ST11, the control circuit 13 performs a process of activating each part of the communication control device 10 in response to the activation of the terminal device 2. In this example, the terminal devices 2 constituting the data collection system 1 are activated simultaneously in response to remote control of each terminal device 2. Of course, each terminal device 2 may start up simultaneously by performing autonomous control. The process then proceeds to step ST12.

ステップST12では、制御回路13がランダム値を生成する処理を行う。そして、処理がステップST13に進む。 In step ST12, the control circuit 13 performs processing to generate random values. The process then proceeds to step ST13.

ステップST13では、制御回路13が、ステップST12で生成したランダム値に基づいてディレイ時間を求める。そして、制御回路13は、基準時(例えば、起動タイミング)に対してディレイ時間の分、遅延させたタイミングを、センシングデータの初回の送信タイミングとして設定する。そして、処理がステップST14に進む。 In step ST13, the control circuit 13 determines the delay time based on the random value generated in step ST12. Then, the control circuit 13 sets the timing delayed by the delay time with respect to the reference time (for example, the activation timing) as the first transmission timing of the sensing data. The process then proceeds to step ST14.

ステップST14では、制御回路13が通信回路12を制御し、ステップST13で設定された送信タイミングでセンシングデータを集約機3に送信する。ここでの送信処理は初回の送信処理である。そして、処理がステップST15に進む。 In step ST14, the control circuit 13 controls the communication circuit 12 and transmits the sensing data to the aggregator 3 at the transmission timing set in step ST13. The transmission processing here is the first transmission processing. The process then proceeds to step ST15.

ステップST15では、ステップST13で設定された送信タイミングから一定時間毎に、定期的にセンシングデータを送信する処理が行われる。一定時間は、各端末装置2で共通しており、具体的な時間は通信方式に応じて異なる。ステップST13で設定された送信タイミングは端末装置2毎に異なるようになっているため、定期的にセンシングデータを送信する処理において送信タイミングが重なってしまう可能性は低くなる。 In step ST15, a process of periodically transmitting sensing data is performed at fixed time intervals starting from the transmission timing set in step ST13. The fixed time is common to each terminal device 2, and the specific time differs depending on the communication method. Since the transmission timing set in step ST13 is different for each terminal device 2, there is a low possibility that the transmission timings will overlap in the process of periodically transmitting sensing data.

[送信タイミングの設定処理]
次に、上述したステップST13で行われる送信タイミングを設定する処理の具体例について説明する。制御回路13は、例えば、機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定する。
[Transmission timing setting process]
Next, a specific example of the process of setting the transmission timing performed in step ST13 described above will be described. For example, the control circuit 13 performs calculations using division values obtained by dividing the MAC address assigned to each device, and sets transmission timing based on the calculation results.

本例では、MACアドレスとしてIEEE(Institute of Electrical and Electronics Engineers)アドレス(拡張64ビット)を例にして説明するが、これに限定されることはない。64ビットのMACアドレスのうち、上位24ビットはOUI(Organizationally Unique Identifier)と呼ばれるベンダー識別子であり、下位40ビットはベンダーで付与される番号である。MACアドレスは、端末装置2の適宜なメモリに記憶されている。 In this example, an IEEE (Institute of Electrical and Electronics Engineers) address (extended 64 bits) is used as an example of the MAC address, but the MAC address is not limited to this. Of the 64-bit MAC address, the upper 24 bits are a vendor identifier called OUI (Organizationally Unique Identifier), and the lower 40 bits are a number assigned by the vendor. The MAC address is stored in an appropriate memory of the terminal device 2.

(第1の例)
制御回路13は、メモリから64ビットのMACアドレスを読み出し、上位32ビット(第1の分割値の一例)と下位32ビット(第2の分割値の一例)とに分割する。そして、制御回路13は、上位32ビットと下位32ビットとを乗した演算を行い、演算結果に基づいて、送信タイミングを設定する。
(First example)
The control circuit 13 reads the 64-bit MAC address from the memory and divides it into upper 32 bits (an example of a first division value) and lower 32 bits (an example of a second division value). Then, the control circuit 13 performs an operation by multiplying the upper 32 bits by the lower 32 bits, and sets the transmission timing based on the operation result.

具体例を挙げて説明する。
例えば、端末装置2AのMACアドレスを
00019003000170F1
とする。
制御回路13は、MACアドレスを上位32ビットと下位32ビットとに分割し、両者を乗じる下記式(1)の演算を行うことで擬似ランダム値を得る。
(0x00019003 × 0x000170F1) ・・式(1)
さらに、制御回路13は、式(1)の演算結果(擬似ランダム値)を一定以下にする(基準時に対するディレイが大きくなり過ぎないようにする)ために、下記式(2)のように、マスク値の一例である「0x1FFF」で&を取る演算を行いランダム値を得る。
(0x00019003 × 0x000170F1) & 0x1FFFF ・・式(2)
式(2)の演算結果として、ランダム値
0x192D3(103,123)
が得られる。(()内は10進法の表記である。)
ここで、100μsを1単位当たりの時間としてランダム値を変換すると、ディレイ時間10.3sが得られる。
制御回路13は、端末装置2Aの起動時から、得られた時間(10.3s)遅延させたタイミングを、センシングデータの初回の送信タイミングとして設定する。
This will be explained using a specific example.
For example, the MAC address of terminal device 2A is 00019003000170F1
shall be.
The control circuit 13 divides the MAC address into 32 upper bits and 32 lower bits, and calculates the following equation (1) by multiplying the two to obtain a pseudo-random value.
(0x00019003 × 0x000170F1) ...Formula (1)
Furthermore, in order to keep the calculation result (pseudo-random value) of equation (1) below a certain level (to prevent the delay from becoming too large with respect to the reference time), the control circuit 13 calculates the following equation (2) as shown below. A random value is obtained by calculating & with "0x1FFF", which is an example of a mask value.
(0x00019003 × 0x000170F1) & 0x1FFFF...Formula (2)
As the calculation result of formula (2), a random value 0x192D3 (103,123)
is obtained. (The numbers in parentheses are in decimal notation.)
Here, if the random value is converted with 100 μs as the time per unit, a delay time of 10.3 seconds is obtained.
The control circuit 13 sets the timing delayed by the obtained time (10.3 s) from the startup of the terminal device 2A as the first transmission timing of the sensing data.

別の端末装置(例えば、端末装置2B)のMACアドレスを
00019003000170F2
とする。
制御回路13は、MACアドレスを上位32ビットと下位32ビットとに分割し、両者を乗じる下記式(3)の演算を行うことで擬似ランダム値を得る。
(0x00019003 × 0x000170F2) ・・式(3)
さらに、制御回路13は、式(3)の演算結果を一定以下とするために、下記式(4)のように、マスク値の一例である「0x1FFF」で&を取る演算を行いランダム値を得る。
(0x00019003 × 0x000170F2) & 0x1FFFF ・・式(4)
式(4)の演算結果として、ランダム値
0x122D6 (74,454)
が得られる。(()内は10進法の表記である。)
ここで、端末装置2Aの場合と同様に、100μsを1単位当たりの時間としてランダム値を変換すると、ディレイ時間7.4sが得られる。
制御回路13は、端末装置2Bの起動時から、得られた時間(7.4s)遅延させたタイミングを、センシングデータの初回の送信タイミングとして設定する。
Enter the MAC address of another terminal device (for example, terminal device 2B) as 00019003000170F2
shall be.
The control circuit 13 divides the MAC address into the upper 32 bits and the lower 32 bits, and calculates the following formula (3) by multiplying the two to obtain a pseudo-random value.
(0x00019003 × 0x000170F2) ... Formula (3)
Furthermore, in order to keep the calculation result of equation (3) below a certain level, the control circuit 13 performs an operation of taking & with "0x1FFF", which is an example of a mask value, and generates a random value, as shown in equation (4) below. obtain.
(0x00019003 × 0x000170F2) & 0x1FFFF...Formula (4)
As the calculation result of formula (4), random value 0x122D6 (74,454)
is obtained. (The numbers in parentheses are in decimal notation.)
Here, as in the case of the terminal device 2A, if the random value is converted with 100 μs as the time per unit, a delay time of 7.4 seconds is obtained.
The control circuit 13 sets the timing delayed by the obtained time (7.4 s) from the startup of the terminal device 2B as the first transmission timing of the sensing data.

上述した第1の例に示したように、データ収集システム1を構成する各端末装置2に割り当てられるMACアドレスは、通し番号で連続している可能性が高い。このため、MACアドレス全体や下位のビット等の一部をそのまま使用すると、ディレイ時間が略同じ値となってしまい、送信タイミングを十分にずらすことができない。しかしながら、本例では、MACアドレスの上位32ビットと下位32ビットとを乗じる演算を行うことで、MACアドレスが通し番号であっても、送信タイミングを十分にずらすことができる。
また、端末装置2がRND機能を有する必要がないので、ロースペックのICであっても通信制御装置10として適用できる。
As shown in the above-described first example, the MAC addresses assigned to each terminal device 2 making up the data collection system 1 are likely to be consecutive serial numbers. Therefore, if the entire MAC address or part of the lower bits is used as is, the delay time will be approximately the same value, making it impossible to shift the transmission timing sufficiently. However, in this example, by performing an operation of multiplying the upper 32 bits and lower 32 bits of the MAC address, the transmission timing can be sufficiently shifted even if the MAC address is a serial number.
Further, since the terminal device 2 does not need to have an RND function, even a low-spec IC can be applied as the communication control device 10.

なお、上述した例では、64ビットを半分にしたがこれに限定されることはない。例えば、上位24ビット(例えば、OUI)、下位40ビット(メーカー付与のMACアドレス)のように分割し、両者を乗じる演算を行うようにしてもよい。また、64ビットの全てを用いなくてもよい。例えば、上位8ビット、下位20ビットのように分割し、両者を乗じる演算を行うようにしてもよい。また、MACアドレスを2分割ではなく3分割以上し、分割した全て若しくはそのうちの一部同士を乗じる演算を行うようにしてもよい。また、1台の端末装置2に複数のMACアドレスが付与されている場合、一方のMACアドレスを分割することで得られる分割値と、他方のMACアドレスを分割することで得られる分割値とを乗じる演算を行うようにしてもよい。1台の端末装置2に付与される複数(例えば2個)のMACアドレスとしては、ICベンダーが出荷時に通信制御装置(若しくは制御回路)に付与するMACアドレスと、通信制御装置を使った製品(若しくは制御回路を用いた通信制御装置)をメーカーの製品として出荷する際に当該メーカーによって採番及び付与されるMACアドレスとが挙げられる。 Note that in the above example, 64 bits are halved, but the number is not limited to this. For example, the data may be divided into the upper 24 bits (for example, OUI) and the lower 40 bits (MAC address assigned by the manufacturer), and an operation may be performed in which the two are multiplied. Furthermore, it is not necessary to use all 64 bits. For example, the data may be divided into upper 8 bits and lower 20 bits, and an operation may be performed in which the two are multiplied. Alternatively, the MAC address may be divided into three or more parts instead of two, and an operation may be performed in which all or some of the divided parts are multiplied together. In addition, when multiple MAC addresses are assigned to one terminal device 2, the division value obtained by dividing one MAC address and the division value obtained by dividing the other MAC address are A multiplication operation may also be performed. The multiple (for example, two) MAC addresses assigned to one terminal device 2 include the MAC address assigned by the IC vendor to the communication control device (or control circuit) at the time of shipment, and the product using the communication control device ( For example, a MAC address is numbered and assigned by a manufacturer when a communication control device using a control circuit is shipped as a product of the manufacturer.

(第2の例)
第2の例は、機器毎に割り当てられるMACアドレスを分割することで得られる分割値とMACアドレスとは異なる固有値とを乗じた演算結果に基づいて、送信タイミングを設定する例である。MACアドレスとは異なる固有値とは、例えば、通信制御装置10に割り当てられるシリアル番号である。また、本例では、MACアドレスを分割して得られる下位32ビットを分割値として用いる。もちろん、分割値は、MACアドレスの下位32ビット以外であってもよい。
(Second example)
The second example is an example in which the transmission timing is set based on the calculation result obtained by multiplying the division value obtained by dividing the MAC address assigned to each device by a unique value different from the MAC address. The unique value different from the MAC address is, for example, a serial number assigned to the communication control device 10. Furthermore, in this example, the lower 32 bits obtained by dividing the MAC address are used as the division value. Of course, the division value may be other than the lower 32 bits of the MAC address.

具体例を挙げて説明する。
例えば、端末装置2Aのシリアル番号を
G723538
とし、MACアドレスを
00019003000170F1
とする。
制御回路13は、シリアル番号と下位32ビットとを乗じる下記式(5)の演算を行うことで擬似ランダム値を得る。
(723538 × 0x000170F1) ・・式(5)
さらに、制御回路13は、式(5)の演算結果を一定以下とするために、下記式(6)のように、マスク値の一例である「0x1FFF」で&を取る演算を行いランダム値を得る。
(723538 × 0x000170F1) & 0x1FFFF ・・式(6)
式(6)の演算結果として、ランダム値
0x9732 (38,706)
が得られる。(()内は10進法の表記である。)
ここで、100μsを1単位当たりの時間としてランダム値を変換すると、ディレイ時間3.8sが得られる。
制御回路13は、端末装置2Aの起動時から、得られた時間(3.8s)遅延させたタイミングを、センシングデータの初回の送信タイミングとして設定する。
This will be explained using a specific example.
For example, the serial number of terminal device 2A is G723538.
and set the MAC address to 00019003000170F1
shall be.
The control circuit 13 obtains a pseudorandom value by multiplying the serial number and the lower 32 bits by the following formula (5).
(723538 × 0x000170F1) ...Formula (5)
Furthermore, in order to keep the calculation result of equation (5) below a certain level, the control circuit 13 performs an operation of taking & with "0x1FFF", which is an example of a mask value, and generates a random value, as shown in equation (6) below. obtain.
(723538 × 0x000170F1) & 0x1FFFF...Formula (6)
As the calculation result of formula (6), the random value 0x9732 (38,706)
is obtained. (The numbers in parentheses are in decimal notation.)
Here, if the random value is converted with 100 μs as the time per unit, a delay time of 3.8 seconds is obtained.
The control circuit 13 sets the timing delayed by the obtained time (3.8 s) from the startup of the terminal device 2A as the first transmission timing of the sensing data.

別の端末装置(例えば、端末装置2B)のシリアル番号を
G926040
とし、MACアドレスを
00019003000170F2
とする。
制御回路13は、シリアル番号と下位32ビットとを乗じる下記式(7)の演算を行うことで擬似ランダム値を得る。
(92640 × 0x000170F2) ・・式(7)
さらに、制御回路13は、式(7)の演算結果を一定以下とするために、下記式(8)のように、マスク値の一例である「0x1FFF」で&を取る演算を行いランダム値を得る。
(92640 × 0x000170F2) & 0x1FFFF ・・式(8)
式(8)の演算結果として、ランダム値
0x530 (1,328)
が得られる。(()内は10進法の表記である。)
ここで、100μsを1単位当たりの時間としてランダム値を変換すると、ディレイ時間0.1sが得られる。
制御回路13は、端末装置2Bの起動時から、得られた時間(0.1s)遅延させたタイミングを、センシングデータの初回の送信タイミングとして設定する。
以上示した第2の例であっても、上述した第1の例と同様の効果が得られる。
Enter the serial number of another terminal device (for example, terminal device 2B) as G926040.
and set the MAC address to 00019003000170F2
shall be.
The control circuit 13 obtains a pseudorandom value by multiplying the serial number and the lower 32 bits by the following formula (7).
(92640 × 0x000170F2) ...Formula (7)
Furthermore, in order to keep the calculation result of equation (7) below a certain level, the control circuit 13 performs an operation of taking & with "0x1FFF", which is an example of a mask value, and generates a random value, as shown in equation (8) below. obtain.
(92640 × 0x000170F2) & 0x1FFFF...Formula (8)
As the calculation result of formula (8), the random value 0x530 (1,328)
is obtained. (The numbers in parentheses are in decimal notation.)
Here, if the random value is converted with 100 μs as the time per unit, a delay time of 0.1 s is obtained.
The control circuit 13 sets the timing delayed by the obtained time (0.1 s) from the startup of the terminal device 2B as the first transmission timing of the sensing data.
Even in the second example shown above, the same effects as in the first example described above can be obtained.

[マスク値について]
次に、上述した演算で用いられるマスク値について説明する。920MHz帯の通信は用途や使用するプロトコルによって、
・1送信あたりの通信時間
・通信毎のインターバル(当該インターバルに基づくディレイの最大値(最大ディレイ時間))
が大きく異なる。そこで、本実施形態では、通信プロトコルにおける、1送信時間、1単位当たりの時間、通信毎のインターバル、及び、インターバルに対する最大ディレイ時間に基づいて、マスク値が決定される。
[About mask value]
Next, the mask value used in the above calculation will be explained. Communication in the 920MHz band depends on the purpose and protocol used.
・Communication time per transmission ・Interval for each communication (maximum delay value based on the interval (maximum delay time))
are very different. Therefore, in this embodiment, a mask value is determined based on one transmission time, time per unit, interval for each communication, and maximum delay time for the interval in the communication protocol.

(第1の例)
第1の例では、通信プロトコルがSIGFOX(登録商標)である場合を例にして説明する。SIGFOX(登録商標)は、センサーネットワークなどに特化したロースペックでシンプルな通信規格である。SIGFOX(登録商標)の主な通信仕様は、
・1送信あたりの通信時間:6秒程度(周波数をホッピングさせながら3回(×2秒程度)送信)
・通信毎のインターバル:最短で10分程度に1回(SIGFOX(登録商標)は契約上1日140回送信が最大となっている)
(First example)
In the first example, a case will be described in which the communication protocol is SIGFOX (registered trademark). SIGFOX (registered trademark) is a low-spec, simple communication standard specialized for sensor networks. The main communication specifications of SIGFOX (registered trademark) are:
・Communication time per transmission: Approximately 6 seconds (transmitted 3 times (approximately 2 seconds) while hopping the frequency)
・Interval between each communication: Once every 10 minutes at the shortest (SIGFOX (registered trademark) has a maximum of 140 transmissions per day according to the contract)

ここで、通信毎のインターバルの30%時間内に必ず1送信することを想定すると、
最大ディレイ時間は
3分(10分×0.3)
となる。
1送信内の1回の通信時間を1単位当たりの時間とすると、
1単位当たりの時間:2秒(6秒÷3回)
となる。
この場合、ランダム値(1単位当たりの時間で変換する前の値)の設定範囲は、
180秒(最大ディレイ時間)÷2秒(1単位当たりの時間)=90
すなわち、0~90の範囲でランダム値が設定される。すなわち、ランダム値をその範囲内にするために7ビットのマスク値が用いられる。
SIGFOX(登録商標)の場合は、1回の送信が長いので1単位時間は長く、ランダム値の上限を低く設定する。SIGFOX(登録商標)では、周波数ホッピングした3回の通信なので、ランダム値が重なっても送信データの衝突を回避できる可能性が高い。従って、ランダム値を低く設定しても送信データの衝突を回避できる。
Here, assuming that one transmission is always made within 30% of the interval for each communication,
Maximum delay time is 3 minutes (10 minutes x 0.3)
becomes.
If one communication time in one transmission is defined as time per unit,
Time per unit: 2 seconds (6 seconds ÷ 3 times)
becomes.
In this case, the setting range of the random value (value before conversion in time per unit) is:
180 seconds (maximum delay time) ÷ 2 seconds (time per unit) = 90
That is, a random value is set in the range of 0 to 90. That is, a 7-bit mask value is used to keep the random value within that range.
In the case of SIGFOX (registered trademark), since one transmission is long, one unit time is long, and the upper limit of the random value is set low. In SIGFOX (registered trademark), communication is performed three times by frequency hopping, so there is a high possibility that collision of transmitted data can be avoided even if random values overlap. Therefore, even if the random value is set low, collisions of transmitted data can be avoided.

(第2の例)
本例は、規格化等されていない独自の通信プロトコルを用いる場合の例である。
通信プロトコルは、
通信速度:100bps
キャリアセンス:無し/デューティ1%以内
(キャリアセンスとは、送信を開始する前に搬送波(キャリア)を検知(センス)し、他の端末装置が自チャンネルを使用中であれば、同一周波数での送信を行わないことで干渉を回避する仕組みである。また、ディーティーとは、電波を出していい時間の総和を意味する。通常は1時間当たり最大どのくらいの時間、電波を出すかという意味で規定される。すなわち、ディーティー1%とは送信時間の総和が36秒/時間(1時間当たり36秒(3600秒×0.01)以下)であることを意味する。)
1送信あたりの通信時間:20ms程度
インターバル:5分に1回程度
最大ディレイ時間:30秒(インターバルの10%以内に1送信することを想定)
1単位当たりの時間:20ms(本例では、1送信あたりの通信時間と等しい)
この場合、ランダム値の設定範囲は、
30000ms(最大ディレイ時間)÷20ms(1単位当たりの時間)=1500
すなわち、0~1500の範囲でランダム値が設定される。ランダム値をその範囲内にするために11ビットのマスク値が用いられる。
1送信あたりの通信時間は短いので、送信データの衝突を確実に回避するためにランダム値の設定範囲がある程度、広がる。
(Second example)
This example is an example of using a unique communication protocol that has not been standardized.
The communication protocol is
Communication speed: 100bps
Carrier sense: None/Duty within 1% (Carrier sense means detecting the carrier wave (carrier) before starting transmission, and if another terminal device is using its own channel, it will detect the carrier wave on the same frequency. It is a mechanism to avoid interference by not transmitting. Also, duty means the total amount of time that radio waves can be emitted. Usually, it means the maximum amount of time that radio waves can be emitted per hour. In other words, duty 1% means that the total transmission time is 36 seconds/hour (36 seconds per hour (3600 seconds x 0.01) or less).
Communication time per transmission: approximately 20ms Interval: approximately once every 5 minutes Maximum delay time: 30 seconds (assuming one transmission within 10% of the interval)
Time per unit: 20ms (in this example, equal to the communication time per transmission)
In this case, the random value setting range is
30000ms (maximum delay time) ÷ 20ms (time per unit) = 1500
That is, a random value is set in the range of 0 to 1500. An 11-bit mask value is used to bring the random value within the range.
Since the communication time per transmission is short, the setting range of random values is expanded to some extent in order to reliably avoid collisions of transmitted data.

(第3の例)
本例は、規格化等されていない独自の通信プロトコルを用いる場合の例である。第2の例と異なる点は、キャリアセンスがある点である。
1単位当たりの時間:1ms(本例では、キャリアセンスによって送信タイミングの同時衝突が避けられることを前提としつつ、送信タイミングが全く同時になることを避けるように最低限のずらす範囲を設定している。すなわち、1単位当たりの時間を1送信あたりの通信時間(20ms程度)よりも小さい値としている。)
この場合、ランダム値(1単位当たりの時間で変換する前の値)の設定範囲は、
30000ms(最大ディレイ時間)÷1ms(1単位当たりの時間)=30000
すなわち、0~30000の範囲でランダム値が設定される。ランダム値をその範囲内にするために15ビットのマスク値が用いられる。
上述した第2の例よりもさらに短い1単位当たりの時間を設定することで、ランダム値の範囲を広げることができる。例えば、データ収集システム1において多くの端末装置2(センサー5)が設置される場合には、1単位当たりの時間を設定することで、ランダム値の範囲を広げることができ、送信タイミングが重なってしまうことを効果的に抑制できる。
(Third example)
This example is an example of using a unique communication protocol that has not been standardized. The difference from the second example is that there is a carrier sense.
Time per unit: 1 ms (In this example, while assuming that carrier sense can avoid simultaneous transmission timing collisions, the minimum shift range is set to avoid transmission timings from being exactly the same. (In other words, the time per unit is set to a value smaller than the communication time per transmission (about 20 ms).)
In this case, the setting range of the random value (value before conversion in time per unit) is:
30000ms (maximum delay time) ÷ 1ms (time per unit) = 30000
That is, a random value is set in the range of 0 to 30,000. A 15-bit mask value is used to bring the random value within the range.
By setting the time per unit even shorter than the second example described above, the range of random values can be expanded. For example, when many terminal devices 2 (sensors 5) are installed in the data collection system 1, the range of random values can be expanded by setting the time per unit, and the transmission timings may overlap. It can effectively prevent it from being put away.

以上説明した第1から第3の例をまとめると下記のようになる。
・1送信時間=a
・1単位当たりの時間=b
・通信ごとのインターバル=c
・最大ディレイ時間=d(d=c*x%)cのx%以内に必ず送信する。
以上をパラメータとする。
The first to third examples explained above are summarized as follows.
・1 transmission time = a
・Time per unit = b
・Interval for each communication = c
- Maximum delay time = d (d = c * x%) Be sure to transmit within x% of c.
The above are the parameters.

<条件1;a≦bの場合>
nを、「b×n≦d」を満たす2以上の自然数の上限値とする。
(n;インターバル内で通信される1送信の回数の上限値)
<Condition 1; When a≦b>
Let n be the upper limit of a natural number of 2 or more that satisfies "b×n≦d".
(n: upper limit for the number of times one transmission is communicated within an interval)

<条件2;b<aでキャリアセンスを有しないシステムの場合>
mは、「a≦b×m」を満たす2以上の自然数であって、
(m;1送信時間以上の時間を繰り返し単位時間とするために乗じる値)
nを、「(b×m)×n≦d」を満たす2以上の自然数の上限値とする。
<Condition 2; In the case of a system with no carrier sense where b<a>
m is a natural number of 2 or more that satisfies "a≦b×m",
(m: value to be multiplied to make the time longer than 1 transmission time the repetition unit time)
Let n be the upper limit of a natural number of 2 or more that satisfies "(b×m)×n≦d."

<条件3;b<aでキャリアセンスを有するシステムの場合>
nを、「b×n≦d」を満たす2以上の自然数の上限値とする。
(n;インターバル内で通信される1送信の回数の上限値)
1送信時間内の範囲でしかディレイ時間がずれなかったとしても、キャリアセンスが行われることによって送信データの直接的な衝突を回避できる。
<Condition 3: For a system with carrier sense where b<a>
Let n be the upper limit of a natural number of 2 or more that satisfies "b×n≦d".
(n: upper limit for the number of times one transmission is communicated within an interval)
Even if the delay time deviates only within one transmission time, direct collision of transmitted data can be avoided by performing carrier sensing.

上記、条件1、条件2及び条件3において、
「疑似ランダム値」を2進数で表した値のうち、最下位ビットから順に、nを2進数で表した値の桁数と同じ桁数の値をランダム値として用いるように「疑似ランダム値」をマスクし、ランダム値を得る。
In the above conditions 1, 2 and 3,
"Pseudo-random value" is a value that is expressed as a binary number, and uses the same number of digits as the number of digits of the value expressed as a binary number, starting from the lowest bit, as a "pseudo-random value". Mask and get a random value.

[本実施形態により得られる効果]
以上説明した本実施形態によれば、下記の効果が得られる。
異なる端末装置間の送信タイミングを確実にずらすことが可能となり、送信データが衝突してしまうことを回避することができる。また、各端末装置が同時に起動するシステムにおいて、起動後、初回の送信時のタイミングを確実にずらすことができる。このため、初回の送信後に一定間隔でセンシングデータを送信する場合に、初回の送信だけでなくその後の送信タイミングも確実にずらすことが可能となる。
RND機能が不要となるため、安価なICによっても通信制御装置を構成でき、通信制御装置にかかるコストを低減できる。また、通信制御装置における消費電力を低減できる。
また、1送信時間、1単位当たりの時間、通信ごとのインターバル、及び、最大ディレイ時間の関係に応じて、通信プロトコルやシステム構成に応じた最適なマスク値を設定でき、結果として、最適な送信タイミングを設定することが可能となる。
[Effects obtained by this embodiment]
According to this embodiment described above, the following effects can be obtained.
It becomes possible to reliably shift the transmission timing between different terminal devices, and it is possible to avoid collisions of transmission data. Furthermore, in a system where each terminal device starts up at the same time, it is possible to reliably shift the timing of the first transmission after starting up. Therefore, when transmitting sensing data at regular intervals after the first transmission, it is possible to reliably shift not only the first transmission but also subsequent transmission timings.
Since the RND function is not required, the communication control device can be configured using an inexpensive IC, and the cost of the communication control device can be reduced. Furthermore, power consumption in the communication control device can be reduced.
In addition, the optimal mask value can be set according to the communication protocol and system configuration according to the relationship between 1 transmission time, time per unit, interval for each communication, and maximum delay time, resulting in optimal transmission. It is possible to set the timing.

<変形例>
以上、本発明の実施形態について具体的に説明したが、本発明は、上述した実施形態に限定されるものではなく、本発明の技術的思想に基づく各種の変形が可能である。
<Modified example>
Although the embodiments of the present invention have been specifically described above, the present invention is not limited to the embodiments described above, and various modifications can be made based on the technical idea of the present invention.

[変形例1]
図6に示すように、制御回路13と接続される上位制御マイコン(上位制御マイコン40)、及び、上位制御マイコン40と接続されるセンサー41を含む構成が通信制御装置10であってもよい。センサー41は、1個のセンサーでもよいし、複数のセンサーを含むものであってもよい。上位制御マイコン40は、センサー41により検出されたセンシングデータを、制御回路13に供給する。制御回路13は、通信回路12を制御することで、上位制御マイコン40から受け取ったセンシングデータを集約機3に送信する。また、図6に示す構成の場合、上位制御マイコン40が、一実施形態で説明した演算を行うことで送信タイミングを求め、送信タイミングを制御回路13に設定してもよい。そして制御回路13が設定された送信タイミングで、上位制御マイコン40から受け取ったセンシングデータを集約機3に送信するようにしてもよい。本変形例によれば、上位制御マイコン40が演算を行うため、処理を高速化することができる。
[Modification 1]
As shown in FIG. 6, the communication control device 10 may include a higher-level control microcomputer (high-level control microcomputer 40) connected to the control circuit 13 and a sensor 41 connected to the higher-level control microcomputer 40. The sensor 41 may be one sensor or may include a plurality of sensors. The host control microcomputer 40 supplies sensing data detected by the sensor 41 to the control circuit 13. The control circuit 13 transmits sensing data received from the host control microcomputer 40 to the aggregator 3 by controlling the communication circuit 12 . Further, in the case of the configuration shown in FIG. 6, the host control microcomputer 40 may calculate the transmission timing by performing the calculation described in the embodiment, and may set the transmission timing in the control circuit 13. The control circuit 13 may transmit the sensing data received from the host control microcomputer 40 to the aggregator 3 at a set transmission timing. According to this modification, since the higher-level control microcomputer 40 performs the calculation, processing can be sped up.

また、図6に示す構成において、一連の演算のうち、一部の演算を上位制御マイコン40が行い、残りの演算を制御回路13が行うようにしてもよい。例えば、上位制御マイコン40が、マスク値を乗じる演算までを行い、制御回路13が演算結果を1単位当たりの時間で変換することでディレイ時間を求めるようにしてもよい。また、上位制御マイコン40がマスク値を求める演算を行い、制御回路13が、マスク値を用いた演算を行い、演算結果に基づいてディレイ時間を求めるようにしてもよい。 Furthermore, in the configuration shown in FIG. 6, part of the series of calculations may be performed by the host control microcomputer 40, and the remaining calculations may be performed by the control circuit 13. For example, the host control microcomputer 40 may perform calculations up to multiplication by a mask value, and the control circuit 13 may calculate the delay time by converting the calculation result in terms of time per unit. Alternatively, the host control microcomputer 40 may perform calculations to obtain mask values, the control circuit 13 may perform calculations using the mask values, and obtain the delay time based on the calculation results.

[変形例2]
図7に示すように、上位制御マイコンがなく、制御回路13がセンサー(センサー42)と接続されてもよい。センサー42は、1個のセンサーでもよいし、複数のセンサーを含むものであってもよい。図7に示す構成の場合は、制御回路13がセンサー42を直接、制御する。すなわち、制御回路13は、センサー42から受け取ったセンシングデータを、自身で設定した送信タイミングで集約機3に送信する。本変形例によれば、上位制御マイコンがないため通信制御装置10を小型化でき、また、コストを低減できる。
[Modification 2]
As shown in FIG. 7, the control circuit 13 may be connected to the sensor (sensor 42) without the host control microcomputer. The sensor 42 may be one sensor or may include a plurality of sensors. In the configuration shown in FIG. 7, the control circuit 13 directly controls the sensor 42. That is, the control circuit 13 transmits the sensing data received from the sensor 42 to the aggregator 3 at the transmission timing set by itself. According to this modification, since there is no host control microcomputer, the communication control device 10 can be made smaller and the cost can be reduced.

[その他の変形例]
上述した一実施形態では、それぞれの端末装置が演算を行うようにしていたが、全ての端末装置ではなく、特定の1又は複数の端末装置2が、分割値やシリアル番号を取得した上で演算を行うようにしてもよい。そして、演算結果に基づく送信タイミングが、対応する端末装置に対して設定されるようにしてもよい。
[Other variations]
In the embodiment described above, each terminal device performs the calculation, but rather than all terminal devices, a specific one or more terminal devices 2 perform the calculation after acquiring the division value and serial number. You may also do this. Then, the transmission timing based on the calculation result may be set for the corresponding terminal device.

上述した一実施形態の構成、方法、工程、形状、材料および数値等は、本発明の主旨を逸脱しない限り、互いに組み合わせることや入れ替えることが可能である。また、1つのものを2つ以上に分けることも可能であり、2つ以上のものを1つに纏めることも可能である。さらに、一部を省略することも可能である。 The configuration, method, process, shape, material, numerical value, etc. of the embodiment described above can be combined or replaced with each other without departing from the gist of the present invention. Furthermore, it is also possible to divide one item into two or more items, and it is also possible to combine two or more items into one item. Furthermore, it is also possible to omit some of them.

また、一実施形態や変形例に係る通信制御装置は、例えば、コンピュータ、撮像装置、時計、ディスプレイ装置、医療機器などの電子機器や、車両、航空機、船舶などの移動体、基地局などの構成部品として用いられるものであってもよい。 Further, the communication control device according to the embodiment or the modified example is, for example, a configuration of an electronic device such as a computer, an imaging device, a clock, a display device, a medical device, a mobile object such as a vehicle, an aircraft, a ship, a base station, etc. It may also be used as a component.

1・・・データ収集システム
2・・・端末装置
5、41、42・・・センサー
10・・・通信制御装置
12・・・通信回路
13・・・制御回路
40・・・上位制御マイコン
1... Data collection system 2... Terminal device 5, 41, 42... Sensor 10... Communication control device 12... Communication circuit 13... Control circuit 40... Upper control microcomputer

Claims (12)

機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定する、
通信制御装置。
Perform calculations using the divided values obtained by dividing the MAC address assigned to each device, and set the transmission timing based on the calculation results.
Communication control device.
前記MACアドレスを分割することで得られる第1の分割値及び第2の分割値を乗じた演算結果に基づいて、前記送信タイミングを設定する、
請求項1に記載の通信制御装置。
setting the transmission timing based on a calculation result obtained by multiplying a first division value and a second division value obtained by dividing the MAC address;
The communication control device according to claim 1.
前記分割値と前記MACアドレスとは異なる固有値とを乗じた演算結果に基づいて、前記送信タイミングを設定する、
請求項1に記載の通信制御装置。
setting the transmission timing based on a calculation result obtained by multiplying the division value by a unique value different from the MAC address;
The communication control device according to claim 1.
前記固有値は、機器毎に割り当てられるシリアル番号である、
請求項3に記載の通信制御装置。
The unique value is a serial number assigned to each device,
The communication control device according to claim 3.
前記演算結果に対して、当該演算結果を一定以下にする所定のマスク値を乗じた演算結果に基づいて、前記送信タイミングを設定する、
請求項1に記載の通信制御装置。
setting the transmission timing based on a calculation result obtained by multiplying the calculation result by a predetermined mask value that makes the calculation result below a certain level;
The communication control device according to claim 1.
前記マスク値を乗じた演算結果を、1単位当たりの時間で変換することでディレイ時間を求め、基準時に対して前記ディレイ時間の分だけ遅延させたタイミングを前記送信タイミングとして設定する、
請求項5に記載の通信制御装置。
Determining a delay time by converting the calculation result multiplied by the mask value in terms of time per unit, and setting the timing delayed by the delay time with respect to the reference time as the transmission timing.
The communication control device according to claim 5.
前記マスク値は、1送信時間、1単位当たりの時間、通信毎のインターバル、及び、前記インターバルに対する最大ディレイ時間に基づいて決定される、
請求項5に記載の通信制御装置。
The mask value is determined based on one transmission time, one unit of time, an interval for each communication, and a maximum delay time for the interval.
The communication control device according to claim 5.
前記設定された送信タイミングで所定のセンシングデータを送信するための制御を行う、
請求項1から7までの何れかに記載の通信制御装置。
performing control for transmitting predetermined sensing data at the set transmission timing;
A communication control device according to any one of claims 1 to 7.
前記所定のセンシングデータを、サブギガヘルツ周波数帯を使う無線通信により送信する、
請求項8に記載の通信制御装置。
transmitting the predetermined sensing data by wireless communication using a sub-gigahertz frequency band;
The communication control device according to claim 8.
機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定する、
通信制御方法。
Perform calculations using the divided values obtained by dividing the MAC address assigned to each device, and set the transmission timing based on the calculation results.
Communication control method.
複数の端末装置と、
前記複数の端末装置のそれぞれから送信されるセンシングデータを受信する通信装置と、
を有し、
前記端末装置は、前記センシングデータを取得するセンサーと、通信制御装置とを有し、
前記通信制御装置は、機器毎に割り当てられるMACアドレスを分割することで得られる分割値を使用した演算を行い、演算結果に基づいて送信タイミングを設定し、設定した送信タイミングで前記センシングデータを前記通信装置に送信するための制御を行う、
データ収集システム。
multiple terminal devices;
a communication device that receives sensing data transmitted from each of the plurality of terminal devices;
has
The terminal device includes a sensor that acquires the sensing data and a communication control device,
The communication control device performs calculation using division values obtained by dividing the MAC address assigned to each device, sets transmission timing based on the calculation result, and transmits the sensing data to the transmission timing at the set transmission timing. Performs control for sending to a communication device,
Data collection system.
前記複数の端末装置は、各端末装置に対する遠隔操作に応じて同時に起動される、
請求項11に記載のデータ収集システム。
The plurality of terminal devices are activated simultaneously in response to remote control for each terminal device,
The data collection system according to claim 11.
JP2022125234A 2022-08-05 2022-08-05 Communication control device, communication control method and data collection system Pending JP2024021986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022125234A JP2024021986A (en) 2022-08-05 2022-08-05 Communication control device, communication control method and data collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022125234A JP2024021986A (en) 2022-08-05 2022-08-05 Communication control device, communication control method and data collection system

Publications (1)

Publication Number Publication Date
JP2024021986A true JP2024021986A (en) 2024-02-16

Family

ID=89855307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022125234A Pending JP2024021986A (en) 2022-08-05 2022-08-05 Communication control device, communication control method and data collection system

Country Status (1)

Country Link
JP (1) JP2024021986A (en)

Similar Documents

Publication Publication Date Title
US9014240B2 (en) Wireless transmitter/receiver, wireless communication device, and wireless communication system
US20060194564A1 (en) Radio transmitting/receiving apparatus and intermittent transmission/reception control method of radio transmitting/receiving apparatus
US20120032833A1 (en) Radar coherent processing interval scheduling via ad hoc network
JP2946406B2 (en) Transmission device, reception device, and communication system
US8477670B2 (en) Wireless communication method for wireless LAN system, wireless communication device and wireless terminal
JP2005508503A (en) Distance measuring transponder system and distance measuring method
JP2008530939A (en) Wireless ID (RFID) tag adopting special reception time frame and method thereof
CN110581756B (en) Method for operating a radio transmission system and device for a radio transmission system
US7587195B2 (en) Wireless communications apparatus made operative in dependent upon a received signal strength
US7342481B2 (en) Method and circuit arrangement for wireless data transmission
KR20160065732A (en) wireless wakeup signal transmitter for electronic equipment and receiver for the same
EP2761964B1 (en) System and method for multiple access sensor networks
US8958766B2 (en) Electronic device comprising an operating mode switching unit
EP1991942A1 (en) Apparatus and methods for electromagnetic identification
Jang et al. A wireless sensor node for condition monitoring powered by a vibration energy harvester
JP2024021986A (en) Communication control device, communication control method and data collection system
Gamm et al. Wake-up receiver operating at 433 MHz
JP2006118924A (en) Pulse radar system
KR101781743B1 (en) Wi-Fi backscatter system and backscatter communication method using the same
KR101072295B1 (en) Sensor node with self-charging function and method for operating the same
Thewes et al. Wireless energy autonomous sensor networks for automobile safety systems
Nilsson et al. Towards an energy efficient protocol for active rfid
CN213126484U (en) Wireless transmission module
Nilsson Evaluation of Secure Long Distance Communication in Non-Urban Environments
US20230119150A1 (en) Techniques for wakeup in a low-power wireless device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240319