JPH0192665A - Measuring method for peak value - Google Patents

Measuring method for peak value

Info

Publication number
JPH0192665A
JPH0192665A JP11643487A JP11643487A JPH0192665A JP H0192665 A JPH0192665 A JP H0192665A JP 11643487 A JP11643487 A JP 11643487A JP 11643487 A JP11643487 A JP 11643487A JP H0192665 A JPH0192665 A JP H0192665A
Authority
JP
Japan
Prior art keywords
value
peak value
measurement
data string
extreme
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
JP11643487A
Other languages
Japanese (ja)
Inventor
Akira Nishio
章 西尾
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP11643487A priority Critical patent/JPH0192665A/en
Publication of JPH0192665A publication Critical patent/JPH0192665A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、例えば電子天秤等において、連続して入力
される荷重等の測定信号をサンプリングして、データ列
を取込み、このデータ列により、測定信号のピーク値を
求めるピーク値の測定方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial application field This invention samples a measurement signal such as a load that is continuously input in, for example, an electronic balance, captures a data string, and uses this data string to , relates to a peak value measurement method for determining the peak value of a measurement signal.

(ロ)従来の技術 従来、荷重信号のピーク値を測定するのにサンプリング
して、取込まれるデータ列中の極大値(あるいは極小値
)を抽出して、そのデータ値を測定信号のピーク値とし
ている。例えば、サンプリング周期Δtで時間順次に読
込んだ荷重値aの各データが、第5図に示ずal、az
、・・・・、al4であるとすると、荷重a7がピーク
値となる。
(b) Conventional technology Conventionally, in order to measure the peak value of a load signal, sampling is performed, the local maximum value (or minimum value) in the captured data string is extracted, and that data value is used as the peak value of the measurement signal. It is said that For example, each data of the load value a read in time sequence at the sampling period Δt is not shown in FIG.
, ..., al4, the load a7 becomes the peak value.

(ハ)発明が解決しようとする問題点 一般に、サンプリング周期Δtは、決してOではなく、
ある有限の値を要する。一方、荷重の変化速度が速い場
合は、そのピーク点がサンプリング時点と次のサンプリ
ング時点の間に来る場合がほとんどであり、ピーク値が
サンプリング時点に一致することは、ごく稀である。そ
のため、従来方法のようにサンプリングされたデータ中
より、ピーク値を抽出することは、真のピーク値とかけ
離れた値をピーク値とすることが多く、正しいピーク値
を測定することができない。サンプリング周期が定まる
と、荷重の変化速度も一定以下に制限される。例えばサ
ンプリング周期0.1秒の天秤を使用して、±1 mg
の正確さでピーク値を測定するためには、荷重の変化速
度がImglo、1秒−〇。
(c) Problems to be solved by the invention Generally, the sampling period Δt is never O,
Requires a certain finite value. On the other hand, when the rate of change of the load is fast, the peak point almost always occurs between one sampling point and the next sampling point, and the peak value rarely coincides with the sampling point. Therefore, when extracting a peak value from sampled data as in the conventional method, the peak value is often a value that is far from the true peak value, making it impossible to measure the correct peak value. Once the sampling period is determined, the rate of change in load is also limited to a certain level or less. For example, using a balance with a sampling period of 0.1 seconds, ±1 mg
In order to measure the peak value with an accuracy of , the rate of change of the load must be Imglo, 1 s - 0.

01g/秒以下である必要があった。It needed to be 0.01 g/sec or less.

ピーク値の測定時間を短くするためには、荷重の変化速
度を高めることが有効であるが、上記した制限があるた
め、実現が困難であった。また、荷重変化速度が制限さ
れるため、被試験材のクリープ等の影響を無視できない
という問題があった。
In order to shorten the measurement time of the peak value, it is effective to increase the rate of change of the load, but this has been difficult to achieve due to the above-mentioned limitations. Furthermore, since the rate of load change is limited, there is a problem in that the influence of creep of the material under test cannot be ignored.

この発明は上記に鑑み、従来よりも荷重の変化速度を高
めても、正確なピーク値を得ることのできるピーク値の
測定方法を提供することを目的としている。
In view of the above, it is an object of the present invention to provide a peak value measuring method that can obtain accurate peak values even if the rate of change in load is higher than conventional methods.

(ニ)問題点を解決するだめの手段及び作用実際の荷重
のピーク値測定においては、破断、衝突、座屈などピー
ク値発生の前後で、被測定物の状態が著しく異なるが多
く、それゆえ荷重記号の生成状態も大きく異なる。この
点に着目するとピーク値の前後での、データ列に対する
各近似曲線は、全く別の時間関数f (t) 、g (
t)で表され、その交点Amaxが真のピーク値に最も
近いといえる(第5図参照)。
(d) Means and action to solve the problem When measuring the peak value of actual load, the state of the object to be measured often differs significantly before and after the occurrence of the peak value, such as fracture, collision, buckling, etc. The generation status of load symbols also differs greatly. Focusing on this point, each approximate curve for the data string before and after the peak value is a completely different time function f (t), g (
t), and it can be said that the intersection point Amax is closest to the true peak value (see FIG. 5).

この発明のピーク値の測定方法は、上記原理を採用した
ものであり、連続して入力される測定信号を、所定周期
でサンプリングして、測定データ列を取込み、測定デー
タ列に基づいて測定信号のピーク値を測定する方法であ
って、前記測定データ列の極値を求め、この極値前後に
おける前記測定データ列の相異なる2つの近似曲線を生
成し、これら2つの近似曲線の交点を抽出し、この交点
のレベル値をピーク値としている。
The peak value measurement method of the present invention adopts the above principle, in which a continuously input measurement signal is sampled at a predetermined period, a measurement data string is captured, and a measurement signal is generated based on the measurement data string. A method for measuring the peak value of the measured data string, the method includes determining the extreme value of the measured data string, generating two different approximate curves of the measured data string before and after this extreme value, and extracting the intersection of these two approximate curves. The level value at this intersection is taken as the peak value.

このピーク値の測定方法では、例えば第5図に示すよう
に、Δものサンプリング周期でデータ列alsa2、・
・・・、a14を得る。そして、このデータ列の極値、
例えばa7を求める。この極値a7の前後のデータ列、
例えばalsa2、・・・・、a7とaB、a9、・・
・・、a14より、2つの異なる近似曲線f(t)とg
(t)を生成する。そして、これら2つの近似曲線f 
(t) とg(t)の交点Amaxを求め、これをピー
ク値とする。これより、a7よりも真値に近いピーク値
Amaxを得ることができる。
In this peak value measurement method, for example, as shown in FIG. 5, the data string alsa2, .
..., obtain a14. And the extreme value of this data string,
For example, find a7. Data strings before and after this extreme value a7,
For example, alsa2,..., a7 and aB, a9,...
..., from a14, two different approximate curves f(t) and g
(t). And these two approximate curves f
The intersection point Amax of (t) and g(t) is found, and this is taken as the peak value. From this, a peak value Amax closer to the true value than a7 can be obtained.

(ホ)実施例 以下実施例により、この発明をさらに詳細に説明する。(e) Examples The present invention will be explained in more detail with reference to Examples below.

第2図は、この発明が実施される電子天秤のブロック図
である。同図において、荷重センサ1によって、検出さ
れた荷重信号は、A/D変換器2で、ΔL毎にサンプリ
ングされて、CPU3に取込まれ、RAM4に記憶され
るようになっている。
FIG. 2 is a block diagram of an electronic balance in which the present invention is implemented. In the figure, a load signal detected by a load sensor 1 is sampled every ΔL by an A/D converter 2, taken into a CPU 3, and stored in a RAM 4.

CPU3は、ROM5に記憶されるプログラムにより、
ピーク値の検出処理を実行する。すなわちCPU3は、
A/D変換器2より、データ列を取込み、RAM4に記
憶する機能、記憶したデータ列より、データ列の極値を
抽出する機能、抽出された極値の前後の異なる2つの近
イ以曲線を生成する機能、これら2つの近似曲線の交点
を求める機能、求めた交点のレベルをピーク値として出
力する機能等を備えている。CPU3より出力されたピ
ーク値は、表示器6に表示される。CPU3における近
似曲線の生成は、例えば最小二乗法、あるいはラグラン
ジェの補間法等を用いて実行される。
The CPU 3 executes the program stored in the ROM 5.
Execute peak value detection processing. That is, CPU3 is
A function to import a data string from the A/D converter 2 and store it in the RAM 4, a function to extract the extreme value of the data string from the stored data string, and two different near-A curves before and after the extracted extreme value. , a function to find the intersection of these two approximate curves, and a function to output the level of the found intersection as a peak value. The peak value output from the CPU 3 is displayed on the display 6. The generation of the approximate curve by the CPU 3 is performed using, for example, the least squares method or the Lagrange interpolation method.

次に、この実施例電子天秤におけるピーク値の測定動作
について、第1図に示すフロー図により説明する。
Next, the peak value measurement operation in the electronic balance of this embodiment will be explained with reference to the flowchart shown in FIG.

第1図において、動作がスタートすると、先ず変数iを
1にする〔ステップST(以下STと略す)1〕。この
変数iは、サンプリングされ、入力されるデータ数を示
すものである。そして、今回入力され、A/D変換器2
でデジタル値に変換された測定信号がa、として記憶さ
れる(Sr1)。
In FIG. 1, when the operation starts, the variable i is first set to 1 [step ST (hereinafter abbreviated as ST) 1]. This variable i indicates the number of data to be sampled and input. Then, this time it is input and the A/D converter 2
The measurement signal converted into a digital value is stored as a (Sr1).

次に、今回の測定値a(と前回の測定値a、−3が比較
され、a 、 < a ;−1が判定される(Sr1)
。
Next, the current measurement value a (and the previous measurement value a, -3 are compared, and it is determined that a , <a; -1 (Sr1)
.

測定信号が上昇中の場合は、この判定がNoとなり、次
にi=kか否か判定される(Sr4)。kは、測定デー
タの記憶数を規定する定数であり、測定開始当初は、N
Oであり、この場合には、変数jを+1歩進して(Sr
1)、Sr2に戻り、以後測定を継続しSr2→ST3
→Sr4→ST6→ST2の処理を繰返す。測定値a、
が下降に移る前に、i−にとなると、Sr4の判定がY
ESとなり、次に記憶データa2、a3、・・・・、a
kをシフトして、aI 、a2 、・・・・、ak−1
として記憶し、元のalを消去し新しいデータに一1個
を記憶する(Sr5)。
If the measurement signal is rising, this determination becomes No, and then it is determined whether i=k (Sr4). k is a constant that defines the number of measurement data stored, and at the beginning of measurement, N
In this case, the variable j is incremented by +1 and (Sr
1), return to Sr2, continue measurement, and change from Sr2 to ST3
→ Repeat the process of Sr4 → ST6 → ST2. Measured value a,
If it becomes i- before moving down, the judgment of Sr4 is Y.
ES, then stored data a2, a3,..., a
Shift k, aI, a2,..., ak-1
, erase the original al, and store 11 as new data (Sr5).

次に、測定値a、が下降に移ると、つまり第3図に示す
例のように、aa、as、ah、a7と上昇していた測
定値がa8のように下降すると、Sr1の” a H<
 a ++−++ ”かの判定がYESとなる。そのた
め、Sr7に移り、i=kか否か判定する。この判定は
、通常YESであり、Sr1に移るが、判定Noの場合
は、Sr1でエラー表示を行う。
Next, when the measured value a starts to fall, that is, as in the example shown in FIG. H<
a ++-++" is YES. Therefore, the process moves to Sr7, and it is determined whether or not i=k. This judgment is normally YES, and the process moves to Sr1, but if the judgment is No, the process proceeds to Sr1. Displays an error.

Sr1では変数jを1にし、次に測定データをbJとし
て記憶する(STIO)。、iは、下降後の測定データ
番号を示す変数である。今回の測定データb1の記憶後
5TIIでi=Lか否か判定する。Lは、下降後の測定
データの記憶数を規定する定数である。測定データが上
昇から下降に移行した当初は、j=1であるから、判定
Noであり、5T12でjを+1歩進し、5TIOに戻
り、以後はi=Lとなるまで、5TIO→5TII→5
T12→5TIOの処理を継続し、測定データの収集を
続ける。
In Sr1, the variable j is set to 1, and then the measured data is stored as bJ (STIO). , i is a variable indicating the measurement data number after descending. After storing the current measurement data b1, it is determined at 5TII whether or not i=L. L is a constant that defines the number of measurement data stored after falling. At the beginning when the measured data shifts from rising to falling, j = 1, so the judgment is No. At 5T12, j is increased by +1 step and returns to 5TIO. From then on, until i = L, 5TIO → 5TII → 5
Continue processing from T12→5TIO and continue collecting measurement data.

j=Lとなると、5TIIの判定がYESとなり、5T
13に移る。そして、a1〜ah−+のデータにより、
近似関数f (t)を生成するとともに、b、〜bLの
データにより、近似関数g(t)を生成する。第3図に
示す例の場合a4、as 、、abで関数fo(t)を
生成し、aB 、a9、a IQ、alで関数g。(1
)を生成している。このように、ここでは関数f。(t
) 、go (t)を生成するのに、極値a7 (ai
+)を外している。簡便には、極値a7を外したf。(
t) 、go (t)の交点Amax(第3図参照)を
求め、これをピーク値としてもよい。しかし厳宙には、
a7はそれより以前の曲線に含れるのか、以後の曲線に
含れるのかの問題、つまり時点L7で、まだ真のピーク
値に達していないのか、それとも、すでに真のピーク値
に達しているのかという問題が残る。そのため、この実
施例では、真のピーク値により近いピーク値を得るため
、5T14でl ah  f+t=+r+  lとfa
irg +t=に、lの比較を行っている。例えば、第
3図の例では、g o (t、l  とa7の差値Eg
oと、a、7.とf。(t7+ の差値 g。を比較し
ている。そして、l ah −f tt=に、l≦ l
 ah   g 〈t=+n1の場合は、akがf(t
)に含まれると判断し、a1〜aアのデータを用いて関
数f (t)を作り直しく5T15)、作り直したf 
(t)とg(t)の交点をピーク値とし、これを表示器
6に表示する(ST17)。第3図に示した例の場合で
は、Cgo>Cfoなので、a7がfo(t)に含れる
として、新たに曲線f+(t)を作成しく第4図)、曲
線f+(t)と曲線go(t)の交点Amax + を
ビーり値とする。
When j=L, the judgment of 5TII becomes YES, and 5T
Move on to 13. Then, according to the data of a1 to ah-+,
The approximation function f (t) is generated, and the approximation function g(t) is generated using the data b, ~bL. In the example shown in FIG. 3, the function fo(t) is generated by a4, as, , ab, and the function g is generated by aB, a9, a IQ, al. (1
) is generated. Thus, here the function f. (t
), go (t), the extreme value a7 (ai
+) is removed. For convenience, f is obtained by excluding the extreme value a7. (
The intersection point Amax (see FIG. 3) of t) and go(t) may be determined and used as the peak value. But in the middle of nowhere,
The question is whether a7 is included in the earlier curve or in the later curve; in other words, has it not yet reached the true peak value at time L7, or has it already reached the true peak value? The problem remains. Therefore, in this example, in order to obtain a peak value closer to the true peak value, in 5T14, l ah f+t=+r+ l and fa
A comparison of l is made to irg +t=. For example, in the example of FIG. 3, the difference value Eg between go (t, l and a7)
o, a, 7. and f. (The difference value g of t7+ is compared. Then, in l ah − f tt=, l≦ l
ah g <If t=+n1, ak is f(t
), and re-create the function f (t) using data from a1 to aa5T15).
The intersection of g(t) and g(t) is set as a peak value, and this is displayed on the display 6 (ST17). In the example shown in Figure 3, since Cgo>Cfo, a new curve f+(t) is created assuming that a7 is included in fo(t) (Figure 4), and the curve f+(t) and curve go Let the intersection point Amax + of (t) be the beat value.

もし、5T14でl ak f+t=h+  l>la
kg Lt=に+  lの場合には、akがf (t)
に含まれるものとし、ak 、I)I−b、、のデータ
を用いて、g(t)の再生成を行ない(ST16)、こ
の再生成後のg(t)と元のf (t)の交点を求め、
そのレベル値をピーク値とすることになる。(STI7
)。
If 5T14, l ak f+t=h+ l>la
If kg Lt= + l, then ak is f (t)
, g(t) is regenerated using the data of ak , I) I-b, (ST16), and g(t) after this regeneration and the original f (t) Find the intersection of
This level value will be taken as the peak value. (STI7
).

なお、上記説明では、極大値を求める場合を説明したが
、この発明は極小値を求める場合にも適用できる。 ま
た、上記実施例では、サンプリング周期を一定としたが
、この発明では、一定である必要はなく、各サンプリン
グ時刻が明確であればよい。
In the above description, the case where the local maximum value is determined is explained, but the present invention can also be applied to the case where the local minimum value is determined. Further, in the above embodiment, the sampling period is constant, but in the present invention, it does not need to be constant, and it is sufficient if each sampling time is clear.

また、上記実施例では、電子天秤における荷重ピーク値
の測定方法について説明したが、この発明は、荷重ピー
ク値に限らず種々のピーク値の測定方法に適用できる。
Further, in the above embodiment, a method for measuring a load peak value in an electronic balance has been described, but the present invention is applicable not only to load peak values but also to various methods for measuring peak values.

(へ)発明の効果 この発明によれば、サンプリングデータより、先ずデー
タ列の極値を求め、次に、この極値の前後のデータ列よ
り、異なる2つの近似曲線を求め、この近似曲線の交点
を求めて、そのレベル値をピーク値とするものであるか
ら、ピーク値がサンプリング期間内にあっても、正確な
ピーク値を得ることが出来る。そのためサンプリング周
期が同じなら、従来より例えば、荷重変化速度を高める
ことができ、測定時間を短縮できる。また、測定精度を
上げるために、サンプリング周期を極度に短くする必要
がない。
(f) Effects of the Invention According to the present invention, an extreme value of a data string is first obtained from sampling data, and then two different approximate curves are obtained from the data strings before and after this extreme value. Since the intersection point is found and the level value thereof is taken as the peak value, an accurate peak value can be obtained even if the peak value is within the sampling period. Therefore, if the sampling period is the same, for example, the load change rate can be increased and the measurement time can be shortened compared to the conventional method. Furthermore, it is not necessary to make the sampling period extremely short in order to improve measurement accuracy.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、この発明の実施例電子天秤のピーク値測定動
作を説明するためのフロー図、第2図は、この発明が実
施される電子天秤のブロック図、第3図及び第4図は、
同電子天秤のピーク値測定動作を説明するための例示説
明図、第5図は、従来及びこの発明のピーク値の測定方
法を説明する例示説明図である。 1:センサ、    2:A/D変換器。 3:cPU、   6:表示器。 特許出願人     株式会社島津製作所代理人  弁
理士  中 村 茂 信 □を匣J+l型 を匹+1ll)l′I?8!
FIG. 1 is a flow diagram for explaining the peak value measurement operation of an electronic balance according to an embodiment of the present invention, FIG. 2 is a block diagram of an electronic balance in which the present invention is implemented, and FIGS. 3 and 4 are ,
FIG. 5 is an exemplary explanatory diagram for explaining the peak value measuring operation of the electronic balance, and FIG. 5 is an exemplary explanatory diagram for explaining the peak value measuring method of the prior art and the present invention. 1: Sensor, 2: A/D converter. 3: cPU, 6: Display unit. Patent Applicant Shimadzu Corporation Representative Patent Attorney Shigeru Nakamura 8!

Claims (2)

【特許請求の範囲】[Claims] (1)連続して入力される測定信号を、所定周期でサン
プリングして、測定データ列を取込み、この測定データ
列に基づいて、測定信号のピーク値を測定する方法であ
って、 前記測定データ列の極値を求め、この極値前後における
前記測定データ列の相異なる2つの近似曲線を生成し、
これら2つの近似曲線の交点を抽出し、この交点のレベ
ル値をピーク値とするピーク値の測定方法。
(1) A method of sampling a continuously input measurement signal at a predetermined period, capturing a measurement data string, and measuring the peak value of the measurement signal based on this measurement data string, the method comprising: determining the extreme value of the column, generating two different approximate curves of the measurement data column before and after this extreme value,
A peak value measurement method that extracts the intersection of these two approximate curves and uses the level value at this intersection as the peak value.
(2)前記2つの近似曲線は、前記測定データ列の極値
を除く他のデータ列でそれぞれ生成し、次に前記データ
列の極値と、その時点における2つの近似曲線のレベル
値の差値を求め、差値の小さい方の近似曲線に、前記極
値を含めて新たな近似曲線を生成し、この新たな近似曲
線と他の一つの近似曲線とで交点を求めるようにした特
許請求の範囲第1項記載のピーク値の測定方法。
(2) The two approximate curves are generated using other data strings excluding the extreme values of the measured data string, and then the difference between the extreme values of the data string and the level values of the two approximate curves at that point. A patent claim in which a value is determined, a new approximate curve is generated by including the extreme value in the approximate curve with the smaller difference value, and an intersection point between this new approximate curve and another approximate curve is determined. The method for measuring the peak value according to item 1.
JP11643487A 1987-05-13 1987-05-13 Measuring method for peak value Pending JPH0192665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11643487A JPH0192665A (en) 1987-05-13 1987-05-13 Measuring method for peak value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11643487A JPH0192665A (en) 1987-05-13 1987-05-13 Measuring method for peak value

Publications (1)

Publication Number Publication Date
JPH0192665A true JPH0192665A (en) 1989-04-11

Family

ID=14687009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11643487A Pending JPH0192665A (en) 1987-05-13 1987-05-13 Measuring method for peak value

Country Status (1)

Country Link
JP (1) JPH0192665A (en)

Similar Documents

Publication Publication Date Title
JPS5934164A (en) Corrugated take-in device
JP2001289892A (en) Method and device for measuring jitter
JP2001133485A (en) Equivalent time acquisition mechanism for bit patterns in high data rate signals
JPH0789133B2 (en) Jitter timing measurement method
JPS62243416A (en) Slipping conditions detector
JP3479055B2 (en) Jitter detection device and phase locked loop circuit using the same
US4779045A (en) Automatic peak-to-peak amplitude measurement system
EP1370989B1 (en) Method and apparatus for identifying electronic files
EP1355443A1 (en) Oversampling bit stream recovery
JP3811483B2 (en) Frequency error detection apparatus and detection method based on histogram information of input signal
US20020029117A1 (en) Clock-synchronism evaluating apparatus and method
JP2001311754A (en) Time measuring device
JPH06162669A (en) Sync code extraction circuit
JPH10160507A (en) Peak detector
JPH08316805A (en) Frequency difference detection circuit
JP2000284002A (en) Peak detecting device and method
JPS6183936A (en) Yield elongation detection device
JP2862297B2 (en) Logic level comparison circuit
JP3017504B2 (en) Expectation value extraction method for logic circuit simulation.
JP2002015523A (en) Timing jitter measurement method and reproduction method using the same
JP2002107380A (en) Waveform measuring device
JPH11112440A (en) Sampling rate converter
JP3035982B2 (en) Pitch detection device for audio signal
JPS63289468A (en) Ic tester
JP2002525784A (en) Interference detection in data signals