The present invention relates to a method for sensing the “fill” status of a columnar or cache device, especially a coin tube or like device, and particularly for determining in “real time” the actual count of coins in a coin cache, and an apparatus for effecting such method.
Many prior art constructions have monitored coin tubes to try to determine the number of coins that remain available at any given time in coin tubes of a vending machine for use in making change or refunds, and attempts have often been made to try to maintain minimum or maximum numbers of coins in the tubes. Various of such constructions have employed optics utilizing various devices disposed in different configurations; some of such constructions have used inductive coils in various ways; and others of such constructions have used mechanical switches to determine the presence of coins at prescribed levels. Many of these constructions suffered from limitations that limited their abilities to determine an actual coin count in a tube at any given time.
A variety of prior art references address coin tube status and/or counts. U.S. Pat. No. 4,199,669 discloses a construction that utilizes a pivoting lever with a switch to sense the presence at coins at a lower level of a coin tube. U.S. Pat. No. 4,413,718 effects level testing by using a light source and detector on one side of a coin tube and a prism on the second side of the coin tube for returning the light from the light source to the detector by a different path. U.S. Pat. No. 4,460,033 detects a coin stack level by using a coil wound on a dumbbell shaped core and by pulsing the coil to produce a damped wave that is utilized to detect whether coins are present at the testing level. U.S. Pat. No. 4,491,140 teaches the use of only one sensed coin level for correcting a running total when a transition of that level occurs. U.S. Pat. No. 4,587,484 describes a way of determining coin tube levels by updating a running total by additions thereto and subtractions therefrom when coins enter or are discharged from the tube. U.S. Pat. No. 4,774,841 monitors the level of coins within a tube by directing a train of ultrasonic pulses towards the coin stack and measuring the interval between the emitted and reflected pulses. U.S. Pat. No. 5,092,816 shows the determination of a coin stack height by using the time interval from when a coin enters a tube to when the coin impacts the coin stack. U.S. Pat. No. 5,458,536 uses a technique of X by Y scanning with multiple positioned optical sensors. U.S. Pat. No. 6,267,662 B1 uses transmission lines on each side of a tube and sweeps through high frequencies while denoting amplitude changes to determine the coin stack height. GB 2257506A uses an optical elongate sensor. GB 2139352 discloses measurement of acoustic pulses produced by electric discharges. GB-A-2190749 uses a train of ultrasonic pulses directed towards the top of a coin stack and measures the time between the emitted and reflected pulses. GB 2357617A uses an electrical discharge through air, of thousands of volts which is controlled to provide ultra short pulses to enable measurement at closer distances. WO 97/35279 measures a token stack using ultrasonic pulses.
While the teachings of some of the prior art offered promise that better measurement of the coin stack could be provided, the implementation of such teachings, in light of requirements that actual constructions fit within available space, and be accurate, cost effective, and reliable, has been a challenge.
The method of the present invention introduces variable periodic waveforms into the airspace above the coins in a coin cache in a continuing fashion, such as by use of a small speaker positioned at or near the top of the coin cache, which may be a coin tube, a coin hopper, or other suitable coin holding device. A periodic incident wave so introduced into the top of the coin cache will be reflected by the closed bottom end of the coin cache and/or the coins disposed therein, and the reflected wave will interact with the continuing incident wave to effect a resultant waveform in the open space above the coins. The resultant waveform is monitored, such as by use of small microphone also positioned at or near the top of the coin cache, and information therefrom is processed to determine the “free” space above the coins, from which it is possible to calculate and determine the number of coins of a given type in the coin cache.
For ease of reference, the signal introduced by the speaker may sometimes hereafter be referred to as a driving or incident signal, the reflected signal may sometimes be referred to as the returning signal, and the signal detected by the microphone may hereafter be referred to as a resulting or resultant signal.
In addition, it should be understood that the term “coin” as employed herein should be considered to include not only standard monetary coinage, but also tokens, chips, and like items, as well as objects having like or similar properties, including objects, types of which may be of relatively uniform size and shape, that may be susceptible to storage in a tube or cache.
In one embodiment of the invention, the method employed determines whether and when the applied frequency is a resonant frequency for the air column above the coin stack, such as by determining when an in-phase relationship between the incident and the reflected signals occurs, and/or by monitoring and checking for peak amplitudes of the resultant signal, and makes use of multiple detected resonant frequencies and the relationships therebetween to determine the fundamental frequency of the air column.
An in-phase relationship occurs at the fundamental frequency of the air chamber, as well as at various odd harmonics thereof. With one preferred form of this embodiment, the true height of the “free space” or air chamber can be determined utilizing frequencies above the fundamental frequency. Once the “free space” height of the coin cache is determined, the “occupied space” height, e.g., the height of the coin stack, can be determined and the number of coins of a given coin type calculated.
In one preferred form of this embodiment, the speaker is driven by sine waves whose frequencies are varied over time until at least two conditions are detected in which the applied frequency is a resonant frequency of the air column above the coins in a coin tube. Such a condition occurs when the phase of the resulting signal detected by the microphone matches the phase of the signal introduced into the air chamber. As has already been noted, the achievement of an in-phase relationship occurs at the fundamental frequency of coin tube air chamber, as well as at various odd harmonics thereof.
The required determinations can be made such as by a processor portion of a device constructed in accordance with the invention. The processor portion may also be operable to variably control the frequency of the periodic waveform introduced into the air space to effect an in-phase relationship, and may be responsive to detection of an in-phase relationship to calculate a count of the coins present in the coin cache.
In another embodiment, the detected amplitude values of the resultant signal as associated with respective incident waveforms of varying frequencies may be employed to generate a signature waveform from which, by application of a mathematical transform or correlation, a greatest coefficient magnitude can be determined and utilized to determine the fundamental frequency for the “free space” height of the air chamber. Once the “free space” height of the coin cache is determined, the “occupied space” height, e.g., the height of the coin stack, can be determined and the number of coins of a given coin type calculated.
A preferred form of this embodiment may utilize Fast Fourier Transform (FFT) analyses to derive the desired information from the monitored resultant waveform and a processor portion of a device constructed in accordance with the invention.
In accordance with the invention, coin count determinations can be automatically made at scheduled times or periodically, upon the occurrence of certain events, or upon a local or remote request, including upon remote requests communicated wirelessly to the local system, and certain data for use with the local system, including, for example, float levels for coin tubes, can be established, monitored, and updated.
This invention thus provides a method and construction to determine the number of coins in a tube in “real time”, as well as to remotely, by wireless communication, obtain such information and establish and change float levels for coin tubes, and can also provide information as to when a coin enters a tube, as well as information as to when the coin tube becomes full or empty, or reaches an intermediate level.
It is a principal object of this invention to provide an improved method and apparatus to sense the “fill” status of a columnar or cache device, especially a coin tube or like device, and particularly to determine. in “real time” the actual count of coins in a coin cache.
Other objects and advantages may be further or additionally realized by this invention or by particular embodiments thereof.
For example, through use of the invention, the height of an air chamber above a coin stack in a coin tube can be determined by using signals that do not have to be of very short duration, and periodic waveforms of varying frequencies can be introduced into a coin tube on a continuing basis to determine coin tube counts.
Additionally, with some embodiments of the invention, one could determine the level of coins in a tube, even if coins have been manually added or removed during power interruption.
Certain embodiments are also capable of providing real time inventory information for on-line or other remote inquiries.
Some preferred embodiments may allow float level control of individual coin tubes by authorized manual or remote wireless communication means.
Various embodiments may include components to provide for enhanced accuracy, such as by tracking temperature changes, and select embodiments may provide a method that will indicate the arrival of a coin into the coin tube for complying with controller requirements of a coin changer or for other reasons.
The air pressure wave that results at the lower side of the speaker diaphragm 10 in response to application of sinusoidally varying air pressure to the upper side of the speaker diaphragm during one complete cycle is represented by the sine wave 16, starting at the zero degree time point 18 at normal (ambient) air pressure and proceeding to a 90-degree time point 20, which is the maximum pressure point when speaker diaphragm 10 is at position 12. The diaphragm 10 thereafter returns to its initial position 11 at the 180 degree time point 22 and proceeds to its maximum rarefaction position 14 at the 270-degree time point 24. The time interval between the zero degree time point 18 and the 360-degree time point 26 is the duration of one period 17, which corresponds to one wavelength of the periodic signal 16 applied to the diaphragm 10.
In accordance with general physical principles, when a pressure wave is introduced into a closed end air tube, the wave propagates through the air chamber in the tube until it impinges the closed end, where it is (partially) reflected and inverted. When the incident waveform is a continuing periodic waveform, the incident waveform and the reflected waveform interact with one another to establish a standing wave having nodes and anti-nodes within the air column. Thus, when a compression is introduced into the open end of an air column within a tube, that compression will travel the length of the tube and will reflect off the closed end as a rarefaction (i.e., it will invert upon reflection off the closed end). Such rarefaction will then return towards the open end of the tube, and, in doing so, will interact with other portions of the continuing incident wave traveling towards the closed end. If the noted reflected rarefaction reaches the open end of the tube as the initial rarefaction of the continuing incident wave is being introduced into the tube, one-half wavelength of the periodic wave will have traveled from the open end of the tube, reflected off its closed end, and returned to the open end.
In such a situation, the air column of the tube has a length A equal to one-fourth (¼) the wavelength of the periodic waveform
A=λI/4,
where λI is the wavelength of the incident waveform and A is the length of the closed-end air column. The incident and reflected waves in the tube interact such that a standing wave is established within the tube with a pressure anti-node at the open end of the tube and a pressure node at the closed end of the tube, and the incident signal has a frequency fI that is the resonant, fundamental frequency fF (sometimes also called the first harmonic frequency) of the air column.
As will be further explained hereinafter, these principles may be utilized to determine the number of coins in a coin tube or coin cache.
In
A=LT−C.
From the foregoing discussion, it will be appreciated that resonance occurs within the air column 36 above the stacked coins 30 at a fundamental frequency fFA (fundamental frequency of the air column) that has a wavelength four times that of the air column, i.e.,
λA=4A,
where λA is the wavelength of the air column. Such a resonant condition is depicted in
From the foregoing, it should also be appreciated that a relationship thus exists between and among the fundamental frequency of the air column fFA, the height of the air column A, and the speed of the pressure wave in the air column, which may be expressed as
fFA=v/4A=v/λA,
where v is the velocity of the pressure wave. The fundamental frequency fFA (in cycles) for a closed-end air column, when the wavelength λA (in meters) and the speed of the sound v (in meters per second) are known, can be determined by dividing the speed by the wavelength. The speed of the pressure wave in an air column is the speed of sound, which may be determined in accordance with the formula
v=331 m/s+((0.6 m/s/° C.)*T),
where T is the temperature in degrees Celsius. Therefore, at a temperature at 20° C. (68° F.),
v=331 m/s+(0.6 m/s/° C.*20° C.)=331+12=343 m/s≈13,503.9 in./s,
and the fundamental frequency for a closed-end air column is determined by the formula
fFA=V/λA=v/4A=343/4A=85.75/A,
where A is measured in meters, or
fFA=v/λA=v/4A≈13,509/A=3375.975/A,
where A is measured in inches.
f3H=3fFA,
where f3H is the third harmonic frequency for the air column in the coin tube. Because the wavelength of the third harmonic is three times shorter than the wavelength of the fundamental frequency, there are three times the number of pressure changes occurring within the air column. Thus, while the number of “one-fourth wavelengths” to complete the round trip in
Again, in
f5H=5fFA,
where f5H is the fifth harmonic frequency for the air column in the coin tube. As can be observed, such fifth harmonic has a total of ten “one-fourth wavelengths” (e.g., chords 50a-50j) associated with it.
The three examples in
If driving signals with frequencies that are above or below a resonant frequency of the air column are instead introduced into the air column, detectable phase differences between the driving signal and the resultant signal will become evident.
(In the past, most ultrasonic measuring systems required that transducers be located some distance away from the closest point to be measured. The distance was typically dependent upon how short the pulse could be made in order to measure the shortest time requirement of the reflected pulse. With such systems, an absence of any pulse is required during the lapse time of the reflected pulse. The present invention does not require a very short pulse in order to operate because it utilizes signals with wavelengths that remain during the measurement process. Distances shorter than the signal wavelength can thus be determined without placing the abrupt requirement on the transducers, and, the distance of transducers away from the tube is therefore not an issue.)
As has been discussed hereinbefore, it is known that, for a closed-end air column, resonance occurs both at a fundamental frequency fFA that has a wavelength that is four times the air column length, that is
λA=4A,
and at odd harmonics thereof. Thus, for an air column of 16 centimeters length, the wavelength of the fundamental frequency is known to be 64 centimeters (0.64 m.) and the fundamental frequency and odd harmonics can be readily calculated.
From what has been already discussed, it should be apparent that, while application of a driving signal that is the fundamental frequency or an odd harmonic of the air column above a coin stack will result in a resonance condition, the same cannot be said of other frequencies applied to the air column. Moreover, if the height of the air column is caused to change, such as by the receipt into the coin tube of additional coins or the dispensing from the coin tube of coins present therein, the resonance condition obtained with a particular driving frequency will be disturbed.
For closed-end air columns, only the fundamental and odd harmonic frequencies will produce an in-phase relationship between the driving and the reflected signals; even harmonic frequencies result in a 180° out-of-phase relationship.
As will be discussed in greater detail hereinafter, the microphone 62 can monitor the resultant signal produced in the air column above the coin stack in coin tube 56 in response to a driving signal introduced into the air column by the speaker 60, and the monitored information can be utilized to determine whether, in response to a given driving signal, a resonant condition is established. As the driving signal from the speaker is varied, the resultant signal may move into and out of resonance.
When a resonant condition is found to exist, it may not immediately be apparent whether the driving signal that has effected such resonant condition is the fundamental frequency or some other odd harmonic of such fundamental frequency. For example, as can be observed from
Thus, by way of example, if, for a given air column, resonance is detected at a particular frequency, the further detection of resonance at odd multiples of that particular frequency can serve to validate that particular frequency as the fundamental frequency of the air column. However, if resonance is, instead, detected at a frequency approximately 1.67 times the detected resonant frequency, such condition would tend to indicate that the particular resonant frequency initially detected was a third harmonic and that the new resonant frequency is a fifth harmonic. In such event, the fundamental frequency could be calculated by dividing the initially found (third harmonic) frequency by 3.
Consequently, in general, once a resonant frequency is detected, the driving frequency can be varied to determine other driving frequencies at which resonance occurs. Based upon the relationships between the driving conditions that result in resonance, the fundamental frequency of the air column can be determined.
One embodiment of the invention relies upon and makes use of such relationships, and can take various forms. Once multiple resonant conditions have been detected, the frequency relationships between such resonant frequencies can be utilized to identify the fundamental frequency for the air column.
In such regard, as has already been discussed,
fFA=v/λA=v/4A,
λA=4A,
f3H=3fFA,
f5H=5fFA.=1.67 f3H, and
f7H=7fFA.=1.4 f5H.
Once the harmonic content for the resonant signals has been established, the height A of the air column in the coin tube can be readily determined since
A=λA/4=0.25* λA=0.25v/fFA,
A=λA/4=0.25*λA=0.25v/fFA=0.25v/(f3H/3)=0.75v/f3H
and
A=λA/4=0.25*λA=0.25v/fFA=0.25v/(f5H/5)=1.25v/f5H,
where v is a constant equal to 334 m/s at 20° Celsius.
Once A is thus determined, the height C of the coin stack can then also be determined, and the number of coins of a given thickness in the coin stack can thereafter be calculated using the formulae
C=(LT−A),
C=n*Ct,
and
n=C/Ct=(LT−A)/Ct,
where n is the number of coins in the coin stack, C is the height of the coin stack, LT is the height (or length) of the coin tube, A is the height of the air column above the coin stack, and Ct is the thickness of an individual coin.
It will be appreciated and understood by those skilled in the art that, as a continuing periodic signal of a given frequency is directed into an air column, the resultant established signal within the air column will be a standing wave that may have a number of pressure nodes and anti-nodes. For example, with reference to
It will also be appreciated that a pressure standing wave for a given driving frequency can be rapidly established within a coin tube. Since a sound wave travels at a speed of 334 m/s in air at 20° Celsius, for an air column of 0.25 meters (approximately 9.84 in.), the time necessary for the waveform to traverse the air column twice, once from the open to the closed end and then back from the closed end to the open end, and to establish a standing wave would be only about 1.5 milliseconds. Depending upon the maximum height of a coin tube undergoing testing, appropriate durations of application of varying periodic waveforms can be pre-determined to ensure that the resultant signals monitored by the microphone 62 can be relied upon in terms of determining the existence of a resonant condition in response to a particular driving frequency.
It will also be understood and appreciated that, upon the occurrence of a resonant condition, the amplitude of the resultant wave will be at a peak value and the resultant wave will be in-phase with the incident wave, as can be observed from
Consequently, by applying incident waves of varying frequency to a coin tube and monitoring the resultant wave, including as resonant conditions are detected, such as by monitoring the phase relationship between the resultant signal and the incident signal and/or the amplitude of the resultant signal, the fundamental frequency for the air column in the coin tube can be determined, and based upon such determination, the number of coins of a given coin type in the coin stack within the coin tube can be calculated.
In such regard, it should be understood that either or both the phase of such resultant wave relative to the incident wave and/or the detected amplitude of the resultant wave may be utilized to ascertain when a resonant condition exists and to then determine the fundamental frequency.
As noted hereinbefore, an embodiment of the invention that relies upon the detection of multiple resonant conditions and the relationships therebetween can take various forms.
In accordance with one form of such embodiment, periodic signals of varying frequencies may be applied in a given order to a coin tube of a predetermined height having a coin stack of unknown height therein, and the resultant signals within the air column of the coin tube monitored to note those input frequencies which result in the establishment of resonant conditions. By then determining the ratios of such resonant frequencies to one another, the fundamental frequency of the air column can be determined, from which the number of coins of a given coin type in the coin stack within the coin tube can be derived. The range of incident frequencies can be predetermined based upon the coin tube height and the minimal air column height that will be encountered. The incident frequencies may be applied in a sequential or incremental fashion.
In accordance with another form of such embodiment, periodic signals of varying frequencies may be applied to a coin tube of a predetermined height having a coin stack of unknown height therein, and the resultant signals within the air column of the coin tube monitored until a first resonant condition occurs as a result of application of an incident signal of a particular frequency. Since that particular incident frequency is the fundamental frequency or some odd harmonic thereof, a further sequence of incident signals may be applied until a second resonant condition occurs. Based upon the relationship between the two incident signals that resulted in resonant conditions, the fundamental frequency of the air column can be determined, from which the number of coins of a given coin type in the coin stack within the coin tube can then be derived.
In accordance with still another form of such embodiment, periodic signals of varying frequencies may be applied to a coin tube of a predetermined height having a coin stack of unknown height therein, and the resultant signals within the air column of the coin tube monitored until a first resonant condition occurs as a result of application of an incident signal of a particular frequency. Since that particular incident frequency is either the fundamental frequency or some odd harmonic thereof, additional incident signals having frequencies of particular relationships (e.g., 1.4×, 1.67×, 3×) with respect to that incidental frequency giving rise to the detected resonant condition can be sequentially applied until a second resonant condition is detected. Based upon the particular relationship that the latter incident signal bears to the particular incident signal that resulted in the first resonant condition, the fundamental frequency of the air column can be determined, from which the number of coins of a given coin type in the coin stack within the coin tube can then be derived.
It will be recognized by those skilled in the art that the above-noted forms are but several possible forms and that any forms that provide detections of resonant conditions for multiple, different incident frequencies could be advantageously employed. In general, those forms that minimize the number of different incident frequencies that must be applied are considered more preferable since the time required to determine the coin count can be minimized.
While reference has been made in the foregoing to the use of a given set of frequencies and the application of driving frequencies in accordance therewith, it should be understood that, instead of utilizing a pre-established or pre-determined set of frequencies, the particular frequencies utilized and their order of use may be based upon or determined from previously applied frequencies and/or from the resultant signal, and succeeding frequencies may be determined and generated for application on a real-time basis, as will become further apparent hereinafter.
It should also be appreciated that, in general, the existence of resonant conditions can be determined with reference to either or both the resultant signal phase and amplitude. When a resonant condition exists, the resultant signal would be expected to exhibit maximal amplitude and to be in-phase with the incident signal. Consequently, various forms of the embodiment may be designed to detect maximal amplitudes or in-phase relationships or both as indicators of resonant conditions.
In such regard, it will be appreciated that various circuits and techniques for monitoring signals and for detecting and/or determining the phase relationships between signals are known and could be employed with forms of the embodiment that make use of in-phase detection. Typical of such a circuit is the circuit portion depicted in
A phase comparator 128 is connected to receive incident signal information from the sine-wave generator 113 via lead 136 as well as the detection signal information (corresponding to the detected resultant signal information) from amplifier 124 via lead 126. Phase comparison information is communicated to the microprocessor 112 such as via leads 130, 132, and 134. Phase comparator 128 converts the two input signals on leads 136 and 126 to logic levels for phase comparison purposes and produces an output on lead 130 indicative of the detected phase relationship as well as outputs on leads 132 or 134 when the driving signal frequency is respectively less than or greater than a resonant frequency for the air column above the coin stack. The signal produced on lead 130 provides the indication of the degree of in-phase relationship between the driving and the resultant signals. The signals on leads 132 and 134 can be employed in conjunction with the signal produced on lead 130 to identify an in-phase relationship and/or for determining subsequent applications of driving signals to effect a resonant condition.
The output signal of amplifier 124 may also be provided via lead 138 to the microprocessor 112 for controlling the gain signals provided over lead 140 to the driver 118 and over lead 142 to amplifier 124.
Leads 144 and 146 indicate possible communication pathways between microprocessor 112 and a two-way wireless remote communication portion 148, for RF, infrared, optical, or other forms of wireless data interchange. The communications portion may be of any suitable form, numerous forms of which are known from the prior art.
Interface leads 150 and 152 indicate possible pathways between the microprocessor 112 and a wired or local request portion 154 for receiving and responding to direct wired or local requests. The local request portion 154 may include, by way of example and not of limitation, any of a data entry portion, a display portion, a print portion, or an audio announcement portion, numerous forms and variations of which are known from the prior art, suitable for communication with a system user.
Temperature monitoring may be effected by a temperature sensor 156 connected via lead 158 to the microprocessor 112.
As has been indicated hereinbefore, the phase comparator 128 typically operates to convert the input signals on leads 136 and 126 to logic levels and then utilizes the logic signals to effect output signals on leads 130, 132, and/or 134. A number of phase comparator circuits and techniques utilize digital logic circuits and techniques for such purposes, such as may be better understood by reference to
The driving logic signal 70 is also applied over lead 74 to inputs 86 and 100 of D-type flip-flops 84 and 92 and the resultant logic signal is also applied over lead 76 to inputs 88 and 98 of D-type flip-flops 84 and 92. Output 89 of D type flip-flop 84 goes HI when clock input 86 goes HI while “D” input 88 is also HI and output 99 of D type flip-flop 94 similarly goes HI when its clock input 96 goes HI while “D” input 98 is also HI.
Outputs 80, 89, and 90 of
It will be appreciated by those skilled in the art that a phase detection circuit portion such as that depicted in
It will be appreciated that the particular circuit depicted in
Although the invention has heretofore been described relative to a zero degree phase differential between the driving and resultant signals as being indicative of air column resonance such a precise standard need not be required or utilized. A different or relaxed reference or standard could also be used, such as being within ±5 degrees or some other standard. Moreover, since the amplitude of the resultant signal increases at resonance, amplitude levels could also or alternatively be referenced to make determinations.
It should also be recognized that while the invention has hereinabove been discussed with reference to driving signals that are sine waves, periodic waveforms other than sine wave can be used if the harmonic content does not interfere with the phase comparisons.
A typical operation of construction 110 of
At block 172, if a Wireless or Local Request for coin tube information is detected, operation proceeds along the YES branch 176 to block 178. The processing and control portion then operates at block 178 to process the request and to enter new float levels and new coin denominations, as may be appropriate and/or required for the request before proceeding to block 180. At block 180, the processing and control portion operates to determine from detected resonant conditions, as differentiable, periodic driving signals are applied over time, the coin count in the coin tube, by any of the forms or embodiments discussed.
When a determination of the coin count has been effected at block 180, operation proceeds to block 188, at which stage all appropriate memory up-dates can be made, and then to block 200, at which stage all requested data is transmitted, before operation proceeds back to the entry block 160.
The transmitted data can thereafter be analyzed at appropriate times and can be utilized for various purposed, including, for example, determining minimum desirable float levels for coins of various denominations.
In such regard, and by way of example,
If the float level for the quarter tube had been set at $10 and one were desirous of resetting the float level to a lesser amount, the graph of
Historical reporting can be made at different transaction periods and duration. The historical data for transmission is shown graphically here for simplicity of illustration.
In accordance with another embodiment of the invention, differentiable, periodic signals of varying frequencies may be applied, such as in an increasing or decreasing fashion over time, to a coin tube of a predetermined height having a coin stack of unknown height therein, and the resultant signals within the air column of the coin tube can be monitored to note the varying amplitudes of the resultant signal as the incident signal is varied. As the incident signal is varied over time, the varying amplitudes of the resultant signals will generally define a varying signal wherein the detected amplitude is associated with the particular frequency of the driving signal. When the amplitudes are plotted relative to the frequencies, the resultant waveform may be viewed as a form of sine wave, or perhaps more accurately, as a waveform that is a combination of a multiple of sine waves.
It will be appreciated and understood by those skilled in the art that a variety of transform theories and theorems have been developed over the years, including Fourier Transforms and Fast Fourier Transforms (FFTs), that address relationships between time and frequency domains and which can be advantageously used in various circumstances to simplify certain problem resolutions. Fourier and Fast Fourier Transform Analysis makes use of the concept that time domain signals can be defined in terms of a plurality or multitude of sine wave signals of differing frequencies. In somewhat similar fashions, other theorems may utilize signals of other types, such as triangular waves of differing frequencies. For ease of discussion, the following discussion will be directed to the use of FFT theorems and analysis, although it should be recognized that other theorems and analyses can likewise be employed.
As has already been noted, in accordance with this embodiment of the invention, differentiable, periodic signals of varying frequencies may be applied, such as in an increasing or decreasing fashion over time, to a coin tube of a predetermined height having a coin stack of unknown height therein, and the resultant signals within the air column of the coin tube monitored to note the varying amplitudes of the resultant signal as the incident signal is varied.
As the incident signal is varied over time, the varying amplitudes of the resultant signals will result in an output signal that may be expressed as a form of sinusoidal signal that is directly related to the length or height of the air column of the coin tube and which may be considered a signature waveform for the air column. By then utilizing Fourier transform analysis, and particularly by taking the Fast Fourier Transform (FFT) of such signature waveform and analyzing the transform result, the fundamental frequency of the air column can be derived, and from such fundamental frequency the height of the coin stack and the number of coins in the stack can thereafter be determined in the manner as previously discussed hereinabove.
It will be appreciated by those skilled in the art that, when a periodic signal is directed into the coin tube, the detected amplitude of the resultant signal will be attenuated and will be dependent upon the relationship of the periodicity of the incident signal and the height of the air column. In general, when the periodic incident signal is a sinusoidal signal, the amplitude of the resultant signal will satisfy the equation
A˜sin(2πfI(2A/v)),
where fI, is the frequency of the incident wave, A is the length (height) of the air column, v is the velocity of sound in dry air, and A is the resultant amplitude. By sampling the resultant signal over a period of time at or near the top of the tube as a sequence of incident signals of different frequencies is applied, and recording the amplitudes of the resultant signals associated with the incident signal frequencies, a signature waveform for the height of air column can thus be generated. This signal (see
Extracting the relationship between the response signal and the length of the tube is not an obvious exercise. The process begins by application of a FFT on the signature waveform. See
In accordance with FFT theory, the peak magnitude Ap of the FFT signal is inversely proportional to a frequency value fp which, in the closed-end environment of a coin tube, is twice the fundamental frequency. Thus,
fFA=fp/2,
where fp is the frequency associated with the peak amplitude.
It has been observed that if a 0.20 m. tube is provided and coins are stacked therein to a coin stack height of 0.05 m. leaving an air column of 0.15 m., and incident waveforms are periodically introduced into the top of the tube in 40 Hz increments from 1400 Hz to 6000 Hz (the limitations of the speaker employed), a plot of the amplitudes of the resultant signals corresponding to the incident signals results in a signature waveform, such as set forth in
In accordance with the principles and equations addressed hereinbefore, for a 0.20 m. tube with a determined fundamental frequency of 569 Hz, one would expect the height of the air column to be
A=0.1507 m.
and the coin stack height to be
C=0.2 m−0.1507 m=0.0493 m.,
thus verifying, for this particular example, the efficacy of the embodiment utilizing the FFT. Additional verifications have been and can similarly be realized with other lengths of coin tubes and with various coin stack heights to confirm that FFT principles can be relied upon and utilized to determine coin tube status.
In accordance with FFT principles, however, it should be recognized that, in order to obtain accurate and reliable transform results, the sampling rate must be at least twice the maximum frequency applied.
With respect to the various embodiments and forms thereof that have been discussed herein, it should be noted that the periodic nature of the signal is the key, not the particular range of frequencies used to extract the sample data. Therefore, although these discussions have primarily been presented with reference to frequencies in the audio frequency range, it should be appreciated that it would be possible, with appropriate transducers, to utilize frequencies that are above the audio range. (e.g. 20 Khz, 40 Khz, 75 Khz, etc.). In such regard, in general, it is preferred that higher frequencies be employed, when possible, due to their shorter wavelengths and the shorter time durations of application that may be required
Additionally, while the foregoing discussions have, for convenience and ease of description, been directed primarily to single coin tubes, it will be understood that multiple coin tubes may be monitored utilizing common components and methods, which can enhance the efficiency and minimize costs of coin handling devices.
All of the methods and their implementations as addressed herein can be advantageously employed with products and services intended for unattended points of sale where coins, tokens, or items of value are stored and may be inventoried and controlled in real-time from remote locations, including wireless transmission.
While the discussion to this point has been primarily addressed to coin tubes and to coin stacks therein and air columns above the stacked coins, it should be understood that the invention is not limited to use with coin tubes, but can also be employed with various types of caches. For example,
n=VS/VC,
where VS is the volume of the coin “stack” and VC is the volume of a coin of the coin denomination in the coin cache. Since the coins are not necessarily susceptible to a neatly ordered stacking, the coin count may not be as accurate as the count for coins stacked in a coin tube sized to accommodate coins of a given denomination, but may be useful as a reasonable approximation.
It will be appreciated that this invention can also be utilized in a vending environment to periodically check the status of one or more coin tubes, and, in so doing, to be able to also determine when a coin or coins enter or leave such coin tubes, as well as to check whether the con tube has become empty or full or has reached a particular intermediate state.
By use of a temperature sensor, the invention can provide temperature compensation and generally realize more accurate results. In many, instances, sufficient accuracy of results may be achieved by utilizing, as a constant, a particular value for the speed of sound in dry air, regardless of temperature changes, especially if the temperature variation is relatively small. However, more accurate results may be realizable when determinations are made based upon actual temperature.
Although it is preferable, for ease of construction and calculations, that the speaker and microphone of the present invention be positioned at approximately the same heights at or near the top of a coin tube, it should be appreciated that that they may be placed at differing heights in certain embodiments, provided appropriate compensation is made for the difference in heights, and that the speaker and microphone may also be placed at heights spaced above the coin tube, which experience has shown can be up to at least an inch or more above the coin tube in some instances, depending upon the characteristics and quality of the speaker and microphone employed, without deleteriously impacting the operation of the invention embodiment. If the difference in heights of the speaker and microphone is minimal or within some range, and acceptably accurate results are obtained without any compensation for the difference in heights, it may not be necessary to provide for any compensation, but if the differences in height become significant, especially to the extent that the difference may affect the accuracy required of the embodiment, it may then be desirable to check to see if the resultant signal, instead of being in-phase with the incident signal, is in some other desired relationship, such as, for example, a 10° out-of-phase condition. It should be appreciated that placements of the speaker and microphone at different heights may have more impact upon certain embodiments, such as embodiments that check for in-phase conditions, than other embodiments, such as an embodiment that utilizes the detection of a signature waveform and the application of an FFT to such waveform.
Thus, there has been shown and described novel tube sensing method and control and various embodiments and forms thereof. It will be apparent to those skilled in the art, however, that many changes, modifications, variations, and other uses and applications of the method and control are possible. All such changes, modifications, variations, and other uses and applications which do not depart from the spirit and scope of the invention are deemed to be covered by the invention which is limited only be the claims which follow.