JPS6029048B2 - Digital weighing device - Google Patents

Digital weighing device

Info

Publication number
JPS6029048B2
JPS6029048B2 JP14732379A JP14732379A JPS6029048B2 JP S6029048 B2 JPS6029048 B2 JP S6029048B2 JP 14732379 A JP14732379 A JP 14732379A JP 14732379 A JP14732379 A JP 14732379A JP S6029048 B2 JPS6029048 B2 JP S6029048B2
Authority
JP
Japan
Prior art keywords
weight
count
value
zero
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
JP14732379A
Other languages
Japanese (ja)
Other versions
JPS5670422A (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 JP14732379A priority Critical patent/JPS6029048B2/en
Publication of JPS5670422A publication Critical patent/JPS5670422A/en
Publication of JPS6029048B2 publication Critical patent/JPS6029048B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は計量値をパルス数に変換してディジタル表示
するディジタル式重量測定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital weight measuring device that converts a weight value into a pulse number and displays it digitally.

一般にディジタル式重量測定装置は、ロードセル等のセ
ンサーを使用して重量を検出し、その重量検出出力を増
幅器に増幅してからA/D変換器によって出力レベルに
対応したパルス数信号に変換し、そのパルス数信号をデ
ータ処理装置に入力して重量データに変換し、それをデ
ィジタル表示するようにしている。
Generally, a digital weight measuring device detects weight using a sensor such as a load cell, amplifies the weight detection output in an amplifier, and then converts it into a pulse number signal corresponding to the output level by an A/D converter. The pulse number signal is input to a data processing device and converted into weight data, which is then displayed digitally.

従来、このようなディジタル式重量測定装置において秤
量の異なる2台の重量測定装置を製造する場合、例えば
重量センサーを交換したり、増幅器の増幅度を調整した
りあるいはA/D変換器の分解館を調整したりする必要
があり、1台の重量測定装置を秤量を切替えて2台分と
して使用しようとすると2台の重量測定装置を製造する
のと同程度の工程時間およびコストがかかる問題があっ
た。
Conventionally, when manufacturing two weight measuring devices with different weighing capacities in such digital weight measuring devices, for example, it is necessary to replace the weight sensor, adjust the amplification degree of the amplifier, or disassemble the A/D converter. If you try to use one weighing device as two weighing devices by changing its weighing capacity, it will take the same amount of process time and cost as manufacturing two weighing devices. there were.

この発明はこのような問題を解決するために考えられた
もので、秤量あるいは精度の異なる2台の秤りを簡単な
切替え操作によって容易に得ることができるとともに経
済性にすぐれ、しかも切替えられる各秤りがそれぞれ適
正なオートゼロ処理を行なうことができるディジタル式
重量測定装置を提供することを目的とする。
This invention was devised to solve these problems, and it is possible to easily obtain two scales with different weights or precisions by a simple switching operation, and is highly economical. It is an object of the present invention to provide a digital weight measuring device in which each scale can perform proper auto-zero processing.

以下、この発明の実施例を図面を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.

第1図において1はロードセル等からなる重量検出部で
で、この検出部1‘ま被計量物の重さに対応した電圧信
号を出力するようにしている。
In FIG. 1, reference numeral 1 denotes a weight detecting section consisting of a load cell or the like, and this detecting section 1' outputs a voltage signal corresponding to the weight of the object to be weighed.

前記重量検出部1から出力される電圧信号は差動増幅器
2で増幅され、さらにロ−パスフィルタ3で雑音等の高
周波成分がカットされてA/D変換器4に入力されるよ
うになっている。前記A/D変換器4は例えば2重積分
方式のもので、200のsecに1回サンプIJングを
くり返えしつつ入力電圧に対応したディジタル信号を出
力するようにしている。そして例えば1のこつき2パル
スのディジタル信号が出力されるように調整されている
。前記A/D変換器4でサンプリングされたディジタル
な重量デ−夕は1/0のボート5を介してデータ処理装
置6に供給されるようになっている。前記データ処理装
置6はCPU(中央処理ユニット)7、RAM(ランダ
ム・アクセス・メモリ)8、ROM(リード・オンリ・
メモリ)9からなり、これらCPU7,RAM8,RO
M9と前記1/0ボート5とはデータ・バス10、アド
レス・バス11によって結合されデータ交換が行なえる
ようになってる。また前記CPU7,RAM8,ROM
9は前記データ・バス10、アドレス・バス11を介し
て表示器12およびキーボード13を制御する表示器お
よびキーボードコントローラ14とも結合されデータ交
換が行なえるようになっている。前記1/0ボート5に
は15k9ノ6k9切替えスイッチ15から信号が入力
されるようになっている。前記RMM8は第2図に示す
ように例えば16×16の256ワード構成で各ワード
が4ビットからなり、各種レジス夕や各種フラグメモリ
等を形成している。前言印AM8の主なメモリ構成を各
ヮ‐ドをM〔X,Y〕で示し、かつ各ビットを<>で示
して述べると、M〔F,1〕を1目盛の単位を設定する
ための1目盛レジスタに形成し、M〔F,2〕〜M〔0
,2〕をアキユームレ−夕に形成し、M〔F,4〕〜M
〔0,4〕をキューバッフアレジス夕に形成している。
またM〔F,5〕〜M〔A,5〕を値段表示レジスタに
形成、M〔9,5〕〜M〔5,5〕を単価表示レジスタ
に形成し、M〔4,5〕〜M〔0,5〕を重量表ホレジ
スタに形成し、M〔F,6〕〜M〔0,6〕をワーキン
グレジスタに形成し、かつM〔F,9〕〜M〔0,9〕
を表示内容記憶し‐ジスタに形成している。またM〔F
,A〕〜M〔B,A〕を正味重量カウントレジスタに形
成し、M〔A,A〕〜M〔6,A〕を重量カウント値入
力レジスタに形成し、M〔E,B〕〜M〔A,B〕を重
量ゼロ値しジスタに形成し、かつM〔4,B〕〜M〔0
,B〕を美重量カウントレジス外こ形成している。また
M〔8,C〕〜M〔4,C〕を風袋量カウントレジスタ
に形成し、M〔F,C〕、M〔E,C〕、M〔2,D〕
〜M〔0,D〕を重量真値しジス夕に形成し、M〔7,
D〕〜〔3,D〕を安定重量カウントレジスタに形成し
ている。さらにM〔C,D〕〜M〔8,D〕を重量カウ
ントレジスタ凶,M〔F,D〕〜M〔D,D〕、M〔1
,E〕、M〔0,E〕を重量カウントレジスタ‘B’,
M〔6,E〕〜M〔2,E〕を重量カウントレジスタ{
q,M〔B,E〕〜M〔7,E〕を重量カウントレジス
タ‘D},M〔F,E〕〜M〔C,B〕、M〔0,F〕
を重量カウントレジスタ(E},M〔5,F〕〜M〔1
,F〕を重量カウントレジスタ‘F’,M〔A,F〕〜
M〔6,F〕を重量カウントレジスタ(G},M〔F,
F〕〜M〔B,F〕を重量カウントレジスタ皿にそれぞ
れ形成している。さらにM〔0,3〕<1>をゼロ点オ
ーバフラグメモリ、M〔0,3〕<2>を重量オーバフ
ラグメモリ、M〔3,3〕<2>を15k9フラグメモ
リ、M〔3,3〕<3>を6k9フラグメモリに形成し
ている。
The voltage signal output from the weight detecting section 1 is amplified by a differential amplifier 2, and furthermore, high frequency components such as noise are cut by a low-pass filter 3, and then input to an A/D converter 4. There is. The A/D converter 4 is of a double integration type, for example, and outputs a digital signal corresponding to the input voltage while repeating sampling IJ once every 200 seconds. For example, it is adjusted so that a digital signal of 2 pulses per 1 pulse is output. The digital weight data sampled by the A/D converter 4 is supplied to a data processing device 6 via a 1/0 port 5. The data processing device 6 includes a CPU (Central Processing Unit) 7, a RAM (Random Access Memory) 8, and a ROM (Read Only Memory).
memory) 9, these CPU7, RAM8, RO
M9 and the 1/0 port 5 are coupled by a data bus 10 and an address bus 11 so that data can be exchanged. In addition, the CPU 7, RAM 8, ROM
9 is also connected to a display and keyboard controller 14 for controlling a display 12 and a keyboard 13 via the data bus 10 and address bus 11, so that data can be exchanged. A signal is input to the 1/0 boat 5 from a 15k9 to 6k9 changeover switch 15. As shown in FIG. 2, the RMM 8 has, for example, a 16×16 256-word structure, each word consisting of 4 bits, and forms various registers, various flag memories, and the like. The main memory configuration of the prefix AM8 is described by indicating each word as M[X, Y] and each bit as <>. M[F, 1] is used to set the unit of one scale. M[F,2] to M[0
, 2] are formed into an accumulation layer, and M[F, 4] to M
[0,4] is formed in the queue buffer.
Also, M[F,5] to M[A,5] are formed as price display registers, M[9,5] to M[5,5] are formed as unit price display registers, and M[4,5] to M [0,5] is formed in the weight table register, M[F,6] to M[0,6] are formed in the working register, and M[F,9] to M[0,9]
The display contents are memorized and formed into registers. Also M [F
, A] to M[B, A] are formed in the net weight count register, M[A, A] to M[6, A] are formed in the weight count value input register, and M[E, B] to M [A, B] is set to zero weight value and formed into a register, and M[4, B] to M[0
, B] are formed on the outside of the beautiful weight count register. Also, M[8,C] to M[4,C] are formed in a tare weight count register, and M[F,C], M[E,C], M[2,D]
〜M[0,D] is the true weight value and formed into the same shape, M[7,
D] to [3, D] are formed into stable weight count registers. Furthermore, M[C, D] to M[8, D] are transferred to the weight count register, M[F, D] to M[D, D], M[1
, E], M[0, E] as weight count register 'B',
M [6, E] ~ M [2, E] in the weight count register {
q, M [B, E] ~ M [7, E] as weight count register 'D}, M [F, E] ~ M [C, B], M [0, F]
into the weight count register (E}, M[5,F] to M[1
, F] to the weight count register 'F', M[A, F]~
M [6, F] is set to the weight count register (G}, M [F,
F] to M[B, F] are respectively formed on the weight count register plate. Furthermore, M[0,3]<1> is a zero point over flag memory, M[0,3]<2> is a weight over flag memory, M[3,3]<2> is a 15k9 flag memory, M[3, 3] <3> is formed in the 6k9 flag memory.

前記CPU7はROM9に設定されているプログラムに
もとづいてRAM8を制御するがそのメインプログラム
制御は第3図に示す流れ図にもとづいて行なわれるよう
になっている。
The CPU 7 controls the RAM 8 based on the program set in the ROM 9, and the main program control is performed based on the flowchart shown in FIG.

すなわち電源投入によってスタートされると先ず前処理
■が行なわれ、続いてキー処理■,A/D変換器4から
のカウントデータの取込み処理■、ちらつき処理■、オ
ートゼロ処理■および表示処理■が順次行なわれ表示処
理■が終了した後は上記キー処理■へりターンする。そ
して以後はこのキー処理■〜表示処理■までのル−チン
がくり返えされキー入力やカウントデータの取込みがあ
ったときには直ちに処理が行なえるように待機する。前
記前処理■においてはRAM8内をすべてクリアしたり
、表示器の全桁をゼロ表示して表示器チェックを行なう
In other words, when the power is turned on and the process is started, preprocessing (■) is performed first, followed by key processing (■), count data importing from the A/D converter 4 (■), flicker processing (■), auto-zero processing (■), and display processing (■) in sequence. After the display process (2) is completed, turn to the key process (2). Thereafter, the routine from key processing (1) to display processing (2) is repeated, and when a key input or count data is received, the routine is on standby so that processing can be performed immediately. In the pre-processing (2), everything in the RAM 8 is cleared, all digits on the display are displayed as zero, and the display is checked.

また続いてA/D変換器4からカウントデータを取込み
、そのデータをちらつき処理を行なって重量真値しジス
タに取込み、最終的に重量ゼロ値しジスタにゼロ値デー
タとして取込む。次に行なわれるキー処理■においては
、特にゼロキー(ゼロ点を定めるキー)の操作があった
とき第4図に示す流れ図にもとづく処理が行なわれる。
Subsequently, count data is taken in from the A/D converter 4, the data is subjected to flicker processing, the true weight value is taken in to the register, and finally the weight is set to zero and the data is taken in to the register as zero value data. In the next key process (2), especially when the zero key (key for determining the zero point) is operated, the process based on the flowchart shown in FIG. 4 is performed.

すなわちゼロキーが操作されると先ずアキュームレー外
こゼロ範囲の上限をロードする。これは例えばROM9
内に設定され、ゼロ点を設定する範囲としての上限値で
例えばプラス300カウントがロードされるようになる
。続いて15k9フラグメモリM〔3,3〕<3>に“
1”がセットされているか否かをチェックする。そして
“1”がセットされていれば現在重量買値レジスタに格
納されているカウント値がアキュームレータに格納され
ている300カウント以上が否かをチェックする。また
“0”であれアキュームレータのカウントデータを2.
5倍にし、かつ現在重量真値しジス外こ格納されている
カウント値がアキュームレータのカウント値以上か否か
をチェックする。そしてこのようなチェックによって重
量買値レジスタのカウント値がアキュームレータのカウ
ント値よりも小さければ上限は問題無しと判断し、次に
アキュームレータにゼロ範囲の下限であるマイナス30
0カウントをロードする。そしてこの場合も15k9フ
ラグメモリに“1”がセットされているか否かをチェッ
クし、“1”であればアキユームレータの内容をそのま
まにし、“0”であればアキュームレータの内容を2.
3音する。そして重量真値しジスタのカウント値の絶対
値とアキュームレータのカウント値の絶対値との大きさ
をチェックする。そして重量真値しジス夕の値がアキュ
ームレータの値よりも小さければ下限も問題無しと判断
し、そのときの重量真値しジスタのカウントデータを重
量ゼロ値しジスタに格納させてその値をゼロとする。し
たがって例えば切替えスイッチ15がONの状態におい
ては重量真値しジスタのカウント内容が絶対値士300
の範囲にあればゼロキーの操作によるゼロ設定が可能と
なる。これは重量で示せば1目盛5夕で10カウントに
おける絶対値+300であるから30目盛分すなわち絶
対値士150夕の範囲ということになる。また功替スイ
ッチ15がOFFの状態においては重量真値しジスタの
カウント内容が2.3音処理によって絶対値±750の
範囲にあればゼロキーの操作によるゼロ設定が可能とな
る。これは重量で示せば1目盛2夕で4カウント×2.
5=10カウントにおける絶対値士750であるから7
5目盛分すなわち絶対値士150夕の範囲ということに
なる。このように秤量が1郎夕の場合においても6k9
の場合においてもゼロキーの操作によるゼロ設定は絶対
値±150夕ということになる。またA/D変換器4か
らのカウントデータの取込み処理■においてはA/D変
換器からのカウントデータを重量カウント値入力レジス
タM〔A,A〕〜M〔6,A〕に取込む。
That is, when the zero key is operated, first the upper limit of the zero range outside the accumulator is loaded. This is for example ROM9
For example, plus 300 counts are loaded as the upper limit value as the range for setting the zero point. Next, “
Check whether "1" is set. If "1" is set, check whether the count value currently stored in the weight purchase price register is greater than or equal to 300 counts stored in the accumulator. .Also, even if it is “0”, the accumulator count data is 2.
Multiply the current weight by 5 and check whether the stored count value is greater than or equal to the accumulator count value. Through this check, if the count value of the weight purchase price register is smaller than the count value of the accumulator, it is determined that there is no problem with the upper limit, and then the accumulator is set to minus 30, which is the lower limit of the zero range.
Load 0 count. In this case as well, it is checked whether "1" is set in the 15k9 flag memory, and if it is "1", the contents of the accumulator are left as they are, and if it is "0", the contents of the accumulator are changed to 2.
It makes three sounds. Then, the magnitude of the absolute value of the count value of the weight true value and the count value of the register and the absolute value of the count value of the accumulator is checked. Then, if the true weight value and the current value are smaller than the accumulator value, it is determined that there is no problem with the lower limit, and the true weight value and the counter data at that time are set to zero weight value, stored in the register, and the value is set to zero. shall be. Therefore, for example, when the changeover switch 15 is ON, the true weight value and the count contents of the register are absolute value 300.
If it is within the range, zero setting is possible by operating the zero key. In terms of weight, one scale is 5 meters and the absolute value at 10 counts is +300, so it is a range of 30 scales, that is, an absolute value of 150 meters. Further, when the switching switch 15 is in the OFF state, if the true weight value and the count contents of the register are within the range of the absolute value ±750 by the 2.3 tone processing, zero setting is possible by operating the zero key. In terms of weight, this means 4 counts x 2 in 1 scale and 2 meters.
Since the absolute value at 5 = 10 counts is 750, it is 7.
This means a range of 5 scales, or 150 units of absolute value. In this way, even if the weight is 1 yen, 6k9
Even in this case, the zero setting by operating the zero key will be an absolute value of ±150 degrees. In addition, in the process (2) of taking in the count data from the A/D converter 4, the count data from the A/D converter is taken into the weight count value input registers M[A,A] to M[6,A].

またちらつき処理■においては重量カウント値入力レジ
スタに取込んだカウントデータを重量カウントレジスタ
■〜重量カウントレジスタ皿に順次取込みその各重量カ
ウントレジスタに取込んだカウントデータの前後の変化
を比較することによって安定重量カウントレジスタM〔
7,D〕〜M〔3,D〕の内容を変化させたりあるいは
そのま乳こ保持させることによってちらつきを防止する
ようにしている。そして前記安定重量カウントレジスタ
の内容から風袋量カウントレジスタの内容を減算した結
果が重量真値しジスタに取込まれるようになっている。
そしてこの重量真値しジス夕へのカウントデータの取込
み時に15k9フラグメモリ“0”であればカウントデ
ータを2.針音するようになる。またオートゼロ処理■
においては第5図に示すように先ず15k9/6k9切
替えスイッチ15のON,OFF状態を読む。そしてス
イッチ15がONのときには15k9フラグメモIJI
こ“1”をセットするとともに1目盛レジスタに5夕を
セットし、スイッチ15がOFFのときには15X9フ
ラグメモリを“0”にクリアするとともに1目盛レジス
タに2夕をセットする。こうして切替えスイッチ15が
ONのときには第2の計量手段として1目盛が5夕で1
0カウント、かつ秤量が15k9(30000カウント
)の秤りが形成され、また切替スイッチ1 5がOFF
のときには第1の計量手段として1目盛が2夕で4カウ
ント、かつ秤量が6k9(12000カウント)の秤り
が形成される。続いて15k9フラグメモリの内容をチ
ェックする。そして“1”であれば続いて6k9のフラ
グメモリの内容をチェックする。この6k9のフラグメ
モリのチェックにおいて“1’’であれば重量ゼロ値し
ジスタのカウント数を2.劫苦で除算する。続いて6k
9フラグメモリを“0”にクリアする。これは切替えス
イッチ15を15kgへ切替えたときの処理となる。ま
た6k9フラグメモリが“0”のときはそのままである
。また上記において15k9フラグメモリが“0”のと
きは6k9秤りとしての処理、即ち重量真値しジスタの
カウント値を2.5倍し、かつ重量ゼロ値しジスタのカ
ウント値を2.5倍し、さらに6k9フラグメモリに“
1”をセットする処理が行なわれる。このような処理が
終了すると続いて重量ゼロ値しジスタの内容と重量真値
しジスタの内容との差の絶対値がオートゼロ処理範囲の
5カウント以内になっているか杏かがチェックされる。
この場合秤量が15k9の秤物こおいても秤量が6k9
の秤物こおいても一律カウント数“5”としてオートゼ
ロ処理範囲を行なうのは6k9秤りのときは2.計音す
ることによって解決している。そして差の絶対値が5カ
ウント以内であれば重量真値しジスタの内容を重量ゼロ
値しジスタへ転送して新たなゼロ点を設定する。また実
重量カウントレジスタの内容をゼロクリアする。また差
の絶対値が5カウントより大きければ上記新たなゼロ点
設定処理は行なわれない。このような処理が終了すると
続いて新たなゼロ点が予め設定されているゼロ範囲に入
っているか杏かをチェックする。このチェックはゼロ点
オーバフラグの処理と比較対象が重量ゼロ値しジスタの
内容であることを除いては前記においてゼロキーが操作
された場合と同じ過程で処理される。すなわちまずアキ
ユームレー夕にゼロ範囲の上限をロードする。続いて1
5k9フラグメモリが“1”であるか否かをチェックし
、“0”であればアキュームレー夕の内容を2.5倍に
する。また“1”であればアキュームレー夕の内容をそ
のまま保持する。続いてアキュームレー夕の内容と重量
ゼロ値しジスタの内容を比較し、重量ゼロ値しジスタの
内容がアキュームレータの内容以上であればゼロ点オー
バフラグに‘‘1”をセットする。重量ゼロ値しジスタ
の内容がアキュームレータの内容よりも小さければゼロ
点オーバフラグメモリは“0”のままとなる。続いてア
キュームレータにゼロ範囲の下限をロードする。そして
15k9フラグメモリが“1”か否かをチェックする。
15kgフラグメモリが“0”であればアキユームレー
タの内容を2.5倍する。
In addition, in flicker processing (■), the count data taken into the weight count value input register is sequentially taken into the weight count register (■) ~ weight count register pan, and the changes before and after the count data taken into each weight count register are compared. Stable weight count register M [
Flickering is prevented by changing the contents of [7, D] to M[3, D] or keeping them as they are. The contents of the tare weight count register are subtracted from the contents of the stable weight count register, and the result is the true weight value and is stored in the register.
If the 15k9 flag memory is "0" when the count data is taken into the true weight register, the count data is set to 2. It starts to make a tingling sound. Also auto zero processing■
As shown in FIG. 5, first, the ON/OFF state of the 15k9/6k9 selector switch 15 is read. And when switch 15 is ON, 15k9 flag memo IJI
This is set to "1" and 5 evenings is set in the 1 scale register, and when the switch 15 is OFF, the 15x9 flag memory is cleared to "0" and 2 evenings is set in the 1 scale register. In this way, when the changeover switch 15 is ON, one scale is 1 in 5 meters as the second measuring means.
A scale with a count of 0 and a weight of 15k9 (30,000 counts) is formed, and the changeover switch 1 to 5 is turned off.
At this time, a scale is formed as the first measuring means, with one scale having 4 counts in 2 days and a weighing capacity of 6k9 (12,000 counts). Next, the contents of the 15k9 flag memory are checked. If it is "1", then the contents of the 6k9 flag memory are checked. When checking the flag memory of 6k9, if it is "1", the weight is zero, and the count number of the register is divided by 2.
Clear the 9 flag memory to “0”. This is the process when the selector switch 15 is switched to 15 kg. Further, when the 6k9 flag memory is "0", it remains unchanged. Also, in the above, when the 15k9 flag memory is "0", it is processed as a 6k9 weigher, that is, the weight is set to the true value, the count value of the jister is multiplied by 2.5, and the weight is set to zero, and the count value of the jister is multiplied by 2.5. and further stores “ in the 6k9 flag memory.
1" is performed. When this process is completed, the absolute value of the difference between the weight zero value register contents and the weight true value register contents is within 5 counts of the auto zero processing range. It is checked whether it is or not.
In this case, even if a weighing item with a weight of 15k9 is used, the weight is 6k9.
Even when using a 6k9 scale, the auto-zero processing range is performed with a uniform count of "5". This is solved by measuring the sound. If the absolute value of the difference is within 5 counts, the weight is set to the true value, the contents of the register are converted to a weight zero value, and the contents of the register are transferred to the register to set a new zero point. Also, the contents of the actual weight count register are cleared to zero. Further, if the absolute value of the difference is greater than 5 counts, the above new zero point setting process is not performed. When such processing is completed, it is then checked whether the new zero point is within a preset zero range. This check is performed in the same manner as when the zero key is operated, except that the zero point over flag is processed and the object of comparison is the zero weight value and the contents of the register. That is, first load the upper limit of the zero range into the storage register. followed by 1
It is checked whether the 5k9 flag memory is "1" or not, and if it is "0", the contents of the accumulator are multiplied by 2.5. If it is "1", the contents of the accumulator are held as they are. Next, compare the contents of the accumulator with the zero weight value and the contents of the register, and if the zero weight value and the contents of the register exceed the contents of the accumulator, set the zero point over flag to ``1''. If the contents of the register are smaller than the contents of the accumulator, the zero point over flag memory remains "0".Then, load the lower limit of the zero range into the accumulator.Then check whether the 15k9 flag memory is "1" or not. do.
If the 15kg flag memory is "0", the contents of the accumulator are multiplied by 2.5.

また“1”であればアキユームレータの内容をそのまま
保持する。アキュームレ−夕の内容の絶対値と重量ゼロ
値しジスタの内容の絶対値とを比較し、重量ゼロ値しジ
ス夕の内容がアキュームレータの内容以上であればゼロ
点オーバフラグに“1”をセットし、またアキユームレ
ータの内容より小さければセロ点オーバフラグメモリは
“0”のままとなる。こうして次に表示処理ルーチンへ
と移行する。表示処理■においては第6図に示すように
5桁の美重量カウントレジスタのカウントデータに5カ
ウントを加算して4捨5入処理を行ない、続いて15k
9フラグメモリをチェックする。
If it is "1", the contents of the accumulator are held as they are. Compare the absolute value of the contents of the accumulator with the zero weight value and the absolute value of the contents of the register, and if the weight is zero and the contents of the register are greater than or equal to the contents of the accumulator, set the zero point over flag to "1". , if it is smaller than the contents of the accumulator, the zero point overflow flag memory remains at "0". In this way, the process moves to the next display processing routine. In the display process (■), as shown in Figure 6, 5 counts are added to the count data of the 5-digit beauty weight count register, rounded down to 4, and then 15k.
9 Check flag memory.

このフラグメモリが“1”のときは15k9/5夕の秤
りであるから実重量カウントレジスタの上位4桁に1目
盛レジスタの5夕を案算して計量値を算出し、その値を
重量表示レジスタへ転送する。またフラグメモリが“0
”のときは6kg/2夕の秤りであるから実重量カウン
トレジスタの上位4桁に2夕を秦算し、その値を重量表
示レジス夕へ転送する。続いてゼロ点オーバフラグメモ
リが“1”になっているか、重量オバーフラグメモリが
“1”になっているかをチェックする。そしていずれか
一方が“1”になっていると表示器12を滅灯する。な
お、重量オーバフラグメモリが“1”になるのは被計量
物の重さが秤りの秤量値を越えている場合である。また
いずれのフラグメモリも“0”のときは重量表示レジス
タのカウントデータの取込まれていない上位桁に例えば
「F」等のゼロサプレスコードをセットしてから重量表
示レジス夕の内容を表示器12で表示する。したがって
重量表示レジスタの内容が「00200Jであれば「F
F200」となり表示は「200」となる。このように
秤量値および1目盛が異なる15k9/5夕(10カウ
ント)、6k9/2夕(4カウント)の2つの計量手段
を切替スイッチ15の切替え操作によって容易に切替え
て動作させることができる。
When this flag memory is "1", it means that the scale is 15k 9/5 digits, so calculate the weight value by calculating the 5 digits of the 1 scale register into the upper 4 digits of the actual weight count register, and use that value as the weight. Transfer to display register. Also, the flag memory is “0”
'', the scale is 6 kg/2 weight, so 2 weight is added to the upper 4 digits of the actual weight count register, and the value is transferred to the weight display register.Next, the zero point over flag memory is set to ``. 1" and the weight over flag memory is set to "1". If either one is set to "1", the display 12 goes out. Note that the weight over flag memory becomes "1" when the weight of the object to be weighed exceeds the weighing value of the scale.Also, when both flag memories are "0", the count data of the weight display register is not loaded. After setting a zero suppression code such as "F" to the upper digits that are not present, the contents of the weight display register are displayed on the display 12. Therefore, if the content of the weight display register is "00200J", then "F
F200" and the display becomes "200". In this way, the two measuring means of 15k9/5 (10 counts) and 6k9/2 (4 counts) with different weighing values and 1 scale can be easily switched and operated by switching the changeover switch 15.

そしてこの切替えし、おいては重量検出器1の交換や差
動増幅器2、A/D変換器4の調整は全く不要であるか
ら使用部品数が多くなったり面倒な作業がなく経済性を
向上することができる。また精度は15k9/5夕の秤
りも6kg/2夕の秤りも目盛数は3000で秤りとし
ての目盛分解能は同じであるから同一となる。また15
k9/5夕の秤りが選択切替えされたときにはオートゼ
ロの処理範囲が絶対値士5カウント以内に設定され、ま
た6k9/2夕の秤りが選択切替えされたときにはオー
トゼロの処理範囲が絶対値±2カウント以内に設定され
、いずれにおいても重量ゼロ値しジスタのカウント値を
基準にして1目盛の半分以下の土計量値については常に
計量値がゼロとして表示されるから適正なオートゼロ処
理が行なえ秤を安定に動作させることができる。
After this changeover, there is no need to replace the weight detector 1 or adjust the differential amplifier 2 or A/D converter 4, so there is no need to increase the number of parts used or troublesome work, improving economic efficiency. can do. Also, the accuracy is the same for both the 15k9/5 scale scale and the 6kg/2 scale scale because the number of scales is 3000 and the scale resolution as a scale is the same. Also 15
When the k9/5 scale is selected, the auto zero processing range is set to within 5 counts of the absolute value, and when the 6k9/2 scale is selected, the auto zero processing range is set to the absolute value ± If the weight value is set within 2 counts and the weight value is zero in any case, and the weight value is less than half of one scale based on the register count value, the weight value will always be displayed as zero, so proper auto-zero processing cannot be performed. can operate stably.

なお、前記実施例では1目盛が4カウントと10カウン
トの場合について述べたがかならずしもこれに限定され
るものではなく例えば1目盛が2カウントと5カウント
あるいは5カウントと10カウント等であってもよい。
In the above embodiment, the case where one scale is 4 counts and 10 counts has been described, but the present invention is not limited to this. For example, one scale may be 2 counts and 5 counts, or 5 counts and 10 counts, etc. .

要は1目盛のカウント数の少ない方が2カウント以上あ
ればよい。また、1目盛のカウント数が4カウントと1
0カウントおよび2カウントと5カウントの場合は、A
=州とB=弧の関係を満足し、かつ5カウントと10カ
ウントの場合は、A=N+1とB=2(N+1)の関係
を満足するものである。なお上記においてNは正の整数
である。そして1目盛のカウント数が2カウントと5カ
ウントのようにBが奇数のときにはオートゼロの処理範
囲は絶対値±2/2=1カウント以下と絶対値士1/2
(5−1)=2カウント以下となり、また5カウントと
10カウントのようにAが奇数のときにはオートゼロの
処理範囲は絶対値士1/2(5−1)=2カウント以上
と絶対値±10/2=5カウント以下となる。また、前
記実施例では15k9/5夕と6k9/2夕との切替え
ができるものについて述べたがかならずしもこれに限定
されるものではなく、例えば15k9/5夕と15kg
/10夕のように秤量が同じで目盛分解館が異なる秤り
を選択切替えするものであってもよい。
In short, the smaller number of counts per scale should be 2 or more. Also, the number of counts on one scale is 4 counts and 1
In case of 0 count, 2 count and 5 count, A
= state and B = arc, and in the case of 5 counts and 10 counts, the relationship of A = N + 1 and B = 2 (N + 1) is satisfied. Note that in the above, N is a positive integer. When B is an odd number, such as when the number of counts on one scale is 2 counts and 5 counts, the auto zero processing range is the absolute value ± 2/2 = 1 count or less and the absolute value 1/2
(5-1) = 2 counts or less, and when A is an odd number such as 5 counts and 10 counts, the auto zero processing range is absolute value 1/2 (5-1) = 2 counts or more and absolute value ±10 /2=5 counts or less. In addition, in the above embodiment, a device that can switch between 15k 9/5 evening and 6k 9/2 evening is described, but it is not necessarily limited to this. For example, 15k 9/5 evening and 15kg
It is also possible to select and switch between scales with the same weight but different scale resolution, such as the /10 scale.

さらに前記実施例ではキー処理ルーチンおよびオートゼ
ロ処理ルーチンにおいて15k9フラグメモリーこ“1
”がセットされていない、すなわち6k9秤りのときア
キュームレータにロードされるゼロ点の上限値、下限値
をそれぞれ2.5倍するようにしたがかならずしもこれ
に限定されるものではなくこの2.3音処理を省略して
もよく、この場合はゼロ点範囲が15k9秤りのときと
同様絶対値士300カウントになるから重量では1目盛
2夕の30目盛分で絶対値±60のこなる。
Furthermore, in the above embodiment, the 15k9 flag memory is "1" in the key processing routine and the auto zero processing routine.
” is not set, that is, when the scale is 6k9, the upper and lower limit values of the zero point loaded into the accumulator are each multiplied by 2.5 times, but this is not necessarily limited to 2.3 times. Sound processing may be omitted; in this case, the zero point range will be 300 counts in absolute value as in the case of the 15k9 scale, so the weight will have an absolute value of ±60 over 30 scales of 1 scale and 2 scales.

すなわちこれは15k9秤りにおいてゼロ点範囲を絶対
値士150のこしたときと同じ割合でゼロ点範囲を設定
したことになる。以上詳述したようにこの発明によれば
計量値をパルス数に変換してディジタル表示するディジ
タル式重量測定装置において、1目盛をパルス数でAカ
ウント(ただしAZ2とする。
In other words, this means that the zero point range is set at the same rate as when the zero point range is divided by the absolute value calculator 150 in the 15k9 scale. As described in detail above, according to the present invention, in a digital weight measuring device that converts a weighed value into a pulse number and displays it digitally, one scale is counted as A count (here, AZ2) by the number of pulses.

)に設定して計量時発生パルス数÷Aカウントxl目盛
の重量値の計量処理を行なって計量値を算出するととも
上記Aが偶数のときにはオートゼロ処理範囲をA/2の
絶対値以下とし、又は奇数のときにはオートゼロ処理範
囲を(A−1)/2の絶対値以下とする第1の計量手段
と、1目盛をパルス数でBカウント(ただしB>Aとす
る。)に設定して計量時発生パルス数÷Bカウント×1
目盛の重量値の計量処理を行なって計量値を算出すると
とも上記Bが偶数のとにはオートゼロ処理範囲をB/2
の絶対値以下とし、又は奇数のときにはオートゼロ処理
範囲を(B−1)/2の絶対値以下とする第2の計量手
段とを設け、上記両計量手段を選択的に切替えて動作で
きるようにしているので、秤量あるいは精度の異なる2
台の秤りを簡単な切替え操作によって容易に得ることが
できるとともに経済性にすぐれ、しかも切替えられる各
秤りがそれぞれ適正なオートゼロ処理を行なうことがで
きるディジタル式重量測定装置を提供できるものである
) to calculate the weight value by calculating the number of pulses generated during measurement ÷ the weight value on the A count When the number is odd, the first measuring means sets the auto-zero processing range to the absolute value of (A-1)/2 or less, and when measuring, one scale is set to B counts (however, B>A) with the number of pulses. Number of generated pulses ÷ B count x 1
When calculating the weight value by weighing the weight value on the scale, if B is an even number, the auto zero processing range is set to B/2.
or, in the case of an odd number, a second measuring means that sets the auto-zero processing range to be less than or equal to the absolute value of (B-1)/2, so that the above-mentioned two measuring means can be selectively switched to operate. Therefore, there are two types with different weighing or accuracy.
It is possible to provide a digital weight measuring device that can easily obtain scales on a stand by a simple switching operation, is highly economical, and allows each scale to be switched to perform appropriate auto-zero processing. .

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

図はこの発明の実施例を示すもので、第1図は回路構成
を示すブロック図、第2図はRAMのメモリ構成を示す
図、第3図はメインプログラムの流れ図、第4図はキー
処理における特にゼロキー処理の流れ図、第5図はオー
トゼロ処理の流れ図、第6図は表示処理の流れ図である
。 1・…・・重量検出部、4・・・・・・A/D変換器、
7・・・・・・CPU(中央処理ユニット)、8・・・
・・・RAM(ランダム・アクセス・メモリ)、9・…
・・ROM(リード・オンリ・メモリ)、15・…・・
15kg/6kg功替スイッチ。 第1図 第2図 第3図 第4図 第5図 第6図
The figures show an embodiment of the present invention. Figure 1 is a block diagram showing the circuit configuration, Figure 2 is a diagram showing the RAM memory configuration, Figure 3 is a flowchart of the main program, and Figure 4 is the key processing. In particular, FIG. 5 is a flowchart of the zero key processing, FIG. 5 is a flowchart of the auto zero processing, and FIG. 6 is a flowchart of the display processing. 1... Weight detection unit, 4... A/D converter,
7...CPU (central processing unit), 8...
...RAM (Random Access Memory), 9...
・・ROM (Read Only Memory), 15...
15kg/6kg switch. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】 1 計量値をパルス数に変換してデイジタル表示するデ
イジタル式重量測定装置において、1目盛をパルス数で
Aカウント(ただしA≧2とする。 )に設定して計量時発生パルス数÷Aカウント×1目盛
の重量値を計量処理を行なつて計量値を算出するととも
に上記Aが偶数のときにはオートゼロ処理範囲をA/2
の絶対値以下とし、又は奇数のときにはオートゼロ処理
範囲を(A−1)/2の絶対値以下とする第1の計量手
段と、1目盛をパルス数でBカウント(ただしB>Aと
する。)に設定して計量時発生パルス数÷Bカウント×
1目盛の重量値の計量処理を行なつて計量値を算出する
とともに上記Bが偶数のときにはオートゼロ処理範囲を
B/2の絶対値以下とし、又は奇数のときにはオートゼ
ロ処理範囲を(B−1)/2の絶対値以下とする第2の
計量手段とを設け、上記両計量手段を選択的に切替えて
動作できるようにしたことを特徴とするデイジタル式重
量測定装置。
[Scope of Claims] 1. In a digital weight measuring device that converts a measured value into a number of pulses and displays it digitally, one scale is set to A count (however, A≧2) with the number of pulses. Calculate the weight value by weighing the number of pulses ÷ A count x 1 scale, and if the above A is an even number, set the auto zero processing range to A/2.
or, when the number is odd, the auto-zero processing range is set to be less than or equal to the absolute value of (A-1)/2, and one scale is counted by the number of pulses B (where B>A). ) and calculate the number of pulses generated during measurement ÷ B count ×
Calculate the weight value by weighing the weight value of 1 scale, and if the above B is an even number, set the auto-zero processing range to the absolute value of B/2 or less, or if it is an odd number, set the auto-zero processing range to (B-1) 1. A digital weight measuring device, comprising: a second weighing means for determining the absolute value of /2 or less, and capable of operating by selectively switching between the two weighing means.
JP14732379A 1979-11-14 1979-11-14 Digital weighing device Expired JPS6029048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14732379A JPS6029048B2 (en) 1979-11-14 1979-11-14 Digital weighing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14732379A JPS6029048B2 (en) 1979-11-14 1979-11-14 Digital weighing device

Publications (2)

Publication Number Publication Date
JPS5670422A JPS5670422A (en) 1981-06-12
JPS6029048B2 true JPS6029048B2 (en) 1985-07-08

Family

ID=15427577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14732379A Expired JPS6029048B2 (en) 1979-11-14 1979-11-14 Digital weighing device

Country Status (1)

Country Link
JP (1) JPS6029048B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04135164A (en) * 1989-12-26 1992-05-08 Carrier Corp Method of finishing a scrolling element for a scrolling rotating machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008062875A (en) * 2006-09-11 2008-03-21 Calsonic Kansei Corp Battery cooling system for vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04135164A (en) * 1989-12-26 1992-05-08 Carrier Corp Method of finishing a scrolling element for a scrolling rotating machine

Also Published As

Publication number Publication date
JPS5670422A (en) 1981-06-12

Similar Documents

Publication Publication Date Title
US4212074A (en) Weight measuring method and apparatus thereof
US4690230A (en) Multi-range load cell weighing instrument
US4043412A (en) Counting scale and method
US3674097A (en) Motion detector for weighing apparatus
JPS59198325A (en) Automatic zero-point adjusting method
JPS61260125A (en) Controlling device for load cell balance
JPH0140303B2 (en)
JPH0481627A (en) Measuring apparatus of weight
JPS6029048B2 (en) Digital weighing device
JPH025248B2 (en)
GB2155190A (en) Counting by weighing
JPS6024407B2 (en) Digital weighing device
JPS6341405B2 (en)
JPS6338650B2 (en)
JPS6338649B2 (en)
JPS6244601B2 (en)
JPS603604B2 (en) Digital weighing device
JPH081396B2 (en) Weighing device
JP3120883B2 (en) Counting scale
JPS5855821A (en) Electronic counting scale
JPS5844968B2 (en) Counting and weighing machine
JPS5815879Y2 (en) Counting device in electronic digital display scales
JP3516001B2 (en) Quantitative weighing method by combination and its device
JPH0226733B2 (en)
JP2522006B2 (en) Electronic weighing system