COMMUNICATIONS DEVICE INCLUDING AN IMPROVED CPE ALTERING SIGNAL (CAS) DETECTION SYSTEM

Abstract: A communications device is presented including a DTMF detector for detecting a DTMF signal. When the DTMF signal is a Mode 2 Caller ID CAS, the first DTMF tone has a frequency of about 2130 Hz, and the second DTMF tone has a frequency of approximately 2750 Hz. An input signal includes signal energy within a first portion of the input signal frequency range which includes the first DTMF tone, signal energy within a second portion of the input signal frequency range which includes the second DTMF tone, and signal energy within a third portion of the input signal frequency range which excludes the first and second DTMF tones. The DTMF signal detector includes a first and second tone detection units, an extraneous signal detection unit, and detection logic. The first and second tone detection units receive the input signal and produce an output signal dependent upon the signal energy within the respective first and second portions of the input signal frequency range. The extraneous signal detection unit also receives the input signal and produces an output signal dependent upon the signal energy within the third portion of the input signal frequency range. The detection logic receives the output signals produced by the first and second tone detection units and the extraneous signal detection unit, and produces a DTMF detect signal dependent upon the output signals.

Description: Title: Communications Device Including an Improved CPE Altering Signal (CAS) Detection System Field of the Invention The present invention relates to telecommunications, and more particularly to a system and method for the detection of dual-tone multifrequency (DTMF) signals Description of the Related Art Telephone subscπbers communicate via a vast telephone network maintained by many different telephone service providers A telephone subscπber's communications devices are typically connected in parallel to a two-wire telephone lme which links a subscπber's premises to a telephone service provider's central office Communications devices include telephones, answering machmes, speakerphones, facsimile (fax) machines, and communications modems Fig 1 is a top plan view of a modern telephone 10, the most familiar of such communications devices Telephone 10 is also generally referred to as customer premises equipment (CPE) Telephone 10 is adapted to be coupled to a two- wire telephone lme, and mcludes a handset 12 and a keypad 14 Fig 2 is a block diagram of telephone 10 Handset 12 includes a receiver 15 and a transmitter 16 Receiver 15 is designed to be placed over a user's ear during use, and transmitter 16 is designed to be positioned in close proximity to the user's mouth during use Handset 12 is coupled to a communications circuit 18 When telephone 10 is not m use, a hookswitch 20 is m an open position, and communications circuit 18 is disconnected from the telephone lme Only a ringer circuit 22 is connected to the telephone lme when telephone 10 is not m use When a calling party places a telephone call to a receivmg party, switchmg equipment in the central office transmits a senes of ring signals over the receivmg party's telephone line The ring signals cause the ringer circuit of the receivmg party's telephone to generate sounds which alert the receivmg party to an incoming telephone call At the same time, the switchmg equipment sends a senes of ring-back signals to the calling party to let the calling party know that the telephone call is bemg placed When the receivmg party enables handset 12 (e , by lifting handset 12) to answer the mcommg telephone call, hookswitch 20 closes, connecting communications circuit 18 to the telephone lme Switchmg equipment senses the closure of hookswitch 20 and completes an electπcal circuit between the calling party and the receivmg party A telephone conversation takes place as communications circuit 18 couples the calling party's voice signals from the telephone lme to receiver 15, and couples the receivmg party's voice signals from transmitter 16 to the telephone lme Placmg a call to another telephone subscπber usmg telephone 10 mvolves enablmg handset 12 and "dialing" the subscnber's telephone number The act of "dialing" a telephone number on telephone 10 typically mvolves pressmg numbered buttons of keypad 14 corresponding to the subscπber's telephone number in sequence This form of dialing is known as Touch-Tone® dialing The Touch-Tone® dialing system has nearly replaced the older rotary pulse-type dialing system m North Ameπca Pressmg a button on keypad 14 causes communications circuit 18 to generate a dual-tone multifrequency (DTMF) signal compnsmg a 1 combmation of two non-harmonic tones The DTMF signal is received by switchmg equipment m the telephone service provider's central office and decoded. The sequence of telephone dialed telephone numbers is used to determine which telephone subscπber is to receive the telephone call. The frequencies of the two tones in a DTMF signal are chosen such that they are not exact integer multiples (1 e., harmonics) of any frequency greater than 1 hertz (Hz). For example, 250 Hz and 375 Hz are not acceptable dual tones because they are integer multiples of 125 Hz On the other hand, 250 Hz and 333 Hz are acceptable dual tones because they are not mteger multiples of any frequency greater than 1 Hz. Such enharmonic frequencies are used to prevent false DTMF signal detections. In addition to telephone dialing, DTMF codmg is also popular m mteractive control applications, such as telephone banking, electronic mail systems, and answering machmes. Such applications allow a user to select options from a menu by sendmg DTMF signals from any Touch- Tone® telephone. Call Waitmg is a telephone service which alerts a receivmg party, engaged in a telephone call with a first party, to a new incoming call from a second (callmg) party The central office transmits a subscπber alertmg signal (SAS) to the receivmg party, and the callmg party receives the customary senes of ring-back signals. The SAS may be a short voice signal mterruption accompanied by a clickmg sound, or a short 440 Hz tone burst. The receivmg party may answer the mcommg call by "flashing" the hookswitch (i.e., opening the hookswitch momentanly) The receivmg party may subsequently go back and forth between the first and second parties by flashing the hookswitch. Call Waiting thus allows a subscπber to answer an mcommg telephone call while mvolved m a telephone conversation. Caller ID is the name given to subscnber services which provide information about a callmg party to a receiving party before the receivmg party would normally answer an mcommg telephone call Like Call Waitmg, Caller ID is available to telephone subscπbers for a small monthly fee. Caller ID information is transmitted m digital format, one bit at a time, at a rate of 1,200 bits per second. Devices which receive, store, and display Caller ID information are widely available. Caller ID equipment complies with a set of standards set forth by the Bell Communications Research Group (Bellcore) Mode 1 Caller ID transmits information about a calling party between a first ring signal and a second rmg signal. Mode 2 Caller ID, also known as callmg identity delivery on call waitmg, allows subscnbers with Call Waiting to receive callmg party information while engaged in a telephone call and before answering an mcommg telephone call. When a subscnber has Mode 2 Caller ID service, is engaged m a telephone call with a first party, and an mcommg call from a second callmg party occurs, the central office follows the SAS with an alertmg signal directed to the subscnber's Mode 2 Caller ID equipment. The term customer premises equipment (CPE) includes a subscπber's Mode 2 Caller ID equipment, and the second alertmg signal is known as the CPE alertmg signal (CAS). The CAS is a DTMF signal compnsmg simultaneously generated 2130 Hz and 2750 Hz tones. Upon detecting the CAS signal, the CPE transmits a DTMF acknowledge signal (ACK) which indicates a readmess to receive Caller ID information Central office equipment waits for the ACK signal before transmittmg the Caller ID information. In order to detect the CAS, communications circuit 18 of telephone 10 includes a CAS detection system 24. Applymg telephone engineering terminology to the above situation, the first party is the "far-end" party and the receiving party is the "near-end" party In order to prevent the far-end party from hearing the Caller ID signals, the central office equipment mutes (1 e , silences) signals bemg received and transmitted by the far-end party for a period of time beginning pnor to generation of the SAS and CAS alertmg signals and ending after the Caller ID information is transmitted Similarly, the CPE is required to silence the signals bemg received and transmitted by the near-end party for a peπod of time beginning after the detection of the CAS signal and endmg after the Caller ID mformation is transmitted Fig 3 is a block diagram of a pnor art embodiment of CAS detector system 24 including a CAS detector 26 coupled to a receiver output port of a hybnd circuit 28 The receiver output port of hybπd circuit 28 is also coupled to receiver 15 Hybnd circuit 28 also has an mput port connected to transmitter 16 During use of telephone 10, an input output port is connected to the two-wire telephone lme Hybnd circuit 28 couples signals from transmitter 16 to the two- wire telephone lme, and couples signals from the telephone lme to receiver 15 Hybnd circuits are used m telephone circuits to reduce the number of wires required for simultaneous voice transmission m opposite directions from four to two CAS detector 26 produces (l e , asserts) a CAS detect signal when a CAS is detected at the receiver output port of hybπd cncuit 28 While effective m reducmg the number of wires required for simultaneous transmission m opposite directions, hybnd circuits are also commonly associated with transmission lme discontinuities (I e , impedance mismatches) which cause undesirable echos An echo is a delayed and distorted version of a transmitted signal which is reflected back toward the source A problem with telephone 10 employmg pnor art CAS detector 26 is that the CAS and echos are often received simultaneously by a CPE Signals transmitted over telephone lmes typically range from about 300 Hz to approximately 3,000 Hz Thus both the 2130 Hz and the 2750 Hz components of the DTMF CAS fall within a telephone system voiceband extendmg from about 300 Hz to approximately 3,000 Hz It is possible for echos to contain significant energies at the frequencies of one or both CAS components In the configuration shown m Fig 3, pnor art CAS detector 26 is not capable of adequately guardmg agamst false CAS detections in the presence of echos The problem manifests itself when a telephone subscnber has a CPE capable of receivmg Mode 2 Caller ID mformation, but only has Call Waitmg service In this case, an echo may cause the CPE to falsely detect a CAS transmission following a Call Waitmg SAS transmission In response, the CPE may mute near- end voice signals, transmit an ACK signal, and wait for transmission of Mode 2 Caller ID mformation Normal service may not be restored until a time-out penod has expired during which the CPE did not receive Mode 2 Caller ID mformation as expected It would be desirable to have a reliable system and method for detecting DTMF signals which provide reliable CAS detecnon for Mode 2 Caller ID Summary of the Invention A communications device is presented mcludmg a DTMF detector for detecting a DTMF signal A DTMF signal compnses a first DTMF tone and a second DTMF tone The Mode 2 Caller ID CPE alertmg signal (CAS) is one such DTMF signal An mput signal mcludes signal energy within a first portion of the mput signal frequency range which mcludes the first DTMF tone, signal energy within a second portion of the mput signal frequency range which includes the second DTMF tone, and signal energy within a third portion of the mput signal frequency range which excludes the first and second DTMF tones The DTMF signal detector includes a first and second tone detection units, an extraneous signal detection unit, and detection logic The first tone detection unit receive the mput signal and produces an output signal dependent upon the signal energy within the first portion of the mput signal frequency range The second tone detection also receives the input signal and produces an output signal dependent upon the signal energy within the second portion of the input signal frequency range The extraneous signal detection unit receives the input signal and produces an output signal dependent upon the signal energy within the third portion of the mput signal frequency range The detection logic receives the output signals produced by the first and second tone detection units and the extraneous signal detection unit, and produces a DTMF detect signal dependent upon the output signals When the DTMF signal is a Mode 2 Caller ID CAS, the first DTMF tone has a frequency of approximately 2130 Hz, and the second DTMF tone has a frequency of approximately 2750 Hz The first portion of the mput signal frequency range may be, for example, 2130 ± 11 Hz, and the second portion of the mput signal frequency range may be 2750 ± 14 Hz In one embodiment, the first tone detection unit compares the signal energy within the first portion of the mput signal frequency range to a predetermined first upper threshold value and first lower threshold value, where the first upper threshold value is greater than the first lower threshold value The first tone detection unit produces a first output signal if the signal energy within the first portion exceeds the first upper threshold value, and produces a second output signal if the signal energy within the first portion exceeds the first lower threshold value Similarly, the second tone detection unit compares the signal energy within the second portion of the input signal frequency range to a predetermined second upper threshold value and second lower threshold value, where the second upper threshold value is greater than the second lower threshold value The second tone detection unit produces a third output signal if the signal energy within the second portion exceeds the second upper threshold value, and produces a fourth output signal if the signal energy within the second portion exceeds the second lower threshold value The extraneous signal detection unit produces a fifth output signal if the signal energy within the third portion of the mput signal frequency range exceeds a third threshold value The detection logic receives the first, second, third, fourth, and fifth output signals, and produces the DTMF detect signal dependent upon the first, second, third, fourth, and fifth output signals Specifically, the detection logic produces the DTMF detect signal if (l) the first and third output signals are received, or (n) the second and third output signals are received and the fifth output signal is not received, or (m) the first and fourth output signals are received and the fifth output signal is not received, or (IV) the second and fourth output signals are received and the fifth output signal is not received A communications device m accordance with the present invention mcludes the DTMF detector descnbed above The communications device may be, for example, a telephone The communications device may also mclude a transmitter signal lme for conductmg a transmit signal, a receiver signal lme for conductmg a receive signal, a hybnd circuit, and an echo canceler The hybnd circuit is coupled to the transmitter signal lme, the echo canceler. and the telephone line during use The receive signal is present upon the telephone lme The hybrid circuit couples the transmit signal from the transmitter signal lme to the telephone lme, and provides the receive signal from the telephone lme to the echo canceler The echo canceler has a first and second mput ports and an output port coupled to the receiver signal lme. The first mput port receives the transmit signal from the transmitter signal lme. The second mput port receives the receive signal from the hybnd cncuit. The echo canceler produces an output signal at the output port substantially devoid of any delayed version of the transmit signal (i.e , echo) present withm the receive signal A method of detectmg the DTMF signal present within the mput signal mcludes measuring the signal energy withm the first, second, and third portions of the mput signal frequency range The measured signal energy withm the first portion of the mput frequency range is compared to the first upper threshold value and first lower threshold value. The measured signal energy withm the second portion of the mput frequency range is compared to the second upper threshold value and second lower threshold value. The measured signal energy withm the third portion of the mput frequency range is compared to the third threshold value. The DTMF detect signal is produced if the signal energy withm the first portion of the mput signal frequency range is greater than the first upper threshold value and the signal energy withm the second portion of the mput signal frequency range is greater than the second upper threshold value The DTMF detect signal is also produced if the signal energy withm the first portion of the mput signal frequency range is greater than the first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second upper threshold value, and the signal energy withm the third portion of the input signal frequency range is less than the third threshold value. The DTMF detect signal is also produced if the signal energy withm the first portion of the mput signal frequency range is greater than the first upper threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value The DTMF detect signal is also produced if the signal energy withm the first portion of the mput signal frequency range is greater than the first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second lower threshold value, and the signal energy withm the third portion of the input signal frequency range is less than the third threshold value. Brief Description of the Drawings A better understandmg of the present mvention can be obtamed when the following detailed description of the preferred embodiment is considered m conjunction with the following drawings, m which: Fig. 1 is a top plan view of a telephone; Fig. 2 is a block diagram of a telephone which performs CAS detection, wherem the telephone includes a communications circuit; Fig. 3 is a block diagram of the communications circuit of the telephone of Fig. 2, the communications circuit mcluding a CAS detection system, and the CAS detection system having a CAS detector coupled to a receiver signal lme of the communications device; Fig. 4 is a block diagram of one embodiment of a communications device including a communications circuit accordmg to the present mvention, Fig 5 is a block diagram of the communications circuit of the communications device of Fig 4, wherem the communications circuit mcludes an improved CAS detection system having an echo canceler and an unproved CAS detector, Fig 6 is a block diagram of one embodiment of the improved CAS detector of Fig 5, wherem the CAS detector mcludes a 2130 Hz tone detection unit, a 2750 Hz tone detection unit, an extraneous signal detection unit, and CAS detection logic, Fig 7 is a block diagram of one embodiment of the 2130 Hz tone detection unit of Fig 6, Fig 8 is a block diagram of one embodiment of the 2750 Hz tone detection unit of Fig 6, and Fig 9 is a block diagram of one embodiment of the extraneous signal detection unit of Fig 6 Detailed Description of the Preferred Embodiment Incorporation by Reference The following publications are hereby incorporated by reference as though fully and completely set forth herem Bellcore Genenc Requirements GR-30-CORE, "LSSGR Voiceband Data Transmission Interface Section 66", Issue 1, December 1994, available from Bellcore Customer Relations, Piscataway, NJ Bellcore Technical Reference TR-NWT-000031 , "CLASS SM Feature Callmg Number Delivery, FSD 01- 02-1051," Issue 4, December 1992, available from Bellcore Customer Relations, Piscataway, NJ Bellcore Technical Reference TR-NWT-000575, "CLASS SM Feature Callmg Identity Delivery on Call Waitmg, FSD 01-02-1090," Issue 1, December 1992, available from Bellcore Customer Relations, Piscataway, NJ Bellcore Technical Reference TR-NWT-001188, "CLASS SM Feature Callmg Name Delivery Genenc Requirements, FSD 01-02-1070," Issue 1, December 1991, available from Bellcore Customer Relations, Piscataway, NJ Block Diagram of a Preferred Embodiment Fig 4 is a block diagram of a one embodiment of a communications device of the present invention (l e , a telephone 30) Fig 1 is also representative of telephone 30 Elements of telephone 10 shown m Figs 2- 3 and descnbed above which are also present m telephone 30 are numbered similarly Telephone 30 mcludes a communications circuit 32 which operates m a manner similar to communications circuit 18 above, but mcludes an unproved CAS detection system 34 Fig 5 is a block diagram of communications circuit 32 which mcludes the unproved CAS detection system 34 As shown m Fig 5, CAS detection system 34 mcludes an echo canceler 36 and an unproved CAS detector 38 Hybnd circuit 28 of communications circuit 32 has an mput port coupled to transmitter 16 via a transmitter signal lme 40, an output port coupled to echo canceler 36 via a signal lme 41, and an input/output port connected to a two-wire signal lme 44 Signal lme 44 is coupled to a two-wire telephone lme by hookswitch 20 during use of telephone 30 As described above, hybrid circuit 28 couples transmit signals from transmitter signal lme 40 to the telephone lme, and also couples receive signals from the telephone lme to echo canceler 36 durmg use of telephone 30 Hybrid circuit 28 allows the telephone lme to carry transmit and receive signals m opposite directions simultaneously Echo canceler 36 has a first input port coupled to transmitter signal lme 40, a second mput port coupled to hybrid circuit 28 via a signal lme 41. and an output port coupled to receiver 15 via a receiver signal lme 42. Echo canceler 36 receives a transmit signal from transmitter 16 via transmitter signal lme 40 and a receive signal from hybrid circuit 28 via signal lme 41 Echo canceler 36 uses the transmit signal and the receive signal to produce an output signal at the output port The output signal is the receive signal substantially devoid of any delayed version of the transmit signal (i.e., echo) present within the receive signal. CAS detector 38 has an mput port coupled to receiver signal lme 42, and produces a CAS detect signal when a CAS is detected. As will be descnbed m detail below, CAS detector 38 has several functional units which work together to prevent the generation of a CAS detect signal when no CAS is present (i.e., a false CAS detect signal) CAS detector 38 receives the output signal produced by echo canceler 36. Echo canceler 36 thus prevents CAS detector 38 from receivmg any echo followmg transmission of a SAS signal Such an echo may contain significant frequency components coπespondmg to those of the CAS, and may cause CAS detector 38 to produce a false CAS detect signal Echo canceler 36 is mcluded m the preferred embodiment of CAS detection system 34 m order to help prevent CAS detector 38 from producmg a false CAS detect signal. It is noted that CAS detector 38 contams a significant amount of circuitry dedicated to preventing production of a false CAS detect signal, and thus CAS detector 38 may function with or without echo canceler 36. Echo Canceler Echo canceler 36 may embody any of the well known echo cancellation techniques. In a typical approach, the impulse response of a typical hybπd circuit and the signal produced by the transmitter are used to generate an estimate of the expected echo. The echo estimate is subtracted from the signal directed to the receiver, thereby effectively cancelmg the echo. A preferred echo cancellation techmque is descnbed m patent application S/N 08/594,018 filed January 29, 1996, by Zheng- Yi Xie et al and entitled "A System and Method for Performing Echo Cancellation m a Communications Network Employmg a Mixed Mode LMS Adaptive Balance Filter," incorporated herem by reference. CAS Detector Fig. 6 is a block diagram of the unproved CAS detector 38. CAS detector 38 mcludes a 2130 Hz tone detection unit 46, a 2750 Hz tone detection unit 48, an extraneous signal detection unit 50, and CAS detection logic 52. 2130 Hz tone detection unit 46, 2750 Hz tone detection unit 48, and extraneous signal detection unit 50 have input ports connected to receiver signal lme 42 Each receives the output signal produced by echo canceler 36 as an mput signal at the mput port. The mput signal mcludes contnbutions of frequency components occurring withm a range of frequencies, typically from about 300 Hz to approximately 3,000 Hz. The mput signal mcludes signal energy within a first portion of the mput signal frequency range which mcludes the first DTMF tone at 2130 Hz. The first portion may be, for example, 2130 ± 11 Hz The mput signal also mcludes signal energy withm a second portion of the mput signal frequency range which mcludes the second DTMF tone at 2750 Hz. The second portion may be, for example, 2750 ± 14 Hz The mput signal also mcludes signal energy withm a third portion of the mput signal frequency range which excludes the first and second portions of the mput signal frequency range. The third portion of the mput signal range may include, for example, a significant portion of the frequency components of human speech signals 2130 Hz tone detection unit 46 produces an output signal at an output port, wherem the output signal is dependent upon the signal energy withm the first portion of the mput signal frequency range. Similarly, 2750 Hz tone detection unit 48 produces an output signal at an output port, wherem the output signal is dependent upon the signal energy withm the second portion of the mput signal frequency range. Extraneous signal detection unit 50 produces an output signal at an output port, wherem the output signal is dependent upon the signal energy withm the third portion of the mput signal frequency range. CAS detection logic 52 receives the output signals produced by 2130 Hz tone detection unit 46, 2750 Hz tone detection unit 48, and extraneous signal detection unit 50, and produces a CAS detect signal dependent upon the output signals. Tone Detection Units 2130 Hz tone detection unit 46 and 2750 Hz tone detection umt 48 each mclude a tone detector and a threshold detector. Fig. 7 is a block diagram of one embodiment of 2130 Hz tone detection umt 46. 2130 Hz tone detection unit 46 includes a 2130 Hz tone detector 54 and a threshold detector 56 Threshold detector 56 is coupled to receive an output of 2130 Hz tone detector 54. Fig. 8 is a block diagram of one embodiment of 2750 Hz tone detection unit 48. 2750 Hz tone detection unit 48 mcludes a 2750 Hz tone detector 58 and a threshold detector 60 Threshold detector 60 is coupled to receive an output of 2750 Hz tone detector 58. 2130 Hz tone detector 54 and 2750 Hz tone detector 58 may carry out signal energy determinations in the frequency domam. Accordmgly, 2130 Hz tone detector 54 and 2750 Hz tone detector 58 may sample the analog amplitude of the mput signal at regular intervals, convert the analog amplitude to coπesponding digital values, and perform a mathematical transformation operation to convert the mput time-domain signal to its frequency-domam equivalent. Such domam transformations are typically accomplished using a discrete Former transform (DFT) operation. A prefeπed (second-order) Goertzel algonthm evaluates only a smgle frequency component of an mput signal, and is thus particularly well suited to tone detection. The Goertzel algonthm is described Digital Signal Processmg Applications Usmg the ADSP-2100 Family by Analog Devices, Inc , Volume 1, pp. 458-478, Prentice-Hall, Inc., Englewood Cliffs, NJ, incorporated herem by reference. An n-point DFT transforms n samples of an mput signal, equally spaced m time, to the frequency domam. Magnitudes and phase angles of frequency components of the mput signal may be computed at discrete frequency pomts within a frequency range bounded at an upper end by half the samplmg frequency The interval between discrete frequency pomts is equal to the samplmg frequency divided by n. 2130 Hz tone detector 54 and 2750 Hz tone detector 58 may use an 8 kHz samplmg rate which is standard withm the telephone industry. If a tone m the mput signal does not fall exactly on one of the discrete frequency pomts, the energy of the tone is divided among the closest discrete frequency pomts. This phenomenon is called leakage. In order to avoid leakage, it is desirable for the frequencies of all tones to be detected to fall exactly upon discrete frequency pomts. It has been determined that for 2130 Hz tone detector 54, a sample frame mcludmg 169 consecutive samples obtamed usmg an 8 kHz samplmg rate affords an acceptable compromise between computation speed and accuracy (i.e., reduces leakage to an acceptable level). 2130 Hz tone detector 54 may embody a second-order Goertzel algonthm to evaluate the 45 th discrete frequency pomt of a 169-pornt DFT For 2750 Hz tone detector 58, a sample frame mcludmg 160 consecutive samples obtained usmg an 8 kHz samplmg rate affords a similar acceptable compromise. 2750 Hz tone detector 58 may embody a second-order Goertzel algonthm to evaluate the 55 th discrete frequency pomt of a 160-poιnt DFT. It is noted that 2130 Hz tone detector 54 and 2750 Hz tone detector 58 may embody other types of well known methods of isolating frequency components. An alternate DFT operation may be used to evaluate discrete frequency pomts correspondmg to two DTMF tones A fast Founer transform (FFT) operation may be used to evaluate all discrete frequency pomts coπesponding to n samples of an mput signal, and the discrete frequency pomts which do not conespond to two DTMF tones may be discarded In addition, vanous well known analog and digital filtering methods may be employed Threshold Detectors In the embodiment of Fig. 7, threshold detector 56 of 2130 Hz tone detection unit 46 produces two output signals "Al" and "A2". Output signals Al and A2 are dependent upon the signal energy withm the first portion of the mput signal frequency range (i.e., the output of 2130 Hz tone detector 54) Threshold detector 56 produces output signals Al and A2 by comparing the output of 2130 Hz tone detector 54 to a predetermmed first upper threshold value and first lower threshold value. The first upper threshold value is greater than the first lower threshold value. Threshold detector 56 produces (i.e., asserts) output signal Al if the output of 2130 Hz tone detector 54 exceeds the first upper threshold value. Threshold detector 56 asserts output signal A2 if the output of 2130 Hz tone detector 54 exceeds the first lower threshold value. The first upper threshold value and the first lower threshold value are established by a user, preferably m order to minimize the generation of false CAS detect signals. In the embodiment of Fig 8, threshold detector 60 of 2750 Hz tone detection unit 48 produces two output signals "Bl" and "B2" Output signals Bl and B2 are dependent upon the signal energy withm the second portion of the mput signal frequency range (1 e., the output of 2750 Hz tone detector 58) Threshold detector 60 produces output signals Bl and B2 by comparing the output of 2750 Hz tone detector 58 to a predetermmed second upper threshold value and second lower threshold value. The second upper threshold value is greater than the second lower threshold value. Threshold detector 60 asserts output signal Bl if the output of 2750 Hz tone detector 58 exceeds the second upper threshold value. Threshold detector 60 asserts output signal B2 if the output of 2750 Hz tone detector 58 exceeds the second lower threshold value. The second upper threshold value and the second lower threshold value are established by a user, preferably in order to minimize the generation of false CAS detect signals. Extraneous Signal Detection Unit Fig 9 is a block diagram of one embodiment of extraneous signal detection unit 50 Extraneous signal detection unit 50 includes a low pass filter 62, a signal estimation unit 64, and a threshold detector 66 In the embodiment of Fig 9, threshold detector 66 produces a smgle output signal "C". Output signal C is dependent upon the signal energy withm the third portion of the mput signal frequency range Low pass filter 62 is used to substantially remove signal frequencies withm the first and second portions of the mput signal frequency range. In the case of a CAS signal, the 2130 Hz and 2750 Hz DTMF tones are located in an upper portion of the 300 Hz to 3,000 Hz mput signal frequency range. Low pass filter 62 may be a second-order low pass filter havmg a "cutoff frequency of approximately 2,000 Hz. In this case, low pass filter 62 substantially passes frequency components below about 2,000 Hz and substantially attenuates frequency components above 2,000 Hz. Low pass filter 62 thus effectively removes signal frequencies m the first and second portions of the mput signal frequency range, and the output of low pass filter 62 contams signal frequencies in the third portion of the mput signal frequency range Signal estimation unit 64 is coupled to receive the output of low pass filter 62. Signal estimation unit may embody an algorithm which produces a value proportional to the signal energy withm the third portion of the mput signal frequency range. Signal estimation unit 64 may sample the amplitude of the mput signal x at regular intervals, and sum a resulting value y with a fraction of a previous value of y accordmg to: a - \ y(n) \x(n) ■ y(n - \) where n is a sample number. Samplmg may agam be performed at the industry standard 8 kHz rate. The value of a is selected by the user, and is preferably selected such that: " 1 " ~ a - \ — + = 1.0 a _ a The value of a may range from 2 to 10, with a prefened value of approximately 8 The value v is then used to produce an output signal Y(n) where Y(n) is the maximum value of y m a sample frame havmg a selected sample length. Y(n) = max i! where N is the number of samples m the sample frame. Output signal Y(n) is proportional to the signal energy withm the tmrd portion of the mput signal frequency range (I e., the output of low pass filter 62) As descnbed above, the third portion of the mput signal frequency range includes a significant portion of the frequency components of human speech signals Threshold detector 66 produces output signal "C" by comparing the output of signal estimation unit 64 to a predetermmed third threshold value Threshold detector 66 asserts output signal C if the output of signal 10 estimation unit 64 exceeds the third threshold value The third threshold value is established by a user, preferably in order to minimize the generation of false CAS detect signals CAS Detection Logic CAS detection logic 52 receives output signals Al and A2 produced by 2130 Hz tone detection unit 46, output signals Bl and B2 produced by 2750 Hz tone detection umt 48, and output signal C produced by extraneous signal detection unit 50 CAS detection logic 52 produces (l e., asserts) the CAS detect signal if output signals Al and Bl are received (l e , asserted) In this case, the signal energy withm the first portion of the mput signal frequency range is greater than the first upper threshold value and the signal energy withm the second portion of the input signal frequency range is greater than the second upper threshold value CAS detection logic 52 also asserts the CAS detect signal if output signals A2 and B 1 output signals are received and the C output signal is not received. In this case, the signal energy withm the first portion of the mput signal frequency range is greater than the first lower threshold value, the signal energy within the second portion of the mput signal frequency range is greater than the second upper threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value CAS detection logic 52 also asserts the CAS detect signal if output signals Al and B2 output signals are received and the C output signal is not received In this case, the signal energy withm the first portion of the input signal frequency range is greater than the first upper threshold value, and the signal energy within the second portion of the mput signal frequency range is greater than the second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value. CAS detection logic 52 also asserts the CAS detect signal if output signals A2 and B2 output signals are received and the C output signal is not received. In this case, the signal energy withm the first portion of the mput signal frequency range is greater than the first lower threshold value, and the signal energy withm the second portion of the input signal frequency range is greater than the second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value Method A method of detecting a DTMF signal (e g., a CAS signal) present withm the mput signal mcludes measuring the signal energy withm the first, second, and third portions of the mput signal frequency range. The measured signal energy withm the first portion of the mput frequency range is compared to the first upper threshold value and first lower threshold value. The measured signal energy withm the second portion of the input frequency range is compared to the second upper threshold value and second lower threshold value. The measured signal energy within the third portion of the mput frequency range is compared to the third threshold value The DTMF detect signal is produced if the signal energy withm the first portion of the mput signal frequency range is greater than the first upper threshold value and the signal energy withm the second portion of the mput signal frequency range is greater than the second upper threshold value. The DTMF detect signal is also produced if the signal energy withm the first portion of the input signal frequency range is greater than the first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range 11 is greater than the second upper threshold value, and the signal energy within the third portion of the mput signal frequency range is less than the third threshold value The DTMF detect signal is also produced if the signal energy withm the first portion of the mput signal frequency range is greater than the first upper threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value. The DTMF detect signal is also produced if the signal energy withm the first portion of the mput signal frequency range is greater than the first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value Conclusion Therefore, a communications device mcludmg an unproved CAS detection system is presented. The CAS detection system mcludes an unproved CAS detector, and also preferably mcludes an echo canceler. A method for reliable detection of a CAS is also presented A CAS mcludes a first DTMF tone (2130 Hz) and a second DTMF tone (2750 Hz) One embodiment of the communications device is a telephone An mput signal mcludes signal energy withm a first portion of the mput signal frequency range which includes the first DTMF tone, signal energy withm a second portion of the mput signal frequency range which includes the second DTMF tone, and signal energy withm a third portion of the mput signal frequency range which excludes the first and second DTMF tones The CAS detector contams a significant amount of circuitry dedicated to preventmg assertion of a false CAS detect signal The CAS detector includes a first and second tone detection units, an extraneous signal detection unit, and detection logic The first and second tone detection units receive the mput signal and produce an output signal dependent upon the signal energy within respective first and second portions of the input signal frequency range The extraneous signal detection unit also receives the mput signal and produces an output signal dependent upon the signal energy within the third portion of the mput signal frequency range The detection logic receives the output signals produced by the first and second tone detection units and the extraneous signal detection unit, and produces a CAS detect signal dependent upon the output signals. Although the system and method of the present mvention has been descnbed m connection with the preferred embodiment, it is not mtended to be limited to the specific form set forth herem, but on the contrary, it is intended to cover such alternatives, modifications, and equivalents, as can be reasonably mcluded withm the sprπt and scope of the mvention as defined by the appended claims 12

