Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5993320B2 - Communication terminal - Google Patents
[go: Go Back, main page]

JP5993320B2 - Communication terminal - Google Patents

Communication terminal Download PDF

Info

Publication number
JP5993320B2
JP5993320B2 JP2013021879A JP2013021879A JP5993320B2 JP 5993320 B2 JP5993320 B2 JP 5993320B2 JP 2013021879 A JP2013021879 A JP 2013021879A JP 2013021879 A JP2013021879 A JP 2013021879A JP 5993320 B2 JP5993320 B2 JP 5993320B2
Authority
JP
Japan
Prior art keywords
transmission
slot
transmission slot
cycle
cpu
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
JP2013021879A
Other languages
Japanese (ja)
Other versions
JP2014154984A (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.)
Nagano Japan Radio Co Ltd
Original Assignee
Nagano Japan Radio Co Ltd
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 Nagano Japan Radio Co Ltd filed Critical Nagano Japan Radio Co Ltd
Priority to JP2013021879A priority Critical patent/JP5993320B2/en
Publication of JP2014154984A publication Critical patent/JP2014154984A/en
Application granted granted Critical
Publication of JP5993320B2 publication Critical patent/JP5993320B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、1つの送信対象機に対して複数配置されて、取得したデータをこの送信対象機に送信する通信端末に関するものである。   The present invention relates to a communication terminal that is arranged in plural for one transmission target device and transmits acquired data to the transmission target device.

この種の通信端末として、下記の特許文献1において背景技術として開示された通信端末(子機)が知られている。   As this type of communication terminal, a communication terminal (child device) disclosed as background art in Patent Document 1 below is known.

この通信端末は、アドホックネットワークシステムを利用した地域防犯システムに適用した例を挙げて説明されているように、発呼時にキャリアセンスを実行して他の子機からのキャリアの有無を確認し、他のキャリアが無いときには、乱数により発生するランダム待時間を経て中継機(送信対象機)に対する送信を実行することにより、待機している複数の通信端末同士間のコリジョン(複数の通信端末から送信されたキャリアの衝突)の発生を回避している。   This communication terminal performs carrier sense at the time of calling to confirm the presence or absence of carriers from other slave units, as described with an example applied to a local security system using an ad hoc network system, When there is no other carrier, a collision between a plurality of waiting communication terminals (transmitted from a plurality of communication terminals) is performed by executing transmission to a relay device (transmission target device) after a random waiting time generated by a random number. Occurrence of carrier collision).

この場合、「他のキャリアが無いとき」とは、通信端末同士が晒し関係(双方が他の通信端末のキャリアを検出し得る関係)にある状態において、他のすべての通信端末がデータを送信するタイミングにないことを示している場合と、通信端末同士が隠れ関係(双方が他の通信端末のキャリアを検出できない関係)にある場合のいずれかを示している。   In this case, “when there is no other carrier” means that all the other communication terminals transmit data in a state where the communication terminals are exposed to each other (a relation in which both carriers can detect the carriers of the other communication terminals). The communication terminal is in a hidden relationship (a relationship in which both the carriers of other communication terminals cannot be detected).

したがって、通信端末同士が晒し関係にあれば、キャリアの衝突の発生をほぼ回避できるものの、通信端末同士が隠れ関係にあるときには、各通信端末は他のキャリアが無いと判別することから、ランダム待時間を経て中継機に対する送信を実行する。これにより、隠れ関係にある通信端末同士間では、キャリアの衝突がランダムに発生することになる。   Therefore, if communication terminals are in an exposed relationship, the occurrence of carrier collision can be substantially avoided. However, when communication terminals are in a hidden relationship, each communication terminal determines that there is no other carrier. Execute transmission to the repeater over time. As a result, carrier collisions occur randomly between communication terminals in a hidden relationship.

特許第4976258号公報(第2頁)Japanese Patent No. 4976258 (page 2)

このように、この通信端末には、他の通信端末との関係が隠れ関係にあるときには、キャリアが衝突する状態と、キャリアが衝突しない状態とがランダムに発生することから、キャリアの衝突が発生する頻度を確実に低減することが望まれている。   In this way, in this communication terminal, when the relationship with other communication terminals is hidden, a carrier collision state and a carrier non-collision state occur randomly, and thus a carrier collision occurs. It is desirable to reliably reduce the frequency of operation.

本発明は、かかる課題を改善すべくなされたものであり、複数の通信端末間でのキャリアの衝突の発生を低減し得る通信端末を提供することを主目的とする。   The present invention has been made to improve such a problem, and has as its main object to provide a communication terminal that can reduce the occurrence of carrier collision among a plurality of communication terminals.

上記目的を達成すべく請求項1記載の通信端末は、送信対象機に対する無線でのデータ送信に要する送信時間と当該データ送信に対する当該送信対象機からの無線での応答の受信に要する受信時間の合計時間以上の予め規定された基準時間で予め規定された送信周期を複数に分割して得られる複数のスロットのうちから選択された1つのスロットを送信スロットとして当該送信スロット内で前記データ送信を実行し、前記応答を受信したとき、および前記応答を受信できない場合であっても予め決められた規定回数を連続して受信できない状態に達するまでは、同じ前記送信スロット内での前記データ送信を前記送信周期で継続して実行し、前記規定回数を連続して前記応答を受信できない状態に達したときには、前記複数のスロットのうちから無作為に1つのスロットを選択して新たな前記送信スロットに決定するスロット選択処理を予め規定された確率に従って実行し、前記スロット選択処理を実行したときには、前記選択した新たな送信スロット内で前記データ送信を実行し、かつ前記スロット選択処理を実行しなかったときには、前記同じ送信スロット内での前記データ送信を前記送信周期で継続する。   In order to achieve the above object, the communication terminal according to claim 1 includes a transmission time required for wireless data transmission to the transmission target device and a reception time required for reception of a wireless response from the transmission target device for the data transmission. The data transmission is performed in the transmission slot with one slot selected from a plurality of slots obtained by dividing the transmission cycle defined in advance by a predetermined reference time equal to or greater than the total time as a transmission slot. Execute the data transmission in the same transmission slot until the state where the predetermined prescribed number of times cannot be continuously received even when the response is received and when the response cannot be received. When continuously executing the transmission cycle and reaching the state where the response cannot be received continuously for the specified number of times, A slot selection process for selecting one slot at random and determining the new transmission slot is executed according to a predetermined probability, and when the slot selection process is executed, the slot selection process is performed within the selected new transmission slot. When the data transmission is executed and the slot selection process is not executed, the data transmission in the same transmission slot is continued in the transmission cycle.

また、請求項2記載の通信端末は、請求項1記載の通信端末において、起動直後における前記送信スロット内での前記データ送信の実行に対して前記応答を受信できなかったときには、前記スロット選択処理を値1の確率に従って実行して前記新たな送信スロットを決定する。   The communication terminal according to claim 2 is the communication terminal according to claim 1, wherein when the response is not received in response to execution of the data transmission in the transmission slot immediately after activation, the slot selection processing is performed. Is executed according to the probability of value 1 to determine the new transmission slot.

請求項1記載の通信端末では、送信対象機との間での通信が良好なとき(応答を受信したとき)、および応答を受信できない場合であっても規定回数を連続して受信できない状態に達するまでは、直前の送信周期での送信スロットと同じ送信スロットを選択し、この選択した送信スロット内でのデータ送信を送信周期で継続して実行する。   In the communication terminal according to claim 1, when the communication with the transmission target device is good (when a response is received) and when the response cannot be received, the prescribed number of times cannot be received continuously. Until the transmission slot is reached, the same transmission slot as the transmission slot in the immediately preceding transmission cycle is selected, and data transmission in the selected transmission slot is continuously executed in the transmission cycle.

したがって、この通信端末によれば、既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末と、新たに設置された通信端末との間でキャリアの衝突が発生した場合に、既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末において、連続して規定回数以上、キャリアの衝突が発生するまでは、直前の送信周期での送信スロットと同じ送信スロットを選択し続けるようにすることができる。したがって、この通信端末によれば、既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末同士間でのキャリアの衝突の発生を回避しつつ、新たに設置された通信端末に対して、適切な送信スロットを選択させることができる。   Therefore, according to this communication terminal, a carrier collision has occurred between the communication terminal that has already selected an appropriate transmission slot that can normally communicate with the transmission target device and the newly installed communication terminal. In this case, in the communication terminal that has already selected an appropriate transmission slot that can normally communicate with the transmission target device, transmission in the previous transmission cycle until a carrier collision occurs continuously more than the specified number of times. It is possible to continue to select the same transmission slot as the slot. Therefore, according to this communication terminal, it is newly installed while avoiding the occurrence of carrier collision between communication terminals that have already selected an appropriate transmission slot that can normally communicate with the transmission target device. The communication terminal can be made to select an appropriate transmission slot.

また、この通信端末では、応答を規定回数以上連続して受信できない状態に達したときであっても、新たな送信スロットを選択するスロット選択処理を常に実行するのではなく、予め規定された確率に従ってスロット選択処理を実行する。   Also, in this communication terminal, even when a state in which a response cannot be continuously received more than the specified number of times has been reached, the slot selection process for selecting a new transmission slot is not always performed, but a predetermined probability The slot selection process is executed according to

したがって、この通信端末によれば、通信端末において連続して規定回数以上キャリアの衝突が発生する場合の代表例である、各通信端末での送信周期の時間長に微小なばらつきに起因して、既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末同士間でキャリアの衝突が発生する場合に、キャリアの衝突が発生しているすべての通信端末に対して常に新たな送信スロットの選択を実行させるのではなく、直前の送信スロットと同じ送信スロットを選択させる(つまり、同じ送信スロットを継続して使用させる)余地を残すようにすることで、既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末のうちのキャリアの衝突が発生していない通信端末との間で新たにキャリアの衝突が発生する確率を低くすることができる。これにより、この通信端末によれば、1つの送信対象機との間で通信を行う通信端末の台数が増加した場合であっても、送信対象機と正常に通信を行える適切な送信スロットを選択し終えた状態に各通信端末を短時間に移行させることができる。   Therefore, according to this communication terminal, due to minute variations in the time length of the transmission cycle at each communication terminal, which is a representative example when a carrier collision occurs continuously more than a specified number of times in the communication terminal, When a carrier collision occurs between communication terminals that have already selected an appropriate transmission slot that can normally communicate with the transmission target device, it is always applied to all communication terminals that have a carrier collision. Instead of executing selection of a new transmission slot, by leaving a room for selecting the same transmission slot as that of the immediately previous transmission slot (that is, allowing the same transmission slot to be used continuously), the transmission target device has already been selected. Among the communication terminals that have successfully selected an appropriate transmission slot that can communicate normally and a communication terminal in which no carrier collision has occurred. It is possible to lower the probability that a collision will occur. Thereby, according to this communication terminal, even when the number of communication terminals that communicate with one transmission target device increases, an appropriate transmission slot that can normally communicate with the transmission target device is selected. Each communication terminal can be shifted to a state where it has been completed in a short time.

請求項2記載の通信端末では、起動直後における送信周期の送信スロット内でのデータ送信の実行に対して送信対象機から応答を受信できなかったときには、スロット選択処理を値1の確率に従って実行して(常に実行して)新たな送信スロットを決定する。   The communication terminal according to claim 2 executes the slot selection process according to the probability of value 1 when no response is received from the transmission target device in response to execution of data transmission in the transmission slot of the transmission cycle immediately after activation. (Always executing) to determine a new transmission slot.

したがって、この通信端末によれば、既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末が存在している状態において、新たに通信端末を設置する場合に、既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末に対しては直前の送信周期での送信スロットと同じ送信スロットを選択させつつ(既に送信対象機と正常に通信を行える適切な送信スロットを選択し終えている通信端末間でのキャリアの衝突の発生を回避しつつ)、新たに設置された通信端末に対しては新たな送信スロットを選択させることで、適切な送信スロットを早期に選択させることができる。   Therefore, according to this communication terminal, when there is a communication terminal that has already selected an appropriate transmission slot that can normally communicate with the transmission target device, when a new communication terminal is already installed, For communication terminals that have selected an appropriate transmission slot that can normally communicate with the transmission target device, select the same transmission slot as the transmission slot in the previous transmission cycle (already communicating with the transmission target device normally). While avoiding the occurrence of carrier collisions between communication terminals that have already selected an appropriate transmission slot capable of performing communication), by selecting a new transmission slot for a newly installed communication terminal, It is possible to select a proper transmission slot at an early stage.

データ収集システム1の構成図である。1 is a configuration diagram of a data collection system 1. FIG. 子機(通信端末)2の構成図である。2 is a configuration diagram of a slave unit (communication terminal) 2. FIG. 子機2の送信スロット決定処理50での動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement in the transmission slot determination process 50 of the subunit | mobile_unit 2. FIG. 子機2の送信処理60での動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement in the transmission process 60 of the subunit | mobile_unit 2. FIG. 子機2の動作を説明するためのタイミングチャートである。6 is a timing chart for explaining the operation of the handset 2; 子機2の動作を説明するためのタイミングチャートである。6 is a timing chart for explaining the operation of the handset 2; 子機2の動作を説明するためのタイミングチャートである。6 is a timing chart for explaining the operation of the handset 2; 子機2の動作を説明するためのタイミングチャートである。6 is a timing chart for explaining the operation of the handset 2;

以下、添付図面を参照して、通信端末を備えたデータ収集システムの実施の形態について説明する。   Hereinafter, embodiments of a data collection system including a communication terminal will be described with reference to the accompanying drawings.

まず、データ収集システム1の構成について図面を参照して説明する。   First, the configuration of the data collection system 1 will be described with reference to the drawings.

データ収集システム1は、図1に示すように、複数の通信端末(以下、「子機」ともいう)2、1つの送信対象機(以下、「親機」ともいう)3、およびサーバコンピュータ(以下、「サーバ」ともいう)4を備え、各子機2に接続されたセンサ5で検出された測定データをサーバ4に収集可能に構成されている。   As shown in FIG. 1, the data collection system 1 includes a plurality of communication terminals (hereinafter also referred to as “slave units”) 2, one transmission target unit (hereinafter also referred to as “master unit”) 3, and a server computer ( (Hereinafter also referred to as “server”) 4, and is configured to be able to collect measurement data detected by the sensor 5 connected to each slave unit 2 in the server 4.

複数(n個:nは2以上の整数)の子機2は、一例として図2に示すように、CPU11、記憶部12、無線通信部13、アンテナ14および電池15を備えている。CPU11は、電池15から作動電圧の供給を受けて作動して、記憶部12に予め記憶されている動作プログラムに基づいて、データ測定処理、送信スロット決定処理50(図3参照)、および送信処理60(図4参照)を実行することにより、予め規定された送信周期Tで、センサ5から測定データを取得すると共に、取得した測定データを無線通信部13を経由して親機3に無線でデータ送信する。記憶部12は、例えば、不揮発性メモリなどで構成されて、電池15から作動電圧の供給を受けて作動して、CPU11のための動作プログラムおよび測定データを記憶する。   As shown in FIG. 2 as an example, the plurality of slave units 2 (n: n is an integer of 2 or more) 2 includes a CPU 11, a storage unit 12, a wireless communication unit 13, an antenna 14, and a battery 15. The CPU 11 operates upon receiving an operating voltage supplied from the battery 15 and, based on an operation program stored in the storage unit 12 in advance, a data measurement process, a transmission slot determination process 50 (see FIG. 3), and a transmission process. 60 (see FIG. 4), the measurement data is acquired from the sensor 5 at the transmission cycle T defined in advance, and the acquired measurement data is wirelessly transmitted to the base unit 3 via the wireless communication unit 13. Send data. The storage unit 12 is configured by, for example, a non-volatile memory and operates by receiving an operation voltage supplied from the battery 15 and stores an operation program and measurement data for the CPU 11.

無線通信部13は、一例として、特定小電力無線局として構成されると共に、電池15から作動電圧の供給を受けて作動して、CSMA/CA with Ack方式でアンテナ14を介して親機3との間でデータ通信する。この場合、CSMA/CA with Ack方式とは、通信路が一定時間以上継続して空いていることをキャリアをセンスすることで確認してから各無線端末がデータを送信する方式であり、実際にデータが正しく送信されたことは、受信側からのACK信号(肯定応答。以下、単に「応答」ともいう)の到着をもって判定するものである。電池15は、一例として、乾電池で構成されて、子機2の各構成要素に対して、作動用の定電圧(作動電圧)を供給する。   As an example, the wireless communication unit 13 is configured as a specific low-power wireless station, operates by receiving an operating voltage supplied from the battery 15, and communicates with the base unit 3 via the antenna 14 in the CSMA / CA with Ack method. Data communication between the two. In this case, the CSMA / CA with Ack method is a method in which each wireless terminal transmits data after confirming by detecting the carrier that the communication path is continuously available for a certain time or more. Whether the data has been correctly transmitted is determined by the arrival of an ACK signal (acknowledgment, hereinafter simply referred to as “response”) from the receiving side. The battery 15 is comprised with a dry cell as an example, and supplies the constant voltage (operation voltage) for an operation | movement with respect to each component of the subunit | mobile_unit 2. As shown in FIG.

以上のように構成された複数の子機2は、測定データを取得すべき複数の場所に、センサ5と共に1つずつ設置される。この場合、各子機2は、設置場所の地形や他の子機2との間の距離などに起因して、他のいくつかの子機2からのキャリアを受信(キャリアをセンス)できない隠れ関係になったり、他のいくつかの子機2からのキャリアを受信できる晒し関係になったりする。   The plurality of slave units 2 configured as described above are installed one by one together with the sensor 5 at a plurality of locations where measurement data is to be acquired. In this case, each slave unit 2 has a hidden relationship in which carriers from some other slave units 2 cannot be received (carrier sense) due to the topography of the installation location or the distance between other slave units 2. Or an exposure relationship in which carriers from some other handset 2 can be received.

親機3は、各子機2との間でCSMA/CA with Ack方式でデータ通信する無線通信機能と、サーバ4との間で伝送路6(例えば、公衆回線網)を介してデータ通信する通信機能とを備えている。また、図1に示すように、親機3は、すべての子機2との間で通信可能な位置に予め設置されて、各子機2から定期的に(送信周期Tで)送信される測定データを受信したときには、その都度、または一定期間毎に蓄積しつつこの一定期間分単位で、測定データを伝送路6を介してサーバ4に送信する。サーバ4は、各子機2に接続されたセンサ5で測定された測定データを親機3を介して受信して、不図示の記憶部に記憶させる。   The base unit 3 performs data communication with each slave unit 2 via the transmission path 6 (for example, a public network) with a wireless communication function for performing data communication with each slave unit 2 using the CSMA / CA with Ack method. It has a communication function. Further, as shown in FIG. 1, the parent device 3 is installed in advance at a position where communication can be made with all the child devices 2, and is transmitted from each child device 2 periodically (with a transmission cycle T). When the measurement data is received, the measurement data is transmitted to the server 4 via the transmission path 6 every time or in units of the fixed period while being accumulated. The server 4 receives the measurement data measured by the sensor 5 connected to each slave unit 2 via the master unit 3 and stores it in a storage unit (not shown).

センサ5は、一例として、公知のワイヤセンサや振動センサや音響センサやレーザセンサなどで構成された土石流センサ、および水位センサなどで構成されて、土石流センサで構成されたときには、設置場所での土石流の発生の有無を検出して、また水位センサのときには、設置場所での水位を検出して、検出結果を測定データとして、対応する子機2に出力する。なお、センサ5は、上記のセンサ以外の他のセンサを用いて構成して、設置場所での温度や湿度や降水量や日照時間、または鳥獣の出没状態などの検出結果を測定データとして出力するようにしてもよい。   As an example, the sensor 5 includes a debris flow sensor composed of a well-known wire sensor, vibration sensor, acoustic sensor, laser sensor, and the like, and a water level sensor. In the case of a water level sensor, the water level at the installation location is detected, and the detection result is output as measurement data to the corresponding slave unit 2. Note that the sensor 5 is configured by using a sensor other than the above-described sensor, and outputs detection results such as temperature, humidity, precipitation, sunshine duration, or the appearance state of birds and beasts at the installation location as measurement data. You may do it.

次に、データ収集システム1の動作について、各子機2の動作を主としつつ、図面を参照して説明する。   Next, the operation of the data collection system 1 will be described with reference to the drawings, focusing on the operation of each slave unit 2.

各子機2では、起動したときに、CPU11が、一定の送信周期T(例えば、60分)の計測をそれぞれ開始する。この場合、各子機2のCPU11において繰り返し計測される送信周期Tは、同一時間になるように規定されてはいるものの、各子機2は例えばそれぞれの設置場所に設置されたときに個別に起動される。このため、各子機2のCPU11で計測される送信周期Tは非同期状態になっている。   In each handset 2, when activated, the CPU 11 starts measuring a certain transmission cycle T (for example, 60 minutes). In this case, although the transmission cycle T repeatedly measured by the CPU 11 of each slave unit 2 is defined to be the same time, each slave unit 2 is individually provided when installed at each installation location, for example. It is activated. For this reason, the transmission cycle T measured by the CPU 11 of each slave unit 2 is in an asynchronous state.

また、各子機2のCPU11は、送信周期Tの始期において、データ測定処理および送信スロット決定処理50を実行する。このデータ測定処理では、CPU11は、対応するセンサ5からこの送信周期Tにおいて親機3に送信するための新たな測定データを取得して記憶部12に記憶させる。また、送信スロット決定処理50では、このようにしてこの送信周期Tにおいて取得した測定データを、この送信周期Tにおいて親機3にデータ送信するための時期(タイミング)を規定する送信スロットを決定する。   In addition, the CPU 11 of each slave unit 2 executes data measurement processing and transmission slot determination processing 50 at the beginning of the transmission cycle T. In this data measurement process, the CPU 11 acquires new measurement data to be transmitted from the corresponding sensor 5 to the parent device 3 in the transmission cycle T and stores the new measurement data in the storage unit 12. Further, in the transmission slot determination process 50, a transmission slot that defines the timing (timing) for transmitting the measurement data acquired in this transmission cycle T to the parent device 3 in this transmission cycle T is determined. .

ここで、送信スロットとは、一例として、子機2と親機3との間でのデータの送受信に要する時間(データ送信に要する送信時間と親機3からの応答の受信に要する受信時間の合計時間(例えば、60秒))以上の予め規定された基準時間T1(好ましくは、この合計時間の2倍以上の任意の時間であって、2倍または2倍に近い時間。本例では一例として、2倍の時間である120秒)で送信周期Tを分割した各期間をスロットとして、このスロットのすべてのうちから選択された1つのスロットであって、親機3とのデータの送受信に使用されるスロットをいう。この例では、基準時間T1(つまり、1つのスロットの時間長)は上記のように120秒(2分)であることから、1つの送信周期Tは、30個(=60/2)のスロットに分割される。また、スロットの数は、1つの親機3に対して設置される子機2の数以上になるように、好ましくは設置される子機2の2倍以上になるように規定されている。   Here, the transmission slot is, for example, a time required for data transmission / reception between the slave unit 2 and the master unit 3 (a transmission time required for data transmission and a reception time required for receiving a response from the master unit 3). A predetermined reference time T1 (preferably, a total time (for example, 60 seconds)) or more, which is an arbitrary time more than twice this total time, and a time close to twice or twice. As a slot, each period obtained by dividing the transmission cycle T by twice the time (120 seconds) is one slot selected from all of the slots, and is used for data transmission / reception with the base unit 3 Refers to the slot used. In this example, since the reference time T1 (that is, the time length of one slot) is 120 seconds (2 minutes) as described above, one transmission cycle T has 30 (= 60/2) slots. It is divided into. Further, the number of slots is defined so as to be equal to or more than the number of slave units 2 installed for one master unit 3, and preferably twice or more that of the slave units 2 installed.

具体的に送信スロット決定処理50では、図3に示すように、CPU11は、まず、送信スロット決定処理50の実行が初回であるか否かを判別する(ステップ51)。CPU11は、このステップ51での判別の結果、初回であると判別したときには、送信周期T内に規定されているすべてのスロットのうちからランダム(無作為)に新規なスロットを1つ選択するスロット選択処理を実行して、この選択した送信スロットを今回の送信スロットとして記憶部12に記憶させて(ステップ55)、送信スロット決定処理を終了する。   Specifically, in the transmission slot determination process 50, as shown in FIG. 3, the CPU 11 first determines whether or not the transmission slot determination process 50 is executed for the first time (step 51). As a result of the determination in step 51, when the CPU 11 determines that it is the first time, the CPU 11 selects one new slot randomly (randomly) from all the slots defined within the transmission period T. The selection process is executed, the selected transmission slot is stored in the storage unit 12 as the current transmission slot (step 55), and the transmission slot determination process is terminated.

なお、このステップ55で実行する上記のスロット選択処理では、CPU11は直前の送信周期Tで使用した送信スロットと同じスロットを新規の送信スロットとして選択する場合も(1/スロット数)の確率で起こり得るが、より高い確率((スロット数−1)/スロット数)で異なるスロットを選択する。   In the slot selection process executed in step 55, the CPU 11 also has a probability of (1 / slot number) even when the same slot as the transmission slot used in the immediately preceding transmission cycle T is selected as a new transmission slot. Get different, but choose different slots with higher probability ((slots minus 1) / slots).

一方、CPU11は、ステップ51での判別の結果、初回でないと判別したときには、直前の送信周期Tにおける送信スロットでの親機3との通信が、他の子機2との間でのキャリアの衝突に起因して失敗したか否か(親機3からの応答を受信できなかったか否か)を判別すると共に、親機3との通信に失敗した送信スロットが、この直前の送信周期TにおいてCPU11がステップ55を実行することによってランダムに選択した新規な送信スロットであるか、またはこの直前の送信周期TにおいてCPU11が後述するステップ56を実行することによってこの送信周期Tのさらに直前(1つ前)の送信周期Tでの送信スロットを今回の送信スロットとして決定した送信スロットであるかについても併せて判別する(ステップ52)。   On the other hand, when the CPU 11 determines that it is not the first time as a result of the determination in step 51, the communication with the parent device 3 in the transmission slot in the immediately preceding transmission cycle T is the carrier of the other child devices 2. It is determined whether or not a failure has occurred due to a collision (whether or not a response from the parent device 3 has not been received), and a transmission slot that has failed to communicate with the parent device 3 is transmitted in the immediately preceding transmission cycle T. It is a new transmission slot randomly selected by the CPU 11 by executing step 55, or the CPU 11 executes step 56 to be described later in the transmission cycle T immediately before this, so that one more immediately before this transmission cycle T (one) It is also determined whether or not the transmission slot in the previous transmission cycle T is the transmission slot determined as the current transmission slot (step 52).

CPU11は、このステップ52での判別の結果、直前の送信周期Tにおける送信スロットでの親機3との通信が失敗し、かつこの送信スロットがこの送信周期Tにおいてランダムに選択した新規な送信スロットであると判別したときには、ステップ55に移行する。CPU11は、このステップ55において、スロット選択処理を実行することで、ランダムに送信スロットを1つ選択して、この選択したスロットを新規な送信スロットとして記憶部12に記憶させて、送信スロット決定処理を終了する。   As a result of the determination in step 52, the CPU 11 has failed in communication with the parent device 3 in the transmission slot in the immediately preceding transmission cycle T, and this transmission slot is a new transmission slot selected at random in this transmission cycle T. If it is determined that, the process proceeds to step 55. In step 55, the CPU 11 executes a slot selection process to randomly select one transmission slot and store the selected slot in the storage unit 12 as a new transmission slot. Exit.

また、CPU11は、ステップ52での判別の結果、直前の送信周期Tにおける送信スロットでの親機3との通信が失敗し、かつこの送信スロットが直前の送信周期Tにおいてその一つ前(その直前)の送信周期Tでの送信スロットを今回の送信スロットとして選択した送信スロットであると判別したときと、直前の送信周期Tにおける送信スロットでの親機3との通信に成功した(キャリアの衝突が発生せずに、応答を受信できた)と判別したときのいずれかのときには、ステップ53に移行する。   Further, as a result of the determination in step 52, the CPU 11 has failed to communicate with the base unit 3 in the transmission slot in the immediately preceding transmission cycle T, and this transmission slot is immediately before the previous transmission cycle T (that When it is determined that the transmission slot in the previous transmission cycle T is the transmission slot selected as the current transmission slot, communication with the base unit 3 in the transmission slot in the previous transmission cycle T has succeeded (the carrier If it is determined that a response has been received without a collision, the process proceeds to step 53.

このステップ53では、CPU11は、同じ送信スロットでの親機3との通信が直前の送信周期Tを含めて連続してn回(規定回数)以上(本例では2回以上)の送信周期Tにおいて失敗したか否かを判別する(ステップ53)。このステップ53での判別の結果、CPU11は、測定データの送信がn回以上連続して失敗していないとき(つまり、直前の送信周期Tでの親機3との通信が正常に完了したとき(失敗していないとき)、および直前の送信周期Tでの親機3との通信が正常に完了しなかったとき(失敗したとき)であってもこの送信周期Tでの測定データの送信の失敗も含めて、同じ送信スロットでの測定データの送信の失敗の連続回数がn回未満のときのいずれかのとき)には、CPU11は、直前の送信周期Tで使用した送信スロットと同じ送信スロットを今回の送信周期Tで使用する送信スロットに選択して(ステップ56)、送信スロット決定処理を終了する。   In this step 53, the CPU 11 continuously communicates with the base unit 3 in the same transmission slot, including the immediately preceding transmission cycle T, n times (specified number) or more (in this example, 2 times or more). In step 53, it is determined whether or not the operation has failed. As a result of the determination in step 53, the CPU 11 determines that transmission of measurement data has not failed continuously more than n times (that is, when communication with the parent device 3 in the immediately preceding transmission cycle T has been completed normally). (When not failed) and when the communication with the base unit 3 in the immediately preceding transmission cycle T is not normally completed (when failed), transmission of measurement data in this transmission cycle T When the number of consecutive measurement data transmission failures including the failure is less than n times), the CPU 11 transmits the same transmission slot as that used in the immediately preceding transmission cycle T. The slot is selected as a transmission slot to be used in the current transmission cycle T (step 56), and the transmission slot determination process is terminated.

また、ステップ53での判別の結果、CPU11は、連続してn回以上失敗したと判別したときには、ステップ54に移行する。このステップ54では、CPU11は、ステップ55を実行してランダムに新規な送信スロットを1つ決定するのか、ステップ56を実行して直前の送信周期Tで使用したのと同じ送信スロットを今回の送信周期Tで使用する送信スロットに決定するのかのいずれかを一定の確率(本例では一例として50%の確率とするが、この確率に限定されず、0%を超え100%未満の任意の確率とすることができる)で選択する。   Further, as a result of the determination in step 53, when the CPU 11 determines that it has failed continuously n times or more, it proceeds to step 54. In this step 54, the CPU 11 executes step 55 to determine one new transmission slot randomly, or executes the same transmission slot as that used in the immediately preceding transmission cycle T by executing step 56. Any one of the transmission slots to be used in the period T is determined to have a certain probability (in this example, the probability is 50% as an example, but is not limited to this probability, and is an arbitrary probability exceeding 0% and less than 100%) Can be selected).

このステップ54での選択の結果、CPU11は、上記の決定処理の実行を選択したときには、ステップ55に移行して、ランダムに新規な送信スロットを1つ選択して今回の送信周期Tでの送信スロットとして記憶部12に記憶させて(ステップ55)、送信スロット決定処理を終了する。また、ステップ54での選択の結果、上記のスロット選択処理の中止を選択したときには、直前の送信周期Tでの送信スロットを今回の送信周期Tでの送信スロットとして記憶部12に記憶させて(ステップ56)、送信スロット決定処理50を終了する。   As a result of the selection in step 54, when the CPU 11 selects execution of the above determination process, the CPU 11 proceeds to step 55, selects one new transmission slot at random, and transmits the current transmission cycle T. The slot is stored in the storage unit 12 (step 55), and the transmission slot determination process is terminated. Further, when the selection of the slot selection process is selected as a result of the selection in step 54, the transmission slot in the previous transmission cycle T is stored in the storage unit 12 as the transmission slot in the current transmission cycle T ( Step 56), the transmission slot determination processing 50 is terminated.

この場合、各子機2が隠れ関係のときには、各子機2は、他の子機2のキャリアを検出することができない(つまり、他の子機2での親機3に対する測定データの送信タイミングを把握することができない)。このため、従来の通信端末の構成を各子機2に採用したときには、親機3との通信が失敗したすべての子機2は、常にランダム待時間を経た後に親機3に対するの送信を実行する。したがって、既に親機3と正常に通信を行える適切なタイミングを確立し終えているグループの子機2と、新たに設置された子機2との間でキャリアの衝突が発生した場合に、新たに設置された子機2だけではなく、適切なタイミングを確立し終えている子機2さえも、親機3との通信のタイミングが変更されることになる。このため、この通信のタイミングの変更に起因して、既に親機3と正常に通信を行える適切なタイミングを確立し終えているグループ内の子機2間においても、キャリアの衝突(親機3との通信の失敗)が直ちに発生する可能性が極めて高くなる。   In this case, when each child device 2 is in a hidden relationship, each child device 2 cannot detect the carrier of the other child device 2 (that is, transmission of measurement data to the parent device 3 in the other child device 2). I ca n’t figure out the timing). For this reason, when the configuration of the conventional communication terminal is adopted for each slave unit 2, all the slave units 2 that have failed to communicate with the master unit 3 always execute transmission to the master unit 3 after a random waiting time. To do. Accordingly, when a carrier collision occurs between the child device 2 of the group that has already established an appropriate timing for normal communication with the parent device 3 and the newly installed child device 2, The timing of communication with the parent device 3 is changed not only for the child device 2 installed in the mobile phone 2 but also for the child device 2 that has already established an appropriate timing. For this reason, due to this change in the timing of communication, carrier collision (parent device 3) also occurs between the child devices 2 in the group that have already established appropriate timing for normal communication with the parent device 3. Failure to communicate with the Internet) is very likely to occur immediately.

