Abstract:
A coin checking device for a vending machine capable of electrically examining whether an inserted coin is a true coin or a counterfeit one as well as kind of the coin. The device detects a waveform representing passage of the coin and also whether the peak level of the waveform appears in a predetermined window or not and, if the peak level is detected in the window, judges that the inserted coin is a true one.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates to a coin checking device for a vending machine. 
     In the conventional vending machine, checking of money including inserted coins of various denominations is sometimes erroneous particularly when the coins of a variety of kinds are simultaneously inserted in the machine because the inserted coins of various denominations are not accurately judged due to the similarity of the detection waveshapes of the inserted coins of different denominations. In additions a turbulence tends to occur among the detection waveshapes of the coins of various denominations sequentially inserted in the machine. 
     SUMMARY OF THE INVENTION 
     It is, therefore, an object of this invention to provide a coin checking device for a vending machine which has eliminated the above described disadvantages of the prior art vending machine. 
     It is another object of the invention to provide a coin checking device for a vending machine capable of accurately judging the inserted coins therein whether they are true or false and the kind of the coins by way of the peak level of the detection waveshape of the inserted coin by a coin detector. 
     It is another object of the invention to provide a coin checking device for a vending machine incorporating one or more window circuits which may judge the kind of the inserted coins in the machine depending upon the peak levels of the inserted coin detection waveshapes detected by a coin detector of electronic type. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Other objects and features of the invention will become apparent from the description made hereinbelow with reference to the coompanying drawings in which: 
     FIG. 1 is a block diagram schematically showing one preferred embodiment of the coin checking device for a vending machine according to this invention; 
     FIG. 2 is a time chart illustrative of signals appearing at various parts in the block circuit shown in FIG. 1; 
     FIG. 3 is a block diagram showing one example of a waveshape trailing edge detection pulse generator to be employed in the circuit of the checking device of this invention; 
     FIG. 4 is a block diagram partly showing another example of a window circuit shown in FIG. 1; and 
     FIG. 5 is a time chart showing the relationship between the inserted coin detection waveshapes and the upper and lower limit set levels for the explanatory purpose of the operation of the window circuit shown in FIG. 4. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     A coin detector employed in the coin checking device for a vending machine of this invention is of a differential transformer type consisting of a primary winding coil 1 excited by a predetermined frequency F and two secondary winding coils 2 and 3 connected in opposite phase series manner. Such coin detectors 10 and 11 of differential transformer type are sequentially arranged along a coin path (not shown) in the passing direction of a coin 6 to be inserted in the machine as designated by an arrow A in FIG. 1. 
     The detected outputs from the secondary coils 2 and 3 of the coin detector 10 are respectively applied to an amplifier 7, and the detected outputs from the secondary coils 4 and 5 of the coin detector 11 are applied to an amplifier 8. Then, the outputs from the amplifiers 7 and 8 are mixed together and provided on a line 9. Accordingly, the secondary winding coils 2, 3 and 4, 5 of the respective coin detectors 10 and 11 respectively produce sequentially inserted coin detection waveshapes 2&#39;, 3&#39;, 4&#39; and 5&#39; of substantially crest shape in response to the inserted coin 6 passing through the detectors 10 and 11 in the coin path (not shown) on the line 9 in mixture in the order as listed above, as shown in FIG. 2(a). These detection waveshapes 2&#39; through 5&#39; on the line 9 are respectively applied to the inputs of level detectors 12, 13, 14, 15, 16, 17, . . . in which these waveshapes 2&#39; through 5&#39; are compared with respective set levels preset in the respective detectors 12 through 17. 
     The level detectors 12 and 13 are adapted to detect the passage of the inserted coin and have each a set level provided in the vicinity of the valley or bottom of the detection waveshapes 2&#39; through 5&#39;. The set level C 1  of the level detector 12 is preferably higher in small amount than the set level C 2  of the level detector 13 as shown in FIG. 2(a). Further, the level detectors 12 through 17 produce a signal &#34;1&#34; when the level of the coin detection waveshape applied to the inputs thereof is higher than the set level. Thus, if the levels of the detection waveshapes 2&#39; through 5&#39; become higher than the set level C 1  therein, the level detector 12 produces an output signal &#34;1&#34;, which is applied to the set input of a flip-flop 18 to set the flip-flop 18. 
     When the levels of the detection waveshapes 2&#39; through 5&#39; become lower than the set level C 2  of the coin detector 13, output of the level detector 13 changes from &#34;1&#34; to &#34;0&#34;.  Thus, the output signal from the level detector 13 is then inverted by an inverter 19 and the inverted output &#34;1&#34; is applied to the reset input of the flip-flop 18 to cause the flip-flop 18 to be reset. Thus, the flip-flop 18 produces a pulse output having a pulse width substantially corresponding to the waveshape width or time duration in the vicinity of the valley or bottom of the coin detection waveshapes 2&#39; through 5&#39; in response to the passage of the inserted coin therethrough as shown in FIG. 2(b). Therefore, when the flip-flop 18 is producing its output pulse, it means that the inserted coin is passing through the secondary coils 2, 3 and 4, 5 of the respective coin detectors 10 and 11, respectively which detectors are producing the coin detection waveshapes 2&#39;, 3&#39; and 4&#39;, 5&#39; of peaking crest shape. 
     Since there are provided a difference between the set level C 1  and the set level C 2 , there are advantageously provided a hysteresis characteristic between the setting and resetting operations of the flip-flop 18 thereby. Accordingly, even if there occurs turbulence of the detection waveshapes 2&#39; through 5&#39; produced from the coin detectors 10 and 11, the flip-flop 18 will accurately produce only one shot of the output pulse upon receipt of one detection waveshape. On the other hand, in case the flip-flop 18 is set and reset by only one level, the setting and resetting operations are frequently repeated in the flip-flop 18 in the event that irregularity occurs in the detection waveshapes 2&#39; through 5&#39; so that these waveshapes fluctuate above and below the set level. As a result, a large number of pulses are produced. Therefore, it is advantageously very effective to set and reset the flip-flop 18 via the two levels C 1  and C 2  preset in the level detectors 12 and 13, respectively as in this embodiment so as to prevent the flip-flop 18 from producing fluctuated frequent pulses per one detection waveshape. 
     Level detectors 14, 15 and 16, 17 are preferably of the same construction and operation as those of the aforesaid level detectors 12 and 13 in combination as a pair except for judging or discriminating the upper and lower limit threshold levels preset in window circuits 20 and 21 for detecting the peak levels of the coin detection waveshapes produced from the coin detectors 10 and 11. For example, assume that the window circuit 20 is constructed to detect the peak level of a 10 yen coin detection waveshape, a set upper limit threshold level H (see FIG. 2(a)) preset in the level detector 14 is the upper limit value of the peak level of the 10 yen coin detection waveshape in the level detector 14, and a set lower limit threshold level L(see FIG. 2(b)) preset in the level detector 15 is the lower limit value of the peak level of the 10 yen coin detection waveshape in the level detector 15. In the meanwhile, assuming also that the window circuit 21 is constructed to detect the peak level of a 50 yen coin detection waveshape, a set upper limit threshold level H preset in the level detector 16 is the upper limit value of the peak level of the 50 yen coin detection waveshape in the level detector 16, and a set lower limit threshold level L preset in the level detector 17 is the lower limit value of the peak level of the 50 yen coin detection waveshape in the level detector 17. 
     It will be understood that the aforementioned windows circuit may also be provided in a variety of types depending upon the difference of functions such as for the detections of the inserted coins of various denominations and of the configurations of the inserted coins to be detected but particular description and disclosure thereof are omitted. It will also be appreciated that the set upper and lower limit threshold levels H and L of the respective level detectors 14, 16 and 15, 17 are different from each other in the respective window circuits 20 and 21 but other construction and arrangement and operation thereof are of the same and accordingly the description thereof will now be carried out with reference to only one window circuit 20. 
     The level detector 15 produces an output signal &#34;1&#34; when the levels of the coin detection waveshapes 2&#39; through 5&#39; become higher than the set lower limit threashold level L, which signal &#34;1&#34; sets a flip-flop 22. Thus, a reset output Q of the slip-flop 22 becomes &#34;0&#34;, which is applied to one input of a NOR gate 23. The output of level detector 14 is &#34;0&#34; unless the levels of the coin detection waveshapes 2&#39; through 5&#39; does not become higher than higher limit threshold level H.. Thus the NOR gate 23 produces an output signal &#34;1&#34; as shown in FIG. 2(c) because both the inputs of the OR gate 23 receive the signal &#34;0&#34; from the flip-flop 22 and the level detector 14. 
     In case the levels of the coin detection waveshapes 2&#39; through 5&#39; become fallen lower than the set lower limit threshold level L, the flip-flop 22 is reset and a reset output Q rises from &#34;0&#34; to &#34;1&#34;. Then the output of NOR gate 23, falls from &#34;1&#34; to &#34;0&#34; as shown in FIG. 2(c). 
     The waveshape trailing edge detection pulse generator 24 is constructed to detect the output of the NOR gate 23 falling from &#34;1&#34; to &#34;0&#34; at the trailing edge of the pulse produced from the NOR gate 23 and to produce a short pulse as shown in FIG. 2(d). 
     The pulse generator 24 may employ a circuit of known type having for example delay flip-flops DF 1  and DF 2  for delaying an input pulse thereto by one bit time by a clock pulse φ, an inverter IN 1  and an AND gate AN 1 . 
     Therefore, if the peak levels of the coin detection waveshapes 2&#39; through 5&#39; are produced between the upper and lower limit threshold levels H and L (within the window) the pulse generator 24 produces one short pulse upon receipt of one coin detection waveshape as shown in FIG. 2(d). The pulse from the pulse generator applied to one input of each of AND gates 25 and 26. 
     In the meanwhile, the set output signal Q of the flip-flop 18 is applied to a waveshape trailing edge detection pulse generator 27 which produces one short pulse upon receipt of the output of the flip-flop 18. The pulse generator 27 may be a circuit of known type as was phereinabove described as shown in FIG. 3. Since the flip-flop 18 produces an output pulse having a pulse width substantially corrresponding to the width of the coin detection waveshapes 2&#39; through 5&#39; as shown in FIG. 2(b), the pulse generator 27 produces a short pulse at every trailing edge of the waveshapes falling from &#34;1&#34; to &#34;0&#34; as shown in FIG. 2(e). This trailing edge detection pulse is used as a shifting pulse of a shift register 28. 
     This shift register 28 is constructed to load a pulse signal &#34;1&#34; in the initial stage 28-1 thereof upon receipt of the initial pulse P 1  (see FIG. 2(e)) from the pulse generator 27 produced at substantially trailing edge of the first coin detection waveshape 2&#39; produced from the output of the secondary coil 2 of the coin detector 10. 
     Then, when the second pulse P 2  produced from the pulse generator 27 at substantially trailing edge of the second coin detection waveshape 3&#39; produced from the output of the secondary coil 3 of the coin detector 10 as was hereinabove described as shown in FIG. 2(e) is applied to the shift register 28, the signal &#34;1&#34; in the initial stage 28-1 of the shift register 28 is shifted to the second stage 28-2 thereof. Further, when the third pulse P 3  produced from the pulse generator 27 at substantially trailing edge of the third coin detection waveshape 4&#39; produced from the output of the secondary coil 4 of the coin detector 11 is applied to the shift register 28, the signal &#34;1&#34; in the second stage 28-2 of the shift register 28 is shifted to the third stage 28-3 thereof. Similarly, the fourth pulse P 4  produced from the pulse generator 27 at substantially trailing edge of the fourth coin detection wave shape 5&#39; produced from the output of the secondary coil 5 of the coin detector 11 shifts the signal &#34; 1&#34; in the third stage 28-3 of the shift register 28 to the fourth stage 28-4 of the shift register 28. Thus, the outputs of the respective stages 28-1 to 28-4 of the shift register 28 become as designated in FIGS. 2(f) through 2(i). 
     As clear from the foregoing description, the initial stage 28-1 of the shift register 28 produces an output signal &#34;1&#34; at the timing substantially corresponding to the time duration or width of the second coin detection waveshape 3&#39;, the second stage 28-2 of the shift register 28 produces an output signal &#34;1&#34; at the timing substantially corresponding to the time duration or width of the third coin detection waveshape 4&#39;, and the third stage 28-3 of the shift register 28 produces an output signal &#34;1&#34; at the timing substantially corresponding to the time duration or width of the fourth coil detection waveshape 5&#39;. 
     The output signal of the initial stage 28-1 of the shift register 28 is applied to the other input of the AND gate 26, and the output signal of the third stage 28-3 of the shift register 28 is applied to the other input of the AND gate 25. Accordingly, the AND gate 26 produces an output signal while the second coin detection waveshape 3&#39; is produced from the output of the secondary coil 3 of the coin detector 10 as was heretofore described. If the peak level of the second coin detection waveshape 3&#39; is between the set upper and lower limit threshold levels H and L preset in the window circuit 20, the pulse generator 24 produces an output pulse P 5  (see FIG. 2(d)) representing the inserted coin is true or correct. Then, the output pulse P 5  is applied to the other input of the AND gate 26 to cause the AND gate 26 to produce an output signal &#34;1&#34; as shown in FIG. 2(j), which is applied to a pulse counter 29. 
     The pulse counter 29 is constructed to produce a continuous output signal &#34;1&#34; upon receipt of only one pulse from the AND gate 26 but to reset the output signal &#34;1&#34; to &#34;0&#34; upon receipt of two or more pulses from the AND gate 26. In the example as shown in FIG. 2, since the pulse counter 29 receives only one pulse from the AND gate 26, the pulse counter 29 produces a continuous output signal &#34;1&#34; as shown in FIG. 2(k), which is applied to one input of an AND gate 30. 
     In the meanwhile, the output signal of the third stage 28-3 of the shift register 28 is applied to the other input of the AND gate 25. Accordingly, the AND gate 25 is in an operable condition while the fourth coin detection waveshape 5&#39; is produced. If the peak level of the fourth coin detection waveshape 5&#39; is between the set upper and lower limit threshold levels H and L preset in the window circuit 20, the pulse generator 24 produces an output pulse P 6  (see FIG. 2(d)), the AND gate 25 an output signal &#34;1&#34; as shown in FIG. 2(l) is applied to a pulse counter 31. 
     The pulse counter 31 is constructed in the same manner as the pulse counter 29 and is constructed to produce a continuous output signal &#34;1&#34; upon receipt of only one pulse from the AND gate 25, as shown in FIG. 2(m), which is applied to another input of an AND gate 30. 
     The output signal of the final stage 28-4 of the shift register 28 is applied to the other input of the AND gate 30. It the outputs of the pulse counters 29, 31 are both &#34;1&#34;, this signifies that the peak levels of the coin detection waveshapes 3&#39; and 5&#39; are those of a true coin. Thus, the output &#34;1&#34; of the AND gate 30 is produced therefrom immediately after the final coin detection waveshape 5&#39; falls from &#34;1&#34; to &#34;0&#34;, i.e., the inserted coin 6 has passed the coin detectors 10 and 11 in the coin path (not shown). This output signal &#34;1&#34; from the AND gate 30 is a true coin detection signal expressing that the inserted coin 6 is detected to be correct as the true coin of the denomination such as 10 yen to be detected in the window circuit 20, and is applied to one input of an AND gate 32 as an inhibit circuit. 
     The inhibit circuit 32 is constructed to produce an output signal &#34;1&#34; under the condition that true coin detection signals of different denominations are not simultaneously produced to be described in detail later. More particularly, to the inhibit inputs of the inhibit circuit 32 are applied, for example, output signals &#34;1&#34; produced from AND gates 33 and 34 at the outputs of the window circuit 21 and the like circuits for checking 50 yen and 100 yen coins. 
     In case the true coin detection signals of different denominations are simultaneously produced from the AND gates 30, 33 and 34, this fact means the inserted coins are obviously false. Therefore, in this case the inhibit circuit 32, 35 and 36 will inhibit the AND gates 30, 33 and 36 to produce respective outputs. 
     In the meanwhile, in case the peak levels of the inserted coin detection waveshapes 2&#39; through 5&#39; become higher than the set upper limit threshold level H, the peak levels of the detection waveshapes 2&#39; through 5&#39; will again cross the upper limit threshold level H when the detection waveshapes 2&#39; through 5&#39; fall from above the level H to below the level H. Accordingly, when the detection waveshapes 2&#39; through 5&#39; become higher than the level H, an output of the NOR gate 23 falles from &#34;1&#34; to &#34;0&#34; and when the detection wave-shapes 2&#39; through 5&#39; fall from above the level H to below the level H, an output of the NOR gate 23 rises from &#34;0&#34; to &#34;1&#34;, and when the detection waveshapes 2&#39; through 5&#39; further fall below the lower limit threshold level L, the NOR gate 23 produces an output falling again from &#34;1&#34; to &#34;0&#34;. Accordingly, the pulse generator 24 produces thereupon two or more output pulses, which are applied to the pulse counter 29 or 31 via the AND gate 26 or 25 to cause the pulse counter 29 or 31 to be reset to produce an output &#34;0&#34;, which is applied to the one input of the AND gate 30 to cause the AND gate 30 to produce no true coin detection signal. In the meanwhile, the aforesaid pulse counters 29, 31, 33 receive one reset signal R produced every time when the checking of the one inserted coin is completed. 
     It is to be noted that although the outputs of the initial and third stages of the shift register 28 are respectively applied to the other inputs of the AND gates 26 and 25 to check the peak levels of the second and fourth inserted coin detection waveshapes 3&#39; and 5&#39; in the embodiment shown in FIG. 1 for convenience of description, the other detection waveshapes 2&#39; and 4&#39; may also be utilized in the same manner as above. 
     It should be appreciated that since the supply of exciting voltage to the primary winding coils of the coin detectors 10 and 11 is generally changed over in response to the passing of the inserted coin through the detectors, the stable detection waveshapes may be preferably produced from the secondary winding coils 3 or 5 rather than the secondary winding coils 2 or 4 first passing with the inserted coin. It should also be noted that two peak levels of the detection waveshapes are employed for checking the inserted coin for convenience accuracy. 
     The primary winding coils of the first and second coin detectors 10 and 11 are generally excited by different frequencies F 1  and F 2  to check the different characteristics of the coins inserted in the machine. For example, the first coin detector 10 may check the quality of material of the inserted coin and the second coin detector 11 may check the surface incuse pattern and shape of the inserted coin. Accordingly, in this case the inserted coin detection waveshapes 2&#39; and 3&#39; represent the detected results of the quality of material of the inserted coin and the detection waveshapes 4&#39; and 5&#39; illustrate the detected results of the surface incuse pattern and shape of the inserted coin in such a manner that the judging timings of the detection waveshapes are controlled by the shift register 28 to check both the characteristics of the inserted coin to cause the checking device to produce a true coin detection signal therefrom when both characteristics are detected to be correct resulting in high accuracy. It will be understood that it may be easy to normalize the inserted coin detection waveshapes of various denominations in the samplifiers 7 and 8 in correspondence to the level detectors 12 through 17. 
     FIG. 4 shows another preferred example of the window circuit 20 having a hysteresis characteristic for the lower limit threshold level L in the window circuit 20 by providing two lower limit threshold levels L 1  and L 2 . 
     The window circuit 20 of this example has a level detector 15a having a first lower limit threshold level L 1  and a level detector 15b having a second lower limit threshold level L 2  which is somewhat lower than the threshold level L 1  as shown in FIG. 5. This circuit 20 is constructed to produce an output signal &#34;1&#34; when the inserted coin detection waveshapes 2&#39; through 5&#39; on the line 9 become higher than the set lower limit threshold levels L 1  and L 2 . The output of the detector 15a is applied to the set input of the flip-flop 22, and the output of the level detector 15b is applied to the reset input of the flip-flop 22 via an inverter 37. Therefore, the flip-flop 22 is set by the output of the detector 15a when the peak levels of the detection waveshapes 2&#39; through 5&#39; become higher than the first lower limit threshold level L 1  and is then reset by the output of the detector 15b when the peak levels of the detection waveshapes 2&#39; through 5&#39; become lower than the second lower limit threshold level L 2 . Accordingly, even if the peaking waveforms of the inserted coin detection waveshapes 2&#39; through 5&#39; frequently fluctuate up and down in the vicinity of the lower limit threshold level L 1  or L 2  in unstable state, the flip-flop 22 stably produces one shot of pulse upon detection of the coin detection waveshape of the inserted coin, from the NOR gate 23 in accurate manner. 
     It should be understood from the foregoing description that since the coin checking device for a vending machine of this invention is constructed to detect the passage of the inserted coin in the machine through the coin detectors with the pulse having a pulse width substantially corresponding to the time duration or width of the inserted coin detection waveshapes to check the peak levels of the detection waveshapes at the timing of this pulse, the checking device may check the inserted coins accurately. It should also be understood that the checking device of this invention has an advantage to check only the peak level of desired coin detection waveshapes in case of plural coin detection waveshapes inclusive therein. It should be appreciated that since the checking device of this invention is constructed to have a hysteresis characteristic in the detection of the peak levels of the inserted coin detection waveshapes detected by the coin detectors to eliminate the affection of the disorder of the coin detection waveshapes so as to check the inserted coin in accurate manner.