JP5206843B2 - Wireless communication apparatus and wireless communication system - Google Patents
Wireless communication apparatus and wireless communication system Download PDFInfo
- Publication number
- JP5206843B2 JP5206843B2 JP2011145082A JP2011145082A JP5206843B2 JP 5206843 B2 JP5206843 B2 JP 5206843B2 JP 2011145082 A JP2011145082 A JP 2011145082A JP 2011145082 A JP2011145082 A JP 2011145082A JP 5206843 B2 JP5206843 B2 JP 5206843B2
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- time
- period
- periodic
- random
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims description 363
- 230000005540 biological transmission Effects 0.000 claims description 892
- 230000000737 periodic effect Effects 0.000 claims description 343
- 238000012546 transfer Methods 0.000 description 65
- 238000000034 method Methods 0.000 description 60
- 230000008569 process Effects 0.000 description 55
- 238000012937 correction Methods 0.000 description 41
- 238000012545 processing Methods 0.000 description 37
- 230000006870 function Effects 0.000 description 16
- 238000012986 modification Methods 0.000 description 12
- 230000004048 modification Effects 0.000 description 12
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Description
本発明は、共通の通信チャンネルを利用して無線通信を行う通信装置として、定期送信機能を有する通信装置とランダム送信機能を有する通信装置とからなる複数の通信装置を備えた無線通信システム、及び、このシステムを構成するのに好適な通信装置に関する。 The present invention relates to a wireless communication system including a plurality of communication devices including a communication device having a periodic transmission function and a communication device having a random transmission function as a communication device that performs wireless communication using a common communication channel, and The present invention relates to a communication apparatus suitable for configuring this system.
従来、複数の通信装置が同一の通信チャンネルを利用して相互に無線通信を行う無線通信システムとして、各通信装置が、送信要求の発生時に、キャリアセンスによって通信チャンネルの空き状態を検出するアクセス制御を行い、このアクセス制御によって通信チャンネルの空き状態を検出するとデータ送信を開始する、CSMA方式の無線通信システムが知られている(例えば、特許文献1等参照)。 Conventionally, as a wireless communication system in which a plurality of communication devices perform wireless communication with each other using the same communication channel, access control in which each communication device detects a free state of a communication channel by carrier sense when a transmission request occurs There is known a CSMA wireless communication system that starts data transmission when a free state of a communication channel is detected by this access control (see, for example, Patent Document 1).
また、こうしたCSMA方式の無線通信システムでは、複数の通信装置がランダムにデータ送信を行うことから、例えば、自動車の安全運転支援システムでの無線通信に適用すると、路上機から車載機へ重要性の高い情報を送信しようとしても、路上機が通信チャンネルで送信権を取得するのに時間がかかり、重要情報を周囲の車両に送信できないことがある。 In addition, in such a CSMA wireless communication system, since a plurality of communication devices perform random data transmission, for example, when applied to wireless communication in a safe driving support system of an automobile, the importance of road devices to in-vehicle devices is great. Even if high information is to be transmitted, it may take time for the roadside device to acquire the transmission right on the communication channel, and important information may not be transmitted to surrounding vehicles.
そこで、従来、CSMA方式の無線通信システムにおいては、重要性の高い情報を送信する通信装置が、TDMA等による通信方式で重要データを定期的に送信できるようにすることも提案されている。 Therefore, conventionally, in a CSMA wireless communication system, it has also been proposed that a communication device that transmits highly important information can periodically transmit important data using a communication method such as TDMA.
つまり、例えば、任意の通信装置が、他の通信装置に対してTDMA通信の開始を宣言することにより、TDMA通信の制御局として動作して、各通信装置の送信時間(期間)を割り当て、その後、他の通信装置からの送信がなくなると、CSMA方式の通信に戻るようにするとか(例えば、特許文献2等参照)、各通信装置が、自らの送信時刻を自律的に決定して、他の通信装置に通知することで、各通信装置が周期的にデータ送信できるようにする(例えば特許文献3等参照)、といったことが提案されている。 That is, for example, an arbitrary communication device declares the start of TDMA communication to another communication device, thereby operating as a TDMA communication control station, assigning a transmission time (period) of each communication device, and then When there is no transmission from another communication device, the communication device returns to CSMA communication (see, for example, Patent Document 2), or each communication device autonomously determines its own transmission time. It is proposed that each communication device can periodically transmit data by notifying the communication device (see, for example, Patent Document 3).
しかしながら、上記提案の無線通信システムのうち、前者のシステムでは、全ての通信装置がTDMA方式の無線通信に切り変わることから、通信装置が多くなると全通信装置に送信時間を割り当てることができなくなって、無線通信システムとして破綻するという問題がある。 However, among the proposed wireless communication systems, in the former system, all communication devices are switched to TDMA wireless communication. Therefore, when the number of communication devices increases, it becomes impossible to assign a transmission time to all communication devices. There is a problem that the radio communication system fails.
また、後者の無線通信システムでは、各通信装置が他の通信装置に送信時刻を通知することにより、定期送信するタイミングで通信チャンネルが空き状態となるようにするが、各通信装置は、重要な送信要求が発生した際には、CSMA方式の通信を開始することから、各通信装置が定期的な送信機会を確実に確保することはできないという問題がある。 In the latter wireless communication system, each communication device notifies the other communication devices of the transmission time so that the communication channel becomes idle at the timing of periodic transmission. Since a CSMA communication is started when a transmission request is generated, there is a problem that each communication device cannot reliably ensure a regular transmission opportunity.
本発明は、こうした問題に鑑みなされたものであり、ランダム送信を行う通信装置と定期送信を行う通信装置との2種類の通信装置が混在する無線通信装置及び無線通信システムにおいて、定期送信による通信とランダム送信による通信とを時間的に分離し、定期送信を行う通信装置が重要データを確実に送信できるようにすることを目的とする。 The present invention has been made in view of such problems, and in a wireless communication apparatus and a wireless communication system in which two types of communication apparatuses, that is, a communication apparatus that performs random transmission and a communication apparatus that performs periodic transmission, coexist. It is an object of the present invention to make it possible for a communication device that performs periodic transmission to reliably transmit important data by temporally separating communication from random transmission.
かかる目的を達成するためになされた請求項1に記載の無線通信装置においては、データの送信要求が発生した際、通信チャンネルが空いているか否かを判定して、前記通信チャンネルが空いているときに無線によりランダム送信を行う無線通信装置において、予め決められた定期送信一周期内に割り当てられた期間を利用してデータの定期送信を行う外部の通信装置から、前記通信チャンネルを利用して送信される定期送信期間を表す定期送信情報と送信時刻を含む送信データを受信可能な受信手段と、受信手段より受信した送信時刻と受信時刻に基づき自身の時計の時刻を補正することによって時刻同期を行う同期制御手段と、受信手段より受信した定期送信情報から得られる定期送信期間の前後に時刻同期の誤差に対応したガードタイムを加えて、ランダム送信の実行を禁止するランダム送信禁止期間を設定する期間設定手段とを有することを特徴とする。
The wireless communication device according to
ここで、本無線通信装置に設けられた時計の時刻にずれが生じると、定期送信期間とランダム送信禁止期間とが同期しなくなって、本無線通信装置と外部の通信装置の送信期間を時間分離することができない。そこで、本発明の無線通信装置には、受信した送信時刻と受信時刻に基づき自身の時計の時刻を補正することによって時刻同期を行う同期制御手段が設けられている。 Here, if a time difference occurs in the clock provided in the wireless communication apparatus, the periodic transmission period and the random transmission prohibition period are not synchronized, and the transmission periods of the wireless communication apparatus and the external communication apparatus are separated in time. Can not do it. Therefore, the wireless communication apparatus of the present invention is provided with synchronization control means for performing time synchronization by correcting the time of its own clock based on the received transmission time and reception time.
このため、本発明(請求項1)によれば、データの定期送信を行う外部の通信装置の定期送信期間を確保して、定期送信による重要データの定期送信を優先的に実行できるようになる。そして、外部の通信装置がデータの定期送信を行う定期送信期間中に、無線通信装置によるランダム送信を禁止することから、全通信装置に送信時間を割り当てるTDMA方式の無線通信システムのように、各通信装置に設けられた時計の時刻を高精度に同期させる必要はなく、その時刻同期の精度が低くてもデータ衝突が発生し難い無線通信システムを実現できる。 Therefore, according to the present invention (Claim 1), it becomes possible to preferentially execute the periodic transmission of important data by the periodic transmission by securing the periodic transmission period of the external communication apparatus that performs the periodic transmission of data. . And, during the periodic transmission period in which the external communication device performs periodic transmission of data, random transmission by the wireless communication device is prohibited. Thus, as in the TDMA wireless communication system that allocates transmission time to all communication devices, It is not necessary to synchronize the time of a clock provided in the communication device with high accuracy, and a wireless communication system in which data collision hardly occurs even when the accuracy of time synchronization is low can be realized.
特に本発明(請求項1)では、受信した定期送信情報から得られる定期送信期間の前後に時刻同期の誤差に対応したガードタイムを加えて、ランダム送信の実行を禁止するランダム送信禁止期間を設定する期間設定手段を有しているので、同期制御手段による時刻同期の精度が低い場合に、定期送信とランダム送信とが重なり、データ衝突が発生するのを、より確実に防止することができるようになる。 In particular, in the present invention (Claim 1), a random transmission prohibition period for prohibiting random transmission is set by adding a guard time corresponding to an error in time synchronization before and after the periodic transmission period obtained from the received periodic transmission information. Since the period setting means is provided, when the accuracy of time synchronization by the synchronization control means is low, it is possible to more reliably prevent the occurrence of data collision due to the overlap between the periodic transmission and the random transmission. become.
ところで、本発明(請求項1)のように、受信した定期送信情報から得られる定期送信期間の前後に時刻同期の誤差に対応したガードタイムを加えたとしても、外部の通信装置及び本無線通信装置が定期送信或いはランダム送信を許可された期間中にパケットの送信を開始し、そのパケットの送信期間中に、ガードタイムから、他方の通信装置の送信期間に移行することも考えられる。 By the way, as in the present invention (Claim 1), even if a guard time corresponding to an error in time synchronization is added before and after the periodic transmission period obtained from the received periodic transmission information, the external communication device and the present wireless communication It is also conceivable that the transmission of a packet is started during the period when the apparatus is permitted to perform periodic transmission or random transmission, and the transmission period of the packet is shifted from the guard time to the transmission period of the other communication apparatus.
そこで、このような問題を防止するには、請求項3、5若しくは請求項4、6に記載のように構成するとよい。
Therefore, in order to prevent such a problem, it is preferable to configure as described in
すなわち、請求項3に記載の無線通信装置のように、請求項1おいて、定期送信期間の直前に、更に、ランダム送信による送信データ1パケット分の送信時間に対応した第1時間を設定するようする。
That is, as in the wireless communication device according to
また、請求項5に記載の無線通信装置のように、請求項3おいて、第1時間を設定する第1時間設定手段を備え、期間設定手段が、ランダム送信禁止期間を設定する際に、定期送信期間の直前に第1時間設定手段にて設定された第1時間を加えることとする。
Further, as in the wireless communication device according to claim 5, in
このため、請求項3、5によれば、本無線通信装置がランダム送信によるデータ送信を実行しているときに、ランダム送信禁止期間に入ることのないよう、ガードタイムを設定することができ、本無線通信装置によるランダム送信と外部の通信装置による定期送信とが重なるのをより確実に防止できる。
For this reason, according to
また、請求項4に記載の無線通信装置のように、請求項1または3において、定期送信期間の直後に、更に、定期送信による送信データ1パケット分の送信時間に対応した第2時間を設定するようにする。
Further, as in the wireless communication device according to
そして、請求項6に記載の無線通信装置のように、請求項4において、第2時間を設定する第2時間設定手段を備え、期間設定手段が、ランダム送信禁止期間を設定する際に、定期送信期間の直後に第2時間設定手段にて設定された第2時間を加えることとする。
Further, as in the wireless communication device according to
このため、請求項4、6によれば、外部の通信装置が定期送信によるデータ送信を実行しているときに、ランダム送信禁止期間が終了することのないよう、ガードタイムを設定することができ、外部の通信装置による定期送信と本無線通信装置によるランダム送信とが重なるのをより確実に防止できる。
For this reason, according to
また次に、請求項7に記載のように、請求項3または5において、ランダム送信禁止期間は外部の通信装置が定期送信を行う一周期内の特定期間として設定するよう構成されており、定期送信期間にガードタイムと第1時間を付加することにより導出される一つのランダム送信禁止期間が定期送信一周期の区切りを跨るときには、当該ランダム送信禁止期間を、定期送信一周期の区切りで分割した2つのランダム送信禁止期間として設定するようにするとよい。
Next, as described in
つまり、ランダム送信禁止期間をこのように設定するようにすれば、本無線通信装置で、定期送信の一周期毎に、ランダム送信によるデータ送信の禁止・許可を切り換えることができるようになり、延いては、そのための回路構成を簡単にして本無線通信装置を小型化できるようになる。 In other words, if the random transmission prohibition period is set in this way, the wireless communication apparatus can switch prohibition / permission of data transmission by random transmission for each period of periodic transmission. Therefore, the circuit configuration for this purpose can be simplified and the radio communication apparatus can be miniaturized.
次に、請求項2に記載の無線通信システムにおいては、所定の通信チャンネルを利用して、予め決められた定期送信一周期内に割り当てられた期間を利用して無線送信を行う定期送信機能を有し、定期送信期間を表す定期送信情報と送信時刻を含む送信データの定期送信を行う第1通信装置と、データの送信要求が発生した際、前記通信チャンネルが空いているか否かを判定して、前記通信チャンネルが空いているときに無線によりランダム送信を行うランダム送信機能を有する第2通信装置であって、第1通信装置からの送信データを受信する受信手段と、受信手段より受信した送信時刻と受信時刻に基づき自身の時計の時刻を補正することによって時刻同期を行う同期制御手段と、受信手段より受信した定期送信情報から得られる定期送信期間の前後に時刻同期の誤差に対応したガードタイムを加えて、ランダム送信の実行を禁止するランダム送信禁止期間を設定する設定手段とを備える第2通信装置とを有することを特徴とする。 Next, in the wireless communication system according to claim 2, a periodic transmission function for performing wireless transmission using a predetermined communication channel and using a period allocated within a predetermined periodic transmission period. A first communication device that periodically transmits transmission data including a periodical transmission information indicating a periodical transmission period and a transmission time; and determining whether or not the communication channel is free when a data transmission request occurs. And a second communication device having a random transmission function for performing random transmission by radio when the communication channel is free, the reception unit receiving transmission data from the first communication device, and receiving from the reception unit Synchronization control means that synchronizes time by correcting the time of its own clock based on transmission time and reception time, and periodic transmission obtained from the periodic transmission information received from the reception means Adding guard time corresponding to time synchronization errors before and after the period, and having a second communication device and a setting means for setting a random transmission prohibition period for prohibiting the execution of the random transmission.
ここで、第2通信装置に設けられた時計の時刻にずれが生じると、定期送信期間とランダム送信禁止期間とが同期しなくなって、各通信装置の送信期間を時間分離することができない。そこで、本発明の無線通信システムにおける第2通信装置には、受信した送信時刻と受信時刻に基づき自身の時計の時刻を補正することによって時刻同期を行う同期制御手段が設けられている。 Here, if the time of the clock provided in the second communication device is shifted, the regular transmission period and the random transmission prohibition period are not synchronized, and the transmission periods of the communication devices cannot be separated in time. Therefore, the second communication device in the wireless communication system of the present invention is provided with synchronization control means for performing time synchronization by correcting the time of its own clock based on the received transmission time and the reception time.
このため、本発明(請求項2)によれば、送信データの定期送信を行う第1通信装置の定期送信期間を確保して、定期送信による重要データの定期送信を優先的に実行できるようになる。そして、第1通信装置が送信データの定期送信を行う定期送信期間中に、第2通信装置によるランダム送信を禁止することから、全通信装置に送信時間を割り当てるTDMA方式の無線通信システムのように、各通信装置に設けられた時計の時刻を高精度に同期させる必要はなく、その時刻同期の精度が低くてもデータ衝突が発生し難い無線通信システムを実現できる。 For this reason, according to the present invention (Claim 2), the regular transmission period of the first communication device that performs regular transmission of transmission data is secured, so that regular transmission of important data by regular transmission can be preferentially executed. Become. Since the first communication device prohibits random transmission by the second communication device during the regular transmission period in which transmission data is periodically transmitted, as in a TDMA wireless communication system that allocates transmission time to all communication devices. Therefore, it is not necessary to synchronize the time of the clock provided in each communication device with high accuracy, and it is possible to realize a wireless communication system in which data collision hardly occurs even when the accuracy of time synchronization is low.
特に本発明(請求項2)では、第2通信装置が、受信した定期送信情報から得られる定期送信期間の前後に時刻同期の誤差に対応したガードタイムを加えて、ランダム送信の実行を禁止するランダム送信禁止期間を設定する設定手段を有しているので、同期制御手段による時刻同期の精度が低い場合に、定期送信とランダム送信とが重なり、データ衝突が発生するのを、より確実に防止することができるようになる。 In particular, in the present invention (Claim 2), the second communication device prohibits execution of random transmission by adding a guard time corresponding to an error in time synchronization before and after the periodic transmission period obtained from the received periodic transmission information. Since there is a setting means to set the random transmission prohibition period, when the accuracy of time synchronization by the synchronization control means is low, it is more reliably prevented that periodic transmission and random transmission overlap and data collision occurs Will be able to.
ところで、本発明(請求項2)のように、第2通信装置において、受信した定期送信情報から得られる定期送信期間の前後に時刻同期の誤差に対応したガードタイムを加えたとしても、第1通信装置及び第2通信装置が定期送信或いはランダム送信を許可された期間中にパケットの送信を開始し、そのパケットの送信期間中に、ガードタイムから、他方の通信装置の送信期間に移行することも考えられる。 By the way, as in the present invention (Claim 2), even if the guard time corresponding to the time synchronization error is added before and after the periodic transmission period obtained from the received periodic transmission information in the second communication apparatus, Start transmission of a packet during a period when the communication apparatus and the second communication apparatus are permitted to perform periodic transmission or random transmission, and shift from the guard time to the transmission period of the other communication apparatus during the transmission period of the packet. Is also possible.
そこで、このような問題を防止するには、請求項8、10若しくは請求項9、11に記載のように構成するとよい。
Therefore, in order to prevent such a problem, it is preferable to configure as described in
すなわち、請求項8に記載の無線通信装置のように、請求項2おいて、定期送信期間の直前に、更に、第2通信装置の前記ランダム送信による送信データ1パケット分の送信時間に対応した第1時間を設定するようにする。 That is, as in the wireless communication device according to claim 8, in claim 2, it corresponds to the transmission time of one packet of transmission data by the random transmission of the second communication device immediately before the regular transmission period. The first time is set.
また、請求項10に記載の無線通信装置のように、請求項2、8、9の何れか一つおいて、第1通信装置は、第2通信装置が実行するランダム送信による送信データ1パケット分の送信時間に対応した時間を設定する第1時間設定手段を備え、定期送信期間を設定する際に、定期送信期間から第1時間設定手段にて設定された時間を減じることで、送信データの出力を許可する定期送信期間を決定することとする。
Further, as in the radio communication device according to
このため、請求項8、10によれば、第2通信装置がランダム送信によるデータ送信を実行しているときに、ランダム送信禁止期間に入ることのないよう、ガードタイムを設定することができ、第2通信装置によるランダム送信と第1通信装置による定期送信とが重なるのをより確実に防止できる。
Therefore, according to
また、請求項9に記載の無線通信装置のように、請求項2または8において、定期送信期間の直後に、更に、第1通信装置の定期送信による送信データ1パケット分の送信時間に対応した第2時間を設定するようにする。 Further, as in the wireless communication device according to claim 9, in claim 2 or 8, immediately after the periodic transmission period, further corresponds to a transmission time for one packet of transmission data by periodic transmission of the first communication device. The second time is set.
そして、請求項11に記載の無線通信装置のように、請求項2、8乃至10の何れか一つにおいて、第1通信装置は、自身の定期送信による送信データの1パケット分の送信時間に対応した時間を前記定期送信期間に加えて設定する第2時間設定手段を備え、定期送信期間から第2時間設定手段にて設定された時間を減じることで、送信データの出力を許可する定期送信期間を決定することとする。 Then, as in the wireless communication device according to claim 11, in any one of claims 2, 8 to 10, the first communication device has a transmission time for one packet of transmission data by its regular transmission. Periodic transmission comprising second time setting means for setting a corresponding time in addition to the periodical transmission period, and permitting output of transmission data by subtracting the time set by the second time setting means from the periodical transmission period The period will be determined.
このため、請求項9、11によれば、第1通信装置が定期送信によるデータ送信を実行しているときに、ランダム送信禁止期間が終了することのないよう、ガードタイムを設定することができ、第1通信装置による定期送信と第2通信装置によるランダム送信とが重なるのをより確実に防止できる。 Therefore, according to claims 9 and 11, the guard time can be set so that the random transmission prohibition period does not end when the first communication device is performing data transmission by periodic transmission. It is possible to more reliably prevent the periodic transmission by the first communication device and the random transmission by the second communication device from overlapping.
また次に、請求項12に記載のように、請求項8または10において、ランダム送信禁止期間は第1通信装置が定期送信を行う一周期内の特定期間として設定するよう構成されており、定期送信期間にガードタイムと第1時間を付加することにより導出される一つのランダム送信禁止期間が定期送信一周期の区切りを跨るときには、当該ランダム送信禁止期間を、定期送信一周期の区切りで分割した2つのランダム送信禁止期間として設定するようにするとよい。
Next, as described in
つまり、ランダム送信禁止期間をこのように設定するようにすれば、第2通信装置側で、定期送信の一周期毎に、ランダム送信によるデータ送信の禁止・許可を切り換えることができるようになり、延いては、そのための回路構成を簡単にして第2通信装置を小型化できるようになる。 In other words, if the random transmission prohibition period is set in this way, the second communication device can switch prohibition / permission of data transmission by random transmission for each period of periodic transmission. As a result, the circuit configuration therefor can be simplified and the second communication device can be downsized.
以下に本発明の実施形態を図面と共に説明する。 Embodiments of the present invention will be described below with reference to the drawings.
[実施形態]
(無線通信システムの概要)
図1は、本発明が適用された実施形態の無線通信システムの構成及び動作の概要を表す説明図である。
[Embodiment]
(Outline of wireless communication system)
FIG. 1 is an explanatory diagram showing an outline of the configuration and operation of a wireless communication system according to an embodiment to which the present invention is applied.
図1(a)に示すように、本実施形態の無線通信システムは、路上機として自動車の走行路付近に分散して設置される複数の通信装置2Aと、自動車に搭載され、路上機や他の車両との間で無線通信を行う通信装置2B、2C、・・・と、から構成されている。
As shown in FIG. 1 (a), the wireless communication system of the present embodiment includes a plurality of
通信装置2Aは、交通情報等の各種情報を周囲の自動車に定期的に送信する定期送信機能を有し、通信装置2B、2C・・・は、自動車に搭載された制御装置からの送信要求を受けて、自車両の状態等を路上機や他の車両に送信するランダム送信機能を有する。
The
そして、これら各通信装置2A、2B、2C、・・・間の通信には、全て共通の通信チャンネルが使用され、通信装置2B、2C、・・・がランダム送信する際には、CSMA方式のアクセス制御によって通信チャンネルが空いているか否かを判断し、通信チャンネルが空いているときにデータ送信を開始する。
In addition, a common communication channel is used for communication between these
また、通信装置2Aは、定期送信を行うが、この定期送信の周期は、予め決められており、通信装置2Aには、定期送信一周期内のどの期間を定期送信に利用するかが割り当てられている。
The
そして、通信装置2Aは、その割り当てられた定期送信期間を、定期送信によって他の通信装置2B、2C、・・・に通知し、他の通信装置2B、2C、・・・は、その通知された定期送信期間中は、ランダム送信を禁止する。
Then, the
つまり、本実施形態では、定期送信機能を有する通信装置2Aが、図1(b)に示すように、定期送信期間の開始タイミングと定期送信期間の長さ(期間長)を表す定期送信期間情報に、通信装置2Aの識別情報である装置IDと後述の転送回数を付与した定期送信情報を、単独或いは他の送信データに付与して、周囲に定期送信する。
That is, in this embodiment, the
そして、ランダム送信機能を有する他の通信装置2B、2C、・・・は、通信装置2Aが送信した定期送信情報を受けると、その定期送信情報に基づき、図1(c)に示すように、通信装置2Aの定期送信期間内にランダム送信を開始してしまうことのないよう自らのランダム送信禁止期間を設定し、そのランダム送信禁止期間以外の期間(ランダム送信期間)内に、ランダム送信を行う。
Then, when the
また、図1(a)に示すように、通信装置2Bが、通信装置2Aからの送信電波が届くエリア(図に斜線で示す領域)内に位置し、通信装置2Cがそのエリア外に位置する場合、通信装置2Cには通信装置2Aから送信された定期送信情報が届かず、通信装置2Cが通信装置2Aの定期送信期間内にランダム送信を開始し、通信装置2B側では、通信装置2A、2Cからの送信電波が同時に届き、それぞれの送信データを受信できなくなることが考えられる。
Further, as shown in FIG. 1A, the
そこで、本実施形態では、通信装置2B、2C、・・・が定期送信情報を受信したときには、その定期送信情報を再送信することにより、通信装置2Aから離れた他の通信装置に定期送信情報を通知するようにされている。
Therefore, in this embodiment, when the
そして、各通信装置2B、2C、・・・が他の通信装置に定期送信情報を再送信する際には、定期送信情報に付与された転送回数を更新(+1)することで、定期送信情報を受信した通信装置側で、その定期送信情報が、通信装置2Aが最初に送信してから何度目の転送で届いたのかを識別できるようにされている。
When each
また、通信装置2B、2C、・・・側で、定期送信情報に基づきランダム送信禁止期間を設定するには、通信装置2A側で認識されている定期送信の周期と、通信装置2B、2C、・・・側で認識されている定期送信の周期とを一致させる必要がある。
In order to set the random transmission prohibition period based on the periodic transmission information on the
そこで、本実施形態では、通信装置2Aが定期送信情報を送信するときや、通信装置2B、2C、・・・が定期送信情報を転送するときには、その送信時刻を自らの時計から読み出して定期送信情報に付与し、定期送信情報を受信した通信装置2B、2C、・・・側では、定期送信情報に付与されている送信時刻と、自らの時計から読み出した受信時刻とを比較することで、時計の時刻を、定期送信情報を送信してきた通信装置2A、2B、・・・側の時刻と同期させる。
Therefore, in this embodiment, when the
つまり、例えば、図1(a)において、通信装置2Aから送信された定期送信情報は通信装置2Bに届き、通信装置2Bは、その定期送信情報を通信装置2Cに転送することになるが、通信装置2B、2Cが定期送信情報を受信した際に、自らの時計の時刻を、定期送信情報を送信してきた通信装置2A、2Bの時計と同期させることで、定期送信情報を受信した各通信装置2B、2C、・・・の時計が、全て、通信装置2Aの時計と同一時刻となるように時刻同期させるのである。
That is, for example, in FIG. 1A, the periodic transmission information transmitted from the
この結果、各通信装置2A、2B、2C、・・・は、自らの時計を用いて、定期送信の一周期を同タイミングで検知できるようになる。
As a result, each
(通信装置の構成)
次に、図2は、上述した本実施形態の無線通信システムを構築するのに用いられる通信装置2の構成を表すブロック図である。
(Configuration of communication device)
Next, FIG. 2 is a block diagram showing a configuration of the communication apparatus 2 used for constructing the above-described wireless communication system of the present embodiment.
図2に示す通信装置2は、定期送信機能とランダム送信機能との両方の機能を有し、路上機としての通信装置2Aにも、車載機としての通信装置2B、2C、・・・にも使用できるものである。
2 has both a regular transmission function and a random transmission function. The
図2に示すように、通信装置2には、外部の制御装置から入力される送信データにヘッダ等の付加情報を付与して出力するデータ送信部12と、データ送信部12から出力された送信データを所定の通信チャンネルでの送信信号(高周波信号)に変換して通信アンテナ(図示せず)に出力する変調処理部14と、通信アンテナにて受信された受信信号を取り込み、他の通信装置からの送信データを復元する復調処理部16と、復調処理部16にて復元された受信データからヘッダ等の付加情報を抽出し、受信データが当該通信装置2に向けて送信されたものであれば受信データを外部の制御装置に出力するデータ受信部18と、が設けられている。
As shown in FIG. 2, the communication device 2 includes a
また、通信装置2には、通信装置2が定期送信を行う際に設定される定期送信情報、若しくは、通信装置2がランダム送信を行う際に他の通信装置から取得した定期送信情報を記憶するための定期送信期間テーブル(具体的にはメモリ)20、当該通信装置2が定期送信を行う際に実際にデータ送信を行う定期送信期間を、定期送信期間テーブル20内の定期送信情報(通信装置自身の定期送信期間情報)に基づき決定し、データ送信部12に出力する定期送信期間決定部30と、当該通信装置2がランダム送信を行う際にランダム送信を禁止する期間(ランダム送信禁止期間)を、定期送信期間テーブル20内の定期送信情報(他の通信装置から取得した定期送信期間情報)に基づき決定し、データ送信部12に出力するランダム送信禁止期間決定部40と、が設けられている。
Further, the communication device 2 stores the periodic transmission information set when the communication device 2 performs periodic transmission or the periodic transmission information acquired from another communication device when the communication device 2 performs random transmission. Periodical transmission period table (specifically, memory) 20, periodic transmission period in which data is actually transmitted when the communication apparatus 2 performs periodic transmission, periodical transmission information (communication apparatus) in the periodical transmission period table 20 A periodical transmission
そして、データ送信部12は、定期送信期間決定部30から定期送信期間情報が入力されると、その情報に対応した定期送信期間だけ、送信データの定期送信が可能となり、ランダム送信禁止期間決定部40からランダム送信禁止期間情報が入力されると、その情報に対応したランダム送信禁止期間だけ、送信データのランダム送信を禁止する。
Then, when the periodic transmission period information is input from the periodic transmission
また、通信装置2には、内部クロックをカウントすることにより時刻を計時する時計4が設けられており、データ送信部12は、この時計4による計時時刻に基づき、定期送信の周期、及び、その周期内の定期送信期間或いはランダム送信禁止期間を検知し、定期送信或いはランダム送信を制御する。
In addition, the communication device 2 is provided with a
また、時計4には、時計4による計時時刻(詳しくはカウント値)が、定期送信一周期分のカウント値の所定の整数値倍になった時点で、時計4をリセットして、そのカウント値を初期化する、タイマリセット部6が接続されている。
The
なお、このタイマリセット部6は、基準となる絶対時刻を表す外部信号を入力できるようにされており、タイマリセット部6は、外部信号が入力されているときには、この外部信号から得られる基準時刻で時計4をリセットすることにより、同じ外部信号が入力される他の通信装置との間で、時計4を時刻同期させる。
The timer reset
(ガードタイムの設定)
次に、通信装置2には、時計4の他の通信装置との同期精度を表す同期精度情報に基づき、定期送信期間とランダム送信期間との間に設けるガードタイムGを決定するガードタイム決定部22が設けられている。
(Guard time setting)
Next, the communication device 2 includes a guard time determination unit that determines a guard time G provided between the regular transmission period and the random transmission period based on synchronization accuracy information indicating the synchronization accuracy with the other communication devices of the
つまり、通信装置2の時計4と他の通信装置の時計は、後述の時刻同期処理によって時刻同期されるが、その時刻同期処理では各時計の時刻を完全に一致させることができず、誤差が生じる。
That is, the
そこで、本実施形態では、時刻同期による誤差があっても、定期送信期間とランダム送信禁止期間とが重複することのないよう、図3に示すように、定期送信期間とランダム送信期間との間に、時計の同期精度に対応したガードタイムGを設けて、ランダム送信禁止期間の終了後は、ガードタイムGが経過してから定期送信期間に入り、定期送信期間の終了後は、ガードタイムGが経過してからランダム送信禁止期間が終了して、ランダム送信を許可するようにされている。 Therefore, in the present embodiment, even if there is an error due to time synchronization, the periodic transmission period and the random transmission prohibition period do not overlap with each other as shown in FIG. In addition, a guard time G corresponding to the synchronization accuracy of the clock is provided, and after the random transmission prohibition period ends, the guard transmission period starts after the guard time G has elapsed, and after the end of the periodic transmission period, the guard time G After the elapse of time, the random transmission prohibition period ends, and random transmission is permitted.
また、本実施形態では、このガードタイムGを設けるに当たって、定期送信情報を受信した通信装置2B、2C、・・・側で、ガードタイムGを考慮してランダム送信禁止期間を設定する必要がないよう、通信装置2Aが送信する定期送信情報に、ガードタイムGを含む定期送信期間が設定される。
Further, in the present embodiment, when the guard time G is provided, it is not necessary to set the random transmission prohibition period in consideration of the guard time G on the
この結果、通信装置2において、定期送信期間決定部30に入力される定期送信期間情報は、ガードタイムGを含む定期送信期間を表すものとなり、定期送信期間決定部30が、定期送信期間情報をそのまま用いてデータ送信部12からのデータ送信を許可する定期送信期間を設定すると、ガードタイムGが消滅してしまう。
As a result, in the communication device 2, the periodic transmission period information input to the periodic transmission
そこで、本実施形態では、定期送信期間決定部30が、定期送信期間情報から得られる定期送信期間の前後を、カードタイムG分だけ短くすることで、定期送信期間情報を補正し、データ送信部12に出力するようにされている。
Therefore, in this embodiment, the periodic transmission
また、変調処理部14は、データ送信部12からの指令に従い送信データの変調方式(BPSK、QPSK、16QAM等)を設定するようにされており、通信装置2には、変調処理部14からその変調方式を表す変調情報を取り込み、この変調情報とデータ送信部12が変調処理部14に出力する送信データのデータ長とに基づき、変調処理部14が送信データを1パケット分変調するのに要する時間(送信時間)を算出する、送信時間判定部24が設けられている。
Also, the
そして、この送信時間判定部24にて求められた送信時間情報は、定期送信期間決定部30及びランダム送信禁止期間決定部40に出力され、定期送信期間決定部30は、定期送信期間情報から得られる定期送信期間の終了タイミングを送信時間分だけ前に移動させて、定期送信期間を短くすることで、データ送信部12に出力する定期送信期間情報を決定する。
Then, the transmission time information obtained by the transmission
また、ランダム送信禁止期間決定部40は、定期送信期間情報から得られる定期送信期間の開始タイミングを送信時間分だけ前に移動させて、ランダム送信禁止期間を長くすることで、データ送信部12に出力するランダム送信禁止期間情報を決定する。
In addition, the random transmission prohibition
つまり、本実施形態では、通信装置2Aが定期送信を行う定期送信期間と、通信装置2B、2C、・・・がランダム送信を行うランダム送信期間とを分離することで、定期送信による送信データとランダム送信による送信データが衝突するのを防止し、しかも、定期送信期間とランダム送信期間とが、各通信装置2A、2B、2C、・・・間の時計の同期ずれによって重複することのないよう、定期送信期間とランダム送信期間との間にガードタイムGを設けている。
In other words, in the present embodiment, by separating the periodic transmission period in which the
しかし、このような対策だけでは、定期送信によるデータ送信中に定期送信期間が終了したときや、ランダム送信によるデータ送信中にランダム送信期間が終了したときに、そのデータ送信が継続されて、定期送信によるデータ送信とランダム送信によるデータ送信とが同時に実行されることが考えられる。 However, with such measures alone, when the periodic transmission period ends during data transmission by periodic transmission, or when the random transmission period ends during data transmission by random transmission, the data transmission is continued. It is conceivable that data transmission by transmission and data transmission by random transmission are executed simultaneously.
そこで、本実施形態では、図4に示すように、定期送信期間の終了タイミングと、ランダム送信禁止期間の終了タイミング(換言すればランダム送信期間の開始タイミング)との間に、定期送信による送信データ1パケット分の送信時間に対応したガードタイムAを設け、ランダム送信禁止期間の開始タイミング(換言すればランダム送信期間の終了タイミング)と、定期送信期間の開始タイミングとの間に、ランダム送信による送信データ1パケット分の送信時間に対応したガードタイムBを設けることで、定期送信によるデータ送信とランダム送信によるデータ送信とが重複するのを防止する。 Therefore, in the present embodiment, as shown in FIG. 4, transmission data by periodic transmission is between the end timing of the regular transmission period and the end timing of the random transmission prohibition period (in other words, the start timing of the random transmission period). A guard time A corresponding to the transmission time for one packet is provided, and transmission by random transmission is performed between the start timing of the random transmission prohibition period (in other words, the end timing of the random transmission period) and the start timing of the regular transmission period. By providing a guard time B corresponding to the transmission time for one packet of data, it is possible to prevent data transmission by regular transmission and data transmission by random transmission from overlapping.
そして、このために、本実施形態では、通信装置2Aが送信する定期送信情報として、正規の定期送信期間の前後に時刻同期の誤差に対応したガードタイムGを加え、更に、その定期送信期間の最後に、送信装置2Aが送信データ1パケット分を送信するのに要する送信時間に対応したガードタイムAを加えたものを予め設定しておき、通信装置2Aが実際に定期送信を行う際には、定期送信期間決定部30が、定期送信情報から得られる定期送信期間からガードタイムG及びガードタイムAを減じることで、定期送信時にデータ送信部12が送信データを出力する期間を、正規の定期送信期間に制御し、通信装置2B、2C、・・・側では、ランダム送信禁止期間決定部40が、定期送信情報から得られる定期送信期間(つまり正規の定期送信期間にガードタイムG及びガードタイムAが付与された定期送信期間)に、ガードタイムBを加えることで、正規の定期送信期間にガードタイムG、A、Bを加えたランダム送信禁止期間を設定するようにされている。
For this reason, in this embodiment, as the periodic transmission information transmitted by the
なお、ランダム送信禁止期間決定部40は、定期送信情報に対応した定期送信期間に、自らのデータ送信時間であるガードタイムBを加えて、ランダム送信禁止期間を設定するが、図5に示すように、このランダム送信禁止期間が、定期送信の一周期の区切りを跨ぐ場合には、ランダム送信禁止期間を、その区切りに沿って2つに分離し、その分離した各送信禁止期間1、2を、ランダム送信禁止期間として、データ送信部12に指令する。
The random transmission prohibition
これは、データ送信部12側で、時計4による計時時刻(換言すればカウント値)に基づき、定期送信の一周期毎に、ランダム送信を禁止する期間(換言すれば送信データを出力する期間)を設定できるようにするためである。つまり、このようにすることで、データ送信部12を、送信データの出力/停止を切り替えるゲート回路や、ゲート回路の開閉を一定周期毎に所定タイミングで切り替えるタイミング回路等からなる簡単なデジタル回路で構成できるようにしている。
This is a period during which random transmission is prohibited (in other words, a period during which transmission data is output) for each period of periodic transmission based on the time measured by the clock 4 (in other words, the count value) on the
(ソフトウェア処理により実現される機能ブロック)
次に、通信装置2には、データ受信部18にて受信データから抽出された定期送信情報に基づき、定期送信期間テーブル20内の定期送信情報を更新する定期送信期間更新部50と、データ受信部18が受信データから抽出した定期送信情報の送信時刻やその受信データの受信時刻を取り込み、時刻差(受信時刻−送信時刻)を算出する時刻差分計算部52と、時刻差分計算部52で算出された時刻差と同期精度情報とに基づき、時刻差が同期精度に対応した許容範囲内にあるか否かを判定して、許容範囲内になければ、時計4に時刻補正情報を出力することで、時刻を補正させる時刻補正判断部54が設けられている。
(Function blocks realized by software processing)
Next, the communication device 2 includes a periodical transmission
この定期送信期間更新部50、時刻差分計算部52、及び、時刻補正判断部54は、マイクロコンピュータによるソフトウェア処理により実現される機能ブロックであり、定期送信期間更新部50は、マイクロコンピュータのソフトウェア処理によって、通信装置2Aによる定期送信情報の送信処理や、通信装置2B、2C、・・・による定期送信情報の再送信処理も実現する。
The regular transmission
なお、図2において、定期送信期間更新部50、時刻差分計算部52及び時刻補正判断部54以外の機能ブロック、つまり、時計4、タイマリセット部6、データ送信部12、変調処理部14、復調処理部16、定期送信期間テーブル20、ガードタイム決定部22、送信時間判定部24、定期送信期間決定部30、及び、ランダム送信禁止期間決定部40は、全てデジタル回路からなるハードウェア構成にて実現される。
In FIG. 2, functional blocks other than the periodic transmission
次に、図6は、本実施形態の通信装置2において、通信装置2が定期送信を行う路上機として使用される場合に動作する、定期送信用の機能ブロックを表し、図7は、同じく、通信装置2がランダム送信を行う車載機として使用される場合に動作する、ランダム送信用の機能ブロックを表している。 Next, FIG. 6 shows functional blocks for periodic transmission that operate when the communication apparatus 2 is used as a road device that performs periodic transmission in the communication apparatus 2 of the present embodiment. The functional block for random transmission which operate | moves when the communication apparatus 2 is used as a vehicle-mounted apparatus which performs random transmission is represented.
図6に示すように、通信装置2が、定期送信を行う通信装置2Aとして使用されるときには、時計4、タイマリセット部6、データ送信部12、変調処理部14、定期送信期間テーブル20、ガードタイム決定部22、送信時間判定部24、定期送信期間決定部30、及び、定期送信期間更新部50が動作し、データ送信部12からの送信データの出力期間が、定期送信期間決定部30にて決定される定期送信期間に制限される。
As shown in FIG. 6, when the communication device 2 is used as a
また、この場合、定期送信期間テーブル20には、通信装置2自身が定期送信を行う際の定期送信期間を表す定期送信情報が記憶されており、定期送信期間更新部50は、マイクロコンピュータによるソフトウェア処理によって、定期送信期間テーブル20からこの定期送信情報を読み込み、データ送信部12に出力することで、この定期送信情報を、単独の送信データ、或いは、他の送信データのヘッダとして、定期送信させる。なお、データ送信部12は、定期送信情報を送信する際、その送信時刻を時計4から読み出し、定期送信情報に付与する。
In this case, the periodic transmission period table 20 stores periodic transmission information indicating the periodic transmission period when the communication apparatus 2 itself performs periodic transmission, and the periodic transmission
一方、図7に示すように、通信装置2が、ランダム送信を行う通信装置2B、2C、・・・として使用されるときには、定期送信期間決定部30とガードタイム決定部22を除く全機能ブロックが動作し、ランダム送信禁止期間決定部40にて決定されるランダム送信禁止期間の間、データ送信部12からの送信データの出力が禁止される。
On the other hand, as shown in FIG. 7, when the communication device 2 is used as
そして、この場合、定期送信期間更新部50は、マイクロコンピュータによるソフトウェア処理によって、データ受信部18にて受信データから抽出された定期送信情報に基づき、定期送信期間テーブル20内の定期送信情報を更新すると共に、その更新後の定期送信情報をデータ送信部12に出力することで、この定期送信情報を、ランダム送信する他の送信データのヘッダ等に付与して、他の通信装置に転送させる。
In this case, the regular transmission
また、時刻差分計算部52及び時刻補正判断部54は、マイクロコンピュータによるソフトウェア処理によって、データ受信部18が受信した定期送信情報の送信時刻と受信時刻との時刻差に基づき、時計4の時刻を補正する。
Further, the time
そこで、次に、通信装置2がランダム送信を行う通信装置2B、2C、・・・として使用される際に、定期送信期間更新部50、時刻差分計算部52、及び時刻補正判断部54の機能を実現するためにマイクロコンピュータにて実行されるソフトウェア処理について、図8〜図10に示すフローチャートに沿って説明する。
Therefore, next, when the communication device 2 is used as the
(定期送信情報転送処理)
まず図8は、マイクロコンピュータにおいて、データ受信部18にて受信データから抽出された定期送信情報を他の通信装置に転送するために実行される、定期送信情報転送処理を表すフローチャートである。
(Periodic transmission information transfer processing)
First, FIG. 8 is a flowchart showing a periodical transmission information transfer process executed in the microcomputer to transfer the periodical transmission information extracted from the received data by the
図8に示すように、定期送信情報転送処理では、S110(Sはステップを表す)にて、データ受信部18が定期送信情報を含むデータを受信したか否かを判断することにより、他の通信装置から定期送信情報が送信されてくるのを待ち、データ受信部18にて定期送信情報を含むデータが受信されると、S120に移行して、定期送信情報の転送回数Cを読み込む。
As shown in FIG. 8, in the periodic transmission information transfer process, in S110 (S represents a step), it is determined whether or not the
なお、データ受信部18にて、装置IDが同じで転送回数Cが異なる定期送信情報が略同時(例えば定期送信の一周期内)に受信されている場合、S120においては、その複数の定期送信情報の中から転送回数Cが小さい定期送信情報を選択し、転送回数Cを読み込む。
If the
次に、続くS130では、S120にて読み込んだ定期送信情報の転送回数Cが、予め設定されたしきい値Cmaxよりも小さいか否かを判断し、転送回数Cがしきい値Cmaxよりも小さい場合には、S140に移行して、定期送信情報の転送回数Cを更新(+1)し、S150に移行する。 Next, in subsequent S130, it is determined whether or not the transfer count C of the periodic transmission information read in S120 is smaller than a preset threshold value Cmax, and the transfer count C is smaller than the threshold value Cmax. In this case, the process proceeds to S140, where the number of times C of regular transmission information is transferred is updated (+1), and the process proceeds to S150.
そして、S150では、転送回数更新後の定期送信情報を、データ送信部12に出力することで、ランダム送信する送信データのヘッダの一つとして定期送信情報を付与して、他の通信装置に送信させる。なお、データ送信部12は、送信データに定期送信情報を付与して、他の送信装置に送信する際、送信時刻を時計4から読み出し、定期送信情報に付与する。
In S150, the periodic transmission information after the update of the number of transfers is output to the
また、S130にて、転送回数Cがしきい値Cmax以上であると判断された場合や、S150にて、データ送信部12に、転送回数更新後の定期送信情報を出力した場合には、当該定期送信情報転送処理を一旦終了し、再度S110以降の処理を実行する。
If it is determined in S130 that the transfer count C is greater than or equal to the threshold value Cmax, or if the periodic transmission information after the transfer count update is output to the
このように、定期送信情報転送処理では、データ受信部18にて抽出された定期送信情報の転送回数Cを、しきい値Cmaxを上限として更新(+1)した後、定期送信情報を転送する。また、図11に示すように、通信装置2Aが送信した定期送信情報は、周囲の通信装置2B、2C、・・・にて順に転送されるだけでなく、定期送信情報の転送回数C(初期値:0)が、転送のたびにカウントアップされる。そして、定期送信情報転送処理では、定期送信情報の転送回数Cがしきい値Cmax以上であれば、定期送信情報の転送を中止する。
In this way, in the periodic transmission information transfer process, the periodic transmission information is transferred after updating (+1) the transfer count C of the periodic transmission information extracted by the
従って、定期送信情報は、通信装置2Aからの送信電波が届くエリアの外に位置する通信装置2C、・・・に伝達できるだけでなく、その伝達範囲を、転送回数Cを用いて所望範囲内に制限することができる。
Therefore, the periodic transmission information can be transmitted not only to the communication devices 2C,... Located outside the area where the transmission radio wave from the
(定期送信情報更新・時刻同期処理)
次に図9は、マイクロコンピュータにおいて、データ受信部18にて受信データから抽出された定期送信情報に基づき定期送信期間テーブル20を更新し、更に、その定期送信情報に付与された送信時刻とデータ受信部18での受信時刻とに基づき時計4の時刻を補正するために実行される、定期送信情報更新・時刻同期処理を表すフローチャートである。
(Regular transmission information update / time synchronization processing)
Next, FIG. 9 shows that the microcomputer updates the periodic transmission period table 20 based on the periodic transmission information extracted from the received data by the
図9に示すように、この処理が開始されると、まずS210にて、データ受信部18が定期送信情報を含むデータを受信したか否かを判断することにより、他の通信装置から定期送信情報が送信されてくるのを待ち、データ受信部18にて定期送信情報を含むデータが受信されると、S220に移行して、その定期送信情報は、定期送信期間テーブル20に既に登録されているものであるか否かを判定する。なお、この判定は、定期送信情報の装置IDに基づき行われる。
As shown in FIG. 9, when this process is started, first, in S210, the
そして、S220にて、定期送信情報は未登録であると判断されると、S230にて、その未登録の定期送信情報を定期送信期間テーブル20に新規登録した後、S240に移行し、逆に、S220にて、定期送信情報は定期送信期間テーブル20に既に登録されていると判断されると、そのままS240に移行する。 If it is determined in S220 that the periodic transmission information is unregistered, in S230, the unregistered periodic transmission information is newly registered in the periodic transmission period table 20, and then the process proceeds to S240. If it is determined in S220 that the periodic transmission information is already registered in the periodic transmission period table 20, the process proceeds to S240 as it is.
S240では、今回受信した定期送信情報の転送回数C(受信転送回数C)は、定期送信期間テーブル20に登録されている定期送信情報(詳しくは装置IDが同じ定期送信情報)の転送回数C(登録転送回数C)よりも小さいか否かを判断し、受信転送回数Cが登録転送回数Cよりも小さい場合には、S260に移行する。 In S240, the transfer count C (reception transfer count C) of the periodic transmission information received this time is the transfer count C of the regular transmission information registered in the periodic transmission period table 20 (specifically, the periodic transmission information having the same device ID). It is determined whether or not it is smaller than the registered transfer count C). If the received transfer count C is smaller than the registered transfer count C, the process proceeds to S260.
なお、今回受信した定期送信情報が定期送信期間テーブル20に登録されておらず、S230にて新規登録されたものである場合、S240では、登録転送回数Cは最大値であるとして、受信転送回数Cと登録転送回数Cとを比較する。この結果、今回受信した定期送信情報が新規登録されたものであれば、S240からS260の処理に移行することになる。 If the periodic transmission information received this time is not registered in the periodic transmission period table 20 and is newly registered in S230, it is assumed that the registered transfer count C is the maximum value in S240, and the received transfer count C is compared with the registered transfer count C. As a result, if the periodic transmission information received this time is newly registered, the process proceeds from S240 to S260.
次に、S240にて、受信転送回数Cが登録転送回数C以上であると判断された場合には、S250に移行して、受信転送回数Cと登録転送回数Cとが同一で、且つ、今回受信した定期送信情報の装置IDが、前回時計4の時刻同期に用いた定期送信情報の装置ID以下であるか否かを判断する。なお、装置IDの比較は、装置IDの値から時刻同期を行うのに用いる定期送信情報の優先順位を判定するために行われる。
Next, when it is determined in S240 that the reception transfer count C is equal to or greater than the registration transfer count C, the process proceeds to S250, where the reception transfer count C and the registered transfer count C are the same, and this time It is determined whether the device ID of the received periodic transmission information is equal to or less than the device ID of the periodic transmission information used for the time synchronization of the
そして、今回受信した定期送信情報の転送回数Cと定期送信期間テーブルに記憶されている定期送信情報の転送回数Cとが同じで、その装置IDが前回時刻同期に用いた定期送信情報の装置IDよりも小さい場合には、S260に移行し、そうでなければ、当該処理を一旦終了して、再度S210に移行する。 The periodic transmission information transfer count C received this time and the periodic transmission information transfer count C stored in the periodic transmission period table are the same, and the device ID of the periodic transmission information used for the previous time synchronization is the device ID. If smaller, the process proceeds to S260; otherwise, the process is temporarily terminated and the process proceeds to S210 again.
次にS260では、今回受信された定期送信情報の送信時刻と、その定期送信情報の受信時刻とを、データ受信部18から取り込み、その取り込んだ送信時刻と受信時刻との時刻差を、時計4の同期ずれ量として算出する。
Next, in S260, the transmission time of the periodic transmission information received this time and the reception time of the periodic transmission information are fetched from the
なお、S260において、同期ずれ量を算出する際には、図12に示すように、通信装置が定期送信情報を送信してから、その定期送信情報を他の通信装置が受信するのに要するオフセット量が用いられ、同期ずれ量は、「同期ずれ量=受信時刻−送信時刻−オフセット量」として算出される。 In S260, when calculating the amount of synchronization deviation, as shown in FIG. 12, after the communication device transmits the periodic transmission information, the offset required for other communication devices to receive the periodic transmission information. The amount of synchronization deviation is calculated as “amount of synchronization deviation = reception time−transmission time−offset amount”.
つまり、定期送信情報の送信時刻は、データ送信部12が送信データを出力する際に付与されるが、その送信データは、変調処理部14にて変調処理されることにより送信信号に変換されることから、送信データが送信信号に変換されて通信アンテナから放射されるまでに、変調処理に要する遅延時間(変調処理遅延)が生じる。
That is, the transmission time of the periodic transmission information is given when the
また、通信アンテナから放射された送信信号(電波)が他の通信装置の通信アンテナに届くまでの間にも、電波伝播に伴う遅延時間(伝搬遅延)が生じ、更に、その受信信号が復調処理部16で復調処理され、定期送信情報が復元されるまでの間にも、復調処理に要する遅延時間(復調処理遅延)が発生する。
Also, a delay time (propagation delay) occurs due to radio wave propagation until the transmission signal (radio wave) radiated from the communication antenna reaches the communication antenna of another communication device, and the received signal is demodulated. A delay time (demodulation process delay) required for the demodulation process also occurs until the demodulating process by the
そこで、本実施形態では、送信時刻と受信時刻との間に生じる遅延時間(変調処理遅延、伝搬遅延、復調処理遅延)を、オフセット量として予め設定しておき、送信時刻と受信時刻とから時計4の同期ずれ量を算出する際には、このオフセット量を用いることで、時計4の真の同期ずれ量を算出するようにしている。
Therefore, in this embodiment, a delay time (modulation processing delay, propagation delay, demodulation processing delay) generated between the transmission time and the reception time is set in advance as an offset amount, and the clock is determined from the transmission time and the reception time. When calculating the amount of
次に、S260にて、時計4の同期ずれ量が算出されると、今度はS270に移行して、その算出された同期ずれ量が、上述した同期精度に対応した許容範囲内にあるか否かを判断し、同期ずれ量が許容範囲内にあれば、当該処理を一旦終了して、再度S210に移行し、逆に、同期ずれ量が許容範囲内になければ、S280に移行して、前回時計4の補正用レジスタに設定した同期ずれ量(つまり時刻補正量)が、補正用レジスタに残っているか否かを判断することにより、前回の時刻補正が完了しているか否かを判断する。
Next, when the synchronization deviation amount of the
そして、時計4の補正用レジスタに前回の時刻補正量が残っている場合には、当該処理を一旦終了して、再度S210に移行し、逆に、時計4の補正用レジスタが「0」で、前回の時刻補正量が残っていなければ、S290に移行して、S260にて今回算出した時刻ずれ量を時計4の補正用レジスタに書き込む。
If the previous time correction amount remains in the correction register of the
なお、時計4には、図9に示す時刻補正動作手順に従い、自身の計時時刻(換言すればカウント値)を補正する補正回路が設けられている。
The
そして、この補正回路は、通信装置2の起動に伴い内部回路を初期設定(S310)した後、補正用レジスタが「0」であるか否かを判断することにより、補正用レジスタに時刻補正量(つまり時刻ずれ量)が書き込まれるのを待ち(S320)、補正用レジスタに時刻ずれ量が書き込まれると、その書き込まれた時刻ずれ量にて、自身の計時時刻(換言すればカウント値)を補正し(S330)、補正用レジスタを「0」に初期設定して、再度S310の待機動作に移行する、といった手順で、計時4の時刻を、定期送信情報を送信してきた通信装置側の時計と同期させる。
Then, the correction circuit initializes the internal circuit with the activation of the communication device 2 (S310), and then determines whether or not the correction register is “0”, whereby the time correction amount is stored in the correction register. (I.e., the time lag amount) is written (S320), and when the time lag amount is written in the correction register, the time keeping time (in other words, the count value) is calculated based on the written time lag amount. The time of the
従って、マイクロコンピュータが、S290にて、時計4の補正用レジスタに時刻ずれ量を書き込むと、時計4が、その時刻ずれ量に応じて時刻を自動補正することになる。
Accordingly, when the microcomputer writes the time lag amount in the correction register of the
そして、マイクロコンピュータは、S290にて、時計4の補正用レジスタに時刻ずれ量を書き込んだ後は、S300に移行して、S260、S290の処理にて、今回、時計4の時刻同期に用いた定期送信情報に基づき、定期送信期間テーブル20に登録された定期送信情報を更新し、その後、当該処理を一旦終了して、再度S210に移行する。
Then, after writing the time lag amount in the correction register of the
なお、S300による定期送信情報の更新は、定期送信情報の転送回数Cを書き換えることにより実行される。 Note that the update of the regular transmission information in S300 is executed by rewriting the number of times C of transmission of the regular transmission information.
また、S280にて、補正用レジスタに前回の時刻補正量が残っている場合(換言すれば補正用レジスタが「0」でない場合)に、今回算出した時刻ずれ量を補正用レジスタに書き込むことなく、当該処理を一旦終了するのは、図13に示すように、ソフトウェア処理にて、時計4の補正用レジスタに時刻ずれ量を書き込んでから、時計4側の時刻補正処理にて、その書き込んだ時刻ずれ量に応じて時刻補正がなされるまでには時間がかかり、その間に算出した時刻ずれ量を補正用レジスタに書き込むと、その時刻ずれ量にて再度時計4の時刻が補正されて、新たな時刻ずれを発生させてしまう虞があるためである。
In S280, when the previous time correction amount remains in the correction register (in other words, when the correction register is not “0”), the time shift amount calculated this time is not written to the correction register. The process is temporarily terminated, as shown in FIG. 13, by writing the time lag amount in the correction register of the
つまり、本実施形態では、S260にて時刻ずれ量を算出した際、補正用レジスタに前回の時刻ずれ量が残っていて、その時刻ずれ量に基づく時刻補正が完了していないときには、今回算出した時刻ずれ量を破棄することで、時計4の時刻補正が不必要に実行されて、時刻ずれを発生させてしまうのを防止している。
That is, in the present embodiment, when the time lag amount is calculated in S260, if the previous time lag amount remains in the correction register and the time correction based on the time lag amount is not completed, the time lag amount is calculated this time. By discarding the time lag amount, it is possible to prevent the time lag of the
(非同期設定処理)
次に、図10は、車両が定期送信を行う通信装置2Aから離れて、その通信装置2Aの定期送信期間にランダム送信を実行できるようになったときに、その通信装置2Aの定期送信情報を、ランダム送信禁止期間の設定に用いない非同期情報として書き換えるために実行される、非同期設定処理を表すフローチャートである。
(Asynchronous setting process)
Next, FIG. 10 shows the periodical transmission information of the
図10に示すように、この非同期設定処理は、定期送信の一周期毎に実行される処理であり、この処理が開始されると、まずS410にて、定期送信期間テーブル20に登録された定期送信情報のうち、定期送信の一周期内に受信できなかった定期送信情報はあるか否かを判断する。 As shown in FIG. 10, this asynchronous setting process is a process executed for each period of periodic transmission. When this process is started, first, the periodic registration registered in the periodic transmission period table 20 in S410. It is determined whether there is periodic transmission information that could not be received within one period of the periodic transmission among the transmission information.
そして、定期送信の一周期内に受信できなかった定期送信情報があれば、S420にて、その定期送信情報の転送回数Cを読み込み、続くS430にて、その読み込んだ定期送信情報の転送回数Cが、予め設定されたしきい値Cmaxよりも小さいか否かを判断する。 If there is periodic transmission information that could not be received within one period of periodic transmission, the number of transfers C of the periodic transmission information is read in S420, and the number of transfers C of the read periodic transmission information is read in S430. Is smaller than a preset threshold value Cmax.
そして、転送回数Cがしきい値Cmaxよりも小さい場合には、S440に移行して、定期送信情報の転送回数Cを更新(+1)し、S450に移行する。 If the transfer count C is smaller than the threshold value Cmax, the process proceeds to S440, where the transfer count C of the periodic transmission information is updated (+1), and the process proceeds to S450.
S450では、S440にて更新(+1)した転送回数Cは、しきい値Cmaxに達したか否かを判断し、転送回数Cがしきい値Cmaxに達していれば、S460にて、ソフトウェアタイマを起動してその後の経過時間の計時を開始し、当該非同期設定処理を一旦終了する。また、転送回数Cがしきい値Cmaxに達していなければ、そのまま当該非同期設定処理を一旦終了する。 In S450, it is determined whether or not the transfer count C updated (+1) in S440 has reached the threshold value Cmax. If the transfer count C has reached the threshold value Cmax, the software timer is determined in S460. Is started, the elapsed time thereafter is started, and the asynchronous setting process is temporarily terminated. If the transfer count C does not reach the threshold value Cmax, the asynchronous setting process is temporarily terminated.
なお、S460にてソフトウェアタイマを起動することにより開始される経過時間の計時は、定期送信期間テーブル20に登録された定期送信情報の中で、転送回数Cがしきい値Cmaxに達している定期送信情報毎に行われ、その定期送信情報の転送回数Cがしきい値Cmaxよりも小さい値に更新されると、経過時間の計時は終了する。 It should be noted that the elapsed time started by starting the software timer in S460 is a period in which the transfer count C reaches the threshold value Cmax in the periodical transmission information registered in the periodical transmission period table 20. This is performed for each transmission information, and when the number of times C of transmission of the periodic transmission information is updated to a value smaller than the threshold value Cmax, the elapsed time measurement ends.
また、S420〜S460の処理、及び、次に説明するS470及びS480の処理も、登録済みで定期送信の一周期内に受信できなかった定期送信情報が複数存在する場合には、その複数の定期送信情報毎に実行される。 Also, when there are a plurality of periodic transmission information that has been registered and could not be received within one period of the periodic transmission, the processes of S420 to S460 and the processes of S470 and S480 described below are also performed. It is executed for each transmission information.
次に、S430にて、定期送信情報の転送回数Cがしきい値Cmax以上であると判断された場合には、S470に移行して、上述のS460で計時を開始した経過時間が、予め設定された非同期判定時間Tout以上になったか否かを判断する。 Next, in S430, when it is determined that the number of times C of periodic transmission information is transferred is greater than or equal to the threshold value Cmax, the process proceeds to S470, and the elapsed time when the time measurement is started in S460 described above is set in advance. It is determined whether or not the asynchronous determination time Tout is exceeded.
そして、経過時間が非同期判定時間Tout以上でなければ、当該非同期設定処理を一旦終了し、逆に、経過時間が非同期判定時間Tout以上であれば、S480に移行して、転送回数Cがしきい値Cmaxに達してからの経過時間が非同期判定時間Tout以上になった定期送信情報の転送回数を、非同期情報を表す規定値(しきい値Cmaxよりも大きい固定値:例えば値15)に設定することで、その定期送信情報を非同期情報として書き換え、当該非同期設定処理を一旦終了する。 If the elapsed time is not equal to or longer than the asynchronous determination time Tout, the asynchronous setting process is temporarily terminated. Conversely, if the elapsed time is equal to or longer than the asynchronous determination time Tout, the process proceeds to S480 and the transfer count C is set to the threshold. The number of transfers of the periodic transmission information whose elapsed time after reaching the value Cmax is equal to or greater than the asynchronous determination time Tout is set to a specified value (fixed value greater than the threshold Cmax: for example, value 15) representing the asynchronous information. Thus, the periodic transmission information is rewritten as asynchronous information, and the asynchronous setting process is temporarily ended.
なお、定期送信期間テーブル20内で非同期情報として書き換えられた定期送信情報は、転送或いはランダム送信禁止期間の設定には用いられず、過去の履歴として定期送信期間テーブル20に保存される。 The periodical transmission information rewritten as asynchronous information in the periodical transmission period table 20 is not used for setting a transfer or random transmission prohibition period, but is stored in the periodical transmission period table 20 as a past history.
このように、非同期設定処理では、図14に例示するように、ランダム送信を行う通信装置2Bにおいて、定期送信期間テーブル20に記憶されている定期送信情報を受信できない場合には、その転送回数Cを定期送信の一周期毎にカウントアップして行き、転送回数Cが、定期送信情報の転送を中止するしきい値Cmaxに達し、その後、非同期判定時間Toutが経過すると、自車両が、その定期送信情報に対応した通信装置2Aから離れ、その通信装置2Aの定期送信期間にランダム送信しても問題ないものと判断して、定期送信情報を非同期情報に書き換える。
As described above, in the asynchronous setting process, as illustrated in FIG. 14, in the
従って、定期送信期間テーブル20に定期送信を行う多数の通信装置2Aからの定期送信情報が登録されていても、ランダム送信を行う通信装置2B、2C、・・・側では、自身のランダム送信により他の通信装置2Aの定期送信に影響を与える定期送信期間に対してのみ、ランダム送信禁止期間を設定できることになり、ランダム送信期間が必要以上に制限されるのを防止できる。
Therefore, even if the periodic transmission information from a large number of
つまり、例えば、通信装置2Bの定期送信期間テーブル20には、自動車の移動に伴い、その走行経路周囲に設けられた多数の通信装置2Aからの定期送信情報が登録されることになるが、その内、転送回数Cがしきい値Cmaxに達し、非同期判定時間Toutが経過しても受信できない定期送信情報については、非同期情報として、制御に用いる定期送信情報から外されることから、図15に例示するように、通信装置2Bの定期送信期間テーブル20には、制御に用いる定期送信情報として、送信電波が相互に干渉する虞のある通信装置2A1、2A2、2A3の定期送信情報だけが残ることになり、その定期送信情報に基づきランダム送信禁止期間を設定して、自身のランダム送信期間を確保しつつ、定期送信に影響を与えるのを防止することが可能となる。
That is, for example, in the periodic transmission period table 20 of the
(実施形態の効果)
以上説明したように、本実施形態の無線通信システムにおいては、定期送信機能を有する通信装置2Aが、定期送信期間を表す定期送信情報を送信し、ランダム送信機能を有する通信装置2B、2C、・・・が、その定期送信情報に基づき、ランダム送信禁止期間を設定する。
(Effect of embodiment)
As described above, in the wireless communication system according to the present embodiment, the
また、定期送信情報には、送信時刻が付与されており、定期送信情報を受信した通信装置2B、2C、・・・は、この送信時刻と自身の受信時刻とから、各装置間の時計4の時刻ずれ量を算出して、時計4の時刻を補正する。
In addition, the transmission time is given to the periodic transmission information, and the
このため、本実施形態の無線通信システムによれば、通信装置2Aの定期送信期間中に、通信装置2B、2C、・・・が、ランダム送信を開始するのを防止し、通信装置2Aによる重要データの定期送信を優先的に実行させることができる。
Therefore, according to the wireless communication system of the present embodiment, the
また、通信装置2B、2C、・・・にて設定されるランダム送信禁止期間と、定期送信期間との間には、ガードタイムが設けられるため、各通信装置2A、2B、2C、・・・間で、時計4の時刻を高精度に一致させる必要がなく、時刻ずれが許容誤差範囲内にあれば、通信装置2Aでの定期送信期間と通信装置2B、2C、・・・でのランダム送信禁止期間とを同期させて、定期送信による送信データとランダム送信による送信データとが衝突するのを防止することができる。
Further, since a guard time is provided between the random transmission prohibition period set by the
また、ランダム送信機能を有する通信装置2B、2C、・・・は、転送回数Cを更新しつつ、受信した定期送信情報を再送信することから、通信装置2Aからの定期送信情報を、伝達範囲を不必要に広げることなく、通信装置2Aからの送信電波が届かない他の通信装置に伝達することができ、定期送信された送信データとランダム送信された送信データが衝突する確率をより低くすることができる。
Further, since the
ここで、本実施形態においては、通信装置2Aが本発明の第1通信装置に相当し、通信装置2B、2Cが本発明の第2通信装置に相当する。また、通信装置2において、データ送信部12は、本発明のデータ送信手段に相当し、変調処理部14は、本発明の変調処理手段に相当し、復調処理部16は、本発明の変調処理手段に相当し、データ受信部18は、本発明のデータ受信手段及び送信時刻付与手段に相当し、定期送信期間テーブル20は、本発明の記憶手段に相当し、送信時間判定部24は、送信時間設定手段に相当する。
Here, in the present embodiment, the
また同様に、定期送信期間決定部30は、本発明の定期送信許可手段に相当し、ランダム送信禁止期間決定部40は、本発明のランダム送信禁止期間設定手段及びランダム送信禁止手段に相当し、定期送信期間更新部50は、本発明の定期送信情報送信制御手段、定期送信情報登録手段、及び転送制御手段に相当し、タイマリセット部6は、本発明の第1計時制御手段及び第2計時制御手段に相当し、時刻差分計算部52及び時刻補正判断部54は、本発明の同期制御手段に相当し、このうち時刻補正判断部54は、本発明の時刻補正手段に相当する。
Similarly, the periodic transmission
以上本発明の一実施形態について説明したが、本発明は、上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内にて種々の態様をとることができる。 Although one embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment, and can take various forms without departing from the gist of the present invention.
[変形例1]
例えば、上記実施形態では、定期送信期間とランダム送信期間との間にガードタイムG、A、Bを設けるために、通信装置2Aが送信する定期送信情報には、本来の定期送信期間に、ガードタイムGと、通信装置2Aが送信する送信データの送信時間に対応したガードタイムAを付与したものを設定し、通信装置2B、2C、・・・側では、定期送信情報から得られる定期送信期間に、自らが送信する送信データの送信時間に対応したガードタイムBを付与することで、ランダム送信禁止期間を設定するものとして説明した。
[Modification 1]
For example, in the above embodiment, since the guard times G, A, and B are provided between the regular transmission period and the random transmission period, the regular transmission information transmitted by the
しかし、定期送信期間とランダム送信期間との間にガードタイムG、A、Bを設けるためには、必ずしもこのようにする必要はなく、定期送信情報には、通信装置2Aに割り当てられた定期送信期間をそのまま設定し、定期送信情報を受信してランダム送信禁止期間を設定する通信装置2B、2C、・・・側で、定期送信情報から得られる定期送信期間に、ガードタイムG、A、Bを加えることで、ランダム送信禁止期間を決定するようにしてもよい。
However, in order to provide the guard times G, A, and B between the regular transmission period and the random transmission period, it is not always necessary to do this, and the regular transmission information assigned to the
そして、この場合、通信装置2B、2C、・・・には、図16に示すように、定期送信を行う通信装置2Aから送信された送信データのデータ長(受信データ長情報)と、そのデータを復調処理部16で復調する際の復調方式とに基づき、受信時間(ガードタイムA)を設定する受信時間判定部26(本発明の受信時間設定手段に相当)を設け、この受信時間判定部26にて設定された受信時間情報(ガードタイムA)と、送信時間判定部24にて設定された送信時間情報(ガードタイムB)と、ガードタイム決定部22にて決定されたガードタイム情報(ガードタイムG)を、ランダム送信禁止期間決定部40に入力するようにすればよい。
In this case, the
つまり、通信装置2B、2C、・・・をこのように構成すれば、ランダム送信禁止期間決定部40では、定期送信情報から得られる定期送信期間にガードタイムG、A、Bを加えることで、ランダム送信禁止期間を決定することができるようになる。
That is, if the
また、この場合、通信装置2A側では、定期送信期間決定部30が、定期送信期間テーブル20に記憶された定期送信情報から得られる定期送信期間をそのままデータ送信部12に出力すればよいことから、定期送信期間決定部30の構成を簡単にすることができる。
In this case, on the
なお、このように、通信装置2B、2C、・・・において、定期送信期間にガードタイムG、A、Bを加えるようにした場合、最終的に得られるランダム送信禁止期間は、図17(a)に示すようにガードタイムB側でも、図17(b)に示すようにガードタイムA側でも、定期送信一周期の区切りを跨ぐことが考えられる。
As described above, in the
しかし、このようにランダム送信禁止期間が定期送信の一周期の区切りを跨ぐ場合には、上記実施形態と同様、ランダム送信禁止期間を、その区切りに沿って2つに分離して、各送信禁止期間1、2を、それぞれ、ランダム送信禁止期間としてデータ送信部12に指令するようにすれば、ランダム送信の禁止期間を制御するための回路構成を簡単にすることができる。
However, when the random transmission prohibition period crosses the period of one periodical transmission as described above, the random transmission prohibition period is divided into two along the period and each transmission prohibition is performed as in the above embodiment. If the
[変形例2]
また、定期送信期間とランダム送信期間との間にガードタイムA、Bを設けるには、必ずしも上記実施形態や変形例1のようにする必要はなく、通信装置2Aから、定期送信期間にガードタイムA、Bを加えた定期送信情報を送信して、通信装置2B、2C、・・・側では、その定期送信情報から得られる定期送信期間を用いてランダム送信禁止期間を設定するようにしてもよく、或いは、通信装置2Aから、定期送信期間にガードタイムBを加えた定期送信情報を送信して、通信装置2B、2C、・・・側では、その定期送信情報から得られる定期送信期間にガードタイムAを加えることでランダム送信禁止期間を設定するようにしてもよい。
[Modification 2]
In addition, in order to provide the guard times A and B between the regular transmission period and the random transmission period, it is not always necessary to perform the guard time A and B as in the above-described embodiment and modification example 1. The periodic transmission information including A and B is transmitted, and the
そして、特に前者のように構成する場合、ガードタイムGも、定期送信情報の定期送信期間に加えるようにすれば、通信装置2B、2C、・・・側では、その定期送信情報から得られる定期送信期間をそのままランダム送信禁止期間として設定できることになり、ランダム送信禁止期間決定部40の構成を簡単にすることができる。
If the guard time G is added to the periodical transmission period of the periodical transmission information, especially in the case of the former configuration, the
但し、この場合、定期送信期間決定部30は、定期送信情報から得られる定期送信期間から、ガードタイムG、A、Bを減じることで、データ送信部12に出力する定期送信期間情報を設定するよう構成する必要はある。
However, in this case, the regular transmission
[変形例3]
一方、上記実施形態では、通信装置2Aの定期送信期間と、通信装置2B、2C、・・・のランダム送信禁止期間との同期を取るために、各通信装置に設けられた時計4の時刻を同期させるものとして説明したが、図18に示すように、通信装置2Aが定期送信にて定期送信情報を送信するとき、及び、通信装置2Bがランダム送信にて定期送信情報を再送信するときには、その送信時刻ではなく、送信時刻から次の定期送信期間の開始タイミングまでの時間を表す同期情報を、定期送信情報に追加するようにし、その定期送信情報を受信した通信装置2B、2C側では、定期送信情報の受信時刻と同期情報とに基づき、次の定期送信の開始時刻を予測し、その予測した開始時刻と定期送信情報とに基づき、通信装置2Aの定期送信期間を認識するようにしてもよい。
[Modification 3]
On the other hand, in the above embodiment, in order to synchronize the periodic transmission period of the
そして、このようにすれば、時計4の時刻同期を行うことなく、通信装置2Aの定期送信期間と、通信装置2B、2C、・・・のランダム送信禁止期間との同期を取り、通信装置2Aの定期送信を優先的に実行させることができるようになる。
Then, without synchronizing the time of the
なお、このような動作は、通信装置2において、マイクロコンピュータが実行する定期送信期間更新部50としてのソフトウェア処理を変更することで簡単に実現できることから、ここでは、詳細な説明は省略する。そしてこの場合、定期送信期間更新部50は、本発明の同期制御手段(詳しくは同期情報付与手段、開始時刻予測手段、第2同期情報付与手段)として機能することになる。
Such an operation can be easily realized in the communication device 2 by changing the software processing as the periodic transmission
[変形例4]
次に、上記実施形態では、図8に示した定期送信情報転送処理において、定期送信情報をデータ送信部12へ出力して、定期送信情報を転送させる際には、定期送信情報は、ランダム送信する送信データにヘッダの一つとして付与するものとして説明したが、定期送信情報を転送させる際には、定期送信を行う通信装置2Aと同様、定期送信情報を単独の送信データとして送信(この場合ランダム送信)するようにしてもよい。
[Modification 4]
Next, in the above embodiment, in the periodic transmission information transfer process shown in FIG. 8, when the periodic transmission information is output to the
[変形例5]
また、上記実施形態では、通信装置2B、2C、・・・は、定期送信情報を受信した際、その定期送信情報の転送回数Cから再送信するか否かを判断して、受信した定期送信情報を再送信するものとして説明したが、例えば、定期送信情報を受信したとき、或いは、定期送信の一周期毎に、定期送信期間テーブル20に記憶されている全ての定期送信情報(非同期情報は除く)を再送信するようにしてもよい。
[Modification 5]
Moreover, in the said embodiment, when
またこの場合、再送信する定期送信情報を、定期送信期間テーブル20に記憶された定期送信情報の中で、転送回数Cがしきい値Cmaxよりも小さい定期送信情報に制限するようにしてもよい。 In this case, the periodic transmission information to be retransmitted may be limited to the periodic transmission information in which the transfer count C is smaller than the threshold value Cmax among the periodic transmission information stored in the periodic transmission period table 20. .
[変形例6]
また次に、上記実施形態では、定期送信情報の伝達範囲を制限するために、定期送信情報に転送回数Cを設け、通信装置2B、2C、・・・は、その転送回数Cがしきい値Cmaxに達するまで、受信した定期送信情報を転送するものとして説明したが、定期送信情報の伝達範囲を制限するには、例えば、定期送信情報を受信した受信時刻と、前回、装置IDが同じ定期送信情報を受信したときの受信時刻との時間差から、定期送信情報を前回受信してからの経過時間を求め、その時間がしきい値よりも長い場合には、定期送信情報の再送信(転送)を中止するようにしてもよい。
[Modification 6]
Next, in the above embodiment, in order to limit the transmission range of the periodic transmission information, the number of transfers C is provided in the periodic transmission information, and the
そして、このようにしても、通信装置2B、2C、・・・は、通信装置2Aとの間の距離が長くなった場合に、定期送信情報の転送を中止することになるので、定期送信情報の伝達範囲を制限することができる。
And even if it does in this way, since
[変形例7]
また、上記実施形態では、図9に示した定期送信情報更新・時刻同期処理のS260において、定期送信情報の送信時刻と受信時刻との時刻差から時計4の同期ずれ量を算出する際には、送信側の変調処理部14で生じる変調処理遅延、電波伝播経路で生じる伝搬遅延、及び、受信側の復調処理部16で生じる復調処理遅延、に基づき予め設定されたオフセット量を用いるものとして説明したが、このオフセット量は、送信時間判定部24にて設定される送信時間(つまり変調処理遅延)と、受信時間判定部26(図16参照)にて設定される受信時間(つまり復調処理遅延)と、予め設定された伝播遅延とに基づき、算出するようにしてもよい。
[Modification 7]
In the above embodiment, when calculating the synchronization deviation amount of the
そして、このようにすれば、オフセット量を変調処理部14及び復調処理部16の動作に対応して設定することができ、定期送信情報の送信時刻と受信時刻とから、同期ずれ量をより正確に算出することができる。
In this way, the offset amount can be set corresponding to the operations of the
[変形例8]
また次に、上記実施形態では、通信装置2Aから通信装置2B、通信装置2Bから通信装置2Cへと、定期送信情報を順次送信する際に、定期送信情報に送信時刻を付与するようにし、定期送信情報を受信した通信装置側では、定期送信情報と共に送信されてきた送信時刻とその定期送信情報の受信時刻とに基づき時計4の時刻同期を行うものとして説明したが、時刻同期用の送信時刻は、定期送信情報とは異なるタイミングで、時刻情報として送信するようにしてもよい。
[Modification 8]
In the above embodiment, when the periodic transmission information is sequentially transmitted from the
2,2A,2B,2C・・・通信装置、4・・・時計、6・・・タイマリセット部、12・・・データ送信部、14・・・変調処理部、16・・・復調処理部、18・・・データ受信部、20・・・定期送信期間テーブル、22・・・ガードタイム決定部、24・・・送信時間判定部、26・・・受信時間判定部、30・・・定期送信期間決定部、40・・・ランダム送信禁止期間決定部、50・・・定期送信期間更新部、52・・・時刻差分計算部、54・・・時刻補正判断部。 2, 2A, 2B, 2C ... communication device, 4 ... watch, 6 ... timer reset unit, 12 ... data transmission unit, 14 ... modulation processing unit, 16 ... demodulation processing unit , 18 ... Data reception unit, 20 ... Periodic transmission period table, 22 ... Guard time determination unit, 24 ... Transmission time determination unit, 26 ... Reception time determination unit, 30 ... Periodic Transmission period determination unit, 40... Random transmission prohibition period determination unit, 50... Regular transmission period update unit, 52.
Claims (12)
予め決められた定期送信一周期内に割り当てられた期間を利用してデータの定期送信を行う外部の通信装置から、前記通信チャンネルを利用して送信される定期送信期間を表す定期送信情報と送信時刻を含む送信データを受信可能な受信手段と、
前記受信手段より受信した前記送信時刻と受信時刻に基づき自身の時計の時刻を補正することによって時刻同期を行う同期制御手段と、
前記受信手段より受信した前記定期送信情報から得られる定期送信期間の前後に前記時刻同期の誤差に対応したガードタイムを加えて、前記ランダム送信の実行を禁止するランダム送信禁止期間を設定する期間設定手段と
を有することを特徴とする無線通信装置。 When a data transmission request occurs, it is determined whether or not a communication channel is vacant, and a radio communication device that performs random transmission by radio when the communication channel is vacant,
Periodic transmission information and transmission indicating a periodic transmission period transmitted using the communication channel from an external communication device that performs periodic transmission of data using a period allocated within a predetermined periodic transmission period. Receiving means capable of receiving transmission data including time; and
Synchronization control means for performing time synchronization by correcting the time of its own clock based on the transmission time and the reception time received from the reception means;
Period setting for setting a random transmission prohibition period for prohibiting execution of the random transmission by adding a guard time corresponding to the time synchronization error before and after the periodic transmission period obtained from the periodic transmission information received from the receiving means And a wireless communication apparatus.
データの送信要求が発生した際、前記通信チャンネルが空いているか否かを判定して、前記通信チャンネルが空いているときに無線によりランダム送信を行うランダム送信機能を有する第2通信装置であって、前記第1通信装置からの送信データを受信する受信手段と、前記受信手段より受信した送信時刻と受信時刻に基づき自身の時計の時刻を補正することによって時刻同期を行う同期制御手段と、前記受信手段より受信した前記定期送信情報から得られる定期送信期間の前後に前記時刻同期の誤差に対応したガードタイムを加えて、前記ランダム送信の実行を禁止するランダム送信禁止期間を設定する設定手段とを備える第2通信装置と
を有することを特徴とする無線通信システム。 Using a predetermined communication channel, it has a periodic transmission function for performing wireless transmission using a period allocated within a predetermined periodical transmission period, and includes periodic transmission information and a transmission time indicating the periodic transmission period. A first communication device that performs periodic transmission of transmission data including;
A second communication device having a random transmission function for determining whether or not the communication channel is free when a data transmission request is generated and performing random transmission by radio when the communication channel is free. Receiving means for receiving transmission data from the first communication device; synchronization control means for performing time synchronization by correcting the time of its own clock based on the transmission time and the reception time received from the receiving means; Setting means for setting a random transmission prohibition period for prohibiting execution of the random transmission by adding a guard time corresponding to the time synchronization error before and after the periodic transmission period obtained from the periodic transmission information received from the reception means; A wireless communication system, comprising: a second communication device comprising:
前記期間設定手段は、前記ランダム送信禁止期間を設定する際に、前記定期送信期間の直前に前記第1時間設定手段にて設定された前記第1時間を加えることを特徴とする請求項3に記載の無線通信装置。 A first time setting means for setting the first time;
The time period setting means adds the first time set by the first time setting means immediately before the regular transmission period when setting the random transmission prohibition period. The wireless communication device described.
前記期間設定手段は、前記ランダム送信禁止期間を設定する際に、前記定期送信期間の直後に前記第2時間設定手段にて設定された前記第2時間を加えることを特徴とする請求項4に記載の無線通信装置。 A second time setting means for setting the second time;
5. The period setting unit, when setting the random transmission prohibition period, adds the second time set by the second time setting unit immediately after the regular transmission period. The wireless communication device described.
前記定期送信期間に前記ガードタイムと前記第1時間を付加することにより導出される一つのランダム送信禁止期間が前記定期送信一周期の区切りを跨るときには、当該ランダム送信禁止期間を、前記定期送信一周期の区切りで分割した2つのランダム送信禁止期間として設定すること
を特徴とする請求項3または5に記載の無線通信装置。 The random transmission prohibition period is configured to be set as a specific period within one cycle in which the external communication device performs periodic transmission.
When one random transmission prohibition period derived by adding the guard time and the first time to the periodic transmission period crosses the periodical periodic transmission period, the random transmission prohibition period is set as the periodic transmission prohibition period. The wireless communication apparatus according to claim 3, wherein the wireless communication apparatus is set as two random transmission prohibition periods divided at a period break.
前記第1通信装置は、前記定期送信期間を設定する際に、前記定期送信期間から前記第1時間設定手段にて設定された時間を減じることで、前記送信データの出力を許可する定期送信期間を決定することを特徴とする請求項2、8、9の何れか一つに記載の無線通信システム。 The first communication device includes first time setting means for setting a time corresponding to a transmission time for one packet of transmission data by the random transmission executed by the second communication device,
The first communication device , when setting the regular transmission period, subtracts the time set by the first time setting means from the regular transmission period, thereby permitting output of the transmission data. The wireless communication system according to claim 2, wherein the wireless communication system is determined.
前記第1通信装置は、前記定期送信期間から前記第2時間設定手段にて設定された時間を減じることで、前記送信データの出力を許可する定期送信期間を決定することを特徴とする請求項2、8乃至10の何れか一つに記載の無線通信システム。 The first communication device includes a second time setting unit that sets a time corresponding to a transmission time for one packet of transmission data by its regular transmission in addition to the regular transmission period ,
The said 1st communication apparatus determines the regular transmission period which permits the output of the said transmission data by subtracting the time set in the said 2nd time setting means from the said regular transmission period. The wireless communication system according to any one of 2, 8 to 10.
前記定期送信期間に前記ガードタイムと前記第1時間を付加することにより導出される一つのランダム送信禁止期間が前記定期送信一周期の区切りを跨るときには、当該ランダム送信禁止期間を、前記定期送信一周期の区切りで分割した2つのランダム送信禁止期間として設定すること
を特徴とする請求項8または10に記載の無線通信システム。 The random transmission prohibition period is configured to be set as a specific period within one cycle in which the first communication device performs periodic transmission.
When one random transmission prohibition period derived by adding the guard time and the first time to the periodic transmission period crosses the periodical periodic transmission period, the random transmission prohibition period is set as the periodic transmission prohibition period. 11. The wireless communication system according to claim 8, wherein the wireless communication system is set as two random transmission prohibition periods divided at intervals of periods.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011145082A JP5206843B2 (en) | 2011-06-30 | 2011-06-30 | Wireless communication apparatus and wireless communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011145082A JP5206843B2 (en) | 2011-06-30 | 2011-06-30 | Wireless communication apparatus and wireless communication system |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008181709A Division JP5206184B2 (en) | 2008-07-11 | 2008-07-11 | Wireless communication system and communication apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011205697A JP2011205697A (en) | 2011-10-13 |
| JP5206843B2 true JP5206843B2 (en) | 2013-06-12 |
Family
ID=44881738
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011145082A Active JP5206843B2 (en) | 2011-06-30 | 2011-06-30 | Wireless communication apparatus and wireless communication system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5206843B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5668732B2 (en) * | 2012-09-14 | 2015-02-12 | 株式会社デンソー | Wireless communication system |
| JP7652281B2 (en) * | 2021-10-21 | 2025-03-27 | 日本電信電話株式会社 | CONTROL SYSTEM, CONTROL METHOD, CONTROLLER, AND PROGRAM |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4315546B2 (en) * | 1999-10-26 | 2009-08-19 | 富士通テン株式会社 | Base station radio apparatus, mobile station radio apparatus, and mobile radio system |
| JP4309850B2 (en) * | 2003-01-27 | 2009-08-05 | 株式会社日立製作所 | Video transmission system and video display device |
| JP2004297517A (en) * | 2003-03-27 | 2004-10-21 | Mitsubishi Electric Corp | Data communication apparatus, data communication method, and data communication system |
| JP4533163B2 (en) * | 2005-01-26 | 2010-09-01 | 三菱電機株式会社 | master station |
-
2011
- 2011-06-30 JP JP2011145082A patent/JP5206843B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011205697A (en) | 2011-10-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5206184B2 (en) | Wireless communication system and communication apparatus | |
| US8027249B2 (en) | Methods for using a detector to monitor and detect channel occupancy | |
| EP2375834A2 (en) | Maintaining time of day synchronization | |
| TW201424282A (en) | Wireless communication system, and wireless remote unit and wireless base unit used in same | |
| JP2019047163A (en) | In-vehicle relay device, information processing system, relay device, information processing device, information processing method, and program | |
| CN115278853B (en) | Method and apparatus for performing timing advance adjustment between UE and non-terrestrial network | |
| US10873591B2 (en) | Device and method for detecting attack in network | |
| US20140269604A1 (en) | Inter-vehicle communication system and inter-vehicle communication device | |
| JP2008199289A (en) | Method and device for radio communication | |
| JP5413381B2 (en) | Wireless communication system | |
| JP5206843B2 (en) | Wireless communication apparatus and wireless communication system | |
| JP6384318B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE SYNCHRONIZATION METHOD, COMMUNICATION PROGRAM, AND COMMUNICATION SYSTEM | |
| JP5141801B2 (en) | Wireless communication apparatus and wireless communication system | |
| JP5141798B2 (en) | Wireless communication apparatus and wireless communication system | |
| JP5141799B2 (en) | Wireless communication apparatus and wireless communication system | |
| JP5141800B2 (en) | Wireless communication apparatus and wireless communication system | |
| JP4156477B2 (en) | Communication terminal | |
| JP2010057128A (en) | Communication system and communication method | |
| JP5327204B2 (en) | Wireless communication apparatus and wireless communication system | |
| JP5445396B2 (en) | Wireless communication apparatus and wireless communication system | |
| US11659509B2 (en) | Multi-hop relay system, communication method, and communication apparatus | |
| US9071331B2 (en) | Communication apparatus, communication method, and storage medium | |
| JP2004234098A (en) | Time synchronizing system | |
| JP2018157340A (en) | Wireless communication apparatus, program, and method | |
| JP5522092B2 (en) | Wireless communication apparatus and wireless communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110630 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121023 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121220 |
|
| 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: 20130122 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130204 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160301 Year of fee payment: 3 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5206843 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160301 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |