JPH0249474B2 - - Google Patents

Info

Publication number
JPH0249474B2
JPH0249474B2 JP56158454A JP15845481A JPH0249474B2 JP H0249474 B2 JPH0249474 B2 JP H0249474B2 JP 56158454 A JP56158454 A JP 56158454A JP 15845481 A JP15845481 A JP 15845481A JP H0249474 B2 JPH0249474 B2 JP H0249474B2
Authority
JP
Japan
Prior art keywords
sensor
level
output
ticket
supplied
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 - Lifetime
Application number
JP56158454A
Other languages
Japanese (ja)
Other versions
JPS5860275A (en
Inventor
Hirokazu Kawai
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shinko Electric Co Ltd
Original Assignee
Shinko Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shinko Electric Co Ltd filed Critical Shinko Electric Co Ltd
Priority to JP56158454A priority Critical patent/JPS5860275A/en
Publication of JPS5860275A publication Critical patent/JPS5860275A/en
Publication of JPH0249474B2 publication Critical patent/JPH0249474B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V13/00Manufacturing, calibrating, cleaning, or repairing instruments or devices covered by groups G01V1/00 – G01V11/00

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Geophysics And Detection Of Objects (AREA)

Description

【発明の詳細な説明】 この発明は自動販売機等に設けられているセン
サの出力レベルが、同センサに付着したゴミ・ホ
コリ等によつて低下した場合においても、このセ
ンサの出力を判別することができると共に、この
センサの出力が予め定められたレベル以下になつ
た時に、センサ異常を係員等に知らせることがで
きる自動販売機におけるセンサ異常予報方法に関
する。
[Detailed Description of the Invention] This invention determines the output of a sensor installed in a vending machine, etc. even when the output level of the sensor is reduced due to dirt, dust, etc. attached to the sensor. The present invention relates to a method for predicting a sensor abnormality in a vending machine, which is capable of notifying an attendant of a sensor abnormality when the output of the sensor falls below a predetermined level.

顧客によつて投入された貨幣等の示す金額(合
計金額)に基づいて、同顧客が選択した商品を排
出できるか否かを判別すると共に、釣銭払出しの
有無を判別し、これらの判別結果に基づいて、商
品の排出、釣銭の払出し等を行う自動販売機にあ
つては、同自動販売機内にその使用目的に応じた
各種のセンサ、例えば、近接センサ、光センサ等
が設けられ、これらの近接センサ、光センサ等の
出力に基づいて、各タイミングおよび投入された
貨幣の通過、排出する商品の通過、払出す釣銭の
通過等の検出が行なわれ、これらの検出結果に応
じて装置各部が所定の動作を行なうようになつて
いる。
Based on the amount indicated by the money, etc. inserted by the customer (total amount), it is determined whether the product selected by the customer can be discharged or not, and whether or not change is to be paid out, and based on these determination results. Based on this, vending machines that dispense products, dispense change, etc. are equipped with various sensors, such as proximity sensors and optical sensors, depending on the purpose of use. Based on the outputs of proximity sensors, optical sensors, etc., each timing and the passage of coins inserted, products to be discharged, and change to be dispensed are detected, and each part of the device operates according to the detection results. It is designed to perform a predetermined action.

ところでこのような自動販売機に設けられてい
るセンサ、特に光センサ等にあつてはその発光面
あるいは受光面にゴミ、ホコリ等が付着(あるい
は蓄積)して、その出力が低下し、また、他のセ
ンサにあつてもその出力特性が低下し、センサと
しての役目を果さなくなることがあり、運転中の
自動販売機がこれらのセンサの出力低下により、
誤動作したり、運転不能になることがある。
By the way, when it comes to sensors installed in such vending machines, especially optical sensors, dirt, dust, etc. adhere (or accumulate) on their light emitting or light receiving surfaces, reducing their output. Even with other sensors, their output characteristics may decrease and they may no longer function as a sensor.
It may malfunction or become inoperable.

この発明は上記の点に鑑み、センサの出力が低
下した場合においてもセンサの出力を判別するこ
とができると共に、このセンサがその機能を果た
さなくなる前にセンサ異常を予報することができ
る自動販売機におけるセンサ異常予報方法を提供
するもので、複数の基準レベルのうちのいずれか
をそのレベルの大きい順にしたがつて選択し、こ
の選択された基準レベルに基づいて、前記センサ
の出力レベルを判定し、該センサの出力レベルが
前記選択された基準レベルより下回る毎に、該セ
ンサの出力レベル以下になるまで前記選択された
基準レベル以下の各基準レベルをそのレベルの大
きい順にしたがつて順次選択するとともに、前記
センサの劣化または故障により、予め設定された
基準レベル以下に該センサの出力レベルが低下し
たときには前記センサ異常予報手段を駆動するこ
とを特徴としている。
In view of the above points, this invention is a vending machine that is capable of determining the output of a sensor even when the output of the sensor has decreased, and is also capable of predicting a sensor abnormality before the sensor ceases to perform its function. This provides a sensor abnormality prediction method in which one of a plurality of reference levels is selected in descending order of the level, and the output level of the sensor is determined based on the selected reference level. , each time the output level of the sensor is lower than the selected reference level, each reference level below the selected reference level is sequentially selected in descending order of the level until the output level of the sensor is below the output level of the sensor. Additionally, when the output level of the sensor falls below a preset reference level due to deterioration or failure of the sensor, the sensor abnormality prediction means is driven.

以下この発明の一実施例を図面にしたがつて説
明する。第1図はこの発明によるセンサ異常予報
方法を適用した乗車券の自動販売機の券印刷・排
出機構部分の断面図である。この図において、1
は券2を印刷するためのサーマル印刷用ヘツドで
あり、券2は券駆動ローラ3により矢印A方向に
搬送されつつサーマル印刷用ヘツド1により所定
のサーマル印刷が施され、この印刷された券2が
搬送ローラ4a,4b間に張設されたベルト5お
よび搬送ローラ6a,6b間に張設されたベルト
7、搬送ローラ4b,4c間に張設されたベルト
8および搬送ローラ6b,6c間に張設されたベ
ルト9により、矢印A方向にさらに搬送され、搬
送ローラ4c,6cの近傍に対向配置された発光
器10aおよび受光器10bにより構成された光
センサによつてその通過が検出された後に、接客
面11に設けられた券排出口12に排出される。
このように、この自動販売機にあつては発光器1
0aおよび受光器10bにより、印刷され、切断
された券2の排出がチエツクされるようになつて
いる。なお、一般的に、券2が切断された後の搬
送経路上にあつては、券2を切断する時に発生し
た切屑等が留りやすいことから、この搬送経路上
に設置するセンサとして、本来、光センサ等は適
したものではないが、券2の通過をチエツクしな
ければならないという点で光センサ以外の実施化
は困難である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a sectional view of the ticket printing/discharging mechanism of a ticket vending machine to which the sensor abnormality prediction method according to the present invention is applied. In this figure, 1
2 is a thermal printing head for printing the ticket 2. The ticket 2 is conveyed in the direction of arrow A by the ticket drive roller 3 and subjected to predetermined thermal printing by the thermal printing head 1, and the printed ticket 2 is is the belt 5 stretched between the conveyor rollers 4a and 4b, the belt 7 stretched between the conveyor rollers 6a and 6b, the belt 8 stretched between the conveyor rollers 4b and 4c, and the belt 8 stretched between the conveyor rollers 6b and 6c. It is further conveyed in the direction of arrow A by the stretched belt 9, and its passage is detected by an optical sensor composed of a light emitter 10a and a light receiver 10b arranged oppositely near the conveyance rollers 4c and 6c. Afterwards, the ticket is discharged to a ticket discharge port 12 provided on the customer service surface 11.
In this way, in this vending machine, the light emitting device 1
0a and the light receiver 10b, the discharge of the printed and cut ticket 2 is checked. Generally, on the conveyance path after the ticket 2 is cut, chips etc. generated when cutting the ticket 2 tend to remain, so it is not recommended to use sensors installed on this conveyance path. , an optical sensor, etc. are not suitable, but implementation other than an optical sensor is difficult in that the passage of the ticket 2 must be checked.

第2図は同実施例におけるセンサ部の回路構成
例を示す図である。この図において、131〜1
3nは、各々、基準レベルを選択するための信号
が供給される端子であり、これらの各端子131
〜13nは、各々ナンドゲート141〜14nの
入力端に接続され、これらの各ナンドゲート14
〜14nの出力端が各々対応する抵抗151(値
R1)、抵抗152(値R2)、〜抵抗15n(値Rn)を
介して比較器16の反転入力端に接続され、この
比較器16の反転入力端が抵抗17(値R0)を
介して図示せぬ電源の正出力端に接続されてい
る。なお、この実施例においては、各抵抗151
〜15nの各値R1〜RnはR1=R2=…=Rnとな
るようにその設定が行なわれている。また、18
は上述した発光器10aを構成している発光ダイ
オードであり、19は上述した受光器10bを構
成しているフオトトランジスタである。そして、
このフオトトランジスタ19のエミツタは接地さ
れ、同フオトトランジスタ19のコレクタはその
一端が電源の正出力端に接続された抵抗20の他
端および差動入力型の増幅器21の非反転入力端
に接続されている。増幅器21はその反転入力端
が抵抗20の他端に接続された増幅器であり、そ
の出力端は抵抗22を介して比較器16の非反転
入力端に接続され、同比較器16の出力端がセン
サ出力端23に接続されている。
FIG. 2 is a diagram showing an example of the circuit configuration of the sensor section in the same embodiment. In this figure, 13 1 to 1
3n are terminals to which a signal for selecting a reference level is supplied, and each of these terminals 13 1
13n are connected to the input terminals of the NAND gates 14 1 to 14n, respectively, and each of these NAND gates 14
The output ends of 1 to 14n each correspond to a resistor 15 1 (value
R 1 ), resistor 15 2 (value R 2 ), and resistor 15n (value Rn) are connected to the inverting input terminal of the comparator 16, and the inverting input terminal of this comparator 16 is connected to the resistor 17 (value R 0 ). It is connected to the positive output terminal of a power supply (not shown) via the terminal. In addition, in this embodiment, each resistor 15 1
The values R 1 to Rn of 15n are set so that R 1 =R 2 =...=Rn. Also, 18
19 is a light emitting diode constituting the above-mentioned light emitter 10a, and 19 is a phototransistor constituting the above-mentioned light receiver 10b. and,
The emitter of the phototransistor 19 is grounded, and the collector of the phototransistor 19 is connected to the other end of a resistor 20 whose one end is connected to the positive output end of a power supply and to the non-inverting input end of a differential input type amplifier 21. ing. The amplifier 21 is an amplifier whose inverting input terminal is connected to the other end of the resistor 20, and its output terminal is connected to the non-inverting input terminal of the comparator 16 via the resistor 22, and the output terminal of the comparator 16 is connected to the non-inverting input terminal of the comparator 16. It is connected to the sensor output end 23.

第3図は第2図に示す回路を用いた自動券売機
の回路構成例を示す図である。この図において、
24は硬貨投入口、紙幣挿入口、口座(行先)選
択釦、各表示器等から構成されている接客部であ
り、この接客部24は接客制御回路25から供給
された信号に基づいて、表示器に投入合計金額を
表示させると共に、購入可能な券に対応した口座
の表示等を行い、また、顧客によつて投入された
硬貨および挿入された紙幣に対応した投入金検出
信号、顧客によつて選択された口座コード等を接
客制御回路25に供給する。接客制御回路25は
接客部24を制御するものであり、バスライン2
6を介して中央処理装置(以下、CPUと略称す
る)27から合計金額データ等を供給された時
に、この供給されたデータに基づいて接客部24
を制御し、接客部24から金額データ、口座コー
ド等を供給された時に、この供給された金額デー
タ、口座コード等をCPU27に供給する。28
はセンサ異常予報ランプ、日付設定スイツチ、各
種モード選択スイツチ、各種表示器等から構成さ
れている係員操作部であり、操作制御回路29か
ら供給された信号に基づいて回路各部の動作状態
等を表示し、また、係員により設定された日付設
定データ、モード選択データ等を操作制御回路2
9に供給する。操作制御回路29はCPU27か
らモニターデータ等を供給された時に、この供給
されたデータに基づいて係員操作部28のセンサ
異常予報ランプおよび表示器を制御し、係員操作
部28から日付設定データ、モード選択データ等
を供給された時に、この供給されたデータを
CPU27に供給する。CPU27はメモリ30に
記憶されているプログラムにしたがつて回路各部
を制御するものである。31は第2図に示すセン
サ回路を有して構成され、CPU27からデータ
を供給された時に、この供給されたデータに基づ
いて印刷部32を制御する回路であり、CPU2
7から印刷データを供給された時に、この供給さ
れた印刷データをサーマル印刷用ヘツド1(第1
図参照)および券駆動ローラ3等によつて構成さ
れた印刷部32に供給して券2の印刷を行なわ
せ、券2の印刷が終了し、印刷済の券2が券排出
口12に排出された時に、発光器10aおよび受
光器10bにより構成されたセンサがこれを検出
して排出検出信号を発生し、CPU27に供給す
る。また、33は検銭・釣銭部34を制御する回
路であり、検銭・釣銭部34が接客部24に投入
された硬貨、紙幣の種類および真贋等の判別を行
い、金種データ、真贋データ等を出力した時に、
この金種データ、真贋データ等をCPU27に供
給し、また、CPU27から釣銭データ等を供給
された時に、この供給された釣銭データ等を検
銭・釣銭部34に供給し、必要な釣銭の払出しを
行なわれる。
FIG. 3 is a diagram showing an example of a circuit configuration of an automatic ticket vending machine using the circuit shown in FIG. 2. In this diagram,
Reference numeral 24 denotes a customer service section consisting of a coin slot, a bill slot, an account (destination) selection button, various displays, etc. This customer service section 24 controls the display based on signals supplied from the customer service control circuit 25. In addition to displaying the total amount of money inserted into the device, it also displays the account corresponding to the tickets that can be purchased, and also displays the inserted money detection signal corresponding to the coins and bills inserted by the customer. Then, the selected account code and the like are supplied to the customer service control circuit 25. The customer service control circuit 25 controls the customer service section 24 and connects the bus line 2.
When total amount data etc. are supplied from the central processing unit (hereinafter abbreviated as CPU) 27 via the CPU 6, the customer service department 24
When the amount data, account code, etc. are supplied from the customer service department 24, the supplied amount data, account code, etc. are supplied to the CPU 27. 28
is an operator operation section consisting of a sensor abnormality warning lamp, a date setting switch, various mode selection switches, various indicators, etc., and displays the operating status of each part of the circuit based on the signal supplied from the operation control circuit 29. In addition, the date setting data, mode selection data, etc. set by the staff are transferred to the operation control circuit 2.
Supply to 9. When the operation control circuit 29 is supplied with monitor data etc. from the CPU 27, it controls the sensor abnormality forecast lamp and display of the staff operation section 28 based on the supplied data, and controls the date setting data and mode from the staff operation section 28. When selection data etc. are supplied, this supplied data is
Supply to CPU27. The CPU 27 controls each part of the circuit according to a program stored in the memory 30. Reference numeral 31 is a circuit that includes a sensor circuit shown in FIG. 2, and controls the printing unit 32 based on the supplied data when data is supplied from the CPU 27.
7, the supplied print data is sent to the thermal printing head 1 (first
) and a ticket drive roller 3 to print the ticket 2. After the printing of the ticket 2 is completed, the printed ticket 2 is discharged to the ticket ejection port 12. When this occurs, a sensor composed of a light emitter 10a and a light receiver 10b detects this, generates a discharge detection signal, and supplies it to the CPU 27. Further, 33 is a circuit for controlling the coin verification/change section 34, which discriminates the type and authenticity of coins and banknotes inserted into the customer service section 24, and records denomination data, authenticity data, etc. etc., when outputting
This denomination data, authenticity data, etc. are supplied to the CPU 27, and when change data, etc. are supplied from the CPU 27, the supplied change data, etc. are supplied to the coin verification/change section 34, and the necessary change is paid out. will be carried out.

以上の構成において、係員により、装置に電源
が投入されると共に、係員操作部28を介して装
置の初期設定に必要なデータが入力されると、こ
れに伴つて、検銭・釣銭制御回路33に設けられ
ているセンサ回路が動作状態となると共に、係員
操作部28を介して入力されたセンサレベル判別
データに基づいて、各端子131〜13nに“L”
レベル信号が供給され、これらの“L”レベル信
号が対応する各ナンドゲート141〜14nに入
力され、各ナンドゲート141〜14nがその出
力端から“H”レベル信号を出力する。これによ
り、比較器16の反転入力端に、各ナンドゲート
14114nの出力電圧、抵抗17の一端が接続
されている電源の出力電圧および抵抗151〜1
5nの各値R1〜Rnと抵抗17の値との比によつ
て定まる基準電圧V0(この基準電圧V0の優先順位
は1位である)が供給される。また上述した動作
と並行して、発光器10aに設けられている発光
ダイオード18が動作状態となつて光を発生し、
この光がベルト8,9を介して対向配置されてい
る受光器10bのフオトトランジスタ19に供給
される。フオトトランジスタ19は発光ダイオー
ド18から光を供給されたことによりそのコレク
タ・エミツタ間電圧が低下すると共に、このフオ
トトランジスタ19のコレクタに得られた電圧が
増幅器21に供給され、この増幅器21で増幅さ
れ、抵抗22を介して比較器16の非反転入力端
に供給される。比較器16はその反転入力端に供
給されている基準電圧の値(この場合の値はV0
である。)とその非反転入力端に供給されている
電圧の値(この場合の値は券2が発光器10a、
受光器10b間を通過していないことから高い値
になつている)とを比較し、基準電圧の値が増幅
器21の出力している電圧の値より小であること
からその出力端から券2の通過を検出していない
ことを示す“H”レベル信号を出力し、センサ出
力端23を介してCPU等に供給する。そしてこ
の状態において、顧客が接客部24に設けられて
いる硬貨投入口に硬貨を投入、あるいは紙幣挿入
口に紙幣挿すると、検銭・釣銭部34がこの投入
あるいは挿入された硬貨・紙幣の種類、真贋等の
判別を行い、この判別結果を検銭・釣銭制御回路
33を介してCPU27に供給すると共に、接客
部24が投入された硬貨および挿入された紙幣に
対応した投入金検出信号を接客制御回路25を介
してCPU27に供給する。CPU27は検銭・釣
銭制御回路33を介して供給された金種データ、
真贋データおよび接客制御回路25を介して供給
された投入金検出信号等に基づいて投入合計金額
を求めると共に、この結果得られた投入合計金額
データを接客制御回路25を介して接客部24に
供給し、投入合計金額の表示および投入合計金額
に対応する購入可能な券の口座を表示させる。そ
して、顧客が接客部24に設けられている口座選
択釦のいずれかを選択して押圧操作を行うと、接
客部24はこの押圧された口座選択釦に対応した
口座コードを接客制御回路25を介してCPU2
7に供給する。CPU27は記憶している投入合
計金額および供給された口座コードとに基づいて
券発行の可否および釣銭払出しの有無を判別し、
券発行可能の時に、印刷制御回路31に券2の発
行に必要な印刷データを供給すると共に、釣銭の
払出しが必要な時に、検銭・釣銭制御回路33に
払出す釣銭金額を示す釣銭データを供給する。こ
れにより検銭・釣銭制御回路33は検銭・釣銭部
34を制御して必要な額の釣銭の払出しを行なわ
せ、印刷制御回路31は印刷部32を制御してサ
ーマル印刷用ヘツド1および券駆動ローラ3を駆
動し、券2の印刷を行なわせる。そして、このよ
うにして印刷された券2がベルト5,7およびベ
ルト8,9によつて挾持されて、矢印A方向に搬
送され、発光器10a、受光器10bが設けられ
ているセンサ位置を通過した時に、フオトトラン
ジスタ19の受光している光を遮断し、同フオト
トランジスタ19のコレクタ・エミツタ間電圧を
上昇させる。これにより、増幅器21の非反転入
力端電圧が上昇し、同増幅器21がその出力端か
ら券検出信号を出力して比較器16の非反転入力
端に供給する。比較器16は増幅器21から券検
出信号を供給されたことにより、その非反転入力
端電圧の値がその反転入力端電圧の値より小とな
り、その出力端電圧を下降させ、この結果得られ
た券排出完了信号をセンサ出力端23を介して
CPU27等に供給する。以下、顧客が接客部2
4に設けられている硬貨投入口、紙幣挿入口に硬
貨、紙幣を投入し、口座選択釦を押圧操作する毎
に、上述した動作がくり返し行なわれる。
In the above configuration, when the clerk turns on the power to the device and inputs the data necessary for the initial setting of the device via the clerk operation section 28, the coin verification/change control circuit 33 When the sensor circuit provided in the terminal becomes operational, the terminals 13 1 to 13n are set to "L" based on the sensor level determination data inputted through the operator operation section 28.
A level signal is supplied, and these "L" level signals are input to the corresponding NAND gates 14 1 to 14n, and each NAND gate 14 1 to 14n outputs an "H" level signal from its output terminal. As a result, the output voltage of each NAND gate 14 1 14n, the output voltage of the power supply to which one end of the resistor 17 is connected, and the resistors 15 1 to 1 are connected to the inverting input terminal of the comparator 16.
A reference voltage V 0 (the priority of this reference voltage V 0 is first) determined by the ratio of each value R 1 to Rn of 5n and the value of the resistor 17 is supplied. Further, in parallel with the above-described operation, the light emitting diode 18 provided in the light emitter 10a is activated and generates light,
This light is supplied via belts 8 and 9 to a phototransistor 19 of a photoreceiver 10b placed opposite to each other. When the phototransistor 19 is supplied with light from the light emitting diode 18, its collector-emitter voltage decreases, and the voltage obtained at the collector of the phototransistor 19 is supplied to the amplifier 21, where it is amplified. , are supplied to the non-inverting input of the comparator 16 via the resistor 22. The comparator 16 is connected to the value of the reference voltage supplied to its inverting input (the value in this case is V 0
It is. ) and the value of the voltage supplied to its non-inverting input terminal (in this case, the value is when ticket 2 is light emitter 10a,
Since the value of the reference voltage is smaller than the value of the voltage output from the amplifier 21, the voltage from the output terminal to the ticket 2 is compared. It outputs an "H" level signal indicating that it has not detected the passage of the signal, and supplies it to the CPU etc. via the sensor output terminal 23. In this state, when the customer inserts a coin into the coin slot provided in the customer service section 24 or inserts a bill into the bill slot, the coin verification/change section 34 detects the type of coin or bill inserted. , the authenticity is determined, and the determination result is supplied to the CPU 27 via the coin verification/change control circuit 33. At the same time, the customer service section 24 sends a deposit detection signal corresponding to the inserted coins and inserted banknotes to the customer. It is supplied to the CPU 27 via the control circuit 25. The CPU 27 receives denomination data supplied via the coin verification/change control circuit 33,
The total input amount is determined based on the authenticity data and the input detection signal supplied via the customer service control circuit 25, and the resulting total input amount data is supplied to the customer service section 24 via the customer service control circuit 25. Then, the total amount of money put in and the account of the tickets that can be purchased corresponding to the total amount of money put in are displayed. When the customer selects and presses one of the account selection buttons provided in the customer service department 24, the customer service department 24 sends the account code corresponding to the pressed account selection button to the customer service control circuit 25. via CPU2
Supply to 7. The CPU 27 determines whether or not to issue a ticket and whether or not to pay out change based on the stored total input amount and the supplied account code,
When it is possible to issue a ticket, the print control circuit 31 is supplied with print data necessary for issuing the ticket 2, and when it is necessary to pay out change, change data indicating the amount of change to be paid out is sent to the check/change control circuit 33. supply As a result, the coin verification/change control circuit 33 controls the coin verification/change unit 34 to dispense the required amount of change, and the printing control circuit 31 controls the printing unit 32 to print the thermal printing head 1 and the ticket. The drive roller 3 is driven to print the ticket 2. The ticket 2 printed in this way is held between the belts 5, 7 and 8, 9, and is conveyed in the direction of arrow A to the sensor position where the light emitter 10a and the light receiver 10b are provided. When it passes, it blocks the light received by the phototransistor 19 and increases the voltage between the collector and emitter of the phototransistor 19. As a result, the voltage at the non-inverting input terminal of the amplifier 21 increases, and the amplifier 21 outputs a ticket detection signal from its output terminal and supplies it to the non-inverting input terminal of the comparator 16. When the comparator 16 is supplied with the ticket detection signal from the amplifier 21, the value of the voltage at its non-inverting input terminal becomes smaller than the value of the voltage at its inverting input terminal, and the voltage at its output terminal decreases, resulting in the following. A ticket ejection completion signal is sent via the sensor output terminal 23.
Supplies to CPU27 etc. Below, the customer is in the customer service department 2
Each time a coin or a banknote is inserted into the coin slot or bill slot provided in 4 and the account selection button is pressed, the above-described operation is repeated.

そしてこの状態において、発光ダイオード18
の特性低下、フオトトランジスタ19の特性低下
あるいはフオトトランジスタ19の受光面に券2
を切断する時に発生した切屑等か蓄積し、券2の
排出時以外において、フオトトランジスタ19の
受光している光の光量が低下し、同フオトトラン
ジスタ19のコレクタ・エミツタ間電圧が高くな
り、比較器16の非反転入力端電圧の値がその反
転入力端電圧の値より低くなると、同比較器16
がその出力端からセンサ異常検出信号を出力して
CPU27に供給する。これにより、CPU27は
センサ異常が発生したことを検知して、比較器1
6の基準レベルを低下させるための信号(この信
号は“H”レベル信号である)を発生し、端子1
1を介してナンドゲート141に供給し、ナンド
ゲート141の出力電圧を低下させ、比較器16
の反転入力端電圧の値を値V1(この値V1はV1
V0でありその優先順位は2位である)まで低下
させる。そしてこれにより、比較器16の反転入
力端電圧の値がその非反転入力端電圧の値より小
となり、同比較器16の出力端からセンサ異常検
出信号が出力されなくなると、CPU27はセン
サ異常の処理が終了したと判断して通常の券売動
作を開始し、また、比較器16の反転入力端電圧
の値が値V1まで低下したにもかかわらず、比較
器16の出力端からセンサ異常検出信号が出力さ
れ続けると、CPU27はセンサ異常の処理が終
了していないと判断し、比較器16の基準レベル
をさらに低下させるための信号(この信号は
“H”レベル信号である)を発生し、端子131
よび端子132を介してナンドゲート141,14
に供給し、比較器16の反転入力端電圧の値を
値V2(この値V2はV2<V1でありその優先順位は
3位である)まで低下させる。そしてこれによ
り、比較器16の出力端からセンサ異常信号が出
力されなくなると、CPU27は通常の券売動作
を開始し、また、比較器16の反転入力端電圧の
値が値V2まで低下したにもかかわらず、比較器
16の出力端からセンサ異常検出信号が出力され
続けている場合に、CPU27は上述した動作と
同様にして、ナンドゲート141〜143、ナンド
ゲート141〜144、…ナンドゲート141〜1
4nに、順次、“H”レベル信号を供給して、比
較器16の反転入力端電圧(基準レベル)を段階
的に下げ、センサ異常の復帰処理を行う。
In this state, the light emitting diode 18
The characteristics of the phototransistor 19 deteriorate, or the phototransistor 19 has
The amount of light received by the phototransistor 19 decreases at times other than when the ticket 2 is ejected, and the voltage between the collector and emitter of the phototransistor 19 increases. When the value of the non-inverting input terminal voltage of the comparator 16 becomes lower than the value of its inverting input terminal voltage, the comparator 16
outputs a sensor abnormality detection signal from its output terminal.
Supply to CPU27. As a result, the CPU 27 detects that a sensor abnormality has occurred, and the comparator 1
A signal (this signal is an "H" level signal) for lowering the reference level of terminal 1 is generated, and
3 1 to the NAND gate 14 1 to reduce the output voltage of the NAND gate 14 1 and to reduce the output voltage of the NAND gate 14 1 to the comparator 16
The value of the inverting input terminal voltage of V 1 (this value V 1 is V 1 <
V 0 and its priority is second). As a result, the value of the inverting input terminal voltage of the comparator 16 becomes smaller than the value of its non-inverting input terminal voltage, and when the sensor abnormality detection signal is no longer output from the output terminal of the comparator 16, the CPU 27 detects the sensor abnormality. It is determined that the processing has been completed and normal ticket selling operation is started, and even though the value of the inverted input terminal voltage of the comparator 16 has decreased to the value V1 , a sensor abnormality is detected from the output terminal of the comparator 16. If the signal continues to be output, the CPU 27 determines that the sensor abnormality processing has not been completed, and generates a signal (this signal is an "H" level signal) to further lower the reference level of the comparator 16. , NAND gates 14 1 , 14 via terminals 13 1 and 13 2
2 to reduce the value of the inverting input voltage of the comparator 16 to the value V 2 (this value V 2 is V 2 <V 1 and has the third priority). As a result, when the sensor abnormality signal is no longer output from the output terminal of the comparator 16, the CPU 27 starts the normal ticket selling operation, and even when the value of the voltage at the inverting input terminal of the comparator 16 has decreased to the value V2 . Nevertheless, when the sensor abnormality detection signal continues to be output from the output terminal of the comparator 16, the CPU 27 operates similarly to the above-described operation to output the NAND gates 14 1 to 14 3 , NAND gates 14 1 to 14 4 , . . . 14 1 ~1
4n, the inverting input terminal voltage (reference level) of the comparator 16 is gradually lowered, and the sensor abnormality recovery process is performed.

また上述した動作と並行して、CPU27は発
光ダイオード18(あるいはフオトトランジスタ
19)の特性が低下しあるいはフオトトランジス
タ19の受光面に券2を切断する時に発生した切
屑等が蓄積し、券2の排出時以外において、比較
器16の非反転入力端に供給されている電圧が予
め定められたレベル以上低下した時に、ナンドゲ
ート141(あるいはナンドゲート141〜142
141〜143,…)に“H”レベル信号を供給す
る動作と並行して、センサの出力低下を示す信号
を発生し、バスライン26および操作制御回路2
9を介して係員操作部28に供給し、同係員操作
部28に設けられているセンサ異常予報ランプを
点灯させ、係員にセンサの出力が低下したことを
知らせる。
In addition, in parallel with the above-mentioned operation, the CPU 27 detects that the characteristics of the light emitting diode 18 (or the phototransistor 19) have deteriorated, or that the chips generated when cutting the ticket 2 have accumulated on the light receiving surface of the phototransistor 19, and that the ticket 2 has been cut. When the voltage supplied to the non-inverting input terminal of the comparator 16 drops to a predetermined level or more other than when draining, the NAND gate 14 1 (or NAND gates 14 1 to 14 2 ,
14 1 to 14 3 ,...), a signal indicating a decrease in the output of the sensor is generated, and the bus line 26 and the operation control circuit 2
9 to the staff operating unit 28, the sensor abnormality forecasting lamp provided in the staff operating unit 28 is turned on, and the staff is informed that the output of the sensor has decreased.

このようにして、発光ダイオード18(あるい
はフオトトランジスタ19)の特性低下あるいは
フオトトランジスタ19の受光面に蓄積した切屑
等によつて生じたセンサ異常の予報が行なわれ、
同センサが完全に不能になる前に、センサ交換あ
るいはフオトトランジスタ19の受光面の清掃等
の必要な処理を行なわせることができると共に、
センサの出力低下に起因する装置の誤動作を末然
に防止することができる。
In this way, a sensor abnormality caused by deterioration of the characteristics of the light emitting diode 18 (or phototransistor 19) or chips accumulated on the light receiving surface of the phototransistor 19 is predicted.
Before the sensor becomes completely inoperable, it is possible to perform necessary processing such as replacing the sensor or cleaning the light receiving surface of the phototransistor 19, and
Malfunctions of the device due to a decrease in sensor output can be ultimately prevented.

また上述した実施例にあつては、受光側の基準
レベルを変えることにより、センサの出力低下を
補償しているが、これを発光側の発光レベルを変
えることにより、センサの出力低下を補償するこ
とも勿論可能である。また、上述した実施例にあ
つては、各抵抗151〜15nの値R1,R2,〜Rn
をR1=R2=…=Rnとしているが、これをR1<R2
<…<Rnとし、かつ、これらの各値R1,R2〜Rn
の比(あるいは差など)が所定の関係になるよう
各抵抗151〜15nの値に重みを付け、基準レ
ベル変更時において、各抗151、抵抗152、抵
抗151および152、抵抗153、…を順次選択
して比較器16の反転入力端に供給されている基
準レベルの変更を行うことも勿論可能である。ま
た、抵抗151〜15nと、ナンドゲート141
14nによつて基準レベルを設定しているが、こ
れらの他にA/D(アナログ/デイジタル)コン
バーータ等を用いても良い。この場合、A/Dコ
ンバータを用いた場合、価格が向上する欠点があ
る。
In addition, in the above-described embodiment, the decrease in the output of the sensor is compensated for by changing the reference level on the light receiving side, but it is also possible to compensate for the decrease in the output of the sensor by changing the light emission level on the light emitting side. Of course, this is also possible. In addition, in the embodiment described above, the values R 1 , R 2 , ~Rn of each of the resistors 15 1 to 15n
is R 1 = R 2 =...=Rn, but this is R 1 < R 2
<…<Rn, and each of these values R 1 , R 2 ~Rn
The values of each resistor 15 1 to 15n are weighted so that the ratio (or difference , etc.) of Of course, it is also possible to change the reference level supplied to the inverting input terminal of the comparator 16 by sequentially selecting 15 3 , . . . . In addition, resistors 15 1 to 15n and NAND gates 14 1 to
Although the reference level is set using 14n, an A/D (analog/digital) converter or the like may be used in addition to these. In this case, if an A/D converter is used, there is a drawback that the price increases.

以上説明したようにこの発明は複数の基準レベ
ルのうちのいずれかをそのレベルの大きい順にし
たがつて選択し、この選択された基準レベルに基
づいて、前記センサの出力レベルを判定し、該セ
ンサの出力レベルが前記選択された基準レベルよ
り下回る毎に、該センサの出力レベル以下になる
まで前記選択された基準レベル以下の各基準レベ
ルをそのレベルの大きい順にしたがつて順次選択
するとともに、前記センサの劣化または故障によ
り、予め設定された基準レベル以下に該センサの
出力レベルが低下したときには前記センサ異常予
報手段を駆動するようにしたので、センサの出力
の低下とともに基準レベルが自動的に低下するこ
とからセンサの異常の進行具合を予報することが
できると共に、このセンサ劣化や故障によつてそ
の機能を果たさなくなる前にセンサ異常を予報し
て係員等に必要な処置を行なわせることができ
る。また、初期時に基準レベルを調整する以外、
この基準レベルをCPUが自動調整するので、セ
ンサ個々の特性のバラツキや取付位置(例えば、
発光素子に対する受光素子の取付位置)のバラツ
キを意識しないで基準レベルの設定ができる。す
なわち、センサの持つ個性をCPUが自動調整す
ることにより、安定した性能を最大限に引き出す
ことができる。この結果、製造工程にて人手によ
る細かな調整が不要となり、作業コストの低減を
実現できる。
As explained above, the present invention selects one of a plurality of reference levels in ascending order of the level, determines the output level of the sensor based on the selected reference level, and determines the output level of the sensor based on the selected reference level. Each time the output level of the sensor becomes lower than the selected reference level, each reference level below the selected reference level is sequentially selected in descending order of the level until the output level of the sensor becomes below the output level of the sensor, and When the output level of the sensor decreases below a preset reference level due to deterioration or failure of the sensor, the sensor abnormality prediction means is activated, so that the reference level automatically decreases as the output of the sensor decreases. As a result, it is possible to predict the progress of sensor abnormalities, and also to predict sensor abnormalities and have staff take necessary measures before the sensor stops functioning due to deterioration or failure. . In addition to adjusting the reference level at the initial stage,
Since the CPU automatically adjusts this reference level, it is possible to prevent variations in the characteristics of individual sensors and the mounting position (for example,
The reference level can be set without being conscious of variations in the mounting position of the light receiving element relative to the light emitting element. In other words, the CPU automatically adjusts the sensor's individual characteristics to maximize stable performance. As a result, there is no need for detailed manual adjustments in the manufacturing process, and work costs can be reduced.

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

第1図はこの発明によるセンサ異常予報方法を
適用した自動券売機の券印刷・排出機構部分の断
面図、第2図は同実施例におけるセンサ部の回路
構成例を示す図、第3図は第2図に示す回路を用
いた自動券売機の回路構成例を示す図である。 2……券(商品)、10a……発光器(セン
サ)、10b……受光器(センサ)、151〜15
n……抵抗、17……抵抗、28……係員操作部
(センサ異常予報手段)。
FIG. 1 is a cross-sectional view of the ticket printing/discharging mechanism of an automatic ticket vending machine to which the sensor abnormality prediction method according to the present invention is applied, FIG. 2 is a diagram showing an example of the circuit configuration of the sensor section in the same embodiment, and FIG. 3 is a diagram showing an example of a circuit configuration of an automatic ticket vending machine using the circuit shown in FIG. 2. FIG. 2...Ticket (product), 10a...Emitter (sensor), 10b...Receiver (sensor), 15 1 to 15
n... Resistance, 17... Resistance, 28... Attendant operation unit (sensor abnormality forecasting means).

Claims (1)

【特許請求の範囲】[Claims] 1 商品または釣銭等の排出を検出するセンサが
異常のときにセンサ異常予報手段を駆動する自動
販売機におけるセンサ異常予報方法において、複
数の基準レベルのうちのいずれかをそのレベルの
大きい順にしたがつて選択し、この選択された基
準レベルに基づいて、前記センサの出力レベルを
判定し、該センサの出力レベルが前記選択された
基準レベルより下回る毎に、該センサの出力レベ
ル以下になるまで前記選択された基準レベル以下
の各基準レベルをそのレベルの大きい順にしたが
つて順次選択するとともに、前記センサの劣化ま
たは故障により、予め設定された基準レベル以下
に該センサの出力レベルが低下したときには前記
センサ異常予報手段を駆動することを特徴とする
自動販売機におけるセンサ異常予報方法。
1. In a sensor abnormality forecasting method for a vending machine that drives a sensor abnormality forecasting means when a sensor detecting the discharge of products or change, etc. is abnormal, one of a plurality of reference levels is set in descending order of the level. and determining the output level of the sensor based on the selected reference level, and each time the output level of the sensor is below the selected reference level, the output level of the sensor is determined. The reference levels below the selected reference level are sequentially selected in descending order of their levels, and when the output level of the sensor falls below a preset reference level due to deterioration or failure of the sensor, the A method for predicting sensor abnormality in a vending machine, comprising driving a sensor abnormality prediction means.
JP56158454A 1981-10-05 1981-10-05 Forecasting of abnormality for vending machine Granted JPS5860275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56158454A JPS5860275A (en) 1981-10-05 1981-10-05 Forecasting of abnormality for vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56158454A JPS5860275A (en) 1981-10-05 1981-10-05 Forecasting of abnormality for vending machine

Publications (2)

Publication Number Publication Date
JPS5860275A JPS5860275A (en) 1983-04-09
JPH0249474B2 true JPH0249474B2 (en) 1990-10-30

Family

ID=15672099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56158454A Granted JPS5860275A (en) 1981-10-05 1981-10-05 Forecasting of abnormality for vending machine

Country Status (1)

Country Link
JP (1) JPS5860275A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH074305Y2 (en) * 1991-09-03 1995-02-01 株式会社野口ハードウェアー Sliding door locking device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03182448A (en) * 1989-12-12 1991-08-08 Oki Unisys Kaisha Ltd Multiplex transport detecting device for paper strip and detecting method
JP2001250153A (en) * 2000-03-07 2001-09-14 Nippon Conlux Co Ltd Method and system for managing automatic vending machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5612882B2 (en) * 1974-02-25 1981-03-25

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5612882U (en) * 1979-07-10 1981-02-03

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5612882B2 (en) * 1974-02-25 1981-03-25

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH074305Y2 (en) * 1991-09-03 1995-02-01 株式会社野口ハードウェアー Sliding door locking device

Also Published As

Publication number Publication date
JPS5860275A (en) 1983-04-09

Similar Documents

Publication Publication Date Title
US4283708A (en) Paper currency acceptor
US4470496A (en) Control circuit for bill and coin changer
US4503963A (en) Control circuit for bill and coin changer
US4482058A (en) Control circuit for bill and coin changer
US4359147A (en) Means to control vending functions
GB2128006A (en) Control device for an automatic vending machine
US20040000572A1 (en) Ticket dispensing apparatus and method
JPH0249474B2 (en)
US20130328689A1 (en) Medium processor notifying when servicing is required
JP3410920B2 (en) Automatic change dispensing device
JP2001175936A (en) Vending machine controller, vending machine and vending machine managing device
JP2600058B2 (en) Amusement arcade electronic management system
US4499984A (en) Selective scrap metal collection apparatus
JPS6111155Y2 (en)
JP3255860B2 (en) Ice discharge control device for vending machine
JP2002208039A (en) Ticket machine
JP4036035B2 (en) Coin processing equipment
JP2725836B2 (en) Vending machine money storage management device
KR0169688B1 (en) Ticket selling device in article carrying-out error of can vending machine
JPS6132716B2 (en)
CA1185699A (en) Auto money handling device
JP2001155226A (en) Automatic vending machine
JPH0844941A (en) Repair period detecting device of unmanned rice polishing device
JPS5842913B2 (en) Banknote authenticity determination method
JPH0157838B2 (en)