JP2005117309A - Wireless communication system - Google Patents

Wireless communication system Download PDF

Info

Publication number
JP2005117309A
JP2005117309A JP2003348202A JP2003348202A JP2005117309A JP 2005117309 A JP2005117309 A JP 2005117309A JP 2003348202 A JP2003348202 A JP 2003348202A JP 2003348202 A JP2003348202 A JP 2003348202A JP 2005117309 A JP2005117309 A JP 2005117309A
Authority
JP
Japan
Prior art keywords
wireless communication
frequency
identification code
radio wave
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003348202A
Other languages
Japanese (ja)
Inventor
Masafumi Nakagawa
雅文 中川
Yoshio Horiike
良雄 堀池
Yoshishige Yoshikawa
嘉茂 吉川
Akiko Furui
晶子 古井
Toshihiko Yasui
利彦 安井
Masahiro Yamamoto
雅弘 山本
Yasuhiro Ban
泰浩 伴
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003348202A priority Critical patent/JP2005117309A/en
Publication of JP2005117309A publication Critical patent/JP2005117309A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a wireless communication system in which an external device such as a setter is unnecessary and a wireless communication device itself autonomously changes a frequency into the frequency suitable to wireless communication. <P>SOLUTION: The wireless communication system is equipped with a wireless communication means 1, a frequency storage means 6, a radio wave inquiring means 7, a frequency determining means 8, and a control means 3, which generates a radio wave state inquiry message by a radio wave state inquiring means 7 and transmits it by using the wireless communication means 1. Then the frequency determining means 8 is used to determine a frequency to be used for communication according to the number of answer messages to the radio wave state inquiry message, and the determined frequency is stored in the frequency storage means 6. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、電波を用いてデータ通信を行う無線通信システムであって、特に家庭においてホームネットワークを構成するための無線通信システムに関するものである。   The present invention relates to a wireless communication system that performs data communication using radio waves, and more particularly to a wireless communication system for configuring a home network at home.

従来、この種の無線通信システムは以下に記載されているようなものがあった(例えば、特許文献1参照)。   Conventionally, this type of wireless communication system has been described below (for example, see Patent Document 1).

図8は、特許文献1に記載された従来の無線通信システムを示すものである。図8に示すように、他の無線通信装置と無線通信を行う無線通信手段1と、外部からの信号の入力を検知する外部機器接続手段2と、外部機器接続手段2からの信号を受信して無線通信手段1で用いる周波数を変更する制御手段3、外部機器接続手段2と通信を行う設定器等の外部機器4とから構成されている。   FIG. 8 shows a conventional wireless communication system described in Patent Document 1. In FIG. As shown in FIG. 8, the wireless communication means 1 for performing wireless communication with other wireless communication devices, the external device connection means 2 for detecting the input of an external signal, and the signal from the external device connection means 2 are received. The control unit 3 changes the frequency used in the wireless communication unit 1 and the external device 4 such as a setting device that communicates with the external device connection unit 2.

制御手段2は、無線通信手段1の制御を行い、固定された周波数で無線通信を行っている。前記の固定された周波数を変更したい場合、外部機器接続手段2に設定器等の外部機器4を接続する。そして、外部機器4から外部機器接続手段2を介して制御手段3に対して、変更する周波数情報を送信する。制御手段3は、前記周波数情報に基づき、無線通信手段1を用いて無線通信を行う際の周波数を変更する。
特開2001−126178号公報
The control unit 2 controls the wireless communication unit 1 and performs wireless communication at a fixed frequency. When it is desired to change the fixed frequency, an external device 4 such as a setting device is connected to the external device connection means 2. Then, the frequency information to be changed is transmitted from the external device 4 to the control unit 3 via the external device connection unit 2. Based on the frequency information, the control unit 3 changes the frequency when performing wireless communication using the wireless communication unit 1.
JP 2001-126178 A

しかしながら、前記従来の構成では、制御手段は、外部機器接続手段に接続された外部機器からの周波数情報を受信した時のみ周波数を変更するので、周波数を変更するためには設定器等の外部機器が必要となる。また、周波数を変更する必要があるか否か、あるいは、どの周波数に変更するのが最適化などの判断ができないという課題を有していた。   However, in the conventional configuration, the control unit changes the frequency only when frequency information is received from the external device connected to the external device connection unit. Therefore, in order to change the frequency, an external device such as a setting device is used. Is required. In addition, there is a problem that whether or not it is necessary to change the frequency, or which frequency to change cannot be determined for optimization.

本発明は、前記従来の課題を解決するもので、設定器等の外部機器を必要とせず、かつ無線通信装置自体が無線通信に最適な周波数に自律的に変更する無線通信システムを提供することを目的とする。   The present invention solves the above-described conventional problems, and provides a wireless communication system that does not require an external device such as a setting device and that the wireless communication device itself autonomously changes to a frequency optimal for wireless communication. With the goal.

前記従来の課題を解決するために、本発明の無線通信システムは、制御手段は、電波状況問い合わせ手段を用いて電波状況問い合わせ電文を生成し、前記電波状況問い合わせ電文を他の無線通信装置に対して、無線通信手段を用いて送信するとしたものである。   In order to solve the conventional problem, in the wireless communication system of the present invention, the control unit generates a radio wave state inquiry message using the radio wave state inquiry unit, and transmits the radio wave state inquiry message to another wireless communication device. Thus, it is assumed that transmission is performed using wireless communication means.

これによって、電波状況問い合わせ電文に対して返信される応答電文数により、自システムと同じ周波数を使用している他の無線通信装置の台数を判別し、前記他の無線通信装置の台数に基づき、周波数決定手段を用いて自システムで使用する周波数を決定する。   Thereby, the number of other wireless communication devices using the same frequency as the own system is determined by the number of response messages returned to the radio wave status inquiry message, and based on the number of the other wireless communication devices, The frequency used in the own system is determined using the frequency determining means.

本発明の無線通信システムは、設定器やハンディーコントローラ等の外部機器を必要とせず、かつ周波数を変更する必要があるか否か、あるいは、どの周波数に変更するのが最適化などの判断を、外部機器を操作する作業員が行う必要がなく、無線通信装置自体が無線通信に最適な周波数に自律的に変更するため、人為的なミスがなく確実に最適な周波数に変更でき、かつ手間のかからない設置性に優れた無線通信システムを提供することができる。   The wireless communication system of the present invention does not require an external device such as a setting device or a handy controller, and whether or not it is necessary to change the frequency, or to determine which frequency to optimize, There is no need for workers to operate external devices, and the wireless communication device itself autonomously changes to the optimal frequency for wireless communication. It is possible to provide a wireless communication system that is excellent in installability.

第1の発明は、制御手段は、電波状況問い合わせ電文を他の無線通信装置に対して、無線通信手段を用いて送信することにより、電波状況問い合わせ電文に対して返信される応答電文数に基づき、周波数決定手段を用いて自システムで使用する周波数を決定することとなり、設定器やハンディーコントローラ等の外部機器を必要とせず、かつ周波数を変更する必要があるか否か、あるいはどの周波数に変更するのが最適化などの判断を、外部機器を操作する作業員が行う必要がなく、無線通信装置自体が無線通信に最適な周波数に自律的に変更するため、人為的なミスがなく確実に最適な周波数に変更でき、かつ手間のかからない設置性に優れた無線通信システムを提供することができる。   In the first invention, the control means transmits the radio wave status inquiry message to another wireless communication device by using the radio communication means, and based on the number of response messages returned to the radio wave status inquiry message. The frequency to be used in the system will be determined using the frequency determination means, and no external device such as a setting device or handy controller is required, and whether or not the frequency needs to be changed, or to which frequency It is not necessary for the operator who operates the external device to make decisions such as optimization, and the wireless communication device itself autonomously changes to the optimal frequency for wireless communication, so there is no human error. It is possible to provide a radio communication system that can be changed to an optimal frequency and has excellent installation properties that do not require much effort.

第2の発明は、特に、第1の発明において、電波状況問い合わせ電文に含まれる送信元機器識別符号としてあらかじめランダムな値である仮機器識別符号を用いることにより、電波状況問い合わせ電文に対する応答電文に含まれる送信先機器識別符号がランダムな値となるため、複数の無線通信装置が同時に設置されることにより、他の無線通信装置が送信する電波状況問い合わせ電文に対する応答電文を誤って受信することが少なくなり、通信の信頼性が向上する。   In the second invention, in particular, in the first invention, by using a temporary device identification code that is a random value in advance as a transmission source device identification code included in the radio wave status inquiry message, a response message to the radio wave status inquiry message is used. Because the destination device identification code included is a random value, multiple wireless communication devices can be installed at the same time, so that a response message to a radio wave status inquiry message transmitted by another wireless communication device may be received in error. This reduces communication reliability.

第3の発明は、特に、第1または2のいずれか1つの発明において、制御手段の制御により乱数を発生させる乱数発生手段を備え、電波状況問い合わせ電文受信後から応答電文を返信するまでの時間は、前記乱数発生手段が発生する乱数に基づき、ランダムな時間で返信されるとすることにより、応答電文同士が衝突する確率が低くなり、通信成功率が向上するため、より正確に他の無線通信装置の台数を取得することができる。   In particular, the third invention is characterized in that, in any one of the first and second inventions, a random number generating means for generating a random number by the control of the control means is provided, and a time from when a radio wave status inquiry message is received until a response message is returned. Is based on the random number generated by the random number generation means, so that the response message will be less likely to collide and the communication success rate will be improved. The number of communication devices can be acquired.

第4の発明は、特に、第1〜3のいずれか1つの発明において、制御手段の制御により乱数を発生させる乱数発生手段を備え、電波状況問い合わせ電文を送信する周波数は、前記乱数発生手段が発生する乱数に基づき、あらかじめ決められた複数の周波数からランダムに選択した周波数を用いるとすることにより、複数の無線通信システムが周波数を変更した場合でも、同じ周波数に変更されることが少なくなるため、無線電文同士が衝突する確率が低くなり、通信成功率が向上するため、無線通信の信頼性が向上する。   In a fourth aspect of the present invention, in particular, in any one of the first to third aspects of the present invention, the random number generation means for generating a random number by the control of the control means is provided, and the frequency for transmitting the radio wave status inquiry message is determined by the random number generation means. By using a randomly selected frequency from a plurality of predetermined frequencies based on the generated random number, even when a plurality of wireless communication systems change the frequency, it is less likely to be changed to the same frequency. Since the probability of collision between wireless telegrams is reduced and the communication success rate is improved, the reliability of wireless communication is improved.

第5の発明は、特に、第3または4のいずれか1つの発明において、乱数発生手段に用いる初期値は、無線システム識別符号、機器識別符号、製造番号、仮機器識別符号の少なくとも一つを用いることにより、各無線通信装置の乱数発生手段で発生する値が同一になることが少なくなるため、応答電文同士が衝突する確率が低くなり、より正確に他の無線通信装置の台数を取得することができる。   In the fifth invention, in particular, in any one of the third or fourth invention, the initial value used for the random number generation means is at least one of a wireless system identification code, a device identification code, a serial number, and a temporary device identification code. By using it, the value generated by the random number generation means of each wireless communication device is less likely to be the same, so the probability that the response telegrams collide is reduced, and the number of other wireless communication devices is acquired more accurately. be able to.

第6の発明は、特に、第1〜5のいずれか1つの発明において、マスターのみが電波状況問い合わせ電文に対して応答電文を返信するとすることにより、無線通信装置の台数に代わり無線通信システムのシステム数を用いて、制御手段が自システムで使用する周波数を決定することとなり、複数の無線通信システムが自システムと同じ周波数を用いて通信を行っている場合、一つの無線通信システムからは一つの応答となるため、通信のトラフィックを低減でき、応答電文同士が衝突する確率が低くなり、通信成功率が向上するため無線通信の信頼性が向上する。かつ電波状況を取得するのに要する時間も短縮されるため、効率よく電波状況を取得することができる。   In a sixth aspect of the invention, in particular, in any one of the first to fifth aspects of the invention, only the master returns a response message to the radio wave status inquiry message. When the number of systems is used, the control means determines the frequency to be used in the own system. When a plurality of wireless communication systems are communicating using the same frequency as the own system, one wireless communication system cannot Therefore, the communication traffic can be reduced, the probability that the response messages collide with each other, and the communication success rate is improved, so that the reliability of wireless communication is improved. In addition, since the time required to acquire the radio wave status is shortened, the radio wave status can be acquired efficiently.

第7の発明は、特に、第6の発明において、電波状況問い合わせ電文に対して返信する応答電文中に、スレーブ台数記憶手段に記憶されているスレーブの台数情報を含めることにより、すべての無線通信装置が応答電文を返信しなくとも、他の無線通信装置の台数を取得できるため、応答電文同士が衝突する確率が低くなり、通信成功率が向上するため、より正確に他の無線通信装置の台数を取得することができる。かつ電波状況を取得するのに要する時間も短縮されるため、効率よく電波状況を取得することができる。   In the seventh invention, in particular, in the sixth invention, by including the number information of slaves stored in the slave number storage means in the response message returned to the radio wave status inquiry message, all wireless communication Since the number of other wireless communication devices can be acquired even if the device does not return a response message, the probability that the response messages will collide with each other is reduced, and the communication success rate is improved. The number can be acquired. In addition, since the time required to acquire the radio wave status is shortened, the radio wave status can be acquired efficiently.

第8の発明は、特に、第1〜7のいずれか1つの発明において、電波状況問い合わせ電文中に含まれる無線システム識別符号には、すべての無線通信装置が受信できる無線システム識別符号を設定するとすることにより、複数の無線通信システムがある場合でも、各無線通信システムに対応した無線システム識別符号をそれぞれ記憶する必要がないため、設置性が優れ、かつ無線システム識別符号を記憶するためのメモリ容量も低減することができる。   In an eighth aspect of the invention, in particular, in any one of the first to seventh aspects of the invention, a wireless system identification code that can be received by all wireless communication devices is set in the wireless system identification code included in the radio wave status inquiry message. Thus, even when there are a plurality of wireless communication systems, there is no need to store wireless system identification codes corresponding to each wireless communication system, so that the installation is excellent and the memory for storing the wireless system identification codes Capacity can also be reduced.

第9の発明は、特に、第1〜8のいずれか1つの発明において、電波状況問い合わせ電文中に前記下位通信ソフトウェアで処理する電文であることを示すフラグを立て、電波状況問い合わせ手段を用いて、前記電波状況問い合わせ電文を送信することにより、受信側では前記電波状況問い合わせ電文を、アプリケーションソフトウェアや通信ミドルウェアに関係なく、下位通信ソフトウェアで処理できるため、伝送メディアが複数ある場合でも、アプリケーションソフトウェアや通信ミドルウェアを変更する必要がないため、汎用性が優れ、かつソフトウェアの開発効率も向上する。   In a ninth aspect of the invention, in particular, in any one of the first to eighth aspects of the invention, a flag indicating that the message is a message processed by the lower-layer communication software is set in the radio wave status inquiry message, and the radio wave status inquiry means is used. By transmitting the radio wave status inquiry message, the reception side can process the radio wave status inquiry message with lower-layer communication software regardless of application software or communication middleware, so even if there are multiple transmission media, Since there is no need to change the communication middleware, the versatility is excellent and the software development efficiency is improved.

第10の発明は、特に、第1〜9のいずれか1つの発明において、無線通信装置の手段の少なくとも一部をコンピュータに実現させるためのプログラムである。そして、プログラムであるのでマイコン等を用いて本発明の無線通信装置の一部あるいは全てを容易に実現することができる。また記録媒体に記録したり通信回線を用いてプログラムを配信したりすることでプログラムの配布やインストール作業が簡単にできる。   The tenth invention is a program for causing a computer to realize at least a part of the means of the wireless communication device in any one of the first to ninth inventions. And since it is a program, a part or all of the radio | wireless communication apparatus of this invention can be easily implement | achieved using a microcomputer etc. Also, program distribution and installation can be simplified by recording on a recording medium or distributing a program using a communication line.

以下、本発明の実施の形態について、図面を参照しながら説明する。なお、この実施の形態によって本発明が限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the present invention is not limited to the embodiments.

(実施の形態1)
図1は、本発明の第1の実施の形態における無線通信システムのシステム図、図2は無線通信システムを構成する無線通信装置のブロック図、図3は通信に使用する周波数を決定する際の通信シーケンス図、図4は無線通信で使用する電文フォーマット図を示すものである。
(Embodiment 1)
FIG. 1 is a system diagram of a wireless communication system according to a first embodiment of the present invention, FIG. 2 is a block diagram of a wireless communication apparatus constituting the wireless communication system, and FIG. 3 is a diagram for determining a frequency used for communication. FIG. 4 is a communication sequence diagram, and FIG. 4 shows a message format diagram used in wireless communication.

図2において、無線通信装置5A〜5Dは、他の無線通信装置と無線で通信を行う無線通信手段1と、無線通信手段1を用いた通信に使用する周波数を記憶する周波数記憶手段6と、他の無線通信装置が使用している周波数を確認するための電波状況問い合わせ電文を生成する電波状況問い合わせ手段7と、自システムで使用する周波数を決定する周波数決定手段8と、外部操作により他の無線通信装置と縁組みを行うために登録モードに移行させるための外部入力手段9と、無線通信システム毎にユニークになるように割り当てられた無線システム識別符号を記憶する無線システム識別符号記憶手段10と、同一の無線システム識別符号を有する無線通信システム内で各無線通信装置を識別するためにユニークに割り当てられた機器識別符号を記憶する機器識別符号記憶手段11と、ユニークではないがあらかじめランダムに設定された仮機器識別符号を記憶する仮機器識別符号記憶手段12と、マスターとして動作するかスレーブとして動作するかの動作モードを記憶する動作モード記憶手段13と、前記各手段を制御する制御手段3とを備える。   In FIG. 2, the wireless communication devices 5 </ b> A to 5 </ b> D include a wireless communication unit 1 that performs wireless communication with other wireless communication devices, a frequency storage unit 6 that stores a frequency used for communication using the wireless communication unit 1, and Radio wave status inquiry means 7 for generating a radio wave status inquiry message for confirming the frequency used by another wireless communication device, frequency determination means 8 for determining the frequency to be used in the own system, and other operation by external operation An external input means 9 for shifting to a registration mode for associating with a wireless communication apparatus; a wireless system identification code storage means 10 for storing a wireless system identification code assigned uniquely for each wireless communication system; A device identification code uniquely assigned to identify each wireless communication device in a wireless communication system having the same wireless system identification code The device identification code storage means 11 for storing the temporary device identification code storage means 12 for storing the temporary device identification code that is not unique but set at random, and the operation mode for operating as a master or a slave. Is provided with an operation mode storage means 13 and a control means 3 for controlling each means.

以上のように構成された無線通信装置から構成される無線通信システムについて、以下その動作、作用を説明する。   The operation and action of the wireless communication system configured as described above will be described below.

図1のように、無線通信システムは、マスターと呼ばれる無線通信装置とスレーブと呼ばれる無線通信装置から構成され、マスターには機器識別符号として01が固定値として設定されている。また、マスターには無線システム識別符号記憶手段10に、製造時にあらかじめユニークな無線システム識別符号が設定されている。スレーブは、登録時にマスターから、マスターが有する無線システム識別符号と、スレーブ毎にユニークとなる機器識別符号と、あらかじめ決められた複数の使用可能な周波数から通常の通信で使用する周波数とを割り当てられる。そして、これらを用いて互いに通信を行う。   As shown in FIG. 1, the wireless communication system includes a wireless communication device called a master and a wireless communication device called a slave, and 01 is set as a device identification code as a fixed value in the master. In addition, a unique wireless system identification code is set in advance in the wireless system identification code storage means 10 at the time of manufacture in the master. At the time of registration, the slave is assigned by the master a radio system identification code that the master has, a device identification code that is unique for each slave, and a frequency that is used in normal communication from a plurality of predetermined frequencies that can be used. . And they communicate with each other using these.

ここでは、既に設置されているマスターである無線通信装置5C(機器識別符号:01)とスレーブである無線通信装置5D(機器識別符号:02)で構成される他の無線通信システム(無線システム識別符号:002)の通信エリア内(使用周波数:A)に、無線通信装置5Aと無線通信装置5Bを設置し、無線通信装置5Aと無線通信装置5B間で使用する周波数を決定する方法について説明する。   Here, another wireless communication system (wireless system identification) composed of a wireless communication device 5C (device identification code: 01) that is already installed and a wireless communication device 5D (device identification code: 02) that is a slave. A method of determining the frequency to be used between the wireless communication device 5A and the wireless communication device 5B by installing the wireless communication device 5A and the wireless communication device 5B in the communication area (reference number: 002) (symbol: 002). .

図1において、無線通信装置5Aにおける動作モード記憶手段13にはあらかじめマスターとして動作するように設定されている。一方、無線通信装置5Bにおける動作モード記憶手段13にはあらかじめスレーブとして動作するように設定されている。そして、無線通信装置5Aにおいて、スイッチなどで構成されている外部入力手段9を操作することにより制御手段3に対して登録モードに移行する信号を出力する。制御手段3は外部入力手段9からの前記信号を受信すると登録モードに移行し(図3のS1)、動作モード記憶手段13に記憶された動作モードからマスターとして動作することを判別し、無線通信手段1を用いて連続受信状態に移行し無線電文を待ち受ける。一方、無線通信装置5Bにおいて、スイッチなどで構成されている外部入力手段9を操作することにより制御手段3に対して登録モードに移行する信号を出力する。制御手段3は外部入力手段9からの前記信号を受信すると登録モードに移行し(S2)、動作モード記憶手段13に記憶された動作モードからスレーブとして動作することを判別し、無線通信手段1を用いて、無線システム識別符号をオール1、送信先機器識別符号はマスターの機器識別符号である01、送信元機器識別符号は仮機器識別符号記憶手段12に記憶された仮機器識別符号である8Bを設定した登録電文1を無線通信装置5Aに対して送信する(S3)。   In FIG. 1, the operation mode storage means 13 in the wireless communication device 5A is set in advance to operate as a master. On the other hand, the operation mode storage means 13 in the wireless communication device 5B is set in advance to operate as a slave. Then, in the wireless communication device 5A, a signal for shifting to the registration mode is output to the control means 3 by operating the external input means 9 constituted by a switch or the like. When the control means 3 receives the signal from the external input means 9, the control means 3 shifts to the registration mode (S1 in FIG. 3), determines that it operates as a master from the operation mode stored in the operation mode storage means 13, and performs wireless communication. The means 1 is used to shift to a continuous reception state and wait for a radio message. On the other hand, in the wireless communication device 5B, a signal for shifting to the registration mode is output to the control means 3 by operating the external input means 9 constituted by a switch or the like. When the control means 3 receives the signal from the external input means 9, it shifts to the registration mode (S 2), determines that it operates as a slave from the operation mode stored in the operation mode storage means 13, and determines the wireless communication means 1. The wireless system identification code is all 1, the transmission destination device identification code is 01 as the master device identification code, the transmission source device identification code is the temporary device identification code 8B stored in the temporary device identification code storage means 12 Is transmitted to the wireless communication device 5A (S3).

例えば、登録電文1の電文フォーマットとしては、図4に示す電文フォーマットを用い、登録電文1を示すために制御コード2の部分にフラグを立てることなどが考えられる。   For example, as the message format of the registered message 1, the message format shown in FIG. 4 may be used, and a flag may be set in the control code 2 portion to indicate the registered message 1.

無線通信装置5Aは、制御手段3の制御により無線通信手段1を用いて、前記登録電文1を受信する(S3)。次に、マスターである無線通信装置5Aにおける制御手段3は、自システムで使用する周波数と同じ周波数を使用している他の無線通信装置の台数を確認するため、電波状況問い合わせ手段7を用いて、電波状況問い合わせ電文を生成し、無線通信手段1を用いて、無線システム識別符号をオール1、送信先機器識別符号を同報指定であるFF、送信元機器識別符号を無線通信装置5Aの機器識別符号である01に設定し、周波数記憶手段6から通常モードでの通信で使用する周波数Aを取得し、この周波数Aで電波状況問い合わせ電文を同報で送信する(S4)。   The wireless communication device 5A receives the registration message 1 using the wireless communication unit 1 under the control of the control unit 3 (S3). Next, the control means 3 in the master wireless communication apparatus 5A uses the radio wave condition inquiry means 7 in order to confirm the number of other wireless communication apparatuses using the same frequency as that used in its own system. Then, a radio wave status inquiry message is generated, the wireless communication means 1 is used, the wireless system identification code is all 1, the transmission destination device identification code is broadcast designation FF, and the transmission source device identification code is the device of the wireless communication device 5A. The identification code is set to 01, the frequency A used in the communication in the normal mode is acquired from the frequency storage means 6, and a radio wave status inquiry message is transmitted by broadcast at this frequency A (S4).

同報で送信された電波状況問い合わせ電文は、無線通信装置5Cおよび無線通信装置5Dにおいて、制御手段3の制御により、無線通信手段1を用いて受信される(無線通信装置5Cと無線通信装置5D間では周波数Aを用いて通信しているため)。そして、無線通信装置5Cおよび無線通信装置5Dにおける制御手段3は、無線通信手段1を用いて、無線システム識別符号をオール1、送信先機器識別符号を電波状況問い合わせ電文における送信元機器識別符号に設定されている01、送信元機器識別符号を無線通信装置5Cの機器識別符号である01および無線通信装置5Dの機器識別符号である02に設定し、応答電文を返信する(S5)。   The radio wave status inquiry message transmitted in the broadcast is received by the wireless communication device 5C and the wireless communication device 5D using the wireless communication device 1 under the control of the control device 3 (the wireless communication device 5C and the wireless communication device 5D). Because communication is performed using frequency A between the two). The control unit 3 in the wireless communication device 5C and the wireless communication device 5D uses the wireless communication unit 1 to set the wireless system identification code to all 1 and the transmission destination device identification code to the transmission source device identification code in the radio wave status inquiry message. The set 01, the transmission source device identification code is set to 01, which is the device identification code of the wireless communication device 5C, and 02, which is the device identification code of the wireless communication device 5D, and a response message is returned (S5).

無線通信装置5Aにおける制御手段3は、無線通信手段1を用いて、無線通信装置5Cおよび無線通信装置5Dから返信される応答電文を受信し、応答電文数(ここでは、2)を周波数決定手段8に記憶する。そして、周波数決定手段8には、あらかじめ閾値として、例えば1が記憶されており、この閾値との比較を行い、閾値<応答電文数が成立するため、自システム(無線通信装置5Aおよび無線通信装置5B間)で使用する周波数を、周波数Aから周波数Bに変更し、周波数記憶手段6に周波数Bを記憶する。   The control means 3 in the wireless communication device 5A receives the response message returned from the wireless communication device 5C and the wireless communication device 5D using the wireless communication means 1, and determines the number of response messages (here, 2) as the frequency determination means. 8 is stored. The frequency determination means 8 stores, for example, 1 as a threshold value in advance, and the comparison is made with this threshold value, and the threshold value <the number of response messages is established, so that the own system (the wireless communication device 5A and the wireless communication device) 5B) is changed from the frequency A to the frequency B, and the frequency B is stored in the frequency storage means 6.

そして、無線通信装置5Aにおける制御手段3は、無線通信手段1を用いて、無線システム識別符号をオール1、送信先機器識別符号を登録電文1の送信元機器識別符号に設定されていた8B、送信元機器識別符号を無線通信装置5Aの機器識別符号である01に設定し、図4における伝送データ部に無線通信装置5Aにおける制御手段3により割り当てた無線通信装置5Bの機器識別符号02、無線システム識別符号記憶手段10に記憶された無線システム識別符号001、周波数記憶手段6に記憶された周波数Bを設定した登録電文2を無線通信装置5Bに対して送信する(S6)。   Then, the control means 3 in the wireless communication device 5A uses the wireless communication means 1, and the wireless system identification code is set to all 1 and the transmission destination device identification code is set to the transmission source device identification code of the registered telegram 1. The transmission source device identification code is set to 01 which is the device identification code of the wireless communication device 5A, and the device identification code 02 of the wireless communication device 5B assigned by the control means 3 in the wireless communication device 5A to the transmission data part in FIG. The registered telegram 2 in which the wireless system identification code 001 stored in the system identification code storage means 10 and the frequency B stored in the frequency storage means 6 are set is transmitted to the wireless communication apparatus 5B (S6).

無線通信装置5Bにおける制御手段3は、登録電文2を受信し、登録電文2の伝送データ部に含まれる機器識別符号02、無線システム識別符号001および周波数Bをそれぞれ機器識別符号記憶手段11、無線システム識別符号記憶手段10および周波数記憶手段6に記憶する。   The control means 3 in the wireless communication device 5B receives the registration message 2, and receives the device identification code 02, the wireless system identification code 001 and the frequency B included in the transmission data part of the registration message 2 as the device identification code storage means 11, The information is stored in the system identification code storage means 10 and the frequency storage means 6.

そして、無線通信手段1を用いて、無線システム識別符号を登録電文2のデータ部にて通知された001、送信先機器識別符号を無線通信装置5Aの機器識別符号である01、送信元機器識別符号を登録電文2のデータ部にて通知された無線通信装置5Bの機器識別符号である02に設定した登録電文3を、無線通信装置5Aに対して送信する(S7)。
そして、無線通信装置5Aおよび無線通信装置5Bにおいて登録モードが解除され(S8,S9)、通常の通信を行う通常モードに移行する。以降は、無線通信装置5Aおよび無線通信装置5B間では、制御手段3の制御により、周波数記憶手段6に記憶された周波数Bを用いて通信を行う。
Then, using the wireless communication means 1, the wireless system identification code 001 notified in the data part of the registered telegram 2, the transmission destination device identification code 01 as the device identification code of the wireless communication device 5A, the transmission source device identification The registration telegram 3 in which the code is set to 02, which is the device identification code of the radio communication device 5B notified in the data part of the registration telegram 2, is transmitted to the radio communication device 5A (S7).
Then, the registration mode is canceled in the wireless communication device 5A and the wireless communication device 5B (S8, S9), and a transition is made to a normal mode in which normal communication is performed. Thereafter, communication is performed between the wireless communication device 5A and the wireless communication device 5B using the frequency B stored in the frequency storage unit 6 under the control of the control unit 3.

以上のように、本実施の形態においては、電波状況問い合わせ電文に対して返信される応答電文数により、自システムと同じ周波数を使用している他の無線通信装置の台数を取得し、前記周波数決定手段8を用いて、前記取得した無線通信装置の台数に基づき、自システムで使用する周波数を決定するため、設定器やハンディーコントローラ等の外部機器を必要とせず、かつ周波数を変更する必要があるか否か、あるいはどの周波数に変更するのが最適化などの判断を、外部機器を操作する作業員が行う必要がなく、無線通信装置自体が無線通信に最適な周波数に自律的に変更するため、人為的なミスがなく確実に最適な周波数に変更でき、しかも手間のかからない設置性に優れた無線通信システムを提供することができる。   As described above, in the present embodiment, the number of other wireless communication devices using the same frequency as the own system is obtained from the number of response messages returned to the radio wave status inquiry message, and the frequency Since the determination unit 8 is used to determine the frequency to be used in the own system based on the number of the acquired wireless communication devices, it is not necessary to use an external device such as a setting device or a handy controller, and it is necessary to change the frequency. It is not necessary for the operator who operates the external device to determine whether or not there is any frequency to optimize, and the wireless communication device itself changes autonomously to the optimal frequency for wireless communication. Therefore, it is possible to provide a radio communication system that can be changed to an optimal frequency without any human error and that is easy to install and has excellent installation properties.

また、本実施の形態では、電波状況問い合わせ電文に含まれる送信元機器識別符号は、無線通信装置5Aの機器識別符号として説明したが、無線通信装置5Aにおける仮機器識別符号記憶手段12に記憶された仮機器識別符号を用いる方法や、登録電文1の送信元機器識別符号に設定されている機器識別符号、つまり無線通信装置5Bの仮機器識別符号を用いる方法も考えられる。   In the present embodiment, the transmission source device identification code included in the radio wave status inquiry message has been described as the device identification code of the wireless communication device 5A, but is stored in the temporary device identification code storage unit 12 in the wireless communication device 5A. A method using a temporary device identification code or a method using a device identification code set as a transmission source device identification code of the registered telegram 1, that is, a temporary device identification code of the wireless communication device 5B is also conceivable.

以上のように、電波状況問い合わせ電文に含まれる送信元機器識別符号として仮機器識別符号を用いることにより、電波状況問い合わせ電文に対する応答電文に含まれる送信先機器識別符号が01と固定にならずランダムな値となるため、複数の無線通信装置が同時に設置されることにより、他の無線通信装置が送信する電波状況問い合わせ電文に対する応答電文を誤って受信することが少なくなり、通信の信頼性が向上する。   As described above, by using the temporary device identification code as the transmission source device identification code included in the radio wave status inquiry message, the transmission destination device identification code included in the response message to the radio wave status inquiry message is not fixed at 01 and is random. Since multiple wireless communication devices are installed at the same time, it is less likely to receive a response message in response to a radio wave status inquiry message transmitted by another wireless communication device, improving communication reliability. To do.

(実施の形態2)
図5は、本発明の第2の実施の形態のブロック図である。実施の形態1と同一符号は、同一機能を有するものとする。実施の形態1と異なる点は、乱数を発生する乱数発生手段14を設けた点である。
(Embodiment 2)
FIG. 5 is a block diagram of the second exemplary embodiment of the present invention. The same reference numerals as those in Embodiment 1 have the same functions. The difference from the first embodiment is that a random number generating means 14 for generating a random number is provided.

以上のように構成された無線通信装置から構成される無線通信システムについて、以下その動作、作用を説明する。   The operation and action of the wireless communication system configured as described above will be described below.

先の実施の形態では、同報で送信された電波状況問い合わせ電文は、無線通信装置5Cおよび無線通信装置5Dにおいて、制御手段3の制御により、無線通信手段1を用いて受信し、この受信した電波状況問い合わせ電文に対して、無線システム識別符号をオール1、送信先機器識別符号を電波状況問い合わせ電文における送信元機器識別符号に設定されている01、送信元機器識別符号を無線通信装置5Cの機器識別符号である01および無線通信装置5Dの機器識別符号である02に設定した応答電文を返信する(S5)として説明したが、本実施の形態では、この際に、制御手段3は、電波状況問い合わせ電文受信後、乱数発生手段14を用いて乱数を発生させ、この発生させた乱数から得られた時間経過後に応答電文を返信する。   In the previous embodiment, the radio wave status inquiry message transmitted by the broadcast is received by the wireless communication device 1 under the control of the control device 3 in the wireless communication device 5C and the wireless communication device 5D. For the radio wave status inquiry message, all wireless system identification codes are set to 01, the transmission destination device identification code is set to 01 as the transmission source device identification code in the radio wave status inquiry message, and the transmission source device identification code is set to the wireless communication device 5C. Although it has been described that the response message set to 01 which is the device identification code and 02 which is the device identification code of the wireless communication device 5D is returned (S5), in the present embodiment, the control means 3 After receiving the situation inquiry message, a random number is generated using the random number generation means 14, and a response message is returned after the time obtained from the generated random number has elapsed.

以上のように、電波状況問い合わせ電文受信後に返信される応答電文は、乱数発生手段14が発生する乱数に基づき、ランダムな時間で返信されるため、応答電文同士が衝突する確率が低くなり、通信成功率が向上するため、より正確に他の無線通信装置の台数を取得することができる。   As described above, since the response message returned after receiving the radio wave status inquiry message is returned at random time based on the random number generated by the random number generation means 14, the probability that the response messages collide with each other is reduced. Since the success rate is improved, the number of other wireless communication devices can be acquired more accurately.

また、先の実施の形態では、無線通信装置5Aにおける制御手段3は、電波状況問い合わせ電文の送信に対して返信される応答電文を受信し、応答電文数(ここでは2)を周波数決定手段8に記憶する。そして、周波数決定手段8には、あらかじめ閾値として、例えば、1が記憶されており、この閾値との比較を行い、閾値<応答電文数が成立するため、自システム(無線通信装置5Aおよび無線通信装置5B間)で使用する周波数を、周波数Aから周波数Bに変更し、周波数記憶手段6に周波数Bを記憶するとして説明したが、本実施の形態では、周波数を変更する際に制御手段3は、乱数発生手段14を用いて乱数を発生させ、この発生させた乱数値に基づき使用する周波数を決定し、周波数記憶手段6に前記周波数を記憶する。例えば、無線通信装置5Aおよび無線通信装置5B間で使用できる周波数がA〜Fまであれば、周波数B〜Fの中からランダムに選択する。   In the previous embodiment, the control means 3 in the wireless communication device 5A receives the response message returned in response to the transmission of the radio wave status inquiry message, and determines the number of response messages (here 2) as the frequency determination means 8. To remember. For example, 1 is stored as a threshold value in advance in the frequency determination means 8, and comparison is made with this threshold value, and the threshold value <the number of response messages is established, so that the own system (the wireless communication device 5A and the wireless communication) It has been described that the frequency used between the devices 5B) is changed from the frequency A to the frequency B and the frequency B is stored in the frequency storage means 6, but in this embodiment, the control means 3 is used when changing the frequency. Then, a random number is generated using the random number generation means 14, a frequency to be used is determined based on the generated random value, and the frequency is stored in the frequency storage means 6. For example, if the frequency that can be used between the wireless communication device 5A and the wireless communication device 5B is A to F, the frequency B to F is selected at random.

以上のように、自システムで使用する周波数をランダムに選択することとなるため、複数の無線通信システムが同時に周波数を変更した場合でも、同じ周波数に変更されることが少なくなるため、無線電文同士が衝突する確率が低くなり、通信成功率が向上するため、無線通信の信頼性が向上する。   As described above, since the frequency to be used in its own system is selected at random, even if multiple wireless communication systems change the frequency at the same time, the frequency is not changed to the same frequency. Since the probability of collisions is reduced and the communication success rate is improved, the reliability of wireless communication is improved.

また、本実施の形態における乱数発生手段14において、乱数を発生させる方法としては、平均採中法や合同法を用いる方法が考えられる。この時に用いる初期値としては、現在の時刻情報、無線通信装置の電源OFFからの起動時間、無線通信装置の内部タイマーのタイマー値、無線通信装置の無線システム識別符号、無線通信装置の機器識別符号、無線通信装置の製造番号または無線通信装置の仮機器識別符号を用いることが考えられる(スレーブである無線通信装置も、動作モード記憶手段13にマスターと設定されると、マスターとして動作するため、あらかじめユニークな無線システム識別符号を記憶しているものとする)。   Further, in the random number generation means 14 in the present embodiment, as a method of generating a random number, a method using an average sampling method or a congruent method can be considered. As initial values used at this time, current time information, start-up time from power-off of the wireless communication device, timer value of the internal timer of the wireless communication device, wireless system identification code of the wireless communication device, device identification code of the wireless communication device It is conceivable to use the serial number of the wireless communication device or the temporary device identification code of the wireless communication device (because the wireless communication device as a slave operates as a master when set as the master in the operation mode storage means 13, It is assumed that a unique wireless system identification code is stored in advance).

以上のように、乱数発生手段14で使用する初期値が無線通信装置毎に異なる値となるため、乱数発生手段14で発生する値が同一になることが少なくなり、応答電文同士が衝突する確率が低くなりより正確に他の無線通信装置の台数を取得することができる。   As described above, since the initial value used by the random number generation unit 14 is different for each wireless communication device, the value generated by the random number generation unit 14 is less likely to be the same, and the probability that the response messages collide with each other. The number of other wireless communication devices can be acquired more accurately.

なお、本実施の形態では、乱数発生手段14において、平均採中法や合同法のアルゴリズムを用いて乱数を発生させるとして説明したが、乱数ではないが簡易的な方法として、無線通信装置の内部タイマーのタイマー値、無線通信装置の無線システム識別符号、無線通信装置の機器識別符号、無線通信装置の製造番号または無線通信装置の仮機器識別符号を用いて演算を行うことにより、応答電文を返信する時間や使用する周波数を選択する方法も考えられる。例えば、仮機器識別符号が16進で80からFFの範囲で設定されている場合、(下1桁×α)msとの演算式から応答電文を返信する時間を算出する(αは応答電文を送信するのに要する時間や処理時間を考慮して決める)方法や、あらかじめ使用する周波数がA〜Fと決められている場合は、下1桁が0以上5以下の場合はA(16進)を加算してAからFに変換し、下1桁が6以上9以下の場合は4(16進)を加算しAからDに変換し、下1桁がA以上F以下の場合は0を加算することにより使用する周波数を決定する方法などが考えられる。   In the present embodiment, the random number generation unit 14 has been described as generating a random number using an average sampling method or a congruent algorithm, but as a simple method that is not a random number, A response message is returned by performing an operation using the timer value of the timer, the wireless system identification code of the wireless communication device, the device identification code of the wireless communication device, the serial number of the wireless communication device or the temporary device identification code of the wireless communication device. A method of selecting the time to use and the frequency to be used is also conceivable. For example, when the temporary device identification code is set in the range of 80 to FF in hexadecimal, the time for returning the response message is calculated from the arithmetic expression of (last 1 digit × α) ms (α is the response message) If the method used is determined in consideration of the time required for transmission and the processing time), or the frequency used in advance is A to F, A (hexadecimal) if the last digit is 0 or more and 5 or less Is converted from A to F. When the last digit is 6 or more and 9 or less, 4 (hexadecimal) is added and converted from A to D. When the last digit is A or more and F or less, 0 is added. A method of determining the frequency to be used by adding the values can be considered.

なお、実施の形態1および実施の形態2において、電波状況問い合わせ電文に対する応答電文は、無線通信装置5C(マスター)および無線通信装置5D(スレーブ)の両方が返信することにより、無線通信装置の台数を取得し、この台数に基づき使用する周波数を決定するとして説明したが、マスターである無線通信装置5Cの無線システム識別符号がスレーブである無線通信装置5Dの無線システム識別符号に設定されるため、応答電文の返信はマスター(無線通信装置5C)のみが行うようにする方法も考えられる。   In the first and second embodiments, the response message for the radio wave status inquiry message is returned by both the wireless communication device 5C (master) and the wireless communication device 5D (slave), so that the number of wireless communication devices Since the wireless system identification code of the wireless communication device 5C as the master is set to the wireless system identification code of the wireless communication device 5D as the slave, the frequency to be used is determined based on this number. A method in which only the master (wireless communication device 5C) returns the response message is also conceivable.

以上のように、例えば、複数の無線通信システムが自システムと同じ周波数(周波数A)を用いて通信を行っている場合、一つの無線通信システムからは一つの応答となるため、通信のトラフィックを低減でき、応答電文同士が衝突する確率が低くなり、通信成功率が向上するため信頼性が向上する。かつ電波状況を取得するのに要する時間も短縮されるため、効率よく電波状況を取得することができる。   As described above, for example, when a plurality of wireless communication systems are performing communication using the same frequency (frequency A) as that of the own system, one wireless communication system provides a single response. The probability that the response messages collide with each other can be reduced, and the communication success rate is improved, so that the reliability is improved. In addition, since the time required to acquire the radio wave status is shortened, the radio wave status can be acquired efficiently.

(実施の形態3)
図6は、本発明の第3の実施の形態のブロック図である。実施の形態1および実施の形態2と同一符号は、同一機能を有するものとする。実施の形態1および実施の形態2と異なる点は、マスターと呼ばれる無線通信装置に、自システム内のスレーブと呼ばれる無線通信装置の台数を記憶するスレーブ台数記憶手段15を設けた点である。
(Embodiment 3)
FIG. 6 is a block diagram of the third embodiment of the present invention. The same reference numerals as those in Embodiments 1 and 2 have the same functions. The difference from the first embodiment and the second embodiment is that a slave number storage unit 15 for storing the number of wireless communication devices called slaves in the system is provided in a wireless communication device called a master.

以上のように構成された無線通信装置から構成される無線通信システムについて、以下その動作、作用を説明する。   The operation and action of the wireless communication system configured as described above will be described below.

