Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS645643B2 - - Google Patents
[go: Go Back, main page]

JPS645643B2 - - Google Patents

Info

Publication number
JPS645643B2
JPS645643B2 JP16113081A JP16113081A JPS645643B2 JP S645643 B2 JPS645643 B2 JP S645643B2 JP 16113081 A JP16113081 A JP 16113081A JP 16113081 A JP16113081 A JP 16113081A JP S645643 B2 JPS645643 B2 JP S645643B2
Authority
JP
Japan
Prior art keywords
data
latest
value
average
register
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
Application number
JP16113081A
Other languages
Japanese (ja)
Other versions
JPS5862526A (en
Inventor
Akira Kawamoto
Yasuhiro Fujinaga
Norio Kawahara
Kunio Shimauchi
Takeshi Tozaki
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 JP16113081A priority Critical patent/JPS5862526A/en
Publication of JPS5862526A publication Critical patent/JPS5862526A/en
Publication of JPS645643B2 publication Critical patent/JPS645643B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/18Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated
    • G01G23/36Indicating the weight by electrical means, e.g. using photoelectric cells
    • G01G23/37Indicating the weight by electrical means, e.g. using photoelectric cells involving digital counting

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Description

【発明の詳細な説明】 本発明は電子天びんに関し、更に詳述すれば、
電子天びんにおける入力データの平均処理方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic balance, and more specifically,
Concerning the average processing method of input data in electronic balances.

高感度の電子天びんでは、突発的微小振動など
の一時的外乱により表示が大きく変わるため、こ
れを抑える方法としてデータを多数平均化してそ
の平均値を表示する方式が採られている。しか
し、このような方式では天びんの表示の応答性が
非常に遅くくなる欠点があり、はかり取り測定な
どでは特に問題になつていた。
In highly sensitive electronic balances, the display changes significantly due to temporary disturbances such as sudden micro-vibrations, so a method to suppress this is to average a large number of data and display the average value. However, this method has the disadvantage that the response of the balance's display is extremely slow, which is a particular problem when weighing and measuring.

本発明の目的は、データが安定しているときに
外乱による突発的な異常データが入つた場合、こ
の異常データを圧縮して平均化を続行することに
より、表示の応答性を損なうことなく安定度を向
上させた電子天びんを提供することにある。
The purpose of the present invention is to compress the abnormal data and continue averaging it when sudden abnormal data due to disturbance enters while the data is stable, thereby stabilizing the display without impairing the responsiveness of the display. Our objective is to provide an electronic balance with improved accuracy.

本発明の電子天びんは、要約すれば、最新の入
力データとそれ以前の入力データの平均値を比較
して、あらかじめ定められた許容範囲内のときは
上記最新の入力データをそのまま採取して平均演
算を行ない、上記許容範囲をこえるときは最新の
データをそれ以前のデータの平均値に近づく向き
に圧縮した数値に置換して平均演算を行ない、あ
らかじめ設定された回数以上継続して上記許容範
囲をこえるときは通常の設定値として取扱うよう
構成されていることを特徴としている。
To summarize, the electronic balance of the present invention compares the average value of the latest input data and previous input data, and if it is within a predetermined tolerance range, the latest input data is taken as is and the average value is calculated. If the calculation exceeds the above tolerance range, the latest data is replaced with a numerical value compressed toward the average value of the previous data, and the average calculation is performed, continuing for a preset number of times or more until the above tolerance range is exceeded. It is characterized in that it is configured so that when it exceeds the set value, it is treated as a normal set value.

本発明において、上記圧縮した数値は、最新の
許容範囲をこえたデータの値に関係なく常に許容
範囲の限界値に等しい態様と、最新の許容範囲を
こえたデータの値と許容範囲の限界値の関数にな
る態様とがあり、後者における関数として更にい
くつかの実施態様がある。
In the present invention, the compressed numerical value is always equal to the limit value of the tolerance range regardless of the value of the data that exceeds the latest tolerance range, and the value of the data that exceeds the latest tolerance range and the limit value of the tolerance range. There are some embodiments in which the function is a function of the latter, and there are some embodiments in which the latter is a function.

以下、本発明の実施例を図面に基いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

第1図に本発明実施例のブロツク図を示す。 FIG. 1 shows a block diagram of an embodiment of the present invention.

電子はかり1は荷重Wのデータを一定の微小時
間例えば0.2秒毎に刻々とデジタル信号に変換し
て出力する。レジスタ装置2は、(n+1)個の
データを記憶するエリアを有し、最も新しい採取
データがd0に格納され、データが入力されるごと
にd0→d1→…→do-1→doと順次シフトされて最も
古いデータdoは押し出されて捨てられる。制御部
3は、データ転送制御部31、演算装置32、平
均時間設定器33、許容幅設定器34、比較判定
器36、及びプログラム装置37により構成され
ている。この演算装置32はプログラム37に従
い、平均時間設定器33により指定されている平
均時間のデータを平均演算して表示および記録装
置4へ出力する。また、演算装置32はプログラ
ム37に従い、最新の採取データd0と一刻前のデ
ータd1の差(d0−d1)を演算し、或いは最新の平
均値X0と一刻前の平均値X0-1の差(X0−X0-1
などを演算して比較判定器36へ出力する。比較
判定器36は許容幅設定器34の設定値に対して
演算装置32により演算された差が大きいか小さ
いかを判定する。平均時間設定器33の平均時間
は設定器へのマニユアル入力又はプログラムに従
い変化する。なお、上記レジスタ装置2及び制御
部3はマイクロコンピユータにより実施すること
ができる。
The electronic scale 1 converts the data of the load W into a digital signal and outputs it every minute, for example, every 0.2 seconds. The register device 2 has an area for storing (n+1) pieces of data, the newest collected data is stored in d 0 , and each time data is input, d 0 → d 1 →... → d o-1 → The data is shifted sequentially with d o and the oldest data d o is pushed out and discarded. The control section 3 includes a data transfer control section 31, an arithmetic device 32, an average time setting device 33, an allowable width setting device 34, a comparison/determination device 36, and a programming device 37. In accordance with the program 37, this calculation device 32 calculates the average of the data of the average time specified by the average time setting device 33 and outputs it to the display and recording device 4. Further, according to the program 37, the calculation device 32 calculates the difference (d 0 − d 1 ) between the latest collected data d 0 and the data d 1 just before, or calculates the difference between the latest average value X 0 and the average value X just before Difference of 0-1 (X 0 −X 0-1 )
etc. are calculated and output to the comparison/judgment unit 36. The comparison/determination unit 36 determines whether the difference calculated by the arithmetic unit 32 with respect to the set value of the allowable width setting unit 34 is large or small. The average time of the average time setter 33 changes according to a manual input to the setter or a program. Note that the register device 2 and the control section 3 can be implemented by a microcomputer.

第2図に本発明実施例のプログラムのフローチ
ヤートを示し、第3図に測定値の変化例を示す。
FIG. 2 shows a flowchart of a program according to an embodiment of the present invention, and FIG. 3 shows an example of changes in measured values.

プログラムがスタートすると、初期設定が行な
われたのち電子はかり1からデータd0…doがレジ
スタ2に採取され、平均回数N、例えばN=5が
採取される。次に、処理1にてd0→d1,d1→d2
…do-1→doのデータシフフトが実行されたのち、
データの平均化演算 DM=1/NNn=1 do が実行される。次に、空になつたレジスタに最新
データd0が採取される。あらかじめ設定されてい
た許容幅eが許容幅設定器34から判定器36に
取り込まれ、判断ステツプ21にて最新の入力デ
ータd0と平均値DMの差の絶対値が許容幅eより
も大きいか否か、すなわち |d0−DM|>e が判断される。第3図において単純平均表示と記
載されているときは許容幅内に収まつているとき
であつて“NO”と判断され処理2へ進む。この
処理2において最新の入力データd0を含む5個の
データの平均演算 DM=1/NN-1n=0 do が実行されデータ表示される。
When the program starts, initial settings are made, and then data d 0 . Next, in process 1, d 0 → d 1 , d 1 → d 2 ,
…After the data shift of d o-1 → d o is executed,
A data averaging operation D M =1/N Nn=1 d o is performed. Next, the latest data d 0 is collected into the empty register. The preset allowable width e is taken in from the allowable width setter 34 to the judger 36, and in judgment step 21 it is determined that the absolute value of the difference between the latest input data d0 and the average value D M is greater than the allowable width e. It is determined whether |d 0 −D M |>e. When "simple average display" is written in FIG. 3, it means that the value is within the allowable range, and it is determined as "NO" and the process proceeds to process 2. In this process 2 , an average calculation of five pieces of data including the latest input data d 0 is executed and the data is displayed.

外乱によつて最新の入力データd0が許容範囲を
こえた場合は、判断ステツプ21が“YES”と
判断して圧縮処理へ移る。すなわち、処理3Aに
示すように、(d0−DM)が正のときは最新の入力
データd0が(DM+e)に置換され、負のときは
(DM−e)に置換される。この置換データによる
測定値の推移グラフを第3図の点線部分Aにより
示す。このような圧縮処理により、表示データは
わずかしか変化しない。外乱がなくなれば再び通
常の単純平均に戻る。
If the latest input data d 0 exceeds the allowable range due to disturbance, the decision step 21 makes a "YES" decision and moves on to compression processing. In other words, as shown in Process 3A, when (d 0 - D M ) is positive, the latest input data d 0 is replaced with (D M +e), and when it is negative, it is replaced with (D M - e). Ru. A transition graph of measured values based on this replacement data is shown by a dotted line portion A in FIG. Due to such compression processing, the display data changes only slightly. When the disturbance disappears, it returns to the normal simple average again.

荷重が増加した場合は、規定回数K、たとえば
2回をこえて同一方向に許容値をこえたことを判
断ステツプ22が判断し、3回目以降は圧縮処理
から解放して通常の単純平均に戻り、速やかに新
しい荷重値を表示する。
If the load increases, a judgment step 22 determines that the permissible value has been exceeded in the same direction after a specified number of times K, for example two times, and after the third time, the compression process is released and the process returns to the normal simple average. , immediately display the new load value.

第4図に本発明の他の実施例のフローチヤート
の部分図を示す。この部分図は第2図の処理3A
に置き換えて実施される。この特徴部分は許容値
+e又は−eをこえた量を1/Nに圧縮した点に
ある。d0を最新の入力データ、DMをd0前の平均
値、eを許容値とすれば、圧縮データd0′は、 d0′=DM±e+1/N(d0−DM〓e) と表わされる。なおeの符号のとり方は(d0
DM)>eのときは上段を用い、(d0−DM)<−eの
ときは下段を用いる。
FIG. 4 shows a partial diagram of a flowchart of another embodiment of the present invention. This partial diagram is Process 3A in Figure 2.
will be implemented instead. This feature lies in the fact that the amount exceeding the allowable value +e or -e is compressed to 1/N. If d 0 is the latest input data, DM is the average value before d 0 , and e is the tolerance value, the compressed data d 0 ′ is d 0 ′=D M ±e+1/N (d 0 −D M 〓 e) It is expressed as The sign of e is (d 0
When D M )>e, the upper row is used, and when (d 0 -D M )<-e, the lower row is used.

第5図に、この実施例における測定値推移グラ
フを示す。図においてBで示した点線部分が圧縮
処理によるものである。
FIG. 5 shows a measured value transition graph in this example. The dotted line portion indicated by B in the figure is due to compression processing.

第6図に本発明のさらに他の実施例の、フロー
チヤートの部分図を示す。この部分図は第2図の
処理3Aと置き換えて実施される。この特徴部分
は許容値+e又は−eをこえた量Sが√に圧縮
された点にある。すなわち、 d0′=DM±√|0M〓| と表わされる。第7図にこの実施例における置換
による測定値推移グラフを点線部分Cにより示
す。
FIG. 6 shows a partial flow chart of still another embodiment of the present invention. This partial diagram is carried out in place of process 3A in FIG. This characteristic part is that the amount S exceeding the tolerance value +e or -e is compressed to √. That is, it is expressed as d 0 ′=D M ±√| 0M 〓|. In FIG. 7, a dotted line portion C shows a measured value transition graph due to replacement in this embodiment.

本発明は、入力データが許容範囲内に収まつて
いる限り、逐次平均回数を増大させていく平均化
方式においても実施することができる。この場
合、一時的に外乱が入つたときは平均回数を減少
させることなく圧縮処理を行ない、K回以上同一
方向に許容値をこえたときは荷重変化が生じたと
きであるから平均回数を最小、例えば4回に戻し
て速やかな表示を行ない、荷重が安定して再び許
容範囲に入つたのちは平均回数を逐次増大させて
いき、メモリー容量によりあらかじめ定められた
最大回数、例えば25回に達すると、それ以降は許
容値をこえない限り最大平均回数による平均演算
を行なう。
The present invention can also be implemented in an averaging method in which the number of averages is successively increased as long as the input data is within a permissible range. In this case, if a disturbance occurs temporarily, compression processing is performed without reducing the average number of times, and when the tolerance value is exceeded in the same direction more than K times, this means that a load change has occurred, so the average number is reduced to the minimum. , for example, return to 4 times and quickly display it, and after the load stabilizes and falls within the allowable range again, the average number of times is increased sequentially until it reaches the maximum number of times predetermined by the memory capacity, for example, 25 times. Then, from then on, the average calculation is performed using the maximum number of averages as long as the allowable value is not exceeded.

本発明の特別の方法として圧縮を最大限度まで
行なう。即ち、平均値との差をゼロにすることも
できる。この場合には外乱が入ると反つて表示が
変化しないという状態となり、必ずしも使い易さ
からみれば、最良ではないが、表示の安定性は向
上できる。なお、これは許容差をこえたデータを
無視することでもよい。
A particular method of the invention is to maximize compression. That is, the difference from the average value can also be set to zero. In this case, if a disturbance occurs, the display will not change, which is not necessarily the best from the viewpoint of ease of use, but the stability of the display can be improved. Note that this may be done by ignoring data that exceeds the tolerance.

本発明によれば、外乱に対して表示の安定度が
大幅に向上するとともに、荷重が変動した場合に
は速やかに応答表示することができる。また本発
明は、主としてマイクロコンピユータのソフトウ
エアにより実施されるので、既成のマイクロコン
ピユータ制御の電子天びんのプログラム変更だけ
で容易に実施することができる。
According to the present invention, the stability of the display against disturbances is greatly improved, and when the load fluctuates, it is possible to promptly display a response. Furthermore, since the present invention is mainly implemented using microcomputer software, it can be easily implemented by simply changing the program of an existing microcomputer-controlled electronic balance.

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

第1図は本発明実施例の回路ブロツク構成図、
第2図は第1図のプログラム装置37のプログラ
ムのフローチヤート、第3図は本発明実施例の作
用説明図である。第4図及び第6図は本発明の他
の実施例のプログラムフローチヤートの部分図、
第5図及び第7図は、第4図及び第6図による実
施例の作用説明図である。 1……電子はかり、2……レジスタ、3……制
御部、32……演算装置、4……表示及び記録装
置、33……平均回数設定器、34……許容幅設
定器、36……比較判定器、37……プログラム
装置。
FIG. 1 is a circuit block diagram of an embodiment of the present invention.
FIG. 2 is a flowchart of the program of the program device 37 of FIG. 1, and FIG. 3 is an explanatory diagram of the operation of the embodiment of the present invention. 4 and 6 are partial diagrams of program flowcharts of other embodiments of the present invention,
FIGS. 5 and 7 are explanatory views of the operation of the embodiment shown in FIGS. 4 and 6. FIG. DESCRIPTION OF SYMBOLS 1...Electronic scale, 2...Register, 3...Control unit, 32...Arithmetic unit, 4...Display and recording device, 33...Averaging number setting device, 34...Tolerance width setting device, 36... Comparison/judgment device, 37...programming device.

Claims (1)

【特許請求の範囲】 1 荷重を刻々と電気的データに変換しそのデー
タの最新のものから順次レジスタに一時記憶させ
その一時記憶されたデータを平均化処理して表示
又は記録する装置において、上記レジスタに記憶
されているデータのうち最新のデータに係るもの
とそれより過去のデータの平均値の差を求め、そ
の差が予め定められた許容範囲を超えているか否
かを判断する第一の判断手段と、その許容範囲を
超えていると判断されたとき上記レジスタに記憶
されている最新のデータに置換、圧縮等の加工を
施すデータ加工手段と、第一の判断手段により超
えていると判断されたデータが所定個数連続した
か否かを判断する第二の判断手段と、この第二の
判断手段により所定個数連続したと判断されたの
ちは上記データ加工の中止を指示する手段を設け
たことを特徴とする電子天びん。 2 上記データ加工手段による加工されたデータ
が、上記許容範囲の限界値に等しいことを特徴と
する特許請求の範囲第1項記載の電子天びん。 3 上記データ加工手段による加工されたデータ
が、上記許容範囲の限界値と最新のデータの関数
であることを特徴とする特許請求の範囲第1項記
載の電子天びん。
[Scope of Claims] 1. A device that converts a load into electrical data moment by moment, temporarily stores the data in a register sequentially starting from the latest data, averages the temporarily stored data, and displays or records the data, The first step is to find the difference between the average value of the latest data stored in the register and the average value of past data, and determine whether the difference exceeds a predetermined tolerance range. a data processing means that performs processing such as replacement or compression on the latest data stored in the register when it is determined that the permissible range has been exceeded; A second judgment means for judging whether or not a predetermined number of pieces of judged data are consecutive, and a means for instructing to stop the data processing after it is judged by the second judgment means that a predetermined number of pieces of data are consecutive. An electronic balance characterized by: 2. The electronic balance according to claim 1, wherein the data processed by the data processing means is equal to a limit value of the allowable range. 3. The electronic balance according to claim 1, wherein the data processed by the data processing means is a function of the limit value of the tolerance range and the latest data.
JP16113081A 1981-10-09 1981-10-09 Electronic balance Granted JPS5862526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16113081A JPS5862526A (en) 1981-10-09 1981-10-09 Electronic balance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16113081A JPS5862526A (en) 1981-10-09 1981-10-09 Electronic balance

Publications (2)

Publication Number Publication Date
JPS5862526A JPS5862526A (en) 1983-04-14
JPS645643B2 true JPS645643B2 (en) 1989-01-31

Family

ID=15729165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16113081A Granted JPS5862526A (en) 1981-10-09 1981-10-09 Electronic balance

Country Status (1)

Country Link
JP (1) JPS5862526A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6011119A (en) * 1983-06-30 1985-01-21 Shimadzu Corp electronic balance
JP4721727B2 (en) * 2005-02-28 2011-07-13 パナソニック電工Sunx株式会社 Photoelectric sensor

Also Published As

Publication number Publication date
JPS5862526A (en) 1983-04-14

Similar Documents

Publication Publication Date Title
JPS645643B2 (en)
CN115202193B (en) Method and device for realizing amplitude limiting reset of digital integrator
JPH0262805B2 (en)
JP3108993B2 (en) Atmospheric pressure trend value calculation method and atmospheric pressure trend display device using the same
JP3186601B2 (en) Calculation method of radiation count rate and radiation measurement device
JPS63309823A (en) electronic balance
JP3761390B2 (en) Averaging in digital scales
GB2090088A (en) Physical Variable Monitor
JPS62288528A (en) electronic balance
JPS5819517A (en) electronic balance
JPH05248884A (en) Canelling method for measuring signal
JPS62228119A (en) digital display scale
JP2508642B2 (en) Electronic balance
JPH0226733B2 (en)
JPH03289319A (en) Monitoring method for analog signal
CA2052599A1 (en) System for Linearizing a Non-Linear Sensor Output
JPH0643963A (en) A computer system with a timekeeping function
JPS62288530A (en) electronic balance
JP3211482B2 (en) Gas shut-off device
JP2508277B2 (en) Method for determining the number of buffers that can be held
JPS58170223A (en) Pulse count system
JPH0226732B2 (en)
JPS645642B2 (en)
JPS63255735A (en) Floating-point multiplier
JPS62217123A (en) electronic balance