WAVEFORM GENERATORS

Abstract: A stepwise approximation of a sinewave is generated by inputing different values representing different points on the waveform from a ROM (6) to a step duration counter (5). At the end of each step, a step counter (7) is incremented causing the ROM to input the next value. An up/down counter (3) is also incremented at the end of each step and caused to count in the opposite direction after a preset number of steps. The counter (3) produces an output representing the sinewave where the amplitude of all of the steps are equal but where their duration varies to produce the sinewave shape and this output is then passed to a D/A converter (9). An oscillator (1) is used to provide clock pulses to the step duration counter (5) and also to the up/down counter (3). Two such sinewave generators can be used in a dualtone multifrequency dialling circuit. The amplitude of one of the sinewaves can easily be varied by adjusting the step count so as to pre-emphasize one of the sinewaves and the two sinewaves are digitally mixed by the up/down counter.

Description: This invention relates to waveform generators and more particularly to a sinewave generator for use in a multitone telephone dialling circuit. Originally, analog circuits were used for multitone dialling, but in recent years digital circuitry has been used in the generation of multitone frequencies. In US Patent No. 3,787,836, there is disclosed one such circuit which uses controlled frequency division, shifting, delaying and summation in suitable proportions to form approximations of the desired waveform. Such systems, however, require added filtering to remove the harmonics generated. The added filtering substantially increases the expense of manufacture. In US Patent No. 3,941,942, there is disclosed a two of eight tone encoder utilising digital techniques to synthesize the dual tones of a Touch Tone telephone operator system. One of sixteen switches from the telephone keyboard selects one of four desired row tones and one of four desired column tones. Each of the two sinewaves are synthesized using an up-down counter and a set of eight resistors which are switched in turn into a resistive divider network and produce a stepped approximation to a sinewave. The two sinewaves so produced are filtered and provided as inputs to a summation amplifier whose output produces the desired tone having the frequency components for both the selected row input and the selected column input. A different method of synthesizing a digital sinewave is disclosed in US Patent No. 4,142,184, where amplitude information describing each of the eight different frequencies is digitally encoded into a sequence of multibit words describing the amplitude at successive points along the waveform. The data words are stored in two solid state read-only memories, one for each set of four upper or lower frequencies, and the words for one upper and one lower frequency are read out in time synchronisation, added, and their sum used to synthesize an approximation of a multitone dialling waveform. One disadvantage of the above digital methods of generating sinewaves is that in order to produce a reasonably accurate waveform, a high frequency quartz oscillator is required and these are fairly expensive and consume a lot of power. Furthermore a considerable amount of low order harmonics are present which are difficult to filter out. In dualtone multifrequency generators for telephone dialling in which the higher frequency sinewave has been pre-emphasized, it has hitherto been necessary to provide two D/A converters, one for each of the sinewaves, and a summing amplifier to pre-emphasize the higher frequency sinewave and to mix the two sinewaves together. It is therefore an object of the present invention to digitally generate sinewaves which have very little low order harmonic content and which do not require a very high frequency oscillator. Accordingly, the invention provides a dualtone multifrequency telephone dialling circuit incorporating oscillating means providing a basic clock signal and two digital sinewave generators, each generator being arranged to synthesize a waveform by stepwise approximation, said circuit being characterised in that each generator comprises: programmable step duration counter means comprising means for dividing the frequency of the basic clock signal by different preset values to provide step duration signals; and memory means for storing at least one series of different preset values, each of said different preset values determining the duration of a step of a series of steps forming the waveform, and for providing sequentially at the end of each step duration signal, the next present value to said means for dividing so as to provide a series of said step duration signals; and up/down counting means coupled to said programmable step duration counter means so as to provide an output waveform in stepwise approximation whose amplitude is incremented by a constant value at the end of each step in response to each step duration signal of the series of step duration signals, and wherein the up/down counting means of said two generators share a common up/down counter whose output thus represents a combination of the sinewaves generated by the two generators. Further embodiments of the invention are defined in the dependent claims. By incremented it is also meant to include decremented, i.e. incremented by positive or negative values. Each sinewave generator may include a step counter which is incremented every time the programmable step duration counter means finishes one step and which causes the next present value to be passed from the memory means to the frequency dividing means. The step counter is preferably also used to cause the up/down counter to count in the opposite direction after a predetermined number of steps. The output from the up/down counter is preferably passed to a D/A converter which produces an analogue representation of the waveform and which may then be filtered to smooth the shape of the waveform. Each sinewave generator may also include a prescaler to divide the oscillator frequency before it is passed to the programmable step duration counter means. In a preferred embodiment, the up/down counter is a synchronous 5-bit counter whose output is passed directly to the D/A converter which conveniently comprises a resistor ladder network which produces the analogue representation of the waveform. Alternatively, the output from the up/down counter is first passed to a 5-bit register, which then passes it to the resistor ladder network. The memory means preferably has several series of preset values stored in it, each series representing a different sinewave and, conveniently, has an input so that one particular series can be chosen as desired. In one embodiment, the up/down counter may comprise logic gate means for combining the up/down outputs from the two generators, and a 5-bit counter, which may be composed of two 4-bit counters connected in series, to provide a 5-bit output which represents the composite waveform. If the waveform generators do not include prescalers, the up/down counter must be able to count by up to two steps at a time since the signals from the programmable step duration counter means may both be counting in the same direction at the same time. Alternatively, means for delaying the signals from one of the waveform generators may be provided between the generator and the up/down counter so that the signals from one generator are passed to the up/down counter at a different clock pulse to the signals from the other generator. For example, when prescalers are used between the oscillator and the programmable step duration counter means, the prescalers can be designed so as to provide outputs which are out of phase with each other. One step counter then increments only on even oscillator clock pulses and the other step counter on odd oscillator clock pulses so that they never increment at the same time. The counter need then only count by one step at a time. In a preferred embodiment of a dualtone multifrequency telephone dialling circuit, each memory means stores four different waveforms, one having high frequency sinewaves and the other having low frequency sinewaves, so that the number of different composite waveforms is sixteen. The high frequency sinewaves are conveniently pre-emphasized by adjusting the step count so as to provide a larger amplitude for the high frequency sinewaves than for the low frequency sinewaves. The circuit is preferably manufactured in integrated form with the up/down counter being a 5-bit counter which can count by up to two steps so that the prescalers are not required. The invention will now be more fully described by way of example with reference to the drawing which is a block diagram of a dualtone multifrequency telephone dialling circuit according to the invention. In telephones using dualtone multifrequency signalling, dialling of a digit is performed by sending, on the line, a combination of two frequencies called Row and Column frequencies respectively. The resulting signal is the sum of two sinewaves and corresponds to one of sixteen keys activated from the telephone keyboard. The drawing shows a circuit for telephone dialling, composed of two sinewave generators, one synthesizing Row frequencies and the other synthesizing column frequencies, the frequencies being selected at R and C respectively. An oscillator 1 coupled to a 455 KHz ceramic resonator 2 produces clock pulses which are passed directly to a synchronous up/down counter 3. The oscillator 1 is common to both sinewave generators and its output is passed to each of the generators. Only the Row frequency generator will be described in detail since the Column frequency generator is identical. Similar parts of each generator are referenced with the same numeral but suffixed R or C for the Row frequency generator and the Column frequency generator respectively. In the Row frequency generator, the oscillator frequency is divided by a prescaler 4R and passed to a step duration counter 5R which counts down from a preset value set by a Read-only Memory 6R. When the counter 5R reaches zero, the following step counter 7R is incremented, a new address is sent to the ROM 6R and a new value is preset into the step duration counter 5R. The prescaler 4R is conveniently a standard circuit such as no. MC14013 manufactured by Motorola Inc. The step duration counter 5R may comprise two MC14526 circuits in series and the step counter 7R is preferably a further circuit no. MC14526, all manufactured by Motorola Inc. Because of the symmetry in the sinewave shape, only one half of the shape needs to be stored in the ROM 6R. During one half of the period, the up/down counter 3 counts up, during the other half it counts down depending upon the state of a divide by two stage 8R which follows the step counter 7R. The preset values stored in the ROM 6R are proportional to the duration of the steps at particular points in the waveform. Since the up/down counter is incremented by equal amounts the sinewave is synthesized in stepwise approximation where the duration of each step is modulated and their amplitudes are equal. A set of four different waveforms is stored in each ROM 6R, 6C thus providing a choice of sixteen different Row/Column frequency combinations for dualtone multifrequency dialing. The synchronous up/down counter 3, which has inputs from the oscillator 1 and the step duration counters 5R and 5C from both generators produces an output which is the sum of the sinewaves produced by the two generators. A D/A converter 12 then converts this output into a piecewise constant output which is then smoothed by a low pass filter (not shown). The two prescalers 4R and 4C are designed so that the step duration counters 5R and 5C never increment on the same oscillator clock pulse so that the up/down counter 3 only needs to be able to count by 0 or ±1. The up/down counter 3, conveniently comprises a logic gate means 9 such as a dual expandable and/or invert gate, for example, that manufactured by Motorola Inc. under no. MC14506, which is used to combine the up/down inputs for the row and column frequencies, and two 4-bit counters 10, 11 such as no. MC14516 manufactured by Motorola Inc., connected in series to provide a 5 bit output. The 5-bit output from the up/down counter 3 is then passed to the D/A converter 12 which comprises a R/2R ladder network whose output is an analogue representation of the combined waveform. This provides the advantage that a following low-pass filter can be made of a single capacitor because the impedance of the ladder network is independent of output level. Furthermore, by using a single 5 bit up-down counter and a single 5 bit D/A converter to add the two sinewaves digitally before converting to the waveform, the current consumption is reduced since a single 5 bit D/A convertor consumes less current than two separate 4 bit converters, as have been used hitherto. Because the duration of each step making up the waveform is individually programmable with high resolution, the individual output sinewave symmetries are represented with high accuracy, thus drastically reducing the low harmonic content of the output. For the same reason, the sinewave period can be adjusted with higher accuracy than hitherto in spite of the lower clock frequencies thus compensating for the lower frequency stability of ceramic resonators. The advantages are that ceramic resonators are cheaper than quartz, which are currently used, and that because clock frequency is lower, power consumption is also lower. This is a valuable feature for a circuit which is powered from the telephone line current. In an alternative embodiment, an encoder may be provided between the ROM and the step counter so that the same ROM address is selected for two values of the step counter symmetrical around the middle value. This is possible because of the further symmetry of the sinewave shape which makes it possible to store only one quarter of the total shape. The present invention thus allows mixing of two sinewaves and pre-emphasis of the higher frequency sinewave in a dualtone multifrequency dialling circuit without the necessity for providing a summing amplifier and using only a single D/A converter. It will be appreciated that although the invention has been described as being made up of a number of discrete circuits, it can, if desired, be made as a single integrated circuit. In this case, it is desirable to make the up/down counter able to count by up to two steps so that as explained above the prescalers are unnecessary. In this case the up/down counter can easily be made directly as a 5-bit counter so as to obviate the necessity for using two 4-bit counters.

Claims: A dualtone multifrequency telephone dialling circuit incorporating oscillating means (1, 2) providing a basic clock signal and two digital sinewave generators, each generator being arranged to synthesize a waveform by stepwise approximation, said circuit being characterised in that each generator comprises: programmable step duration counter means comprising means ( 4R, 4C, 5R, 5C) for dividing the frequency of the basic clock signal by different preset values to provide step duration signals; and memory means (6R, 6C) for storing at least one series of different preset values, each of said different preset values determining the duration of a step of a series of steps forming the waveform, and for providing sequentially at the end of each step duration signal, the next present value to said means for dividing so as to provide a series of said step duration signals; and up/down counting means (3) coupled to said programmable step duration counter means so as to provide an output waveform in stepwise approximation whose amplitude is incremented by a constant value at the end of each step in response to each step duration signal of the series of step duration signals, and wherein the up/down counting means of said two generators share a common up/down counter whose output thus represents a combination of the sinewaves generated by the two generators. A dualtone multifrequency telephone dialling circuit according to claim 1 wherein said up/down counter (3) is caused to count in the opposite direction after a predetermined number of steps. A dualtone multifrequency telephone dialling circuit according to claim 2 wherein each generator further includes a step counter (7R, 7C, 8R, 8C) which is incremented every time the programmable step duration counter means finishes one step and which then causes said memory means to input the next preset value to the frequency dividing means. A dualtone multifrequency telephone dialling circuit according to claim 3 wherein said step counters (7R, 7C, 8R, 8C) also cause the up/down counter (3) to count in the opposite direction after a predetermined number of steps. A dualtone multifrequency telephone dialling circuit according to any preceding claim wherein said up/down counter comprises a 5-bit counter (10, 11). A dualtone multifrequency telephone dialling circuit according to any preceding claim further comprising a D/A converter (12) which converts the output from the up/down counter (3) into an analogue representation of the waveform. A dualtone multifrequency telephone dialling circuit according to any preceding claim wherein each said memory means (6R, 6C) has stored in it a plurality of series of preset values, each series representing a different sinewave. A dualtone multifrequency telephone dialling circuit according to claim 7 wherein said plurality of series of preset values in one memory means represents relatively high frequency sinewaves and said plurality of series of preset values in the other memory means represents relatively low frequency sinewaves. A dualtone multifrequency telephone dialling circuit according to either claim 7 or claim 8 wherein each said memory means has an input whereby one particular series of preset values representing a particular sinewave can be chosen. A dualtone multifrequency telephone dialling circuit according to claim 6 further comprising a filter for smoothing the output waveform from the D/A converter. A dualtone multifrequency telephone dialling circuit according to claim 5 wherein the up/down counter further comprises logic gate means (9) which combines the up/down outputs from the two generators and passes the output to the 5-bit counter (10, 11). A dualtone multifrequency telephone dialling circuit according to any preceding claim further comprising means for delaying the signals from one of the sinewave generators by a predetermined period of time so that the signals from one of the generators are passed to the up/down counter at a different clock pulse to the signals from the other generator.

Inventors: TARBOURIECH, JEAN-CLAUDE
Applicants: MOTOROLA, INC.
Application year: 1986
Main classification: G06F1
IPC codes: G06F7, H04M1, G06F1, H03B28, H04Q1