Goertzel Algorithm Based on Matlab Platform System Simulation for
Listening Dial Tone Recognition Research
Yucheng Li
*
, Yang Zhang, Yongtian Li and Yifeng Wu
Aviation Maintenance NCO Academy of Air Force Engineering University, Xinyang 464000, Henan, China
Keywords: Goertzel Algorithm, DTMF, Matlab Simulation, Dial Tone Identification.
Abstract: In order to improve the security of using mobile phones and prevent the theft of mobile banking passwords,
this paper makes a deep research on the recognition technology of listening dial tone based on Goertzel
algorithm of Matlab platform system simulation. Goertzel algorithm is the most classical and practical method
to estimate the power spectrum of Dual Tone multi-frequency (DTMF) signal. DTMF dialing system has the
advantages of convenient frequency domain analysis and strong anti-interference ability. The algorithm only
estimates the power spectrum at two specific frequency points of DTMF signal, and it can deduce the key
value from the corresponding relationship of frequency array on the keyboard.
1 INTRODUCTION
Nowadays, smart phones have been completely
integrated into our daily life. We frequently tap the
mobile phone keyboard, input the phone number,
input a variety of passwords or verification code, edit
wechat or SMS, operation of online banking, online
shopping, often hear the "du tick" button sound, all of
these voices are potentially telltale. There are many
places in real life where secrets can be divulged. For
example, when interviewing public figures on
television and audio media, be careful not to play the
dialing sound as well. When we usually use mobile
phones to make calls, we must pay attention to
whether someone is recording the phone number or
password, otherwise it is easy to restore out, causing
serious hidden dangers. To prevent password leakage,
the phone banking system often changes the tone
when entering your password to make the dial tone
sound strange, so that no one can identify your dial
tone.
The Dual Tone multi-frequency (DTMF) signal
is used to send commands to the switch. When we
press a key on the phone keyboard, two different
frequencies of sound are emitted simultaneously,
which are converted into electricity for analysis.
Through some software means can restore the number
key tone, and then resolve the number (Yeh, 2019;
Siddhant, 2020).
A complete telephone keypad is shown in Figure
1, with 10 numeric keys and 2 character keys.
According to ITU recommendations, each number or
character is transmitted by using a combination of two
single-frequency signals. Therefore, the signal
corresponding to each key on the keyboard can be
expressed as:
π(π‘)=Asin(2Οf
ξ―
π‘)+Bsin(2Οf
ξ―
π‘) (1)
In this equation, where f
L
and f
H
respectively
represent the frequency values corresponding to the
row and column where the key is located. The
frequency values marked on the 4 rows 697 Hz, 770
Hz, 852 Hz and 941 Hz, which constitute the low-
frequency group, and the frequency values marked on
the 3 columns 1209 Hz, 1336 Hz and 1477 Hz, which
constitute the high-frequency group.
The corresponding relationship between
keyboard number and frequency is shown in Figure 1.
The values of these frequencies are specially
designed: A. These frequencies are within the audible
range of a person, so that when a key is pressed, a
person can hear it; B. None of these seven frequencies
is a multiple of any of the other frequencies; C. No
combination, addition, or subtraction of any two
frequencies is equal to any other frequency. Therefore,
these features not only simplify the decoding of dual-
tone multifrequency signals, but also reduce the
probability of misdetection of dual-tone
multifrequency signals.
According to the regulations of the international
telegraph and telephone advisory committee, it is
required to transmit a keyboard number or symbol
every 100ms, and the duration of the audio signal