JP2004032405A - Apparatus and method for transmitting telemeter data - Google Patents

Apparatus and method for transmitting telemeter data Download PDF

Info

Publication number
JP2004032405A
JP2004032405A JP2002186370A JP2002186370A JP2004032405A JP 2004032405 A JP2004032405 A JP 2004032405A JP 2002186370 A JP2002186370 A JP 2002186370A JP 2002186370 A JP2002186370 A JP 2002186370A JP 2004032405 A JP2004032405 A JP 2004032405A
Authority
JP
Japan
Prior art keywords
time
transmission
data
retransmission request
master station
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
JP2002186370A
Other languages
Japanese (ja)
Inventor
Tetsuyuki Manda
萬田 哲之
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2002186370A priority Critical patent/JP2004032405A/en
Publication of JP2004032405A publication Critical patent/JP2004032405A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To simplify the setting of a data transmitting time of a slave station and to relieve the data when a collision occurs. <P>SOLUTION: A storage unit 4 stores the presence or absence of a data retransmission request from a master station by the on/off control of a retransmission request receiving state, a storage unit 5 stores a transmittable start time when a transmission of the data to the master station becomes possible, and a storage unit 6 stores a maximum transmission delay allowing time from the transmission start time. A transmission timing detector 1 calculates a real transmission time based on a random number, transmittable start time and the maximum transmission delay allowing time when the retransmission request receiving state is on and stores the actual transmission time in a storage unit 7. The detector 1 detects the data transmission timing by comparing the present time with the actual transmission time. A data transmitter 8 transmits telemeter data to the master station when a command is received from the transmission timing detector. A data receiver 9 turns off the retransmission request receiving state of the storage unit 4 when the retransmission request signal is not received from the master station, and turns on the retransmission request receiving state when the retransmission request signal is received. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、テレメータデータの送信、特に、親局が複数の子局から計測値を収集するとともに、その動作を遠隔操作するテレメータ・コントロールシステムにおける子局から親局へのテレメータデータの送信に関する。
【0002】
【従来の技術】
テレメータシステムは、周知のように、観測ないし計測を目的として各地・各所に設置された子局と、子局からのデータの収集し一括管理する親局から構成されている。この種のテレメータシステムの例が特開平8−307964に「テレメータ・テレコントロールシステム」として記載されている。
【0003】
このテレメータシステムは、親局から子局へデータを送信する場面に関する。親局は、子局から同期信号を受信すると、記憶している間欠受信タイミングに合わせて子局へデータを送信する。データが衝突等により失われた場合、親局はデータを再送信する。その場合、送信タイミングは、本来の送信タイミングから乱数値に対応する時間だけずらせる。子局でも、本来の受信タイミングを乱数値に対応する時間だけずらせる。これによって、データの衝突する確率が低減される。親局は、常に連続受信状態であるので、子局から親局へデータを送信する際のタイミングは、特に考慮しなくともよいとする。
【0004】
【発明が解決しようとする課題】
上述した従来技術では、親局は、常に連続受信状態であるので、子局から親局へデータを送信する際のタイミングは、特に考慮しなくともよいとする。しかしながら、子局の数が多くなると、子局から親局に送信されるデータの量が増えるため、データ収集時における親局の処理の負荷が高くる。そのため、各子局内の送信時刻の設定を予め分散させて設定する必要があり、子局の数が多い場合は設定に多くの時間を費やす必要があるという問題点がある。
【0005】
また、上述の従来技術を子局から親局へのデータの送信に転用したとして、乱数値によるタイミングの分散は衝突の確率を低減するのに留まり、現実に衝突が生じた場合の救済にはならない。
【0006】
そこで、本発明の第1の目的は、子局のデータの送信時刻を自動的に分散させることにより、子局のデータ送信時刻の設定を簡易化し、またデータ収集時における親局の処理の負荷を軽減するテレメータデータ送信装置およびテレメータデータ送信方法を提供することにある。
【0007】
また、本発明の第2の目的は、データの衝突が発生した場合の救済を図ったテレメータデータ送信装置およびテレメータデータ送信方法を提供することにある。
【0008】
【課題を解決するための手段】
本発明のテレメータデータ送信装置は、複数の子局から親局へテレメータデータを送信するテレメータシステムにおけるテレメータデータ送信装置において、時を刻んで現在時刻を表示している刻時部(図1の2)と、乱数を発生している乱数発生部(図1の3)と、親局からのデータ再送要求の有無を再送要求受信状態のオン/オフで記憶する再送要求受信記憶部(図1の4)と、親局へのデータの送信が可能となる送信可能開始時刻が設定され記憶する送信開始時刻記憶部(図1の5)と、送信開始時刻からの最大送信遅延許容時間が設定され記憶する最大遅延時間記憶部(図1の6)と、親局へデータを実際に送信する実送信時刻を記憶する実送信時刻記憶部(図1の7)と、再送要求受信状態がオンのときは乱数,送信可能開始時刻および最大送信遅延許容時間に基づいて実送信時刻を算出し、また現在時刻と前記実送信時刻を比較することによってデータの送信タイミングの検出を行う送信タイミング検出部(図1の1)と、送信タイミング検出部からのデータ送信指令を受けると親局へテレメータデータを送信するデータ送信部(図1の8)と、データの送信後の所定時間内に親局から再送要求信号を受信しないときは、再送要求受信記憶部の再送要求受信状態をオフにし、再送要求信号を受信したときは再送要求受信記憶部の再送要求受信状態をオンにするデータ受信部(図1の9)とを備えたことを特徴とする。
【0009】
本発明では、先ず、親局による再送要求受信状態を再送要求受信記憶部から取得し、再送要求受信状態がオンか否かを判断する。再送要求受信状態がオンの場合には、最大送信遅延許容時間を最大遅延時間記憶部から取得し、また、乱数発生部から乱数を取得する。取得した乱数を最大送信遅延許容時間で除算して、その剰余を送信遅延時間とする。そして、送信可能開始時刻を送信開始時刻記憶部から取得して、送信可能開始時刻から送信遅延時間後の時間である実送信時刻を求め実送信時刻記憶部に格納する。次いで、現在時刻を刻時部から取得して実送信時刻と比較し、両時刻が同じであればテレメータデータを親局へ送信する。親局へ送信されたデータが正常に受信された場合には再送要求受信状態をオフとし、正常に受信されなかった場合には再送要求受信状態をオンとする。
【0010】
【作用】
本発明は、このように、送信可能開始時刻と最大送信遅延許容時間と乱数を基にしてデータ送信時刻を自動的に算出することとしたため、送信可能開始時刻,最大送信遅延許容時間をそれぞれ送信開始時刻記憶部,最大遅延時間記憶部に設定するだけで、自動的に各子局から親局へのデータの送信時間を定められた時間内に分散した時刻で設定できる。
【0011】
また、親局でのデータ受信異常に伴うデータ再送要求の有無を再送要求受信記憶部に記憶しておき、データ再送要求があった場合は、データ送信時刻を新たに算出することとしたため、親局側でのデータ受信の状態を考慮した形でデータ送信時間を求めることができる。
【0012】
更に、親局に対する子局からのデータ送信時刻を分散することができるため、子局の数が多いテレメータシステムにおいても、データ収集時における親局側の負荷を軽減することができる。
【0013】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して説明する。
【0014】
図1は本発明のテレメータデータ送信装置の一実施例を示すブロック図である。図1参照すると、このテレメータデータ送信装置は、送信タイミング検出部1,刻時部2,乱数発生部3,再送要求受信記憶部4,送信開始時刻記憶部5,最大遅延時間記憶部6,実送信時刻記憶部7,データ送信部8およびデータ受信部9から構成されている。このようなテレメータデータ送信装置を備えた複数の子局は、それぞれがテレメータデータを親局へ送信する。
【0015】
刻時部2は時を刻んで現在時刻を表示している、例えば、システムタイマである。
【0016】
乱数発生部3は、送信遅延時間の算出に用いる乱数を発生している。乱数は、例えば、0〜10,000の数値とすることができる。
【0017】
再送要求受信記憶部4は、親局からのデータ再送要求の有無を再送要求受信状態のON/OFFで記憶する。データ再送要求とは、子局からのデータが親局に受信されていない場合に、親局は子局に対して行うデータの再送信の要求をいう。これは、子局から親局へのデータ送信がパケットの衝突等により親局において正常に受信できていない可能性があるため、その場合の救済を図るものである。なお、システム起動時には、再送要求受信状態はONになるように設定されている。
【0018】
送信開始時刻記憶部5には、親局へのデータの送信が可能となる送信可能開始時刻(以下、「送信開始時刻」と記す)が設定され記憶する。送信開始時刻は、例えば、毎時の5:00分に設定される。
【0019】
最大遅延時間記憶部6には、送信開始時刻記憶部4に設定された送信開始時刻からの最大送信遅延許容時間(以下、「最大遅延時間」と記す)が設定され記憶する。最大遅延時間は、例えば、10秒と設定される。
【0020】
実送信時刻記憶部7は、親局へデータを実際に送信する実送信時刻を記憶する。実送信時刻は、送信開始時刻に、乱数と最大遅延時間から求まる送信遅延時間を加え時刻である。
【0021】
送信タイミング検出部1は、本テレメータデータ送信装置の中核部であり、データを実際に送信する実送信時刻の算出と送信タイミングの検出を行う。
【0022】
先ず、再送要求受信記憶部4から再送要求受信状態を取得して実送信時刻を更新の要/不要を決定する。実送信時刻を更新するときは、乱数発生部3から取得した乱数と最大遅延時間記憶部6から取得した最大遅延時間によって送信遅延時間を求め、これを送信開始時刻記憶部5から取得した送信開始時刻に加えて実送信時刻を算出し、実送信時刻記憶部7に格納する。
【0023】
また、刻時部2から取得した現在時刻と実送信時刻記憶部7から取得した実送信時刻を比較して、その一致によって送信タイミングを検出し、データ送信部8に対してデータ送信指令を発する。
【0024】
データ送信部8は、送信タイミング検出部2からのデータ送信指令を受けると親局へデータ送信する。
【0025】
データ受信部9は、データ送信部8がデータを送信した後の所定時間内に親局から再送要求信号を受信しないときは、再送要求受信記憶部3の再送要求受信状態をOFFにし、再送要求信号を受信したときは再送要求受信記憶部3の再送要求受信状態をONにする。
【0026】
次に、図2に示すテレメータデータ送信装置の処理フローチャートを参照して本実施例の動作について説明する。
【0027】
システム起動時には、送信タイミング検出部1は再送要求受信記憶部4から再送要求受信状態を取得し(図2のステップS1)、再送要求受信状態がONか否かを判断する(ステップS2)。上述のように、システム起動時には再送要求受信状態はONに設定されているので、ここでは、送信タイミング検出部1は最大遅延時間記憶部6から最大遅延時間A(秒)を取得する(ステップS3)。また、乱数発生部3から乱数Bを取得する(ステップS4)。
【0028】
次に、送信タイミング検出部1は、取得した乱数Bを最大遅延時間Aで除算して、その剰余を送信遅延時間C(秒)とする(ステップS5)。更に、送信タイミング検出部1は、送信開始時刻記憶部5から送信開始時刻Dを取得する(ステップS6)。そして、送信開始時刻D(分)から送信遅延時間C(秒)後の時間である実送信時刻E(分,秒))を求め(ステップS7)、実送信時刻記憶部7に格納する(ステップS8)。
【0029】
次に、送信タイミング検出部1は刻時部2から現在時刻F(分,秒)を取得して(ステップS9)、実送信時刻E(分,秒)と比較する(ステップS10)。その結果、両時刻が同じであれば、送信タイミング検出部1はデータ送信部8に対してデータ送信指令を送り、データ送信部8はデータを親局へ送信する(ステップS11)。時刻が異なっている場合には、送信タイミング検出部1は再び刻時部2から現在時刻Fを取得し、実送信時刻Eと比較する(ステップS9)。
【0030】
親局へ送信されたデータが正常に受信された場合には、親局から再送要求があることはないので(ステップS12でNO)、データ受信部9は再送要求受信記憶部4の再送要求受信状態をOFFとする(ステップS13)。この場合には、次のデータ送信時にはOFF状態の再送要求受信状態が取得されるので(ステップS1)、送信タイミング検出部1は実送信時刻を更新することなく(ステップS2でNOのためステップS3〜S8をバイパス)、取得した現在時刻が(ステップS9)実送信時刻に一致すれば(ステップS10でYES)、親局へのデータ送信(ステップS11)を繰り返す。
【0031】
一方、親局へ送信されたデータが正常に受信されなかった場合には、親局から再送要求があるので(ステップS12でYES)、データ受信部9は再送要求受信記憶部4の再送要求受信状態をONとする(ステップS14)。この場合には、次のデータ送信時にはON状態の再送要求受信状態が取得されるので(ステップS1)、送信タイミング検出部1は実送信時刻を更新する(ステップS3〜S8)。そして、取得した現在時刻が(ステップS9)、更新後の実送信時刻に一致すれば(ステップS10でYES)、親局へのデータ送信(ステップS11)を繰り返す。
【0032】
次に、具体的な数値を例にとって説明する。いま、子局のデータを毎時5分00秒〜5分09秒までの間に親局へ送信するようにしたいとすると、送信開始時刻記憶部5には5分、最大遅延時間記憶部5には10秒が設定される。
【0033】
送信タイミング検出部1は、最大遅延時間記憶部6から最大遅延時間10(秒)を取得する(ステップS3)。また、送信タイミング検出部1は乱数取得部3から乱数「1567」を取得したとする(ステップS4)。送信タイミング検出部1は乱数「1567」を最大遅延時間10(秒)で除算し、その剰余の「7」を送信遅延時間(秒)とする(ステップS5)。更に、送信開始時刻記憶部5から送信開始時刻5(分)を取得する(ステップS6)。そして、送信開始時刻5(分)から送信遅延時間7(秒)後の時間である5分7秒を実送信時刻として(ステップS7)、実送信時刻記憶部7に格納する(ステップS8)。
【0034】
次に、送信タイミング検出部1は刻時部2から現在時刻F(分,秒)を取得して(ステップS9)、実送信時刻である5分7秒と比較する(ステップS10)。時刻が同じであれば、送信タイミング検出部1はデータ送信部8に対してデータ送信指令を送り、データ送信部8は5分7秒にデータを親局へ送信する(ステップS11)。
【0035】
5分7秒に親局へ送信したデータが正常に受信されれば(ステップS12,ステップS2でNO)、1時間後のデータ送信も5分7秒に行われる。これは、正常に受信されたので、5分7秒という実送信時刻が時期を得たものであったことになり、実送信時刻を変更する必要がないからである。
【0036】
同様にして、乱数が「5151」であれば5分1秒、乱数が「6195」であれば5分5秒、乱数が「8888」であれば5分8秒に、データ送信部8は親局へそれぞれデータを送信する(ステップS11)。子局で発生する乱数はアトランダムであるので、親局へのデータの実送信時刻が重なる確率は低い。また、複数の子局からの実送信時刻が重なってデータの衝突が発生しても、親局から再送要求がなされるので、実送信時刻を更新してのデータの再送信により救済され得る。
【0037】
上述の数値例では、最大遅延時間を10としたが、最大遅延時間を1に設定した場合には、全ての子局の送信遅延時間、従って実送信時刻は同一となる。どのような値の乱数が発生しても、最大遅延時間である1の余りは0となるため、送信遅延時間が発生しないからである。この場合、親局の処理能力を高くしてデータが衝突する確立を低く押さえることができれば、全ての子局からのテレメータデータの収集を早めることができる。
【0038】
また、以上に説明したテレメータデータ送信方法は、送信タイミング検出部1,データ送信部8およびデータ受信部を構成するコンピュータにおいてプログラムを実行させることによっても行うことができる。そのプログラムはコンピュータを制御し、図2に示したフローチャートにおけるのと同様な処理を行わせる。
【0039】
【発明の効果】
本発明の第1の効果は、送信可能開始時刻と最大送信遅延許容時間と乱数を基にしてデータ送信時刻を自動的に算出することとしたため、送信可能開始時刻,最大送信遅延許容時間をそれぞれ送信開始時刻記憶部,最大遅延時間記憶部に設定するだけで、自動的に各子局から親局へのデータの送信時間を定められた時間内に分散した時刻で設定できるということである。
【0040】
本発明の第2の効果は、親局でのデータ受信異常に伴うデータ再送要求の有無を再送要求受信記憶部に記憶しておき、データ再送要求があった場合は、データ送信時刻を新たに算出することとしたため、親局側でのデータ受信の状態を考慮した形でデータ送信時間を求めることができるということである。
【0041】
本発明の第3の効果は、親局に対する子局からのデータ送信時刻を分散することができるため、子局の数が多いテレメータシステムにおいても、データ収集時における親局側の負荷を軽減することができるということである。。
【図面の簡単な説明】
【図1】本発明のテレメータデータ送信装置の一実施例を示すブロック図
【図2】図1に示した実施例の動作を示すフローチャート。
【符号の説明】
1   送信タイミング検出部
2   刻時部
3   乱数発生部
3   再送要求受信記憶部
5   送信開始時刻記憶部
6   最大遅延時間記憶部
7   実送信時刻記憶部
8   データ送信部
9   データ受信部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to transmission of telemeter data, and more particularly, to transmission of telemeter data from a slave station to a master station in a telemeter control system in which a master station collects measurement values from a plurality of slave stations and remotely controls the operation.
[0002]
[Prior art]
As is well known, a telemeter system is composed of slave stations installed at various locations for various purposes such as observation and measurement, and a master station that collects and collectively manages data from the slave stations. An example of this type of telemeter system is described in JP-A-8-307964 as a "telemeter / telecontrol system".
[0003]
This telemeter system relates to a case where data is transmitted from a master station to a slave station. Upon receiving the synchronization signal from the slave station, the master station transmits data to the slave station in accordance with the stored intermittent reception timing. If data is lost due to collision or the like, the master station retransmits the data. In this case, the transmission timing is shifted from the original transmission timing by a time corresponding to the random number value. The slave station also shifts the original reception timing by the time corresponding to the random number value. This reduces the probability of data collision. Since the master station is always in the continuous reception state, the timing when data is transmitted from the slave station to the master station does not need to be particularly considered.
[0004]
[Problems to be solved by the invention]
In the above-described related art, since the master station is always in the continuous reception state, the timing when data is transmitted from the slave station to the master station does not need to be particularly considered. However, when the number of slave stations increases, the amount of data transmitted from the slave station to the master station increases, so that the processing load of the master station during data collection increases. Therefore, there is a problem that the setting of the transmission time in each slave station needs to be dispersed and set in advance, and when the number of slave stations is large, it is necessary to spend much time for setting.
[0005]
Further, assuming that the above-described conventional technique is diverted to the transmission of data from the slave station to the master station, the dispersion of the timing by the random value only reduces the probability of collision, and the relief in the event of a collision actually occurs. No.
[0006]
Therefore, a first object of the present invention is to simplify the setting of the data transmission time of the slave station by automatically distributing the data transmission time of the slave station, and to reduce the processing load of the master station during data collection. It is an object of the present invention to provide a telemeter data transmission device and a telemeter data transmission method that reduce the problem.
[0007]
It is a second object of the present invention to provide a telemeter data transmitting apparatus and a telemeter data transmitting method for relieving when a data collision occurs.
[0008]
[Means for Solving the Problems]
A telemeter data transmitting device according to the present invention is a telemeter data transmitting device in a telemeter system for transmitting telemeter data from a plurality of slave stations to a master station. ), A random number generation unit (3 in FIG. 1) for generating random numbers, and a retransmission request reception storage unit (3 in FIG. 1) for storing the presence / absence of a data retransmission request from the master station by ON / OFF of a retransmission request reception state. 4), a transmission start time storage unit (5 in FIG. 1) that sets and stores a transmission start time at which data can be transmitted to the master station, and sets a maximum transmission delay allowable time from the transmission start time. A maximum delay time storage unit (6 in FIG. 1) for storing, an actual transmission time storage unit (7 in FIG. 1) for storing an actual transmission time at which data is actually transmitted to the master station, When, random number, transmission start time A transmission timing detection unit (1 in FIG. 1) for calculating an actual transmission time based on the maximum transmission delay allowable time and detecting a data transmission timing by comparing the current time with the actual transmission time; A data transmission unit (8 in FIG. 1) for transmitting telemeter data to the master station upon receiving a data transmission command from the timing detection unit, and a retransmission request signal from the master station within a predetermined time after data transmission. A data receiving unit (9 in FIG. 1) for turning off the retransmission request reception state of the retransmission request reception storage unit and turning on the retransmission request reception state of the retransmission request reception storage unit when a retransmission request signal is received. It is characterized by the following.
[0009]
In the present invention, first, the retransmission request reception state by the master station is acquired from the retransmission request reception storage unit, and it is determined whether the retransmission request reception state is ON. When the retransmission request reception state is ON, the maximum transmission delay allowable time is obtained from the maximum delay time storage unit, and a random number is obtained from the random number generation unit. The obtained random number is divided by the maximum allowable transmission delay time, and the remainder is used as the transmission delay time. Then, the transmission start time is acquired from the transmission start time storage unit, and the actual transmission time, which is a time after the transmission delay time from the transmission possible start time, is obtained and stored in the actual transmission time storage unit. Next, the current time is obtained from the clock unit and compared with the actual transmission time. If both times are the same, the telemeter data is transmitted to the master station. If the data transmitted to the master station is normally received, the retransmission request reception state is turned off, and if the data is not normally received, the retransmission request reception state is turned on.
[0010]
[Action]
According to the present invention, since the data transmission time is automatically calculated based on the transmission start time, the maximum transmission delay allowable time, and the random number, the transmission start time and the maximum transmission delay allowable time are respectively transmitted. Just by setting the start time storage unit and the maximum delay time storage unit, the data transmission time from each slave station to the master station can be automatically set at a time dispersed within a predetermined time.
[0011]
Also, the presence / absence of a data retransmission request due to data reception abnormality at the master station is stored in the retransmission request reception storage unit, and when a data retransmission request is issued, the data transmission time is newly calculated. The data transmission time can be obtained in consideration of the data reception state on the station side.
[0012]
Further, since the data transmission time from the slave station to the master station can be dispersed, the load on the master station at the time of data collection can be reduced even in a telemeter system having a large number of slave stations.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0014]
FIG. 1 is a block diagram showing one embodiment of the telemeter data transmission device of the present invention. Referring to FIG. 1, this telemeter data transmission device includes a transmission timing detection unit 1, a clock unit 2, a random number generation unit 3, a retransmission request reception storage unit 4, a transmission start time storage unit 5, a maximum delay time storage unit 6, It comprises a transmission time storage unit 7, a data transmission unit 8, and a data reception unit 9. Each of a plurality of slave stations equipped with such a telemeter data transmission device transmits telemeter data to a master station.
[0015]
The clock unit 2 is a system timer that displays the current time by ticking the time.
[0016]
The random number generator 3 generates a random number used for calculating the transmission delay time. The random number can be, for example, a numerical value from 0 to 10,000.
[0017]
The retransmission request reception storage unit 4 stores the presence / absence of a data retransmission request from the master station as ON / OFF of the retransmission request reception state. The data retransmission request is a request for retransmission of data performed by the master station to the slave station when data from the slave station is not received by the master station. In this case, there is a possibility that data transmission from the slave station to the master station may not be normally received by the master station due to packet collision or the like. When the system is activated, the retransmission request reception state is set to be ON.
[0018]
The transmission start time storage unit 5 sets and stores a transmission start time (hereinafter, referred to as a “transmission start time”) at which data can be transmitted to the master station. The transmission start time is set to, for example, 5:00 every hour.
[0019]
The maximum delay time storage unit 6 sets and stores the maximum allowable transmission delay time (hereinafter, referred to as “maximum delay time”) from the transmission start time set in the transmission start time storage unit 4. The maximum delay time is set to, for example, 10 seconds.
[0020]
The actual transmission time storage unit 7 stores an actual transmission time at which data is actually transmitted to the master station. The actual transmission time is a time obtained by adding a transmission delay time obtained from the random number and the maximum delay time to the transmission start time.
[0021]
The transmission timing detection unit 1 is a core part of the telemeter data transmission device, and calculates an actual transmission time at which data is actually transmitted and detects a transmission timing.
[0022]
First, the retransmission request reception status is acquired from the retransmission request reception storage unit 4, and it is determined whether the actual transmission time needs to be updated. When updating the actual transmission time, a transmission delay time is obtained from the random number obtained from the random number generation unit 3 and the maximum delay time obtained from the maximum delay time storage unit 6, and the transmission delay time is obtained from the transmission start time storage unit 5. The actual transmission time is calculated in addition to the time, and stored in the actual transmission time storage unit 7.
[0023]
Further, the current time acquired from the clock unit 2 is compared with the actual transmission time acquired from the actual transmission time storage unit 7, the transmission timing is detected based on the coincidence, and a data transmission command is issued to the data transmission unit 8. .
[0024]
When receiving a data transmission command from transmission timing detecting section 2, data transmitting section 8 transmits data to the master station.
[0025]
If the data receiving unit 9 does not receive the retransmission request signal from the master station within a predetermined time after the data transmitting unit 8 has transmitted the data, the data receiving unit 9 turns off the retransmission request receiving state of the retransmission request When a signal is received, the retransmission request reception state of the retransmission request reception storage unit 3 is turned ON.
[0026]
Next, the operation of this embodiment will be described with reference to the processing flowchart of the telemeter data transmission device shown in FIG.
[0027]
When the system is started, the transmission timing detection unit 1 acquires the retransmission request reception state from the retransmission request reception storage unit 4 (step S1 in FIG. 2), and determines whether the retransmission request reception state is ON (step S2). As described above, since the retransmission request reception state is set to ON when the system is activated, the transmission timing detection unit 1 acquires the maximum delay time A (second) from the maximum delay time storage unit 6 (step S3). ). Further, a random number B is obtained from the random number generator 3 (step S4).
[0028]
Next, the transmission timing detection unit 1 divides the obtained random number B by the maximum delay time A, and sets the remainder as a transmission delay time C (second) (step S5). Further, the transmission timing detection unit 1 acquires the transmission start time D from the transmission start time storage unit 5 (Step S6). Then, the actual transmission time E (minutes, seconds), which is the time after the transmission delay time C (seconds) from the transmission start time D (minutes), is obtained (step S7) and stored in the actual transmission time storage unit 7 (step S7). S8).
[0029]
Next, the transmission timing detection unit 1 acquires the current time F (minutes, seconds) from the clock unit 2 (step S9) and compares it with the actual transmission time E (minutes, seconds) (step S10). As a result, if both times are the same, the transmission timing detecting section 1 sends a data transmission command to the data transmitting section 8, and the data transmitting section 8 transmits the data to the master station (step S11). If the times are different, the transmission timing detection unit 1 acquires the current time F from the clock unit 2 again and compares it with the actual transmission time E (step S9).
[0030]
If the data transmitted to the master station is normally received, there is no request for retransmission from the master station (NO in step S12), and the data receiving unit 9 receives the retransmission request from the retransmission request reception storage unit 4. The state is turned off (step S13). In this case, since the retransmission request reception state of the OFF state is acquired at the time of the next data transmission (step S1), the transmission timing detecting unit 1 does not update the actual transmission time (NO in step S2 and step S3). If the obtained current time matches the actual transmission time (step S9) (YES in step S10), the data transmission to the master station (step S11) is repeated.
[0031]
On the other hand, if the data transmitted to the master station is not normally received, there is a retransmission request from the master station (YES in step S12), and the data receiving unit 9 receives the retransmission request from the retransmission request reception storage unit 4. The state is turned on (step S14). In this case, at the time of the next data transmission, the retransmission request reception state of the ON state is acquired (step S1), so that the transmission timing detection unit 1 updates the actual transmission time (steps S3 to S8). If the obtained current time (step S9) matches the updated actual transmission time (YES in step S10), data transmission to the master station (step S11) is repeated.
[0032]
Next, a specific numerical value will be described as an example. Now, assuming that the data of the slave station should be transmitted to the master station every hour from 5:00 to 5:09 seconds, the transmission start time storage unit 5 stores the data for 5 minutes and the maximum delay time storage unit 5 stores the data. Is set to 10 seconds.
[0033]
The transmission timing detection unit 1 acquires the maximum delay time 10 (seconds) from the maximum delay time storage unit 6 (Step S3). It is also assumed that the transmission timing detection unit 1 has acquired the random number “1567” from the random number acquisition unit 3 (Step S4). The transmission timing detector 1 divides the random number “1567” by the maximum delay time 10 (seconds) and sets the remainder “7” as the transmission delay time (seconds) (step S5). Further, a transmission start time 5 (minute) is obtained from the transmission start time storage unit 5 (step S6). Then, 5 minutes and 7 seconds after the transmission delay time of 7 (seconds) from the transmission start time of 5 (minutes) are set as the actual transmission time (step S7) and stored in the actual transmission time storage unit 7 (step S8).
[0034]
Next, the transmission timing detection unit 1 acquires the current time F (minutes, seconds) from the clock unit 2 (step S9) and compares it with the actual transmission time of 5 minutes and 7 seconds (step S10). If the times are the same, the transmission timing detection unit 1 sends a data transmission instruction to the data transmission unit 8, and the data transmission unit 8 transmits the data to the master station at 5 minutes and 7 seconds (step S11).
[0035]
If the data transmitted to the master station in 5 minutes and 7 seconds is received normally (NO in steps S12 and S2), the data transmission one hour later is also performed in 5 minutes and 7 seconds. This is because, since the data was normally received, the actual transmission time of 5 minutes and 7 seconds was timed, and it was not necessary to change the actual transmission time.
[0036]
Similarly, when the random number is “5151”, 5 minutes and 1 second, when the random number is “6195”, 5 minutes and 5 seconds, and when the random number is “8888”, 5 minutes and 8 seconds, The data is transmitted to each station (step S11). Since the random number generated in the slave station is at random, the probability that the actual transmission time of data to the master station overlaps is low. Further, even if the actual transmission times from a plurality of slave stations overlap and a data collision occurs, a retransmission request is issued from the master station, so that the retransmission of the data after updating the actual transmission time can be relieved.
[0037]
In the above numerical example, the maximum delay time is set to 10, but when the maximum delay time is set to 1, the transmission delay times of all the slave stations, and therefore the actual transmission times, are the same. This is because, regardless of the random number of any value, the remainder of 1 which is the maximum delay time is 0, so that the transmission delay time does not occur. In this case, if the processing capability of the master station can be increased to reduce the probability of data collision, collection of telemeter data from all slave stations can be expedited.
[0038]
The above-described telemeter data transmission method can also be performed by causing a computer constituting the transmission timing detection unit 1, the data transmission unit 8, and the data reception unit to execute a program. The program controls the computer to perform the same processing as in the flowchart shown in FIG.
[0039]
【The invention's effect】
The first effect of the present invention is that the data transmission time is automatically calculated based on the transmission start time, the maximum transmission delay allowable time, and the random number. By simply setting the data in the transmission start time storage unit and the maximum delay time storage unit, the data transmission time from each slave station to the master station can be automatically set at a time dispersed within a predetermined time.
[0040]
A second effect of the present invention is that the presence / absence of a data retransmission request accompanying a data reception abnormality at a master station is stored in a retransmission request reception storage unit, and when a data retransmission request is issued, the data transmission time is newly added. Since the calculation is performed, the data transmission time can be obtained in consideration of the data reception state on the master station side.
[0041]
The third effect of the present invention is that the data transmission time from the slave station to the master station can be dispersed, so that the load on the master station during data collection can be reduced even in a telemeter system having a large number of slave stations. That you can do it. .
[Brief description of the drawings]
FIG. 1 is a block diagram showing one embodiment of a telemeter data transmitting apparatus according to the present invention; FIG. 2 is a flowchart showing the operation of the embodiment shown in FIG. 1;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Transmission timing detection part 2 Clock part 3 Random number generation part 3 Retransmission request reception storage part 5 Transmission start time storage part 6 Maximum delay time storage part 7 Actual transmission time storage part 8 Data transmission part 9 Data reception part

Claims (6)

複数の子局から親局へテレメータデータを送信するテレメータシステムにおけるテレメータデータ送信装置において、
時を刻んで現在時刻を表示している刻時部と、
乱数を発生している乱数発生部と、
親局からのデータ再送要求の有無を再送要求受信状態のオン/オフで記憶する再送要求受信記憶部と、
親局へのデータの送信が可能となる送信可能開始時刻が設定され記憶する送信開始時刻記憶部と、
前記送信開始時刻からの最大送信遅延許容時間が設定され記憶する最大遅延時間記憶部と、
親局へデータを実際に送信する実送信時刻を記憶する実送信時刻記憶部と、
前記再送要求受信状態がオンのときは前記乱数,送信可能開始時刻および最大送信遅延許容時間に基づいて前記実送信時刻を算出し、また前記現在時刻と前記実送信時刻を比較することによってデータの送信タイミングの検出を行う送信タイミング検出部と、
前記送信タイミング検出部からのデータ送信指令を受けると親局へテレメータデータを送信するデータ送信部と、
前記データの送信後の所定時間内に親局から再送要求信号を受信しないときは、前記再送要求受信記憶部の再送要求受信状態をオフにし、再送要求信号を受信したときは再送要求受信記憶部の再送要求受信状態をオンにするデータ受信部とを備えたことを特徴とするテレメータデータ送信装置。
In a telemeter data transmission device in a telemeter system that transmits telemeter data from a plurality of slave stations to a master station,
A clock section that displays the current time by ticking the time,
A random number generator for generating random numbers,
A retransmission request reception storage unit for storing the presence or absence of a data retransmission request from the master station by ON / OFF of a retransmission request reception state;
A transmission start time storage unit that sets and stores a transmission start time at which data transmission to the master station is enabled;
A maximum delay time storage unit that sets and stores a maximum allowable transmission delay time from the transmission start time,
An actual transmission time storage unit that stores an actual transmission time at which data is actually transmitted to the master station;
When the retransmission request reception state is on, the actual transmission time is calculated based on the random number, the transmission start time, and the maximum allowable transmission delay time, and the current time is compared with the actual transmission time to obtain data. A transmission timing detection unit that detects transmission timing;
A data transmission unit that transmits telemeter data to the master station when receiving a data transmission command from the transmission timing detection unit,
When the retransmission request signal is not received from the master station within a predetermined time after the transmission of the data, the retransmission request reception state of the retransmission request reception storage unit is turned off, and when the retransmission request signal is received, the retransmission request reception storage unit is turned off. A data receiving unit for turning on the retransmission request reception state of the telemetry data.
送信タイミング検出部は、前記再送要求受信状態がオンのときは、前記乱数を最大送信遅延許容時間で除算した剰余を前記送信可能開始時刻に加えることによって前記実送信時刻を算出し、前記再送要求受信状態がオフのときは、上述の実送信時刻の算出を行わず、また現在時刻と前記実送信時刻との比較によって前記データの送信タイミングの検出を行うことを特徴とする請求項1に記載のテレメータデータ送信装置。When the retransmission request reception state is ON, the transmission timing detection unit calculates the actual transmission time by adding a remainder obtained by dividing the random number by a maximum transmission delay allowable time to the transmission available start time, and calculates the retransmission request. The method according to claim 1, wherein when the reception state is off, the calculation of the actual transmission time is not performed, and the transmission timing of the data is detected by comparing a current time with the actual transmission time. Telemeter data transmission device. 前記実送信時刻を一定としたことを特徴とする請求項1または請求項2に記載のテレメータデータ送信装置。The telemetry data transmission device according to claim 1 or 2, wherein the actual transmission time is fixed. 前記最大送信遅延許容時間を1としたことを特徴とする請求項3に記載のテレメータデータ送信装置。4. The telemeter data transmission device according to claim 3, wherein the maximum transmission delay allowable time is set to one. 複数の子局から親局へテレメータデータを送信するテレメータシステムにおけるテレメータデータ送信方法であって、
親局による再送要求受信状態を記憶部から取得し、再送要求受信状態がオンか否かを判断する手順と、
前記再送要求受信状態がオンの場合には、最大送信遅延許容時間を記憶部から取得する手順と、乱数発生部から乱数を取得する手順と、取得した乱数を最大送信遅延許容時間で除算して、その剰余を送信遅延時間とする手順と、送信可能開始時刻を記憶部から取得する手順と、前記送信可能開始時刻から前記送信遅延時間後の時間である実送信時刻を求めて記憶部に格納する手順と、
現在時刻を刻時部から取得して前記実送信時刻と比較する手順と、
両時刻が同じであればテレメータデータを親局へ送信する手順と、
親局へ送信されたデータが正常に受信された場合には前記再送要求受信状態をオフとし、正常に受信されなかった場合には前記再送要求受信状態をオンとする手順とを有することを特徴とするテレメータデータ送信方法。
A telemeter data transmission method in a telemeter system for transmitting telemeter data from a plurality of slave stations to a master station,
A procedure for acquiring the retransmission request reception state by the master station from the storage unit and determining whether the retransmission request reception state is ON;
When the retransmission request reception state is ON, a procedure for obtaining the maximum transmission delay allowable time from the storage unit, a procedure for obtaining a random number from the random number generation unit, and dividing the obtained random number by the maximum transmission delay allowable time A procedure for setting the remainder as a transmission delay time, a procedure for obtaining a transmission available start time from a storage unit, and obtaining an actual transmission time that is a time after the transmission delay time from the transmission available start time, and storing the actual transmission time in the storage unit. Steps to
A procedure for obtaining the current time from the clock unit and comparing the current time with the actual transmission time;
A procedure for transmitting the telemeter data to the master station if both times are the same,
Turning off the retransmission request reception state if the data transmitted to the master station is normally received, and turning on the retransmission request reception state if the data is not normally received. Telemeter data transmission method.
複数の子局から親局へテレメータデータを送信するテレメータシステムにおけるテレメータデータ送信装置を構成するコンピュータにおいて実行されるプログラムであって、
親局による再送要求受信状態を記憶部から取得し、再送要求受信状態がオンか否かを判断するステップと、
前記再送要求受信状態がオンの場合には、最大送信遅延許容時間を記憶部から取得するステップと、乱数発生部から乱数を取得するステップと、取得した乱数を最大送信遅延許容時間で除算して、その剰余を送信遅延時間とするステップと、送信可能開始時刻を記憶部から取得するステップと、前記送信可能開始時刻から前記送信遅延時間後の時間である実送信時刻を求めて記憶部に格納するステップと、
現在時刻を刻時部から取得して前記実送信時刻と比較するステップと、
両時刻が同じであればテレメータデータを親局へ送信するステップと、
親局へ送信されたデータが正常に受信された場合には前記再送要求受信状態をオフとし、正常に受信されなかった場合には前記再送要求受信状態をオンとするステップとを有することを特徴とするプログラム。
A program executed by a computer constituting a telemeter data transmission device in a telemeter system for transmitting telemeter data from a plurality of slave stations to a master station,
Acquiring the retransmission request reception state by the master station from the storage unit, and determining whether the retransmission request reception state is ON,
When the retransmission request reception state is ON, obtaining the maximum transmission delay allowable time from the storage unit, obtaining the random number from the random number generation unit, and dividing the obtained random number by the maximum transmission delay allowable time Setting the remainder as a transmission delay time, obtaining a transmittable start time from a storage unit, obtaining an actual transmission time that is a time after the transmission delay time from the transmittable start time, and storing the actual transmission time in the storage unit. Steps to
Obtaining the current time from the clock unit and comparing it with the actual transmission time;
Transmitting the telemeter data to the master station if both times are the same;
Turning off the retransmission request reception state if the data transmitted to the master station is normally received, and turning on the retransmission request reception state if the data is not normally received. And the program.
JP2002186370A 2002-06-26 2002-06-26 Apparatus and method for transmitting telemeter data Pending JP2004032405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002186370A JP2004032405A (en) 2002-06-26 2002-06-26 Apparatus and method for transmitting telemeter data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002186370A JP2004032405A (en) 2002-06-26 2002-06-26 Apparatus and method for transmitting telemeter data

Publications (1)

Publication Number Publication Date
JP2004032405A true JP2004032405A (en) 2004-01-29

Family

ID=31181740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002186370A Pending JP2004032405A (en) 2002-06-26 2002-06-26 Apparatus and method for transmitting telemeter data

Country Status (1)

Country Link
JP (1) JP2004032405A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007150811A (en) * 2005-11-29 2007-06-14 Nippon Telegr & Teleph Corp <Ntt> Measured data transmission controller of sensor terminal
JP2014175894A (en) * 2013-03-11 2014-09-22 Hitachi Ltd Multi-hop network system and radio station
JP2015126302A (en) * 2013-12-26 2015-07-06 日本電気株式会社 Data collection system and data collection method
JP2016076741A (en) * 2014-10-02 2016-05-12 Nttエレクトロニクス株式会社 Random data generator and data communication terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007150811A (en) * 2005-11-29 2007-06-14 Nippon Telegr & Teleph Corp <Ntt> Measured data transmission controller of sensor terminal
JP2014175894A (en) * 2013-03-11 2014-09-22 Hitachi Ltd Multi-hop network system and radio station
JP2015126302A (en) * 2013-12-26 2015-07-06 日本電気株式会社 Data collection system and data collection method
JP2016076741A (en) * 2014-10-02 2016-05-12 Nttエレクトロニクス株式会社 Random data generator and data communication terminal

Similar Documents

Publication Publication Date Title
US10432421B2 (en) Communication control device and communication system
US10585401B2 (en) Method for determining a master time signal, vehicle, and system
JP7006335B2 (en) In-vehicle communication system, in-vehicle communication method, and program
JPH06101732B2 (en) Communication control method
JP2004032405A (en) Apparatus and method for transmitting telemeter data
US20070239329A1 (en) Program management system
US5710890A (en) Method and device for the transmission of data on a bus
JP2019216348A5 (en)
JP6384318B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE SYNCHRONIZATION METHOD, COMMUNICATION PROGRAM, AND COMMUNICATION SYSTEM
KR20200056192A (en) Data communication system, data communication method, server and vehicle
JP3611062B2 (en) Telemeter / telecontrol system
CN114866293A (en) Multi-node digital key positioning method, device, equipment and storage medium
JP5445396B2 (en) Wireless communication apparatus and wireless communication system
JP2821091B2 (en) Remote monitoring control device and time synchronization device
JP2013121071A (en) Relay system, and relay device and external device forming the same
JP2817773B2 (en) Method for detecting program loops across transactions
JP5207106B2 (en) In-vehicle communication system and in-vehicle communication method
JP2006033490A (en) Data communication device, and communication system
JP2903282B2 (en) Time synchronization processing method for distributed information processing system
JP2891893B2 (en) Exclusive control method for automatic recovery when a failure occurs
JPH09127274A (en) Time correction method and time correction system
JPH08307950A (en) Time adjusting method for remote system
JP2009065518A (en) Communication system, communication device and communication method
JP2762653B2 (en) Automatic phase adjustment method in wireless calling system
CN115098367A (en) Method, device and equipment for testing security algorithm

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20050513

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070424

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070814