Dual tone multi frequency signal detection

Abstract
A signalling tone detector for use in a communications network for the detection of dual frequency multi-tone (DTMF) pairs of signal tones in a time division multiplex (TDM) signal. The detector comprises first and second arrays of adaptive notch filters corresponding to the rows and columns of a subscriber's pushbutton key set. Each said notch filter responds to a respective signal tone by the generation of a corresponding output signal. A logic circuit identifies from a combination of output signals from the adaptive notch filters the presence or absence of a pair of signal tones and, when the presence of a pair of signal tones has been identified, for decodes that pair of tones to corresponding digit information. The detector is used in an arrangement for compressing and packetising TDM traffic for transport over a connectionless network. To prevent distortion, the DTMF tones are decoded to digit information prior to transport over the connectionless network.
Description


FIELD OF THE INVENTION

[0001] This invention relates to methods and apparatus for the detection and decoding of dual tone multi frequency (DTMF) signals in communications networks.



BACKGROUND OF THE INVENTION

[0002] DTMF signalling is used extensively in communications voice networks for the signalling of dialled numbers and for access to services during progress of a call. The signalling tones are generated by a user terminal by the operation of keys on a keypad Operation of each key causes the generation of a respective pair of audio frequency tones. The pairs of tones are decoded at the system switching centres or nodes to recover the corresponding digits that have been dialled by the subscriber so that routing of a call may be determined or access to an appropriate service may be provided.


[0003] Traditionally, voice traffic had been carried on Time Division Multiplex (TDM) networks in which traffic is allocated to 64 kb/s Channels in TDM frames. Such networks are circuit based in nature. However, an increasing volume of long haul voice traffic is now being transported over Asynchronous Transfer Mode (ATM) or Internet Protocol (IP) networks which are connectionless in nature and which transport traffic in cells or packets. In a typical arrangement, voice traffic from a TOM network is packaged into cells at the boundary of an ATM or IP network for transport across that network to a remote TDM network. At the remote boundary of the ATM or IP network, the TDM frame structure is reinstated.


[0004] A particular problem with such an arrangement is that of transporting the DTMF signalling tones across the ATM or IP network. At the boundary of the connectionless network, the TDM traffic is packaged into cells or packets using speech compression algorithms which minimise the bandwidth that is required. It has been found that the use of compression algorithms on pure tones, such as DTMF signalling tones, causes distortion of those tones and thus renders their subsequent detection and decoding uncertain. A potential solution to this problem is to detect the DTMF tones at the input to the connectionless network and to decode and convert those tones into corresponding digital information. However, current DTMF tone detectors are relatively slow in operation and may thus allow short bursts of DTMF tones to ‘leak’ across the connectionless network as compressed speech. This causes significant degradation in the quality of the far-end reconstituted DTMF tones and, in extreme cases, a lead to double detection of tones and/or incorrect detection. Further, some DTMF tone detectors can respond incorrectly to other signals such as fax and modem tones, or even to speech tones of a similar frequency.


[0005] The conventional DTMF detectors currently in use require one hundred and two samples for detection (taking 12.75 milliseconds) and a further one hundred and samples (taking a further 12.75 milliseconds) for decoding using a Goertzel algorithm This process thus requires a total time of almost twenty six milliseconds. This is significantly in excess of twenty milliseconds which is now the generally accepted absolute maximum detection time that is necessary to overcome the aforementioned problem of tone leakage as compressed speech. A maximum detection time of 20 milliseconds Is specified by ITU Recommendation 1.366.2.



SUMMARY OF THE INVENTION

[0006] An object of the invention is to minimise or to overcome the above disadvantages. According to a first aspect of the invention, there is provided a method of transporting voice traffic and audio multi-tone signalling information representing user dialled digits from a connection based network to a connectionless network, the method comprising notch filtering a plurality of signal samples, determining from said notch filtering the presence or absence of an audio multi-tone signal, in the absence of an audio multi-tone signal, compressing and packetising said voice traffic for transport over the connectionless network, and, in the presence of an audio multi-tone signal, decoding that signal to corresponding digit information and transporting that digit information over the connectionless network.


[0007] According to another aspect of the invention there is provided a method of transporting voice traffic and audio multi-tone signaling information representing user dialled digits between first and second time division multiplex networks via a connectionless network, the method comprising, at an ingress from the first TDM network to the connectionless network, compressing and packetising said voice traffic at said interface in the form of compressed speech, sampling said TDM voice traffic with a plurality of adaptive notch filters so as to provide an indication of presence or absence of audio tone signal in said voice traffic, and, when the presence of a said tone signal is indicated, decoding that tone signal to a corresponding digit value, and transmitting that digit value across the connectionless network, and, at an egress from the connectionless network to the second TDM network.


[0008] According to another aspect of the invention, there is provided an arrangement for transporting voice traffic and audio tone signalling information across an adaptation interface from a time division multiplex network to a connectionless network, the arrangement comprising spew encoding and compression means for compressing and packetising said voice traffic at said, a plurality of adaptive notch filters for sampling said TDM voice traffic so as to provide an indication of presence or absence of audio tone signal in said voice traffic, and logic means for decoding a tone signal to a corresponding digit value when said tone signal has been detected, and means for that digit value across the interface.


[0009] According to a further aspect of the invention, there is provided a signalling tone detector for use in a communications network for the detection of dual frequency multi-tone (DTMF) pairs of signal tones from a set of signal samples, the detector comprising; first and second arrays of adaptive notch filters, each said notch filter being adapted to respond to a respective signal tone by the generation of a corresponding output signal, and logic means for identifying from a combination of output signals from the adoptive notch filters digit information filters the presence or absence of a pair of signal tones and, when the presence of a pair of signal tones has been identified, for decoding that pair of tones to corresponding digit information.


[0010] According to a further aspect of the invention, there is provided a communications network arrangement comprising a time division multiplex (TDM) network in which narrow band traffic is transported in frames, and a connectionless network in which said narrow band traffic is transported in a compressed form in cells or packets, wherein, within the TDM network, signalling of user dialled digit information is performed by the transmission of dual frequency multi-tone (DTMF) pairs of signal tones, and wherein a boundary between the TDM and connectionless networks incorporates signalling tone detection means comprising a plurality of adaptive notch filters for sampling said TDM voice traffic so as to provide an indication of presence or absence of audio tone signal in said voice traffic, and logic means for decoding a tone signal to a corresponding digit value when said tone signal has been detected, and means for transporting that digit value across the connectionless network.


[0011] The arrangement and method provide a means of sampling a TDM signal to provide an early warming indication of the presence of a DTMF tone signal. We have found that the use of notch filtering provides rapid identification of a DTMF signal. This allows decoding of that DTMF signal to be achieved in a time significantly less than the generally agreed twenty millisecond maximum defined in ITU Recommendation 1.356.2, and enables measures to be taken to prevent that DTMF signal from being processed as compressed speech.


[0012] By transmitting the signalled digits In their decoded form rather than as DTMF tones across the connectionless network, the problem of signalling tone distortion is effectively overcome. At the egress from the connectionless network, the DTMF tones are regenerated.


[0013] Advantageously, the power level of the DTMF tone in the incoming signal is measured, and this measurement is transmitted over the connectionless network together with the decoded signal. The DTMF signal is then generated at the appropriate power level on egress from the connectionless network.


[0014] The detection of a pair of tone signals may be effected by determining the frequency and power level of each signal of the pair, and comparing the frequency and power level with predetermined reference values.


[0015] The detection and decoding process may be performed under the control of software in machine readable form on a storage medium.


[0016] The arrangement and method can be employed e.g. at a switch between a TDM network, e.g. a PSTN, and an ATM or IP network. The voice traffic may be transported over an ATM network on adaptation layer two or five (AAL2 or AAL5).







BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Embodiments of the invention will now be described with reference to the accompanying drawings in which:


[0018]
FIG. 1 is a schematic diagram of a communications network arrangement incorporating both TDM and connectionless networks;


[0019]
FIG. 2 is a schematic diagram of a keypad arrangement for generating DTMF tones;


[0020]
FIG. 3 shows a communications network arrangement according to a first embodiment of the invention;


[0021]
FIG. 4 illustrates a standard DTMF packet format;


[0022]
FIG. 5 is a schematic diagram of a DTMF detector and decoder for use in the network of FIG. 3;


[0023]
FIG. 6 shows the construction of a row or column filter array for use in the detector and decoder of FIG. 5;


[0024]
FIG. 7 illustrates the construction of an adaptive notch filter for a single tone with two coefficients;


[0025]
FIG. 8 illustrates weight updating of the adaptive notch filter of FIG. 7; and


[0026]
FIG. 9 illustrates the response of the detector and decoder of FIG. 5 to input DTMF,fax/modem tone and speech signals.







DESCRIPTION OF PREFERRED EMBODIMENTS

[0027] Referring first to FIG. 1, this figure illustrates a network arrangement in which a connectionless network 11, e.g. an ATM or IP network transports TDM traffic between a first TDM network 12 and a second TDM network 13. Switches 14a, 14b are provided been the connectionless network 11 and the TDM networks 12, 13. Typically, these switches will incorporate an ATM or IP switch (not shown). The presence or absence of DTMF tones in the TDM traffic is established in detection windows prior to speech encoding or DTMF tone decoding.


[0028] Traffic from the TOM network 12 arriving at the switch 14a includes both speech (16) and DTMF tone (18) signals. At the switch 14a, the TOM traffic is segmented and packaged into cells or packets for transmission over the connectionless network 11. This cell or packet transmission also carries TDM framing information to permit subsequent reconstruction of the TDM frames. The voice traffic may be transported in ATM Adaptation Layer two (AAL2) or AAL5 Type 3 packets. At the switch 14b, the received cell or packet traffic is reassembled into the TDM format for transmission to the TDM network 13. The reassembly process recovers the speech (16a) and DTMF tone (18a) signals. The transmission and subsequent recovery of the DTMF signals will be described below.


[0029] Each DTMF signal comprises a respective pair of tones in the audio frequency band. As illustrated in FIG. 2. The signalling tones are generated via a keypad in which operation of each key 21 generates a respective pair or tones, one taken from a set of high group frequencies and the other taken from a group of low group frequencies. For example, operation of the 5 key generates row and column tones having the frequencies 770 Hz and 1336 Hz respectively. At a network node or switch, the presence of this pair of tones is recognised as the dialled number 5. Typically, there are sixteen tonal pairs corresponding to the digits 0 to 9, the * and # symbols, and the letter keys A to D. The tone frequency allocation in FIG. 2 follows the recommendations of ITU Standard Q-23.


[0030] Referring now to FIG. 3, this shows in schematic form a network arrangement according to a preferred embodiment of the invention. It will be appreciated that for clarity, the adaptation interfaces to the connectionless network 11 are not shown in FIG. 3.


[0031] Sets or blocks of signal samples from the TDM network 12 containing speech and DTMF signals are buffered and input to tone detector/decoder 32 to detect the presence or absence of DTMF signals. In the absence of a DTMF signal, the speech traffic is fed via a switch 30 to speech encoder 31 which uses one or more compression algorithms to generate compressed speech 310. This compressed speech is transmitted as data Over the connectionless network and is decoded by speech decoder 33 on egress from the connectionless network. If however a DTMF signal is detected by the detector/decoder 32, a flag is set causing the switch 30 to route the signal to the DTMF tone detector/decoder 32 so that the input to the speech encoder is temporarily disabled. The DTMF signal is decoded to the corresponding dialled digit or symbol value, and that decoded value is transmitted over the connectionless network. On egress from the connectionless network, the decoded digit value is re-encoded by DTMF tone generator 34. The construction of tone detector/decoder 32 will be described below.


[0032] The function of the tone detector/decoder 32 is thus to detect pairs of DTMF tones in the incoming TDM channel and, when a pair of tones is detected, to selectively disable the input to the speech encoder 31 to prevent encoding of those tones. The output of the speech encoder thus comprises compressed (tone free) speech. On detection of a pair of DTMF tones, the detector 32 determines the digit corresponding to this pair of tones and transmits that digit to the connectionless network. A preferred packet format for transporting the decoded DTMF signal over the connectionless network is illustrated in FIG. 4. The packet format is in accordance with the recommendations of ITU Standard 1-366.2.


[0033] Referring now to FIG. 5, this shows the construction of the DTMF tone detector/decoder 32. The input signal from buffer store 50, which may contain DTMF tones and speech is fed in parallel to a power meter 51 and to the first and second adaptive filter arrays 52, 53 which arrays detect the row and column DTMF frequencies respectively. Each filter array comprises four filters each tuned to a respective row or column frequency. The outputs from the adaptive filter arrays, 52, 53 comprise error signals which are fed to respective row and column power meters 54, 55 providing a time average. The error signals each comprise an indication of a match or mismatch between the filter frequencies and the received DTMF frequencies. Thus, when a DTMF signal is present, the corresponding row and column filters will each produce an error signal dose to zero. Corresponding output signals from the row and column power meters are fed to respective row and column minimum error detection circuits 56, 57. These circuits identify which of the four error outputs of the respective row or column array has the lowest value, i.e. which of the adaptive notch filters of that row or column array is nearest in frequency to the sampled signal.


[0034] The particular pair of row and column outputs of minimum error from the error detection circuits 56, 57 provide an indication of the possible presence of a DTMF signal and further indicate the most probable frequency selection in a set of frequencies. If the minimum error values associated with the row and column numbers (indices) exceed preset values indicating a poor frequency match, it is assumed that no DTMF tones are in fact present and that the traffic can be treated as speech. Low error values corresponding to a respective row and column number indicate a good frequency match and the probable presence of a DTMF signal. The minimum values and indices (row and column numbers), together with the input power measure from power meter 51 are fed to logical operator 58 which performs a final check on the presence or absence of a DTMF signal pair and, if such a pair is present, performs the decoding to the corresponding dialled number output At the same time, if a DTMF pair is detected, the logical operator 58 outputs a DTMF flag which is used to inhibit input to the speech encoder 31 (FIG. 3). When the DTMF tone ceases, the loss of detection is confirmed by the logical operator so that the flag output is disabled and the TDM traffic is encoded as compressed speech.


[0035] The logical operator also receives a measure of the signal power from power meter 51. When a DTMF signal has been detected, this information is output from the logical operator 58 as DTMF level information. This information is used when the DTMF digit information is subsequently re-encoded as the DTMF tonal pair to achieve the correct signal level.


[0036] The logical operator determines the presence or absence of a DTMF tonal pair from the information provided from the power meter 51 and from the error detection circuits 5, 57. This information is used to determine the individual power level of the two frequencies, the difference between the two power levels (the twist level), the total power, and the tolerance from the true frequencies. A decision is then made to accept or eject the detection of a DTMF pair by determining whether signals fall within or outside the tolerance limits defined in ITU-T recommendation Q24.


[0037] In the arrangement of FIG. 6, the results of the DTMF detection are flagged based on forty samples over a 5 ms period. The errors are averaged over 5 ms by the power meters 54, 55.


[0038] The general construction of a row or column adaptive notch filter array is shown FIG. 6. Each row or column array comprises a set of four adaptive notch filter elements 61, each tuned to a respective row (column) frequency via a corresponding reference input 62 at that row (column) frequency. The output of each adaptive filter element comprises an error signal whose value provides an indication of a match between the respective reference frequency and an input sample. Thus, a low or zero error signal output indicates a match and a high error signal indicates a mismatch.


[0039] The construction of an adaptive notch filter element of figure is illustrated in FIG. 7. Sine and cosine components are derived from the reference signal via differentiator 71. The arrangement of FIG. 7 functions as an adaptive noise canceller with two adaptive weights ws(k) and wc(k) which are determined by weight generation stages 72, 73. The weights and the sine and cosine reference signals are fed to second stage filters 74, 75. the combined outputs of these second stages 74, 75 are subtracted from the sampled signal to provide an error signal output. The noise cancelling properties of the adaptive notch filter are here employed as a detector for a particular tone frequency. The general construction of a weight generation stage 72, 73 is shown in FIG. 8.


[0040] The Adaptive Notch Filter (ANF) algorithms employed in the filter construction of FIGS. 7 and 8 use the adaptive filter procedures in the following format.




W


1,k+1


=W


1k
+2μεkX1k





W


2,k+1


=W


2k
+2μεkX1k  Equation 1



[0041] where w1, W2 etc. represents the input weights and where;




X


1k


=C
cos(0+φ)





X


2k


=C
sin(0+φ)  Equation 2



[0042] where ω0 is the nominal frequency, φ is the phase difference, and C is a constant.


[0043] The bandwidth BW is given by the expression;




BW
=2μC2=μC2/πT Herz



[0044] Advantageously, the bandwidth of the filter is designed to match the receiving frequency tolerances defined in ITU Recommendation Q.24


[0045] A detailed analysis of adaptive notch filters is provided by B Widrow et al. in “Adaptive Signal Processing”, Prentice Hall, 1985 ISBN 0-13-004029-01, the contents of which are incorporated herein by reference.


[0046] By way of example of the efficacy of the arrangement and method described above, FIG. 9 depicts a typical response of the tone detector to DTMF single and dual frequencies together with 2100 Hz fax and modem tones and speech signals. This shows the setting of the DTMF flag for genuine DTMF; signals, but no flag response to other tone signals such as fax and modem tones which can thus be processed in the same way as speech signals. Similarly, there is no false setting of the DTMF flag for speech signals. The lower part of the response diagram of FIG. 9 illustrates the decoding of detected pairs of DTMF tones into their equivalent digit representations.


[0047] It will be understood that the above description of a preferred embodiment is given by way of example only and that various modifications may be made by those skilled in the art without departing from the spirit and scope of the invention.


Claims
  • 1. A method of transporting voice traffic and audio multi-tone signalling information representing user dialled digits from a connection based network to a connectionless network, the method comprising notch filtering a plurality of signal samples, determining from said notch filtering the presence or absence of an audio multi-tone signal, in the absence of an audio multi-tone signal, compressing and packetising said voice traffic for transport over the connectionless network, and, in the presence of an audio multi-tone signal, decoding that signal to corresponding digit information and transporting that digit information over the connectionless network.
  • 2. A method of transporting voice traffic and audio tone signalling information representing user dialled digits from a time division multiplex network to a connectionless network, the method comprising compressing and packetising said voice traffic at said interface in the form of compressed speech, sampling said TDM voice traffic with first and second sets of adaptive notch filters so as to provide an indication of presence or absence of pairs of audio tone signals representing call number information in said voice traffic, and, when the presence of a said pair of tone signals is indicated, decoding that pair of tone signals to a corresponding digit value, and transmitting that digit value across the connectionless network.
  • 3. A method as claimed in claim 2, wherein said voice traffic is transported from the connectionless network to a further time division multiplex network, and wherein said transmitted digit value is re-encoded as a corresponding pair of audio tone signals on egress from the connectionless network.
  • 4. A method as claimed in claim 3, wherein a power level of a said pair audio tone signals is measured, wherein said power level measurement is transmitted together with the digit value, and wherein, subsequent to transport over the connectionless network, said digit value is re-encoded as a DTMF signal at said power level.
  • 5. A method as claimed in claim 4, wherein each of said adaptive notch fitters is arranged as a single frequency noise canceller with first and second adaptive weights.
  • 6. A method as claimed in claim 5, wherein a said pair of tone signals is detected by determining the frequency and power level of each signal of the pair, and comparing the frequency and power level with predetermined reference values.
  • 7. A method as claimed in claim 6, wherein a difference in power levels of the signals of the pair is determined.
  • 8. A method as claimed in claim 7, wherein said connectionless network is an asynchronous transfer mode (ATM) network.
  • 9. A method as claimed in claim 8, wherein said time division multiplex network and said connectionless network are interfaced by an ATM switch.
  • 10. Software in machine readable form on a storage medium and arranged to perform the method of claim 1.
  • 11. A signalling tone detector for use in a communications network for the detection of dual frequency multi-tone (DTMF) pairs of signal tones representing user dialled digits in a time division multiplex (TDM) signal, the detector comprising; first and second arrays of adaptive notch filters, each said notch filter being adapted to respond to a respective signal tone by the generation of a corresponding output signal, and logic means for identifying from a combination of output signals from the adaptive notch filters the presence or absence of a pair of signal tones and, when the presence of a pair of signal tones has been identified, for decoding that pair of tones to corresponding digit information.
  • 12. A signalling tone detector as claimed in claim 11, wherein each of said adaptive notch filters is arranged as a single frequency noise canceller with first and second adaptive weights.
  • 13. An ATM switch incorporating a tone detector as claimed in claim 11.
  • 14. An arrangement for transporting voice traffic and audio tone signalling information from a time division multiplex network to a connectionless network, the arrangement comprising speech encoding and compression means for compressing and packetising said voice traffic at said, a plurality of adaptive notch filters for sampling said TDM voice traffic so as to provide an indication of presence or absence of audio tone signal in said voice traffic, and logic means for decoding a tone signal to a corresponding digit value when said tone signal has been detected, and means for transporting that digit value across the connectionless network.
  • 15. An arrangement as claimed in claim 14, wherein said voice traffic is transported from the connectionless network to a further time division multiplex network, and wherein said transmitted digit value is re-encoded as a corresponding pair of audio tone signals on egress from the connectionless networks.
  • 16. An arrangement as claimed in claim 15, and including power level measurement means for determining a power level of a said pair audio tone signals.
  • 17. An arrangement as claimed in claim 16, wherein said logic means is arranged to detect a tone signal pair by comparing the frequency and power level of each signal of the pair with predetermined reference values.
  • 18. An arrangement as claimed in claim 17, and including means for transmitting said power level measurement together with the digit value corresponding to the pair of audio tone signals over the connectionless network.
  • 19. An arrangement as claimed in claim 18, wherein each of said adaptive notch filters is arranged as a single frequency noise canceller with first and second adaptive weights.
  • 20. A communications network arrangement comprising a time division multiplex (TDM) network in which narrow band traffic is transported in frames, and a connectionless network in which said narrow band traffic is transported in a compressed form in cells or packets, wherein, within the TDM network, signalling of user dialled digit information is performed by the transmission of dual frequency multi-tone (DTMF) pairs of signal tones, and wherein a boundary between the TOM and connectionless networks incorporates signalling tone detection means comprising a plurality of adaptive notch filters for sampling said TDM voice traffic so as to provide an indication of presence or absence of a pair of audio tone signals in said voice traffic, and logic means for decoding a pair of tone signals to a corresponding digit value when said tone signal pair has been detected, and means for transporting that digit value across the connectionless network.
  • 21. An arrangement as claimed in claim 20, wherein said voice traffic is transported from the connectionless network to a further time division multiplex network, and wherein said transmitted digit value is re-encoded as a corresponding pair of audio tone signals on egress from the connectionless network.
  • 22. An arrangement as claimed in claim 21, and including power level measurement means for determining a power level of a said pair audio tone signals.
  • 23. An arrangement as claimed in claim 22, wherein said logic means is arranged to detect a tone signal pair by comparing the frequency and power level of each signal of the pair with predetermined reference values.
  • 24. An arrangement as claimed in claim 23, and including means for transmitting said power level measurement together with the digit value corresponding to the pair of audio tone signals over the connectionless network.
  • 25. An arrangement as claimed in claim 24, wherein each of said adaptive notch filters is arranged as a single frequency noise canceller with first and second adaptive weights.