先の実施の形態では、電波状況問い合わせ電文に対する応答電文は、無線通信装置5C(マスター)が返信するとして説明したが、本実施の形態では、この際に、マスターと呼ばれる無線通信装置5Cにおける制御手段3は、スレーブの台数を記憶したスレーブ台数記憶手段15から、自装置に登録されたスレーブ台数を取得し、この取得したスレーブ台数の情報を前記応答電文に含めて無線通信装置5Aに対して返信する。スレーブ台数記憶手段15にスレーブの台数を記憶する方法としては、例えば、登録モードでスレーブと呼ばれる無線通信装置を登録する際に台数をカウントして記憶する方法などが考えられる。   In the previous embodiment, the response message for the radio wave status inquiry message was described as being returned by the wireless communication device 5C (master). However, in this embodiment, the control in the wireless communication device 5C called the master is performed at this time. The means 3 acquires the number of slaves registered in its own device from the slave number storage means 15 that stores the number of slaves, and includes the acquired information on the number of slaves in the response message to the wireless communication device 5A. Send back. As a method of storing the number of slaves in the slave number storage means 15, for example, a method of counting and storing the number of wireless communication devices called slaves in the registration mode is conceivable.

以上のように、電波状況問い合わせ電文に対して返信する応答電文中に、スレーブの台数情報が含まれることにより、すべての無線通信装置が応答電文を返信しなくとも、他の無線通信装置の台数を取得できるため、応答電文同士が衝突する確率が低くなり、通信成功率が向上するため、より正確に他の無線通信装置の台数を取得することができる。かつ電波状況を取得するのに要する時間も短縮されるため、効率よく電波状況を取得することができる。   As described above, the number of slaves is included in the response message sent back to the radio wave status inquiry message, so that the number of other wireless communication devices does not have to be sent back by all wireless communication devices. Since the probability that the response messages collide with each other and the communication success rate is improved, the number of other wireless communication devices can be acquired more accurately. In addition, since the time required to acquire the radio wave status is shortened, the radio wave status can be acquired efficiently.

なお、先の実施の形態において、電波状況問い合わせ電文中に含まれる無線システム識別符号には、すべての無線通信装置が受信できる無線システム識別符号(例えば、オール1)を設定することが考えられる。   In the previous embodiment, it is conceivable to set a wireless system identification code (for example, all 1) that can be received by all wireless communication devices as the wireless system identification code included in the radio wave status inquiry message.

以上のように、電波状況問い合わせ電文をすべての無線通信装置が受信できるため、複数の無線通信システムがある場合でも、各無線通信システムに対応した無線システム識別符号をそれぞれ記憶する必要がないため、設置性が優れかつ無線システム識別符号を記憶するためのメモリ容量も低減することができる。   As described above, since all wireless communication devices can receive radio wave status inquiry messages, even when there are multiple wireless communication systems, it is not necessary to store wireless system identification codes corresponding to each wireless communication system, The installation capacity is excellent and the memory capacity for storing the wireless system identification code can also be reduced.

なお、先の実施の形態において、図7の通信レイヤ構成図に示すように、制御手段3を、伝送メディア毎に特有の通信プロトコル処理を行う下位通信ソフトウェアと、前記伝送メディアを利用したアプリケーションソフトウェアと、前記下位通信ソフトウェアと前記アプリケーションソフトウェア間に挟まれた位置に設けられ、異なる伝送メディアを用いてもアプリケーションソフトウェアからは異なる伝送メディアを意識しなくてよい、つまり単一ネットワークと見せる働きをする通信ミドルウェアから構成し、制御手段3は、電波状況問い合わせ手段7で生成された電波状況問い合わせ電文を送信する際に、下位通信ソフトウェアで処理する電文であることを示すフラグを立て(例えば、図4における制御コード2の部分)、無線通信手段1を用いて、電波状況問い合わせ電文を同報で送信する(s4)。そして、電波状況問い合わせ電文は、無線通信装置5Cおよび無線通信装置5Dにおいて、制御手段3の制御により、無線通信手段1を用いて受信し、電波状況問い合わせ電文中の制御コード2の部分を確認する。この時、下位通信ソフトウェアで処理する電文であることを示すフラグが立っていれば、下位通信ソフトウェアより上位層にある、通信ミドルウェアやアプリケーションソフトウェアには、電波状況問い合わせ電文を受信したことを通知せず、応答電文を返信する。仮に、下位通信ソフトウェアで処理する電文であることを示すフラグが立っていなければ、下位通信ソフトウェアより上位層にある通信ミドルウェアやアプリケーションソフトウェアには、電波状況問い合わせ電文を受信したことを通知し、上位層にある通信ミドルウェアやアプリケーションソフトウェアからの指示により応答電文を返信する。   In the previous embodiment, as shown in the communication layer configuration diagram of FIG. 7, the control means 3 includes lower-layer communication software for performing communication protocol processing specific to each transmission medium, and application software using the transmission medium. And provided at a position sandwiched between the lower-layer communication software and the application software, so that even if different transmission media are used, the application software does not need to be aware of the different transmission media, that is, it functions as a single network. The control means 3 is composed of communication middleware, and when transmitting the radio wave status inquiry message generated by the radio wave status inquiry means 7, the control means 3 sets a flag indicating that the message is to be processed by the lower-layer communication software (for example, FIG. 4). Control code 2 part), wireless communication hand Using a 1, transmits radio waves situation inquiry telegram with broadcast (s4). Then, the radio wave status inquiry message is received by the radio communication device 5C and the radio communication device 5D using the radio communication unit 1 under the control of the control unit 3, and the part of the control code 2 in the radio wave status inquiry message is confirmed. . At this time, if a flag indicating that the message is to be processed by the lower-layer communication software is set, the communication middleware and application software in the higher layer than the lower-layer communication software are notified that the radio wave status inquiry message has been received. Return a response message. If the flag indicating that the message is to be processed by the lower-layer communication software is not set, the communication middleware or application software that is higher than the lower-layer communication software is notified that the radio wave status inquiry message has been received. A response message is returned in response to an instruction from the communication middleware or application software in the layer.

以上のように、受信側では電波状況問い合わせ電文を、アプリケーションソフトウェアや通信ミドルウェアに関係なく、下位通信ソフトウェアで処理するため、図7に示すように、伝送メディアが複数ある場合でも、アプリケーションソフトウェアや通信ミドルウェアを変更する必要がないため、汎用性が優れ、かつソフトウェアの開発効率も向上する。   As described above, since the radio wave status inquiry message is processed by the lower-layer communication software regardless of the application software or communication middleware on the receiving side, as shown in FIG. 7, even when there are a plurality of transmission media, the application software and communication Since there is no need to change middleware, it is highly versatile and software development efficiency is improved.

なお、先の実施の形態において、無線通信システムの手段の少なくとも一部としてコンピュータを機能させるためのプログラムとすることにより、プログラムであるのでマイコン等を用いて本発明の無線通信装置の一部あるいは全てを容易に実現することができる。また記録媒体に記録したり通信回線を用いてプログラムを配信したりすることでプログラムの配布やインストール作業が簡単にできる。   In the previous embodiment, a program for causing a computer to function as at least a part of the means of the wireless communication system is a program, so that it is a part of the wireless communication apparatus of the present invention using a microcomputer or the like. All can be realized easily. Also, program distribution and installation can be simplified by recording on a recording medium or distributing a program using a communication line.

なお、先の実施の形態において、仮機器識別符号としては、無線通信装置の製造番号の下二桁を用いる方法などが考えられる。   In the previous embodiment, as the temporary device identification code, a method using the last two digits of the serial number of the wireless communication device can be considered.

なお、先の実施の形態において、電波状況問い合わせ電文に設定する送信先機器識別符号として、同報通信を行うための機器識別符号であるFFを設定するとして説明したが、無線システム識別符号がオール1の場合は、すべての無線通信装置が電文を受信するとするか、あるいは、図4における電文フォーマットにおける制御コード1に、同報電文か個別通信用電文かを区別するフラグを設ける方法により、送信先機器識別符号はFFに限定されないようにすることもできる。   In the previous embodiment, it has been described that FF, which is a device identification code for performing broadcast communication, is set as the transmission destination device identification code set in the radio wave status inquiry message. In the case of 1, transmission is performed by a method in which all wireless communication devices receive a message, or by providing a flag for distinguishing between a broadcast message and an individual communication message in the control code 1 in the message format in FIG. The destination device identification code may be not limited to FF.

なお、先の実施の形態において、周波数決定手段8にあらかじめ設定しておく閾値の値を1として説明したが、例えば、1つの無線通信システムで使用する周波数が3チャンネルの場合は3つの無線通信システムまでが同時に通信を行うことが可能であるため2に設定しおくことなども考えられる。   In the previous embodiment, the threshold value set in advance in the frequency determining means 8 has been described as 1. However, for example, when the frequency used in one wireless communication system is 3 channels, 3 wireless communication Since it is possible to communicate with the system at the same time, it may be set to 2.

なお、先の実施の形態において、無線通信装置5Aおよび無線通信装置5B間で使用する周波数を、周波数Aから周波数Bに変更するとして説明したが、変更した周波数Bでも前述と同様に電波状況問い合わせ電文を送信することにより、再度周波数を変更する方法も考えられる。   In the previous embodiment, the frequency used between the wireless communication device 5A and the wireless communication device 5B has been described as being changed from the frequency A to the frequency B. However, in the changed frequency B, the radio wave status inquiry is performed in the same manner as described above. A method of changing the frequency again by transmitting a message is also conceivable.

なお、無線通信装置5Aおよび無線通信装置5B間で使用する周波数が、例えば、周波数A〜Fまでであり、すべての周波数で閾値<応答電文数である場合は、周波数A〜Fの中で応答電文が最も少ない周波数を選択し、無線通信装置5Aおよび無線通信装置5B間の通信に使用する方法も考えられる。あるいは、登録電文1を受信後、利用可能なすべての周波数、例えば、周波数A〜Fを順次切り替えて電波状況問い合わせ電文を送信し、周波数A〜Fの中で応答電文が最も少ない周波数を選択する方法も考えられる。   Note that when the frequency used between the wireless communication device 5A and the wireless communication device 5B is, for example, frequencies A to F, and the threshold value <the number of response messages at all frequencies, the response is within the frequencies A to F. A method is also conceivable in which the frequency with the least electronic message is selected and used for communication between the wireless communication device 5A and the wireless communication device 5B. Alternatively, after receiving the registered telegram 1, all available frequencies, for example, the frequencies A to F are sequentially switched to transmit the radio wave status inquiry telegram, and the frequency with the smallest response telegram is selected from the frequencies A to F. A method is also conceivable.

なお、先の実施の形態において、電波状況問い合わせ電文を送信する際に使用する周波数を、周波数記憶手段8から取得するとしたが、制御手段3が使用する周波数をランダムに決める方法も考えられる。   In the previous embodiment, the frequency used when transmitting the radio wave status inquiry message is acquired from the frequency storage means 8, but a method of randomly determining the frequency used by the control means 3 is also conceivable.

なお、先の実施の形態において、登録電文1を送信する周波数は、登録モード以外の通常モードで使用する周波数とは異なるあらかじめ決められた周波数である無線システム設定用の周波数とすることもできる。このようにすることにより、新たに無線通信装置を登録する必要が生じた場合でも、各無線通信装置は登録電文1を異なる周波数で送受信を行うことは生じず、必ず決められた周波数で送受信するので確実かつ迅速に登録を行うことができる。   In the previous embodiment, the frequency for transmitting the registered telegram 1 can be a radio system setting frequency that is a predetermined frequency different from the frequency used in the normal mode other than the registration mode. By doing so, even when it becomes necessary to register a new wireless communication device, each wireless communication device does not transmit / receive the registration telegram 1 at a different frequency, and always transmits / receives at a predetermined frequency. So you can register reliably and quickly.

なお、先の実施の形態において、外部入力手段9を用いて無線通信装置5Aを登録モードに移行させる方法としては、作業者がスイッチなどを用いて制御手段3に登録モードに移行するための信号を出力する方法について説明したが、外部入力手段9に接続された機器からシリアル通信などを用いて、登録モードに移行するための電文を送信する方法なども考えられる。   In the previous embodiment, as a method of shifting the wireless communication device 5A to the registration mode using the external input unit 9, a signal for the operator to shift to the registration mode using the switch or the like is used. However, a method of transmitting a message for shifting to the registration mode using serial communication or the like from a device connected to the external input means 9 is also conceivable.

なお、先の実施の形態において、無線通信装置5Aは無線通信装置5Bから登録電文1の受信後に、電波状況問い合わせ電文を送信するとして説明したが、無線通信装置5Aの電源が投入されたときに、電波状況問い合わせ電文を送信し、周波数記憶手段6に使用する周波数を記憶しておく方法も考えられる。   In the previous embodiment, the wireless communication device 5A has been described as transmitting a radio wave status inquiry message after receiving the registration message 1 from the wireless communication device 5B. However, when the wireless communication device 5A is turned on. A method of transmitting a radio wave status inquiry message and storing the frequency used in the frequency storage means 6 is also conceivable.

なお、先の実施の形態において、無線通信装置5Aをマスター(無線システム識別符号および機器識別符号を割り当てる機能を有する)、無線通信装置5Bをスレーブ(無線システム識別符号および機器識別符号を割り当てる機能を有しない)として、無線通信装置5Aが無線通信装置5Bに対して、無線システム識別符号および機器識別符号を割り当てる際に、使用する周波数情報をも通知するとして説明したが、無線通信装置5Aおよび無線通信装置5Bともにスレーブとして動作させる場合は、例えば、無線通信装置5Aにおける外部入力手段8をONし、電波状況問い合わせ電文を送信して、使用する周波数を周波数記憶手段6に記憶する。そして、外部機器(パソコン等)を接続することにより、先の周波数記憶手段6に記憶された周波数情報を取得し、次に無線通信装置5Bに外部機器(パソコン等)を接続し、無線システム識別符号および機器識別符号と共に使用する周波数を設定する方法などが考えられる。   In the previous embodiment, the wireless communication device 5A is a master (having a function for assigning a wireless system identification code and a device identification code), and the wireless communication device 5B is a slave (a function for assigning a wireless system identification code and a device identification code). The wireless communication device 5A has been described as notifying the frequency information to be used when the wireless communication device 5A assigns the wireless system identification code and the device identification code to the wireless communication device 5B. When the communication device 5B is operated as a slave, for example, the external input means 8 in the wireless communication device 5A is turned on, a radio wave status inquiry message is transmitted, and the frequency to be used is stored in the frequency storage means 6. Then, by connecting an external device (such as a personal computer), the frequency information stored in the previous frequency storage means 6 is acquired, and then the external device (such as a personal computer) is connected to the wireless communication device 5B to identify the wireless system. A method of setting a frequency to be used together with the code and the device identification code can be considered.

なお、先の実施の形態において、無線通信装置5Aと無線通信装置5B間で使用する周波数を決定する方法について説明したが、周波数に限らず、例えば、無線電文のデータに、同一ビットが連続することを防ぐためや、暗号化のために行うスクランブル変換に用いるスクランブル符号に関しても同様に実施することができる。   In the previous embodiment, the method of determining the frequency to be used between the wireless communication device 5A and the wireless communication device 5B has been described. However, the present invention is not limited to the frequency, and for example, the same bit continues in the data of the wireless message. In order to prevent this, the scramble code used for the scramble conversion performed for encryption can be similarly implemented.

以上のように、本発明にかかる無線通信システムは、無線通信装置自体が無線通信に最適な周波数に自律的に変更することが可能となるので、家庭内のセキュリティセンサ群、家電機器群、流量計測装置群、健康機器群等の通信に加え、屋外でのテレメーター・テレコントロールなどの無線データ通信等の用途にも適用できる。   As described above, the wireless communication system according to the present invention enables the wireless communication device itself to autonomously change to a frequency optimal for wireless communication. In addition to communication of measuring device groups, health equipment groups, etc., it can also be applied to uses such as outdoor wireless data communication such as telemetering and telecontrol.

本発明の実施の形態1における無線通信システムのシステム図System diagram of radio communication system in Embodiment 1 of the present invention 本発明の実施の形態1における無線通信システムのブロック図1 is a block diagram of a wireless communication system according to Embodiment 1 of the present invention. 本発明の実施の形態1における無線通信システムの通信シーケンス図Communication sequence diagram of wireless communication system according to Embodiment 1 of the present invention 本発明の実施の形態1における無線通信システムの電文フォーマット図Message format diagram of wireless communication system according to Embodiment 1 of the present invention 本発明の実施の形態2における無線通信システムのブロック図Block diagram of a radio communication system in Embodiment 2 of the present invention 本発明の実施の形態3における無線通信システムのブロック図Block diagram of radio communication system according to Embodiment 3 of the present invention 本発明の実施の形態3における無線通信システムの通信レイヤ図Communication layer diagram of radio communication system according to Embodiment 3 of the present invention 従来の無線通信システのブロック図Block diagram of a conventional wireless communication system

符号の説明Explanation of symbols

1 無線通信手段
2 外部機器接続手段
3 制御手段
4 外部機器
5 無線通信装置
6 周波数記憶手段
7 電波状況問い合わせ手段
8 周波数決定手段
9 外部入力手段
10 無線システム識別符号記憶手段
11 機器識別符号記憶手段
12 仮機器識別符号記憶手段
14 乱数発生手段
15 スレーブ台数記憶手段
DESCRIPTION OF SYMBOLS 1 Wireless communication means 2 External apparatus connection means 3 Control means 4 External equipment 5 Wireless communication apparatus 6 Frequency storage means 7 Radio wave condition inquiry means 8 Frequency determination means 9 External input means 10 Wireless system identification code storage means 11 Equipment identification code storage means 12 Temporary device identification code storage means 14 Random number generation means 15 Slave number storage means

Claims (10)

無線通信装置毎に割り当てられた機器識別符号と、前記無線通信装置から構成される無線通信システムに割り当てられた無線システム識別符号とを無線電文に含め、前記無線電文を用いて通信を行う無線通信システムにおいて、無線で通信を行う無線通信手段と、前記無線通信手段を用いた通信に使用する周波数を記憶する周波数記憶手段と、前記周波数記憶手段に記憶された周波数を使用している他の無線通信装置の台数を確認するための電波状況問い合わせ電文を生成する電波状況問い合わせ手段と、自システムで使用する周波数を決定する周波数決定手段と、前記各手段を制御する制御手段とを備え、前記制御手段は、前記電波状況問い合わせ手段を用いて生成した前記電波状況問い合わせ電文を、前記無線通信手段を用いて他の無線通信装置に対して送信し、前記電波状況問い合わせ電文に対して返信される応答電文数に基づき、前記周波数決定手段を用いて、自システムで使用する周波数を決定し、前記周波数を前記周波数記憶手段に記憶する無線通信システム。 Wireless communication that includes a device identification code assigned to each wireless communication device and a wireless system identification code assigned to a wireless communication system configured by the wireless communication device in a wireless message, and performs communication using the wireless message In the system, wireless communication means for performing communication wirelessly, frequency storage means for storing a frequency used for communication using the wireless communication means, and other wireless using the frequency stored in the frequency storage means A radio wave status inquiry means for generating a radio wave status inquiry message for confirming the number of communication devices, a frequency determination means for determining a frequency to be used in the own system, and a control means for controlling the respective means, the control The means transmits the radio wave status inquiry message generated by using the radio wave status inquiry unit to another radio using the radio communication unit. Based on the number of response messages transmitted to the communication device and returned to the radio wave status inquiry message, the frequency determination unit is used to determine a frequency to be used in the own system, and the frequency is stored in the frequency storage unit. A wireless communication system to store in あらかじめランダムに設定された仮機器識別符号を記憶する仮機器識別符号記憶手段を備え、電波状況問い合わせ電文における送信元機器識別符号には、機器識別符号に代わり前記仮機器識別符号記憶手段に記憶された仮機器識別符号を設定するとした請求項1に記載の無線通信システム。 Temporary device identification code storage means for storing a temporary device identification code set at random in advance is provided, and the transmission source device identification code in the radio wave status inquiry message is stored in the temporary device identification code storage means instead of the device identification code. The wireless communication system according to claim 1, wherein a temporary device identification code is set. 制御手段の制御により乱数を発生する乱数発生手段を備え、電波状況問い合わせ電文受信後から応答電文を返信するまでの時間は、前記乱数発生手段が発生する乱数に基づき、ランダムな時間で返信するとした請求項1または2のいずれか1項に記載の無線通信システム。 It is provided with random number generating means for generating random numbers under the control of the control means, and the time from receiving the radio wave status inquiry message until returning a response message is based on the random number generated by the random number generating means and responding in a random time The radio | wireless communications system of any one of Claim 1 or 2. 制御手段の制御により乱数を発生する乱数発生手段を備え、電波状況問い合わせ電文を送信する周波数は、前記乱数発生手段が発生する乱数に基づき、あらかじめ決められた複数の周波数からランダムに選択した周波数を用いるとした請求項1〜3のいずれか1項に記載の無線通信システム。 A random number generating means for generating a random number under the control of the control means, and the frequency for transmitting the radio wave status inquiry message is a frequency randomly selected from a plurality of predetermined frequencies based on the random number generated by the random number generating means. The wireless communication system according to claim 1, wherein the wireless communication system is used. 乱数発生手段に用いる初期値は、無線システム識別符号、機器識別符号、製造番号、仮機器識別符号の少なくとも一つを用いるとした請求項3または4のいずれか1項に記載の無線通信システム。 5. The wireless communication system according to claim 3, wherein the initial value used for the random number generation means is at least one of a wireless system identification code, a device identification code, a serial number, and a temporary device identification code. 同一の無線システム識別符号を有する無線通信システムが、マスターと呼ばれる1台の無線通信装置と、スレーブと呼ばれるマスター以外の無線通信装置とから構成される場合において、前記マスターのみが電波状況問い合わせ電文に対して応答電文を返信するとすることにより、無線通信装置の台数に代わり無線通信システムのシステム数に基づき、制御手段が自システムで使用する周波数を決定するとした請求項1〜5のいずれか1項に記載の無線通信システム。 In a case where a wireless communication system having the same wireless system identification code is composed of one wireless communication device called a master and a wireless communication device other than the master called a slave, only the master is used as a radio wave status inquiry message. 6. The response means according to claim 1, wherein the control means determines the frequency to be used in the own system based on the number of systems in the wireless communication system instead of the number of wireless communication devices. The wireless communication system according to 1. マスターは自システム内のスレーブ台数を記憶するスレーブ台数記憶手段を備え、電波状況問い合わせ電文に対して返信する応答電文中に、前記スレーブ台数記憶手段に記憶されたスレーブの台数情報を含めるとした請求項6に記載の無線通信システム。 The master comprises slave number storage means for storing the number of slaves in its own system, and includes the number information of slaves stored in the slave number storage means in the response message returned to the radio wave status inquiry message. Item 7. The wireless communication system according to Item 6. 電波状況問い合わせ電文に含まれる無線システム識別符号には、すべての無線通信装置で受信できる無線システム識別符号が設定されているとした請求項1〜7のいずれか1項に記載の無線通信システム。 The wireless communication system according to any one of claims 1 to 7, wherein a wireless system identification code that can be received by all wireless communication devices is set in the wireless system identification code included in the radio wave status inquiry message. 制御手段は、伝送メディア毎に特有の通信プロトコル処理を行う下位通信ソフトウェアと、前記伝送メディアを利用したアプリケーションソフトウェアと、前記下位通信ソフトウェアと前記アプリケーションソフトウェア間に挟まれた位置に設けられ、異なる伝送メディアを用いてもアプリケーションソフトウェアからは異なる伝送メディアを意識しなくてよい、つまり単一ネットワークと見せる働きをする通信ミドルウェアとから構成される場合において、制御手段は、電波状況問い合わせ電文が前記下位通信ソフトウェアで処理する電文であることを示すフラグを立て、前記電波状況問い合わせ電文を送信するとした請求項1〜8のいずれか1項に記載の無線通信システム。 The control means is provided at a position sandwiched between the lower-layer communication software that performs communication protocol processing specific to each transmission medium, the application software that uses the transmission medium, and the lower-layer communication software and the application software. Even if media is used, the application software does not have to be aware of different transmission media, that is, when it is composed of communication middleware that works to make it appear as a single network, the control means has the radio wave status inquiry message as the lower communication. The wireless communication system according to any one of claims 1 to 8, wherein a flag indicating that the message is processed by software is set and the radio wave status inquiry message is transmitted. 請求項1〜9のいずれか1項に記載の無線通信システムの手段の少なくとも一部をコンピュータで機能させるためのプログラム。 The program for functioning at least one part of the means of the radio | wireless communications system of any one of Claims 1-9 with a computer.
JP2003348202A 2003-10-07 2003-10-07 Wireless communication system Pending JP2005117309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003348202A JP2005117309A (en) 2003-10-07 2003-10-07 Wireless communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003348202A JP2005117309A (en) 2003-10-07 2003-10-07 Wireless communication system

Publications (1)

Publication Number Publication Date
JP2005117309A true JP2005117309A (en) 2005-04-28

Family

ID=34540471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003348202A Pending JP2005117309A (en) 2003-10-07 2003-10-07 Wireless communication system

Country Status (1)

Country Link
JP (1) JP2005117309A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007089119A (en) * 2005-08-22 2007-04-05 Yazaki Corp Radio apparatus
JP2010194661A (en) * 2009-02-24 2010-09-09 Panasonic Electric Works Co Ltd Wireless communications system for tool
JP2014093683A (en) * 2012-11-05 2014-05-19 Sharp Corp Communication device in radio telemeter system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007089119A (en) * 2005-08-22 2007-04-05 Yazaki Corp Radio apparatus
JP2010194661A (en) * 2009-02-24 2010-09-09 Panasonic Electric Works Co Ltd Wireless communications system for tool
JP2014093683A (en) * 2012-11-05 2014-05-19 Sharp Corp Communication device in radio telemeter system

Similar Documents

Publication Publication Date Title
JP4574338B2 (en) Setting method for wireless communication, peripheral device for performing wireless communication, and information processing device
EP1447946A2 (en) A system and a method for building routing tables and for routing signals in an automation system
CN101971568A (en) Method and device for communicating change-of-value information in a building automation system
KR20110053250A (en) Commissioning a network system
CN101682476A (en) Wireless network communications system
CN102165736B (en) System and method for connecting a security system using a network
CN104247450A (en) Method for controlling communication device
KR20110057484A (en) Air conditioner and communication method thereof
JP2005184188A (en) Wireless communication system and program thereof
JP2005117309A (en) Wireless communication system
JP2006048459A (en) Radio data communication system
JP2006303942A (en) Specific low-power radio telemetry system
JP2000101578A (en) Radio network system
JP4218469B2 (en) Communication device
JP2010004222A (en) Communication apparatus and communication system
JP4977943B2 (en) Communications system
JP2005348083A (en) Data communication system
CN102301655B (en) Network system
CN103576664A (en) Automation component for transmitting value change information in intelligent household system and method
JP2005184189A (en) Remote wireless communication system and program thereof
KR20090029073A (en) Air-conditioner and operating method thereof
WO2003001747A1 (en) Method for separating multiple home networks
JP4639597B2 (en) Wireless communication apparatus and program
KR100736487B1 (en) Method for changing slave device address in home network system
JP5969778B2 (en) NETWORK SYSTEM, NODE DEVICE, AND CORRECTING CONNECTION RELATION METHOD