JPS5929913B2 - Control circuit for vending machines - Google Patents
Control circuit for vending machinesInfo
- Publication number
- JPS5929913B2 JPS5929913B2 JP6421981A JP6421981A JPS5929913B2 JP S5929913 B2 JPS5929913 B2 JP S5929913B2 JP 6421981 A JP6421981 A JP 6421981A JP 6421981 A JP6421981 A JP 6421981A JP S5929913 B2 JPS5929913 B2 JP S5929913B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- signal
- output
- coin
- price
- 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
Landscapes
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Description
【発明の詳細な説明】
本発明は自動販売機における投入金額の計算、釣銭計算
、制御機構などを電子回路にて構成するようにした自動
販売機用電子制御回路に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic control circuit for a vending machine in which calculation of input amount, change calculation, control mechanism, etc. in a vending machine are configured by electronic circuits.
従来の自動販売機貨幣計数販売制御機構は大部分が機械
式であり、機械式の欠点としては次のことがあげられる
。Most conventional automatic vending machine money counting and sales control mechanisms are mechanical, and the mechanical system has the following drawbacks.
即ち設定価格は200円が最高であり、単一価格設定し
かできないこと、同一機能で機構が大型となること、自
動返金機能、コイン詰り検出機能、つり銭状態による販
売信号の広範囲制御等は機械式では実現困難あるいは不
可能であることなどである。In other words, the maximum set price is 200 yen, only a single price can be set, the mechanism is larger with the same function, automatic refund function, coin jam detection function, wide range control of sales signals depending on change status, etc. are mechanical. In other words, it is difficult or impossible to realize.
このような欠点は機能的にみても最近の自動販売機ユー
ザーの要求とはあわなくなり機械式によって将来の要求
に対応していくことは限界があると思われる。Even from a functional point of view, these drawbacks do not meet the demands of recent vending machine users, and it seems that there is a limit to how mechanical systems can meet future demands.
本発明は従来の機械式貨幣計数販売制御機構のかわりに
電子制御回路を用いることにより従来の機械式貨幣計数
販売制御機構の欠点を解消するばかりでなく、新たな特
徴を有する自動販売機の販売制御用電子制御回路を構成
するものである。The present invention uses an electronic control circuit in place of the conventional mechanical money counting and vending control mechanism, thereby not only solving the drawbacks of the conventional mechanical money counting and vending control mechanism, but also providing a vending machine with new features. This constitutes a control electronic control circuit.
従って本発明の目的とするところは多重価格設定を容易
に可能とするとともに、販売不能な状態のコイン投入が
あった場合に投入金額を全額自動返金するための自動返
金機構を得ることである。Therefore, an object of the present invention is to easily enable multiple price setting and to provide an automatic refund mechanism that automatically refunds the entire amount of money inserted when a coin is inserted that cannot be sold.
上記の目的は、本発明によれば、複数の価格の設定が可
能な価格設定手段と、該手段に設定された複数の価格の
各々について投入金額と比較し釣銭有無に応じて販売可
能な設定価格に対してそれぞれ販売可能信号を送出する
手段とを有してなる自動販売機用制御回路において、投
入金額がすべての設定価格以上となり、かつ販売可能信
号がいずれの設定価格に対しても生じていないとき投入
金額を自動返却するための自動返金信号を形成する手段
を設けることにより達成される。According to the present invention, the above object is to provide a price setting means that can set a plurality of prices, and a setting that allows selling according to the presence or absence of change by comparing each of the plurality of prices set in the means with the input amount. In a control circuit for a vending machine, the control circuit has means for sending a sell enable signal for each price, and the input amount is equal to or higher than all set prices, and the sell enable signal is generated for each set price. This is accomplished by providing means for generating an automatic refund signal for automatically returning the deposited amount when the deposit is not completed.
以下、本発明の実施例を図面を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.
なお、実施例においては貨幣としてYI O。¥50.
Y100の各種コインを用いたものを考える。In addition, in the example, YIO is used as currency. ¥50.
Consider a case using various Y100 coins.
第1図は本発明による装置の動作を示すブロックダイヤ
グラムを示している。FIG. 1 shows a block diagram illustrating the operation of a device according to the invention.
図において1はエンコーダ、2は加減算器、3はトータ
ル・ペイアウト用シフトレジスタ、4はY50枚数レジ
スタ、5は¥100枚数レジスタ、6は釣銭額にとY2
Oとを比較するに≧50コンパレータ、7は商品設定価
格P1にY2Oを加えるP、+90加算回路、8は商品
設定価格P、にY5Oを加えるP、+50加算回路、9
は商品設定価格P2にY2Oを加えるP2+90加算回
路、10は商品設定価格P2にY2Oを加えるP2+5
0加算回路、11は投入金額とPlおよびP、+50お
よびB1+90とを比較する商品設定価格B1用コンパ
レータ、12は投入金額とB2およびB2+50および
B2+90とを比較する商品設定価格B2用コンパレー
タ、13は商品設定価格P、を設定するためのP1価格
設定回路、14は商品設定価格P2を設定するためのP
2価格設定回路、15はB1用コンパレータ11の出力
により商品設定価格P1の商品の販売を制御するP1用
ベンド制御回路、16はB2用コンパレータ12の出力
により商品設定価格P2の商品の販売を制御するB2用
ベンド制御回路、17はコイン払出し制御回路、18は
コイン詰まり検出回路、19は返金ラッチ回路、20は
自動返金回路、21はセレクトラッチ回路、22はCR
EM制御回路(後述)、23は2相りロックパルス発生
回路、24はビットパルス発生回路を示している。In the figure, 1 is the encoder, 2 is the adder/subtractor, 3 is the shift register for total payout, 4 is the Y50 number register, 5 is the ¥100 number register, 6 is the change amount and Y2
≧50 comparator to compare with O, 7 is a P that adds Y2O to the product setting price P1, +90 addition circuit, 8 is a P that adds Y5O to the product setting price P, +50 addition circuit, 9
is a P2+90 addition circuit that adds Y2O to the product setting price P2, and 10 is a P2+5 addition circuit that adds Y2O to the product setting price P2.
0 addition circuit; 11 is a comparator for product setting price B1 that compares the input amount with Pl, P, +50, and B1+90; 12 is a comparator for product setting price B2 that compares the input amount with B2 and B2+50 and B2+90; P1 price setting circuit for setting the product setting price P, 14 is P for setting the product setting price P2
2 price setting circuit; 15 is a bend control circuit for P1 which controls the sale of a product with a set price P1 based on the output of the comparator 11 for B1; 16 is a bend control circuit for controlling the sale of a product with a set price P2 based on the output of the comparator 12 for B2; 17 is a coin payout control circuit, 18 is a coin jam detection circuit, 19 is a refund latch circuit, 20 is an automatic refund circuit, 21 is a select latch circuit, 22 is a CR
EM control circuit (described later), 23 is a two-phase lock pulse generation circuit, and 24 is a bit pulse generation circuit.
またA1は釣銭YIO無し信号、A2は釣銭Y2O無し
信号、B、はコイン払出し信号、B2はY50コイン払
出し信号、■END1はP1商品販売可能信号、■EN
D2はB2商品販売可能信号、PO8はコイン払出し確
認信号、POは手動返金入力、5EL1は商品設定価格
P1の商品のセレクト入力、5EL2は商品設定価格P
2の商品のセレクト入力、t1〜t、はビットノジルス
、ESC・ACCおよびESC−RTRNはエスクロ内
の¥100コイン集金信号および返金信号を示している
。Also, A1 is a change YIO no change signal, A2 is a change Y2O no change signal, B is a coin payout signal, B2 is a Y50 coin payout signal, ■END1 is a P1 product sales ready signal, ■EN
D2 is the B2 product sales ready signal, PO8 is the coin payout confirmation signal, PO is the manual refund input, 5EL1 is the product selection input with the product set price P1, 5EL2 is the product set price P
2, t1 to t indicate the selection input of the product, Bit Nojirus, ESC/ACC, and ESC-RTRN indicate the ¥100 coin collection signal and refund signal in the escrow.
端子■〜■およびTは第2図のそれらと対応している。Terminals 1 to 2 and T correspond to those in FIG.
実施例においては金額は10進法における1″がYIO
を表わすようにした6ビツトの純2進数で表わされる。In the example, the amount is 1" in decimal notation YIO
It is expressed as a 6-bit pure binary number.
ここで使用されるコインをyio。Y2O,Ylooで
あるとするとyioは”oooooi”、Y5Oはoo
oioi”、Y1O0は001010 ”の2進コード
でそれぞれ表わされる。yio the coin used here. If Y2O, Yloo, yio is “ooooooi” and Y5O is oo
oioi'' and Y1O0 are respectively represented by the binary code 001010''.
それゆえ、6ビツトを用いた場合の最高販売価格は63
0円であり、最高販売価格はビット数を多くすることに
より高くすることができる。Therefore, the maximum selling price when using 6 bits is 63
The maximum selling price can be increased by increasing the number of bits.
本発明による自動販売機コインノック用電子制御回路の
動作を第1図に示したブロック図に基づいて詳細に説明
する。The operation of the electronic control circuit for a coin knock in a vending machine according to the present invention will be explained in detail based on the block diagram shown in FIG.
YIO,Y2O,Ylooのコインの投入があるごとに
投入コインはエンコーダ1により前述のようにその金額
を表わす2進コードに変換されて加減算器2に印加され
、トータル・ペイアウト用シフトレジスタ3に記憶され
ている今までの投入金額と加算されて投入合計金額がト
ータル・ペイアウト用シフトレジスタ3に記憶される。Each time YIO, Y2O, Yloo coins are inserted, the inserted coins are converted by the encoder 1 into a binary code representing the amount as described above, applied to the adder/subtractor 2, and stored in the shift register 3 for total payout. The total amount of input is added to the amount of input so far, and the total amount of input is stored in the shift register 3 for total payout.
トータル・ペイアウト用シフトレジスタ3は2相のクロ
ックパルスによりシフトされるものである。The total payout shift register 3 is shifted by two-phase clock pulses.
このときY1O0のコインは一時エスクロと称するスペ
ースに保持され、YIO,Y2Oのコインはそれぞれの
釣銭筒内に自動的に収納される。At this time, the coins of Y1O0 are temporarily held in a space called escrow, and the coins of YIO and Y2O are automatically stored in their respective change cylinders.
また¥50.¥100のコインの投入に対してはコイン
の投入があるたびに、その人力パルスは¥50枚数レジ
スタ4および¥100枚数レジスタ5に送られ、それぞ
れの投入枚数が記憶される。Also ¥50. Each time a coin of 100 yen is inserted, the human pulse is sent to the 50 yen coin number register 4 and the 100 yen coin number register 5, and the respective inserted numbers are stored.
コイン投入の際にコイン詰まりがあった場合にはコイン
詰まり検出回路18においてコインの詰まりを検出し、
投入硬貨をそのまま返却する硬貨返却電磁石(Coin
Return Electromagnet。If a coin is jammed when inserting a coin, the coin jam detection circuit 18 detects the coin jam;
Coin return electromagnet (Coin) that returns inserted coins as is.
Return Electromagnet.
以下CREMと称する)CREMの制御回路にその信号
を送り、コインの投入を阻止する機能を有している。It has a function of sending the signal to the control circuit of CREM (hereinafter referred to as CREM) and preventing the insertion of coins.
ここでコイン詰まりとはコインが詰まっていてコイン入
力信号が連続的に出されている状態である。Here, a coin jam is a state in which coins are jammed and a coin input signal is continuously output.
商品設定価格は10進法における1”がY1Oを表わす
ようにした6ビツトの純2進法による2進コードで表わ
される。The product price is expressed in a 6-bit pure binary binary code in which 1'' in the decimal system represents Y1O.
本発明においては1つの自動販売機コインノック用電子
制御回路において2つの商品価格P1tP2を設定する
ためのP1価格設定回路13とP2価格設定回路14と
を設けることにより1つの自動販売機コインノック用電
子制御回路において2つの価格の異なる商品の販売を可
能とし、この自動販売機コインノック用電子制御回路を
1つの自動販売機内に複数個設置することにより多重価
格の自動販売機を得ることができる。In the present invention, by providing a P1 price setting circuit 13 and a P2 price setting circuit 14 for setting two product prices P1tP2 in one vending machine coin knock electronic control circuit, one vending machine coin knock electronic control circuit is provided. The electronic control circuit makes it possible to sell products with two different prices, and by installing a plurality of these vending machine coin knock electronic control circuits in one vending machine, a multi-price vending machine can be obtained. .
この場合P1.P2の値は従来の装置においてP1tP
2のどちらかが必らず大きくなければならないという規
定のあるものもあるが、本発明においてはP、〉B2、
P、=P2、Pl〈B2のどのような設定でも行なうこ
とが可能である。In this case P1. The value of P2 is P1tP in conventional equipment.
There are regulations that say that either one of 2 must be large, but in the present invention, P, >B2,
Any setting of P,=P2, Pl<B2 can be made.
P1価格設定回路13、P2価格設定回路14において
設定された6ビツトの純2進法による2進コードのうち
Plの2進コードはP、+50加算回路8とP、+90
加算回路7に、B2の2進コードはP2+50加算回路
10とP2+90加算回路9に加えられる。Among the 6-bit pure binary binary codes set in the P1 price setting circuit 13 and the P2 price setting circuit 14, the binary code of P1 is P, +50, and the addition circuit 8 and P, +90.
In addition circuit 7, the binary code of B2 is applied to P2+50 addition circuit 10 and P2+90 addition circuit 9.
P1+50加算回路8、P2+50加算回路10にはそ
のほかにビットパルス発生回路24からt1+t3のビ
ットパルス即ちY2Oを表わす”000101”が加え
られており、P1+50、P2+50の加算が行なわれ
る。In addition, a bit pulse of t1+t3, ie, "000101" representing Y2O is applied from the bit pulse generating circuit 24 to the P1+50 adding circuit 8 and the P2+50 adding circuit 10, and addition of P1+50 and P2+50 is performed.
P1+90加算回路7、P2+90加算回路9にはその
ほかにビットパルス発生回路24より11+1.のビッ
トパルス即ちY2Oを表わす” OO1001”が加え
られており、P1+90、P2+90の加算が行なわれ
る。In addition to the P1+90 adder circuit 7 and the P2+90 adder circuit 9, 11+1. "OO1001" representing the bit pulse of Y2O is added, and addition of P1+90 and P2+90 is performed.
ビットパルス発生回路24は2相のクロックパルスφ1
.φ2によりシフトされていくシフトレジスタより構成
され、t1〜t7のビットパルスをクロックパルス周期
において発生し、そのうちt1〜t6のビットパルスが
金額を表わすのに使用される。The bit pulse generation circuit 24 generates a two-phase clock pulse φ1.
.. It is composed of a shift register shifted by φ2, and generates bit pulses from t1 to t7 in a clock pulse period, of which the bit pulses from t1 to t6 are used to represent the amount of money.
商品設定価格P1、P1+50、P、+90、トータル
・ペイアウト用シフトレジスタ3に記憶されている投入
合計金額Xは商品設定価格P1用コンパレータ11に、
商品設定価格P2、P2+50、P2+90、前記投入
合計金額Xは商品設定価格P2用コンパレータ12にそ
れぞれ加えられ、その比較結果として商品設定価格P1
用コンパレータ11よりX=P1、x>pl、X>P1
+90、X=P1+50、商品設定価格P2用コンパレ
ータ12よりX−P2、X>P2+90、X=P2+5
0の出力を得ることができる。The product setting price P1, P1+50, P, +90, the total input amount X stored in the total payout shift register 3 are input to the product setting price P1 comparator 11,
The product setting prices P2, P2+50, P2+90, and the total input amount X are respectively added to the product setting price P2 comparator 12, and the comparison result is the product setting price P1.
From the comparator 11, X=P1, x>pl, X>P1
+90, X=P1+50, X-P2 from comparator 12 for product setting price P2, X>P2+90, X=P2+5
You can get an output of 0.
商品設定価格P1用コンパレータ11からの出力はP、
用ベンド制御回路15に、商品設定価格P2用コンパレ
ータ12からの出力はP2用ベンド制御回路16にそれ
ぞれ加えられる。The output from the comparator 11 for product setting price P1 is P,
The output from the product setting price P2 comparator 12 is applied to the P2 bend control circuit 16, respectively.
Pl、P2用ベンド制御回路15.16にはそのほかに
釣銭YIO無し信号A1、釣銭Y2O無し信号A2が加
えられている。In addition, a change YIO missing signal A1 and a change Y2O missing signal A2 are added to the bend control circuits 15 and 16 for Pl and P2.
実施例において、Pl、P2用ベンド制御回路15,1
6よりPl、P2商品販売可能信号VEND1.VEN
D2が出されるのは次の条件のときである。In the embodiment, the bend control circuits 15, 1 for Pl and P2
6 from Pl, P2 product sales enable signal VEND1. VEN
D2 is issued under the following conditions.
1)X=P1orP2の場合、
ii) Pl<X≦P1+ 90 or P2 <X
≦P2+90で¥10釣銭有りの場合、
ND X=P1+ 50 or X= P2 + 50
でY50釣銭有りの場合、
このように従来装置ではY2Oの釣銭がある場合でも¥
lOの釣銭が無い場合には釣銭の必要のある販売は行な
わなかったのであるが、実施例の装置においては商品設
定価格P1.P2とY5Oとを加算した数P1+50、
P2+50を投入合計金額Xと比較することによりY1
Oの釣銭のない場合にも釣銭¥50があり、かつ釣銭額
がY2Oである場合の販売を可能とすることができる。1) When X=P1orP2, ii) Pl<X≦P1+ 90 or P2<X
If ≦P2+90 and ¥10 change is available, ND X=P1+50 or X=P2+50
If there is Y50 change, in this way, with the conventional device, even if there is Y2O change, ¥
If there was no change of 10, sales that required change were not performed, but in the device of the embodiment, the product set price P1. The number P1+50, which is the sum of P2 and Y5O,
Y1 by comparing P2+50 with the total input amount X
Even if there is no change for O, there is change of ¥50, and the sale can be made when the change amount is Y2O.
客がP1価格かP2価格の商品のいずれかを選択するこ
とによりセレクトラッチ回路21に操作入力5EL1、
あるいは5EL2が送られてきてセレクトラッチ回路2
1によって商品設定価格P1の商品の選択か商品設定価
格P2の商品の選択かを判断し、5EL1、あるいは5
EL2とほぼ同時に生じる外部からの販売信号Tにより
エスクロ内に一時保管されていたY1O0のコインを収
金するための信号ESC−ACCをエスクロに送る。When the customer selects either the product with the P1 price or the P2 price, an operation input 5EL1 is sent to the select latch circuit 21;
Or 5EL2 is sent and select latch circuit 2
1 determines whether to select the product with the product setting price P1 or the product with the product setting price P2, and select 5EL1 or 5.
A signal ESC-ACC for collecting Y1O0 coins temporarily stored in the escrow is sent to the escrow in response to an external sales signal T generated almost simultaneously with EL2.
次にセレクトラッチ回路21の出力信号は5EL1を選
択したか5EL2を選択したかにより5EL1を選択し
た場合にはP1価格設定回路13に、5EL2を選択し
た場合にはP2価格設定回路14に送られる。Next, the output signal of the select latch circuit 21 is sent to the P1 price setting circuit 13 when 5EL1 is selected, and to the P2 price setting circuit 14 when 5EL2 is selected, depending on whether 5EL1 or 5EL2 is selected. .
P0価格設定回路13およびP2価格設定回路14にお
いてはセレクトラッチ回路21の出力信号を受は取ると
商品設定価格を表わす2進コードを加減算器2に送る。The P0 price setting circuit 13 and the P2 price setting circuit 14 receive the output signal of the select latch circuit 21 and send a binary code representing the product setting price to the adder/subtractor 2.
加減算器2においては、このときトータル・ペイアウト
用シフトレジスタ3に記憶されていた投入合計金額Xか
らP1価格設定回路13またはP2価格設定回路14よ
り送られてくる設定価格の減算が行なわれる。In the adder/subtractor 2, the set price sent from the P1 price setting circuit 13 or the P2 price setting circuit 14 is subtracted from the input total amount X stored in the total payout shift register 3 at this time.
即ちX−PlまたはX−P2の減算が行なわれ、その減
算結果Kがトータル・ペイアウト用シフトレジスタ3に
釣銭額として記憶される。That is, subtraction of X-Pl or X-P2 is performed, and the subtraction result K is stored in the total payout shift register 3 as the change amount.
この記憶された内容Kが釣銭額を示している。This stored content K indicates the amount of change.
即ちトータル・ペイアウト用シフトレジスタ3は釣銭レ
ジスタの働らきをする。That is, the total payout shift register 3 functions as a change register.
このトータル・ペイアウト用シフトレジスタ3の記憶内
容にはに≧50コンパレータ6におくられ、釣銭額Kが
Y2Oよりも大きいかどうかが比較される。The stored contents of the total payout shift register 3 are sent to a comparator 6 to determine whether the change amount K is larger than Y2O.
K≧50コンパレータ6にはY5Oの信号としてt1+
t3のビットパルスがP1+50加算回路8およびP2
+50加算回路10と同じように加えられている。K≧50 Comparator 6 receives t1+ as Y5O signal
The bit pulse of t3 is P1+50 addition circuit 8 and P2
It is added in the same way as the +50 adder circuit 10.
K≧50コンパレータの出力信号はコイン払出し制御回
路17に送られる。K≧50 The output signal of the comparator is sent to the coin payout control circuit 17.
コイン払出し制御回路17には他に入力として¥50釣
銭無しの信号A2およびトータル・ペイアウト用シフト
レジスタ3に記憶されている釣銭額K、Y50枚数レジ
スタ4の投入枚数を表わす出力信号、コイン払出し確認
信号PO8が加えられている。The coin payout control circuit 17 also receives as input a signal A2 indicating ¥50 no change, an output signal representing the amount of change K and Y50 stored in the total payout shift register 3, the number of coins inserted into the number register 4, and coin payout confirmation. Signal PO8 is added.
コイン払出し制御回路17においてコイン払出し信号B
1、Y50コイン払出し信号B2による釣銭の払出しは
次のように行なわれる。Coin payout signal B in coin payout control circuit 17
1. Change payout using the Y50 coin payout signal B2 is performed as follows.
i)K<Y2Oの場合・・・・・・¥10×n枚で払い
出しくn<5)
ii) K>Y5OでY50釣銭有りの場合・・・・・
・¥50×1枚、¥10×n枚で払い出しくn<5)i
ii)K>Y5Oで¥50釣銭無しの場合・・・・・・
¥10×n枚で払出しく 10>n>O)
実施例においてはコインが投入された場合に釣銭がY9
0以下になる商品の販売だけを可能とするため釣銭額は
必ずY90以下である。i) If K<Y2O...Pay out ¥10 x n pieces n<5) ii) If K>Y5O and there is Y50 change...
・Pay out ¥50 x 1 piece, ¥10 x n pieces n<5)i
ii) If K>Y5O and there is no change for ¥50...
Payout in ¥10 x n pieces 10>n>O) In the example, when a coin is inserted, the change is Y9
Since only products with a value of 0 or less can be sold, the amount of change must be Y90 or less.
このことハP1用コンパレータ11およびP2コンパレ
ータ12からの出力信号X>P1+90、X>P2十9
0によってP1用ベンド制御回路15およびP2用ベン
ド制御回路16からのVENDo、VEND2の信号を
制御することにより行ない得る。This means that the output signals from the P1 comparator 11 and the P2 comparator 12 are X>P1+90, X>P290,
This can be done by controlling the VENDo and VEND2 signals from the P1 bend control circuit 15 and the P2 bend control circuit 16 using 0.
コイン払出しの都度、コイン払出し制御回路17はコイ
ン払出し確認信号PO8を受は払出し金額を表わす2進
コードを加減算器2に送り、トータル・ペイアウト用シ
フトレジスタ3に記憶されている釣銭額Kから払い出し
た釣銭の減算を行なわせる。Each time a coin is paid out, the coin payout control circuit 17 receives a coin payout confirmation signal PO8 and sends a binary code representing the payout amount to the adder/subtractor 2, and pays out the change amount K stored in the total payout shift register 3. Have the child subtract the change.
そしてトータル・ペイアウト用シフトレジスタ3の記憶
されている釣銭額Kが0″になったところで釣銭の払出
しを停止させる。Then, when the change amount K stored in the total payout shift register 3 reaches 0'', the payout of change is stopped.
但し釣銭額がY2Oよりも大きな場合にはK〉50コン
パレータ6の出力信号により¥50釣銭を先に払出し残
りをYIOで払い出すようにしている。However, if the amount of change is larger than Y2O, the output signal of the K>50 comparator 6 causes the ¥50 change to be paid out first and the remainder to be paid out in YIO.
手動返金を行なう場合には返金ラッチ回路19に手動返
金人力POを加えると一定時間の間にセレクト信号のな
い場合には全額返金が行なわれる。When performing a manual refund, a manual refund manual PO is added to the refund latch circuit 19, and if there is no selection signal within a certain period of time, a full refund will be made.
Y1O0は一時保持されていたエスクロより払出され、
Y1O0の投入枚数を記憶しているY100枚数レジス
タ5の内容が°0′″になるまで加減算器2およびトー
タル・ペイアウト用シフトレジスタ3によって投入合計
金額Xからの減算を行なう。Y1O0 will be paid out from the escrow that was temporarily held,
Subtraction is performed from the total input amount X by the adder/subtractor 2 and the shift register 3 for total payout until the contents of the Y100 coin count register 5, which stores the input number of Y1O0 coins, becomes 0''.
同じく¥50枚数レジスタ4に記憶されている投入枚数
が0″になるまで、加減算器2およびトータル・ペイア
ウト用シフトレジスタ3により投入金額Xからの減算を
行なう。Similarly, the adder/subtractor 2 and the total payout shift register 3 subtract from the input amount X until the number of input coins stored in the ¥50 coin count register 4 becomes 0''.
この場合、Y50枚数レジスタ4、¥100枚数レジス
タ5の出力信号は第1図のブロック図に示されているよ
うにエンコーダ1を介してそれぞれの金額を表わす2進
コードに変換され、さらに加減算器2により減算が行な
われる。In this case, the output signals of the Y50 number register 4 and the ¥100 number register 5 are converted into binary codes representing the respective amounts via the encoder 1 as shown in the block diagram of FIG. 2 performs subtraction.
¥50.¥100を返金したのちのトータル・ペイアウ
ト用シフトレジスタ3の残りの記憶内容が”0″になる
までY1Oの返金が行なわれる。¥50. After the ¥100 is refunded, Y1O is refunded until the remaining memory contents of the total payout shift register 3 become "0".
そしてトータル・ペイアウト用シフトレジスタ3の記憶
内容が0″になったところで返金は終了する。The refund ends when the stored content of the total payout shift register 3 becomes 0''.
本発明においては、投入金額Xが最高商品設定価格より
も大きな場合に全ての販売出力が生じない場合には自動
返金制御回路20において判断し、自動的に返金ラッチ
回路19に信号を送り全額返金を行なわせる。In the present invention, if the input amount X is larger than the maximum product setting price and not all sales output is generated, the automatic refund control circuit 20 determines and automatically sends a signal to the refund latch circuit 19 for a full refund. have them do it.
このとき返金ラッチ回路19はESC−RTRN信号を
送出するとともに、Y50枚数レジスタ4および¥10
0枚数レジスタ5へ信号を送る。At this time, the refund latch circuit 19 sends out the ESC-RTRN signal, and the Y50 number register 4 and the ¥10
Sends a signal to the 0 sheet count register 5.
またコイン詰まりの生じている場合、販売信号がでてい
る場合、返金が行なわれている場合にはコインの投入を
阻止する信号CREMがCREM制御回路22より出さ
れる。Further, if a coin is jammed, a sale signal is issued, or a refund is being made, the CREM control circuit 22 outputs a signal CREM to prevent coin insertion.
以上のような第1図のブロック図に基づいた本発明の制
御回路の動作は第2図および第3図に示した第1図のブ
ロック図の実施例の説明により一層明確に示される。The operation of the control circuit of the present invention based on the block diagram of FIG. 1 as described above will be more clearly illustrated by the explanation of the embodiment of the block diagram of FIG. 1 shown in FIGS. 2 and 3.
第2図および第3図は第1図に示した本発明のブロック
図の動作を行なう一実施例を示す回路である。FIGS. 2 and 3 are circuits showing an embodiment for performing the operation of the block diagram of the present invention shown in FIG. 1. FIG.
第1図、第2図、第3図に基づいて本発明の詳細な説明
する。The present invention will be explained in detail based on FIGS. 1, 2, and 3.
第2図、第3図において[有]〜■までの信号は本発明
による自動販売機コインノック用電子制御回路内の信号
であり、他の信号はこの電子制御回路以外の自動販売機
の装置より電子制御回路に送られてくるものか、あるい
は電子制御装置より他の自動販売機の装置へ送られるも
のである。In FIGS. 2 and 3, the signals from [Yes] to ■ are signals within the electronic control circuit for the coin knock of the vending machine according to the present invention, and the other signals are from devices of the vending machine other than this electronic control circuit. Either it is sent to the electronic control circuit, or it is sent from the electronic control unit to other vending machine devices.
第1図におけるエンコーダ1の実施例を示す回路は第2
図においてAND回路25〜27.37、OR回路28
〜31,38、NAND回路32〜35、インバータ回
路36,4Lサイクルタイマ39、ワイヤードOR回路
WO4から成り立っている。The circuit illustrating the embodiment of the encoder 1 in FIG.
In the figure, AND circuits 25 to 27, 37, OR circuit 28
31, 38, NAND circuits 32 to 35, an inverter circuit 36, a 4L cycle timer 39, and a wired OR circuit WO4.
最初は本発明による自動販売機コインノック用電子制御
回路が動作中であることを表わす記号■は0”であるか
らAND回範25〜27にはインバータ回範41より°
1″が加えられているためコイン入力¥10.Y50.
Y100があった場合にはそれに対応してAND回路2
5〜27に出力″1 uが生じ、その出力e+ 111
はOR回路28〜30に加えられOR回路28〜30に
はAND回路25〜27の出力と同一の出力”1を生じ
る。Initially, the symbol ■ indicating that the electronic control circuit for the coin knock of the vending machine according to the present invention is in operation is 0'', so the AND ranges 25 to 27 are determined by the inverter range 41.
Since 1" is added, coin input ¥10.Y50.
If Y100 is present, AND circuit 2
Output ``1 u'' occurs at 5-27, and its output e+ 111
is applied to the OR circuits 28-30, and the OR circuits 28-30 produce an output "1" which is the same as the output of the AND circuits 25-27.
またNAND回路32にはtlのビットパルス、NAN
D回路33には+2のビットパルス、NAND回路34
には+3のビットパルス、NAND回路35には+4の
ビットパルスがシフトレジスタSR1から加えられてい
る。In addition, the NAND circuit 32 has a bit pulse of tl, NAND
+2 bit pulse in D circuit 33, NAND circuit 34
A +3 bit pulse is applied to the NAND circuit 35, and a +4 bit pulse is applied to the NAND circuit 35 from the shift register SR1.
シフトレジスタSR1は第1図のブロック図においてビ
ットパルス発生回路24で示されているもので、2相ダ
イナミツクシフトレジスタであり、2相クロックパルス
φ1.φ2によりシフトされてt1〜t7のビットパル
スを発生するように構成する。The shift register SR1 is shown as the bit pulse generation circuit 24 in the block diagram of FIG. 1, and is a two-phase dynamic shift register, which generates two-phase clock pulses φ1. The bit pulses are shifted by φ2 to generate bit pulses from t1 to t7.
NAND回路32〜35にはt1〜t4のビットパルス
のほかにOR回路29〜31の出力が加えられている。The outputs of the OR circuits 29-31 are applied to the NAND circuits 32-35 in addition to the bit pulses t1-t4.
このようにすることによりYIOのコイン入力があった
場合にはこの入力はOR回路28,31を介してNAN
D回路32に加えられるためNAND回路32の出力は
tlのビットパルスに同期するため6ビツトの2進数に
おいて111110”で表わされ、ワイヤードOR回路
WO1を介してインバータ回路36で反転して’000
001”となり1″をYIOで表わすようにしておくこ
とにより純2進法においてYIOを示す2進コードを得
ることができる。By doing this, if there is a YIO coin input, this input will be converted to NAN via the OR circuits 28 and 31.
Since it is applied to the D circuit 32, the output of the NAND circuit 32 is synchronized with the bit pulse of tl, so it is expressed as 111110'' in a 6-bit binary number, and it is inverted by the inverter circuit 36 via the wired OR circuit WO1 and becomes '000.
001'' and 1'' is expressed as YIO, it is possible to obtain a binary code indicating YIO in pure binary system.
同様にしてY5Oのコイン入力はNAND回路32.3
4に加えられ、t1〜t3のビットパルスと同期するた
めインバータ回路36の出力は’000101”即ちY
5Oを示す2進コードが現われる。Similarly, Y5O coin input is NAND circuit 32.3
4 and synchronized with the bit pulses from t1 to t3, the output of the inverter circuit 36 is '000101', that is, Y
A binary code indicating 5O appears.
またY1O0のコイン入力はNAND回路33.35に
加えられ、+2.+4のビットパルスに同期してインバ
ータ回路36の出力に’ooioio”′即ち、Y1O
0を示す2進コードが現われる。Also, the coin input of Y1O0 is added to the NAND circuit 33.35, +2. In synchronization with the +4 bit pulse, the output of the inverter circuit 36 is 'ooioio'', that is, Y1O.
A binary code indicating 0 appears.
インバータ回路36の出力はAND回路37に加えられ
るが、AND回路37には他にサイクルタイマ39から
信号が加えられている。The output of the inverter circuit 36 is applied to an AND circuit 37, but a signal from a cycle timer 39 is also applied to the AND circuit 37.
サイクルタイマ39にはOR回路28〜30の出力がO
R回路38を介して加えられている。The outputs of the OR circuits 28 to 30 are output to the cycle timer 39.
It is applied via the R circuit 38.
即ちサイクルタイマ39はyio、Y5O、Y1O0の
いずれかのコイン入力があった場合に一定時間、出力゛
1″をAND回路37に送る働らきをする。That is, the cycle timer 39 functions to send an output "1" to the AND circuit 37 for a certain period of time when any one of yio, Y5O, and Y1O0 coins is input.
一定時間とは一般にはt1〜t7のビットパルスの1サ
イクルタイムが用いられる。The fixed time is generally one cycle time of bit pulses from t1 to t7.
故にAND回路37の出力はt1〜t7の1サイクルタ
イム間だけ、即ちYIO,Y2O,Ylooのコイン入
力を表わすパルスは1回だけしかMの回路37の出力端
から出ないということになるためコインの2重計算とい
うことは生じない。Therefore, the output of the AND circuit 37 is only for one cycle time from t1 to t7, that is, the pulse representing the coin input of YIO, Y2O, and Yloo is output from the output terminal of the circuit 37 of M only once. No double calculation will occur.
このAND回路37からの投入金額を表わすパルスは第
1図のブロック図に示されているように加減算器2にお
くられる。A pulse representing the input amount from the AND circuit 37 is sent to the adder/subtractor 2 as shown in the block diagram of FIG.
第1図のブロック図において示された加減算器2、およ
びトータル・ペイアウト用シフトレジスタ3は第2図に
おいてOR回路44、加減算器ADD、シフトレジスタ
SR2、OR回路46から示される部分より成り立って
いる。The adder/subtractor 2 and total payout shift register 3 shown in the block diagram of FIG. 1 are made up of the parts shown in FIG. 2, including an OR circuit 44, an adder/subtractor ADD, a shift register SR2, and an OR circuit 46. .
加減算器ADDは、インバータ43の出力に応じて加算
、減算モードの切換えが行われる純2進法の加減算器(
内部の詳細回路については、必要ならば例えば昭和46
年8月15日、株うジオ技術社発行「電卓技術教科書・
基礎編」第176頁、第5・8図を参照されたい。The adder/subtractor ADD is a pure binary adder/subtractor (
Regarding the internal detailed circuit, if necessary, for example,
August 15, 2015, “Calculator Technology Textbook” published by U Geo Gijutsu Co.
Please refer to Figures 5 and 8 on page 176 of "Basic Edition."
)であって、シフトレジスタSR2からの出力に対し、
OR回路44を介して与えられる2進コ一ド信号を加算
、または減算し、その結果をシフトレジスタSR2に記
憶する形式のものであるが、これは補数をとって減算を
行なう形式のものでもよく、いずれにしても周知の加減
算器を使用することができる。), and for the output from shift register SR2,
This type adds or subtracts the binary code signals given through the OR circuit 44 and stores the result in the shift register SR2, but it may also be a type that performs subtraction by taking the complement. Well-known adders and subtracters can be used in any case.
このようにすることにより加減算器ADDにおいてはコ
イン入力があった場合にはインパーク回路43より”0
′′が加えられているため加算モードとなり、AND回
路37からの投入金額を表わすパルスは加減算器ADD
において加算され、シフトレジスタSR2に記憶される
。By doing this, when there is a coin input in the adder/subtractor ADD, the impark circuit 43 outputs "0".
'' is added, the mode becomes addition mode, and the pulse representing the input amount from the AND circuit 37 is sent to the adder/subtracter ADD.
and stored in shift register SR2.
シフトレジスタSR2は2相のクロックパルスによりシ
フトされる2相ダイナミツクシフトレジスタである。Shift register SR2 is a two-phase dynamic shift register shifted by two-phase clock pulses.
第1図のブロック図におけるPl、P2価格設定回路1
3,14は第2図においてPRICEl。Pl, P2 price setting circuit 1 in the block diagram of Fig. 1
3 and 14 are PRICE1 in FIG.
PRICE2の各端子およびNAND回路83〜94゜
98.99、ワイヤードOR回路WO2〜WO1,2、
インバータ回路96.97により実施される。Each terminal of PRICE2 and NAND circuit 83~94°98.99, wired OR circuit WO2~WO1,2,
It is implemented by inverter circuits 96,97.
PRICEl、PRICE2の端子のうちNAND回路
83.89と接続されている端子はNAND回路83.
89がtlのビットパルスが印加されるように接続され
ているので、N 1 +1の重みをもっており、以下同
様にしてNAND回路84,90と接続される端子は2
″の重みをもっており、NAND回路85゜91と接続
される端子は°4″の重みをもち、NAND回路86,
92と接続される端子は′8”′の重みをもち、NAN
D回路87,93と接続される端子は’ 16 ”の重
みをもち、NAND回路88 、94と接続される端子
はI+ 32 fflの重みをもつことになり、PRI
CElの各端子のどれかに信号を与えることによりNA
ND回路83〜88の出力はワイヤードOR回路W02
〜WO6を介してインパーク回路96に接続されている
ためインバータ回路96の出力はNAND回路83〜8
8の出力を反転したものであり、商品設定価格P1を表
わす6ビツトの神2進法による2進コードをインバータ
回路96の出力として得ることができる。Among the terminals of PRICE1 and PRICE2, the terminals connected to the NAND circuit 83.89 are connected to the NAND circuit 83.89.
89 is connected so that the bit pulse of tl is applied, so it has a weight of N 1 +1, and the terminals connected to the NAND circuits 84 and 90 in the same manner are 2.
The terminals connected to the NAND circuits 85 and 91 have a weight of 4 degrees, and the terminals connected to the NAND circuits 85 and 91 have a weight of
The terminal connected to 92 has a weight of '8'' and is connected to NAN
The terminals connected to the D circuits 87 and 93 have a weight of '16'', and the terminals connected to the NAND circuits 88 and 94 have a weight of I+32 ffl.
By giving a signal to any of the terminals of CEl, NA
The outputs of ND circuits 83 to 88 are wired OR circuit W02
~Since it is connected to the impark circuit 96 via WO6, the output of the inverter circuit 96 is connected to the NAND circuits 83 to 8.
8, and a 6-bit binary code representing the product setting price P1 can be obtained as the output of the inverter circuit 96.
同様にして商品設定価格P2も、PRICE2の各端子
のどれかに信号を与えることにより設定することができ
る。Similarly, the product setting price P2 can also be set by applying a signal to any of the terminals of PRICE2.
このようにして得られる商品設定価格P1.P2のうち
Plは第1図のブロック図に示すように、P、+50加
算回路7、P1+90加算回路8に、またP2はP2+
50加算回路9、P2+90加算回路10にそれぞれ送
られる。Product setting price P1 obtained in this way. Of P2, Pl is connected to P, +50 addition circuit 7, P1+90 addition circuit 8, and P2 is connected to P2+
The signals are sent to a P2+90 adder circuit 9 and a P2+90 adder circuit 10, respectively.
第2図において全加算器FA1、AND回路49、フリ
ップフロップ回路FF1よりなる部分がP1+90加算
回路7であり、全加算器FA2、AND回路50、フリ
ップフロップ回路FF2よりなる部分がP2+90加算
回路9であり、全加算器FA3、AND回路51、フリ
ップフロップ回路FF3よりなる部分力叩□+50加算
回路8であり、全加算器FA4.AND回路52、フリ
ップフロップ回路FF4よりなる部分がP2+50加算
回路10である。In FIG. 2, the portion consisting of the full adder FA1, the AND circuit 49, and the flip-flop circuit FF1 is the P1+90 adder circuit 7, and the portion consisting of the full adder FA2, the AND circuit 50, and the flip-flop circuit FF2 is the P2+90 adder circuit 9. Yes, there is a partial force tap □+50 addition circuit 8 consisting of a full adder FA3, an AND circuit 51, and a flip-flop circuit FF3, and a full adder FA4. The portion consisting of the AND circuit 52 and the flip-flop circuit FF4 is the P2+50 addition circuit 10.
全加算器FA1およびFA2には2相シフトレジスタS
R1により作られるt、〜t7のビットパルスのうちt
lとt4のビットパルスがOR回路81の出力として印
加されるように接続し、それにより全加算器FA1およ
びFA2には90を表わす2進数”001001”が加
えられ、全加算器FA1およびFA2からはP1+90
またはP2+90の出力を得ることができる。Full adders FA1 and FA2 include a two-phase shift register S.
Of the bit pulses t to t7 produced by R1, t
The bit pulses of l and t4 are connected to be applied as the output of the OR circuit 81, so that the binary number "001001" representing 90 is added to the full adders FA1 and FA2, and the bit pulses from the full adders FA1 and FA2 are applied. is P1+90
Alternatively, an output of P2+90 can be obtained.
また全加算器FA3およびFA4には同様にしてtlと
t3のビットパルスによるOR回路80の出力としてY
2Oを表わす2進数”000101”を印加し、その出
力としてP1+50およびP2+50を得ることができ
る。Further, in the full adders FA3 and FA4, Y
By applying the binary number "000101" representing 2O, we can obtain P1+50 and P2+50 as its output.
第1図のブラック図におけるP1用コンパレータ11は
第2図においてコンパレータCOMP2〜COMP5、
’ tたP2用コンパレータ12はコンパレータCOM
P6〜COMP9より構成される部分である。The comparator 11 for P1 in the black diagram of FIG. 1 is the comparator COMP2 to COMP5 in FIG.
' The comparator 12 for P2 is the comparator COM.
This part is composed of P6 to COMP9.
コンパレータCOMP2には投入コイン合計額Xを表わ
す6ビツトの2進コードとインバータ回路96の出力即
ち商品設定回路P1を純2進法により表わした6ビツト
の2進コードが印加され、その比較結果としてX>Pl
の信号■が得られる。A 6-bit binary code representing the total amount of inserted coins X>Pl
The signal ■ is obtained.
コンパレータCOMP3には投入コイン合計額Xを純2
進法で表わした6ビツトの2進コードと先に述べた全加
算器FA1よりP1+90を純2進法により表わした6
ビツトの2進コードとが印加されており、その比較結果
としてX>P1+90の信号■が得られる。The total amount of coins inserted into the comparator COMP3 is set to 2
From the 6-bit binary code expressed in decimal notation and the full adder FA1 mentioned earlier, P1+90 is expressed in pure binary 6
A bit binary code is applied, and as a result of the comparison, a signal (2) with X>P1+90 is obtained.
コンパレータCOMP4にはコンパレータCOMP2と
同じ入力が印加されており、その比較結果としてX=P
1の信号■が得られる。The same input as comparator COMP2 is applied to comparator COMP4, and the comparison result is X=P
1 signal ■ is obtained.
コンパレータCOMP5には投入コイン合計額Xを純2
進法により表わした6ビツトの2進コードと、前述の全
加算器FA3よりP1+ 50を純2進法により1表わ
した6ビツトの2進コードとが印加されており、その比
較結果としてX=P1+50の信号■が得られる。The total amount of coins inserted into the comparator COMP5 is set to 2
A 6-bit binary code expressed in decimal notation and a 6-bit binary code in which P1+50 is expressed as 1 in pure binary notation from the aforementioned full adder FA3 are applied, and the comparison result is X= A signal (■) of P1+50 is obtained.
商品設定価格P2に対しては商品設定価格P1と同様に
してコンパレータCOMP6からX>P2の信号■、コ
ンパレータCOMP7からはX>P2+90の信号■、
コンパレータCOMP8からはX=P2の信号■、コン
パレータCOMP9からはX=P2+50の信号■が得
られる。For the product setting price P2, in the same way as for the product setting price P1, the signal ■ of X>P2 is sent from the comparator COMP6, and the signal ■ of X>P2+90 is sent from the comparator COMP7.
A signal (2) with X=P2 is obtained from the comparator COMP8, and a signal (2) with X=P2+50 is obtained from the comparator COMP9.
このように投入金額と商品設定価格をもとにしたいくつ
かの金額とを比較することにより得られる比較結果を用
いて後に述べるように販売、釣銭払出しを制御しようと
するものである。As described later, sales and change disbursements are controlled using the comparison results obtained by comparing the input amount with several amounts based on the product's set price.
第2図に示したコンパレータCOMP2〜COMP、の
出力信号■X>Pl、■X>P□+90.■X=P1.
■X=P1+50.■X>P2.■X>P2+90.■
X=P2゜■X=P2+50.は第3図に示すようにN
AN朗路100.101.AND回路102,106,
108゜OR回路105,107.インバータ回路10
9゜110、NOR回路118.フリップフロップ回路
FF1□からなるP1用ベンド制御回路、あるいはNA
NDAND回路1112、AND回路113゜116.
119、OR回路114.117、インバータ回路11
5,110、NOR回路118、フリップフロップ回路
FF13からなるP2用ベンド制御回蕗に加えられる。The output signals of the comparators COMP2 to COMP shown in FIG. 2: ■X>Pl, ■X>P□+90. ■X=P1.
■X=P1+50. ■X>P2. ■X>P2+90. ■
X=P2゜■X=P2+50. is N as shown in Figure 3.
AN Lang Road 100.101. AND circuits 102, 106,
108°OR circuit 105, 107. Inverter circuit 10
9°110, NOR circuit 118. P1 bend control circuit consisting of flip-flop circuit FF1□ or NA
NDAND circuit 1112, AND circuit 113°116.
119, OR circuit 114.117, inverter circuit 11
5, 110, a NOR circuit 118, and a flip-flop circuit FF13.
商品設定価格P□の商品について考えてみるとX=P1
のとき、X=P1の信号■はOR回路105に加えられ
、OR回路105の出力はAND回路106の一方の入
力となる。Considering a product with set price P□, X=P1
At this time, the signal (2) with X=P1 is applied to the OR circuit 105, and the output of the OR circuit 105 becomes one input of the AND circuit 106.
AND回路106の他方の入力はOR回路82の出力す
なわちP1=0という信号■が加えられているため商品
設定価格P0が0でないときには′″1″が加えられて
いるためX=P1の信号■がきた場合にはOR回路10
7の出力としてAND回路108の2つの入力端子のう
ちの一方の入力端子に′1”を加える。The other input of the AND circuit 106 is the output of the OR circuit 82, that is, the signal ``P1=0'' is added, so when the product setting price P0 is not 0, ``1'' is added, so the signal ``X=P1'' is added. If this occurs, the OR circuit 10
7 is added to one of the two input terminals of the AND circuit 108.
AND回路108の他方の入力端子はNOR回路118
の出力端子と接続されている。The other input terminal of the AND circuit 108 is the NOR circuit 118
is connected to the output terminal of
NOR回路118の2つの入力端子にはワイヤードAN
D回路WA3およびフリップフロップ回路FF1□から
の信号が送られてくる。The two input terminals of the NOR circuit 118 are wired AN
Signals from D circuit WA3 and flip-flop circuit FF1□ are sent.
フリップフロップ回路FF1□は後述のように客が押ボ
タン等により商品の選択を行ない5EL1あるいは5E
L2および、それと多少遅れて生じる商品が販売された
というSEL信号eまたは返金信号■が生じるまではリ
セットされた状態にあるため、NOR回路118へのフ
リップフロップ回路FF、1からの入力は0″である。The flip-flop circuit FF1□ is used when a customer selects a product using a push button, etc., as described below.
Since it is in a reset state until L2 and the SEL signal e indicating that the product has been sold or the refund signal ■ which occurs a little later than that occurs, the inputs from the flip-flop circuits FF and 1 to the NOR circuit 118 are 0''. It is.
ワイヤードAND回路WA3には入力としてフリップフ
ロップ回路FF1゜の出力をインバータ回路149にて
反転したものとフリップフロップ回路FF、8の出力を
インバータ回路147で反転したものとNAND回路1
56の出力とが加えられている。The wired AND circuit WA3 has as inputs the output of the flip-flop circuit FF1° inverted by the inverter circuit 149, the output of the flip-flop circuit FF,8 inverted by the inverter circuit 147, and the NAND circuit 1.
56 outputs are added.
返金人力POがないときにはフリップフロップ回路FF
15はセットされていないためインバータ回路149の
出力は1″、また販売信号Tがp1場合にはフリップフ
ロップ回路FF18はセットされていないためインバー
タ回路14γの出力は′1″である。When there is no refund manual PO, flip-flop circuit FF
15 is not set, the output of the inverter circuit 149 is 1'', and when the sales signal T is p1, the flip-flop circuit FF18 is not set, so the output of the inverter circuit 14γ is 1''.
NAND回路156には入力としてフリップフロップ回
路FF17の出力と5INGという信号とが加えられて
いる。The output of the flip-flop circuit FF17 and a signal 5ING are applied to the NAND circuit 156 as inputs.
5INGとは実施例においては2つの商品価格設定回路
を有しているので、一方の商品価格設定回路のみを使用
する場合には価格設定数選択信号5INGとしてn□n
、2つの商品価格設定回路を使用する場合には′1″と
いうように加える。5ING has two product price setting circuits in the embodiment, so when only one product price setting circuit is used, the price setting number selection signal 5ING is n□n.
, if two product pricing circuits are used, add '1'' and so on.
5ING信号の状態にかかわらず、販売信号Tのないと
きにはNAND回路156の出力は61”である。Regardless of the state of the 5ING signal, when there is no sales signal T, the output of the NAND circuit 156 is 61''.
それゆえ販売信号T1返金人力POのないときにはワイ
ヤードAND回路WA3の出力は1″であり、この出力
をインバータ回路160にて反転してNOR回路118
の入力として′θ″を加える。Therefore, when there is no manual power PO to refund the sales signal T1, the output of the wired AND circuit WA3 is 1'', and this output is inverted by the inverter circuit 160 to the NOR circuit 118.
Add ′θ″ as input.
それゆえ販売信号T1返金人力POがない場合にはNO
R回路118の出力は″1″でありOR回路107の出
力が′1″となったときにフリップフロップ回路FF1
□をセットしてP1価格の商品を選択することができる
という信号■END1を生じて、客がP1価格の商品を
選択するのを可能にさせる。Therefore, if there is no sales signal T1 refund manual PO, NO
The output of the R circuit 118 is "1", and when the output of the OR circuit 107 becomes "1", the flip-flop circuit FF1
□ is set to generate a signal ■END1 indicating that the product with the P1 price can be selected, allowing the customer to select the product with the P1 price.
商品設定価格P2の商品についてもまったく商品設定価
格P1の商品の場合と同様であり、OR回路95よりP
2=0という信号■に基づいて行なわれ、フリップフロ
ップ回路FF13よりVEND2という信号を得ること
ができる。The product with the product setting price P2 is exactly the same as the product with the product setting price P1, and the OR circuit 95
This is performed based on the signal 2=0, and a signal VEND2 can be obtained from the flip-flop circuit FF13.
このVENDl、また■END2に基づいて自動販売機
には商品設定価格P1またはP2の商品を選択すること
ができるという表示が行なわれ、客がどちらかを選ぶこ
とにより5EL1または5EL2という信号が販売信号
Tとともに本発明による自動販売機コインノック用電子
制御回路装置に送られてくる。Based on this VENDl and ■END2, a display is displayed on the vending machine indicating that the customer can select a product with a set price of P1 or P2, and when the customer selects either, a signal of 5EL1 or 5EL2 is sent as a sales signal. It is sent together with T to the automatic vending machine coin knock electronic control circuit device according to the present invention.
即ち販売信号Tは商品を販売したという信号である。That is, the sales signal T is a signal that the product has been sold.
またX>Plの信号■を生じさせるようなコインの投入
があった場合には、X>Plの信号(i−!AND回路
102に加えられ、AND回路102の他の入力として
X>P1+90の信号■をNOT回路109により反転
させたものと、Y50釣銭無し信号A2をNOT回路1
10にて反転したものとX=P1+50の信号■とをN
AND回路100に加えてその出力をyio釣銭無し信
号A1とともにNAND回路101に加えて得られるN
AND回路101の出力とを加えておくことにより、X
>PlおよびX≦P1+90でYIOの釣銭のある場合
にはAND回路102に出力″″1″を生じ、その出力
をOR回路105に加えることにより、前述のX=P□
の場合と以下同様にしてVENDlの信号が得られる。Furthermore, when a coin is inserted that causes the signal ■ of X>Pl, the signal of X>Pl (i-! is added to the AND circuit 102, and as the other input of the The signal ■ is inverted by the NOT circuit 109, and the Y50 no change signal A2 is sent to the NOT circuit 1.
10 and the signal of X=P1+50 as N
In addition to the AND circuit 100, its output is added to the NAND circuit 101 together with the yio no change signal A1 to obtain N.
By adding the output of the AND circuit 101,
>Pl and X≦P1+90 and if there is YIO change, the AND circuit 102 generates an output ""1", and by adding that output to the OR circuit 105, the above-mentioned X=P□
The VENDl signal is obtained in the same manner as in the case of .
またX=P1+50のときでyioの釣銭がなく¥50
の釣銭がある場合には、NAND回路100には1′”
と”1″が加えられるためその出力は”0″であり、そ
の出力n Ouが¥10釣銭無しを示す”1″とともに
NAND回路101に加えられるためNAND回路10
1の出力は′1″となり、X=P1+50はX>Plお
よびX≦P1+90をみたしているので、AND回路1
02の入力はすべて1”となるため前述のX〉Plのと
きと同様にVENDlの信号を得ることができる。Also, when X = P1 + 50, there was no change for yio and it was ¥50.
If there is change, the NAND circuit 100 has 1'"
Since "1" is added to "1", the output is "0", and the output nOu is added to the NAND circuit 101 along with "1" indicating ¥10 without change, so the NAND circuit 10
The output of 1 is '1'', and X=P1+50 satisfies X>Pl and X≦P1+90, so AND circuit 1
Since the inputs of 02 are all 1'', the VENDl signal can be obtained in the same way as in the case of X>Pl described above.
商品設定価格P2についてもX>P2.X=P2+50
の場合には商品設定価格P1のときとまったく同様に考
えることにより■END2の出力を得ることができる。Regarding the product setting price P2, X>P2. X=P2+50
In this case, the output of ■END2 can be obtained by thinking in exactly the same way as for the product setting price P1.
販売信号Tが生じることにより実施例の装置においては
次のことが行なわれる。When the sales signal T is generated, the following occurs in the device of the embodiment.
販売信号TはOR回路154の入力として加えられ、O
R回路154の出力はAND回路155に加えられる。The sales signal T is added as an input to an OR circuit 154, and O
The output of R circuit 154 is applied to AND circuit 155.
AND回路155には他に入力としてフリップフロップ
回路FF16とFF1゜の出力を入力としたNOR回路
159の出力が加えられている。The AND circuit 155 also receives as input the output of a NOR circuit 159 which receives the outputs of the flip-flop circuits FF16 and FF1°.
フリップフロップ回路FF1.の出力は販売信号Tが生
じているときには、+101?であり、またフリップフ
ロップ回路FF1□の出力はフリップフロップ回路FF
18の出力が“0″のときには” 0 ”(7)ままで
あるからNOR回路159の出力は“1″であり、それ
ゆえOR回路154に出力゛1″が生じることによりフ
リップフロップ回路FF1□がセットされる。Flip-flop circuit FF1. When the sales signal T is generated, the output of is +101? , and the output of the flip-flop circuit FF1□ is the flip-flop circuit FF1□.
When the output of 18 is "0", it remains "0" (7), so the output of the NOR circuit 159 is "1", and therefore, the output "1" is generated in the OR circuit 154, so that the flip-flop circuit FF1□ is set.
この出力は遅延回路Delayにより100m5遅れて
OR回路151の出力としてAND回路158に加えら
れる。This output is delayed by 100m5 by the delay circuit Delay and is applied to the AND circuit 158 as the output of the OR circuit 151.
AND回路158には他の入力として前述のNOR回路
159より“1″が加えられているためOR回路157
の出力として“1パが生じることによりフリップフロッ
プ回路FF18がセットされる。Since "1" is added to the AND circuit 158 from the aforementioned NOR circuit 159 as another input, the OR circuit 157
The flip-flop circuit FF18 is set by the generation of "1P" as the output.
フリップフロップ回路FF18の出力によりエスクロ内
に保持されていたY1O0のコインの収金信号ESC−
ACCを発生させる。The receipt signal ESC- of the Y1O0 coin held in the escrow is generated by the output of the flip-flop circuit FF18.
Generate ACC.
またフリップフロップ回路FF18の出力“1″はAN
D回路131に5EL1の信号とともに、または、AN
D回路132に5EL2の信号とともに加えられる。Furthermore, the output “1” of the flip-flop circuit FF18 is AN
to the D circuit 131 together with the signal of 5EL1, or
It is applied to the D circuit 132 together with the signal of 5EL2.
5EL1゜SEI、の信号は販売信号Tとほぼ同時に発
生するものであるので、フリップフロップ回路FF18
の出力″1″が生じるときにはすでに5EL1か5E
L2のいずれかがAND回路131または132に加え
られている。Since the signal 5EL1°SEI is generated almost simultaneously with the sales signal T, the flip-flop circuit FF18
When the output "1" occurs, it is already 5EL1 or 5E.
Either L2 is added to AND circuit 131 or 132.
故にフリップフロップ回路FF□8の出力“1″が生じ
ると同時にAND回路131または132より出力01
″が生じ、AND回路131の出力はAND回路141
の2つの入力端子の一方の端子に直接に、他方の端子に
インバータ回路161、ワイヤードOR回路W 014
v WO15、インバータ回路143、サイクルタイ
マ163を介して加えられる。Therefore, at the same time that the output "1" of the flip-flop circuit FF□8 is generated, the output "01" is generated from the AND circuit 131 or 132.
'' occurs, and the output of the AND circuit 131 is the output of the AND circuit 141.
The inverter circuit 161 and the wired OR circuit W014 are directly connected to one of the two input terminals of the
v It is applied via the WO 15, the inverter circuit 143, and the cycle timer 163.
サイクルタイマ163を介してAND回路141に加え
られることによりAND回路141の出力はビットパル
ス型1〜tフ間隔で1回だけ生じることになる。By applying the signal to the AND circuit 141 via the cycle timer 163, the output of the AND circuit 141 is generated only once at a bit pulse type interval of 1 to t.
また同様にAND回路132の出力はAND回路142
の2つの入力端子の一方の端子に直接に、他方の端子に
NOT回路162、ワイヤードOR回路WO□5、NO
T回路143、サイクルタイマ163を介して加えられ
るためAND回路142の出力はビットパルスt1〜t
7の間隔で1回だけ生じる。Similarly, the output of the AND circuit 132 is output from the AND circuit 142.
Connect the NOT circuit 162 directly to one of the two input terminals, and the wired OR circuit WO□5, NO to the other terminal.
Since the bit pulses are applied via the T circuit 143 and the cycle timer 163, the output of the AND circuit 142 is the bit pulse t1 to t.
Occurs only once every 7.
AND回路141の出力を5EL1信号■、AND回路
142の出力を5EL2信号■とすると、5EL1信号
■は第2図におけるNAND回路98に加えられる。Assuming that the output of the AND circuit 141 is the 5EL1 signal ■, and the output of the AND circuit 142 is the 5EL2 signal ■, the 5EL1 signal ■ is applied to the NAND circuit 98 in FIG.
NAND回路98には他に入力としてインバータ回路9
6から商品設定価格P1を表わす2進コ一ド力幼口えら
れているため5EL1信号■が加えられることにより商
品設定価格P1 を表わす2進コードはワイヤードOR
回路WO□2.インバータ回路79.OR回路44を介
して加減算器ADDに加えられる。The NAND circuit 98 also has an inverter circuit 9 as an input.
Since the binary code representing the product setting price P1 is derived from 6, the 5EL1 signal ■ is added, and the binary code representing the product setting price P1 is wired OR.
Circuit WO□2. Inverter circuit 79. It is applied to the adder/subtractor ADD via the OR circuit 44.
即ち、5EL1信号■はt1〜t7の間隔で1回だけ生
じるわけであるので、OR回路44の出力は商品設定価
格P1 を表わす2進コードが1回だけ生じる。That is, since the 5EL1 signal (2) is generated only once in the interval from t1 to t7, the output of the OR circuit 44 is a binary code representing the product setting price P1 only once.
加減算器ADDには他の入力としてインバータ回路43
よりコイン入力信号■のないときには“1″が加えられ
ているため減算モードとなり、加減算器ADDにおいて
投入合計金額Xから商品設定価格P1 の減算が行なわ
れ、釣銭額KがシフトレジスタSR2に記憶される。The adder/subtracter ADD has an inverter circuit 43 as another input.
When there is no coin input signal ■, "1" is added, so the subtraction mode is entered, and the adder/subtractor ADD subtracts the product setting price P1 from the total input amount X, and the change amount K is stored in the shift register SR2. Ru.
商品設定価格P2についてもまったく同様であり、5E
L2信号■がNAND回路99に加えられて、あとは商
品設定価格P1 と同様のことが行なわれる。The same is true for the product setting price P2, and 5E
The L2 signal ■ is applied to the NAND circuit 99, and the rest is carried out in the same way as for the product setting price P1.
これらの釣銭額の演算は、第3図のサイクルタイマ16
3の出力中に行われ、サイクルタイマ163の出力が消
滅すると、インバータ140の出力力び1″となる。These change amounts are calculated using the cycle timer 16 in FIG.
3, and when the output of the cycle timer 163 disappears, the output of the inverter 140 becomes 1''.
AND回路133にはインバータ140の出力と、既に
N191となっているSEL信号■と、シフトレジスタ
SR2の内容が0でないときに“1″となる信号■とが
与えられているため、サイクルタイマ163の出力消滅
時にシフトレジスタSR2の内容(すなわち釣銭額)が
Oでないときには、AND回路133は出力を出し、O
R回路134を介してコイン払出し信号B1 を発して
釣銭払出し動作を開始させる。Since the AND circuit 133 is supplied with the output of the inverter 140, the SEL signal ■ which is already at N191, and the signal ■ which becomes "1" when the contents of the shift register SR2 are not 0, the cycle timer 163 If the contents of the shift register SR2 (i.e., the amount of change) are not O when the output disappears, the AND circuit 133 outputs an output of O.
A coin payout signal B1 is issued via the R circuit 134 to start the change payout operation.
次に釣銭の払出しの機構を説明する。Next, the mechanism for dispensing change will be explained.
投入金額Xから商品設定価格P1またはP2全減算した
釣銭額Kを表わすシフトレジスタSR2の記憶内容は第
1図においてに≧50コンパレータ6を示すところのコ
ンパレータCOMP1に送られY2Oと比較される。The stored contents of the shift register SR2 representing the change amount K obtained by subtracting the product setting price P1 or P2 from the input amount X are sent to the comparator COMP1, where ≧50 comparator 6 is shown in FIG. 1, and compared with Y2O.
コンパレータCOMPl:r)出力はAND回路17に
加えられるが、AND回路77には他の入力として¥5
0釣銭無し信号A2をインバータ回路78により反転し
たものと、フリップフロップ回路FF□8の出力信号で
あるところのSEL信号eとが加えられている。The comparator COMPl:r) output is added to the AND circuit 17, but the AND circuit 77 has another input of ¥5
The 0 no change signal A2 inverted by the inverter circuit 78 and the SEL signal e which is the output signal of the flip-flop circuit FF□8 are added.
故にY2Oの釣銭硬貨があり、釣銭額がY50以上とな
る商品が販売された場合にはAND回路77の出力に1
″が生じ、OR回路76の出力としてY50釣銭払出し
信号B2が生じ、これと前述のコイン払出し信号B1と
を用いてY2Oの釣銭の払出しが行なわれる。Therefore, if there is a change coin of Y2O and a product with a change amount of Y50 or more is sold, the output of the AND circuit 77 will be 1.
'' occurs, and the Y50 change payout signal B2 is generated as an output of the OR circuit 76, and Y2O change is paid out using this and the aforementioned coin payout signal B1.
OR回路76の出力はAND回路74に加えられ、AN
D回路74には他の入力として釣銭払出し確認信号PO
8が加えられており、Y5Oの釣銭が払い出されたとき
にAND回路74に出力″′1″が生じ、この出力はO
R回路29に加えられてコイン投入の場合と同じように
Y2Oを表わす2進コードに変換されて加減算器ADD
に加えられるが、このときには加減算器ADDの他の入
力であるインバータ回路43の出力はAND回路25〜
27の出力が0″であるため1″であり、それゆえ加減
算器ADDは減算モードとなるため釣銭額にとY2Oの
減算が行なわれる。The output of the OR circuit 76 is added to the AND circuit 74,
The D circuit 74 receives a change payout confirmation signal PO as another input.
8 is added, and when Y5O change is paid out, an output "'1" is generated in the AND circuit 74, and this output is O
It is added to the R circuit 29 and converted into a binary code representing Y2O in the same way as when inserting a coin, and then sent to the adder/subtractor ADD.
However, at this time, the output of the inverter circuit 43, which is the other input of the adder/subtractor ADD, is added to the AND circuits 25 to 25.
Since the output of 27 is 0'', it is 1'', and therefore the adder/subtractor ADD is in the subtraction mode, so that Y2O is subtracted from the change amount.
そして釣銭額KがY2Oよりも小さくなるとAND回路
77の出力は0′″になるためOR回路76、インバー
タ回路75を介してAND回路73に′1″が加えられ
る。When the change amount K becomes smaller than Y2O, the output of the AND circuit 77 becomes 0'', so that ``1'' is added to the AND circuit 73 via the OR circuit 76 and the inverter circuit 75.
AND回路73にはAND回路74と同じ釣銭払出し確
認信号PO8が加えられており、AND回路73はAN
D回路74と同じように釣銭が払い出されるたびに、そ
の出力信号tlljlをOR回路28に送り釣銭額Kか
らのY1Oの減算を行なう。The same change payout confirmation signal PO8 as the AND circuit 74 is added to the AND circuit 73;
Like the D circuit 74, every time change is dispensed, the output signal tlljl is sent to the OR circuit 28 to subtract Y1O from the change amount K.
YIOの釣銭の払出しはY2Oの釣銭を減算したのちに
シフトレジスタSR2に記憶された釣銭額Kがなおも残
っている場合にはOR回路46よりシフトレジスタSR
2に記憶内容が残っているという信号■が引き続き生じ
ているので、AND回路133、OR回路134からは
引き続きコイン払出し信号B1が出されており、これと
¥50コイン払出し信号B2が消滅したという条件とに
より行われる。To pay out the change for YIO, if the change amount K stored in the shift register SR2 still remains after subtracting the change for Y2O, the OR circuit 46 sends the change to the shift register SR.
Since the signal ■ indicating that the memory contents remain in 2 continues to be generated, the AND circuit 133 and the OR circuit 134 continue to output the coin payout signal B1, and this and the ¥50 coin payout signal B2 have disappeared. This is done depending on the conditions.
これらは公知の技術であり、一般に信号B、は釣銭払出
しモータに、信号B1はY5O。These are known techniques, and generally signal B is applied to the change dispenser motor, and signal B1 is applied to Y5O.
YIO切換ソレノイドに与えられる。Provided to YIO switching solenoid.
Y50釣銭払出しが¥10釣銭払出しに優先するため、
最小枚数の釣銭の払出しが可能となる。Because Y50 change payout has priority over ¥10 change payout,
It becomes possible to pay out the minimum number of change.
次に返金の場合を考える。Next, consider the case of refund.
まず手動返金の場合について述べる。First, we will discuss the case of manual refund.
OR回路40より生じるコイン入力信号■はOR回路1
20に加えられOR回路120の出力はAND回路12
1に加えられる。The coin input signal ■ generated from the OR circuit 40 is the OR circuit 1
20 and the output of the OR circuit 120 is added to the AND circuit 12.
Added to 1.
AND回路121には他に入力としてNOR回路122
の出力が加えられる。The AND circuit 121 also has a NOR circuit 122 as an input.
The output of is added.
NOR回路122には販売信号TとSEL信号OをNO
R回路148、インバータ回路150を介して得られる
インバータ回路150の出力とが加えられているため販
売信号Tのない場合にはNOR回路122の出力はu
1 +1であるためコイン入力信号■があった場合には
AND回路121の出力に°1″が生じてフリップフロ
ップ回路FF14がセットされる。The sales signal T and SEL signal O are connected to the NOR circuit 122.
Since the R circuit 148 and the output of the inverter circuit 150 obtained via the inverter circuit 150 are added, when there is no sales signal T, the output of the NOR circuit 122 is u.
1 +1, so when there is a coin input signal ■, the output of the AND circuit 121 becomes .degree.1", and the flip-flop circuit FF14 is set.
フリップフロップ回路FF14の出力は手動返金人力P
OとともにAND回路123に加えられる。The output of flip-flop circuit FF14 is manual refund P.
It is added to the AND circuit 123 along with O.
故に返金人力POが生じた場合にはAND回路123に
出力?+ 111が生じ、NOR回路124を介してA
ND回路125に加えられる。Therefore, when refund manual PO occurs, it is output to AND circuit 123? +111 is generated, and A is passed through the NOR circuit 124.
It is added to the ND circuit 125.
AND回路125には他の入力として前述のNOR回路
122と同じ入力を加えたNOR回路126の入力が加
えられているため、OR回路124の出力21 Ill
が加えられることによりAND回路125の出力が”1
″となりフリップフロップ回路FF15がセットされる
。Since the AND circuit 125 has the input of the NOR circuit 126 to which the same input as the aforementioned NOR circuit 122 is added as another input, the output 21 of the OR circuit 124
is added, the output of the AND circuit 125 becomes "1".
'', and the flip-flop circuit FF15 is set.
フリップフロップ回路FF1.の出力は遅延回路Del
ay2、OR回路145を介してAND回路146に加
えられる。Flip-flop circuit FF1. The output of is the delay circuit Del
ay2 is applied to the AND circuit 146 via the OR circuit 145.
AND回路146には他に入力として前述のNOR回路
148の出力が加えられているためSEL信号eが生じ
ていない場合には1″が生じているためAND回路14
6に出力n 1 ?1が生じ、フリップフロップ回路F
F16がセットされて返金信号■を得ることができる。Since the output of the above-mentioned NOR circuit 148 is added to the AND circuit 146 as an input, when the SEL signal e is not generated, 1'' is generated, so the AND circuit 14
Output n 1 to 6? 1 occurs, and the flip-flop circuit F
F16 is set and a refund signal ■ can be obtained.
このようにすることにより返金人力POを加える以前に
販売信号■が生じた場合にはフリップフロップ回路FF
14はリセットされるため返金信号は得られず、また返
金人力POが加えられた後でも遅延回路Delay2の
遅延時間中に販売信号■またはSEL信号信号中じた場
合にはフリップフロップ回路FF15をリセットさせて
販売信号T、SEL信号eを優先させる。By doing this, if the sales signal ■ occurs before adding the refund manual PO, the flip-flop circuit FF
14 is reset, so no refund signal is obtained, and even after the refund manual PO is applied, if the sales signal ■ or SEL signal is interrupted during the delay time of the delay circuit Delay2, the flip-flop circuit FF15 is reset. The sales signal T and the SEL signal e are given priority.
手動返金人力POの端子にはそのほかに後述の自動返金
信号1Tpoが加えられる。In addition, an automatic refund signal 1Tpo, which will be described later, is added to the terminal of the manual refund manual PO.
自動返金は次の場合に行なわれる。Automatic refunds will be made in the following cases:
即ち前述のフリップフロップ回路FF1□の出力をイン
バータ回路127を介してワイヤードAND回路WA1
に、また前述のフリップフロップ回路FF13の出力を
インバータ回路128を介してワイヤードAND回路W
A1に加え、ワイヤードAND回路WA1の出力をAN
D回路129に加える。That is, the output of the aforementioned flip-flop circuit FF1□ is connected to the wired AND circuit WA1 via the inverter circuit 127.
In addition, the output of the flip-flop circuit FF13 is connected to the wired AND circuit W via the inverter circuit 128.
In addition to A1, the output of wired AND circuit WA1 is
Add to D circuit 129.
またx>plの信号■とX−Plの信号■とをOR回路
103に加え、X>R2の信号[有]とX二P2の信号
■とをOR回路104に加え、OR回路103とOR回
路104の出力とをワイヤードAND回路WA2に加え
て、ワイヤードAND回路WA2の出力をAND回路1
29に加える。In addition, the signal ■ of x>pl and the signal ■ of X-Pl are added to the OR circuit 103, the signal [present] of X>R2 and the signal ■ of The output of circuit 104 is added to wired AND circuit WA2, and the output of wired AND circuit WA2 is added to AND circuit 1.
Add to 29.
このようにすることによりワイヤードAND回路WA2
には最高商品価格設定値よりも太きいか、等しい金額を
投入した場合に出力゛1″が生じ、ワイヤードAND回
路WA、の出力にはフリップフロップ回flaF R1
2、F R13の出力が生じていないときにu I I
Iが生じ、AND回路129により自動返金信号ATP
Oが得られる。By doing this, wired AND circuit WA2
When inputting an amount greater than or equal to the maximum product price setting value, an output ``1'' occurs, and the output of the wired AND circuit WA is a flip-flop circuit flaF R1.
2. When the output of F R13 is not occurring, u I I
I is generated, and the AND circuit 129 generates an automatic refund signal ATP.
O is obtained.
即ち、本実施例においては最高限度までコインを投入し
ても販売出力■END1.■END2が生じない場合に
は自動的に返金を行なうようにしている。That is, in this embodiment, even if coins are inserted to the maximum limit, the sales output ■END1. ■If END2 does not occur, a refund will be automatically made.
この自動返金信号ATPOは前述の手動返金人力POの
ところζこ加えられ、同じようにして返金信号■を得る
ことができる。This automatic refund signal ATPO is added to the manual refund manual PO described above, and the refund signal (■) can be obtained in the same way.
このようにして得られる返金信号■により本発明による
返金は次のようにして行なわれる。The refund according to the present invention is performed in the following manner using the refund signal (2) obtained in this manner.
本発明においては第1図のブロック図に示すように¥5
0.¥100のコインの投入に対しては¥50枚数レジ
スタ4、¥100枚数レジスタ5を設けて、その投入枚
数を計数している。In the present invention, as shown in the block diagram of FIG.
0. For the insertion of 100 yen coins, a 50 yen coin count register 4 and a 100 yen coin count register 5 are provided to count the number of coins inserted.
この実施例は第2図においてY50枚数レジスタがR1
゜¥100枚数レジスタがR2で示されている。In this embodiment, the Y50 sheet number register is R1 in FIG.
The ¥100 sheet number register is indicated by R2.
レジスタR1,R2は入力が加えられるたびにフリップ
フロップ回路を順次セットしていくもので、レジスタR
1は15枚すなわち750円までのY2Oのコインの投
入を計数でき、レジスタR2は8枚(800円)までの
コインの投入を計数することができる。Registers R1 and R2 sequentially set the flip-flop circuit each time an input is applied.
1 can count the insertion of up to 15 Y2O coins, that is, 750 yen, and the register R2 can count the insertion of up to 8 coins (800 yen).
Y50枚数レジスタR1にはAND回路26よりのY5
0コイン入力信号が送られてきており、さらにY50コ
イン入力信号はサイクルタイマ39の出力とともにAN
D回路53に加えられ、AND回路53の出力はOR回
路54に加えられている。Y5 from the AND circuit 26 is input to the Y50 sheet number register R1.
The 0 coin input signal is being sent, and the Y50 coin input signal is also being sent to the AN along with the output of the cycle timer 39.
The output of the AND circuit 53 is applied to the OR circuit 54.
Y2Oのコイン入力信号があるたびにサイクルタイマ3
9からt1〜t7のビットパルス周期の間だけAND回
路53に信号が加えられるためOR回路54の出力パル
ス信号によりY5Oのコインの投入枚数がY50枚数レ
ジスタR1に記憶される。Cycle timer 3 every time there is a Y2O coin input signal
Since a signal is applied to the AND circuit 53 only during the bit pulse period from 9 to t1 to t7, the number of Y50 coins inserted is stored in the Y50 number register R1 by the output pulse signal of the OR circuit 54.
同様にしてAND回路27からの¥100コイン入力信
号は¥100枚数レジスタR2に加えられる。Similarly, the ¥100 coin input signal from the AND circuit 27 is added to the ¥100 coin number register R2.
さらに、¥100コイン入力信号はサイクルタイマ39
の出力とともにAND回路64に加えられ、AND回路
64の出力はOR回路67に加えられているためOR回
路の出力パルスにより¥100コイン入力信号が¥10
0枚数レジスタR2に記憶される。Furthermore, the ¥100 coin input signal is input to the cycle timer 39.
Since the output of the AND circuit 64 is applied to the OR circuit 67, the output pulse of the OR circuit changes the ¥100 coin input signal to ¥10.
It is stored in the 0-sheet count register R2.
返金信号■が生じると同時にエスクロ内に保持されてい
たY1O0のコインの返金信号ESC・RTRNが出さ
れてエスクロ内に保持されていたY1O0のコインの返
金が行なわれる。At the same time as the refund signal (2) is generated, a refund signal ESC/RTRN for the Y1O0 coins held in the escrow is issued, and the Y1O0 coins held in the escrow are refunded.
Y50枚数レジスタR1にはOR回路58、AND回路
59、インバータ回路60、フリップフロップ回路FF
6よりなる回路が付属されており、Y50コイン入力が
Y50枚数レジスタに加えられると同時にフリップフロ
ップ回路FF6をセットし、Y50枚数レジスタの記憶
内容が0″になったときにフリップフロップ回路FF6
をリセットしてフリップフロップ回路FF6の出力によ
りY50枚数レジスタR1の記憶内容を判断できるよう
にしている。The Y50 number register R1 includes an OR circuit 58, an AND circuit 59, an inverter circuit 60, and a flip-flop circuit FF.
A circuit consisting of 6 is attached, and the flip-flop circuit FF6 is set at the same time as the Y50 coin input is added to the Y50 coin number register, and when the stored content of the Y50 coin number register becomes 0'', the flip-flop circuit FF6 is set.
is reset so that the stored contents of the Y50 sheet number register R1 can be determined based on the output of the flip-flop circuit FF6.
¥100枚数レジスタR2にも同様にOR回路69、A
ND回路70、インバータ回路72、フリップフロップ
回路FF7よりなる回路が付属されており、フリップフ
ロップ回路FF7の出力により¥100枚数レジスタの
記憶内容が判断できるようにしている。Similarly, the OR circuit 69 and A are connected to the ¥100 number register R2.
A circuit consisting of an ND circuit 70, an inverter circuit 72, and a flip-flop circuit FF7 is attached, and the contents of the ¥100 number register can be determined based on the output of the flip-flop circuit FF7.
返金信号■が生じると返金信号■はAND回路66に加
えられ、AND回路66の他の人力としてクロックパル
スφ3を加えておくことによりAND回路66にはクロ
ックパルスφ3に同期した出力が得られる。When the refund signal ■ is generated, the refund signal ■ is applied to the AND circuit 66, and by adding the clock pulse φ3 as another input to the AND circuit 66, the AND circuit 66 can obtain an output synchronized with the clock pulse φ3.
AND回路66の出力と¥100枚数レジスタR2およ
びフリップフロップ回路FF7を入力とするOR回路7
1の出力とがAND回路65に加えられるためフリップ
フロップ回路FF7の出力が°1パである場合、すなわ
ち¥100枚数レジスタR2にY1O0のコインの投入
枚数が記憶されている間はAND回路65に出力”1”
を生じてOR回路67の出力としてY100枚数レジス
タR2にパルスを与えて¥100枚数レジスタR2の記
憶を順次出力端の方に移動させていく。OR circuit 7 whose inputs are the output of AND circuit 66, ¥100 number register R2, and flip-flop circuit FF7.
Since the output of 1 is added to the AND circuit 65, when the output of the flip-flop circuit FF7 is °1, that is, while the number of inserted coins of Y1O0 is stored in the ¥100 number register R2, the output of the flip-flop circuit FF7 is applied to the AND circuit 65. Output “1”
A pulse is given to the Y100 sheet number register R2 as the output of the OR circuit 67, and the memory of the Y100 sheet number register R2 is sequentially moved toward the output end.
¥100枚数レジスタR2の出力端より信号が出される
とその信号はAND回路65の出力とともにAND回路
68に加えられ、¥100枚数レジスタR2の出力端よ
り信号が出されてY1O0の記憶枚数が減算されるたび
にAND回隆68から生じる出力゛1″をOR回路30
に加えて前述のY2O,YIOの釣銭払出しのときと同
様にシフトレジスタSR2に記憶されている投入金額X
からのY1O0の減算を行なう。When a signal is output from the output terminal of the ¥100 sheet count register R2, that signal is added to the AND circuit 68 along with the output of the AND circuit 65, and a signal is output from the output terminal of the ¥100 sheet count register R2 to subtract the number of sheets stored in Y1O0. The output “1” generated from the AND rotation 68 is output to the OR circuit 30.
In addition to this, the input amount
Subtract Y1O0 from .
このようにして¥100枚数レジスタR2に記憶されて
いる枚数を順次減算することにより¥100枚数レジス
タR2の記憶内容が空になる。In this way, by sequentially subtracting the number of sheets stored in the ¥100 sheet number register R2, the stored contents of the \100 sheet number register R2 are emptied.
¥100枚数レジスタR2の記憶内容が空になることに
よりOR回路71の出力は0′′となり、NOR回路6
1の一方の入力に”0″が加えられるとともにインバー
タ回路56の出力としてAND回路63に”1″が加え
ら″れる。Since the memory contents of the ¥100 number register R2 become empty, the output of the OR circuit 71 becomes 0'', and the NOR circuit 6
"0" is added to one input of the inverter circuit 56, and "1" is added to the AND circuit 63 as the output of the inverter circuit 56.
AND回路63には他に入力としてY50枚数レジスタ
の出力端からの信号、返金信号■、OR回路46からの
信号のが加えられている。The AND circuit 63 also receives as inputs a signal from the output terminal of the Y50 sheet number register, a refund signal (2), and a signal from the OR circuit 46.
Y2Oが投入されていた場合にはフリップフロップ回路
FFがセットされているためNOR回路61の出力、し
たがってAND回路62の出力◎はただちには生じない
が、AND回路57、OR回路54を介して¥50枚数
レジスタR1はY100枚数レジスタR2と同時にその
記憶内容を出力端の方に移動させられているため、記憶
内容によ°り前後はあるものの短時間ののちにY50枚
数レジスタR1は出力を生じる。When Y2O is turned on, the flip-flop circuit FF is set, so the output of the NOR circuit 61 and therefore the output of the AND circuit 62 ◎ does not occur immediately, but it is output via the AND circuit 57 and the OR circuit 54. Since the stored contents of the 50 sheet number register R1 are moved to the output end at the same time as the Y100 sheet number register R2, the Y50 sheet number register R1 produces an output after a short period of time, depending on the stored contents. .
この出力は、一方ではインバータ60を介してフリップ
フロップF F6’fリセットさせてAND回路57を
介するそれ以上の記憶内容の移動を阻止するとともに、
NOR回路61に出力を生じさせAND回路62を介し
て始めて出力◎を発生させる。This output, on the one hand, resets the flip-flop F6'f via the inverter 60 to prevent further movement of the memory contents via the AND circuit 57.
The NOR circuit 61 generates an output, and the output ◎ is generated only through the AND circuit 62.
Y50枚数レジスタR1の出力は、他方ではAND回路
63に与えられ、その結果AND回路63に出力”1″
が生じ、その出力はOR回路76に加えられ、前述のY
50釣銭払出しのときと同様にY50払出し信号B2と
、前述のAND回路62の出力◎を第3図のOR回路1
34を通して得たコイン払出し信号B、(!;ζこより
Y2Oのコインを払出し、その釣銭払出し確認信号PO
8によりトータル・ペイアウト用シフトレジスタSR2
の記憶内容からY5Oを減算していく。The output of the Y50 number register R1 is given to the AND circuit 63 on the other hand, and as a result, the AND circuit 63 outputs "1".
is generated, its output is applied to the OR circuit 76, and the above-mentioned Y
As in the case of paying out 50 change, the Y50 payout signal B2 and the output ◎ of the AND circuit 62 described above are combined with the OR circuit 1 in FIG.
Coin payout signal B obtained through 34, Y2O coins are paid out from (!;
8 to shift register SR2 for total payout
Subtract Y5O from the memory contents of .
釣銭払出し確認信号PO8はAND回路55に加えられ
、AND回路55には他に入力とてY50枚数レジスタ
R1の出力端からの信号とインバータ回路56の出力が
加えられており。The change payout confirmation signal PO8 is applied to an AND circuit 55, and to the AND circuit 55, a signal from the output end of the Y50 coin count register R1 and an output from the inverter circuit 56 are also added as inputs.
¥100枚数レジスタR2の記憶内容が空であり、Y5
0枚数レジスタR1に記憶内容がある場合には釣銭払出
し確認信号PO8を受けるごとによりAND回路55に
は出力″1″を生じ、この出力はOR回路54を介して
Y50枚数レジスタR1に送られ、Y50枚数レジスタ
R1の記憶内容を出力端の方にひとつだけ移動させる。The memory contents of ¥100 number register R2 are empty, and Y5
If there is a stored content in the 0 coins register R1, an output "1" is generated in the AND circuit 55 every time the change payout confirmation signal PO8 is received, and this output is sent to the Y50 coins register R1 via the OR circuit 54. Y50 The stored contents of the sheet number register R1 are moved by one toward the output end.
このことを¥50枚数レジスクR1の記憶内容が空にな
るまで行なう。This process is repeated until the stored contents of the 50-sheet registration disk R1 become empty.
Y50枚数レジスタR1の記憶内容が空になることによ
ってAND回路63の出力″1″が消えてY5Oのコイ
ンの払出しを終る。When the stored contents of the Y50 coin number register R1 become empty, the output "1" of the AND circuit 63 disappears, and the payout of Y50 coins ends.
Y50枚数レジスタ、¥100枚数レジスタの記憶内容
が空になったときにシフトレジスタSR2に記憶内容が
残りOR回路46より出力[F]が生じている場合には
、依然としてAND回路62は出力◎を生じているため
、OR回路134を介してコイン払出し信号B1が出続
けており、これと¥50コイン拡出し信号B2が消滅し
たという条件にもとづいて釣銭払出し時と同様にしてY
IOコインの払出しを行なわせる。When the stored contents of the Y50 sheet number register and the ¥100 sheet number register become empty, if the stored contents remain in the shift register SR2 and the output [F] is generated from the OR circuit 46, the AND circuit 62 still outputs ◎. Therefore, the coin payout signal B1 continues to be output via the OR circuit 134, and based on this and the condition that the ¥50 coin expansion signal B2 disappears, Y is issued in the same way as when paying out change.
Make the IO coin payout.
そして前述のYIOのときと同様に釣銭払出し確認信号
PO8によりトータル・ペイアウト用シフトレジスタS
R2からの減算を行ないOR回路46の出力のが”0″
になるまで、すなわちシフトレジスタSR2の記憶内容
が空になるまでYIOのコインの払出しを行なわせる。Then, as in the case of YIO mentioned above, the change payout confirmation signal PO8 causes the total payout shift register S
After subtracting from R2, the output of OR circuit 46 is "0"
YIO coins are paid out until YIO is reached, that is, until the storage contents of shift register SR2 become empty.
このようにして本発明においては、Y50枚数レジスタ
R1と¥100枚数レジスタR2を設けることにより返
′金の場合に同額、四組合せのコイン1 の返金を行な
うことができる。In this way, in the present invention, by providing the Y50 number register R1 and the ¥100 number register R2, it is possible to refund the same amount of coins 1 in four combinations.
実施例においてはコイン詰まりに対処するために、コイ
ン入力信号■があった場合にその信号をAND回路15
1の2つの入力端一こ一方は直接に、他方は遅延回路D
elay3を介して加えることに、より、遅延時間をす
ぎてもコイン人力■が生じている場合にはAND回路1
51に出力”1″が生じ、この出力をOR回路153に
加えることによりOR回路153の出力”1″によって
、その後のコインの投入を阻止させることができる。In the embodiment, in order to deal with coin jams, when there is a coin input signal (2), the signal is input to the AND circuit 15
One of the two input terminals of 1 is connected directly to the delay circuit D.
By adding it through elay3, if the coin force is still occurring even after the delay time, AND circuit 1 is applied.
51 produces an output "1", and by applying this output to the OR circuit 153, the output "1" of the OR circuit 153 can prevent subsequent coin insertion.
但し;遅延回路Delay3の遅延時間はコインの入力
信号時間に比べて十分に長いものであり、ここでは3
Q Q m5ecという値を用いている。However; the delay time of the delay circuit Delay3 is sufficiently long compared to the input signal time of the coin, and here the delay time is 3.
A value of Q Q m5ec is used.
この方法によれば電源が中断されたのち再投入された場
合にもコイン入力信号が生じるようなコイン詰まりに対
しては遅延時間後にコインの投入を阻止することができ
る。According to this method, it is possible to prevent coin insertion after a delay time in the case of a coin jam in which a coin input signal is generated even when the power is interrupted and then turned on again.
実施例において、CREMオフ状態(コイン投入阻止状
態)にな゛るのはそのほかに次の場合がある。In the embodiment, there are other cases in which the CREM is turned off (coin insertion inhibited state) as follows.
即ち、前述のワイヤードAND回路WA2に出力”1″
が生じた場合。In other words, the output "1" is output to the wired AND circuit WA2 mentioned above.
If this occurs.
すなわち、投入金額が最高商品設定価格と等しいかまた
はそれを超えた場合には、これ以上のコインの投入の必
要がないので、それ以後のコインの投入を阻止するよう
にする。That is, when the input amount is equal to or exceeds the maximum product setting price, there is no need to input any more coins, and therefore, further coin input is prevented.
また販売信号Tが送られてきたときおよび手動返金人力
PO1自動返金信号ATPOが送られてきたときにはコ
インの投入を阻止させる。Further, when the sales signal T is sent and when the manual refund manual PO1 automatic refund signal ATPO is sent, coin insertion is prevented.
このことはワイヤードAND回路WA2の出力、販売信
号T1フリップフロップ回路FF15とFF、7の出力
をOR回路152に加えて得られるOR回路の出力をそ
れぞれOR回路153の入力として加えることによりO
R回路153の出力によって、CREM制御を行なうよ
うにすることにより実施することができる。This can be done by adding the output of the wired AND circuit WA2 and the outputs of the sales signal T1 flip-flop circuits FF15, FF, 7 to the OR circuit 152, and adding the resulting outputs of the OR circuit as inputs to the OR circuit 153.
This can be implemented by performing CREM control using the output of the R circuit 153.
販売、釣銭払出し、返金などの動作が終了した場合には
次の販売に備える状態に自動販売機コインノック用電子
制御回路を移行させるための動作(以下「クリア」と呼
ぶ)が次のように行なわれる。When operations such as selling, dispensing change, and refunding are completed, the operation (hereinafter referred to as "clear") for transitioning the electronic control circuit for the vending machine coin knock to a state in preparation for the next sale is as follows. It is done.
即ちコイン払出し信号B、はインバータ回路136を介
してNAND回路137に加えられている。That is, the coin payout signal B is applied to a NAND circuit 137 via an inverter circuit 136.
NAND回路137は他に入力として返金信号■とSE
L信号eをOR回路135に加えて得られるOR回路の
出力を直接に、および遅延回路Delay1を介して加
えた3人力から成り立っている。The NAND circuit 137 also receives the refund signal ■ and SE as inputs.
It consists of three people: adding the L signal e to the OR circuit 135 and applying the output of the OR circuit directly and via the delay circuit Delay1.
それゆえコイン払出し信号B1がなく返金信号■または
SEL信号eが生じた場合には遅延回路Delaylの
遅延時間後にNAND回路137の出力が°0″となる
。Therefore, when the coin payout signal B1 is not present and the refund signal (2) or the SEL signal (e) is generated, the output of the NAND circuit 137 becomes 0'' after the delay time of the delay circuit Delayl.
遅延回路Delay1の遅延時間は実施例装置の他の動
作時間に比べて十分に長いものであり、ここでは2秒と
いう値を用いている。The delay time of the delay circuit Delay1 is sufficiently long compared to other operating times of the embodiment device, and a value of 2 seconds is used here.
NAND回路137の出力はワイヤードOR回路WO7
3に加えられる。The output of the NAND circuit 137 is the wired OR circuit WO7.
Added to 3.
ワイヤードOR回路WO13にはそのほかに外部からク
リアしないという信号EXTクリア信号とNAND回路
130の出力とが入力として加えられている。In addition to this, the wired OR circuit WO13 is supplied with a signal EXT clear signal indicating that it is not cleared from the outside and the output of the NAND circuit 130 as inputs.
EXTクリア信号は内部において自動クリア信号ACL
を得ようとすると蓬に用いるもので、常時は1″である
。The EXT clear signal is an internal automatic clear signal ACL.
When you try to get , it is used for yogi, and it is always 1''.
NAND回路130にはSEL信号eとワイヤードOR
回路W0,4およびWO,5の出力が加えられており、
ワイヤードオア回路は入力のいずれかが”0”になるこ
とにより出力が0”に変化するものであるからEXT、
NAND回路130または137のいずれかが出力゛0
”となることによりワイヤードOR回路W0,3の出力
の変化がインバータ回路138に加えられ、インバータ
回路138の出力によりフリップフロップ回路FF1.
の出力が反転して、フリップフロップ回路FF7.の出
力がII 1 jlのときにインバータ回路139に出
力として自動クリア信号ACL■が得られる。The NAND circuit 130 has a wired OR with the SEL signal e.
The outputs of circuits W0,4 and WO,5 are added,
A wired-OR circuit changes its output to 0 when any of its inputs becomes 0, so EXT,
Either NAND circuit 130 or 137 outputs "0"
”, a change in the output of the wired OR circuits W0,3 is applied to the inverter circuit 138, and the output of the inverter circuit 138 causes the flip-flop circuits FF1.
The output of flip-flop circuit FF7. When the output of the inverter circuit 139 is II 1 jl, an automatic clear signal ACL■ is obtained as an output to the inverter circuit 139.
ACL信号■はコンパレータCOMP1〜COMP、に
加えられてコンパレータCOMP1〜COMP9をリセ
ットさせる。The ACL signal (2) is applied to the comparators COMP1-COMP and causes the comparators COMP1-COMP9 to be reset.
このように第1図に示した本発明の自動販売機販売制御
用電子制御回路の動作は第2図、第3図に゛よる実施例
により達成することができるが、第1図、第2図に示さ
れている2つの商品価格設定回路をさらにふやし、他の
回路もそれに合せることにより1つの自動販売機販売制
御用電子制御回路において2つ以上の価格の異なった商
品の販売を行なうことも可能である。As described above, the operation of the electronic control circuit for vending machine sales control of the present invention shown in FIG. 1 can be achieved by the embodiments shown in FIGS. By further increasing the two product price setting circuits shown in the diagram and matching other circuits, it is possible to sell products with two or more different prices using one electronic control circuit for vending machine sales control. is also possible.
以上のように、本発明によれば、すべての設定価格につ
いて、投入金額が設定価格以上で販売可能信号が生じて
いるか否かを判定して自動返金信号を形成するようにし
ているので、販売不能なコインの投入があった場合には
投入金額を自動返金することができ、しかも、複数の価
格の設定が高低の区別なく任意に可能となって、価格の
高低に応じて設定すべき回路を決めるという制約または
煩雑さはなく、従って、多量価格の設定が極めて容易と
なる。As described above, according to the present invention, for all set prices, it is determined whether the input amount is equal to or higher than the set price and a sellable signal is generated, and an automatic refund signal is generated. If an invalid coin is inserted, the amount inserted can be automatically refunded, and multiple prices can be arbitrarily set without distinction of high or low, and the circuit should be set according to the high or low price. There are no restrictions or complications in determining the price, and therefore it is extremely easy to set bulk prices.
また、従来装置には最高価格を設定するように決められ
たところの設定価格が販売不能であれば自動返金するも
のもあるが、本発明では全ての設定価格が販売不能なと
きにのみ自動返金するようにしているので、例えば、最
小単位の貨幣が釣銭無しであっても、高額の貨幣で釣銭
有りであれば、この高額の貨幣を用いて釣銭の払出しが
できる設定価格の販売を可能にするというような販売可
の判定を行なう場合等には、特に有効(最高価格に決め
られた設定価格が販売不能であっても他の設定価格で販
売可能となる場合があるので、この場合には自動返金せ
ずにその設定価格の販売を可能にして販売機会を増大さ
せるのに有効)である。In addition, some conventional devices automatically refund if the set price determined to set the highest price is unsaleable, but with the present invention, the refund is automatically refunded only when all the set prices are unsellable. For example, even if the smallest unit of money does not have change, if it is a high-value coin with change, it is possible to sell at a set price that allows change to be paid using this high-value coin. This is particularly useful when determining whether a product can be sold (even if the set price determined as the highest price is unsaleable, it may be possible to sell at another set price, so in this case, is effective in increasing sales opportunities by allowing sales at the set price without automatic refunds).
なお、本発明の以上の操作はコインだけでなく、たとえ
ば1000円、500円紙幣と100円硬貨を用いるも
のにおいても適用し得ることはもちろんである。It goes without saying that the above-described operations of the present invention can be applied not only to coins but also to those using, for example, 1000 yen and 500 yen banknotes and 100 yen coins.
第1図は本発明の自動販売機電子制御回路のブロック図
、第2図、第3図は本発明の実施例の回路図を示してい
る。
1・・・・・・エンコーダ、2・・・・・・加減算器、
3・・・・・・トータル・ペイアウト用シフトレジスタ
、4・・・・・・¥50枚数レジスタ、5・・・・・・
¥100枚数レジスタ、6・・・・・・K≧50コンパ
レータ、7・・・・・・P1+90加算器、8・・・・
・・P、+50加算器、9・・・・・・B2+90加算
器、10・・・・・・B2+50加算器、11・・・・
・・P1用コンパレータ、12・・・・・・B2用コン
パレータ、13・・・・・・P1価格設定回路、14・
・・・・・P2価格設定回路、15・・・・・・P1用
ベンド制御回路、16・・・・・・B2用ベンド制御回
路、17・・・・・・コイン払出し制御回路、18・・
・・・・コイン詰まり検出回路、19・・・・・・返金
ラッチ回路、20・・・・・・自動返金回路、21・・
・・・・セレクトラッチ回路、22・・・・・・CRE
M制御回路、23・・・・・・2相りロックパルス発生
回路、24・・・・・・ビットパルス発生回路、25〜
27,37.49〜53,55,57,59,62〜6
6 、68 。
70.73,74,77.102,106,108゜1
13.116,119,121.123,125゜12
9.131〜133,141.142,146゜151
.155,158・・・・・・AND回路、28〜31
.38,40,44,46,54,58゜67.69.
71.76.80〜82,95゜103〜105.10
7.114.117,120゜124.134,135
,145,152〜154゜157・・・・・・OR回
路、32〜35.83〜94゜98〜101.111.
112,130,137゜156・・・・・・NAND
AND回路、61,118゜122.126,148,
159・・・・・・NOR回路、36.41.43,5
6,60,72,75,78゜79.96,97,10
9,110,115゜127.128,136,138
〜140,143゜147.149,150,160〜
162・・・・・・インバータ回路、39,163・・
・・・・サイクルタイマ、De lay 1〜Dela
y 4−=遅延回路、FF1〜FF4.FF1.〜FF
、8・・・・・・フリップフロップ回路、COMP、〜
COMP、・・・・・・コンパレータ、wo−wol、
・・・・・・ワイヤードOR回路、WA、〜WA3・・
・・・・ワイヤードOR回路、SR1,SR2・・・・
・・2相ダイナミツクシフトレジスタ、R1,R2・・
・・・・レジスタ、FA、〜FA4・・・・・・全加算
器、PRICEl、2・・・・・・商品設定価格、PO
8・・・・・・コイン払出し確認信号、ATPO・・・
・・泪動返金信号、PO・・・・・・返金入力、A1・
・・・・・¥10釣銭無し信号、A2・・・・・・Y5
0釣銭無し信号、B、コイン払出し信号、B2・・・・
・・Y50コイン払出し信号、T・・・・・・販売信号
、■END1,2・・・・・・販売可能信号、ESC・
RT RN・・・・・・エスクロ内コイン返金信号、E
SC・ACC・・・・・・エスクロ内コイン集金信号、
EXT・CL・・・・・・外部クリア信号、5ING・
・・・・・価格設定数選択信号、■・・・・・・コイン
入力信号、■・・・・・・返金信号、■・・・・・・シ
フトレジスタSR2記憶内容存在信号、■・・・・・・
X>P1信号、■・・・・・・X>P、+90信号、■
・・・・・・X二P1信号、■・・・・・・自動クリア
信号ACL、■・・・・・・X>B2信号、■・・・・
・・X>P2+90信号、■・・・・・・X二P2信号
、■・:・・・・Pl−0信号、■・・・・・・B2−
0信号、■・・・・・・セレクト信号SEL、■・・・
・・・セレクト信号5EL1、■・・・・・・セレクト
信号5EL2、[有]・・・・・・コインメック用電子
制御回路動作信号、◎・・・・・・YIOコイン払出し
信号、■・・・・・・X=P1+50信号、■・・・・
・・X=P2+50信号、5EL1,5EL2・・・・
・・セレクト入力信号、CREM・・・・・・コイン投
入阻止信号、t1〜t7・・・・・・ビットパルス、φ
1.φ2.φ3・・・・・・クロックパルス。FIG. 1 is a block diagram of a vending machine electronic control circuit of the present invention, and FIGS. 2 and 3 are circuit diagrams of embodiments of the present invention. 1...Encoder, 2...Adder/subtractor,
3...Shift register for total payout, 4...¥50 number register, 5...
¥100 number register, 6...K≧50 comparator, 7...P1+90 adder, 8...
...P, +50 adder, 9...B2+90 adder, 10...B2+50 adder, 11...
... Comparator for P1, 12 ... Comparator for B2, 13 ... P1 price setting circuit, 14.
...P2 price setting circuit, 15...Bend control circuit for P1, 16...Bend control circuit for B2, 17...Coin payout control circuit, 18.・
... Coin jam detection circuit, 19 ... Refund latch circuit, 20 ... Automatic refund circuit, 21 ...
...Select latch circuit, 22...CRE
M control circuit, 23...2-phase lock pulse generation circuit, 24...Bit pulse generation circuit, 25~
27, 37.49-53, 55, 57, 59, 62-6
6, 68. 70.73, 74, 77.102, 106, 108°1
13.116, 119, 121.123, 125°12
9.131~133,141.142,146゜151
.. 155, 158...AND circuit, 28-31
.. 38, 40, 44, 46, 54, 58°67.69.
71.76.80~82,95°103~105.10
7.114.117,120°124.134,135
, 145, 152-154°157...OR circuit, 32-35.83-94°98-101.111.
112,130,137°156・・・・・・NAND
AND circuit, 61,118°122.126,148,
159...NOR circuit, 36.41.43,5
6,60,72,75,78゜79.96,97,10
9,110,115°127.128,136,138
〜140,143゜147.149,150,160〜
162...Inverter circuit, 39,163...
...Cycle timer, Delay 1~Dela
y 4-=delay circuit, FF1 to FF4. FF1. ~FF
, 8...Flip-flop circuit, COMP, ~
COMP, ... comparator, wo-wol,
...Wired OR circuit, WA, ~WA3...
...Wired OR circuit, SR1, SR2...
・2-phase dynamic shift register, R1, R2...
...Register, FA, ~FA4...Full adder, PRICEl, 2...Product setting price, PO
8... Coin payout confirmation signal, ATPO...
... Tearing refund signal, PO... Refund input, A1.
...¥10 No change signal, A2...Y5
0 no change signal, B, coin payout signal, B2...
・・Y50 coin payout signal, T・・・・Sale signal, ■END1, 2・・・・Sellable signal, ESC・
RT RN・・・・・・Coin refund signal in escrow, E
SC/ACC・・・Escrow coin collection signal,
EXT・CL・・・External clear signal, 5ING・
... Price setting number selection signal, ■ ... Coin input signal, ■ ... Refund signal, ■ ... Shift register SR2 memory content presence signal, ■ ...・・・・・・
X>P1 signal, ■...X>P, +90 signal, ■
...X2P1 signal, ■...Auto clear signal ACL, ■...X>B2 signal, ■...
...X>P2+90 signal, ■...X2P2 signal, ■:...Pl-0 signal, ■...B2-
0 signal, ■...Select signal SEL, ■...
...Select signal 5EL1, ■...Select signal 5EL2, [Yes]...Electronic control circuit operation signal for coin mech, ◎...YIO coin payout signal, ■... ...X=P1+50 signal, ■...
...X=P2+50 signal, 5EL1, 5EL2...
...Select input signal, CREM...Coin insertion prevention signal, t1-t7...Bit pulse, φ
1. φ2. φ3...Clock pulse.
Claims (1)
に設定された複数の価格の各々について投入金額と比較
し釣銭有無に応じて販売可能な設定価格に対してそれぞ
れ販売可能信号を送出する個別の手段とを有してなる自
動販売機用制御回路において、前記投入金額がすべての
設定価格以上になったこと、および前記販売可能信号が
いずれの設定価格に対しても生じていないことの両者が
同時に成立したとき前記投入金額を自動返却するための
自動返金信号を形成する手段を備えてなることを特徴と
する自動販売機用制御回路。1. A price setting means capable of setting a plurality of prices, and comparing each of the plurality of prices set in the means with the input amount and sending out a sales enable signal for each set price at which the product can be sold depending on the presence or absence of change. In the control circuit for a vending machine, the input amount is greater than or equal to all set prices, and the sale enable signal is not generated for any set price. 1. A control circuit for a vending machine, comprising means for forming an automatic refund signal for automatically returning the input amount when both of the above are established at the same time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6421981A JPS5929913B2 (en) | 1981-04-30 | 1981-04-30 | Control circuit for vending machines |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6421981A JPS5929913B2 (en) | 1981-04-30 | 1981-04-30 | Control circuit for vending machines |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5743288A JPS5743288A (en) | 1982-03-11 |
| JPS5929913B2 true JPS5929913B2 (en) | 1984-07-24 |
Family
ID=13251761
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6421981A Expired JPS5929913B2 (en) | 1981-04-30 | 1981-04-30 | Control circuit for vending machines |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5929913B2 (en) |
-
1981
- 1981-04-30 JP JP6421981A patent/JPS5929913B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5743288A (en) | 1982-03-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2740979B2 (en) | Vending machine control device | |
| JPH07509580A (en) | Money distribution control method and device | |
| JPS6167190A (en) | Control system for vending machine | |
| US20240054486A1 (en) | Virtual currency management method | |
| JPS5845074B2 (en) | Control circuit for vending machines | |
| JPS5929913B2 (en) | Control circuit for vending machines | |
| US5024313A (en) | Coin return control system for vending machines | |
| JPS5822789B2 (en) | Vending machine control device | |
| JPS5929914B2 (en) | Vending machine sales available | |
| EP3796243A1 (en) | Merchandise sales system | |
| JPS598868B2 (en) | Control circuit for vending machines | |
| JPS5911158B2 (en) | Control circuit for vending machines | |
| JPS5939075B2 (en) | Vending machine control device | |
| JPS5911159B2 (en) | Control circuit for vending machines | |
| JPS6227974Y2 (en) | ||
| CN111798271A (en) | Method, device, equipment and storage medium for implementing bonus pool | |
| JPH0222760Y2 (en) | ||
| JPS5944674B2 (en) | Vending machine coin dispensing control circuit | |
| JPH10198835A (en) | Coin storage and payment device | |
| GB2097163A (en) | Vend possible judgement device for a vending machine | |
| US20250391220A1 (en) | Money handling apparatus and money handling method | |
| JPS6129107Y2 (en) | ||
| JPS6227973Y2 (en) | ||
| JPS6029999B2 (en) | Vending machine control device | |
| JPH036558B2 (en) |