OPTICAL VEND-SENSING SYSTEM FOR CONTROL OF VENDING MACHINE

Abstract: For ensuring that a vending machine motor will continue to operate until a product has descended through a vending space or an established time interval has elapsed, an optical beam is established across the vend space through which a product must drop. A change in beam intensity is detected. By preference infrared light is emitted at one focal point of an elliptical reflector, and detected at the other focal point. The light is emitted in pulses in the preferred embodiment, and the optical sensing system has automated calibration and error detecting functions.

Description: OPTICAL VEND-SENSING SYSTEM FOR CONTROL OF VENDING MACHINE BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention pertains to a machine that dispenses objects and detects the dispensed objects with an optical sensor, and more particularly to an optical vend-sensing system and a vending machine that has an optical vend-sensing system. 2. Description of Related Art In a typical glass-front vending machine, the user of the machine sees a glass-fronted cabinet, with a selector panel located off to one side of the glass. Through the glass, there can be seen an array of articles, typically packaged snack foods arranged in horizontal columns which extend horizontally in a front-to-rear depthwise direction, with a plurality of columns at each of several vertically spaced levels. At each level the articles are pocketed in-between adjacent turns of respective spirals arranged one or two to a column. Each spiral has an axially central rearwardly projecting stem at its rear, which is plugged into the chuck of a respective motor assembly mounted to the rear of a tray. When a user makes the requisite payment to the machine and makes a desired selection on the selector panel, the spiral or spirals for the respective column begin to turn causing all of the packaged articles received among the spiral turns in that column to advance. If the vending machine is working properly, the respective spiral or spirals turn sufficiently to cause the leading packaged article in the respective column to be conveyed sufficiently far forwards that the package loses support provided from underneath by a respective tray, and tumbles down past the front of the respective shelf, through a vend space between the fronts of the columns and the back of the glass front, into an outlet bin, from which the user can retrieve it, typically by temporarily pushing in a hinged from above, normally closed door. Again, if the machine is working properly, the respective spiral or spirals cease being turned by the respective motor assembly before the next-in-line, newly leading package in the respective column mistakenly becomes conveyed so far forwards that it, too, falls off the tray, down through the vend space and becomes vended without a requisite payment having been made. Several different unplanned occurrences can occur, and the possibility and likelihood of their occurrence complicates the design of glass-front vending machines. It is important that users, upon making requisite payment, be reliably vended the product which they have selected, without any deficiency or bonus, and without any need, or apparent desirability for expending unusual effort, or that the user automatically be provided a return of payment, or the opportunity to make another selection. Spatial orientation of packages and wrinkling of packaging, unusual distribution of contents of a package, unusual tumbling of a package through the vend space, an empty pocket in a spiral and similar factors all can cause mis-vending, particularly if the machine is one in which a spiral is made to turn through only a predetermined angular distance for vending a selected product, or the package being vended, depending on how it falls, can bypass a detector meant to terminate rotation of the respective spiral or spirals upon detecting that a package has been vended. Many glass-front vendors are modularly constructed, so that the number of vertically-spaced rows of product columns, and/or the number of laterally spaced columns per row can be changed either at the time the machine is ordered by its purchaser, or in the field, or both. This fact also complicates provision of reliable vending, particularly if adding and deleting columns necessitates adding and deleting sensors and making sure that the sensors are properly positioned and correctly operating. Addition of sensors also adds to expense. It is known in the art to provide an emitter and detector which provide a beam in a confined space through which the vended product will fall. However, there is some chance that the falling product, through happenstantial orientation will fail to break the beam, or will apparently fail to break the beam, and therefore not be detected. There is also a possibility that in constricting the space through which the product must fall, happenstantial orientation will cause the product to bridge and become lodged in the constricted space, having been detected but not having been successfully vended. Others have provided vend sensors in which the impact on the outlet chute of a comparatively heavy vended article such as a can or bottle, is sensed as a vibration. However, such sensing is not economically feasible where at least some of the products being vended are very light in weight, such as is the case where a small number of large potato chips are presented in a facially large but light in weight package made of synthetic plastic film. A particularly difficult situation is presented when some of the products to be dispensed are large so that a large transverse cross-sectional area is required for the vend space, but others of the products are so small that an optical beam meant to be broken by the product could be missed due to happenstantial path of movement and changing spatial orientation of the falling product being vended. Some terminology used in this document is used in an exemplary way which is not intended to limit the applicability of the broader concepts of the invention. For instance, the terms article, packaged product, product and the like are not intended to limit the concept of what object can be vended, or otherwise dispensed. Use of the term glass is not intended to mean that the front of the vendor cannot in whole or in part be made of another material. Although the manufacturing costs may be lower, there can be more risk of faulty operation if a rotary spiral-type vending machine is designed simply to have the respective spiral or spirals turn through a prescribed number of degrees and/or for a prescribed amount of time before ceasing to turn, i.e. without any vend sensor. The customer who sees the machine quit operating but not having received a product, which may be noticeably close to being vended, may rock the machine thinking to provide enough physical encouragement as to accomplish the vending of the product, but result in damaging the machine and perhaps injuring themselves. And, to the extent that the cost of providing a 'home' switch for terminating motor operation after each respective spiral has turned through the angular distance calculated to be sufficient to vend a product adds to the cost of the machine, vending control based on extent of rotation limitation may not be less expensive than vend sensing. SUMMARY OF THE INVENTION Accordingly, it is an object of this invention to provide an optical vend-sensing system which detects an object that has actually been vended. It is another object of this invention to provide an optical vend-sensing system which detects vended objects which are of various sizes and shapes. It is another object of this invention to provide an optical vend-sensing system which is robust against background noise and stray signals and against intentional attempts to disrupt the detection system. It is yet another object of this invention to provide a vending machine which has an optical vend-sensing system as indicated above. It is another object of this invention to provide a method of detecting a dispensed object with an optical sensor which can detect dispensed objects of various sizes and shapes. It is another object of this invention to provide a method of detecting a dispensed object such that it is robust against background noise, interference signals, and intentional attempts to disrupt the operation of the system. For ensuring that a vending machine motor will continue to operate until a product has descended through a vending space or an established time interval has elapsed, a continuous optical beam is established across the vend space through which a product must drop. Preferably, the beam is thin for good sensitivity, but not so thin that it leads to alignment problems. A change in beam intensity is detected. In a first embodiment, infra-red light is emitted by a row of emitters, spread into a beam by a diffuser, and detected by a segmented detector arrangement, including two side by side curved, mirrored- surface collectors. The collectors have a reflecting surface that is a section of a parabola that focuses the collected light onto a photodiode disposed substantially at the focal point of the parabolic surface. In a second embodiment of the invention, the collector is a heel-shaped component which has a first reflecting surface that is substantially flat. The flat reflecting surface of the collector in the second embodiment of the invention reflects the incoming light in the direction of the edge of the heel- shaped collector. The heel-shaped collector has an edge that is substantially parabolic and is a second reflecting surface. Light reflected from the parabolic edge of the heel-shaped collector is reflected to a photodiode or a dimple reflector constructed and arranged substantially at the focal point of the parabolic edge of the heel-shaped collector. The surface of the dimple reflector is preferably substantially an inverted parabolic shape such that the light incident on the dimple reflector is redirected as a substantially collimated beam directed substantially normally to the heel-shaped collector, substantially at the focal point of the parabolic edge of the heel-shaped reflector. An electromagnetic radiation detecting element, such as a photodiode, is disposed in the path of the collimated beam formed by the dimple reflector. In a third embodiment of the invention, a substantially elliptical reflector has an inner reflecting surface which is formed like an elliptical belt. In the preferred embodiment, a single emitter is disposed substantially at a first focal point of the elliptical reflector. More preferably, a dimple reflector is disposed substantially at the first focal point of the elliptical reflector such that light provided by the emitter in a direction orthogonal to the plane of the elliptical reflector is redirected towards the reflecting surface of the elliptical reflector, substantially in the plane of the elliptical reflector. An electromagnetic radiation detecting element is disposed at the second focal point of the elliptical reflector in the second embodiment of the invention. More preferably, a second dimple reflector is provided at the second focal point of the elliptical reflector and a photodiode is disposed proximate to the dimple reflector such that light reflected by the elliptical reflector and converged onto the dimple reflector at the second focal point of the elliptical reflector is redirected substantially in a collimated beam orthogonal to the plane of the elliptical reflector. This provides a band of electrical magnetic radiation, preferably infra-red light, within an interior region defined by the elliptical reflector. An object to be detected, such as a vended item, passes through the beam of light provided within the interior region defined by the elliptical reflector. In each of the three currently preferred embodiments, the photodiode provides an output signal which is processed to determine whether an object has passed through the beam of preferably infra-red light. In general, the band of electromagnetic radiation can be provided in either a continuous wave or a pulsed mode. In the preferred embodiments, the electromagnetic radiation is pulsed infra-red radiation. BRIEF DESCRIPTION OF THE DRAWINGS A preferred embodiment of the invention is described in more detail with reference to the attached drawings, in which: Figure 1 is a schematic vertical longitudinal sectional view of a glass front vending machine provided with an optical vend sensor in accordance with principles of the present invention; Figure 2 is a block diagram of elements of the optical vend sensor of the present invention; Figure 3 A is a front elevational view of a first embodiment of the collector body for the sensors of the optical vend sensor of the present invention; Figures 3B - 3E are cross-sectional views of the collector body, respectively taken on lines 3B-3B, 3C-3C, 3D-3D and 3E-3E, of Figure 3A; Figure 3F is a bottom plan view of the collector body of the first embodiment; Figure 4 illustrates a second embodiment of the collector in which there is a corresponding emitter; Figure 5 A is a plan view of the second embodiment of the collector; Figure 5B is a side view of the second embodiment of the collector; Figure 6 is an enlarged view of a section of the collector shown in Figure 5A; Figure 7 is a perspective view of a combined emitter/collector structure according to a third embodiment of the invention; Figure 8 is a plan view in the plane of the elliptical reflector according to the third embodiment of the invention schematically illustrating light propagation in the system; Figure 9 is a schematic electrical circuit diagram of a formerly preferred embodiment of the optical vend sensor system of the present invention; Figure 10 is a schematic electrical circuit diagram of a presently preferred embodiment; Figure 11 is a schematic electrical circuit diagram of a circuit that provides automatic and dynamic adjustment of the strength of the light pulses from the emitters; Figure 12 is a schematic electrical circuit diagram corresponding to Figure 10 which includes buffering the output through the emitter follower; Figure 13 is a flowchart illustrating the service mode calibration of the vend-sensing system; Figure 14 is a flowchart illustrating the sales mode calibration of the vend-sensing system; Figure 15 is a flowchart illustrating the pre- vend calibration of the end- sensing system; and Figure 16 is a flowchart illustrating the vend operation logic of the vend-sensing system. DETAILED DESCRIPTION An exemplary vending machine in which the optical vend-sensing system of the invention may be provided and used, is schematically illustrated at 10 in Figure 1. Much of the conventional structure has been omitted. In general, the vending machine 10 is shown including a cabinet 12 having opposite sidewalls, a back wall, a top wall and a bottom wall which cooperatively define a forwardly facing cavity 14 arranged to have a plurality of tray assemblies 16 mounted therein at a plurality of vertically spaced levels. In general, the vending machine has an electromechanical dispensing unit 16a. In the example illustrated in Figure 1 , the electromechanical dispensing unit 16a includes the tray assemblies 16. Each tray assembly 16 has a plurality of motorized horizontally arranged spirals which are spaced from one another widthwise of the tray, and each of which extends longitudinally in a front-to- rear depthwise direction of the tray. Each spiral plugs into the driving chuck of a respective drive motor which is arranged to undirectionally rotate the spiral about the longitudinal axis of the spiral. In addition to the left, right upstanding flanges 18 used for mounting the tray assembly to the cabinet 12 preferably using drawer-mounting hardware which permits each tray assembly to be pulled out like a drawer, and a rear flange for mounting each motor assembly, the tray assembly includes a horizontal tray surface which underlies 10 all of the spirals to provide support for the spirals and for the packaged products that are received in the respective upwardly opening pockets formed between neighboring turns of the respective spirals. Some columns may have one spiral per column; others may have two coordinately counter rotated spirals per column, with upstanding sidewall flanges mounted on the tray to divide columns from one another. Spaced, for example, about 9 inches (23 cm) in front of the front edges of the tray assemblies as a panel in an openable/lockable door (not shown), is a glass front 22, through which a prospective customer can view the leading packaged products available for being vended upon operation of the machine. The door, to one side of the glass front, further includes a selector panel, or generally a payment and selection unit, (not shown) which includes means for accepting payment from the user, and for the user to select which column he or she wishes to receive the leading packaged product from. Vending, upon selection, is accomplished by causing the respective motor assembly or assemblies for the spiral or spirals of the respective column to turn through a sufficient angular distance, as to advance all of the products nested in the turns of the respective spiral or spirals forward such that the leading one loses support from below as it reaches the front of the respective tray support surface and the runout at the front end or ends of the respective spiral or spirals, and drops through the vend space 24 behind the glass front 22, down into a vend hopper 26, from which it can be retrieved by the customer, by temporarily pushing in from the bottom on the top-hinged, resiliently urged closed door 28. (Typically, the door 28 is the outer part of a double-door arrangement configured such that as the user pushes in the outer door, a normally open inner door (not shown) at the top of the vend hopper correspondingly temporarily closes, for denying the user upward access to the vending machine cavity 14 via the vend hopper door 28. 11 The present invention concerns an optical vend-sensing system, the article sensing subsystem of which is arranged athwart the vend space 24 immediately above the vend hopper 26, at 30, and a vending or dispensing machine that has such an optical vend-sensing system. A first embodiment of the optical vend-sensing system 32 is schematically and diagrammatically illustrated in Figure 2 in which, mounted behind an opening in a fairing wall 34 of the cabinet, is at least one and preferably a row 36 of electromagnetic radiation emitters, preferably arranged to emit infra red radiation across the vend space 24, towards at least one and preferably a side-by-side pair of collectors 38 mounted behind an opening in a fairing wall 40 of the cabinet. By preference, the opening just mentioned is glazed with a diffuser panel 42, which may be of the material and design conventionally used for diffusing light from fluorescent light tubes in overhead lighting fixtures of offices. Either opening could be simply open or glazed by a non-patterned transparent or translucent glass or plastic panel. By preference, the IR emitters 36 are provided in plurality and arranged so that, in combination with the diffuser 42, they provide a thin plane of electromagnetic radiation which is generally horizontal (though somewhat tilted for manufacturing considerations, as suggested by the tilted orientation of the subsystem 30 as shown in Figure 1), and so extensive and pervasive that even the smallest dispensed package or article falling through the vend space 24 cannot but momentarily diminish the radiation reaching the collectors 38 from the emitters 36 just before the package or article falls into the vend hopper 26. As one may see in Figures 3A - 3F, the collectors 38 preferably are provided on a body 46 that preferably is molded of synthetic plastic material, 12 and all matte black on its front side, except for its two horizontally and downwardly facing parabolic mirrored surfaces 48. These are arranged immediately side by side as adjoining arches, to effectively cover on the collection side, the entire front-to-rear dimension of the band of radiation coming from the emitters 36 as affected by the diff users. The number of arches could be one, three or more, two being preferred for manufacturing considerations. A collector with one arch has advantages that one mirror is cheaper to manufacture than two, and it would require one less detector and less circuitry than the two-arch case. In addition, a single mirror with a single detector has an advantage of higher sensitivity. With two or more detectors connected essentially in parallel, any signal from one is attenuated by the constant current flowing through the others if they are not similarly occluded. The signals are averaged over the number of detectors. In addition, one detector does not have a problem with non-uniformities in sensitivity due to manufacturing tolerances of the detectors. The collector body 46 is arranged for mounting of respective detectors, preferably TR photodetectors 52 (Figure 2) at the foci 54 of the respective collector mirrors 48 in one embodiment of the invention. The system of Figure 2 further includes other signal conditioning electronics 58 operatively interposed between the detectors 52 and the vending machine control unit 62 of the vending machine 10, to which the vending machine motors 64 (i.e. for turning the spirals) are operatively connected. The vending machine control unit has a commanding relationship with an IR light control relay and power transistor arrangement 66 which powers the IR emitters 36. Further by way of providing an overview of the vend-sensing system, in use, the detector circuitry picks-up ambient light on both of the collectors 38 as detected by both of the detectors 52 with the emitters 36 turned off, and the 13 microcontroller, i.e. the machine control unit 62 stores the respective value. Then, the microcontroller turns on the emitters 36, whereupon the system takes another reading from the detectors 52, and compares that with the previously stored reading from when the emitters were off. These two results are differenced to obtain a reference value which equates to the strength of the beam of radiation of the thin plane as sensed at the detectors, after correcting for ambient radiation at the same wavelengths that is not due to emissions by the emitters 36, this reference value being determined when no products are falling through the beam and the beam is not otherwise obstructed. By preference, the step of acquiring a reference value is practiced several times, until results converge on a median which can be used as the reference value. Sensing of a product drop through the beam 50 involves sensing that the radiation reaching the detectors as a result of operation of the emitters has temporarily diminished by a preselected amount, which the machine control unit 62 registers as a product drop, for the purpose of terminating operation of the respective helix-rotating motor or motors. To the extent that there is a small dead space at 68 (Figure 3A) between the two mirrors, such that a small product falling with a happenstantial orientation could especially slightly diminish the amount of radiation reaching the detectors, it is preferred that in practicing this embodiment of the invention, the signals from both the photodiodes 52 be added for comparison with the reference value. The optical components of a second embodiment of the invention are illustrated in Figure 4 so as to show schematically the arrangement of the optical vend system in a vending machine. The optical vend-sensing system according to the second embodiment has a diverging element 70 and a collector 72. The diverging element 70 and collector 72 are disposed in the vending machine body 74 so as to provide a flat and beam 76 which 14 substantially subtends a region of the vending machine where a vended object will pass during vending. A bank of LEDs could alternatively replace the diverging element 70, as in the first embodiment. Similarly, the first embodiment could also employ diverging elements that are substantially the same in structure as the collectors 38 instead of a bank of LEDs. Figure 5A shows a plan view of the collector 72. Since the diverging element 70 is substantially the same in structure as the collector 72, it is not shown in detail. Preferably, the collector 72 is of a solid transparent material. Plexiglas or polycarbonate are suitable low-cost materials. The collector 72 has a first reflecting surface 78 that is substantially flat. The reflecting surface 78 may be provided by depositing metal, on the outer surface of the collector 72. A metal may be selected from aluminum, silver, gold, or other metals conventionally known for providing reflective surfaces, based on the specific application. The collector 72 has a second reflecting surface 80 which is substantially a parabolic shape as illustrated in the plane of Figure 5A. Figure 5B shows a side view of the collector 72. The top of the collector 72 is painted black to shield the collector from extraneous light. Similarly, the bottom 84 of the collector 72 is painted black, except at a transparent region 86, which permits light from the flat and beam 76 to enter and reflect from the first reflecting surface 78. Preferably, the detector 88 has an electromagnetic detecting element 90 disposed substantially at a focal point of the second reflecting surface 80, and an electronic circuit board 92. The diverging element 70 (Figure 4) provides a flat and beam 76 by diverging light from an emitter (not shown) such as an LED. The flat and beam 76 enters the collector 72 through the transparent region 86 to be reflected from the first reflecting surface 78 and reflected from the second reflecting surface 80. The light reflected from the second reflecting surface is 15 focused on the electromagnetic radiation detecting element 90 which is preferably a photodiode (see, Figure 6). Figure 7 illustrates the optical components of a third embodiment of the invention. The optical vend-sensing system according to the third embodiment of the invention has a substantially elliptical reflecting ring 94. The reflecting ring 94 is constructed and arranged to span the vending chute of the vending machine such that vended, or otherwise dispensed, objects pass through an inner space defined by the reflecting ring. The inner surface of the reflecting ring 94 is a reflecting surface 96. An emitter 98 is disposed proximate to a first focal point for the elliptical reflecting ring 94 and an electromagnetic radiation detecting element 100 is disposed proximate to the opposing focal point of the elliptical reflecting ring 94. The emitter 98 and detector 100 are each supported by conventional mechanical supports which are not shown in Figure 7. Preferably, a first dimple reflector 102 is disposed substantially at a first focal point of the elliptical reflecting ring 94, and a second dimple reflector 104 is disposed at the opposing focal point of the reflecting ring 94. The dimple reflectors 102 and 104 have substantially inverted parabolic surfaces. The substantially parabolic reflecting surfaces of the second dimple reflector 104 direct light reflected from the reflecting surface 96 into a substantially collimated beam that is substantially perpendicular to a plane of the elliptical reflecting ring 94. The emitter 98, in combination with the first dimple reflector 102, operates in a similar manner to the second dimple reflector and electromagnetic radiation detecting element 100, but in a reversed light-travel direction. In other words, a collimated light beam emitted from the emitter 98 is reflected by a dimple reflector 102 such that it is dispersed to substantially fill an interior region defined by the elliptical reflecting ring 94 with emitted electromagnetic radiation. In the preferred embodiment, the emitter 98 is a light emitting diode (LED). Figure 8 is a schematic illustration shown in a plane of the elliptical reflecting ring 94 16 to schematically illustrate the paths followed by a few representative light rays. Light rays emanating substantially from a first focal point 106 of the reflecting ring 94 substantially recon verge on a second focal point 108 of the reflecting ring 94. The optical system according to the third embodiment of the invention provides an efficient means for directing light from the emitter 98 to substantially fill an interior region defined by the reflecting ring 94, and then collecting substantially all of the emitted light at the opposing focal point of the reflecting ring 94. For successful operation, it is necessary that the system detect objects having a narrowest dimension equivalent to that of the narrowest article likely to be vended by the machine, e.g. 0.25 inch (0.6 cm), while the object is falling at any velocity which forcibly will occur in the vending machine. The vend- sensing system, by preference, is arranged to reject false negative states, and to allow false positive states to the extent that false positive states are introduced by the operator. In the following discussion the terms emitter, collector and detector are sometimes used in the singular, without intending thereby to require that any structure be provided in the singular, the preferred numbers of these elements being as described above. In a first embodiment, the vend-sensing system works by sensing perturbations of the steady-state intensity of a flat band of electromagnetic radiation, preferably infrared light. In the currently preferred embodiment of the vend-sensing system, the emitter produces a pulsed, beam of electromagnetic radiation which is also preferably infrared light. In a pulsed mode of operation, the general concept is that the detected pulses of light exceed a detection threshold when no object is located in the beam of light, but fail to exceed the detection threshold for pulses emitted when an object is located within the detection region thus intercepting at least a portion of the 17 beam of light. The detection threshold is generally selectable according to the desired detection sensitivity. In the preferred embodiment, the pulses of infrared radiation are emitted at substantially regular intervals with substantially the same pulse width. The frequency of the pulses is chosen to be greater than frequencies for commonly occurring background sources, such as 60 Hz and 120 Hz, so as to permit filtering out the low frequency background sources. Although pulses that have substantially constant widths and substantially constant inter-pulse intervals is currently preferred, the general concept of the invention includes emitting coded pulses. An embodiment that uses coded pulses would require increased complexity in the vend-sensing circuitry, but it would provide greater security against individuals who attempt to trick the vend-sensing system. In the currently preferred embodiments, the vend-sensing system is comprised of three subsystems: An emitter, a collector and a detector. A pulsed band of light is generated by the emitter across a gap and focused onto a photoelectric transducer within the collector in the preferred embodiment. As we noted above, the invention is not limited to operating only in a pulsed mode. The general concept of the invention includes using a "continuous- wave" emitter to provide a substantially constant, beam of electromagnetic radiation but this is not currently the most preferred mode. Objects placed inside this gap partially or totally occlude the light beam and so vary the output from the collector. The detector includes a circuit which translates the collector's output signal into a true or false detection signal. The protocol used in the preferred embodiment asserts that each pulse delivered by the emitter must be detected when there is no object in the detection region. The broader concept of the invention includes permitting a certain number of undetected pulses when there is no object in the detection region. In the preferred embodiment, the pulse frequency is selected to be 18 sufficiently large such that a plurality of pulses are emitted during the traversal of an object through the detection region. If a number n of consecutive output pulses are below the detection threshold, then a detection of a dispensed object is flagged. Pulsing the light from the emitter has two effects: First, higher instantaneous beam intensities may be produced without high current consumption, and second, signal-to-noise ratios are increased by sampling only at the modulation frequency. Line noise and bulb flicker are well below this frequency, and are attenuated. Stray light entering the collector from a multitude of sources could cause false triggering of the detector. In addition, if it is sufficiently intense, the collector signal could exceed the dynamic range of the circuitry, and allow products to fall without detection. Further, if the high intensity source is modulated, the collector output will have a strong component mirroring the carrier frequency, which could interfere with accurate detection. False signs could also be generated whenever the excitation beam's intensity, as perceived by the collector, changes due to reasons other than an occluding object or stray light. A primary contributor to this effect could be mechanical vibration of the system, which could cause the transducer to shift its position relative to the point at which the excitation beam is focused. A rough inverse relationship exists between this "microphonic noise" and stray light rejection: The tighter the focus, hence greater the rejection of stray light, the less deflection from focus is required for the transducer to produce a false signal. However, such low frequency microphonic noise can be filtered out in the pulsed mode embodiment by selecting a pulse frequency that is greater than the frequencies of the microphonic noise, dynamically adjusting the detection threshold and/or adjusting the detection criterion (i.e., selecting the number n).. 19 The above-outlined criteria and considerations are addressed through the design of each of the collector, the emitter and the detector. The collector's field of view must be sufficiently wide to sense all falling objects. Preferably, substantially all light in the plane of light is collected and concentrated onto a focus by the collector. The field of view of the collector is preferably limited to only the region of the plane of light so as not to allow significant amounts of external light to be collected along with the plane of light. In a first preferred embodiment, this is achieved by constructing the collector so as to have an electromagnetic radiation detecting element placed at the focus of a reflector. A photodiode is used as the electromagnetic radiation detecting element in the preferred embodiment. The reflector is a sector of a ring section of a parabolic reflector. The center of the section is a point orthogonal to the parabolic axis and at the same coordinate along that axis as the focus. This arrangement produces a , flat, slightly humped field of view which is orthogonal to the parabolic axis. Two such collectors and detectors are used, side by side, to accommodate the space restrictions of the vending machine. There is a dust barrier sealing the space encompassed by the mirrors and transducers. By design, the parabolic mirrors of the collector reject light rays not parallel to the mirrors' axis. However, neither the mirror coating nor the smoothness and shape of the surfaces of the reflectors are prefect, so they will disperse a certain amount of stray light. Similar problems arise when stray light is diffused, reflected or refracted into a path parallel to the excitation beam by other surfaces besides the mirrors. To absorb most reflected stray light, all surfaces except the mirrors of the collector's optical cavity are painted flat black or made of matte dark plastic material. Errors from light reflected by the mirrors are dealt with by the detector circuit. 20 Further, selectivity of the excitation beam is accomplished by using infrared emitters and receivers which are spectrally matched. UV and visible light as well as most IR wavelengths are thus significantly attenuated. The mechanical connection between each mirror and each electromagnetic radiation detection element is very rigid, as it must be, since owing to the parabolic shape of each mirror, even a tiny deflection can result in a large change in output. The emitter must feed an excitation beam to the collector that is at once bright, parallel to the collector's parabolic axis, and of reasonably uniform intensity across its entire field. But then, it must not be so directional that small deflections in its attitude with respect to the collector result in great radiant intensity shifts on the surfaces of the transducers. A modified parabolic reflector, e.g., one substantially matching the corresponding collector mirror, producing a beam with a certain amount of sphericity could be used, but it is more economical to use a linear array of LED emitters spaced behind a fine-pitched lenticular array of concave meniscus lenses. Other sources of light may also be used, such as laser diodes, gas discharge lamps, or incandescent radiation sources. The LEDs have built-in parabolic reflectors which give the beam direction, and the lenticular array refracts the beam components and confers a slight sphericity to the radiant field, enough so spatial deflections of the emitter-collector pair do not result in large signal swings. The LEDs are driven at high currents, at a low duty cycle, and at a selected frequency, none of whose exact values are especially significant to the design. There is a lower bound to the modulation frequency dictated by the minimum size and maximum speed of the detectable objects, but generally, the higher the frequency, the better; the limiting factor being component cost. In 21 the presently preferred implementation, the pulse current is 1 amp at 2% duty cycle, at 2KHz. The heart of the detector circuitry is a non-linear element (or a linear element whose gain is such that its transfer function approximates non- linearity), whose threshold is programmable, and is triggered by the output of the collector transducers. The majority of the circuitry employed in the detector is required to track the system parameters, and set the trigger threshold. The immediately following circuit description refers to the formerly preferred embodiment that is illustrated in Figure 9. The cathodes of the photodiodes contained in collector body are attached to the photodiode inputs, and their anodes are grounded. A transduced light pulse appears across the photodiodes as a sharp falling edge, with a logarithmic decay back up to the bias set point. This is due to the action of the automatic bias circuit described next. Q7, D14, D15, U25C and its associated feedback components form a closed-loop bias network and filter. R80 and Cl 1 are a low pass filter which does not allow the sharp photodiode signal edges to pass through to U25. However the cutoff frequency is high enough to pass slower signals (such as incandescent flicker). Signals that make it to the non-inverting input of U25 are amplified, and modulate Q7 which controls the reverse current through the photodiodes. The steady state is reached when the integrated output of the photodiodes is approximately equal to the bias voltage set by divider R109-R110. This feedback mechanism regulates the bias point of the photodiodes by tracking changes in the light intensity which are slower than the modulation frequency. Since sharp transitions never make it to the base of 22 Q7, it does not swamp the actual pulses by correcting for their excursions, so the charge on the photodiodes resulting from a sharp light pulse must slowly bleed-off through R80. This produces the decaying edges whose sum is AC- coupled through C9 and CIO to the input of the nearly non-linear switch, in this case, U25A. Several types of op amps including the LM324 will turn on an internal parasitic transistor and switch their output high if either of their inputs drops below the negative supply by a certain threshold. This is a non-destructive condition in the LM324, provided that input current is limited. So now, a positive going pulse appears at the output of U25A, which persists for as long as the negative going signal spikes are below U25A's threshold. There remains only the matter of setting the threshold to the precise point where a drop in the signal intensity due to a deviation from the steady state (as caused by an occluding object, for example), will momentarily keep the negative signal spike from falling below the threshold and triggering the switch U25A. This is accomplished by feedback loops formed by U25A, B, C, and D. (There is nothing limiting the design to the chosen configuration of U25 A. It may well have been configured as a comparator with feed-forward compensation, or may have been dispensed with altogether and replaced by another type of switch. If, for example, the switch in place was truly nonlinear, capable of only two equilibrium states, all that would be required would be to bridge D20, and the circuit would still operate the same way. The only salient points of this part of the design are that the switch act fast and be a feedback element in its threshold biasing loop.) Let us assume that no input pulses are below the threshold. Divider Rl 17-R118 and Rl 15 insure that the output of U25A will go to ground. If there were charge on C8, it eventually bleeds-off. Also assume that the 23 negative input of U25D is somewhere around Vcc/2, which allows linear operation. The output of U25D must then fall to ground, pulling Rl 14 down with it. As a result, the DC bias on the right side of the AC coupling capacitors C9 and CIO must go to zero, so any pulses being transmitted through them, provided that they have some minimum amplitude, transcend the threshold of U25A and cause it to trip. These pulses accumulate into a DC voltage at the peak detector formed by R121, C8, and the divider R122-R123, which is fed back through U25D, raising its output and biasing the coupling capacitors C9 and C 10 away from the threshold voltage. Eventually a steady state is reached, in which the capacitors are biased just enough so that U25A generates pulses of just the right height for the peak detector to keep the system equilibrated. If input pulses all of a sudden start to diminish in magnitude by a certain quantum, they will fall below the threshold and not appear at the output of U25 A. (Should U25A have been a non-linear switch, and the peak detector replaced by an integrator, it would be the duty cycle of positive going switch output pulses that would take the place of pulse amplitude as the significant parameter of the system.) The magnitude of this quantum, being the difference between the amplitude of a pulse below threshold, and one not, is what sets the selectivity (the minimum signal deviation which is detectable) of the system. This is why the switch must behave nearly non-linearly. If it did not, the quantum would be large, with a greater analog range within it. The system would become a simple integrator with no clear distinction between pulses which are present, and those which are not. The selectivity parameter is controlled by the Rl 17- Rl 18 divider. 24 The time constant set by C8 and its discharge paths is long enough so that its accumulated charge appears as a constant bias voltage to the biasing amp U25D. Nevertheless, it begins discharging immediately after each pulse peak is applied through R121. A large object occluding the excitation beam will cause the input pulses to the switch to retreat very far from the threshold. It will take a relatively long time for C8 to discharge sufficiently to bias C9 and CIO below threshold and resume output pulse production; thus, large objects are easily distinguished even if they take many seconds to traverse the beam. Small objects do not produce much of a retreat, so U25 A will always be close to criticality while the objects are passing through the beam. Consequently, it does not take much of a bias correction on C8 to breach the threshold. Small objects must insure that they can make the pulses recede from threshold faster than C8 can re-bias them toward threshold. This places a limit on the slowest allowable transit time for very small objects. The system can be adjusted toward greater sensitivity by reducing Rl 17, but the cost would be greater susceptibility to microphonic noise. Since U25A is not truly non-linear (indeed, some linearity is required for the peak detector to be stable) there exists a narrow linear range in which subnormal peaks can be produced at it's output. These are treated as microphonic noise and are rejected by the comparator U8B which also squares up and inverts the output pulses, making them ideal microcomputer interrupt generators. It was assumed earlier on in this description that the inverting input to U25D is near Vcc/2. Actually, the absolute number is not important so long as it biases U25D in the linear region. 25 This output tracks the level of total illumination of the photodiodes. As illumination rises, the output of U25C falls, as does U25B's, causing U25D to raise its output and allow Rl 14 to bias C9 and CIO back out of clipping. Q8 is a follower which unloads the output of U25 A. It tracks the total energy reaching the surface of the photodiodes and is used by the microprocessor to compare this value to the value stored in memory upon initialization. If that number is lowered by a certain percentage, either the collectors are damaged or there is too much dust built up in the system. The program will then signal an error condition and take the machine off line. If there is much more light than expected, it means someone is intentionally attempting to flood the system and the program will cancel the vend. The differences of a presently preferred embodiment of the detector circuitry from the formerly preferred embodiment that has been described above with reference to Figure 9, is described below with reference to Figure 10. The embodiment illustrated in Figure 10 is presently preferred relative to the embodiment illustrated in Figure 9, because of lower parts count, greater insensitivity to component variation, increased stability of operation, more rapid settling to a quiescent state, and acceptance of a carrier frequency from 2 kHz to 15 kHz. In comparison with the circuit of Figure 9, in the circuit of Figure 10, the automatic bias circuit (U1B) remains basically the same. Dl and D2 have been added to bias the feedback loop containing Ql into the linear mode for a greater range of illumination. R2 was reduced for the same reason. 26 C3 was increased to dampen the overshoot from the coupling capacitors C4 and C5. If this was not done, the overshoot would be incorporated into the average illumination signal by U1B and give an erroneous reading. The main difference is in the trigger circuit U1C (U25A) in the original circuit. Whereas in Figure 9 the trigger function relied on a side effect of the LM324 for operation, the trigger of Figure 10 is a conventional comparator with positive feedback. The static threshold for triggering is set by divider R17-R18. The negative-going spikes fed by C4 and C5 appear inverted and greatly amplified at the output of U1C if their tips fall below the threshold. The peak detector's (D5-C6) output is fed back to clamp C4 and C5 to insure that output pulses continue to appear. A momentary depletion of photodetector signal will cause pulses to be missed while the peak detector adjusts the clamping level, providing the detection signal. Since the trigger input (Pin 9, U1C) no longer has to be driven below the negative supply, circuit voltage levels are now such that the biasing amp U25D of Figure 9 is providing biasing directly from the peak detector through R12. Additionally, the input impedance seen on Pin 9 is now higher, and smaller coupling capacitors C4 and C5 are needed. The trigger's non-linearity is provided by positive feedback through R15. C7 boosts the trigger's sensitivity to short, rapidly changing stimuli (small, heavy falling objects). The hysteresis inherent in the positive feedback of this trigger circuit will suppress an output pulse at Pin 8, U1C, even as the peak detector is correcting the momentary imbalance due to the missing pulse. 27 This small phase shift allows use of a peak detector with a much quicker decay than does the circuit of Figure 9, hence a much faster quiescent settling time. As in Figure 9, the output pulse is inverted by the comparator U1D. The crossover point of the output pulse is explicitly controlled by divider R19- R21, rather than reliance being placed on the vagaries of downstream logic. Since the pulse is switching at the maximum slew rate at the input of U1D, R120 of Figure 9 is not required in the circuit of Figure 10. System fault conditions are indicated by an analog voltage at the illumination pin. In the Figure 9 version, that output is buffered by Q8 and generated by the peak detector. This signal level indirectly contains the average illumination through the path U25C U25B U25D R114 (bias at) U25A. In the Figure 10 version, the illumination signal is again a composite of the output of the peak detector and the degree of photodetector illumination, except that in Figure 10 these two components are directly summed (they are opposite senses to the identical stimulus) in U1A. The illumination quantity is the integrated error signal generated by the photodetector biasing amp U1B, isolated by R6 and accumulated on Cl. R8 provides a dc path to discharge Cl. The peak detector's contribution is summed through R14 and, when static, indicates to the controller that the system is equilibrated and ready to begin detection. R9 shields U1A from the effects of the shielded cable's capacitance. If this compound signal does not reach a static value that is within a preset range, in a certain allowed time, a vend will not commence. 28 U1C being a sensitive trigger, must necessarily operate at the edge of instability; thus this detector circuit (as is the case with the Figure 9 version) must be mounted close to the photodiodes for proper operation. If the cable capacitance between the photodiodes and the circuit is too large, poles will be created for both U1B and U1C which are well within the modulation frequency. Compensation on U1B would degrade the system's noise rejection, and compensation on U1C could force the trigger out of non-linearity, defeating its function. Therefore the least costly solution is one which minimizes photodiode capacitance. In the course of testing the invention using the preferred detection circuit, the inventors discovered that all of the component variations (mechanical, optical, and electrical) conspired to reduce the perceived output of the emitters and caused the detector circuit to attempt to operate outside its design parameters. This led to disadvantages that uniformity of operation was not assured from system to system, and assembly line manufacturability was difficult, or possibly precluded. A solution to such problems was found by providing automatic and dynamic adjustment of the strength of the light pulses from the emitters to compensate for these system variables to provide system uniformity. The circuit illustrated in Figure 11 accomplishes these goals in an economical manner. The circuit illustrated in Figure 11 comprises a pulse- width-modulated (PWM), adjustable current source in series with the chopper transistor. Feedback for the PWM is provided by the extant illumination. The inventors also discovered, during tests of the invention, that the output buffer U ID was sensitive to capacitive loading of its output when its output line was run through shielded cable, and distorted the "Drop" signal. The circuit provided in the diagram of Figure 12 is the same as that of Figure 10, except that the output through the emitter follower is buffered. This is 29 only one of many possible fixes to the capacitive loading problem, and does not limit the general concepts of the invention. In the preferred implementation of a vendor equipped with the preferred embodiment of the vend sensor of the present invention, after a spiral or pair of spirals begin to turn following selection of a product to be vended, the spiral or spirals are not caused to stop simply due to their having rotated through an angular distance calculated to be sufficient to have caused the corresponding column of products to have been conveyed sufficiently far forwards that the leading one and only the leading one has lost support from beneath and, as a result, has fallen from the respective shelf and into the vend space. Rather, the spiral or spirals turn until either it has been sensed by the vend-sensing system that a product has been vended, or (in the preferred implementation) that the spiral has, or spirals have, turned through 540° and then pulsed three times (whereupon, if no product is sensed to have been dispersed), the customer is given by the selector panel a choice to have their form of payment refunded, or to select another column's product. Thus, the vending machine will vend properly even if one inter-turn pocket of a spiral or pair of spirals has mistakenly been left empty when the machine was restocked, or if a product is misoriented towards earlier, or later reaching the point where it will lose support from the underlying tray surface compared with other products pocketed behind it in the trailing inter-turn pockets of the respective spiral or spirals. By using a row of closely spaced LEDs behind a lenticular diffuser in the first or second embodiments, the beam intensity is caused to be substantially constant in the front-to-rear depthwise direction of the vend space. The arrangement of emitter and dimple reflector in the third embodiment provides a substantially uniform plane of illumination light. The plane of the light beam must be located below the lowest tray location, but 30 above the envelope of movement of any of the structure of the vend hopper door (e.g. the fold-up inner door). In a preferred embodiment of the invention the optical vend-sensing system performs calibration operations. More preferably, the vend-sensing system has a plurality of calibration operations, each of which is performed depending upon the operating conditions of the vending machine. Figures 13, 14, 15 and 16 are flowcharts illustrating calibration and operation logic of an implementation of an embodiment of the invention. The service mode calibration illustrated in Figure 13 is conducted only when it is specifically selected. The sales mode calibration illustrated in Figure 14 is conducted every minute while the door of the vending machine is open, and every minute for 10 minutes after the vending machine door closes. The sales mode calibration is then conducted at 3 minute intervals at other times during normal operation. The pre-vend calibration is conducted immediately before a vend and is only used to check to see if the drop sensor is working properly. No calibration values are changed during the pre-vend calibration. Figure 16 illustrates the vend operation. In a particular embodiment, the pulse width ("PULSE") is twice the measured detected signal pulse and ranges from about 16 μsec. to about 50 μsec. The ("BASIS") for light intensity, is a compound signal which combines ambient and excitation light. The ambient light is external to the system and excitation light is from the system. In a particular implementation of the preferred embodiment of the invention, the basis ranges from 0 through 200. The software will flag an error if the value is less than 10 or more than 180. A higher number denotes a lower light intensity. The pulse width modulation (PWM) of the LED drive signal ranges from 300 to 800 in the implementation of the preferred embodiment of the invention. A higher number of PWM denotes a lower intensity. The PWM is the intensity of the 31 LED drive signal required to generate a received pulse that is in PULSE units wide. The following describes the currently preferred calibrations: Full Calibration A Full Calibration always starts calibrating at the predefined PULSE width lower limit, which currently preferred to be eight (8). Calibration in this mode will complete only when the following conditions are met: About one-hundred and sixty (160) consecutive pulses are received from the detector system with a PULSE width variance of less than about 1 micro-second. PULSE must be less than about fifty (50). BASIS must be between ten (10) and one-hundred and eighty (180). PWM must be between three-hundred (300) and eight-hundred (800). A Full Calibration will reset all saved system variables and then recalibrate the system to meet the requirements as defined above. The PULSE is initialized at its lowest point and then incremented by a preselected amount (which will be referred to as a "quantum") to find a stable value to ensure that the optimum PULSE width is achieved for current external variables. External variables including temperature, ambient light, and dew (on mirrors). Note that the calibration requirement for the PULSE width variance is extremely stringent. This is done to ensure that the system is stable. If this variance requirement is met then the system is ready and capable to perform vends. 32 Limit-less Calibration A Limit-less Calibration will start calibrating at a predefined value given to PULSE minus one (1) PULSE quantum. This value is defined as the last calibration that performed within specifications defined in the given calibration type. The value of PULSE is subtracted by one (1) to allow the system to initialize at a more sensitive level under normal operating conditions. Calibration in this mode will complete when the following conditions are met: About one-hundred and sixty (160) consecutive pulses are received from the detector system with a PULSE width variance of less than about two (2) micro-second. PULSE must be less than about fifty (50). BASIS must be between ten (10) and one-hundred and eighty (180). - PWM must be between three-hundred (300) and eight-hundred (800). A Limit-less Calibration will not reset any of the system variables, but rather start at a predefined point minus one (1). At this point the system will initialize or increment the PULSE width to meet the requirements defined for a Limit-less Calibration. Note that the value of BASIS and PWM can change (as long as they are within a valid range defined above) by as much as is needed with out any limits. No limits are used with this calibration to ensure that the calibration is completed. This type of calibration should be completed when external system variables are changing quickly. The Limit-less Calibration will ensure that the system will still perform. 33 Limited Calibration A Limited Calibration will start calibrating at a predefined value given to PULSE minus one (1). This value is defined as the last calibration that performed within specifications defined in the given calibration type. The value of PULSE is subtracted by one (1) to allow the system to initialize at a more sensitive level under normal operating conditions. Calibration in this mode will complete when the following conditions are met: About one-hundred and sixty (160) consecutive pulses are received from the detector system with a PULSE width variance of less than about two (2) micro-seconds. PULSE must be less than about fifty (50). BASIS must be between ten (10) and one-hundred and eighty (180). PWM must be between three-hundred (300) and eight-hundred (800). The total changes in the PWM and the BASIS can not be more than about +/- 10%. The Limited Calibration is similar to the Limit-less Calibration except that the Limited Calibration will limit the difference between the PWM and the BASIS to about +/- 10% from the previous calibration. This is done to prevent any tampering with the system. It is assumed that if this difference changes by more than about +/- 10% since the last calibration then something is wrong with the system because under no circumstances should these system variables (PWM and BASIS) change so much so rapidly. Calibration Check 34 A Calibration Check's only purpose is to check for the functionality of the drop system directly before a vend. Calibration in this mode will use preexisting values for PULSE and PWM to test the system. No variables will be changed in a Calibration Check. For a vend to be initiated the following conditions have to be met: About sixty-four (64) consecutive pulses are received from the detector system with a PULSE width variance of less than about three (3) micro-seconds. BASIS must be between ten (10) and one-hundred and eighty (180). The total difference between PWM and the BASIS can not change by more than +/- 10%. Since the calibration constants are not allowed to change, less stringent requirements are imposed on this mode. A Calibration Check is only performed before a vend. It is performed to make sure that the system is still working directly before the vend. If the system is not working, then no product will be vended. Power-Up Every time the controller powers up, the controller checks to see if a calibration is due to be performed. If the controller has been off for longer than about five minutes or if the current ambient temperature has changed by about two (2) or more degrees Fahrenheit (in either direction) then a Limit-less Calibration is performed. It is assumed that if either of these two conditions are met then the possibility of tampering is not likely. A Limit-less Calibration is performed to make sure that the system is functional. 35 If the time since last calibration (including power-down time) is between about three (3) and about five (5) minutes then a Limited Calibration is performed. The chance of tampering is quite possible for this situation and therefore the difference between PWM and BASIS is limited to a +/- 10% change. A calibration is performed immediately to simulate normal operating conditions, where a Limited Calibration occurs about every three (3) minutes. If the last power-down occurred within about three (3) minutes, then no calibration occurs. Chances of tampering here are high, so it is important to perform a calibration with limits (see Limited Calibration) only at the scheduled time. Service Mode (Option 5) If Option 5 is selected in Service Mode then a Full Calibration is performed. Since a calibration in Service Mode is deliberate, then this calibration will reset all detector system variables and then initialize. Sales Mode with Door Open or Sales Mode with Door Closed Less than Ten Minutes For these two conditions a Limit-less Calibration occurs every minute. Variables like temperature and dew on the detector mirrors are likely to change quickly under these circumstances. Calibrating often will allow the detector system to function properly. When this calibration occurs, if the new value for BASIS is less than the previous value then a new Limit-less Calibration will be performed directly after the first calibration (not waiting the one (1) minute). This will continue to happen until the saved PULSE width is not less than the previous one or until the PULSE gets to the lower limit of eight (8). This is done to ensure that the most sensitive system state has been reached. Sales Mode with Door Closed More than Ten Minutes 36 If the door has been closed for more than ten (10) minutes, then a Limited Calibration occurs about every three (3) minutes. Pre-Vend Prior to vending, a Calibration Check is performed to insure that the drop sensor system is functioning properly before vending. Table I provides a list and description of the sensor error codes specified in Figures 13 - 16. 37 TABLE I ERROR NUMBER ERROR TYPE POSSIBLE REASONS Insufficient Light Disconnected Sensor, Blocked Optics, Defective Emitter, or Blocked Optical Path Too Much Light Shorted Wiring, Defective Logic Board, Defective Emitter, Missing Diffuser No Signal Disconnected Sensor, Disconnected, Defective, or Misaligned Emitter, Defective Logic Board Signal Has Poor Quality Defective Sensor, Partially Blocked Optical Path, EM Interference at Sensor 38 ERROR NUMBER ERROR TYPE POSSIBLE REASONS 5 Drastic Environmental Improper Calibration, Shift Too Much and Too Sudden of a Change in Temperature or Ambient Light, Sudden Degradation in Efficiency of Detector or Emitter Board 6 Fatal Detector Failure Defective or Blocked Detector (This May Also Occur if Extreme Condensation is on the Detector Mirrors), Disconnected Connector Cable In addition to indicating a calibration error type, the day and time are stored in memory along with the error type in the preferred embodiment. It should now be apparent that the optical vend-sensing system for control of the vending machine as described hereinabove, possesses each of the attributes set forth in the specification under the heading "Summary of the Invention" hereinbefore. Because it can be modified to some extent without 39 departing from the principles thereof as they have been outlined and explained in this specification, the present invention should be understood as encompassing all such modifications as are within the spirit and scope of the following claims.

Claims: 40 WE CLAIM: 1. An optical vend-sensing system for control of a vending machine which has at least one mechanism arranged for initiating operation upon selection by a customer for vending an article into a vend space through which the article falls into a customer-accessible hopper, the vend space having a defined lateral width and a defined front-to-rear depth, said sensing system comprising: at least one emitter of electromagnetic radiation, and associated structure, arranged at one lateral extreme of said vend space to emit electromagnetic radiation in a broad plane which substantially completely covers the transverse cross section of the vend space below said at least one mechanism but above where said article, upon being vended, comes to rest in said customer-accessible hopper; at least one electromagnetic radiation detector; a collector body including at least one collector arranged at an opposite lateral extreme of said vend space to collect electromagnetic radiation reaching said at least one collector in said plane, substantially completely depthwise of said vend space, and for redirecting such collected electromagnetic radiation to said at least one electromagnetic radiation detector; a machine control unit arranged for terminating operation of the respective at least one motor-powered mechanism; and control circuitry operatively connecting said at least one detector with said machine control computer, and arranged for providing a signal for causing the machine control unit to complete a vend cycle of said respective at least one mechanism upon said at least one detector sensing that electromagnetic 41 radiation reaching said at least one collector as a result of electromagnetic radiation emission by said at least one emitter has temporarily diminished by a predetermined amount. 2. The optical vend-sensing system of claim 1, wherein: said at least one emitter of electromagnetic radiation is arranged to emit electromagnetic radiation predominately in the infrared part of the electromagnetic radiation spectrum. 3. The optical vend-sensing system of claim 2, wherein: said associated structure comprises a diffuser ranked closely in front of said at least one emitter relative to said collecting body, for spreading electromagnetic radiation emitted by said at least one emitter into said plane. 4. The optical vend-sensing system of claim 3, wherein: said at least one emitter comprises a plurality of coordinately operated emitters arranged in at least one row which extends front-to-rear, depthwise of said vend space. 5. The optical vend-sensing system of claim 1, wherein: said at least one emitter comprises a plurality of coordinately operated emitters arranged in at least one row which extends front-to-rear, depthwise of said vend space. 42 6. The optical vend-sensing system of claim 5, wherein: each said emitter is a light-emitting diode. 7. The optical vend-sensing system of claim 1, wherein: said at least one electromagnetic radiation detector is disposed for receiving collected electromagnetic radiation collected by said at least one collector, from a direction which is substantially perpendicular to said plane. 8. The optical vend-sensing system of claim 7, wherein: said at least one electromagnetic radiation detector is disposed below said at least one collector. 9. The optical vend-sensing system of claim 7, wherein: said at least one collector comprises at least one parabolic mirrored surface provided on said collector body. 10. The optical vend-sensing system of claim 9, wherein: said at least one detector comprises for each said parabolic mirrored surface, a photodetector disposed at an optical center of the respective parabolic mirrored surface. 43 1 1. The optical vend-sensing system of claim 10, wherein: each said photodetector is mounted on said collector body. 12. The optical vend-sensing system of claim 9, wherein: said at least one collector comprises at least two collectors arranged side by side depthwise of said vend space. 13. The optical vend-sensing system of claim 12, wherein: said at least one electromagnetic radiation detector is disposed below said at least one collector. 14. The optical vend-sensing system of claim 4, wherein: said at least one electromagnetic radiation detector is disposed for receiving collected electromagnetic radiation collected by said at least one collector, from a direction which is substantially perpendicular to said plane. 15. The optical vend-sensing system of claim 14, wherein: said at least one electromagnetic radiation detector is disposed below said at least one collector. 44 16. The optical vend-sensing system of claim 14, wherein: said at least one collector comprises at least one parabolic mirrored surface provided on said collector body. 17. The optical vend-sensing system of claim 16, wherein: said at least one detector comprises for each said parabolic mirrored surface, a photodetector disposed at an optical center of the respective parabolic mirrored surface. 18 . The optical vend-sensing system of claim 17, wherein: each said photodetector is mounted on said collector body. 19. The optical vend-sensing system of claim 16, wherein: said at least one collector comprises at least two collectors arranged side by side depthwise of said vend space. 20. . The optical vend-sensing system of claim 19, wherein: said at least one electromagnetic radiation detector is disposed below said at lease one collector. 21. The optical vend-sensing system of claim 20, wherein: 45 each said emitter is a light-emitting diode. 22. The optical vend-sensing system of claim 1, wherein: said control circuitry includes an adjuster for adjusting said predetermined amount. 23. The optical vend-sensing system of claim 1, wherein: said control circuitry and said machine control unit are arranged for reducing effect on sensory of temporary diminishment of electromagnetic radiation reaching said collector, of ambient electromagnetic radiation not emitted by said at least one emitter. 24. An optical sensor, comprising: an elliptical reflector ring having an interior reflecting surface; an emitter of electromagnetic radiation disposed proximate to a first focal point of said elliptical reflector ring; a detector disposed proximate to the second focal point of said elliptical reflector ring, said detector having an electromagnetic radiation detecting element, wherein electromagnetic radiation from said emitter is reflected by said reflecting surface of said elliptical reflector ring and focused substantially on said electromagnetic radiation detecting element, and said emitter and said detector reserve a space therebetween to permit objects to be detected to pass therethrough. 46 25. An optical sensor according to claim 24, further comprising: a first dimple reflector disposed substantially at the first focal point of said elliptical reflector ring; and a second dimple reflector disposed substantially at the second focal point of said elliptical reflector ring, wherein said first dimple reflector redirects electromagnetic radiation from said emitter to enhance an intensity of electromagnetic radiation from said emitter in said space reserved between said emitter and said detector, and said second dimple reflector redirects electromagnetic radiation incident thereon onto said electromagnetic radiation detecting element. 26. A vending machine, comprising: an electromechanical dispensing unit having a plurality of product containment regions; a payment and selection unit that is in communication with said electromechanical dispensing unit, wherein said payment and selection unit sends a signal to said electromechanical dispensing unit to dispense a selected product after a consumer has selected and satisfied payment for said selected product; and an optical vend-sensing system disposed proximate to said electromechanical dispensing unit, said optical vend-sensing system being in communication with said payment and selection unit and said electromechanical dispensing unit, 47 wherein said vend-sensing system comprises: an emitter providing electromagnetic radiation substantially subtending a detection region through which an object to be detected will traverse, a collector disposed in a path of said electromagnetic radiation and substantially subtending said detection region, and a detector disposed proximate to said collector, said detector receiving substantially unattenuated electromagnetic radiation from said collector when said object to be detected is outside of said detection region, and receiving attenuated electromagnetic radiation from said collector when said object to be detected is in said detection region. 27. A vending machine according to claim 26, wherein said collector comprises an elliptical reflector ring having an interior reflecting surface, said emitter is disposed proximate to a first focal point of said reflector ring, said detector has an electromagnetic radiation detecting element disposed proximate to the second focal point of said reflector ring, electromagnetic radiation from said emitter is reflected by said reflecting surface of said elliptical reflector ring and focused substantially on said electromagnetic radiation detecting element, and said emitter and said detector reserve a space therebetween to permit objects to be detected to pass therethrough. 48 28. A vending machine according to claim 27, wherein said vend- sensing system comprises: a first dimple reflector disposed substantially at the first focal point of said elliptical reflector ring; and a second dimple reflector disposed substantially at the second focal point of said elliptical reflector ring, wherein said first dimple reflector redirects electromagnetic radiation from said emitter to enhance an intensity of electromagnetic radiation from said emitter in said space reserved between said emitter and said detector, and said second dimple reflector redirects electromagnetic radiation incident thereon onto said electromagnetic radiation detecting element. 29. A vending machine according to claim 26, wherein said collector has a reflecting surface that is a section of a parabolic surface, said reflecting surface of said collector reflecting at least a portion of said electromagnetic radiation substantially subtending said detection region to said detector. 30. A vending machine according to claim 29, wherein said collector has a flat reflecting surface that is substantially a planar reflecting surface, said flat reflecting surface being inclined at an angle with respect to incident electromagnetic radiation from said electromagnetic radiation 49 substantially subtending said detection region to reflect said incident radiation to said parabolic surface. 31. A vending machine according to claim 26, wherein said emitter provides pulsed electromagnetic radiation. 32. A vending machine according to claim 26, wherein said emitter provides continuous electromagnetic radiation. 33. A vending machine according to claim 26, wherein said emitter provides infrared radiation. 34. A method of detecting a dispensed object, comprising: emitting electromagnetic radiation in a beam such that said electromagnetic radiation substantially subtends a detection region through which said dispensed object will traverse; collecting electromagnetic radiation from said emitting and directing the collected electromagnetic radiation onto an electromagnetic radiation detecting element; selecting a detection threshold that is exceeded when said object to be detected does not intercept said detection region and is not reached when said object intercepts said region; and 50 comparing a plurality of signals from said electromagnetic radiation detecting element, each at a different time, to said detection threshold. 35. A method of detecting a dispensed object according to claim 34, wherein said emitting electromagnetic radiation emits pulsed radiation. 36. A method of detecting a dispensed object according to claim 34, wherein said emitting electromagnetic radiation emits continuous radiation. 37. A method of detecting a dispensed object according to claim 34, wherein said selecting a detection threshold is a dynamic selection that compensates for variations in electromagnetic radiation in said detection region that are slow relative to a time interval for said dispensed object to traverse said beam of electromagnetic radiation. 38. An optical vend-sensing system according to claim 1, wherein said at least one mechanism for operation upon selection by a customer for vending an article is an electric motor-powered mechanism. 39. A vending machine according to claim 26, wherein said optical vend-sensing system has at least one automatic calibration mode of operation. 51 40. A method of detecting a dispensed object according to claim 35, wherein a pulse width of said pulsed radiation is selected during a calibration of said detecting a dispensed object. 41. A method of detecting a dispensed object according to claim 35, wherein said calibration is one of a group of calibrations consisting of a full calibration, a limit-less calibration, a limited calibration, and a calibration check, said full calibration comprising resetting all stored system variables, initializing a pulse width to a predetermined minimum value, said pulse width being twice a detected width of said pulsed radiation, and increasing said pulse width by a preselected pulse width quantum until at least a first preselected number of consecutive pulses are received by said electromagnetic radiation detecting element with a pulse width variance less than a first preselected variance limit, said limit-less calibration comprising initializing said pulse width to a currently stored pulse width decremented by one said preselected pulse width quantum, and increasing said pulse width by said preselected pulse width quantum until at least said first preselected number of consecutive pulses are received by said electromagnetic radiation detecting element with a pulse width variance less than a second preselected variance limit, 52 said limited calibration comprising initializing said pulse width to said currently stored pulse width decremented by one said preselected pulse width quantum, and increasing said pulse width by said preselected pulse width quantum until at least said first preselected number of consecutive pulses are received by said electromagnetic radiation detecting element with said pulse width variance less than said second preselected variance limit, wherein a basis signal which is a compound light intensity signal combining ambient and excitation light is varied within a preselected basis signal variation range, and a strength of a pulse width modulation signal is varied within a preselected pulse width modulation signal variation range, said calibration check signaling a proper operational status of a detection device used for said method of detecting a dispensed object upon receiving at least a second preselected number of consecutive pulses by said electromagnetic radiation detecting element with a pulse width variance less than a third preselected variance limit, wherein said basis signal is varied within said preselected basis signal variation range, and said strength of said pulse width modulation signal is varied within said preselected pulse width modulation signal variation range. 42. A method of detecting a dispensed object according to claim 41, wherein said pulse width has a preselected maximum value. 43. A method of detecting a dispensed object according to claim 42, wherein said first preselected variance limit is smaller than said second preselected variance limit, and said second preselected variance limit is smaller than said third preselected variance limit. 53 44. A method of detecting a dispensed object according to claim 43, wherein said first preselected variance limit is about one microsecond, said second preselected variance limit is about two microseconds, and said third preselected variance limit is about three microseconds. 45. A method of detecting a dispensed object according to claim 42, wherein said predetermined minimum value of said pulse width is about sixteen microseconds and said preselected maximum value of said pulse width is about fifty microseconds. 46. A method of detecting a dispensed object according to claim 45, wherein said preselected pulse width quantum is about one microsecond. 47. A method of detecting a dispensed object according to claim 41, wherein said second preselected number of consecutive pulses is less than said first preselected number of consecutive pulses. 48. A method of detecting a dispensed object according to claim 41, wherein said first preselected number of consecutive pulses is about one- hundred and sixty, and said second preselected number of consecutive pulses is about sixty four. 54 49. A method of detecting a dispensed object according to claim 41, wherein said preselected basis signal variation range is from about 10% less than to about 10% greater than a basis signal value stored in an immediately prior calibration. 50. A method of detecting a dispensed object according to claim 41, wherein said preselected pulse width modulation signal variation range is from about 10% less than to about 10% greater than a pulse width modulation signal value stored in an immediately prior calibration. 51. A method of detecting a dispensed object according to claim 41, wherein said limit-less calibration is performed upon powering up a detection device used for said method of detecting a dispensed object when said detection device has been off for longer than about five minutes. 52. A method of detecting a dispensed object according to claim 41, wherein said limit-less calibration is performed upon powering up a detection device used for said method of detecting a dispensed object when an ambient temperature has changed by at least about two degrees Fahrenheit relative to an ambient temperature recorded in a previous calibration. 53. A method of detecting a dispensed object according to claim 41, wherein said limited calibration is performed upon powering up a detection device used for said method of detecting a dispensed object when a time since 55 the immediately preceding calibration is between about three minutes and about five minutes. 54. A method of detecting a dispensed object according to claim 41, wherein a full calibration is performed upon being selected during servicing of a detection device used for said method of detecting a disposed object. 55. A method of detecting a dispensed object according to claim 41, wherein said calibration check is performed immediately preceding dispensing said object. 56. A method of detecting a dispensed object according to claim 41, wherein one of a plurality of error signals is activated when a detection device used for said method of detecting a disposed object fails at least one calibration of said group of calibrations. 57. A method of detecting a dispensed object according to claim 56, wherein said plurality of error signals correspond to insufficient light, too much light, no signal, a poor quality signal, a drastic environmental shift, and a fatal detector error, respectively.

Inventors: HAIR JAMES MONROE III, SPENTZOS KYRIAKOS PANAGIOTIS, HAIR, JAMES, MONROE, III, SPENTZOS, KYRIAKOS, PANAGIOTIS
Applicants: AUTOMATED MERCHANDISING SYSTEM, AUTOMATED MERCHANDISING SYSTEMS, INC.
Application year: 1999
Main classification: G07F11
IPC codes: G07F9, G07F11