JP2001141508A - Measuring instrument, data collecting equipment, and measuring system using them - Google Patents

Measuring instrument, data collecting equipment, and measuring system using them

Info

Publication number
JP2001141508A
JP2001141508A JP32095599A JP32095599A JP2001141508A JP 2001141508 A JP2001141508 A JP 2001141508A JP 32095599 A JP32095599 A JP 32095599A JP 32095599 A JP32095599 A JP 32095599A JP 2001141508 A JP2001141508 A JP 2001141508A
Authority
JP
Japan
Prior art keywords
data
time
measurement
value
control circuit
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
JP32095599A
Other languages
Japanese (ja)
Inventor
Kouji Fukuou
浩司 福王
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP32095599A priority Critical patent/JP2001141508A/en
Publication of JP2001141508A publication Critical patent/JP2001141508A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To make a time when measurement is conducted transmitted by a small circuit scale. SOLUTION: In this measuring instrument, an operation control circuit is provided to transmit a time difference data between a time when a data is measured and a time when the measured data is required to be transmitted, together with the measured data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通信機能を有する
測定機器及びデータ収集機器に関し、特にデータ測定を
行った時刻を送信する測定機器並びにデータ収集機器及
びこれらを用いた測定システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a measuring device and a data collecting device having a communication function, and more particularly to a measuring device for transmitting the time at which data measurement was performed, a data collecting device, and a measuring system using the same.

【0002】[0002]

【従来の技術】従来の通信機能を有する測定機器ではR
S232CやLAN等で構成された通信回線に接続され
たデータ収集機器であるターミナル等と相互に接続さ
れ、ターミナル等からの測定データの送信要求に基づき
当該測定データや必要に応じて測定時刻をターミナル等
に通信回線を介して送信している。
2. Description of the Related Art In a conventional measuring instrument having a communication function, R
The terminal is interconnected with a terminal or the like, which is a data collection device connected to a communication line constituted by S232C, a LAN, or the like. Etc. via a communication line.

【0003】図5はこのような従来の測定機器の一例を
示す構成ブロック図である。図5において1は入力信号
をディジタル化等して取り込む入力回路、2はMPU
(Micro Processing Unit)等の演算制御回路、3はリ
アルタイムクロック発生回路、4はデータ収集機器であ
るターミナル、100はセンサ回路等で検出された被測
定対象の物理量を示す電圧信号等の入力信号である。ま
た、1〜3は測定機器50を構成している。
FIG. 5 is a block diagram showing an example of such a conventional measuring instrument. In FIG. 5, reference numeral 1 denotes an input circuit for digitizing an input signal and the like, and 2 denotes an MPU.
(Micro Processing Unit) or the like, 3 is a real-time clock generation circuit, 4 is a terminal which is a data collection device, 100 is an input signal such as a voltage signal indicating a physical quantity of a measured object detected by a sensor circuit or the like. is there. 1 to 3 constitute the measuring device 50.

【0004】入力信号100は入力回路1に入力され、
入力回路1の出力は演算制御回路2に接続される。ま
た、リアルタイムクロック発生回路3の入出力は演算制
御回路2に相互に接続され、演算制御回路2の通信の入
出力はRS232CやLAN等で構成された通信回線を
介してターミナル4の通信端子に相互に接続される。
[0004] An input signal 100 is input to an input circuit 1.
The output of the input circuit 1 is connected to the arithmetic and control circuit 2. The input and output of the real-time clock generation circuit 3 are mutually connected to the arithmetic and control circuit 2, and the input and output of communication of the arithmetic and control circuit 2 are connected to the communication terminal of the terminal 4 via a communication line composed of RS232C, LAN or the like. Interconnected.

【0005】ここで、図5に示す従来例の動作を図6及
び図7を用いて説明する。図6及び図7は演算制御回路
2の動作を説明するフロー図である。
Here, the operation of the conventional example shown in FIG. 5 will be described with reference to FIGS. FIGS. 6 and 7 are flowcharts for explaining the operation of the arithmetic and control circuit 2. FIG.

【0006】図6中”S001”において演算制御回路
2は入力回路1で取り込んだ入力信号100に適宜演算
処理等を行いデータ測定を行い測定データを記憶すると
共に、図6中”S002”においてデータ測定を行った
時刻をリアルタイムクロック発生回路3から取得して測
定時刻データとして記憶する。
[0006] In "S001" in FIG. 6, the arithmetic control circuit 2 performs appropriate arithmetic processing and the like on the input signal 100 fetched by the input circuit 1, performs data measurement and stores the measured data, and in "S002" in FIG. The time at which the measurement was performed is obtained from the real-time clock generation circuit 3 and stored as measurement time data.

【0007】また、図7中”S101”において演算制
御回路2はターミナル4からの測定データの送信要求を
受信したか否かを判断し、もし、送信要求を受信した場
合には、図7中”S102”において演算制御回路2は
先に記憶しておいた測定データを通信回線を介してター
ミナル4に送信し、図7中”S103”において先に記
憶しておいた測定時刻データもまた通信回線を介してタ
ーミナル4に送信する。
[0007] In addition, in "S101" in FIG. 7, the arithmetic and control circuit 2 determines whether or not a request for transmitting measurement data from the terminal 4 has been received. In "S102", the arithmetic and control circuit 2 transmits the previously stored measurement data to the terminal 4 via the communication line, and also transmits the previously stored measurement time data in "S103" in FIG. It transmits to terminal 4 via the line.

【0008】例えば、図5中”SR01”に示すような
送信要求がターミナル4から測定機器50に対して送信
された場合には、測定機器50は図5中”MD01”に
示す測定データをターミナル4に送信すると共に図5
中”MT01”に示す測定時刻データをターミナル4に
送信する。
For example, when a transmission request as indicated by “SR01” in FIG. 5 is transmitted from the terminal 4 to the measuring device 50, the measuring device 50 transmits the measurement data indicated by “MD01” in FIG. 4 and FIG.
The measurement time data shown in the middle “MT01” is transmitted to the terminal 4.

【0009】一方、送信要求を送信したターミナル4で
は測定データを受信すると共に測定時刻データを受信
し、測定時刻データの内容を直接参照することにより受
信した当該測定データの測定時刻を得ることができる。
On the other hand, the terminal 4 that has transmitted the transmission request receives the measurement data and the measurement time data, and can obtain the measurement time of the received measurement data by directly referring to the contents of the measurement time data. .

【0010】この結果、リアルタイムクロック発生回路
3により時刻をカウントしておき、データ測定時の時刻
をリアルタイムクロック発生回路3から読み取って記憶
しておくことにより、通信機能を有する他の機器にデー
タ測定を行った時刻を送信することが可能になる。
As a result, the time is counted by the real-time clock generation circuit 3 and the time at the time of data measurement is read from the real-time clock generation circuit 3 and stored, so that the data can be measured by another device having a communication function. Can be transmitted.

【0011】[0011]

【発明が解決しようとする課題】しかし、図5に示す従
来例では測定時刻を得るためには測定機器内にリアルタ
イムクロック発生回路3を備えておく必要性があり、回
路規模が大きくなると共にコストアップになってしまう
といった問題点があった。
However, in the conventional example shown in FIG. 5, it is necessary to provide a real-time clock generating circuit 3 in the measuring device in order to obtain the measuring time, which increases the circuit scale and costs. There was a problem that it would be up.

【0012】また、複数台の測定機器に対してデータ収
集機器である1つのターミナルでデータ収集等する場合
には、個々の測定機器が有するリアルタイムクロック回
路の時刻を互いに正確に合わせておかなければならない
と言った問題点があった。従って本発明が解決しようと
する課題は、小さな回路規模で測定を行った時刻を送信
することが可能な測定機器並びにデータ収集機器及びこ
れらを用いた測定システムを実現することにある。
In the case where data is collected by a single terminal, which is a data collection device, for a plurality of measurement devices, the times of the real-time clock circuits of the individual measurement devices must be accurately adjusted to each other. There was a problem that it was not. Therefore, an object of the present invention is to realize a measuring device, a data collecting device, and a measuring system using the same, which can transmit the time at which measurement was performed with a small circuit scale.

【0013】[0013]

【課題を解決するための手段】このような課題を達成す
るために、本発明のうち請求項1記載の発明は、測定機
器において、データの測定時と、測定データの送信要求
時との時間差データを測定データと共に送信する演算制
御回路を備えたことにより、測定機器側にリアルタイム
クロック回路を用いることなく測定を行った時刻を送信
することが可能になる。
In order to achieve the above object, according to the present invention, there is provided a measuring instrument, comprising: a measuring device for measuring a time difference between a time of measuring data and a time of requesting transmission of measured data; The provision of the arithmetic and control circuit for transmitting the data together with the measurement data makes it possible to transmit the time at which the measurement was performed to the measuring device without using a real-time clock circuit.

【0014】請求項2記載の発明は、請求項1記載の発
明である測定機器において、前記演算制御回路が、値が
一定時間に達した場合に値をリセットして繰返しカウン
トするカウンタ、若しくは、フルカウント値の次にゼロ
に戻り循環的にカウントするカウンタの値をデータの測
定時に記憶し、測定データの送信要求時の前記カウンタ
の値と前記記憶した値との前記時間差データを求めて前
記測定データと共に前記時間差データを送信することに
より、測定機器側にリアルタイムクロック回路を用いる
ことなく測定を行った時刻を送信することが可能にな
る。
According to a second aspect of the present invention, in the measuring instrument according to the first aspect, the arithmetic and control circuit resets the value when the value reaches a predetermined time and counts repeatedly, or The counter value that returns to zero next to the full count value and counts cyclically is stored at the time of data measurement, and the time difference data between the counter value and the stored value at the time of a request for transmission of measurement data is obtained and the measurement is performed. By transmitting the time difference data together with the data, it becomes possible to transmit the time at which the measurement was performed to the measuring device without using a real-time clock circuit.

【0015】請求項3記載の発明は、請求項2記載の発
明である測定機器において、前記演算制御回路が、前記
時間差データが一定値以上若しくは一定値よりも大きい
場合に測定データを無効とすることにより、カウント値
の重複により測定時刻の重複が発生することを防止でき
る。
According to a third aspect of the present invention, in the measuring instrument according to the second aspect of the present invention, the arithmetic and control circuit invalidates the measured data when the time difference data is equal to or greater than a certain value or larger than a certain value. Thus, it is possible to prevent the measurement time from being duplicated due to the duplication of the count value.

【0016】請求項4記載の発明は、請求項2記載の発
明である測定機器において、前記演算制御回路が、前記
カウンタの値がリセットされた場合にデータの測定時に
記憶した値から前記一定時間を減算した値を前記記憶し
た値として更新することにより、カウント値の重複によ
り測定時刻の重複が発生することを防止できる。
According to a fourth aspect of the present invention, in the measuring instrument according to the second aspect of the present invention, when the value of the counter is reset, the arithmetic control circuit determines the predetermined time from a value stored at the time of data measurement. By updating the value obtained by subtracting the above as the stored value, it is possible to prevent the measurement time from being duplicated due to the duplication of the count value.

【0017】請求項5記載の発明は、請求項4記載の発
明である測定機器において、前記演算制御回路が、デー
タの測定時に記憶した値から前記一定時間を減算した値
が一定値以下若しくは一定値よりも小さい場合に測定デ
ータを無効とすることにより、カウント値の重複により
測定時刻の重複が発生することを防止できる。
According to a fifth aspect of the present invention, in the measuring instrument according to the fourth aspect of the present invention, the arithmetic and control circuit determines that a value obtained by subtracting the certain time from a value stored at the time of data measurement is equal to or smaller than a certain value. By invalidating the measurement data when the value is smaller than the value, it is possible to prevent the measurement time from being duplicated due to the duplication of the count value.

【0018】請求項6記載の発明は、データ収集機器に
おいて、測定データと、データの測定時と測定データの
送信要求時との時間差データを受信し、受信時刻から前
記時間差データを減算して前記測定データの測定時刻を
求めることにより、測定機器側にリアルタイムクロック
回路を用いることなく測定を行った時刻を送信すること
が可能になる。
According to a sixth aspect of the present invention, in the data collection device, the measurement data and the time difference data between the time when the data is measured and the time when the transmission of the measurement data is requested are received, and the time difference data is subtracted from the reception time. By obtaining the measurement time of the measurement data, the time at which the measurement was performed can be transmitted to the measuring device without using a real-time clock circuit.

【0019】請求項7記載の発明は、1つの前記データ
収集機器で、複数台の前記測定機器からのデータ収集を
行うことにより、個々の測定機器が有するリアルタイム
クロック回路の時刻合わせが不要になると共に1つのタ
ーミナルの有する時計の時刻に基づき一元的に測定時刻
が求まるため測定機器間での時間のずれが生じず正確に
測定時刻を特定することが可能になる。
According to a seventh aspect of the present invention, by collecting data from a plurality of measurement devices with one data collection device, it is not necessary to adjust the time of a real-time clock circuit of each measurement device. In addition, since the measurement time is unified based on the time of the clock of one terminal, the measurement time can be accurately specified without time lag between the measurement devices.

【0020】[0020]

【発明の実施の形態】以下本発明を図面を用いて詳細に
説明する。図1は本発明に係る測定機器の一実施例を示
す構成ブロック図である。図1において1及び100は
図5と同一符号を付してあり、5は演算制御回路、6は
データ収集機器であるターミナルである。また、1及び
5は測定機器51を構成している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the measuring instrument according to the present invention. 1, reference numerals 1 and 100 denote the same components as in FIG. 5, reference numeral 5 denotes an arithmetic control circuit, and reference numeral 6 denotes a terminal which is a data collection device. Further, 1 and 5 constitute a measuring device 51.

【0021】入力信号100は入力回路1に入力され、
入力回路1の出力は演算制御回路5に接続される。ま
た、演算制御回路5の通信の入出力はRS232CやL
AN等で構成された通信回線を介してターミナル6の通
信端子に相互に接続される。
An input signal 100 is input to an input circuit 1,
The output of the input circuit 1 is connected to the arithmetic and control circuit 5. The communication input / output of the arithmetic and control circuit 5 is RS232C or L
It is mutually connected to a communication terminal of the terminal 6 via a communication line constituted by an AN or the like.

【0022】ここで、図1に示す実施例の動作を図2、
図3及び図4を用いて説明する。図2はカウント値及び
記憶データの値の状態変化を示すタイミング図、図3及
び図4は演算制御回路5の動作を説明するフロー図であ
る。
The operation of the embodiment shown in FIG. 1 will now be described with reference to FIG.
This will be described with reference to FIGS. FIG. 2 is a timing chart showing a state change of the count value and the value of the stored data, and FIGS. 3 and 4 are flow charts for explaining the operation of the arithmetic control circuit 5.

【0023】まず、演算制御回路5内には”0秒”か
ら”tlimit秒”迄を繰返しカウントするカウンタ機能
を備える。すなわち、当該カウンタのカウント値が”t
limit秒”を超えた場合にはカウント値が”0秒”にリ
セットされ再度カウント値が”tlimit秒”になるまで
カウントされる。
First, the arithmetic control circuit 5 has a counter function for repeatedly counting from "0 seconds" to "t limit seconds". That is, the count value of the counter is "t".
If " limit seconds" is exceeded, the count value is reset to "0 seconds" and counting is performed again until the count value reaches "t limit seconds".

【0024】例えば、図2中(a)に示すようにカウン
タの値は”0秒”から”tlimit秒”迄順次カウントさ
れ、図2中”RP21”、”RP22”及び”RP2
3”に示すような点でカウント値が”0秒”にリセット
されることになる。
For example, as shown in FIG. 2A, the value of the counter is sequentially counted from "0 seconds" to "t limit seconds", and "RP21", "RP22" and "RP2" in FIG.
At the point indicated by "3", the count value is reset to "0 seconds".

【0025】一方、図3中”S201”において演算制
御回路5は入力回路1で取り込んだ入力信号100に適
宜演算処理等を行いデータ測定を行い測定データを記憶
すると共に、図3中”S202”においてデータ測定を
行った時点でカウンタでカウントされている値を記憶デ
ータ”tdata”として記憶する。
On the other hand, in "S201" in FIG. 3, the arithmetic and control circuit 5 performs appropriate arithmetic processing and the like on the input signal 100 fetched by the input circuit 1, performs data measurement and stores the measured data, and "S202" in FIG. The value counted by the counter at the time when the data measurement is performed in step is stored as storage data "t data ".

【0026】例えば、図2中”MS21”に示す時点で
データの測定がなされた場合を考えると、図2中”MS
21”に示す時点のカウンタの値”t1”が記憶デー
タ”t data”として記憶されるので図2中(b)に示す
記憶データが”t1”にセットされる。
For example, at the time indicated by "MS21" in FIG.
Considering the case where data was measured, “MS” in FIG.
21 "is stored in the storage data.
"T" data2 (b) in FIG.
The stored data is set to “t1”.

【0027】そして、図3中”S203”において演算
制御回路5はタイムケールが”tli mit秒”を超えてリ
セットされたか否かを判断し、もし、カウンタがリセッ
トされた場合には、演算制御回路5は下記の演算処理を
行う。 tdata=tdata−tlimit (1)
[0027] When the arithmetic control circuit 5 in figure 3 "S203" to determine whether or not a reset beyond time scale is "t li mit seconds", that if the counter is reset, the operation The control circuit 5 performs the following arithmetic processing. t data = t data -t limit (1)

【0028】すなわち、演算制御回路5は図3中”S2
02”のステップで記憶した記憶データから”tlimit
秒”を減算した値を新たな記憶データ”tdata”として
記憶する。
That is, the arithmetic and control circuit 5 operates as "S2" in FIG.
02 ”from the stored data stored in the step“ t limit
The value obtained by subtracting “second” is stored as new storage data “t data ”.

【0029】例えば、図2中”RP21”に示す時点で
カウンタのリセットがなされた場合を考えると、式
(1)の演算がなされて図2中(b)に示す記憶データ
が”t1”から”t1−tlimit”に更新される。
For example, considering the case where the counter is reset at the time point indicated by "RP21" in FIG. 2, the operation of equation (1) is performed, and the storage data shown in FIG. It is updated to "t1- tlimit ".

【0030】さらに、図3中”S205”において演算
制御回路5は”tdata<−tlimit”であるか否かを判
断して、もし、上記条件を満足する場合は当該測定デー
タを無効と判断し、上記条件を満足しない場合には図3
中”S203”にステップに戻る。
Further, in "S205" in FIG. 3, the arithmetic and control circuit 5 determines whether or not "t data <-t limit ", and if the above condition is satisfied, the measured data is invalidated. If it is determined that the above condition is not satisfied, FIG.
The process returns to step S203.

【0031】また、図4中”S301”において演算制
御回路5はターミナル6からの測定データの送信要求を
受信したか否かを判断し、もし、送信要求を受信した場
合には、図4中”S302”において演算制御回路5は
現在のカウンタの値”ts”から先に記憶しておいた記
憶データ”tdata”を減算してターミナル6に送信すべ
き時間差データ”tsend”を演算する。
Also, in "S301" in FIG. 4, the arithmetic and control circuit 5 determines whether or not a request for transmission of the measurement data from the terminal 6 has been received. In "S302", the arithmetic control circuit 5 subtracts the previously stored data "t data " from the current counter value "ts" to calculate the time difference data "t send " to be transmitted to the terminal 6. .

【0032】例えば、図2中”SR21”に示す時点で
ターミナル6からの送信要求を受信した場合を考える
と、図2中”SR21”に示す時点のカウンタの値”t
2”であるので下記の演算を行う。 tsend=t2−tdata (2)
For example, considering the case where a transmission request from the terminal 6 is received at the time indicated by "SR21" in FIG. 2, the value of the counter "t" at the time indicated by "SR21" in FIG.
2 ”, the following operation is performed. T send = t2−t data (2)

【0033】図2中”SR21”に示す時点での記憶デ
ータ”tdata”は”t1−tlimit”であるので式
(2)は、 tsend=t2−(t1−tlimit) (3)となる。
Since the stored data “t data ” at the time indicated by “SR 21” in FIG. 2 is “t 1 −t limit ”, the equation (2) is given by t send = t 2 − (t 1 −t limit ) (3) Becomes

【0034】すなわち、式(3)に示す値は、図2中”
DT21”に示すような”MS21”と”SR21”と
の間の時間差に相当することになる。
That is, the value shown in equation (3) is
This corresponds to the time difference between “MS21” and “SR21” as indicated by “DT21”.

【0035】そして、図4中”S303”において演算
制御回路5は”tsend>tlimit”であるか否かを判断
して、もし、上記条件を満足した場合は、図4中”S3
04”において測定データを無効と判断する。
Then, in "S303" in FIG. 4, the arithmetic control circuit 5 determines whether or not "t send > t limit ". If the above condition is satisfied, the operation control circuit 5 performs "S3" in FIG.
04 ”, it is determined that the measurement data is invalid.

【0036】例えば、記憶データ”tdata”が図2中”
ID21”に示す部分の値に相当する場合には測定デー
タを無効にしている。
For example, the storage data "t data " is
If the value corresponds to the value of the portion indicated by ID21 ", the measurement data is invalidated.

【0037】具体的にはカウンタのビット数と、”t
data”を記憶するビット数を同じにした場合、”
data”を記憶するビット数よりも大きな値はアンダー
フローを発生させて、測定時刻の重複が発生する。この
ため、条件により測定データを無効にすることにより、
測定時刻の重複が発生することを防止することができ
る。
Specifically, the number of bits of the counter and "t"
If the number of bits to store data is the same,
A value larger than the number of bits storing t data ”causes an underflow, and the measurement time overlaps. For this reason, by invalidating the measurement data depending on the condition,
It is possible to prevent the measurement time from being duplicated.

【0038】もし、上記条件を満足しない場合には、図
4中”S305”において演算制御回路5は測定データ
を通信回線を介してターミナル6に送信し、図4中”S
306”において先に演算した時間差データ”tsend
もまた通信回線を介してターミナル6に送信する。
If the above condition is not satisfied, the arithmetic and control circuit 5 transmits the measurement data to the terminal 6 via the communication line in "S305" in FIG.
306 ", the time difference data" t send "calculated earlier.
Is also transmitted to the terminal 6 via the communication line.

【0039】例えば、図1中”SR11”に示すような
送信要求がターミナル6から測定機器51に対して送信
された場合には、測定機器51は図1中”MD11”に
示すように時間差データ”tsend”を含む測定データを
ターミナル6に送信する。
For example, when a transmission request as shown by “SR11” in FIG. 1 is transmitted from the terminal 6 to the measuring device 51, the measuring device 51 transmits the time difference data as shown by “MD11” in FIG. The measurement data including “t send ” is transmitted to the terminal 6.

【0040】一方、送信要求を送信したデータ収集機器
であるターミナル6では時間差データ”tsend”含んだ
測定データを受信する。この時、ターミナル6側の有す
る時計の時刻から時間差データ”tsend”を減算するこ
とにより、測定データが測定された時刻を得ることがで
きる。
On the other hand, the terminal 6 which is the data collection device which has transmitted the transmission request receives the measurement data including the time difference data "t send ". At this time, the time at which the measurement data was measured can be obtained by subtracting the time difference data "t send " from the time of the clock provided on the terminal 6 side.

【0041】すなわち、送信要求を送信してから測定デ
ータ等を受信するまでの時間的な遅延が測定時刻の測定
単位よりも十分小さいと考えればこの遅延は無視できる
ので、測定データ等の受信時刻が図2中”SR21”に
示す時点の時刻に相当する。
That is, if it is considered that the time delay from transmission of a transmission request to reception of measurement data or the like is sufficiently smaller than the measurement unit of the measurement time, this delay can be ignored. Corresponds to the time point indicated by "SR21" in FIG.

【0042】そして、当該時刻から図2中”DT21”
だけ減算した値は図2中”MS21”に示す時点の時刻
に相当することになり、言い換えれば、測定データが測
定された時刻となる。
Then, "DT21" in FIG.
The value obtained by subtracting only the above value corresponds to the time point indicated by “MS21” in FIG. 2, in other words, the time point at which the measurement data is measured.

【0043】この結果、データの測定時に記憶した一定
時間を循環的にカウントするカウンタの値と、測定デー
タの送信要求時のカウンタの値との時間差データを送信
することにより、測定機器側にリアルタイムクロック回
路を用いることなく測定を行った時刻を送信することが
可能になる。
As a result, by transmitting the time difference data between the value of the counter that cyclically counts the fixed time stored during the data measurement and the value of the counter at the time of the request for transmission of the measurement data, real-time transmission to the measuring device can be performed. It is possible to transmit the time at which the measurement was performed without using a clock circuit.

【0044】なお、図1の説明においては説明の簡単の
ために入力回路1を例示しているが、入力回路1に相当
するA/D変換器等の機能を有する演算制御回路5であ
れば入力回路1は不要となる。
In the description of FIG. 1, the input circuit 1 is illustrated for the sake of simplicity. However, if the arithmetic control circuit 5 has a function of an A / D converter or the like corresponding to the input circuit 1, The input circuit 1 becomes unnecessary.

【0045】また、図2の説明においては図2中”MS
21”に示すデータ測定が行われた時点と、図2中”S
R21”に示すターミナル6からの送信要求を受信した
時点との間でカウンタのカウント値のリセットが発生し
ているが、このようなリセットが発生しない場合であっ
ても、現在のカウンタの値”ts”から先に記憶してお
いた記憶データ”tdata”を減算することにより、両者
間の時間差データを得ることが可能である。
In the description of FIG. 2, "MS" in FIG.
21 "and" S "in FIG.
Although the count value of the counter has been reset between the time when the transmission request from the terminal 6 indicated by R21 "is received, even if such a reset does not occur, the current counter value" By subtracting the previously stored data “t data ” from “ts”, it is possible to obtain the time difference data between the two.

【0046】また、複数台の測定機器をデータ収集機器
である1つのターミナルでデータ収集等することによ
り、個々の測定機器が有するリアルタイムクロック回路
の時刻合わせが不要になると共に1つのターミナルの有
する時計の時刻に基づき一元的に測定時刻が求まるため
測定機器間での時間のずれが生じず正確に測定時刻を特
定することが可能になる。
Further, by collecting data of a plurality of measuring devices at one terminal which is a data collecting device, the time adjustment of the real-time clock circuit of each measuring device becomes unnecessary and the clock of one terminal is provided. Since the measurement time can be determined centrally based on the time, the measurement time can be accurately specified without causing a time lag between the measurement devices.

【0047】また、図1等で説明したカウンタは”t
limit秒”を超えた場合にカウント値がリセットされる
としたが、”tlimit秒”カウント時に当該カウンタの
ビットが全て”1”になるようにし、その次のカウント
でカウンタがオーバーフローして全てゼロになり、その
後カウントが継続するカウンタを使用しても構わない。
The counter described with reference to FIG.
It is assumed that the count value is reset when " limit seconds" is exceeded, but all bits of the counter are set to "1" when "t limit seconds" are counted, and the counter overflows at the next count and all It is also possible to use a counter that becomes zero and continues counting thereafter.

【0048】また、図4に示したフロー図においては説
明の簡単の為に測定データと時間差データとを個別のス
テップで送信しているが、直後の例示により図1中”M
D11”に示すように時間差データ”tsend”を含む測
定データをターミナル6に送信する方法であっても構わ
ない。
In the flow chart shown in FIG. 4, the measurement data and the time difference data are transmitted in individual steps for the sake of simplicity.
A method of transmitting the measurement data including the time difference data “t send ” to the terminal 6 as shown in D11 ”may be used.

【0049】[0049]

【発明の効果】以上説明したことから明らかなように、
本発明によれば次のような効果がある。請求項1乃至請
求項6の発明によれば、データの測定時に記憶した一定
時間を循環的にカウントするカウンタの値と、測定デー
タの送信要求時のカウンタの値との時間差データを送信
することにより、測定機器側にリアルタイムクロック回
路を用いることなく測定を行った時刻を送信することが
可能になる。
As is apparent from the above description,
According to the present invention, the following effects can be obtained. According to the first to sixth aspects of the present invention, it is possible to transmit time difference data between a value of a counter that cyclically counts a predetermined time stored at the time of data measurement and a value of the counter at the time of a request for transmission of measurement data. Thereby, it is possible to transmit the time at which the measurement was performed without using the real-time clock circuit to the measuring device.

【0050】また、請求項3乃至請求項5の発明によれ
ば、カウンタの値がリセットされた場合にデータの測定
時に記憶した値から一定時間を減算した値に更新するこ
とにより、若しくは、条件により測定データを無効にす
ることにより、測定時刻の重複が発生することを防止す
ることができる。
According to the third to fifth aspects of the present invention, when the value of the counter is reset, the value is updated by subtracting a predetermined time from the value stored at the time of data measurement, or By invalidating the measurement data, it is possible to prevent the measurement time from being duplicated.

【0051】また、請求項7の発明によれば、複数台の
測定機器をデータ収集機器である1つのターミナルでデ
ータ収集等することにより、個々の測定機器が有するリ
アルタイムクロック回路の時刻合わせが不要になると共
に1つのターミナルの有する時計の時刻に基づき一元的
に測定時刻が求まるため測定機器間での時間のずれが生
じず正確に測定時刻を特定することが可能になる。
According to the seventh aspect of the present invention, by collecting data of a plurality of measuring devices at one terminal which is a data collecting device, time adjustment of a real-time clock circuit included in each measuring device is unnecessary. In addition, since the measurement time is obtained centrally based on the time of the clock of one terminal, it is possible to accurately specify the measurement time without causing a time lag between the measurement devices.

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

【図1】本発明に係る測定機器の一実施例を示す構成ブ
ロック図である。
FIG. 1 is a configuration block diagram showing one embodiment of a measuring instrument according to the present invention.

【図2】カウント値及び記憶データの値の状態変化を示
すタイミング図である。
FIG. 2 is a timing chart showing a state change of a count value and a value of stored data.

【図3】演算制御回路の動作を説明するフロー図であ
る。
FIG. 3 is a flowchart illustrating the operation of an arithmetic control circuit.

【図4】演算制御回路の動作を説明するフロー図であ
る。
FIG. 4 is a flowchart illustrating the operation of an arithmetic control circuit.

【図5】従来の測定機器の一例を示す構成ブロック図で
ある。
FIG. 5 is a configuration block diagram illustrating an example of a conventional measurement device.

【図6】演算制御回路の動作を説明するフロー図であ
る。
FIG. 6 is a flowchart illustrating the operation of the arithmetic control circuit.

【図7】演算制御回路の動作を説明するフロー図であ
る。
FIG. 7 is a flowchart illustrating the operation of the arithmetic control circuit.

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

1 入力回路 2,5 演算制御回路 3 リアルタイムクロック発生回路 4,6 ターミナル 50,51 測定機器 100 入力信号 DESCRIPTION OF SYMBOLS 1 Input circuit 2, 5 Operation control circuit 3 Real-time clock generation circuit 4, 6 Terminal 50, 51 Measurement equipment 100 Input signal

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】測定機器において、 データの測定時と、測定データの送信要求時との時間差
データを測定データと共に送信する演算制御回路を備え
たことを特徴とする測定機器。
1. A measuring instrument comprising an arithmetic control circuit for transmitting time difference data between a time of data measurement and a time of a request for transmission of the measured data together with the measured data.
【請求項2】前記演算制御回路が、 値が一定時間に達した場合に値をリセットして繰返しカ
ウントするカウンタ、若しくは、フルカウント値の次に
ゼロに戻り循環的にカウントするカウンタの値をデータ
の測定時に記憶し、測定データの送信要求時の前記カウ
ンタの値と前記記憶した値との前記時間差データを求め
て前記測定データと共に前記時間差データを送信するこ
とを特徴とする請求項1記載の測定機器。
2. The arithmetic and control circuit according to claim 1, further comprising a counter for resetting the value when the value reaches a predetermined time and counting repeatedly, or a counter for returning to zero after the full count value and counting cyclically. The method according to claim 1, wherein the time difference data is stored at the time of measurement, and the time difference data between the value of the counter at the time of a request for transmission of the measurement data and the stored value is obtained, and the time difference data is transmitted together with the measurement data. measuring equipment.
【請求項3】前記演算制御回路が、 前記時間差データが一定値以上若しくは一定値よりも大
きい場合に測定データを無効とすることを特徴とする請
求項2記載の測定機器。
3. The measuring device according to claim 2, wherein the arithmetic control circuit invalidates the measurement data when the time difference data is equal to or more than a certain value or larger than a certain value.
【請求項4】前記演算制御回路が、 前記カウンタの値がリセットされた場合にデータの測定
時に記憶した値から前記一定時間を減算した値を前記記
憶した値として更新することを特徴とする請求項2記載
の測定機器。
4. The arithmetic control circuit according to claim 1, wherein when the value of the counter is reset, a value obtained by subtracting the predetermined time from a value stored at the time of data measurement is updated as the stored value. Item 6. The measuring device according to Item 2.
【請求項5】前記演算制御回路が、 データの測定時に記憶した値から前記一定時間を減算し
た値が一定値以下若しくは一定値よりも小さい場合に測
定データを無効とすることを特徴とする請求項4記載の
測定機器。
5. The method according to claim 1, wherein the arithmetic control circuit invalidates the measured data when a value obtained by subtracting the predetermined time from a value stored at the time of data measurement is equal to or less than a certain value or smaller than a certain value. Item 5. The measuring device according to Item 4.
【請求項6】データ収集機器において、 測定データと、データの測定時と測定データの送信要求
時との時間差データを受信し、 受信時刻から前記時間差データを減算して前記測定デー
タの測定時刻を求めることを特徴とするデータ収集機
器。
6. A data collection device for receiving measurement data and time difference data between a time when the data is measured and a time when a request for transmission of the measurement data is received, and subtracting the time difference data from a reception time to obtain a measurement time of the measurement data. Data collection equipment characterized by what you want.
【請求項7】1つの前記データ収集機器で、複数台の前
記測定機器からのデータ収集を行うことを特徴とする測
定システム。
7. A measurement system, wherein one data collection device collects data from a plurality of measurement devices.
JP32095599A 1999-11-11 1999-11-11 Measuring instrument, data collecting equipment, and measuring system using them Pending JP2001141508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32095599A JP2001141508A (en) 1999-11-11 1999-11-11 Measuring instrument, data collecting equipment, and measuring system using them

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32095599A JP2001141508A (en) 1999-11-11 1999-11-11 Measuring instrument, data collecting equipment, and measuring system using them

Publications (1)

Publication Number Publication Date
JP2001141508A true JP2001141508A (en) 2001-05-25

Family

ID=18127168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32095599A Pending JP2001141508A (en) 1999-11-11 1999-11-11 Measuring instrument, data collecting equipment, and measuring system using them

Country Status (1)

Country Link
JP (1) JP2001141508A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010257B2 (en) 2006-03-13 2011-08-30 Denso Corporation Electronic control units for controlling in-vehicle devices using time-dependent data and vehicle control system integrating such units for real-time distributed control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010257B2 (en) 2006-03-13 2011-08-30 Denso Corporation Electronic control units for controlling in-vehicle devices using time-dependent data and vehicle control system integrating such units for real-time distributed control

Similar Documents

Publication Publication Date Title
KR100694034B1 (en) Apparatus for automatic detecting data rate
US6128318A (en) Method for synchronizing a cycle master node to a cycle slave node using synchronization information from an external network or sub-network which is supplied to the cycle slave node
JP4931108B2 (en) High-precision time synchronization processing device and program thereof, and network congestion level warning device and program thereof
JPH09172415A (en) Measurement device of signal propagating time of digital transmitting device
EP2434673A2 (en) Network synchronization method and apparatus for performing time synchronization between nodes
JP5669853B2 (en) Improved clock offset measurement techniques
US8102271B2 (en) Apparatus and method for asset tracking based on ubiquitous sensor network using motion sensing
CN113783793A (en) Traffic scheduling method for time-sensitive data frame and related equipment
US8289963B2 (en) Process and system for calculating distances between wireless nodes
JP2002300162A (en) Grouping device, grouping system, and grouping method
JP2001141508A (en) Measuring instrument, data collecting equipment, and measuring system using them
JP2568458B2 (en) Data length detector
JP6614248B2 (en) Processing control program, processing control method, information processing apparatus, and communication apparatus
CN109444866A (en) Distance measuring method and user terminal
JP2009021888A (en) Data communication apparatus and data communication method
JP2022119261A (en) Transmitter, and receiver
JP2001256135A (en) Server device and web system
JP3190800B2 (en) Asynchronous transfer circuit with transfer speed switching function
KR102530830B1 (en) Image and data synchronization method using rtsp and synchronization system
WO2024004080A1 (en) Delay information collection device, delay control system, delay information collection method, and program
WO2023171776A1 (en) Information processing device, information processing method, and program
JP4601657B2 (en) Traffic shaping apparatus and method
JP2001308868A (en) Ieee1394 bus connection device, and medium and information aggregate
JP2004248172A (en) Osi layer 1 transmission data monitoring device
JP2002319953A (en) Packet transmitter