CA1135861A - Vending machine accountability system - Google Patents
Vending machine accountability systemInfo
- Publication number
- CA1135861A CA1135861A CA000349544A CA349544A CA1135861A CA 1135861 A CA1135861 A CA 1135861A CA 000349544 A CA000349544 A CA 000349544A CA 349544 A CA349544 A CA 349544A CA 1135861 A CA1135861 A CA 1135861A
- Authority
- CA
- Canada
- Prior art keywords
- data file
- data
- credit
- module
- 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)
Abstract
ABSTRACT
An accountability system (10) for a vending machine (2) having means for vending products, means (1) for crediting the value of deposited monies, means (1) for comparing the credit with the price of the product for determining the sufficiency of the credit and and excess of credit, and means (1) for dispensing change equal to an excess of credit; the accountability system (10) comprising digital data processor means (40) for collecting transaction data, an in-site data file (51) for storing the transaction data, an exchangeable, portable data file module (52) for recording the transaction data stored in the in-site data file (51), means (40) for updating the data in the portable data file module prior to removal and exchange of the module, means (40) for recording an identification of the particular vending machine in the portable data file module, means (40, 17) to inhibit operation of the vending machine (2) in the absence of a portable data file module (52), and means (60, 61) to lock the portable data file module in place in the vending machine (2), the lock means (60, 61) being controlled by the data processor (40).
An accountability system (10) for a vending machine (2) having means for vending products, means (1) for crediting the value of deposited monies, means (1) for comparing the credit with the price of the product for determining the sufficiency of the credit and and excess of credit, and means (1) for dispensing change equal to an excess of credit; the accountability system (10) comprising digital data processor means (40) for collecting transaction data, an in-site data file (51) for storing the transaction data, an exchangeable, portable data file module (52) for recording the transaction data stored in the in-site data file (51), means (40) for updating the data in the portable data file module prior to removal and exchange of the module, means (40) for recording an identification of the particular vending machine in the portable data file module, means (40, 17) to inhibit operation of the vending machine (2) in the absence of a portable data file module (52), and means (60, 61) to lock the portable data file module in place in the vending machine (2), the lock means (60, 61) being controlled by the data processor (40).
Description
35~6~
VENDING MACHINE ACCOUNTABILIT~ SYSTEM
In recent years, vending machines have become increasingly complex. Now, a large variety of products at a variety of prices can be dispensed by a single S vending system or machine. In addition to coins, banknotes and credit cards can be used to obtain credit ~or a purchase in some systems. As a result of the increasing capabilities of such machines, the increasing cost of labor and the increasing value of products vcnded, vending machine management has become more complex.
Our vending machine accountability system provides a means for sirnplifying the management of single price and multiprice vending machines, IS identifylng machines subject to frequent tampering and reducing t-he temptation of pilferage by the personnel responsible for the operation of the machines. A small electronic portable data file module is connected in cach machine to record data conccrning the machine's t:ransactions. Such clata is prod~ cd by the verlding sy-itcln's mcalls for selcctillg products and by its mcans ~or clett?rmirlillg cretlitr for example, a coin mcchanism.
~' , ` . ; !
, `. .. , `
. ' '`, 3S~26~
The operator periodically removes and replaces the module. The removed module is returned to a cen-tral location where its contents can be displayed or read directly into a data processing system. In preferred embodiments of our invention, an interLock and a power monitor are provided to reduce the possibility of tampering with the vending machine and the contents of the module~
Further information concerning the objects of our invention, and its structure and manner of operation will be found in the detailed description below.
In the drawings:
Fig. 1 is a schematic block diagram of a Eirst embodiment of our invention;
Fig. 2 is a schematic block diagram oE an accountability system interface, a clock logic circuit and a status latch circuit suitable Eor the embodiment of Fig. 1;
Fig. 3 is a schematic block diagram of a shift register and a parallel input circuit suitable for the embodiment of Fig. l;
Fig. 4 is a schematic block diagram of a clock circuit, a portable data file module, an in-site data file and a portion of a microprocessor suitable for the embodiment of Fig. l;
Fig. 5 is an exploded, isometric view of a portable data file module and means, including a receptacle, for connecting the portable data Pile to the rest of an accountability system, which is suitable for the embodiment of Fig. 1;
Fig. 6 is a front elevation of the receptacle of Fig. 5;
Fig. 7 is a schematic block diagram of a portion of an insert/removal interlock control circuit suitable for controlling the insertion and removal of ,~.
' -- ~IL135i8G~lL
_3 the portable data file module in the embodiment of Fig.
1, Fig. 8 is a schematic block diagram of a power supply and a power monitor suitable for the embodiment of FigO l;
Fig. 9 is a schematic block diagram of a second embodiment of our invention.
The component values and voltages shown in the fiyures and mentioned herein are illustrative, and our /~ invention is not limited to the particular component values and Yoltages mentioned herein. Similarly, where we have referred to wires, leads and buses connecting the various elements, it will be clear to those skilled in the art where alternative data communications means ~5 such as ~iber optics or muliplexed signals on a smaller number of wires can be substitut,ed.
Fig. 1 shows a basic vending machine accountability system 10 in accordance with my invention. The figure shows an accountability system ~O interface 20, a clock logic circuit 26, a shift register `
30, a parallel input circuit 31, a microprocessor 40, a status latch circuit 36, a data file interface 50, an in-site data file 51, a portable data file module 52, a portable clata file insert/rernoval control circuit 60, an a5 insert/rernoval latch 61, a clock circuit 90, a power supply 70 and a power supply monitor 71, a display inter~.~ce 80 and a display 81, and a test/operate switch 17.
Irhe accountabi1ity system 10 is connected by 3~ the accoullt:a~ility system inter~ace 20 to a coin mech.lllism 1 l:hrou~3h scveral w;res 21-25. In this particular embodirnellt, the a(countclbility system lO alld the accoulltability system interiace 20 are desi~3ned to conllect wit:h coin mechanisms such as any of MARS
F,lect:ronic (t:rademark~ coin mecllanism model Nos. 500, 50~, S40, 544 alld 604.
.. . . . :- - : : . ~ : . ~
! .
l ( 3S1~6~
In this embodiment, the coin mechanism 1 performs the usual functions of examination, validation, acceptance and ro~ting of coins to the appropriate storage location. Each time a coin is accepted, the additlonal value of the coin is recorded in the coin mechanism's credit accumulator in the known fashion.
The coin mechanism 1 functions as the interface hetween the vending machine 2 and the accountability system 10. When a product selection i~ switch on the vending machine 2 is actuated by a user, a vend request is transmitted to the coin mechanism 1.
The coin mechanism 1 compares the price ~or that selection with the stored credit value of credit accumulated by the current user. If adequate credit ~ exists and necessary change is available, a vend is authorized and product delivery is begun. The vending machine 2 transmits a vend-in-progress (blocker) signal to the coln mechanlsm 1 to indicate that the vend is actually proceeding. The vend-in-progress siynal causes ao the coin mechanism 1 to generate an Escrow Accept tEA) signal, which terrninates the vend, begins the dispensing of change, cancels the credit, and returns the coin mechanism to the recognition state in which coins can be accepted. ~lternatively, the coin mechanism 1 may operate in a "multi-velld" mode ~in which receipt o~ the EA signal terminates the current vend, but change making an~ credit cancellation do not occur automatically.
Instcad, t:he value in the credit accumulator is reduced by the price ~or the vend and the system returns to the rccoytlitioll st:ate in which more coins may be dcpositcd, a ncw vcnd may l~e rc(l~lcsted, or an ~scrow Return rcqllcst (I~R) may be mcl(3e. In t:his l:ype of coln mechatl;sm, a series o~ vclld requests may occur and the coin mechanism will rcspollf3 to each requcst as long as the accurnu]ated crcdit is adeqllaie.
~ . , .. , ~ , . . . .
, - :: .
: ~ ; ~ ... .
In the embodiment of Fig. l, wires 21 and 22 carry clock pulses Erom the coin mechanism l to the accountability system interface 20. Wire 23 carries transaction data from the coin mechanism l~ Wire 24 carries the Escrow Accept (~A3 signal from the coin mechanism l. Wire 25 carries a Vending Machine Inhibit (VMI) signal to the coin mechanism l and the Escrow Request (ER) signal :Erom the coin mechanism l.
The clock signals from the interface 20 on wires 27 & 2~ are transmitted to clock logic circuit 26, which provides logic signals to the shift register 30 and the status latch circuit 36. The interface 20 also transmits the data from the coin mechanism l to the shift register 30. An alternative source of data for the shift register 30, is the parallel input circuit 31, isuch as a plurality of switches, which is connected to the shift register 30 by a 16 bit parallel bus 32. Data from the shift register 30 is transmitted to a microprocessor 40 which manages the accountability system 10. The status latch circuit 36 has two outputs 37 ~ 38 which provide control signals to the microprocessor ~0. These status latch signals are derived from the signals from the coin mechanism l.
The microprocessor 40 is connected to an in-site data file 51 and a portable data file module 52 via a data file interface 50. The removal of the module 52 is controlled by the microprocessor 40 via an insert/removal control circuit 60 and an electro-mechanical latch 61, such as a solenoid.
In order to assure that the accountability functions of the accountability system lO are not defeated by a power failure or intentional interrup~ion of power, the power supply 70 has a short term power reserve and the power monitor 71 determines when a power failure has occurred and notifies the microprocessor 40 to record the necessary information in one of the data , , , i . ~ .. . .. .
. : : ,, ~.
',` ~" ' ' ~ , :~
~.~35~6~
files 51 or 52 before the reserve power is consumed. In this embodiment, this information is stored in the in-site data file 51.
The accountability system 10 is also provided with a credit display interface 80 for providing the necessary signals to control a credit display 81, such as a three digit light-emitting diode display. The credit display 81 is changed as each coin is accepted and following each authorization of vending or escrow return to reflect the current credit available to the machine user.
Fig. 2 shows details of the accountability system interface 20, the clock logic circuit 26 and the status latch circuit 36 of the accountability system 10.
The accountability system interface 20 in accordance with this embodiment includes four similar input drivers 221 222, 223 and 224 connected to wires 21, 22, 23 and 24 respectively. As shown in detail in the case of input driver 221, a 1.2K resistor in series with a diode connects the input wire to the emitter of a grounded base transister Ql. The transistor's collector is connected by a 47K load resistor to a +5 volt DC power supply and provides the output of input drivex 221~ The other input drivers 222-224 include the same circuit as input driver 221.
The accountability system interface 20 circuit associated with the data transmission wire 23 also includes an inverter 225 at the output of the input driver 223. As indicated by the letter "S" on the inverter 225 in Fig. 2, Schmidt trigger circuits (such as one section of an RCA type No. 40106) are employed as the inverters here and elsewhere in this embodiment to provide relatively clean, noise-free digital signals. In the case of the the Escrow Accept (EA) signal from wire 24, the output of the input driver 224 is also inverted by a Schmidt trigger circuit inverter 226~
.
~. . .
,: .. , , .: :- . : ~
r ~L~L35,B6~3L
Transmission of signals from the coin mechanism 1 on wires 21, 22 and 23 will OCCUL under two possible operating conditions of the coin mechanism 1:
a) Each time a coin is accepted, and the value in the credit accum:Lator is increased by the value of the coin; and b) Each time a vend is completed and the value stored in the credi~ accumulator is decreased by the price of the vend.
Signals appearing on wires 24 and 25 from the coin mechanism 1 are used to deine two di~feren~
events:
a) The Escrow Accept (EA) signal on wire 24 indicates a successfully completed vend. If the EA signal is still present when clock and data signals are transmitted on wires 21, 22 and 23, a normal vend has occurred. If the EA signal has disappeared before clock and data signals occur a multi-vend~ mode is in effect.
b) The Escrow Return (ER) signal from the coin mechanism 1 on wire 25 occurs whenever an Escrow Return request has been honored by the coin mechanism 1. This action results in the return of all deposited coins and a cancellation of credit by the coin mechanism 1. No clock or data signals will appear on wires 21, 22 and 23 as a result of this activity. Wire 25 is also used to transmit the vending machine înhibit (VMI) signal to the coin mechanism 1.
The accountability system interface 20 passes the ER and vending machine inhibit (VMI) signals on wire 25 directly to or from the coin mechanism 1 through the accountability system interface 20 to one section of the test-operate switch S17. In figure 2, this switch S17 .. , . , , , . ~
:: : , . , .
. . .
1~35~6~
is shown in the Operate position, connecting the ER
signal on wire 25 to the input driver circuit including transistors Q4 and Q6, and the Schmidt trigger circuit inverter 227. Wire 25 is also connected by switch S17 to receive the VMI signal from transistor Q15, which is shown in Fig. 7 and discussed below in connection with that figure. When the test/operate switch S17 is placed in the Test position, wire 25 is disconnected from its input driver and transistor Q15, disabling the ER and ~O VMI Eunctions.
The status latch circuit 36 monitors the operating modes of the coin mechanism 1. The two latches are "D" type flip-flops 361 and 362. Flip-flop 362 will be set ("1") whenever the clock logic 26 /5 detects the concurrent appearance of seven pulses on both clock linès 21 and 22. Under the same condition, Elip-flop 361 will be set ("1") or reset ("0") depending upon the presence or absence of the EA signal at the time the pulses are generated by the clock logic 26.
Receipt of the ER signal causes flip-flop 361 to be set ("1") and leaves flip-flop 362 in the rest ("0") state.
The truth table for the logic described is as Eollows:
361 362 Operating Mocle 0 0 No Activity a~ o 1 M.lll i--vend or Coin l~ccepl:allce 1 0 Escro~ R2tllrn 1 1 Normal Vend : .
.
.:
: ; . . ~. .
' : . ;.: : :: :: : -.~,.35~
g The output signals from each flip-Elop 361 & 362 are supplied as status bits (A and B) to pillS 27, 28 of the microprocessor 40O
The signals on wires 21, 22 and 23, carrying the two clock signals and the data signal are supplied by the coin mechanism 1 to indicate to the accountability system 10 that a value is stored in the coin mechanism's credit accumulator. Corresponding buffered signals appear at the output oE the accounta~ility system interface 20 on wires 27, 28 and 29, respectively. When a series of seven pulses appears simultaneously on wires 27 and 28; a binary coded NR2 signal indicative of the value in the credit accumulator is transmitted on the data wire 29.
The clock logic 26 provides ~NDing functions for these clock signals. NOR gate 261 ~such as a section of an RCA type No. 4001) ANDs the two clock.
signals received from the coin mechanism 1 via input drivers 221 and 222. The resulting clock signal from clock logic 26 is supplied to the clock inputs o~ the flip-flops 361 and 362 in the status latch circuit 36, and to one input of NOR gate 262 where the clock signal is ANDed with the shift register read enable signal produced at pin 31 of the microprocessor 40. In this embodiment, ~OR gate 263 is used simply as an inverter to provide the proper polarity pulse to the clock input of the shift register 30.
The shift register 3p, shown in Fig. 3, is of the parallel-in, serial-in, serial-out var~ety. As shown in Fig. 3, it comprises a pair of RCA type No.
4014 shiEt registers 301 and 302~ The clock signal pulses on wire 265 are used to serially shift the NR~
data signal appearing on the wire 29 into the serial input of the first shift register 301. Data can also be loaded into the register 30 in parallel from the parallel input circuit 31, which in this embodi~ent is a : . ,. ~
, ? ~ , ~
3SB~
," .:
--1 o--plurality of switches Sl-S16, each capable of applying either ground potential or ~5 Volts (via a one megohm resistor) to a parallel input of the shift registers 301 & 302. The parallel input is employed to manually input such data as the machine identification number. Data inputted either serially or in parallel can be shifted out serially under the control of the microprocessor 40.
The microprocessor 40 (such as an Intel type No. 8049), shown in Figs. 1, 4 and 7, acts as the central control element for the accountability system 10 and performs the following functions:
a) Monitors the activi~ies of the vending machine 2 and coin mechanism 1, b) Generates correctly encoded data and drive signals for a credit display 81, c) Causes~data generated during a specific vending period to be stored in the memory of the portable data file module 52, d) Causes the storage in the in~site data file 51 o-E a continous data record describing the vending operation, e) Controls the insertion or removal of the portable data file module 52 by the vending machine route operator, f) Provides a status display on indicator 62 to indicate the operating condition of the system, g) Enables or disables the operation of the vending machine 2 as a functi.on of the condition oE the overall system, and h) Provides access to the data record stored in the in-site data file 51 for supervisory personnelO
The operations of the microprocessor 40 proceed as dictated by a program stored permanently in its non-volatile read-only memory. The information necessary for one skilled in the art to program the microprocessor 40 will be clear ~rom the description of ~4 :` ` : , ' ~ . , ::
: ' .
~35~
its functions and operation, and the accompanying figures. The internal read/wr,ite memory of the microprocessor 40 i5 used to store operating variables such as cash total, credit values, and vend counters.
S Under certain conditions, this internally stored data file is transferred by the microprocessor 40 to the in-site data file 51. The microprocessor 40 also controls transfer of the data file from the in-site data file 51 to the portable da~a file module 5~. , ~O The operating program of the microprocessor 40 remains normally in a display control loop. The display control loop causes a sequential scan of the three digits of the display 81 by the display control 80 and transfers the proper BCD codes for each digit at the I ~ correct times during the scan, thereby displaying the user's c~lrrent credit value. At the end of each pass through the display control loop, various flags are interrogatcd to determine the need to execute speci~ic service routines. The detection of a flag causes the ao microprocessor proyram to exit from the display loop and proceed to the correct-service routine.
Vendor flag signals from the status latch circuit 36 advise the microprocessor'~0 that some activity has occurred in the vending machine 2 or coin ,mechanism 1. The microprocessor ~0 proceeds to analy%e '' the signals from outputs A and B of the flip-flops 361 and 363 in l:he status latch circuit 36 to determine the correct actlons to ~e taken. The Eollowing events may occur:
3~ a) Escrow Rcturn (~B = 10) Storage locations o the microproccssor ~0 or current credit and prior credit are cleared to ~ero. No change is made in the stored values for vend total or ' vend counters.
.
- , ,, ' .:
~ 35~36~
b) Normal Vend tAB = 11) Credit data stored in the shift register 30 is read by the microprocessor 40 which transmits a series of shift pulses from its pin 33 to the clock logic and accepts the serial data appearing at the output of the shift register 30. This credit data is subtacted by the microprocessor 40 from the prior credit data to determine the price at which the vend occurred. The price is added to the vend total data and the appropriate vend counter is incremented. Both current and prior credit values are now returned to zero.
c) Multi-vend (AB = 01) As in (b) above credit data is read in serially from the shift register 30 into the microprocessor 40. If this current credit value ls less than the prior credit value, the multi-vend mode is in effect. The difference between current and prior credit values defines the vend price which is added to the vend total and causes the appropriate vend counter to be incremented. The credit values are not set to zero. Instead, the prior credit value is set to the current credit vvalue just read.
d) Coin Acceptance (AB = 01) As in (c) above, credit data is read in serially from the shift register 30 into thee microprocessor 40. If this current credit value is ~reater than the prior credit value, no vend has occurred.
Instead, a new coin has been validated by ,~ , ,,.
the coin mechanism 1 and a new eredit value has been established. No action is taken except to set the prior eredit value equal to the eurrent credit value S just reeeived.
At the conelusion of any of events a) - d) above, the fllp-flops 361 and 362 in the Status Latch eircuit 36 are reset and, if required, the new credit value is converted from its binary codlng into the BCD
coding needed for the display eontrol eireuit 80~ The operating program returns to the display eontrol mode until a flag is received from the status latch eireuit The in-site data file 51 in this embodlment, /~ sho~n in Fig. 4, is a non-vo.latile Eleetrically Alterable Read-only Memory (ERROM) whieh includes 100 loeations each eontalning 14 bits of data ~such as a General Instruments type No. ER1400). This type of mernory may be written to or read from as with any ao semiconductor memory, but it retains stored data after power has been removed. Alternatively, a magnetic "bubble" rnemory ean be used, or a low power consumption statie R~M memory can be used in conjunetion with a small power source, such as a battery, to maintain the d~ data files i.n case of po~er failure and, in the ease of the portable data file module 52, removal from the accoulltability system 10. The in-site data file 51 is lnclucled as a permallent part of the electronics of the accountability system 1.0O
The data file locations in the ;n-site data ~ile 51 may be elements of three different data ~s~b-files c.~escl:i.bed as:
a) Culnulati.ve, ~llere the totals are acculnulat(?d on a continuous basis and spannil-~g all.
~ prev ious velld intervals, :, .
, . . :
-``` ` ~L3~i~6~
b) Current, where the totals are accumulated during the present vend interval (from portable data file module insertion to portable data ile module removal); and c) Temporary, where the totals are accumulated during the current vend interval and stored temporarily during periods of power interruption.
A typical organization of the data files stored in the in-site data file 51 is as follows:
Location File Content a) Bookkeeping (12 locations) 1 Machine ID (Acc't. #, Serial #, Vendor #, etc~)
VENDING MACHINE ACCOUNTABILIT~ SYSTEM
In recent years, vending machines have become increasingly complex. Now, a large variety of products at a variety of prices can be dispensed by a single S vending system or machine. In addition to coins, banknotes and credit cards can be used to obtain credit ~or a purchase in some systems. As a result of the increasing capabilities of such machines, the increasing cost of labor and the increasing value of products vcnded, vending machine management has become more complex.
Our vending machine accountability system provides a means for sirnplifying the management of single price and multiprice vending machines, IS identifylng machines subject to frequent tampering and reducing t-he temptation of pilferage by the personnel responsible for the operation of the machines. A small electronic portable data file module is connected in cach machine to record data conccrning the machine's t:ransactions. Such clata is prod~ cd by the verlding sy-itcln's mcalls for selcctillg products and by its mcans ~or clett?rmirlillg cretlitr for example, a coin mcchanism.
~' , ` . ; !
, `. .. , `
. ' '`, 3S~26~
The operator periodically removes and replaces the module. The removed module is returned to a cen-tral location where its contents can be displayed or read directly into a data processing system. In preferred embodiments of our invention, an interLock and a power monitor are provided to reduce the possibility of tampering with the vending machine and the contents of the module~
Further information concerning the objects of our invention, and its structure and manner of operation will be found in the detailed description below.
In the drawings:
Fig. 1 is a schematic block diagram of a Eirst embodiment of our invention;
Fig. 2 is a schematic block diagram oE an accountability system interface, a clock logic circuit and a status latch circuit suitable Eor the embodiment of Fig. 1;
Fig. 3 is a schematic block diagram of a shift register and a parallel input circuit suitable for the embodiment of Fig. l;
Fig. 4 is a schematic block diagram of a clock circuit, a portable data file module, an in-site data file and a portion of a microprocessor suitable for the embodiment of Fig. l;
Fig. 5 is an exploded, isometric view of a portable data file module and means, including a receptacle, for connecting the portable data Pile to the rest of an accountability system, which is suitable for the embodiment of Fig. 1;
Fig. 6 is a front elevation of the receptacle of Fig. 5;
Fig. 7 is a schematic block diagram of a portion of an insert/removal interlock control circuit suitable for controlling the insertion and removal of ,~.
' -- ~IL135i8G~lL
_3 the portable data file module in the embodiment of Fig.
1, Fig. 8 is a schematic block diagram of a power supply and a power monitor suitable for the embodiment of FigO l;
Fig. 9 is a schematic block diagram of a second embodiment of our invention.
The component values and voltages shown in the fiyures and mentioned herein are illustrative, and our /~ invention is not limited to the particular component values and Yoltages mentioned herein. Similarly, where we have referred to wires, leads and buses connecting the various elements, it will be clear to those skilled in the art where alternative data communications means ~5 such as ~iber optics or muliplexed signals on a smaller number of wires can be substitut,ed.
Fig. 1 shows a basic vending machine accountability system 10 in accordance with my invention. The figure shows an accountability system ~O interface 20, a clock logic circuit 26, a shift register `
30, a parallel input circuit 31, a microprocessor 40, a status latch circuit 36, a data file interface 50, an in-site data file 51, a portable data file module 52, a portable clata file insert/rernoval control circuit 60, an a5 insert/rernoval latch 61, a clock circuit 90, a power supply 70 and a power supply monitor 71, a display inter~.~ce 80 and a display 81, and a test/operate switch 17.
Irhe accountabi1ity system 10 is connected by 3~ the accoullt:a~ility system inter~ace 20 to a coin mech.lllism 1 l:hrou~3h scveral w;res 21-25. In this particular embodirnellt, the a(countclbility system lO alld the accoulltability system interiace 20 are desi~3ned to conllect wit:h coin mechanisms such as any of MARS
F,lect:ronic (t:rademark~ coin mecllanism model Nos. 500, 50~, S40, 544 alld 604.
.. . . . :- - : : . ~ : . ~
! .
l ( 3S1~6~
In this embodiment, the coin mechanism 1 performs the usual functions of examination, validation, acceptance and ro~ting of coins to the appropriate storage location. Each time a coin is accepted, the additlonal value of the coin is recorded in the coin mechanism's credit accumulator in the known fashion.
The coin mechanism 1 functions as the interface hetween the vending machine 2 and the accountability system 10. When a product selection i~ switch on the vending machine 2 is actuated by a user, a vend request is transmitted to the coin mechanism 1.
The coin mechanism 1 compares the price ~or that selection with the stored credit value of credit accumulated by the current user. If adequate credit ~ exists and necessary change is available, a vend is authorized and product delivery is begun. The vending machine 2 transmits a vend-in-progress (blocker) signal to the coln mechanlsm 1 to indicate that the vend is actually proceeding. The vend-in-progress siynal causes ao the coin mechanism 1 to generate an Escrow Accept tEA) signal, which terrninates the vend, begins the dispensing of change, cancels the credit, and returns the coin mechanism to the recognition state in which coins can be accepted. ~lternatively, the coin mechanism 1 may operate in a "multi-velld" mode ~in which receipt o~ the EA signal terminates the current vend, but change making an~ credit cancellation do not occur automatically.
Instcad, t:he value in the credit accumulator is reduced by the price ~or the vend and the system returns to the rccoytlitioll st:ate in which more coins may be dcpositcd, a ncw vcnd may l~e rc(l~lcsted, or an ~scrow Return rcqllcst (I~R) may be mcl(3e. In t:his l:ype of coln mechatl;sm, a series o~ vclld requests may occur and the coin mechanism will rcspollf3 to each requcst as long as the accurnu]ated crcdit is adeqllaie.
~ . , .. , ~ , . . . .
, - :: .
: ~ ; ~ ... .
In the embodiment of Fig. l, wires 21 and 22 carry clock pulses Erom the coin mechanism l to the accountability system interface 20. Wire 23 carries transaction data from the coin mechanism l~ Wire 24 carries the Escrow Accept (~A3 signal from the coin mechanism l. Wire 25 carries a Vending Machine Inhibit (VMI) signal to the coin mechanism l and the Escrow Request (ER) signal :Erom the coin mechanism l.
The clock signals from the interface 20 on wires 27 & 2~ are transmitted to clock logic circuit 26, which provides logic signals to the shift register 30 and the status latch circuit 36. The interface 20 also transmits the data from the coin mechanism l to the shift register 30. An alternative source of data for the shift register 30, is the parallel input circuit 31, isuch as a plurality of switches, which is connected to the shift register 30 by a 16 bit parallel bus 32. Data from the shift register 30 is transmitted to a microprocessor 40 which manages the accountability system 10. The status latch circuit 36 has two outputs 37 ~ 38 which provide control signals to the microprocessor ~0. These status latch signals are derived from the signals from the coin mechanism l.
The microprocessor 40 is connected to an in-site data file 51 and a portable data file module 52 via a data file interface 50. The removal of the module 52 is controlled by the microprocessor 40 via an insert/removal control circuit 60 and an electro-mechanical latch 61, such as a solenoid.
In order to assure that the accountability functions of the accountability system lO are not defeated by a power failure or intentional interrup~ion of power, the power supply 70 has a short term power reserve and the power monitor 71 determines when a power failure has occurred and notifies the microprocessor 40 to record the necessary information in one of the data , , , i . ~ .. . .. .
. : : ,, ~.
',` ~" ' ' ~ , :~
~.~35~6~
files 51 or 52 before the reserve power is consumed. In this embodiment, this information is stored in the in-site data file 51.
The accountability system 10 is also provided with a credit display interface 80 for providing the necessary signals to control a credit display 81, such as a three digit light-emitting diode display. The credit display 81 is changed as each coin is accepted and following each authorization of vending or escrow return to reflect the current credit available to the machine user.
Fig. 2 shows details of the accountability system interface 20, the clock logic circuit 26 and the status latch circuit 36 of the accountability system 10.
The accountability system interface 20 in accordance with this embodiment includes four similar input drivers 221 222, 223 and 224 connected to wires 21, 22, 23 and 24 respectively. As shown in detail in the case of input driver 221, a 1.2K resistor in series with a diode connects the input wire to the emitter of a grounded base transister Ql. The transistor's collector is connected by a 47K load resistor to a +5 volt DC power supply and provides the output of input drivex 221~ The other input drivers 222-224 include the same circuit as input driver 221.
The accountability system interface 20 circuit associated with the data transmission wire 23 also includes an inverter 225 at the output of the input driver 223. As indicated by the letter "S" on the inverter 225 in Fig. 2, Schmidt trigger circuits (such as one section of an RCA type No. 40106) are employed as the inverters here and elsewhere in this embodiment to provide relatively clean, noise-free digital signals. In the case of the the Escrow Accept (EA) signal from wire 24, the output of the input driver 224 is also inverted by a Schmidt trigger circuit inverter 226~
.
~. . .
,: .. , , .: :- . : ~
r ~L~L35,B6~3L
Transmission of signals from the coin mechanism 1 on wires 21, 22 and 23 will OCCUL under two possible operating conditions of the coin mechanism 1:
a) Each time a coin is accepted, and the value in the credit accum:Lator is increased by the value of the coin; and b) Each time a vend is completed and the value stored in the credi~ accumulator is decreased by the price of the vend.
Signals appearing on wires 24 and 25 from the coin mechanism 1 are used to deine two di~feren~
events:
a) The Escrow Accept (EA) signal on wire 24 indicates a successfully completed vend. If the EA signal is still present when clock and data signals are transmitted on wires 21, 22 and 23, a normal vend has occurred. If the EA signal has disappeared before clock and data signals occur a multi-vend~ mode is in effect.
b) The Escrow Return (ER) signal from the coin mechanism 1 on wire 25 occurs whenever an Escrow Return request has been honored by the coin mechanism 1. This action results in the return of all deposited coins and a cancellation of credit by the coin mechanism 1. No clock or data signals will appear on wires 21, 22 and 23 as a result of this activity. Wire 25 is also used to transmit the vending machine înhibit (VMI) signal to the coin mechanism 1.
The accountability system interface 20 passes the ER and vending machine inhibit (VMI) signals on wire 25 directly to or from the coin mechanism 1 through the accountability system interface 20 to one section of the test-operate switch S17. In figure 2, this switch S17 .. , . , , , . ~
:: : , . , .
. . .
1~35~6~
is shown in the Operate position, connecting the ER
signal on wire 25 to the input driver circuit including transistors Q4 and Q6, and the Schmidt trigger circuit inverter 227. Wire 25 is also connected by switch S17 to receive the VMI signal from transistor Q15, which is shown in Fig. 7 and discussed below in connection with that figure. When the test/operate switch S17 is placed in the Test position, wire 25 is disconnected from its input driver and transistor Q15, disabling the ER and ~O VMI Eunctions.
The status latch circuit 36 monitors the operating modes of the coin mechanism 1. The two latches are "D" type flip-flops 361 and 362. Flip-flop 362 will be set ("1") whenever the clock logic 26 /5 detects the concurrent appearance of seven pulses on both clock linès 21 and 22. Under the same condition, Elip-flop 361 will be set ("1") or reset ("0") depending upon the presence or absence of the EA signal at the time the pulses are generated by the clock logic 26.
Receipt of the ER signal causes flip-flop 361 to be set ("1") and leaves flip-flop 362 in the rest ("0") state.
The truth table for the logic described is as Eollows:
361 362 Operating Mocle 0 0 No Activity a~ o 1 M.lll i--vend or Coin l~ccepl:allce 1 0 Escro~ R2tllrn 1 1 Normal Vend : .
.
.:
: ; . . ~. .
' : . ;.: : :: :: : -.~,.35~
g The output signals from each flip-Elop 361 & 362 are supplied as status bits (A and B) to pillS 27, 28 of the microprocessor 40O
The signals on wires 21, 22 and 23, carrying the two clock signals and the data signal are supplied by the coin mechanism 1 to indicate to the accountability system 10 that a value is stored in the coin mechanism's credit accumulator. Corresponding buffered signals appear at the output oE the accounta~ility system interface 20 on wires 27, 28 and 29, respectively. When a series of seven pulses appears simultaneously on wires 27 and 28; a binary coded NR2 signal indicative of the value in the credit accumulator is transmitted on the data wire 29.
The clock logic 26 provides ~NDing functions for these clock signals. NOR gate 261 ~such as a section of an RCA type No. 4001) ANDs the two clock.
signals received from the coin mechanism 1 via input drivers 221 and 222. The resulting clock signal from clock logic 26 is supplied to the clock inputs o~ the flip-flops 361 and 362 in the status latch circuit 36, and to one input of NOR gate 262 where the clock signal is ANDed with the shift register read enable signal produced at pin 31 of the microprocessor 40. In this embodiment, ~OR gate 263 is used simply as an inverter to provide the proper polarity pulse to the clock input of the shift register 30.
The shift register 3p, shown in Fig. 3, is of the parallel-in, serial-in, serial-out var~ety. As shown in Fig. 3, it comprises a pair of RCA type No.
4014 shiEt registers 301 and 302~ The clock signal pulses on wire 265 are used to serially shift the NR~
data signal appearing on the wire 29 into the serial input of the first shift register 301. Data can also be loaded into the register 30 in parallel from the parallel input circuit 31, which in this embodi~ent is a : . ,. ~
, ? ~ , ~
3SB~
," .:
--1 o--plurality of switches Sl-S16, each capable of applying either ground potential or ~5 Volts (via a one megohm resistor) to a parallel input of the shift registers 301 & 302. The parallel input is employed to manually input such data as the machine identification number. Data inputted either serially or in parallel can be shifted out serially under the control of the microprocessor 40.
The microprocessor 40 (such as an Intel type No. 8049), shown in Figs. 1, 4 and 7, acts as the central control element for the accountability system 10 and performs the following functions:
a) Monitors the activi~ies of the vending machine 2 and coin mechanism 1, b) Generates correctly encoded data and drive signals for a credit display 81, c) Causes~data generated during a specific vending period to be stored in the memory of the portable data file module 52, d) Causes the storage in the in~site data file 51 o-E a continous data record describing the vending operation, e) Controls the insertion or removal of the portable data file module 52 by the vending machine route operator, f) Provides a status display on indicator 62 to indicate the operating condition of the system, g) Enables or disables the operation of the vending machine 2 as a functi.on of the condition oE the overall system, and h) Provides access to the data record stored in the in-site data file 51 for supervisory personnelO
The operations of the microprocessor 40 proceed as dictated by a program stored permanently in its non-volatile read-only memory. The information necessary for one skilled in the art to program the microprocessor 40 will be clear ~rom the description of ~4 :` ` : , ' ~ . , ::
: ' .
~35~
its functions and operation, and the accompanying figures. The internal read/wr,ite memory of the microprocessor 40 i5 used to store operating variables such as cash total, credit values, and vend counters.
S Under certain conditions, this internally stored data file is transferred by the microprocessor 40 to the in-site data file 51. The microprocessor 40 also controls transfer of the data file from the in-site data file 51 to the portable da~a file module 5~. , ~O The operating program of the microprocessor 40 remains normally in a display control loop. The display control loop causes a sequential scan of the three digits of the display 81 by the display control 80 and transfers the proper BCD codes for each digit at the I ~ correct times during the scan, thereby displaying the user's c~lrrent credit value. At the end of each pass through the display control loop, various flags are interrogatcd to determine the need to execute speci~ic service routines. The detection of a flag causes the ao microprocessor proyram to exit from the display loop and proceed to the correct-service routine.
Vendor flag signals from the status latch circuit 36 advise the microprocessor'~0 that some activity has occurred in the vending machine 2 or coin ,mechanism 1. The microprocessor ~0 proceeds to analy%e '' the signals from outputs A and B of the flip-flops 361 and 363 in l:he status latch circuit 36 to determine the correct actlons to ~e taken. The Eollowing events may occur:
3~ a) Escrow Rcturn (~B = 10) Storage locations o the microproccssor ~0 or current credit and prior credit are cleared to ~ero. No change is made in the stored values for vend total or ' vend counters.
.
- , ,, ' .:
~ 35~36~
b) Normal Vend tAB = 11) Credit data stored in the shift register 30 is read by the microprocessor 40 which transmits a series of shift pulses from its pin 33 to the clock logic and accepts the serial data appearing at the output of the shift register 30. This credit data is subtacted by the microprocessor 40 from the prior credit data to determine the price at which the vend occurred. The price is added to the vend total data and the appropriate vend counter is incremented. Both current and prior credit values are now returned to zero.
c) Multi-vend (AB = 01) As in (b) above credit data is read in serially from the shift register 30 into the microprocessor 40. If this current credit value ls less than the prior credit value, the multi-vend mode is in effect. The difference between current and prior credit values defines the vend price which is added to the vend total and causes the appropriate vend counter to be incremented. The credit values are not set to zero. Instead, the prior credit value is set to the current credit vvalue just read.
d) Coin Acceptance (AB = 01) As in (c) above, credit data is read in serially from the shift register 30 into thee microprocessor 40. If this current credit value is ~reater than the prior credit value, no vend has occurred.
Instead, a new coin has been validated by ,~ , ,,.
the coin mechanism 1 and a new eredit value has been established. No action is taken except to set the prior eredit value equal to the eurrent credit value S just reeeived.
At the conelusion of any of events a) - d) above, the fllp-flops 361 and 362 in the Status Latch eircuit 36 are reset and, if required, the new credit value is converted from its binary codlng into the BCD
coding needed for the display eontrol eireuit 80~ The operating program returns to the display eontrol mode until a flag is received from the status latch eireuit The in-site data file 51 in this embodlment, /~ sho~n in Fig. 4, is a non-vo.latile Eleetrically Alterable Read-only Memory (ERROM) whieh includes 100 loeations each eontalning 14 bits of data ~such as a General Instruments type No. ER1400). This type of mernory may be written to or read from as with any ao semiconductor memory, but it retains stored data after power has been removed. Alternatively, a magnetic "bubble" rnemory ean be used, or a low power consumption statie R~M memory can be used in conjunetion with a small power source, such as a battery, to maintain the d~ data files i.n case of po~er failure and, in the ease of the portable data file module 52, removal from the accoulltability system 10. The in-site data file 51 is lnclucled as a permallent part of the electronics of the accountability system 1.0O
The data file locations in the ;n-site data ~ile 51 may be elements of three different data ~s~b-files c.~escl:i.bed as:
a) Culnulati.ve, ~llere the totals are acculnulat(?d on a continuous basis and spannil-~g all.
~ prev ious velld intervals, :, .
, . . :
-``` ` ~L3~i~6~
b) Current, where the totals are accumulated during the present vend interval (from portable data file module insertion to portable data ile module removal); and c) Temporary, where the totals are accumulated during the current vend interval and stored temporarily during periods of power interruption.
A typical organization of the data files stored in the in-site data file 51 is as follows:
Location File Content a) Bookkeeping (12 locations) 1 Machine ID (Acc't. #, Serial #, Vendor #, etc~)
2 & 3 Total Vended Cash; Current Vencling Interval 4 & 5 Total Vended Cash; Cumulative 6 Total in~site data file Writes;
Cumulative 7 Total portable data file module Writes 8 Total Power Interrupts (Current Vending Interval) 9 Tes~ Vend Counter Total (Current Vending Interval) Vended Cash - Power Interrupt Temporary Location 11 In-site data file Writes - Power Interrupt Temporary Location 12 Test Vends - Power Interrupt Temporary Location b) Price Counters (64 locations) 13 Price #l Value 14 Price #l Counter - Power Interrupt Temporary Location Price #l Counter - Current Vending Interval , .-- . . `
.:
?
:
3S~6:~
16 Price #l Counter - Cumulative 17-20 Price #2 Counter - 4 locations as for Price #l 21-24 Price #3 Counter - 4 locations as for Price ~1 25-2~ Price ~4 Counter -- 4 locations as for Price #l 29-32 Price #5 Counter -- 4 locations as for Price #l 33-3& Price ~6 Counter - 4 locations as for Price #l 37-40 Price #7 Counter - 4 locations as for Price #l 41-44 Price ~8 Counter - 4 locations as for Price #l 45-48 Price #9 Counter - 4 locations as for Price #l 49-52 Price #10 Counter - 4 locations as for Price #l 53-56 Price #11 Counter - 4 locations as for Price #l 57-60 Price #12 Counter - 4 locations as for Price #l 61-64 Price #13 Counter 4 locations as for Price #l 65-68 Price ~14 Counter - 4 locations as for Price #].
69-72 Price #15 Counter - 4 locations as for Price #l 73-76 Price #16 Counter - 4 locations as for Price #l c~ Inactive Price Counter (24 locations) . _ 77 Inactive List - Price #l Value 78 Inactive List - Price #l Counter (Cumulative) -: : i,. , , ,, ~ ,, . : :
- : .:
~: :
:
.~
, ~ ~ .' .-
Cumulative 7 Total portable data file module Writes 8 Total Power Interrupts (Current Vending Interval) 9 Tes~ Vend Counter Total (Current Vending Interval) Vended Cash - Power Interrupt Temporary Location 11 In-site data file Writes - Power Interrupt Temporary Location 12 Test Vends - Power Interrupt Temporary Location b) Price Counters (64 locations) 13 Price #l Value 14 Price #l Counter - Power Interrupt Temporary Location Price #l Counter - Current Vending Interval , .-- . . `
.:
?
:
3S~6:~
16 Price #l Counter - Cumulative 17-20 Price #2 Counter - 4 locations as for Price #l 21-24 Price #3 Counter - 4 locations as for Price ~1 25-2~ Price ~4 Counter -- 4 locations as for Price #l 29-32 Price #5 Counter -- 4 locations as for Price #l 33-3& Price ~6 Counter - 4 locations as for Price #l 37-40 Price #7 Counter - 4 locations as for Price #l 41-44 Price ~8 Counter - 4 locations as for Price #l 45-48 Price #9 Counter - 4 locations as for Price #l 49-52 Price #10 Counter - 4 locations as for Price #l 53-56 Price #11 Counter - 4 locations as for Price #l 57-60 Price #12 Counter - 4 locations as for Price #l 61-64 Price #13 Counter 4 locations as for Price #l 65-68 Price ~14 Counter - 4 locations as for Price #].
69-72 Price #15 Counter - 4 locations as for Price #l 73-76 Price #16 Counter - 4 locations as for Price #l c~ Inactive Price Counter (24 locations) . _ 77 Inactive List - Price #l Value 78 Inactive List - Price #l Counter (Cumulative) -: : i,. , , ,, ~ ,, . : :
- : .:
~: :
:
.~
, ~ ~ .' .-
3~6~
79-80 Inaetive List - Priee ~2 (2 locations as for Priee ~l) 81-82 Inaetive List - Priee #3 (2 loeations as for Priee ~1) 83-84 Inaetive L,ist Priee ~4 (2 loeations as for Priee ~1) .
85-86 Inaetive List - Priee ~5 (2 loeations as for Priee #l) 87~88 Inaetive List - Priee ~6 (2 loeations as for Priee #l) 89-90 Inaetive List - Priee #7 (2 loeations as for Price #l) 91-92 Inaetive List - Priee #8 (2 loeations as for Priee #1 93-94 Inaetive List - Priee #9 (2 ioeations as for Priee #l) 95-96 Inaetive List - Price #10 (2 loeations as for Priee #l) 97-98 Inaetive List - Priee #11 (2 loeations as for Priee #l) 99-100 Inaetive List - Priee #12 (2 loeations as for Priee #l) As previously noted t storage loeations are provided to maintain complete historieal fil.es for up to 16 different price valucs. ~dditional priees beyond the first 16 are aecomodated in the active file by retiring from t:he culnu].ati.ve file to an inactive :Eile any priee not oceurring durincJ ~he current vend interval. Up to 12 ;.nactive l~rice va].ues may be included in the inactive file.
I~hen the text/operal:e switch S].7, shown in Yi~. ~, ;s l~laced in tl-e Ol~crate pos,ition, vends are authori-~,ed and counted in the normal way, assum;ng the the portabl.e clata ~ile mo(3ule has heen inserted . 3 ~ correctly. If no port:able data file moclule is inserl:ed or if the portable data fi.le module did not ~ass ;,.......... . . .
s~
verification tests when inserted, the vending machine 2 is inhibited and no vends or coin acceptance can occur.
The vending machine inhibit (VMI) signal, which performs this function, is described further in connection with Fig. 7 below.
The memory included in the portable data file module 52 in this embodiment is the same type as that described for the in-site data file 51. Again, l00 locations of 14 bits each are included in the ~O non-volatile EAROM of the portable data file module 52.
Upon insertion o the portable data file module 52, the microprocessor 40 checks for special identification patterns stored in the portable data file module 52 at the central location. All locations of the memory are S' tested and, if correct, the values stored in all locations are set to zero and the machine identification (I~) numher is read from the parallel input circuit 31 and is written in the Machine ID location in the portable data file module 52. Thereafter, a new vend a~ interval proceeds as described elsewhere in this application.
A special ile location is included in the in-site data file 51 to record the total number o write cycles expcrienced by the EAROM memory. After a ~S predet:crJnillcd nulnbcr of such erase/write cycles, the data file clevice 51 or 52 can be retired frbm service to avoid mar(3;nal operation. Simi]arly, thc portable data file module 52 has stored in two locations the number of erase/wrlte cyclcs botl1 Eor its own mcmory dcvice 521 3 O and for lhe ln-site data file r7l of ~he machine in which it as ino,t reccntly in~stalled.
Fi~. ~ shows a numb(r oE tl)c ~orts of the microproccs-,~r ~0, alon-3 w;th details of the hi(~h Ercqucncy clock 90, tlle data Eile ;ntcrface 50, t:he 3S in-site 1at:a file 5l, alld tlle portable data f;le module 52. Pins 21, 22, 23, 29/ 35, 36 and 37 are ports o the .
: ~ .
' . ',, 1~35~6~
rnicroprocessor 40 associated with the data iles 51 and 52 in this embodiment of our accountability system 10.
The signals on leads 402, 403 and 404 are mode control signals for the Cl, C2 and C3 inputs of the in-site data file 51 and the portable data ile module 52. The functions associated with the Cl, C2 and C3 inputs are:
Cl C2 C3 Function 0 0 0 Standby--contents of address and data register remain unchanged.
~ Output buffer is let floating.
0 l l ~ccept Address--Data presented at the I/O pin 12 is shifted into the address register with each clock pulse. Addressing is by two consecutive one-of-ten codesO
l 0 0 Read--The address word is read from memory into the data register.
l 0 1 Shift Data Out--The output driver is enabled and the contents of the data ao register are shifted out one bit with each clock pulse.
0 l 0 Erase--The ~ord stored at the addressed location is erased to all zeros.
l l l ~ccept Data---The data register accepts serial data presented at the l/O pin 12. The address register remains unchangcd.
l 1 0 l~rite---The ~ord contained in the 3~ data Leyistcr is ~ritten into tlle location dcsiynated by the addrcss reyis~:erO
0 0 l Not ~sed.
The mode control <,i(~nals on wires 402, 403 and 404 are 3S buffel:ed by the a~npliier circuits including transistors - Q7, Q8 and Ql7, rcspcct:ively. Since the ports at ~;ns 3~1~6~
21 and 22 of the microprocessor 40 are dual puraposeports, the program store enable PSEN signal from pin 9 of the microprocessor 40 is buffered by the transistor Q16 amplifier and the diodes to the collectors of transistors Q7 and Q8 to disable the Cl and C2 inputs except when an access to one of the data files is intended.
Wire 501 is a bi-directional serial data line to and from the data files 51 & 52O Data from the microprocessor 40 to the data files 51 & 52 is received by wire 501 from pin 35 of the microprocessor 40, wire 406 and transistor Ql9. Data transmitted from a data file 51 or 52 to the microprocessor 40 is transmitted via transistor Q18, wire 407 and pin 36 of the microprocessor 40.
Pins 24 and 37 of the microprocessor 40 supply the signals to wires 405 and 408 which ultimately select either the in-site data file 51 or the portable data file module 52, respectively. The signal on wire 405 or 408 gates clock pulses from the 14 kHz clock 90 through the corresponding AND gate 505 or 508 to the corresponding transistor ~20 or Q21. The clock pulses are then transmitted to the clock input at pin 6 of the in-site data file 51 or the portable data file mcdule 52, thus enabling the selected data file. The clock 90 is of conventional design, incorporating a National Semiconductor type No. 555 clock circuit 91. The clock 90 also supplies its 14 kHz clock signal to pin 1, the T0 input of the microprocessor 40. A 25 Hz clock signal is supplied to the Tl input at pin 39 oE the microprocessor 40 by a Schmidt trigger circuit 95.
When the test/operate switch S17, shown in Fig. 2, is placed in the Operate position, vends are authorized and counted in the normal way, assuming the portable data file module 52 has been inserted :, . .:
' ~L35~
correctly. If no portable data file module 52 is inserted or if the portable data file module did not pass verification tests when inserted, the vending machine 2 is inhibited by the VMI signal on line 250 and no vends or coin acceptance can occur~
~ hen the test/operate switch S17 is placed in the Test posi-tion, three special effects result:
a) If the vending machine inhibit line 250 is active, it is interrupted and the vending machine is permitted to accept coins and perform vends.
b~ The microprocessor 40 maintains a special counter to record the total number of vends which occur during the period that the switch is in the Test position.
c) The red indicator 62 is caused to flash to warn the operator that the system should not be left with the switch in the Test position.
The test/operate switch S17 is provided to allow the operator to vend product and test the operation of the vendor without affecting the totals stored in the portable data file module 52. A counter, in the microprocessor 40, records the total number of vends occurring in the Test mode to discourage any efforts to cheat or defeat the normal operation of the accountability system, and this information is trans~erred to the data files 51 and 52. Also, in the event that a failure occurs in the electronics of the accountability system 10, the operator may still effect normal operation of the vending machine 20. Insertion or removal of the portable data file modu]e 52 is not permitted with the test/operate switch in the Test position.
Fig. 5 illustratively shows an exploded view of a portable data file module 534, a module receptacle 540 and a portion of the printed circuit board 550 with which the module 534 connects. Figure 6 shows a portion ', 1. . '. , '. .' , , '` ' ::
' " ~ ' . i' , . . ', . ' ', ~
~.~35 51~i~
of the receptacle where the module is inserted and the to the receptacle 540 by locating pins 546 and 547 which protrude into holes 556 and 557. When the board is thus located, its tongue 558 protrudes through the opening 542 into the receptacle 540.
As the module 530 is inserted into the receptable, the female connected on the module sequentially engaged the contacts 551-555 on the tongue 558 of the printed circuit board; first engaging the longest contacts 551, 554 ~ 555, then the medium length contact 553 and finally the shortest contact 552. This technique permits the operation of certain electrical interlock circuits to assure that the module 530 is completely connected to ~he circuits on the circuit board 550 before the accountability system 10 can be operated with the module. In the portable data file module 51 of Fig. 4, power supply contacts 4 and D would be the longest, the contact 3 which is connected to the inhibit line 523 would be, the shortest, and the remaining contacts would be of medium length.
The module 530 shown in Fig. 5 is provided with three recesses in its sides. Two of these recesses 533 & 534 are provided to assist in gripping the module 530. The other recess 531 is provided to be engaged by the armature of the solenoid 541 when the module 530 is fully inserted into the receptacle 540. When the solenoid 541 is not activated and no module 530 is in the receptacle 540, the solenoid protrudes into the rec~ptacle 540, preventing the insertion of a module 530. Only when the solenoid 541 is actuated is the armature 548 withdrawn and a module 530 can be inserted in or removed from the receptacle 540.
The route operator may insert or remove the portable data file module 52 only if authorized by the microprocessor 40. The insert/remove flag is generated ~, ,.~<.
~, ;
:' ' ' , ` .
- ~ . -~3515~6~
.
with each depression of the insert/removal switch S20.
This flag advises the microprocessor 40 that the portable data file module 52 already in operation is to be removed or that a new portahle data file module 52 is to be inserted, and causes the microprocessor 40 to update and transfer the contents of the in-site data file to the module.
Upon completion of the data transfer, removal of the portable data file module 52 is authorized by the microprocessor 40 and the portable data file module 52 can be returned to a central office for read-out, analysis, and recording of the contents of its data files. As shown in Fig. 5, the removal authorization signal is transmitted from pin 33 of the microprocessor 40 via an inverter and transistor Q14 to switch transistor Q15, activating the VMI line 250. The VMI
line is also activated whenever the portable data file module 52 has been removed, as a result of the removal of ground potential from inhibit line 552. The microprocessor 40 controls the solenoid latch 61 by concurrent signals on its output pins 14 and 15~ ~Pins 12-19 of the microprocessor 40 are also used to control the display 81 via display control circuit 80). The solenoid control signal is amplified by the solenoid driver 611, a Darlington amplifier type No. 2N6039, which permits current to flow from wire 756 through the solenoid 61 to ground.
A request for removal of the portable data file module 52 causes the microprocessor 40 to update all files in the in-site data file 51 and to transEer the complete one hundred location file to the portable data file module 52. Thereafterl the cumulative file of in-site data file 51 is updated by addition of the totals for the current vend period and the values stored in current data file are returned to all zero values in preparation for the next vend interval.
. ~
.
::, , : ~ , , ~LilL~51~
a) Removal - The data file stored in the In-site Memory 51 is updated.
- The proper portions of the data file S locations iil the in-site data file 51 are transferred to the portable data file module 52.
- The solenoid actuated latch 61 is activated allowing the portable data f:ile module to be removed.
J~ - The red indicator 6~ is lit ~by concurrent signals orl pins 12 and 13 of the microprocessor ~0) advising the operator that the portable data file module inay be removed. (Note: The latch 61 will remain activated until the portable data ~5~ file ~odule is removed or until 30 seconds have passed during which the portable data file module was not removed).
- I~ the portable data file module is rernoved, the latch 61 is deactivated, the red indicator ao 62 begins to flash, and a special inhibit signal is generated by the microprocessor ~0 and-transmitted from its pin 33 to disable coin acceptance or vend authorization in the vending machine 2.
- If the portable data file module is ~5~ not relnoved t the rnlcroprocessor 40 dieactivates the latch 61 after 30 secollds and ret~rns to normal operation.
he red indiica~or 6~ is ext;nguished ~hen the latch 61 releases.
b) ~tns_rtion 3~ - The Insert/Relllove flag is reco(3nlzed alld l:he port:able dat:a ~ile module latch is activated.
~he r~d indicator 62, ~lash;ng up to tl-is time, no~
ligllts steadily to aclvise the operat:or that the portable ta ~ile illolule S2 rnay be ;nserted.
~J 3~ ~ - t~ the portal~le dcit-a ~ile moctule is not inserted be~ore 30 seconds has elapsed, the portable ", , :-: : : .
,, , " ~ , -.
. ~,, ; .
~3~
data file module latch 61 is deactivated and the system reverts to its previous state. (Red indicator 62 flashing and vending machine disabled).
- If the portable data file module is inserted, the microprocessor 40 performs a complete test o its contents. ~ fresh por-table data file module supplied by the central accounting office will have specially coded data and test patterns stored in its memory.
- If the portable data file module test is successful~ the microprocessor 40 releases the latch 61, thus locking the new portable data ile module 52 in place. The red indicator 62 is extinguished and the vendor inhibit is removed. The microprocessor 40 transfers certain initializing data to storage locations in the new portable data file module and returns to normal system operation.
~ If the tests performed on the new portable data file module 52 are not successful~ the latch 61 is deactivated, and the red indicator 62 begins flashing to advise the operator that the new portable data file module 52 is not correct and must be removed and replaced. The vending machine inhibit signal on line 250 is not removed.
Interruptions of primary power (deliberate or accidental) cannot be permitte~ to affect the recording of correct accountability data by the system. A power monitor 71 i5 included in the system 10 to detect an imminent loss of primary power. A signal is provided on line 742 to pin 6 of the microprocessor 40 to indicate this condition.
Fig. 8 shows a combined power supply and monitor circuit 710, corresponding to the power supply 70 and the power monitor 71 of Fig. 1. The power circuit 710 receives alternating current from the means via wires 711. A conventional inductive filter 712 ~' . .
' ; '. ~ ~ ' .' :
86~
reduces pulse and radio frequency interEerence.
Transformers 714, 716 & 718 convert the voltage oE the main power to the voltage required for the various DC
power supplies. The transformer outputs are connected to full-wave bridge rectifiers 724, 726 & 728 respectively.
The first power supply includes transformer 714, bridge rectifier 724, a 1000 ufd filter capacitor and a voltage regulator which produces a +12 volt output.
The second power supply includes transformer 716, bridge rectifier 725, a 1000 ufd filter capacitor and regulator 736 which produces a -24 volt output for the switching circuit including transistors Q9 and Q10.
The third power supply includes transformer 718 bridge rectifier 728, diode 729, and an RC filter comprising a large 18000 ufd capacitor and two 3.3~
resistcrs in series. The time constant of this power supply assures that it will provide DC power for sufficient time after an AC power outage for the microprocessor 40 to complete the tasks necessary to prevent loss of data. The third power supply also includes a vol-tage regulator 738 which produces the ~5 volt output.
Comparator 740 is connected to compare the approximately 2.5 volts DC from wire 741 at its negative input with the signal at its other input which is controlled by the presence of AC power at the input to the zener dioide 750. The zener diode 750 permits a small current to flow through the light emitting diode section 752 of an optical coupler 751 whenever the AC
power is on~ This causes the phototransistor section 753 of the optical coupler 751 to present a relatively high impedance between the input to the inverter 754 and ground, so that a voltage higher than 2.5 volts appears at the positive input of the comparator 740. When the .... ~
, ; . , : , ~
., -AC power is turned off, the impedance to ground of the phototransistor section 753 becomes low, causing the voltage at the positive input to the comparator 740 to drop below that at the other input. As a result, the comparator 740 output signal level shifts Erom high to lowO This causes the microprocessor 40 to switch to an interrupt mode.
The output of comparator 7~0 also controls the +12 volt switched output of the power supply by controlling comparator 760 and transistor Qll. When the comparator 740 determines that there has been an AC
power failure, Qll is caused to turn off the ~12 volt switched output.
When the microprocessor 40 has completed its interrupt mode tasks following the interrupt signal, it .:
produces the -24V interrupt signal at its pin 29. This signal is transmitted to inverter 770 and the switching circuit incorporating transistors Q9 and Q10, causing transistor Q10 to switch off the -24 volt output of the power supply. As a result of the discontinuance of the -24 volt supply, which ordinarily powers the data files 51 and 52, the contents of the data files cannot be changed until the power monitor 71 determines that power has been fully restored. When power is restored, comparator 780 sends a signal via inverter 782 and wire 783 to the RESET input of the microprocessor 40.
In the interrupt mode, the microprocessor 40 completes its current operation and proceeds immediately to update the data file stored in the in-site data file 51. This total operation will be completed in less than 0.5 seconds during which time the source of DC power to the electronics will remain stable. Thereafter, the electronics will become inactive and the correct data will have been stored in the non-volatile EAROM of the in-site data file 51.
..
: ,.
~ .
~3586~.
Upon restoration of primary power, the mieroprocessor 40 is reset by the sic~nal on wire 783 from the po~er monitor. The microproeessor 40 will perform an initializing routine which ehecks the configuration of the system (portable data file module correctly inserted, etc.) and continues the recording of data from the point that existed just prior to power interruption. A speeial counter is ineluded in the data files 51 and 52 to reeord the total number of power /~ interruptions occurring during the reporting period.
Fig~ 9 is a block diagram of a second embodiment of my invention which ineludes the cash aceountabilil:y and credit display features of the first embodiment, ld additional features of priee setting and ~$ inventory c~ ;.rol. In this embodimellt, the aecountabil; ~ system 1000 reeeives produet seleetion requests fro)li the produet seleetion s~itehes 1003 in the vending machine or system 1002, determines the proper price for that selection by refereneing a priee/produet ao memory 1059, and routes the proper priee data to the coin mechanism 1001/ such as a MARS Electronie (trademark) ~odel.604 coin meehanism. The seleet interfaee 1520 of this embodiment can individually monitor each selection switch of the vending machine 1002. At present, a lar~e vending maehine may inelude Up t 0 55 pro(l-let delivery eolumns with each eont-.aining a difEerent product and ~ith eaeh set at any one of 63 yriccs bet~een 5 cellts and $3.15. Wi.th the accountability system 1000 in accorclance ~ith this 3D elnbod;.ment of our ;nvention, a record can be kept of the nulnher of vends for each colulnn, t:he priee set for that c~lul-nn, and the cocled data de~inillg the speeific procluct loadcd in that column.
rO pel-tnit ~ continllous display of the v~iue of 3~ accumul.at:ed credit xtored hy the coi.n mechan;sm 1001, - ~ the control ]og;.c c;rcu;ts eompr;sing ~he elock log.ie : . , .,: ,., :
~ ~.35&~6~L
26, status latch circuit 36 and shift register 30, described for the first embodiment are substantially duplicated in the contro] logic 1030 oE this embodiment.
Fig. 9 shows the five interface signals from the coin mechanism buffered at the credit interface 1020, in similar fashion to interface 20 of the first embodiment, and transferred to the credit control logic 1030 for processing and interface with ~he microprocessor 1040.
Operation of the credit control logic 1030 in accountability system 1010 of this embodiment is as described for the first embodiment. Processing oE the machine ID number data from the parallel input 1031 is similar to that of the first embodiment.
Logic is included in accountability system 1010 to allow product selection requests to be detected and identified. The select interface circuit 1520 receives input signals in parallel from each of the selection switches 1003 in the vending machine 1002. A
select register 1530 periodically interrogates the select interface 1520 and stores the data appearing at its output. The contents of the select registee 1530 are serially shifted to the microprocessor 1040, by the microprocessor 1040, which detects and identifies which if any of the product select switches 1003 has been actuated by the user.
Price latch 1625 and price interface 1620 circuits are included to store and transfer the correct price data to the coin mechanism 1001.
The vend-in-progress (blocker) signal provided by the vending system 1002 on wire 1024 via the vend-in-progess interface 1025, is monitored by the microproessor 40 to detect the actual occurrence of vending of the product selected.
Three data files are included in the electronics of the second embodiment. An EAROM data file 1052, like the portable data file 52 described in ,~:
:
' ~:
~L35~16~
the first embodiment, is included in the second embodiment. It provides non-volatile storage for data storage for data defining the operation of the vending system. Data stored in accordance with the second embodiment includes the serial number of the vending system, the total cash value of all vends, the total vends for each vending column, and the price setting and product code for each column. ~nsertion and removal of the portable data file module 105~ is as described in the first embodiment. Data file interface and control logic 1050 is included to allow data transfers between the portable data file module 1052 and the microprocessor 1040. An in-site data file 1051, corresponding to the in-site data file 51 of the first embodiment, is also provided~
A third EAROM price/product data Eile 1059 is included in this embodiment to allo~ non-volatile storage of the prices and product code data ~rom each vending column of the vending machine 1002. It is this price/product data file 1059 which is accessed by the microprocessor 1040 to determine the correct price data for each vending column when a product selection is made.
A keyboard 1090 is included in this embodimen~
to permit route personnel to inspect or modify the price settings or product codes for each column o~ the vending system. Price and product code data is stored in the price/product memory 1059 by the microprocessor 104n which receives the data to be loaded from the keyboard 1090 operated by route personnel when the vending machine is serviced. A display 1081 is also provided. It performs the dual functions o~ credit display during normal operation and price/product/column display during the machine servicing activities.
Interrogation o~ the keyboard 1059 and updating of the display 1081 are controlled by the microprocessor 1040 using suitable display/keyboard interface logic 1080 to ~ ~35i~6:~L
control these operations. This embodiment also incorporates an insert/removal control 1060, a latch 61, a power supply 1070 and a power monitor 1071, which have substantially the same structure and ~unction as the corresponding elements of the first embodiment.
~ 'he central control element for the accountability system 1010 of this embodiment is an inexpensive microprocessor 1040 which performs the functions performed by the microprocessor 40 of the first embodiment and the following functions:
a) Monitors coin mechanism credit value and controls credit display.
b~ Monitors product selec-t switches and provides correct price data to coin mechanism.
c) Maintains a data file of total cash vending, total vends per column, price for each column, and product code for each column.
d) Updates portable data file module stored data to removal by route personnel. Controls removal and insertion of portable data Eile modules and, e) Controls inputting and storage of price/product data from the keyboard and displays data to route personnel during vending machine service.
~. .
. .";
.
:~.
,.
79-80 Inaetive List - Priee ~2 (2 locations as for Priee ~l) 81-82 Inaetive List - Priee #3 (2 loeations as for Priee ~1) 83-84 Inaetive L,ist Priee ~4 (2 loeations as for Priee ~1) .
85-86 Inaetive List - Priee ~5 (2 loeations as for Priee #l) 87~88 Inaetive List - Priee ~6 (2 loeations as for Priee #l) 89-90 Inaetive List - Priee #7 (2 loeations as for Price #l) 91-92 Inaetive List - Priee #8 (2 loeations as for Priee #1 93-94 Inaetive List - Priee #9 (2 ioeations as for Priee #l) 95-96 Inaetive List - Price #10 (2 loeations as for Priee #l) 97-98 Inaetive List - Priee #11 (2 loeations as for Priee #l) 99-100 Inaetive List - Priee #12 (2 loeations as for Priee #l) As previously noted t storage loeations are provided to maintain complete historieal fil.es for up to 16 different price valucs. ~dditional priees beyond the first 16 are aecomodated in the active file by retiring from t:he culnu].ati.ve file to an inactive :Eile any priee not oceurring durincJ ~he current vend interval. Up to 12 ;.nactive l~rice va].ues may be included in the inactive file.
I~hen the text/operal:e switch S].7, shown in Yi~. ~, ;s l~laced in tl-e Ol~crate pos,ition, vends are authori-~,ed and counted in the normal way, assum;ng the the portabl.e clata ~ile mo(3ule has heen inserted . 3 ~ correctly. If no port:able data file moclule is inserl:ed or if the portable data fi.le module did not ~ass ;,.......... . . .
s~
verification tests when inserted, the vending machine 2 is inhibited and no vends or coin acceptance can occur.
The vending machine inhibit (VMI) signal, which performs this function, is described further in connection with Fig. 7 below.
The memory included in the portable data file module 52 in this embodiment is the same type as that described for the in-site data file 51. Again, l00 locations of 14 bits each are included in the ~O non-volatile EAROM of the portable data file module 52.
Upon insertion o the portable data file module 52, the microprocessor 40 checks for special identification patterns stored in the portable data file module 52 at the central location. All locations of the memory are S' tested and, if correct, the values stored in all locations are set to zero and the machine identification (I~) numher is read from the parallel input circuit 31 and is written in the Machine ID location in the portable data file module 52. Thereafter, a new vend a~ interval proceeds as described elsewhere in this application.
A special ile location is included in the in-site data file 51 to record the total number o write cycles expcrienced by the EAROM memory. After a ~S predet:crJnillcd nulnbcr of such erase/write cycles, the data file clevice 51 or 52 can be retired frbm service to avoid mar(3;nal operation. Simi]arly, thc portable data file module 52 has stored in two locations the number of erase/wrlte cyclcs botl1 Eor its own mcmory dcvice 521 3 O and for lhe ln-site data file r7l of ~he machine in which it as ino,t reccntly in~stalled.
Fi~. ~ shows a numb(r oE tl)c ~orts of the microproccs-,~r ~0, alon-3 w;th details of the hi(~h Ercqucncy clock 90, tlle data Eile ;ntcrface 50, t:he 3S in-site 1at:a file 5l, alld tlle portable data f;le module 52. Pins 21, 22, 23, 29/ 35, 36 and 37 are ports o the .
: ~ .
' . ',, 1~35~6~
rnicroprocessor 40 associated with the data iles 51 and 52 in this embodiment of our accountability system 10.
The signals on leads 402, 403 and 404 are mode control signals for the Cl, C2 and C3 inputs of the in-site data file 51 and the portable data ile module 52. The functions associated with the Cl, C2 and C3 inputs are:
Cl C2 C3 Function 0 0 0 Standby--contents of address and data register remain unchanged.
~ Output buffer is let floating.
0 l l ~ccept Address--Data presented at the I/O pin 12 is shifted into the address register with each clock pulse. Addressing is by two consecutive one-of-ten codesO
l 0 0 Read--The address word is read from memory into the data register.
l 0 1 Shift Data Out--The output driver is enabled and the contents of the data ao register are shifted out one bit with each clock pulse.
0 l 0 Erase--The ~ord stored at the addressed location is erased to all zeros.
l l l ~ccept Data---The data register accepts serial data presented at the l/O pin 12. The address register remains unchangcd.
l 1 0 l~rite---The ~ord contained in the 3~ data Leyistcr is ~ritten into tlle location dcsiynated by the addrcss reyis~:erO
0 0 l Not ~sed.
The mode control <,i(~nals on wires 402, 403 and 404 are 3S buffel:ed by the a~npliier circuits including transistors - Q7, Q8 and Ql7, rcspcct:ively. Since the ports at ~;ns 3~1~6~
21 and 22 of the microprocessor 40 are dual puraposeports, the program store enable PSEN signal from pin 9 of the microprocessor 40 is buffered by the transistor Q16 amplifier and the diodes to the collectors of transistors Q7 and Q8 to disable the Cl and C2 inputs except when an access to one of the data files is intended.
Wire 501 is a bi-directional serial data line to and from the data files 51 & 52O Data from the microprocessor 40 to the data files 51 & 52 is received by wire 501 from pin 35 of the microprocessor 40, wire 406 and transistor Ql9. Data transmitted from a data file 51 or 52 to the microprocessor 40 is transmitted via transistor Q18, wire 407 and pin 36 of the microprocessor 40.
Pins 24 and 37 of the microprocessor 40 supply the signals to wires 405 and 408 which ultimately select either the in-site data file 51 or the portable data file module 52, respectively. The signal on wire 405 or 408 gates clock pulses from the 14 kHz clock 90 through the corresponding AND gate 505 or 508 to the corresponding transistor ~20 or Q21. The clock pulses are then transmitted to the clock input at pin 6 of the in-site data file 51 or the portable data file mcdule 52, thus enabling the selected data file. The clock 90 is of conventional design, incorporating a National Semiconductor type No. 555 clock circuit 91. The clock 90 also supplies its 14 kHz clock signal to pin 1, the T0 input of the microprocessor 40. A 25 Hz clock signal is supplied to the Tl input at pin 39 oE the microprocessor 40 by a Schmidt trigger circuit 95.
When the test/operate switch S17, shown in Fig. 2, is placed in the Operate position, vends are authorized and counted in the normal way, assuming the portable data file module 52 has been inserted :, . .:
' ~L35~
correctly. If no portable data file module 52 is inserted or if the portable data file module did not pass verification tests when inserted, the vending machine 2 is inhibited by the VMI signal on line 250 and no vends or coin acceptance can occur~
~ hen the test/operate switch S17 is placed in the Test posi-tion, three special effects result:
a) If the vending machine inhibit line 250 is active, it is interrupted and the vending machine is permitted to accept coins and perform vends.
b~ The microprocessor 40 maintains a special counter to record the total number of vends which occur during the period that the switch is in the Test position.
c) The red indicator 62 is caused to flash to warn the operator that the system should not be left with the switch in the Test position.
The test/operate switch S17 is provided to allow the operator to vend product and test the operation of the vendor without affecting the totals stored in the portable data file module 52. A counter, in the microprocessor 40, records the total number of vends occurring in the Test mode to discourage any efforts to cheat or defeat the normal operation of the accountability system, and this information is trans~erred to the data files 51 and 52. Also, in the event that a failure occurs in the electronics of the accountability system 10, the operator may still effect normal operation of the vending machine 20. Insertion or removal of the portable data file modu]e 52 is not permitted with the test/operate switch in the Test position.
Fig. 5 illustratively shows an exploded view of a portable data file module 534, a module receptacle 540 and a portion of the printed circuit board 550 with which the module 534 connects. Figure 6 shows a portion ', 1. . '. , '. .' , , '` ' ::
' " ~ ' . i' , . . ', . ' ', ~
~.~35 51~i~
of the receptacle where the module is inserted and the to the receptacle 540 by locating pins 546 and 547 which protrude into holes 556 and 557. When the board is thus located, its tongue 558 protrudes through the opening 542 into the receptacle 540.
As the module 530 is inserted into the receptable, the female connected on the module sequentially engaged the contacts 551-555 on the tongue 558 of the printed circuit board; first engaging the longest contacts 551, 554 ~ 555, then the medium length contact 553 and finally the shortest contact 552. This technique permits the operation of certain electrical interlock circuits to assure that the module 530 is completely connected to ~he circuits on the circuit board 550 before the accountability system 10 can be operated with the module. In the portable data file module 51 of Fig. 4, power supply contacts 4 and D would be the longest, the contact 3 which is connected to the inhibit line 523 would be, the shortest, and the remaining contacts would be of medium length.
The module 530 shown in Fig. 5 is provided with three recesses in its sides. Two of these recesses 533 & 534 are provided to assist in gripping the module 530. The other recess 531 is provided to be engaged by the armature of the solenoid 541 when the module 530 is fully inserted into the receptacle 540. When the solenoid 541 is not activated and no module 530 is in the receptacle 540, the solenoid protrudes into the rec~ptacle 540, preventing the insertion of a module 530. Only when the solenoid 541 is actuated is the armature 548 withdrawn and a module 530 can be inserted in or removed from the receptacle 540.
The route operator may insert or remove the portable data file module 52 only if authorized by the microprocessor 40. The insert/remove flag is generated ~, ,.~<.
~, ;
:' ' ' , ` .
- ~ . -~3515~6~
.
with each depression of the insert/removal switch S20.
This flag advises the microprocessor 40 that the portable data file module 52 already in operation is to be removed or that a new portahle data file module 52 is to be inserted, and causes the microprocessor 40 to update and transfer the contents of the in-site data file to the module.
Upon completion of the data transfer, removal of the portable data file module 52 is authorized by the microprocessor 40 and the portable data file module 52 can be returned to a central office for read-out, analysis, and recording of the contents of its data files. As shown in Fig. 5, the removal authorization signal is transmitted from pin 33 of the microprocessor 40 via an inverter and transistor Q14 to switch transistor Q15, activating the VMI line 250. The VMI
line is also activated whenever the portable data file module 52 has been removed, as a result of the removal of ground potential from inhibit line 552. The microprocessor 40 controls the solenoid latch 61 by concurrent signals on its output pins 14 and 15~ ~Pins 12-19 of the microprocessor 40 are also used to control the display 81 via display control circuit 80). The solenoid control signal is amplified by the solenoid driver 611, a Darlington amplifier type No. 2N6039, which permits current to flow from wire 756 through the solenoid 61 to ground.
A request for removal of the portable data file module 52 causes the microprocessor 40 to update all files in the in-site data file 51 and to transEer the complete one hundred location file to the portable data file module 52. Thereafterl the cumulative file of in-site data file 51 is updated by addition of the totals for the current vend period and the values stored in current data file are returned to all zero values in preparation for the next vend interval.
. ~
.
::, , : ~ , , ~LilL~51~
a) Removal - The data file stored in the In-site Memory 51 is updated.
- The proper portions of the data file S locations iil the in-site data file 51 are transferred to the portable data file module 52.
- The solenoid actuated latch 61 is activated allowing the portable data f:ile module to be removed.
J~ - The red indicator 6~ is lit ~by concurrent signals orl pins 12 and 13 of the microprocessor ~0) advising the operator that the portable data file module inay be removed. (Note: The latch 61 will remain activated until the portable data ~5~ file ~odule is removed or until 30 seconds have passed during which the portable data file module was not removed).
- I~ the portable data file module is rernoved, the latch 61 is deactivated, the red indicator ao 62 begins to flash, and a special inhibit signal is generated by the microprocessor ~0 and-transmitted from its pin 33 to disable coin acceptance or vend authorization in the vending machine 2.
- If the portable data file module is ~5~ not relnoved t the rnlcroprocessor 40 dieactivates the latch 61 after 30 secollds and ret~rns to normal operation.
he red indiica~or 6~ is ext;nguished ~hen the latch 61 releases.
b) ~tns_rtion 3~ - The Insert/Relllove flag is reco(3nlzed alld l:he port:able dat:a ~ile module latch is activated.
~he r~d indicator 62, ~lash;ng up to tl-is time, no~
ligllts steadily to aclvise the operat:or that the portable ta ~ile illolule S2 rnay be ;nserted.
~J 3~ ~ - t~ the portal~le dcit-a ~ile moctule is not inserted be~ore 30 seconds has elapsed, the portable ", , :-: : : .
,, , " ~ , -.
. ~,, ; .
~3~
data file module latch 61 is deactivated and the system reverts to its previous state. (Red indicator 62 flashing and vending machine disabled).
- If the portable data file module is inserted, the microprocessor 40 performs a complete test o its contents. ~ fresh por-table data file module supplied by the central accounting office will have specially coded data and test patterns stored in its memory.
- If the portable data file module test is successful~ the microprocessor 40 releases the latch 61, thus locking the new portable data ile module 52 in place. The red indicator 62 is extinguished and the vendor inhibit is removed. The microprocessor 40 transfers certain initializing data to storage locations in the new portable data file module and returns to normal system operation.
~ If the tests performed on the new portable data file module 52 are not successful~ the latch 61 is deactivated, and the red indicator 62 begins flashing to advise the operator that the new portable data file module 52 is not correct and must be removed and replaced. The vending machine inhibit signal on line 250 is not removed.
Interruptions of primary power (deliberate or accidental) cannot be permitte~ to affect the recording of correct accountability data by the system. A power monitor 71 i5 included in the system 10 to detect an imminent loss of primary power. A signal is provided on line 742 to pin 6 of the microprocessor 40 to indicate this condition.
Fig. 8 shows a combined power supply and monitor circuit 710, corresponding to the power supply 70 and the power monitor 71 of Fig. 1. The power circuit 710 receives alternating current from the means via wires 711. A conventional inductive filter 712 ~' . .
' ; '. ~ ~ ' .' :
86~
reduces pulse and radio frequency interEerence.
Transformers 714, 716 & 718 convert the voltage oE the main power to the voltage required for the various DC
power supplies. The transformer outputs are connected to full-wave bridge rectifiers 724, 726 & 728 respectively.
The first power supply includes transformer 714, bridge rectifier 724, a 1000 ufd filter capacitor and a voltage regulator which produces a +12 volt output.
The second power supply includes transformer 716, bridge rectifier 725, a 1000 ufd filter capacitor and regulator 736 which produces a -24 volt output for the switching circuit including transistors Q9 and Q10.
The third power supply includes transformer 718 bridge rectifier 728, diode 729, and an RC filter comprising a large 18000 ufd capacitor and two 3.3~
resistcrs in series. The time constant of this power supply assures that it will provide DC power for sufficient time after an AC power outage for the microprocessor 40 to complete the tasks necessary to prevent loss of data. The third power supply also includes a vol-tage regulator 738 which produces the ~5 volt output.
Comparator 740 is connected to compare the approximately 2.5 volts DC from wire 741 at its negative input with the signal at its other input which is controlled by the presence of AC power at the input to the zener dioide 750. The zener diode 750 permits a small current to flow through the light emitting diode section 752 of an optical coupler 751 whenever the AC
power is on~ This causes the phototransistor section 753 of the optical coupler 751 to present a relatively high impedance between the input to the inverter 754 and ground, so that a voltage higher than 2.5 volts appears at the positive input of the comparator 740. When the .... ~
, ; . , : , ~
., -AC power is turned off, the impedance to ground of the phototransistor section 753 becomes low, causing the voltage at the positive input to the comparator 740 to drop below that at the other input. As a result, the comparator 740 output signal level shifts Erom high to lowO This causes the microprocessor 40 to switch to an interrupt mode.
The output of comparator 7~0 also controls the +12 volt switched output of the power supply by controlling comparator 760 and transistor Qll. When the comparator 740 determines that there has been an AC
power failure, Qll is caused to turn off the ~12 volt switched output.
When the microprocessor 40 has completed its interrupt mode tasks following the interrupt signal, it .:
produces the -24V interrupt signal at its pin 29. This signal is transmitted to inverter 770 and the switching circuit incorporating transistors Q9 and Q10, causing transistor Q10 to switch off the -24 volt output of the power supply. As a result of the discontinuance of the -24 volt supply, which ordinarily powers the data files 51 and 52, the contents of the data files cannot be changed until the power monitor 71 determines that power has been fully restored. When power is restored, comparator 780 sends a signal via inverter 782 and wire 783 to the RESET input of the microprocessor 40.
In the interrupt mode, the microprocessor 40 completes its current operation and proceeds immediately to update the data file stored in the in-site data file 51. This total operation will be completed in less than 0.5 seconds during which time the source of DC power to the electronics will remain stable. Thereafter, the electronics will become inactive and the correct data will have been stored in the non-volatile EAROM of the in-site data file 51.
..
: ,.
~ .
~3586~.
Upon restoration of primary power, the mieroprocessor 40 is reset by the sic~nal on wire 783 from the po~er monitor. The microproeessor 40 will perform an initializing routine which ehecks the configuration of the system (portable data file module correctly inserted, etc.) and continues the recording of data from the point that existed just prior to power interruption. A speeial counter is ineluded in the data files 51 and 52 to reeord the total number of power /~ interruptions occurring during the reporting period.
Fig~ 9 is a block diagram of a second embodiment of my invention which ineludes the cash aceountabilil:y and credit display features of the first embodiment, ld additional features of priee setting and ~$ inventory c~ ;.rol. In this embodimellt, the aecountabil; ~ system 1000 reeeives produet seleetion requests fro)li the produet seleetion s~itehes 1003 in the vending machine or system 1002, determines the proper price for that selection by refereneing a priee/produet ao memory 1059, and routes the proper priee data to the coin mechanism 1001/ such as a MARS Electronie (trademark) ~odel.604 coin meehanism. The seleet interfaee 1520 of this embodiment can individually monitor each selection switch of the vending machine 1002. At present, a lar~e vending maehine may inelude Up t 0 55 pro(l-let delivery eolumns with each eont-.aining a difEerent product and ~ith eaeh set at any one of 63 yriccs bet~een 5 cellts and $3.15. Wi.th the accountability system 1000 in accorclance ~ith this 3D elnbod;.ment of our ;nvention, a record can be kept of the nulnher of vends for each colulnn, t:he priee set for that c~lul-nn, and the cocled data de~inillg the speeific procluct loadcd in that column.
rO pel-tnit ~ continllous display of the v~iue of 3~ accumul.at:ed credit xtored hy the coi.n mechan;sm 1001, - ~ the control ]og;.c c;rcu;ts eompr;sing ~he elock log.ie : . , .,: ,., :
~ ~.35&~6~L
26, status latch circuit 36 and shift register 30, described for the first embodiment are substantially duplicated in the contro] logic 1030 oE this embodiment.
Fig. 9 shows the five interface signals from the coin mechanism buffered at the credit interface 1020, in similar fashion to interface 20 of the first embodiment, and transferred to the credit control logic 1030 for processing and interface with ~he microprocessor 1040.
Operation of the credit control logic 1030 in accountability system 1010 of this embodiment is as described for the first embodiment. Processing oE the machine ID number data from the parallel input 1031 is similar to that of the first embodiment.
Logic is included in accountability system 1010 to allow product selection requests to be detected and identified. The select interface circuit 1520 receives input signals in parallel from each of the selection switches 1003 in the vending machine 1002. A
select register 1530 periodically interrogates the select interface 1520 and stores the data appearing at its output. The contents of the select registee 1530 are serially shifted to the microprocessor 1040, by the microprocessor 1040, which detects and identifies which if any of the product select switches 1003 has been actuated by the user.
Price latch 1625 and price interface 1620 circuits are included to store and transfer the correct price data to the coin mechanism 1001.
The vend-in-progress (blocker) signal provided by the vending system 1002 on wire 1024 via the vend-in-progess interface 1025, is monitored by the microproessor 40 to detect the actual occurrence of vending of the product selected.
Three data files are included in the electronics of the second embodiment. An EAROM data file 1052, like the portable data file 52 described in ,~:
:
' ~:
~L35~16~
the first embodiment, is included in the second embodiment. It provides non-volatile storage for data storage for data defining the operation of the vending system. Data stored in accordance with the second embodiment includes the serial number of the vending system, the total cash value of all vends, the total vends for each vending column, and the price setting and product code for each column. ~nsertion and removal of the portable data file module 105~ is as described in the first embodiment. Data file interface and control logic 1050 is included to allow data transfers between the portable data file module 1052 and the microprocessor 1040. An in-site data file 1051, corresponding to the in-site data file 51 of the first embodiment, is also provided~
A third EAROM price/product data Eile 1059 is included in this embodiment to allo~ non-volatile storage of the prices and product code data ~rom each vending column of the vending machine 1002. It is this price/product data file 1059 which is accessed by the microprocessor 1040 to determine the correct price data for each vending column when a product selection is made.
A keyboard 1090 is included in this embodimen~
to permit route personnel to inspect or modify the price settings or product codes for each column o~ the vending system. Price and product code data is stored in the price/product memory 1059 by the microprocessor 104n which receives the data to be loaded from the keyboard 1090 operated by route personnel when the vending machine is serviced. A display 1081 is also provided. It performs the dual functions o~ credit display during normal operation and price/product/column display during the machine servicing activities.
Interrogation o~ the keyboard 1059 and updating of the display 1081 are controlled by the microprocessor 1040 using suitable display/keyboard interface logic 1080 to ~ ~35i~6:~L
control these operations. This embodiment also incorporates an insert/removal control 1060, a latch 61, a power supply 1070 and a power monitor 1071, which have substantially the same structure and ~unction as the corresponding elements of the first embodiment.
~ 'he central control element for the accountability system 1010 of this embodiment is an inexpensive microprocessor 1040 which performs the functions performed by the microprocessor 40 of the first embodiment and the following functions:
a) Monitors coin mechanism credit value and controls credit display.
b~ Monitors product selec-t switches and provides correct price data to coin mechanism.
c) Maintains a data file of total cash vending, total vends per column, price for each column, and product code for each column.
d) Updates portable data file module stored data to removal by route personnel. Controls removal and insertion of portable data Eile modules and, e) Controls inputting and storage of price/product data from the keyboard and displays data to route personnel during vending machine service.
~. .
. .";
.
:~.
,.
Claims (6)
1. An accountability system for a vending machine having means for vending products, means for crediting the value of deposited monies, means for comparing the credit with the price of the product for determining the sufficiency of the credit and any excess of credit, and means for dispensing change equal to an excess of credit;
the accountability system comprising digital data processor means for collecting transaction data, an in-site data file for storing the transaction data, an exchangeable, portable data file module for recording the transaction data stored in the in-site data file, means for updating the data in the portable data file module prior to removal and exchange of the module, means for recording an identification of the particular vending machine in the portable data file module, means to inhibit operation of the vending machine in the absence of a portable data file module, and means to lock the portable data file module in place in the vending machine, the lock means being controlled by the data processor.
the accountability system comprising digital data processor means for collecting transaction data, an in-site data file for storing the transaction data, an exchangeable, portable data file module for recording the transaction data stored in the in-site data file, means for updating the data in the portable data file module prior to removal and exchange of the module, means for recording an identification of the particular vending machine in the portable data file module, means to inhibit operation of the vending machine in the absence of a portable data file module, and means to lock the portable data file module in place in the vending machine, the lock means being controlled by the data processor.
2. The accountability system of claim 1 wherein the transaction data includes product selection data from the vending means and credit data from the credit determining means.
3. The accountability system of claim 2 wherein the accountability system receives both credit data and product selection data from the credit determining means.
4. The accountability system of claim 2 wherein the accountability system functions as an interface between the credit determining means and the vending means.
5. The accountability system of claim 1 further comprising a data file correlating price and product data.
6. An accountability system according to claim 1 further comprising a power supply including a short term power reserve, and a power monitor for indicating a failure of main power, wherein the processor is connected to update a data file during the period after the main power fails and before the short term power reserve is consumed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CA000349544A CA1135861A (en) | 1980-04-10 | 1980-04-10 | Vending machine accountability system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CA000349544A CA1135861A (en) | 1980-04-10 | 1980-04-10 | Vending machine accountability system |
Publications (1)
Publication Number | Publication Date |
---|---|
CA1135861A true CA1135861A (en) | 1982-11-16 |
Family
ID=4116680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA000349544A Expired CA1135861A (en) | 1980-04-10 | 1980-04-10 | Vending machine accountability system |
Country Status (1)
Country | Link |
---|---|
CA (1) | CA1135861A (en) |
-
1980
- 1980-04-10 CA CA000349544A patent/CA1135861A/en not_active Expired
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4272757A (en) | Vending machine accountability system | |
US4700296A (en) | Electronic access control system | |
US6111522A (en) | Multiple electronic purse parking meter | |
US5366404A (en) | Auxillary coin dispenser with transaction data recording and transfer mechanisms | |
CA1193366A (en) | Multiple purchase discount module for a single price vending machine | |
US4512453A (en) | Vendor accountability system | |
CA2162097C (en) | Vending machine audit monitoring system | |
US4141078A (en) | Library circulation control system | |
US4068213A (en) | Checkout system | |
US4007355A (en) | Data-transfer system | |
US5739513A (en) | Automated shopping basket system with accounting using marks written on articles | |
EP0458610A1 (en) | Vending system capable of renewing record of a prepaid card | |
JPH01501906A (en) | Prepaid hourly payment system using disposable cards with built-in electronic memory | |
JPS62271094A (en) | High security type selling/lending machine permissible to customer's checking of goods | |
JPH07181235A (en) | Testing system for circuit board | |
KR100209857B1 (en) | Electronic money device | |
CA1135861A (en) | Vending machine accountability system | |
GB2086114A (en) | Vending Machine Control System | |
CA1097816A (en) | Checkout system | |
IE55881B1 (en) | Commodity dispensing apparatus | |
JPH1094662A (en) | Card type game system | |
JP3041765B2 (en) | Postpaid card system management device | |
WO1999000757A1 (en) | Coin-operated computer terminal | |
JP2934304B2 (en) | Fare settlement device with card type ticket | |
JPH1063882A (en) | Ic memory card mount device with mounting/demounting frequency detecting function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MKEX | Expiry |