Phase accumulation dual tone multiple frequency generator

Abstract: A method and apparatus for generating dual tome multiple frequency signals employing a low fre­ quency quartz oscillator, wherein a phase accumula­ tion dual tone multiple frequency generator is com­ prised of a low frequency quartz oscillator. Two phase selectors are connected to produce digital phase signals in response to a signal input. Two phase accumulators, each composed of an adder and a register, are connected to accumulate the phase sig­ nals. Two ROM based sine wave tables are addressed by the outputs of the accumulators. An adder adds the outputs of the ROMs, and a D/A converter pro­ duces an analog output from the output of the adder.

Description: This invention relates to a method and apparatus for the generation of DTMF signals. BACKGROUND OF THE INVENTION Conventional DTMF generators employ analog circuit techniques. For instance, known tone dialer CIC 9145 manufactured by Industrial Technology Research Institute (ITRI) employs analog circuits. "CIC" is a trade mark of ITRI. With this construction, low frequency quartz crystals cannot be employed to generate the system clock for accurate DTMF signals. Since the frequency that composes the DTMF signal must be divided into thirty-two parts every cycle, the lowest frequency of the system clock in the tone dialer must be higher than a few hundred kilohertz for an accurate DTMF signal. This results in an increase of the operating current, and also increases the cost of the device. In addition, analog integrated circuits are difficult to test, and the parameters of analog IC's are sensitive to the testing process. Fig. 3 is a block diagram of a conventional tone dialer. The DTMF generator portion consists of three blocks: a data latch and encoder 100, a row and a column programmable counter 200, and a D/A converter 300. With this architecture, it is impossible to use a low frequency quartz crystal (e.g. 32768 Hz) to generate a DTMF signal with accuracy, and it is also difficult to change the output frequency. If it is necessary to change the output frequency of a conventional DTMF generator, it is necessary to employ different hardware. PCT publication WO 83/00588 (17 February 1983) discloses a multi-tone signal generator which generates digital samples of a sinusoidal waveform of one of the frequencies at a sample rate less than the Nyquist rate for the highest frequency. If the sample rate, f s , is chosen to be f s = f 1 + f 2 , then strong spectral components are generated at the desired frequencies f 1 and f 2 . The higher frequency components which are also generated are filtered out using a low pass filter. In this manner, a single synthesizer is used to generate multiple frequency tones. EDN Electronic Design News, vol. 27, no.9, April 1982, Boston US, pages 101-109; Galbraith: "Generate Sine Waves by Direct Table Look-up" discloses a method of producing analog sine waves by storing in memory (look-up table) a digital representation of the magnitude of the sine wave at a number of different phases. A digital to analog converter is used to convert the digital signal into an analog waveform. The desired frequency of the analog waveform may be changed by adjusting the sequence of digital values retrieved from the look-up table. DTMF signals may be created by generating two simultaneous independent frequencies. SUMMARY OF THE INVENTION It is therefore the object of the invention to provide a digital IC that is much easier to manufacture and test than an analog IC, and that provides a fully digitalized DTMF generator instead of an analog generator . According to an aspect of the present invention, there is provided a DTMF generator, comprising: column phase selecting means for selecting a column phase which corresponds to one of the desired frequencies of a DTMF signal; row phase selecting means for selecting a row phase which corresponds to one of the desired frequencies of the DTMF signal; a column register for latching a column phase accumulation value for one clock period; a row register for latching a row phase accumulation value for one clock period; column adding means for adding the outputs of said column phase selecting means and said column register and for applying the output thereof to said column register; row adding means for adding the outputs of said row phase selecting means and said row register and for applying the outputs thereof to said row register; column ROM look-up means for receiving the output of said column register as an address signal, for producing a sequential digital code corresponding to a desired column frequency; row ROM look-up means for receiving the output of said row register as an address signal, for producing an output signal corresponding to a desired row frequency; summing means for receiving the outputs of said column ROM look-up means and said row ROM look-up means, for producing a sequential digital code corresponding to a DTMF signal; and a digital-to-analog converter for receiving the output of said summing means for producing a stepped sine wave output. According to another aspect of the invention, there is provided a method for generating a DTMF signal comprising: selecting first and second binary codes representing phases which correspond to first and second desired frequencies for the DTMF signal; separately accumulating and latching the phase codes once during each clock period to obtain first and second phase accumulation values; addressing ROM look-up table means using the most significant portions of said phase accumulation values to produce first and second sequential digital codes which correspond to the first and second desired frequencies of the DTMF signal; summing said first and second sequential codes for producing a third sequential digital code which corresponds to the desired DTMF signal; and performing a digital-to-analog conversion of said third sequential digital code for producing a stepped sine wave output. The present invention is directed to the provision of a generator wherein it is only necessary to change the code in the phase selector in order to change the output frequency, so that any frequency below the quartz oscillator frequency can be generated. In application, the system of the invention replaces the DTMF generator portion in Fig. 3, and the output frequency is changeable without changing the hardware. Since the system of the invention can employ low frequency quartz oscillators; such as a 32,768 Hz quartz crystal oscillator, the invention is applicable for use with any kind of telecommunication integrated circuit. High frequency quartz oscillators are more expensive than low frequency quartz oscillators. The invention enables the use of low frequency quartz oscillators not only to decrease the cost of the system, but also for the convenience of their use. The invention is applicable to any integrated circuit telecommunication system if its system clock is larger than or equal to the system clock frequency (e.g. 32,768 Hz) of the present invention. In addition, the invention provides a more readily and economically fabricated DTMF generator. Thus, the invention employs a phase accumulation method using two ROM based sine wave look-up tables. The output frequency is adjustable by modifying the code in the phase selector ROM. In accordance with IC circuit process techniques, modification of the code only requires changing the circuit connections of one level of photo mask. BRIEF DESCRIPTION OF THE DRAWING In order that the invention may be more clearly understood, it will now be disclosed in greater detail with reference to the accompanying drawing, wherein: Fig. 1 is a block diagram of a system in accordance with the present invention; Fig. 2 is a block diagram of the preferred embodiment of the present invention; Fig. 3 is a block diagram of a conventional tone dialer; Fig. 4 is a column sine-wave look-up table; Fig. 5 is a row sine-wave look-up table; and Fig. 6 is a table illustrating the measurement value comparison by calculation value and the error percentage. DETAILED DISCLOSURE OF THE INVENTION Referring now to Fig. 1, therein is illustrated a block diagram of the present invention, wherein input from the keyboard (for example, the dialer of a telephone set), is directed to the column and row phase selectors 10, 10'. The signals corresponding to the selected column and row are converted to selected phase codes in the circuit 10 and 10'. In response to the system clock the phase values are accumulated in the column and row adders 20, 20' and the accumulated values are applied to the column and row registers 30, 30'. The outputs of registers 30, 30' are applied to the read only memory ROMs 40, 40' as addresses. These ROMs are sine-wave look-up tables. The outputs of the registers 30, 30' are also applied to the column and row adders 20, 20' as accumulation values for the next sampling time. The outputs of ROMs 40 40' are column and row sine-wave data, and are added in adder 50. The output of the converter 50 is converted to analog form in a D/A converter 6, to output a dual tone multiple frequency signal. The invention is implemented by a method that employs phase accumulation. To change the output frequency, this invention does not require changing the structure of the hardware, but instead merely requires changing the code of the phase selectors 10, 10'. The invention can thus generate any frequency by proper adjustment of the code in the phase selectors. Column and row sine wave look-up tables are stored in ROMs 40, 40'. DTMF specifications set a predetermined emphasis. That is, the amplitude of the column voltage is set to be 2 db larger than the row voltage. The preemphasis specification is defined as 20*log (V col /V row ), where V col is the column amplitude and V row is the row amplitude. In conventional generators, this specification is implemented by the ratio of two registers. In accordance with the present invention, however, this specification is implemented merely by encoding the codes of the ROMs 40, 40'. The preferred embodiment of the invention is illustrated in Fig. 2, wherein 10, 10' are the column and row phase selectors. The selectors contain codes representing four different column frequencies and four different row frequencies. The signals input to the selectors select the proper code for the respective frequencies, and these codes are applied to the adders 20, 20'. The phase codes generated by the column and row selectors are calculated according to the following equation: δΘ = (f 1 /f) * 32 where: δΘ is the phase code ouput by the selectors, f 1 is the frequency that is desired to be generated, and f is the system clock frequency. Since the system clock frequency is known it is only necessary to insert a signal corresponding to the desired column or row output frequency into equation 1.1 in order to derive the respective phase code. The selectors 10, 10' may hence comprise any conventional devices for providing an output in accordance with equation 1.1. The column phase code is preferrably 8 bits long and the row phase code is preferrably 9 bits long. The number of bits that are needed for encoding the phase code depends upon the required precision, and hence can be varied from the above values. The main functions of the adders 20, 20', which may be type 4008 IC's, is to add the phase code values from the phase selectors to the accumulation values from the registers 30, 30' upon the occurence of each system clock 35 pulse, and to apply the result to the registers 30, 30'. The adders and registers are preferrably 12 bits long. The registers 30, 30', which may be formed of D type flip flops 4076, latch the accumulation value from the adders 20, 20' during each system clock cycle and send the most significant 7 bits to ROMs 40, 40' as addresses. In response to these address signals, the sine wave values stored in the ROMs 40, 40', in accordance with Fig's. 4 and 5, are read out and applied to the adders 50. The output of ROM 40 is the value of the column sine wave which is represented by 7 bit sequential data, and the output of ROM 40' is the value of the row sine wave which is represented by 6 bit sequential data. Adder 50 adds the column sine wave value and the row sine wave value to obtain 7 bit data and applies the result to the D/A converter 60. This converter may be comprised of a simple R-2R network. This circuit converts the digital output signal of the adder 50 to an analog signal output. The measured value is listed in fig. 6. The first column of Fig. 6 shows the standard DTMF frequencies. The second column lists the corresponding measured values of the present invention, employing the circuit of Fig. 2. Column 3 is the measured error defined as: [ measured value standard freq. - 1 ] * 100% Column 4 is the calculation error defined as: [ phase code phase value (δΘ) - 1 ] * 100% The phase value δΘ is defined by equation 1.1. The phase code is a binary coding of the phase value. Increases in the number of bits results in increased accuracy. While the invention has been disclosed and described with reference to a single embodiment, it will be apparent that variations and modifications may be made therein, without departure from the scope of the invention as defined by the appended claims.

Claims: A DTMF generator, comprising: column phase selecting means (10) for selecting a column phase which corresponds to one of the desired frequencies of a DTMF signal; row phase selecting means (10') for selecting a row phase which corresponds to one of the desired frequencies of the DTMF signal; a column register (30) for latching a column phase accumulation value for one clock period; a row register (30') for latching a row phase accumulation value for one clock period; column adding means (20) for adding the outputs of said column phase selecting means (10) and said column register (30) and for applying the output thereof to said column register (30); row adding means (20') for adding the outputs of said row phase selecting means (10') and said row register (30') and for applying the outputs thereof to said row register (30'); column ROM look-up means (40) for receiving the output of said column register (30) as an address signal, for producing a sequential digital code corresponding to a desired column frequency; row ROM look-up means (40') for receiving the output of said row register (40) as an address signal, for producing an output signal corresponding to a desired row frequency; summing means (50) for receiving the outputs of said column ROM look-up means (40) and said row ROM look-up means (40'), for producing a sequential digital code corresponding to a DTMF signal; and a digital-to-analog converter (60) for receiving the output of said summing means (50) for producing a stepped sine wave output. A DTMF generator according to claim 1, wherein said column and row ROM look-up means (40, 40') have different preemphasis. A method for generating a DTMF signal comprising: selecting first and second binary codes representing phases which correspond to first and second desired frequencies for the DTMF signal; separately accumulating and latching the phase codes once during each clock period to obtain first and second phase accumulation values; addressing ROM look-up table means (40, 40') using the most significant portions of said phase accumulation values to produce first and second sequential digital codes which correspond to the first and second desired frequencies of the DTMF signal; summing said first and second sequential codes for producing a third sequential digital code which corresponds to the desired DTMF signal; and performing a digital-to-analog conversion of said third sequential digital code for producing a stepped sine wave output. A method for generating a DTMF signal according to claim 3, wherein the step of addressing ROM look-up table means comprises addressing separate first and second ROM look-up tables that have different preemphasis using the most significant portions of said first and second phase accumulation values respectively.

Inventors: CHEN YARN-CHERN, CHUNG CHERN-JSAIR, CHEN, YARN-CHERN, CHUNG, CHERN-JSAIR
Applicants: IND TECH RES INST, INDUSTRIAL TECHNOLOGY RESEARCH INSTITUTE
Application year: 1990
Main classification: H04M1
IPC codes: H03B28, H04M1, H04Q1