JP3551341B2 - Data collection device - Google Patents
Data collection device Download PDFInfo
- Publication number
- JP3551341B2 JP3551341B2 JP28577095A JP28577095A JP3551341B2 JP 3551341 B2 JP3551341 B2 JP 3551341B2 JP 28577095 A JP28577095 A JP 28577095A JP 28577095 A JP28577095 A JP 28577095A JP 3551341 B2 JP3551341 B2 JP 3551341B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- data
- timer
- data collection
- output
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Electric Clocks (AREA)
Description
【0001】
【産業上の利用分野】
本発明は、測定データを記録するデータ収集装置とそのデータに対する数理的解析を行うデータ処理装置とのデータ送受を行う装置にかかり、特に一定時刻にデータ収集を行う場合の複数機器との間で生じる時刻ズレの修正に関する。
【0002】
【従来の技術】
データ収集装置において、本出願人の提案にかかる特開昭64−10392号公報に開示されているように、データ収集区間の時系列データについてトリガ信号が入力された時刻により識別する技術が開示されている。また、安定した定周期でデータ収集を行うため、記録計等のデータ収集装置側にタイマ機能を持たせ、パソコン等のデータ処理装置側では収集された測定信号を受信して、ファイル化やグラフ化等をする機能分担をするシステムが製品開発用に採用されている。
【0003】
【発明が解決しようとする課題】
この場合、データ収集装置に内蔵されたタイマは、他のデータ収集装置のタイマやデータ処理装置側のタイマと時刻にズレを生じることがあり、このズレは時間の経過と共に顕著になってきて、測定時刻の定時性に誤差を与えるという課題があった。本発明は上述の課題を解決したもので、データ収集装置に内蔵されたタイマの示す時刻にズレが発生しても、データ処理装置のタイマで時刻修正を行うことにより、データ処理装置側の標準時刻を基準にした正確な定周期での測定信号の収集が行えるデータ収集装置を提供することを目的とする。
【0004】
【課題を解決するための手段】
上記の目的を達成する本発明は、以下の構成となったデータ収集装置である。
(1)測定器やセンサからの測定信号を入力する信号入力部と、
この信号入力部から取り込まれた測定信号を出力データとして一時記憶する出力バッファと、
この出力バッファに記憶された出力データをデータ処理装置に送信する通信入出力部と、
この信号入力部から測定信号を取り込む周期を定めるタイマと、
当該測定信号を当該出力データに変換する演算を行うと共に、当該通信入出力部が出力データを送信する時期を制御するデータ収集制御部とを有するデータ収集装置において、前記データ処理装置の標準時刻と一致するように前記タイマの時刻を修正するタイマ時刻修正部を設け、
前記測定信号の高速サンプリングをするときは短周期で時刻修正を行い、低速サンプリングをするときは長周期で時刻修正を行うことを特徴とするデータ収集装置。
(2)前記標準時刻に必要な時間の精度に比較して、時刻修正処理の処理時間が無視できない場合は、この処理時間に見合う補正を行うことを特徴とする(1)に記載のデータ収集装置。
(3)前記データ処理装置の標準時刻と前記タイマの時刻との偏差を表す修正量レジスタを設け、
この修正量レジスタの値を用いて前記タイマの時刻を修正することを特徴とする(1)または(2)に記載のデータ収集装置。
【0005】
【作用】
本発明の構成において、測定器やセンサ10からの測定信号は、データ収集装置において出力データに変換されて、データ処理装置に送信している。タイマは出力データの取り込み周期を定めている。タイマ時刻修正部26は、タイマで用いる時刻がデータ処理装置側の標準時刻からズレているときは、時刻修正をする。これにより、出力データの取り込み周期がデータ処理装置側の標準時刻を基準にして一定となる。
【0006】
【実施例】
以下図面を用いて、本発明を説明する。図1は本発明の一実施例を示す構成ブロック図である。図において、測定器やセンサ10は、測定信号を出力するもので、例えば熱電対であれば電圧等のアナログ信号である。データ収集装置20は、測定器やセンサ10から送られた測定信号を集めて、データ処理装置30に送信するもので、測定器やセンサ10のチャンネル数は1でもよく2以上の多チャンネルでもよい。データ処理装置30は、受信した測定信号に含まれる情報を解析するもので、例えばトレンドグラフ等で時系列データを操作者にとって判りやすい形式で表示したり、あるいは被測定対象の物理的状態の把握を容易にする。
【0007】
次に、データ収集装置20の詳細を説明する。データ収集装置20の構成は、例えば記録計やオシログラフの機能に類似している。信号入力部21は、測定器やセンサ10から送られた測定信号を入力するもので、例えば測定信号がアナログ信号であればディジタル信号に変換するために、AD変換器が用いられるし、また多チャンネルの場合にはマルチプレクサが設置されることもある。出力バッファ22は、信号入力部10から取り込まれた測定信号を出力データとして一時記憶するもので、例えばFIFO(先入れ先だしメモリ)のように一時記憶に適する記憶媒体が使用される。出力データ数レジスタ222は、出力バッファ22に現在記憶されている出力データ数を登録するもので、出力バッファ22の記憶容量と比較することで空き領域の有無を容易に判別できる。
【0008】
通信入出力部23は、出力バッファ22に記憶された出力データをデータ処理装置30に送信するもので、RS232C等の標準的なデータ送受信規範に従う。タイマ24は、信号入力部21から測定信号を取り込む周期を定めるもので、この時刻は、測定信号を読み込むサンプリング周期の基準となる。データ収集制御部25は、測定信号を出力データに変換する演算を行うと共に、通信入出力部23が出力データを送信する時期を制御する。演算の内容は、例えば電圧値を温度や圧力等の物理量に変換するものでもよく、また単純に電圧値を逐次平滑化してノイズ成分を除去するものでもよい。さらに、データ収集制御部25の出力データ変換の演算は、タイマ24で定める周期に従うものでもよく、またタイマ24とは独立に行ってもよい。タイマ時刻修正部26は、タイマ24の時刻とデータ処理装置30側の標準時刻との相違を比較して、データ処理装置30側の標準時刻と一致するようにタイマ24の時刻を修正する。そして、データ処理装置30側では標準時刻発生部31を有し、通常の測定に必要な頻度で各データ収集装置のタイマ24の時刻を校正する。
【0009】
このように構成された装置の動作を次に説明する。図2は、データ収集装置の測定モードの流れ図である。測定モードでは、データ収集制御部25は出力バッファ22の空き領域が存在するか確認する(S10)。出力バッファ22にFIFOメモリを用いると、データ退避は容易に行えるが、一時記憶できる領域に限りがあるためである。空き領域があれば、信号入力部21より測定信号を取り込む(S11)。そして、取り込んだ測定信号を出力データに変換して、出力バッファ22に格納する(S12)。そして、出力バッファ22に格納された出力データ数レジスタ222に+1を加算して(S13)、今回の周期の測定を終了する(S14)。
【0010】
他方、出力バッファ22に空き領域が存在しない場合には、測定信号の取り込みをしないで終了する(S14)。なお、出力バッファ22に空き領域が存在しない場合には、最も古い出力データを棄却して、その棄却された記憶領域を用いてデータ測定信号の取り込みをするように構成してもよい。
【0011】
図3は、測定開始コマンドの処理を説明する流れ図である。データ処理装置30から測定開始コマンドが送られたときは、データ収集装置20は次の処理を行う。まず出力バッファ22に記憶される出力データ数レジスタ222を初期化する(S20)。そして、タイマ24を起動して、定周期のデータ収集を開始して(S21)、終了する(S22)。尚、個別の測定信号の定周期のデータ収集は、上述の測定モードで行う。
【0012】
図4は、測定データ要求コマンドの処理を説明する流れ図である。データ処理装置30から測定データ要求コマンドが送られたときは、データ収集装置20は次の処理を行う。まず、出力バッファ22に記憶される出力データを通信入出力部23に送り、次にデータ処理装置30に送信する(S30)。そして、出力データ数レジスタ222の内容を、送信した出力データ数に見合うだけ減算して(S31)。終了する(S32)。
【0013】
図5は、本発明にかかるタイマ時刻の修正処理を説明する流れ図である。データ処理装置30からタイマ時刻の修正処理のコマンドが送られたときは、データ収集装置20は次の処理を行う。まず、タイマ時刻修正部は、通信入出力部25から送られたデータ処理装置30の標準時刻を取り込み、次にこの標準時刻をタイマ24の時刻として設定する(S40)。なお、標準時刻に必要な時間の精度に比較して、この時刻修正処理の処理時間が無視できないようであれば、この処理時間に見合う補正を行う。なお、データ処理装置30の標準時刻とタイマ24の時刻との偏差を表す修正量レジスタを設けて、この修正量レジスタの値を用いてタイマ24の時刻を修正してもよい。これにより、タイマ24の時刻は実質的にデータ処理装置30の標準時刻と一致する(S41)。なお、時刻とともに日付を用いても差し支えない。
【0014】
図6は、測定終了コマンドの処理を説明する流れ図である。データ処理装置30から測定終了コマンドが送られたときは、データ収集装置20はタイマ24を停止する(S50)。これにより、定周期のデータ収集は終了する(S51)。
【0015】
次に、データ処理装置側からみた動作を説明する。図7はデータ処理装置の流れ図である。まず、データ収集装置20に対して、データ収集の開始を指示する測定開始コマンドを送る(S60)。そして、データ収集装置20のタイマ24の時刻ズレ修正を行う定時タイミングであるか判断する(S61)。定時タイミングは、データ収集装置20で高速サンプリングをするときは1分間隔程度の短周期で修正を行い、低速サンプリングをするときは1時間間隔程度の長周期で修正を行う。定時タイミングであれば、データ処理装置30は、タイマ時刻の修正処理のコマンドをデータ収集装置20に送る(S62)。
【0016】
定時タイミングでなければ、データ収集装置20に対して測定データ要求コマンドを送り、データ収集装置20から送信された出力データを受信する(S63)。そして、データ処理装置側の記憶媒体にデータを格納すると共に、画面に測定信号のグフラ表示を行う(S64)。予め定められた終了条件を充足しているか判断し、未了であればS61に戻ってデータ収集を継続する(S65)。終了条件を満たせば、データ収集装置20に対して測定終了コマンドを送って、今回のデータ収集を終了する(S65)。
【0017】
【発明の効果】
以上説明したように、請求項1に記載の発明によれば、データ処理装置側の標準時刻を送信して、測定信号の高速サンプリングをするときは短周期で時刻修正を行い、低速サンプリングをするときは長周期で時刻修正を行い、データ収集装置側のタイマの時刻を定周期でズレ修正しているので、データ処理装置側の標準時刻を基準にした正確な定周期での測定信号の収集ができるという効果がある。また、データ処理装置に複数のデータ収集装置を接続している場合にも、各データ収集装置の時刻は合一に定まるので、測定時刻の信頼性が向上するという効果がある。
請求項2に記載の発明によれば、標準時刻に必要な時間の精度に比較して、時刻修正処理の処理時間が無視できない場合は、この処理時間に見合う補正を行うためタイマの時刻は実質的に標準時刻と一致する。
請求項3に記載の発明によれば、データ処理装置の標準時刻と前記タイマの時刻との偏差を表す修正量レジスタを設け、この修正量レジスタの値を用いて前記タイマの時刻を修正することにより、タイマの時刻は標準時刻と一致する。
【図面の簡単な説明】
【図1】本発明の一実施例を示す構成ブロック図である。
【図2】データ収集装置の測定モードの流れ図である。
【図3】測定開始コマンドの処理を説明する流れ図である。
【図4】測定データ要求コマンドの処理を説明する流れ図である。
【図5】タイマ時刻の修正処理を説明する流れ図である。
【図6】測定終了コマンドの処理を説明する流れ図である。
【図7】データ処理装置の流れ図である。
【符号の説明】
10 測定器・センサ
20 データ収集装置
21 信号入力部
22 出力バッファ
23 通信入出力部
24 タイマ
25 データ収集制御部
26 タイマ時刻修正部
30 データ処理装置[0001]
[Industrial applications]
The present invention relates to a device for transmitting and receiving data between a data collection device that records measurement data and a data processing device that performs mathematical analysis on the data, and particularly between a plurality of devices when collecting data at a fixed time. Regarding the correction of the time shift that occurs.
[0002]
[Prior art]
As disclosed in Japanese Patent Application Laid-Open No. Sho 64-10392 proposed by the present applicant, there is disclosed a technique for identifying time-series data in a data collection section based on a time at which a trigger signal is input. ing. In addition, in order to collect data at a stable fixed cycle, the data collection device such as a recorder has a timer function, and the data processing device such as a personal computer receives the collected measurement signals and creates a file or graph. A system for sharing functions such as conversion is employed for product development.
[0003]
[Problems to be solved by the invention]
In this case, the built-in timer of the data collection device may cause a time difference between the timer of another data collection device and the timer of the data processing device, and the time difference may become significant over time, There was a problem of giving an error to the punctuality of the measurement time. The present invention solves the problems described above, even if misalignment occurs at the time indicated by the timer built in the data collection device, by the row Ukoto time correction timer of the data processing apparatus, data processing apparatus It is an object of the present invention to provide a data collection device capable of collecting a measurement signal at an accurate fixed period based on a standard time .
[0004]
[Means for Solving the Problems]
The present invention that achieves the above object is a data collection device having the following configuration.
(1) a signal input unit for inputting a measurement signal from a measuring instrument or a sensor;
An output buffer for temporarily storing the measurement signal taken from the signal input unit as output data,
A communication input / output unit for transmitting output data stored in the output buffer to the data processing device;
A timer for determining a period for taking a measurement signal from the signal input unit;
In the data collection device having an operation of converting the measurement signal into the output data and having a data collection control unit that controls the timing at which the communication input / output unit transmits the output data, the standard time of the data processing device Providing a timer time correction unit that corrects the time of the timer so that they match ,
A data collection apparatus , wherein the time is corrected in a short cycle when high-speed sampling of the measurement signal is performed, and the time is corrected in a long cycle when low-speed sampling is performed .
(2) If the processing time of the time correction processing cannot be ignored compared to the precision of the time required for the standard time, correction is performed according to the processing time. apparatus.
(3) a correction amount register indicating a deviation between a standard time of the data processing device and a time of the timer;
The data collection device according to (1) or (2), wherein the time of the timer is corrected using the value of the correction amount register.
[0005]
[Action]
In the configuration of the present invention, a measurement signal from a measuring instrument or a
[0006]
【Example】
Hereinafter, the present invention will be described with reference to the drawings. FIG. 1 is a configuration block diagram showing one embodiment of the present invention. In the figure, a measuring device or a
[0007]
Next, details of the
[0008]
The communication input /
[0009]
The operation of the device configured as described above will now be described. FIG. 2 is a flowchart of the measurement mode of the data collection device. In the measurement mode, the data
[0010]
On the other hand, if there is no free area in the
[0011]
FIG. 3 is a flowchart illustrating processing of the measurement start command. When the measurement start command is sent from the
[0012]
FIG. 4 is a flowchart illustrating the processing of the measurement data request command. When the measurement data request command is sent from the
[0013]
FIG. 5 is a flowchart illustrating a process for correcting the timer time according to the present invention. When the command for the timer time correction process is sent from the
[0014]
FIG. 6 is a flowchart illustrating the processing of the measurement end command. When the measurement end command is sent from the
[0015]
Next, the operation as viewed from the data processing device side will be described. FIG. 7 is a flowchart of the data processing device. First, a measurement start command instructing the start of data collection is sent to the data collection device 20 (S60). Then, it is determined whether or not it is the regular timing for correcting the time deviation of the
[0016]
If it is not the regular timing, a measurement data request command is sent to the
[0017]
【The invention's effect】
As described above, according to the first aspect of the present invention, when the standard time of the data processing device is transmitted and the high-speed sampling of the measurement signal is performed, the time is corrected in a short cycle and the low-speed sampling is performed. In some cases , the time is corrected in a long cycle, and the time of the timer on the data collection device is corrected by a fixed period, so the measurement signal is collected at an accurate fixed period based on the standard time on the data processing device. There is an effect that can be. Further, even when a plurality of data collection devices are connected to the data processing device, the time of each data collection device is determined to be united, so that the reliability of the measurement time is improved.
According to the second aspect of the present invention, when the processing time of the time correction processing cannot be ignored compared to the precision of the time required for the standard time, the time of the timer is substantially reduced to perform the correction corresponding to the processing time. Coincides with the standard time.
According to the third aspect of the present invention, a correction amount register indicating a deviation between the standard time of the data processing device and the time of the timer is provided, and the time of the timer is corrected using the value of the correction amount register. Thus, the time of the timer matches the standard time.
[Brief description of the drawings]
FIG. 1 is a configuration block diagram showing one embodiment of the present invention.
FIG. 2 is a flowchart of a measurement mode of the data collection device.
FIG. 3 is a flowchart illustrating processing of a measurement start command.
FIG. 4 is a flowchart illustrating processing of a measurement data request command.
FIG. 5 is a flowchart illustrating a process of correcting a timer time.
FIG. 6 is a flowchart illustrating processing of a measurement end command.
FIG. 7 is a flowchart of a data processing device.
[Explanation of symbols]
Claims (3)
この信号入力部から取り込まれた測定信号を出力データとして一時記憶する出力バッファと、
この出力バッファに記憶された出力データをデータ処理装置に送信する通信入出力部と、
この信号入力部から測定信号を取り込む周期を定めるタイマと、
当該測定信号を当該出力データに変換する演算を行うと共に、当該通信入出力部が出力データを送信する時期を制御するデータ収集制御部と、
を有するデータ収集装置において、
前記データ処理装置の標準時刻と一致するように前記タイマの時刻を修正するタイマ時刻修正部を設け、
前記測定信号の高速サンプリングをするときは短周期で時刻修正を行い、低速サンプリングをするときは長周期で時刻修正を行うことを特徴とするデータ収集装置。A signal input section for inputting a measurement signal from a measuring instrument or a sensor,
An output buffer for temporarily storing the measurement signal taken from the signal input unit as output data,
A communication input / output unit for transmitting output data stored in the output buffer to the data processing device;
A timer for determining a period for taking a measurement signal from the signal input unit;
A data collection control unit that performs an operation of converting the measurement signal into the output data, and controls a timing at which the communication input / output unit transmits the output data .
In a data collection device having
Providing a timer time correction unit that corrects the time of the timer to match the standard time of the data processing device ,
A data collection apparatus , wherein the time is corrected in a short cycle when high-speed sampling of the measurement signal is performed, and the time is corrected in a long cycle when low-speed sampling is performed .
この修正量レジスタの値を用いて前記タイマの時刻を修正することを特徴とする請求項1または請求項2に記載のデータ収集装置。3. The data collection device according to claim 1, wherein the time of the timer is corrected using the value of the correction amount register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28577095A JP3551341B2 (en) | 1995-11-02 | 1995-11-02 | Data collection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28577095A JP3551341B2 (en) | 1995-11-02 | 1995-11-02 | Data collection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09127273A JPH09127273A (en) | 1997-05-16 |
| JP3551341B2 true JP3551341B2 (en) | 2004-08-04 |
Family
ID=17695839
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28577095A Expired - Fee Related JP3551341B2 (en) | 1995-11-02 | 1995-11-02 | Data collection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3551341B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005304512A (en) * | 2004-04-16 | 2005-11-04 | Olympus Corp | Medical apparatus |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63159785A (en) * | 1986-12-24 | 1988-07-02 | Tamura Electric Works Ltd | Time correcting method for terminal equipment |
| JPS63173186A (en) * | 1987-01-13 | 1988-07-16 | Toshiba Corp | Data collection system |
| JPH06222168A (en) * | 1993-01-28 | 1994-08-12 | Kajima Corp | Clock time calibration method via communication line |
| JPH07159559A (en) * | 1993-12-07 | 1995-06-23 | Casio Comput Co Ltd | Time data receiver |
-
1995
- 1995-11-02 JP JP28577095A patent/JP3551341B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09127273A (en) | 1997-05-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2000515288A (en) | Apparatus and method for compressing measurement data correlated with machine state | |
| JP2003329710A (en) | Digital oscilloscope and capture device | |
| JPS62168285A (en) | Data logger | |
| JP2003242583A (en) | Measurement data synchronization system and measurement data synchronization method | |
| JP4093392B2 (en) | Self-supporting network measurement system | |
| JP3551341B2 (en) | Data collection device | |
| US5253650A (en) | Apparatus for recording an electrocardiogram | |
| JP2006180212A (en) | Measurement data / image data recording apparatus and remote monitoring system using the same | |
| JP2000241258A (en) | Temperature measuring device and measuring method | |
| JPH09130871A (en) | Time series data transmitter | |
| US9521353B2 (en) | Recorder | |
| JP3424710B2 (en) | Prevention of missing data | |
| JPH08305990A (en) | Display / Record system | |
| JP3671415B2 (en) | Simultaneous image and waveform storage device | |
| KR100237575B1 (en) | Data acquisition apparatus for fault analysis | |
| JP4729596B2 (en) | Waveform recording apparatus and method for controlling waveform recording apparatus | |
| JPS62229499A (en) | Data transmission system | |
| JPH0686081U (en) | Detecting device for voltage or current signal of power system | |
| JP5433981B2 (en) | Measuring system and recording device | |
| JP3629583B2 (en) | Data collection device, monitoring device and recording medium | |
| JPH11304543A (en) | Measuring instrument and method storing measured data in storage means | |
| KR0138454B1 (en) | Analyzing system of driving capacity for an automobile | |
| KR900003923Y1 (en) | Patient monitor | |
| JP3551077B2 (en) | Control operation analysis method and analysis device | |
| JP3166665B2 (en) | π / 4DQPSK modulation accuracy measuring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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: 20040402 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040415 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090514 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100514 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100514 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110514 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140514 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |