AU663370B2 - Tone detection method for telephone subset - Google Patents
Tone detection method for telephone subset Download PDFInfo
- Publication number
- AU663370B2 AU663370B2 AU37147/93A AU3714793A AU663370B2 AU 663370 B2 AU663370 B2 AU 663370B2 AU 37147/93 A AU37147/93 A AU 37147/93A AU 3714793 A AU3714793 A AU 3714793A AU 663370 B2 AU663370 B2 AU 663370B2
- Authority
- AU
- Australia
- Prior art keywords
- tone
- period
- predetermined
- cadence
- values
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Landscapes
- Telephonic Communication Services (AREA)
Description
6633j70 P/00/011 28/5/91 Regulation 3.2
AUSTRALIA
Patents Act 1990 a. .0 a a
ORIGINAL
COMPLETE SPECIFICATION STANUARD PATENT Invcntion Title: "TONE DETECTION M4ETH-OD FOR TELEPDHONE SUBSET" The following statcmcnt is a full description of this invention, including thc bcst method of pcrormng it known to us:- 7L 2 This invention relates to the detection of audible tones used in a telephone network, particularly, though not exclusively, audible tones used in exchange based facilities for subscribers such as, for example, "call-waiting" tone.
Telephone network tones are generally designed to be detected by the human ear, though it is often an advantage to be able to detect these tones electronically using a tone detector.
A tone detector must be able to, on the one hand, detect a valid tone in the presence of noise, speech or other tones, and on the other hand to reject other tones, speech and noise which may be similar to the valid tone.
A tone detector relies on the characteristics of amplitude, frequency, and cadence of the desired tone being known. By looking for one or more of these characteristics, it is possible to distinguish a particular tone from other tones, 15 noise or speech. Often, the presence of noise or speech may mask one or more e~a of the characteristics of the tone and prevent its detection. By looking for e several characteristics simultaneously a more robust tone detector can be achieved than by looking for a single characteristic.
In one known detection method using a tone detector, the tones are separated from the noise and speech using filters and then compared with the resulting envelope of the extracted tone to the expected cadence.
A disadvantage of this method is that speech or noise may mask the tone and cause the incorrect cadence to be measured, resulting in a failure to detect a valid tone. Tones of short duration may not pass through a narrow filter and a on 25 thus not be detected.
Another disadvantage is the circuitry required to filter the tone and measure the cadence.
Another known method commonly used is to use digital signal processing techniques. This method converts the signal to a stream of numbers which can be processed by computer. This method requires an analogue/digital converter and a fast computer to process the data in real time. Although this method gives good results the cost is high.
According to the invention there is provided a method of detecting a I3 single known frequency having a predetermined cadence, said method comprising the steps of: Apply a signal including tone to be detected to a zero-crossing detector means; Measure with measuring means the period between sequential zero crossings detected in said zero-crossing detector; Compare in a comparator means the periods measured by measuring means with a predetermined range of values; if said period is within said predetermined range of values a first state is stored in a memory means, and if the period is not within the said predetermined range of values a second state is stored in said memory means; Analyse the contents of said memory means in a correlation means, wherein the contents are correlated with expected states of a valid cadence; 15 Provide an indication that a valid tone has been received when correlation is greater than a predetermined threshold.
The basic principle of this method is to measure the period of the input signal at a fixed sample rate (say 10 ms). The measured periods are compared to that expected of a valid tone and a pass/fail decision is made for each sample. The pass/fail decision is stored in a buffer. The length of the buffer is chosen to be longer that a complete cadence cycle of the tone (say 1 second).
By examining this buffer it is possible to calculate a percentage pass rate for any period. If this pass rate is above an arbitrary threshold then a valid tone is present.
25 The selection of the percentage pass rate allows for a certain level of corruption of the tone due to speech or noise a -d still give a valid detection.
During periods of no tone (eg. in between tone bursts) the pass rate would approach In this way the cadence of the tonie can be validated.
In order that the invention may be readily carried into effect, an embodiment thereof will now be described, in which: Figure 1 is a schematic circuit of an arrangement to carry out the method of the invention; Figure 2 is a waveform diagram of the input and output signals of the i; 4 Schmitt trigger of Figure 1.
Figure 3 is a timing diagram relating to the method of the invention.
Referring to Figure 1, the hardware required to implement the method of the invention comprises a schmitt trigger, a counter, a computer and a clock.
The counter and clock may be part of a microcontroller/computer.
The Schmitt trigger is a device whose output can be in one of only two logic states high or low (1 or The input to the Schmitt trigger is an analog signal containing the tone to be detected together with speech, noise and possibly other tones. An input signal with an amplitude greater than the threshold of the Schmitt trigger will cause the output of the Schmitt trigger to change state every time the input signal changes polarity (zero crossing). See Figure 2.
The output of the Schmitt trigger is a logic signal with a period equal to the input signal. This is fed to the timer/counter input. The timer/counter is configured to measure the period of the logic signal, ie. t 1 t 2 of Figure 2.
"i The software running in the microprocessor is programmed to perform several functions: 1) To control and read the output of the timer/counter at a regular rate. The value read from the timer/counter corresponds with the instantaneous period of 20 the input signal.
2) Compare the period measured to a set of predefined limits for a valid tone to give a binary result. A binary corresponds to the measured period being within limits (ie. a valid tone), a corresponds to a measured period outside of S the predefined limits.
3) The above binary result is stored into a buffer containing the binary results of previous measurements. The buffer thus contains a history of the input signal.
i 4) The software then analyses the contents of the buffer to determine the cadence of the tone. Figure 3 shows an example of a tone with a frequency of f and a cadence of T, on, T 2 off, T 3 on.
As shown in Figure 3, a valid tone produces 5 off 'l's during T 1 7 off 'O's during T 2 and 7 off'l's during T 3 When the buffer contains this pattern then a valid tone has been received. The action taken by the software upon detection of a valid tone is dependent on the application.
Every time a or is stored into the buffer, the software 'looks back' through the buffer for the tell tale pattern. It can be seen from Figure 3 that this occurs only at time to.
Although a valid tone would be detected, any corruption of the tone due to noise or speech would cause the pattern of 'l's and 'O's in the buffer to be different to that expected. Thus the above could only be used to detect the 'perfect' tone. It is preferable, however, to allow for a number of errors to occur in the buffer before rejecting the tone. The number of allowable errors would be a predetermined value which is selected to give adequate detection of valid tones in the presence of noise while still rejecting unwanted tones. In the above example, this could be done by looking for 4 or more 'l's in T 1 6 or more 'O's in T 2 and 6 or more in T 3 Thus 1 error in each phase is allowable. A total of 4 or more errors would cause the tone to be rejected.
In a preferred method every zone-crossing pair is not measured. For example, a 425 Hz tone with a cadence of 200 ms on, 200 ms off, 200 ms on can be satisfactorily detected by sampling the period every 10ms. This reduces the processing requirements of the processor.
In another preferred method the period is measured twice at every sample point. Both measurements must be valid before a is stored into the buffer.
This improves noise rejection.
The present invention has been described with regard to many particulars though it will be understood that equivalents may be readily substituted without departing from the scope of the invention.
I-
Claims (9)
1. A method of detecting a single known frequency having a predetermined cadence, said method comprising the steps of: Apply a signal including tone to be detected to a zero-crossing detector means; Measure with measuring means the period between sequential zero crossings detected in said zero-crossing detector; Compare in a comparator means the periods measured by measuring 4 means with a predetermined range of values; if said period is within said predetermined range of values a first state is stored in a memory means, and if the period is not within the said predetermined range of values a second state is stored in said memory means; Analyse the contents of said memory means in a correlation means, wherein the contents are correlated with expected states of said predetermined cadence; Provide an indication that tone having said predetermined cadence has *been received when correlation is greater than a predetermined threshold.
2. A method as claimed in claim 1, wherein said memory means has a 9* capacity sufficient to contain one complete cadence.
3. A method as claimed in claim 1 or 2, wherein said signal includes speech signals and/or noise signals. o
4. A method as claimed in any one of claims 1 to 3, wherein the period U o 0 between two sequential zero crossings is measured periodically at a predetermined rate.
A method as claimed in any one of claims 1 to 3, wherein the period between two sequential zero crossings is measured at least twice periodically at a predetermined rate.
6. A tone detector arrangement for carrying out the method as claimed in any one of the previous claims, said arrangement comprising a zero-crossing detector means having a signal input means, a measuring means for measuring the period between zero crossings detected in said zero crossing detector means, comparator means for comparing periods measured with a i 7 predetermined range of values whereby if said period is within said predetermined range of values a first state is stored in a memory means, and if the period is not within said predetermined range of values a second state is stored in said memory means, a correlation means wherein said memory's contents are correlated with expected states of said predetermined cadence, and indication being provided that a tone having the predetermined cadence has been received when correlation is greater than a predetermined threshold.
7. A tone detector arrangement as claimed in claim 6, wherein said zero crossing detector means is a Schmitt trigger device.
8. A tone detector arrangenment as claimed in claim 7, wherein said Schmitt trigger device's output is operatively coupled to a timer/counter means to measure the period of zero crossings detected in said Schmitt trigger device.
9. A tone detector arrangement as claimed in claim 8, wherein said timer/counter means outpLIt is operatively coupled to processor means which is arranged to compare a pattern of tile periods measured by said timer/counter means with a pattern of predetermined values stored in an associated buffer means, said processor providing an indication when said pattern of periods coincide with said pattern of predetermined values. A tone detector arrangement substantially as herein described with reference to Figures 1 3 of the accompanying drawings. 11, A tone detector arrangement as claimed in any oneof claims 4 8, incorporated in a telephone subset. DATED THIS THIRD DAY OF JULY 1995 ALCATEL AUSTRALIA LIMITED L ABSTRACT A tone detection method for a telephone subset to detect tones in -he h presence of noise and speech. According to the method the period of an input signal containing the valid tone is measured at a fixed sample rate (say 10 ms). The measured periods are compared to that expected of a valid tone and a pass/fail decision is made for each sample and stored in a buffer whose length is chosen to be longer than a complete cadence cycle of the valid tone (say 1 second). By examining the buffer it is possible to calculate a percentage pass rate for any period. If the pass rate is above a predetermined threshold then a valid tone is present. j i 91
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU37147/93A AU663370B2 (en) | 1992-04-24 | 1993-04-22 | Tone detection method for telephone subset |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AUPL2088 | 1992-04-24 | ||
AUPL208892 | 1992-04-24 | ||
AU37147/93A AU663370B2 (en) | 1992-04-24 | 1993-04-22 | Tone detection method for telephone subset |
Publications (2)
Publication Number | Publication Date |
---|---|
AU3714793A AU3714793A (en) | 1993-10-28 |
AU663370B2 true AU663370B2 (en) | 1995-10-05 |
Family
ID=25623914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU37147/93A Ceased AU663370B2 (en) | 1992-04-24 | 1993-04-22 | Tone detection method for telephone subset |
Country Status (1)
Country | Link |
---|---|
AU (1) | AU663370B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1529506A (en) * | 1975-05-16 | 1978-10-25 | Int Standard Electric Corp | Frequency-selective signal receiver |
US4747131A (en) * | 1985-11-22 | 1988-05-24 | Mitel Datacom Inc. | Dial tone detector |
-
1993
- 1993-04-22 AU AU37147/93A patent/AU663370B2/en not_active Ceased
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1529506A (en) * | 1975-05-16 | 1978-10-25 | Int Standard Electric Corp | Frequency-selective signal receiver |
US4747131A (en) * | 1985-11-22 | 1988-05-24 | Mitel Datacom Inc. | Dial tone detector |
Also Published As
Publication number | Publication date |
---|---|
AU3714793A (en) | 1993-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0008160B1 (en) | Programmable digital tone detector | |
GB2421317A (en) | Detecting the leading edge of a pulse | |
KR890012236A (en) | Rapid signal validity inspection device | |
US4718097A (en) | Method and apparatus for determining the endpoints of a speech utterance | |
US5295223A (en) | Voice/voice band data discrimination apparatus | |
US4484131A (en) | Cable testing | |
AU663370B2 (en) | Tone detection method for telephone subset | |
EP0566928A2 (en) | Tone detection method for telephone subset | |
US4803468A (en) | Security fence with security wires fastened to posts via sensors | |
US5251256A (en) | Independent hysteresis apparatus for tone detection | |
US4680783A (en) | Telephone security violation detection device | |
EP0770311B1 (en) | Transmission system with improved tone detection | |
NL8320091A (en) | DEVICE FOR IDENTIFYING DIGITAL SIGNALS WITH A NUMBER OF FREGUENCES. | |
GB1597639A (en) | Evaluating yarn signals | |
US5546025A (en) | Low frequency discrimator using upper and lower thresholds | |
EP1172662A3 (en) | Counter verification circuit | |
JPS59501731A (en) | Multiple simultaneous tone decoder | |
EP0215515A1 (en) | Wave form analyser, especially transient recorder | |
GB2101458A (en) | Squelch circuitry for receivers | |
EP0770310B1 (en) | Transmission system with improved tone detection | |
US4538619A (en) | Analyzer of impulse processes of heart activity | |
KR100248002B1 (en) | Dtmf detection device using correlation method | |
KR100433985B1 (en) | Apparatus for removing noise component for micom | |
NL9301094A (en) | Device for measuring analog telephone signals. | |
JP2923979B2 (en) | Frequency detection circuit |