JPH10112887A - Radio data collecting system - Google Patents

Radio data collecting system

Info

Publication number
JPH10112887A
JPH10112887A JP26589296A JP26589296A JPH10112887A JP H10112887 A JPH10112887 A JP H10112887A JP 26589296 A JP26589296 A JP 26589296A JP 26589296 A JP26589296 A JP 26589296A JP H10112887 A JPH10112887 A JP H10112887A
Authority
JP
Japan
Prior art keywords
relay function
terminal device
relay
communication
message
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
JP26589296A
Other languages
Japanese (ja)
Inventor
Masafumi Nakagawa
雅文 中川
Takayuki Suematsu
孝之 末松
Terue Matsumura
照恵 松村
Masahiro Yamamoto
雅弘 山本
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 JP26589296A priority Critical patent/JPH10112887A/en
Publication of JPH10112887A publication Critical patent/JPH10112887A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a radio data collecting system which does not need a particular repeater between a main device and a terminal device. SOLUTION: Each repeater functioned terminal device 4a and 4b is provided with a radio communication means 41 which communicates with a main device 1 and repeater functioned terminal devices except itself by radio, a storage means 42 which stores an identification code that preliminarily defines relations among devices, an identification code deciding means 43 that decides which it is between receiving and relay based on an identification code that is included in a receiving telegraphic message that is received from the main device or a repeater functioned terminal device and a relay controlling means 47 which controls relay when it is decided as a relay. For instance, when a telegraphic message from the device 4b includes the 3rd identification code, the device 4a receives the telegraphic message, and when it further includes the 1st identification code, it needs relay and the device 4a adds the 2nd identification code to the receiving telegraphic message and sends it to the device 1. The device 1 recognizes that the telegraphic message is from the device 4b because the receiving telegraphic message includes the 1st identification code.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、端末機器に対し
て、データの収集および制御を行う無線データ収集シス
テムに係わり、とくに様々な環境に設置された端末機器
に対しても容易、かつ確実にデータの収集および制御を
行なう無線データ収集システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a wireless data collection system for collecting and controlling data for terminal equipment, and particularly easily and reliably for terminal equipment installed in various environments. The present invention relates to a wireless data collection system for collecting and controlling data.

【0002】[0002]

【従来の技術】従来、この種の無線データ収集システム
は、たとえば特開平3−114321号公報に開示され
ているようなものが一般的であった。
2. Description of the Related Art Conventionally, a wireless data collection system of this type has generally been disclosed, for example, in Japanese Patent Application Laid-Open No. 3-114321.

【0003】以下、従来の無線データ収集システムにつ
いて図面を参照しながら説明する。図18は従来の無線
データ収集システムの構成と、それぞれの電波到達範囲
とを示すブロック図である。図において、1は電話回戦
に接続された主装置、2は主装置1と無線回線を介して
接続された端末装置、3は主装置1と端末装置2との無
線通信を中継する中継装置である。また、主装置1の電
波到達範囲は中継装置3を含むが端末装置2には到達せ
ず、端末装置2の電波到達範囲は中継装置3を含むが主
装置1には到達せず、したがって、主装置1と端末装置
2が無線で通信するためには中継装置3が必要である。
Hereinafter, a conventional wireless data collection system will be described with reference to the drawings. FIG. 18 is a block diagram showing a configuration of a conventional wireless data collection system and respective radio wave reach ranges. In the figure, 1 is a main device connected to a telephone round, 2 is a terminal device connected to the main device 1 via a wireless line, and 3 is a relay device for relaying wireless communication between the main device 1 and the terminal device 2. is there. The radio wave range of the main device 1 includes the relay device 3 but does not reach the terminal device 2, and the radio wave range of the terminal device 2 includes the relay device 3 but does not reach the main device 1. In order for the main device 1 and the terminal device 2 to communicate wirelessly, the relay device 3 is required.

【0004】図19は中継装置3の構成を示すブロック
図である。図において、31は主装置1および端末装置
2と無線で通信する無線通信手段、32は装置全体の動
作を制御する制御手段、33は主装置1と端末装置2と
で用いられる第1識別符号と、主装置1と中継装置3と
で用いられる第2識別符号と、端末装置2と中継装置3
とで用いられる第3識別符号とを記憶する記憶手段、3
4は制御手段32の制御により記憶手段33に記憶され
た識別符号の判断を行う識別符号判断手段である。な
お、主装置1には第1識別符号と第2識別符号が、また
端末装置2には第1識別符号と第3識別符号がそれぞれ
記憶されている。
FIG. 19 is a block diagram showing a configuration of the relay device 3. In the figure, 31 is a wireless communication means for communicating with the main apparatus 1 and the terminal apparatus 2 by radio, 32 is a control means for controlling the operation of the whole apparatus, 33 is a first identification code used in the main apparatus 1 and the terminal apparatus 2 A second identification code used in the main device 1 and the relay device 3;
Storage means for storing a third identification code used in
Reference numeral 4 denotes an identification code determination unit that determines the identification code stored in the storage unit 33 under the control of the control unit 32. The main device 1 stores a first identification code and a second identification code, and the terminal device 2 stores a first identification code and a third identification code.

【0005】上記構成においてその動作を説明する。ま
ず、端末装置2に通信要求が発生すると、端末装置2は
中継装置3に対して電文を送信する。この電文には第1
識別符号と第3識別符号とが含められており、この電文
を受信した中継装置3は制御手段32にその電文を供給
し、制御手段32の制御により識別符号判断手段34に
おいて受信された第3識別符号と記憶手段33に記憶さ
れた第3識別符号とを比較する。比較の結果、両者が一
致すると制御手段32は無線通信手段31を用いて応答
電文を端末装置2に対して送信し、つぎに主装置1に対
して前述の電文を送信する。この電文には第1識別符号
と第2識別符号とが含められており、この電文を受信し
た主装置1は、電文中に含まれる第1識別符号および第
2識別符号を主装置1自身が記憶している第1識別符号
および第2識別符号と比較判定し、一致すれば主装置1
は中継装置3に対して応答電文の送信を行い、つぎに端
末装置2は主装置1と中継装置3を介して通信するよう
になっていた。
The operation of the above configuration will be described. First, when a communication request is issued to the terminal device 2, the terminal device 2 transmits a message to the relay device 3. This message contains the first
The relay device 3 that has received the message transmits the message to the control unit 32, and receives the third message received by the identification code determination unit 34 under the control of the control unit 32. The identification code is compared with the third identification code stored in the storage unit 33. As a result of the comparison, if the two match, the control unit 32 transmits a response message to the terminal device 2 using the wireless communication unit 31, and then transmits the above-described message to the main device 1. The message includes the first identification code and the second identification code, and the main device 1 that has received the message transmits the first identification code and the second identification code included in the message to the main device 1 itself. A comparison is made between the stored first identification code and the second identification code.
Transmits a response message to the relay device 3, and then the terminal device 2 communicates with the main device 1 via the relay device 3.

【0006】なお、主装置1と端末装置2との間で電波
が直接に到達できる場合には中継装置3を介さずに通信
することができる。
When radio waves can directly reach between the main device 1 and the terminal device 2, communication can be performed without passing through the relay device 3.

【0007】[0007]

【発明が解決しようとする課題】このような従来の無線
データ収集システムでは、主装置1と端末装置2との間
で電波が到達せず、通信ができない場合ごとに中継装置
3を設ける必要があり、中継装置3は主装置1および端
末装置2とは回路構成が異なるので、制作するにはコス
トがかかると言う問題があった。さらに、端末装置2と
中継装置3は無線で接続されているため端末装置2を電
波環境が悪いところ、たとえば、金属ケースで遮られた
場所や、電波を頻繁に送信する機器の近傍や、ノイズを
出す機器の近傍や、電波が悪影響を与える機器(精密機
器、医療機器など)の近傍などには設置できないと言う
問題があった。さらに、主装置1と端末装置2との間は
中継装置3を介して1つの無線回線から構成されている
ため、無線回線の通信状態が非常に悪い場合、たとえ
ば、受信電文の電界強度が受信のためのしきい値付近で
ある場合においても通信を行わねばならず、通信が途中
で中断されることがあると言う問題があった。
In such a conventional wireless data collection system, it is necessary to provide the relay device 3 every time the radio wave does not reach between the main device 1 and the terminal device 2 and communication is not possible. In addition, since the relay device 3 has a different circuit configuration from the main device 1 and the terminal device 2, there is a problem that the production costs are high. Further, since the terminal device 2 and the relay device 3 are wirelessly connected, the terminal device 2 may be placed in a place where the radio wave environment is poor, for example, in a place blocked by a metal case, in the vicinity of a device that frequently transmits radio waves, or in the presence of noise. However, there is a problem that it cannot be installed in the vicinity of a device that emits light, or in the vicinity of a device (precision device, medical device, or the like) where radio waves have an adverse effect. Furthermore, since the main device 1 and the terminal device 2 are constituted by one wireless line via the relay device 3, when the communication state of the wireless line is extremely poor, for example, the electric field strength of the received message becomes lower. However, there is a problem that communication must be performed even when the threshold value is close to the threshold value, and the communication may be interrupted on the way.

【0008】さらに、主装置1と端末装置2との間は中
継装置3を介して無線で接続されているため、端末装置
2から主装置1に対して送信されたデータが途中で誤り
を起こし、その誤ったデータを主装置1が受信すると言
う問題があった。さらに、中継装置3は端末装置2また
は主装置1からの電文をただ単に中継するだけであり、
他の機能はないと言う問題を有していた。
Further, since the main apparatus 1 and the terminal apparatus 2 are wirelessly connected via the relay apparatus 3, data transmitted from the terminal apparatus 2 to the main apparatus 1 may cause an error on the way. However, there is a problem that the main device 1 receives the erroneous data. Further, the relay device 3 merely relays a message from the terminal device 2 or the main device 1,
There was a problem that there was no other function.

【0009】本発明は上記の課題を解決するもので、専
用の中継装置を設けることなく、主装置と無線で通信で
きるとともに、他の端末装置の通信を中継できる中継機
能付端末装置を備えた無線データ収集システムを提供す
ることを目的とする。
The present invention solves the above-mentioned problems, and includes a terminal device with a relay function that can wirelessly communicate with a main device without providing a dedicated relay device and that can relay communication of another terminal device. It is an object to provide a wireless data collection system.

【0010】[0010]

【課題を解決するための手段】請求項1に係わる本発明
は、中継機能付端末装置が他の中継機能付端末装置と無
線で通信するとともに、受信電文に含められた識別符号
により判断して、その識別符号が中継を要求している場
合には中継するようにした無線データ収集システムであ
る。
According to a first aspect of the present invention, a terminal device with a relay function communicates wirelessly with another terminal device with a relay function, and judges based on an identification code included in a received message. And a wireless data collection system that relays data when the identification code requests relaying.

【0011】これにより、中継を必要とする中継機能付
端末装置と主装置との通信を中継することができる。
Thus, the communication between the terminal device having the relay function which requires the relay and the main device can be relayed.

【0012】請求項2に係わる本発明は、中継機能付端
末装置が他の中継機能付端末装置と有線で通信するとと
もに、受信電文に含められた識別符号により判断して、
その識別符号が中継を要求している場合には中継するよ
うにした無線データ収集システムである。
According to a second aspect of the present invention, a terminal device with a relay function communicates with another terminal device with a relay function by wire, and judges based on an identification code included in a received message.
This is a wireless data collection system that relays when the identification code requests relaying.

【0013】これにより、中継を必要とする中継機能付
端末装置と主装置との通信を中継することができる。
Thus, the communication between the terminal device having the relay function which needs the relay and the main device can be relayed.

【0014】請求項3に係わる本発明は、主装置と中継
機能付端末装置とが間欠送受信で無線通信し、主装置か
ら送出する同期合わせのための同期信号に対する中継機
能付端末装置からの応答電文の有無により、直接に無線
通信するか、または他の中継機能付端末装置の中継を介
して通信するかを判断するようにした無線データ収集シ
ステムである。
According to a third aspect of the present invention, there is provided a wireless communication system in which a main unit and a terminal device having a relay function perform intermittent transmission / reception by radio, and a response from the terminal device having a relay function to a synchronization signal transmitted from the main device for synchronization. This wireless data collection system is configured to determine whether to perform direct wireless communication or to communicate via a relay of another terminal device with a relay function based on the presence or absence of a message.

【0015】これにより、確実に通信することができ
る。請求項4に係わる本発明は、複数の中継機能付端末
装置について応答電文の有無を調べ、複数の通信経路を
判断して通信するようにした無線データ収集システムで
ある。
[0015] Thereby, the communication can be performed reliably. According to a fourth aspect of the present invention, there is provided a wireless data collection system configured to check presence or absence of a response message with respect to a plurality of terminal devices with a relay function, determine a plurality of communication paths, and perform communication.

【0016】これにより、通信経路を幾つも設定してよ
り確実に通信することができる。請求項5に係わる本発
明は、主装置および中継機能付端末装置が相手装置から
の応答電文の電界強度を測定し、電界強度に対応して通
信経路を判断するようにした無線データ収集システムで
ある。
[0016] Thereby, it is possible to set a number of communication paths and to perform more reliable communication. The present invention according to claim 5 is a wireless data collection system in which a main device and a terminal device with a relay function measure an electric field strength of a response message from a partner device and determine a communication path in accordance with the electric field intensity. is there.

【0017】これにより、電波の到達状況に対応して通
信経路を判断して通信することができる。
Thus, communication can be performed by determining a communication path according to the arrival state of the radio wave.

【0018】請求項6に係わる本発明は、異なる通信経
路を経由した電文を比較して、誤っているか否かを判断
するようにした無線データ収集システムである。
According to a sixth aspect of the present invention, there is provided a wireless data collection system configured to compare messages transmitted through different communication paths and determine whether or not the message is incorrect.

【0019】これにより誤りのないデータを収集するこ
とができる。請求項7に係わる本発明は、複数の中継機
能付端末装置が取得した端末機器のデータを1つの中継
機能付端末装置が一括して主装置に通信するようにした
無線データ収集システムである。
As a result, error-free data can be collected. The present invention according to claim 7 is a wireless data collection system in which one terminal device with a relay function collectively communicates data of terminal devices acquired by a plurality of terminal devices with a relay function to a main device.

【0020】これにより、主装置と中継機能付端末装置
とのトラフィックを低減することができる。
Thus, traffic between the main device and the terminal device with a relay function can be reduced.

【0021】請求項8に係わる本発明は、複数の中継機
能付端末装置を相互に切断または接続自在な有線通信で
接続するようにした無線データ収集システムである。
The present invention according to claim 8 is a wireless data collection system in which a plurality of terminal devices with a relay function are connected to each other by wired communication that can be disconnected or connectable.

【0022】これにより、無線データ収集システムを設
置環境に対応して自在に構築することができる。
Thus, the wireless data collection system can be constructed freely according to the installation environment.

【0023】[0023]

