JP2006052945A - Communication system and communication device - Google Patents

Communication system and communication device Download PDF

Info

Publication number
JP2006052945A
JP2006052945A JP2004213602A JP2004213602A JP2006052945A JP 2006052945 A JP2006052945 A JP 2006052945A JP 2004213602 A JP2004213602 A JP 2004213602A JP 2004213602 A JP2004213602 A JP 2004213602A JP 2006052945 A JP2006052945 A JP 2006052945A
Authority
JP
Japan
Prior art keywords
time
time information
rank
information
communication
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.)
Granted
Application number
JP2004213602A
Other languages
Japanese (ja)
Other versions
JP4387263B2 (en
Inventor
Yukio Matsui
幸夫 松井
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.)
Seiko Precision Inc
Original Assignee
Seiko Precision Inc
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 Seiko Precision Inc filed Critical Seiko Precision Inc
Priority to JP2004213602A priority Critical patent/JP4387263B2/en
Publication of JP2006052945A publication Critical patent/JP2006052945A/en
Application granted granted Critical
Publication of JP4387263B2 publication Critical patent/JP4387263B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Electromechanical Clocks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To cause times in devices of the same rank to match with each other in cases where communication methods different in transmission time get mixed in a communication system for transmitting time infomation. <P>SOLUTION: Slave devices 3, each comprising a wireless IC tag, decode time information received from higher-rank devices to correct time measurement time of a time measurement part based on the time information. They produce and transmit transmission information for correcting time measurement time of lower-rank devices with rank information showing own ranks added to the measurement time of the measurement part. The time information is transmitted/received through one or both of wireless and wired transmission routes. The slave devices 3 acquire time information from devices of ranks as high as possible. Time measurement time of slave devices 3 of the same rank in the communication system 1 is kept constant independently of the kind of transmission route for receiving time information by delaying the outputting of the information by a delay circuit by a previously set and definite period of time, when receiving time information via a wired transmission route capable of higher speed transmission than a wireless transmission route. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、本発明は、上位装置から下位装置に時刻情報を送信し、下位装置の時刻修正等を行なう通信システムにおける時刻情報伝達の確実性を高めた通信システム及びその通信システムを構成する装置に関する。   The present invention relates to a communication system with improved reliability of time information transmission in a communication system that transmits time information from a higher-level device to a lower-level device and corrects the time of the lower-level device, and a device constituting the communication system. About.

親時計が基準となる時刻情報を電波等の無線で発信し、周囲に配置された子時計がこれを受信して親時計の基準時刻情報に基づいて時刻を修正して親時計の時刻に一致させる無線式の親子時計システムが知られている。親時計の基準時刻は外部の標準時刻情報源から電波等で受信して作られる。この無線式親子時計システムは、時刻情報のリレー式伝達に有線を必要としないから、親時計の時刻と一致した時刻を表示する複数の子時計を比較的に自由に敷地内又は構内に配置するのに好適である。   The parent clock transmits the reference time information wirelessly, such as radio waves, and the child clocks placed around it receive this and correct the time based on the reference time information of the parent clock to match the time of the parent clock A wireless parent-child clock system is known. The reference time of the parent clock is generated by receiving radio waves from an external standard time information source. Since this wireless parent-child clock system does not require a wire for relay transmission of time information, a plurality of child clocks that display times that coincide with the time of the parent clock are arranged relatively freely on the premises or on the premises. It is suitable for.

例えば、比較的広い敷地内又は複雑な建物内等に設置された無線式親子時計システムにおいて、親時計が基準時刻情報を子時計にリレー式に送信でき、さらに、子時計の位置を比較的に自由に選択又は変更できるものとして、特許文献1に開示されるものがある。
特開2002−148371号公報
For example, in a wireless parent-child clock system installed in a relatively large site or a complex building, the parent clock can relay the reference time information to the child clock, and the position of the child clock can be relatively reduced. There exists what is disclosed by patent document 1 as what can be selected or changed freely.
JP 2002-148371 A

特許文献1に記載された親子時計システムでは、時刻情報がシステム内でリレー式に転送されるため、比較的広い敷地内又は複雑な建物内等に無線式親子時計システムを設置でき、子時計の位置を比較的自由に選択又は変更できる。しかし、従来の親子時計システムでは、法的規制を受けず免許を必要としない微弱な電波を使用して時刻情報を送信するために、伝達距離に限界があり、また、雑音等の電波受信環境により必ずしも十分な時刻情報の伝達ができない場合が有る。   In the parent-child clock system described in Patent Document 1, since time information is transferred in a relay manner in the system, a wireless parent-child clock system can be installed in a relatively large site or a complex building. The position can be selected or changed relatively freely. However, in the conventional parent-child watch system, time information is transmitted using weak radio waves that are not subject to legal regulations and do not require a license, so the transmission distance is limited, and radio wave reception environments such as noise In some cases, sufficient time information cannot be transmitted.

また、親子時計システムを構築する装置の通信方式を全て同一の方式に統一するのは困難な場合があり、事情により、一部に通信ケーブルによる通信を組み入れたりする等、異なる通信方式を採用せざるを得ないばあいがある。但し、このようなシステム構成とすると、通信方式毎に伝送遅延が異なるため、同一ランクに位置する子時計でさえも、互いの時刻がずれてしまう虞がある。   In addition, it may be difficult to unify all the communication methods of the devices that construct the parent-child clock system into the same method. Depending on the circumstances, a different communication method may be adopted, such as incorporating communication using a communication cable in part. There is a case to be forced. However, with such a system configuration, since the transmission delay differs depending on the communication method, there is a possibility that even the slave clocks positioned at the same rank will be out of time with each other.

同様の問題は、計時時刻の表示を主機能とする時計に限らず、他装置より時刻情報を受信して自己の計時時刻を修正する一方で、自己の計時時刻を送信するような計時機能を有する様々な電子機器(例えば、情報処理端末(PDA(Personal Data Assistance)、ノートパソコン、ラップトップパソコン、ハンディターミナル)、無線タグ、ICタグ、無線ICタグ、ICチップ、ゲーム機、音響機器、等)に共通に存在する。   The same problem is not limited to clocks that display timekeeping time as a main function, but has a timekeeping function that receives time information from other devices and corrects its own timekeeping time while transmitting its own timekeeping time. Various electronic devices (for example, information processing terminals (PDA (Personal Data Assistance), notebook computers, laptop computers, handy terminals), wireless tags, IC tags, wireless IC tags, IC chips, game machines, acoustic devices, etc. ) In common.

従って、本発明は上記した従来技術の問題点を解決することを目的とする。
また、本発明は時刻情報の伝達に複数の通信方式が混在している場合でも、同一ランクの装置の計時時刻が互いに一致するようにすることである。
Accordingly, an object of the present invention is to solve the problems of the prior art described above.
Further, the present invention is to make the timekeeping times of the devices of the same rank coincide with each other even when a plurality of communication methods are mixed in the transmission of time information.

この目的を達成するため、請求項1に記載の本発明の通信システムは、時刻情報を送信する親装置と、親装置から送信された時刻情報を受信し、受信した時刻情報に基づいて自己の計時手段の計時する計時時刻を修正する子装置とを含む通信システムであって、
前記子装置は、
前記計時手段の計時時刻に基づいて、所定のデータ処理を実行するデータ処理手段と、
時刻情報を第1の通信方式で受信する第1の受信手段と、
時刻情報を前記第1の通信方式よりも通信時間が長い第2の通信方式で受信する第2の受信手段と、
前記第1の受信手段で受信した時刻情報を所定の時間だけ遅延する遅延手段と、
前記第1の受信手段で受信した時刻情報と前記第2の受信手段で受信した時刻情報との一方を選択する選択手段と、
前記選択手段により第2の受信手段で受信した時刻情報が選択されたときには、該時刻情報に基づいて計時時刻を修正し、前記選択手段により第1の受信手段で受信した時刻情報が選択されたときには、前記遅延手段によって遅延された時刻情報に基づいて前記計時手段の計時時刻を修正する修正手段と、
修正された計時時刻に基づいて他の子装置の時刻を修正するための時刻情報を送信する手段と、
を有することを特徴とする。
In order to achieve this object, the communication system according to the first aspect of the present invention includes a parent device that transmits time information, the time information transmitted from the parent device, and the own communication device based on the received time information. A communication system including a slave device that corrects the time measured by the time measuring means,
The child device is
Data processing means for executing predetermined data processing based on the time measured by the time measuring means;
First receiving means for receiving time information by the first communication method;
Second receiving means for receiving time information in a second communication method having a communication time longer than that of the first communication method;
Delay means for delaying the time information received by the first receiving means by a predetermined time;
Selecting means for selecting one of the time information received by the first receiving means and the time information received by the second receiving means;
When the time information received by the second receiving means is selected by the selecting means, the timekeeping time is corrected based on the time information, and the time information received by the first receiving means is selected by the selecting means Sometimes the correcting means for correcting the time measured by the time measuring means based on the time information delayed by the delay means;
Means for transmitting time information for correcting the time of another child device based on the corrected timekeeping time;
It is characterized by having.

本発明は上記構成により、必要に応じて適切な通信方式を選択することができる。また、相対的な位置(順位)が等しい子装置の計時時刻が通信方式の差のためにばらついてしまう事態を防止できる。   With the above configuration, the present invention can select an appropriate communication method as necessary. In addition, it is possible to prevent a situation in which the timekeeping times of the slave devices having the same relative position (rank) vary due to a difference in communication methods.

例えば、前記第2の通信方式は無線通信方式であり、前記第1の通信方式は有線通信方式である。   For example, the second communication method is a wireless communication method, and the first communication method is a wired communication method.

前記遅延手段は、前記第2の通信方式による時刻情報の通信時間と第1の通信方式による時刻情報の通信時間との間の時間差に相当する遅延時間を与える。これにより、同一のランクに位置する装置は通信方式によらず実質的に同一のタイミングで時刻情報を受信できる。   The delay means gives a delay time corresponding to a time difference between a communication time of time information according to the second communication method and a communication time of time information according to the first communication method. As a result, devices located in the same rank can receive time information at substantially the same timing regardless of the communication method.

前記選択手段は、例えば、第1の通信方式による第1の受信手段で受信した時刻情報と第2の通信方式による第2の受信手段で受信した時刻情報の受信の両方を使用し、受信状態の良好な方の時刻情報を採用する。   The selection means uses, for example, both time information received by the first receiving means according to the first communication method and reception of time information received by the second receiving means according to the second communication method, The time information of the better is adopted.

例えば、前記遅延手段は、親装置からの時刻情報の伝送順番で、同一順位に位置する複数の子装置の計時手段による計時時刻が実質的に一致するような時間だけ、時刻情報を遅延する。   For example, the delay means delays the time information by a time such that the time measured by the time measuring means of a plurality of child devices located in the same order substantially matches the transmission order of the time information from the parent device.

前記子装置は、例えば、無線タグ又は情報端末から構成される。
あるいは、前記子装置は、例えば、データ記憶手段とパッケージとを備える無線タグから構成される。この場合、前記データ処理手段は、所定のトリガ信号に応答して、前記計時手段の計時時刻を示す計時情報を前記データ記憶手段に記憶し、前記データ記憶手段に記憶した時刻情報を直接又はデータ処理して、無線で外部に出力する手段を備え、前記パッケージは無線信号を透過可能な材料から構成され、全体を封入する。
The slave device is composed of, for example, a wireless tag or an information terminal.
Alternatively, the slave device is constituted by, for example, a wireless tag including data storage means and a package. In this case, the data processing means stores time information indicating the time measured by the time measuring means in the data storage means in response to a predetermined trigger signal, and the time information stored in the data storage means is directly or data stored. Means for processing and outputting to the outside wirelessly, the package is made of a material capable of transmitting wireless signals and encloses the whole.

