JPH08338843A - Data analyzer - Google Patents

Data analyzer

Info

Publication number
JPH08338843A
JPH08338843A JP14708795A JP14708795A JPH08338843A JP H08338843 A JPH08338843 A JP H08338843A JP 14708795 A JP14708795 A JP 14708795A JP 14708795 A JP14708795 A JP 14708795A JP H08338843 A JPH08338843 A JP H08338843A
Authority
JP
Japan
Prior art keywords
data
time
cpu
collected
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.)
Pending
Application number
JP14708795A
Other languages
Japanese (ja)
Inventor
Minoru Wakita
実 脇田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP14708795A priority Critical patent/JPH08338843A/en
Publication of JPH08338843A publication Critical patent/JPH08338843A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To realize highly accurate operation without increasing the load on a host CPU by providing an operating unit having such pipe line structure as the data can be collected at a sampling period equal to an operating frequency being given and then processed. CONSTITUTION: When a CPU 11 delivers a start command and a reagent is thrown in, output from an object 12 is digitized through an A/D converter 13 and a pipe line operating unit 15 acquires the operating frequency thereof. The data is held by a data holding means 21 over two periods and a subtractor 22 determines the difference between data at the times of (i) and (i-1) thus obtaining the inclination at the time (i) Subsequently, an adder 23 and a shifter 24 average the inclinations at the times (i) and (i-1) to determine the variation rate at the time (i). If the variation rate exceeds a set value, an interruption output is returned from a comparator 25 to the CPU 11 thus notifying the start of reaction. Consequently, the data can be sampled at more accurate period than a programming method and the number of data to be collected can be increased without increasing the load on the CPU 11.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は時系列的なデータ、特
に、それの反応期間(反応開始から終了までの時間)が
比較的短いデータを対象とし、このようなデータの変化
点を検出し制御するような分析装置に関する。
BACKGROUND OF THE INVENTION The present invention is directed to time-series data, particularly data having a relatively short reaction period (the time from the start to the end of the reaction), and detects the change point of such data. An analytical device for controlling.

【0002】[0002]

【従来の技術】以下、図面を参照して従来のデータ分析
装置について説明する。図2で11は装置の制御を行う
CPU、12はCPU11からの命令を受けるとある反
応時間後に出力の変化率によりその反応を知ることがで
きる検査対象、14は検査対象12からAD変換器13
を経て入力されるデジタルデータをCPU11から読み
取るためのレジスタ、または内部のプログラムによりデ
ータを取り込み更にはそれに対してある演算を施す1チ
ップマイコンである。
2. Description of the Related Art A conventional data analyzer will be described below with reference to the drawings. In FIG. 2, 11 is a CPU that controls the apparatus, 12 is an inspection target whose reaction can be known from the rate of change in output after a certain reaction time when a command from the CPU 11 is received, and 14 is an inspection target 12 to an AD converter 13.
The one-chip microcomputer is a register for reading the digital data input through the CPU 11 from the CPU 11 or takes in the data by an internal program and further performs a certain operation on the data.

【0003】14がデータ読み取り用のレジスタである
場合、CPU11は測定を起動しレジスタ14に表れる
結果をその読み取りプログラムの動作周期で収集してい
く。この場合の読み取り速度はプログラムに依存するこ
とになるので比較的低速であり、この収集周期はばらつ
きが多く一定の収集周期を期待することは不可能であ
る。またこのように収集したデータに演算を施すような
場合、CPU11の負荷が増大して不具合を助長するば
かりでなく、この期間中に他の処理を実行することがで
きず装置全体での能力が低下してしまう。
When 14 is a register for reading data, the CPU 11 starts measurement and collects the result appearing in the register 14 in the operation cycle of the reading program. Since the reading speed in this case depends on the program, it is relatively low, and there are many variations in this collection period, and it is impossible to expect a constant collection period. In addition, when the data collected in this way is operated, not only the load on the CPU 11 increases and the problem is accelerated, but also other processing cannot be executed during this period, and the capability of the entire device is reduced. Will fall.

【0004】CPU11の負荷を軽減する対策として、
14に1チップマイコンを使用する方法が考えられる。
この場合、CPU11が1チップマイコン14を起動す
るとそれに搭載されているプログラムによりデータ収集
・データ演算を行い、1回の収集・演算の処理単位が終
了する毎に1チップマイコン14は割込みを発行してC
PU11に結果を報告する。この場合のデータのサンプ
リング周期は1チップマイコン14のプログラム動作周
期に依存することになり、CPU11によるデータ収集
の方法と同じく一定の収集周期を期待することは不可能
である。
As a measure to reduce the load on the CPU 11,
A method of using a 1-chip microcomputer for 14 can be considered.
In this case, when the CPU 11 starts the 1-chip microcomputer 14, data collection / data calculation is performed by the program installed in the 1-chip microcomputer 14, and the 1-chip microcomputer 14 issues an interrupt each time the processing unit of one collection / calculation is completed. C
Report the result to PU11. The data sampling cycle in this case depends on the program operation cycle of the one-chip microcomputer 14, and it is impossible to expect a constant collection cycle as in the data collection method by the CPU 11.

【0005】[0005]

【発明が解決しようとする課題】従来技術では結果デー
タのサンプリング周期がCPUまたは1チップマイコン
のプログラム動作周波数に依存する。これら二つの動作
周波数は比較的小さいため、サンプリング数は制限され
検査対象が高周波数成分を多く含むような場合それらが
誤差となり収集データの正確度が低下することがあっ
た。
In the prior art, the sampling cycle of the result data depends on the program operating frequency of the CPU or the one-chip microcomputer. Since these two operating frequencies are relatively small, the number of samplings is limited, and when the inspection target contains a lot of high frequency components, they may cause errors and the accuracy of the collected data may decrease.

【0006】またデータの正確度を上げるために収集し
たn点のうち、最大値・最小値を除いた(n−2)点の
平均値を1回の処理単位の結果とする演算や、その他収
集したデータに各種演算を施す場合、これらはCPUま
たは1チップマイコンの負荷となってサンプリング周期
をさらに疎とすることになり、データの精度と演算速度
を両立させることを困難としていた。
In addition, among the n points collected to improve the accuracy of the data, the calculation of the average value of (n-2) points excluding the maximum value and the minimum value as the result of one processing unit, and others When performing various calculations on the collected data, these load the CPU or the one-chip microcomputer to further reduce the sampling cycle, making it difficult to achieve both accuracy of data and calculation speed.

【0007】[0007]

【課題を解決するための手段】上記の問題点を解決する
ため、それに与えられる動作周波数をサンプリング周期
としてデータを収集し、演算可能なパイプライン構造を
持った演算器を設けることにより、上位のCPUの負荷
を増加させることなく、精度の良い結果を得ることが可
能となる。
In order to solve the above-mentioned problems, data is collected with an operating frequency given to it as a sampling period, and an arithmetic unit having a pipeline structure capable of arithmetic operation is provided, so that It is possible to obtain accurate results without increasing the load on the CPU.

【0008】[0008]

【作用】以下、図1を参照して本発明の作用について説
明する。図1において、11は装置の制御を行うCP
U、12は時系列データを出力するような検査対象、1
5は検査対象12からAD変換器13を経て入力される
デジタルデータをその動作周波数であるサンプリング周
期で取り込み、その内の数個を使用してある一意のデー
タを生成するようなパイプライン演算器である。
The operation of the present invention will be described below with reference to FIG. In FIG. 1, reference numeral 11 is a CP for controlling the device.
U and 12 are inspection targets that output time series data, 1
Reference numeral 5 is a pipeline arithmetic unit for taking in digital data input from the inspection target 12 through the AD converter 13 at a sampling period which is its operating frequency, and using some of them to generate unique data. Is.

【0009】分析が起動されると検査対象12より出力
されるデータはサンプリング周期で取り込まれ、逐一、
演算結果データを生成していく。結果データは更にある
設定値と、逐次、比較されこの結果より検査対象12の
反応を検知し、上位のCPUに割込みで報告する。この
時、上位のCPUは起動と結果データの取り込みのみを
行うことになる。
When the analysis is started, the data output from the inspection object 12 is taken in at the sampling period, and
The calculation result data is generated. The result data is further sequentially compared with a certain set value, the reaction of the inspection object 12 is detected from this result, and the result is reported to the upper CPU by an interrupt. At this time, the upper CPU only starts and fetches the result data.

【0010】[0010]

【実施例】以下、図1を参照して本発明の実施例を詳細
に説明する。図3,図5は図1のパイプライン演算器1
5のブロック図である。
Embodiments of the present invention will be described in detail below with reference to FIG. 3 and 5 are pipeline arithmetic units 1 of FIG.
5 is a block diagram of FIG.

【0011】本発明が対象とする分析装置では、検査対
象にある物質に反応する試薬を投入しその結果として図
4に示すように、ある反応時間経過後に変化率が変わる
ことで反応を表すものであり、この変化点をとらえるこ
とにより反応を検出することが可能となる。
In the analyzer targeted by the present invention, a reagent that reacts with a substance to be inspected is charged, and as a result, as shown in FIG. The reaction can be detected by catching this change point.

【0012】パイプライン演算器15の構成が図3に示
すような場合について説明する。
A case where the configuration of the pipeline arithmetic unit 15 is as shown in FIG. 3 will be described.

【0013】CPU11が起動をかけて試薬が投入され
ると、検査対象12からの出力がAD変換器13を通し
てデジタル値としてパイプライン演算器15にその動作
周波数で逐次取り込まれる。取り込まれたデータはデー
タ保持手段21により二周期にわたり保持され、まず減
算器23で時刻iと時刻(i−1)のデータの差を求め
時刻iの傾きとし、次に加算器24およびシフタ25で
その時刻iの傾きと時刻(i−1)の傾きの平均をとっ
て時刻iの変化率を導く。これらの値はプログラムによ
る方法に比べて非常に正確な周期でサンプリングを行っ
たため各データの差をとるだけで正確な傾きを求めるこ
とが可能である。この様にして算出された変化率が設定
値を越えた場合、比較器26からの出力を割込みとして
返すことによりCPU11は反応が始まったことを知る
ことになる。
When the CPU 11 is activated and a reagent is put in, the output from the inspection object 12 is sequentially fetched as a digital value into the pipeline calculator 15 at the operating frequency through the AD converter 13. The fetched data is held by the data holding means 21 for two cycles. First, the subtracter 23 obtains the difference between the data at the time i and the data at the time (i-1) to obtain the slope of the time i, and then the adder 24 and the shifter 25. Then, the rate of change at time i is derived by taking the average of the slope at time i and the slope at time (i-1). Since these values are sampled at a very accurate cycle as compared with the method by the program, it is possible to obtain an accurate slope only by taking the difference between each data. If the rate of change thus calculated exceeds the set value, the CPU 11 knows that the reaction has started by returning the output from the comparator 26 as an interrupt.

【0014】例えば、反応期間が1マイクロ秒である非
常に高速な反応を示す検査対象に対し、従来のようなプ
ログラムによるデータ収集方法ではサンプリング周期が
これとほぼ同じになってしまい、またその周期はイベン
トごとに正確ではないので図4で示す反応期間内にデー
タ取得を行わない可能性がある。しかし本発明の様な検
出方法をとればサンプリング周期を正確な周期で百ナノ
秒程度とできるので収集点数を多くとれ、更にデータ数
に比例したデータの精度を得ることができる。また変化
点をとらえる時間を短縮できるため、反応に対して迅速
な処置をとることが可能となる。
For example, in the case of a test object showing a very high-speed reaction with a reaction period of 1 microsecond, the sampling cycle becomes almost the same as in the conventional data collection method by the program, and the cycle is also the same. Is not accurate for each event, there is a possibility that data will not be acquired within the reaction period shown in FIG. However, if the detection method according to the present invention is used, the sampling cycle can be set to an accurate cycle of about 100 nanoseconds, so that the number of collection points can be increased and the accuracy of data proportional to the number of data can be obtained. In addition, since the time to catch the change point can be shortened, it becomes possible to take a prompt action for the reaction.

【0015】その他の実施例として時系列なデータを収
集する場合について説明する。この時、パイプライン演
算器15の構成は図5に示すようになる。CPU11が
起動をかけると検査対象12からの出力がデータ収集中
のものであることを示すデータ有効信号と共にパイプラ
イン演算器15に入力され、それを加算器23ではデー
タ有効信号がアサートされている間、逐次加算してい
く。パイプライン演算器15では同時にデータ数カウン
タ27で入力されたデータ数をカウントしておりデータ
有効信号がアサートされていた間の平均値を求めること
ができ、収集データ有効信号がアサートされた時点から
収集データとしてその平均値を出力する。両例共にプロ
グラムによる収集方法の数十倍の量のデータより必要な
値を演算することができ、更に正確な時期にデータをサ
ンプリングするので精度の高い結果を得ることができ
る。
As another embodiment, a case of collecting time-series data will be described. At this time, the configuration of the pipeline arithmetic unit 15 is as shown in FIG. When the CPU 11 starts up, the output from the inspection target 12 is input to the pipeline arithmetic unit 15 together with the data valid signal indicating that data is being collected, and the data valid signal is asserted in the adder 23. In the meanwhile, the numbers are successively added. The pipeline arithmetic unit 15 simultaneously counts the number of data input by the data number counter 27 and can obtain the average value while the data valid signal is asserted, and from the time when the collected data valid signal is asserted. The average value is output as collected data. In both cases, a required value can be calculated from the amount of data which is several tens of times that of the collection method by a program, and the data is sampled at a more accurate time, so that a highly accurate result can be obtained.

【0016】[0016]

【発明の効果】本発明によればデータの収集時期を正確
に、かつCPUの負荷を増やすことなくデータ収集数を
大幅に増やすことが可能となるため、演算結果の精度を
上げることができる。
As described above, according to the present invention, it is possible to accurately collect the data and to significantly increase the number of data collections without increasing the load on the CPU. Therefore, the accuracy of the calculation result can be improved.

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

【図1】本発明の一実施例のブロック図。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来の検出方式を示したブロック図。FIG. 2 is a block diagram showing a conventional detection method.

【図3】パイプライン演算器のブロック図。FIG. 3 is a block diagram of a pipeline arithmetic unit.

【図4】検査対象の出力の一例の説明図。FIG. 4 is an explanatory diagram of an example of output of an inspection target.

【図5】パイプライン演算器のブロック図。FIG. 5 is a block diagram of a pipeline arithmetic unit.

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

11…CPU、12…検査対象、13…AD変換器、1
4…レジスタ、15…パイプライン演算器。
11 ... CPU, 12 ... Inspection object, 13 ... AD converter, 1
4 ... Register, 15 ... Pipeline arithmetic unit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】時系列データを出力する検査対象を持つデ
ータ分析装置において、前記時系列データをその動作周
波数でサンプリングするため正確な周期でデータ収集
し、この方法により時刻iと時刻(i−1)のデータの
差を求めることでそれを時刻iの傾きとし、同様にして
求めたk個の傾きより平均を求め、演算器の出力をその
検査対象が持つ特有の値(傾き)と随時比較判定するこ
とにより検査対象が出力する前記時系列データの変化点
をとらえるパイプライン構造のデータ演算装置を持ち、
ある起動要因により検査対象から出力される時系列デー
タに対し前記演算装置により反応点を検知し、これによ
り検査対象を分析することを特徴とするデータ分析装
置。
1. A data analyzer having an inspection object for outputting time-series data, wherein the time-series data is collected at an accurate cycle in order to sample at the operating frequency, and by this method, time i and time (i- By obtaining the difference between the data in 1) and using it as the slope at time i, the average is obtained from the k slopes obtained in the same manner, and the output of the arithmetic unit and the specific value (slope) of the inspection target are changed at any time. Having a data operation device of pipeline structure that captures the change point of the time series data output by the inspection target by comparing and determining,
A data analysis device, wherein the arithmetic unit detects a reaction point with respect to time-series data output from an inspection target due to a certain activation factor, and thereby analyzes the inspection target.
【請求項2】請求項1において、前記時系列データをそ
の動作周波数である適当な周期で収集し、前記パイプラ
イン中にあるk個のデータの平均値をその時点の収集デ
ータとするデータ分析装置。
2. The data analysis according to claim 1, wherein the time-series data is collected at an appropriate cycle which is its operating frequency, and an average value of k pieces of data in the pipeline is used as collected data at that time. apparatus.
JP14708795A 1995-06-14 1995-06-14 Data analyzer Pending JPH08338843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14708795A JPH08338843A (en) 1995-06-14 1995-06-14 Data analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14708795A JPH08338843A (en) 1995-06-14 1995-06-14 Data analyzer

Publications (1)

Publication Number Publication Date
JPH08338843A true JPH08338843A (en) 1996-12-24

Family

ID=15422181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14708795A Pending JPH08338843A (en) 1995-06-14 1995-06-14 Data analyzer

Country Status (1)

Country Link
JP (1) JPH08338843A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009085622A (en) * 2007-09-27 2009-04-23 Sysmex Corp Sample analyzer and data processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009085622A (en) * 2007-09-27 2009-04-23 Sysmex Corp Sample analyzer and data processing device
EP2042875A3 (en) * 2007-09-27 2015-03-04 Sysmex Corporation Sample processing apparatus and data processing apparatus

Similar Documents

Publication Publication Date Title
CN1825082B (en) Automatic diagnosing system for rolling bearing fault
US8742351B2 (en) Spectrophotometer
GB2033117A (en) Gas measurement and analysis system
JP2008032454A (en) Apparatus and method for detecting vibration phase
JPH08338843A (en) Data analyzer
CN109670143B (en) Method for detecting statistical law of vibration frequency domain response signals of civil engineering structure under environmental excitation
JP2645437B2 (en) Gas chromatograph analyzer
JPS6154167B2 (en)
JP3183701B2 (en) Acoustic emission measurement processor
JPH09250971A (en) Method and device for inspecting abnormality
JP2910290B2 (en) Chromatographic data processor
US4355533A (en) Gas measurement and analysis system
NL2032794B1 (en) On-line magnetic memory stress detection system
CN112285055B (en) Drying process end point determination method based on spectrum projection
JP3085284B2 (en) Method and apparatus for observing power supply current spectrum
CN114109794B (en) Steering determination method, apparatus, readable storage medium, and air conditioning device
JP2002071447A (en) Pulse sound judging method
JPH078781U (en) Harmonic measurement device
JPH04276555A (en) Method for detecting number of rotation of rotary machine
JPH0883265A (en) Vibration signal analyzer
JPH0783903A (en) Peak area operation method of gaschromatograph
JP3047579B2 (en) Chromatographic data processor
JPS63304132A (en) Detecting method for abnormality of bearing
JPH01234083A (en) Abnormality inspecting device for rotary machine
JPH10319001A (en) Data processor for identifying specimen component