Claims: What is Claimed 1 A DTMF signal detector for detectmg a DTMF signal present withm an mput signal, wherem the mput signal compnses a frequency range havmg a first portion mcludmg a first DTMF tone, a second portion mcludmg a second DTMF tone, and a third portion which excludes the first and second portions, the DTMF signal detector compnsmg: a first tone detection unit coupled to receive the mput signal and configured to produce an output signal dependent upon the signal energy withm the first portion of the mput signal frequency range; a second tone detection umt coupled to receive the input signal and configured to produce an output signal dependent upon the signal energy withm the second portion of the mput signal frequency range; an extraneous signal detection unit coupled to receive the mput signal and configured to produce an output signal dependent upon the signal energy withm the third portion of the mput signal frequency range; and detection logic coupled to receive the output signals produced by the first and second tone detection units and the extraneous signal detection umt, wherem the detection logic is configured to produce a DTMF detect signal dependent upon the output signals. 2 The DTMF signal detector as recited m claim 1, wherein the DTMF signal is a Mode 2 Caller ID CPE alertmg signal (CAS). 3 The DTMF signal detector as recited in claim 1, wherem the first DTMF tone has a frequency of approximately 2130 Hz, and wherein the second DTMF tone has a frequency of approximately 2750 Hz. 4 The DTMF signal detector as recited m claim 1, wherem the first portion of the input signal frequency range is 2130 ± 11 Hz, and wherem the second portion of the mput signal frequency range is 2750 ± 14 Hz. 5. The DTMF signal detector as recited m claim 1, wherem the first tone detection unit is configured to produce: a first output signal if the signal energy withm the first portion of the mput signal frequency range exceeds a first upper threshold value; and a second output signal if the signal energy withm the first portion of the mput signal frequency range exceeds a first lower threshold value. 6. The DTMF signal detector as recited m claim 5, wherem the first upper threshold value is greater than the first lower threshold value. 7. The DTMF signal detector as recited m claim 5, wherem the second tone detection unit is configured to produce 13 a third output signal if the signal energy withm the second portion of the mput signal frequency range exceeds a second upper threshold value, and a fourth output signal if the signal energy withm the second portion of the mput signal frequency range exceeds a second lower threshold value 8 The DTMF signal detector as recited in claim 7, wherem the second upper threshold value is greater than the second lower threshold value 9 The DTMF signal detector as recited m claim 7, wherem the extraneous signal detection unit is configured to produce a fifth output signal if the signal energy withm the third portion of the mput signal frequency range exceeds a third threshold value 10 The DTMF signal detector as recited m claim 9, wherein the detection logic is coupled to receive the first, second, third, fourth, and fifth output signals, and wherem the detection logic is configured to produce the DTMF detect signal dependent upon the first, second, third, fourth, and fifth output signals 11 The DTMF signal detector as recited m claim 10, wherem the detection logic produces the DTMF detect signal if one or more of the followmg is true (l) the first and thud output signals are received, (n) the second and third output signals are received and the fifth output signal is not received, (m) the first and fourth output signals are received and the fifth output signal is not received, and (IV) the second and fourth output signals are received and the fifth output signal is not received 12 A communications device, compnsmg a hybπd circuit havmg an mput port, and output port, and an input/output port, wherem the mput port is coupled to receive a transmit signal, and wherem the input/output port is coupled to a telephone lme durmg use, and wherem the hybnd circuit is configured to (l) couple the transmit signal from the transmitter signal line to the telephone lme, and (u) couple a receive signal from the telephone lme to the output port, an echo canceler havmg a first and second mput ports and an output port, wherem the first mput port is coupled to receive the transmit signal, and wherem the second mput port is coupled to the hybnd circuit output port and receives the receive signal, and wherem the echo canceler is configured to produce an output signal at the output port, and wherem the output signal is substantially the receive signal devoid of any portion of the transmit signal delayed m time and present withm the receive signal, and a DTMF detector coupled to receive the output signal of the echo canceler as an mput signal, wherem the DTMF detector is configured to detect a DTMF signal present withm the input signal, and wherem the DTMF signal comprises a first DTMF tone and a second DTMF tone, and wherem the mput signal mcludes signal energy withm a frequency range havmg a first portion mcludmg the first DTMF tone, a second portion mcludmg the second DTMF tone, and a thud portion which excludes the first and second DTMF tones, and 14 wherem the DTMF detector is configured to produce a DTMF detect signal if one or more of the followmg is true (1) the signal energy withm the first portion of the mput signal frequency range is greater than a first upper threshold value and the signal energy within the second portion of the mput signal frequency range is greater than a second upper threshold value, (n) the signal energy within the first portion of the mput signal frequency range is greater than a first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second upper threshold value, and the signal energy withm the third portion of the mput signal frequency range is less then a trrrrd threshold value, (m) the signal energy withm the first portion of the mput signal frequency range is greater than a first upper threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than a second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value, and (iv) the signal energy withm the first portion of the mput signal frequency range is greater than the first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value 13 The communications device as recited m claim 12, wherein the communications device is a telephone 14 The communications device as recited m claim 12, wherem the DTMF signal is a Mode 2 Caller ID CPE alertmg signal (CAS) 15 The communications device as recited m claim 12, wherem the first DTMF tone has a frequency of about 2130 Hz, wherem the second DTMF tone has a frequency of approximately 2750 Hz 16 The communications device as recited m claim 12, wherem the first portion of the mput signal frequency range is 2130 ± 11 Hz, and wherem the second portion of the mput signal frequency range is 2750 ± 14 Hz 17 The communications device as recited m claim 12, wherem the DTMF signal detector compnses a first tone detection unit coupled to receive the mput signal and configured to produce an output signal dependent upon the signal energy withm the first portion of the mput signal frequency range, a second tone detection unit coupled to receive the mput signal and configured to produce an output signal dependent upon the signal energy withm the first portion of the input signal frequency range, an extraneous signal detection unit coupled to receive the mput signal and configured to produce an output signal dependent upon the signal energy withm the third portion of the mput signal frequency range, and 15 detection logic coupled to receive the output signals produced by the first and second tone detection units and the extraneous signal detection unit, wherem the detection logic is configured to produce a DTMF detect signal dependent upon the output signals produced by the first and second tone detection units and ie extraneous signal detection unit 18 A method of detectmg a DTMF signal present withm an mput signal, wherem the DTMF signal compnses a first DTMF tone and a second DTMF tone, and wherem the mput signal mcludes signal energy withm a frequency range, the method compnsmg- measuring signal energy withm a first portion of the input signal frequency range which mcludes the first DTMF tone; measuring signal energy within a second portion of the mput signal frequency range which mcludes the second DTMF tone, measuring signal energy withm a third portion of the mput signal frequency range which excludes the first and second DTMF tones, producmg a DTMF detect signal if one or more of the followmg is true (I) the signal energy withm the first portion of the mput signal frequency range is greater than a first upper threshold value and the signal energy withm the second portion of the mput signal frequency range is greater than a second upper threshold value; (u) the signal energy withm the first portion of the mput signal frequency range is greater than a first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second upper threshold value, and the signal energy withm the third portion of the mput signal frequency range is less then a third threshold value; (m) the signal energy withm the first portion of the mput signal frequency range is greater than a first upper threshold value, and the signal energy within the second portion of the mput signal frequency range is greater than a second lower threshold value, and the signal energy withm the third portion of the mput signal frequency range is less than the third threshold value; and (iv) the signal energy withm the first portion of the mput signal frequency range is greater than the first lower threshold value, and the signal energy withm the second portion of the mput signal frequency range is greater than the second lower threshold value, and the signal energy within the third portion of the mput signal frequency range is less than the third threshold value. 19 The method as recited in claim 18, wherem the DTMF signal is a Mode 2 Caller ID CPE alerting signal (CAS) 20. The method as recited m claim 18, wherem the first DTMF tone has a frequency of about 2130 Hz, and wherem the second DTMF tone has a frequency of approximately 2750 Hz. 21 The method as recited m claim 18, wherem the first portion of the mput signal frequency range is 2130 ± 11 Hz, and wherein the second portion of the input signal frequency range is 2750 ± 14 Hz 16

Inventors: BARTKOWIAK JOHN G, BARTKOWIAK, JOHN, G.
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1998
Main classification: H04Q1
IPC codes: H04M1, H04Q1