• 沒有找到結果。

Efficient Detection Approach for DTMF Signal Detection

N/A
N/A
Protected

Academic year: 2021

Share "Efficient Detection Approach for DTMF Signal Detection"

Copied!
11
0
0

加載中.... (立即查看全文)

全文

(1)

applied

sciences

Article

Efficient Detection Approach for DTMF

Signal Detection

Cheng-Yu Yeh1,* and Shaw-Hwa Hwang2

1 Department of Electrical Engineering, National Chin-Yi University of Technology, 57, Section 2, Chung Shan Road, Taiping, Taichung 41170, Taiwan

2 Department of Electrical and Computer Engineering, National Chiao Tung University, Hsinchu 30010, Taiwan; hsf@nctu.edu.tw

* Correspondence: cy.yeh@ncut.edu.tw; Tel.: +886-4-2392-4505 (ext. 7236)

Received: 22 December 2018; Accepted: 22 January 2019; Published: 27 January 2019  Abstract: A novel tone detection approach, designated as the multi-frequency detecting (MFD) algorithm, is presented in this work as an alternative to conventional single point detection approaches but it is an efficient way to achieve the aim of further computational load reduction for a dual-tone multi-frequency (DTMF) signal detection. The idea is that an optimal phase search is performed over the frequency band of interest in each tone detection, and then the optimal frequency response of a detector is built accordingly. In this manner, a DTMF detection task is done following one-time detection computation. This proposal demonstrates an overall computational load reduction of 80.49% and 74.06% in comparison with a discrete Fourier transform (DFT) approach and the Goertzel algorithm, respectively. This detection complexity reduction is an advantage and an important issue for applying DTMF detection technique to embedded devices.

Keywords:dual-tone multi-frequency (DTMF); remote control; tone detection; Goertzel algorithm; discrete Fourier transform (DFT)

1. Introduction

Dual-tone multi-frequency (DTMF) signals [1–4] were developed by Bell Labs for the purpose of automatic fulfilled long-distance calls. DTMF signal and the detection of DTMF have been widely used in modern communication systems. In a public switched telephone network (PSTN), the DTMF technique is applied to telecommunication signaling over analog telephone lines in the voice-frequency band among telephone handsets, other communications devices, and a switching center. Recently, the DTMF technique has also been widely applied to household intelligent alarm systems [5], remote control systems [6,7], VoIP systems [8], and so on.

Standardized by International Telecommunications Union (ITU) [9], the DTMF technique uses eight different frequency signals transmitted in pairs to represent 16 different figures and symbols, as tabulated in Table1. It consists of two mutually exclusive frequency groups: the low-frequency group (<1 kHz) and the high-frequency group (>1 kHz). Four low-frequency tones (697, 770, 852, 941 Hz) are assigned to rows, while four high-frequency tones (1209, 1336, 1477, 1633 Hz) are assigned to columns. Thus, each pair of frequencies corresponding to the column and row are adopted as a unique DTMF tone. In addition, with a permitted frequency tolerance of approximately±1.5% of the tone frequency in ITU specification for valid DTMF tones, the frequency components in the exterior of ±3.5% must be rejected, while those between±1.5% and±3.5% can be either accepted or rejected. Hence, a tone detection must be conducted over the frequency range of±3.5%.

(2)

Table 1. Relations between the paired frequencies and the corresponding symbols in dual-tone multi-frequency (DTMF) signals. Symbols 1209 Hz 1336 Hz 1477 Hz 1633 Hz 697 Hz 1 2 3 A 770 Hz 4 5 6 B 852 Hz 7 8 9 C 941 Hz * 0 # D

‘*’, ‘#’: the dialed symbols on a telephone.

Consequently, a tone detection algorithm is necessary at the receiving end to recognize a received DTMF signal. In the literature, DTMF detection algorithms [10–16] can be categorized into two types, namely, the discrete Fourier transform (DFT) based approaches [10–12] and the Goertzel-based algorithms [13–16]. In the former approaches, the frequency response of a received signal is calculated by the DFT formula, and then determines the tone frequency thereof. However, for the purpose of computational complexity reduction, only the frequency bin that corresponds to a detected tone is calculated. Such an approach is referred to one-point DFT detection approach as well. On the other hand, the Goertzel-based algorithms were demonstrated to provide a way for efficient evaluation of individual terms of the DFT. The Goertzel-based algorithms are widely used in DTMF signal detection, due to the advantage of a considerable computational time saving during a detection procedure. However, one thing that these two detection types have in common is that a tone detection task is performed at a single point each time, meaning that there is an inevitable and significant rise in the required computational load.

Alternatively, a number of studies [17–20] were published with a focus on the applications of tone detection algorithms to the design of field-programmable gate array (FPGA), very large scale Integration (VLSI) chips and digital signal processor (DSP) processors. As a matter of fact, the detection algorithms involved in the above-stated references belong to either DFT or Goertzel algorithm-based ones. In addition to the computational complexity, quantities, e.g., chip area occupied, power dissipation, and more, need to be taken into account in chip design. Not as in chip design, the computational complexity is the first priority issue when porting a tone detection code to a hardware platform, and the Goertzel algorithm stands as the most advantageous candidate in terms of the computational complexity.

If a tone detection code can be ported to a hardware platform, say an embedded system platform, via programming, then the hardware cost can be kept down, that is to say, a tone detection chip is not required in the embedded platform. Accordingly, a highly efficient DTMF detection algorithm, designated as the multi-frequency detecting (MFD) approach, is proposed in this study as an alternative to conventional single point detection approaches. It merely requires one-time detection computation to get a DTMF task done, accounting for a considerable computational load reduction. This detection complexity reduction is an important issue for applying a DTMF detection technique to embedded devices.

The rest of this paper is outlined as follows. The related works are described in Section2. Section3 presents the proposed algorithm for DTMF tone detection. Experimental results are demonstrated and discussed in Section4. This work is summarized at the end of this paper.

2. Related Works

In this section, two conventional single point detection approaches, the one-point DFT and Goertzel approaches, will be discussed. First, the DFT of a singal x[n] is defined as:

X[k] =N−1 n=0 x[n]WNnk=N−1 n=0 x[n]e−j2πnkN =N−1 n=0 x[n]ncos2πnkN −j sin2πnkN o (1)

(3)

Appl. Sci. 2019, 9, 422 3 of 11

and is used to the one-point DFT approach along the frequency bin k. During a tone detection, X[k] is first evaluated corresponding to each tone frequency, and then the tone corresponding to the input signal x[n] can be identified. As indicated in Equation (1), a computational load of 2N real multiplications and (2N−2) additions are required to evaluate X[k] at a specified k. That is, such computational load is required when the one-point DFT approach is performed at a specified k.

On the other hand, the direct-form realization of a Goertzel algorithm is presented in Figure1[13], and the operation thereof is expressed as:

vk[n] =x[n] +2 cos( 2πk

N )vk[n−1] −vk[n−2] (2) X[k] =yk[N] =vk[N] −WNkvk[N−1] (3) where X[k] is the DFT of a singal x[n]. In this manner, (2) is iterated N times until vk[N] is acquired, and then X[k] is obtained by (3). In addition, k is constant when (2) and (3) are evaluated. In this context, evaluation of X[k] at a specified k requires a computational load of (N + 2) real multiplications and (2N + 1) additions. Obviously, this approach is found to have the same tone detection procedure as the above one-point DFT approach.

− = − = − − =

=

=

=

1 0 1 0 2 1 0

2

sin

2

cos

]

[

]

[

]

[

]

[

N n N n N nk j N n nk N

N

nk

j

N

nk

n

x

e

n

x

W

n

x

k

X

π

π

π (1)

and is used to the one-point DFT approach along the frequency bin k. During a tone detection, X[k] is first evaluated corresponding to each tone frequency, and then the tone corresponding to the input signal x[n] can be identified. As indicated in Equation 1, a computational load of 2N real multiplications and (2N – 2) additions are required to evaluate X[k] at a specified k. That is, such computational load is required when the one-point DFT approach is performed at a specified k.

On the other hand, the direct-form realization of a Goertzel algorithm is presented in Figure 1 [13], and the operation thereof is expressed as:

]

2

[

]

1

[

)

2

cos(

2

]

[

]

[

=

+

v

n

v

n

N

k

n

x

n

v

k

π

k k (2)

]

1

[

]

[

]

[

]

[

k

=

y

N

=

v

N

W

v

N

X

k k N k k (3)

where X[k] is the DFT of a singal x[n]. In this manner, (2) is iterated N times until vk[N] is acquired, and then X[k] is obtained by (3). In addition, k is constant when (2) and (3) are evaluated. In this context, evaluation of X[k] at a specified k requires a computational load of (N + 2) real multiplications and (2N + 1) additions. Obviously, this approach is found to have the same tone detection procedure as the above one-point DFT approach.

Figure 1. Direct-form realization of a Goertzel algorithm.

To further analyze the valid DTMF tones in ITU specification, an example of tone detection at a frequency of 1477 Hz with a sampling rate (SR) of 8000 Hz and a DFT size of 512 is illustrated in Figure 2. In this case, frequencies over the range of 1455 to 1499 Hz must be accepted, whereas those below 1425 or beyond 1529 Hz must be rejected. Hence, tone detections must be performed over the frequency bin k = 92 to 97.

Figure 1.Direct-form realization of a Goertzel algorithm.

To further analyze the valid DTMF tones in ITU specification, an example of tone detection at a frequency of 1477 Hz with a sampling rate (SR) of 8000 Hz and a DFT size of 512 is illustrated in Figure2. In this case, frequencies over the range of 1455 to 1499 Hz must be accepted, whereas those below 1425 or beyond 1529 Hz must be rejected. Hence, tone detections must be performed over the

frequency bin k = 92 to 97.Appl. Sci. 2019, 9, x 4 of 11

Figure 2. An example of tone detection at a frequency of 1477 Hz.

Subsequently, a comparison is made between the one-point DFT approach and the Goertzel algorithm as follows. Taking Figure 2 as an instance, the former requires 2N real multiplications and (2N – 2) additions to evaluate X[k], given in (1), for frequency bin k ranging between 92 and 97, that is, the above-stated evaluations are performed for six times in total. In contrast, the latter requires (N + 2) real multiplications and (2N + 1) additions to evaluate X[k], given in (2) and (3), for

k in the same range as in the former case, but the latter is found to have a 25% approximately

computational load reduction in comparison with the former.

As described above, one thing that these two detection approaches have in common is that a tone detection task is performed at a single point each time, meaning that there is an inevitable and significant rise in the required computational load.

3. Proposed Algorithm

MFD is presented as a simplified but improved version of a typical DTMF detection algorithm. It is developed as a two-phase algorithm, the first of which is for offline detector design and the second is for tone detection. Phase 1 aims to design and then realize the optimal frequency response of a detector for a specified signal tone range of interest, and a lookup table is built accordingly. Subsequently, a tone detection is performed in Phase 2 using the optimal detector implemented previously.

The presented MFD detection approach is illustrated with an example in Figure 3. The frequency response of a detector is synthesized as a superposition of WNnk corresponding to the k of

interest, and the optimal frequency response thereof is found accordingly. Thus, this study presents a synthesized multi-frequency detector, formulated as a modified form of (1), that is,

Figure 3. Frequency response synthesis of a multi-frequency detector (MFD).

{

}

 

− = − = − = − = ′

=

+

+

+

+

=

=

1 0 1 0 1 0 1 0 , ,

)

(

)

(

]

[

)

(

2

sin

)

(

2

cos

]

[

~

]

[

]

[

~

N n i r N n M m N n k n N M

n

jw

n

w

n

x

m

N

m

k

n

j

m

N

m

k

n

n

x

W

n

x

k

X

θ

π

θ

π

θ ( 4 ) Figure 2.An example of tone detection at a frequency of 1477 Hz.

(4)

Subsequently, a comparison is made between the one-point DFT approach and the Goertzel algorithm as follows. Taking Figure2as an instance, the former requires 2N real multiplications and (2N−2) additions to evaluate X[k], given in (1), for frequency bin k ranging between 92 and 97, that is, the above-stated evaluations are performed for six times in total. In contrast, the latter requires (N + 2) real multiplications and (2N + 1) additions to evaluate X[k], given in (2) and (3), for k in the same range as in the former case, but the latter is found to have a 25% approximately computational load reduction in comparison with the former.

As described above, one thing that these two detection approaches have in common is that a tone detection task is performed at a single point each time, meaning that there is an inevitable and significant rise in the required computational load.

3. Proposed Algorithm

MFD is presented as a simplified but improved version of a typical DTMF detection algorithm. It is developed as a two-phase algorithm, the first of which is for offline detector design and the second is for tone detection. Phase 1 aims to design and then realize the optimal frequency response of a detector for a specified signal tone range of interest, and a lookup table is built accordingly. Subsequently, a tone detection is performed in Phase 2 using the optimal detector implemented previously.

The presented MFD detection approach is illustrated with an example in Figure3. The frequency response of a detector is synthesized as a superposition of WNnk corresponding to the k of interest, and the optimal frequency response thereof is found accordingly. Thus, this study presents a synthesized multi-frequency detector, formulated as a modified form of (1), that is,

e X[k0] =N−1 n=0 x[n]Wenk 0 M,N,θ =N−1 n=0 x[n]M−1 m=0 n cos2πn(kN0+m)+−j sin2πn(kN0+m)+o =N−1∑ n=0x [n]{wr(n) −jwi(n)} (4) and e WM,N,θnk0 =M−1 m=0 e WN,θnk0 =M−1 m=0 e−j(2πn(kN0 +m)+mθ) =M−1∑ m=0 n cos2πn(kN0+m)+−j sin2πn(kN0+m)+  =wr(n) −jwi(n) (5) wr(n) = M−1

m=0 cos 2πn(k 0+m) N +  (6) wi(n) = M−1

m=0 sin 2πn(k 0+m) N +  (7) where eWM,N,θnk0 denotes a proposed synthesized multi-frequency detector. The idea is that M number of WNnkcomponents over the frequency band of interest is synthesized ahead of a DTMF detection, and then a distinct phase angle θ is assigned. k’, representing the starting index over the detected frequency band, and M are respectively defined as:

k0=INT f∗N∗ (1−Toff)

SR +1



(5)

Appl. Sci. 2019, 9, 422 5 of 11

M=INT f∗N∗ (1+Toff) SR



−k0+1 (9)

where f denotes the tone of interest, SR the sampling rate, Toffthe value of frequency tolerance, and INT(·) the integer part of a number. As illustrated in Figure2, f = 1477 Hz, k’ = 92 and M = 6 on a condition that Toff= 3.5%. As well, tabulated in Table2are the values of k and M versus the tone frequencies on a condition that N = 512 and Toff= 3.5%.

Figure 2. An example of tone detection at a frequency of 1477 Hz.

Subsequently, a comparison is made between the one-point DFT approach and the Goertzel algorithm as follows. Taking Figure 2 as an instance, the former requires 2N real multiplications and (2N – 2) additions to evaluate X[k], given in (1), for frequency bin k ranging between 92 and 97, that is, the above-stated evaluations are performed for six times in total. In contrast, the latter requires (N + 2) real multiplications and (2N + 1) additions to evaluate X[k], given in (2) and (3), for k in the same range as in the former case, but the latter is found to have a 25% approximately computational load reduction in comparison with the former.

As described above, one thing that these two detection approaches have in common is that a tone detection task is performed at a single point each time, meaning that there is an inevitable and significant rise in the required computational load.

3. Proposed Algorithm

MFD is presented as a simplified but improved version of a typical DTMF detection algorithm. It is developed as a two-phase algorithm, the first of which is for offline detector design and the second is for tone detection. Phase 1 aims to design and then realize the optimal frequency response of a detector for a specified signal tone range of interest, and a lookup table is built accordingly. Subsequently, a tone detection is performed in Phase 2 using the optimal detector implemented previously.

The presented MFD detection approach is illustrated with an example in Figure 3. The frequency response of a detector is synthesized as a superposition of W corresponding to the k of Nnk interest, and the optimal frequency response thereof is found accordingly. Thus, this study presents a synthesized multi-frequency detector, formulated as a modified form of (1), that is,

Figure 3. Frequency response synthesis of a multi-frequency detector (MFD).

{

}

 

− = − = − = − = ′

=

+

+

+

+

=

=

1 0 1 0 1 0 1 0 , ,

)

(

)

(

]

[

)

(

2

sin

)

(

2

cos

]

[

~

]

[

]

[

~

N n i r N n M m N n k n N M

n

jw

n

w

n

x

m

N

m

k

n

j

m

N

m

k

n

n

x

W

n

x

k

X

θ

π

θ

π

θ ( 4 ) Figure 3.Frequency response synthesis of a multi-frequency detector (MFD).

Table 2.Values of k and M versus the tone frequencies on a condition that N = 512 and Toff= 3.5%.

Frequency (Hz) Value of k Value of M Min. (k’) Max. 697 44 46 3 770 48 51 4 852 53 56 4 941 59 62 4 1209 75 80 6 1336 83 88 6 1477 92 97 6 1633 101 108 8

Furthermore, presented in Figure4are the frequency response comparison among synthesized detectors with various combinations of M and θ. From Figure4a, it is found that the MFD result shares the same frequency response with DFT in the case of M = 1, and the DTMF signal with frequency shift cannot be successfully detected. As demonstrated in Figure4b–d, namely the cases of M = 2, θ = 0, π/3, 102π/180, respectively, the frequency response of a detector shows a strong dependence on the phase angle.

As a target of this paper, the phase angle θ is then tuned so as to optimize the frequency response of a detector. As illustrated in Figure4c, gprdenotes the pass-band ripple of the frequency response, gsrthe maximal ripple of the stop-band, and gps= gsr−gprthe differential gain between the pass- and the stop-bands. In a bid to optimize the frequency response of a detector with respect to the phase angle θ in (5), a cost function in the determination of the optimized phase angle θoptis defined as

θopt=argmin θ

 gpr(θ) , 0≤θ< (10)

An open-loop search is conducted here to locate the optimal phase angle θoptover the range of 0◦≤

θ< 360◦. As illustrated in Figure4d–f, θoptare consequently located at 102π/180, 230π/180, 264π/180 in the cases of M = 2, 4, 6, respectively. With reference to the frequency responses in Figure4d–f, nearly consistent performance is provided among cases with various M values in this proposal.

(6)

Appl. Sci. 2019, 9, x 6 of 11 0 0.2 0.4 0.6 0.8 1 1.2 89 90 91 92 93 94 95 96 97 98 99 100 Ma gn it u d e k (a) (b) (c) 0 0.2 0.4 0.6 0.8 1 1.2 89 90 91 92 93 94 95 96 97 98 99 100 Ma gn it u d e k (d) (e) (f)

Figure 4. Frequency responses of multi-frequency detecting (MFD) with different combinations of M and θ for detecting a tone of 1477 Hz: (a) k’ = 94, M = 1, θ = 0, (b) k’ = 94, M = 2, θ = 0, (c) k’ = 94, M = 2,

θ = π/3, (d) k’ = 94, M = 2, θ = 102π/180, (e) k’ = 93, M = 4, θ = 230π/180, (f) k’ = 92, M = 6, θ = 264π/180.

Furthermore, presented in Figure 4 are the frequency response comparison among synthesized detectors with various combinations of M and θ. From Figure 4a, it is found that the MFD result shares the same frequency response with DFT in the case of M = 1, and the DTMF signal with frequency shift cannot be successfully detected. As demonstrated in Figure 4b–d, namely the cases of M = 2, θ = 0, π/3, 102π/180, respectively, the frequency response of a detector shows a strong dependence on the phase angle.

As a target of this paper, the phase angle θ is then tuned so as to optimize the frequency response of a detector. As illustrated in Figure 4c, gpr denotes the pass-band ripple of the frequency response, gsr the maximal ripple of the stop-band, and gps = gsr – gpr the differential gain between the pass- and the stop-bands. In a bid to optimize the frequency response of a detector with respect to the phase angle θ in (5), a cost function in the determination of the optimized phase angle θopt is defined as

𝜃opt= arg min

𝜃 𝑔pr 𝜃 , 0 ≤ θ < 2π (10)

An open-loop search is conducted here to locate the optimal phase angle θopt over the range of 0°≤ θ < 360°. As illustrated in Figure 4d–f, θopt are consequently located at 102π/180, 230π/180, 264π/180 in the cases of M = 2, 4, 6, respectively. With reference to the frequency responses in Figure 4d–f, nearly consistent performance is provided among cases with various M values in this proposal.

In addition, different M values among various tone frequencies, listed in Table 2, are adopted to evaluate the optimal phase θopt by performing (5) and (10), and then the gpr, gsr, gps values can be

Figure 4.Frequency responses of multi-frequency detecting (MFD) with different combinations of M and θ for detecting a tone of 1477 Hz: (a) k’ = 94, M = 1, θ = 0, (b) k’ = 94, M = 2, θ = 0, (c) k’ = 94, M = 2, θ = π/3, (d) k’ = 94, M = 2, θ = 102π/180, (e) k’ = 93, M = 4, θ = 230π/180, (f) k’ = 92, M = 6, θ = 264π/180.

In addition, different M values among various tone frequencies, listed in Table2, are adopted to evaluate the optimal phase θoptby performing (5) and (10), and then the gpr, gsr, gpsvalues can be estimated. Presented in Table3are respective optimal design parameters for detectors among various tone frequencies. In addition, the frequency response for an optimal detector versus the tone frequencies is presented in Figure5.

Table 3.Optimal design parameters for a detector versus the tone frequencies.

Frequency

(Hz) M

Parameters of an Optimal Detector

θopt gpr(dB) gsr(dB) gps(dB) 697 3 282π/180 0.1431 6.4597 6.3166 770 4 229π/180 0.2530 7.5342 7.2812 852 4 230π/180 0.2537 7.5365 7.2829 941 4 129π/180 0.3386 7.5170 7.1784 1209 6 264π/180 0.3246 7.2856 6.9610 1336 6 264π/180 0.3227 7.2913 6.9686 1477 6 264π/180 0.3203 7.2759 6.9556 1633 8 248π/180 0.3120 7.6119 7.2998

(7)

Appl. Sci. 2019, 9, 422 7 of 11 estimated. Presented in Table 3 are respective optimal design parameters for detectors among various tone frequencies. In addition, the frequency response for an optimal detector versus the tone frequencies is presented in Figure 5.

Table 3. Optimal design parameters for a detector versus the tone frequencies.

Frequency

(Hz) M

Parameters of an Optimal Detector

θopt gpr (dB) gsr (dB) gps (dB) 697 3 282π/180 0.1431 6.4597 6.3166 770 4 229π/180 0.2530 7.5342 7.2812 852 4 230π/180 0.2537 7.5365 7.2829 941 4 129π/180 0.3386 7.5170 7.1784 1209 6 264π/180 0.3246 7.2856 6.9610 1336 6 264π/180 0.3227 7.2913 6.9686 1477 6 264π/180 0.3203 7.2759 6.9556 1633 8 248π/180 0.3120 7.6119 7.2998 0.0 0.2 0.4 0.6 0.8 1.0 1.2 40 42 44 46 48 50 52 54 56 58 60 62 64 66

Ma

gn

it

ud

e

k

697 770 852 941 0.0 0.2 0.4 0.6 0.8 1.0 1.2 71 74 77 80 83 86 89 92 95 98 101 104 107 110

Ma

gn

it

ud

e

k

1209 1336 1477 1633

Figure 5. Frequency responses for the optimal detectors versus the tone frequencies.

Finally, a lookup table is built for a quick reference of WMnk,N′ ,θ

~

(i.e., wr(n) and wi(n)) at various tone frequencies, and, thus, eliminates repeated computations. As a one-point DFT algorithm does,

Figure 5.Frequency responses for the optimal detectors versus the tone frequencies.

Finally, a lookup table is built for a quick reference of eWM,N,θnk0 (i.e., wr(n) and wi(n)) at various tone frequencies, and, thus, eliminates repeated computations. As a one-point DFT algorithm does, this proposal requires 2N and (2N−2) number of multiplication and addition operations, but merely requires a one-time detection computation to complete a DTMF detection task. As a consequence, the single point detection disadvantage, a problem that a typical DFT and a Goertzel algorithm have in common, is resolved. In simple terms, this proposal, as a high-performance algorithm, results in a tremendous computational load reduction. The proposed detection approach is illustrated as a brief flowchart in Figure6.

(8)

Appl. Sci. 2019, 9, 422 8 of 11 this proposal requires 2N and (2N – 2) number of multiplication and addition operations, but merely requires a one-time detection computation to complete a DTMF detection task. As a consequence, the single point detection disadvantage, a problem that a typical DFT and a Goertzel algorithm have in common, is resolved. In simple terms, this proposal, as a high-performance algorithm, results in a tremendous computational load reduction. The proposed detection approach is illustrated as a brief flowchart in Figure 6.

Recognized tone Determine k’ and M of a

detector for a specified tone

Search for an optimal phase angle θoptfor each detector

Build a lookup table for each detector k n N M W ′ θ , , ~ Proposed MFD detection approach x[n]

Detector design phase (off-line)

Tone detection phase

Figure 6. Flowchart representation of the proposed detection approach.

4. Experimental Results

The MFD detection approach is proposed here as an efficient way to improve the computational complexity required in a DTMF signal detection. In this work, performance is compared in terms of computational load and detection accuracy among the presented MFD, DFT, and a Goertzel algorithm.

Tabulated in Table 4 is the computational load comparison among various methods. Since single point detections are performed by a DFT approach and a Goertzel algorithm, M operations are required to detect the DTMF signals with a frequency shift, depending on the tone frequencies. In contrast, one-time detection is performed in this proposal, resulting in a considerable computational load reduction.

Table 4. Computational load comparison among various methods; discrete Fourier transform (DFT).

Item DFT Goertzel Proposed

Multiplications 2NM M(N + 2) 2N Additions M(2N – 2) M(2N + 1) 2N – 2

Total M(4N – 2) M(3N + 3) 4N – 2

In most cases, the value of N is specified at 512 when performing a DTMF detection task. Accordingly, the number of total operations required for each tone frequency among various methods is presented in Table 5 for the purpose of further analyzing the computational load comparison. Simultaneously, in comparison with the DFT approach, a comparison of the computational saving (CS) versus the tone frequency between a Goertzel algorithm and the proposed approach is given in Table 6. In addition, these experimental results confirm that this

Figure 6.Flowchart representation of the proposed detection approach.

4. Experimental Results

The MFD detection approach is proposed here as an efficient way to improve the computational complexity required in a DTMF signal detection. In this work, performance is compared in terms of computational load and detection accuracy among the presented MFD, DFT, and a Goertzel algorithm.

Tabulated in Table 4is the computational load comparison among various methods. Since single point detections are performed by a DFT approach and a Goertzel algorithm, M operations are required to detect the DTMF signals with a frequency shift, depending on the tone frequencies. In contrast, one-time detection is performed in this proposal, resulting in a considerable computational load reduction.

Table 4.Computational load comparison among various methods; discrete Fourier transform (DFT).

Item DFT Goertzel Proposed

Multiplications 2NM M(N + 2) 2N Additions M(2N−2) M(2N + 1) 2N−2

Total M(4N−2) M(3N + 3) 4N−2

In most cases, the value of N is specified at 512 when performing a DTMF detection task. Accordingly, the number of total operations required for each tone frequency among various methods is presented in Table5for the purpose of further analyzing the computational load comparison. Simultaneously, in comparison with the DFT approach, a comparison of the computational saving (CS) versus the tone frequency between a Goertzel algorithm and the proposed approach is given in Table6. In addition, these experimental results confirm that this proposal provides a CS of 66.67%–87.50% and 55.69%–83.38% in total operations, respectively, compared with the DFT and the Goertzel algorithm.

(9)

Table 5.Comparison of the number of total operations required versus the tone frequency.

Frequency

(Hz) M

Required Total Operations

DFT Goertzel Proposed 697 3 6138 4617 2046 770 4 8184 6156 2046 852 4 8184 6156 2046 941 4 8184 6156 2046 1209 6 12,276 9234 2046 1336 6 12,276 9234 2046 1477 6 12,276 9234 2046 1633 8 16,368 12,312 2046 Overall 83,886 63,099 16,368

Table 6.Comparison of the computational saving (CS) versus the tone frequency with DFT approach as a benchmark. Frequency (Hz) Computational Saving (%) Goertzel Proposed 697 24.78 66.67 770 24.78 75.00 852 24.78 75.00 941 24.78 75.00 1209 24.78 83.33 1336 24.78 83.33 1477 24.78 83.33 1633 24.78 87.50 Overall 24.78 80.49

For each detection procedure of a DTMF signal, an overall operation required and an overall CS comparison with the DFT approach as a benchmark are respectively given in the last row of Tables5 and6as well. The proposed detection algorithm gives a remarkable computational load reduction in comparison with the Goertzel and DFT approaches.

Subsequently, an experiment of detection accuracy versus signal-to-noise ratio (SNR) is conducted in this work. In each SNR level experiment, a total of 16,000 test samples are produced for detection experiment. Each DTMF signal in Table1has 1000 test samples, and each sample is a DTMF signal with white Gaussian noise (WGN). Presented in Table7is the comparison on the detection accuracy versus SNR among various approaches. It shows that the accuracy of the proposed approach drops at SNR of 0 dB, while the DFT and the Goertzel algorithm remains a 100% accuracy.

Table 7.Comparison on the detection accuracy versus signal-to-noise ratio (SNR).

SNR (dB) Detection Accuracy (%) DFT, Goertzel Proposed 5 100 100 4 100 100 3 100 100 2 100 100 1 100 100 0 100 99.97

However, according to ITU standard [9,10], the signal strength is specified to be 15 dB SNR and higher. In such a condition, a 100% accuracy in DTMF signal detection is provided by the presented

(10)

MFD algorithm. That is, this proposal is experimentally validated as a superior candidate relative to the counterparts.

5. Conclusions

As an improved version of DFT, the MFD method with an optimal phase search was proposed for the purpose of computational load reduction for a DTMF signal detection. Experimental results show that the number of total operations required for DFT, Goertzel, and presented MFD algorithms in a DTMF signal detection are 83,886, 63,099, and 16,368, respectively. Superiority of this proposed MFD approach is validated by an overall computational load reduction of 80.49% and 74.06%, respectively, compared with a DFT approach and a Goertzel algorithm, while a 100% detection accuracy is provided as long as SNR is higher than 0 dB. This detection complexity reduction is an advantage and an important issue for applying DTMF detection technique to embedded devices. As scheduled, a continuous effort will be made to improve the resistance to noise of the proposed algorithm in the very near future.

Author Contributions: All authors have worked on this manuscript together, and all authors have read and approved the final manuscript.

Funding: This research was financially supported by the Ministry of Economic Affairs under grant number 105-EC-17-A-03-S1-191, Taiwan.

Acknowledgments:The authors felt deeply indebted as well to the co-authors of the cited paper, Li-Te Shen and Chao-Ping Chu, for their contribution as the basis of this work.

Conflicts of Interest:The authors declare no conflict of interest.

References

1. Liang, X.T.; Fan, Q.Y.; Lin, W.C. A PSTN terminal for FSK decoding and DTMF dialing applications. Int. J. Signal Process. Image Process. Pattern Recogn. 2015, 8, 35–42. [CrossRef]

2. Tripathy, N.S.; Pal, S. Online remote recording and monitoring of sensor data using DTMF technology. Sens. Trans. 2011, 128, 66–72.

3. Eedem, H.; Uner, A. A multi-channel remote controller for home and office appliances. IEEE Trans. Consum. Electron. 2009, 55, 2184–2189.

4. Chu, C.P.; Shen, L.T.; Hwang, S.H. A New Algorithm for Tone Detection. In Proceedings of the AASRI Conference on Sports Engineering and Computer Science, London, UK, 21–22 June 2014; pp. 118–122. 5. Guo, H.T. The design and realization of the household intelligent alarm system. Int. J. Smart Home 2015, 9,

83–90.

6. Getu, B.N.; Hamad, N.A.; Attia, H.A. Remote controlling of an agricultural pump system based on the dual tone multi-frequency (DTMF) technique. J. Eng. Sci. Technol. 2015, 10, 1261–1274.

7. Pal, S.; Tripathy, N.S. Remote position control system of stepper motor using DTMF technology. Int. J. Control Autom. 2011, 4, 35–42.

8. Rahmatullah, M.M.; Khan, S.A.; Jamal, H. Carrier Class High Density VoIP Media Gateway using Hardware Software Distributed Architecture. IEEE Trans. Consum. Electron. 2007, 53, 1513–1520. [CrossRef]

9. ITU Recommendation. Q.24. Multi-Frequency Push-Button Signal Reception; ITU (International Telecommunication Union): Geneva, Switzerland, 1990.

10. Felder, M.D.; Mason, J.C.; Evans, B.L. Efficient dual-tone multifrequency detection using the nonuniform discrete Fourier transform. IEEE Signal Process. Lett. 1998, 5, 160–163. [CrossRef]

11. Jacobsen, E.; Lyons, R. The sliding DFT. IEEE Signal Process. Mag. 2003, 20, 74–80.

12. Lai, S.C.; Lei, S.F.; Juang, W.H.; Luo, C.H. A low-cost, low-complexity, and memory-free architecture of novel recursive DFT and IDFT algorithms for DTMF application. IEEE Trans. Circuits Syst. Express Briefs 2010, 57, 711–715. [CrossRef]

13. Goertzel, G. An algorithm for the evaluation of finite trigonometric series. Am. Math. Mon. 1958, 65, 34–35.

(11)

14. Beck, R.; Dempster, A.G.; Kale, I. Finite-precision Goertzel filters used for signal tone detection. IEEE Trans. Circuits Syst. II 2001, 48, 691–700. [CrossRef]

15. Kim, J.H.; Kim, J.G.; Ji, Y.H.; Jung, Y.C.; Won, C.Y. An Islanding Detection Method for a Grid-Connected System Based on the Goertzel Algorithm. IEEE Trans. Power Electron. 2011, 26, 1049–1055. [CrossRef] 16. Sysel, P.; Rajmic, P. Goertzel algorithm generalized to non-integer multiples of fundamental frequency.

EURASIP J. Adv. Signal Process. 2012, 2012, 56. [CrossRef]

17. Lai, S.C.; Lei, S.F.; Chang, C.L.; Lin, C.C.; Luo, C.H. Low computational complexity, low power, and low area design for the implementation of recursive DFT and IDFT algorithms. IEEE Trans. Circuits Syst. II Exp. Briefs 2009, 56, 921–925. [CrossRef]

18. Van, L.D.; Lin, C.T.; Yu, Y.C. VLSI architecture for the lowcomputation cycle and power-efficient recursive DFT/IDFT design. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2007, 90, 1644–1652. [CrossRef] 19. Islam, M.S.; Mia, M.B.; Ahmmed, K.T. Wireless Remote Switching System for Controlling Devices with an

Algorithm based DTMF Detection. In Proceedings of the IEEE Conference on Electrical Engineering and Information & Communication Technology, Savar, Dhaka, 10–12 April 2014; pp. 1–6.

20. Bhavanam, S.N.; Siddaiah, P.; Reddy, P.R. Zynq 7000 series FPGA based Efficient DTMF detection. In Proceedings of the IEEE Conference on Computational Intelligence and Computing Research, TamilNadu, India, 18–20 December 2014; pp. 1–7.

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

數據

Table 1. Relations between the paired frequencies and the corresponding symbols in dual-tone multi-frequency (DTMF) signals
Figure 1. Direct-form realization of a Goertzel algorithm.
Figure 3. Frequency response synthesis of a multi-frequency detector (MFD).
Figure 4. Frequency responses of multi-frequency detecting (MFD) with different combinations of M and θ for detecting a tone of 1477 Hz: (a) k’ = 94, M = 1, θ = 0, (b) k’ = 94, M = 2, θ = 0, (c) k’ = 94, M = 2, θ = π/3, (d) k’ = 94, M = 2, θ = 102π/180, (e
+4

參考文獻

相關文件

We propose a primal-dual continuation approach for the capacitated multi- facility Weber problem (CMFWP) based on its nonlinear second-order cone program (SOCP) reformulation.. The

January/Kindergarten%20space.html.. More than one way: An approach to teaching that supports playful learning. Project Zero: A Pedagogy of Play working paper .Retrieved

(1) 99.8% detection rate, 50 minutes to finish analysis of a minute of traffic. (2) 85% detection rate, 20 seconds to finish analysis of a minute

(1) 99.8% detection rate, 50 minutes to finish analysis of a minute of traffic?. (2) 85% detection rate, 20 seconds to finish analysis of a minute

• A formal usage policy and procedures should be in place, and appropriate security measures should be adopted to protect against the risks of using mobile computing and

– evolve the algorithm into an end-to-end system for ball detection and tracking of broadcast tennis video g. – analyze the tactics of players and winning-patterns, and hence

 The 3SEQ maximum descent statistic describes clus tering patterns in sequences of binary outcomes, a nd is therefore not confined to recombination analy sis... New Applications (1)

Artificial Intelligence &amp; Data Science Workshop, Hualien, Taiwan, January 2022 Wistron NeWeb Corporation, Hsinchu, Taiwan, December 2019 Speech Signal Processing Workshop,