一方、本例では上記の送信スロット決定処理50を実行することで、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2と、新たに設置された子機2との間でキャリアの衝突が発生した場合に、新たに設置された子機2では新たな送信スロットの選択を直ちに実行するが、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2では、連続してn回(本例では2回)以上、キャリアの衝突が発生するまでは、直前の送信周期Tでの送信スロットと同じ送信スロットを選択し続ける。したがって、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2同士間でのキャリアの衝突の発生を回避しつつ、新たに設置された子機2が適切な送信スロットを選択可能に構成されている。   On the other hand, in this example, by executing the transmission slot determination processing 50 described above, the slave unit 2 that has already selected an appropriate transmission slot that can normally communicate with the master unit 3, and the newly installed slave unit When a carrier collision occurs between the mobile station 2 and the newly installed slave unit 2, a new transmission slot is immediately selected. However, an appropriate transmission slot that can normally communicate with the base unit 3 is selected. In the slave unit 2 that has been selected, the same transmission slot as the transmission slot in the immediately preceding transmission cycle T is continuously selected until a carrier collision occurs n times (in this example, twice) or more continuously. . Therefore, the newly installed slave unit 2 is appropriate while avoiding the occurrence of carrier collision between the slave units 2 that have already selected an appropriate transmission slot that can normally communicate with the master unit 3. The transmission slot can be selected.