【発明の実施の形態】請求項1に係わる本発明におい
て、主装置と中継機能付端末装置それぞれにおける無線
通信手段は主装置と中継機能付端末装置とを無線で通信
する手段を意味し、通常の無線通信手段で実現できる。
また、識別符号判断手段は電文に含まれた識別符号によ
り中継するか否かを判断する手段を意味し、装置間の関
係に対応してあらかじめ決めた識別符号により、自己の
識別符号を含めば自己宛の電文として受信、さらに他の
主装置または中継機能付端末装置の識別符号を含めば中
継を要する電文として受信した前記電文を中継するよう
に判断する。これらの処理はマイクロコンピュータのプ
ログラム処理などにより実行できる。なお、前記識別符
号の所定の関係は記憶手段に記憶しておけばよい。
In the present invention according to claim 1, the wireless communication means in each of the main device and the terminal device with a relay function means means for wirelessly communicating the main device and the terminal device with a relay function. Wireless communication means.
Further, the identification code determining means means a means for determining whether or not to relay based on the identification code included in the message. If the identification code determined in advance according to the relationship between the devices includes its own identification code, If the received message is received as a message addressed to itself and further includes an identification code of another main device or a terminal device with a relay function, it is determined that the received message is relayed. These processes can be executed by microcomputer program processing or the like. The predetermined relationship between the identification codes may be stored in the storage unit.

【0024】請求項2に係わる本発明において、主装置
と中継機能付端末装置それぞれにおける無線通信手段は
主装置と中継機能付端末装置とを無線で通信する手段を
意味し、有線通信手段は他の中継機能付端末装置と有線
で通信する手段を意味し、これらは通常の無線通信およ
び有線通信の手段で実現できる。また、識別符号判断手
段は電文に含まれた識別符号により中継するか否かを判
断する手段を意味し、上記と同様に、自己宛の電文であ
れば受信、さらに他の主装置または中継機能付端末装置
宛の電文であれば受信した前記電文を中継するように判
断する。これらの処理はマイクロコンピュータのプログ
ラム処理などにより実行できる。
In the present invention according to claim 2, the wireless communication means in each of the main device and the terminal device with a relay function means means for wirelessly communicating between the main device and the terminal device with a relay function. Means for communicating with the terminal device having a relay function by wire, and these can be realized by means of ordinary wireless communication and wire communication. Further, the identification code determination means means for determining whether or not to relay based on the identification code included in the message. As described above, if the message is addressed to itself, it is received. If it is a message addressed to the attached terminal device, it is determined to relay the received message. These processes can be executed by microcomputer program processing or the like.

【0025】請求項3に係わる本発明において、主装置
における同期合わせ制御手段は、中継機能付端末装置と
間欠で無線通信するためのタイミングを与える同期信号
を送出する手段を意味し、また、応答制御手段は前記同
期信号の送出に対する中継機能付端末装置からの応答電
文を受信する手段を意味し、通信不能検出手段は送出し
た同期信号に対する中継機能付端末装置からの応答電文
が無いことにより通信不能を検出する手段を意味し、ま
た、中継判断手段は通信不能に対応して中継機能付端末
装置を経由して通信することを判断する手段を意味す
る。また、中継機能付端末装置における同期制御手段は
受信した前記同期信号に対応して同期のタイミングなど
を設定する手段を意味し、同期応答制御手段は同期信号
を受信したときに応答電文を送出する手段を意味し、中
継判断手段は通信不能により他の中継機能付端末装置の
中継を要すると判断する手段を意味し、中継制御手段は
他の中継機能付端末装置との中継を制御する手段を意味
する。これらの処理はマイクロコンピュータのプログラ
ム処理などにより実行できる。
In the present invention according to claim 3, the synchronization control means in the main device means a means for transmitting a synchronization signal for giving a timing for intermittently performing wireless communication with the terminal device having a relay function. The control means means a means for receiving a response message from the terminal device with a relay function in response to the transmission of the synchronization signal, and the communication failure detecting means communicates when there is no response message from the terminal device with the relay function for the transmitted synchronization signal. The relay detecting means means a means for detecting the impossibility, and the relay judging means means means for judging that communication is performed via the terminal device with the relay function in response to the communication impossibility. Further, the synchronization control means in the terminal device with a relay function means means for setting synchronization timing and the like corresponding to the received synchronization signal, and the synchronization response control means sends a response message when the synchronization signal is received. Means means for determining that relaying of another terminal device with a relay function is required due to communication failure, and relay control means means for controlling relaying with another terminal device with a relay function. means. These processes can be executed by microcomputer program processing or the like.

【0026】請求項4に係わる本発明において、主装置
および中継機能付端末装置における通信経路判断手段は
応答制御手段の応答結果により通信経路を判断する手段
を意味し、通信相手との応答の有無により通信経路を判
断して設定する。この処理はマイクロコンピュータのプ
ログラム処理などにより実行できる。
In the present invention according to claim 4, the communication path determining means in the main device and the terminal device with the relay function means means for determining a communication path based on a response result of the response control means, and whether or not there is a response with the communication partner. To determine and set the communication path. This process can be executed by microcomputer program processing or the like.

【0027】請求項5に係わる本発明において、主装置
および中継機能付端末装置のそれぞれにおける電界強度
測定手段は、無線通信で受信した応答電文の電界強度を
測定する手段を意味し、測定結果をそれぞれの通信経路
判断手段に通信経路を判断する資料として供する。この
電界強度測定手段は無線通信手段の出力レベルの測定な
どで実現できる。
In the present invention according to claim 5, the electric field intensity measuring means in each of the main device and the terminal device with a relay function means means for measuring the electric field intensity of a response message received by wireless communication, and The information is provided to each communication path determination unit as data for determining the communication path. This electric field strength measuring means can be realized by measuring the output level of the wireless communication means.

【0028】請求項6に係わる本発明において、主装置
における電文比較手段は中継機能付端末装置から異なる
通信経路を経由した受信電文を比較し、比較により電文
に誤りがあるか否かを判断する手段を意味し、マイクロ
コンピュータによる電文のビット列の比較などで実現で
きる。
In the present invention according to claim 6, the message comparison means in the main device compares received messages from the terminal device with the relay function via different communication paths, and determines whether or not there is an error in the message by the comparison. Means means can be realized by comparing bit strings of electronic messages by a microcomputer.

【0029】請求項7に係わる本発明において、中継機
能付端末装置におけるデータ収集制御手段は、有線接続
した他の複数の中継機能付端末装置に対してそれぞれの
端末機器のデータを取得させ、それらを主装置に一括し
て送出する手段を意味し、自己の端末機器のデータを取
得するとともに、有線通信を介して他の中継機能付端末
装置にデータを取得する旨の電文を送ってデータを取得
および転送させ、それらを一次記憶したのち、主装置に
一括して送信する。これらの処理は記憶手段とマイクロ
コンピュータのプログラム処理などで実現できる。
[0029] In the present invention according to claim 7, the data collection control means in the terminal device with a relay function causes the other plurality of terminal devices with a relay function connected by wire to acquire data of each terminal device. Means to collectively send the data to the main device, acquire the data of its own terminal device, and send a message to the effect that the data will be acquired to another terminal device with a relay function via wired communication and send the data. After obtaining and transferring them, temporarily storing them, and then transmitting them collectively to the main device. These processes can be realized by storage means and program processing of a microcomputer.

【0030】請求項8に係わる本発明において、有線通
信手段は中継機能付端末装置が相互に有線通信する接続
をコネクタなどで接続または切断自在にした手段を意味
する。
[0030] In the present invention according to claim 8, the wired communication means means means for connecting or disconnecting the connection with the terminal device with a relay function to each other by means of a connector or the like.

【0031】以下、実施例について説明する。 (実施例1)以下、本発明の無線データ収集システムの
一実施例について図面を参照しながら説明する。本実施
例は請求項1に係わる。
Hereinafter, embodiments will be described. (Embodiment 1) Hereinafter, an embodiment of a wireless data collection system of the present invention will be described with reference to the drawings. This embodiment relates to claim 1.

【0032】図1および図2は本実施例の構成を示すブ
ロック図である。図において、1は主装置、4aは主装
置1と無線通信により接続され、主装置1と電文を送受
信するとともに、中継機能付端末装置4bの無線通信を
中継する中継機能付端末装置、4bは中継機能付端末装
置4aと無線通信により接続された中継機能付端末装
置、5aと5bはそれぞれ中継機能付端末装置4aと中
継機能付端末装置4bに接続された端末機器であって、
たとえばガス流量計などである。また、6は主装置1に
接続された外部装置であって、たとえば収集したデータ
を記憶する記憶手段などである。また、本実施例におい
て、図2に示したように、主装置1の電波到達範囲は中
継機能付端末装置4aを含むが中継機能付端末装置4b
には達せず、中継機能付端末装置4bの電波到達範囲は
中継機能付端末装置4aを含むが主装置1には達せず、
したがって、主装置1と中継機能付端末装置4bとが無
線で通信するためには中継機能付端末装置4aの中継が
必要である。
FIGS. 1 and 2 are block diagrams showing the configuration of this embodiment. In the figure, 1 is a main device, 4a is connected to the main device 1 by wireless communication, transmits and receives messages to and from the main device 1, and relays a terminal device with a relay function that relays wireless communication of the terminal device with a relay function 4b. The terminal device with relay function 5a and 5b connected by wireless communication with the terminal device with relay function 4a are terminal devices connected to the terminal device with relay function 4a and the terminal device with relay function 4b, respectively,
An example is a gas flow meter. Reference numeral 6 denotes an external device connected to the main device 1, such as a storage unit for storing collected data. In this embodiment, as shown in FIG. 2, the radio wave range of the main device 1 includes the terminal device with relay function 4a, but the terminal device with relay function 4b
Does not reach, the radio wave reach of the terminal device with relay function 4b includes the terminal device with relay function 4a, but does not reach the main device 1,
Therefore, in order for the main device 1 and the terminal device with relay function 4b to communicate wirelessly, the relay of the terminal device with relay function 4a is necessary.

【0033】図3は本実施例における主装置1および中
継機能付端末装置4a、4bの構成とを示すブロック図
である。主装置1において、11は中継機能付端末装置
4aと無線で通信する無線通信手段、12は主装置1と
中継機能付端末装置4bとで用いる第1識別符号と、主
装置1と中継機能付端末装置4aとで用いる第2識別符
号とを記憶する記憶手段、13は記憶手段12に記憶し
ている前記識別符号を用いて受信電文を比較判断する識
別符号判断手段、14は無線通信手段11と識別符号判
断手段13とを制御する制御手段、15はデータ検出手
段、16はインターフェース手段である。
FIG. 3 is a block diagram showing the configuration of the main device 1 and the terminal devices with relay functions 4a and 4b in this embodiment. In the main device 1, reference numeral 11 denotes a wireless communication unit that wirelessly communicates with the terminal device with relay function 4a. Reference numeral 12 denotes a first identification code used by the main device 1 and the terminal device with relay function 4b. A storage means for storing a second identification code used with the terminal device 4a; 13, an identification code determination means for comparing and determining a received message using the identification code stored in the storage means 12; And 15 are data detecting means and 16 is an interface means.

【0034】また、中継機能付端末装置4a、4bにお
いて、41は主装置1と無線で通信する無線通信手段、
42は前記第1識別符号、第2識別符号と、中継機能付
端末装置4aと中継機能付端末装置4bとで用いる第3
識別符号、または第1識別符号と第3識別符号とを記憶
する記憶手段、43は記憶手段42に記憶している識別
符号を用いて受信電文を比較判断する識別符号判断手
段、44は無線通信手段41と識別符号判断手段43と
を制御する制御手段、45はデータ検出手段、46はイ
ンターフェース手段、47は識別符号判断手段43の判
断により無線通信手段41に対して中継を制御する中継
制御手段である。
In the terminal devices with relay function 4a, 4b, reference numeral 41 denotes a wireless communication means for communicating with the main device 1 by radio;
Reference numeral 42 denotes the first identification code, the second identification code, and a third code used in the terminal device with relay function 4a and the terminal device with relay function 4b.
Storage means for storing the identification code or the first identification code and the third identification code; 43, an identification code determining means for comparing and determining received messages using the identification code stored in the storage means 42; Control means for controlling the means 41 and the identification code determination means 43; 45, data detection means; 46, interface means; 47, relay control means for controlling the relay to the wireless communication means 41 based on the determination by the identification code determination means 43 It is.

【0035】上記構成においてその動作を説明する。ま
ず、主装置1と中継機能付端末装置4aとが通信する場
合について説明すると、中継機能付端末装置4aが電文
を受信するとき、制御手段44は識別符号判断手段43
を用いて記憶手段42に記憶している第2識別符号と無
線通信手段41で受信した受信電文に含まれる識別符号
とを比較判断し、一致した場合には電文を受信し、第1
識別符号が含まれていない場合には中継を行わず、ま
た、一致しなかった場合は受信しない。また、中継機能
付端末装置4aが主装置1に電文を送信するとき、制御
手段44は記憶手段42に記憶している第2識別符号を
電文に含め、無線通信手段41を用いて主装置1に対し
て送信する。
The operation of the above configuration will be described. First, the case where the main apparatus 1 communicates with the terminal device with relay function 4a will be described. When the terminal device with relay function 4a receives a message, the control unit 44 sets the identification code determination unit 43a.
Is used to compare and determine the second identification code stored in the storage unit 42 and the identification code included in the received message received by the wireless communication unit 41, and when they match, the message is received.
If no identification code is included, no relay is performed, and if they do not match, no reception is performed. When the terminal device with relay function 4 a transmits a message to the main device 1, the control unit 44 includes the second identification code stored in the storage unit 42 in the message and uses the wireless communication unit 41 to transmit the main device 1. Send to

【0036】つぎに、中継を必要とする中継機能付端末
装置4bが中継機能付端末装置4aを介して主装置1に
通信する場合について説明する。図4はその動作を示す
フローチャートである。ステップS03において端末機
器5bで主装置1に対する通信が発生した場合、ステッ
プS04において中継機能付端末装置4bの制御手段4
4は記憶手段42から第1識別符号と第3識別符号とを
取得して送信する電文に含め、ステップS05において
無線通信手段41を用いて中継機能付端末装置4aに対
して送信する。中継機能付端末装置4aはステップS0
6でその電文を受信し、ステップS07において識別符
号判断手段43により電文中の識別符号を比較判断し、
ステップS08で中継を必要とするか否かをチェック
し、第1識別符号が含まれている場合は中継が必要であ
るとして、ステップS09に移行して電文に第2識別符
号を含め、ステップS10で中継制御手段47の制御に
より主装置1に対して電文を送信する。
Next, a case will be described in which the terminal device with relay function 4b that requires relaying communicates with the main device 1 via the terminal device with relay function 4a. FIG. 4 is a flowchart showing the operation. When communication with the main device 1 occurs in the terminal device 5b in step S03, the control unit 4 of the terminal device with relay function 4b in step S04.
4 obtains the first identification code and the third identification code from the storage means 42 and includes them in the message to be transmitted, and transmits them to the terminal device with relay function 4a using the wireless communication means 41 in step S05. The terminal device with relay function 4a executes step S0.
In step S07, the identification code is compared and determined by the identification code determination means 43.
In step S08, it is checked whether or not relaying is required. If the first identification code is included, it is determined that relaying is necessary, and the flow advances to step S09 to include the second identification code in the message, and step S10 Then, a message is transmitted to the main device 1 under the control of the relay control means 47.

【0037】主装置1はステップS11で中継機能付端
末装置4aからの電文を受信し、ステップS12におい
て電文中に第1識別符号が含まれていることにより中継
機能付端末装置4bからの電文であることを判断し、ス
テップS13において制御手段14の制御により必要に
応じて外部装置6に対して電文を送信する。
The main device 1 receives the message from the terminal device with relay function 4a in step S11, and receives the message from the terminal device with relay function 4b because the message contains the first identification code in step S12. It is determined that there is, and a message is transmitted to the external device 6 as needed under the control of the control means 14 in step S13.

【0038】以上のように本実施例によれば、中継機能
付端末装置4aが電文を受信したとき、その電文に中継
機能付端末装置4bと主装置1との関係を示す第1識別
符号が含まれている場合には主装置1へ中継するように
したことにより、主装置1と無線で通信して電文を送受
信することができるとともに、他の中継機能付端末装置
4bの電文を中継する機能を併せ備えることにより、格
別の中継装置を設ける必要がなく、中継機能付端末装置
はすべて同じ回路構成でよいので、中継の要不要に関係
なく同じ中継機能付端末装置を用いて無線データ収集シ
ステムを構成することができる。
As described above, according to this embodiment, when the terminal device with relay function 4a receives a message, the first identification code indicating the relationship between the terminal device with relay function 4b and the main device 1 is included in the message. When it is included, by relaying to the main device 1, it is possible to wirelessly communicate with the main device 1 to transmit and receive a message, and to relay the message of another terminal device 4b with a relay function. By having the functions together, it is not necessary to provide a special relay device, and all the terminal devices with a relay function need to have the same circuit configuration. Therefore, wireless data collection using the same terminal device with a relay function regardless of the necessity of relaying The system can be configured.

【0039】なお、本実施例では、中継機能付端末装置
4bから中継機能付端末装置4aを介して主装置1に通
信する場合について説明したが、主装置1から中継機能
付端末装置4aを介して中継機能付端末装置4bに通信
する場合も同様に行われる。また、中継機能付端末装置
が3台以上である場合も同様に通信を行うことができ
る。
In this embodiment, the case has been described in which the terminal device with relay function 4b communicates with the main device 1 via the terminal device with relay function 4a, but the main device 1 communicates with the terminal device with relay function 4a via the terminal device with relay function 4a. The same applies to communication with the terminal device with relay function 4b. Also, when there are three or more terminal devices with a relay function, communication can be similarly performed.

【0040】(実施例2)以下、本発明の無線データ収
集システムの第2の実施例について図面を参照しながら
説明する。本実施例は請求項2に係わる。
(Embodiment 2) Hereinafter, a second embodiment of the wireless data collection system of the present invention will be described with reference to the drawings. This embodiment relates to claim 2.

【0041】図5は本実施例の構成を示すブロック図で
あり、実施例1と異なる点は、中継機能付端末装置4a
と中継機能付端末装置4bとが通線通信により接続され
たことにある。
FIG. 5 is a block diagram showing the configuration of the present embodiment. The difference from the first embodiment is that the terminal device 4a has a relay function.
And the terminal device with relay function 4b are connected by communication through a wire.

【0042】図6は本実施例における主装置1および中
継機能付端末装置4a、4bの構成を示すブロック図で
ある。なお、図2および図3と同じ構成要素には同一番
号を付与して詳細な説明を省略する。図6において、4
8は中継制御手段47の制御により有線通信により、中
継機能付端末装置4aまたは中継機能付端末装置4bに
対して電文を送受信する有線通信手段である。なお、デ
ータ収集制御手段55については実施例4で説明する。
また、装置間の識別符号に関する取り決めは実施例1と
同じとする。
FIG. 6 is a block diagram showing the configuration of the main device 1 and the terminal devices with relay functions 4a and 4b in this embodiment. The same components as those in FIGS. 2 and 3 are denoted by the same reference numerals, and detailed description will be omitted. In FIG. 6, 4
Reference numeral 8 denotes a wired communication unit that transmits / receives a message to / from the terminal device with relay function 4a or the terminal device with relay function 4b through wired communication under the control of the relay control unit 47. The data collection control unit 55 will be described in a fourth embodiment.
Further, the rules regarding the identification code between the devices are the same as in the first embodiment.

【0043】上記構成においてその動作を説明する。ま
ず、主装置1と中継機能付端末装置4aが通信する場合
について説明する。中継機能付端末装置4aが電文を受
信するとき、制御手段44は識別符号判断手段43を用
いて記憶手段42に記憶している第2識別符号を無線通
信手段41により受信された電文に含まれる識別符号と
比較判断し、一致した場合その電文を受信し、第1識別
符号が含まれていない場合は中継機能付端末装置4bに
対して中継を行わない。また、一致しなかった場合は受
信しない。電文を送信するとき、制御手段44は記憶手
段42に記憶されている第2識別符号を電文に含め、無
線通信手段41を用いて主装置1に対して送信する。
The operation of the above configuration will be described. First, a case where the main device 1 and the terminal device with relay function 4a communicate will be described. When the terminal device with relay function 4 a receives the message, the control unit 44 uses the identification code determination unit 43 to include the second identification code stored in the storage unit 42 in the message received by the wireless communication unit 41. The message is received by comparison with the identification code. If the message matches, the message is received. If the first identification code is not included, the message is not relayed to the terminal device with relay function 4b. If they do not match, they are not received. When transmitting the message, the control unit 44 includes the second identification code stored in the storage unit 42 in the message and transmits the message to the main device 1 using the wireless communication unit 41.

【0044】つぎに、中継を必要とする中継機能付端末
装置4bが中継機能付端末装置4aを介して主装置1へ
通信する場合について説明する。中継機能付端末装置4
bは端末機器5bに変化が生じるとインターフェース手
段46を介してデータ検出手段45で端末機器5bの動
作状態の変化を検出し、制御手段44に対して主装置1
と通信を開始する旨の信号を送信する。中継機能付端末
装置4bの制御手段44は有線が接続されていることを
判断し、制御手段44はこの信号を受信することにより
有線通信手段48を用いて有線で通信を開始する。すな
わち、制御手段44は記憶手段42から第1識別符号と
第3識別符号とを取得し、これらの識別符号を含んだ電
文を有線通信手段48を用いて中継機能付端末装置4a
に対して送信する。
Next, a case will be described in which the terminal device with relay function 4b that requires relaying communicates with the main device 1 via the terminal device with relay function 4a. Terminal device 4 with relay function
b, when a change occurs in the terminal device 5b, the data detecting means 45 detects a change in the operating state of the terminal device 5b via the interface means 46, and sends the main device 1
And a signal to start communication. The control unit 44 of the terminal device with a relay function 4b determines that a wired connection is established, and the control unit 44 receives this signal and starts wired communication using the wired communication unit 48. That is, the control unit 44 acquires the first identification code and the third identification code from the storage unit 42, and transmits a message including these identification codes to the terminal device with relay function 4a using the wired communication unit 48.
Send to

【0045】一方、中継機能付端末装置4aにおいて、
中継制御手段47は有線通信手段48により中継機能付
端末装置4bからの電文を受信し、識別符号判断手段4
3を用いて識別符号を判断する。識別符号判断手段43
は記憶手段42に含まれる第3識別符号と比較判断し、
一致した場合に電文を受信し、さらに第1識別符号が含
まれている場合、中継制御手段47は主装置1に対して
無線通信手段41により無線を介して電文を中継する。
主装置1は制御手段14により無線通信手段11を用い
てその電文を受信し、識別符号判断手段13により記憶
手段12に記憶している第2識別符号と比較判断して、
一致した場合には電文を受信し、第1識別符号が含まれ
ている場合、中継機能付端末装置4bからの電文である
ことを判断する。また、必要に応じてインターフェース
手段16を介して外部装置6に対して電文を送信する。
On the other hand, in the terminal device with relay function 4a,
The relay control means 47 receives the message from the terminal device with relay function 4 b by the wired communication means 48 and
3 is used to determine the identification code. Identification code determining means 43
Is compared with the third identification code included in the storage means 42,
If they match, the message is received, and if the first identification code is included, the relay control means 47 relays the message to the main device 1 by wireless using the wireless communication means 41.
The main device 1 receives the message using the wireless communication unit 11 by the control unit 14, compares it with the second identification code stored in the storage unit 12 by the identification code determination unit 13,
If they match, the message is received, and if the first identification code is included, it is determined that the message is from the terminal device with relay function 4b. Further, a message is transmitted to the external device 6 via the interface means 16 as necessary.

【0046】以上のように、本実施例によれば、中継機
能付端末装置4aと中継機能付端末装置4bとを有線通
信で接続し、中継機能付端末装置4aが有線通信で電文
を受信したとき、その電文に中継機能付端末装置4bと
主装置1との関係を示す第1識別符号が含まれている場
合には主装置1へ中継するようにしたことにより、実施
例1と同様に、格別の中継装置を設けることなく中継機
能付端末装置4aで他の中継機能付端末装置4bの主装
置1への通信を中継することができるとともに、複数の
中継機能付端末装置を相互に有線通信で接続するので、
無線通信を遮る障害物が存在する場所、無線通信が他の
機器に影響を与える場所、また、高電圧などが絶えずノ
イズを発生して無線通信を妨害する場所などに対しても
中継機能付端末装置を容易に設置することができる。
As described above, according to the present embodiment, the terminal device with relay function 4a and the terminal device with relay function 4b are connected by wire communication, and the terminal device with relay function 4a receives the message by wire communication. When the message includes the first identification code indicating the relationship between the terminal device with relay function 4b and the main device 1, the message is relayed to the main device 1, so that the same as in the first embodiment. In addition, the terminal device with relay function 4a can relay the communication of the terminal device with another relay function 4b to the main device 1 without providing a special relay device, and a plurality of terminal devices with relay functions can be wired to each other. Because it connects by communication,
A terminal with a relay function for places where obstacles that block wireless communication exist, places where wireless communication affects other devices, and places where high voltage etc. constantly generates noise and interferes with wireless communication. The device can be easily installed.

【0047】なお、本実施例では中継機能付端末装置4
bから中継機能付端末装置4aを介した主装置1に対す
る通信について説明したが、主装置1から中継機能付端
末装置4aを介した中継機能付端末装置4bへの通信も
同様に行われ、また、中継機能付端末装置が3台以上の
場合も同様に通信することができる。
In this embodiment, the terminal device with relay function 4
b, communication with the main device 1 via the terminal device with relay function 4a has been described, but communication from the main device 1 to the terminal device with relay function 4b via the terminal device with relay function 4a is performed in the same manner, In the case where there are three or more terminal devices with a relay function, communication can be performed similarly.

【0048】(実施例3)以下、本発明の無線データ収
集システムの第3の実施例について図面を参照しながら
説明する。本実施例は請求項3に係わる。
(Embodiment 3) Hereinafter, a third embodiment of the wireless data collection system of the present invention will be described with reference to the drawings. This embodiment relates to claim 3.

【0049】図7および図8は本実施の構成を示すブロ
ック図である。なお、図1ないし図3と同じ構成要素に
は同一番号を付与して詳細な説明を省略する。本実施例
においては、図8に示したように、主装置1の電波到達
範囲は中継機能付端末装置4aと中継機能付端末装置4
bとの両方を含むが、中継機能付端末装置4a、4bか
らの応答状況に対応して一方の中継機能付端末装置に中
継させるようにしたことにある。
FIGS. 7 and 8 are block diagrams showing the configuration of the present embodiment. The same components as those in FIGS. 1 to 3 are denoted by the same reference numerals, and detailed description is omitted. In the present embodiment, as shown in FIG. 8, the radio wave reach of the main device 1 is determined by the terminal device with relay function 4a and the terminal device with relay function 4a.
b), but one of the relay function-equipped terminal devices is relayed according to the response status from the relay function-equipped terminal devices 4a and 4b.

【0050】図9は本実施例における主装置1および中
継機能付端末装置4a、4bの構成を示すブロック図で
ある。主装置1において、17は定期的に中継機能付端
末装置4a、4bに対して同期合わせのための同期信号
を送信する同期合わせ制御手段、18は前記同期信号の
送信に対して中継機能付端末装置4aおよび4bから返
信される応答電文の受信を制御する応答制御手段、19
は応答制御手段18から同期合わせ不能を検出する通信
不能検出手段、20は通信不能検出手段19により中継
が必要であることを判断し、制御手段14に対して中継
が必要である旨の信号を送信する中継判断手段である。
FIG. 9 is a block diagram showing the configuration of the main device 1 and the terminal devices with relay functions 4a and 4b in this embodiment. In the main device 1, 17 is a synchronization control means for periodically transmitting a synchronization signal for synchronization to the terminal devices with relay function 4a, 4b, and 18 is a terminal with a relay function for transmitting the synchronization signal. Response control means for controlling reception of response messages returned from the devices 4a and 4b, 19
Is a communication failure detecting means for detecting the synchronization failure from the response control means 18; a communication failure detecting means 19 determines that relaying is necessary; and sends a signal to the control means 14 to the effect that relaying is necessary. It is a relay determining means to transmit.

【0051】また、中継機能付端末装置4a、4bにお
いて、49は無線通信手段41に対して間欠的な同期通
信のタイミングを制御する同期制御手段、50は無線通
信手段41で受信した同期信号に対する応答電文の送信
を制御する同期応答制御手段、51は同期応答制御手段
50から同期合わせ不能を検出する通信不能検出手段、
52は通信不能検出手段51から中継が必要であること
を判断し、中継制御手段47に中継が必要である旨の信
号を送信する中継判断手段である。
In the terminal devices with relay function 4a, 4b, 49 is a synchronous control means for controlling the timing of intermittent synchronous communication with the wireless communication means 41, and 50 is a synchronous control means for receiving the synchronization signal received by the wireless communication means 41. A synchronous response control means for controlling transmission of the response message; 51, a communication failure detecting means for detecting a synchronization failure from the synchronous response control means 50;
Reference numeral 52 denotes a relay determination unit that determines that relay is necessary from the communication failure detection unit 51 and transmits a signal to the relay control unit 47 that relay is required.

【0052】上記構成においてその動作を説明する。主
装置1と中継機能付端末装置4a、4bは、それぞれ無
線通信手段11と無線通信手段41を介して無線で通信
する。このとき、省電力と衝突防止のために周期tで間
欠的に同期通信を行っており、主装置1は同期合わせ制
御手段17により、同期通信タイミングtを生成すると
ともに、周期T(ただし、T=nt:nは整数)ごとに
無線通信手段11を用いて中継機能付端末装置4a、4
bに対して同報で同期信号を送信する。一方、中継機能
付端末装置4a、4bは同期制御手段49により同期通
信タイミングtを生成し、また、主装置1からの電文待
ち受けやデータ検出手段45で検出したデータの送信を
行っており、タイマのずれを補正したり同期通信タイミ
ングtを変更するため、主装置1から同期信号を受信し
た場合には、同期通信タイミングtを受信した同期信号
の内容で再設定し、このとき同期応答制御手段50は無
線通信手段41を用いて主装置1に応答電文を送信す
る。主装置1はその応答電文を応答制御手段18により
無線通信手段11を介して受信する。このように主装置
1と中継機能付端末装置4a、4bは、同期通信タイミ
ングtで間欠受信を行っている。
The operation of the above configuration will be described. The main device 1 and the terminal devices with relay function 4a, 4b communicate wirelessly via the wireless communication means 11 and the wireless communication means 41, respectively. At this time, synchronous communication is performed intermittently at a cycle t to save power and prevent collision. The main apparatus 1 generates a synchronous communication timing t by the synchronization control unit 17 and sets a cycle T (T = Nt: n is an integer) using the wireless communication means 11 for each of the terminal devices 4a, 4
b, a synchronization signal is transmitted by broadcast. On the other hand, the terminal devices with relay functions 4a and 4b generate the synchronous communication timing t by the synchronous control means 49, and wait for a message from the main device 1 and transmit the data detected by the data detecting means 45. When a synchronization signal is received from the main device 1 to correct the deviation of the synchronization signal or to change the synchronization communication timing t, the synchronization communication timing t is reset with the content of the received synchronization signal. 50 transmits a response message to the main device 1 using the wireless communication means 41. The main device 1 receives the response message via the wireless communication unit 11 by the response control unit 18. As described above, the main device 1 and the terminal devices with relay functions 4a and 4b perform intermittent reception at the synchronous communication timing t.

【0053】まず、主装置1から中継機能付端末装置4
bに対して通信する場合について説明する。同期が合っ
ている場合は同期通信タイミングtで中継機能付端末装
置4bに対して第1識別符号を含めた電文を送信して通
信する。このとき、同期はずれが生じていると、すなわ
ち主装置1が中継機能付端末装置4bに対して送信する
同期信号に対して中継機能付端末装置4bからの応答電
文が受信されないとき、通信不能検出手段19は応答制
御手段18から中継機能付端末装置4bとの同期はずれ
を検出し、中継判断手段20は中継機能付端末装置4a
の中継を介して電文を中継機能付端末装置4bに送信す
べきであると判断し、制御手段14に対してその旨の信
号を送信する。制御手段14はその信号を受信すること
により記憶手段12から第1識別符号と第2識別符号と
を取得し、これらの識別符号を含めた電文を無線通信手
段11を用いて中継機能付端末装置4aに対して送信す
る。
First, from the main unit 1 to the terminal unit 4 with the relay function
The case of communicating with b will be described. If the synchronization is established, a message including the first identification code is transmitted to the terminal device with relay function 4b at the synchronous communication timing t for communication. At this time, if the synchronization is lost, that is, if the response message from the terminal device with relay function 4b is not received in response to the synchronization signal transmitted from the main device 1 to the terminal device with relay function 4b, the communication failure is detected. The means 19 detects the loss of synchronization with the terminal device with relay function 4b from the response control means 18, and the relay determination means 20 detects the loss of synchronization with the terminal device with relay function 4a.
It is determined that the message should be transmitted to the relay function-equipped terminal device 4b via the relay, and a signal to that effect is transmitted to the control means 14. The control means 14 obtains the first identification code and the second identification code from the storage means 12 by receiving the signal, and transmits a message including these identification codes using the wireless communication means 11 to the terminal device with a relay function. 4a.

【0054】中継機能付端末装置4aにおいて、制御手
段44は識別符号判断手段43により記憶手段42に記
憶されている第2識別符号と比較して一致判断し、一致
した場合は無線通信手段41により受信し、さらに第1
識別符号が含まれている場合には識別符号判断手段43
は中継制御手段47に対して中継機能付端末装置4bに
中継する旨の信号を送信し、その信号を受信することに
より中継制御手段47は送信する電文中のビット同期領
域の部分が同期通信タイミングtに重なるように変換、
たとえば、ビット同期領域の延長や電文の繰り返しなど
により変換し、無線通信手段41を用いて中継機能付端
末装置4bに対して送信する。
In the terminal device with relay function 4 a, the control means 44 compares the data with the second identification code stored in the storage means 42 by the identification code determination means 43 to judge the match. Receiving, and first
If the identification code is included, the identification code determination means 43
Sends a signal to the relay control means 47 to relay to the terminal device with relay function 4b, and upon receiving the signal, the relay control means 47 determines that the portion of the bit synchronization area in the message to be transmitted is a synchronous communication timing. converted to overlap t,
For example, the data is converted by extending the bit synchronization area or repeating a message, and transmitted to the terminal device with relay function 4b using the wireless communication unit 41.

【0055】図10は上記の通信動作を示すフローチャ
ートである。ステップS14とステップS15とにより
主装置1は同期合わせ制御手段17により時間間隔Tご
とに中継機能付端末装置4a、4bに対して同期信号を
同報で送信するとともに、同期通信タイミングtで間欠
通信を行っている。ステップS16において外部装置6
で通信が発生すると、ステップS17において制御手段
14は中継判断手段20からの信号により中継機能付端
末装置4bとの同期はずれが検出されているか否かをチ
ェックし、同期はずれが検出された場合はステップS1
8に移行して第1識別符号と第2識別符号とを電文に含
め、ステップS19において中継機能付端末装置4aに
対して送信する。
FIG. 10 is a flowchart showing the above communication operation. By the steps S14 and S15, the main apparatus 1 transmits the synchronization signal to the relay function-equipped terminal apparatuses 4a and 4b by the synchronization control means 17 at every time interval T, and performs the intermittent communication at the synchronous communication timing t. It is carried out. In step S16, the external device 6
When the communication occurs in step S17, the control unit 14 checks in step S17 whether a loss of synchronization with the terminal device with relay function 4b is detected based on a signal from the relay determination unit 20, and if the loss of synchronization is detected, Step S1
The process proceeds to step S8, where the first identification code and the second identification code are included in the message, and transmitted to the terminal device with relay function 4a in step S19.

【0056】ステップS20において中継機能付端末装
置4aはその電文を受信し、ステップS07において識
別符号を判断し、ステップS08において中継する必要
があるか否かをチェックする。中継する必要がある場合
にはステップS21に移行して、中継制御手段47によ
り電文を変換し、ステップS22に移行して中継機能付
端末装置4bに対して主装置1から送信されてきた電文
を中継する。ステップS11において中継機能付端末装
置4bはその電文を受信し、ステップS07において識
別符号判断手段43により自装置宛の電文であることを
判断する。また、ステップS17で同期がはずれていな
いと判断した場合は、ステップS23に移行して電文中
に第1識別符号を含め、同期通信タイミングtで中継機
能付端末装置4bに対して電文を送信する。
In step S20, the terminal device with relay function 4a receives the message, determines the identification code in step S07, and checks whether or not relaying is necessary in step S08. If relaying is necessary, the process proceeds to step S21, where the message is converted by the relay control means 47, and the process proceeds to step S22, where the message transmitted from the main device 1 to the terminal device with relay function 4b is transmitted. Relay. In step S11, the terminal device with relay function 4b receives the message, and in step S07, the identification code determination unit 43 determines that the message is addressed to itself. If it is determined in step S17 that synchronization has not been lost, the process proceeds to step S23, where the first identification code is included in the message, and the message is transmitted to the terminal device with relay function 4b at the synchronous communication timing t. .

【0057】以上のように本実施例によれば、主装置1
と中継機能付端末装置とが間欠で無線通信していると
き、主装置1から中継機能付端末装置4aと中継機能付
端末装置4bとに同期信号を同報で送出し、中継機能付
端末装置4bから前記同期信号の送出に対する応答電文
を受信しないときは中継機能付端末装置4bについては
中継が必要と判断し、中継機能付端末装置4aを介して
中継機能付端末装置4bと通信することができ、同期は
ずれの中継機能付端末装置は中継を担当する中継機能付
端末装置と有線で非同期で通信すればよいので、電波の
トラヒックを低減させることにもなり、また、有線通信
手段により中継機能付端末装置の構成を簡単にできて装
置の信頼性を向上させることもできる。
As described above, according to the present embodiment, the main device 1
When the terminal and the terminal device with the relay function are intermittently communicating wirelessly, the main device 1 broadcasts a synchronization signal to the terminal device with the relay function 4a and the terminal device with the relay function 4b by broadcasting, and the terminal device with the relay function. 4b, it is determined that relaying is necessary for the terminal device with relay function 4b, and communication with the terminal device with relay function 4b is performed via the terminal device with relay function 4a. Yes, the out-of-synchronization relay function-equipped terminal device only needs to communicate with the relay function-equipped terminal device that is in charge of relaying in a wired and asynchronous manner, thereby reducing radio wave traffic. The configuration of the attached terminal device can be simplified, and the reliability of the device can be improved.

【0058】なお、本実施例では、主装置1と中継機能
付端末装置4bとについて同期ずれが発生した場合につ
いて説明したが、主装置1と中継機能付端末装置4aと
について同期ずれが発生した場合も同様である。また、
中継機能付端末装置4bから中継機能付端末装置4aを
介して主装置1に通信する場合も同様である。また、中
継機能付端末装置が3台以上である場合についても同様
に通信を行うことができる。
In this embodiment, a case has been described in which a synchronization error has occurred between the main device 1 and the terminal device with relay function 4b. However, a synchronization error has occurred between the main device 1 and the terminal device with relay function 4a. The same applies to the case. Also,
The same applies to communication from the terminal device with relay function 4b to the main device 1 via the terminal device with relay function 4a. Also, communication can be performed in a similar manner when there are three or more terminal devices with a relay function.

【0059】(実施例4)以下、本発明の無線データ収
集システムの第4の実施例について図面を参照しながら
説明する。本実施例は請求項4に係わる。
(Embodiment 4) Hereinafter, a fourth embodiment of the wireless data collection system of the present invention will be described with reference to the drawings. This embodiment relates to claim 4.

【0060】図11および図12は本実施例の構成を示
すブロック図である。なお、図7ないし図9と同じ構成
要素には同一番号を付与して詳細な説明を省略する。本
実施例においては、中継機能付端末装置4aと中継機能
付端末装置4bとは有線接続されている。また、図12
に示したように、主装置1の電波到達範囲は中継機能付
端末装置4aと中継機能付端末装置4bの両方を含んで
いるが、主装置1と中継機能付端末装置4bとの間は到
達範囲の限界に近い状態となっている。本実施例では通
信相手からの応答状況に対応して中継機能付端末装置へ
の適切な通信経路を判断するようにしている。
FIGS. 11 and 12 are block diagrams showing the configuration of this embodiment. Note that the same components as those in FIGS. 7 to 9 are denoted by the same reference numerals, and detailed description is omitted. In this embodiment, the terminal device with relay function 4a and the terminal device with relay function 4b are connected by wire. FIG.
As shown in, the radio wave coverage of the main device 1 includes both the terminal device with relay function 4a and the terminal device with relay function 4b, but the distance between the main device 1 and the terminal device with relay function 4b is reached. It is near the limit of the range. In this embodiment, an appropriate communication path to the terminal device with a relay function is determined according to the response status from the communication partner.

【0061】図13は本実施例における主装置1および
中継機能付端末装置4a、4bの構成を示すブロック図
である。主装置1において、21は応答制御手段18か
ら電文の通信経路を判断する通信経路判断手段、22は
電界強度測定手段、23は電文比較手段である。また、
中継機能付端末装置4a、4bにおいて、53は電文の
送信に対して返信される応答電文の受信を制御する応答
制御手段、54は電文を送信する通信経路を応答制御手
段53により判断する通信経路判断手段、55はデータ
収集制御手段、56は電界強度測定手段である。なお、
電界強度測定手段56については実施例5で説明する。
FIG. 13 is a block diagram showing the configuration of the main device 1 and the terminal devices with relay functions 4a and 4b in this embodiment. In the main apparatus 1, reference numeral 21 denotes a communication path determining means for determining a communication path of a message from the response control means 18, reference numeral 22 denotes an electric field strength measuring means, and reference numeral 23 denotes a message comparing means. Also,
In the relay function-equipped terminal devices 4a and 4b, 53 is a response control means for controlling reception of a response message returned in response to transmission of the message, and 54 is a communication path for determining a communication path for transmitting the message by the response control means 53. Judgment means, 55 is data collection control means, and 56 is electric field strength measurement means. In addition,
The electric field strength measuring means 56 will be described in a fifth embodiment.

【0062】上記構成においてその動作を説明する。主
装置1と中継機能付端末装置4a、4bは、それぞれ無
線通信手段11と41を介して無線で通信する。まず、
主装置1から中継機能付端末装置4aを介した中継機能
付端末装置4bに対する通信について説明する。主装置
1から中継機能付端末装置4bに対して通信する場合、
制御手段14は記憶手段12から中継機能付端末装置4
bを含むグループ識別符号を取得し、このグループ識別
符号を含めた電文を無線通信手段11を用いて同報で送
信する。ここで、上記グループ識別符号は中継機能付端
末装置4a、4bの両方を指定する識別符号であり、中
継機能付端末装置4a、4bにおいて制御手段44は識
別符号判断手段43により記憶手段42に含まれるグル
ープ識別符号と一致判断を行い、一致した場合は無線通
信手段41により受信し、応答制御手段53により応答
電文を所定のタイミングで無線通信手段41を用いて主
装置1に対して送信する。
The operation of the above configuration will be described. The main device 1 and the terminal devices with relay functions 4a and 4b communicate wirelessly via wireless communication means 11 and 41, respectively. First,
Communication from the main device 1 to the terminal device with relay function 4b via the terminal device with relay function 4a will be described. When communicating from the main device 1 to the terminal device with relay function 4b,
The control means 14 stores the terminal device with relay function 4 from the storage means 12.
A group identification code including “b” is obtained, and a message including the group identification code is transmitted by broadcast using the wireless communication unit 11. Here, the group identification code is an identification code for designating both of the terminal devices with relay functions 4a and 4b. In the terminal devices with relay functions 4a and 4b, the control unit 44 is included in the storage unit 42 by the identification code determination unit 43. The wireless communication unit 41 receives the response message, and the response control unit 53 transmits a response message to the main device 1 at a predetermined timing using the wireless communication unit 41.

【0063】主装置1において、通信経路判断手段21
は応答制御手段18を用いて応答を判断し、中継機能付
端末装置4bからのみ応答電文が返信された場合、制御
手段14は記憶手段12から第1識別符号を取得して無
線通信手段11により第1識別符号を含めた電文を中継
機能付端末装置4bに対して送信する。また、中継機能
付端末装置4a、4bの両方から応答電文が送信された
場合、制御手段14は記憶手段12に記憶されている第
1識別符号と第2識別符号、またはそのうちの一方を所
定の手順(たとえば、識別符号の値により選択)に従っ
て選択し、その識別符号を含んだ電文を無線通信手段1
1を用いて中継機能付端末装置4aまたは中継機能付端
末装置4bに対して送信する。また、中継機能付端末装
置4aからのみ応答電文が返信された場合、制御手段1
4は記憶手段12より第1識別符号と第2識別符号を取
得し、無線通信手段11からそれらの識別符号を含めた
電文を中継機能付端末装置4aに対して送信する。
In the main unit 1, the communication path determining means 21
Determines the response using the response control means 18, and if a response message is returned only from the terminal device with relay function 4 b, the control means 14 acquires the first identification code from the storage means 12 and The message including the first identification code is transmitted to the terminal device with relay function 4b. When a response message is transmitted from both of the terminal devices with relay function 4a and 4b, the control unit 14 determines whether the first identification code and the second identification code stored in the storage unit 12 or one of them is a predetermined one. The message is selected according to a procedure (for example, selected by the value of the identification code), and a message including the identification code is transmitted to the wireless communication unit 1.
1 to the terminal device with relay function 4a or the terminal device with relay function 4b. When a response message is returned only from the terminal device with relay function 4a, the control unit 1
4 obtains the first identification code and the second identification code from the storage means 12 and transmits a message including the identification codes from the wireless communication means 11 to the terminal device with relay function 4a.

【0064】一方、中継機能付端末装置4aにおいて、
制御手段44は識別符号判断手段43により一致判断を
行い、第2識別符号が含まれていた場合は無線通信手段
41を用いてその電文を受信し、さらに第1識別符号が
含まれていた場合は、中継制御手段47により有線通信
手段48を用いて中継機能付端末装置4bに対してその
電文を有線で送信する。中継機能付端末装置4bはその
電文を有線通信手段48により受信する。
On the other hand, in the terminal device with relay function 4a,
The control means 44 makes a match determination by the identification code determination means 43. If the second identification code is included, the control means 44 receives the message using the wireless communication means 41, and further includes the first identification code. Transmits the message to the terminal device with relay function 4b by wire using the wire communication means 48 by the relay control means 47. The terminal device with relay function 4b receives the message via the wired communication means 48.

【0065】つぎに、中継機能付端末装置4bから主装
置1に対する通信について説明する。中継機能付端末装
置4bは端末機器5に変化が生じるとインターフェース
手段46を介してデータ検出手段45により端末機器5
bの動作状態の変化を検出し、制御手段44に対して主
装置1と通信を開始する旨の信号を送信する。制御手段
44はその信号を受信することにより記憶手段42から
第1識別符号を取得し、無線通信手段41を用いて主装
置1に対して電文を送信し、これに対する主装置1から
の応答電文を無線通信手段41を介して応答制御手段5
3により受信する。ここで、応答電文を受信できない場
合、通信経路判断手段54により通信経路を中継制御手
段47により有線通信に変更し、第3識別符号と第1識
別符号とを含めた電文を有線通信手段48を用いて中継
機能付端末装置4aを介して主装置1に対して送信す
る。
Next, communication from the terminal device with relay function 4b to the main device 1 will be described. When a change occurs in the terminal device 5, the terminal device with a relay function 4 b is transmitted to the terminal device 5 by the data detection unit 45 via the interface unit 46.
The change in the operating state of b is detected, and a signal to start communication with the main device 1 is transmitted to the control means 44. The control unit 44 receives the signal, acquires the first identification code from the storage unit 42, transmits a message to the main device 1 using the wireless communication unit 41, and responds to the response message from the main device 1. Through the wireless communication means 41 to the response control means 5
3 to receive. If the response message cannot be received, the communication path is changed by the communication path determination means 54 to the wired communication by the relay control means 47, and the message including the third identification code and the first identification code is transmitted to the wired communication means 48. And transmits it to the main device 1 via the terminal device with relay function 4a.

【0066】図14は主装置1から中継機能付端末装置
4bに対する主装置1の通信動作を示すフローチャート
である。ステップS16において外部装置6から通信が
生じた場合、中継機能付端末装置4a、4bに対して同
期信号を送信し、ステップS26ないしステップS28
で、それに対する応答電文を受信する。つぎに、ステッ
プS07で識別符号を判断し、ステップS29で通信経
路を判断することにより以降の通信を行う。
FIG. 14 is a flowchart showing the communication operation of the main unit 1 from the main unit 1 to the terminal device with relay function 4b. If communication has occurred from the external device 6 in step S16, a synchronization signal is transmitted to the terminal devices with relay function 4a, 4b, and steps S26 to S28 are performed.
Then, a response message corresponding thereto is received. Next, the subsequent communication is performed by determining the identification code in step S07 and determining the communication path in step S29.

【0067】以上のように本実施例によれば、主装置1
から中継機能付端末装置4bに送信する場合に、中継機
能付端末装置4bからのみ応答電文を受けた場合には中
継機能付端末装置4bに送信し、中継機能付端末装置4
aからのみ応答電文を受けた場合には中継機能付端末装
置4aを中継させて中継機能付端末装置4bに送信し、
両方から応答電文を受けた場合には所定の約束に従って
いずれか一方または両方に送信するように、電文を送信
する通信経路を判断するようにしたことにより、応答状
況に対応して確実に送信することができ、しかも、中継
機能付端末装置は相互に有線で接続されているため、電
波環境に影響されずに任意の場所に中継機能付端末装置
を設置でき、また、無線で通信する中継機能付端末装置
を1つにすることができるので、無線通信のトラフィッ
クを低減しながら、かつ電波環境のよい場所を選定して
設定すれば、信頼性の高い無線データ収集システムを構
築することができる。
As described above, according to the present embodiment, the main unit 1
To the terminal device with relay function 4b, if the response message is received only from the terminal device with relay function 4b, the response message is transmitted to the terminal device with relay function 4b.
When the response message is received only from the terminal device a, the terminal device with the relay function 4a is relayed and transmitted to the terminal device with the relay function 4b,
When the response message is received from both, the communication path for transmitting the message is determined so that the message is transmitted to one or both according to a predetermined promise, so that the message is reliably transmitted according to the response situation. Since the terminal devices with the relay function can be connected to each other by wire, the terminal device with the relay function can be installed at any place without being affected by the radio wave environment. Since the number of attached terminal devices can be reduced to one, a highly reliable wireless data collection system can be constructed by selecting and setting a place having a good radio wave environment while reducing wireless communication traffic. .

【0068】なお、本実施例では主装置1から中継機能
付端末装置4aを介した中継機能付端末装置4bに対す
る通信および中継機能付端末装置4bから中継機能付端
末装置4aを介した主装置1に対する通信について説明
したが、主装置1から中継機能付端末装置4bを介した
中継機能付端末装置4aに対する通信および中継機能付
端末装置4aから中継機能付端末装置4bを介した主装
置1に対する通信も同様に行われる。また、中継機能付
端末装置が3台以上の場合も同様に通信が行われる。
In this embodiment, communication from the main unit 1 to the terminal unit with relay function 4b via the terminal unit with relay function 4a and from the terminal unit with relay function 4b to the main unit 1 via the terminal unit with relay function 4a Has been described, communication from the main device 1 to the terminal device with relay function 4a via the terminal device with relay function 4b and communication from the terminal device with relay function 4a to the main device 1 via the terminal device with relay function 4b Is performed similarly. Also, when there are three or more terminal devices with a relay function, communication is performed similarly.

【0069】(実施例5)以下、本発明の無線データ収
集システムの第5の実施例について図面を参照しながら
説明する。本実施例は請求項5に係わる。
(Embodiment 5) Hereinafter, a fifth embodiment of the wireless data collection system of the present invention will be described with reference to the drawings. This embodiment relates to claim 5.

【0070】本実施例の構成は実施例4における図11
ないし図13に示した構成と同じである。本実施例は、
とくに電界強度測定手段22および56に係わる。
The structure of this embodiment is similar to that of the fourth embodiment shown in FIG.
13 is the same as the configuration shown in FIG. In this embodiment,
In particular, it relates to the electric field intensity measuring means 22 and 56.

【0071】上記構成においてその動作を説明する。図
15は本実施例の動作を示すフローチャートである。主
装置1と中継機能付端末装置4a、4bは、それぞれ無
線通信手段11と41を介して無線で通信する。主装置
1から中継機能付端末装置4bに対して通信する場合、
主装置1において制御手段14は記憶手段12から中継
機能付端末装置4bを含むグループのグループ識別符号
を取得し、その識別符号を含めた電文を無線通信手段1
1を用いて同報で送信する。ここで、グループ識別符号
は中継機能付端末装置4a、4bの両方を指定する識別
符号であり、中継機能付端末装置4a、4bにおいて制
御手段44は識別符号判断手段43により一致判断を行
い、記憶手段42に含まれるグループ識別符号と一致し
た場合、無線通信手段41により電文を受信し、応答制
御手段53により応答電文を所定のタイミングで無線通
信手段41を用いて主装置1に対して送信する。
The operation of the above configuration will be described. FIG. 15 is a flowchart showing the operation of this embodiment. The main device 1 and the terminal devices with relay functions 4a and 4b communicate wirelessly via wireless communication means 11 and 41, respectively. When communicating from the main device 1 to the terminal device with relay function 4b,
In the main unit 1, the control unit 14 acquires the group identification code of the group including the terminal device with relay function 4b from the storage unit 12, and transmits a message including the identification code to the wireless communication unit 1.
1 and transmitted by broadcast. Here, the group identification code is an identification code for designating both of the terminal devices with relay function 4a, 4b. In the terminal devices with relay function 4a, 4b, the control means 44 makes a coincidence determination by the identification code determination means 43, and stores them. If it matches the group identification code included in the means 42, the message is received by the wireless communication means 41, and the response message is transmitted to the main device 1 by the response control means 53 at a predetermined timing using the wireless communication means 41. .

【0072】主装置1において、通信経路判断手段21
は応答制御手段18を用いて応答を判断し、中継機能付
端末装置4bからのみ応答電文が返信された場合は、制
御手段14は記憶手段12から第1識別符号を取得して
無線通信手段11からその識別符号を含めた電文を中継
機能付端末装置4bに対して送信する。また、中継機能
付端末装置4aからのみ応答電文が返信された場合は、
制御手段14は記憶手段12から第1識別符号と第2識
別符号とを取得し、無線通信手段11よりそれらの識別
符号が含まれた電文を中継機能付端末装置4aに対して
送信する。中継機能付端末装置4aにおいて制御手段4
4は識別符号判断手段43により第2識別符号が一致し
た場合は無線通信手段41を用いてこの電文を受信し、
さらに第1識別符号が含まれていた場合は中継制御手段
47により有線通信手段48を用いて中継機能付端末装
置4bに対して送信する。中継機能付端末装置4bはそ
の電文を有線通信手段48により受信する。以上の動作
は実施例4と同じである。
In main unit 1, communication path determining means 21
Uses the response control means 18 to determine a response. If a response message is returned only from the terminal device with relay function 4b, the control means 14 obtains the first identification code from the storage means 12 and Transmits a message including the identification code to the terminal device with relay function 4b. When a response message is returned only from the terminal device with relay function 4a,
The control unit 14 acquires the first identification code and the second identification code from the storage unit 12, and transmits a message including the identification codes to the terminal device with relay function 4a from the wireless communication unit 11. The control means 4 in the terminal device with relay function 4a
4 receives this message using the wireless communication means 41 when the second identification code matches with the identification code determination means 43;
Further, when the first identification code is included, the relay control unit 47 transmits the first identification code to the terminal device with relay function 4 b using the wired communication unit 48. The terminal device with relay function 4b receives the message via the wired communication means 48. The above operation is the same as in the fourth embodiment.

【0073】また、中継機能付端末装置4a、4bの両
方から応答電文が返信された場合、制御手段14は電界
強度測定手段22を用いてそれぞれの応答電文の電界強
度を測定し、中継機能付端末装置4aからの応答電文の
電界強度が中継機能付端末装置4bからの応答電文の電
界強度よりも大きい場合は、第1識別符号と第2識別符
号とを含めた電文を中継機能付端末装置4aに送信し、
そうでない場合は第1識別符号を含めた電文を中継機能
付端末装置4bに送信する。
When a response message is returned from both of the terminal devices 4a and 4b with the relay function, the control means 14 measures the electric field strength of each response message using the electric field strength measuring means 22 and outputs the response message. If the electric field strength of the response message from the terminal device 4a is larger than the electric field strength of the response message from the terminal device with relay function 4b, the message including the first identification code and the second identification code is transmitted to the terminal device with the relay function. 4a,
Otherwise, a message including the first identification code is transmitted to the terminal device with relay function 4b.

【0074】つぎに、中継機能付端末装置4bから主装
置1に対する通信について説明する。中継機能付端末装
置4bは端末機器5bに変化が生じると、インターフェ
ース手段46を介してデータ検出手段45により端末機
器5bの動作状態の変化を検出し、制御手段44に対し
て主装置1と通信を開始する旨の信号を送信する。制御
手段44は記憶手段42から第1識別符号を取得し、無
線通信手段41を用いて主装置1に対して電文を送信
し、これに対する応答電文を応答制御手段53により受
信し、電界強度測定手段56により応答電文の電界強度
を測定する。また、制御手段44は記憶手段42から第
3識別符号を取得し、無線通信手段41を用いて中継機
能付端末装置4aに対して主装置1に対する電界強度を
測定する旨の電文を送信する。中継機能付端末装置4a
はその電文の受信により、主装置1に対して電文を送信
し、それに対して返信される応答電文を受信することに
より、電界強度測定手段56を用いて電界強度を測定
し、その結果を中継機能付端末装置4bに対して有線通
信手段48を用いて送信する。中継機能付端末装置4b
における通信経路判断手段54はその結果と先の結果と
を比較判断し、電界強度の大きい通信経路を選択して主
装置1と通信する。
Next, communication from the terminal device with relay function 4b to the main device 1 will be described. When a change occurs in the terminal device 5b, the terminal device with relay function 4b detects a change in the operation state of the terminal device 5b by the data detection unit 45 via the interface unit 46 and communicates with the control unit 44 with the main device 1. Is transmitted. The control unit 44 obtains the first identification code from the storage unit 42, transmits a message to the main device 1 using the wireless communication unit 41, receives a response message corresponding thereto by the response control unit 53, and measures the electric field strength. Means 56 measures the electric field strength of the response message. Further, the control unit 44 acquires the third identification code from the storage unit 42, and transmits a message to the effect that the electric field strength for the main device 1 is measured to the terminal device with relay function 4 a using the wireless communication unit 41. Terminal device 4a with relay function
Receives the message, transmits the message to the main device 1, receives the response message returned thereto, measures the electric field strength using the electric field strength measuring means 56, and relays the result. The data is transmitted to the terminal device with function 4b using the wired communication unit 48. Terminal device 4b with relay function
The communication path determination means 54 compares the result with the previous result, selects a communication path having a large electric field strength, and communicates with the main device 1.

【0075】図15は主装置1から中継機能付端末装置
4bに対する通信動作を示すフローチャートである。ス
テップS16において外部装置6から通信が生じた場
合、中継機能付端末装置4a、4bに対して同期信号を
送信し、ステップS25においてそれに対する応答電文
を受信する。ここで、ステップS28で応答電文を中継
機能付端末装置4a、4bの両方から受信した場合、ス
テップS07に移行して識別符号を判断し、ステップS
34に移行して電界強度測定手段22により応答電文の
電界強度を測定し、ステップS35において電界強度を
比較する。つぎに、ステップS29において比較結果か
ら通信経路を判断することにより以降の通信を行う。
FIG. 15 is a flowchart showing a communication operation from the main device 1 to the terminal device with relay function 4b. If communication has occurred from the external device 6 in step S16, a synchronization signal is transmitted to the terminal devices with relay function 4a, 4b, and a response message corresponding thereto is received in step S25. Here, when the response message is received from both of the terminal devices with relay functions 4a and 4b in step S28, the process proceeds to step S07 to determine the identification code, and the process proceeds to step S07.
In step S35, the electric field intensity of the response message is measured by the electric field intensity measuring means 22, and the electric field intensity is compared in step S35. Next, in step S29, the subsequent communication is performed by determining the communication path from the comparison result.

【0076】以上のように本実施例によれば、応答電文
の電界強度を測定し、その結果に対応して通信経路を設
定することにより、複数の通信経路のうちの最適と考え
る通信経路を選択して通信でき、無線データ収集システ
ムの信頼性を向上させることができる。
As described above, according to the present embodiment, the electric field strength of the response message is measured, and the communication path is set in accordance with the result. Communication can be selectively performed, and the reliability of the wireless data collection system can be improved.

【0077】なお、本実施例では、主装置1から中継機
能付端末装置4aを介した中継機能付端末装置4bに対
する通信および中継機能付端末装置4bから中継機能付
端末装置4aを介した主装置1に対する通信について説
明したが、主装置1から中継機能付端末装置4bを介し
た中継機能付端末装置4aに対する通信および中継機能
付端末装置4aから中継機能付端末装置4bを介した主
装置1に対する通信も同様に行われる。また、中継機能
付端末装置が3台以上の場合も同様に通信が行われる。
In this embodiment, the communication from the main unit 1 to the terminal unit with relay function 4b via the terminal unit with relay function 4a and the terminal unit with relay function 4b from the main unit via the terminal unit with relay function 4a 1 has been described, communication from the main device 1 to the terminal device with relay function 4a via the terminal device with relay function 4b, and communication from the terminal device with relay function 4a to the main device 1 via the terminal device with relay function 4b Communication is performed similarly. Also, when there are three or more terminal devices with a relay function, communication is performed similarly.

【0078】(実施例6)以下、本発明の無線データ収
集システムの第8の実施例について図面を参照しながら
説明する。本実施例は請求項6にかかわる。
Embodiment 6 Hereinafter, an eighth embodiment of the wireless data collection system of the present invention will be described with reference to the drawings. This embodiment relates to claim 6.

【0079】本実施例の構成は実施例4における図11
ないし図13に示した構成と同じである。本実施例は、
とくに電文比較手段23に係わる。
The configuration of this embodiment is similar to that of the fourth embodiment shown in FIG.
13 is the same as the configuration shown in FIG. In this embodiment,
In particular, it relates to the message comparison means 23.

【0080】上記構成においてその動作を説明する。図
16は本実施例の動作を示すフローチャートである。主
装置1と中継機能付端末装置4a、4bは、それぞれ無
線通信手段11と41を介して無線で通信する。まず、
主装置1が中継機能付端末装置4bに接続された端末機
器5からデータを収集する場合について説明する。主装
置1において、外部装置6からインターフェース手段1
6とデータ検出手段15とを介して、中継機能付端末装
置4bに接続された端末機器5bからデータを収集する
旨の信号を受信すると、制御手段14は記憶手段12か
ら第1識別符号を取得し、その識別符号を含めた電文を
無線通信手段11を用いて中継機能付端末装置4bに対
して送信する。
The operation of the above configuration will be described. FIG. 16 is a flowchart showing the operation of this embodiment. The main device 1 and the terminal devices with relay functions 4a and 4b communicate wirelessly via wireless communication means 11 and 41, respectively. First,
A case where the main device 1 collects data from the terminal device 5 connected to the terminal device with relay function 4b will be described. In the main device 1, the interface device 1
When the control unit 14 receives a signal to collect data from the terminal device 5b connected to the terminal device with relay function 4b via the data unit 6 and the data detection unit 15, the control unit 14 obtains the first identification code from the storage unit 12. Then, the message including the identification code is transmitted to the terminal device with relay function 4b using the wireless communication means 11.

【0081】中継機能付端末装置4bにおいて、制御手
段44はその電文を無線通信手段41を用いて受信し、
インターフェース手段46とデータ検出手段45とを介
して端末機器5bからデータを取得し、その情報と記憶
手段42に記憶されている第1識別符号とを電文に含
め、無線通信手段41を介して主装置1に対して送信す
る。さらに、制御手段44はその情報と記憶手段42に
記憶されている第1識別符号と第2識別符号とを電文に
含め、有線通信手段48を用いて中継機能付端末装置4
aを中継させて主装置1に対して送信する。主装置1は
これら2種類の電文を無線通信手段11を用いて受信
し、制御手段14は電文比較手段23を用いてそれらの
受信電文を比較判定し、一致した場合は必要に応じてイ
ンターフェース手段16を介して外部装置6に送信す
る。一致しなかった場合は制御手段44により所定の再
送処理を行う。
In the terminal device with relay function 4 b, the control means 44 receives the message using the wireless communication means 41,
Data is obtained from the terminal device 5b via the interface means 46 and the data detection means 45, and the information and the first identification code stored in the storage means 42 are included in the message, and the main data is obtained via the wireless communication means 41. Transmit to the device 1. Further, the control unit 44 includes the information and the first identification code and the second identification code stored in the storage unit 42 in the message, and uses the wired communication unit 48 to transmit the terminal device 4 with the relay function.
a is relayed and transmitted to the main device 1. The main device 1 receives these two types of messages using the wireless communication unit 11, and the control unit 14 compares and determines the received messages using the message comparison unit 23. 16 to the external device 6. If they do not match, the control unit 44 performs a predetermined retransmission process.

【0082】図16は上記の動作を示すフローチャート
である。主装置1において、ステップS36で外部装置
6から中継機能付端末装置4bに対する通信要求が発生
すると、ステップS22に移行して中継機能付端末装置
4bに対して端末機器5bからデータを収集する旨の電
文を送信する。ステップS20で中継機能付端末装置4
bはその電文を受信し、ステップS43において制御手
段44はインターフェース手段46を介して端末機器5
bから収集したデータを主装置1に対して送信し、つぎ
にステップS37で中継機能付端末装置4aに対して有
線通信によりそのデータを送信する。
FIG. 16 is a flowchart showing the above operation. In the main device 1, when a communication request is issued from the external device 6 to the terminal device with relay function 4b in step S36, the process proceeds to step S22 to collect data from the terminal device 5b to the terminal device with relay function 4b. Send a message. In step S20, the terminal device with relay function 4
b receives the message, and in step S43, the control unit 44 sends the terminal device 5 via the interface unit 46.
The data collected from b is transmitted to the main device 1, and then the data is transmitted by wire communication to the terminal device with relay function 4a in step S37.

【0083】中継機能付端末装置4aはステップS38
でそのデータを有線通信で受信し、ステップS10で無
線通信手段41を用いて主装置1に対してそのデータを
送信する。主装置1はステップS11において中継機能
付端末装置4aからその電文を受信し、ステップS39
で中継機能付端末装置4bから受信した受信電文と中継
機能付端末装置4aから受信した受信電文とを電文比較
手段23により比較し、ステップS40で一致するか否
かをチェックする。一致した場合はステップS42に移
行して必要により外部装置6に対して電文を送信する
が、一致しない場合はステップS42に移行して所定の
再送処理を行う。
The terminal device with relay function 4a executes step S38.
Then, the data is received by wire communication, and the data is transmitted to the main device 1 using the wireless communication means 41 in step S10. The main device 1 receives the message from the terminal device with relay function 4a in step S11, and proceeds to step S39.
Then, the received message received from the terminal device with relay function 4b and the received message received from the terminal device with relay function 4a are compared by the message comparing means 23, and it is checked in step S40 if they match. If they match, the process proceeds to step S42 to transmit a message to the external device 6 as necessary. If they do not match, the process proceeds to step S42 to perform a predetermined retransmission process.

【0084】以上のように本実施例によれば、主装置1
の電波到達範囲が中継機能付端末装置4aと中継機能付
端末装置4bの両方を含んでいるときに中継機能付端末
装置4bから端末機器5bのデータを収集する場合、中
継機能付端末装置4bからの受信電文と中継機能付端末
装置4aを中継した受信電文とを一致比較するようにし
たことにより、より正確にデータを収集することができ
る。
As described above, according to the present embodiment, the main unit 1
When data of the terminal device 5b is collected from the terminal device with relay function 4b when the radio wave coverage of the terminal device includes both the terminal device with relay function 4a and the terminal device with relay function 4b, Is compared with the received message relayed through the terminal device with relay function 4a, data can be collected more accurately.

【0085】なお、本実施例では、主装置1から中継機
能付端末装置4bに対する通信について説明したが、主
装置1から中継機能付端末装置4aに対する通信も同様
に行われる。また、中継機能付端末装置が3台以上の場
合も同様に通信が行われる。
In this embodiment, the communication from the main device 1 to the terminal device with relay function 4b has been described. However, the communication from the main device 1 to the terminal device with relay function 4a is performed in the same manner. Also, when there are three or more terminal devices with a relay function, communication is performed similarly.

【0086】(実施例7)以下、本発明の無線データ収
集システムの第7の実施例について図面を参照しながら
説明する。本実施例は請求項7に係わる。
(Embodiment 7) Hereinafter, a wireless data collection system according to a seventh embodiment of the present invention will be described with reference to the drawings. This embodiment relates to claim 7.

【0087】図5、図11、および図12は本実施例の
構成を示すブロック図である。また、図13において、
55は有線通信手段48を用いてデータを収集するデー
タ収集制御手段である。本実施例は、とくにデータ収集
制御手段55に係わる。
FIGS. 5, 11 and 12 are block diagrams showing the configuration of the present embodiment. In FIG. 13,
Reference numeral 55 denotes data collection control means for collecting data using the wired communication means 48. The present embodiment particularly relates to the data collection control means 55.

【0088】上記構成においてその動作を説明する。中
継機能付端末装置4aにおいて、端末機器5aに変化が
生じるとインターフェース手段46を介してデータ検出
手段45で端末機器5aの動作状態の変化を検出する。
データ収集制御手段55は検出されたデータを記憶手段
42に記憶しておく。つぎに、所定の時間になると、有
線通信手段48を用いて中継機能付端末装置4bに対し
て記憶手段42に記憶している識別符号を用いて端末機
器5bのデータを要求する電文を送信し、受信したデー
タを自装置の記憶手段42に記憶しておく。主装置1か
ら中継機能付端末装置4aに対する通信、または中継機
能付端末装置4aから主装置1への通信により、中継機
能付端末装置4aの制御手段44は記憶手段42に記憶
された端末機器5aと端末機器5bとの2種類のデータ
を一括して送信する。中継機能付端末装置4bについて
も同様の動作を行うことができる。
The operation of the above configuration will be described. In the terminal device with relay function 4a, when a change occurs in the terminal device 5a, a change in the operating state of the terminal device 5a is detected by the data detection means 45 via the interface means 46.
The data collection control unit 55 stores the detected data in the storage unit 42. Next, at a predetermined time, a message requesting data of the terminal device 5b is transmitted to the terminal device with relay function 4b using the wired communication unit 48 and the identification code stored in the storage unit 42. The received data is stored in the storage unit 42 of the own device. By the communication from the main device 1 to the terminal device with relay function 4a or from the terminal device with relay function 4a to the main device 1, the control means 44 of the terminal device with relay function 4a stores the terminal equipment 5a stored in the storage means 42. And the terminal device 5b are collectively transmitted. The same operation can be performed for the terminal device with relay function 4b.

【0089】以上のように本実施例によれば、データ収
集制御手段55により自装置に接続された端末機器のデ
ータを収集するとともに、他の中継機能付端末装置に接
続された端末機器のデータとを有線通信を介して収集
し、両者を一括して主装置1に送信することにより、主
装置1は中継機能付端末装置ごとに1台ずつデータを収
集する必要がなく、トラフィックを増大させることな
く、素早く効率的にデータを収集することができる。ま
た、中継機能付端末装置は相互に有線通信で接続されて
いるので、周囲の電波環境の影響を受けず、また周囲に
影響を与えることもなく、正確にデータを収集すること
ができる。
As described above, according to the present embodiment, the data collection control means 55 collects the data of the terminal device connected to the own device, and collects the data of the terminal device connected to another terminal device with a relay function. Is collected via wired communication, and both are collectively transmitted to the main device 1, so that the main device 1 does not need to collect data for each terminal device with a relay function, thereby increasing traffic. Data can be collected quickly and efficiently. Further, since the terminal devices with the relay function are connected to each other by wired communication, data can be collected accurately without being affected by the surrounding radio wave environment and without affecting the surroundings.

【0090】なお、本実施例では、データ収集制御手段
55はデータ検出手段45でデータが検出された場合に
は記憶手段42にそのデータを記憶するとしたが、デー
タ収集制御手段55が所定時間間隔で端末機器5に対し
てポーリングを行い、そのデータを記憶手段42に記憶
してもよい。
In this embodiment, the data collection control means 55 stores the data in the storage means 42 when the data is detected by the data detection means 45. , The terminal device 5 may be polled, and the data may be stored in the storage means 42.

【0091】(実施例8)以下、本発明の無線データ収
集システムの第8の実施例について図面を参照しながら
説明する。本実施例は請求項8にかかわる。
Embodiment 8 Hereinafter, an eighth embodiment of the wireless data collection system of the present invention will be described with reference to the drawings. This embodiment relates to claim 8.

【0092】図17は本実施例の構成を示すブロック図
である。なお、中継機能付端末装置4c、4dの構成は
図13に示した構成と同じである。なお、図において、
有線通信手段48はコネクタなどに接続され、有線の接
続または分離が自在にできるようにしている。本実施例
は、中継機能付端末装置が相互に有線通信を介して自在
に接続できる手段に関する。
FIG. 17 is a block diagram showing the structure of this embodiment. The configuration of the terminal devices with relay function 4c, 4d is the same as the configuration shown in FIG. In the figure,
The wired communication means 48 is connected to a connector or the like so that wired connection or disconnection can be freely performed. The present embodiment relates to a unit that allows terminal devices with a relay function to be freely connected to each other via wired communication.

【0093】上記構成においてその動作を説明する。ま
ず、図17(a)の左図に示したように、最初は主装置
1と中継機能付端末装置4a、4bとは無線で通信して
いるが、新たに中継機能付端末装置4cを接続する必要
が発生した場合、中継機能付端末装置4a、4bおよび
4cはそれぞれ有線の接続または分離が自在なコネクタ
などの接続端子を備えているため、図17(a)の右図
に示したように、中継機能付端末装置4bと中継機能付
端末装置4cとを容易に有線で接続でき、中継機能付端
末装置4bを中継機能付端末装置4cの中継装置として
使用することができる。また、さらに中継機能付端末装
置4dを有線で接続することも可能であり、この場合は
中継機能付端末装置4bと4cとが中継機能付端末装置
4dを中継し、先に示した実施例2、および実施例7の
動作を実行することができる。
The operation of the above configuration will be described. First, as shown in the left diagram of FIG. 17A, initially, the main device 1 and the terminal devices with relay function 4a, 4b are communicating wirelessly, but the terminal device with relay function 4c is newly connected. If it is necessary to do so, each of the terminal devices with relay function 4a, 4b and 4c has a connection terminal such as a connector which can be freely connected or separated by wire, so that as shown in the right diagram of FIG. In addition, the terminal device with relay function 4b and the terminal device with relay function 4c can be easily connected by wire, and the terminal device with relay function 4b can be used as a relay device of the terminal device with relay function 4c. Further, it is also possible to connect the terminal device with relay function 4d by wire. In this case, the terminal devices with relay function 4b and 4c relay the terminal device with relay function 4d, and the second embodiment described above is used. , And the operation of the seventh embodiment can be performed.

【0094】つぎに、図17(b)の左図に示したよう
に、最初は主装置1と中継機能付端末装置4a、4bは
無線で通信していたが、中央図に示したように、主装置
1と中継機能付端末装置4bとの間で障害物などにより
電波障害が生じた場合、たとえば右図に示したように、
中継機能付端末装置4aと中継機能付端末装置4bを有
線で接続し、中継機能付端末装置4aを中継機能付端末
装置4bの中継装置として使用し、先に示した実施例2
または実施例7の動作を実行することができる。
Next, as shown in the left diagram of FIG. 17 (b), at first, the main device 1 and the terminal devices with relay function 4a, 4b communicated by radio, but as shown in the central diagram, In the case where radio interference occurs due to an obstacle between the main device 1 and the terminal device with relay function 4b, for example, as shown in the right diagram,
The terminal device with relay function 4a and the terminal device with relay function 4b are connected by wire, and the terminal device with relay function 4a is used as a relay device of the terminal device with relay function 4b.
Alternatively, the operation of the seventh embodiment can be performed.

【0095】つぎに、図17(c)の左図に示したよう
に、最初は主装置1と中継機能付端末装置4a、4bは
無線で通信していたが、主装置1と中継機能付端末装置
4a、4bの電波状況が悪化して無線通信が不安定にな
り、たびたび送受信に失敗する場合、右図に示したよう
に、中継機能付端末装置4aと中継機能付端末装置4b
を有線で接続することにより、主装置1と中継機能付端
末装置4a、4bとの間で2つの通信経路を確保して、
実施例4、実施例5、実施例6および実施例7の動作を
実行することができる。
Next, as shown in the left diagram of FIG. 17 (c), at first, the main unit 1 and the terminal units 4a and 4b with the relay function were communicating wirelessly, but the main unit 1 and the terminal unit with the relay function were connected. When the radio wave condition of the terminal devices 4a and 4b deteriorates, the wireless communication becomes unstable and the transmission and reception frequently fail, as shown in the right figure, the terminal device with relay function 4a and the terminal device with relay function 4b
Are connected by wire to secure two communication paths between the main device 1 and the terminal devices with relay function 4a, 4b,
The operations of the fourth, fifth, sixth, and seventh embodiments can be performed.

【0096】以上のように本実施例によれば、複数の中
継機能付端末装置の相互の有線通信をコネクタなどによ
り接続自在とすることにより、設置環境に対応して増設
したり、他の中継機能付端末装置に中継させたりするよ
うに柔軟に対応して接続することができる。
As described above, according to the present embodiment, a plurality of terminal devices with a relay function can be connected to each other with a connector or the like so that the wired communication can be freely connected to the terminal device with a relay function. It is possible to connect flexibly so as to relay to a terminal device with a function.

【0097】[0097]

【発明の効果】請求項1に係わる本発明は、中継機能付
端末装置が電文を受信したとき、その受信電文に中継機
能付端末装置と主装置との関係を示す識別符号が含まれ
ている場合には主装置へ中継するようにしたことによ
り、主装置と無線で通信して電文を送受信することがで
きるとともに、他の中継機能付端末装置の電文を中継す
る機能を併せ備えることにより、格別の中継装置を設け
る必要がなく、中継機能付端末装置はすべて同じ回路構
成でよいので、中継の要不要に関係なく同じ中継機能付
端末装置を用いて無線データ収集システムを構成するこ
とができる。
According to the first aspect of the present invention, when a terminal device with a relay function receives a message, the received message includes an identification code indicating the relationship between the terminal device with the relay function and the main device. In this case, by relaying to the main device, it is possible to wirelessly communicate with the main device to transmit and receive a message, and to have a function of relaying a message of another terminal device with a relay function. Since there is no need to provide a special relay device, and all the terminal devices with a relay function may have the same circuit configuration, a wireless data collection system can be configured using the same terminal device with a relay function regardless of whether relaying is necessary or not. .

【0098】請求項2に係わる本発明は、中継機能付端
末装置と他の中継機能付端末装置とを有線通信で接続
し、中継機能付端末装置が有線通信で電文を受信したと
き、その受信電文に前記他の中継機能付端末装置と主装
置との関係を示す識別符号が含まれている場合には主装
置へ中継するようにしたことにより、請求項1に係わる
本発明と同様に、格別の中継装置を設けることなく中継
機能付端末装置で他の中継機能付端末装置の主装置への
通信を中継することができるとともに、複数の中継機能
付端末装置を相互に有線通信で接続するので、無線通信
を遮る障害物が存在する場所、無線通信が他の機器に影
響を与える場所、また、高電圧などが絶えずノイズを発
生して無線通信を妨害する場所などに対しても中継機能
付端末装置を容易に設置することができる。
According to a second aspect of the present invention, when a terminal device with a relay function is connected to another terminal device with a relay function by wire communication, and when the terminal device with a relay function receives a message by wire communication, the reception of the message is performed. When the message includes an identification code indicating the relationship between the other terminal device with a relay function and the main device, the message is relayed to the main device, as in the present invention according to claim 1, A terminal device with a relay function can relay communication to a main device of another terminal device with a relay function without providing a special relay device, and a plurality of terminal devices with a relay function are connected to each other by wired communication. Therefore, the relay function can be used where there is an obstacle that interrupts wireless communication, where wireless communication affects other devices, or where high voltage constantly generates noise and interferes with wireless communication. Terminal device easily It is possible to location.

【0099】請求項3に係わる本発明は、主装置と中継
機能付端末装置とが間欠で無線通信しているとき、主装
置から中継機能付端末装置と他の中継機能付端末装置と
に同期信号を同報で送出し、中継機能付端末装置から前
記同期信号の送出に対する応答電文を受信しないときは
前記他の中継機能付端末装置については中継が必要と判
断し、中継機能付端末装置を介して前記他の中継機能付
端末装置と通信することができ、同期はずれの中継機能
付端末装置は中継を担当する中継機能付端末装置と有線
で非同期で通信すればよいので、電波のトラヒックを低
減させることにもなり、また、有線通信手段により中継
機能付端末装置の構成を簡単にできて装置の信頼性を向
上させることもできる。
According to a third aspect of the present invention, when the main device and the terminal device with a relay function are intermittently communicating wirelessly, the main device synchronizes the terminal device with a relay function with another terminal device with a relay function. When a signal is transmitted by broadcast and a response message to the transmission of the synchronization signal is not received from the terminal device with a relay function, it is determined that relaying is necessary for the other terminal device with a relay function, and the terminal device with a relay function is The terminal device with the relay function can communicate with the other terminal device with the relay function through the terminal device. In addition, the configuration of the terminal device with a relay function can be simplified by the wired communication means, and the reliability of the device can be improved.

【0100】請求項4に係わる本発明は、主装置から中
継機能付端末装置に送信する場合に、中継機能付端末装
置からのみ応答電文を受けた場合には中継機能付端末装
置に送信し、他の中継機能付端末装置からのみ応答電文
を受けた場合にはその中継機能付端末装置を中継させて
前記中継機能付端末装置に送信し、両方から応答電文を
受けた場合には所定の約束に従っていずれか一方または
両方に送信するように、電文を送信する通信経路を判断
するようにしたことにより、応答状況に対応して確実に
送信することができ、しかも、中継機能付端末装置は相
互に有線で接続されているため、電波環境に影響されず
に任意の場所に中継機能付端末装置を設置でき、また、
無線で通信する中継機能付端末装置を1つにすることが
できるので、無線通信のトラフィックを低減しながら、
かつ電波環境のよい場所を選定して設定すれば、信頼性
の高い無線データ収集システムを構築することができ
る。
According to a fourth aspect of the present invention, when transmitting a response message from only a terminal device with a relay function to a terminal device with a relay function from a main device, transmitting the response message to the terminal device with a relay function, When a response message is received only from another terminal device with a relay function, the terminal device with the relay function is relayed and transmitted to the terminal device with the relay function. The communication route for transmitting the message is determined so that the message is transmitted to one or both of the terminals according to the above. The terminal device with the relay function can be installed at any place without being affected by the radio wave environment.
Since there can be one terminal device with a relay function that performs wireless communication, while reducing wireless communication traffic,
In addition, by selecting and setting a place with a good radio wave environment, a highly reliable wireless data collection system can be constructed.

【0101】請求項5に係わる本発明は、応答電文の電
界強度を測定し、その結果に対応して通信経路を設定す
ることにより、複数の通信経路のうちの最適と考える通
信経路を選択して通信でき、無線データ収集システムの
信頼性を向上させることができる。
According to a fifth aspect of the present invention, by measuring the electric field strength of a response message and setting a communication path in accordance with the result, a communication path considered to be optimum among a plurality of communication paths is selected. Communication can be performed, and the reliability of the wireless data collection system can be improved.

【0102】請求項6に係わる本発明は、主装置の電波
到達範囲が中継機能付端末装置と他の中継機能付端末装
置の両方を含んでいるときに中継機能付端末装置から端
末機器のデータを収集する場合、前記中継機能付端末装
置からの受信電文と前記他の中継機能付端末装置を中継
した受信電文とを一致比較するようにしたことにより、
より正確にデータを収集することができる。
According to a sixth aspect of the present invention, when the radio wave range of the main unit includes both the terminal device with the relay function and another terminal device with the relay function, the data of the terminal device is transmitted from the terminal device with the relay function. When collecting, by comparing the received message from the terminal device with the relay function and the received message relayed the terminal device with the other relay function,
Data can be collected more accurately.

【0103】請求項7に係わる本発明は、データ収集制
御手段により自装置に接続された端末機器のデータを収
集するとともに、他の中継機能付端末装置に接続された
端末機器のデータとを有線通信を介して収集し、両者を
一括して主装置に送信することにより、主装置は中継機
能付端末装置ごとに1台ずつデータを収集する必要がな
く、トラフィックを増大させることなく、素早く効率的
にデータを収集することができる。また、中継機能付端
末装置は相互に有線通信で接続されているので、周囲の
電波環境の影響を受けず、また周囲に影響を与えること
もなく、正確にデータを収集することができる。
According to a seventh aspect of the present invention, the data collection control means collects data of the terminal device connected to the own device, and transmits the data of the terminal device connected to another terminal device with a relay function by wire. By collecting the information via communication and transmitting both to the main device at once, the main device does not need to collect data for each terminal device with a relay function, thereby increasing the efficiency quickly without increasing traffic. Data can be collected. Further, since the terminal devices with the relay function are connected to each other by wired communication, data can be collected accurately without being affected by the surrounding radio wave environment and without affecting the surroundings.

【0104】請求項8に係わる本発明は、複数の中継機
能付端末装置の相互の有線通信をコネクタなどにより接
続自在とすることにより、設置環境に対応して増設した
り、他の中継機能付端末装置に中継させたりするように
柔軟に対応して接続することができる。
According to an eighth aspect of the present invention, a plurality of terminal devices having a relay function can be connected to each other by means of a connector or the like so as to be freely connected to each other, so that the terminal device can be expanded in accordance with an installation environment or provided with another relay function. The connection can be flexibly connected so as to be relayed to a terminal device.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の無線データ収集システムの実施例1の
構成を示すブロック図
FIG. 1 is a block diagram illustrating a configuration of a wireless data collection system according to a first embodiment of the present invention.

【図2】同実施例の構成を示すブロック図FIG. 2 is a block diagram showing the configuration of the embodiment.

【図3】同実施例における主装置および中継機能付端末
装置の構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of a main device and a terminal device with a relay function in the embodiment.

【図4】同実施例の動作を示すフローチャートFIG. 4 is a flowchart showing the operation of the embodiment.

【図5】本発明の無線データ収集システムの実施例2の
構成を示すブロック図
FIG. 5 is a block diagram illustrating a configuration of a wireless data collection system according to a second embodiment of the present invention.

【図6】同実施例における主装置および中継機能付端末
装置の構成を示すブロック図
FIG. 6 is a block diagram showing a configuration of a main device and a terminal device with a relay function in the embodiment.

【図7】本発明の無線データ収集システムの実施例3の
構成を示すブロック図
FIG. 7 is a block diagram illustrating a configuration of a wireless data collection system according to a third embodiment of the present invention.

【図8】同実施例の構成を示すブロック図FIG. 8 is a block diagram showing the configuration of the embodiment.

【図9】同実施例における主装置および中継機能付端末
装置の構成を示すブロック図
FIG. 9 is a block diagram showing a configuration of a main device and a terminal device with a relay function in the embodiment.

【図10】同実施例の動作を示すフローチャートFIG. 10 is a flowchart showing the operation of the embodiment.

【図11】本発明の無線データ収集システムの実施例4
ないし実施例7の構成を示すブロック図
FIG. 11 is a fourth embodiment of the wireless data collection system of the present invention.
Block diagram showing the configuration of the seventh embodiment.

【図12】同実施例の構成を示すブロック図FIG. 12 is a block diagram showing the configuration of the embodiment.

【図13】同実施例における主装置および中継機能付端
末装置の構成を示すブロック図
FIG. 13 is a block diagram showing a configuration of a main device and a terminal device with a relay function in the embodiment.

【図14】本発明の無線データ収集システムの実施例4
の動作を示すフローチャート
FIG. 14 is a fourth embodiment of the wireless data collection system of the present invention.
Flow chart showing the operation of

【図15】本発明の無線データ収集システムの実施例5
の動作を示すフローチャート
FIG. 15 is a fifth embodiment of the wireless data collection system of the present invention.
Flow chart showing the operation of

【図16】本発明の無線データ収集システムの実施例6
の動作を示すフローチャート
FIG. 16 is a wireless data collection system according to a sixth embodiment of the present invention;
Flow chart showing the operation of

【図17】(a),(b),(c)は本発明の無線デー
タ収集システムの実施例8の構成を示すブロック図
17 (a), (b), and (c) are block diagrams showing a configuration of a wireless data collection system according to an eighth embodiment of the present invention.

【図18】従来の無線データ収集システムの構成を示す
ブロック図
FIG. 18 is a block diagram showing a configuration of a conventional wireless data collection system.

【図19】同従来例における中継装置の構成を示すブロ
ック図
FIG. 19 is a block diagram showing a configuration of a relay device in the conventional example.

【符号の説明】[Explanation of symbols]

1 主装置 2 端末装置 3 中継装置 4a,4b 中継機能付端末装置 5 端末機器 6 外部装置 11 無線通信手段 12 記憶手段 13 識別符号判断手段 14 制御手段 15 データ検出手段 16 インターフェース手段 17 同期合わせ制御手段 18 応答制御手段 19 通信不能検出手段 20 中継判断手段 21 通信経路判断手段 22 電界強度測定手段 23 電文比較手段 31 無線通信手段 32 制御手段 33 記憶手段 34 識別符号判断手段 41 無線通信手段 42 記憶手段 43 識別符号判断手段 44 制御手段 45 データ検出手段 46 インターフェース手段 47 中継制御手段 48 有線通信手段 49 同期制御手段 50 同期応答制御手段 51 通信不能検出手段 52 中継判断手段 53 応答制御手段 54 通信経路判断手段 55 データ収集制御手段 56 電界強度測定手段 DESCRIPTION OF SYMBOLS 1 Main device 2 Terminal device 3 Relay device 4a, 4b Terminal device with relay function 5 Terminal device 6 External device 11 Wireless communication means 12 Storage means 13 Identification code judgment means 14 Control means 15 Data detection means 16 Interface means 17 Synchronization control means Reference Signs List 18 Response control means 19 Communication failure detection means 20 Relay judgment means 21 Communication path judgment means 22 Electric field strength measurement means 23 Message comparison means 31 Wireless communication means 32 Control means 33 Storage means 34 Identification code judgment means 41 Wireless communication means 42 Storage means 43 Identification code determination means 44 Control means 45 Data detection means 46 Interface means 47 Relay control means 48 Wire communication means 49 Synchronization control means 50 Synchronization response control means 51 Communication failure detection means 52 Relay determination means 53 Response control means 54 Communication path determination means 55 De Data acquisition control means 56 the electric field strength measuring unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山本 雅弘 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masahiro Yamamoto 1006 Kazuma Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 主装置と複数の中継機能付端末装置と各
中継機能付端末装置に接続された端末機器とから構成さ
れ、前記主装置が前記各端末機器のデータを収集する無
線データ収集システムにおいて、前記主装置は前記中継
機能付端末装置と無線で通信する無線通信手段と、自装
置および通信相手の中継機能付端末装置の識別符号を記
憶する記憶手段と、前記記憶手段に記憶している識別符
号と受信電文の識別符号とを比較判断する識別符号判断
手段と、主装置全体を制御する制御手段とを備え、前記
中継機能付端末装置は、前記主装置および他の中継機能
付端末装置と無線で通信する無線通信手段と、自装置お
よび通信相手の中継機能付端末装置の識別符号を記憶す
る記憶手段と、前記記憶手段に記憶している識別符号と
受信電文の識別符号とを比較判断する識別符号判断手段
と、前記識別符号判断手段により前記無線通信手段を用
いて前記主装置または他の中継機能付端末装置への中継
を制御する中継制御手段と、中継機能付端末装置全体を
制御する前記制御手段とを備え、前記中継機能付端末装
置は前記無線通信手段を用いて前記主装置と無線で通信
するとともに、受信電文に含められた識別符号に基づく
判断により前記主装置と他の中継機能付端末装置との通
信を中継するようにした無線データ収集システム。
A wireless data collection system comprising a main device, a plurality of terminal devices with a relay function, and terminal devices connected to each of the terminal devices with a relay function, wherein the main device collects data of each of the terminal devices. In the above, the main device wirelessly communicates with the terminal device with a relay function wirelessly, a storage device that stores identification codes of its own device and a terminal device with a relay function of a communication partner, and stored in the storage device Identification means for comparing and judging the identification code of the received message and the identification code of the received message, and control means for controlling the entire main device, wherein the terminal device with a relay function includes the main device and another terminal with a relay function. Wireless communication means for wirelessly communicating with the apparatus, storage means for storing identification codes of the own apparatus and a terminal apparatus with a relay function of a communication partner, identification codes stored in the storage means, and identification codes of received messages Code determining means for comparing and determining, a relay control means for controlling relaying to the main device or another terminal device with a relay function using the wireless communication means by the identification code determining means, and a terminal with a relay function The terminal device with a relay function communicates wirelessly with the main device using the wireless communication device, and determines the main device based on a determination based on an identification code included in a received message. A wireless data collection system that relays communication between the device and another terminal device with a relay function.
【請求項2】 主装置と複数の中継機能付端末装置と各
中継機能付端末装置に接続された端末機器とから構成さ
れ、前記主装置が前記各端末機器のデータを収集する無
線データ収集システムにおいて、前記主装置は前記中継
機能付端末装置と無線で通信する無線通信手段と、自装
置および通信相手の中継機能付端末装置の識別符号を記
憶する記憶手段と、前記記憶手段に記憶している識別符
号と受信電文の識別符号とを比較判断する識別符号判断
手段と、前記主装置全体を制御する制御手段とを備え、
前記中継機能付端末装置は、前記主装置と無線で通信す
る無線通信手段と、他の中継機能付端末装置と有線で通
信する有線通信手段と、自装置および通信相手の中継機
能付端末装置の識別符号を記憶する記憶手段と、前記記
憶手段に記憶している識別符号と受信電文の識別符号と
を比較判断する識別符号判断手段と、前記識別符号判断
手段により前記無線通信手段を用いて前記主装置または
他の中継機能付端末装置への中継を制御する中継制御手
段と、前記中継機能付端末装置全体を制御する前記制御
手段とを備え、前記中継機能付端末装置は前記無線通信
手段を用いて前記主装置と無線で通信するとともに、受
信電文に含められた識別符号に基づく判断により前記主
装置と他の中継機能付端末装置との通信を中継するよう
にした無線データ収集システム。
2. A wireless data collection system comprising a main device, a plurality of terminal devices with a relay function, and terminal devices connected to each of the terminal devices with a relay function, wherein the main device collects data of the terminal devices. In the above, the main device wirelessly communicates with the terminal device with a relay function wirelessly, a storage device that stores identification codes of its own device and a terminal device with a relay function of a communication partner, and stored in the storage device Identification code determining means for comparing and determining the identification code and the identification code of the received message, and control means for controlling the entire main device,
The terminal device with a relay function is a wireless communication unit that wirelessly communicates with the main device, a wired communication unit that communicates with another terminal device with a relay function by wire, and a terminal device with a relay function of its own device and a communication partner. Storage means for storing an identification code, identification code determination means for comparing and determining the identification code stored in the storage means and the identification code of the received message, and the identification code determination means using the wireless communication means Relay control means for controlling relay to the main device or another terminal device with a relay function, and the control means for controlling the entire terminal device with a relay function, wherein the terminal device with a relay function comprises the wireless communication means Wireless data that is used to wirelessly communicate with the main device and relay communication between the main device and another terminal device with a relay function based on a determination based on an identification code included in a received message. Collection system.
【請求項3】 主装置は、所定のタイミングで無線通信
手段を介して定期的に中継機能付端末装置に向けて同期
信号を送信する同期合わせ制御手段と、前記無線通信手
段を介して前記同期信号に対する前記中継機能付端末装
置からの応答電文を受信する応答制御手段と、前記応答
制御手段により前記中継機能付端末装置との通信不能を
検出する通信不能検出手段と、前記通信不能検出手段に
より通信不能が検出された場合、前記無線通信手段を用
いて他の中継機能付端末装置を介して中継機能付端末装
置に電文を送信することを判断する中継判断手段を備
え、中継機能付端末装置は、無線通信手段を介して前記
主装置の同期信号を受信し、前記無線通信手段における
同期通信タイミングを制御する同期制御手段と、受信し
た同期信号に対して応答電文を送信する同期応答制御手
段と、前記同期応答制御手段により前記主装置との通信
不能を検出する通信不能検出手段と、前記通信不能検出
手段により通信不能が検出された場合、他の中継機能付
端末装置を介して前記主装置に電文を送信することを判
断する中継判断手段とを備え、前記中継判断手段により
他の中継機能付端末装置に対して電文を送信する場合、
中継制御手段は、前記同期通信タイミングと電文中のビ
ット同期領域の部分とが重なるように変換した電文を送
信するように制御する請求項1ないし請求項2のいずれ
か1項に記載の無線データ収集システム。
3. A main unit comprising: a synchronization control unit for periodically transmitting a synchronization signal to a terminal device with a relay function via a wireless communication unit at a predetermined timing; and the synchronization unit via the wireless communication unit. A response control unit that receives a response message from the terminal device with a relay function to a signal, a communication failure detection unit that detects a communication failure with the terminal device with the relay function by the response control unit, and a communication failure detection unit. A relay determining means for determining that a message is to be transmitted to the relay function-equipped terminal device through another terminal device having a relay function using the wireless communication means when the communication failure is detected; Receiving a synchronization signal of the main unit via wireless communication means, controlling synchronization communication timing in the wireless communication means, and responding to the received synchronization signal. A synchronous response control means for transmitting a response message, a communication failure detection means for detecting the communication failure with the main device by the synchronous response control means, and another relay when the communication failure is detected by the communication failure detection means. Relay relay determining means for determining to transmit a message to the main device via the terminal device with a function, when transmitting a message to another terminal device with a relay function by the relay determining means,
3. The wireless data according to claim 1, wherein the relay control unit controls transmission of a message converted so that the synchronous communication timing and a bit synchronization area in the message overlap. 4. Collection system.
【請求項4】 主装置は、応答制御手段により通信経路
を判断する通信経路判断手段を備え、制御手段は前記通
信経路判断手段の判断により通信経路を制御し、中継機
能付端末装置は無線通信手段による電文の受信に対して
応答電文の送信を制御する応答制御手段と、前記応答制
御手段により通信経路を判断する通信経路判断手段と、
前記通信経路判断手段の判断により通信経路を制御する
中継制御手段とを備え、有線通信で相互に接続された複
数の中継機能付端末装置が中継判断手段の制御により複
数の通信経路で主装置と通信できるようにした請求項3
記載の無線データ収集システム。
4. The main device comprises a communication path determining means for determining a communication path by a response control means, wherein the control means controls the communication path according to the determination of the communication path determining means, and the terminal device with a relay function is provided for wireless communication. Response control means for controlling transmission of a response message in response to reception of a message by the means, communication path determination means for determining a communication path by the response control means,
Relay control means for controlling a communication path according to the judgment of the communication path judgment means, wherein a plurality of terminal devices with a relay function connected to each other by wire communication are connected to the main unit via a plurality of communication paths under the control of the relay judgment means. Claim 3 which enables communication.
A wireless data collection system as described.
【請求項5】 主装置および中継機能付端末装置はそれ
ぞれ、無線通信手段により受信される応答電文の電界強
度を測定する電界強度測定手段を備え、応答電文の電界
強度に対応して通信経路を判断するようにした請求項3
ないし請求項4のいずれか1項に記載の無線データ収集
システム。
5. The main device and the terminal device with a relay function each include an electric field strength measuring means for measuring the electric field intensity of the response message received by the wireless communication means, and establish a communication path corresponding to the electric field intensity of the response message. Claim 3 to be judged
A wireless data collection system according to claim 4.
【請求項6】 主装置は、受信電文を比較判定する電文
比較手段を備え、前記電文比較手段により異なる通信経
路を経由した受信電文の内容を比較し、誤りを検出する
ようにした請求項1ないし請求項5のいずれか1項に記
載の無線データ収集システム。
6. The apparatus according to claim 1, wherein said main unit further comprises a message comparing means for comparing and determining the received messages, wherein said message comparing means compares the contents of the received messages via different communication paths and detects an error. A wireless data collection system according to claim 5.
【請求項7】 中継機能付端末装置は、他の中継機能付
端末装置からあらかじめデータの収集を行い、記憶手段
に前記データを記憶させておくデータ収集制御手段を備
え、主装置は前記中継機能付端末装置から一括してデー
タを収集するようにした請求項1ないし請求項6のいず
れか1項に記載の無線データ収集システム。
7. The terminal device with a relay function includes data collection control means for collecting data from another terminal device with a relay function in advance and storing the data in a storage means, and the main device includes the relay function. The wireless data collection system according to any one of claims 1 to 6, wherein data is collectively collected from the attached terminal device.
【請求項8】 有線通信手段を備えた中継機能付端末装
置において、前記有線通信手段が他の中継機能付端末装
置の有線通信手段と接続または切断が自在なコネクタを
備え、有線が接続されていない場合には前記主装置のみ
と通信を行い、有線が接続された場合には主装置との無
線通信と他の中継機能付端末装置からの電文の中継とを
行うようにした請求項2ないし請求項請求項7のいずれ
か1項に記載の記載の無線データ収集システム。
8. A terminal device with a relay function provided with a wired communication means, wherein the wired communication means has a connector that can be freely connected to or disconnected from the wired communication means of another terminal device with a relay function, and the wire is connected. When there is no communication, the communication is performed only with the main device, and when a wired connection is made, wireless communication with the main device and relay of a message from another terminal device with a relay function are performed. The wireless data collection system according to claim 7.
JP26589296A 1996-10-07 1996-10-07 Radio data collecting system Pending JPH10112887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26589296A JPH10112887A (en) 1996-10-07 1996-10-07 Radio data collecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26589296A JPH10112887A (en) 1996-10-07 1996-10-07 Radio data collecting system

Publications (1)

Publication Number Publication Date
JPH10112887A true JPH10112887A (en) 1998-04-28

Family

ID=17423557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26589296A Pending JPH10112887A (en) 1996-10-07 1996-10-07 Radio data collecting system

Country Status (1)

Country Link
JP (1) JPH10112887A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014167791A1 (en) * 2013-04-12 2014-10-16 パナソニック株式会社 Communication system and base unit
JP2016065876A (en) * 2011-04-07 2016-04-28 カール マール ホールディング ゲーエムベーハー Measuring device having transmitting circuit for transmitting measured value by radio
WO2019003282A1 (en) * 2017-06-26 2019-01-03 三菱電機株式会社 Management device, information transmission method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016065876A (en) * 2011-04-07 2016-04-28 カール マール ホールディング ゲーエムベーハー Measuring device having transmitting circuit for transmitting measured value by radio
WO2014167791A1 (en) * 2013-04-12 2014-10-16 パナソニック株式会社 Communication system and base unit
WO2019003282A1 (en) * 2017-06-26 2019-01-03 三菱電機株式会社 Management device, information transmission method and program

Similar Documents

Publication Publication Date Title
WO2009134108A2 (en) Firmware update method for nodes in a wireless sensor network and a firmware update system used for the same
US7336958B2 (en) Data transmission path establishing method, radio communication network system, and sensor network system
US20080070547A1 (en) Method for Radio Transmission in a Radio Cell of an Alarm System
US11419175B2 (en) Reconstructing a personal area network or system after a failure in the network or system
US4597079A (en) Redundant switchover system for TDMA satellite communication equipment
JP2001109980A (en) Automatic meter-reading system
US20190132905A1 (en) Wireless communication system, control circuit, and control method
US20120250561A1 (en) Data collection system, data collection device, wireless communication device, and communication method for collecting data
JP2009100074A (en) Telemeter system and radio communication system
JPH10112887A (en) Radio data collecting system
US7283786B2 (en) Radio relay apparatus, method of determining identification code thereof, and monitoring apparatus
JP2002094449A (en) Radio access system
JP3401185B2 (en) Wireless communication device and wireless communication method
JPH11331945A (en) Automatic call system and mobile radio terminal
JP3608648B2 (en) Wireless communication system
JPH11298384A (en) Antenna diversity radio system
KR102177393B1 (en) Management system for wireless data communication using ZigBee technology
JPH11298975A (en) Communication system for distributed data collection
JPH0218759B2 (en)
JP2504481B2 (en) Data transmission method in telemeter system
JP3591075B2 (en) Wireless communication device and data collection device
JP3774943B2 (en) Wireless system
JP3853189B2 (en) Wireless slave unit and wireless communication system including the same
JP2003298474A (en) Line identification method and system thereof
JP4471435B2 (en) Wireless meter reading system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040713

A521 Written amendment

Effective date: 20040909

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041109