JPH0342494Y2 - - Google Patents
Info
- Publication number
- JPH0342494Y2 JPH0342494Y2 JP3478981U JP3478981U JPH0342494Y2 JP H0342494 Y2 JPH0342494 Y2 JP H0342494Y2 JP 3478981 U JP3478981 U JP 3478981U JP 3478981 U JP3478981 U JP 3478981U JP H0342494 Y2 JPH0342494 Y2 JP H0342494Y2
- Authority
- JP
- Japan
- Prior art keywords
- level shifter
- microcomputer
- potential
- input
- auxiliary voltage
- 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
- 230000007423 decrease Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 2
Landscapes
- Retry When Errors Occur (AREA)
- Microcomputers (AREA)
- Electronic Switches (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Description
【考案の詳細な説明】
産業上の利用分野
本考案は自動販売機の販売制御装置に関するも
のである。[Detailed Description of the Invention] Industrial Application Field The present invention relates to a vending control device for a vending machine.
従来の技術
商品選択スイツチの操作をマイクロコンピユー
タで読み取つて商品払い出し動作を実行する自動
販売機の販売制御部は、第2図に示すように構成
されている。2. Description of the Related Art A vending control section of a vending machine, which executes a product dispensing operation by reading the operation of a product selection switch using a microcomputer, is configured as shown in FIG.
マイクロコンピユータのCPUチツプ1は、電
源端子2と基準電位3との間に印加された5ボル
トの駆動電源電圧で運転されている。商品選択ス
イツチ3は自動販売機の利用者が操作したときに
接点がメイク状態になるもので、商品選択スイツ
チ7の接点の接触不良の防止、ならびにノイズマ
ージンを稼ぐことなどを目的として、第2図に示
す端子6と基準電位3の間には、CPUチツプ1
の電源電圧の5ボルトよりも高い24ボルトの補助
電圧を印加し、端子6と基準電位3の間に抵抗5
と商品選択スイツチ7の直列回路を接続し、抵抗
5と商品選択スイツチ7の接続点Pがレベルシフ
タ4を介してCPUチツプ1の入力ポートINに接
続されている。 A CPU chip 1 of a microcomputer is operated with a driving power supply voltage of 5 volts applied between a power supply terminal 2 and a reference potential 3. When the product selection switch 3 is operated by a user of the vending machine, the contacts are set to the closed state, and the second CPU chip 1 is connected between terminal 6 and reference potential 3 shown in the figure.
Apply an auxiliary voltage of 24 volts higher than 5 volts of the supply voltage of , and connect a resistor 5 between terminal 6 and reference potential 3.
A series circuit of a resistor 5 and a product selection switch 7 is connected, and a connection point P between the resistor 5 and the product selection switch 7 is connected to an input port IN of the CPU chip 1 via a level shifter 4.
商品選択スイツチ7が操作されると、レベルシ
フタ4の入力が24ボルトから零ボルトに反転し、
CPUチツプ1の側から見たレベルシフタ4の出
力は“L”レベルから“H”レベルに反転する。
CPUチツプ1は入力ポートINのこの反転状態か
ら商品選択スイツチ7が操作されたと判定して、
販売処理を実行している。 When the product selection switch 7 is operated, the input of the level shifter 4 is reversed from 24 volts to 0 volts,
The output of the level shifter 4 seen from the side of the CPU chip 1 is inverted from the "L" level to the "H" level.
The CPU chip 1 determines that the product selection switch 7 has been operated from this inverted state of the input port IN, and
Executing sales processing.
なお、CPUチツプ1は前記5ボルトの駆動電
源電圧の立ち上がり時に誤動作しないように、こ
の5ボルトの駆動電源電圧が確実に立ち上がるま
ではCPUチツプ1のリセツト端子RSTを“H”
レベルに維持し、5ボルトの駆動電源電圧が安定
してからリセツト端子RSTを“L”レベルに戻
して、入力ポートINからの入力を受け付けるよ
うに構成されているのが一般的である。 In order to prevent the CPU chip 1 from malfunctioning when the 5-volt drive power supply voltage rises, the reset terminal RST of the CPU chip 1 is kept at "H" until the 5-volt drive power supply voltage rises reliably.
Generally, the configuration is such that the reset terminal RST is maintained at the "L" level after the drive power supply voltage of 5 volts is stabilized, and the input from the input port IN is accepted.
考案が解決しようとする課題
自動販売機の庫内において、前記補助電圧の24
ボルトの電源ラインは、商品払出装置の動力源を
駆動したり、その他の多くの負荷にも接続されて
それらの電源にも使用されているため、電源の質
が良好でない場合がほとんどである。Problem to be solved by the invention: In the interior of a vending machine, the auxiliary voltage of 24
Since the voltage power line drives the power source of the product dispensing device and is also connected to and used as a power source for many other loads, the quality of the power source is often poor.
特に問題となるのが、補助電圧の24ボルト系で
短絡事故が発生した場合である。具体的には、商
品払出装置の動力源に使用されているモータの内
の一つのモータのコイルがシヨートする事故の発
生頻度が高く、モータのコイルシヨート事故が発
生して補助電圧がダウンすると、実際には商品選
択スイツチ7が操作されていないにも係わらず、
レベルシフタ4の入力の電位が低下してレベルシ
フタ4の出力の状態が“H”レベルに反転し、
CPUチツプ1が商品選択スイツチ7が操作され
たと読み取つてしまう問題がある。 A particular problem is when a short circuit occurs in the 24-volt auxiliary voltage system. Specifically, there is a high frequency of accidents in which the coil of one of the motors used as the power source for the product dispensing device shoots out, and if a motor coil shoot accident occurs and the auxiliary voltage goes down, the actual Even though the product selection switch 7 was not operated,
The potential of the input of the level shifter 4 decreases, and the state of the output of the level shifter 4 is inverted to "H" level,
There is a problem in that the CPU chip 1 reads that the product selection switch 7 has been operated.
本考案は補助電圧がダウンした場合にも、マイ
クロコンピユータの誤つた読み取りを防止できる
販売制御装置を提供することを目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to provide a vending control device that can prevent erroneous readings by a microcomputer even when the auxiliary voltage is down.
課題を解決するための手段
本考案の自動販売機の販売制御装置は、商品選
択スイツチの操作をマイクロコンピユータで読み
取つて商品払い出し動作を実行する自動販売機に
おいて、入力が前記マイクロコンピユータの駆動
電源電圧よりも高い電圧値の補助電圧に引き上げ
られ、出力が前記マイクロコンピユータの入力ポ
ートに接続され、入力電位が第1の電位まで低下
したときに出力状態が反転する第1のレベルシフ
タと、第1のレベルシフタの入力と基準電位との
間に介装された商品選択スイツチと、入力が前記
の補助電圧に引き上げられ、出力が前記マイクロ
コンピユータのリセツト端子に接続され、入力電
位が第1の電位よりも高い第2の電位まで低下し
たときに出力状態が反転する第2のレベルシフタ
とを設けたことを特徴とする。Means for Solving the Problems The vending machine sales control device of the present invention is a vending machine in which a microcomputer reads the operation of a product selection switch and executes a product dispensing operation, and the input is the driving power supply voltage of the microcomputer. a first level shifter whose output is connected to an input port of the microcomputer, and whose output state is inverted when the input potential drops to the first potential; A product selection switch is interposed between the input of the level shifter and the reference potential, the input is pulled up to the auxiliary voltage, the output is connected to the reset terminal of the microcomputer, and the input potential is lower than the first potential. The present invention is characterized in that it includes a second level shifter whose output state is inverted when the potential decreases to a high second potential.
作 用
この構成によると、補助電圧が低下したときに
第1のレベルシフタよりも早期にレベルが反転す
る第2のレベルシフタによつて、マイクロコンピ
ユータによる第1のレベルシフタの出力状態の読
み取りを禁止する。Effect: According to this configuration, the second level shifter, which inverts its level earlier than the first level shifter when the auxiliary voltage decreases, prohibits the microcomputer from reading the output state of the first level shifter.
実施例
以下、本考案の一実施例を第1図に基づいて説
明する。なお、従来例を示す第2図と同様の作用
をなすものには、同一の符号を付けて説明する。Embodiment Hereinafter, an embodiment of the present invention will be described based on FIG. Components having the same functions as those in FIG. 2 showing the conventional example will be described with the same reference numerals.
第1図は本考案の自動販売機の販売制御装置を
示し、第2のレベルシフタ8が追加されている点
が第2図に示した従来のものと異なつている。 FIG. 1 shows a vending control device for a vending machine according to the present invention, which differs from the conventional device shown in FIG. 2 in that a second level shifter 8 is added.
第2のレベルシフタ8の入力は抵抗9を介して
補助電圧の24ボルトに接続され、第2のレベルシ
フタ8の出力はCPUチツプ1のリセツト端子
RSTに接続されている。 The input of the second level shifter 8 is connected to the auxiliary voltage 24 volts through a resistor 9, and the output of the second level shifter 8 is connected to the reset terminal of the CPU chip 1.
Connected to RST.
第1のレベルシフタ4の出力が“L”レベルか
ら“H”レベルに反転するときの第1のレベルシ
フタ4の入力の電位を第1電圧とすると、第2の
レベルシフタ8は補助電圧の24ボルトが前記の第
1電圧よりも高い第2電圧にまで低下した時点に
出力が反転して、CPUチツプ1のリセツト端子
RSTが“H”レベルになつて、CPUチツプ1が
リセツトされる。 If the potential of the input of the first level shifter 4 when the output of the first level shifter 4 is inverted from the "L" level to the "H" level is the first voltage, then the second level shifter 8 receives the auxiliary voltage of 24 volts. When the voltage drops to the second voltage, which is higher than the first voltage, the output is reversed and the reset terminal of CPU chip 1 is activated.
RST goes to "H" level and CPU chip 1 is reset.
したがつて、補助電圧の24ボルト系で短絡事故
が発生した場合であつても、CPUチツプ1が
“商品選択スイツチ7が操作された”と誤つた読
み取りを実施することがなく、信頼性が向上す
る。 Therefore, even if a short circuit occurs in the 24-volt auxiliary voltage system, CPU chip 1 will not incorrectly read that "product selection switch 7 has been operated," and reliability will be maintained. improves.
考案の効果
以上のように本考案によれば、マイクロコンピ
ユータの駆動電源電圧よりも高い補助電圧に入力
が引き上げられ、出力が前記マイクロコンピユー
タのリセツト端子に接続された第2のレベルシフ
タでマイクロコンピユータにリセツトをかけるよ
うに構成し、第2のレベルシフタの反転する電圧
を、マイクロコンピユータの入力ポートと商品選
択スイツチの間に接続された第1のレベルシフタ
が反転する第1の電位よりも高い第2の電位に設
定してあるため、補助電圧が低下したときに第1
のレベルシフタよりも早期に第2のレベルシフタ
の出力によつて、マイクロコンピユータによる第
1のレベルシフタの出力状態の読み取りを確実に
禁止することができ、自動販売機の販売制御装置
の信頼性が向上する。Effects of the invention As described above, according to the invention, the input is pulled up to an auxiliary voltage higher than the driving power supply voltage of the microcomputer, and the output is connected to the microcomputer by the second level shifter connected to the reset terminal of the microcomputer. The first level shifter connected between the input port of the microcomputer and the product selection switch has a second potential higher than the first potential to be inverted. Since it is set to the potential, when the auxiliary voltage decreases, the first
By outputting the second level shifter earlier than the level shifter, it is possible to reliably prohibit the microcomputer from reading the output state of the first level shifter, improving the reliability of the vending control device of the vending machine. .
第1図は本考案の自動販売機の販売制御装置の
一実施例の構成図、第2図は従来の自動販売機の
販売制御装置の構成図である。
1……CPUチツプ、2……CPUチツプの電源
端子、4……第1のレベルシフタ、6……補助電
圧端子、7……商品選択スイツチ、8……第2の
レベルシフタ。
FIG. 1 is a block diagram of an embodiment of a vending machine sales control device of the present invention, and FIG. 2 is a block diagram of a conventional vending machine vending control device. 1...CPU chip, 2...CPU chip power supply terminal, 4...First level shifter, 6...Auxiliary voltage terminal, 7...Product selection switch, 8...Second level shifter.
Claims (1)
タで読み取つて商品払い出し動作を実行する自動
販売機において、入力が前記マイクロコンピユー
タの駆動電源電圧よりも高い電圧値の補助電圧に
引き上げられ、出力が前記マイクロコンピユータ
の入力ポートに接続され、入力電位が第1の電位
まで低下したときに出力状態が反転する第1のレ
ベルシフタと、第1のレベルシフタの入力と基準
電位との間に介装された商品選択スイツチと、入
力が前記の補助電圧に引き上げられ、出力が前記
マイクロコンピユータのリセツト端子に接続さ
れ、入力電位が第1の電位よりも高い第2の電位
まで低下したときに出力状態が反転する第2のレ
ベルシフタとを設け、補助電圧が低下したときに
第2のレベルシフタでマイクロコンピユータによ
る第1のレベルシフタの出力状態の読み取りを禁
止する自動販売機の販売制御装置。 In a vending machine in which a microcomputer reads the operation of a product selection switch and executes a product dispensing operation, the input is raised to an auxiliary voltage higher than the drive power supply voltage of the microcomputer, and the output is raised to an auxiliary voltage that is higher than the drive power supply voltage of the microcomputer. a first level shifter connected to the port and whose output state is inverted when the input potential drops to the first potential; a product selection switch interposed between the input of the first level shifter and a reference potential; a second level shifter whose input is pulled up to said auxiliary voltage, whose output is connected to a reset terminal of said microcomputer, and whose output state is reversed when the input potential drops to a second potential higher than the first potential; A vending control device for a vending machine, wherein the second level shifter prohibits a microcomputer from reading the output state of the first level shifter when the auxiliary voltage decreases.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3478981U JPH0342494Y2 (en) | 1981-03-11 | 1981-03-11 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3478981U JPH0342494Y2 (en) | 1981-03-11 | 1981-03-11 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57148230U JPS57148230U (en) | 1982-09-17 |
| JPH0342494Y2 true JPH0342494Y2 (en) | 1991-09-05 |
Family
ID=29832083
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3478981U Expired JPH0342494Y2 (en) | 1981-03-11 | 1981-03-11 |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0342494Y2 (en) |
-
1981
- 1981-03-11 JP JP3478981U patent/JPH0342494Y2/ja not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57148230U (en) | 1982-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0351002B2 (en) | ||
| JPH0342494Y2 (en) | ||
| KR940005840B1 (en) | Key control method of cassette tape recorder and apparatus therefor | |
| JPS6432302A (en) | Controller for air conditioner | |
| KR880002982Y1 (en) | Floppy disk driver | |
| JPH0723770Y2 (en) | Camera control device | |
| JPS594337Y2 (en) | Program automatic switching device | |
| JPS594321Y2 (en) | manual operation device | |
| JPH033263A (en) | Semiconductor integrated circuit | |
| KR850001704Y1 (en) | Universal Timer for Elevator | |
| JPS5819321U (en) | load control device | |
| JPH0650747Y2 (en) | Torque sensor | |
| JPH03276382A (en) | Terminal equipment for portable type semiconductor memory device | |
| JPS6325916Y2 (en) | ||
| JPS59111218A (en) | Power source on/off control circuit | |
| JPS60184143U (en) | Microcomputer automatic return device | |
| JPS60173639A (en) | Interface circuit | |
| JPS60189037A (en) | Special unit of programmable controller | |
| JPH03152486A (en) | Semiconductor integrated apparatus | |
| JPH0518463B2 (en) | ||
| JPH04359692A (en) | Motor lock detection circuit | |
| JPS59728A (en) | Switching system | |
| JPH0744523A (en) | OTP microcomputer | |
| JPS5839343A (en) | Initial starting device for plural systems | |
| JPS59176970U (en) | Contact input/output circuit |