[go: up one dir, main page]

JP6281584B2 - Communications system - Google Patents

Communications system Download PDF

Info

Publication number
JP6281584B2
JP6281584B2 JP2016030306A JP2016030306A JP6281584B2 JP 6281584 B2 JP6281584 B2 JP 6281584B2 JP 2016030306 A JP2016030306 A JP 2016030306A JP 2016030306 A JP2016030306 A JP 2016030306A JP 6281584 B2 JP6281584 B2 JP 6281584B2
Authority
JP
Japan
Prior art keywords
access point
command
frequency
communication
communication system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2016030306A
Other languages
Japanese (ja)
Other versions
JP2017146931A (en
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 JP2016030306A priority Critical patent/JP6281584B2/en
Publication of JP2017146931A publication Critical patent/JP2017146931A/en
Application granted granted Critical
Publication of JP6281584B2 publication Critical patent/JP6281584B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、通信システムに関し、特に、例えば、特定小電力無線通信を行う際に好適に用いることができる通信システムに関する。   The present invention relates to a communication system, and more particularly, to a communication system that can be suitably used when performing, for example, specific low power wireless communication.

特許文献1には、温度や照度などのセンサを備える子機から物理的状況が送信される制御システムの例が開示されている。   Patent Document 1 discloses an example of a control system in which a physical state is transmitted from a slave unit including sensors such as temperature and illuminance.

具体的には、この制御システムは、家屋等の人工環境や自然環境に配置されたセンサ群が、一つまたは複数種類の物理量(温度や照度など)を電気信号に変換し、センサIDや、同期確立のための同期信号や、発信機ID等の付加情報を加えたセンサ情報を、内部の発信機を用いて携帯端末へ送信するものである。
特開2004−356785公報の(0022)段落
Specifically, in this control system, a sensor group arranged in an artificial environment such as a house or a natural environment converts one or a plurality of types of physical quantities (such as temperature and illuminance) into an electrical signal, and a sensor ID, Sensor information to which additional information such as a synchronization signal for establishing synchronization and transmitter ID is added is transmitted to the portable terminal using an internal transmitter.
Paragraph (0022) of Japanese Patent Laid-Open No. 2004-356785

しかし、特許文献1に開示されている発明は、子機であるセンサ群から、内部の発信機を用いて温度などの情報を、親機である携帯端末へ送信する際に、センサID、発信機ID等の付加情報を用いている。これらの付加情報を用いるには、当該情報をセンサ群に設けられている不揮発性メモリなどに保存しておく必要がある。また、センサ群を単体で動作させるためには、センサ群には電池などの電源を内蔵しておく必要がある。   However, in the invention disclosed in Patent Document 1, when transmitting information such as temperature from a group of sensors serving as slave units to a portable terminal serving as a master unit using an internal transmitter, Additional information such as machine ID is used. In order to use these additional information, it is necessary to store the information in a nonvolatile memory or the like provided in the sensor group. Further, in order to operate the sensor group alone, the sensor group needs to incorporate a power source such as a battery.

そうすると、温度などの情報の送信のために通信モジュールをウェイクアップさせたり、不揮発性メモリへアクセスしたりといったセンサ群の作動時には、センサ群の消費電流が大きくなるが、これに伴って、電池の出力電圧に降下が生じる。一般的に電池は、低温環境下では電源能力が低下し、低温な環境下ほど出力電流に伴う電圧の降下が大きくなる。   Then, when the sensor group is activated, such as when the communication module is woken up to transmit information such as temperature, or the nonvolatile memory is accessed, the current consumption of the sensor group increases. A drop occurs in the output voltage. Generally, a battery has a power supply capability that decreases under a low temperature environment, and a voltage drop associated with an output current increases as the temperature decreases.

とりわけ、センサ群を小型化しようとすると、採用される電池としてはボタン型電池が典型的には考えられるが、ボタン型電池は、低温環境下での電圧降下が、他の電池に比して顕著である。このため、見かけの電池電圧は十分であるように見えても、この電圧降下に起因して、温度などの情報の通信が正常に行えなかったり、不揮発性メモリへの負荷情報の書き込み又は読出しが正常になされなかったりして、携帯端末への通信に支障をきたす場合がある。   In particular, when trying to reduce the size of a sensor group, a button type battery is typically considered as a battery to be adopted. However, a button type battery has a voltage drop in a low temperature environment as compared with other batteries. It is remarkable. For this reason, even if the apparent battery voltage appears to be sufficient, due to this voltage drop, information such as temperature cannot be normally communicated, or load information can be written to or read from the nonvolatile memory. In some cases, the communication with the mobile terminal may be hindered due to failure.

そこで、本発明は、低温環境下でも通信に支障をきたさない通信システムを提供することを課題とする。   Therefore, an object of the present invention is to provide a communication system that does not hinder communication even in a low temperature environment.

上記課題を解決するために、本発明は、
子機に設けられている温度センサによるセンシング結果を電波によって親機に送信するとともに、前記親機から前記子機に対して前記送信の条件を含むコマンドを送信する通信システムであって、
前記子機は、前記センシング結果を送信する手段に電力を供給する電池と、前記コマンドに含まれる条件が格納される不揮発性メモリを備え、
前記親機は、前記センシング結果が示す周辺温度が所定の温度以下の場合に前記コマンドの送信を行わないように制御する制御手段を備える、
通信システムである。
In order to solve the above problems, the present invention provides:
A communication system for transmitting a sensing result by a temperature sensor provided in a slave unit to the master unit by radio waves and transmitting a command including the transmission condition from the master unit to the slave unit,
The slave unit includes a battery that supplies power to the means for transmitting the sensing result, and a non-volatile memory that stores conditions included in the command,
The master unit includes control means for controlling not to transmit the command when the ambient temperature indicated by the sensing result is equal to or lower than a predetermined temperature.
It is a communication system.

なお、前記コマンドは、
前記親機と前記子機とのペアリングを解除する場合に実行される当該ペアリングに必要な情報を削除する指示するコマンド、
前記センシング結果を送信する電波の周波数を指示するコマンド、
前記センシング結果を送信する間隔を指示するコマンド、
の少なくとも一つを含むことができる。これらのコマンドは、いずれも適切な通信を実現するためには必要なコマンドだからである。
The command is
A command for deleting information necessary for pairing, which is executed when the pairing between the parent device and the child device is canceled;
A command for instructing the frequency of the radio wave for transmitting the sensing result;
A command for instructing an interval for transmitting the sensing result;
At least one of the following. This is because all of these commands are necessary for realizing appropriate communication.

また、前記所定の温度は、例えば、10℃以下とすることができる。電池は、種別によっても異なるが、一般的には、10℃〜25℃の場合に性能が良いとされている。したがって、ここでは、10℃以下となった場合に、コマンドの送信を行わないようにしている。もっとも、5℃以下、或いは、0℃以下となった場合に、コマンドの送信を行わないようしてもよい。   Further, the predetermined temperature can be set to 10 ° C. or less, for example. Although the battery differs depending on the type, it is generally considered that the battery has good performance when it is 10 ° C to 25 ° C. Therefore, here, the command is not transmitted when the temperature is 10 ° C. or lower. However, the command may not be transmitted when the temperature is 5 ° C. or lower or 0 ° C. or lower.

前記制御手段は、更に、前記電池の電圧が所定の閾値以下の場合に前記コマンドの送信を行わないように制御してもよい。係る場合にも、親機に対してセンシング結果を誤って送信することがなくなる。   The control means may further perform control so that the command is not transmitted when the voltage of the battery is equal to or lower than a predetermined threshold. Even in such a case, the sensing result is not erroneously transmitted to the base unit.

前記電池は、ボタン型電池とすることもできる。これは、子機の小型化に寄与する。   The battery may be a button type battery. This contributes to miniaturization of the slave unit.

前記親機は、複数の前記子機と接続され、前記各子機に対して前記所定周波数の切替の指示を前記電波によって送信する手段を有し、
前記指示を送信した結果、前記各子機のいずれかからの応答信号を所定時間内に受信できない場合には、当該応答信号の受信ができない子機以外の子機との間で切替を指示した周波数の電波で通信を行うこともできる。こうすると、通信状態の悪化を検出した場合に、通信チャンネルを変更することが可能となる。
The master unit is connected to a plurality of slave units, and has means for transmitting an instruction to switch the predetermined frequency to the slave units by the radio wave,
As a result of transmitting the instruction, when a response signal from any one of the slave units cannot be received within a predetermined time, switching between the slave units other than the slave unit that cannot receive the response signal is instructed. Communication can also be performed using radio waves of a frequency. If it carries out like this, it will become possible to change a communication channel, when the deterioration of a communication state is detected.

発明の実施の形態BEST MODE FOR CARRYING OUT THE INVENTION

以下、本発明の各実施形態について、図面を参照して説明する。
(概要説明)
各実施形態の通信システムは、親機であるところのアクセスポイントと、複数の子機であるエンドポイントとが無線接続されている。エンドポイントには、温度センサなどの様々なセンサを接続することができる。
Hereinafter, each embodiment of the present invention will be described with reference to the drawings.
(Overview)
In the communication system of each embodiment, an access point that is a parent device and an endpoint that is a plurality of child devices are wirelessly connected. Various sensors such as a temperature sensor can be connected to the end point.

各実施形態では、エンドポイントに対して例えば温度センサを接続した場合には、温度センサによって一定間隔ごとに周辺温度を計測して、その温度データをエンドポイントからアクセスポイントへ送信するようにしている。エンドポイントを、例えば家屋の各部屋や屋外に設置することで、
各設置場所の気温を把握可能なモニタリングシステムを構築することができる。
In each embodiment, when, for example, a temperature sensor is connected to an end point, the ambient temperature is measured at regular intervals by the temperature sensor, and the temperature data is transmitted from the end point to the access point. . By installing endpoints, for example, in each room of a house or outdoors,
A monitoring system that can grasp the temperature of each installation location can be constructed.

また、アクセスポイントとエンドポイントとの間では、これに限定されるものではないが、省電力化のために、特定小電力無線用の周波数を用いて通信を行っている。通常、この種の通信を行う場合には、通信状態の悪化などの事情が生じたときでも所望の通信が実現できるように、互いに周波数が数MHz程度異なる複数のチャンネルが用意されていることが多い。そして、通信状態の悪化などが生じたときには、アクティブに周波数を変更できるようにされている。   Further, the access point and the end point are not limited to this, but communication is performed using a specific low-power radio frequency for power saving. Normally, when this type of communication is performed, a plurality of channels having frequencies different from each other by about several MHz may be prepared so that desired communication can be realized even when a situation such as deterioration of the communication state occurs. Many. When the communication state deteriorates, the frequency can be changed actively.

各実施形態では、全エンドポイント及び全温度センサは、省電力化のために、通常時にはスリープ状態としておく。そして、所定間隔でウェイクアップさせてアクティブ状態とすることにし、その際にエンドポイントからアクセスポイントに対して温度データを送信するようにしている。   In each embodiment, all the endpoints and all the temperature sensors are set to a sleep state at normal times for power saving. Then, the active state is established by waking up at a predetermined interval, and at that time, temperature data is transmitted from the end point to the access point.

アクセスポイントは、いずれかのエンドポイントから温度データを受信すると、当該エンドポイントに対してACKを返信するが、その際に、周波数の変更要求及び変更後の周波数を示す情報を付加したACKを返信するようにしている。これにより、当該エンドポイントに設定されている周波数の変更を実現する。また、アクセスポイントは、全てのエンドポイントに対して周波数の変更要求を行った後に、自機に設定されている周波数について変更処理を行うようにしている。   When the access point receives temperature data from one of the endpoints, it returns an ACK to the endpoint. At that time, the access point returns an ACK with a frequency change request and information indicating the changed frequency added. Like to do. Thereby, the change of the frequency set in the end point is realized. Further, the access point makes a change process for the frequency set in the own device after making a frequency change request to all the end points.

この手法によれば、全エンドポイントが正常に動作している場合には、まず、全エンドポイントに設定されている周波数が変更される。その後に、アクセスポイントに設定されている周波数が変更されることになるので、周波数が変更されないエンドポイントが発生するという状況を回避することができる。   According to this method, when all the endpoints are operating normally, first, the frequencies set for all the endpoints are changed. After that, since the frequency set in the access point is changed, it is possible to avoid a situation in which an end point whose frequency is not changed occurs.

ところで、上記の手法によれば、いずれかのエンドポイントとアクセスポイントとを結ぶ無線回線で何らかの障害が発生する、又は、いずれかのエンドポイントに電池切れ或いは機器故障などが発生すると、当該エンドポイント又は無線回線の復旧まで、当該エンドポイントに設定されている周波数の変更要求を送信することができない。そうすると、結局は、アクセスポイントに設定されている周波数が変更されないという事態が生じることから、最悪のケースとしては、アクセスポイントとエンドポイントとの間で所望の通信を行うことができなくなる。   By the way, according to the above method, if any failure occurs in the wireless line connecting any endpoint and the access point, or if any battery runs out or a device failure occurs in any endpoint, the endpoint Alternatively, it is impossible to transmit a request for changing the frequency set for the endpoint until the wireless line is restored. As a result, since the frequency set in the access point is not changed after all, in the worst case, desired communication cannot be performed between the access point and the end point.

各実施形態の通信システムは、この点につき対策を講じたものである。以下、各実施形態の通信システムの構成及び動作について説明する。   The communication system of each embodiment takes measures against this point. Hereinafter, the configuration and operation of the communication system of each embodiment will be described.

<実施形態1>
本実施形態では、いずれかのエンドポイントとアクセスポイントとを結ぶ無線回線で何らかの障害が発生した場合に、周波数が変更されないエンドポイントが発生するという状況を回避する手法について説明する。
<Embodiment 1>
In the present embodiment, a method for avoiding a situation in which an endpoint whose frequency is not changed occurs when a failure occurs in a wireless line connecting any endpoint to an access point will be described.

(構成説明)
図1は、本発明の実施形態1の通信システムの模式的な構成を示すブロック図である。図1には、以下説明する、上位装置100と、アクセスポイント200と、エンドポイント300A〜300Dと、無線回線400A〜400Dとを示している。
(Configuration explanation)
FIG. 1 is a block diagram showing a schematic configuration of a communication system according to the first embodiment of the present invention. FIG. 1 shows a host device 100, an access point 200, end points 300A to 300D, and wireless lines 400A to 400D, which will be described below.

上位装置100は、アクセスポイント200に有線接続又は無線接続されているものである。上位装置100の動作はハード的に実現してもよいし、ソフト的に実現してもよい。ここでは、上位装置100は、例えば、パーソナルコンピュータというハードウェアを採用している。この場合には、後述する説明する電波強度取得手段110及び比較手段120は、パーソナルコンピュータに内蔵されているCPUとメモリに格納されているアプリケーションプログラムとの協働によって実現するようことができる。   The host device 100 is connected to the access point 200 by wire or wireless. The operation of the host device 100 may be realized by hardware or may be realized by software. Here, the host device 100 employs hardware such as a personal computer, for example. In this case, radio wave intensity acquisition means 110 and comparison means 120, which will be described later, can be realized by cooperation between a CPU built in the personal computer and an application program stored in the memory.

上位装置100は、通常時には、エンドポイント300A,300Bから温度データの送信タイミング及びアクセスポイント200とエンドポイント300A,300Bとの間の通信の電波の周波数(チャンネル)を決定したり、アクセスポイント200とエンドポイント300A〜300Dとの間のペアリングを実行するためのペアリング実行要求コマンドを生成したり、ペアリング実行要求コマンドをアクセスポイント200に出力したり、アクセスポイント200から出力されるエンドポイント300A〜300Dから送信された温度データを入力したりするものである。   The host device 100 normally determines the transmission timing of temperature data from the end points 300A and 300B and the frequency (channel) of radio waves for communication between the access point 200 and the end points 300A and 300B. A pairing execution request command for executing pairing with the endpoints 300A to 300D is generated, the pairing execution request command is output to the access point 200, or the endpoint 300A output from the access point 200 The temperature data transmitted from ~ 300D is input.

上位装置100は、電波状態の不良時などには、アクセスポイント200とエンドポイント300A〜300Dとの間の通信の電波の周波数を変更するための周波数変更要求コマンドを生成したり、周波数変更要求コマンドをアクセスポイント200出力したり、これに対する周波数変更完了通知をアクセスポイント200から所定期間内に入力しない場合に周波数変更処理を中断させる中断要求コマンドをアクセスポイント200に出力するものである。   The host device 100 generates a frequency change request command for changing the frequency of radio waves for communication between the access point 200 and the end points 300A to 300D when the radio wave condition is poor, or the frequency change request command. Is output to the access point 200, or a stop request command for interrupting the frequency change process is output to the access point 200 when a frequency change completion notification is not input from the access point 200 within a predetermined period.

このため、上位装置100は、アクセスポイント200とエンドポイント300A〜300Dとの間の通信の電波強度をアクセスポイント200から取得する電波強度取得手段110と、電波強度取得手段110によって取得された電波強度が所定の閾値以下であるか否かを比較する比較手段120とを備えている。なお、以後の説明における電波強度に係る記述について、ある時点で通信に用いている周波数(チャンネル)に極めて近い周波数帯の外来ノイズ等の影響によって、通信に用いている周波数の受信電波強度が相対的に低下した場合も「電波強度の低下」に含むものとする。   For this reason, the host device 100 includes a radio wave intensity acquisition unit 110 that acquires the radio wave intensity of communication between the access point 200 and the end points 300A to 300D from the access point 200, and a radio wave intensity acquired by the radio wave intensity acquisition unit 110. Comparing means 120 for comparing whether or not is equal to or less than a predetermined threshold value. In addition, in the description related to the radio wave intensity in the following description, the received radio wave intensity at the frequency used for communication is relatively relative due to the influence of external noise in a frequency band very close to the frequency (channel) used for communication at a certain point in time. In the case of a decrease, the “reduction in radio field strength” is also included.

アクセスポイント200は、上位装置100に有線接続等されていることに加えて、選択的に、複数のエンドポイント300A〜300Dとの間で、それぞれ、無線回線400A〜400Dを通じて無線接続される親機である。   The access point 200 is connected to the host device 100 by a wired connection or the like, and is selectively connected to a plurality of end points 300A to 300D through wireless lines 400A to 400D, respectively. It is.

アクセスポイント200は、通常時には、エンドポイント300A〜300Dから送信される温度データを受信して上位装置100へ出力したり、上位装置100から出力される各種コマンドに対応する要求をエンドポイント300A〜300Dに送信したりするものである。   The access point 200 normally receives temperature data transmitted from the endpoints 300A to 300D and outputs the temperature data to the host device 100 or requests corresponding to various commands output from the host device 100 to the endpoints 300A to 300D. Or send to.

アクセスポイント200は、電波状態の不良時などには、上位装置100から出力される周波数変更要求コマンド又は中断要求コマンドを入力して、これらのコマンドに対応する周波数変更要求をエンドポイント300A〜300Dに対して行うものである。   When the radio wave condition is poor, the access point 200 inputs a frequency change request command or an interrupt request command output from the host device 100, and sends a frequency change request corresponding to these commands to the end points 300A to 300D. This is what we do.

アクセスポイント200は、各種制御を司るマイクロコントローラ210と、エンドポイント300A〜300Dとの間で通信を行うRFモジュール220と、自機の電源がオフの状態でもエンドポイント300A〜300Dとの間のペアリング情報を保持するフラッシュメモリなどの不揮発性メモリ230とを備えている。   The access point 200 includes a microcontroller 210 that performs various controls, an RF module 220 that communicates with the end points 300A to 300D, and a pair between the end points 300A to 300D even when the power of the own device is off. And a non-volatile memory 230 such as a flash memory for holding ring information.

なお、RFモジュール220は、後述するRFモジュール320A〜320Dと同様の構成のものとしてもよいし、別の構成のものとしてもよい。RFモジュール220等は、既知のようにアンテナ、整合回路、ローパスフィルタ、表面弾性波フィルタ、平衡/不平衡変換回路などを備えている。また、RFモジュール220は、後述する各種コマンドの通信や、データ伝送のための通信を行うごとに通信エラーの発生の有無を確認するための集積回路等を備えており、同周波数帯の偶発的な外来ノイズなどの影響によって通信が正常に終了できなかった場合には、通信エラーが発生したと判定して、上位装置100にその旨を通知できる。   Note that the RF module 220 may have the same configuration as RF modules 320A to 320D described later, or may have a different configuration. The RF module 220 or the like includes an antenna, a matching circuit, a low-pass filter, a surface acoustic wave filter, a balanced / unbalanced conversion circuit, and the like as is well known. The RF module 220 includes an integrated circuit for confirming whether or not a communication error has occurred every time communication of various commands, which will be described later, or communication for data transmission is performed. If the communication cannot be normally terminated due to the influence of extraneous noise or the like, it can be determined that a communication error has occurred and can be notified to the host device 100.

また、不揮発性メモリ230は、後述する不揮発性メモリ330A〜330Dと同様の構成のものとしてもよいし、別の構成のものとしてもよい。不揮発性メモリ230等に格納されるペアリング情報とは、上位装置100において決定された送信タイミング、及び、周波数(チャンネル)を含む情報である。   Moreover, the non-volatile memory 230 may have a configuration similar to that of the non-volatile memories 330A to 330D described later, or may have a different configuration. The pairing information stored in the non-volatile memory 230 or the like is information including the transmission timing and frequency (channel) determined by the higher-level device 100.

エンドポイント300A〜300Dは、アクセスポイント200に対してそれぞれ、無線回線400A〜400Dを通じて無線接続される子機である。なお、図1には、エンドポイント300A〜300Dという4台のエンドポイントを示しているが、これらの数は例示であり、例えば、本実施形態では最大で32台のエンドポイントが接続できるようにしている。   The end points 300A to 300D are slave units that are wirelessly connected to the access point 200 through the radio lines 400A to 400D, respectively. FIG. 1 shows four endpoints 300A to 300D, but these numbers are merely examples, and for example, in the present embodiment, a maximum of 32 endpoints can be connected. ing.

エンドポイント300A〜300Dは、ボタン型電池などの電池が電源とされていて周辺温度を計測する温度センサ310A〜310Dと、温度センサ310A〜310Dによって計測された温度データをアクセスポイント200に送信等するRFモジュール320A〜320Dと、自機の電源がオフの状態でもアクセスポイント200との間のペアリング情報を保持するフラッシュメモリなどの不揮発性メモリ330A〜330Dとを備える。   The end points 300 </ b> A to 300 </ b> D are temperature sensors 310 </ b> A to 310 </ b> D that measure the ambient temperature with a battery such as a button-type battery as a power source, and the temperature data measured by the temperature sensors 310 </ b> A to 310 </ b> D RF modules 320A to 320D and non-volatile memories 330A to 330D such as a flash memory that holds pairing information with the access point 200 even when the power of the own device is off.

温度センサ310A〜310Dは、エンドポイント300A〜300Dに内蔵させることは必須でなく、エンドポイント300A〜300Dに外部接続されていてもよい。また、温度センサ310A〜310Dは、単に、エンドポイント300A〜300Dに搭載可能なセンサ例を示すものである。したがって、これに代えて、或いは、これとともに、照度センサ、湿度センサ、磁界センサ、騒音センサ、回転センサなどの各種センサを用いることもできる。   The temperature sensors 310A to 310D are not necessarily built in the end points 300A to 300D, and may be externally connected to the end points 300A to 300D. The temperature sensors 310A to 310D are merely examples of sensors that can be mounted on the endpoints 300A to 300D. Therefore, instead of or in combination with this, various sensors such as an illuminance sensor, a humidity sensor, a magnetic field sensor, a noise sensor, and a rotation sensor can be used.

無線回線400A〜400Dは、例えば、特定小電力無線を行うために、920MHz付近の周波数としている。本実施形態では、例えば既述の周波数としてch0〜ch13という合計14chを用意しており、これらの中心周波数は922.5MHzから0.4MHz間隔で927.7MHzまで設定している。   For example, the radio lines 400A to 400D have a frequency near 920 MHz in order to perform specific low-power radio. In the present embodiment, for example, a total of 14 channels of ch0 to ch13 are prepared as the above-described frequencies, and the center frequencies are set from 922.5 MHz to 927.7 MHz at intervals of 0.4 MHz.

もっとも、無線回線400A〜400Dで採用する周波数は、920MHz付近とすることは必須ではなく、また、特定小電力無線以外の無線用の回線とすることもできる。さらに、無線回線400A〜400Dで採用する周波数が920MHz付近である場合に、中心周波数自体、及び、それらの間隔も上記のものは例示であり、これらに限定されない。   However, it is not essential that the frequency employed in the radio lines 400A to 400D be in the vicinity of 920 MHz, and a radio line other than the specific low-power radio can be used. Further, when the frequency employed in the wireless lines 400A to 400D is around 920 MHz, the above-described center frequency itself and the interval between them are also examples, and the present invention is not limited thereto.

無線回線400A〜400Dの通信方式は、特定小電力無線であることから、単信方式及び同報通信方式が採用される。この場合、空中線電力は0.01W以下、占有周波数帯域幅の許容値は200kHz以下となる。しかし、将来的な特定小電力無線の規格変更等が生じることによって、これらの方式が変更された場合にであっても、本発明を適用することができる点に留意されたい。   Since the communication method of the wireless lines 400A to 400D is a specific low power wireless, a simplex method and a broadcast communication method are adopted. In this case, the antenna power is 0.01 W or less, and the allowable value of the occupied frequency bandwidth is 200 kHz or less. However, it should be noted that the present invention can be applied even when these systems are changed due to a future change in the standard of specific low-power radio.

(動作説明)
図2〜図4は、図1に示す通信システムの動作を示す一連のシーケンス図である。図2等には、理解容易のため、アクセスポイント200とのペアリングの実行対象が、エンドポイント300A,300Bである場合のシーケンスを示している。
(Description of operation)
2 to 4 are a series of sequence diagrams showing the operation of the communication system shown in FIG. For ease of understanding, FIG. 2 shows a sequence in the case where the target of pairing with the access point 200 is the end points 300A and 300B.

まず、上位装置100は、既述の送信タイミング及び周波数(チャンネル)というペアリング情報を決定する。これとともに、エンドポイント300A,300Bがペアリング実行対象であることを示す情報とペアリング情報とを含むペアリング実行要求コマンドを生成する(ステップS1)。   First, the higher-level device 100 determines pairing information such as the transmission timing and frequency (channel) described above. At the same time, a pairing execution request command including information indicating that the endpoints 300A and 300B are pairing execution targets and pairing information is generated (step S1).

つづいて、上位装置100は、ステップS1の実行により生成したペアリング実行要求コマンドをアクセスポイント200に出力する。ここでは、後述するステップS5,S7に示すように、ペアリング情報は、送信タイミングが「5分」であり、かつ、周波数(チャンネル)が「ch0」である例を示している(ステップS2)。   Subsequently, the host device 100 outputs the pairing execution request command generated by the execution of step S <b> 1 to the access point 200. Here, as shown in steps S5 and S7 described later, the pairing information shows an example in which the transmission timing is “5 minutes” and the frequency (channel) is “ch0” (step S2). .

これに対して、アクセスポイント200は、ペアリング実行要求コマンドを入力すると、ペアリング実行要求コマンドに含まれているペアリング情報を、不揮発性メモリ230に格納する。これとともに、ペアリング実行要求コマンドを入力したことを示すACKを上位装置100に出力する(ステップS3)。   On the other hand, when the pairing execution request command is input, the access point 200 stores the pairing information included in the pairing execution request command in the nonvolatile memory 230. At the same time, an ACK indicating that a pairing execution request command has been input is output to the host device 100 (step S3).

一方、エンドポイント300Aは、電源がオンされている状態でキー割込みがあると、アクセスポイント200に対して、RFモジュール320A、無線回線400A、及びRFモジュール220により、ペアリング要求を送信する(ステップS4)。   On the other hand, when there is a key interrupt while the power is on, the end point 300A transmits a pairing request to the access point 200 through the RF module 320A, the radio line 400A, and the RF module 220 (step S4).

これに対して、アクセスポイント200は、ペアリング要求を受信したことを示すACKに、ステップS2の実行により受信したペアリング実行要求コマンドに含まれるペアリング情報を含めて、エンドポイント300Aに送信する(ステップS5)。   On the other hand, the access point 200 includes the pairing information included in the pairing execution request command received by the execution of step S2 in the ACK indicating that the pairing request has been received, and transmits it to the end point 300A. (Step S5).

なお、本実施形態では、ステップS5でアクセスポイント200から送信されるACKにペアリング情報を含めるようにしているが、このことは必須ではない。したがって、ペアリング情報は、当該ACKとは別に、アクセスポイント200からエンドポイント300Aに送信されるようにしてもよい。   In the present embodiment, the pairing information is included in the ACK transmitted from the access point 200 in step S5, but this is not essential. Therefore, the pairing information may be transmitted from the access point 200 to the end point 300A separately from the ACK.

同様に、エンドポイント300Bとアクセスポイント200との間でも、ステップS4,S5と同様の処理が実行される(ステップS6,S7)。   Similarly, processing similar to steps S4 and S5 is executed between the end point 300B and the access point 200 (steps S6 and S7).

なお、アクセスポイント200は、エンドポイント300A,300B以外のエンドポイントからペアリング要求が送信されてきても、当該エンドポイントはペアリング対象ではないため、これに対するACKの送信は行わない。したがって、エンドポイント300A,300B以外のエンドポイントと間のペアリング処理が実行されることはない。   Note that even if a pairing request is transmitted from an endpoint other than the endpoints 300A and 300B, the access point 200 does not transmit an ACK to the endpoint because the endpoint is not a pairing target. Therefore, the pairing process between the endpoints other than the endpoints 300A and 300B is not executed.

ステップS4〜S7を実行すると、不揮発性メモリ330A〜330Dには、アクセスポイント200との間のペアリング情報が格納され、アクセスポイント200とエンドポイント300A,300Bとのペアリングが完了する。アクセスポイント200は、そのことを示すペアリング完了通知を上位装置100に対して出力する(ステップS8)。   When Steps S4 to S7 are executed, pairing information with the access point 200 is stored in the nonvolatile memories 330A to 330D, and pairing between the access point 200 and the end points 300A and 300B is completed. The access point 200 outputs a pairing completion notification indicating this to the higher-level device 100 (step S8).

その後、通常時の動作として、この例では、ペアリング情報内の送信タイミングに従って、5分間隔で温度センサ310Aによって温度データが計測される。それから、エンドポイント300Aからアクセスポイント200に対して、5分間隔で、この測定結果が無線回線400Aを通じて送信される(ステップS9)。   Thereafter, as a normal operation, in this example, the temperature data is measured by the temperature sensor 310A at intervals of 5 minutes according to the transmission timing in the pairing information. Then, the measurement result is transmitted from the end point 300A to the access point 200 through the wireless line 400A at intervals of 5 minutes (step S9).

アクセスポイント200は、エンドポイント300Aから送信された温度データを受信すると、そのことを示すACKをエンドポイント300Aに対して送信する(ステップS10)。   When receiving the temperature data transmitted from the end point 300A, the access point 200 transmits an ACK indicating that to the end point 300A (step S10).

ここでは、ステップS10に示すアクセスポイント200から送信されるACKには、ペアリング情報を含めていない。これは、その前にアクセスポイント200からエンドポイント300AにACK(ステップS5)を送信する際に用いたペアリング情報に対して変更がなされていないからである。もっとも、ステップS10に示すACKにも、ペアリング情報を含めてもよい。この点は、以下説明する、ステップS13,S38,S41のACKの場合も同様である。   Here, the ACK transmitted from the access point 200 shown in step S10 does not include pairing information. This is because the pairing information used when transmitting ACK (step S5) from the access point 200 to the end point 300A before that is not changed. However, pairing information may also be included in the ACK shown in step S10. This also applies to the case of ACK in steps S13, S38, and S41 described below.

また、アクセスポイント200は、エンドポイント300Aから送信された温度データを受信すると、その温度データを送信元がエンドポイント300Aであることを示す情報とともに上位装置100に対して出力する(ステップS11)。   Further, when the access point 200 receives the temperature data transmitted from the end point 300A, the access point 200 outputs the temperature data to the upper level apparatus 100 together with information indicating that the transmission source is the end point 300A (step S11).

同様に、エンドポイント300Bとアクセスポイント200と上位装置100との間でも、ステップS9〜S11と同様の処理が実行される(ステップS12〜S14)。   Similarly, processing similar to steps S9 to S11 is executed among the end point 300B, the access point 200, and the higher-level device 100 (steps S12 to S14).

一方、上位装置100は、電波状態の良否を確認する目的で、図2等には特記していないが、定期的に或いは不定期に、電波強度取得手段110によって、アクセスポイント200とエンドポイント300A,300Bのいずれかとの間の電波強度を取得している。そして、比較手段120によって当該電波強度が所定の閾値以下となったか否かを確認している。また、上位装置100は、上述したRFモジュール220からの通信エラー発生通知に基づいて、通信エラーが発生したか否かを確認している。   On the other hand, the host device 100 is not specifically shown in FIG. 2 for the purpose of confirming the quality of the radio wave condition, but the access point 200 and the end point 300A are regularly or irregularly transmitted by the radio wave intensity acquisition unit 110. , 300B is acquired. Then, it is confirmed by the comparison means 120 whether or not the radio wave intensity has become a predetermined threshold value or less. Further, the host device 100 confirms whether or not a communication error has occurred based on the communication error occurrence notification from the RF module 220 described above.

そして、仮に、電波強度が所定の閾値以下となったことを確認したり、通信エラーの発生を確認したりすると、例えばステップS1と同様の要領で、アクセスポイント200とエンドポイント300A,300Bとの間でなされる通信の電波の周波数を変更することを決定する。そして、これを実行するための周波数変更要求コマンドを生成する。   Then, if it is confirmed that the radio wave intensity is equal to or less than a predetermined threshold value, or the occurrence of a communication error is confirmed, for example, in the same manner as in step S1, the access point 200 and the end points 300A and 300B Decide to change the frequency of radio waves for communication between them. Then, a frequency change request command for executing this is generated.

なお、周波数変更要求コマンドは、典型的には、上記のように、アクセスポイント200とエンドポイント300A,300Bのいずれかとの間の通信時の電波強度が低下したり、通信エラーが発生したりしても、これらの間で所望の通信を維持すべく、これらの間の通信の電波の周波数を変更するためのコマンドである。しかし、このコマンドは、上記電波強度の低下や通信エラーの発生とは関係なく生成することもできる。   Note that, as described above, the frequency change request command typically causes a decrease in radio wave intensity during communication between the access point 200 and one of the end points 300A and 300B, or a communication error. However, the command is for changing the frequency of the radio wave of communication between them in order to maintain desired communication between them. However, this command can also be generated regardless of the above-mentioned decrease in radio field intensity or occurrence of a communication error.

つづいて、上位装置100は、この周波数変更要求コマンドをアクセスポイント200に出力するが、ここでは、ステップS18,S21に示すように、変更すべき周波数(チャンネル)が「ch5」である例を示している(ステップS15)。また、アクセスポイント200は、周波数変更要求コマンドを入力すると、このことを示すACKを上位装置100に出力する(ステップS16)。   Subsequently, the host device 100 outputs this frequency change request command to the access point 200. Here, as shown in steps S18 and S21, an example in which the frequency (channel) to be changed is “ch5” is shown. (Step S15). Further, when the frequency change request command is input, the access point 200 outputs an ACK indicating this to the higher-level device 100 (step S16).

その後、ステップS9〜S14と同様に、エンドポイント300A,300Bとアクセスポイント200と上位装置100との間で、温度データ、変更すべき周波数の情報を含むACKのやり取りがなされる。この結果、不揮発性メモリ330A〜330Dには、アクセスポイント200との間の通信の電波の変更後の周波数が格納される(ステップS17〜S22)。   After that, as in steps S9 to S14, the end points 300A and 300B, the access point 200, and the host device 100 exchange ACKs including temperature data and information on the frequency to be changed. As a result, the non-volatile memories 330 </ b> A to 330 </ b> D store the changed frequency of the radio wave for communication with the access point 200 (steps S <b> 17 to S <b> 22).

その後、アクセスポイント200は、ペアリングされている全エンドポイント300A,300Bに対する周波数の変更要求処理が完了したことから、不揮発性メモリ230内の周波数(チャンネル)を示す情報を「ch0」から「ch5」に変更するといった自機の周波数変更処理を行い(ステップS23)。そして、上位装置100に対して、周波数変更完了通知を出力する(ステップS24)。   Thereafter, the access point 200 has completed the frequency change request processing for all the paired endpoints 300A and 300B, and therefore, information indicating the frequency (channel) in the nonvolatile memory 230 is changed from “ch0” to “ch5”. The frequency change process of the own machine is performed (step S23). Then, a frequency change completion notification is output to the host device 100 (step S24).

その後、何らかの事情により、周波数の変更が必要となったとする。係る場合には、上位装置100は、アクセスポイント200との間で、ステップS15,S16の処理と同様に、周波数変更要求コマンド及びACKの入出力を行う(ステップS25,S26)。   After that, it is assumed that the frequency needs to be changed for some reason. In such a case, the higher-level device 100 inputs / outputs a frequency change request command and an ACK to / from the access point 200 in the same manner as in steps S15 and S16 (steps S25 and S26).

つぎに、図2等に示す例では、アクセスポイント200は、エンドポイント300Aからの温度データの送信があった場合には(ステップS27)、ここでは、変更すべき周波数が「ch8」であるという情報を含むACKを、エンドポイント300Aに送信する(ステップS28)。そして、その温度データの送信元がエンドポイント300Aであることを示す情報を上位装置100に対して出力する(ステップS29)。   Next, in the example illustrated in FIG. 2 and the like, when the temperature data is transmitted from the end point 300A (step S27), the access point 200 indicates that the frequency to be changed is “ch8”. An ACK including information is transmitted to the endpoint 300A (step S28). And the information which shows that the transmission source of the temperature data is the end point 300A is output with respect to the high-order apparatus 100 (step S29).

一方、このタイミングで、例えばアクセスポイント200とエンドポイント300Bとを結ぶ無線回線400B等で何らかの障害が発生すると、エンドポイント300Bから温度データを送信しても(ステップS30)、それをアクセスポイント200では受信できない。このため、エンドポイント300Bは、温度データの送信処理を何回かリトライするものの(ステップS31)、その際に障害が復旧しない場合には、当該温度データはアクセスポイント200で受信されない。   On the other hand, at this timing, for example, if any failure occurs in the wireless line 400B connecting the access point 200 and the end point 300B, the temperature data is transmitted from the end point 300B (step S30). Cannot receive. Therefore, although the end point 300B retries the temperature data transmission process several times (step S31), if the failure is not recovered at that time, the temperature data is not received by the access point 200.

係る場合には、上位装置100は、現時刻と「送信タイミング」との関係で、予定されている所定時間内に、エンドポイント300Bからの温度データがアクセスポイント200から出力されていないことを把握できる。したがって、その際には、現在、実行を要求している周波数変更処理を中断すべく、中断要求コマンドを出力する(ステップS32)。   In such a case, the higher-level device 100 grasps that the temperature data from the end point 300B is not output from the access point 200 within the predetermined predetermined time, based on the relationship between the current time and “transmission timing”. it can. Therefore, at that time, an interruption request command is output in order to interrupt the frequency change process currently requested to be executed (step S32).

アクセスポイント200は、上位装置100から出力される中断要求コマンドを入力すると、そのことを示すACKを上位装置100に出力する(ステップS33)。   When the access point 200 receives the interrupt request command output from the higher-level device 100, the access point 200 outputs an ACK indicating that to the higher-level device 100 (step S33).

その後、アクセスポイント200は、ここでは、エンドポイント300Aのように、既に、変更すべき周波数が「ch8」であるという情報を含むACKが送信済みとされているエンドポイントに対して、例えば、当該ACKの送信の根拠となるステップS25に示す周波数変更要求コマンドの送信前に設定されていた周波数、つまり、「ch5」に変更するように、周波数変更要求を送信する(ステップS34)。   Thereafter, the access point 200, for example, the endpoint 300A, with respect to the endpoint that has already transmitted an ACK including information that the frequency to be changed is “ch8”, for example, A frequency change request is transmitted so as to change to the frequency set before transmission of the frequency change request command shown in step S25, which is the basis for transmission of ACK, that is, “ch5” (step S34).

エンドポイント300Aは、アクセスポイント200から送信される周波数変更要求を受信すると、アクセスポイント200に対して、その旨のACKを送信する(ステップS35)。   When receiving the frequency change request transmitted from the access point 200, the endpoint 300A transmits an ACK to that effect to the access point 200 (step S35).

そして、アクセスポイント200は、上位装置100に対して、周波数変更の中断処理が完了したことを示す中断完了通知を出力する(ステップS36)。   Then, the access point 200 outputs an interruption completion notification indicating that the frequency change interruption process has been completed to the higher-level device 100 (step S36).

この際、アクセスポイント200に設定されている周波数(チャンネル)は、ステップS23において「ch5」に変更されたまま維持されているということになる。すなわち、エンドポイント300Bからの温度データの送信(ステップS30)が完了しないため、ステップS28に示すようなACKがエンドポイント300Bに送信されていない。このことから、アクセスポイント200に設定されている周波数(チャンネル)は、ステップS25に示す周波数変更要求コマンドの送信がなされても変更されない。   At this time, the frequency (channel) set in the access point 200 is maintained while being changed to “ch5” in step S23. That is, since the transmission of the temperature data from the end point 300B (step S30) is not completed, the ACK as shown in step S28 is not transmitted to the end point 300B. Therefore, the frequency (channel) set in the access point 200 is not changed even if the frequency change request command shown in step S25 is transmitted.

その後、ステップS9〜S11と同様に、通常時の動作として、5分間隔でエンドポイント300Aからアクセスポイント200に対して、温度データが送信され(ステップS37)、アクセスポイント200からエンドポイント300Aに対して、ACKが送信され(ステップS38)、アクセスポイント200から上位装置100に対して、エンドポイント300Aからの温度データが出力される(ステップS39)。   Thereafter, similarly to steps S9 to S11, as normal operation, temperature data is transmitted from the endpoint 300A to the access point 200 at intervals of 5 minutes (step S37), and the access point 200 to the endpoint 300A. Then, ACK is transmitted (step S38), and the temperature data from the end point 300A is output from the access point 200 to the host device 100 (step S39).

つづいて、例えば、アクセスポイント200とエンドポイント300Bとを結ぶ無線回線400B等で発生していた障害が復旧すると、ステップS12〜S14と同様に、通常時の動作として、5分間隔でエンドポイント300Bからアクセスポイント200に対して、温度データが送信され(ステップS40)、アクセスポイント200からエンドポイント300Bに対して、ACKが送信され(ステップS41)、アクセスポイント200から上位装置100に対して、エンドポイント300Bからの温度データが出力される(ステップS42)。   Subsequently, for example, when a failure that has occurred in the wireless line 400B connecting the access point 200 and the end point 300B is recovered, the end point 300B is operated at intervals of 5 minutes as normal operations as in steps S12 to S14. Temperature data is transmitted from the access point 200 to the access point 200 (step S40), ACK is transmitted from the access point 200 to the end point 300B (step S41), and the end point is transmitted from the access point 200 to the host device 100. Temperature data from the point 300B is output (step S42).

本実施形態の通信システムによると、中断要求コマンドを用いることによって周波数変更を中断させることができるので、アクセスポイント200とエンドポイント300A等と所望の通信がしばらく行われないという事態を回避することができる。これは、アクセスポイント200とエンドポイント300A等との間の通信間隔が長い場合には、周波数変更を正常に完了するまで多くの時間(例えば、30分)がかかることからすれば、非常に有効な対応である。   According to the communication system of the present embodiment, since the frequency change can be interrupted by using the interruption request command, it is possible to avoid a situation in which desired communication with the access point 200 and the endpoint 300A is not performed for a while. it can. This is very effective if the communication interval between the access point 200 and the end point 300A is long, since it takes a lot of time (for example, 30 minutes) to complete the frequency change normally. It is a correspondence.

<実施形態2>
本実施形態では、いずれかのエンドポイントに電池切れ又は機器故障などが発生した場合に好適な通信システムについて説明する。例えば、エンドポイント300Bに電池切れ又は機器故障などが発生した場合には、このような状況が回避されるまでは、エンドポイント300Bとの通信は継続することはできないが、引き続き、エンドポイント300Aとの通信を継続することが好ましい。
<Embodiment 2>
In the present embodiment, a communication system suitable for a case where a battery runs out or a device failure occurs at any endpoint will be described. For example, when a battery runs out or an equipment failure occurs in the end point 300B, communication with the end point 300B cannot be continued until such a situation is avoided. It is preferable to continue the communication.

図5は、本発明の実施形態2に係るエンドポイント300Bの電源である電池切れ又はエンドポイント300B自体の故障時に係るシーケンス図であり、図4に対応するものである。なお、図5において、図4に示す処理と同様の処理には、同一の符号を付しており、図2〜図3に示す処理は実施形態2においても同様に行われる。また、本実施形態の通信システムの構成は、実施形態1で説明したものと同様とすればよい。   FIG. 5 is a sequence diagram relating to a case where the battery serving as the power source of the endpoint 300B according to Embodiment 2 of the present invention is exhausted or the endpoint 300B itself fails, and corresponds to FIG. In FIG. 5, the same processes as those shown in FIG. 4 are denoted by the same reference numerals, and the processes shown in FIGS. 2 to 3 are similarly performed in the second embodiment. The configuration of the communication system according to the present embodiment may be the same as that described in the first embodiment.

ここで、図4ではステップS30,S31において、温度データの送信及びリトライを行っている。しかし、エンドポイント300Bに電池切れ又はエンドポイント300B自体の故障が発生すると(ステップS30’)、そもそも、エンドポイント300Bは、温度データをアクセスポイント200に対して送信することができない。   Here, in FIG. 4, transmission and retry of temperature data are performed in steps S30 and S31. However, when the end point 300B runs out of battery or the end point 300B itself fails (step S30 '), the end point 300B cannot transmit temperature data to the access point 200 in the first place.

この場合、実施形態1と同じく、上位装置100は、現時刻と「送信タイミング」との関係で、予定されている所定時間内に、エンドポイント300Bから送信されるべき温度データがアクセスポイント200から出力されていないことを把握できるので、中断要求コマンドを出力し(ステップS32)、アクセスポイント200は、中断要求コマンドの入力を示すACKを上位装置100に出力する(ステップS33)。   In this case, as in the first embodiment, the host device 100 receives the temperature data to be transmitted from the end point 300B from the access point 200 within a predetermined predetermined time in relation to the current time and “transmission timing”. Since it can be grasped that it has not been output, an interruption request command is output (step S32), and the access point 200 outputs an ACK indicating the input of the interruption request command to the host device 100 (step S33).

その後、実施形態1と同様に、アクセスポイント200からエンドポイント300Aに対して、周波数変更要求コマンドの送信前に設定されていた周波数である「ch5」に変更するように、周波数変更要求が送信され(ステップS34)、エンドポイント300Aからアクセスポイント200に対して、周波数変更要求を受信したことを示すACKが送信され(ステップS35)、アクセスポイント200から上位装置100に対して、周波数変更の中断処理が完了したことを示す中断完了通知が出力される(ステップS36)。   Thereafter, as in the first embodiment, a frequency change request is transmitted from the access point 200 to the end point 300A so as to change the frequency to “ch5” that was set before the transmission of the frequency change request command. (Step S34) An ACK indicating that the frequency change request has been received is transmitted from the end point 300A to the access point 200 (Step S35), and the frequency change interruption process is performed from the access point 200 to the higher-level device 100. An interruption completion notification indicating that has been completed is output (step S36).

その後、実施形態1と同様に、通常時の動作として、5分間隔でエンドポイント300Aからアクセスポイント200に対して、温度データが送信され(ステップS37)、アクセスポイント200からエンドポイント300Aに対してACKが送信され(ステップS38)、アクセスポイント200から上位装置100に対して、エンドポイント300Aからの温度データが出力される(ステップS39)。   Thereafter, as in the first embodiment, as a normal operation, temperature data is transmitted from the endpoint 300A to the access point 200 at intervals of 5 minutes (step S37), and the access point 200 to the endpoint 300A. ACK is transmitted (step S38), and temperature data from the end point 300A is output from the access point 200 to the host device 100 (step S39).

なお、その後、所定時間を経過しても、エンドポイント300Bから送信されるべき温度データがアクセスポイント200から上位装置100に出力されない場合には、上位装置100はアクセスポイント200における不揮発性メモリ230に格納されているエンドポイント300Bに関するペアリング情報を削除するというペアリングクリア要求を出力してもよい。   If the temperature data to be transmitted from the end point 300B is not output from the access point 200 to the host device 100 after a predetermined time has elapsed, the host device 100 stores the data in the nonvolatile memory 230 at the access point 200. You may output the pairing clear request | requirement of deleting the pairing information regarding the stored endpoint 300B.

こうすると、エンドポイント300Aを含むアクセスポイント200との間で通信継続中のエンドポイント(ここでは、エンドポイント300Aしか存在しない例を示している。)に対して、所望の周波数変更処理を実行させることができる。   In this way, a desired frequency change process is executed for an endpoint that is continuing communication with the access point 200 including the endpoint 300A (here, an example in which only the endpoint 300A exists) is shown. be able to.

(他の実施形態)
1.中断要求コマンド出力後の処理
実施形態1で説明した手法は、外来ノイズ等に起因して、多少の相対的な通信時の電波強度の低下が生じても、通信障害から復旧したエンドポイント300Bからもスムーズな温度データの取得を実現したい場合に好適な手法である。ただし、破線で囲まれたステップS34〜S42は、通信システムの目的等に応じて種々の差し替えが可能である。
(Other embodiments)
1. Processing after Output of Interrupt Request Command The method described in the first embodiment is based on the endpoint 300B that has recovered from a communication failure even if the radio field strength during communication is somewhat reduced due to external noise or the like. This is a method suitable for achieving smooth temperature data acquisition. However, steps S34 to S42 surrounded by a broken line can be variously changed according to the purpose of the communication system.

例えば、エンドポイント300Aとの通信時の相対的な電波強度の低下が生じていても、エンドポイント300Bとの通信を継続することを実現したい場合もあろう。係る場合には、例えば、アクセスポイント200とエンドポイント300Aとの通信は、変更しようとしていた周波数である「ch8」を用い、アクセスポイント200とエンドポイント300Bとの通信は、元の周波数である「ch5」を用いるようにすることもできる。   For example, there may be a case where it is desired to continue the communication with the end point 300B even if the relative radio wave intensity is lowered during the communication with the end point 300A. In such a case, for example, the communication between the access point 200 and the end point 300A uses “ch8” which is the frequency to be changed, and the communication between the access point 200 and the end point 300B is the original frequency “ ch5 "can also be used.

これを実現するためには、ステップS34,S35の処理に代えて、エンドポイント300A用に「ch8」を用い、エンドポイント300B用に「ch5」を用いることができるように、アクセスポイント200における「周波数変更処理」を実行すればよい。なお、ステップS36以降の処理は、図4の場合と同様でよい。   In order to realize this, “ch8” is used for the end point 300A and “ch5” is used for the end point 300B in place of the processing of steps S34 and S35. What is necessary is just to perform a "frequency change process." Note that the processing after step S36 may be the same as in FIG.

一例としては、第一に、「送信タイミング」と現時刻とに基づいてエンドポイント300Aから温度データが送信される時間帯に「ch8」に切り替える。第二に、エンドポイント300Bから温度データが送信される時間帯に「ch5」に切り替えるといったアクセスポイント200の周波数を時分割で変更することが挙げられる。或いは、アクセスポイント200をマルチ周波数通信ができるタイプのものを採用することが挙げられる。   As an example, first, based on the “transmission timing” and the current time, the channel is switched to “ch8” in a time zone in which temperature data is transmitted from the endpoint 300A. Secondly, the frequency of the access point 200 is changed in a time division manner such as switching to “ch5” in the time zone in which the temperature data is transmitted from the end point 300B. Alternatively, the access point 200 may be of a type that can perform multi-frequency communication.

2.エンドポイント300A〜300Dの電源がボタン型電池などである場合の処理
電池は、その周辺温度が低いと、電圧降下が生じること、とりわけ、ボタン型電池は、これが著しいことが知られている。そうすると、ボタン型電池等を電源として用いるエンドポイント300A〜300Dでは、予定されている動作がきちんと実行できない事態が生じ得る。
2. Processing in the case where the power source of the endpoints 300A to 300D is a button type battery or the like. It is known that when the ambient temperature of the battery is low, a voltage drop occurs, especially in the button type battery. Then, in the end points 300A to 300D that use a button type battery or the like as a power source, a situation in which a scheduled operation cannot be performed properly may occur.

予定されている動作が、単にアクセスポイント200への温度データの送信であれば、通信システムに深刻な問題は生じない。エンドポイント300A〜300Dが、温度データの送信リトライを実行することで、温度データをアクセスポイント200に送信することもできるためである。   If the scheduled operation is simply the transmission of temperature data to the access point 200, there will be no serious problem with the communication system. This is because the end points 300 </ b> A to 300 </ b> D can also transmit the temperature data to the access point 200 by executing the transmission retry of the temperature data.

一方で、実施形態1で説明した通信システムは、適宜、例えば、アクセスポイント200とエンドポイント300A〜300Dとの間の通信の電波の周波数であったり、温度データの送信タイミングであったりを変更することができるようにしている。これらの処理がなされる際には、不揮発性メモリ330A〜330D内の情報の書き換えが伴う。   On the other hand, the communication system described in the first embodiment appropriately changes, for example, the frequency of radio waves for communication between the access point 200 and the end points 300A to 300D or the transmission timing of temperature data. To be able to. When these processes are performed, information in the nonvolatile memories 330A to 330D is rewritten.

そうすると、この書き換えのタイミングで、周辺温度が低いことに起因してボタン型電池などの電池の電圧降下が生じると、当該書き換えがうまく実行されない場合が生じ得る。一例をあげると、上記周波数を書き換えるべき必要があるにも拘らず、これが書き換えられなかった場合である。   Then, when the voltage drop of a battery such as a button-type battery occurs due to the low ambient temperature at the rewriting timing, the rewriting may not be performed successfully. As an example, this is a case where the above-mentioned frequency needs to be rewritten but is not rewritten.

この場合には、そのエンドポイントとアクセスポイント200との間での通信の電波で設定されるべき周波数は異なることになる。そうすると、以後、両機間では、通信を行うことができなくなる。   In this case, the frequency to be set by the radio wave for communication between the end point and the access point 200 is different. If it does so, it will become impossible to communicate between both machines after that.

本実施形態では、これを回避するために、エンドポイント300A〜300Dから送信される各温度データが所定の閾値(例えば10℃)よりも低い場合には、アクセスポイント200とエンドポイント300A〜300Dとの間の通信を継続するために、周波数の変更要求等を制限する。   In this embodiment, in order to avoid this, when each temperature data transmitted from the end points 300A to 300D is lower than a predetermined threshold (for example, 10 ° C.), the access point 200 and the end points 300A to 300D In order to continue communication between the two, the frequency change request is limited.

表1は、アクセスポイント200からエンドポイント300A〜300Dへ送信されることが制限される信号(コマンド)の名称及び概要の一覧表である。

Figure 0006281584
Table 1 is a list of names and outlines of signals (commands) that are restricted from being transmitted from the access point 200 to the endpoints 300A to 300D.
Figure 0006281584

表1には、
(1)「周波数変更要求コマンド」という、アクセスポイント200とエンドポイント300A〜300Dとの間の通信の電波の周波数の変更を要求するコマンドと、
(2)「送信タイミング変更要求コマンド」という、アクセスポイント200とエンドポイント300A〜300Dとの間の通信のタイミングの変更を要求するコマンドと、
(3)「中断要求コマンド」という、アクセスポイント200とエンドポイント300A〜300Dとの間の通信の電波の周波数の変更の中断を要求するコマンドと、
(4)「ペアリングクリア要求コマンド」という、アクセスポイント200とエンドポイント300A〜300Dとの少なくともいずれかとの間のペアリングを解除する場合に、当該少なくとも当該エンドポイントとの間のペアリング情報の削除を要求するコマンドと、
を示している。
Table 1 shows
(1) A command for requesting a change in the frequency of radio waves for communication between the access point 200 and the end points 300A to 300D, referred to as a “frequency change request command”;
(2) A command for requesting a change in the timing of communication between the access point 200 and the end points 300A to 300D, referred to as a “transmission timing change request command”;
(3) A command called “interrupt request command” for requesting to interrupt the change of the radio wave frequency of communication between the access point 200 and the end points 300A to 300D;
(4) When releasing the pairing between the access point 200 and at least one of the end points 300A to 300D, which is referred to as a “pairing clear request command”, the pairing information between the at least the end point A command to request deletion,
Is shown.

本実施形態では、アクセスポイント200からエンドポイント300A〜300Dへ信号(コマンド)送信を制限するために、まず、温度データが所定の閾値よりも低いか否かの判定を上位装置100で行う。そして、判定の結果、温度データが所定の閾値よりも低い場合に当該信号の送信を要求するコマンドをアクセスポイント200に出力しないようにする。   In the present embodiment, in order to limit signal (command) transmission from the access point 200 to the end points 300A to 300D, first, the host device 100 determines whether the temperature data is lower than a predetermined threshold. Then, as a result of the determination, when the temperature data is lower than a predetermined threshold, a command for requesting transmission of the signal is not output to the access point 200.

例示をすると、この場合、図3のステップS15、或いは、図4のステップS25に示す「周波数変更要求コマンド」を出力しないようにする。また、図4のステップS32に示す「中断要求コマンド」を出力しないようにすることが挙げられる。   To illustrate, in this case, the “frequency change request command” shown in step S15 of FIG. 3 or step S25 of FIG. 4 is not output. Further, it is possible not to output the “interrupt request command” shown in step S32 of FIG.

また、アクセスポイント200からエンドポイント300A〜300Dへ信号(コマンド)送信を制限するには、上記の場合に限られないので、例えば、まず、上記判定をアクセスポイント200で行う。そして、上位装置100から表1に記載されているコマンドのいずれかが出力されても、当該コマンドに対応する信号を、エンドポイント300A〜300Dに送信しないようにすることもできる。   In addition, since the signal (command) transmission from the access point 200 to the end points 300 </ b> A to 300 </ b> D is not limited to the above case, for example, the determination is first performed by the access point 200. Even if any of the commands listed in Table 1 is output from the host device 100, a signal corresponding to the command can be prevented from being transmitted to the endpoints 300A to 300D.

例示をすると、この場合、図3のステップS18,S21、或いは、図4のステップS28に示すACKに変更後の周波数を示す情報を含めないようにする。また、図4のステップS34に示す「周波数変更要求」を出力しないようにすることが挙げられる。   For example, in this case, information indicating the frequency after the change is not included in the ACK shown in steps S18 and S21 in FIG. 3 or step S28 in FIG. Another example is not to output the “frequency change request” shown in step S34 of FIG.

3.変更/中断の主体及び対象
上位装置100で実行される動作の一部は、アクセスポイント200で実現することもできる。具合的には、例えば、アクセスポイント200で、中断要求コマンドの生成の契機とすることができる電波強度と所定の閾値との比較を行い、電波強度が所定の閾値以下である場合には図3のステップS18,S21のACKを送信するとよい。こうすると、ステップS32,S33,S36を割愛することができる。
3. Change / Suspension Subject and Target Part of the operations executed by the host device 100 can be realized by the access point 200. More specifically, for example, the access point 200 compares the radio wave intensity that can be used to generate the interruption request command with a predetermined threshold value, and when the radio wave intensity is equal to or lower than the predetermined threshold value, FIG. ACKs in steps S18 and S21 may be transmitted. In this way, steps S32, S33, and S36 can be omitted.

また、既述の各実施形態では、上位装置100からアクセスポイント200に対して、「周波数変更要求コマンド」を出力する場合を例に説明したが、当該コマンドによって変更要求される対象は「周波数」に限定されず、例えば、「送信タイミング」とすることもできる。また、これらの双方とすることもできる。   Further, in each of the above-described embodiments, the case where the “frequency change request command” is output from the higher-level device 100 to the access point 200 has been described as an example. However, the target to be changed by the command is “frequency”. For example, “transmission timing” may be used. Moreover, it can also be set as both of these.

本発明の実施形態の通信システムの模式的な構成を示すブロック図である。It is a block diagram which shows the typical structure of the communication system of embodiment of this invention. 図1に示す通信システムの動作を示す一連のシーケンス図である。FIG. 2 is a series of sequence diagrams illustrating an operation of the communication system illustrated in FIG. 1. 図1に示す通信システムの動作を示す一連のシーケンス図である。FIG. 2 is a series of sequence diagrams illustrating an operation of the communication system illustrated in FIG. 1. 図1に示す通信システムの動作を示す一連のシーケンス図である。FIG. 2 is a series of sequence diagrams illustrating an operation of the communication system illustrated in FIG. 1. 本発明の実施形態2に係るエンドポイント300Bの電源である電池切れ又はエンドポイント300B自体の故障時に係るシーケンス図である。It is a sequence diagram which concerns on the time of the battery running out which is the power supply of the endpoint 300B which concerns on Embodiment 2 of this invention, or failure of the endpoint 300B itself.

100 上位装置
110 電波強度取得手段
120 比較手段
200 アクセスポイント
210 マイクロコントローラ
220 RFモジュール
230 不揮発性メモリ
300A〜300D エンドポイント
310A〜310D 温度センサ
320A〜320D RFモジュール
330A〜330D 不揮発性メモリ
400A〜400D 無線回線

DESCRIPTION OF SYMBOLS 100 Host apparatus 110 Radio wave intensity acquisition means 120 Comparison means 200 Access point 210 Microcontroller 220 RF module 230 Non-volatile memory 300A-300D Endpoint 310A-310D Temperature sensor 320A-320D RF module 330A-330D Non-volatile memory 400A-400D Wireless line

Claims (6)

子機に設けられている温度センサによるセンシング結果を電波によって親機に送信するとともに、前記親機から前記子機に対して前記送信の条件を含むコマンドを送信する通信システムであって、
前記子機は、前記センシング結果を送信する手段に電力を供給する電池と、前記コマンドに含まれる条件が格納される不揮発性メモリを備え、
前記親機は、前記センシング結果が示す周辺温度が所定の温度以下の場合に前記コマンドの送信を行わないように制御する制御手段を備える、
通信システム。
A communication system for transmitting a sensing result by a temperature sensor provided in a slave unit to the master unit by radio waves and transmitting a command including the transmission condition from the master unit to the slave unit,
The slave unit includes a battery that supplies power to the means for transmitting the sensing result, and a non-volatile memory that stores conditions included in the command,
The master unit includes control means for controlling not to transmit the command when the ambient temperature indicated by the sensing result is equal to or lower than a predetermined temperature.
Communications system.
前記コマンドは、
前記親機と前記子機とのペアリングを解除する場合に実行される当該ペアリングに必要な情報を削除する指示するコマンド、
前記センシング結果を送信する電波の周波数を指示するコマンド、
前記センシング結果を送信する間隔を指示するコマンド、
の少なくとも一つを含む、請求項1記載の通信システム。
The command is
A command for deleting information necessary for pairing, which is executed when the pairing between the parent device and the child device is canceled;
A command for instructing the frequency of the radio wave for transmitting the sensing result;
A command for instructing an interval for transmitting the sensing result;
The communication system according to claim 1, comprising at least one of the following.
前記所定の温度は、10℃以下である、請求項1記載の通信システム。    The communication system according to claim 1, wherein the predetermined temperature is 10 ° C. or less. 前記制御手段は、更に、前記電池の電圧が所定の閾値以下の場合に前記コマンドの送信を行わないように制御する、請求項記載の通信システム。 It said control means further the voltage of the battery is controlled so as not to perform transmission of the command if below a predetermined threshold value, the communication system according to claim 1, wherein. 前記電池は、ボタン型電池である、請求項1記載の通信システム。    The communication system according to claim 1, wherein the battery is a button-type battery. 前記親機は、複数の前記子機と接続され、前記各子機に対して前記所定周波数の切替の指示を前記電波によって送信する手段を有し、
前記指示を送信した結果、前記各子機のいずれかからの応答信号を所定時間内に受信できない場合には、当該応答信号の受信ができない子機以外の子機との間で切替を指示した周波数の電波で通信を行う、請求項1記載の通信システム。
The master unit is connected to a plurality of slave units, and has means for transmitting an instruction to switch the predetermined frequency to the slave units by the radio wave,
As a result of transmitting the instruction, when a response signal from any one of the slave units cannot be received within a predetermined time, switching between the slave units other than the slave unit that cannot receive the response signal is instructed. The communication system according to claim 1, wherein communication is performed using radio waves of a frequency.
JP2016030306A 2016-02-19 2016-02-19 Communications system Expired - Fee Related JP6281584B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016030306A JP6281584B2 (en) 2016-02-19 2016-02-19 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016030306A JP6281584B2 (en) 2016-02-19 2016-02-19 Communications system

Publications (2)

Publication Number Publication Date
JP2017146931A JP2017146931A (en) 2017-08-24
JP6281584B2 true JP6281584B2 (en) 2018-02-21

Family

ID=59683159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016030306A Expired - Fee Related JP6281584B2 (en) 2016-02-19 2016-02-19 Communications system

Country Status (1)

Country Link
JP (1) JP6281584B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020166363A1 (en) * 2019-02-15 2020-08-20 株式会社Kelk Thermoelectric power generation device and vibration detection system
JP2020137403A (en) * 2019-02-15 2020-08-31 株式会社Kelk Thermoelectric generator and vibration detection system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02161891A (en) * 1988-12-14 1990-06-21 Fujitsu Ltd Communication processing method for monitoring terminal equipment
JP2000215377A (en) * 1999-01-26 2000-08-04 T & D:Kk measuring device
JP2001093071A (en) * 1999-09-21 2001-04-06 Ricoh Elemex Corp Radio meter reading system
JP4554049B2 (en) * 2000-09-01 2010-09-29 東京瓦斯株式会社 Communication system and communication apparatus
JP2002199465A (en) * 2000-12-26 2002-07-12 Sharp Corp Terminal device
JP2009065337A (en) * 2007-09-05 2009-03-26 Sharp Corp Wireless telemeter system
JP2010271897A (en) * 2009-05-21 2010-12-02 Toshiba Toko Meter Systems Co Ltd Wireless meter reading system
JP5500658B2 (en) * 2011-07-21 2014-05-21 Necシステムテクノロジー株式会社 Battery driving device, battery driving method and program
JP6100517B2 (en) * 2012-12-20 2017-03-22 シャープ株式会社 Wireless telemeter system

Also Published As

Publication number Publication date
JP2017146931A (en) 2017-08-24

Similar Documents

Publication Publication Date Title
US12301517B2 (en) Method for controlling activation of BWP, user equipment and base station
CN111868669B (en) Coding control and coding method, system, chip, electronic device and storage medium
US12225511B2 (en) Resource pool configuration method, resource pool using method, configuration device, and terminal
JP6262699B2 (en) Wireless communication device and processor
JP7442464B2 (en) Cell management method, terminal and network side equipment
KR20120038672A (en) Universal serial bus dongle and method controlling power thereof
JP6281584B2 (en) Communications system
JP2012015803A (en) Communication device, program, and communication method
US9930669B2 (en) Radio communication device, control method and radio communication system
JP4862582B2 (en) Wireless LAN control device and program
US20220060867A1 (en) Wireless sensor device, host device, and method of controlling low-power operation of wireless sensor device
US12432797B2 (en) Wireless communication device and wireless communication method
JP2017147699A (en) Communication system
JP6846164B2 (en) Wireless communication equipment and wireless communication system
JP2015149579A (en) Radio access point device, radio communication terminal, and radio communication system
KR101844069B1 (en) Method and apparatus for configurating ping interval in a portable terminal
JP2018014647A (en) Radio communication system and radio remote control system
JP2018061150A (en) Communications system
JP7264513B2 (en) MESH CONTROLLER, MESH AGENT, MESH NETWORK SYSTEM, CONTROL METHOD AND CONTROL PROGRAM
KR20220158978A (en) Electronic device for reducing power consumption by measurement and operating method thereof
JP2014021919A (en) Av equipment
JP2014230181A (en) Communication device
JP2004201251A (en) Image control method, mobile station provided with image control unit
JP2019028479A (en) Status collection system
JP2002267251A (en) Hot-water supply apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180108

R150 Certificate of patent or registration of utility model

Ref document number: 6281584

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees