JPS6032811B2 - weight measuring device - Google Patents

weight measuring device

Info

Publication number
JPS6032811B2
JPS6032811B2 JP7515478A JP7515478A JPS6032811B2 JP S6032811 B2 JPS6032811 B2 JP S6032811B2 JP 7515478 A JP7515478 A JP 7515478A JP 7515478 A JP7515478 A JP 7515478A JP S6032811 B2 JPS6032811 B2 JP S6032811B2
Authority
JP
Japan
Prior art keywords
data
weight
value
weight data
weighed
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
JP7515478A
Other languages
Japanese (ja)
Other versions
JPS551578A (en
Inventor
四朗 久野
喜治 西村
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP7515478A priority Critical patent/JPS6032811B2/en
Publication of JPS551578A publication Critical patent/JPS551578A/en
Publication of JPS6032811B2 publication Critical patent/JPS6032811B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は例えば電子料金秤りなどの重量測定装置に係る
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a weight measuring device, such as an electronic toll scale.

重量センサ、重量センサのアナログ信号を増幅する差動
増幅器、振動を阻止する周波数炉波器、増幅されたアナ
ログ信号をデジタル符号化するアナログデジタル変換器
、算術的論理ユニット、順次制御手段およびデータレジ
スタを含む集積回路化された小型計算手段、重量、単価
、値段、その他風袋重量、N個の重量データ等を一時的
に保持する記憶手段、集積回路化された小型計算手段を
順次制御させるため必要な命令語等をプログラミングす
るための半永久的記憶手段、これらの手段を持った電子
料金秤りいわゆるデータ処理装置として「マイクロコン
ピュータ」または「マイクロプロセッサ」とその周辺は
1で構成され重量センサとして電気抵抗線式ロードセル
等きわめて変位の少ない重量センサを使用している電子
料金秤りでは、振動を吸収するメカニカル的ダンパーが
使用できないためきわめて小さい振動を感知する。
A weight sensor, a differential amplifier for amplifying the analog signal of the weight sensor, a frequency reactor for blocking vibrations, an analog-to-digital converter for digitally encoding the amplified analog signal, an arithmetic logic unit, a sequential control means and a data register. A small integrated circuit calculation means, a storage means for temporarily storing weight, unit price, price, other tare weight, N pieces of weight data, etc. Necessary for sequentially controlling the integrated circuit small calculation means A semi-permanent storage means for programming command words, etc., an electronic fare scale equipped with these means, a so-called data processing device consisting of a "microcomputer" or "microprocessor" and its surroundings, and an electric sensor as a weight sensor. Electronic price scales that use weight sensors with extremely small displacement, such as resistance wire load cells, cannot use mechanical dampers to absorb vibrations, so they sense extremely small vibrations.

また、重量センサの出力変位は数仏Vのきわめて小さい
信号であり雑音に非常に影響されやすい。このことは僅
かな振動や雑音により重量のふらつきを生じ結果として
重量表示をちらつかせる問題が生じる。ここで言う重量
の「ふらつき」とは重量の計られる物品または重量計の
僅かな振動によって生ずる僅かな変動および重量アナロ
グ信号に重畳された雑音による変動を意味する。
Furthermore, the output displacement of the weight sensor is an extremely small signal of several French volts, and is very susceptible to noise. This causes the weight to fluctuate due to slight vibrations or noise, resulting in a problem that the weight display flickers. As used herein, "wobble" in weight refers to slight fluctuations caused by slight vibrations of the weighed article or scale, and fluctuations due to noise superimposed on the weight analog signal.

一般に、小売販売に使用されるデジタル式電子料金秤り
は2k9〜5k9秤量に対し1タまたは2夕を1目盛表
示する。
Generally, digital electronic price scales used for retail sales display 1 ta or 2 ta in one scale for a weight of 2k9 to 5k9.

このような精度においては比較的小さな振動が表示され
る重量に1目盛またはそれ以上の値間のふらつきが生じ
る。このことは計量されている物品が2つの値間の重量
を有する様表示される場合に特に問題となる。例えば1
目盛2タ計では101.0夕の場合表示される重量は1
00夕および102夕闇のふらつきすなわちちらつきと
なる煩向にある。従来でも、上述のような表示のちらつ
きを防止するための方法はいるいる考えられ、なかでも
、デジタル量としてサンプリングされた最も新しい重量
データを含み順次4個以上N個の重量データを格納し、
まず第1に、予定された数量M個以上の同一データD.
があった場合このD,を現在計量されている物品の重量
値とみなしD,を一時記憶すると同時に現在計量されて
いる物品の重量値とし、第2に、予定された数量M個以
上の同一データがない場合はN個格納されている重量デ
ータより各重量データに対し同一値がいくつあるかを教
え同一値が最も多い数L(くM)をもつ重量データD2
を選び、第3に、違った重量データがそれぞれL個の同
一値をもつている場合はその内の最も新しい重量データ
〇2を選び、第4に、前記第2または第3によって選ば
れたデータ〇2(D2)に対し今回以前に選ばれたD,
を比較しその童童データ値の差が予定の重量値k以内で
違っているときはD,を現在計量されている物品の重量
値とみなし、〇2とD,の重量データ値差がkより大き
く違っているときは〇2を現在計量されている物品の重
量値とみなしてデジタル的に重量データの振動を炉波処
理して重量値のふらつきを防止する処理方法が提案され
ている。
With such precision, relatively small oscillations cause the displayed weight to wander between one or more divisions. This is particularly problematic when the item being weighed is displayed as having a weight between two values. For example 1
On a 2-tameter scale, if the reading is 101.0, the weight displayed is 1.
00 twilight and 102 twilight wandering, or flickering. Conventionally, there are methods for preventing display flickering as described above. Among them, one method is to sequentially store 4 or more N pieces of weight data including the newest weight data sampled as a digital quantity,
First of all, a planned quantity of M or more identical data D.
If there is, D, is regarded as the weight value of the article currently being weighed, D, is temporarily stored, and at the same time it is taken as the weight value of the article currently being weighed. If there is no data, tell us how many identical values there are for each weight data from the N stored weight data, and tell us the weight data D2 that has the largest number L (M) of identical values.
Thirdly, if the different weight data each have L same values, select the newest weight data 〇2 among them, and fourthly, select the weight data 〇2 selected by the second or third above. D selected before this time for data 〇2 (D2),
If the difference in the child data values is within the planned weight value k, D, is considered to be the weight value of the item currently being weighed, and the weight data value difference between 〇2 and D is k. A processing method has been proposed in which, when the difference is larger than that, 02 is regarded as the weight value of the item currently being weighed, and the vibrations of the weight data are digitally subjected to wave processing to prevent fluctuations in the weight value.

しかしながら、この方法においては振動またはノイズを
含んだ信号より買値と考えられる重量値を決定するため
必ず複数のデータ値をもって処理されるために、どうし
ても表示するまでに時間的な遅れが伴う。ふらつき防止
処理は完壁に行なうことが望ましいが必要以上に時間的
遅れを生ずることは望ましくない。このため、振動が少
ない場所では簡単なふらつき防止処理を行ない速やかに
応答して重量の変動があったことを表示することが望ま
しく逆に振動が多い場所においては充分なふらつき防止
処理を行ない謀まった重量値を表示することを禁止しな
ければならない。このため、重量変動が生じてからそれ
を表示するまでの時間遅れはある程度大きくなる。従来
では一般的な使用場所を設定しその使用場所において適
当なふらつき防止処理方法を設定しており、その処理方
法は固定的であり個々の使用場所の環境条件に対して融
通性に欠けている。本発明は、このような点に鑑み、前
述したふらつき防止処理方法におけるNまたはMの値を
変更可能としたり、第4の処理を実行するかしないかを
切換可能とすることにより、個々の使用場所の環境条件
に対し最適なふらつき防止処理方法を容易に選択するこ
とを可能とした重量測定装置を提供するものである。次
に、本発明の一実施例を電子料金秤りについて図面によ
り説明する。
However, in this method, a plurality of data values are always processed in order to determine a weight value considered to be a purchase price from a signal containing vibration or noise, so there is inevitably a time delay before displaying the data. It is desirable to perform the wobbling prevention process completely, but it is undesirable to cause an unnecessarily long time delay. For this reason, in areas with little vibration, it is desirable to perform simple anti-wobble processing and quickly respond to indicate that there has been a change in weight.On the other hand, in areas with a lot of vibration, it is desirable to carry out sufficient anti-wobble processing to quickly respond. It shall be prohibited to display weight values that have been Therefore, the time delay between when a weight change occurs and when it is displayed becomes large to some extent. Conventionally, a general place of use has been set and an appropriate treatment method for preventing wobbling has been set for that place of use, but the treatment method is fixed and lacks flexibility depending on the environmental conditions of each place of use. . In view of these points, the present invention makes it possible to change the value of N or M in the above-mentioned wobbling prevention processing method, and to switch whether or not to execute the fourth process, thereby making it possible to improve the performance of each individual user. The object of the present invention is to provide a weight measuring device that makes it possible to easily select an optimal wobbling prevention treatment method depending on the environmental conditions of the location. Next, an embodiment of the present invention will be described with reference to the drawings regarding an electronic fare scale.

第1図は回路構成の系統図を示し、1は重量センサで、
この重量センサ1として本実施例ではロードセル等によ
って計量されようとする物品の重量をアナログな電圧信
号に変換する4k9秤量秤りを使用し2夕の変化に対し
数rVの電圧変位を得ている。
Figure 1 shows a system diagram of the circuit configuration, 1 is a weight sensor,
In this embodiment, a 4K9 weighing scale is used as the weight sensor 1, which converts the weight of the article to be weighed by a load cell or the like into an analog voltage signal, and a voltage displacement of several rV is obtained for a change of 2 hours. .

次に、差動増幅器2により前記2夕の変化に対する電圧
変位を数mVの電圧変位(増幅度約6M旧)に増幅する
。次に、比較的周波数の高い振動および雑音を取りのぞ
くため周波数炉波器としてのローバスフィルタ3を挿入
して高い周波数成分を阻止している。
Next, the differential amplifier 2 amplifies the voltage displacement corresponding to the two-day change to a voltage displacement of several mV (amplification degree of about 6M). Next, in order to remove relatively high frequency vibrations and noise, a low-pass filter 3 as a frequency reactor is inserted to block high frequency components.

さらに、このローパスフイルタ3を通過したアナログ電
圧信号をカウンタ4を有するデュアルスロープ積分式A
−○変換器4により数10仇hSに1度サンプリングを
繰り返しアナログ電圧信号をデジタル信号に変換する。
ここでは、2夕の重量変化に対し4カウントの変化を出
力すべく前記A−D変換器4を調整してある。つまり、
4k9を計量した場合、8000カウント計数するよう
調整してある。次に、サンプリングされた重;デー外ま
本発明による童基デ−夕のふらつき防止の処理のため1
/0ボート5を経て中央処理ユニット(CPU)6、ラ
ンダムアクセスメモリ(RAM)7およびリードオンリ
ーメモリ(ROM)8からなるデータ処理装置9に転送
される。
Furthermore, the analog voltage signal that has passed through this low-pass filter 3 is converted into a dual slope integral type A having a counter 4.
-○ The converter 4 repeats sampling once every several tens of seconds to convert the analog voltage signal into a digital signal.
Here, the A-D converter 4 is adjusted to output a change of 4 counts for a weight change of 2 days. In other words,
When weighing 4k9, it is adjusted to count 8000 counts. Next, in order to prevent the fluctuation of the sampled data according to the present invention, 1
The data is transferred via the /0 port 5 to a data processing device 9 consisting of a central processing unit (CPU) 6, a random access memory (RAM) 7, and a read only memory (ROM) 8.

このデータ処理葬贋9は「マイクロコンピュータ」また
は「マイクロプロセッサ」として当業界で知られている
ものでなりきわめて大型の集積回路で構成されている。
このデータ処理装遭9は例えば東京都港区日本電気■製
の〃COM−4型小型計算器を具備する。この場合、前
記CPU6は日本電気■製の山PD7510となり、前
記RAM7は日本電気■製の〃PD41狐でなり、前記
ROM8は日本電気■製の〃PD44脚でなり、前記1
/0ボート5は日本電気■製の〃PD75狐でなる。し
かしながら他の集積回路小型計算機を装置10内に使用
し得る。袋鷹10を構成している1/0ボート5、CP
U6、RAM7、ROM8、表示およびキーボートコン
トローラ11は入力/出力データ母線12およびアドレ
ス母線13で並列接続されており、前記データ処理装置
9に使用されるデータはAD変換器4からのデジタル重
量データおよびキーボ−ト14から受けられるデータを
構成している。
This data processing device 9 is known in the art as a "microcomputer" or "microprocessor" and is composed of an extremely large integrated circuit.
The data processing equipment 9 includes, for example, a COM-4 type compact calculator manufactured by NEC Corporation, Minato-ku, Tokyo. In this case, the CPU 6 is a PD7510 made by NEC ■, the RAM 7 is a PD41 fox made by NEC ■, the ROM 8 is a PD44 made by NEC ■, and the ROM 8 is a PD44 made by NEC ■.
/0 boat 5 is a PD75 fox manufactured by NEC ■. However, other integrated circuit minicomputers may be used within apparatus 10. 1/0 boat 5, CP that makes up Fukurodaka 10
U6, RAM 7, ROM 8, display and keyboard controller 11 are connected in parallel by an input/output data bus 12 and an address bus 13, and the data used by the data processing device 9 is the digital weight data from the AD converter 4 and It constitutes data received from the keyboard 14.

前記虫OM8は装置10の作動順序を制御するために固
定プログラムを蓄積する順次制御器を構成している。こ
のプログラムは小型計算機分野において明らかであるが
計量データを本発明で言うふらつき防止処理したのち正
味重量および各物品の値段の計算に使用するためにかつ
これら演算処理後正味重量、単価、値段を前記表示およ
びキーボードコントローラ1 1を経て表示器15へ供
給するためにCPU6に供V給せしめるようになす。次
に、前記RAM7は装置10内の入力/出力データ母線
12上に乗った必要なデータを一時的に蓄積するための
記憶装置を構成している。すなわち、A−D変換終了後
の計量データをふらつき防止処理するために順次複数個
Nの重量データを記憶する。また、ふらつき防止処理さ
れた真値と思われる重量データ、キーボード14より入
力された単価、CPU6で演算された風袋重量、値段等
も一時記憶しCPU6にその記憶内容を供給せしめるよ
うになす。また、前記表示およびキーボードコントロー
フ11は、CPU6より入力/出力データ母線12を経
て送り込まれる表示用データをこのコントローラ11内
の表示用レジスタに蓄積し、この表示用レジスタの内容
を順次出力しダイナミック表示すると同時にキーボード
14よりキー押圧されるデータを入力/出力データ母線
12を経てCPU6に転送させるための入力/出力デー
タ母線12およびコントロール符号に接続された重量、
単価、および値段の表示およびキーボード14を制御す
る集積回路である。
The insect OM 8 constitutes a sequential controller that stores fixed programs to control the operating sequence of the device 10. This program is obvious in the field of small computers, but it is used to calculate the net weight and price of each article after subjecting the weighing data to the fluctuation prevention processing referred to in the present invention. V is supplied to the CPU 6 to be supplied to the display 15 via the display and keyboard controller 11. Next, the RAM 7 constitutes a storage device for temporarily storing necessary data on the input/output data bus 12 within the device 10. That is, a plurality of N pieces of weight data are sequentially stored in order to perform a wobbling prevention process on the weighing data after the A-D conversion. In addition, weight data which is considered to be the true value subjected to fluctuation prevention processing, the unit price input from the keyboard 14, the tare weight calculated by the CPU 6, the price, etc. are also temporarily stored and the stored contents are supplied to the CPU 6. The display and keyboard controller 11 also stores display data sent from the CPU 6 via the input/output data bus 12 in a display register within the controller 11, and sequentially outputs the contents of the display register to dynamically a weight connected to the input/output data bus 12 and the control code for transmitting data that is displayed and simultaneously pressed by a key from the keyboard 14 to the CPU 6 via the input/output data bus 12;
It is an integrated circuit that controls unit price, price display, and keyboard 14.

また、前記装置10内の1/0ボート5にはふらつき防
止処理用ステータス切換機構45からの信号入力線46
が接続されている。
Further, a signal input line 46 from a status switching mechanism 45 for preventing wobbling is connected to the 1/0 boat 5 in the device 10.
is connected.

前記ふらつき防止処理用ステータス切換機構45は後述
するふらつき防止処理方法に対し、秤りの設置場所の環
境条件等に応じて最適なふらつき防止処理方法に変更自
在で各種のステータス信号を発生する切換機構である。
次に、データ処理装置9を含む装置10に入力されたデ
ータがふらつき防止処理される方法を考案するに先立ち
、前記装置10の動作の順序の流れを示す系統図につい
て第2図より説明する。
The fluctuation prevention processing status switching mechanism 45 is a switching mechanism that can freely change the fluctuation prevention processing method described later to the optimal fluctuation prevention processing method according to the environmental conditions of the place where the scale is installed, and generates various status signals. It is.
Next, before devising a method for performing wobbling prevention processing on data input to the device 10 including the data processing device 9, a system diagram showing the sequence of operations of the device 10 will be explained with reference to FIG.

まず、電子料金秤りに電源(ここではACIOOV50
HZ)が投入されると表示灯の動作異常を検査するため
に全表示灯を0から9までA−D変換器4のサンプリン
グ時間に同期し13行を順次点灯する「初期処理」16
を行なう。
First, power the electronic fare scale (here ACIOOV50)
When the HZ) is turned on, "initial processing" 16 turns on all the indicator lights from 0 to 9 in sequence in 13 rows in synchronization with the sampling time of the A-D converter 4 in order to check for abnormal operation of the indicator lights.
Do the following.

次に、「キー押圧」信号の有無を調べるため「キー入力
は有るか?」17を調べる。もし、Yesすなわちキー
押圧されていれば「キー処理」18を行なう。ここで言
う「キー処理」18とは単価入力キーならばその暦数を
単価レジスタへ記憶し、風袋キーならば現在計量されて
いる物品の重量をふらつき防止処理したのちの真値とみ
なされる重量データを風袋重量レジスタへ記憶し、消去
キーであれば風袋重量レジスタをクリアすることである
。反対に、もしキー押圧されていなければ「重量データ
議込み」19に飛びAD変換器4より出力される重量デ
ータを読込む。次に、「ふらつき防止処理」2川こより
最も新しい重量データとこの重量データより以前順次複
数個の重量データの計N個の重量データから比較し、今
回の真値と考えられる重量データを選び出す。
Next, "Is there a key input?" 17 is checked to see if there is a "key press" signal. If Yes, that is, the key is pressed, "key processing" 18 is performed. The "key processing" 18 referred to here means that if the unit price input key is used, the calendar number is stored in the unit price register, and if the tare key is used, the weight of the item currently being weighed is processed to prevent fluctuation, and then the weight is considered to be the true value. The data is stored in the tare weight register, and the erase key is to clear the tare weight register. On the other hand, if the key is not pressed, the process jumps to ``weight data input'' 19 and the weight data output from the AD converter 4 is read. Next, in the "wobble prevention process", the latest weight data from Futagawa is compared with a total of N weight data, including a plurality of weight data in order from this weight data, and the weight data that is considered to be the current true value is selected.

次に、「オートゼロ、風袋処理」21により温度ドリフ
トによるゼロ点変動をゼロ重量時に限り補正するための
オートゼロ処理および風袋重量レジスタの内容を今回計
量されている物品の真値と思われるふらつき防止処理さ
れた重量データより減算する。
Next, auto-zero processing is performed to correct zero-point fluctuations due to temperature drift only when the weight is zero using "auto-zero and tare processing" 21, and wobbling prevention processing is performed to ensure that the content of the tare weight register is the true value of the item currently being weighed. Subtract from the calculated weight data.

次に、「価格計算」22により正味重量(前述の今回計
量されている物品の真価と思われるふらつき防止処理さ
れた重量データより風袋重量レジスタの内容を減算した
値を2で割り2タ計用にまるめた値)と単価を素算し価
格を算出する。
Next, in "Price Calculation" 22, the net weight (the value obtained by subtracting the contents of the tare weight register from the weight data that has been processed to prevent fluctuation, which is considered to be the true value of the item being weighed this time), is divided by 2. Calculate the price by subtracting the unit price and the rounded value.

そして、「表示J23により正味重量、単価、価格を表
示する。「表示」23終了後「キー入力は有るか?」1
7へ再びもどり同様な操作を操り返えす。
Then, ``Display net weight, unit price, and price using Display J23.'' After completing ``Display'' 23, ``Is there any key input?'' 1
Return to step 7 again and repeat the same operation.

以上が装置10の簡単な動作順序の流れ図の説明である
The above is a flow diagram of a simple operational sequence of the apparatus 10.

本実施例に使用した前記RAM7は4ビット×256ワ
ード容量をもつ集積回路記憶素子であり、第3図はその
RAMマップ図を示す。
The RAM 7 used in this embodiment is an integrated circuit storage element having a capacity of 4 bits x 256 words, and FIG. 3 shows a map of the RAM.

日24,M25,L26はRAM7内の位置を表わすア
ドレスを示し、アドレスはへキサデシマル3桁で表わし
、日24は最上位桁、L26は最下位桁、M25は中位
桁を意味する。例えばRAMマップ図内のレジスタ27
の位置は012蚤地のアドレスで指定される。本実施例
においては、最も新しい重量データd,を08疎蚤地、
081番地、082番地、083蚤地、084番地で示
すレジスタ28に収容する。
Day 24, M25, and L26 indicate addresses representing positions in the RAM 7, and the address is expressed in three hexadecimal digits, with day 24 meaning the most significant digit, L26 meaning the least significant digit, and M25 meaning the middle digit. For example, register 27 in the RAM map diagram
The location is specified by the address of 012 Flea. In this example, the latest weight data d, is 08 flea area,
It is stored in the registers 28 indicated by addresses 081, 082, 083, and 084.

また、この重量データd,より1つ以前の重量データd
2を090,091,0班,093 0払番地で示すレ
ジスタ29に収容する。同様に、さらに順次以前の重量
データも,d4,d5,ヰ,d7,d8をそれぞれOA
O〜QA4,脚〜服4,皿〜広4,血〜血4,脚〜血4
,価o〜岬4番地で示す各レジスタ30,31,32,
33,34,35に収容する。また、雌5番地で示すレ
ジスタ36には、前記レジスタ28の内容の重量データ
d,に対し前記レジスタ29,30,31,32,33
,34,35の内容の重量データd2,d3,4,d5
,d6,d7,ム内に同一値があればその個数m,を格
納する。
Also, this weight data d, the previous weight data d
2 is stored in the register 29 indicated by 090, 091, 0 group, 093 0 pay address. Similarly, for the weight data from earlier, d4, d5, y, d7, and d8 are OA
O~QA4, Legs~Clothes 4, Plate~Wide 4, Blood~Blood 4, Legs~Blood 4
, each register 30, 31, 32, indicated by address O~Misaki 4,
33, 34, and 35. Further, in the register 36 indicated by female address 5, the weight data d of the contents of the register 28 is stored in the registers 29, 30, 31, 32, 33.
, 34, 35 weight data d2, d3, 4, d5
, d6, d7, if there are identical values in m, the number m is stored.

例えばd,と同一値がち〜Qのデータ内に3個あればd
,を含みm,は4となる。また、095野地で示すレジ
スタ37には前記レジスタ29の内容の重量データd2
に対し前記レジスタ30,31,32,33,34,3
5の内容の重量データd3,d4,ち,d6,d7,d
8内にd2と同一値があればその個数肋を格納する。同
様に、OA5,服5,広5,血5番地で示すレジスタ3
8,39,40,41には前記レジスタ30,31,3
2,33の内容の重量データも,d4,広,d6に対し
それぞれレジスタ31,32,33,34,35,レジ
スタ32,33,34,35,レジスタ33,34,3
5、レジスタ34,35内のそれぞれの重量データと同
一値があればその個数m3,血,m5,恥を格納する。
例えば、d,,4,d3,d4,d5,d6,d7,d
8がすべて同一値の場合はしジスタ36,37,38,
39,40,41の内容m,,m2,m3.m4,肌,
肌の値は8,7,6,5,4,3となる。また、070
〜074番地で示すレジスタ42にはm,〜mp(1≦
P≦6)の値がいずれか所定数M以上の場合にその重量
データdx(x=1〜P)が収容される。すなわちその
dxがレジスタ42の内容の重量データD,となる。こ
の場合、レジスタ42内の古いデータは捨てられレジス
タ42内はデータdxで更新される。また、060〜0
64番地で示すレジスタ43にはm,〜mpの値がすべ
て前記所定数M−1以下の場合重量データd,〜dpよ
り選ばれたデータdy(y=1〜P)が収容される。
For example, if there are 3 of them in the data of Q, d tends to have the same value as d.
, m, is 4. In addition, the weight data d2 of the contents of the register 29 is stored in the register 37 indicated by field 095.
For the registers 30, 31, 32, 33, 34, 3
Weight data of contents of 5 d3, d4, d6, d7, d
If there is a value same as d2 in 8, its number is stored. Similarly, register 3 indicated by address OA5, clothes 5, wide 5, blood 5
8, 39, 40, 41 are the registers 30, 31, 3.
The weight data of the contents of 2 and 33 are also in registers 31, 32, 33, 34, 35, registers 32, 33, 34, 35, and registers 33, 34, 3 for d4, wide, and d6, respectively.
5. If the weight data in the registers 34 and 35 have the same value, store the number m3, blood, m5, and shame.
For example, d,,4,d3,d4,d5,d6,d7,d
If all 8 are the same value, registers 36, 37, 38,
Contents of 39, 40, 41 m,, m2, m3. m4, skin,
The skin values are 8, 7, 6, 5, 4, and 3. Also, 070
The register 42 indicated at address ~074 has m, ~mp (1≦
When the value of P≦6) is greater than or equal to a predetermined number M, the weight data dx (x=1 to P) is stored. That is, the dx becomes the weight data D of the contents of the register 42. In this case, the old data in the register 42 is discarded and the register 42 is updated with data dx. Also, 060~0
The register 43 indicated by address 64 stores data dy (y=1 to P) selected from the weight data d and dp when all the values of m and mp are less than or equal to the predetermined number M-1.

すなわちそのdyがレジスタ43の内容の重量データ〇
2となり、〇2はm,〜mpの値がM以上でない場合は
常に新しい重量データdyで書き換えられる。また、0
65,075蚕地で示すレジスタ44は真値表示用フラ
ッグであって、〇2が真値と判断されたときはレジスタ
44の内容Fが1となりまた逆にD,が真値と判断され
た時はしジスタ44の内容Fが0となる。
That is, the dy becomes the weight data 〇2 of the contents of the register 43, and 〇2 is always rewritten with new weight data dy unless the value of m, ~mp is greater than or equal to M. Also, 0
The register 44 indicated by 65,075 silkworms is a flag for displaying the true value, and when 〇2 was determined to be the true value, the contents F of the register 44 became 1, and conversely, D, was determined to be the true value. The content F of the time register 44 becomes 0.

次に、前記ふらつき防止処理用ステータス切換機構45
により前記レジスタ28〜35に順次格納するデータの
数N(4ミNミ8)の値をN,,N2,N3の3通りに
切換可能とした場合の処理方法を第4図のフローに沿っ
て説明する。
Next, the status switching mechanism 45 for preventing wobbling
The processing method when the value of the number N (4 min N mi 8) of data to be sequentially stored in the registers 28 to 35 can be changed to three values N, , N2, and N3 is explained according to the flowchart in Fig. 4. I will explain.

「前回の重量データを順次シフトする」47において今
回の最も新しいデータをレジスタ28に格納するために
レジスタ28,29,30,31,32,33,34に
格納されている前回の童基データd,,d2,も,d4
,も,広,d7,を順次レジスタ29,30,31,3
2,33,34,35へ移送し前回の重量データLは捨
てられる。
In order to store the latest data in the register 28 in "Sequentially shift the previous weight data" 47, the previous weight data d stored in the registers 28, 29, 30, 31, 32, 33, and 34 ,,d2,also,d4
, also, wide, d7, sequentially in registers 29, 30, 31, 3
2, 33, 34, and 35, and the previous weight data L is discarded.

次に、「今回のデータを読み込む」48によりA−D変
換器4より得られた今回の蚊も新しいデータd,を雌0
〜雌4番地で示すレジスタ28へ格納する。次に、rス
テータスがN,か?」49でYeSならば、「N,個の
データに対し各データ値と同一値のデータがいくつある
か教える」50もやまずレジスタ36,37,38,3
9,40,41の内容がすべて1とされレジスタ28の
内容すなわち今回の最も新しいデータd,を対象にそれ
以前のデータも,d3,・・・・・・dN,が順次比較
されも〜dN,の値がd,と同一値があるときはその同
一値のあった数だけレジスタ36の内容に加えられ、m
,の値が決まる。次に、d,より1つ以前のデータらを
対象にそれ以前のデータd3,q,・・・・・・dN.
が順次比較されも〜dN,の値がd2と同一値があると
きはその同一値のあった数だけレジスタ37の内容に加
えられ、m2の値が決まる。以下、同様にしてmN,ま
での値が決められる。また、前記49でNoならば「ス
テータスがN2か?」51へ進み、ここでYesであれ
ば「N2個のデータに対し各データ値と同一値のデータ
がいくつあるか数える」52でm,〜mN2までの値が
決められ、Noであれば「N3個のデータに対し各デー
タ値と同一値のデータがいくつあるか教える」53でm
,〜mN3までの値が決められる。
Next, by "reading current data" 48, the current mosquito obtained from the A-D converter 4 also receives new data d, female 0.
~Stored in the register 28 indicated by female address 4. Next, is the r status N? ” 49 If Yes, “Tell me how many data have the same value as each data value for N data.” 50 First, registers 36, 37, 38, 3.
The contents of registers 9, 40, and 41 are all set to 1, and the contents of register 28, that is, the latest data d, are compared sequentially with the previous data, d3, ...dN, ~dN. , is the same as d, the same value is added to the contents of the register 36 as many times as there are the same values, m
The value of , is determined. Next, data d3, q, . . . dN.
are sequentially compared, and if there is a value of ~dN, which is the same as d2, the same value is added to the contents of the register 37 by the number of times there are the same values, and the value of m2 is determined. Thereafter, values up to mN are determined in the same manner. Also, if No in the above 49, proceed to "Is the status N2?" 51, and if Yes here, "Count how many data have the same value as each data value for N2 data" 52, m, The value up to mN2 is determined, and if No, m
, ~ mN3 can be determined.

そして、m,〜mN,またはm,〜mN2またはm.〜
mN3の値が決まると、「同一値が最も多くかつ最も新
しいデータ〇2を選ぶ」54でN個(N=N,またはN
2またはN3)のデータの内mの値が最も大きくかっこ
の内の最も新しいデータdyを〇2として選び、「D′
2と同一値の数がM以上か?」55でdyに対応するm
の値がM以上であれば「D′2をD.とみなし記憶する
」56でdyをdxとみなしてレジスタ42に記憶し、
これを真値とする。また、dyに対応するmの値がM以
上でなければ「(〇2の値)−(D,の値)>kか?」
57で前回の真値D,と今回選ばれたデータ〇2の値を
比較し、その差がk以下であればD,を夏値とし、kよ
り大きく違っていれば〇2を真値とする。次に、前記ふ
らつき防止処理用ステータス功換機構45によりD,と
〇2とを決定する基準となるM(5≦M≦8)の値をM
,,地の2通りに功換可能とした場合の処理方法を第5
図のフロ−に沿って説明する。「前回の重量データを順
次シフトする」58、「今回のデータを読み込む」59
、「N個のデータに対し各データ値と同一値のデータが
いくつあるか教える」60、「同一値が最も多くかつ最
も新しいデータ02を選ぶ」61と順次進み、次にrス
テータスがM,か?」62でYesならば「〇2と同一
値の数がM,以上か?」63へ進み、前記62でNoな
らば「D′2と同一値の数がM2以上か?J64へ進み
、63または64でYeSであれば「〇2をD,とみな
し記憶する」65へ行きD,を真値とする。
and m, ~mN, or m, ~mN2, or m. ~
Once the value of mN3 is determined, select N pieces (N=N, or N
2 or N3), the value of m is the largest and the newest data dy in parentheses is selected as 〇2, and "D'
Is the number of values the same as 2 greater than or equal to M? "55 m corresponding to dy
If the value of is greater than or equal to M, dy is treated as dx and stored in the register 42 with "D'2 is regarded as D. and stored" 56.
Let this be the true value. Also, if the value of m corresponding to dy is not less than M, "Is (value of 〇2) - (value of D,) >k?"
In step 57, compare the previous true value D, and the value of data 〇2 selected this time, and if the difference is less than k, set D, as the summer value, and if the difference is greater than k, consider 〇2 as the true value. do. Next, the value of M (5≦M≦8), which is the standard for determining D and
,,The processing method when it is possible to perform in two ways is shown in the fifth section.
The explanation will be given according to the flow shown in the figure. “Shift previous weight data sequentially” 58, “Read current data” 59
, "Tell me how many data have the same value as each data value for N data" 60, "Select the newest data 02 with the most same values" 61, and then when the r status is M, mosquito? If Yes in 62, go to ``Is the number of same values as 〇2 more than M?'' 63, and if No in 62, go to ``Is the number of same values as D'2 more than M2? Go to J64, 63 Or, if Yes in 64, go to 65 where ``regard 〇2 as D and store it'' and set D as the true value.

また、63または64でNoであれば「(D′2の値)
−(D,の値)>kか?」66でD′2と0,の値を比
較しその差がk以下であればD,を真値とし、kより大
きく違っていれば〇2を真値とする。次に、前記ふらつ
き防止処理用ステータス切換機構45により、D,と〇
2の値を比較しその差をもって真億を決定するという処
理方法を実行するか否かを切換可能とした場合の処理方
法を第6図のフローに沿って説明する。
Also, if No in 63 or 64, “(value of D′2)
-(value of D,)>k? '' 66, the values of D'2 and 0 are compared, and if the difference is less than or equal to k, D is taken as the true value, and if the difference is greater than k, 02 is taken as the true value. Next, a processing method in which it is possible to switch whether or not to execute a processing method of comparing the values of D and 〇2 and determining the true billion based on the difference by the status switching mechanism 45 for preventing wobbling. will be explained along the flow shown in FIG.

「前回の重量データを順次シフトする」67、「今回の
データを読み込む」68、「N個のデータに対し各デ−
タ値と同一値のデータがいくつあるか教える」69、「
同一値が最も多くかつ最も新しいデータ〇2を選ぶ」7
0と順次進み、次に「D,の比較ありか?」71でYe
sならば「〇2と同一値の数がM以上か?」72へ進み
、ここでYesならば「〇2をD,とみなし記憶する」
73へ行きD,を真値とする。
“Sequentially shift the previous weight data” 67, “Read the current data” 68, “Shift each data for N pieces of data”
Tell me how many pieces of data have the same value as the data value.'' 69, ``
Select the data 〇2 that has the most identical values and is the newest.''7
0 and then ``Is there a comparison of D?'' 71, Yes.
If it is s, then go to ``Is the number of the same values as 〇2 greater than or equal to M?'' 72, and if Yes here, ``regard 〇2 as D and store it.''
Go to 73 and set D as the true value.

また、前記72でNoであれば「(0′2の値)−(D
,の値)>k」74で〇2とD,の値を比較しその差が
k以下であれば○,を真値とし、kより大きく違ってい
れば〇2を真値とする。一方、前記「D,の比較ありか
?」71でNoならば72,74の処理方法は実行せず
、直ぐに〇2を真値とする。次に、前記ふらつき防止処
理用ステータス切換機構45により、N個のデータに対
し同一値のデータを教えるための対象となるデータ値の
数P(1SPミN)の値をP,,P2,P3の3通りに
切換可能とした場合の処理方法を第7図のフローに沿っ
て説明する。
Also, if No in 72 above, “(value of 0′2)−(D
, value)>k'' 74, compare the values of 〇2 and D, and if the difference is less than or equal to k, then 〇 is taken as the true value, and if the difference is greater than k, then 〇2 is taken as the true value. On the other hand, if the question ``Is there a comparison of D?'' 71 is No, the processing methods 72 and 74 are not executed, and 02 is immediately set as the true value. Next, the fluctuation prevention processing status switching mechanism 45 changes the value of the number P (1SP min N) of target data values P, , P2, P3 to teach data of the same value to N pieces of data. A processing method when switching is possible in three ways will be explained along the flowchart of FIG. 7.

「前回の重量データを順次シフトする」75、「今回の
データを読み込む」76と順次進み、次に「ステータス
がP,か?」77へ進み、ここでYesならば「N値の
データに対し各データ値と同一値のデータがいくつある
かをP,個についてのみ教える」78でP.個のデータ
d,,・・・・・・,dp,それぞれについてN個のデ
ータに対する同一データの数m,,・・・・・・,mM
が決められ、前記77でNoであれば「ステータスがP
2か?」79へ行き、ここでYesならば「N個のデー
タに対し各データ値と同一値のデータがいくつあるかを
P2個についてのみ教える」80でP2個のデー外こつ
いて同一データ数m,,・・・・・・,mp2が決めら
れ、前記79でNoであれば「N個のデー外こ対し各デ
ータ値と同一値のデータがいくつあるかをP3個につい
てのみ教える」81へ行きP3個のデータについてm・
’……,mp3が決められる。
``Shift the previous weight data sequentially'' 75, ``Read the current data'' 76, then proceed to ``Is the status P?'' 77, and if Yes here, ``Shift the data of N value''. 78, P. tells us how many pieces of data have the same value as each data value. Number of identical data m, ,...,mM for N data for each data d,,...,dp,
is determined, and if No in 77, “Status is P” is determined.
2? ” 79, and if Yes here, “Tell how many data items have the same value as each data value for N data items only for P2 items.” At 80, the number of identical data m, ,...,mp2 is determined, and if No in 79 above, go to 81 "Tell how many pieces of data have the same value as each data value among N pieces of data only for P3 pieces". Regarding P3 data m・
'..., mp3 can be decided.

そして、m,,……,mp,またはm,,……,mp2
またはm,,・・・・・・,mp3が決まると、「同一
値が最も多くかつ最も新しいデータ〇2を選ぶ」82で
P個(P=P,またはP2またはP3)のデータの内m
の値が最も大きくかっこの内の最も新しいデータ〇2が
選ばれ、83,84,85の比較処理フローを通って真
値が決まる。
and m,,...,mp, or m,,...,mp2
Or m,,...,mp3 is determined, ``Select data 〇2 that has the most identical values and is the newest'' 82.
The data 02 with the largest value and the newest in parentheses is selected, and the true value is determined through the comparison processing flow of steps 83, 84, and 85.

次に、第1図で示すように1/0ボート5の接地端子に
2個のステータススイッチA,B86,87を設け、第
6図における「D,の比較ありか」71の判断を決定す
る前記ふらつき防止処理用ステータス、切換機構45か
らのステータス信号の入力をふらつき防止処理フローの
途中2個所においてON,OFFを切換可能とすること
もでき、この場合のふらつき防止処理の一実施例を第8
図に示す。
Next, as shown in FIG. 1, two status switches A, B 86, 87 are provided at the ground terminal of the 1/0 boat 5, and the determination of "Is there a comparison of D" 71 in FIG. 6 is determined. The input of the status signal from the switching mechanism 45 for the wobbling prevention processing can be switched between ON and OFF at two points in the wobbling prevention processing flow. 8
As shown in the figure.

ここでは、ふらつき防止処理用ステータス切換機構45
により、N=8、P=3、M=5、k=5に設定してい
る。「キー処理」88、「前回のデータを順次シフトす
る」89、「今回のデータを謙込む」90を経て「8個
のデータの内新しい3個について同一値データの数を教
える」91でd,,d2,らについてm,,m2,恥が
決定され、次に「同一値のデー夕が5個以上あるか?」
92でm,,恥,m3のうち5以上があれば「同一値が
5個以上あるデータをレジスタ42に格納する」93で
mの値が5以上であるデータをRAM7内のレジスタ4
2に格納しこれを買値とするが、m,,m2,地のうち
5以上がなければ「同一値のデータが4個あるか?」9
4へ行き、ここで「m,,m2,池の内4があれば「ス
テータスSWAがONか?」95で比較処理を実行させ
るステータス信号の入力があるかないかを判断し、ステ
ータスSWA86がONであれば“実行せず”として「
4個同一値をもつデータが2個以上あれば新しい方をレ
ジスタ42に格納する」96でmの値が4であるデータ
でかつ新しい方のデータをレジスタ42に格納しこれを
真値とするが、ステータスSWA86がOFFであれば
“実行”として「4個同一値をもつデータが2個以上あ
れば新しい方をレジスタ43に格納する」97でmの値
が4であるデータでかつ新しい方のデータをRAM7内
のレジスタ43に格納する。
Here, the status switching mechanism 45 for preventing wobbling
Therefore, N=8, P=3, M=5, and k=5 are set. After ``key processing'' 88, ``shift previous data sequentially'' 89, and ``lower current data'' 90, d at ``tell the number of same value data for 3 new data among 8 data'' 91. ,,d2, et al., m,,m2, shame is determined, and the next question is "Are there 5 or more data with the same value?"
At 92, if there are 5 or more of m, shame, m3, "data with 5 or more identical values will be stored in register 42" at 93, data where the value of m is 5 or more is stored in register 4 in RAM 7.
2 and use this as the purchase price, but if there are no more than 5 of m,, m2, and ground, "Are there 4 pieces of data with the same value?" 9
4, and here if there is ``m,, m2, 4 inside the pond, ``Is the status SWA ON?'' At 95, it is determined whether there is a status signal input to execute the comparison process, and the status SWA 86 is ON. If so, select “Do not execute” and select “
4If there are two or more pieces of data with the same value, store the new one in the register 42.'' At 96, store the new data whose m value is 4 in the register 42, and make this the true value. However, if the status SWA 86 is OFF, it is "executed" and "if there are two or more pieces of data with the same value, store the newer one in the register 43" 97, and the data whose m value is 4 and the newer one is The data is stored in the register 43 in the RAM 7.

また、前記94においてm,,m2,恥の内4が1つも
なければ「同一値のデータが3個あるか?J 98へ行
き、ここでm,,m2,m3の内3があれば「3個同一
値をもつデータが2個以上あれば新しい方をレジスタ4
3に格納する」99でmの値が3であるデータでかつ新
しい方のデータをレジスタ43に格納するが、m,,m
2,m3の内3がなければ「同一値のデータが2個ある
か?」100へ行き、ここでm,,m2,m3の内2が
あれば「2個同一値をもつデータが2個以上あれば新し
い方をレジスタ43に格納する」101でmの値が2で
あるデータでかつ新しい方のデータをレジスタ43に格
納し、またml,叫,恥の内2が1つもなければ「今回
のデータを選びレジスタ43に格納する」102で最も
新しいデータd,を選びレジスタ43に格納する。この
ようにして、g7,99,101,102のいずれかで
レジスタ43に〇2が格納されると、次に「ステータス
SWBがONか?」103で比較処理を実行させるステ
ータス信号の入力があるかないかを判断し、ステータス
スイッチB87がONであれば“実行せず”として直ぐ
に「〇2を選ぶ」104へ行きレジスタ43内のデータ
〇2を真値とするが、ステータススイッチB87がOF
Fであれば“実行”として「レジスタ42のデータD.
とレジスタ43のデータ〇2を比較する」105で今回
選ばれたレジスタ42内のデー夕〇2の値と今回以前に
レジスタ43に格納されたデータD,の値を比較し、「
比較した差が土5カウント以下か?」106でD′2と
D,の値の差が±5以下であればrD,を選ぶ」107
へ行きレジスタ42内のデータD,を真値とし、また〇
2とD,の値の差が土5より大きく違っていれば「〇2
を選ぶ」104へ行きデータ〇2を真値とする。
In addition, if there is no 4 among m,, m2, shame in the above 94, "Are there 3 pieces of data with the same value? Go to J 98, and if there is 3 among m,, m2, m3, " If there are two or more pieces of data with the same three values, the newer one is transferred to register 4.
"99, the newer data whose m value is 3 is stored in the register 43, but m,,m
If there is no 3 out of 2, m3, go to ``Are there 2 pieces of data with the same value?'' 100, and if there is 2 out of m,, m2, m3, ``There are 2 pieces of data with the same value?'' If the value of m is 2, store the newer data in the register 43. If there is no 2 among ml, scream, and shame, then store the new one in the register 43. Select the current data and store it in the register 43.'' At 102, the newest data d is selected and stored in the register 43. In this way, when ○2 is stored in the register 43 at any of g7, 99, 101, and 102, a status signal is input to execute the comparison process at 103, "Is status SWB ON?" If the status switch B87 is ON, it is set as "not executed" and the process immediately goes to "Select 〇2" 104, where the data 〇2 in the register 43 is set as the true value, but the status switch B87 is OFF.
If it is F, it is "execution" and "data D of register 42.
Compare the value of the data 〇2 in the register 42 selected this time in step 105 with the value of the data D stored in the register 43 before this time.
Is the difference in comparison less than 5 counts? ``If the difference between the values of D'2 and D is ±5 or less in 106, select rD.'' 107
Go to the register 42 and set the data D, in the register 42 as the true value, and if the difference between the values of 〇2 and D, is larger than 〇2
Go to 104 and set data 〇2 as the true value.

以上のようにして、真値として選ばれたデータは、「オ
ートゼロ、トラッキング、風袋引処理」108で現在言
日量されている物品の重量カウントデータとみなし、以
後オートゼロ、風袋処理される重量データに使用される
。なお、この実施例ではN=8、P=3、M=5と設定
した場合について述べたが、これに限らず、個々の使用
場所の環境条件例えば振動が少ない場所多い場所等に適
応してN,P,Mの値をそれぞれ切換変更することがで
きる。本発明によれば、デジタル量としてサンプリング
された最も新しい重量データを含み順次4個以上N個の
重量データを格納し、まず第1に、予定された数量M個
以上の同一データ○,があった場合このD,を現在計量
されている物品の重量値とみなしD,を一時記憶すると
同時に現在計量されている物品の重量値とし、第2に、
予定された数量M個以上の同一データがない場合はN個
格納されている重量データより各重量デー外こ対し同一
値がいくつあるかを数え同一値が最も多い数L(くM)
をもつ重量データD2を選び、第3に、違った重量デー
タがそれぞれL個の同一値をもっている場合はその内の
最も新しい重量データ〇2を選び、第4に、前記第2ま
たは第3によって選ばれたデータ〇2(D2)に対し今
回以前に選ばれたD,を比較しその重量データ値の差が
予定の重量値k以内で違っているときはD,を現在計量
されている物品の重量値とみなし、D′2とD,の重量
データ値の差がkより大きく違っているときはD′2を
現在計量されている物品の重量値とみなしてデジタル的
に童量デ−夕の振動を炉波処理し重量値のふらつき防止
処理するものにおいて、NまたはMの値を変更できるよ
うにしたので、例えば使用場所での振動やノイズが少な
い場合にはデータのふらつきの現象も少ないためNまた
はMの値を少なくしたふらつき防止処理に変えることに
より、ふらつき防止処理が簡単になり真値データが表示
される応答速度が速まり表示遅れを軽減させることがで
き、装置の備えつける場所の振動あるいはノイズ等によ
る個々の環境条件に応じて最適なふらつき防止処理方法
を容易に選択変更でき、特に人間の視覚で遅れを感ずる
ような長いサンプリング周期をもった秤りとかまたはサ
ンプリング周期は短いがふらつき防止処理に必要とする
サンプリング数が多く人間の視覚で遅いと感ずるほどの
時間遅れがある場合において、応答速度を変更してふら
つき防止処理による表示遅れを適宜容易に調整すること
ができ、このため秤りとしての性能を著しく変化させる
ことができ、極めて融通性に富むものである。
As described above, the data selected as the true value is regarded as the weight count data of the article currently weighed in the "auto zero, tracking, tare processing" 108, and the weight data to be auto zeroed and tared from now on. used for. In addition, in this embodiment, the case where N=8, P=3, and M=5 are set has been described, but the setting is not limited to this. The values of N, P, and M can be switched and changed, respectively. According to the present invention, 4 or more N pieces of weight data including the newest weight data sampled as a digital quantity are sequentially stored, and first of all, if there is a scheduled quantity of M or more pieces of the same data ○, In this case, this D is regarded as the weight value of the article currently being weighed, and D is temporarily stored and simultaneously set as the weight value of the article currently being weighed.Secondly,
If there is no identical data for the planned quantity M or more, count the number of identical values outside of each weight data from the N stored weight data, and calculate the number L (kM) with the largest number of identical values.
Thirdly, if different weight data each have L same values, select the newest weight data D2 among them, and fourthly, according to the second or third Compare the selected data 〇2 (D2) with D, which was selected before this time, and if the difference in the weight data value is within the planned weight value k, D, is the article currently being weighed. If the difference between the weight data values of D'2 and D is greater than k, D'2 is regarded as the weight value of the item currently being weighed and the weight data is digitally calculated. In the device that uses furnace wave processing to prevent evening vibrations and prevents fluctuations in weight values, we have made it possible to change the value of N or M, so if there is little vibration or noise at the place of use, for example, the phenomenon of data fluctuations can be avoided. Therefore, by changing to the fluctuation prevention processing that reduces the value of N or M, the fluctuation prevention processing becomes easier, the response speed for displaying the true value data becomes faster, and the display delay can be reduced. You can easily select and change the optimal anti-wobble treatment method depending on the individual environmental conditions such as vibration or noise in the place, especially when using a scale with a long sampling period or a sampling period that is so long that the human eye senses a delay. In cases where there is a short but large number of samples required for the wobbling prevention process and there is a time delay that is perceived as slow by human vision, the display delay due to the wobbling prevention process can be easily adjusted as appropriate by changing the response speed. Therefore, the performance as a scale can be changed significantly, and it is extremely flexible.

また、上記第4の比較処理を実行しない場合とする場合
とに切換変更可能とすることにより、2者間のふらつき
防止処理時間すなわち応答速度の差が極めて大きく、し
かもデータ値の変化の大小に拘らず応答速度が切換変更
できるため、より最適なふらつき防止処理の選択が容易
となる。
In addition, by making it possible to switch between not executing and executing the fourth comparison process, the difference in the wander prevention process time, that is, the response speed, between the two is extremely large, and the difference in the magnitude of the change in data value is also very large. Since the response speed can be switched and changed regardless of the situation, it becomes easy to select the most suitable wobbling prevention process.

また、サンプリングされたN個のデータのうち最も新し
いP個のデータ値に対してのみN個のデータから同一デ
ータ数を数えてふらつき防止処理するようにしたものに
おいて、Pの値を変更可能とすることにより、データ値
間の照合時間や選択時間を容易に変化させることができ
、これにより表示が安定状態を保持する長短が変化され
るとともに応答速度、表示遅れの変更が簡単にでき、環
境条件に適応したふらつき防止処理が行なえる。
In addition, in a system in which the number of identical data is counted from the N data only for the newest P data values among the N data sampled, and the fluctuation prevention processing is performed, the value of P can be changed. By doing so, it is possible to easily change the comparison time and selection time between data values, which changes the length of time the display remains stable, and also allows the response speed and display delay to be easily changed. It is possible to perform wobbling prevention processing adapted to the conditions.

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

第1図は本発明を電子料金秤りに適用した場合の一実施
例を示す回路構成の系統図、第2図は同上データ処理過
程を示す簡単な流れ図、第3図は同上RAM内容を示す
RAMマップ図、第4図はNの値を変更可能とした場合
のふらつき防止処理方法の一例を示すフロー図、第5図
はMの数を変更可能とした場合のふらつき防止処理方法
の一例を示すフロー図、第6図は比較処理フローを実行
しないかするかを切換可能とした場合のふらつき防止処
理方法の一例を示すフロー図、第7図はPの値を変更可
能とした場合のふらつき防止処理方法の一例を示すフロ
ー図、第8図はステータススイッチA,Bを設けた場合
のふらつき防止処理方法の一実施例を示すフロー図であ
る。 45…・・・Nの切換変更、Mの切換変更、比較処理フ
ローの実行有無の切換およびPの切換変更をするための
切換機構としてのふらつき防止処理用ステータス切灘機
構。 ○ ’図 第4図 弊2図 第5 6図 ワ図 鴇8図
Fig. 1 is a system diagram of a circuit configuration showing an example of applying the present invention to an electronic fare scale, Fig. 2 is a simple flowchart showing the data processing process of the above, and Fig. 3 shows the contents of the RAM of the above. A RAM map diagram, Fig. 4 is a flow diagram showing an example of a method for preventing wobbling when the value of N can be changed, and Fig. 5 shows an example of a method for preventing wobbling when the number of M can be changed. 6 is a flowchart showing an example of a method for preventing wobbling when the comparison processing flow can be switched between execution and non-execution. FIG. 7 is a flowchart showing an example of a method for preventing wobbling when the value of P can be changed. FIG. 8 is a flow diagram showing an example of a method for preventing wobbling when status switches A and B are provided. 45...Status switching mechanism for wobbling prevention processing as a switching mechanism for changing the switching of N, changing the switching of M, switching whether or not to execute the comparison process flow, and changing the switching of P. ○ Figure 4 Figure 2 Figure 5 Figure 6 Figure Wa Figure 8

Claims (1)

【特許請求の範囲】 1 デジタル量としてサンプリングされた最も新しい重
量データを含み順次4個以上N個の重量データを格納し
、まず第1に、予定された数量M個以上の同一データD
_1があつた場合このD_1を現在計量されている物品
の重量値とみなしD_1を一時記憶すると同時に現在計
量されている物品の重量値とし、第2に、予定された数
量M個以上の同一データがない場合はN個格納されてい
る重量データより各重量データに対し同一値がいくつあ
るかを数え同一値が最も多い数L(<M)をもつ重量デ
ータD_2を選び、第3に、違つた重量データがそれぞ
れL個の同一値をもつている場合はその内の最も新しい
重量データD′_2を選び、第4に、前記第2または第
3によつて選ばれたデータD′_2(D_2)に対し今
回以前に選ばれたD_1を比較しその重量データ値の差
が予定の重量値k以内で違つているときはD_1を現在
計量されている物品の重量値とみなし、D′_2とD_
1の重量データ値の差がkより大きく違つているときは
D′_2を現在計量されている物品の重量値とみなして
デジタル的に重量データの振動を濾波処理し重量値のふ
らつき防止処理するものにおいて、NまたはMの値を変
更できる切換機構を具備したことを特徴とする重量測定
装置。 2 デジタル量としてサンプリングされた最も新しい重
量データを含み順次4個以上N個の重量データを格納し
、まず第1に、予定された数量M個以上の同一データD
_1があつた場合このD_1を現在計量されている物品
の重量値とみなしD_1を一時記憶すると同時に現在計
量されている物品の重量値とし、第2に、予定された数
量M個以上の同一データがない場合はN個格納されてい
る重量データより各重量データに対し同一値がいくつあ
るかを数え同一値が最も多い数L(<M)をもつ重量デ
ータD_2を選び、第3に、違つた重量データがそれぞ
れL個の同一値をもつている場合はその内の最も新しい
重量データD′_2を選び、第4に、前記第2または第
3によつて選ばれたデータD′_2(D_2)に対し今
回以前に選ばれたD_1を比較しその重量データ値の差
が予定の重量値k以内で違つているときはD_1を現在
計量されている物品の重量値とみなし、D′_2とD_
1の重量データ値の差がkより大きく違つているときは
D′_2を現在計量されている物品の重量値とみなして
デジタル的に重量データの振動を濾波処理し重量値のふ
らつき防止処理するものにおいて、第4の比較処理を実
行しないで第2または第3によつて選ばれたデータD′
_2(D_2)を重量値とみなす場合と第4の比較処理
を実行する場合とに切換変更できる切換機構を具備した
ことを特徴とする重量測定装置。 3 デジタル量としてサンプリングされた最も新しい重
量データを含み順次4個以上N個の重量データを格納し
、まず第1に、N個の重量データのうち最も新しい重量
データより順次P個(1≦P≦N)に対してのみ同一デ
ータがN個のデータ内にいくつあるか数え、P個の重量
データ値のうち予定された数量M個以上の同一データD
_1があつた場合このD_1を現在計量されている物品
の重量値とみなしD_1を一時記憶すると同時に現在計
量されている物品の重量値とし、第2に、P個の重量デ
ータ値のうち予定された数量M個以上の同一データがな
い場合はP個の重量データから同一値が最も多い数L(
<M)をもつ重量データD_2を選び、第3に、P個の
重量データ値のうち違つた重量データがそれぞれL個の
同一値をもつている場合はその内の最も新しい重量デー
タD′_2を選び、第4に、前記第2または第3によつ
て選ばれたデータD′_2(D_2)に対し今回以前に
選ばれたD_1を比較しその重量データ値の差が予定の
重量値k以内で違つているときはD_1を現在計量され
ている物品の重量値とみなし、D′_2とD_1の重量
データ値の差がkより大きく違つているときはD′_2
を現在計量されている物品の重量値とみなしてデジタル
的に重量データの振動を濾波処理し重量値のふらつき防
止処理するものにおいて、Pの値を変更できる切換機構
を具備したことを特徴とする重量測定装置。
[Scope of Claims] 1. Four or more N pieces of weight data including the newest weight data sampled as digital quantities are sequentially stored, and first, a predetermined quantity of M or more pieces of the same data D is stored.
If __1 is found, this D_1 is regarded as the weight value of the article currently being weighed, D_1 is temporarily stored and at the same time is set as the weight value of the article currently being weighed, and secondly, the same data of the scheduled quantity M or more are stored. If there is no weight data, count the number of identical values for each weight data from among the N stored weight data, select the weight data D_2 with the largest number of identical values L (<M), and thirdly, calculate the difference. If the weight data that have been selected each have L pieces of the same value, the newest weight data D'_2 is selected among them, and fourthly, the data D'_2 ( D_2) is compared with D_1 selected before this time, and if the difference in weight data value is within the planned weight value k, D_1 is regarded as the weight value of the article currently being weighed, and D_2 is and D_
When the difference between the weight data values of 1 is greater than k, D'_2 is regarded as the weight value of the item currently being weighed, and vibrations in the weight data are digitally filtered to prevent fluctuations in the weight value. 1. A weight measuring device comprising a switching mechanism capable of changing the value of N or M. 2. Store 4 or more N pieces of weight data sequentially, including the newest weight data sampled as a digital quantity, and first store the same data D of a planned quantity of M or more pieces.
If __1 is found, this D_1 is regarded as the weight value of the article currently being weighed, D_1 is temporarily stored and at the same time is set as the weight value of the article currently being weighed, and secondly, the same data of the scheduled quantity M or more are stored. If there is no weight data, count the number of identical values for each weight data from among the N stored weight data, select the weight data D_2 with the largest number of identical values L (<M), and thirdly, calculate the difference. If the weight data that have been selected each have L pieces of the same value, the newest weight data D'_2 is selected among them, and fourthly, the data D'_2 ( D_2) is compared with D_1 selected before this time, and if the difference in weight data value is within the planned weight value k, D_1 is regarded as the weight value of the article currently being weighed, and D_2 is and D_
When the difference between the weight data values of 1 is greater than k, D'_2 is regarded as the weight value of the item currently being weighed, and vibrations in the weight data are digitally filtered to prevent fluctuations in the weight value. data D' selected by the second or third without executing the fourth comparison process.
A weight measuring device comprising a switching mechanism capable of switching between a case where _2 (D_2) is regarded as a weight value and a case where a fourth comparison process is executed. 3. Store 4 or more N weight data sequentially including the newest weight data sampled as a digital quantity, and first store P pieces (1≦P) of the N weight data sequentially starting from the newest weight data. ≦N), count how many identical data exist in N data, and calculate the planned quantity M or more identical data D out of P weight data values.
If _1 is found, this D_1 is regarded as the weight value of the article currently being weighed, D_1 is temporarily stored and at the same time is set as the weight value of the article currently being weighed. If there is no identical data for quantity M or more, calculate the number L (with the highest number of identical values from P weight data)
<M), and thirdly, if different weight data among the P weight data values each have L same values, select the newest weight data D'_2 among them. , and fourthly, the data D_2 (D_2) selected by the second or third method is compared with the data D_1 selected before this time, and the difference in the weight data values is determined as the planned weight value k. If the difference is within the range, D_1 is regarded as the weight value of the item currently being weighed, and if the difference between the weight data values of D'_2 and D_1 is greater than k, D_1 is considered as the weight value of the item currently being weighed.
is regarded as the weight value of the article currently being weighed, and digitally filters vibrations in the weight data to prevent fluctuations in the weight value, and is characterized by being equipped with a switching mechanism that can change the value of P. Weight measuring device.
JP7515478A 1978-06-20 1978-06-20 weight measuring device Expired JPS6032811B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7515478A JPS6032811B2 (en) 1978-06-20 1978-06-20 weight measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7515478A JPS6032811B2 (en) 1978-06-20 1978-06-20 weight measuring device

Publications (2)

Publication Number Publication Date
JPS551578A JPS551578A (en) 1980-01-08
JPS6032811B2 true JPS6032811B2 (en) 1985-07-30

Family

ID=13567995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7515478A Expired JPS6032811B2 (en) 1978-06-20 1978-06-20 weight measuring device

Country Status (1)

Country Link
JP (1) JPS6032811B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019013067A1 (en) 2017-07-12 2019-01-17 国立大学法人九州大学 Force control device, force control method, and force control program

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56124023A (en) * 1980-03-05 1981-09-29 Toyo Baldwin:Kk Actual measurement and calibration control method based on inspection records of weighing scale
JPS57157120A (en) * 1981-03-24 1982-09-28 Kubota Ltd Electronic weight measuring device
JPS58108417A (en) * 1981-12-22 1983-06-28 Tokyo Electric Co Ltd Display flicker control system for electronic balance
JPS61250522A (en) * 1985-04-26 1986-11-07 Kawasaki Heavy Ind Ltd Method for detecting weight of loading article and working vehicle with apparatus for detecting weight of loading article utilizing said method
JP2562876B2 (en) * 1986-05-07 1996-12-11 大和製衡 株式会社 Weighing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019013067A1 (en) 2017-07-12 2019-01-17 国立大学法人九州大学 Force control device, force control method, and force control program

Also Published As

Publication number Publication date
JPS551578A (en) 1980-01-08

Similar Documents

Publication Publication Date Title
JPS6052365B2 (en) Weight measurement method and device
US5300736A (en) Adaptive timing in-motion checkweigher
US4951763A (en) Checkweigher
US4660662A (en) Digital electronic scale with stabilized display
JP2848219B2 (en) Image display device and image display method
JPH0354420A (en) Electronic balance
JPS6032811B2 (en) weight measuring device
JPH03237347A (en) High-precision parameter-value measuring device and manufacture thereof
EP0388523B1 (en) Apparatus for displaying residual capacity of battery
CA1106064A (en) Digital scale
EP0117132A2 (en) Double integrating-type analog-to-digital converter
US4204197A (en) Digital scale
JPH0569173B2 (en)
JP2703160B2 (en) Electronic scales
JP3942059B2 (en) Gas detector
JPS63309823A (en) Electronic balance
JPH03282331A (en) Electronic balance
JPS62140071A (en) Drive apparatus for cross coil type meter
JPS6230368B2 (en)
JPH0348452B2 (en)
KR830001318Y1 (en) Electronic repeater
JPH0640020B2 (en) Electronic balance
JPS6126892Y2 (en)
JPS6029048B2 (en) Digital weighing device
JPH0226732B2 (en)