また、本発明の通信装置は、他装置から送信された時刻情報を受信する受信手段と、前記受信手段で受信された時刻情報を所定時間遅延して出力する遅延手段と、前記遅延手段で遅延された時刻情報に基づいて自己の保持する時刻を修正する修正手段と、修正された自己の時刻に基づいて他の子装置の時刻を修正するための時刻情報を送信する送信手段と、前記自己の時刻に基づいて、所定のデータ処理を実行するデータ処理手段と、を有する。   The communication device of the present invention includes a receiving unit that receives time information transmitted from another device, a delay unit that outputs the time information received by the receiving unit with a predetermined time delay, and a delay unit that delays the time information. Correcting means for correcting the time held by itself based on the corrected time information, transmitting means for transmitting time information for correcting the time of another child device based on the corrected own time, and the self Data processing means for executing predetermined data processing based on the time of

本発明の信システムによれが、時刻情報の通信方式を選択でき、ネットワークの拡張性や柔軟性が増す。
また、遅延手段により通信方式の差による伝送遅延の差を均一化することができる。
According to the communication system of the present invention, the communication method of time information can be selected, and the expandability and flexibility of the network are increased.
Also, the delay means can equalize the difference in transmission delay due to the difference in communication method.

以下、図面を参照して本発明を実施の形態について詳細に説明する。
図1は、本発明の第1の実施の形態による通信システム1の概略を示す。図示するように、この通信システム1は、親装置2と、複数の子装置3(ランク1の子装置3A1及び3A2、複数のランク2の子装置3B1及び3B2、複数のランク3の子装置3C1、3C2、及び3C3、ランク4の子装置3D1、ランク5の子装置3E1)と、複数の中継器4(41及び42)とを備える。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 shows an outline of a communication system 1 according to a first embodiment of the present invention. As illustrated, the communication system 1 includes a parent device 2 and a plurality of child devices 3 (rank 1 child devices 3A1 and 3A2, a plurality of rank 2 child devices 3B1 and 3B2, and a plurality of rank 3 child devices 3C1. 3C2 and 3C3, rank 4 child device 3D1, rank 5 child device 3E1), and a plurality of repeaters 4 (41 and 42).

親装置2とランク1の子装置3A1及び3A2の間、ランク1の子装置3A1とランク2の子装置3B1の間、ランク2の子装置3B2と中継器41の間、中継器41とランク4の子装置3D1の間、ランク2の子装置3B1とランク3の子装置3C1の間、ランク2の子装置3B2とランク3の子装置3C2及び3C3の間、ランク3の子装置3C3と中継器42の間、中継器42とランク5の子装置3E1の間は、所定の出力(パワー)と所定の周波数を持った電波で双方向に通信可能に接続されている。この出力と周波数は法規制による免許や許可を必要としない値の大きさに選ばれている。この電波は同一周波数であってよい。   Between parent device 2 and rank 1 child devices 3A1 and 3A2, between rank 1 child device 3A1 and rank 2 child device 3B1, between rank 2 child device 3B2 and repeater 41, repeater 41 and rank 4 Between child devices 3D1 of rank 2, child device 3B1 of rank 2 and child device 3C1 of rank 3, child device 3B2 of rank 2, child devices 3C2 and 3C3 of rank 3, child device 3C3 of rank 3 and repeater 42, the repeater 42 and the rank 5 child device 3E1 are connected so as to be capable of bidirectional communication with radio waves having a predetermined output (power) and a predetermined frequency. The output and frequency are chosen to be values that do not require a license or permission under legal regulations. The radio waves may have the same frequency.

また、親装置2とランク1の子装置3A1の間、ランク1の子装置3A2とランク2の子装置3B2の間は、有線通信51又は52により双方向通信可能に接続されている。有線通信51及び52は、RS232C、RS422/485、USB、IEEE1394(fire wire)等の有線シリアル通信、セントロニクス、GP−IB等の有線パラレル通信、イーサネット(登録商標)等のPC(パーソナルコンピュータ)用の通信又はその他の汎用有線通信、光ファイバによる光通信であってよい。さらに、近赤外線を利用した光通信又は超音波を使用した無線通信であってもよい。親装置2、ランク1の子装置3A1、ランク1の子装置3A2、及びランク2の子装置3B2はそれぞれ有線通信51又は52のための送受信部51A又は52A(コネクタ)を備えている。なお、親装置2とランク1の子装置3A1の間は、低出力による無線と有線通信51の両方により時刻情報を含む情報の送受信ができるように二重化されている。   In addition, the parent device 2 and the rank 1 child device 3A1 and the rank 1 child device 3A2 and the rank 2 child device 3B2 are connected to each other by wired communication 51 or 52 so as to be capable of bidirectional communication. Wired communications 51 and 52 are for wired serial communications such as RS232C, RS422 / 485, USB, IEEE1394 (fire wire), wired parallel communications such as Centronics, GP-IB, and PC (personal computer) such as Ethernet (registered trademark). Or other general-purpose wired communication or optical communication using an optical fiber. Furthermore, optical communication using near infrared rays or wireless communication using ultrasonic waves may be used. The parent device 2, the rank 1 child device 3A1, the rank 1 child device 3A2, and the rank 2 child device 3B2 each include a transmission / reception unit 51A or 52A (connector) for the wired communication 51 or 52. The parent device 2 and the rank 1 child device 3A1 are duplexed so that information including time information can be transmitted and received by both low-power wireless and wired communication 51.

親装置2は、図2に示す構成を有する。すなわち、親装置2は、アンテナ20及び受信器21により外部の標準時刻情報の電波(放送の時報、長波標準電波または全地球測位システム(GPS)の時刻情報等)を受信して、デコーダ22により標準時刻情報の時刻コードにする。これに限らず、親装置2はテレホンJJYまたは專用回線等の有線にて標準時刻情報を受信するようにしても良い。なお、親装置2が外部から標準時刻情報を受信する時間は、受信器21に電力を供給する電源制御部29を制御する識別番号記憶部27により所定の時間帯に制御できる。受信された標準時刻情報の時刻コードは、デコーダ22を経由して時刻修正部23に送られる。そして標準時刻情報の時刻コードに基づいて時刻修正部23は標準時刻に一致するように修正する修正情報を作り、計時部24に送る。計時部24は自己の時刻を標準時刻に合うように修正して時刻表示部25の時刻表示を修正する。計時部24は、子装置に送信して子装置の時刻を修正するための基準時刻情報をエンコーダ26に送る。エンコーダ26は、親装置2からの情報であることを識別するためのデータを識別番号記憶部27から受けて、これを基準時刻情報に付して送信器28へ送る。   The parent device 2 has the configuration shown in FIG. That is, the parent device 2 receives an external standard time information radio wave (broadcast time signal, long wave standard radio wave, global positioning system (GPS) time information, etc.) by the antenna 20 and the receiver 21, and the decoder 22 Use the time code of the standard time information. Not limited to this, the parent device 2 may receive the standard time information via a telephone such as a telephone JJY or a cable line. The time for the parent device 2 to receive the standard time information from the outside can be controlled in a predetermined time zone by the identification number storage unit 27 that controls the power supply control unit 29 that supplies power to the receiver 21. The received time code of the standard time information is sent to the time correction unit 23 via the decoder 22. Based on the time code of the standard time information, the time correction unit 23 creates correction information to be corrected so as to coincide with the standard time, and sends the correction information to the time measuring unit 24. The timer unit 24 corrects the time display of the time display unit 25 by correcting its own time so as to match the standard time. The timer unit 24 sends reference time information to the encoder 26 to be transmitted to the child device and to correct the time of the child device. The encoder 26 receives data for identifying that it is information from the parent device 2 from the identification number storage unit 27, attaches it to the reference time information, and sends it to the transmitter 28.

送信器28には、親装置2が基準時刻情報を送信する所定の時間になると、識別番号記憶部27により電源制御部29から電力が供給される。そして、送信器28とアンテナ20を介して、基準時刻情報に親装置からの情報を識別する情報を付して、所定の周波数と出力の搬送電波で子装置3へ向けて送信する。   The transmitter 28 is supplied with power from the power supply control unit 29 by the identification number storage unit 27 at a predetermined time when the parent device 2 transmits the reference time information. Then, via the transmitter 28 and the antenna 20, information for identifying information from the parent device is added to the reference time information, and the information is transmitted toward the child device 3 with a carrier wave having a predetermined frequency and output.

さらに、計時部24は、子装置3に送信して子装置の時刻を修正するための基準時刻情報をシリアル信号エンコーダ61にも送る。シリアル信号エンコーダ61は有線通信に適した形、例えば、RS422等のフォーマット、で時刻情報をエンコードして、親装置2からの情報であることを識別するためのデータを識別番号記憶部27から受けて基準時刻情報に付して有線通信用の送受信器62へ送る。送受信器62には、親装置2が基準時刻情報を送信する所定の時間になると、識別番号記憶部27により第2電源制御部63から電力が供給される。そして、送受信器62は有線通信51に接続された送受信部51A(コネクタ)を経由して、基準時刻情報に親装置からの情報を識別する情報を付して有線通信51により通信システム1内の子装置3A1へ向けて送信する。   Furthermore, the time measuring unit 24 also sends reference time information for correcting the time of the slave device to the slave device 3 to the serial signal encoder 61. The serial signal encoder 61 encodes time information in a form suitable for wired communication, for example, a format such as RS422, and receives data from the identification number storage unit 27 for identifying the information from the parent device 2. The reference time information is sent to the transmitter / receiver 62 for wired communication. The transmitter / receiver 62 is supplied with power from the second power control unit 63 by the identification number storage unit 27 when a predetermined time for the parent device 2 to transmit the reference time information is reached. Then, the transmitter / receiver 62 attaches information for identifying information from the parent device to the reference time information via the transmission / reception unit 51A (connector) connected to the wired communication 51, and uses the wired communication 51 in the communication system 1. It transmits toward child apparatus 3A1.

親装置2は、後述するように通信システム1内の各子装置からの状態を伝える情報をアンテナ20及び受信器21により受信して、デコーダ22により各子装置から情報を識別して表示部19により各子装置の状態を表示する。また、通信システム1内の各子装置からの状態を伝える情報を送受信部51A及び送受信器62により受信して、第2デコーダ64により各子装置から情報を識別して表示部19により各子装置の状態を表示する。通信システム1内の各子装置からの状態データに異常、例えば、時刻情報の解読不能、受信不可能等、があれば、通信システム1の管理者がこれを表示部19を見て知ることができる。   As will be described later, the parent device 2 receives information conveying the state from each child device in the communication system 1 by the antenna 20 and the receiver 21, and the decoder 22 identifies the information from each child device and displays the display unit 19 To display the status of each child device. Further, information indicating the state from each child device in the communication system 1 is received by the transmission / reception unit 51A and the transmitter / receiver 62, the information is identified from each child device by the second decoder 64, and each child device is displayed by the display unit 19. Displays the status of. If the status data from each child device in the communication system 1 is abnormal, for example, if the time information cannot be decoded or received, the administrator of the communication system 1 can know this by viewing the display unit 19. it can.

なお、親装置2が送信する電波と各子装置が送信する後述の電波は同一の周波数でもよい。但し、後述するように親装置2と子装置の送信時間が一致しないように時間をシフトして送信して、混信を回避する。これに代えて、親装置2が送信する電波と各子装置が送信する電波を異なる周波数として、混信を回避してもよい。   The radio waves transmitted by the parent device 2 and the radio waves described later transmitted by each child device may have the same frequency. However, as will be described later, transmission is performed by shifting the time so that the transmission times of the parent device 2 and the child device do not match, thereby avoiding interference. Instead of this, interference may be avoided by setting the radio wave transmitted by the parent device 2 and the radio wave transmitted by each child device to different frequencies.

電源制御部29は、計時部24から供給される現在時刻と親装置2であることを識別する識別番号記憶部27から供給される識別番号に従って、基準時刻情報の送信時間と子装置3からの電波の受信時間にのみ、送信器28、受信器21、及びその他の必要な回路に電力を送り、電力消費を節約する。   The power supply control unit 29 follows the current time supplied from the time measuring unit 24 and the identification number supplied from the identification number storage unit 27 identifying the parent device 2, and the transmission time of the reference time information and the child device 3. Only during radio wave reception time, power is sent to the transmitter 28, the receiver 21, and other necessary circuits to save power consumption.

図1に示す子装置3A1,3A2,3B1,3B2,3C1,3C2,3C3,は、例えば、所謂無線ICタグから構成され、図3に示すように、通信回路301と、タイマ回路302と、メモリ303と、プロセッサ304と、から構成され、パッケージ305に封入されている。   The slave devices 3A1, 3A2, 3B1, 3B2, 3C1, 3C2, 3C3 shown in FIG. 1 are constituted by so-called wireless IC tags, for example, and as shown in FIG. 3, a communication circuit 301, a timer circuit 302, and a memory 303 and a processor 304, which are enclosed in a package 305.

通信回路301は、アンテナ、高周波回路などを含む無線通信用の無線通信回路と、通信ケーブル接続用コネクタ(ジャック)等を含む有線通信回路とを備え他の装置との間で通信を行う。
タイマ回路302は、現在時刻をカウントする。
メモリ303は、プロセッサ304の動作プログラムとこの子装置3の識別情報を記憶している。また、プロセッサ304のワークエリアとして機能する。
The communication circuit 301 includes a wireless communication circuit for wireless communication including an antenna, a high-frequency circuit, and the like, and a wired communication circuit including a connector (jack) for communication cable connection, and performs communication with other devices.
The timer circuit 302 counts the current time.
The memory 303 stores an operation program of the processor 304 and identification information of the child device 3. Also, it functions as a work area for the processor 304.

プロセッサ304は、通信回路301を介して、親装置2又は自己より上位の子装置3からの時刻修正用情報(タイマ回路302の計時時刻を修正するための情報であり、親装置2からのものを基準時刻情報、子装置3からのものを参照時刻情報と呼ぶ)を受信し、受信した時刻修正用情報に含まれている時刻情報に基づいて、タイマ回路302の計時時刻を修正し、修正した時刻情報に基づいて自己より下位ランクの無線ICタグの計時時刻を修正するための時刻修正用情報を通信回路301を介して送信する。また、次のアップリンク時に、時刻修正情報の受信状況(受信の成否、受信したデータの品質、計時時刻の修正の可否、下流への送信状況)を示す受信状況信号等を通信回路301を介して送信する。   The processor 304 is time correction information (information for correcting the time measured by the timer circuit 302 from the parent device 2 or the child device 3 higher than itself) via the communication circuit 301. Is referred to as reference time information, and information from the slave device 3 is referred to as reference time information), and based on the time information included in the received time correction information, the time measured by the timer circuit 302 is corrected and corrected. Based on the time information, the time correction information for correcting the time measured by the wireless IC tag of lower rank than the self is transmitted via the communication circuit 301. Further, at the next uplink, a reception status signal indicating the reception status of the time correction information (success / failure of reception, quality of received data, propriety of time correction, transmission status downstream), etc. is transmitted via the communication circuit 301. To send.

プロセッサ304は、その無線ICタグの機能に応じて様々なデータ処理を行う。例えば、プロセッサ304は、下位ランクの装置から上位ランクの装置に情報を伝達するアップリンクのときに、例えば、送信情報に識別情報(ID;通信制御用に後述する個体識別番号記憶部37に記憶されている個体識別番号と同一でも異なっていても良い)を含める。これにより、その識別情報は親装置2までリレー式に伝送され、親装置2によって子装置3の存在の有無を確認でき、例えば、無線ICタグを添付した物品の存在確認ができる。また、プロセッサ304は、無線ICタグの内部又は外部に配置された種々のセンサ(温度センサ、湿度センサ、圧力センサ、瓦斯メータ、水道メータ、電力メータ)の出力データを収集し、タイマ回路302の計時時刻と対応付けて記憶し、必要に応じて収集したデータを処理し、アップリンクの際に、識別情報と共に通信回路301を介して無線送信する。また、例えば、無線ICタグが温度計等のデータロガーであれば、プロセッサ304は、内部又は外部の温度センタに接続され、所定の時間間隔で得た温度履歴等のデータ履歴を識別情報と共にアップリンクのときの送信情報に含める。これらの情報も親装置2に伝送され、親装置2によって各装置の温度履歴などを確認できる。また、プロセッサ304は、通信回路301を介して、外部より自己宛の問い合わせコマンドを受信すると、自己の識別情報(ID)を含む応答信号を通信回路301を介して送信する。また、問い合わせコマンドを受信した時刻や問い合わせコマンドの発行元の識別情報等をメモリ303に記録し、所定の読み出しコマンドを受信すると、メモリ303に蓄積しておいた履歴情報を通信回路301を介して外部装置に送信するようにしてもよい。   The processor 304 performs various data processing according to the function of the wireless IC tag. For example, the processor 304 stores identification information (ID; individual identification number storage unit 37 described later for communication control) in transmission information, for example, in uplink for transmitting information from a lower rank apparatus to an upper rank apparatus. May be the same as or different from the individual identification number provided). As a result, the identification information is transmitted to the parent device 2 in a relay manner, and the parent device 2 can confirm the presence / absence of the child device 3, for example, can confirm the presence of an article attached with a wireless IC tag. The processor 304 collects output data of various sensors (temperature sensor, humidity sensor, pressure sensor, gas meter, water meter, power meter) arranged inside or outside the wireless IC tag, and The data is stored in association with the clock time, and the collected data is processed as necessary, and wirelessly transmitted through the communication circuit 301 together with the identification information at the time of uplink. For example, if the wireless IC tag is a data logger such as a thermometer, the processor 304 is connected to an internal or external temperature center, and uploads a data history such as a temperature history obtained at a predetermined time interval together with identification information. Included in the transmission information when linking. These pieces of information are also transmitted to the parent device 2, and the parent device 2 can check the temperature history of each device. When the processor 304 receives an inquiry command addressed to itself from the outside via the communication circuit 301, the processor 304 transmits a response signal including its own identification information (ID) via the communication circuit 301. Further, the time when the inquiry command is received, the identification information of the issuer of the inquiry command, etc. are recorded in the memory 303. When a predetermined read command is received, the history information stored in the memory 303 is transmitted via the communication circuit 301. You may make it transmit to an external device.

パッケージ305は、一辺が、例えば、数センチメートル〜数ミリメートルの直方体又は立方体形状に、電波透過性の樹脂材料から形成され、通信回路301による外部との通信を可能としつつ全体を封入する。また、パッケージ305には、有線ケーブル接続用のジャック(送受信部)Jが配置されている。   The package 305 is formed of a radio wave-transmitting resin material in a rectangular parallelepiped or cubic shape having, for example, several centimeters to several millimeters, and encloses the entire package 305 while enabling communication with the outside through the communication circuit 301. The package 305 is provided with a jack (transmission / reception unit) J for connecting a wired cable.

次に、図4を参照して、子装置3(3A1〜3E1)それぞれの主要機能の構成の詳細を、親装置2からの基準時刻情報を直接受信する子装置3Aを例に説明する。
なお、各子装置3は互いに実質的に同一の構成を有し、無線通信及び/又は有線通信により親装置2及び他の子装置3と双方向に通信可能である。
Next, with reference to FIG. 4, the details of the configuration of the main functions of each of the child devices 3 (3A1 to 3E1) will be described by taking the child device 3A that directly receives the reference time information from the parent device 2 as an example.
Each child device 3 has substantially the same configuration as each other, and can communicate bidirectionally with the parent device 2 and other child devices 3 by wireless communication and / or wired communication.

図1に示すように、ランク1の子装置3A1、3A2は、親装置2と直接に電波又は有線通信51により双方向の通信可能な子装置である。ランク2の子装置3B1、3B2は、親装置2と直接に双方向の通信することはできないが、ランク1の子装置3A1又は3A2と電波若しくは有線通信52により双方向に通信可能な子装置である。ランク3の子装置3C1、3C2、3C3は、親装置2及び第1の子装置3Aと直接に双方向の通信することはできないが、ランク2の子装置3B1又は3B2と電波により双方向に通信可能な子装置である。ランク4の子装置3D1は、ランク2の子装置3B2と中継器41を介して双方向に通信可能である。ランク5の子装置3E1は、ランク3の子装置3C3と中継器42を介して双方向に通信可能である。   As shown in FIG. 1, the rank 1 child devices 3 </ b> A <b> 1 and 3 </ b> A <b> 2 are child devices capable of bidirectional communication with the parent device 2 directly by radio waves or wired communication 51. Although the rank 2 child devices 3B1 and 3B2 cannot directly communicate with the parent device 2 in both directions, the rank 2 child devices 3B1 and 3B2 are capable of bidirectional communication with the rank 1 child device 3A1 or 3A2 by radio wave or wired communication 52. is there. The rank 3 child devices 3C1, 3C2, 3C3 cannot directly communicate with the parent device 2 and the first child device 3A, but communicate with the rank 2 child device 3B1 or 3B2 by radio waves. It is a possible child device. The rank 4 child device 3D1 can bidirectionally communicate with the rank 2 child device 3B2 via the repeater 41. The rank 5 child device 3E1 can bidirectionally communicate with the rank 3 child device 3C3 via the repeater 42.

再び、図4を参照して、子装置3の例としてのランク1の子装置3A1は、アンテナ30と受信器31により親装置2から基準時刻情報を含む無線情報を受信して、デコーダ32で時刻情報を受信した後、時刻修正部33に送る。さらにデコーダ32は親装置2から送られたことを示す情報を解読して、ランク制御部35に送る。ランク制御部35は電源制御部39を介して受信器31及びその他の回路への電力供給を停止して、次ぎの基準時刻情報の受信までの所定時間の間、受信を停止する。   Referring to FIG. 4 again, rank 1 child device 3A1 as an example of child device 3 receives wireless information including reference time information from parent device 2 by antenna 30 and receiver 31, and decoder 32 After receiving the time information, it is sent to the time correction unit 33. Further, the decoder 32 decodes the information indicating that it has been sent from the parent device 2 and sends it to the rank control unit 35. The rank control unit 35 stops the power supply to the receiver 31 and other circuits via the power supply control unit 39, and stops the reception for a predetermined time until the reception of the next reference time information.

同時に、子装置3A1は、有線通信51と送受信部51A(コネクタ)と送受信器72により親装置2から基準時刻情報を含むRS422等のシリアル信号を受信して、第2のデコーダ74で時刻コードにデコードした後、遅延時間調整部75に送る。   At the same time, the slave device 3A1 receives a serial signal such as RS422 including the reference time information from the master device 2 through the wired communication 51, the transmission / reception unit 51A (connector), and the transmitter / receiver 72. After decoding, the data is sent to the delay time adjustment unit 75.

遅延時間調整部75は、第2デコーダ74でデコードされた基準時刻情報を一定時間Δtだけ遅延して、時刻修正部33に供給する。この一定時間ΔTは、有線通信51,52による時刻情報の通信時間は、無線通信による時刻情報の通信時間よりも早いという前提に基づいて、装置間の無線通信による時刻情報の通信時間と有線通信による時刻情報の通信時間との差(例えば、復調、エラーチェック、エラー訂正、等の時間を総合的に含む時間差)を、装置スペックに基づいた計算あるいは実験などにより求め、これを設定する。これにより、有線通信51,52により取得した時刻情報を時刻修正部33に供給するタイミングを予め設定された時間Δtだけ遅延させて、有線通信51、52による時刻情報の出力タイミングと無線通信による時刻情報の出力タイミングの差をなくして、同じランクの子装置3同士の時刻修正のタイミングを等しくするようにして時刻修正部33に送る。遅延時間調整部75は、遅延線等を用いたものでも、予め設定された遅延時間で出力するFIF0(First‐in First‐out)レジスタやシフトレジスタであってよい。   The delay time adjustment unit 75 delays the reference time information decoded by the second decoder 74 by a predetermined time Δt and supplies the delayed time to the time correction unit 33. This fixed time ΔT is based on the assumption that the communication time of time information by the wired communication 51, 52 is earlier than the communication time of time information by the wireless communication, and the communication time of the time information by the wireless communication between the devices and the wired communication. The difference between the time information and the communication time (for example, a time difference comprehensively including the time of demodulation, error check, error correction, etc.) is obtained by calculation or experiment based on device specifications and set. As a result, the timing for supplying the time information acquired by the wired communications 51 and 52 to the time correction unit 33 is delayed by a preset time Δt, and the output timing of the time information by the wired communications 51 and 52 and the time by the wireless communications are set. The difference between the output timings of information is eliminated, and the time correction timings of the child devices 3 of the same rank are made equal to each other, and sent to the time correction unit 33. The delay time adjustment unit 75 may be a FIF0 (First-in First-out) register or a shift register that outputs with a preset delay time, even using a delay line or the like.

第2のデコーダ74は、有線通信51,52による時刻情報が親装置2から送られた情報を示すランク情報をランク制御部35に送る。ランク制御部35は第2の電源制御部73から送受信器72及びその他の回路への電力供給を停止して所定時間の間、受信を停止する。   The second decoder 74 sends rank information indicating the time information transmitted from the parent device 2 to the rank control unit 35 as time information based on the wired communications 51 and 52. The rank control unit 35 stops the power supply from the second power supply control unit 73 to the transmitter / receiver 72 and other circuits, and stops reception for a predetermined time.

ランク制御部35は、無線通信と有線通信の両方で時刻情報の受信に成功した場合は、ランクの上位の時刻情報を優先する。子装置3A1,3B1の場合、両方とも親装置2から受信しているために、ランクの差がない。このために、時刻情報の受信に成功した方を優先するが、共に時刻情報の受信に成功している場合は、デフオルトとして、有線通信による時刻情報を使用して時刻修正部33において時刻修正を行なう。   The rank control unit 35 gives priority to time information having higher ranks when time information is successfully received in both wireless communication and wired communication. In the case of the child devices 3A1 and 3B1, since both are received from the parent device 2, there is no difference in rank. For this reason, priority is given to those who have succeeded in receiving the time information. However, if both have succeeded in receiving the time information, the time correction unit 33 corrects the time using the time information by wired communication as the default. Do.

ランク制御部35は、デコーダ32と第2デコーダ74のいずれも、親装置2(又は他の子装置3)から送られる時刻情報(本実施例の場合は、無線と有線の両方による時刻情報)の時刻コードを復元できなかった場合は、時刻修正部33による時刻修正を停止する。そして、子装置3から時刻情報を他の子装置3に送らないように、例えば、電源制御部39と第2の電源制御部73に指示する(例えば、これらの電源制御部は時刻情報送信タイミングで送受信器38,72等に電力を供給しない)。ランク制御部35(プロセッサ304)は、このような情報をメモリ303等に保存しておいて、アップリンク時にエンコーダ36、送信器38、アンテナ30を介して無線により、若しくは、シリアル信号エンコーダ71、送受信器72、送受信部51A又は52Aを介して有線により、親装置2又は上位の子装置3に時刻情報の受信失敗を通知する。親装置2に送られた子装置3の通知は、親装置2の表示部19に表示される及び/又は親装置2の送信器28等を介して通信システム1の管理者又は管理用の機器へ送信される。   The rank control unit 35 includes time information sent from the parent device 2 (or another child device 3) in both the decoder 32 and the second decoder 74 (in this embodiment, time information by both wireless and wired). If the time code cannot be restored, the time correction by the time correction unit 33 is stopped. Then, for example, the power supply control unit 39 and the second power supply control unit 73 are instructed not to send the time information from the child device 3 to the other child devices 3 (for example, these power supply control units are time information transmission timings). The power is not supplied to the transceivers 38, 72, etc.). The rank control unit 35 (processor 304) stores such information in the memory 303 and the like, and at the time of uplink, wirelessly via the encoder 36, the transmitter 38, the antenna 30, or the serial signal encoder 71, The parent device 2 or the upper child device 3 is notified of the reception failure of the time information by wire via the transmitter / receiver 72 and the transmitter / receiver 51A or 52A. The notification of the child device 3 sent to the parent device 2 is displayed on the display unit 19 of the parent device 2 and / or the administrator of the communication system 1 or the management device via the transmitter 28 or the like of the parent device 2 Sent to.

時刻修正部33は、親装置2から受信(無線又は有線により)された基準時刻情報に基づいて自己の時刻を修正する修正情報を作り、計時部34の計時時刻を修正し親装置2の時刻に合わせる。なお、本例では、子装置3として無線ICタグを想定しており、この計時部34の計時時刻を表示する表示部を配置していないが、時刻情報を表示する表示部を配置してもよい。
計時部34は、その計時時刻に基づいて、ランク2の子装置3B1の時刻を修正するためのランク1の参照時刻情報を作成して、エンコーダ36若しくはシリアル信号エンコーダ71に送る。このランク1の参照時刻情報は、後述するランク1の子装置3A1の所定の送信時間に送信される。このランク1の参照時刻情報はこのランク1の子装置3A1の所定の送信時間に対応した計時部34の時刻情報であり、親装置2からの基準時刻情報とは異なり、それよりも時間的に後の時間情報である。
The time correction unit 33 generates correction information for correcting its own time based on the reference time information received from the parent device 2 (wirelessly or by wire), corrects the time measured by the time measuring unit 34, and sets the time of the parent device 2. To match. In this example, a wireless IC tag is assumed as the slave device 3, and a display unit for displaying the time measured by the time measuring unit 34 is not arranged, but a display unit for displaying time information may be arranged. Good.
The timekeeping unit 34 creates rank-1 reference time information for correcting the time of the rank-2 child device 3B1 based on the timekeeping time, and sends it to the encoder 36 or the serial signal encoder 71. This rank 1 reference time information is transmitted at a predetermined transmission time of a rank 1 child device 3A1, which will be described later. The rank 1 reference time information is the time information of the time measuring unit 34 corresponding to the predetermined transmission time of the rank 1 child device 3A1, and is different from the reference time information from the parent device 2 in terms of time. Later time information.

エンコーダ36若しくはシリアル信号エンコーダ71は、このランク1の参照時刻情報に親装置2の基準時刻情報から区別するためのデータを追加する。即ち、ランク制御部35はデコーダ32若しくは第2のデコーダ74からの情報に基づき、送信する時刻情報がランク1の参照時刻情報であることを表すデータをエンコーダ36とシリアル信号エンコーダ71に送る。また、個体識別番号記憶部37はこの子装置3A1を通信システム1内の他の子装置3から識別する個体識別情報である個体識別番号をエンコーダ36とシリアル信号エンコーダ71に与える。エンコーダ36とシリアル信号エンコーダ71は、計時部34からのランク1の参照時刻情報に、ランク制御部35からのランク1の参照時刻情報であることを示すデータと、個体識別番号記憶部37からの特定の子装置3A1を示す個体識別番号とを付け加えて、送信器38と送受信器72とに送る。   The encoder 36 or the serial signal encoder 71 adds data for distinguishing from the reference time information of the parent apparatus 2 to the rank 1 reference time information. That is, the rank control unit 35 sends data indicating that the time information to be transmitted is the reference time information of rank 1 to the encoder 36 and the serial signal encoder 71 based on the information from the decoder 32 or the second decoder 74. In addition, the individual identification number storage unit 37 gives the encoder 36 and the serial signal encoder 71 an individual identification number that is individual identification information for identifying the child device 3A1 from the other child devices 3 in the communication system 1. The encoder 36 and the serial signal encoder 71 include data indicating rank 1 reference time information from the rank control unit 35 in rank 1 reference time information from the time measuring unit 34, and an individual identification number storage unit 37. An individual identification number indicating a specific child device 3A1 is added and sent to the transmitter 38 and the transmitter / receiver 72.

送信器38及び送受信器72は、所定の送信時刻に情報をアンテナ30若しくは送受信部51A又は52A(コネクタ)を経由して他の子装置3へ送信する。この所定の送信時刻は後述するようにランクと個体識別番号によって予め決定されており、同一送信周波数を使用する親装置2や他の子装置の送信時間と重複しないようになっていて、混信を回避している。各子装置の送信時間は、子装置のランク、すなわち、親装置2からの基準時刻情報を直接に受信するランク1の子装置3A、ランク1の子装置からのランク1の参照時刻情報を受信するランク2の子装置3B、ランク2の子装置からのランク2の参照時刻情報を受信するランク3の子装置3C、に応じて、順次時間が遅れるようにシフトされている。さらに、同じランクでも複数の子装置(例えば、ランク1には子装置3A1と3A2、ランク2には子装置3B1と3B2、ランク3には子装置3C1、3C2、3C3)が存在し得るため、各子装置は子装置の個体識別番号に応じてさらに細分して割当てられた送信時間に送信するようになっている。   The transmitter 38 and the transmitter / receiver 72 transmit information to another child device 3 via the antenna 30 or the transmitter / receiver 51A or 52A (connector) at a predetermined transmission time. As will be described later, this predetermined transmission time is determined in advance by the rank and the individual identification number, and does not overlap with the transmission time of the parent device 2 and other child devices that use the same transmission frequency. It is avoiding. The transmission time of each child device is the rank of the child device, that is, the rank 1 child device 3A that directly receives the reference time information from the parent device 2, and the rank 1 reference time information from the rank 1 child device. In accordance with the rank 2 child device 3B and the rank 3 child device 3C receiving the rank 2 reference time information from the rank 2 child device, the time is sequentially shifted so as to be delayed. Furthermore, since there may be a plurality of child devices (for example, child devices 3A1 and 3A2 in rank 1, child devices 3B1 and 3B2 in rank 2, and child devices 3C1, 3C2, and 3C3 in rank 3) even at the same rank, Each child device is further subdivided according to the individual identification number of the child device and transmits it at the assigned transmission time.

電源制御部39及び第2の電源制御部73は、上記した自己のランクをランク制御部35から得て、自己の個体識別番号を個体識別番号記憶部37から得て、自己のランクと個体識別番号に基づいて割当てられた所定時刻に達したことを計時部34から知り、送信器38若しくは送受信器72に電力を供給して送信を行なう。   The power supply control unit 39 and the second power supply control unit 73 obtain their own rank from the rank control unit 35, obtain their own individual identification number from the individual identification number storage unit 37, and determine their own rank and individual identification. The timer 34 knows that the predetermined time assigned based on the number has been reached, and supplies power to the transmitter 38 or the transmitter / receiver 72 to perform transmission.

電源制御部39と第2の電源制御部73とは、それぞれ、親装置2及び自己のランクより上位ランクの子装置からの時刻情報の所定の送信時間に受信器31と送受信器72等への電力を供給を開始して、時刻情報を受信し、受信後に受信器31と送受信器72等への電力の供給を停止する。この例では、第1の子装置3A1は、最上位ランクとされているので、親装置2の送信時間に受信器31及び送受信器72等を動作させる。これにより受信のための消費電力を節約することができる。これに加えて、他の子装置が送信する第1又はランク2の参照時間情報の受信を防止して、繰返しの時刻修正や再度の参照時刻情報の送信を防止する。   The power supply control unit 39 and the second power supply control unit 73 are respectively connected to the receiver 31 and the transmitter / receiver 72 at a predetermined transmission time of the time information from the parent device 2 and the child device of higher rank than its own rank. Power supply is started, time information is received, and power supply to the receiver 31 and the transmitter / receiver 72 is stopped after reception. In this example, since the first slave device 3A1 has the highest rank, the receiver 31 and the transmitter / receiver 72 are operated during the transmission time of the parent device 2. As a result, power consumption for reception can be saved. In addition, the reception of the first or rank 2 reference time information transmitted by another child device is prevented, thereby preventing repeated correction of time and transmission of reference time information again.

