IZ AM I AMERICAN MICROSYSTEMS, INC. $2559E/F August 1996 Features Wide Operating Supply Voltage Range: 2.5 to 10 Volts Low Power CMOS Circuitry Allows Device Power to be Derived Directly from the Telephone Lines or from Small Batteries, e.g., 9V Uses TV Crystal Standard (3.58MHz) to Derive all Frequencies thus Providing Very High Accuracy and Stability Mute Drivers On-Chip Interfaces Directly to a Standard Telephone Push- Button or Calculator Type X-Y Keyboard The Total Harmonic Distortion is Below Industry Specification DITMF Tone Generator Oscillator Resistor On Chip On-Chip Generation of a Reference Voltage to Assure Amplitude Stability of the Dual Tones Over the Operating Voltage and Temperature Range Single Tone as Well as Dual Tone Capability Two Options Available: E: Mode Select F:Chip Disable The $2559 DTMF Generator is specifically designed to implement.a dual tone telephone dialing system. The device can interface directly to a standard pushbutton Block Diagram Pin Configuration Yoo C] - I XTAL 7 TRANSMIT /MUTE fe] sw | OSCILLATOR +2 LOGIC - 5 3.5em2 f 3 | I | fra) MUTE A INH 1 Pott Yoo C] 1 16 [-] TONE OUT | l XMIT 2 1 MD at [iam LI | im 5 [_] MDSL/cD na [i3}e>4 Row KEYBOARD PROGRAMMABLE T 61, | 8 STAGE resistor | | &%C 3 14 (hy Lomencyp JOHNSON Lyf LADDER 3 [iz pom Logic L. 160, 146, 132, 148 ! COUNTER NETWORK | GC] 4 13 [7] Re ; $2559 Ra [1 EN fe] 1 | 7 ni C3 Co 5 12 [_] R3 if INHIBIT REF. Vss 6 1 R comoss [is] Logic {& +. ADDER O [-] Ra | 1 tu osc, (| 7 10 [7] MUTE 113 ey EN ci [3 Lefcx | | er Yon Osta (| 8 9c PROGRAMMABLE resistor |] cz [pe couumn DIVIDER 16h \ JOHNSON LADDEA HIGH GROUP c3 [5 }ew}kevaoarn Locic +92, 84,76, 68 1 COUNTER NETWORK ca [9 boo] P | /i5] Towe OUT Vss ) www.DataSheet.in$2559E/F i IZAM AMERICAN MICROSYSTEMS, INC. DIMF Tone Generator General Description (Continued) telephone keyboard or calculator type X-Y keyboard and operates directly from the telephone lines. All necessary dual-tone frequencies are derived from the widely used TV crystal standard providing very high ac- curacy and stability. The required sinudsoidal wave- form for the individual tones is digitally synthesized on the chip. The waveform so generated has very low total harmonic distortion. A voltage reference is generated on the chip which is stable over the operating voltage Absolute Maximum Ratings August 1996 and temperature range and regulates the signal levels of the dual tones to meet the recommended telephone industry specifications. These features permit the $2559 to be incorporated with a slight modification of the standard 500 type telephone basic circuitry to form a pushbutton dual-tone telephone. Other applications of the device include radio and mobile telephones, remote control, Point-of-Sale, and Credit Card Verifica- tion Terminals and process control. DC Supply Voltage (Vpp-Vss) Operating Temperature Storage Temperature Power Dissipation at 25C Input Liv itettetetteeeee Com-0C to +70C, Ind-45C to +85C, Mil--55 to +125C + 10.5V -30C to + 125C 1000mW $2559E/F Electrical Characteristics: Symbol Parameter/Conditions (Yon uss) Min. Typ. Max. Units Supply Voltage Tone Out Mode (Valid Key Depressed) 25 10.0 V Vo NonTone Out Mode (No Key Daprassed) 16 10.0 V Supply Current Standby ( No Key Selected, Tone, XMIT 3.0 03 30 pA boo and MUTE Outputs Unloaded) 100 10 100 pA Operating ( One Key Selected, Tone, XMIT 3.0 1.0 2.0 mA and MUTE Outputs Unloaded) 10.0 8 16.0 mA ToneOutput Com 335 Com 565 Single Tone Row Tone, R, = 3900 35 Ind 255 465 Ind 660 mVims SOSSOEIF Mil 235 Mil 700 Com 380 Mode Output 5.0 tnd 300 540 710 mVrms Mil 250 Com 380 Von Voltage Row Tone, Ry = 24022 10.0 Ind 300 50 735 mVims Mil 250 dBcr Ratio of Column to Row Tone (Dual Tone Mode) 2559E/F 35-100 10 20 3.0 dB %DIS Distortion * 2559E/F 35-100 7 % www .DataSheet .InZAMI S2559E/F AMERICAN MICROSYSTEMS, INC. August 1996 DTMF Tone Generator $2559E/F Electrical Characteristics: (continue) Symbol Parameter/Conditions on-iss) Min. Typ. Max. Units XMIT, MUTE Outputs V, XMIT, Output Voltage, High (logy = 15mA) 3.0 1.5 1.8 V oH (No Key Depressed)(Pin 2) (Io = 50mA) 10.0 8.5 8.8 V lor XMIT, Output Source Leakage Current, Vop =0V 10.0 100 pA Vy MUTE (Pin 10) Output Voltage, Low, 2.75 0 0.5 V OL (No Key Depressed), No Load 10.0 0 0.5 V V MUTE, Output Voltage, High, 2.75 2.5 2.75 V oH (One Key Depressed) No Load 10.0 9.5 10.0 V low MUTE, Output Sink VoL =0.5V 3.0 0.53 1.3 mA Current 10.0 2.0 5.3 mA low MUTE, Output Source Vou = 2.5V 3.0 0.17 0.41 mA Current VoH =9.5V 10.0 6.57 1.5 mA Distortion is defined as the ratio of the total power of all extraneous frequencies, in the VOICE and above 00Hz, to the total power of the DTMF frequency pair. Table 1. Comparisons of Specified vs Actual Tone Table 2. XMIT and MUTE Output Functional Relationship Frequencies Generated by $2559 OUTPUT FREQUENCY Hz ACTIVE % ERROR OUTPUT DIGIT KEY INPUT SPECIFIED ACTUAL SEE NOTE RELEASED | DEPRESSED DIGIT KEY COMMENT R14 697 699.1 + 0.30 R2 770 766.2 ~0.49 XMIT Vop High Can source at least R3 852 847.4 0.54 Impedance 50mA at 10V with R4 941 948.0 +0.74 1.5V max. drop C1 1,209 1,215.9 +0.57 C2 1,336 1,331.7 0.32 C3 1,477 1,417.9 0.35 MUTE Vss Vpp Can source or C4 1,633 1,645.0 +0.73 sink current NOTE: % Error does not include oscillator drift. www.DataSheet.inwww.DataSheet.in S2Z599E/F IZAMI AMERICAN MIGROSYSTEMS, INC. DTMF Tone Generator August 1996 Figure 1. Standard Telephone Push Button Keyboard , O-O--O--O O--O--O-O gt 1 eO-> Ry O-O-O-O COMMON O-47 Cy Ron (Contact Resistance) < 1k2 (CONNECT TO Vpp OR LEAVE FLOATING} Cs ~ MECHANICAL LINKAGE <-O-3 Circuit Description The $2559 is designed so that it can be interfaced easi- ly to the dual tone signaling telephone system and that it will more than adequately meet the recommended telephone industry specifications regarding the dual tone signaling scheme. Design Objectives The specifications that are important to the design of the DTMF Generator are summarized below: the dual tone signal consists of linear addition of two voice fre- quency signals. One of the two signals is selected from a group of frequencies called the Low Group and the other is selected from a group of frequencies called the High Group. The low group consists of four frequen- cies 697, 770, 852 and 941 Hz. The high group consists of four frequencies 1209, 1336, 1477 and 1633 Hz. A keyboard arranged in a row, column format (4 rows x 3 or 4 columns) is used for number entry. When a push button corresponding to a digit (0 thru 9) is pushed, one appropriate row (R1 thru R4) and one appropriate col- umn (C1 thru C4) is selected. The active row input selects one of the low group frequencies and the active column input selects one of the high group frequen- cies. In standard dual tone telephone systems, the highest high group frequency of 1633Hz (Col. 4) is not used. The frequency tolerance must be + 1.0%. How- ever, the $2559 provides a better than .75% accuracy. The total harmonic and intermodulation distortion of the dual tone must be less than 10% as seen at the tele- phone terminals. (Ref. 1.) The high group to low group signal amplitude ratio should be 2.0 + 2dB and the absolute amplitude of the low group and high group tones must be within the allowed range. (Ref. 1.) These requirements apply when the telephone is used over a short loop or long loop and over the operating tempera- ture range. The design of the $2559 takes into account these considerations. Oscillator The device contains an oscillator circuit with the necessary parasitic capacitances and feedback resistor on chip so that it is only necessary to connect a standard 3.58MHz TV crystal across the OSC, and OSCo terminals to implement the oscillator function. The oscillator functions whenever a row input is acti- vated. The reference frequency is divided by 2 and then drives two sets of programmable dividers, the high group and the low group.IZ AM i AMERICAN MICROSYSTEMS, INC. $2599E/F August 1996 Keyboard Interface The S2559 employs a calculator type scanning circuitry to determine key closures. When no key is depressed, active pull-down resistors are on on the row inputs and active pull-up resistors are on on the column in- puts. When a key is pushed a high level is seen on one of the row inputs, the oscillator starts and the keyboard scan logic turns on. The active pull-up or pull-down resistors are selectively switched on and off as the keyboard scan logic determines the row and the col- umn inputs that are selected. The advantage of the scanning technique is that a keyboard arrangement of SPST switches are shown in Figure 2 without the need DTMF Tone Generator for a common line, can be used. Conventional tele- phone push button keyboards as shown in Figure 1 or X-Y keyboards with common can also be used. The common line of these keyboards can be left uncon- nected or wired high. Logic Interface The $2559 can also interface with CMOS logic outputs directly. The S2559 requires active High logic levels. Since the active pull-up resistors present in the $2559 are fairly low value (5002 typ), diodes can be used as shown in Figure 3 to eliminate excessive sink current flowing into the logic outputs in their Low state. Qo QQ SPST MATRIX KEYSORTED: O- ys vn W Se Figure 2. SPST Matrix Keyboard Arranged in the 2 of 8 Row, Column Format 3 v R2 R3 Qoqe QEyQya C4 (OPTIONAL COLUMN) Tone Generation When a valid key closure is detected, the keyboard logic programs the high and low group dividers with appropriate divider ratios so that the output of these dividers cycle at 16 times the desired high group and low group frequencies. The outputs of the program- mable dividers drive two 8-stage Johnson counters. The symmetry of the clock input to the two divide by 16 Johnson counters allows 32 equal time segments to be generated within each output cycle. The 32 segments are used to digitally synthesize a stair-step waveform to approximate the sinewave function (see Fiaure 3). This is done by connecting a weighted resistor ladder net- work between the outputs of the Johnson counter, Vpp and Vrer- Vrer Closely tracks Vpp over the operating voltage and temperature range and therefore the peak- to-peak amplitude Vp (Vpp Vref) of the stairstep func- tion is fairly constant. Vref is so chosen that Vp falls within the allowed range of the high group and low group tones. www.DataSheet.inAMI AMERICAN MICROSYSTEMS, INC. $2599E/F DTMF Tone Generator August 1996 Figure 3. Logic Interface for Keyboard Inputs of the $2559 Yop Yop oa Yo a a 3 VV WV . _ _ ~_ RO w a a $2559 pt, NN 4). S. 5 Dts 9 C, D8 Veg Vss | 6 G1 THRU G8 ANY TYPE CMOS GATE D1 THRU D8 DIODES TYPE IN914 Figure 4. Stairstep Waveform of the Digitally Synthesized Sinewave (Vpp) 105 1 15 15 15 0.9 08 4 0.7- 06 + 1.2,3,4,5 8 05- 6,7 8 ! 9 10,11 12 ,13,14 15 16 17 18/19/20 21,2223 24 25,26 27 28 29 3031 32 NORMALIZED V, 04- 03- 0.2- 0.1- (yep) 8 > TIME SEGMENTS www .DataSheet .InIZ AMI AMERICAN MICROSYSTEMS, INC. $2599E/F August 1996 The individual tones generated by the sinewave synthe- sizer are then linearly added and drive a bipolar NPN transistor connected as emitter follower to allow pro- per impedance transformation, at the same time preser- ving signal level. Dual Tone Mode When one row and one column is selected dual tone output consisting of an appropriate low group and high group tone is generated. If two digit keys, that are not either in the same row or in the same column, are de- pressed, the dual tone mode is disabled and no output is provided. Single Tone Mode Single tones either in the low group or the high group can be generated as follows. A low group tone can be generated by activating the appropriate row input or by depressing two digit keys in the appropriate row. A high group tone can be generated by depressing two digit keys in the appropriate column, i.e., selecting the appropriate column input and two row inputs in that column. Mode Select The S2559E has a Mode Select (MDSL) input (Pin 15). When MDSL is left floating (unconnected) or connected to Vpp, both the dual tone and single tone modes are available. If MDSL is connected to Vgg, the single tone mode is disabled and no output tone is produced if an attempt for single tone is made. The S2559F does not have the Mode Select option. Chip Disable The $2559F has a Chip Disable input at Pin 15 instead of the Mode Select input. The chip disable for the S2559F is active high. When the chip disable is ac- tive, the tone output goes to Vgs, the row, column in- puts go into a high impedance state, the oscillator is in- hibited and the MUTE and XMIT outputs go into active Quartz Crystal Specification (25 C + 2C) Operating Temperature Range: 0C to + 70C Frequency .... 20.0... cece eee eee 3.579545MHz Frequency Calibration Tolerance.......0..0..020.... 02+% Load Capacitance... eee 18pF Effective Series Resistance............000... 180 Ohms, max. Drive Level-Correlation/Operating...............0..... 2mw Shunt Capacitance...........0....000...00000.. 7pF, max. Oscillation Mode ...........0...0 00.0 ..0.00.. Fundamental DIMF Tone Generator states. The effect is the device essentially disconnects from the keyboard. This allows one keyboard to be shared among several devices. The CD pin has an internal pull-down. MUTE, XMIT Outputs The S2559E, F have a CMOS buffer for the MUTE output and a bipolar NPN transistor for the XMIT output. With no keys depressed, the MUTE output is low and the XMIT output is in the active state so that substantial current can be sourced to a load. When a key is depressed, the MUTE output goes high, while the XMIT output goes into a high impedance state. When Chip Disable is high the MUTE output is forced low and the XMIT output is in active state regardless of the state of the keyboard inputs. Amplitude/Distortion Measurements Amplitude and distortion are two important parameters in all applications of the Digital Tone Generator. Ampli- tude depends upon the operating supply voltage as well as the load resistance connected on the Tone Out- put pin. The on-chip reference circuit is fully operation- ai when the supply voltage equals or exceeds 5 volts and as a consequence the tone amplitude is regulated in the supply voltage range above 5 volts. The load resistor value also controls the amplitude. If R,_ is low the reflected impedance into the base of the output transistor is low and the tone output amplitude is lower. For R, greater than 5k the reflected impedance is suf- ficiently large and highest amplitude is produced. Indi- vidual tone amplitudes can be measured by applying the dual tone signal to a wave analyzer (H-P type 3581A) and amplitudes at the selected frequencies can be noted. This measurement also permits verification of the preemphasis between the individual frequency tones. Distortion is defined as the ratio of the total power of all extraneous frequencies in the voiceband above 500Hz accompanying the signal to the power of the fre- quency pair. This ratio must be less than 10% or when expressed in dB must be lower than 20dB. (Ref. 1.) Voiceband is conventionally the frequency band of 300Hz to 3400Hz. Mathematically distortion can be expressed as: Vi (Vy)2+ (Vy)? +. . + (Vy)? Dist. = (VL)2 + (Vy)2 where (Vj). . (Vx) are extraneous frequency (i.e., inter- modulation and harmonic) components in the 500Hz to www.DataSheet.inS2559E/F IZAMI AMERICAN MICROSYSTEMS, INC. DIMF Tone Generator 3400Hz band and V, and V, are the individual frequency components of the DTMF signal. The expression can be expressed in dB as: Ve (Vy)2 + (Vo)Q +. . (Vy)? V (V2 + (Vy)e = 10{ log[(V4)2-+ ..(Vy)2] logf (Vi)2 + (WJ2 + (Vy)2]} ---(1) An accurate way of measuring distortion is to plot a spectrum of the signal by using a spectrum analyzer (H-P type 3580A) and an X-Y plotter (H-P type 7046A). In- dividual extraneous and signal frequency components are then noted and distortion is calculated by using the expression (1) above. Figure 6 shows a spectrum plot of a typical signal obtained from a $2559 device operating from a fixed supply of 4Vdc and R, = 10k in the test circuit of Figure 5. Mathematical analysis of the spec- DISTyg = 20 log August 1996 trum shows distortion to be 30dB (3.2%). For quick estimate of distortion, a rule of thumb as outlined below can be used. AS a first approximation distortion in dB equals the dif- ference between the amplitude (dB) of the extraneous component that has the highest amplitude and the amplitude (dB) of the low frequency signal. This rule of thumb would give an estimate of 28dB as distortion for the spectrum plot of Figure 6 which is close to the computed result of 30dB. In a telephone application amplitude and distortion are affected by several factors that are interdeperident. Ref. 1: Beli System Communications Technical Refer- ence, PUB 47001, Electrical Characteristics of Bell System Network Facilities at the Interface with Voice- . band Ancillary and Data Equipment, August 1976. Figure 5. Test Circuit for Distortion Measurement SIG 1 v TONE | 16 oo OUT 2 MDSL | 15 + XMIT a [ + D 4a rn, He LOW IMPED. Vv oc M $2559 POWER a SUPPLY c2 Rp - _ c3 R3 p12 Vsg Ry HE OSC; mute Le 3.579545MHz CRYSTAL asc, cy www.DataSheet.in GND SPECTRUM X-Y ANALYZER PLOTTER HP HP TYPE TYPE 3580A 7046A Xour Xi 3 Rx = 10kQ r Your YinIZ AMI S2559E/F AMERICAN MICROSYSTEMS, INC. August 1996 DTMF Tone Generator Figure 6. A Typical Spectrum Plot 4 toa VOICEBAND > y Vib (-1.5) A L (-4,5) 5b J a 10 4 \/ 4 i DEVICE = s2559D 5b Va TEMP = ROOM / (Vpo - Veg} = AV OC FIXED 1 Ay = 10ko 2 L VY TEST CKT = FIGURES YY 4) Vy 2 J i / -30 /| Va (-32) YW s 35 4 V5 {-36) YY 3 7 YY rE 2 40 b 7 4 . V3 (-44) ~45 Vi (-48} Va (-47) Vo (-47) , 1 -0 1 y 1 -55 A fo 1 -60 4 4 | 65 LE A | 4 1 J | | | t | a 05 1.0 15 20 25 3.0 3.5 40 4s 5.0 FREQUENCY (KHz), > www.DataSheet.in