
IX - TONE DETECTORS
IX.1 - Overview
The general purpose ST75C530/540 tone detec-
tors block is a powerfulmodulethat covers a lotof
applications:
- call progresstone detection,fully programmable
for all countries,
- FAX, voice, data automaticdetection,
- call waiting detection, while in vocoder or data
mode.
Z
-1
C0
C5
2
Z
-1
Z
-1
Z
-1
2
CB
C7
C8
C9
CA
C1
C2
C3
C4
Z
-1
IN
OUT
C6
7
Figure 17 :
BiquadraticIIR Filter
IX.2 - Description
The primary tone detector block is a set of 16
identicalCells. Each cell is composedof a Double
Biquadratic Filter, a Power estimator section, a
Static leveland a Level comparator.
EachBiquadraticFilter,PowerEstimatorandStatic
Levelcan be programmedusing a completesetof
commands(
TDRC
,
TDRW
,
TDWC
,
TDWW
,
TDZ
).
The wiring between the differentCells can be de-
fined by the user, using the associated command
allowing a widerange of applications.
Thesamplingfrequencyis 7200Hz,allowingdetec-
tionof signalslessthan3300Hz.Thelevelofdetec-
tionis programmablefrom-6dBmdownto -51dBm.
The16 ComparatorOutputsgive, on abaud basis,
the information into two 8 bits words
TONEDET0
(for cells number 0 to 7) and
TONEDET1
(for cells
number 8 to F). These TONEDET variables can be
accessed using a
MRI
command or, more easily,
monitored on a baud basis using the
DOSR
com-
mand.
The16primarytonedetectorsareinitializedeachtime
enteringthetonemode.Howeverthepreviouscoeffi-
cientvaluescouldbekeptusinga
MW
command.
The secondary tone detector have been added to
theST75C530/540.Thefilterstructureis thesame
as the primarytone detector.
The sampling rate is 4800Hzallowing detection of
signallessthan1800Hzby defaultprogrammingor
with a
MODC
command, the sampling rate is
9600Hz allowing detection of signal less than
3300Hz. The level of detection is programmable
from -6dBm down to -51dBm. In order to increase
thereliabilityof thedetection,usinga
TDWW
com-
mand,2comparisonsareprovided,onewithafixed
level(absolute)orwith thereceivesignal (relative).
The 4 secondary tone detectors are initialiazed
each time entering the tone mode. However the
previous coefficient values could be kept using a
CONF
command.
ThecommandTDRC, TDWC,TDWW,TDRW,TDZ
with the TD_CELL parameterof 0x10, 0x11, 0x12
or 0x13 can be used to programthese filters.
IX.2.1- BiquadraticFilters
Each BiquadraticFilter is adouble regular section
thatcanperformany Transferfunctionwith 4Poles
and 4 Zeros.
This routine is run on a samplebasis.
The correspondingtransferfunctionis :
Out
Input
=
C0
C5
+
2
C3
z
1
+
2
C4
z
2
1
2
C1
z
1
2
C2
z
2
C6
CB
+
2
C9
z
1
+
2
CA
z
2
1
2
C7
z
1
2
C8
z
2
z
1
Note :
All coefficients arecoded on 16 bits 2’s complementin the range +1,-1 (Q15).To avoid thepossibilityof overflow the user must check
that the internalnode must not be higher that 0.5 (in Q15 representation).
ST75C530- ST75C540
53/84