また、子装置3は上記の通り、時刻情報の受信に成功したか否か等の情報を、予め定められたアップリンク時に親装置2に送信する。後述するように、この予め定められたアップリンク時は、時刻情報の送信時間とは異なる時間帯であって、ランクごと、個体識別番号ごと、に異なる時間が割当てられている。電源制御部38と第2の電源制御部73とは、計時部34、個体識別番号記憶部37、及びランク制御部35からこの予め定められた時間になったことを知ると、自己の個体識別番号の情報、時刻情報の受信の成否等を含んだ情報を親装置2にアップリンク送信するために、送信器38と送受信器72へ電力を供給する。   Further, as described above, the child device 3 transmits information such as whether or not the time information has been successfully received to the parent device 2 at a predetermined uplink time. As will be described later, this predetermined uplink time is a time zone different from the time information transmission time, and a different time is allocated for each rank and for each individual identification number. When the power supply control unit 38 and the second power supply control unit 73 know from the time measuring unit 34, the individual identification number storage unit 37, and the rank control unit 35 that the predetermined time has been reached, their own individual identification is performed. Power is supplied to the transmitter 38 and the transmitter / receiver 72 in order to uplink transmit the information including the number information and the success / failure of the reception of the time information to the parent device 2.

さらに、子装置3Aは、下位のランクの子装置、例えば、ランク2の子装置3Bとランク3の子装置3Cが、自己の個体識別番号の情報と時刻情報の受信の可否等の情報を親装置2にアップリンク送信する際、電波の中継を行う。このため、子装置3Aは下位のランクの子装置が親装置に受信情報を送信する時間帯に受信器31と送受信器72に電力を供給して、下位ランクの子装置からの電波を受信する。   Further, the child device 3A is a child device of a lower rank, for example, the child device 3B of rank 2 and the child device 3C of rank 3 share information about whether or not it can receive its own individual identification number and time information. When uplink transmission is performed to the device 2, radio waves are relayed. For this reason, the child device 3A supplies power to the receiver 31 and the transmitter / receiver 72 in a time zone in which the child device of the lower rank transmits reception information to the parent device, and receives radio waves from the child device of the lower rank. .

ランク2の子装置3Bは第1の子装置3Aと同じ構成を有し、類似した作用を行う。ランク2の子装置3Bは、ランク1の子装置3Aからのランク1の参照時刻情報を受信したことをデコーダ32と第2デコーダ74で解析してランク制御部35に伝える。ランク制御部35は、自己がランク2の子装置であることを識別し、自己が発信する時刻情報がランク2の参照時刻情報であることを示すデータをエンコーダ36とシリアル信号エンコーダ71に送り、さらにランク2の子装置に割当てられた受信時間と送信時間に受信と送信をするために電源制御部39と第2の電源制御部73を介して受信器31と送信器38若しくは送受信器72への電力供給の時間を指示する。受信器31と送受信器72は、ランク1の参照時刻情報を受信した後は、次回のランク1の参照時刻情報の受信時間まで受信を停止し、他のランクの子装置の発信する時刻情報を受信することを防止する。さらにデコーダ32と第ランクの子装置3Cが時刻修正に使用するためのランク2の参照時刻情報をエンコーダ36とシリアル信号エンコーダ71に送る。エンコーダ36とシリアル信号エンコーダ71は、この時刻情報に個体識別番号記憶部37からの当該子装置3Bの特定の個体識別番号とランク2の参照時刻情報であることを示す情報を付け加えて、送信器38と送受信器72に送る。このランク2の子装置3Bが送信するランク2の参照時刻情報は、後述のようにランク2と個体識別番号により割当てられた送信時間における時刻情報である。   The rank 2 child device 3B has the same configuration as the first child device 3A and performs a similar operation. The rank 2 child device 3B analyzes the fact that the rank 1 reference time information from the rank 1 child device 3A is received by the decoder 32 and the second decoder 74 and notifies the rank control unit 35 of the analysis. The rank control unit 35 identifies that it is a child device of rank 2, sends data indicating that the time information transmitted by itself is the reference time information of rank 2 to the encoder 36 and the serial signal encoder 71, Further, in order to perform reception and transmission at the reception time and transmission time allocated to the child device of rank 2, to the receiver 31 and the transmitter 38 or the transmitter / receiver 72 via the power supply control unit 39 and the second power supply control unit 73. Indicate the power supply time. After receiving the reference time information of rank 1, the receiver 31 and the transmitter / receiver 72 stop the reception until the reception time of the reference time information of the next rank 1 and receive time information transmitted by the child devices of other ranks. Prevent receiving. Further, the rank 32 reference time information used by the decoder 32 and the second rank child device 3C for time correction is sent to the encoder 36 and the serial signal encoder 71. The encoder 36 and the serial signal encoder 71 add information indicating the specific individual identification number of the child device 3B from the individual identification number storage unit 37 and the reference time information of rank 2 to the time information, and the transmitter. 38 and the transmitter / receiver 72. The rank 2 reference time information transmitted by the rank 2 child device 3B is time information at the transmission time assigned by rank 2 and the individual identification number as described later.

上述の動作説明では、ランク2の子装置3Bは、親装置2の送信する基準時刻情報を受信できない状態にあるとして説明したが、もし、親装置2から基準時刻情報を受信できた場合には、ランク1の子装置3Aと同様に動作し、自己が発信する時刻情報をランク1の参照時刻情報とすることもできる。このように、子装置3は一般に上位のランクの時刻情報が送信される時に受信可能な状態にし、より上位のランクの時刻情報を受信できるかどうかを検出して、より上位のランクの時刻情報が受信できた場合は、そのランクの受信に切り換える(初期設定のまま固定でもよい)。   In the above description of the operation, the rank 2 child device 3B is described as being in a state where it cannot receive the reference time information transmitted from the parent device 2, but if the reference time information can be received from the parent device 2, The time information transmitted by itself can be used as the rank 1 reference time information. In this way, the slave device 3 is generally in a state where it can be received when the time information of the higher rank is transmitted, detects whether it can receive the time information of the higher rank, and the time information of the higher rank. Can be received, it is switched to reception of the rank (it may be fixed with the initial setting).

時刻修正部33は、ランク1の参照時刻情報に基づいて自己の計時部34の時刻を修正する。そして、次のランク3の子装置3Cの時刻を修正するためのランク2の参照時刻情報を作成して、エンコーダ36とシリアル信号エンコーダ71に送る。エンコーダ36とシリアル信号エンコーダ71は、このランク1の参照時刻情報に親装置の基準時刻情報から区別するためのデータを追加する。ランク制御部35はデコーダ32と第2デコーダからの情報に基づき、送信する時刻情報がランク1の参照時刻情報であることを表すデータをエンコーダ36とシリアル信号エンコーダ71に送る。また、個体識別番号記憶部37は個体識別番号をエンコーダ36とシリアル信号エンコーダ71に与える。エンコーダ36とシリアル信号エンコーダ71は、計時部34からのランク2の時刻情報に、ランク制御部35からのランク2であることを示すデータと、個体識別番号記憶部37からの個体識別番号とを加えて、第2のランクの参照時刻情報(送信対象情報)を生成し、送信器38と送受信器72にそれぞれ送る。送信器38と送受信器72は、参照時刻情報を他の子装置3へ送信する。この所定の送信時刻は後述するようにランクと個体識別番号によって予め決定されている。   The time correction unit 33 corrects the time of its own clock unit 34 based on the reference time information of rank 1. Then, reference time information of rank 2 for correcting the time of the next rank 3 child device 3C is created and sent to the encoder 36 and the serial signal encoder 71. The encoder 36 and the serial signal encoder 71 add data for distinguishing from the reference time information of the parent apparatus to the rank-1 reference time information. Based on information from the decoder 32 and the second decoder, the rank control unit 35 sends data indicating that the time information to be transmitted is rank 1 reference time information to the encoder 36 and the serial signal encoder 71. The individual identification number storage unit 37 gives the individual identification number to the encoder 36 and the serial signal encoder 71. The encoder 36 and the serial signal encoder 71 include the data indicating that the rank is 2 from the rank control unit 35 and the individual identification number from the individual identification number storage unit 37 in the rank 2 time information from the timing unit 34. In addition, reference time information (transmission target information) of the second rank is generated and sent to the transmitter 38 and the transmitter / receiver 72, respectively. The transmitter 38 and the transmitter / receiver 72 transmit the reference time information to the other child devices 3. The predetermined transmission time is determined in advance by the rank and the individual identification number as will be described later.

ランク3の子装置3C1、3C2、3C3と、ランク4の子装置3D1とランク5の子装置3E1は、上記第1及びランク2の子装置3A及び3Bと同じ構成を有し、類似した作用を行う。   The rank 3 child devices 3C1, 3C2, 3C3, the rank 4 child device 3D1, and the rank 5 child device 3E1 have the same configuration as the first and rank 2 child devices 3A and 3B, and have similar operations. Do.

ここで、ランク4の子装置3D1はランク2の子装置3B2から直接に電波を受信できない位置にあるため、ランク2の子装置3B2とランク4の子装置3D1の間に、必要な数波中継器、例えば図1の場合は、1つの中継器41を介在させて双方向の電波の通信を行なう。中継器41(及び42)は、各ランクの子装置3A、3B、3Cと実質的に同一構成のものであり、子装置としての個体識別番号を備える。中継器41、42はそれぞれ第3、第4の子装置のランクである。また、中継器41及び42は、子装置と同じ表示部により、電波の受信の可否、受信された電波のランク、すなわち、時刻情報の区別、及びその送信元とを表示して、中継器41及び42の設置の際に利用できる。なお、中継器として単なる電波中継器のための受信・送信部からなるものとしても良い。   Here, since the rank 4 child device 3D1 is in a position where radio waves cannot be directly received from the rank 2 child device 3B2, a necessary number of wave relays are performed between the rank 2 child device 3B2 and the rank 4 child device 3D1. For example, in the case of FIG. 1, bidirectional radio wave communication is performed with one relay 41 interposed. The repeater 41 (and 42) has substantially the same configuration as the child devices 3A, 3B, and 3C of each rank, and includes an individual identification number as a child device. The repeaters 41 and 42 are the ranks of the third and fourth child devices, respectively. Further, the repeaters 41 and 42 display whether or not radio waves can be received, the rank of the received radio waves, that is, the distinction of time information, and the transmission source thereof by the same display unit as that of the slave device. And 42 can be used. In addition, it is good also as what consists of a reception / transmission part for a simple radio wave repeater as a repeater.

図1は、ランク1の子装置3A1からランク5の子装置3E1までを示しているが、これ以上の子装置を配置して、リレー式に電波で双方向通信可能に接続することもできる。   FIG. 1 shows the rank 1 child device 3A1 to the rank 5 child device 3E1, but it is also possible to arrange more child devices and connect them so as to be capable of bidirectional communication by radio waves in a relay manner.

各子装置3は、独自の個体識別番号を個体識別番号記憶部37に有するがその他は同じ構成を有し、ランク制御部35により親装置2からの基準時刻情報を受信する場合はランク1の子装置3Aに、ランク1の子装置3Aからのランク1の参照時刻情報を受信する場合は第2(1+1)ランクの子装置3Bに、ランク2の子装置3Bからのランク2の参照時刻情報を受信する場合は第3(2+1)ランクの子装置3Cに、自動的にランク付けされる。この結果、子装置同士は交換可能である。   Each child device 3 has its own individual identification number in the individual identification number storage unit 37, but otherwise has the same configuration. When the reference time information from the parent device 2 is received by the rank control unit 35, rank 1 When the child device 3A receives rank 1 reference time information from the rank 1 child device 3A, the second (1 + 1) rank child device 3B receives the rank 2 reference time information from the rank 2 child device 3B. Is automatically ranked to the child device 3C of the third (2 + 1) rank. As a result, the child devices can be exchanged.

次に、図5を参照して、親装置2と子装置3の間で時刻修正のための時刻情報を送信するダウンリンク時の時間割当てを説明する。ダウンリンクは、例えば1日に1回、午前2時台に1時間を使用して行なう。但し、各子装置が時刻情報の受信と送信に要する時間は、その内の割当てられた時間、この例では1秒間である。しかも子装置3は時刻修正のための時刻情報を一旦受信すると、上記のように受信器31及び送受信機72の電源を切るために無駄な電力消費を防ぐことができる。以降の時刻情報の受信は受信器による受信を停止して行なわないから、繰返しの時刻修正や送信が防止できる。各子装置は受信可能な基準時刻情報、ランク1の参照時刻情報、ランク2の参照時刻情報等の時刻情報の内、より高いランク、すなわち、より親装置に近い方の時刻情報を優先して受信するように構成されている。なお、ダウンリンクは1日に1回に限るものではない。2〜3時間に1回間隔でダウンリンクを行なうこととすれば、システム内の装置の累積誤差をさらに抑えることができる。また、低精度の装置では品質や設置環境の温度変化の影響等によって1日の誤差が1秒程度になるものがあり、このようなものでは、1日に1回のダウンリンクを行なうとすれば、本例のシステムの1秒の間に通信を完結する方式から逸脱するおそれがあるため、子装置に採用することは難しい。2〜3時間に1回間隔でダウンリンクを行なうシステムとすれば、システム内の装置の累積誤差が抑えられ、低精度の装置であっても子装置に採用することができ、安価にシステム構築が可能となる。   Next, with reference to FIG. 5, time allocation at the time of downlink in which time information for time correction is transmitted between the parent device 2 and the child device 3 will be described. The downlink is performed, for example, once a day using 1 hour at 2am. However, the time required for each child device to receive and transmit the time information is the allocated time, 1 second in this example. Moreover, once the time information for time correction is received, the slave device 3 can prevent unnecessary power consumption because the receiver 31 and the transmitter / receiver 72 are turned off as described above. Subsequent reception of time information is not performed after the reception by the receiver is stopped, so that repeated time correction and transmission can be prevented. Each child device gives priority to time information such as reference time information that can be received, reference time information of rank 1, reference time information of rank 2 and the like that is higher in rank, that is, closer to the parent device. It is configured to receive. The downlink is not limited to once a day. If the downlink is performed once every two to three hours, the accumulated error of the devices in the system can be further suppressed. In addition, some low-accuracy devices have an error of about 1 second per day due to the influence of quality and temperature changes in the installation environment. In such cases, it is assumed that the downlink is performed once a day. For example, since there is a risk of deviating from the method of completing the communication within one second of the system of this example, it is difficult to adopt it for the slave device. If the system performs a downlink once every two to three hours, the accumulated error of the devices in the system can be suppressed, and even a low-precision device can be adopted as a child device, and the system can be constructed at low cost. Is possible.

まず、午前2時前の所定タイミング(例えば、午前1時59分59秒〜午前2時00分00秒の1秒間、ランク0に相当する親装置2が子装置3に基準時刻情報を送信する。この基準時刻情報を受信できた子装置3は、ランク制御部35の機能により、自動的にランク1の子装置として設定され、その後の受信動作が停止する。
続いて、図5に示すように、午前2時から午前2時1分までの1分間がランク1であるランク1の子装置3Aの時刻情報、すなわち、ランク1の参照時刻情報の送信時間帯である。この1分の時間帯はさらに1秒間間隔で60の時間帯に細分されて、第1の子装置3Aの個体識別番号(1から60の間の特定の番号とする)に対応して割当てられた時間帯の1秒間に無線若しくは有線送信を行なう。2時1分から2時2分までの1分間がランク2であるランク2の子装置3Bの時刻情報、すなわち、ランク2の参照時刻情報、の送信時間帯である。この1分の時間帯はさらに1秒間間隔で60の時間帯に細分されて、ランク2の子装置3Bの個体識別番号(1から60の間の特定の番号とする)に対応して割当てられた時間帯の1秒間に送信を行なう。以下のランクの子装置がある場合も同様である。このようにして、同一の周波数の電波を用いても、混信することかない。
First, the parent device 2 corresponding to rank 0 transmits the reference time information to the child device 3 at a predetermined timing before 2:00 am (for example, 1:59:59 am to 2:00:00 am for 1 second). The slave device 3 that has received this reference time information is automatically set as a rank 1 slave device by the function of the rank control unit 35, and the subsequent reception operation stops.
Subsequently, as shown in FIG. 5, the time information of the rank 1 child device 3A in which 1 minute from 2:00 am to 2: 1 am is rank 1, that is, the transmission time zone of the reference time information of rank 1 It is. This one-minute time zone is further subdivided into 60 time zones at 1-second intervals, and assigned in correspondence with the individual identification number (specific number between 1 and 60) of the first child device 3A. Wireless or wired transmission is performed in one second during the specified time zone. One minute from 2:01 to 2: 2 is the transmission time zone of the time information of the rank 2 slave device 3B, that is, the rank 2 reference time information. This one-minute time zone is further subdivided into 60 time zones at 1-second intervals, and assigned to correspond to the individual identification number of the rank 2 child device 3B (specific number between 1 and 60). Transmission is performed in 1 second of the specified time zone. The same applies when there are child devices of the following ranks. In this way, even if radio waves having the same frequency are used, there is no interference.

次に、図6を参照して、ランク1乃至ランク3の子装置3A、3B、3Cから親装置2へ各子装置の受信状態等を示す情報(受信状況情報)を電波で送信するアップリンクの時間割当てを説明する。各子装置3の受信状況情報は、図7(a)〜(c)に例示するように、ランク、個体識別番号、時刻修正のための時刻情報の受信の成否、そして受信した時刻情報の送信元の個体識別番号、計時時刻の修正の成否等の情報を含む。また、子装置3である無線ICタグの機能に応じて、図7(b)、(c)に例示するように、その無線ICタグ3の識別情報(ID;個体識別情報とは別個のもの)や各子装置3が生成又は収集した情報(例えば、温度・圧力・湿度履歴の情報、メータ(瓦斯メータ、水道メータ、電気メータの値等、あるいは、これを処理・加工して得た情報)を含んでも良い。アップリンクは、例えば、1日に1回、午前3時台に1時間を使用して行なう。但し、各子装置が情報の送信に要する時間は、その内の割当てられた時間、この例では1秒問である。したがって、無駄な電力消費を防ぐことができる。アップリンク開始とともに各子装置3において中継のための受信動作が開始される。アップリンクは、情報を親装置に集めて、システム全体の稼動状況を監視し、保守作業に利用し、必要ならば、中継器の配置あるいは子装置の位置の変更を行なうこともできる。各子装置3は、図7(a)〜(c)に示すように、下位ランクの子装置3から送信されて来た受信状況情報に自己の受信状況情報を付加して、上位装置に送信する。   Next, referring to FIG. 6, uplink (information on reception status) indicating the reception status of each child device from rank 1 to rank 3 child devices 3A, 3B, 3C to the parent device 2 is transmitted by radio waves. The time allocation of will be described. As illustrated in FIGS. 7A to 7C, the reception status information of each child device 3 includes rank, individual identification number, success / failure of reception of time information for time correction, and transmission of received time information. This includes information such as the original individual identification number and the success or failure of the correction of the timekeeping time. Also, depending on the function of the wireless IC tag that is the child device 3, as shown in FIGS. 7B and 7C, the identification information (ID; individual identification information of the wireless IC tag 3 is separate from the identification information. ) And information generated or collected by each child device 3 (for example, temperature / pressure / humidity history information, meter (gas meter, water meter, electric meter value, etc.) or information obtained by processing / processing this information The uplink is performed, for example, once a day using 1 hour at about 3 am, provided that the time required for each child device to transmit information is allocated within it. Therefore, wasteful power consumption can be prevented, and at the same time as the uplink starts, a reception operation for relaying is started in each child device 3. Collect it in the parent device and earn the entire system The situation is monitored and used for maintenance work, and if necessary, the position of the repeater can be changed or the position of the child device can be changed as shown in FIGS. In addition, the reception status information transmitted from the lower rank child device 3 is added to its own reception status information and transmitted to the higher level device.

図6に示すように、ダウンリンクの場合とは逆により下位ランクの子装置からアップリンク送信が開始される。すなわち、3時から3時1分までの1分間がランク60の子装置の情報の送信時間帯である。この1分の時間帯はさらに1秒間間隔で60の時間帯に細分されて、子装置の個体識別番号(1から60の間の特定の番号とする)ごとに割当てられた時間帯の1秒間に無線若しくは有線による送信を行なう。この子装置の送信した電波は上位の子装置により順次無線若しくは有線で中継されて親装置2まで送られる。   As shown in FIG. 6, uplink transmission is started from a lower rank child apparatus in reverse to the downlink case. That is, one minute from 3 o'clock to 3 o'clock is a transmission time zone of information of a rank 60 child device. This 1 minute time zone is further subdivided into 60 time zones at 1 second intervals, and 1 second of the time zone assigned for each individual identification number of the child device (specific number between 1 and 60). Wireless or wired transmission. The radio wave transmitted by the slave device is relayed to the master device 2 by being sequentially or wirelessly relayed by the host slave device.

3時55分から3時56分までの1分間が、例えば、ランク5であるランク5の子装置3E1の情報の送信時間帯である。この1分の時間帯は上記のようにさらに1秒間間隔で60の時間帯に細分されて、子装置3E1は自己の個体識別番号に対応して割当てられた時間帯の1秒間に送信を行なう。子装置3E1は、自己の個体識別番号と時刻情報の受信の可否と時刻情報のランク(すなわち、ランク5の参照時刻情報であること)とその送信元の中継器42の個体識別番号を含む情報を送信する。このランク5の子装置3E1の情報は、中継器42、ランク3の子装置3C3、ランク2の子装置3B2、ランク1の子装置3A2により中継される。すなわち、中継される子装置のそれぞれの送信タイミングに送信されるそれぞれの子装置の情報に付加されて、親装置2で受信される。3時56分から3時57分までの1分間がランク4である中継器42及び子装置3D1の情報の送信時間帯である。この1分の時間帯は上記のようにさらに1秒間間隔で60の時間帯に細分されて、中継器42及び子装置3D1は自己の個体識別番号に対応して割当てられた時間帯の1秒間に送信を行なう。3時57分から3時58分までの1分間がランク3である中継器41及び子装置3C1、3C2、303の情報の送信時間帯である。この1分の時間帯は上記のようにさらに1秒間間隔で60の時間帯に細分されて、中継器41及び子装置3C1、3C2、3C3は自己の個体識別番号に対応して割当てられた時間帯の1秒間に送信を行なう。   One minute from 3:55 to 3:56 is, for example, the transmission time zone of information of the slave device 3E1 of rank 5 that is rank 5. This 1 minute time slot is further subdivided into 60 time slots at 1 second intervals as described above, and the child device 3E1 transmits in 1 second of the time slot assigned corresponding to its own individual identification number. . The child device 3E1 includes information including its own individual identification number, availability of reception of time information, rank of time information (that is, reference time information of rank 5), and individual identification number of the relay device 42 of the transmission source. Send. The information of the rank 5 child device 3E1 is relayed by the repeater 42, the rank 3 child device 3C3, the rank 2 child device 3B2, and the rank 1 child device 3A2. That is, the information is added to the information of each child device transmitted at the transmission timing of each child device to be relayed and received by the parent device 2. One minute from 3:56 to 3:57 is a transmission time zone of information of the repeater 42 and the slave device 3D1 in rank 4. This 1 minute time zone is further subdivided into 60 time zones at 1 second intervals as described above, and the repeater 42 and the child device 3D1 are 1 second of the time zone assigned corresponding to their own individual identification numbers. Send to. One minute from 3:57 to 3:58 is a transmission time zone of information of the repeater 41 and the slave devices 3C1, 3C2, and 303 which are rank 3. This 1 minute time zone is further subdivided into 60 time zones at 1 second intervals as described above, and the repeater 41 and the slave devices 3C1, 3C2, 3C3 are assigned time corresponding to their own individual identification numbers. Transmission is performed in 1 second of the band.

3時58分から3時59分までの1分間がランク2であるランク2の子装置3B1及び3B2の情報の送信時間帯である。この1分の時間帯は上記のようにさらに1秒間間隔で60の時間帯に細分されて、子装置3B及び3B2は自己の個体識別番号(1から60の間の特定の番号とする)に対応して割当てられた時間帯の1秒間に送信を行なう。ランク2の子装置3B1及び3B2の情報はランク1の子装置3A1及び3A2に受信されて、子装置3A1及び3A2の情報に付加されて親装置2に届けられる。   One minute from 3:58 to 3:59 is a transmission time zone of information of the slave devices 3B1 and 3B2 of rank 2 whose rank is 2. This 1-minute time zone is further subdivided into 60 time zones at 1-second intervals as described above, and the child devices 3B and 3B2 are assigned their own individual identification numbers (specific numbers between 1 and 60). Transmission is performed in one second of the corresponding time zone. The information of the rank 2 child devices 3B1 and 3B2 is received by the rank 1 child devices 3A1 and 3A2, added to the information of the child devices 3A1 and 3A2, and delivered to the parent device 2.

第1のランクである第1の子装置3A1及び3A2は、3時59分から4時までの1分間の内の割当てられた1秒の間に、直接に親装置2に情報を送信する。このようにして、同一の周波数の電波を用いても、混信することがない。   The first child devices 3A1 and 3A2, which are the first rank, transmit information directly to the parent device 2 during the allotted 1 second of 1 minute from 3:59 to 4 o'clock. In this way, even if radio waves having the same frequency are used, there is no interference.

親装置2は、4時の時点で全ての子装置3からの受信状況情報を受信し、その受信状況情報を表示部19に表示する。また、必要に応じて、受信状況情報を記憶装置に格納し、処理する。この表示された受信状態により、各子装置3が実際に時刻情報を受信して時刻を修正することができたか否か及び時刻情報の伝播経路を確認でき、必要ならば中継器4を配置したり子装置3を移設したりして、通信システム1の信頼性を高めることができる。また、受信情報に含まれている各無線ICタグで、時刻情報に対応付けて収集され、あるいは加工・処理された情報を表示することができる。   The parent device 2 receives the reception status information from all the child devices 3 at 4 o'clock, and displays the reception status information on the display unit 19. Further, the reception status information is stored in the storage device and processed as necessary. From this displayed reception state, it is possible to confirm whether each child device 3 has actually received the time information to correct the time and the propagation path of the time information. If necessary, the repeater 4 is arranged. The reliability of the communication system 1 can be increased by relocating the slave device 3. In addition, each wireless IC tag included in the received information can display information collected or processed / processed in association with time information.

なお、実施の形態では、デコーダと第2デコーダ、電源制御部と第2電源制御部を別の構成としたが同一構成により2つの機能を持たせるようにしてもよい。   In the embodiment, the decoder and the second decoder, and the power supply control unit and the second power supply control unit have different configurations, but two functions may be provided by the same configuration.

このような構成とすることにより、有線通信と無線通信とが混在した状態で通信システムを構築する場合に、同一ランク(親装置からのリンク距離)の計時時刻を通信媒体の差異によらず一定にすることができ、同一ランクの子装置3の計時時刻がばらつくという問題を回避できる。   By adopting such a configuration, when building a communication system in a state where wired communication and wireless communication are mixed, the time measurement of the same rank (link distance from the parent device) is constant regardless of the difference in communication media This can avoid the problem that the clock times of the slave devices 3 of the same rank vary.

上記実施の形態においては、子装置3として、無線ICタグを示したが、無線通信機能を有する他の任意の電子装置にこの発明は適用可能である。例えば、図8に示すような、通信回路501,タイマ回路502,メモリ503,入力部504,表示部505,プロセッサ506を備える構成の無線機器5(PDA、携帯無線機器、ノートパソコン、ラップトップパソコンなど)等の、計時と計時時刻を主目的としない様々な装置にも適用可能である。   In the above embodiment, the wireless IC tag is shown as the slave device 3. However, the present invention is applicable to any other electronic device having a wireless communication function. For example, as shown in FIG. 8, a wireless device 5 (PDA, portable wireless device, notebook computer, laptop computer) having a communication circuit 501, a timer circuit 502, a memory 503, an input unit 504, a display unit 505, and a processor 506 Etc.), etc., and can be applied to various devices that do not mainly use timekeeping and timekeeping time.

さらに、1つの無線システムを構成する子装置の数、時分割通信を行う際の各チャネルの幅(期間)、アップリンク及びダウンリンクの所用時間等も任意であり、子装置の数、チャネル検出の精度、ダウンリンクとアップリンクに使用できる期間などを考慮して適宜設定可能である。例えば、図5のランク1の送信時間帯のいずれかのタイミングで親装置2が基準時刻情報を送信する、図5のランク2〜60の送信時間帯で、それぞれ、ランク1〜59の子装置3が参照時刻情報を送信する等してもよい。さらに、個体識別番号は、数字情報である番号である必要はなく、互いを区別するための識別情報でもよい。また、ランク(階層順位、伝達順位)の設定手法も任意である。   Furthermore, the number of slave devices constituting one wireless system, the width (period) of each channel when performing time division communication, the time required for uplink and downlink, etc. are also arbitrary, and the number of slave devices and channel detection It can be set as appropriate in consideration of the accuracy of the network and the period of time available for the downlink and uplink. For example, the parent device 2 transmits the reference time information at any timing in the rank 1 transmission time zone in FIG. 5, and the rank 1 to 59 child devices in the rank 2 to 60 transmission time zones in FIG. 5, respectively. 3 may transmit reference time information. Furthermore, the individual identification number does not need to be a number that is numeric information, and may be identification information for distinguishing each other. The setting method of rank (hierarchy order, transmission order) is also arbitrary.

上記実施の形態では、1つの子装置3の中に通信速度の異なる種類の通信経路で通信するための2つの構成を配置したが、1つの子装置内にいずれか1種類の通信経路で通信を行う回路のみを配置するようにしてもよい。この場合には、同一ランクに配置される他の子装置の通信時間を考慮して、遅延時間を遅延時間調整部75に設定する。
また、電力消費を抑えるため、例えば、無線系の回路と有線系の回路との一方をスリープ状態に設定するようにしてもよい。例えば、プロセッサ304は、定期的に無線での通信と有線での通信を行い、最もランクの高い時刻情報を受信できる通信ルートを判別し、以後は、そのルートでのみ信号を受信するようにしてもよい。そして、定期的に及び/又は所定回連続して情報を受信できなかったような場合に、無線での通信と有線での通信を行うようにしてもよい。
In the above-described embodiment, two configurations for communicating with different types of communication paths having different communication speeds are arranged in one slave device 3, but communication is performed with any one type of communication path in one slave device. Only a circuit for performing the above may be arranged. In this case, the delay time is set in the delay time adjustment unit 75 in consideration of the communication time of other child devices arranged in the same rank.
In order to reduce power consumption, for example, one of a wireless circuit and a wired circuit may be set in a sleep state. For example, the processor 304 periodically performs wireless communication and wired communication, determines a communication route that can receive the time information having the highest rank, and thereafter receives a signal only through that route. Also good. Then, when information cannot be received regularly and / or continuously for a predetermined number of times, wireless communication and wired communication may be performed.

また、装置間で無線通信する際の媒体は電波に限定されず、光や超音波などでもよい。
さらに、上記実施の形態においては、無線通信と有線通信での伝送遅延の差を問題としたが、複数種類の信号伝送速度の通信方式が混在している場合に広く適用可能である。
例えば、親装置2と子装置3A1がxbpsの伝送速度で接続されており、親装置2と子装置3A2がybps(x>>y)の伝送速度で接続されているような場合に、子装置3A1の時刻を所定時間遅らせて、子装置3A1の計時時刻と子装置3A2の計時時刻が同期するように調整する場合に広く適用可能である。
Further, the medium for wireless communication between apparatuses is not limited to radio waves, and may be light or ultrasonic waves.
Furthermore, in the above embodiment, the difference in transmission delay between wireless communication and wired communication is considered as a problem. However, the present invention can be widely applied when a plurality of types of signal transmission speed communication methods are mixed.
For example, when the parent device 2 and the child device 3A1 are connected at a transmission rate of xbps, and the parent device 2 and the child device 3A2 are connected at a transmission rate of ybps (x >> y), the child device The present invention is widely applicable when the time of 3A1 is delayed by a predetermined time and the time measured by the slave device 3A1 is adjusted to be synchronized with the time measured by the slave device 3A2.

上記実施の形態においては、理解を容易にするために、各子装置3は、任意のタイミングで発生するコマンドや指示を受信して処理するために常時オンしている受信器やデコーダを備えることとしたが、ダウンリンク・アップリンク用と、コマンド受信用とで同一の受信器を使用することも可能である。この場合には、ダウンリンク時に、ランク制御部35がランク情報を出力してからは、あるいは、アップリンク時に送信が終了した後は、コマンド信号などのみをチューニングして受信するようにすればよい。   In the above embodiment, in order to facilitate understanding, each child device 3 includes a receiver and a decoder that are always on to receive and process commands and instructions generated at arbitrary timings. However, it is also possible to use the same receiver for downlink and uplink and for command reception. In this case, it is only necessary to tune and receive only the command signal after the rank control unit 35 outputs the rank information at the downlink or after the transmission is completed at the uplink. .

また、正確な値に維持された計時部を用いて、通信システム1全体として、あるいは、各子装置3で、どのような処理を行うかは任意である。例えば、子装置3が温度計であれば、例えば、所定の時間を計時する度に、温度センサの計測データを読み込んで、メモリに格納することにより所定の時間間隔で温度履歴を取り、また、子装置3が、例えば、スロットマシン等のゲーム機であれば、所定の時間間隔で投入されるコイン、排出されるコインの履歴を取ることもできる。この他、例えば、外部からの所定の指示・要求があった場合(第1のトリガが発生した場合)に、要求された処理を実行すると共に実行時刻を処理内容と共に記録し、また、アップリンク時、あるいは、外部から指示・要求があった場合(第2のトリガが発生した場合)に、記憶しておいた時刻情報と処理内容とを無線送信又は出力する等してもよい。例えば、子装置3がガスメータであれば、検針用端末からの無線による要求に応答して使用量データとともにその時刻を送信し、要求元の検針用端末のIDと共に送信情報を記録して内部に履歴をとるようにしても良い。そして、例えば、計時時刻を修正し、アップリンクの処理で収集した情報を送信する。   In addition, it is arbitrary what kind of processing is performed in the communication system 1 as a whole or in each child device 3 using a timekeeping unit maintained at an accurate value. For example, if the child device 3 is a thermometer, for example, every time a predetermined time is measured, the measurement data of the temperature sensor is read and stored in the memory to take a temperature history at predetermined time intervals, If the child device 3 is a game machine such as a slot machine, for example, a history of coins inserted and discharged at predetermined time intervals can be obtained. In addition, for example, when there is a predetermined instruction / request from the outside (when the first trigger occurs), the requested processing is executed and the execution time is recorded together with the processing content, and the uplink is performed. The stored time information and processing contents may be wirelessly transmitted or output at the time or when there is an instruction / request from the outside (when the second trigger occurs). For example, if the child device 3 is a gas meter, the time is transmitted together with the usage amount data in response to a wireless request from the meter reading terminal, and the transmission information is recorded together with the ID of the requesting meter reading terminal. A history may be taken. For example, the timekeeping time is corrected, and the information collected in the uplink processing is transmitted.

本発明の実施の形態による通信システムの概略図。1 is a schematic diagram of a communication system according to an embodiment of the present invention. 図1に示す親装置のブロック図。FIG. 2 is a block diagram of the parent device shown in FIG. 1. 図1に示す子装置のブロック図。FIG. 2 is a block diagram of the child device shown in FIG. 1. 図3に示す子装置の通信機能部分のブロック図。The block diagram of the communication function part of the subunit | mobile_unit shown in FIG. 図1の通信システムにおける、時刻修正用の時刻情報のダウンリンク時の時間割当てを示すタイムチャート。The time chart which shows the time allocation at the time of the downlink of the time information for time correction in the communication system of FIG. 図1の通信システムにおける、子装置の情報のアップリンク時の時間割当てを示すタイムチャート。The time chart which shows the time allocation at the time of the uplink of the information of a child apparatus in the communication system of FIG. アップリンク時に伝送される受信状況情報の構成例を示す図である。It is a figure which shows the structural example of the reception status information transmitted at the time of an uplink. 図1に示す子装置の応用例のブロック図。The block diagram of the application example of the subunit | mobile_unit shown in FIG.

符号の説明Explanation of symbols

1 通信システム
2 親装置
3 子装置
19 表示部
21、31 受信器
23、33 時刻修正部
24、34 計時部
27 識別番号記憶部
37 個体識別番号記憶部
35 ランク制御部
28、38 送信器
51、52 有線通信
51A、52A 送受信部
61、71 シリアル信号エンコーダ
62、72 送受信器
64、74 第2デコーダ
75 遅延時間調整部
DESCRIPTION OF SYMBOLS 1 Communication system 2 Parent apparatus 3 Child apparatus 19 Display part 21, 31 Receiver 23, 33 Time adjustment part 24, 34 Time measuring part 27 Identification number memory | storage part 37 Individual identification number memory | storage part 35 Rank control part 28, 38 Transmitter 51, 52 Wired communication 51A, 52A Transmitter / receiver 61, 71 Serial signal encoder 62, 72 Transmitter / receiver 64, 74 Second decoder 75 Delay time adjustment unit

Claims (8)

時刻情報を送信する親装置と、親装置から送信された時刻情報を受信し、受信した時刻情報に基づいて自己の計時手段の計時する計時時刻を修正する子装置とを含む通信システムであって、
前記子装置は、
前記計時手段の計時時刻に基づいて、所定のデータ処理を実行するデータ処理手段と、
時刻情報を第1の通信方式で受信する第1の受信手段と、
時刻情報を前記第1の通信方式よりも通信時間が長い第2の通信方式で受信する第2の受信手段と、
前記第1の受信手段で受信した時刻情報を所定の時間だけ遅延する遅延手段と、
前記第1の受信手段で受信した時刻情報と前記第2の受信手段で受信した時刻情報との一方を選択する選択手段と、
前記選択手段により第2の受信手段で受信した時刻情報が選択されたときには、該時刻情報に基づいて計時時刻を修正し、前記選択手段により第1の受信手段で受信した時刻情報が選択されたときには、前記遅延手段によって遅延された時刻情報に基づいて前記計時手段の計時時刻を修正する修正手段と、
修正された計時時刻に基づいて他の子装置の時刻を修正するための時刻情報を送信する手段と、
を有することを特徴とする通信システム。
A communication system comprising: a parent device that transmits time information; and a child device that receives the time information transmitted from the parent device and corrects the time measured by its own time measuring means based on the received time information. ,
The child device is
Data processing means for executing predetermined data processing based on the time measured by the time measuring means;
First receiving means for receiving time information by the first communication method;
Second receiving means for receiving time information in a second communication method having a communication time longer than that of the first communication method;
Delay means for delaying the time information received by the first receiving means by a predetermined time;
Selecting means for selecting one of the time information received by the first receiving means and the time information received by the second receiving means;
When the time information received by the second receiving means is selected by the selecting means, the timekeeping time is corrected based on the time information, and the time information received by the first receiving means is selected by the selecting means Sometimes the correcting means for correcting the time measured by the time measuring means based on the time information delayed by the delay means;
Means for transmitting time information for correcting the time of another child device based on the corrected timekeeping time;
A communication system comprising:
前記第2の通信方式は無線通信方式であり、前記第1の通信方式は有線通信方式である、ことを特徴とする請求項1に記載の通信システム。   The communication system according to claim 1, wherein the second communication method is a wireless communication method, and the first communication method is a wired communication method. 前記遅延手段は、前記第2の通信方式による時刻情報の通信時間と第1の通信方式による時刻情報の通信時間との間の時間差に相当する遅延時間を与える、ことを特徴とする請求項1又は2に記載の通信システム。   The delay means gives a delay time corresponding to a time difference between a communication time of time information according to the second communication method and a communication time of time information according to the first communication method. Or the communication system of 2. 前記選択手段は、第1の通信方式による第1の受信手段で受信した時刻情報と第2の通信方式による第2の受信手段で受信した時刻情報の受信の両方を使用し、受信状態の良好な方の時刻情報を採用することを特徴とする請求項1,2,又は3に記載の通信システム。   The selection means uses both the time information received by the first receiving means according to the first communication method and the reception of the time information received by the second receiving means according to the second communication method, and the reception state is good 4. The communication system according to claim 1, 2 or 3, wherein the time information of the other side is adopted. 前記遅延手段は、親装置からの時刻情報の伝送順番で、同一順位に位置する複数の子装置の計時手段による計時時刻が実質的に一致するような時間だけ、時刻情報を遅延する、ことを特徴とする請求項1乃至4のいずれか1項に記載の通信システム。   The delay means delays the time information by a time such that the time measured by the time measuring means of a plurality of child devices located in the same order is substantially the same in the transmission order of the time information from the parent device. The communication system according to any one of claims 1 to 4, characterized in that: 前記子装置は、無線タグ又は情報端末から構成される、ことを特徴とする請求項1乃至5のいずれか1項に記載の通信システム。   The communication system according to claim 1, wherein the slave device includes a wireless tag or an information terminal. 前記子装置は、データ記憶手段とパッケージとを備える無線タグから構成され、前記データ処理手段は、所定のトリガ信号に応答して、前記計時手段の計時時刻を示す計時情報を前記データ記憶手段に記憶し、前記データ記憶手段に記憶した時刻情報を直接又はデータ処理して、無線で外部に出力する手段を備え、前記パッケージは無線信号を透過可能な材料から構成され、全体を封入する、ことを特徴とする請求項1乃至6のいずれか1項に記載の通信システム。   The slave device is composed of a wireless tag having a data storage means and a package, and the data processing means responds to a predetermined trigger signal to the timekeeping information indicating the timekeeping time of the timekeeping means in the data storage means. Means for storing and processing the time information stored in the data storage means directly or by data and outputting the information to the outside wirelessly, and the package is made of a material capable of transmitting wireless signals and encloses the whole. The communication system according to any one of claims 1 to 6. 他装置から送信された時刻情報を受信する受信手段と、
前記受信手段で受信された時刻情報を所定時間遅延して出力する遅延手段と、
前記遅延手段で遅延された時刻情報に基づいて自己の保持する時刻を修正する修正手段と、
修正された自己の時刻に基づいて他の子装置の時刻を修正するための時刻情報を送信する送信手段と、
前記自己の時刻に基づいて、所定のデータ処理を実行するデータ処理手段と、
を有することを特徴とする通信装置。
Receiving means for receiving time information transmitted from another device;
Delay means for delaying and outputting the time information received by the receiving means for a predetermined time;
Correction means for correcting the time held by itself based on the time information delayed by the delay means;
Transmitting means for transmitting time information for correcting the time of another child device based on the corrected self time;
Data processing means for executing predetermined data processing based on the own time;
A communication apparatus comprising:
JP2004213602A 2004-07-16 2004-07-21 Communication system and communication apparatus Expired - Fee Related JP4387263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004213602A JP4387263B2 (en) 2004-07-16 2004-07-21 Communication system and communication apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004210773 2004-07-16
JP2004213602A JP4387263B2 (en) 2004-07-16 2004-07-21 Communication system and communication apparatus

Publications (2)

Publication Number Publication Date
JP2006052945A true JP2006052945A (en) 2006-02-23
JP4387263B2 JP4387263B2 (en) 2009-12-16

Family

ID=36030533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004213602A Expired - Fee Related JP4387263B2 (en) 2004-07-16 2004-07-21 Communication system and communication apparatus

Country Status (1)

Country Link
JP (1) JP4387263B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012173138A1 (en) * 2011-06-17 2012-12-20 横河電機株式会社 Communication system, communication device, and communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002148371A (en) * 2000-11-07 2002-05-22 Seiko Precision Inc Radio master-and-slave timepiece system and slave timepiece thereof
JP2003298630A (en) * 2002-04-01 2003-10-17 Mitsubishi Electric Corp Time synchronization method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002148371A (en) * 2000-11-07 2002-05-22 Seiko Precision Inc Radio master-and-slave timepiece system and slave timepiece thereof
JP2003298630A (en) * 2002-04-01 2003-10-17 Mitsubishi Electric Corp Time synchronization method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012173138A1 (en) * 2011-06-17 2012-12-20 横河電機株式会社 Communication system, communication device, and communication method
JP2013003000A (en) * 2011-06-17 2013-01-07 Yokogawa Electric Corp Communication system, communication device, and communication method
CN103562804A (en) * 2011-06-17 2014-02-05 横河电机株式会社 Communication system, communication device, and communication method
US9326259B2 (en) 2011-06-17 2016-04-26 Yokogawa Electric Corporation Communication system, communication device, and communication method

Also Published As

Publication number Publication date
JP4387263B2 (en) 2009-12-16

Similar Documents

Publication Publication Date Title
US8255011B2 (en) Mobile communication device and communication method
JPWO2013125190A1 (en) Multilayer wireless communication system
JP2005337990A (en) Wireless system, wireless device, and computer program
JP3776714B2 (en) Wireless parent-child clock system and child clock
JP2008096389A (en) Electronic device, time-managing apparatus, time setting program, time-setting method
JP4387263B2 (en) Communication system and communication apparatus
JP6178985B2 (en) Signal collection device, periodic signal transmission device, and signal collection system
JP4302583B2 (en) Wireless communication system and wireless communication apparatus having timekeeping function
JP2006343985A (en) Fire alarm system
JP6406995B2 (en) Wireless telemeter system and wireless communication device
EP2866461B1 (en) Signal collecting apparatus, periodic signal transmitting apparatus and signal collecting system
JP4549885B2 (en) Equipment control system
JP2018056770A (en) Communication system, communication device, and communication method
KR20160013964A (en) Time synchronization system
JP2010165191A (en) Active tag apparatus, data reading/writing device, and system
JP4101644B2 (en) Parent-child clock system and parent clock used therefor
JP2008160680A (en) Wireless telemetry system
JP2005351634A (en) Wireless system, wireless device, and computer program
JP6509065B2 (en) Wireless communication system and wireless communication device
JP4965917B2 (en) Fire alarm system
JP2008287569A (en) Transmission unit and reception unit
JP4284513B2 (en) Wireless transmitter, data collection system, and data communication method
EP2391029A1 (en) Data read/write device for active tag device, active tag device and system
JP4302584B2 (en) Wireless communication system, timing device, and computer program
JP2014072725A (en) Radio communication device, radio communication system, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090407

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090601

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090908

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090930

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131009

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees