JPH04206B2 - - Google Patents
Info
- Publication number
- JPH04206B2 JPH04206B2 JP8958683A JP8958683A JPH04206B2 JP H04206 B2 JPH04206 B2 JP H04206B2 JP 8958683 A JP8958683 A JP 8958683A JP 8958683 A JP8958683 A JP 8958683A JP H04206 B2 JPH04206 B2 JP H04206B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- output
- combination
- input
- signal
- 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
Links
- 238000005303 weighing Methods 0.000 claims description 27
- 230000015654 memory Effects 0.000 claims description 9
- 238000005259 measurement Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 235000009508 confectionery Nutrition 0.000 description 1
- 230000002074 deregulated effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 235000013311 vegetables Nutrition 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G19/00—Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
- G01G19/387—Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for combinatorial weighing, i.e. selecting a combination of articles whose total weight or number is closest to a desired value
- G01G19/393—Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for combinatorial weighing, i.e. selecting a combination of articles whose total weight or number is closest to a desired value using two or more weighing units
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
- Tests Of Electronic Circuits (AREA)
Description
【発明の詳細な説明】
この発明は、菓子、果物、野菜などのように
個々の重量にバラツキのある被計量物(以下、塊
状物と記す)を、ほぼ一定重量となるように、複
数個ひとまとめにして袋詰めなどを行なう際に使
用される、組合せ計量機の組合せ選定回路に関す
る。DETAILED DESCRIPTION OF THE INVENTION The present invention is capable of weighing a plurality of objects (hereinafter referred to as lumps) that vary in individual weight, such as confectionery, fruits, vegetables, etc., so that the weight is approximately constant. This invention relates to a combination selection circuit for a combination weighing machine, which is used when bulking items into bags.
個々の重量にバラツキのある塊状物を、設定重
量分だけひとまとめにしようとしても、目標重量
との間に誤差が生じる。このため、常にできるだ
け設定重量との誤差を少なくしてひとまとめにす
るためのものとして従来より組合せ計量機が用い
られていた。 Even if an attempt is made to group together a set weight of lumps whose individual weights vary, an error will occur between the set weight and the target weight. For this reason, a combination weighing machine has conventionally been used to always reduce the error from the set weight as much as possible and group the weights together.
この種の従来の組合せ計量機では、第1図に示
すように複数の計量ホツパ11〜1oに複数の塊状
物を順次供給し、各計量ホツパ11〜1oごとに設
けた計量器21〜2oによつて、収容された被計量
物をそれぞれ計量する。そして、各計量器21〜
2oの計量値を組合せ選定回路3に入力して、n
個の計量ホツパから1個をとる組合せoC1からn
個をとる組合せoCoまでのすべての組合せごとの
組合せ重量を演算する。そして演算によつて得ら
れたすべての組合せ重量のうちから、目標重量と
の差が最も小となる計量ホツパの組合せを選定し
てひとまとめにしている。しかしてこの組合せ演
算は、各計量値をシリアル制御によつて一定タイ
ミングで入力して順次演算して行なつている。 In this type of conventional combination weighing machine, a plurality of lumps are sequentially supplied to a plurality of weighing hoppers 11 to 1o , as shown in Fig. The stored objects to be weighed are each weighed according to 2 1 to 2 o . And each measuring instrument 2 1 ~
2 Input the measured value of o into the combination selection circuit 3, and
Combination of taking one piece from the weighing hopper o C 1 to n
Calculate the combination weights for all combinations up to the combination o C o . Then, from among all the combination weights obtained through calculation, the combination of weighing hoppers that has the smallest difference from the target weight is selected and grouped together. However, this combination calculation is performed by inputting each measured value at a constant timing through serial control and calculating the values in sequence.
しかしてこの方法では、例えば計量ホツパ11,
12,13,14の4個の組合せ重量が目標重量に
達している場合には、11,12,13,14を含む
他の組合せ重量は11,12,13,14の組合せ重
量より必ず大となるため、11,12,13,14を
含む他の組合せ演算はすべて無駄となる。同様に
例えば計量ホツパ11,13,18の3個の組合せ
重量が目標重量に達した場合には、11,13,1
8を含む他の組合せ重量は11,13,18の組合せ
重量より必ず大となるため、11,13,18を含
む他の組合せ演算はすべて無駄となる。しかるに
従来の組合せ選定回路では、上記のようにすべて
の組合せを演算していたため、例えばある3個の
組合せで目標値に達した後も、順次他の計量値を
入力して演算しなければならず、演算時間が非常
に大となる欠点があつた。 However, in this method, for example, the weighing hopper 1 1 ,
When the four combination weights of 1 2 , 1 3 , and 1 4 have reached the target weight, the other combination weights including 1 1 , 1 2 , 1 3 , and 1 4 are 1 1 , 1 2 , and 1 . Since the weight is always greater than the combined weight of 1 1 , 1 2 , 1 3 , and 1 4 , all other combination operations involving 1 1 , 1 2 , 1 3 , and 1 4 are useless. Similarly, for example, if the combined weight of the three weighing hoppers 1 1 , 1 3 , 1 8 reaches the target weight, 1 1 , 1 3 , 1
Since the other combination weights including 8 are always larger than the combination weights of 1 1 , 1 3 , and 1 8 , all other combination calculations including 1 1 , 1 3 , and 1 8 are useless. However, in conventional combination selection circuits, all combinations are calculated as described above, so even after a target value is reached with a certain combination of three, for example, other measured values must be sequentially input and calculated. First, it had the disadvantage that the calculation time was extremely long.
この問題を解決するための技術として、特開昭
57−141517号公報に開示されているように、複数
の計量値をグループ分けし、グループ内における
全ての組合せ重量を予め算出した後、グループ間
での組合せ演算を行ない、その演算中に組合せ合
計が目標値を越えると、他の組合せによる演算に
移るように構成されたものがあつた。 As a technology to solve this problem,
As disclosed in Publication No. 57-141517, after dividing a plurality of measured values into groups and calculating all combined weights within the group in advance, a combination calculation is performed between the groups, and during the calculation, the combined total is calculated. Some systems were configured to move to calculations using other combinations when the value exceeds a target value.
しかしながら、この技術では、すべての計量値
と、グループ内での組合せ重量値等を記憶するた
めの多数のメモリを必要とし、その構成が極めて
膨大になり、その制御に多くの時間が必要となる
という問題がある。 However, this technology requires a large number of memories to store all weighing values and combined weight values within a group, resulting in an extremely large configuration and a large amount of time required to control it. There is a problem.
本発明は上記の欠点を改め、極めて簡単な構成
で、演算時間を短縮した組合せ計量機の組合せ選
定回路を提供することを目的としている。 SUMMARY OF THE INVENTION An object of the present invention is to correct the above-mentioned drawbacks and provide a combination selection circuit for a combination weighing machine that has an extremely simple configuration and shortens calculation time.
以下、図面に示す本発明の一実施例について説
明する。 An embodiment of the present invention shown in the drawings will be described below.
第2図は本発明の一実施例を示している。 FIG. 2 shows an embodiment of the invention.
同図において、111〜11oは計量ホツパ11
〜1oに供給された被計量物の重量を計量する計
量器21〜2oからの計量値信号をそれぞれ記憶す
る記憶回路、121〜12oはスイツチ群、13は
スイツチ群121〜12oを制御して組合せパター
ンに基いてスイツチ群121〜12oを選択して1
つずつ順次オンさせるスイツチ制御回路である。 In the same figure, 11 1 to 11 o are weighing hoppers 1 1
~1 o are storage circuits that store measurement value signals from the weighing instruments 2 1 to 2 o for measuring the weight of objects to be weighed, respectively, 12 1 to 12 o are switch groups, and 13 is a switch group 12 1 to 12 o to select switch groups 12 1 to 12 o based on the combination pattern.
This is a switch control circuit that turns on each switch one by one.
スイツチ制御回路13は、1〜nの出力端子か
らクロツク入力ごとに“1”が1からnへとシフ
トして出力されるライン選択用シフトレジスタ1
4と、1〜nの出力端子から1を最下位桁として
2進数をクロツク入力ごとに1アツプして出力す
る組合せパターン作成用カウンタ15と、ライン
選択用シフトレジスタ14及び組合せパターン作
成用カウンタ15の各1〜nの出力の論理積をと
つてスイツチ群121〜12oをそれぞれオンさせ
るアンドゲート群16とによつて構成されてい
る。17〜19は、本発明の演算回路を構成する
もので、17は目標重量を設定する目標重量設定
回路、18はレジスタ19に一時記憶された値か
らスイツチ群121〜12oを介して入力される記
憶回路111〜11oのいずれかの計量値を順次減
算する減算器、19はスイツチ20を介してまず
目標重量設定回路17の目標重量を記憶して減算
器18へ出力し、減算器18の出力値をスイツチ
21を介して記憶すると共に、記憶値が負になる
とノア回路22へ極性検知信号“1”を出力する
判定回路を兼ねたレジスタ、23はレジスタ19
の記憶値が零の場合に零検知信号“1”をノア回
路22へ出力する零検知回路、24はノア回路2
2の出力とパルス信号ψ2とが入力し、レジスタ
19の記憶値が零又は負でない場合にパルス信号
ψ2を通過させてスイツチ21をオンさせるアン
ド回路である。 The switch control circuit 13 includes a line selection shift register 1 in which "1" is shifted from 1 to n and outputted from output terminals 1 to n for each clock input.
4, a combination pattern creation counter 15 that increments a binary number by 1 for each clock input, with 1 being the least significant digit from the output terminals 1 to n, and a line selection shift register 14 and a combination pattern creation counter 15. and an AND gate group 16 which calculates the AND of the outputs of each of 1 to n and turns on the switch groups 12 1 to 12 o , respectively. 17 to 19 constitute an arithmetic circuit of the present invention, 17 is a target weight setting circuit for setting a target weight, and 18 is input from a value temporarily stored in a register 19 via switch groups 12 1 to 12 o . A subtracter 19 that sequentially subtracts the measured value of one of the storage circuits 11 1 to 11 o to be stored first stores the target weight of the target weight setting circuit 17 via a switch 20 and outputs it to the subtracter 18, and then subtracts it. 23 is a register 19 which also serves as a determination circuit that stores the output value of the circuit 18 via a switch 21 and outputs a polarity detection signal "1" to the NOR circuit 22 when the stored value becomes negative.
A zero detection circuit outputs a zero detection signal "1" to the NOR circuit 22 when the stored value is zero; 24 is the NOR circuit 2;
2 and the pulse signal ψ 2 are input, and when the stored value of the register 19 is not zero or negative, the pulse signal ψ 2 is passed through and the switch 21 is turned on.
25は最大値設定回路26に予め設定された最
大値をスイツチ27を介して記憶し、アンド回路
28の出力“1”が生じるとオンするスイツチ2
9を介してレジスタ19の記憶値の絶対値を更新
記憶する旧結果記憶回路である。 25 is a switch 2 which stores the maximum value preset in the maximum value setting circuit 26 via a switch 27 and is turned on when the AND circuit 28 outputs "1".
This is an old result storage circuit that updates and stores the absolute value of the value stored in the register 19 via the register 19.
30はレジスタ19の記憶値の絶対値と旧結果
記憶回路25の記憶値の絶対値とを比較し、レジ
スタ19の方が小の場合に出力をアンド回路28
へ生じる比較器である。 30 compares the absolute value of the stored value of the register 19 with the absolute value of the stored value of the old result storage circuit 25, and if the value stored in the register 19 is smaller, the output is sent to the AND circuit 28.
is a comparator that results in
31はパルス信号ψ3とインバータ32を介し
てノア回路22の出力とが入力するアンド回路、
28は比較器30とアンド回路31の出力が入力
し、スイツチ29をオンさせる信号及び組合せ記
憶回路36へラツチ信号を出力するアンド回路、
33はアンド回路31の出力又はライン選択用シ
フトレジスタ14のオーバーフロー出力が入力す
ると、この入力信号をパターン更新信号として、
組合せパターン作成用カウンタ15のクロツク入
力端子及びシフトレジスタ14,34のロード入
力端子へ出力するパターン更新回路としてのオア
回路である。 31 is an AND circuit into which the pulse signal ψ 3 and the output of the NOR circuit 22 are input via the inverter 32;
28 is an AND circuit into which the outputs of the comparator 30 and the AND circuit 31 are input, and outputs a signal for turning on the switch 29 and a latch signal to the combination storage circuit 36;
33, when the output of the AND circuit 31 or the overflow output of the line selection shift register 14 is input, this input signal is used as a pattern update signal,
This OR circuit serves as a pattern update circuit that outputs to the clock input terminal of the combination pattern creation counter 15 and the load input terminals of the shift registers 14 and 34.
34はクロツク入力ごとに出力端子1〜nか
ら、1からn方向に“1”が増加して出力する組
合せ結果選択用シフトレジスタ、35は組合せパ
ターン作成用カウンタ15及び組合せ結果選択用
シフトレジスタ34の各1〜n出力の論理積をと
るアンドゲート群、36はアンド回路28の出力
“1”が生じたときのアンドゲート群35の1〜
nの出力端子の出力状態のラツチする組合せ記憶
回路である。 Reference numeral 34 denotes a shift register for selecting a combination result, which outputs an increment of "1" in the direction from 1 to n from the output terminals 1 to n every time a clock is input; 35, a counter 15 for creating a combination pattern; and a shift register 34 for selecting a combination result. 36 is a group of AND gates that takes the logical product of each 1 to n output of the AND gate group 35 when the output "1" of the AND circuit 28 occurs.
This is a combinational storage circuit that latches the output states of n output terminals.
37は組合せパターン作成用カウンタ15のキ
ヤリー出力が入力するインバータ、38はインバ
ータ32の出力が入力するインバータ、39はイ
ンバータ37,38及びパルス信号ψ1が入力し、
インバータ37,38の出力が“1”の間、パル
ス信号ψ1をシフトレジスタ14,34のクロツ
ク入力端子に入力させるアンド回路、40はライ
ン選択用シフトレジスタ14のオーバーフロー出
力及びパターン作成用カウンタ15のキヤリー出
力の論理積をとつてEND信号を出力するアンド
回路である。なおライン選択用シフトレジスタ1
4のオーバーフロー出力はオア回路33へ入力す
ると共に、スイツチ20をオンさせる信号として
も使われる。 37 is an inverter to which the carry output of the combination pattern creation counter 15 is input; 38 is an inverter to which the output of the inverter 32 is input; 39 is to which the inverters 37, 38 and the pulse signal ψ 1 are input;
While the outputs of the inverters 37 and 38 are "1", an AND circuit inputs the pulse signal ψ 1 to the clock input terminals of the shift registers 14 and 34, and 40 is an overflow output of the shift register 14 for line selection and a counter 15 for pattern creation. This is an AND circuit that calculates the AND of the carry outputs and outputs the END signal. Note that line selection shift register 1
The overflow output of No. 4 is input to the OR circuit 33 and is also used as a signal to turn on the switch 20.
パルス信号ψ1、ψ2、ψ3は第3図に示すように
同一周波数で位相がずれている。 As shown in FIG. 3, the pulse signals ψ 1 , ψ 2 , and ψ 3 have the same frequency but are out of phase.
次に上記実施例の動作を説明する。 Next, the operation of the above embodiment will be explained.
(1) 計量ホツパ11〜1oに供給された被計量物の
重量はそれぞれ計量器21〜2oで計量され、各
計量値はそれぞれ記憶回路111〜11oに記憶
される。(1) The weights of the objects to be weighed supplied to the weighing hoppers 11 to 1o are weighed by the scales 21 to 2o , respectively, and the measured values are stored in the storage circuits 111 to 11o, respectively.
スタート信号によつて組合せパターン作成用
カウンタ15は初期セツトされて1〜nの出力
はすべて“0”になる。また、このスタート信
号によつてスイツチ27がオンし、旧結果記憶
回路25には最大値が記憶される。また前回終
了時のライン選択用シフトレジスタ14のオー
バーフロー出力によつてスイツチ20がオンし
てレジスタ19には目標重量設定回路17の目
標重量が記憶される。またこのオーバーフロー
出力はオア回路33を介して組合せ結果選択用
シフトレジスタ34及びライン選択用シフトレ
ジスタ14のロード入力端子に入力し、このた
めシフトレジスタ34,14は初期セツトされ
て両者の出力端子1のみが“1”、他が“0”
になつている。 The combination pattern creation counter 15 is initially set by the start signal, and all outputs of 1 to n become "0". Further, the switch 27 is turned on by this start signal, and the maximum value is stored in the old result storage circuit 25. Further, the switch 20 is turned on by the overflow output of the line selection shift register 14 at the end of the previous cycle, and the target weight of the target weight setting circuit 17 is stored in the register 19. Further, this overflow output is inputted to the load input terminals of the combination result selection shift register 34 and the line selection shift register 14 via the OR circuit 33, so that the shift registers 34 and 14 are initially set and the output terminals 1 and 1 of both shift registers 34 and 14 are initially set. only “1”, others “0”
It's getting old.
(2) レジスタ19には前記の如く正の値である目
標重量が記憶されているので、ノア回路22の
出力は“1”である。このためインバータ38
の出力は“1”である。また組合せパターン作
成用カウンタ15のキヤリー出力は“0”であ
るから、インバータ37の出力も“1”であ
る。このためパルス信号ψ1はアンド回路39
を通つてシフトレジスタ14,34のクロツク
入力端子に入力する。(2) Since the target weight, which is a positive value, is stored in the register 19 as described above, the output of the NOR circuit 22 is "1". Therefore, the inverter 38
The output of is "1". Further, since the carry output of the combination pattern creation counter 15 is "0", the output of the inverter 37 is also "1". Therefore, the pulse signal ψ 1 is generated by the AND circuit 39
The clock signal is inputted to the clock input terminals of the shift registers 14 and 34 through the input terminal.
このため、ライン選択用シフトレジスタ14
の出力は、パルス信号ψ1に対応して出力“1”
が出力端子1からn側へとシフトされる。また
組合せ結果選択用シフトレジスタ34の出力
は、パルス信号ψ1に対応して出力“1”が出
力端子1からn側へと1つずつ増えていく。 Therefore, the line selection shift register 14
The output is “1” in response to the pulse signal ψ 1 .
is shifted from output terminal 1 to the n side. Further, the output of the combination result selection shift register 34 increases by one from the output terminal 1 to the n side in response to the pulse signal ψ 1 .
(3) しかして、組合せパターン作成用カウンタ1
5の出力はすべて“0”であるから、アンドゲ
ート16の出力はすべて“0”である。このた
め、スイツチ群121〜12oはすべてオフのま
まになつている。このため減算器18へ記憶回
路111〜11oの計量信号は入力しないので、
レジスタ19の内容は目標重量が保持される。(3) Therefore, the combination pattern creation counter 1
Since the outputs of the AND gate 16 are all "0", all the outputs of the AND gate 16 are "0". Therefore, all of the switch groups 12 1 to 12 o remain off. Therefore, the weighing signals from the memory circuits 11 1 to 11 o are not input to the subtracter 18, so
The contents of the register 19 hold the target weight.
(4) ライン選択用シフトレジスタ14の出力端子
nが“1”になつた後、次のクロツク入力時に
オーバーフロー出力が“1”となり、このオー
バーフロー出力はオア回路33を介してシフト
レジスタ14,34のロード入力端子に入力し
て初期セツトすると共に、カウンタ15のクロ
ツク入力端子に入力してカウンタ15の内容は
1アツプする。(4) After the output terminal n of the line selection shift register 14 becomes "1", the overflow output becomes "1" at the next clock input, and this overflow output is sent to the shift registers 14 and 3 through the OR circuit 33. It is input to the load input terminal of the counter 15 to initialize it, and at the same time, it is input to the clock input terminal of the counter 15 to increment the contents of the counter 15 by one.
(5) このようにしてオーバーフロー出力“1”が
入力するたびにカウンタ15は2進数で1から
1つずつアツプし、第4図に示すように出力状
態が変化する。(5) In this way, each time the overflow output "1" is input, the counter 15 is incremented by one from 1 in binary, and the output state changes as shown in FIG.
(6) 例えば、カウンタ15の出力が第5図bのよ
うに出力端子1,2,4,5,8,……のみが
“1”になつているとすると、シフトレジスタ
14の出力“1”は出力端子1からnへとシフ
トされるので、出力端子1が“1”のとき、カ
ウンタ15の出力端子1の出力“1”との論理
積によつてアンドゲート群16はスイツチ12
1をオンさせる。すると記憶回路111に記憶さ
れた計量値が減算器18へ入力してレジスタ1
9に記憶されている目標重量から減算される。
レジスタ19の記憶値は正の値であるからノア
回路22の出力は“1”となつているため、パ
ルス信号ψ2はアンド回路24を通過してスイ
ツチ21をオンさせる。このため減算器18か
らの減算結果が目標重量に代つてレジスタ19
に記憶させる。(6) For example, if the output of the counter 15 is "1" at only the output terminals 1, 2, 4, 5, 8, etc. as shown in FIG. 5b, then the output of the shift register 14 is "1". ” is shifted from output terminal 1 to n, so when output terminal 1 is “1”, the AND gate group 16 switches 12
Turn on 1 . Then, the measured value stored in the memory circuit 111 is input to the subtracter 18 and is stored in the register 1.
9 is subtracted from the target weight stored in 9.
Since the value stored in the register 19 is a positive value, the output of the NOR circuit 22 is "1", so the pulse signal ψ 2 passes through the AND circuit 24 and turns on the switch 21. Therefore, the subtraction result from the subtractor 18 is used in the register 19 instead of the target weight.
to be memorized.
次にシフトレジスタ14の出力端子2が
“1”になると、スイツチ122がオンして同様
にレジスタ19の内容から記憶回路112に記
憶された計量値が減算され、以下同様にシフト
レジスタ14の出力端子4,5,……が“1”
になる度に同様の減算が行なわれる。 Next, when the output terminal 2 of the shift register 14 becomes "1", the switch 122 is turned on and the measured value stored in the storage circuit 112 is similarly subtracted from the contents of the register 19. Output terminals 4, 5, ... are "1"
A similar subtraction is performed each time.
(7) そして、順次減算が行なわれ例えばシフトレ
ジスタ14の出力端子5が“1”になつて記憶
回路115の計量値がさらに減算されたときに
レジスタ19の内容が零又は負になつたとする
と、零検知回路23から零検知信号“1”又は
レジスタ19から極性検知信号“1”が出力さ
れ、ノア回路22の出力は“0”となるため、
以降アンド回路24はパルス信号ψ2をスイツ
チ21へ通過させなくなる。(7) Then, when subtraction is performed sequentially and, for example, the output terminal 5 of the shift register 14 becomes "1" and the measured value in the memory circuit 115 is further subtracted, the contents of the register 19 become zero or negative. Then, the zero detection signal "1" is output from the zero detection circuit 23 or the polarity detection signal "1" is output from the register 19, and the output of the NOR circuit 22 becomes "0".
Thereafter, the AND circuit 24 no longer passes the pulse signal ψ 2 to the switch 21 .
レジスタ19の内容は比較器30によつて旧
結果記憶回路25に記憶された最大値と比較さ
れる。レジスタ19の出力値の絶対値が小の場
合には比較器23から出力が生じる。また零検
知信号又は極性検知信号が出力されるとアンド
回路31へ入力するインバータ32の出力は
“1”となるので、パルス信号ψ3がアンド回路
30を通過してアンド回路28から出力が生
じ、このためスイツチ28がオンして旧結果記
憶回路25にはレジスタ19の出力値が記憶さ
れると共に、組合せ記憶回路36の内容がラツ
チされる。組合せ記憶回路36には組合せパタ
ーン作成用カウンタ15の出力と組合せ結果選
択用シフトレジスタ34の出力との論理積がア
ンドゲート群35から出力されている。シフト
レジスタ34の出力は“1”が出力端子1から
5まで第5図cのように1つずつ増えて出力さ
れているから、組合せ記憶回路36には第5図
dのように減算器18へ入力した計量ホツパに
対応したアンドゲート群34の出力端子1、
2、4、5が“1”、他が“0”の状態(即ち
計量ホツパ11,12,14,15の組合せ)が記
憶される。 The contents of register 19 are compared by comparator 30 with the maximum value stored in old result storage circuit 25. If the absolute value of the output value of the register 19 is small, an output is produced from the comparator 23. Furthermore, when the zero detection signal or polarity detection signal is output, the output of the inverter 32 input to the AND circuit 31 becomes "1", so the pulse signal ψ 3 passes through the AND circuit 30 and an output is generated from the AND circuit 28. Therefore, the switch 28 is turned on and the output value of the register 19 is stored in the old result storage circuit 25, and the contents of the combination storage circuit 36 are latched. The AND gate group 35 outputs the logical product of the output of the combination pattern creation counter 15 and the output of the combination result selection shift register 34 to the combination storage circuit 36 . Since the output of the shift register 34 is incremented by 1 from output terminals 1 to 5 as shown in FIG. 5c, the combinational storage circuit 36 has a subtracter 18 as shown in FIG. Output terminal 1 of AND gate group 34 corresponding to the weighing hopper input to
A state in which 2, 4, and 5 are "1" and the others are "0" (ie, a combination of weighing hoppers 1 1 , 1 2 , 1 4 , and 1 5 ) is stored.
(8) また零検知信号又は極性検知信号が出力され
ると、インバータ32の出力が“1”となるの
で、このためインバータ38の出力が“0”と
なり、パルス信号ψ1はアンド回路39を通過
しなくなる。それと共に、パルス信号ψ3によ
つてアンド回路31の出力“1”がオア回路3
3を通つてシフトレジスタ14,34のロード
入力端子へ入力して初期セツトされ、且つ組合
せパターン作成用カウンタ15のクロツク入力
端子に入力して内容を1アツプさせる。またシ
フトレジスタ14は初期セツトされるとオーバ
ーフロー出力が生じてスイツチ20がオンし、
レジスタ19には再び目標重量が記憶される。(8) Also, when the zero detection signal or polarity detection signal is output, the output of the inverter 32 becomes "1", so the output of the inverter 38 becomes "0", and the pulse signal ψ 1 is passed through the AND circuit 39. It will not pass. At the same time, the output "1" of the AND circuit 31 is changed to the OR circuit 3 by the pulse signal ψ 3.
3 to the load input terminals of the shift registers 14 and 34 for initial setting, and input to the clock input terminal of the combination pattern creation counter 15 to increment the contents by 1. Furthermore, when the shift register 14 is initially set, an overflow output occurs and the switch 20 is turned on.
The target weight is stored in the register 19 again.
(9) 目標重量が記憶されると零検知信号又は極性
検知信号は出力されなくなるので、インバータ
38の出力は“1”になる。またアンド回路2
4は規制解除される。従つて、パルス信号ψ1
はアンド回路39を通つてシフトレジスタ1
4,34のクロツク入力端子に入力し、パルス
信号ψ2はアンド回路24を通つてスイツチ2
1をオンさせる。(9) Once the target weight is stored, the zero detection signal or polarity detection signal is no longer output, so the output of the inverter 38 becomes "1". Also, AND circuit 2
4 will be deregulated. Therefore, the pulse signal ψ 1
is passed through the AND circuit 39 to the shift register 1
The pulse signal ψ 2 is input to the clock input terminals 4 and 34, and the pulse signal ψ 2 is input to the switch 2 through the AND circuit 24.
Turn on 1.
このためシフトレジスタ14の出力“1”が
出力端子1からn方向へとシフトされるに従つ
て、第6図の如くカウンタ15の1アツプした
出力状態による組合せに基いて、同様に目標重
量から各計量値がレジスタ19の内容が零又は
負になるまで順次減算される。 Therefore, as the output "1" of the shift register 14 is shifted from the output terminal 1 in the n direction, based on the combination of the output state of the counter 15 increased by 1 as shown in FIG. Each metric value is sequentially subtracted until the contents of register 19 become zero or negative.
(10) このようにカウンタ15が1アツプするごと
にシフトレジスタ14でスキヤンして減算を行
ない、減算結果が零又は負になると旧結果と比
較器29で比較され、絶対値が小の場合にはそ
のレジスタ19の出力値が旧結果記憶回路25
に更新記憶され、組合せ記憶回路36にその組
合せが更新記憶される。(10) In this way, every time the counter 15 increases by 1, the shift register 14 scans and subtracts, and when the subtraction result becomes zero or negative, it is compared with the old result in the comparator 29, and if the absolute value is small, The output value of the register 19 is stored in the old result storage circuit 25.
The combination is updated and stored in the combination storage circuit 36.
(11) このようにしてカウンタ15の出力端子全
部が“1”になるまで減算、比較が行なわれ、
さらに1アツプしてカウンタ15からキヤリー
出力1が生じたとき、シフトレジスタ14のオ
ーバーフロー出力“1”が生じると、アンド回
路33からEND信号が出力され、組合せ選定
が終了する。(11) In this way, subtraction and comparison are performed until all output terminals of the counter 15 become "1",
When the count is further increased by 1 and a carry output of 1 is generated from the counter 15, an overflow output of "1" from the shift register 14 is generated, and an END signal is output from the AND circuit 33, and the combination selection is completed.
(12) この結果、組合せ記憶回路36に最終的に
ラツチされた組合せによる複数の計量ホツパが
解放され、それらから排出された被計量物がひ
とまとめにされる。排出後は再びそれらの計量
ホツパには被計量物が供給され、再びスタート
信号が生じて次の組合せ選定がなされる。(12) As a result, the plurality of weighing hoppers according to the combinations finally latched in the combination storage circuit 36 are released, and the objects to be weighed discharged from them are grouped together. After being discharged, the weighing hoppers are again supplied with the objects to be weighed, a start signal is generated again, and the next combination is selected.
なお上記実施例では、計量ホツパに供給されて
いる被計量物を組合せるようにしていたが、本発
明のホツパは、被計量物を収容排出できるもので
あればよく、計量器に直結された計量ホツパのみ
に限定されるものではない。また上記実施例で
は、演算器において目標重量からの減算した減算
結果が零又は負になると演算を打ち切るようにし
た場合を示しているが、第7図の如く加算器41
によつて各計量値を順次加算し、レズスタ42に
記憶した加算結果と目標重量設定回路17に設定
された目標重量とを比較器43で比較し、加算結
果が目標重量に等しいか大になつたときに生じる
比較器43の出力“1”を、前記実施例における
零検知信号あるいは極性検知信号と同様に用いる
ことによつて、第2図の回路と同様の動作をさせ
ることもできる。 In the above embodiment, the objects to be weighed that are supplied to the weighing hopper are combined, but the hopper of the present invention may be of any type as long as it can accommodate and discharge the objects to be weighed, and may be directly connected to the weighing instrument. It is not limited only to the weighing hopper. Further, in the above embodiment, the calculation is terminated when the result of subtraction from the target weight becomes zero or negative in the calculator, but as shown in FIG. 7, the adder 41
The comparator 43 compares the addition result stored in the register 42 with the target weight set in the target weight setting circuit 17, and determines whether the addition result is equal to or greater than the target weight. By using the output "1" of the comparator 43 that occurs when the circuit is in the same state as the zero detection signal or the polarity detection signal in the embodiment described above, it is also possible to operate the circuit in the same way as the circuit shown in FIG.
以上説明したように本発明の組合せ計量機の組
合せ選定回路では、各ホツパの被計量物の計量値
の組合せ演算において、その組合せ合計値が目標
値に達した場合はその組合せのホツパを含んだ他
のすべての組合せ演算をしなくて済むので、演算
時間を大幅に短縮でき、メモリ数も各計量値と、
演算に必要な数個で済み、その構成が極めて簡単
で、その制御が短時間で済むという効果がある。 As explained above, in the combination selection circuit of the combination weighing machine of the present invention, in the combination calculation of the weighing values of the objects to be weighed of each hopper, if the total value of the combination reaches the target value, the hopper of the combination is included. Since there is no need to perform all other combinational calculations, calculation time can be significantly reduced, and the number of memories can be reduced by
Only a few pieces are required for calculation, the configuration is extremely simple, and the control can be done in a short time.
第1図は従来の組合せ計量機の組合せ選定装置
を示す概略構成図、第2図は本発明の一実施例を
示すブロツク図、第3図はパルス信号ψ1、ψ2、
ψ3のタイムチヤート、第4図は組合せパターン
作成用カウンタの出力状態を示す図、第5図は端
子1〜nの出力状態の一例を示す図であつて、同
図のa欄はライン選択用シフトレジスタ14、b
欄は組合せパターン作成用カウンタ15、c欄は
組合せ結果選択用シフトレジスタ34、d欄は組
合せ記憶回路36の状態を示している。第6図は
1アツプした組合せパターン作成用カウンタ15
の出力状態を示す図、第7図は本発明の他の実施
例を示すブロツク図である。
11〜1o……計量ホツパ、21〜2o……計量
器、3……組合せ選定回路、111〜11o……記
憶回路、121〜12o……スイツチ群、13……
スイツチ制御回路、14……ライン選択用シフト
レジスタ、15……組合せパターン作成用カウン
タ、16……アンドゲート群、17……目標重量
設定回路、18……減算器、19……レジスタ、
23……零検知回路、25……旧結果記憶回路、
26……最大値設定回路、34……組合せ結果選
択用シフトレジスタ、35……アンドゲート群、
36……組合せ記憶回路。
Fig. 1 is a schematic configuration diagram showing a combination selection device for a conventional combination weighing machine, Fig. 2 is a block diagram showing an embodiment of the present invention, and Fig. 3 shows pulse signals ψ 1 , ψ 2 ,
ψ 3 time chart, Figure 4 is a diagram showing the output status of the combination pattern creation counter, Figure 5 is a diagram showing an example of the output status of terminals 1 to n, and column a in the figure shows line selection. shift register 14, b
The column shows the state of the combination pattern creation counter 15, the c column shows the state of the combination result selection shift register 34, and the d column shows the state of the combination storage circuit 36. Figure 6 shows the combination pattern creation counter 15 that has increased by 1.
FIG. 7 is a block diagram showing another embodiment of the present invention. 1 1 - 1 o ... Weighing hopper, 2 1 - 2 o ... Measuring instrument, 3 ... Combination selection circuit, 11 1 - 11 o ... Memory circuit, 12 1 - 12 o ... Switch group, 13 ...
Switch control circuit, 14... Line selection shift register, 15... Combination pattern creation counter, 16... AND gate group, 17... Target weight setting circuit, 18... Subtractor, 19... Register,
23...Zero detection circuit, 25...Old result storage circuit,
26... Maximum value setting circuit, 34... Shift register for selecting combination results, 35... AND gate group,
36...Combination memory circuit.
Claims (1)
データを記憶するn個の記憶回路と、 前記n個の記憶回路に対する選択信号を、クロ
ツク信号の入力毎に初段から1つずつ順番にn段
までシフト出力するライン選択用シフトレジスタ
と、 計数出力をnビツトの組合せパターン信号とし
て出力する組合せパターン作成用カウンタと、 前記ライン選択用シフトレジスタの出力と、前
記組合せパターン作成用カウンタのパターン出力
とのビツト同士の論理積出力によつて、前記記憶
回路に記憶されている計量値データのうち、前記
組合せパターン出力に対応した計量値データを順
番に選択出力するn個のスイツチと、 1つの組合せパターンにしたがつて、前記スイ
ツチから1つずつ選択出力される計量値データを
受ける毎に、その合計値、またはこの合計値と所
定の目標値との差をデイジタル演算する演算回路
と、 前記演算回路で計量値データの入力毎に算出さ
れる算出結果を受け、計量値データの合計が、前
記目標値より大きくなつたことを判定する判定回
路と、 前記ライン選択用シフトレジスタのシフトが一
巡したことを示す信号、または前記判定回路から
の判定信号を、パターン更新信号として前記パタ
ーン作成用カウンタの計数入力端子へ入力するパ
ターン更新回路とを備えた組合せ計量機の組合せ
選定回路。[Scope of Claims] 1. n memory circuits that store measurement value data of objects to be measured measured by a plurality of measuring instruments; and selection signals for the n memory circuits are input to the first stage each time a clock signal is input. a line selection shift register that sequentially shifts and outputs one by one up to n stages; a combination pattern creation counter that outputs the count output as an n-bit combination pattern signal; the output of the line selection shift register; and the combination pattern signal. Outputting the bit-to-bit logical product with the pattern output of the pattern creation counter sequentially selects and outputs the measurement value data corresponding to the combination pattern output from among the measurement value data stored in the storage circuit. Each time it receives weighing value data selected and output one by one from the switches according to one combination pattern, the total value or the difference between this total value and a predetermined target value is digitally calculated. an arithmetic circuit that performs calculations; a determination circuit that receives a calculation result calculated each time the measurement value data is input in the calculation circuit and determines that the sum of the measurement value data has become larger than the target value; and the line selection. and a pattern update circuit that inputs a signal indicating that a shift of the shift register for use in the transfer circuit has completed one cycle, or a judgment signal from the judgment circuit to the count input terminal of the pattern creation counter as a pattern update signal. Combination selection circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8958683A JPS59214718A (en) | 1983-05-21 | 1983-05-21 | Combination selecting circuit of combination measuring machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8958683A JPS59214718A (en) | 1983-05-21 | 1983-05-21 | Combination selecting circuit of combination measuring machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59214718A JPS59214718A (en) | 1984-12-04 |
| JPH04206B2 true JPH04206B2 (en) | 1992-01-06 |
Family
ID=13974883
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8958683A Granted JPS59214718A (en) | 1983-05-21 | 1983-05-21 | Combination selecting circuit of combination measuring machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59214718A (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5794617A (en) * | 1980-12-04 | 1982-06-12 | Yamato Scale Co Ltd | Combined weighing apparatus |
| JPS57141517A (en) * | 1981-02-25 | 1982-09-01 | Ishida Scales Mfg Co Ltd | Method and device for combined weighing or counting |
| JPS59180332A (en) * | 1983-03-30 | 1984-10-13 | Anritsu Corp | Combination selecting circuit for combinational weighing machine |
-
1983
- 1983-05-21 JP JP8958683A patent/JPS59214718A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59214718A (en) | 1984-12-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4267894A (en) | Combination weighing device | |
| US4661920A (en) | Automatic zero-adjustment method and apparatus | |
| US5525939A (en) | Recirculating delay line digital pulse generator having high control proportionality | |
| EP0414953B1 (en) | Position detection device | |
| JPH0430215B2 (en) | ||
| US4570728A (en) | Combination weighing system | |
| JP2930611B2 (en) | Method and apparatus for determining correction values for self-calibrating AD and DA converters | |
| JP2590741Y2 (en) | Timing generator for semiconductor test equipment | |
| JPH0153405B2 (en) | ||
| JPH0139054B2 (en) | ||
| CA1186752A (en) | Digital phase-locked loop | |
| JPH04206B2 (en) | ||
| US3953718A (en) | Digital calculating apparatus | |
| JPH0344254B2 (en) | ||
| US4577707A (en) | Method of and apparatus for combinatorial computation | |
| JPH041286B2 (en) | ||
| JPH0224450B2 (en) | ||
| JP2766133B2 (en) | Parallel-serial data conversion circuit | |
| JPH025247B2 (en) | ||
| US4785251A (en) | Digital frequency and phase comparator | |
| JPH024944B2 (en) | ||
| JPH0153404B2 (en) | ||
| JP2563366B2 (en) | Signal cycle measuring device | |
| JPS58178222A (en) | Zero point detecting device of measuring conveyer | |
| JPH02119592A (en) | Motor speed controller |