JPS5884326A - Processing system of service interruption for vending machine - Google Patents

Processing system of service interruption for vending machine

Info

Publication number
JPS5884326A
JPS5884326A JP56182446A JP18244681A JPS5884326A JP S5884326 A JPS5884326 A JP S5884326A JP 56182446 A JP56182446 A JP 56182446A JP 18244681 A JP18244681 A JP 18244681A JP S5884326 A JPS5884326 A JP S5884326A
Authority
JP
Japan
Prior art keywords
power
power supply
microcomputer
supply device
vending machine
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.)
Pending
Application number
JP56182446A
Other languages
Japanese (ja)
Inventor
Kazuo Fukui
一夫 福井
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Fuji Electric Manufacturing 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 Fuji Electric Co Ltd, Fuji Electric Manufacturing Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP56182446A priority Critical patent/JPS5884326A/en
Publication of JPS5884326A publication Critical patent/JPS5884326A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations

Abstract

PURPOSE:To secure the electric power necessary for a microcomputer and at the same time to reduce capacitance of a power supply, by connecting the loads of the devices except the microcomputer to a power supply device via a switch means and cutting off automatically the above-mentioned loads with said switch means when the service is interrupted. CONSTITUTION:In case the service is interrupted at a time point tS, the voltage of a power supply 1 drops less than a prescribed level. This voltage drop is informed to a microcomputer 3 via a Zener diode 13, transistors TR16 and TR4, and an amplifier 19. The supply of power is prevented to a load having a large amount of power consumption as soon as the TR4 is turned off. Thus the voltage drop of the power supply 1 becomes slow. As a result, the output voltage of a constant voltage controlling element 2 is kept at a prescribed level and then applied to a terminal 3-1 of the computer 3. In such way, the computer 3 can reserve the memory contents and perform the prescribed processes in the service interruption mode in an assured way and on the basis of the service interruption detecting signal of the TR16.

Description

【発明の詳細な説明】 この発明は、マイクロコンピュータを備えた自動販売機
における停電処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a power outage processing method in a vending machine equipped with a microcomputer.

販売動作制御用のマイクロコンビュ・−タ(以下マイコ
ンという)を備えた自動販売機において、該マイコンは
、商用交流電源と接続された整流回路 を備えた電源装
置から直流電力が供給されるようになっている。そして
、従来、この種の自動販売機においては、リレー・やラ
ンプ等のある程度のパワーを消費する負荷が販売制御に
関するスイッチ等を介して、上記電源装置の出力端子に
接続されていた。したがって、上述のスイッチ等がオン
となっている状態において、商用電源が停電すると、電
源装置の出力電力は、パワー負荷に消費されて、該電源
装置の出力電圧は短時間でマイコンの動作電圧以下に低
下してしまう。
In a vending machine equipped with a microcomputer (hereinafter referred to as a microcomputer) for controlling vending operations, the microcomputer is configured to receive DC power from a power supply device equipped with a rectifier circuit connected to a commercial AC power supply. It has become. Conventionally, in this type of vending machine, loads such as relays and lamps that consume a certain amount of power have been connected to the output terminal of the power supply device via a switch or the like related to vending control. Therefore, if there is a power outage in the commercial power supply while the above-mentioned switches are on, the output power of the power supply will be consumed by the power load, and the output voltage of the power supply will drop below the operating voltage of the microcontroller in a short period of time. It will drop to .

一方、この種の自動販売機において、マイコンが停電を
検出するのに、10nH(ミリ秒)乃至20 ms 程
、および、当該マイコンのRAMに記憶されたデータの
保存等、所定の処理動作をおこなうのに、20m5乃至
50m5程の時間を要する。したがって、停電後、上記
電源装置から、少なくとも59m5程の時間、マイコン
に所定の電力を供給する必要がある。
On the other hand, in this type of vending machine, the microcomputer takes about 10 nH (milliseconds) to 20 ms to detect a power outage and performs predetermined processing operations such as saving data stored in the microcomputer's RAM. However, it takes about 20m5 to 50m5. Therefore, after a power outage, it is necessary to supply a predetermined amount of power to the microcomputer from the power supply device for at least 59 m5.

しかるに、上述のように従来の自動販売機においては、
停電後、短時間で電源装置に残存している電力が、パワ
ー負荷によって消費されてしまい、よって、電源装置か
らマイコンに所定の電力が供給されず、停電時の所定の
処理動作をおこなうことができないため、当該自動販売
機が誤動作するという欠点があった。
However, as mentioned above, in conventional vending machines,
After a power outage, the power remaining in the power supply will be consumed by the power load in a short period of time, and as a result, the power supply will not be able to supply the specified amount of power to the microcontroller, making it impossible to perform the specified processing operations at the time of the power outage. This has the disadvantage that the vending machine may malfunction.

上記問題点に対して、大匙な容量の電解コンデンサを用
いて電源装置の電気容量を大きなものにすることも考え
られるが、この場合には、電・係装置が大型なものとな
り、かつ、その製作コストが高価となるという問題があ
る。
To solve the above problem, it is possible to increase the capacitance of the power supply by using an electrolytic capacitor with a large capacity, but in this case, the power supply and related equipment will be large and, There is a problem in that the production cost is high.

この発明は、上記問題点を解決するためになされたもの
で、マイコンを備えた自動販売機の電源装置に、スイッ
チ手段を介して、マイコン以外の当該自動販売機の種々
の負荷を接続し、停電時に、該スイッチ手段をオフさせ
て、上記負荷を電源装置から遮断し、該電源装置の残存
電力の消費を抑制して、マイコンに所定の処理動作をお
こなうに必要な電力を確実に供給できるようにして、電
源装置に要求される電気容量を低減化し、電源装置の小
型化かつその製作コストの低廉化を図ることができると
ともに、当該自動販売機の動作の信頼性を高いものにす
ることができる自動販売機における停電処理方式を提供
することを目的とする。
The present invention was made to solve the above problems, and includes connecting various loads of the vending machine other than the microcomputer to the power supply device of the vending machine equipped with the microcomputer via a switch means. In the event of a power outage, the switch means is turned off to cut off the load from the power supply, suppressing the consumption of remaining power in the power supply, and ensuring that the microcomputer is supplied with the power necessary to perform predetermined processing operations. In this way, the electric capacity required of the power supply device can be reduced, the power supply device can be made smaller and its manufacturing cost can be reduced, and the reliability of the operation of the vending machine can be increased. The purpose is to provide a power outage handling method for vending machines that can handle power outages.

以下に、この発明の停電処理方式の一実施例を、添付図
面とともに説明する。
An embodiment of the power outage processing method of the present invention will be described below with reference to the accompanying drawings.

第1図において、1は自動販売機用の電源装置で、この
電源装置1は、図示しない商用交流電源と接続され、該
商用交流電源から給電された交流を、公知の方法で整流
して所定の直流電圧、たとえば゛、10vを出力端子1
−1に出力するようになっている。
In FIG. 1, reference numeral 1 denotes a power supply device for a vending machine. This power supply device 1 is connected to a commercial AC power supply (not shown), and rectifies the AC supplied from the commercial AC power supply using a known method to provide a predetermined amount of power. DC voltage, for example 10V, is output to output terminal 1
-1 is output.

上記電源装置1の出力端子1−1は、たとえば、3端子
型電圧制御モジユール(テキサスインスイルメント社製
のUA7805C)等を用いた、定成圧制御素子2を介
して、マイクロコンピュータ(以下マイコンという)3
の電源端子3−1と接続している。この電源端子3−1
には、たとえば、5■の直流電圧が印加されるようにな
っている。
The output terminal 1-1 of the power supply device 1 is connected to a microcomputer (hereinafter referred to as a microcomputer) via a constant pressure control element 2 using, for example, a three-terminal voltage control module (UA7805C manufactured by Texas Instruments). )3
It is connected to the power supply terminal 3-1. This power terminal 3-1
For example, a DC voltage of 5 μm is applied to.

また、上記電源装置1の出力端子1−1には、停電時に
オフとされるスイッチング用の電力トランジスタ4を介
して、売切れ表示用のリレー(図示しない)の常閉接点
5−1.商品選択用の押ボタンスイッチ6、および、イ
ンバータ7にて成る直列回路が接続されるとともに、こ
のインノく一タフの出力端子は、上記マイコン3の入力
端子3−2に接続されている。さらに、上記トランジス
タ4のコレクタには、直列に、上記売切れ表示用の、リ
レーの常開接点5−2と、売切れ表示用のランプ8とが
接続され、該ランプ8の他方の端子が接地されている。
Further, the output terminal 1-1 of the power supply device 1 is connected to a normally closed contact 5-1 of a sold-out display relay (not shown) via a switching power transistor 4 that is turned off in the event of a power outage. A series circuit consisting of a push button switch 6 for product selection and an inverter 7 is connected, and the output terminal of this Inno-Kuichi Tough is connected to the input terminal 3-2 of the microcomputer 3. Further, the collector of the transistor 4 is connected in series with the normally open contact 5-2 of the relay for indicating sold out and a lamp 8 for indicating sold out, and the other terminal of the lamp 8 is grounded. ing.

上記売切れ表示用のリレーと商品選択用の押ボタンスイ
ッチ6と表示ランプ8とは、当該自動販売機における各
商品コラムに対応して設けられているものである。たと
えば、゛商品コ?ム数が「5」であれば、5組の上記リ
レー、スイッチ6、ランプ8が設けられる。
The sold-out display relay, product selection pushbutton switch 6, and display lamp 8 are provided corresponding to each product column in the vending machine. For example, ゛Product? If the number of systems is "5", five sets of the above-mentioned relays, switches 6, and lamps 8 are provided.

さらに、上記トランジスタ4のコレクタには、たとえば
、販売可能であると自動作するノ(ワーリレー27の一
方の端子が接続されている。このリレー27は、マイコ
ンとは独立して動作するリレーの一例であり、そのリレ
ー27の他方の端子はインバータ26と接続され、該イ
ンバータ26は、゛たとえば、硬貨検出装置の接点20
に応動して作動するフォトカプラ24のフォトトランジ
スタ24aと接続されている。
Furthermore, one terminal of a power relay 27 is connected to the collector of the transistor 4, for example, which is automatically manufactured when it is available for sale.This relay 27 is an example of a relay that operates independently of the microcomputer. The other terminal of the relay 27 is connected to an inverter 26, and the inverter 26 is connected to the contact 20 of the coin detection device, for example.
The phototransistor 24a of the photocoupler 24 is connected to the phototransistor 24a of the photocoupler 24, which operates in response to.

また、上記トランジスタ4のコレクタには、販売動作時
に作動するパワーリレー29の一方の端子が接続されて
いる。このパワーリレー29は、マイコン3の出力の一
例であり、そのリレー29の他方の端子は、インバータ
28を介してマイコン3の出力ポート3−5と接続され
ている。
Furthermore, one terminal of a power relay 29 that is activated during a sales operation is connected to the collector of the transistor 4. This power relay 29 is an example of the output of the microcomputer 3, and the other terminal of the relay 29 is connected to the output port 3-5 of the microcomputer 3 via the inverter 28.

上記したランプ8、リレー27.29は、−例であって
、その他種々のパワーリレー、ランプ等(図示しない)
が、上記トランジスタ4のコレクタに接続されている。
The lamp 8 and relays 27 and 29 described above are examples, and various other power relays, lamps, etc. (not shown)
is connected to the collector of the transistor 4.

11は、上記商用交流電源から電源装置への給電が停止
したかどうかを検出する停電検出回路である。この停電
検出回路11は、上記・電源装置1の出力端子1−1に
、直列に抵抗12とツェナーダイオード13と抵抗14
とを接続して、該抵抗14の一方の端子を接地するとと
も書こ、該出力端子1−1に、抵抗15を介して、エミ
ッタ接地したトランジスタ16のコレクタを接続し、か
つ、上記ツェナーダイオード13と抵抗14との接続点
17を上記トランジスタ16のペースに接続して構成し
たものである。そして、この停電検出回路11における
トランジスタ16のコレクタは、抵抗18を介して、上
記トランジスタ40ベースと接続するととも番こ、増幅
器19を介して、上記マイコン3の入力端子3−3と接
続している。
Reference numeral 11 denotes a power outage detection circuit that detects whether or not the power supply from the commercial AC power source to the power supply device has stopped. This power failure detection circuit 11 includes a resistor 12, a Zener diode 13, and a resistor 14 connected in series to the output terminal 1-1 of the power supply device 1.
The collector of the transistor 16 whose emitter is grounded is connected to the output terminal 1-1 via the resistor 15, and the Zener diode 13 is connected to the output terminal 1-1. A connection point 17 between the transistor 16 and the resistor 14 is connected to the base of the transistor 16. The collector of the transistor 16 in this power failure detection circuit 11 is connected to the base of the transistor 40 through a resistor 18, and is connected to the input terminal 3-3 of the microcomputer 3 through an amplifier 19. There is.

上記停電検出回路11において、ツェナーダイオード1
3のツェナー電圧は、電源装置1の出力電圧10■に対
して、たとえば、8vに設定され、該電源装置1に接続
された商用交流電源が停電した際、該電源装置1の出力
電圧が8v以下に低下すると、ツェナーダイオード13
から抵抗14への通電が遮断されて、トランジスタ16
のベース電位が零とされ、綾トランジスタ16はオフと
なり、トランジスタ4がオフとされるようになっている
In the power failure detection circuit 11, the Zener diode 1
The Zener voltage of No. 3 is set, for example, to 8 V with respect to the output voltage 10 of the power supply 1, and when the commercial AC power supply connected to the power supply 1 has a power outage, the output voltage of the power supply 1 is set to 8 V. If it drops below, the Zener diode 13
The current flow to the resistor 14 is cut off, and the transistor 16
The base potential of is set to zero, the tether transistor 16 is turned off, and the transistor 4 is turned off.

上記のように構成した装置において、商用交流電源から
電源装置1に正常に給電されていると、該電源装置1の
出力端子1−1からは所定の直流電圧10Vが出力され
、ツェナーダイオード13が導通状態とされて、トラン
ジスタ16がオンとされ、したがって、トランジスタ4
もオンとされ、各リレー27.29、接点5−1.5−
2に給電する状態とされる。
In the device configured as described above, when power is normally supplied to the power supply device 1 from the commercial AC power source, a predetermined DC voltage of 10 V is output from the output terminal 1-1 of the power supply device 1, and the Zener diode 13 is conductive state, transistor 16 is turned on, thus transistor 4
are also turned on, each relay 27.29, contact 5-1.5-
The state is such that power is supplied to 2.

一方、電源装置1の出力電圧は、定電圧制御素子2に印
加され、該定電圧制御素子2からは、5■の直流電圧が
出力される。
On the other hand, the output voltage of the power supply device 1 is applied to the constant voltage control element 2, and the constant voltage control element 2 outputs a DC voltage of 5cm.

いま、上記スイッチ20が閉とされ、即ち、当該自動販
売機に所定の硬貨の投入されたことが検知されると、発
光ダイオード22はオンとされて発光し、フォトトラン
ジスタ24は、該発光ダイオード22からの光を受けて
オンとされ、該フォトトランジスタ24のコレクタはロ
ーレベルとさt’L、6゜このローレベル信号は、マイ
コン3の入力端子3−4に印加されて、所定の硬貨投入
があったことをマイコン3に知らせる。一方、上記ロー
レベル信号は、インバータ26を介して反転されてリレ
ー27のインバータ側の端子をハイレベルとし、該リレ
ー27は、上記電源装置1からトランジスタ4を介して
給電されてオンとされ、したがって、電源装置1から該
トランジスタ4、該り゛シー2フの図示しない各接点を
介して、各販売可能状態表示用のランプ(図示しない)
を点灯し、商品の販売可能状態であることを表示するよ
うになっている。
Now, when the switch 20 is closed, that is, when it is detected that a predetermined coin has been inserted into the vending machine, the light emitting diode 22 is turned on and emits light, and the phototransistor 24 turns on the light emitting diode. 22, the collector of the phototransistor 24 becomes low level t'L, 6°. This low level signal is applied to the input terminal 3-4 of the microcomputer 3, and a predetermined coin is output. Informs the microcomputer 3 that there has been an input. On the other hand, the low level signal is inverted via the inverter 26 to set the inverter side terminal of the relay 27 to a high level, and the relay 27 is turned on by being supplied with power from the power supply device 1 via the transistor 4, Therefore, each lamp (not shown) for displaying the sales ready state is connected from the power supply 1 to the transistor 4 and through the contacts (not shown) of the service 2.
lights up to indicate that the product is ready for sale.

その後、当該自動販売機のパネル(図示しない)に設け
られた商品選択用の押ボタンスイッチ(図示しない)が
押圧されて、マイコン3の出力端子3−5から、商品放
出指令を示すハイレベル信号が出力されると、このハイ
レベル信号は、インバータ28を介して反転されて、販
売リレー29に印加され、該販売リレー29の他力の端
子29−2はローレベルとされる。よって、この販売リ
レー29は、電源装置1からトランジスタ4を介して給
電されてオンとされ、この販売リレー29の接点(図示
しない)を閉じて、該接点に接続された商品放出用のン
レノイドは、上記電源装置から給電されてオンとされ、
上述した商品選択用の押ボタンスイッチに対応した商品
が放出されるようになっている。
Thereafter, a product selection pushbutton switch (not shown) provided on the panel (not shown) of the vending machine is pressed, and a high-level signal indicating a product release command is sent from the output terminal 3-5 of the microcomputer 3. When output, this high level signal is inverted via the inverter 28 and applied to the sales relay 29, and the other power terminal 29-2 of the sales relay 29 is set to a low level. Therefore, this sales relay 29 is turned on by being supplied with power from the power supply device 1 via the transistor 4, and the contact point (not shown) of this sales relay 29 is closed, and the renoid for product release connected to the contact point is turned on. , is supplied with power from the above power supply device and turned on,
Products corresponding to the above-mentioned product selection push button switches are released.

いま、当該自動販売機用の商用交流電源が停電したとす
る。この時点を、第2図中、ts  で示す。
Suppose that the commercial AC power supply for the vending machine has experienced a power outage. This point in time is indicated by ts in FIG.

停電したことに応じて、電源装置1の出力電圧が所定の
IOVより低下して、ツェナーダイオード13のツェナ
ー電圧、たとえば、8vより低くなると、該ツェナーダ
イオード13はカットオフされ、トランジスタ16のペ
ース電位も零とされ、該トランジスタ16がオフとされ
る。よって、トランジスタ4がオフとされるとともに、
トランジスタ16のコレクタ電圧は、増幅器19を介し
てマイコン3の入力端子3−3に印加され、このマイコ
ン3に、停電状態となったことを知らせる。
In response to a power outage, when the output voltage of the power supply device 1 drops below a predetermined IOV and becomes lower than the Zener voltage of the Zener diode 13, for example, 8V, the Zener diode 13 is cut off and the pace potential of the transistor 16 decreases. is set to zero, and the transistor 16 is turned off. Therefore, the transistor 4 is turned off, and
The collector voltage of the transistor 16 is applied to the input terminal 3-3 of the microcomputer 3 via the amplifier 19 to notify the microcomputer 3 that a power outage has occurred.

この時点を、第2図中、【dで示す。This point is indicated by [d] in FIG.

上記トランジスタ4がオフとされると同時に、該トラン
ジスタ4のコレクタに接続された比較的消費電力の大き
い負荷、即ち、販売可能状態表示用の上述したパワーリ
レー27、該リレー27の図示しない接点に接続された
表示ランプ(図示しない)、販売動作用のパワーリレー
28、売切れ表示用のランプ8、売切れ表示用のリレー
(接点5−1.5−2の゛みを図示する)等への給電が
阻止される。
At the same time when the transistor 4 is turned off, the load connected to the collector of the transistor 4 with relatively large power consumption, that is, the above-mentioned power relay 27 for displaying the sales ready state, and the unillustrated contacts of the relay 27 are connected to the collector of the transistor 4. Power supply to connected display lamps (not shown), power relay 28 for sales operation, lamp 8 for sold-out indication, relay for sold-out indication (contacts 5-1, 5-2 are shown), etc. is prevented.

この結果、時点td において、たとえ、上述の種々の
負荷のうち、いずれかが作動状態であったとしても、上
記電源装置1からこれ等の負荷への給電が阻止される。
As a result, even if any of the various loads described above are in operation at time td, power supply from the power supply device 1 to these loads is blocked.

よって、該電源装置1の出力電圧の低下は、第2図(1
)に示すように、非常に緩やかなものとなる。したがっ
て、定電圧制御素子2の出力電圧は、第2図Φ)に示す
ように、時点【d以降、Txの時間、所定の5vに維持
され、このTx待時間電圧5■がマイコン3の電源端子
3−1に印加される゛。よって、マイコシ3は、上記ト
ランジスタ16のコレクタからの停電検知信号にもとづ
き、該マイコン以外のRAMとかシフトレジスタ等の電
子式メモリ(図示しない)に記憶されたデータの保存化
等、停電時の所定の処理動作を確実におこなうことがで
きる。
Therefore, the decrease in the output voltage of the power supply device 1 is as shown in FIG.
), it becomes very gradual. Therefore, as shown in FIG. Applied to terminal 3-1. Therefore, based on the power failure detection signal from the collector of the transistor 16, the microcontroller 3 performs predetermined operations in the event of a power outage, such as saving data stored in a RAM other than the microcontroller or an electronic memory (not shown) such as a shift register. processing operations can be performed reliably.

上記商用交流電源の停電が回復して、電源装置1の出力
端子1−1の電圧が、10■程に回復すると、ツェナー
ダイオード13から抵抗14に再び通電され、接続点1
7はハイレベルとなり、したがってトランジスタ16は
再びオンとされる。
When the above-mentioned power outage of the commercial AC power supply is restored and the voltage at the output terminal 1-1 of the power supply device 1 is restored to about 10cm, the resistor 14 is energized again from the Zener diode 13, and the connection point 1
7 goes high, so transistor 16 is turned on again.

よって、該トランジスタ16のコレクタは、ローレベル
とされて、このローレベル信号は、トランジスタ4のベ
ースに印加され、該トランジスタ4はオンとされて、上
述の負荷への給電可能状態に復帰する。また、上記ロー
レベル信号は、増幅器19を介して、マイコン3の入力
端子3−3に印加され、゛〜停電状態が解除されたこと
を知らせ、以降、該マイコン3は、所定の自動販売制御
動作をおこなう。
Therefore, the collector of the transistor 16 is set to a low level, and this low level signal is applied to the base of the transistor 4, and the transistor 4 is turned on, returning to the above-described state in which power can be supplied to the load. Further, the low level signal is applied to the input terminal 3-3 of the microcomputer 3 via the amplifier 19, informing that the power outage has been canceled, and thereafter the microcomputer 3 performs predetermined automatic vending control. Perform the action.

なお、上記実施例においては、停電検出回路11は、電
源装置1と定電圧制御素子2との間に介装′したもので
あるが、これに代えて、定電圧制御素子2とマイコン3
との間に介装し、かつ、その回路11のツェナーダイオ
ード13のツェナー電圧を、定電圧制御素子2の出力電
圧5■に応して、適宜に、たとえば、3■程に設定する
ことによ、す、電源装置lが停電状態となったことを検
出するようにしてもよい。
In the above embodiment, the power failure detection circuit 11 is interposed between the power supply device 1 and the constant voltage control element 2, but instead of this, the power failure detection circuit 11 is interposed between the constant voltage control element 2 and the microcomputer 3.
and the Zener voltage of the Zener diode 13 of the circuit 11 is set appropriately, for example, to about 3■, depending on the output voltage 5■ of the constant voltage control element 2. Yes, it may be possible to detect that the power supply device I has entered a power outage state.

以上に詳述したように、この発明によれば、マイコンを
備えた自動販売機の電源装置の停電を検出する停電検出
手段を設けるとともに、該電源装置とマイコン以外の比
較的消費電力の大きいリレーとかランプ等の負荷との間
に、スイッチ手段を介装し、停電時に、上記スイッチ手
段をオフにして;マイコン以外の負荷を電源装置から自
動的に遮断するようにしたから、停電した時から以後、
電源装置の出力が上述のパワー負荷で消費されるのを阻
止して、該電源装置からマイコンに所定の電力を確実に
供給し、該マイコンにより停電時の処理動作を確実にお
こなうことができ、当該自動販売機の誤動作を防止して
信頼性の高いものとすることができる。
As described in detail above, according to the present invention, a power outage detection means is provided for detecting a power outage in a power supply device of a vending machine equipped with a microcomputer, and a relay with a relatively large power consumption other than the power supply device and the microcomputer is provided. A switch means is interposed between the load such as a lamp or a lamp, and in the event of a power outage, the switch means is turned off; loads other than the microcomputer are automatically cut off from the power supply, so that from the time of a power outage, the switch means is turned off. From then on,
It is possible to prevent the output of the power supply device from being consumed by the above-mentioned power load, to reliably supply a predetermined amount of power from the power supply device to the microcomputer, and to ensure that the microcomputer can perform processing operations during a power outage; Malfunctions of the vending machine can be prevented and reliability can be increased.

また、停電した時以後、電源装置に残存の電力が、上記
スイッチ手段の遮断作用により、上記負荷で消費される
のを阻止することができ、したがって、該電源装置に要
求される電気容量の低減化を図ることができ、それだけ
、該電源装置の小型化およびその製作コストの低廉化を
図ることができる優れた利点がある。
Further, after a power outage, the power remaining in the power supply device can be prevented from being consumed by the load due to the cutoff action of the switch means, thus reducing the electric capacity required of the power supply device. This has the advantage that the power supply device can be made smaller and its manufacturing cost can be reduced accordingly.

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

第1図は、この発明に係る停電処理方式を適用できる自
動販売機の一例の電気回路図、第2図は、第1図の自動
販売機の構成部分の出力電圧特性を示す図である。 1・・・電源装置、2・・・電圧制御素子、3・・・マ
イクロコ/ビュー゛夕(マイコン)、4・・・スイッチ
ング用の電力トランジスタ、8・・・売切れ表示用のラ
ンプ、11・・・停電検出回路、13・・・ツェナーダ
イオード、27・・・販売可能状態表示用のパワーリレ
ー、29・・・販売動作用のパワーリレー、ts  ・
・・停電時点、【d・・・停電検知時点、Tx・・・電
源装置の出力維持期間。
FIG. 1 is an electric circuit diagram of an example of a vending machine to which the power outage processing method according to the present invention can be applied, and FIG. 2 is a diagram showing output voltage characteristics of the components of the vending machine of FIG. 1. DESCRIPTION OF SYMBOLS 1... Power supply device, 2... Voltage control element, 3... Microcomputer/viewer (microcomputer), 4... Power transistor for switching, 8... Lamp for displaying sold out, 11 ... Power failure detection circuit, 13... Zener diode, 27... Power relay for displaying sales ready status, 29... Power relay for sales operation, ts
... Time of power outage, [d... Time of power failure detection, Tx... Output maintenance period of the power supply device.

Claims (1)

【特許請求の範囲】[Claims] (1)商用交流電源に接続され、販売動作制御用のマイ
クロコンピュータに給電する電源装置を有する自動販売
機において、停電検出手段を設けるとともに、該停電検
出手段の出力にもとづきオフとなるスイッチ手段を、当
該自動販売機のマイクロコンピュータ以外の種々のラン
プおよびリレー等の負荷と、上記電源装置との間に介装
し、商用交流電源が停電したと蛭、上記スイッチ手段を
オフさせることによって上記種々の負荷を電源装置から
遮断する一方、該電源装置の電力を、マイクロコンピュ
ータに供給するよう・こしたことを特徴とする自動販売
機における停電処理方式。
(1) A vending machine that is connected to a commercial AC power source and has a power supply device that supplies power to a microcomputer for controlling vending operations is provided with a power failure detection means and a switch means that turns off based on the output of the power failure detection means. , it is interposed between the power supply device and various loads such as lamps and relays other than the microcomputer of the vending machine, and when the commercial AC power supply fails, the switch means is turned off. 1. A power outage handling method for a vending machine, characterized in that a load from the power supply device is cut off from the power supply device, while power from the power supply device is supplied to a microcomputer.
JP56182446A 1981-11-13 1981-11-13 Processing system of service interruption for vending machine Pending JPS5884326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56182446A JPS5884326A (en) 1981-11-13 1981-11-13 Processing system of service interruption for vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56182446A JPS5884326A (en) 1981-11-13 1981-11-13 Processing system of service interruption for vending machine

Publications (1)

Publication Number Publication Date
JPS5884326A true JPS5884326A (en) 1983-05-20

Family

ID=16118400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56182446A Pending JPS5884326A (en) 1981-11-13 1981-11-13 Processing system of service interruption for vending machine

Country Status (1)

Country Link
JP (1) JPS5884326A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6192124A (en) * 1984-10-08 1986-05-10 松下電器産業株式会社 Reset circuit
FR2586311A1 (en) * 1985-08-17 1987-02-20 Bosch Gmbh Robert CIRCUIT DEVICE COMPRISING A MICROCALCULATOR AND A SEMICONDUCTOR MEMORY IN DATA EXCHANGE WITH THIS MICROCALCULATOR, PARTICULARLY FOR MOTOR VEHICLES
JPH01106928U (en) * 1988-01-05 1989-07-19
JPH02121193A (en) * 1988-10-28 1990-05-09 Matsushita Electric Ind Co Ltd Write controller for nonvolatile memory
JPH0277734U (en) * 1988-12-01 1990-06-14

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS562289U (en) * 1979-06-20 1981-01-10

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS562289U (en) * 1979-06-20 1981-01-10

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6192124A (en) * 1984-10-08 1986-05-10 松下電器産業株式会社 Reset circuit
FR2586311A1 (en) * 1985-08-17 1987-02-20 Bosch Gmbh Robert CIRCUIT DEVICE COMPRISING A MICROCALCULATOR AND A SEMICONDUCTOR MEMORY IN DATA EXCHANGE WITH THIS MICROCALCULATOR, PARTICULARLY FOR MOTOR VEHICLES
JPH01106928U (en) * 1988-01-05 1989-07-19
JPH02121193A (en) * 1988-10-28 1990-05-09 Matsushita Electric Ind Co Ltd Write controller for nonvolatile memory
JPH0277734U (en) * 1988-12-01 1990-06-14
JP2536046Y2 (en) * 1988-12-01 1997-05-21 株式会社キーエンス Power supply circuit of programmable controller

Similar Documents

Publication Publication Date Title
KR100723240B1 (en) Low voltage alarm method, low voltage alarm circuit, and swithcing power source apparatus
US20030111911A1 (en) Power control circuit with power-off time delay control for microprocessor-based system
US4628431A (en) Power supply on/off switching with inrush limiting
JPS5884326A (en) Processing system of service interruption for vending machine
CA2013296C (en) Memory drive device and method
US5804891A (en) Battery saving switching mechanism
JPS61156693A (en) Emergency lamp monitor circuit
CN111224462A (en) Dual-power automatic transfer switch device and control method thereof
JPH02301812A (en) Programmable controller
JPS6230442B2 (en)
JP4165529B2 (en) Control device and control system using the same, lighting control system, and clinic control system
JPH04303594A (en) Inverter control system
JP3611071B2 (en) Sales control device for vending machines mounted on vehicles
JP2002165437A (en) Power supply monitor and control circuit
JPS61141059A (en) Terminal equipment
JPH0312032Y2 (en)
JP2788110B2 (en) Temperature abnormal stop device
JP2931654B2 (en) Air conditioner
JPH0218655Y2 (en)
JP2536046Y2 (en) Power supply circuit of programmable controller
JP3855380B2 (en) Timer device
KR940008210A (en) Power state detection and alarm circuit of power supply
JPH0359450B2 (en)
JPS625041A (en) Centralized supervisory device for air-conditioning machine
JPS5926771Y2 (en) Power switching device