さらに、この子機2では、子機2において連続してn回以上キャリアの衝突が発生した場合であっても、直ちに新たな送信スロットの選択を実行するのではなく、新たな送信スロットの選択(ステップ55)および直前の送信スロットと同じ送信スロットの選択(ステップ56)のいずれか一方を一定の確率で選択して実行する構成を採用している。例えば、新たな送信スロットの選択の実行をa%の確率で選択する構成においては、直前の送信スロットと同じ送信スロットの選択の実行を(100−a)%の確率で選択する。   Further, in this handset 2, even if a carrier collision has occurred n times or more in succession in the handset 2, a new transmission slot is not selected immediately, but a new transmission slot is selected. A configuration is adopted in which either one of (Step 55) and selection of the same transmission slot as the immediately preceding transmission slot (Step 56) is selected and executed with a certain probability. For example, in a configuration in which execution of selection of a new transmission slot is selected with a probability of a%, execution of selection of the same transmission slot as the immediately preceding transmission slot is selected with a probability of (100−a)%.

子機2において連続してn回以上キャリアの衝突が発生する場合の代表例としては、各子機2での送信周期Tの時間長に微小なばらつきに起因して、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2同士間でキャリアの衝突が発生する場合である。このような場合に、キャリアの衝突が発生しているすべての子機2に対して常に新たな送信スロットの選択を実行させるのではなく、直前の送信スロットと同じ送信スロットを選択させる(つまり、同じ送信スロットを継続して使用させる)余地を残すようにすることで、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2のうちのキャリアの衝突が発生していない子機2との間で新たにキャリアの衝突が発生する確率を低くすることが可能になっている。これにより、1つの親機3との間で通信を行う子機2の台数が増加した場合であっても、親機3と正常に通信を行える適切な送信スロットを選択し終えた状態に各子機2を短時間に移行させることが可能になっている。   As a representative example in the case where a carrier collision occurs continuously n times or more in the slave unit 2, it is already normal with the master unit 3 due to a minute variation in the time length of the transmission cycle T in each slave unit 2. This is a case where a carrier collision occurs between the slave units 2 that have already selected an appropriate transmission slot that can perform communication. In such a case, it is not always necessary to select a new transmission slot for all the slave units 2 in which a carrier collision occurs, but the same transmission slot as the immediately preceding transmission slot is selected (that is, By allowing the same transmission slot to be used continuously), a carrier collision occurs in the slave unit 2 that has already selected an appropriate transmission slot that can normally communicate with the master unit 3 It is possible to reduce the probability that a new carrier collision will occur with the handset 2 that is not. As a result, even when the number of handset 2 that communicates with one base unit 3 is increased, each transmission state has been selected after selecting an appropriate transmission slot that can normally communicate with the base unit 3. It is possible to shift the handset 2 in a short time.

CPU11は、このようにして今回の送信周期Tにおいて送信すべき測定データの記憶と、この測定データの送信に使用する送信スロットの決定とを完了した後に、図4に示す送信処理60をこの送信周期Tにおいて実行する。なお、CPU11によるセンサ5からの測定データの取得および記憶部12への記憶に要する時間、並びに送信スロット決定処理50に要する時間は、送信周期Tの時間長に比較して極めて短時間(例えば、数ms未満の時間)で完了する。このため、CPU11は、この送信処理60についても実質的に送信周期Tの始期において開始する。   After completing the storage of the measurement data to be transmitted in the current transmission cycle T and the determination of the transmission slot used for the transmission of the measurement data in this way, the CPU 11 performs the transmission process 60 shown in FIG. Run in period T. Note that the time required for the CPU 11 to acquire measurement data from the sensor 5 and store it in the storage unit 12 and the time required for the transmission slot determination process 50 are extremely short compared to the time length of the transmission cycle T (for example, Complete in less than a few ms). For this reason, the CPU 11 also starts the transmission process 60 substantially at the beginning of the transmission cycle T.

この送信処理60では、CPU11は、まず、上記のようにして決定した送信スロットが到来したか否かを繰り返し検出し(ステップ61)、送信スロットの到来(具体的には、送信スロットの時間長T1の計測を開始するタイミングの到来)を検出したときには、送信スロットの時間長T1の計測を開始すると共に、無線通信部13を作動させて、他の子機2からのキャリアの有無を検出する(ステップ62)。   In this transmission process 60, the CPU 11 first repeatedly detects whether or not the transmission slot determined as described above has arrived (step 61), and the arrival of the transmission slot (specifically, the time length of the transmission slot). When the arrival of the timing for starting the measurement of T1 is detected, the measurement of the time length T1 of the transmission slot is started and the wireless communication unit 13 is activated to detect the presence or absence of a carrier from the other handset 2 (Step 62).

CPU11は、無線通信部13においてキャリアが検出されているときには、キャリアを検出している時間が予め規定された検出最大時間に達したか否か(タイムオーバーになったか否か)を判別しつつ(ステップ63)、キャリアが検出されなくなるか、またはタイムオーバーになるまでキャリアの有無を繰り返し検出する。   When the carrier is detected in the wireless communication unit 13, the CPU 11 determines whether or not the time during which the carrier is detected has reached a predetermined maximum detection time (whether or not the time has been exceeded) ( Step 63) The presence or absence of the carrier is repeatedly detected until no carrier is detected or the time is over.

ここで、上記の検出最大時間とは、例えば、後述のランダム遅延時間の平均値(例えば、100ms)、データの送受信(測定データを1回送信して、それに対する親機3からの応答を受信するまで)に要する時間(例えば、2秒)、および後述の再送時間の平均値(例えば、4秒)の合計値に最大送信回数(例えば、7回)を乗算して得られた時間(42.7秒(=6.1秒×7))を、1つの送信スロットの時間長T1の1/2の時間(本例では60秒)から減算して得られる時間(本例では、17.3秒)をいうものとする。   Here, the above detection maximum time is, for example, an average value of random delay time described later (for example, 100 ms), data transmission / reception (measurement data is transmitted once, and a response from the parent device 3 is received) Time (for example, 2 seconds) and a time (42) obtained by multiplying the total value of the average value (for example, 4 seconds) of a later-described retransmission time by the maximum number of transmissions (for example, 7 times). .7 seconds (= 6.1 seconds × 7)) is subtracted from a time half of the time length T1 of one transmission slot (60 seconds in this example) (17.17 in this example). 3 seconds).

この場合、CPU11は、ステップ63においてタイムオーバーになったと判別する前に、ステップ62においてキャリアが無いことを検出したときには、ランダム遅延時間の計測を実行する(ステップ64)。一例として本例では、CPU11は、20msから200msまでの5ms間隔で規定されるいずれか1つの時間(平均値は上記のようにほぼ100ms)をランダム遅延時間としてランダムに決定して、このランダム遅延時間の計測を実行する。   In this case, when the CPU 11 detects that there is no carrier in step 62 before determining that the time has expired in step 63, the CPU 11 performs random delay time measurement (step 64). As an example, in this example, the CPU 11 randomly determines any one time (average value is approximately 100 ms as described above) defined at 5 ms intervals from 20 ms to 200 ms as a random delay time, and this random delay. Perform time measurement.

CPU11は、このランダム遅延時間の計測を完了した後に、再度、他の子機2からの無線信号(キャリア)の有無を検出する(ステップ65)。この検出の結果、キャリアが検出されたときには測定データの親機3に対する送信を実行することができない。このため、CPU11は、ステップ62に移行して、ステップ62,63を再度実行する。   After completing the measurement of the random delay time, the CPU 11 again detects the presence / absence of a radio signal (carrier) from the other slave unit 2 (step 65). As a result of this detection, when the carrier is detected, the measurement data cannot be transmitted to the master unit 3. Therefore, the CPU 11 proceeds to step 62 and executes steps 62 and 63 again.

また、CPU11は、ステップ65での検出の結果、キャリアが検出されないときには、測定データを親機3に送信し(ステップ66)、次いで、親機3からの応答の出力の有無を一定時間だけ検出する(ステップ67)。なお、親機3は、子機2からの測定データを正常に受信できたときには、この一定時間内に必ず応答を出力する。この場合、上記したように、測定データの1回の送信に要する時間に、この測定データを受信した親機3からの応答の到来までに要する時間(応答の出力を検出する上記の一定時間)の合計時間は約2秒である。このため、CPU11は、この一定時間内に親機3からの応答を受信したときには、測定データの親機3に対する送信(親機3との通信)が正常に完了したと判別して、この送信処理60を完了させる。   When the carrier is not detected as a result of the detection in step 65, the CPU 11 transmits measurement data to the parent device 3 (step 66), and then detects whether or not a response is output from the parent device 3 for a certain period of time. (Step 67). Note that the master unit 3 always outputs a response within the predetermined time when the measurement data from the slave unit 2 can be normally received. In this case, as described above, the time required for one transmission of the measurement data until the arrival of a response from the master unit 3 that has received the measurement data (the above-described fixed time for detecting the output of the response) The total time is about 2 seconds. For this reason, when the CPU 11 receives a response from the parent device 3 within the predetermined time, the CPU 11 determines that the transmission of the measurement data to the parent device 3 (communication with the parent device 3) has been normally completed, and performs this transmission. Process 60 is completed.

一方、CPU11は、ステップ67において応答を一定時間内に検出できなかったときには、測定データを再送する処理を実行する。この処理では、CPU11は、まず、測定データの送信回数が予め規定された最大送信回数に達したか否かを判別して(ステップ68)、最大送信回数に達していないときには、測定データの次の送信までの待ち時間(「再送時間」ともいう)をランダムに決定して、決定した再送時間の計測を実行する(ステップ69)。例えば、CPU11は、ランダムに決定した再送時間が3秒のときには、この3秒の再送時間の計測を実行する。なお、CPU11がランダムに決定する再送時間の平均値は、上記したように、本例では一例として、4秒になるように規定されている。CPU11は、この再送時間の計測を完了したときには、ステップ62に移行する。   On the other hand, when the response is not detected within a predetermined time in step 67, the CPU 11 executes a process of retransmitting the measurement data. In this process, the CPU 11 first determines whether or not the number of transmissions of measurement data has reached a predetermined maximum number of transmissions (step 68). The waiting time until the transmission of (also referred to as “retransmission time”) is randomly determined, and the determined retransmission time is measured (step 69). For example, when the randomly determined retransmission time is 3 seconds, the CPU 11 measures the retransmission time of 3 seconds. In addition, as above-mentioned, the average value of the retransmission time which CPU11 determines at random is prescribed | regulated so that it may become 4 second as an example in this example. When completing the measurement of the retransmission time, the CPU 11 proceeds to step 62.

CPU11は、ステップ63においてタイムオーバーと判別するか、またはステップ67において親機3からの応答を受信したと判別するか、またはステップ68において測定データの送信回数が最大送信回数に達したと判別するまで、上記ステップ62〜ステップ69を繰り返し実行することで、測定データを親機3に繰り返し送信する。   The CPU 11 determines in step 63 that the time is over, determines in step 67 that the response from the master unit 3 has been received, or determines in step 68 that the number of measurement data transmissions has reached the maximum number of transmissions. The measurement data is repeatedly transmitted to the parent device 3 by repeatedly executing the above steps 62 to 69.

この場合、CPU11は、ステップ63においてタイムオーバーと判別したとき、またはステップ68において測定データの送信回数が最大送信回数に達したと判別したときには、今回の送信周期T内の送信スロット決定処理50で決定した1つの送信スロットでの親機3に対する測定データの送信が正常に行われなかったと判別して、今回の送信周期Tでの測定データの送信に失敗した旨の情報を記憶部12に記憶すると共に、今回の送信周期Tにおいてセンサ5から取得した測定データを破棄して(ステップ70)、送信処理60を完了させる。   In this case, when the CPU 11 determines that the time is over in step 63 or when it is determined in step 68 that the number of transmissions of the measurement data has reached the maximum number of transmissions, the CPU 11 determines the transmission slot determination process 50 in the current transmission cycle T. It is determined that the measurement data is not normally transmitted to the base unit 3 in one transmission slot, and information indicating that the measurement data transmission in the current transmission cycle T has failed is stored in the storage unit 12. At the same time, the measurement data acquired from the sensor 5 in the current transmission cycle T is discarded (step 70), and the transmission process 60 is completed.

なお、CPU11は、ステップ67において親機3からの応答を受信したと判別したときには、上記したように、測定データの親機3に対する送信が正常に完了したと判別して、送信処理60を完了させる。   When determining that the response from the parent device 3 has been received in step 67, the CPU 11 determines that the transmission of the measurement data to the parent device 3 has been normally completed as described above, and completes the transmission process 60. Let

このように、独自のタイミングで送信周期Tの計測を開始すると共に、この送信周期Tを一定の時間長T1で複数分割して得られる複数のスロットのうちから独自に選択した1つのスロット(送信スロット)において、対応するセンサ5から取得した測定データを1つの親機3に送信する複数の子機2を1つずつ順次設置する場合には、最初に設置した子機2は、他の子機2が存在しない状態のため、自らのタイミングで計測を開始した送信周期T内の自ら選択した送信スロットにおいて、対応するセンサ5から取得した測定データを1つの親機3に確実に送信する。   In this way, the measurement of the transmission period T is started at a unique timing, and one slot (transmission selected uniquely from a plurality of slots obtained by dividing the transmission period T into a plurality of times with a fixed time length T1. Slot), when the plurality of slave units 2 that transmit the measurement data acquired from the corresponding sensor 5 to one master unit 3 are sequentially installed one by one, the first slave unit 2 installed is the other slave unit 2 Since the machine 2 does not exist, the measurement data acquired from the corresponding sensor 5 is reliably transmitted to the single parent machine 3 in the transmission slot selected by itself within the transmission cycle T where the measurement is started at its own timing.

その後、2個、3個と子機2を順次設置(増設)していく過程において、設置した子機2が、独自のタイミングで送信周期Tの計測を開始し、かつこの送信周期T内の複数のスロットのうちから1つの送信スロットを独自に選択したときに、選択した送信スロットのタイミングが、既に設置されて測定データの親機3に対する送信を実行している子機2での送信スロットのタイミングと重ならない場合と、重なる場合とが生じ、後者の場合にはキャリアの衝突が発生する可能性がある。   Thereafter, in the process of sequentially installing (adding) 2 units, 3 units and the slave unit 2, the installed slave unit 2 starts measuring the transmission cycle T at a unique timing, and within the transmission cycle T. When one transmission slot is uniquely selected from a plurality of slots, the transmission slot in the slave unit 2 in which the timing of the selected transmission slot is already installed and the measurement data is transmitted to the master unit 3 There is a case where the timing does not overlap with the timing of the above, and a case where the timing overlaps.

本例の各子機2では、上記した送信スロット決定処理50および送信処理60を実行することにより、後から設置した子機2と、既に動作している子機2とが晒し関係のときには、後から設置した子機2のCPU11が、既に動作している子機2のキャリアを検出することができる。このため、両子機2での送信スロットが重なる場合には、後から設置した子機2のCPU11が、図4に示す送信処理60を実行したときに、ステップ63においてタイムオーバーになり、ステップ70において測定データを破棄して、この送信処理60を完了する。   In each handset 2 of this example, by executing the transmission slot determination process 50 and the transmission process 60 described above, when the handset 2 installed later and the handset 2 that is already operating are exposed, The CPU 11 of the handset 2 installed later can detect the carrier of the handset 2 that is already operating. For this reason, when the transmission slots in both slave units 2 overlap, when the CPU 11 of the slave unit 2 installed later executes the transmission process 60 shown in FIG. The measurement data is discarded and the transmission process 60 is completed.

これにより、後から設置した子機2のCPU11は、次の送信周期Tの始期において実行する図3に示す送信スロット決定処理50のステップ52において、直前の送信周期Tにおいて新規にランダムに送信スロットを選択し、かつこの選択した送信スロットでの送信が失敗したと判別して、ステップ55に移行して、スロット選択処理を実行することで、ランダムに新規な送信スロットを選択し、続いて、送信処理60を実行する。このようにして、後から設置した子機2のCPU11は、送信スロット決定処理50と送信処理60とを繰り返し実行することにより、既に動作している子機2との間でキャリアの衝突の発生しない送信スロットを、キャリアの衝突の発生を回避しつつ選択する。   As a result, the CPU 11 of the slave unit 2 installed later newly transmits a transmission slot at random in the immediately preceding transmission cycle T in step 52 of the transmission slot determination processing 50 shown in FIG. 3 executed at the beginning of the next transmission cycle T. And determining that transmission in the selected transmission slot has failed, the process proceeds to step 55, and a slot selection process is executed to randomly select a new transmission slot. A transmission process 60 is executed. In this way, the CPU 11 of the handset 2 installed later repeats the transmission slot determination process 50 and the transmission process 60, thereby causing a carrier collision with the handset 2 that is already operating. A transmission slot that is not to be transmitted is selected while avoiding occurrence of carrier collision.

このように晒し関係の子機2同士では、背景技術で説明した通信端末と同様に動作して、後から設置された子機2が自らの送信スロットを既に動作中の子機2の送信スロットと重複しないように決定して、親機3に測定データを送信することが可能になっている。   In this manner, the exposed slave units 2 operate in the same manner as the communication terminal described in the background art, and the slave unit 2 installed later uses its own transmission slot as the transmission slot of the slave unit 2 that is already operating. It is possible to transmit the measurement data to the master unit 3 so as not to overlap.

一方、後から設置した子機2と、既に動作している子機2とが隠れ関係のときであって、既に動作している子機2の送信スロットのタイミングと、後から設置した子機2の送信スロットのタイミングとが重なっているときには、背景技術で説明した通信端末同士のときと同様にして、キャリアの衝突が発生する。この場合において、背景技術で説明した通信端末同士では、キャリアの衝突の発生を許容したままの状態になる(キャリアの衝突がランダムに発生する状態になる)。しかしながら、本例の子機2では、上記の送信スロット決定処理50および送信処理60を実行することにより、複数の子機2間でのキャリアの衝突の発生を確実に低減し得るように構成されている。   On the other hand, when the slave unit 2 installed later and the slave unit 2 already operating are in a hidden relationship, the timing of the transmission slot of the slave unit 2 already operating and the slave unit installed later When the timings of the two transmission slots overlap, carrier collision occurs in the same manner as the communication terminals described in the background art. In this case, the communication terminals described in the background art remain in a state where the carrier collision is allowed (the carrier collision occurs randomly). However, the slave unit 2 of the present example is configured to reliably reduce the occurrence of carrier collision among the plurality of slave units 2 by executing the transmission slot determination process 50 and the transmission process 60 described above. ing.

以下、図5から図8を参照しつつ、具体例を挙げて説明する。なお、図5から図8では、発明の理解を容易にするため、送信周期Tが4つのスロット(時間長T1)に分割されて、各子機2はこの4つのスロットのうちの1つを送信スロットとしてランダムに選択するものとする。また、子機2は一例として2つ(子機2a,2b)で、互いに隠れ関係にあるものとする。また、子機2aで測定した測定データは符号Da1で現し、子機2aに対する親機3からの応答を符号Da2で現し、子機2bで測定した測定データは符号Db1で現し、子機2bに対する親機3からの応答を符号Db2で現すものとする。また、正常に送受信できた測定データや応答は実線で現し、キャリアの衝突によって正常に受信できない状態の測定データや応答は破線で現すものとする。   Hereinafter, a specific example will be described with reference to FIGS. In FIG. 5 to FIG. 8, in order to facilitate understanding of the invention, the transmission cycle T is divided into four slots (time length T1), and each slave unit 2 assigns one of the four slots. The transmission slot is selected at random. In addition, as an example, there are two slave units 2 (slave units 2a and 2b), which are in a hidden relationship with each other. In addition, the measurement data measured by the slave unit 2a is represented by the symbol Da1, the response from the master unit 3 to the slave unit 2a is represented by the symbol Da2, the measurement data measured by the slave unit 2b is represented by the symbol Db1, and the measurement data for the slave unit 2b is represented. It is assumed that the response from the parent device 3 is represented by the symbol Db2. In addition, measurement data and responses that can be normally transmitted and received are represented by solid lines, and measurement data and responses that cannot be normally received due to carrier collision are represented by broken lines.

まず、図5を参照して、既に設置されて起動している子機2aが親機3との通信を正常に実行している状態において、後から設置された子機2bが、自らの送信スロットが子機2aの送信スロットと重ならない状態で親機3に対する測定データの送信を開始した例について説明する。   First, referring to FIG. 5, in a state in which the slave unit 2a that is already installed and activated normally executes communication with the master unit 3, the slave unit 2b that is installed later transmits its own transmission. An example will be described in which transmission of measurement data to the parent device 3 is started in a state where the slot does not overlap with the transmission slot of the child device 2a.

この例では、子機2aでは、CPU11が、各送信周期Tの始期において、送信スロット決定処理50を実行して、そのステップ56を実行することにより、直前の送信周期Tでの送信スロット(この例では1番目のスロット)と同じ送信スロットを選択し、この送信スロット内において、親機3との通信(測定データDa1の親機3に対する送信と、親機3からの応答Da2の受信)を継続して実行している。   In this example, in the slave unit 2a, the CPU 11 executes the transmission slot determination process 50 at the beginning of each transmission cycle T, and executes the step 56 to thereby transmit the transmission slot (this transmission cycle T in the immediately preceding transmission cycle T). In the example, the same transmission slot as the first slot) is selected, and communication with the base unit 3 (transmission of the measurement data Da1 to the base unit 3 and reception of the response Da2 from the base unit 3) is performed in this transmission slot. It is running continuously.

この状態において、子機2bでは、CPU11が、独自のタイミングで計測を開始した送信周期Tの始期において、センサ5から測定データDb1を取得すると共に、送信スロット決定処理50を実行して、4つのスロットのうちの2番目のスロットを送信スロットとして選択し、この送信スロット内において、測定データDb1の親機3に対する送信を開始する。   In this state, in the slave unit 2b, the CPU 11 acquires the measurement data Db1 from the sensor 5 and executes the transmission slot determination process 50 at the beginning of the transmission cycle T in which measurement is started at a unique timing. The second slot among the slots is selected as a transmission slot, and transmission of the measurement data Db1 to the base unit 3 is started in this transmission slot.

この場合、図5に示すように、各子機2a,2bの送信スロットが重なっていないため、子機2a,2bの各CPU11は、それぞれの送信周期Tの始期において実行する送信スロット決定処理50において、ステップ51,52,53の実行後に、ステップ56を実行することで、直前の送信周期Tでの送信スロットと同じ送信スロットを今回の送信周期Tでの送信スロットとして選択する。したがって、子機2aは、各送信周期Tにおいて、同じ送信スロットを継続して選択して、親機3との間での測定データDa1の送信と応答Da2の受信とを繰り返し実行し、子機2bもまた、各送信周期Tにおいて、同じ送信スロットを継続して選択して、親機3との間での測定データDa1の送信と応答Da2の受信とを繰り返し実行することができる。   In this case, as shown in FIG. 5, since the transmission slots of the slave units 2a and 2b do not overlap, the CPUs 11 of the slave units 2a and 2b perform transmission slot determination processing 50 to be executed at the beginning of each transmission cycle T. Then, after executing steps 51, 52 and 53, step 56 is executed to select the same transmission slot as the transmission slot in the previous transmission cycle T as the transmission slot in the current transmission cycle T. Accordingly, the slave unit 2a continuously selects the same transmission slot in each transmission cycle T, repeatedly executes transmission of the measurement data Da1 and reception of the response Da2 with the master unit 3, and the slave unit 2a. 2b can also repeatedly select the same transmission slot in each transmission period T and repeatedly transmit the measurement data Da1 and receive the response Da2 with the parent device 3.

次に、図6を参照して、既に設置されている子機2aが親機3との通信を正常に実行している状態において、後から設置された子機2bが、自らの送信スロットが子機2aの送信スロットと重なる状態で親機3に対する測定データの送信を開始した例について説明する。   Next, referring to FIG. 6, in a state where the already installed slave unit 2a is normally communicating with the master unit 3, the slave unit 2b installed later has its own transmission slot. An example in which transmission of measurement data to the parent device 3 is started in a state where it overlaps with the transmission slot of the child device 2a will be described.

この例では、子機2aでは、CPU11が、各送信周期Tの始期において、送信スロット決定処理50を実行して、そのステップ56を実行することにより、直前の送信周期Tでの送信スロット(この例では1番目のスロット)と同じ送信スロットを選択し、この送信スロット内において、親機3との通信を継続して実行している。   In this example, in the slave unit 2a, the CPU 11 executes the transmission slot determination process 50 at the beginning of each transmission cycle T, and executes the step 56 to thereby transmit the transmission slot (this transmission cycle T in the immediately preceding transmission cycle T). In the example, the same transmission slot as the first slot) is selected, and communication with the base unit 3 is continuously executed in this transmission slot.

この状態において、子機2bでは、CPU11が、起動後に計測を開始した送信周期T(以下、説明のために「送信周期Tb1」ともいう)の始期において、送信スロット決定処理50を実行して、そのステップ55を実行することにより、4つのスロットのうちの2番目のスロットを送信スロットとして新規に選択して、この送信スロット内において、測定データDb1の親機3に対する送信を開始する。この場合、図6に示すように、各子機2a,2bの送信スロットが重なっているため、各子機2a,2b間でキャリアの衝突が発生する可能性があり、この例ではキャリアの衝突が発生しているものとする。   In this state, in the slave unit 2b, the CPU 11 executes the transmission slot determination process 50 at the beginning of the transmission cycle T (hereinafter also referred to as “transmission cycle Tb1” for the sake of explanation) where measurement is started after activation. By executing the step 55, the second slot of the four slots is newly selected as a transmission slot, and transmission of the measurement data Db1 to the base unit 3 is started in this transmission slot. In this case, as shown in FIG. 6, since the transmission slots of the slave units 2a and 2b overlap, there is a possibility that a carrier collision occurs between the slave units 2a and 2b. Is assumed to occur.

この際に、子機2aでは、CPU11が、キャリアの衝突が発生した送信周期T(以下、説明のために「送信周期Ta1」ともいう)の次の新たな送信周期T(以下、説明のために「送信周期Ta2」ともいう)の始期において実行する送信スロット決定処理50において、ステップ51では初回ではないと判別し、ステップ52では直前の送信周期Ta1において新規に選択した送信スロットでの送信の失敗ではないと判別し、ステップ53では連続してn回(2回)以上送信に失敗したのではないと判別することから、ステップ56を実行する。このため、この新たな送信周期Tでは、直前の送信周期Tと同じ送信スロットを選択して、この送信スロット内において、親機3との通信を実行する。   At this time, in the slave unit 2a, the CPU 11 causes the CPU 11 to transmit a new transmission cycle T (hereinafter referred to as “transmission cycle Ta1” for the sake of description) following the transmission cycle T in which a carrier collision has occurred. In the transmission slot determination process 50 executed at the beginning of (transmission cycle Ta2), it is determined in step 51 that it is not the first time, and in step 52, transmission in the transmission slot newly selected in the immediately previous transmission cycle Ta1 is performed. Since it is determined that the transmission has not failed and it is determined in step 53 that the transmission has not failed continuously n times (twice) or more, step 56 is executed. For this reason, in this new transmission cycle T, the same transmission slot as the previous transmission cycle T is selected, and communication with the parent device 3 is executed in this transmission slot.

一方、子機2bでは、CPU11が、キャリアの衝突が発生した送信周期Tb1の次の新たな送信周期T(以下、説明のために「送信周期Tb2」ともいう)の始期において実行する送信スロット決定処理50において、ステップ51では初回ではないと判別するが、ステップ52では直前の送信周期Tにおいて新規に選択した送信スロットでの送信の失敗であると判別することから、ステップ55を実行する。このため、この新たな送信周期Tでは、ランダムに新たな送信スロットを選択して(図6では、一例として3番目のスロットを送信スロットとして選択して)、この新たな送信スロット内において、測定データDb1の親機3に対する送信と、親機3からの応答Db2の受信とを実行する。   On the other hand, in slave unit 2b, CPU 11 determines a transmission slot to be executed at the beginning of a new transmission cycle T (hereinafter also referred to as “transmission cycle Tb2” for explanation) after transmission cycle Tb1 in which a carrier collision has occurred. In process 50, it is determined in step 51 that it is not the first time, but in step 52, since it is determined that the transmission in the transmission slot newly selected in the immediately preceding transmission cycle T is a failure, step 55 is executed. Therefore, in this new transmission period T, a new transmission slot is selected at random (in FIG. 6, the third slot is selected as the transmission slot as an example), and measurement is performed within this new transmission slot. Transmission of the data Db1 to the parent device 3 and reception of the response Db2 from the parent device 3 are executed.

同図では、子機2bにおいて新たに選択された送信スロットは、子機2aの送信スロットとは重なっていないため、各子機2a,2bは、共に、親機3との通信を正常に実行する。以後、各子機2a,2bは、キャリアの衝突が発生するまでは、それぞれの送信周期Tの始期において実行する送信スロット決定処理50において、それぞれがそのステップ56を実行することにより、直前の送信周期Tでの送信スロットと同じ送信スロットを選択し、この送信スロット内において親機3との通信を継続して実行する。   In the figure, since the transmission slot newly selected in the slave unit 2b does not overlap with the transmission slot of the slave unit 2a, both the slave units 2a and 2b normally execute communication with the master unit 3 together. To do. Thereafter, each of the slave units 2a and 2b executes step 56 in the transmission slot determination processing 50 executed at the beginning of each transmission cycle T until the carrier collision occurs, so that the last transmission is performed. The same transmission slot as the transmission slot in the period T is selected, and communication with the parent device 3 is continued in this transmission slot.

この例のように、各子機2a,2b間でキャリアの衝突が発生したときには、既に設置されて親機3に対する測定データの送信を正常に実行している子機2aについての送信スロットの維持が、後から設置された子機2bについての送信スロットの選択に対して優先されるため、新たな子機2bの追加に起因して、親機3との通信を正常に実行している子機2aの親機3との通信が妨げられるといった事態の発生が回避されている。これにより、このような子機2aの親機3との正常な通信を維持しつつ、新たな子機2bを親機3と正常に通信し得る状態に移行させることが可能になっている。   As in this example, when a carrier collision occurs between each of the slave units 2a and 2b, the transmission slot is maintained for the slave unit 2a that has already been installed and normally transmits measurement data to the master unit 3. However, since the priority is given to the selection of the transmission slot for the child device 2b installed later, the child that normally executes communication with the parent device 3 due to the addition of the new child device 2b. Occurrence of a situation where communication with the base unit 3 of the machine 2a is hindered is avoided. Thus, it is possible to shift the new slave unit 2b to a state in which the slave unit 2b can normally communicate with the master unit 3 while maintaining normal communication with the master unit 3 of the slave unit 2a.

また、本例では、上記したように、送信周期T内に規定されるスロットは、子機2と親機3との間でのデータの送受信に要する時間(データ送信に要する送信時間と応答の受信に要する受信時間の合計時間)以上の予め規定された基準時間T1(具体的には、データの送受信に要する時間の2倍以上の時間であって、2倍または2倍に近い時間)に規定されている。このため、図7に示すように、子機2aが送信周期Ta1内の1番目のスロットを送信スロットとして、この送信スロット内の期間Wにおいて親機3に対するデータの送信を実行し、また、子機2bが送信周期Tb1内の2番目のスロットを送信スロットとして、この送信スロット内の期間Wにおいて親機3に対するデータの送信を実行した結果、双方の送信スロットが重なっていることに起因して、キャリアの衝突が発生したとしても、子機2bが次の新たな送信周期Tb2での送信スロットを、直前の送信周期Tb1での送信スロットと異なる送信スロットを選択したときには、同図において破線で示すように、子機2aが次の送信周期Ta2での送信スロット内で送信するキャリアとの間での衝突が確実に回避される。   In this example, as described above, the slot defined within the transmission cycle T is the time required for data transmission / reception between the slave unit 2 and the master unit 3 (the transmission time and response time required for data transmission). A predetermined reference time T1 (specifically, a time that is at least twice as long as the time required for data transmission / reception, or a time close to double) It is prescribed. Therefore, as shown in FIG. 7, the slave unit 2a uses the first slot in the transmission cycle Ta1 as a transmission slot, and transmits data to the master unit 3 in the period W in the transmission slot. This is because the machine 2b uses the second slot in the transmission cycle Tb1 as a transmission slot and transmits data to the base unit 3 in the period W in this transmission slot, and as a result, both transmission slots overlap. Even if a carrier collision occurs, when the handset 2b selects a transmission slot for the next new transmission cycle Tb2 and a transmission slot different from the transmission slot for the previous transmission cycle Tb1, As shown, a collision with the carrier that the handset 2a transmits in the transmission slot in the next transmission cycle Ta2 is reliably avoided.

次に、図8を参照して、既に設置されて親機3に対する測定データの送信を正常に実行している子機2a,2bについての送信スロットが時間の経過と共に重なり、キャリアの衝突が発生した例について説明する。各子機2では、非同期状態ではあるものの、例えば水晶発振器などで生成したクロックに基づいて、CPU11が、同一の送信周期Tを計測している。しかしながら、仕様上の発振周波数が同じ型の水晶発振器を使用したとしても、水晶発振器自体の微小なばらつきや、設置場所の温度の差異などに起因して、送信周期Tの時間長に微小なばらつきが発生している。このため、既に設置されて親機3との通信を正常に実行している子機2a,2bについての送信スロットが、時間の経過と共に重なる事態も発生し、これにより、子機2a,2b間でキャリアの衝突が発生することがある。   Next, referring to FIG. 8, the transmission slots of slave units 2a and 2b that are already installed and normally transmitting measurement data to base unit 3 overlap with the passage of time, and a carrier collision occurs. An example will be described. Although each slave unit 2 is in an asynchronous state, the CPU 11 measures the same transmission cycle T based on a clock generated by, for example, a crystal oscillator. However, even if crystal oscillators with the same specification oscillation frequency are used, there is a slight variation in the time length of the transmission cycle T due to a small variation in the crystal oscillator itself or a difference in temperature at the installation location. Has occurred. For this reason, a situation occurs in which the transmission slots for the child devices 2a and 2b that are already installed and normally execute communication with the parent device 3 overlap with each other over time, and thus, between the child devices 2a and 2b. Carrier collision may occur.

図8では、子機2a,2bの各送信スロット(子機2aでは1番目の送信スロット、子機2bでは2番目の送信スロット)の重なり度合いが徐々に増加して、子機2aについての送信スロット(図8中の送信周期T(以下、「送信周期Ta1」ともいう)における送信スロット)と、子機2bについての送信スロット(図8中の送信周期T(以下、「送信周期Tb1」ともいう)における送信スロット)とにおいて、キャリアの衝突が発生して、各子機2a,2bは共に親機3との通信に失敗する。   In FIG. 8, the degree of overlap of the transmission slots of the slave units 2a and 2b (the first transmission slot in the slave unit 2a and the second transmission slot in the slave unit 2b) gradually increases, and the transmission of the slave unit 2a is performed. Slot (transmission slot in transmission cycle T in FIG. 8 (hereinafter also referred to as “transmission cycle Ta1”)) and transmission slot for slave unit 2b (transmission cycle T in FIG. 8 (hereinafter referred to as “transmission cycle Tb1”). In the transmission slot), a carrier collision occurs, and each of the slave units 2a and 2b fails to communicate with the master unit 3.

この際には、子機2a,2bでは、各CPU11が、キャリアの衝突が発生した上記の送信周期Ta1,Tb1の次の新たな送信周期T(子機2aについての送信周期Ta2,子機2bについての送信周期Tb2)の始期において実行する送信スロット決定処理50において、ステップ51では初回ではないと判別し、ステップ52では直前の送信周期Tにおいて新規に選択した送信スロットでの送信の失敗ではないと判別し、ステップ53では連続してn回(2回)以上送信に失敗したのではないと判別することから、ステップ56を実行する。このため、子機2a,2bの各CPU11は、この新たな送信周期Ta2,Tb2での送信スロットとして、直前の送信周期Ta1,Tb1での送信スロットと同じ送信スロット(子機2aは1番目の送信スロット,子機2bは2番目の送信スロット)を選択して、この送信スロット内において、測定データDa1,Db1の親機3に対する送信と、親機3からの応答Da2,Db2の受信とを試みる。   At this time, in each of the slave units 2a and 2b, each of the CPUs 11 makes a new transmission cycle T (transmission cycle Ta2 for the slave unit 2a, slave unit 2b) next to the transmission cycle Ta1 and Tb1 in which the carrier collision has occurred. In the transmission slot determination process 50 executed at the beginning of the transmission cycle Tb2), it is determined in step 51 that it is not the first time, and in step 52, it is not a failure in transmission in the newly selected transmission slot in the immediately preceding transmission cycle T. In step 53, since it is determined that the transmission has not failed continuously n times (twice) or more, step 56 is executed. For this reason, each CPU 11 of the slave units 2a and 2b uses the same transmission slot as the transmission slot in the immediately preceding transmission cycle Ta1 and Tb1 as the transmission slot in the new transmission cycles Ta2 and Tb2 (the slave unit 2a has the first In the transmission slot, transmission of the measurement data Da1, Db1 to the master unit 3 and reception of the responses Da2, Db2 from the master unit 3 are selected. Try.

しかしながら、新たな送信周期Ta2,Tb2での各子機2a,2bの親機3との通信のタイミングは、キャリアの衝突が発生した直前の送信周期Ta1,Tb1でのタイミングと殆ど変わらない。このため、この送信周期Ta2,Tb2においても、直前の送信周期Ta1,Tb1のときと同様にしてキャリアの衝突が発生する。   However, the timing of communication with the parent device 3 of each of the slave units 2a and 2b in the new transmission cycles Ta2 and Tb2 is almost the same as the timing in the transmission cycle Ta1 and Tb1 immediately before the carrier collision occurs. For this reason, also in the transmission cycles Ta2 and Tb2, a carrier collision occurs in the same manner as in the previous transmission cycles Ta1 and Tb1.

したがって、子機2a,2bでは、各CPU11が、キャリアの衝突が連続して発生した上記の送信周期Ta2,Tb2の次の新たな送信周期T(子機2aについての送信周期Ta3,子機2bについての送信周期Tb3)の始期において実行する送信スロット決定処理50において、ステップ51では初回ではないと判別し、ステップ52では直前の送信周期Tにおいて新規に選択した送信スロットでの送信の失敗ではないと判別し、ステップ53では連続してn回(2回)以上送信に失敗したと判別することから、ステップ54を実行する。   Therefore, in each of the slave units 2a and 2b, each CPU 11 determines that the new transmission cycle T (the transmission cycle Ta3 and the slave unit 2b for the slave unit 2a) is next to the transmission cycle Ta2 and Tb2 in which carrier collisions occur continuously. In the transmission slot determination process 50 executed at the beginning of the transmission cycle Tb3), it is determined in step 51 that it is not the first time, and in step 52, it is not a failure in transmission in the newly selected transmission slot in the immediately preceding transmission cycle T. In step 53, since it is determined that transmission has failed continuously n times (twice) or more, step 54 is executed.

このステップ54において、子機2a,2bの各CPU11は、ステップ55を実行して今回の送信周期Tで使用する送信スロットをランダムに1つ新規に決定するのか、ステップ56を実行して直前の送信周期Tで使用したのと同じ送信スロットを今回の送信周期Tで使用する送信スロットに決定するのかのいずれかを一定の確率(本例では50%の確率)で選択する。   In this step 54, each CPU 11 of the slave units 2a and 2b executes step 55 to randomly determine one new transmission slot to be used in the current transmission cycle T, or executes step 56 and immediately before Either the same transmission slot used in the transmission cycle T is determined as a transmission slot used in the current transmission cycle T with a certain probability (50% probability in this example).

この結果、子機2a,2bの各CPU11が共に送信スロットをランダムに1つ新規に決定することを選択したときには、各CPU11はステップ55を実行して、今回の送信周期Ta3,Tb3において使用する送信スロットを1つ選択する。この場合、子機2aのCPU11が1番目の送信スロットを選択し、子機2bのCPU11が3番目の送信スロットを選択したときには、図8に示すように、各送信周期Ta3,Tb3での送信スロットの重なりが解消されるため、子機2a,2bでのキャリアの衝突が回避される。これにより、子機2a,2bは共に、親機3との通信を正常に実行する。   As a result, when the CPUs 11 of the slave units 2a and 2b both choose to randomly determine one new transmission slot, each CPU 11 executes step 55 and uses it in the current transmission cycle Ta3 and Tb3. Select one transmission slot. In this case, when the CPU 11 of the slave unit 2a selects the first transmission slot and the CPU 11 of the slave unit 2b selects the third transmission slot, as shown in FIG. 8, transmission is performed at each transmission cycle Ta3, Tb3. Since the overlap of the slots is eliminated, carrier collision in the slave units 2a and 2b is avoided. Thereby, both the subunit | mobile_unit 2a, 2b performs communication with the main | base station 3 normally.

この送信周期Ta3,Tb3以降の送信周期Tでは、次に、キャリアの衝突の発生がn回(この例では2回)連続して発生するまで、子機2a,2bの各CPU11は、送信スロット決定処理50を実行することで、直前の送信周期Tにおいて選択した送信スロットと同じ送信スロットを次の送信周期Tでの送信スロットとして選択して、親機3との通信を実行する。   In the transmission period T after the transmission period Ta3, Tb3, each of the CPUs 11 of the slave units 2a, 2b continues to transmit slot until the occurrence of carrier collision occurs n times (in this example, twice) continuously. By executing the determination process 50, the same transmission slot as the transmission slot selected in the immediately preceding transmission cycle T is selected as the transmission slot in the next transmission cycle T, and communication with the parent device 3 is executed.

なお、子機2a,2bの各CPU11は、上記のステップ54において、上記の例の他に、図示はしないが、子機2aのCPU11だけがステップ56を実行して直前の送信周期Ta2で使用したのと同じ送信スロットを今回の送信周期Ta3で使用する送信スロットに決定したり、また、子機2bのCPU11だけがステップ56を実行して直前の送信周期Tb2で使用したのと同じ送信スロットを今回の送信周期Tb3で使用する送信スロットに決定したり、子機2a,2bの各CPU11が共に、直前の送信周期Ta2,Tb2で使用したのと同じ送信スロットを今回の送信周期Ta3,Tb3で使用する送信スロットに決定したりする場合が生じる。   In addition to the above example, the CPUs 11 of the slave units 2a and 2b are not shown in the figure, but only the CPU 11 of the slave unit 2a executes step 56 and is used in the immediately preceding transmission cycle Ta2. The same transmission slot as that used in the transmission cycle Ta3 is determined as the transmission slot to be used in the current transmission cycle Ta3, or only the CPU 11 of the slave unit 2b executes step 56 and used in the previous transmission cycle Tb2. Is determined as a transmission slot to be used in the current transmission cycle Tb3, or each CPU 11 of the slave units 2a and 2b uses the same transmission slot used in the previous transmission cycle Ta2 and Tb2 as the current transmission cycle Ta3 and Tb3. In some cases, the transmission slot to be used is determined.

上記した4通りのいずれの場合であっても、子機2a,2bの各CPU11が、直前の送信周期Ta2,Tb2での送信スロットと同じ関係になる送信スロットを選択したとき、具体的には、直前の送信周期Ta2,Tb2では、子機2aのCPU11が1番目の送信スロットを選択し、子機2bのCPU11が2番目の送信スロットを選択していたことから、今回の送信周期Ta3,Tb3において、子機2aのCPU11が1番目の送信スロットを選択し、かつ子機2bのCPU11が2番目の送信スロットを選択したとき、また、子機2aのCPU11が2番目の送信スロットを選択し、かつ子機2bのCPU11が3番目の送信スロットを選択したとき、また、子機2aのCPU11が3番目の送信スロットを選択し、かつ子機2bのCPU11が4番目の送信スロットを選択したときには、この送信周期Ta3,Tb3においてもキャリアの衝突が発生する。   In any of the above four cases, when each of the CPUs 11 of the slave units 2a and 2b selects a transmission slot having the same relationship as the transmission slot in the immediately preceding transmission cycle Ta2 and Tb2, specifically, In the immediately preceding transmission cycle Ta2, Tb2, since the CPU 11 of the slave unit 2a has selected the first transmission slot and the CPU 11 of the slave unit 2b has selected the second transmission slot, this transmission cycle Ta3, At Tb3, when the CPU 11 of the slave unit 2a selects the first transmission slot and the CPU 11 of the slave unit 2b selects the second transmission slot, the CPU 11 of the slave unit 2a selects the second transmission slot. When the CPU 11 of the slave unit 2b selects the third transmission slot, the CPU 11 of the slave unit 2a selects the third transmission slot, and the slave unit 2b When the CPU11 selects 4 th transmission slot, a collision of the carrier occurs even in the transmission period Ta3, Tb3.

この場合には、子機2a,2bの各CPU11は、キャリアの衝突がn回以上連続して発生した送信周期T(上記の場合には、送信周期Ta3,Tb3)の次の新たな送信周期Tの始期において実行する送信スロット決定処理50のステップ53において、連続してn回(2回)以上送信に失敗したと判別することから、ステップ54を実行する。したがって、子機2a,2bの各CPU11は、ステップ55を実行して今回の送信周期Tで使用する送信スロットをランダムに1つ新規に決定するのか、ステップ56を実行して直前の送信周期Tで使用したのと同じ送信スロットを今回の送信周期Tで使用する送信スロットに決定するのかのいずれかを一定の確率で選択して実行する。子機2a,2bの各CPU11は、キャリアの衝突の発生が回避されるまで、この動作を繰り返す。   In this case, each of the CPUs 11 of the slave units 2a and 2b determines a new transmission cycle next to the transmission cycle T (in this case, the transmission cycles Ta3 and Tb3) in which the carrier collision has occurred n times or more continuously. In step 53 of the transmission slot determination process 50 executed at the beginning of T, since it is determined that transmission has failed continuously n times (twice) or more, step 54 is executed. Therefore, each CPU 11 of the slave units 2a and 2b executes step 55 to randomly determine one transmission slot to be used in the current transmission cycle T, or executes step 56 to execute the previous transmission cycle T. One of the transmission slots used in the above-described transmission slot to be used in the current transmission cycle T is selected with a certain probability and executed. The CPUs 11 of the slave units 2a and 2b repeat this operation until the occurrence of carrier collision is avoided.

このように、この子機2では、CPU11が、親機3との間での通信が良好なとき(応答を受信したとき)、および応答を受信できない場合であってもn回以上連続して受信できない状態に達するまでは、直前の送信周期Tでの送信スロットと同じ送信スロットを選択し、この選択した送信スロット内でのデータ送信を送信周期Tで継続して実行する。   Thus, in this handset 2, the CPU 11 continues continuously n times or more even when communication with the base unit 3 is good (when a response is received) and when a response cannot be received. Until reaching a state where reception is not possible, the same transmission slot as the transmission slot in the immediately preceding transmission cycle T is selected, and data transmission in the selected transmission slot is continuously executed in the transmission cycle T.

したがって、この子機2によれば、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2と、新たに設置された子機2との間でキャリアの衝突が発生した場合に、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2において、連続してn回(本例では2回)以上、キャリアの衝突が発生するまでは、直前の送信周期Tでの送信スロットと同じ送信スロットを選択し続けるようにすることができる。したがって、この子機2によれば、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2同士間でのキャリアの衝突の発生を回避しつつ、新たに設置された子機2に対して、適切な送信スロットを選択させることができる。   Therefore, according to the slave unit 2, a carrier collision occurs between the slave unit 2 that has already selected an appropriate transmission slot that can normally communicate with the master unit 3 and the newly installed slave unit 2. In the slave unit 2 that has already selected an appropriate transmission slot that can normally communicate with the master unit 3, a carrier collision occurs continuously n times (two times in this example). Until this is done, it is possible to continue to select the same transmission slot as the transmission slot in the immediately preceding transmission cycle T. Therefore, according to this handset 2, it is newly installed while avoiding the occurrence of carrier collision between the handset 2 that has already selected an appropriate transmission slot that can normally communicate with the base unit 3. It is possible to cause the slave unit 2 to select an appropriate transmission slot.

また、この子機2では、応答をn回以上連続して受信できない状態に達したときであっても、送信スロット決定処理50において、新たな送信スロットを選択するスロット選択処理を常に実行するのではなく、予め規定された確率に従ってスロット選択処理を実行する。   Further, in this handset 2, even when a state in which a response cannot be continuously received n times or more is reached, the slot selection process for selecting a new transmission slot is always executed in the transmission slot determination process 50. Instead, the slot selection process is executed according to a predetermined probability.

したがって、この子機2によれば、子機2において連続してn回以上キャリアの衝突が発生する場合の代表例である、各子機2での送信周期Tの時間長に微小なばらつきに起因して、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2同士間でキャリアの衝突が発生する場合に、キャリアの衝突が発生しているすべての子機2に対して常に新たな送信スロットの選択を実行させるのではなく、直前の送信スロットと同じ送信スロットを選択させる(つまり、同じ送信スロットを継続して使用させる)余地を残すようにすることで、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2のうちのキャリアの衝突が発生していない子機2との間で新たにキャリアの衝突が発生する確率を低くすることができる。これにより、この子機2によれば、1つの親機3との間で通信を行う子機2の台数が増加した場合であっても、親機3と正常に通信を行える適切な送信スロットを選択し終えた状態に各子機2を短時間に移行させることができる。   Therefore, according to this slave unit 2, there is a slight variation in the time length of the transmission cycle T in each slave unit 2, which is a representative example in the case where a carrier collision occurs n times or more continuously in the slave unit 2. As a result, when a carrier collision occurs between the slave units 2 that have already selected an appropriate transmission slot that can normally communicate with the master unit 3, all the slaves in which the carrier conflict has occurred are generated. Rather than having the machine 2 always select a new transmission slot, leave room for selecting the same transmission slot as the previous transmission slot (that is, allowing the same transmission slot to be used continuously). Thus, a new carrier collision occurs with the slave unit 2 in which no carrier collision has occurred among the slave units 2 that have already selected an appropriate transmission slot that can normally communicate with the master unit 3. Lower the probability of Rukoto can. Thereby, according to this subunit | mobile_unit 2, even if it is a case where the number of the subunit | mobile_unit 2 which communicates between one main | base station 3 increases, the suitable transmission slot which can communicate normally with the main | base station 3 Each child device 2 can be shifted to a state in which selection has been completed in a short time.

また、この子機2では、起動直後における送信周期Tにおける送信スロット内でのデータ送信の実行に対して親機3から応答を受信できなかったときには、スロット選択処理を値1の確率に従って実行して(常に実行して)新たな送信スロットを決定する。   In addition, in the slave unit 2, when a response is not received from the master unit 3 in response to execution of data transmission in the transmission slot in the transmission cycle T immediately after startup, the slot selection process is executed according to the probability of the value 1. (Always executing) to determine a new transmission slot.

したがって、この子機2によれば、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2が存在している状態において、新たに子機2を設置する場合に、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2に対しては直前の送信周期Tでの送信スロットと同じ送信スロットを選択させつつ(上記のように、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2間でのキャリアの衝突の発生を回避しつつ)、新たに設置された子機2に対しては新たな送信スロットを選択させることで、適切な送信スロットを早期に選択させることができる。   Therefore, according to this handset 2, when there is a handset 2 that has already selected an appropriate transmission slot that can normally communicate with the base device 3, the handset 2 is newly installed. Furthermore, the slave unit 2 that has already selected an appropriate transmission slot that can normally communicate with the base unit 3 is allowed to select the same transmission slot as the transmission slot in the immediately preceding transmission cycle T (as described above). In addition, while avoiding the occurrence of a carrier collision between the slave units 2 that have already selected an appropriate transmission slot that can normally communicate with the master unit 3), for the newly installed slave unit 2 By selecting a new transmission slot, an appropriate transmission slot can be selected at an early stage.

なお、上記の子機2では、起動後に送信周期Tの計測を開始した後は、この送信周期Tが連続するように、送信周期Tの計測を継続して実行する構成を採用しているが、この構成に限定されるものではない。例えば、子機2のCPU11が、親機3からの応答を受信できなかった(親機3との通信が失敗した)と判別したときに、現在計測中の送信周期Tの終期を待たずに、送信周期Tの計測を新たに開始する構成を採用することもできる。ただし、この構成を採用した場合には、新たに計測を開始した送信周期Tにおいて選択した送信スロットにおいてもキャリアの衝突が発生したときには、送信周期Tの計測をまた新たに開始することになり、送信スロットの間隔が送信周期T未満の間隔で連続する事態が発生する可能性がある。このような事態の発生は、既に親機3と正常に通信を行える適切な送信スロットを選択し終えている子機2との新たなキャリアの衝突を招来することにもなる。したがって、親機3からの応答を受信できなかったと判別したときに、現在計測中の送信周期Tの終期を待たずに、送信周期Tの計測を新たに開始する構成を採用したときには、子機2のCPU11が、親機3からの応答を受信できない状態が発生したときに、これが最初に発生したものか、連続して発生したものかを判別して、最初に発生したものであるときにのみ、送信周期Tの計測を新たに開始し、連続して発生したものであるときには、そのときに実施している送信周期Tの計測を続行する構成を採用するのが好ましい。   In addition, in said subunit | mobile_unit 2, after starting the measurement of the transmission period T after starting, the structure which performs the measurement of the transmission period T so that this transmission period T continues is employ | adopted. However, the present invention is not limited to this configuration. For example, when the CPU 11 of the slave unit 2 determines that the response from the master unit 3 has not been received (communication with the master unit 3 has failed), it does not wait for the end of the transmission cycle T currently being measured. It is also possible to adopt a configuration in which measurement of the transmission cycle T is newly started. However, when this configuration is adopted, when a carrier collision occurs even in the transmission slot selected in the transmission cycle T in which measurement is newly started, measurement of the transmission cycle T is newly started. There is a possibility that a situation occurs in which the intervals of the transmission slots are continuous at intervals less than the transmission cycle T. The occurrence of such a situation also causes a new carrier collision with the child device 2 that has already selected an appropriate transmission slot that can normally communicate with the parent device 3. Therefore, when it is determined that the response from the base unit 3 has not been received, the slave unit is newly started to measure the transmission period T without waiting for the end of the transmission period T currently being measured. When the state in which the second CPU 11 cannot receive a response from the base unit 3 occurs, it is determined whether this occurred first or continuously, and when it occurs first Only when the measurement of the transmission cycle T is newly started and continuously generated, it is preferable to adopt a configuration in which the measurement of the transmission cycle T performed at that time is continued.

1 データ収集システム
2 子機
3 親機
T 送信周期
1 Data collection system
2 handset
3 Master unit
T Transmission cycle

Claims (2)

送信対象機に対する無線でのデータ送信に要する送信時間と当該データ送信に対する当該送信対象機からの無線での応答の受信に要する受信時間の合計時間以上の予め規定された基準時間で予め規定された送信周期を複数に分割して得られる複数のスロットのうちから選択された1つのスロットを送信スロットとして当該送信スロット内で前記データ送信を実行し、
前記応答を受信したとき、および前記応答を受信できない場合であっても予め決められた規定回数を連続して受信できない状態に達するまでは、同じ前記送信スロット内での前記データ送信を前記送信周期で継続して実行し、
前記規定回数を連続して前記応答を受信できない状態に達したときには、前記複数のスロットのうちから無作為に1つのスロットを選択して新たな前記送信スロットに決定するスロット選択処理を予め規定された確率に従って実行し、
前記スロット選択処理を実行したときには、前記選択した新たな送信スロット内で前記データ送信を実行し、かつ前記スロット選択処理を実行しなかったときには、前記同じ送信スロット内での前記データ送信を前記送信周期で継続する通信端末。
Preliminarily specified with a predetermined reference time that is equal to or greater than the total time of transmission time required for wireless data transmission to the transmission target device and reception time required for wireless reception of the data transmission from the transmission target device. Performing the data transmission in the transmission slot with one slot selected from a plurality of slots obtained by dividing the transmission period into a plurality of slots,
When the response is received, and even when the response cannot be received, the data transmission in the same transmission slot is performed in the transmission period until a predetermined number of times that cannot be received continuously is reached. Continue to run,
When a state in which the response cannot be received for a predetermined number of times has been reached, a slot selection process is selected in advance, in which one slot is randomly selected from the plurality of slots and determined as a new transmission slot. Run according to the probability
When the slot selection process is executed, the data transmission is executed in the selected new transmission slot, and when the slot selection process is not executed, the data transmission in the same transmission slot is transmitted. A communication terminal that continues in a cycle.
起動直後における前記送信スロット内での前記データ送信の実行に対して前記応答を受信できなかったときには、前記スロット選択処理を値1の確率に従って実行して前記新たな送信スロットを決定する請求項1記載の通信端末。   2. The new transmission slot is determined by executing the slot selection process according to a probability of value 1 when the response is not received in response to execution of the data transmission in the transmission slot immediately after startup. The communication terminal described.
JP2013021879A 2013-02-07 2013-02-07 Communication terminal Expired - Fee Related JP5993320B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013021879A JP5993320B2 (en) 2013-02-07 2013-02-07 Communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013021879A JP5993320B2 (en) 2013-02-07 2013-02-07 Communication terminal

Publications (2)

Publication Number Publication Date
JP2014154984A JP2014154984A (en) 2014-08-25
JP5993320B2 true JP5993320B2 (en) 2016-09-14

Family

ID=51576463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013021879A Expired - Fee Related JP5993320B2 (en) 2013-02-07 2013-02-07 Communication terminal

Country Status (1)

Country Link
JP (1) JP5993320B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001136555A (en) * 1999-11-02 2001-05-18 Mitsubishi Electric Corp Packet communication terminal device and wireless communication system using the same
JP4297096B2 (en) * 2005-07-21 2009-07-15 株式会社豊田中央研究所 Communication terminal device
JP5012586B2 (en) * 2008-03-07 2012-08-29 富士通株式会社 Wireless communication device, wireless terminal device, and wireless communication system

Also Published As

Publication number Publication date
JP2014154984A (en) 2014-08-25

Similar Documents

Publication Publication Date Title
CN111989592B (en) Ranging method, device, equipment and readable storage medium in synchronization system
US9946677B2 (en) Managing single-wire communications
JP5612221B2 (en) Sleep clock error recovery scheme
US12262318B2 (en) Power aware event scheduling
CN108307439B (en) Self-adaptive back-off method under large number of multi-hop wireless nodes
CN103107870B (en) Wireless network device and automatic parameter setting method thereof
JP2010193413A (en) Sensor node, center node, multi-hop wireless sensor network system and method of collecting sensor information
JP2010288026A (en) Firmware update method and power line carrier communication system
JP4700725B2 (en) Transmitter and wireless communication apparatus using the same
JP2016032143A (en) Communication terminal and data collection system
JP6508594B2 (en) Communication node, communication method and wireless communication system
JP2011101276A (en) Radio communication device
JP5993320B2 (en) Communication terminal
JP2012160965A (en) Information processor, sensor system, setting method, program, and recording medium
JP6591122B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
JP6351672B2 (en) Data transmitting / receiving apparatus and data transmitting / receiving method
JP5347857B2 (en) Wireless communication device
US10523469B2 (en) Relay device and communication system
JP2012227864A (en) Communication node
JPWO2015190133A1 (en) Wireless communication device, wireless communication method, and computer program
CN117041862A (en) Data transmission method, terminal equipment and computer-readable storage medium
EP2496030A1 (en) Wireless communication apparatus, wireless communication method, and program
KR100904130B1 (en) Node-to-node synchronization and network automatic reconfiguration in the WAN environment
JP6357796B2 (en) Wireless communication apparatus, wireless communication apparatus synchronization method, wireless communication program, and wireless communication system
JP5670955B2 (en) COMMUNICATION SYSTEM, TERMINAL, RELAY DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151210

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160810

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160819

R150 Certificate of patent or registration of utility model

Ref document number: 5993320

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees