JPS5911159B2 - Control circuit for vending machines - Google Patents
Control circuit for vending machinesInfo
- Publication number
- JPS5911159B2 JPS5911159B2 JP6422081A JP6422081A JPS5911159B2 JP S5911159 B2 JPS5911159 B2 JP S5911159B2 JP 6422081 A JP6422081 A JP 6422081A JP 6422081 A JP6422081 A JP 6422081A JP S5911159 B2 JPS5911159 B2 JP S5911159B2
- 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 calculating the input amount, change amount, and refund amount in a vending machine, sending out a sales enable signal, and other controls.
この種の電子制御回路は一般に貨幣選別機構ならびに釣
銭払出機構とともに機能するものであり、貨幣選別機構
にて選別された複数種類の投入貨幣を金種別に計数する
とともに投入金額を計算し、投入金額が商品販売設定価
格を越えると自動販売機本体に販売可能信号を送出する
。This type of electronic control circuit generally functions together with a money sorting mechanism and a change dispensing mechanism, and counts the multiple types of input coins sorted by the coin sorting mechanism by denomination, calculates the input amount, and calculates the input amount. When the product exceeds the product sales set price, a sales enable signal is sent to the vending machine itself.
自動販売機本体側では、販売可能信号の送出された価格
に対応する押ボタンを点灯し、点灯された押ボタンを客
が押すと、商品販売動作に入ることを知らせる販売開始
信号(以下、単に販売信号ともいう。On the vending machine itself, the pushbutton corresponding to the price at which the sale ready signal was sent is lit up, and when the customer presses the lit pushbutton, a sales start signal (hereinafter simply referred to as simply Also called a sales signal.
)と、どの価格が選定されたかを知らせる選択信号とを
前記電子制御回路に送出する。) and a selection signal indicating which price has been selected to the electronic control circuit.
電子制御回路はこの両信号を受けて投入金額からの商品
販売設定価格の減算ならびに釣銭の払出し制御を行なう
。The electronic control circuit receives these signals and controls the subtraction of the product sales price from the input amount and the payout of change.
返却ボタンが押された場合には、上記電子制御回路は投
入金額と同額の貨幣を返却口に返却する。When the return button is pressed, the electronic control circuit returns the same amount of currency as the input amount to the return slot.
以上は従来から広く知られた技術であるが、前記した自
動販売機本体側からの信号、すなわち販売信号と選択信
号とは一般にリレーを介して送出されるために、次のよ
うな問題が生じていた。Although the above-mentioned technology is widely known, the following problems arise because the signals from the vending machine itself, that is, the sales signal and the selection signal, are generally sent via relays. was.
すなわち、商品および商品販売価格の多様化に伴ない、
この種の電子制御回路としては複数の価格設定の可能な
ることが要求されており、設定価格ごとに当然釣銭額も
異なることから、選択された設定価格以外の設定価格に
対しては、速やかに選択されなかった゛ことの処理、す
なわちクリア信号の発生または以後の計算動作の阻止等
を講じる必要がある。In other words, with the diversification of products and product sales prices,
This type of electronic control circuit is required to be able to set multiple prices, and since the amount of change will naturally vary depending on the set price, any set price other than the selected set price will be promptly responded to. It is necessary to take steps to deal with the fact that it has not been selected, that is, to generate a clear signal or to block future calculation operations.
これは誤った信号やノイズ信号の発生による釣銭額の過
不足払出し等を避けるためである。This is to avoid paying out too much or too little change due to the generation of erroneous signals or noise signals.
ここで前述の自動販売機本体からの販売信号はすべての
設定価格に対して共通に発せられるものであるのに対し
、選択信号は特定の設定価格に対応して発せられるもの
であるから、上記した非選択設定価格に対する処理は、
販売信号が到達したにもかかわらず選択信号が到達しな
いという条件を用いて行なえばよいことが判る。Here, the sales signal from the vending machine itself is issued in common for all set prices, whereas the selection signal is issued in response to a specific set price. The processing for the non-selected set price is as follows.
It turns out that this can be done using the condition that the selection signal does not arrive even though the sales signal arrives.
ところが前記したように、販売信号と選択信号とはリレ
ーを介して送出されるため、ほぼ同時には発生されるも
のの各リレーの動作時間の相違によっていずれか一方が
他方より遅れて発せられる可能性がある。However, as mentioned above, the sales signal and the selection signal are sent through relays, so although they are generated almost simultaneously, there is a possibility that one of them will be issued later than the other due to the difference in operating time of each relay. be.
このために選択信号が販売信号よりも先に到達した場合
はよいが、選択信号が販売信号よりも遅れて到達した場
合には、前述の販売信号が到達したにもかかわらず選択
信号が到達しないという条件が僅かな時間ながらも成立
してしまい、当該設定価格が選択されなかったという処
理が進行してしまう。For this reason, it is good if the selection signal arrives before the sales signal, but if the selection signal arrives later than the sales signal, the selection signal does not arrive even though the aforementioned sales signal has arrived. This condition is satisfied even if it is only for a short time, and the process that indicates that the set price is not selected proceeds.
自動販売機本体では、一旦販売信号を送出したのちはま
ったく独立に商品販売動作を実行してしまうので、結果
的には商品は購入できたが釣銭は払出されないという事
態を招来する。Once the vending machine itself sends out a sales signal, it executes the product sales operation completely independently, resulting in a situation where the product can be purchased but no change is dispensed.
そこで本発明はかかる事態の発生を回避できる自動販売
機用電子制御回路を提供することを目的とする。Therefore, an object of the present invention is to provide an electronic control circuit for a vending machine that can avoid the occurrence of such a situation.
上記の目的は、本発明によれば、複数の価格設定が可能
でかつ投入金額がこれらの設定価格のうちの少なくとも
1つの設定価格以上になったとき自動販売機に対して販
売可能信号を送出し、該販売可能信号にもとづく販売開
始信号と、商品購入のための商品選択信号とを前記自動
販売機より受けて該当価格に対応する商品の販売を可能
とする自動販売機用制御回路において、前記販売開始信
号を遅延する遅延回路を設けることにより商品選択信号
が販売開始信号より僅かに遅れて到来した場合でもこの
商品選択信号を無効ならしめないようにすることにより
達成される。According to the present invention, the above object is to send a sales enable signal to a vending machine when a plurality of prices can be set and the input amount exceeds at least one of these set prices. and a control circuit for a vending machine that receives a sales start signal based on the sales enable signal and a product selection signal for purchasing the product from the vending machine and enables the sale of the product corresponding to the corresponding price, This is achieved by providing a delay circuit that delays the sales start signal so that even if the product selection signal arrives slightly later than the sales start signal, the product selection signal is not invalidated.
以下、本発明をコインノックと称される硬貨選別ならび
に釣銭払出制御機構について実施した場合の実施例を図
面を参照して設明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a coin sorting and change dispensing control mechanism called a coin knock will be described below with reference to the drawings.
なお、実施例においては貨幣として¥10,¥50,¥
100の各種コインを用いたものを考える。In addition, in the example, the currency is ¥10, ¥50, ¥
Consider a case using 100 various coins.
第1図は本発明による装置の動作を示すブロックダイヤ
グラムを示している。FIG. 1 shows a block diagram illustrating the operation of a device according to the invention.
図において1はエンコーダ、2は加減算器、3はトータ
ル・ペイアウト用シフトレジスタ、4は¥50枚数レジ
スタ、5は¥100枚数レジスク、6は釣銭額KとY5
0とを比較するK≧50コンパレータ、7は商品設定価
格P1にY90を加えるP1+90加算回路、8は商品
設定価格P1にY50を加えるP1+50加算回路、9
は商品設定価格P2にY90を加えるP2+90加算回
路、10は商品設定価格P2にY50を加えるP,+5
0加算回路、11は投入金額とP1およびP1+50お
よびP1+90とを比較する商品設定価格P1用コンパ
レータ、12は投入金額とP2およびP2+50および
P2+90とを比較する商品設定価格P2用コンパレー
タ、13は商品設定価格P1を設定するためのP1価格
設定回路、14は商品設定価格P2を設定するためのP
2価格設定回路、15はP1用コンパレータ11の出力
により商品設定価格P1の商品の販売を制御するP1用
ベンド制一回路、16はP2用コンパレータ12の出力
により商品設定価格P2の商品の販売を制御するP2用
ベンド制御回路、17はコイン払出し制御回路、18は
コイン詰まり検出回路、19は返金ラッチ回路、20は
自動返金回路、21はセレクトラッチ回路、22はCR
EM制御回路(後述)、23は2相クロツクパルス発生
回路、24はビットパルス発生回路を示している。In the figure, 1 is an encoder, 2 is an adder/subtractor, 3 is a shift register for total payout, 4 is a ¥50 number register, 5 is a ¥100 number register, 6 is a change amount K and Y5
K≧50 comparator that compares with 0, 7 is a P1+90 addition circuit that adds Y90 to the product setting price P1, 8 is a P1+50 addition circuit that adds Y50 to the product setting price P1, 9
is a P2+90 addition circuit that adds Y90 to the product setting price P2, and 10 is a P,+5 that adds Y50 to the product setting price P2.
0 addition circuit; 11 is a comparator for product setting price P1 that compares the input amount with P1, P1+50, and P1+90; 12 is a comparator for product setting price P2 that compares the input amount with P2 and P2+50 and P2+90; 13 is a product setting P1 price setting circuit for setting price P1, 14 is P for setting product setting price P2
2 price setting circuits; 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 P1; 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 P2; Bend control circuit for P2 to control, 17 coin dispensing control circuit, 18 coin jam detection circuit, 19 refund latch circuit, 20 automatic refund circuit, 21 select latch circuit, 22 CR
EM control circuit (described later), 23 is a two-phase clock pulse generation circuit, and 24 is a bit pulse generation circuit.
またA1は釣銭¥10無し信号、A2は釣銭Y50無し
信号、B1はコイン払出し信号、B2はY50コイン払
出し信号、VEND1はP1商品販売可能信号、VEN
D2はP2商品販売可能信号、POSはコイン払出し確
認信号、POは手動返金入力、SEL1は商品設定価格
P0の商品のセレクト入力、SEL2は商品設定価格P
2の商品のセレクト入力、t1〜t7はビットパルス、
ESC・ACCおよびESC−RTRNはエスクロ内の
¥100コイン集金信号および返金信号を示している。In addition, A1 is the change ¥10 missing signal, A2 is the change Y50 missing signal, B1 is the coin payout signal, B2 is the Y50 coin payout signal, VEND1 is the P1 product sales ready signal, VEN
D2 is a P2 product sales enable signal, POS is a coin payout confirmation signal, PO is a manual refund input, SEL1 is a product selection input with a product set price P0, SEL2 is a product set price P
2 product selection input, t1 to t7 are bit pulses,
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進法におけるf+ 1 1
1が¥10を表わすようにした6ビットの純2進数で表
わされる。In the example, the amount is f + 1 1 in decimal notation.
It is expressed as a 6-bit pure binary number where 1 represents ¥10.
ここで使用されるコインを¥10,¥50 ,Yl 0
0であるとするとYIOは″000001′′ ¥50
は″″000101”,ツ
Y100は゛’001010”の2進コードでそれぞれ
表わされる。The coins used here are ¥10, ¥50, Yl 0
If it is 0, YIO is ``000001'' ¥50
is represented by a binary code of ``000101'', and Y100 is represented by a binary code of ``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,Y50,YIOOのコインの投入があるごとに
投入コインはエンコーダ1により前述のようにその金額
を表わす2進コードに変換されて加減算器2に印加され
、トータル・ペイアウト用シフトレジスタ3に記憶され
ている今までの投入金額と加算されて投入合計金額がト
ータル・ペイアウト用シフトレジスタ3に記憶される。Each time a coin of YIO, Y50, or YIOO is inserted, the inserted coin is 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.
このとき¥100のコインは一時エスクロと称するスペ
ースに保持され、¥10,¥50のコインはそれぞれの
釣銭筒内に自動的に収納される。At this time, the ¥100 coin is temporarily held in a space called escrow, and the ¥10 and ¥50 coins are automatically stored in their respective change cylinders.
またY50,YIOOのコインの投入に対してはコイン
の投入があるたびに、その人カパルスは¥50枚数レジ
スタ4および¥100枚数レジスタ5に送られ、それぞ
れの投入枚数が記憶される。For Y50 and YIOO coins, each time a coin is inserted, the person's capulse is sent to the ¥50 coin count register 4 and the ¥100 coin count register 5, and the respective inserted numbers are stored.
コイン投入の際にコイン詰まりがあった場合にはコイン
詰まり検出回路18においてコインの詰まりを検出し、
投入硬貨をそのまま返却する硬貨返却電磁石( Coi
n Return Electromagnet.以下
CREMと称する)CREMの制御回路にその信号を送
り、コインの投入を阻止する機能を有している。If a coin is jammed when inserting a coin, the coin jam detection circuit 18 detects the coin jam;
Coin return electromagnet (Coi) that returns inserted coins as is.
n Return Electromagnet. 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″が¥10を表
わすようにした6ビットの純2進法による2進コードで
表わされる。The product price is expressed in a 6-bit pure binary binary code in which "'1" in the decimal system represents ¥10.
実施例においては1つの自動販売機コインノック用電子
制御回路において2つの商品価格P1,P2を設定する
ためのP1価格設定回路13とP2価格設定回路14と
を設けることにより1つの自動販売機コインノック用電
子制御回路において2つの価格の異なる商品の販売を可
能とし、この自動販売機コインノック用電子制御回路を
1つの自動販売機内に複数個設置することにより多重価
格の自動販売機を得ることができる。In the embodiment, one vending machine coin knock electronic control circuit is provided with a P1 price setting circuit 13 and a P2 price setting circuit 14 for setting two product prices P1 and P2. To obtain a multi-price vending machine by making it possible to sell products with two different prices in an electronic control circuit for knocks, and installing a plurality of electronic control circuits for coin knocks in one vending machine. I can do it.
この場合P1,P2の値は従来の装置においてP1,P
2のどちらかが必ず大きくなければならないという規定
のあるものもあるが、ここではP1〉P2,P1−P2
,P1〈P2のどのような設定でも行なうことが可能で
ある。In this case, the values of P1 and P2 are
Some regulations state that one of 2 must be larger, but here P1>P2, P1-P2
, P1<P2 can be set.
P1価格設定回路13、P2価格設定回路14において
設定された6ビットの純2進法による2進コードのうち
P1の2進コードはP1+50加算回路8とP1+90
加算回路7に、P2の2進コードはP2+50加算回路
10とP2+90加算回路9に加えられる。Among the 6-bit pure binary binary codes set in the P1 price setting circuit 13 and P2 price setting circuit 14, the binary code of P1 is P1+50 addition circuit 8 and P1+90.
In addition circuit 7, the binary code of P2 is applied to P2+50 addition circuit 10 and P2+90 addition circuit 9.
P1+50加算回路8、P2+50加算回路10にはそ
のほかにビットパルス発生回路24からt1+t3のビ
ットパルス即ち¥50を表わす″O O O 1 0
1 ”が加えられており、P1−}−5 0 , P2
+5 0の加算が行なわれる。In addition to the P1+50 addition circuit 8 and the P2+50 addition circuit 10, a bit pulse of t1+t3, that is, ``O O O 1 0'' representing ¥50, is sent from the bit pulse generation circuit 24.
1'' is added, P1-}-5 0, P2
An addition of +5 0 is performed.
P ,+ 90加算回路7、P2+90の加算回路9に
はそのほカニヒットパルス発生回路24より11+14
のビットパルス即ちY90を表わす″″001001”
が加えられており、P1+90,P2+90の加算が行
なわれる。P, +90 adder circuit 7 and P2+90 adder circuit 9 receive 11+14 from the crab hit pulse generating circuit 24.
""001001" representing the bit pulse of Y90
is added, and addition of P1+90 and P2+90 is performed.
ビットハルス発生回路24は2相のクロツクパルスφ1
,φ2によりシフトされていくシフトレジスタより構成
され、t1〜t7のビットパルスをクロツクパルス周期
において発生し、そのうちt1〜t6のビットパルスが
金額を表わすのに使用される。The bit Hals generation circuit 24 generates a two-phase clock pulse φ1.
, φ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.
商品設定価格P1j P1+5 0 , P1+9 0
、トータル・ペイアウト用シフトレジスタ3に記憶され
ている投入合計金額Xは商品設定価格P1用コンパレー
タ11に、商品設定価格P2 ,P2 + 5 0+P
2+90、前記投入合計金額Xは商品設定価格P2用コ
ンパレータ12にそれぞれ加えられ、その比較結果とし
て商品設定価格P1用コンパレータ11よりX=P1,
X>P1,X>P1+90 ,X一P1+50、商品設
定価格P2用コンパレータ12よりX−P2,X>P2
,X>P2+90,X一P2+50の出力を得ることが
できる。Product setting price P1j P1+5 0, P1+9 0
, the total input amount X stored in the shift register 3 for total payout is sent to the comparator 11 for the product setting price P1 as the product setting price P2 , P2 + 5 0 + P
2+90, the total input amount X is added to the product setting price P2 comparator 12, and as a result of the comparison, from the product setting price P1 comparator 11, X=P1,
X>P1, X>P1+90, X1P1+50, X−P2,
, X>P2+90, X-P2+50 can be obtained.
商品設定価格P1用コンパレータ11からの出力はP1
用ベンド制御回路15に、商品設定価格P2用コンパレ
ータ12からの出力はP2用ベンド制御回路16にそれ
ぞれ加えられる。The output from the comparator 11 for product setting price P1 is P1
The output from the product setting price P2 comparator 12 is applied to the P2 bend control circuit 16, respectively.
P1,P2用ベンド制御回路15.16にはそのほかに
釣銭¥10無し信号A1、釣銭Y50無し信号A2が加
えられてい・る。In addition, a change ¥10 missing signal A1 and a change Y50 missing signal A2 are added to the bend control circuits 15 and 16 for P1 and P2.
実施例において、P1,P2用ベンド制御回路15.1
6よりP1,P2商品販売可能信号VEND1,VEN
D2が出されるのは次の条件のときである。In the embodiment, the bend control circuit 15.1 for P1 and P2
6 to P1, P2 product sales enable signals VEND1, VEN
D2 is issued under the following conditions.
1)X−P10rP2の場合、
i!) P1<X<P1+9 0 or P2<X<
P2+ 9 0でYIO釣銭有りの場合、
i!!) X= P1+ 5 0 or X= P2+
5 0でY50釣銭有りの場合
このように従来装置ではY50の釣銭がある場合でも¥
10の釣銭が無い場合には釣銭の必要のある販売は行な
わなかったのであるが、実施例の装置においては商品設
定価格P1,P2とY50とを加算した数P1+50,
P2+50を投入合計金額Xと比較することによりYI
Oの釣銭のない場合にも釣銭Y50があり、かつ釣銭額
がY50である場合の販売を可能とすることができる。1) For X-P10rP2, i! ) P1<X<P1+9 0 or P2<X<
If P2+90 has YIO change, i! ! ) X= P1+ 5 0 or X= P2+
5 0 with Y50 change In this way, with the conventional device, even if there is Y50 change, ¥
If there was no change for 10, sales that required change were not performed, but in the device of the embodiment, the number P1+50, which is the sum of the product setting prices P1 and P2 and Y50,
YI by comparing P2+50 with the total input amount X
Even when there is no change for O, there is change Y50, and sales can be made when the change amount is Y50.
客がP1価格かP2価格の商品のいずれかを選択するこ
とによりセレクトラッチ回路21に操作人力SEL1、
あるいはSEL2が送られてきてセレクトラツチ回路2
1によって商品設定価格P1の商品の選択か商品設定価
格P2の商品の選択かを判断し、SEL1、あるいはS
EL2とほぼ同時に生じる外部からの販売信号Tにより
エスクロ内に一時保管されていた¥100のコインを収
金するための信号ESC−ACCをエスクロに送る。When the customer selects either the product with the P1 price or the P2 price, the select latch circuit 21 is operated manually by SEL1,
Or SEL2 is sent and select latch circuit 2
1 to determine whether to select the product with the product setting price P1 or the product with the product setting price P2, and select SEL1 or SEL1.
A signal ESC-ACC for collecting the ¥100 coin temporarily stored in the escrow is sent to the escrow in response to an external sales signal T generated almost simultaneously with EL2.
次にセレクトラッチ回路21の出力信号はSEL1を選
択したかSEL2を選択したかによりSEL1を選択し
た場合にはP,価格設定回路13に、SEL2を選択し
た場合にはP2価格設定回路14に送られる。Next, the output signal of the select latch circuit 21 is sent to the P and price setting circuit 13 when SEL1 is selected, and to the P2 price setting circuit 14 when SEL2 is selected, depending on whether SEL1 or SEL2 is selected. It will be done.
P1価格設定回路13およびP2価格設定回路14にお
いてはセレクトラッチ回路21の出力信号を受け取ると
商品設定価格を表わす2進コードを加減算器2に送る。When the P1 price setting circuit 13 and the P2 price setting circuit 14 receive the output signal of the select latch circuit 21, they send a binary code representing the product setting price to the adder/subtractor 2.
加減算器ブにおいでは、このときトータル・ペイアウト
用シフトレジスタ3に記憶されていた投入合計金額Xか
らP1価格設定回路13またはP2価格設定回路14よ
り送られてくる設定価格の減算が行なわれる。In the adder/subtractor B, 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−P1またはX−P2の減算が行なわれ、その減
算結果Kがトータル・ペイアウト用シフトレジスタ3に
釣銭額として記憶される。That is, subtraction of X-P1 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の記憶内
容KはK≧50コンパレータ6におくられ、釣銭額Kが
Y50よりも大きいかどうかが比較される。The stored content K of the total payout shift register 3 is sent to a K≧50 comparator 6, and compared to see if the change amount K is larger than Y50.
K≧50コンパレータ6にはY50の信号としてt1+
t3のビットパルスがP1+50加算回路8およびP2
+50加算回路10と同じように加えられている。K≧50 Comparator 6 receives t1+ as Y50 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の投入枚数を表わす出力信号、コイン払出し確認
信号POSが加えられている。The coin payout control circuit 17 also receives as inputs a signal A2 indicating ¥50 without change and a change amount K stored in the total payout shift register 3. An output signal representing the number of coins inserted into the Y50 coin number register 4 and a coin payout confirmation signal POS are added.
コイン払出し制御回路17においてコイン払出し信号B
,Y50コイン払出)
し信号B2による釣銭の払出しは次のように行なわれる
。Coin payout signal B in coin payout control circuit 17
, Y50 coin payout) Change payout using signal B2 is performed as follows.
i)K<Y50の場合・・・・・・¥10×n枚で払出
し(n<5)
i1i)K>Y50でY50釣銭有りの場合・・・・・
・Y50×1枚、¥10×n枚で払出し ( n<5
)iiD K>Y5 0で¥50釣銭無しの場合・・・
・・・YIO×n枚で払出し ( 1 0)n)O )
実施例においてはコインが投入された場合に釣銭がY9
0以下になる商品の販売だけを可能とするため釣銭額は
必ずY90以下である。i) When K<Y50...Pay out ¥10 x n pieces (n<5) i1i) When K>Y50 and there is Y50 change...
・Payout with Y50 x 1 piece, ¥10 x n pieces (n<5
)iiD K>Y5 0 and ¥50 without change...
...Payout with YIO x n pieces (1 0)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+’9 0 , X
> P2+90によってP1用ベンド制御回路15およ
びP2用ベンド制御回路16からのVEND1,VEN
I)2の信号を制御することにより行ない得る。This means that the output signals from the P1 comparator 11 and the P2 comparator 12 are X>P1+'9 0, X
> VEND1, VEN from P1 bend control circuit 15 and P2 bend control circuit 16 by P2+90
This can be done by controlling the signal I)2.
コインの払出しの都度、コイン払出し制御回路17はコ
イン払出し確認信号POSを受け払出し金額を表わす2
進コードを加減算器2に送り、トータル・ペイアウト用
シフトレジスク3に記憶されている釣銭額Kから払い出
した釣銭の減算を行なわせる。Each time a coin is paid out, the coin payout control circuit 17 receives a coin payout confirmation signal POS and sends a signal 2 representing the payout amount.
The decimal code is sent to the adder/subtractor 2, and the paid change is subtracted from the change amount K stored in the shift register 3 for total payout.
そしてトータル・ペイアウト用シフトレジスク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.
但し釣銭額がY50よりも大きな場合にはK〉50コン
パレータ6の出力信号によりY50釣銭を先に払出し残
りをYIOで払い出すようにしている。However, if the amount of change is larger than Y50, the output signal of the K>50 comparator 6 causes the Y50 change to be paid out first and the remaining amount 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.
¥100は一時保持されていたエスクロより払出され、
¥100の投入枚数を記憶している¥100枚数レジス
タ5の内容が″0″になるまで加減算器2およびトータ
ル・ペイアウト用シフトレジスク3によって投入合計金
額Xからの減算を行なう。¥100 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 ¥100 coin count register 5, which stores the number of ¥100 coins inserted, becomes "0".
同じくY50枚数レジスタ4に記憶されている投入枚数
力sHO”になるまで、加減算器2およびトータル・ペ
イアウト用シフトレジスタ3により投入金額Xからの減
算を行なう。The adder/subtractor 2 and the total payout shift register 3 subtract from the input amount X until the input number sHO'' stored in the Y50 coin number register 4 is reached.
この場合、Y50枚数レジスク4、¥100枚数レジス
タ5の出力信号は第1図のブロック図に示されているよ
うにエンコーダ1を介してそれぞれの金額を表わす2進
コードに変換され、さらに加減算器2により減算が行な
われる。In this case, the output signals of the Y50 sheet number register 4 and the ¥100 sheet 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.
Y50、¥100を返金したのちのトータル・ペイアウ
ト用シフトレジスク3の残りの記憶内容がtt O u
になるまでYIOの返金が行なわれる。After refunding Y50 and ¥100, the remaining memory contents of the total payout shift register disk 3 are tt O u
YIO refunds will be made until .
そしてトータル・ペイアウト用シフトレジスタ3の記憶
内容が′1 0 11になったところで返金は終了する
。The refund ends when the contents of the total payout shift register 3 reach '1 0 11'.
また投入金額Xが最高商品設定価格よりも大きな場合に
全ての販売出力が生じない場合には自動返金制御回路2
0において判断し、自動的に返金ラッチ回路19に信号
を送り金額返金を行なわせる。In addition, if the input amount
0, and automatically sends a signal to the refund latch circuit 19 to refund the amount.
このとき、返金ラッチ回路19はESC−RTRN信号
を送出するとともに、¥50枚数レジスタ4および¥1
00枚数レジスタ5へ信号を送る。At this time, the refund latch circuit 19 sends out the ESC-RTRN signal, and the ¥50 sheet number register 4 and the ¥1
Sends a signal to the 00 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 ■ to ■ are signals within the electronic control circuit for coin knocking in the vending machine according to the present invention, and the other signals are electronic signals from devices in the vending machine other than this electronic control circuit. Either it is sent to the control circuit, or it is sent from the electronic control unit to other vending machine equipment.
第1図におけるエンコーダ1の実施例を示す回路は第2
図においてAND回路25〜2 7 , 37、OR回
路28〜31,3B、NAND回路32〜35、インバ
ーク回路36 ,41、サイクルタイマ39、ワイヤー
FOR回路WO0から成り立っている。The circuit illustrating the embodiment of the encoder 1 in FIG.
In the figure, it consists of AND circuits 25-27, 37, OR circuits 28-31, 3B, NAND circuits 32-35, invert circuits 36, 41, cycle timer 39, and wire FOR circuit WO0.
最初は本発明による自動販売機コインノック用電子制御
回路が動作中であることを表わす記号■は゛゜0′”で
あるからAND回路25〜27にはインバータ回路41
より゜゜1″が加えられているためコイン人力YIO、
¥50、¥100があった場合にはそれに対応してAN
D回路25〜27に出力$1 1 11が生じ、その出
力”1″はOR回路28〜30に加えられOR回路28
〜30にはAND回路25〜27の出力と同一の出力H
iltを生じる。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 circuits 25 to 27 are connected to the inverter circuit 41.
Since ゜゜1″ is added, the coin human power YIO,
If there is ¥50 or ¥100, AN correspondingly
Outputs $1 1 11 are generated in D circuits 25 to 27, and the output "1" is added to OR circuits 28 to 30 and
~30 has the same output H as the output of AND circuits 25~27.
produces ilt.
またN A. N D回路32にはt1のビットパルス
、NAND回路33にはt2のピットパルス、NAND
回路34にはt3のビットパルス、NAND回路35に
はt4のビットパルスがシフトレジスタSR1から加え
られている。Also NA. The NAND circuit 32 receives a t1 bit pulse, the NAND circuit 33 receives a t2 pit pulse, and the NAND circuit 33 receives a t2 pit pulse.
A bit pulse at t3 is applied to the circuit 34, and a bit pulse at t4 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 a bit pulse generation circuit 24 in the block diagram of FIG. 1, and is a two-phase dynamic shift register, and is shifted by two-phase clock pulses φ1 and φ2 to generate bit pulses from t1 to t7. Configure it to occur.
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.
このようにすることにより¥10のコイン入力があった
場合にはこの入力はOR回路28.31を介してNAN
D回路32に加えられるためNAND回路32の出力は
t,のビットパルスに同期するため6ビットの2進数に
おいて) 1 1 1 1 1 0 ”で表わされ、ワ
イヤードOR回路WO1を介してインバーク回路36で
反転して″000001”となり″1”をYIOで表わ
すようにしておくことにより純2進法において¥10を
示す2進コードを得ることができる。By doing this, if there is a coin input of ¥10, this input will be converted to NAN via the OR circuit 28.31.
Since it is applied to the D circuit 32, the output of the NAND circuit 32 is synchronized with the bit pulse of t, so it is expressed as 1 1 1 1 1 0'' in a 6-bit binary number, and is sent to the inverter circuit via the wired OR circuit WO1. By inverting at 36 to become "000001" and expressing "1" in YIO, a binary code indicating ¥10 in pure binary system can be obtained.
同様にしてY50のコイン入力はNAND回路32 .
34に加えられ、t1,t3のビットパルスと同期す
るためインバーク回路36の出力は゛’000101”
′即ちY50を示す2進コードが現われる。Similarly, the coin input of Y50 is connected to the NAND circuit 32.
34 and synchronized with the bit pulses of t1 and t3, the output of the inverter circuit 36 is ``000101''.
', that is, a binary code indicating Y50 appears.
また¥100のコイン入力はNAND回路33 ,35
に加えられ、t2,t4のビットパルスに同期してイン
バーク回路36の出力に″001010′即ち、¥10
0を示す2進コードが現われる。Also, ¥100 coin input is NAND circuit 33, 35
is added to the output of the inverter circuit 36 in synchronization with the bit pulses at t2 and t4.
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は¥10、¥50、¥100の
いずれかのコイン入力があった場合に一定時間、出力゛
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 a coin of ¥10, ¥50, or ¥100 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サイクルタ
イム間だけ、即ち¥10、¥50、¥100のコイン入
力を表わずパルスは1回だけしかAND回路37の出力
端から出ないということになるためコインの2重計算と
いうことは生じない。Therefore, the output of the AND circuit 37 only occurs during one cycle time from t1 to t7, that is, the pulse does not represent the coin inputs of ¥10, ¥50, and ¥100, and only one pulse is output from the output terminal of the AND circuit 37. Therefore, double counting of coins does not 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. .
加減算器AI)I)は、インバータ43の出力に応じて
加算、減算モードの切換えが行なわれる純2進法の加減
算器(内部の詳細回路については、必要ならば例えば昭
和46年8月15日、■ラジオ技術社発行「電卓技術教
科書・基礎編」第176頁、第5・8図を参照されたい
。The adder/subtractor AI)I) is a pure binary adder/subtractor whose addition and subtraction modes are switched in accordance with the output of the inverter 43 (for detailed internal circuitry, see for example the one published on August 15, 1970). , ■Please refer to Figures 5 and 8, page 176 of "Calculator Technology Textbook - Basic Edition" published by Radio Gijutsusha.
)であって、シフトレジスタSR2からの出力に対し、
OR回路44を介して与えられる2進コード信号を加算
または減算し、その結果をシフトレジスタSR2に記憶
する形式のものであるが、これは補数をとって減算を行
なう形式のものでもよく、いずれにしても周知の加減算
器を使用することができる。), and for the output from shift register SR2,
This is a type of addition or subtraction of the binary code signals given through the OR circuit 44 and the result is stored in the shift register SR2, but this may also be of a type in which the complement is taken and subtraction is performed. However, a well-known adder/subtractor can be used.
このようにすることにより加減算器ADDにおいてはコ
イン入力があった場合にはインバータ回路43より”0
″が加えられているため加算モードとなり、AND回路
37からの投入金額を表わすパルスは加減算器ADDに
おいて加算され、シフトレジスタSR2に記憶される。By doing this, when there is a coin input in the adder/subtractor ADD, the inverter circuit 43 outputs "0".
'' has been added, the mode is set to addition, and the pulse representing the input amount from the AND circuit 37 is added in the adder/subtractor ADD and stored in the shift register SR2.
シフトレジスタSR2は2相のクロツクパルスによりシ
フトされる2相ダイナミックシフトレジスタである。Shift register SR2 is a two-phase dynamic shift register shifted by two-phase clock pulses.
第1図のブロック図におけるP,,P2価格設定回路1
3.14は第2図においてPRICE1,PRICE2
の各端子およびNAND回路83〜94 .98 ,9
9、ワイヤードOR回路WO2〜WO,2、インバータ
回路96,97により実施される。P,,P2 price setting circuit 1 in the block diagram of Fig. 1
3.14 is PRICE1, PRICE2 in Figure 2
and NAND circuits 83-94. 98,9
9. Implemented by wired OR circuits WO2 to WO,2 and inverter circuits 96 and 97.
PRICE1,PRICE2の各端子のうちNAND回
路83,89と接続されている端子はNAND回路83
,89がt1のビットパルスが印加されるように接続さ
れているので、′1゜′の重みをもっており、以下同様
にしてNAND回路84,90と接続される端子は”2
″の重みをもっており、NAND[回路85,91と接
続される端子は?+ 4 91の重みをもち、NAND
回路86 ,92と接続される端子は”8″の重みをも
ち、NAND回路87 .93と接続される端子は゜゛
16“の重みをもち、NAND回路88 .94と接続
される端子は゛32″の重みをもつことになり、PRI
CE1の各端子のどれかに信号を与えることによりNA
ND1回路83〜88の出力はワイヤードOR回路W0
2〜W06を介してインバータ回路96に接続されてい
るためインバータ回路96の出力はNAND[回路83
〜88の出力を反転したものであり、商品設定価格P1
.を表わす6ビットの純2進法による2進コードをイン
バータ回路96の出力として得ることができる。Among the PRICE1 and PRICE2 terminals, the terminals connected to the NAND circuits 83 and 89 are the NAND circuits 83 and 89.
, 89 are connected so that the bit pulse of t1 is applied, so they have a weight of '1°', and the terminals connected to the NAND circuits 84 and 90 in the same manner are '2'.
'', and has a weight of NAND [Which terminal is connected to circuits 85 and 91?+4 91, and
The terminals connected to the circuits 86, 92 have a weight of "8", and the terminals connected to the NAND circuits 87, 92 have a weight of "8". The terminal connected to NAND circuit 93 has a weight of ゜゛16'', and the terminal connected to NAND circuit 88.94 has a weight of ``32''.
NA by giving a signal to any of the terminals of CE1
The outputs of ND1 circuits 83 to 88 are wired OR circuit W0
2 to W06, the output of the inverter circuit 96 is NAND [circuit 83
It is the inverted output of ~88, and the product setting price P1
.. A 6-bit pure binary binary code representing , 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, P,2の
うちP1は第1図のブロック図に示すように、P1+5
0加算回路7,P1+90加算回路8に、またP2はP
2+50加算回路9、P2+90加算回路10にそれぞ
れ送られる。Among the product setting prices P1, P, 2 obtained in this way, P1 is P1+5 as shown in the block diagram of FIG.
0 addition circuit 7, P1+90 addition circuit 8, and P2 is connected to P
The signals are sent to a 2+50 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よりなる部分がP1+50加算
回路8であり、全加算器FAい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 addition 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 addition circuit 9. The portion consisting of the full adder FA3, the AND circuit 51, and the flip-flop circuit FF3 is the P1+50 addition circuit 8, and the portion consisting of the full adder FA/AND circuit 52 and the flip-flop circuit FF4 is the P2+50 addition circuit 10.
全加算器FA1およびFA2には2相シフトレジスタS
R1により作られるt1〜t7のビットパルスのうちt
1とt4のビットパルスがOR回路81の出力として印
加されるように接続し、それにより全加算器FA1およ
びFA2には90を表わす2進数″O O 1 0 0
1 ”が加えられ、全加算器FA,およびFA2から
はP1+9.0またはP2+90の出力を得ることがで
きる。Full adders FA1 and FA2 include a two-phase shift register S.
Of the bit pulses t1 to t7 generated by R1, t
The bit pulses of 1 and t4 are connected to be applied as the output of the OR circuit 81, so that the full adders FA1 and FA2 receive the binary number ``O O 1 0 0'' representing 90.
1'' is added, and an output of P1+9.0 or P2+90 can be obtained from the full adders FA and FA2.
また全加算器FA3およびFA4には同様にしてt1と
t3のビットパルスによるOR回路80の出力として¥
50を表わす2進数“O O 0 1 0 1 ”を印
加し、その出力としてP1+50およびP2+50を得
ることができる。Also, in the full adders FA3 and FA4, the bit pulses of t1 and t3 are used as the output of the OR circuit 80.
By applying the binary number "O 0 0 1 0 1" representing 50, P1+50 and P2+50 can be obtained as the output.
第1図のブロック図におけるP1用コンパレータ11は
第2図においてコンパレータCOMP2〜COMP5、
またP2用コンパレータ12はコンパレータCOMP6
〜COMP9より構成される部分である。The comparator 11 for P1 in the block diagram of FIG. 1 is the comparator COMP2 to COMP5 in FIG.
Also, the comparator 12 for P2 is the comparator COMP6.
This is the part consisting of ~COMP9.
コンパレータCOMP2には投入コイン合計額Xを表わ
す6ビットの2進コードとインバータ回路96の出力即
ち商品設定価格P1を純2進法により表わした6ビット
の2進コードが印加され、その比較結果としてX>P1
の信号■が得られる。A 6-bit binary code representing the total amount of input coins X>P1
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 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 notation 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.
コンパレータCOMP,には投入コイン合計額Xを純2
進法により表わした6ビットの2進コードと、前述の全
加算器FA3よりP1+50を純2進法により表わした
6ビットの2進コードとが印加されており、その比較結
果としてX=P1+50の信号■が得られる。The total amount of coins inserted into the comparator COMP,
A 6-bit binary code expressed in decimal notation and a 6-bit binary code expressed in pure binary notation from the full adder FA3 mentioned above are applied, and the comparison result is X=P1+50. Signal ■ 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) of X-P2 is obtained from the comparator COMP8, and a signal (2) of X-P2+50 is obtained from the comparator COMP9.
こうして、投入金額と商品設定価格をもとにしたいくつ
かの金額とを比較することにより得られる比較結果を用
いて後に述べるように販売、釣銭払出しを制御しようと
するものである。In this way, 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, as will be described later.
第2図に示したコンパレータCOMP2〜COMP,の
出力信号■x>p1,■X>P1+90 ,■X一P1
,■X=P1+50,■X>P2,■X>P2十90,
■X−P2,■X−P2+50は第3図に示すようにN
AN朗路1 00 ,1 01 ,AND回路102,
106,108、OR回路105,107、インバータ
回路109,110、NOR回路118、フリツプフロ
ツプ回路FF1からなるP1用ベンド制御回路、あるい
はNAN朗路111,112、AND回路113,11
6,119、OR回路114,117、インバータ回路
115,110、NOR回路118、フリツプフロツプ
回Wr F F 13からなるP2用ベンド制御回路に
加えられる。Output signals of comparators COMP2 to COMP shown in Fig. 2 x>p1, x>p1+90, x-p1
, ■X=P1+50, ■X>P2, ■X>P290,
■X-P2, ■X-P2+50 is N as shown in Figure 3.
AN Roji 1 00 , 1 01 , AND circuit 102 ,
P1 bend control circuit consisting of 106, 108, OR circuits 105, 107, inverter circuits 109, 110, NOR circuit 118, flip-flop circuit FF1, or NAN circuits 111, 112, AND circuits 113, 11
6, 119, OR circuits 114, 117, inverter circuits 115, 110, NOR circuit 118, and flip-flop circuit WrFF13.
商品設定価格P1の商品について考えてみるとX−P1
のとき、X−P1の信号■はOR回路105に加えられ
、OR回路105の出力はANI)回路106の一方の
入力となる。Considering a product with product setting price P1, X-P1
At this time, the signal (2) of X-P1 is applied to the OR circuit 105, and the output of the OR circuit 105 becomes one input of the ANI) circuit 106.
ANI)回路106の他方の入力はOR回路82の出力
すなわちp,一oという信号■が加えられているため商
品設定価格p1がOでないときには1が加えられている
ためX−P1の信号■がきた場合?はOR回路107の
出力としてAND回路108の2つの入力端子のうちの
一方の入力端子に“1”を加える。The other input of the ANI) circuit 106 is the output of the OR circuit 82, that is, the signals p, 1o are added, so when the product setting price p1 is not O, 1 is added, so the signal of X-P1 is What if it comes? adds “1” to one of the two input terminals of the AND circuit 108 as the output of the OR circuit 107.
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およびフリツプフ凸ツプ回路FF11から
の信号が送られてくる。The two input terminals of the NOR circuit 118 are wired AN
Signals from the D circuit WA3 and the flip-flop convex circuit FF11 are sent.
フリツプフロツプFF1、は後述のように客が押ボタン
等により商品の選択を行ないSEL1あるいはSEL2
およびそれと多少遅れて生じる商品が販売されたという
SEL信号eまたは返金信号■が生じるまではリセット
された状態にあるため、NOR回路118へのフリツプ
フロツプ回路FF11からの入力はt+ 0 11であ
る。Flip-flop FF1, as described later, allows the customer to select a product by pressing a button, etc., and selects SEL1 or SEL2.
The input from the flip-flop circuit FF11 to the NOR circuit 118 is t+011 because it remains in the reset state until the SEL signal e or the refund signal (2) indicating that the product has been sold occurs, which occurs somewhat later.
ワイヤードAND回路WA3には入力としてフリツプフ
ロツプ回路F F1,の出力をインバータ回路149に
て反転したものとフリツプフロツプ回路FF18の出力
をインバータ回路147で反転したものとNAND回路
156の出力とが加えられている。The wired AND circuit WA3 receives as inputs the output of the flip-flop circuit FF1, which is inverted by an inverter circuit 149, the output of the flip-flop circuit FF18, which is inverted by an inverter circuit 147, and the output of a NAND circuit 156. .
返金人力POがないときにはフリツプフロツプ回路FF
1,はセットされていないためインバータ回路149の
出力は″1”、また販売信号Tがない場合にはフリップ
フロツプ回路FF18はセットされていないためインバ
ータ回路147の出力は”■”である。When there is no refund manual PO, flip-flop circuit FF
1 is not set, the output of the inverter circuit 149 is "1", and when there is no sales signal T, the flip-flop circuit FF18 is not set, so the output of the inverter circuit 147 is "■".
NAND回路156には入力としてフリツプフロツプ回
路FF1の出力とSINGという信号とが加えられてい
る。The output of the flip-flop circuit FF1 and a signal SING are applied to the NAND circuit 156 as inputs.
SINGとは実施例においては2つの商品価格設定回路
を有しているので、一方の商品価格設定回路のみを使用
する場合には価格設定数選択信号SINGとして”O”
、2つの商品価格設定回路を使用する場合には″1”と
いうように加える。SING has two product price setting circuits in the embodiment, so if only one product price setting circuit is used, "O" is used as the price setting number selection signal SING.
, if two product pricing circuits are used, add "1" and so on.
SINC4号の状態にかかわらず、販売信号Tのないと
きにはNAND回路156の出力は″1”である。Regardless of the state of SINC4, when there is no sales signal T, the output of the NAND circuit 156 is "1".
それゆえ販売信号T1返金人力POのないときにはワイ
ヤードAND回路WA3の出力は″″1″であり、この
出力をインバータ回路160にて反転してNOR回路1
18の入力として″0“を加える。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 and the NOR circuit 1
Add "0" as input of 18.
それゆえ販売信号T1返金人力POがない場合にはNO
R回路118の出力は″1”でありOR回路107の出
力が″1”となったときにフリツプフロツプ回路FF1
2をセットしてP1価格の商品を選択することができる
という信号VEND,を生じて、客が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
2 to generate a signal VEND, which indicates that the product with the P1 price can be selected, to enable the customer to select the product with the P1 price.
商品設定価格P2の商品についてもまったく商品設定価
格P1の商品の場合と同様であり、OR回路95よりP
2−0という信号■に基づいて行なわれ、フリツプフロ
ツプ回路FF13より■END2という信号を得ること
ができる。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 END2 can be obtained from the flip-flop circuit FF13.
このVEND1、またVEND2に基づいて自動販売機
には商品設定価格P1またはP2の商品を選択すること
ができるという表示が行なわれ、客がどちらかを選ぶこ
とによりSEL1またはSEL2という信号が販売信号
Tとともに本発明による自動販売機コインノック用電子
制御回路装置に送られてくる。Based on this VEND1 and VEND2, a display is displayed on the vending machine indicating that the customer can select the product with the product set price P1 or P2, and when the customer selects either one, a signal SEL1 or SEL2 is sent to the sales signal T. It is also sent to the electronic control circuit device for the automatic vending machine coin knock according to the present invention.
即ち販売信号Tは商品を販売したという信号である。That is, the sales signal T is a signal that the product has been sold.
またX>P,の信号■を生じさせるようなコインの投入
があった場合には、X>P1の信号■はAND回路10
2に加えられ、AND回路102の他の入力としてX>
P1+90の信号■をNOT回路109により反転させ
たもの、¥50釣銭無し信号A2をNOT回路110に
て反転したものとX=P1+50の信号[F]とをNA
ND回路100に加えてその出力をYIO釣銭無し信号
A1とともにNAND回路101に加えて得られるNA
ND回路101の出力とを加えておくことにより、X>
P1およびX≦P1+ 9 0でYIOの釣銭のある場
合にはAND回路102に出力″1”′を生じ、その出
力をOR回路105に加えることにより、前述のX=P
1の場合と以下同様にしてVEND,の信号が得られる
。Furthermore, if a coin is inserted that causes the signal ■ of X>P, the signal ■ of X>P1 is output to the AND circuit 10.
2 and as the other input of the AND circuit 102
The P1+90 signal ■ is inverted by the NOT circuit 109, the ¥50 no change signal A2 is inverted by the NOT circuit 110, and the signal [F] of X=P1+50 is NA
NA obtained by adding the output of the ND circuit 100 to the NAND circuit 101 together with the YIO no change signal A1
By adding the output of the ND circuit 101, X>
If P1 and X≦P1+90 and there is change of YIO, the AND circuit 102 generates an output "1"', and by adding that output to the OR circuit 105, the above-mentioned X=P
The VEND signal is obtained in the same manner as in case 1.
またX=P1+50のときでYIOの釣銭がなく¥50
の釣銭がある場合には、NAND回路100には゛′1
″と″1”が加えられるためその出力は”0″であり、
その出力”0”がYIO釣銭無しを示す“1″とともに
NAND回路101に加えられるためNAND回路10
1の出力は61″となり、X=P1+50はX>P1お
よびX≦P1+90をみたしているので、AND回路1
02の入力はすべて″1”となるため前述のx>p,の
ときと同様にVEND1の信号を得ることができる。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''.
” and “1” are added, so the output is “0”,
Since the output "0" is added to the NAND circuit 101 along with "1" indicating that there is no YIO change, the NAND circuit 10
1's output is 61'', and X=P1+50 satisfies X>P1 and X≦P1+90, so AND circuit 1
Since the inputs of 02 are all "1", the signal of VEND1 can be obtained in the same way as when x>p described above.
商品設定価格P2についてもX>P2,X−P2+50
の場合には商品設定価格P1のときとまったく同様に考
えることによりVEND2の出力を得ることができる。Regarding the product setting price P2, X>P2, X-P2+50
In this case, the output of VEND2 can be obtained by thinking in exactly the same way as for the product setting price P1.
販売信号Tが生じることによりこの実施例の装置におい
ては次のことが行なわれる。The generation of the sales signal T causes the following to occur in the device of this embodiment.
販売信号TはOR回路154の入力として加え?れ、O
R回路154の出力はAND回路155に加えられる。Is the sales signal T added as an input to the OR circuit 154? Re, O
The output of R circuit 154 is applied to AND circuit 155.
AND回路155には他に入力としてフリツプフロツプ
回路FF16とFF1の出カを入力としたNOR回路1
59の出力が加えられている。The AND circuit 155 also has a NOR circuit 1 which receives the outputs of the flip-flop circuits FF16 and FF1 as inputs.
59 outputs are added.
フリツプフロップ回路FF16の出力は販売信号Tが生
じているときには、”0 91であり、またフリツプフ
ロップ回路FF1の出力はフリップフロツプ回路FF1
8の出力″0″のときには″0′”のままであるからN
OR回路159の出力は”1″であり、それゆえOR回
路154に出力″1′′が生じることによりフリップフ
ロップ回路FF1がセットされる。The output of the flip-flop circuit FF16 is "091" when the sales signal T is generated, and the output of the flip-flop circuit FF1 is "091".
When the output of 8 is "0", it remains "0", so N
The output of the OR circuit 159 is "1", and therefore the output "1" is generated in the OR circuit 154, thereby setting the flip-flop circuit FF1.
この出力は遅延回路Delay4にょり100ms遅れ
てOR回路157の出力としてAND回路158に加え
られる。This output is delayed by 100 ms due to delay circuit Delay4 and is applied to AND circuit 158 as the output of OR circuit 157.
これは、販売(開始)信号TをDelay4にて100
msだけ遅延させることによりSEL1,SEL2の信
号を確実に受信できるようにするためである。This is the sales (start) signal T with Delay 4 of 100
This is to ensure that the SEL1 and SEL2 signals can be received by delaying by ms.
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
When "1" is generated as the output, the flip-flop circuit FF18 is set.
フリップフロツプ回路FF18の出力によりエスクロ内
に保持されていた¥100のコインの収金信号ESC−
ACCを発生させる。The receipt signal ESC- of the ¥100 coin held in the escrow is generated by the output of the flip-flop circuit FF18.
Generate ACC.
またフリップフロップ回路FF18の出力n 1 uは
AND回路131にSEL1の信号とともに、または、
AND回路132にSEL2の信号とともに加えられる
。Further, the output n 1 u of the flip-flop circuit FF18 is sent to the AND circuit 131 together with the SEL1 signal, or
It is applied to the AND circuit 132 together with the SEL2 signal.
SEL1,SEL2の信号は販売信号Tとほぼ同時に発
生するものであるので、フリツプフロツプ回路FF,8
の出力”1”が生じるときにはすでにSEL1かSEL
2のいずれががAND回路131または132に加えら
れている。Since the SEL1 and SEL2 signals are generated almost simultaneously with the sales signal T, the flip-flop circuits FF and 8
When the output “1” occurs, it is already SEL1 or SEL
2 is added to AND circuit 131 or 132.
すなわち、AND回路131または132が成立しない
ときは、後述するようにNAND回路130の出力が゛
0″となって自動クリアとなるので、本発明ではSEL
1,SEL2の信号を確実に受信しうるように販売(開
始)信号TをDelay4によって所定の時間だけ遅延
させることにより、AND・回路131,132が成立
するようにする。That is, when the AND circuit 131 or 132 is not established, the output of the NAND circuit 130 becomes ``0'' and is automatically cleared as described later, so in the present invention, the SEL
The AND circuits 131 and 132 are established by delaying the sales (start) signal T by a predetermined time by Delay4 so that the signal of 1 and SEL2 can be reliably received.
故にフリツプフロツプ回路FF18の出力”1″が生じ
ると同時にAND回路131または132より出力t!
1 11が生じ、AND回路131の出力はAND回
路141の2つの入力端子の一方の端子に直接に、他方
の端子にインバータ回路161、ワイヤードOR回路W
O、4, W0, 5、インバータ回路143、サイク
ルタイマ163を介して加えられる。Therefore, at the same time the flip-flop circuit FF18 outputs "1", the AND circuit 131 or 132 outputs t!
1 11 occurs, the output of the AND circuit 131 is directly connected to one of the two input terminals of the AND circuit 141, and the other terminal is connected to the inverter circuit 161 and the wired OR circuit W.
It is applied via the inverter circuit 143 and the cycle timer 163.
サイクルタイマ163を介してAND回路141に加え
ることによりAND回路141の出力はビットパルスt
,〜t7間隔で1回だけ生じることになる。By applying it to the AND circuit 141 via the cycle timer 163, the output of the AND circuit 141 becomes the bit pulse t.
, ~t7 will occur only once.
また同様にAND回路132の出力はAND回路142
の2つの入力端子の一方の端子に直接に、他方の端子に
NOT回路162、ワイヤードOR回路W0,5,NO
T回路143、サイクルタイマ163を介して加えられ
るためAND回路142の出力はビットパルスt,〜t
7の間隔で1回だけ生じる。Similarly, the output of the AND circuit 132 is output from the AND circuit 142.
Directly connect one terminal of the two input terminals of
Since it is applied via the T circuit 143 and the cycle timer 163, the output of the AND circuit 142 is the bit pulse t, ~t.
Occurs only once every 7.
AND回路141の出力をSEL1信号■、AND回路
142の出力をSEL2信号■とすると、SEL1信号
■は第2図におけるAND回路98に加えられる。Assuming that the output of the AND circuit 141 is the SEL1 signal ■, and the output of the AND circuit 142 is the SEL2 signal ■, the SEL1 signal ■ is applied to the AND circuit 98 in FIG.
NAND回路98には他に入力としてインバータ回路9
6から商品設定価格P,を表わす2進コードが加えられ
ているためSEL,信号■が加えられることにより商品
設定価格P1を表わす2進コードはワイヤードOR回路
WO12、インバータ回路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 P is added from 6 to 6, the binary code representing the product setting price P1 is added by SEL and the signal ■ to the wired OR circuit WO12, the inverter circuit 79, and the OR circuit 44. The signal is added to the adder/subtracter ADD via the subtracter ADD.
即ち、SEL1信号■はt1〜t7の間隔で1回だけ生
じるわけであるので、OR回路44の出力は商品設定価
格P1を表わす2進コードが1回だけ生じる。That is, since the SEL1 signal ■ 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.
加減算器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についてもまったく同様であり、SE
L2信号■がNAND回路99に加えられて、あとは商
品設定価格P1と同様のことが行なわれる。The same is true for the product setting price P2, and SE
The L2 signal ■ is applied to the NAND circuit 99, and the rest is carried out in the same way as 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の出力と、即に
“1”となっているSEL信号eと、シフトレジスタS
R2の内容がOでないときに″1″となる信号■とが与
えられているため、サイクルタイマ163の出力消滅時
にシフトレジスタSR2の内容(すなわち釣銭額)が0
でないときには、AND回路133は出力を出し、OR
回路134を介してコイン払出し信号B1を発して釣銭
払出し動作を開始させる。The AND circuit 133 receives the output of the inverter 140, the SEL signal e which has become "1" immediately, and the shift register S.
Since the signal ■ which becomes "1" when the content of R2 is not O is given, the content of shift register SR2 (that is, the amount of change) becomes 0 when the output of the cycle timer 163 disappears.
If not, the AND circuit 133 outputs an output, and the OR circuit 133 outputs an output.
A coin payout signal B1 is issued via the circuit 134 to start the change payout operation.
次に釣銭の払出しの機構を説明する。Next, the mechanism for dispensing change will be explained.
投入金額Xから商品設定価格P1またはP2を減算した
釣銭額Kを表わすシフトレジスタSR2の記憶内容は第
1図においてK≧50コンパレータ6を示すところのコ
ンパレータCOMP1に送られY50と比較される。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, which indicates K≧50 comparator 6 in FIG. 1, and is compared with Y50.
コンパレータCOMP1の出力はAND回路77に加え
られるが、AND回路77には他の入力としてY50釣
銭無し信号A2をインバータ回路78により反転したも
のと、フリツプフロツプ回路FF18の出力信号である
ところのSEL信号Oとが加えられている。The output of the comparator COMP1 is applied to an AND circuit 77, which also receives as other inputs the Y50 no change signal A2 inverted by an inverter circuit 78, and the SEL signal O which is the output signal of the flip-flop circuit FF18. has been added.
故にY50の釣銭硬貨があり、釣銭額がY50以上とな
る商品が販売された場合にはAND回路77の出力に″
1″が生じ、OR回路76の出力としてY50釣銭払出
し信号B2が生じ、これと前述のコイン払出し信号B1
を用いてY50の釣銭の払出しが行なわれる。Therefore, if there is a change coin of Y50 and a product with a change amount of Y50 or more is sold, the output of the AND circuit 77 will be ``
1'' is generated, and the Y50 change payout signal B2 is generated as the output of the OR circuit 76, and this and the above-mentioned coin payout signal B1 are generated.
Y50 change is paid out using .
OR回路76の出力はAND回路74に加えられ、AN
D回路14には他の入力として釣銭払出し確認信号PO
Sが加えられており、¥50の釣銭が払い出されたとき
AND回路74に出力″1”′が生じ、この出力はOR
回路29に加えられてコイン投入の場合と同じようにY
50を表わす2進コードに変換されて加減算器ADDに
加えられるが、このときには加減算器ADDの他の入力
であるインバータ回路43の出力はAND回路25〜2
7の出力が”0′′であるため”1”であり、それゆえ
加減算器ADDは減算モードとなるため釣銭額KとY5
0の減算が行なわれる。The output of the OR circuit 76 is added to the AND circuit 74,
The D circuit 14 receives a change payout confirmation signal PO as another input.
S is added, and when ¥50 change is paid out, an output "1" is generated in the AND circuit 74, and this output is ORed.
Y is added to circuit 29 in the same way as when inserting a coin.
It is converted into a binary code representing 50 and added to the adder/subtracter ADD, but at this time, the output of the inverter circuit 43, which is the other input of the adder/subtracter ADD, is input to the AND circuits 25 to 2.
Since the output of 7 is "0", it is "1", so the adder/subtractor ADD is in subtraction mode, so the change amount K and Y5 are
A subtraction of 0 is performed.
そして釣銭額KがY50よりも小さくなるとAND回路
77の出力は”0”になるためOR回路76、インバー
タ回路75を介してAND回路73に″′1”が加えら
れる。When the change amount K becomes smaller than Y50, the output of the AND circuit 77 becomes "0", so "'1" is added to the AND circuit 73 via the OR circuit 76 and the inverter circuit 75.
AND回路73にはAND回路74と同じ釣銭払出し確
認信号POSが加えられており、AND回路73はAN
D回路74と同じように釣銭が払い出されるたびに、そ
の出力信号”1″をOR回路28に送り釣銭額Kからの
YIOの減算を行なう。The same change payout confirmation signal POS 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 "1" is sent to the OR circuit 28 to subtract YIO from the change amount K.
YIOの釣銭の払出しはY50の釣銭を減算したのちに
シフトレジスタSR2に記憶された釣銭額Kがなおも残
っている場合にはOR回路46よりシフトレジスタSR
2に記憶内容が残っているという信号■が引き続き生じ
ているので、AND回路133、OR回路134からは
引き続きコイン払出し信号B1が出されており、これと
¥50コイン払出し信号B2が消滅したという条件とに
より行なわれる。To pay out the change of YIO, if the change amount K stored in the shift register SR2 still remains after subtracting the change of Y50, the change is sent to the shift register SR by the OR circuit 46.
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.
これらは公知の技術であり、一般に信号B1は釣銭払出
しモータに、信号B2はY50,YIO切換ソレノイド
に与えられる。These are known techniques, and generally the signal B1 is given to the change dispenser motor, and the signal B2 is given to the Y50, YIO switching solenoid.
Y50釣銭払出しがYIO釣銭払出しに優先するため、
最小枚数の釣銭の払出しが可能となる。Since Y50 change payout has priority over YIO 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に/d販売信号T (!: S E
L信号eをNOR回路1 48、インバータ回路150
を介して得られるインバータ回路150の出力とが加え
られているため販売信号Tのない場合にはNOR回路1
22の出力は”1”であるためコイン入力信号■があっ
た場合にはAND回路121の出力″′1”が生じてフ
リツプフロツプ回路FF,4がセットされる。/d sales signal T (!: S E
L signal e to NOR circuit 1 48, inverter circuit 150
Since the output of inverter circuit 150 obtained through
Since the output of 22 is "1", when there is a coin input signal (2), the output of AND circuit 121 is "1", and the flip-flop circuits FF and 4 are set.
フリップフロツプ回路FF1,の出力は手動返金人力P
OとともにAND回路123に加えられる。The output of the flip-flop circuit FF1 is a manual refund P.
It is added to the AND circuit 123 along with O.
故に返金人力POが生じた場合にはAND回路123に
出力”1”が生じ、NOR回路124を介してAND回
路125に加えられる。Therefore, when a refund manual PO occurs, an output "1" is generated in the AND circuit 123 and is applied to the AND circuit 125 via the NOR circuit 124.
AND回路125には他の入力として前述のNOR回路
122と同じ入力を加えたNOR回路126の入力が加
えられているため、OR回路124の出力N 1 t+
が加えられることによりAND回路125の出力が″1
″となりフリツプフロツプ回路FF,,がセットされる
。Since the AND circuit 125 has the input of the NOR circuit 126 added with the same input as the aforementioned NOR circuit 122 as another input, the output of the OR circuit 124 N 1 t+
is added, the output of the AND circuit 125 becomes "1"
'', and the flip-flop circuits FF, , are set.
フリツプフロツプ回路FF,,の出力は遅延回路Del
ay2 , OR回路145を介してAND回路146
に加えられる。The output of the flip-flop circuits FF, , is connected to the delay circuit Del.
ay2, AND circuit 146 via OR circuit 145
added to.
AND回路146には他に入力として前述のNOR回路
14i8の出力が加えられているためSEL信号eが生
じていない場合には″1”が生じているためAND回路
146に出力”1”が生じ、フリツプフロツプ回路F
F1,がセットされて返金信号■を得ることができる。Since the output of the aforementioned NOR circuit 14i8 is also added to the AND circuit 146 as an input, when the SEL signal e is not generated, "1" is generated, so the AND circuit 146 outputs "1". , flip-flop circuit F
F1, is set and a refund signal ■ can be obtained.
このようにすることにより返金人力POを加える以前に
販売信号■が生じた場合にはフリツプフロツプ回路FF
14はリセットされるため返金信号は得られず、また返
金人力POが加えられた後でも遅延回路Delay2の
遅延時間中に販売信号■またはSEL信号eが生じた場
合にはフリツプフロツ?回路FF1,をリセットさせて
販売信号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 the SEL signal e occurs during the delay time of the delay circuit Delay2, the flip-flop? The circuit FF1 is reset to give priority to the sales signal T and SEL signal e.
手動返金人力POの端子にはそのほかに後述の自動返金
信号ATPOが加えられる。In addition, an automatic refund signal ATPO, which will be described later, is added to the terminal of the manual refund manual PO.
自動返金は次の場合に.行なわれる。Automatic refunds are available in the following cases: It is done.
即ち前述のフリツプフロツプ回路FF1の出力をインバ
ータ回路127を介してワイヤードAND回路WA1に
、また前述のフリツプフロツプ回路FF13の出力をイ
ンバータ回路128を介してワイヤードAND回路WA
1に加え、ワイヤードAND回路WA1の出力をAND
回路129に加える。That is, the output of the flip-flop circuit FF1 mentioned above is sent to the wired AND circuit WA1 via the inverter circuit 127, and the output of the flip-flop circuit FF13 is sent to the wired AND circuit WA1 via the inverter circuit 128.
1, AND the output of wired AND circuit WA1
Add to circuit 129.
またX>P1の信号■とx=p1の信号■とをOR回路
103に加え、X>P2の信号■とX=P2の信号■と
をOR回路104に加え、OR回路103とOR回路1
04の出力とをワイヤードAND回路WA2に加えて、
ワイヤードAND回路WA2出力をAND回路129に
加える。Furthermore, the signal ■ of X>P1 and the signal ■ of x=p1 are added to the OR circuit 103, the signal ■ of X>P2 and the signal ■ of X=P2 are added to the OR circuit 104, and the OR circuit 103 and the OR circuit 1
04 output to the wired AND circuit WA2,
The wired AND circuit WA2 output is applied to the AND circuit 129.
このようにすることによりワイヤードANp回路WA2
には最高商品価格設定値よりも太きいか、等しい金額を
投入した場合に出力”1”が生じ、ワイヤードAND回
路WA,の出力にはフリツプフロツプ回路FF1,FF
,3の出力が生じていないときに″1”が生じ、AND
回路129により自動返金信号ATPOが得られる。By doing this, the wired ANp circuit WA2
When inputting an amount greater than or equal to the maximum product price setting value, an output of "1" is generated, and the output of the wired AND circuit WA is connected to the flip-flop circuits FF1 and FF.
, 3 is not generated, "1" occurs, AND
Circuit 129 provides an automatic refund signal ATPO.
即ち、この実施例においては最高限度までコインを投入
しても販売出力VEND,,VEND2が生じない場合
には自動的に返金を行なうようにしている。That is, in this embodiment, if the sales outputs VEND, . . . VEND2 do not occur even if coins are inserted to the maximum limit, the money is automatically refunded.
この自動返金信号ATPOは前述の手動返金人力POの
ところに加えられ、同じようにして返金信号■を得るこ
とができる。This automatic refund signal ATPO is added to the manual refund manual PO described above, and the refund signal (2) can be obtained in the same manner.
このようにして得られる返金信号■により返金は次のよ
うにして行なわれる。Refunds are made in the following manner based on the refund signal (2) obtained in this manner.
実施例においては第1図のブロック図に示すようkY5
0、¥100のコインの投入に対しては¥50枚数レジ
スタ4、¥100枚数レジスタ5を設けて、その投入枚
数を計数している。In the embodiment, kY5 is used as shown in the block diagram of FIG.
For the insertion of coins of 0 and 100 yen, a 50 yen number register 4 and a 100 yen number register 5 are provided to count the number of coins inserted.
すなわち第2図においてY50枚数レジスタがR1、¥
100枚数レジスタが馬で示されている。In other words, in Figure 2, the Y50 sheet number register is R1, ¥
The 100-sheet register is indicated by a horse.
レジスタR1,馬は入力が加えられるたびにフリツプフ
ロツプ回路を順次セットしていくもので、レジスタR1
は15枚すなわち750円までの¥50のコインの投入
を計数でき、レジスタ馬は8枚(800円)までのコイ
ンの投入を計数することができる。The register R1 is used to sequentially set the flip-flop circuit each time an input is applied.
can count the insertion of up to 15 ¥50 coins, or 750 yen, and the register horse can count the insertion of up to 8 coins (800 yen).
Y50枚数レジスタR,にはAND回路26よりの¥5
0コイン入力信号が送られてきており、さらにY50コ
イン入力信号はサイクルタイマ39の出力とともにAN
D回路53に加えられ、AND回路53の出力はOR回
路54に加えられている。Y50 number of sheets register R, ¥5 from AND circuit 26
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.
Y50のコイン入力信号があるたびにサイクルタイマ3
9からt1〜t7のビットパルス周期の間だけAND回
路53に信号が加えられるためOR回路54の出力パル
ス信号によりY50のコインの投入枚数がY50枚数レ
ジスタR,に記憶される。Cycle timer 3 every time there is a coin input signal of Y50
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 coin number register R by the output pulse signal of the OR circuit 54.
同様にしてAND回路27からの¥100コイン入力信
号は¥100枚数レジスタ馬に加えられる。Similarly, the ¥100 coin input signal from the AND circuit 27 is added to the ¥100 coin number register.
さらに、¥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.
返金信号■が生じると同時にエスクロ内に保持されてい
た¥100のコインの返金信号ESC・RTRNが出さ
れてエスクヮ内に保持されていた¥100のコインの返
金が行なわれる。At the same time as the refund signal ■ is generated, a refund signal ESC/RTRN for the 100 yen coin held in the escrow is issued, and the 100 yen coin held in the escrow is refunded.
Y50枚数レジスタR1にはOR回路58、AND回路
59、インバータ回路60、フリツプフロツプ回路FF
6よりなる回路が付属されており、¥50コイン入力が
Y50枚数レジスタに加えられると同時にフリツプフロ
ツプ回路FF6をセットし、Y50枚数レジスタの記憶
内容力,o n O nになったときにフリツプフロツ
プ回路FF6をリセットしてフリツプフロツプ回路FF
6の出力により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 ¥50 coin input is added to the Y50 coin number register, and when the memory content of the Y50 coin number register becomes ON O n, the flip-flop circuit FF6 is set. Reset the flip-flop circuit FF
The stored contents of the Y50 sheet number register R1 can be determined by the output of 6.
¥100枚数レジスタ馬にも同様にOR回路69、AN
D回路70、インバータ回路72、フリツプフロツプ回
路FF7よりなる回路が付属されており、フリツプフロ
ツプ回路FF7の出力により¥100枚数レジスタの記
憶内容が判断できるようにしている。Similarly, OR circuit 69 and AN are applied to the ¥100 number register horse.
A circuit consisting of a D 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 from the output of the flip-flop circuit FF7.
返金信号■が生じると返金信号■はAND回路66に加
えられ、AND回路66の他の入力としてクロツクパル
スφ3を加えておくことによりAND回路66にはクロ
ツクパルスφ3に同期した出力が得られる。When the refund signal (2) is generated, the refund signal (2) 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枚数レジスタ馬および
フリツプフロツプ回路FF7を入力とするOR回路71
の出力とがAND回路65に加えられるためフリツプフ
ロツプ回路FF7の出力が”1”である場合、すなわち
¥100枚数レジスタR2にYIOOのコインの投入枚
数が記憶されている間はAND回路65に出力″′1”
を生じてOR回路67゛の出力としてYIOO枚数レジ
スタR2にパルスを与えて¥100枚数レジスタR2の
記憶を順次出力端の方に移動させていく。An OR circuit 71 receives the output of the AND circuit 66, the ¥100 number register horse, and the flip-flop circuit FF7.
is added to the AND circuit 65, so when the output of the flip-flop circuit FF7 is "1", that is, while the number of YIOO coins inserted is stored in the ¥100 number register R2, the output is output to the AND circuit 65. '1''
is generated, and a pulse is applied to the YIOO sheet number register R2 as the output of the OR circuit 67', thereby sequentially moving the memory of the ¥100 sheet number register R2 toward the output end.
¥100枚数レジスタR2の出力端より信号が出される
とその信号はAND回路65の出力とともにAND回路
68に加えられ、¥100枚数レジスタR2の出力端よ
り信号が出されてYIOOの記憶枚数が減算されるたび
にAND回路68から生じる出力“1”をOR回路30
に加えて前述のY50、YIOの釣銭払出しのときと同
様にシフトレジスタSR2に記憶されている投入金額X
からの¥100の減算を行なう。When a signal is output from the output end 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 end of the ¥100 sheet count register R2 to subtract the number of sheets stored in YIOO. The output “1” generated from the AND circuit 68 is output to the OR circuit 30 each time
In addition to that, the input amount
Subtract ¥100 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”が加
えられる。The output of the OR circuit 71 becomes "0" due to the storage contents of the ¥100 number register R2 becoming empty, and the NOR circuit 6
``0'' is added to one input of ``1'', 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 end of the Y50 sheet number register, a refund signal (2), and a signal (2) from the OR circuit 46.
Y50が投入されていた場合にはフリツプフロツプ回路
FF6がセットされ、でいるため.NOR回路61の出
力、したがってAND回路62の出力Oはただちには生
じないが、AND回路57、OR回路54を介してY5
0枚数レジスタR1はYIOO枚数レジスタR2と同時
にその記憶内容を出力端の方に移動させられているため
、記憶内容により前後はあるものの短時間ののちにY5
0枚数レジスタR1は出力を生じる。If Y50 is turned on, flip-flop circuit FF6 is set and remains active. The output of the NOR circuit 61, and therefore the output O of the AND circuit 62, is not generated immediately, but is outputted via the AND circuit 57 and the OR circuit 54 to Y5.
Since the memory contents of the 0 sheet count register R1 are moved to the output end at the same time as the YIOO sheet count register R2, Y5 will be returned to Y5 after a short period of time, depending on the memory contents.
Zero sheet count register R1 produces an output.
この出力は、一方ではインバータ60を介してフリツプ
フロツプFF6をリセットさせてAND回路57を介す
るそれ以上の記憶内容の移動を阻止するとともに、NO
R回路61に出力を生じさせAND・回路62を介して
始めて出力Oを発生させる。This output, on the one hand, resets the flip-flop FF6 via the inverter 60 to prevent further movement of the memory contents via the AND circuit 57, and also
The R circuit 61 generates an output, and the output O is generated only through the AND circuit 62.
Y50枚数レジスタR1の出力は、他方ではAND回路
63に与えられ、その結果AND回路63に出力”■”
が生じ、その出力はOR回路76に加えられ、前述のY
50釣銭払出しのときと同様にY50払出し信号B2と
、前述のAND回路62の出力Oを第3図のOR回路1
34を通して得たコイン払出し信号B,とによりY50
のコインを払出し、その釣銭払出し確認信号POSによ
りトータル・ペイアウト用シフトレジスタSR2の記憶
内容からY50を減算していく。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 "■"
is generated, its output is applied to the OR circuit 76, and the above-mentioned Y
As in the case of dispensing 50 change, the Y50 dispensing signal B2 and the output O of the AND circuit 62 mentioned above are connected to the OR circuit 1 in FIG.
Y50 due to the coin payout signal B obtained through 34.
coins are paid out, and Y50 is subtracted from the memory contents of the total payout shift register SR2 in response to the change payout confirmation signal POS.
釣銭払出し確認信号POSはAND回路55に加えられ
、AND回路55には他に入力として¥50枚数レジス
タR1の出力端からの信号とインバータ回路56の出力
が加えられており、¥100枚数レジスタR2の記憶内
容が空であり、¥50枚数レジスタ.R1に記憶内容が
ある場合には釣銭払出し確認信号POSを受けることに
よりAND回路55には出力“1”を生じ、この出力は
OR回路54を介してY50枚数レジスタR,に送られ
、¥50枚数レジスタR1の記憶内容を出力端の方にひ
とつだけ移動させる。The change payout confirmation signal POS is applied to the AND circuit 55, and to the AND circuit 55, the signal from the output terminal of the ¥50 number register R1 and the output of the inverter circuit 56 are also added as inputs, and the signal from the output end of the ¥100 number register R2. The memory contents are empty, and the ¥50 number register. If there is a memory content in R1, an output "1" is generated in the AND circuit 55 by receiving the change payout confirmation signal POS, and this output is sent to the Y50 number register R, via the OR circuit 54, and the 50 yen The stored contents of the sheet number register R1 are moved by one toward the output end.
このことをY50枚数レジスタR1の記憶内容が空にな
るまで行なう。This process is repeated until the stored contents of the Y50 sheet number register R1 become empty.
Y50枚数レジスタR1の記憶内容が空になることによ
ってAND回路63の出力”1″が消えてY50のコイ
ンの払出しを終る。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より出力■が生じている場合には、依
然としてAND回路62は出力◎を生じているため、O
R回路134を介してコイン払出し信号B1が出続けて
おり、これとY50コイン払出し信号B2が消滅したと
いう条件にもとづいて釣銭払出し時と同様にして¥10
コインの払出しを行なわせる。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 OR circuit 46 generates the output ■, the AND circuit 62 still generates the output ◎. O because there is
The coin payout signal B1 continues to be outputted via the R circuit 134, and based on the condition that this and the Y50 coin payout signal B2 have disappeared, ¥10 is issued in the same way as when paying out change.
Allow coins to be paid out.
そして前述の¥10の釣銭払出しのときと同様に釣銭払
出し確認信号POSによりトータル・ペイアウト用シフ
トレジスタSR2からの減算を行ないOR回路46の出
力■が″0′゛になるまで、すなわちシフトレジスタS
R2の記憶内容が空になるまでYIOのコインの払出し
を行なわせる。Then, in the same way as when paying out change of 10 yen, the change payout confirmation signal POS is used to subtract from the total payout shift register SR2 until the output ■ of the OR circuit 46 becomes ``0'', that is, the shift register S
YIO coins are paid out until the memory contents of R2 become empty.
このように、¥50枚数レジスタR1と¥100枚数レ
ジスタR2を設けることにより返金の場合に同額、同組
合せのコインの返金を行なうことができる。In this way, by providing the ¥50 number register R1 and the ¥100 number register R2, it is possible to refund the same amount and combination of coins in the case of refund.
実施例においてはコイン詰まり時に対処するために、コ
イン入力信号■があった場合にその信号をAND回路1
51の2つの入力端に一方は直接に、他方は遅延回路D
e l a y 3を介して加えることにより、遅延時
間をすぎてもコイン人力■が生じている場合にはAND
回路151に出力″1”が生じ、この出力をOR回路1
53に加えることによりOR回路153の出力N 1
?1によって、その後のコインの投入を阻止させること
ができる。In the embodiment, in order to deal with coin jams, when there is a coin input signal
One is directly connected to the two input terminals of 51, and the other is connected to the delay circuit D.
By adding via e l a y 3, if coin force ■ is occurring even after the delay time, AND
An output "1" is generated in the circuit 151, and this output is sent to the OR circuit 1.
53, the output N 1 of the OR circuit 153
? 1 can prevent subsequent coin insertion.
但し遅延回路Delay3の遅延時間はコインの入力信
号時間に比べて十分に長いものであり、ここでは3 0
0 mSeCという値を用いている。However, the delay time of the delay circuit Delay3 is sufficiently long compared to the coin input signal time, and here it is 30
A value of 0 mSeC 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″
が生じた場合。That is, the output "1" is output to the wired AND circuit WA2 described 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 insert any more coins, so further coin insertion is prevented.
また販売信号Tが送られてきたときおよび手動返金人力
PO,自動返金信号ATPOが送られてきたときにはコ
インの投入を阻止させる。Further, when the sales signal T is sent, the manual refund manual PO, and the automatic refund signal ATPO are sent, the insertion of coins is prevented.
このことはワイヤードAND回路WA2の出力、販売信
号T1フリツプフロツプ回路FF1,と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, the output of the sales signal T1 flip-flop circuits FF1 and 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.
即ちコイン払出し信号B1はインバータ回路136を介
してNAND回路137に加えられている。That is, the coin payout signal B1 is applied to the NAND circuit 137 via the 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が生じた場合には遅延回路Delay1
の遅延時間後にNAND回路137の出力が”0′′と
なる。Therefore, if there is no coin payout signal B1 and a refund signal ゛■ or SEL signal e is generated, the delay circuit Delay1
After a delay time of , the output of the NAND circuit 137 becomes "0".
遅延回路Delay1の遅延時間はこの実施例の装置の
他の動作時間に比べて十分に長いものであり、ここでは
2秒という値を用いている。The delay time of the delay circuit Delay1 is sufficiently long compared to other operating times of the device of this embodiment, and a value of 2 seconds is used here.
NAND回路137の出力はワイヤードOR回路■01
3に加えられる。The output of the NAND circuit 137 is a wired OR circuit ■01
Added to 3.
ワイヤードOR回路W013にはそのほかに外部からク
リアしないという信号EXTクリア信号とNAND13
0の出力とが入力として加えられている。In addition, the wired OR circuit W013 has a signal EXT clear signal indicating that it will not be cleared from the outside, and NAND13.
An output of 0 is added as an input.
EXTクリア信号は内部において自動クリア、信号AC
Lを得ようとするときに用いるもので、常時は”1”で
ある。EXT clear signal is automatically cleared internally, signal AC
It is used when trying to obtain L, and is always "1".
NAND回路130にはSEL信号(aとワイヤー ド
OR回路WO、4およびW015の出力が加えられてお
り、ワイヤードオア回路は入力のいずれかが”0″にな
ることにより出力が”0”に変化するものであるからE
XT,NAND回路130または137のいずれかが出
力″0′”となることによりワイヤードOR回路WO1
3の出力の変化がインバータ回路138に加えられ、イ
ンバータ回路138の出力によりフリツプフロツプ回路
FF1,の出力が反転して、フリツプフロツプ回路FF
11の出力が″1”のときにインバータ回路139に出
力として自動クリア信号ACL@が得られる。The SEL signal (a and the outputs of wired OR circuits WO, 4 and W015 are added to the NAND circuit 130, and the output of the wired OR circuit changes to "0" when any of the inputs becomes "0". E because it is something to do
When either the XT or NAND circuit 130 or 137 becomes the output "0'", the wired OR circuit WO1
The change in the output of flip-flop circuit FF1 is applied to the inverter circuit 138, and the output of the flip-flop circuit FF1 is inverted by the output of the inverter circuit 138.
When the output of 11 is "1", an automatic clear signal ACL@ is obtained as an output to the inverter circuit 139.
ACL信号0はコンパレータCOMP1〜COMP,に
加えられてコンパレータCOMP1〜COMP,をリセ
ットさせる。ACL signal 0 is applied to comparators COMP1-COMP, causing them to be reset.
このように第1図に示した本発明の自動販売機販売制御
用電子制御回路の動作は第2図、第3図による実施例に
より達成することができるが、第1図、第2図に示され
ている2つの商品価格設定回路をさらにふやし、他の回
路もそれに合せることにより1つの自動販売機販売制御
用電子制御回路において2つ以上の価格の異なった商品
の販売を行なわせることも可能である。As described above, the operation of the electronic control circuit for vending machine vending control of the present invention shown in FIG. 1 can be achieved by the embodiment shown in FIGS. By further increasing the two product price setting circuits shown and matching other circuits, it is also possible to sell two or more products with different prices in one electronic control circuit for vending machine vending control. It is possible.
本発明の以上の操作はコインだけではなく、たとえば1
000円、500円紙弊と100円硬貨を用いるものに
おいても適用し得ることはもちろんである。The above operations of the present invention are not limited to coins, for example,
It goes without saying that this method can also be applied to items that use 100 yen coins, 000 yen papers, and 100 yen coins.
以上のように商品の選択により商品選択信号が発せられ
たときに、自動販売機側から販売開始信号が与えられて
いないと制御回路は自動クリアされてしまうので、本発
明では販売開始信号を所定の時間だけ遅延させることに
より、商品選択信号を確実に受けられるようにして制御
回路の自動クリアを防止するようにしたから、販売に支
障を来たすことがなく販売制御が的確に行なわれる。As described above, when a product selection signal is issued due to product selection, if a sales start signal is not given from the vending machine side, the control circuit will be automatically cleared. By delaying the product by the time of , the product selection signal is reliably received and automatic clearing of the control circuit is prevented, so that sales control is performed accurately without hindrance to sales.
第1図は本発明の自動販売機電子制御回路のブロック図
、第2図、第3図は本発明の実施例の回路図を示してい
る。
1・・・・・・エンコーダ、2・・・・・・加減算器、
3・・・・・・トータルペイアウト用シフトレジスタ、
4・・・・・・Y50枚数レジスタ、5・・・・・・¥
100枚数レジスタ、6・・・・・・K≧50コンパレ
ータ、7・・・・・・P1+90加算器、8・・・・・
・P1+5 0加算器、9・・・・・・P2+90加算
器、10・・・・・・P2+50加算器、11・・・・
・・P1用コンパレータ、12・・・・・・P2用コン
パレータ、13・・・・・・P1゜価格設定回路、14
・・・・・・P2価格設定回路、15・・・・・・P8
用ベンド制御回路、16・・・・・・P2用ベンド制御
回路、17・・・・・・コイン払出し制御回路、18・
・・・・・コイン詰まり検出回路、19・・・・・・返
金ラッチ回路、20・・・・・・自動返金回路、21・
・・・・・セレクトラッチ回路、22・・・・・・CR
EM制御回路、23・・・・・・2相クロツクパルス発
生回路、24・・・・・・ビットパルス発生回路、25
〜27,37.49〜53,55.57,59.62〜
66.68.70,73,74,77,102,106
,108,113,116,119,121,123,
125,129,131〜133,141 ,142,
146,151,155,158・・・・・・AND回
路、28〜31.3B,40,44,46,54,58
.67,69,71,76.80〜82,95,103
〜105,107,114,117,120,124,
134,135,145,152〜154,157・・
・・・・OR回路、32〜35.83〜94.98〜1
01,111,112,130,137,156・・・
・・・NAND回路、42,61 ,118,122,
126,148,159・・・・・・NOR回路、36
,41,43,56,60,72,75,78,79,
96,97,109,110,115,127,128
,136,138〜140,143,147,149,
150,160〜162・・・・・・インバータ回路、
39,163,・・・・・・サイクルタイマ、Dela
y1〜Delay4・・・・・・遅延回路、FF1〜F
F4,FF11〜FF18・・・・・・フリツ.プフロ
ツフ回路、COMP1〜COMP9・・・・・・コンパ
レータ、WO−WO ・・・・・・ワイヤードOR回路
、1 15
WA −WA ・・・・・・ワイヤー゛ドAND回路
、SR1,13
SR2・・・・・・2相ダイナミックシフトレジスタ、
R1,R2・・・・・・レジスタ、FA1〜FA4・・
・・・・全加算器、PRICE1.2・・・・・・商品
設定価格、POS・・・・・・コイン払出し確認信号、
ATPO・・・・・・自動返金信号、PO・・・・・・
返金入力、A1・・・・・・¥10釣銭無し信号、A2
・・・・・・¥50釣銭無し信号、B1・・・・・・コ
イン払出し信号、B2・・・・・・Y50コイン払出し
信号、T・・・・・・販売信号、vEND1,2・・・
・・・販売可能信号、ESC−RTRN・・・・・・エ
スクロ内コイン返金信号、ESC−ACCエスクロ内コ
イン集金信号、EXT − CL・・・・・・外部クリ
ア信号、SING・・・・・・価格設定数選択信号、■
・・・・・・コイン入力信号、■・・・・・・返金信号
、■・・・・・ツフトレジスタSR2記憶内容存在信号
、■・・・・・・X>P,信号、■・・・・・・X>P
1+90信号、■・・・・・・X=P1信号、■・・・
・・弟動クリア信号ACL、■・・・・・・X>P2信
号、■・・・・・・X>P2+90信号、■・・・・・
・X−P2信号、■・・・・・・P1=0信号、■・・
・・・・P2−0信号、e・・・・・・セレクト信号S
EL,■・・・・・・セレクト信号SELい■・・・・
・・セレクト信号SEL2、■・・・・・・ジインメツ
ク用電子制御回路動作信号、O・・・・・・YIOコイ
ン払出し信号、[F]・・・・・・X=P1+50信号
、■・・・・・・X−P2+50信号、SEL1,SE
L2・・・・・・セレクト入力信号、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...Y50 number register, 5...¥
100 number register, 6...K≧50 comparator, 7...P1+90 adder, 8...
・P1+5 0 adder, 9...P2+90 adder, 10...P2+50 adder, 11...
... Comparator for P1, 12 ... Comparator for P2, 13 ... P1゜ price setting circuit, 14
...P2 price setting circuit, 15...P8
Bend control circuit for P2, 16...Bend control circuit for P2, 17...Coin payout control circuit, 18.
... Coin jam detection circuit, 19 ... Refund latch circuit, 20 ... Automatic refund circuit, 21.
...Select latch circuit, 22...CR
EM control circuit, 23... Two-phase clock pulse generation circuit, 24... Bit pulse generation circuit, 25
~27,37.49~53,55.57,59.62~
66.68.70,73,74,77,102,106
,108,113,116,119,121,123,
125, 129, 131-133, 141, 142,
146, 151, 155, 158...AND circuit, 28-31.3B, 40, 44, 46, 54, 58
.. 67,69,71,76.80-82,95,103
~105,107,114,117,120,124,
134,135,145,152-154,157...
...OR circuit, 32-35.83-94.98-1
01, 111, 112, 130, 137, 156...
...NAND circuit, 42, 61, 118, 122,
126, 148, 159...NOR circuit, 36
,41,43,56,60,72,75,78,79,
96,97,109,110,115,127,128
, 136, 138-140, 143, 147, 149,
150, 160-162... Inverter circuit,
39,163,...cycle timer, Dela
y1~Delay4...Delay circuit, FF1~F
F4, FF11~FF18... Fritz. Pflotz circuit, COMP1 to COMP9...Comparator, WO-WO...Wired OR circuit, 1 15 WA-WA...Wired AND circuit, SR1, 13 SR2... ...2-phase dynamic shift register,
R1, R2...Register, FA1~FA4...
...Full adder, PRICE1.2...Product setting price, POS...Coin payout confirmation signal,
ATPO・・・Automatic refund signal, PO・・・・・・
Refund input, A1...¥10 no change signal, A2
...... ¥50 no change signal, B1... Coin payout signal, B2... Y50 coin payout signal, T... Sales signal, vEND1,2...・
...Sellable signal, ESC-RTRN...Coin refund signal in escrow, ESC-ACC coin collection signal in escrow, EXT-CL...External clear signal, SING...・Price setting number selection signal, ■
... Coin input signal, ■ ... Refund signal, ■ ... Tuft register SR2 memory content existence signal, ■ ... X>P, signal, ■ ... ...X>P
1+90 signal, ■...X=P1 signal, ■...
・・Lower movement clear signal ACL, ■・・・・X>P2 signal, ■・・・・X>P2+90 signal, ■・・・・
・X-P2 signal, ■...P1=0 signal, ■...
...P2-0 signal, e...Select signal S
EL,■...Select signal SEL■...
・・Select signal SEL2, ■・・・Electronic control circuit operation signal for digital injection, O・・・・YIO coin payout signal, [F]・・・X=P1+50 signal, ■・・・・...X-P2+50 signal, SEL1, SE
L2...Select input signal, CREM...
...Coin insertion prevention signal, t1-t7...Bit pulse, φ1, φ2, φ3...Clock pulse.
Claims (1)
複数の設定価格とを各々比較し投入金額が設定価格以上
になった設定価格に対してそれぞれ販売可能信号を送出
し、該販売可能信号にもとづいて自動販売機本体から送
出される販売開始信号と商品選択信号とを受けて前記設
定価格のうちのいずれが選択されたかの選択判断をして
釣銭を払出す制御を行なう自動販売機用制御回路であっ
て、前記選択判断の時点を前記販売開始信号が到来して
から所定時間経過後としたことを特徴とする自動販売機
用制御回路。1 It is possible to set multiple prices, and the input amount is compared with each of these multiple set prices, and a sellable signal is sent for each set price at which the inputted amount exceeds the set price, and the sellable signal is sent. A control for a vending machine receives a sales start signal and a product selection signal sent from the vending machine main body based on the above, and performs a selection judgment as to which of the set prices has been selected, and controls the dispensing of change. 1. A control circuit for a vending machine, characterized in that the selection decision is made after a predetermined period of time has elapsed from the arrival of the sales start signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6422081A JPS5911159B2 (en) | 1981-04-30 | 1981-04-30 | Control circuit for vending machines |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6422081A JPS5911159B2 (en) | 1981-04-30 | 1981-04-30 | Control circuit for vending machines |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57103590A JPS57103590A (en) | 1982-06-28 |
| JPS5911159B2 true JPS5911159B2 (en) | 1984-03-13 |
Family
ID=13251793
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6422081A Expired JPS5911159B2 (en) | 1981-04-30 | 1981-04-30 | Control circuit for vending machines |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5911159B2 (en) |
-
1981
- 1981-04-30 JP JP6422081A patent/JPS5911159B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57103590A (en) | 1982-06-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4347924A (en) | Control system for a vending machine | |
| JP2740979B2 (en) | Vending machine control device | |
| US3896915A (en) | Vending machine | |
| US4056181A (en) | System and method for determining vendibility in automatic vending machine | |
| JPH07509580A (en) | Money distribution control method and device | |
| JPS6167190A (en) | Control system for vending machine | |
| JPS5911159B2 (en) | Control circuit for vending machines | |
| JPS5845074B2 (en) | Control circuit for vending machines | |
| JPS5911158B2 (en) | Control circuit for vending machines | |
| JPS5929914B2 (en) | Vending machine sales available | |
| JPS5939075B2 (en) | Vending machine control device | |
| JPS598868B2 (en) | Control circuit for vending machines | |
| JPS5929913B2 (en) | Control circuit for vending machines | |
| JPS5821320B2 (en) | Jido Hanbai Souchi | |
| JPH0222760Y2 (en) | ||
| US12424048B2 (en) | Money handling apparatus and money handling method | |
| JPH10198835A (en) | Coin storage and payment device | |
| JPS5944674B2 (en) | Vending machine coin dispensing control circuit | |
| JPS6129107Y2 (en) | ||
| JP7320229B2 (en) | Transaction processing equipment | |
| JPS6227974Y2 (en) | ||
| JPS594366Y2 (en) | Vending machine with failure detection function | |
| JPH036558B2 (en) | ||
| JPS6225232B2 (en) | ||
| JPS607318B2 (en) | Change payment method |