Numerical controlled oscillator

Abstract: The output oscillation frequency of the oscillator is controlled depending on input numerical data (N,L) and comprises: first accumulation means (3,4) for accumulating a first set value (N) which is set depending on the input numerical data with a first frequency (F c ) and sequentially outputting the accumulated value; second accumulation means for accumulating a second set value (L) which is set depending on the input numerical data with a second frequency and varying the first set (N) value by a predetermined value temporarily when the accumulated value reaches a predetermined maximum value; and frequency generation means (6,7) for outputting a frequency depending on an output of the first accumulation means as an oscillation frequency.

Description: The present invention relates to a numerical control type oscillator whose oscillation frequency is controlled depending on set data. A numerical control type oscillator (NCO) is an oscillator whose oscillation frequency is controlled depending on set data. Such a numerical control type oscillator is used to provide a signal synchronized with a carrier wave of a signal sent from a communication satellite, for example. Clearly, in Fig. 1, an electric wave from the communication satellite is received at an antenna 41. The carrier frequency of the signal sent from the communication satellite may by varied due to the Doppler effect. The reception signal is converted into a predetermined frequency at a converter 42 which is provided near the antenna 41. The signal from the converter 42 is supplied to a down-converter 43. The signal is converted into an intermediate frequency signal with a predetermined frequency of several MHz at the down-converter 43. The output of the down-converter 43 is supplied to a phase comparator 44. The output of a numerical control type oscillator 45 is also fed to the phase comparator 44. A phase comparison of the carrier wave from the down-converter 43 and the output of the numerical control type oscillator 45 is made at the phase comparator 44. The phase comparison output is given to an A/D converter 47 through a low-pass filter 46. The output of the A/D converter 47 is supplied to the numerical control type oscillator 45. The oscillation frequency of the numerical control type oscillator 45 is controlled depending upon the output data of the A/D converter 47. As a result, a signal synchronized with the carrier frequency can be provided from the numerical control type oscillator 45. Fig. 2 shows a structure of a conventional numerical control type oscillator used for such a PLL circuit. In Fig. 2, reference numeral 51 is a controller for setting a frequency. A frequency setting value N depending on the output data of the A/D converter 47 is given to the controller 51. The frequency setting value N is fed to a frequency setting register 52. The output of the frequency register 52 is supplied to an adder 53. The output of the adder 53 is given to an address register 54. The output of the address register 54 is supplied to the adder 53. A clock of a frequency F c is given to the address register 54 from a clock generator 55. The output of the frequency setting register 52 is sequentially accumulated at the adder 53 and the address register 54. The output of the address register 54 is supplied to an address of a waveform generating ROM 56. Waveform data of one period is stored for an address of 2 i , for example, at the waveform generating ROM 56. The waveform data is produced from the waveform generating ROM 56 according to an address from the address register 54. The output of the waveform generating ROM 56 is supplied to a D/A converter 57. At the D/A converter 57, the waveform data from the waveform shaping ROM 56 is converted into an analog waveform. The analog waveform is taken out of an output terminal 58. When the frequency setting value is N, an address A k generated from the address register 54 is advanced every frequency setting value N with the clock F c by the adder 53 and the address register 54. With the address A k advanced to 2 i , a signal of one period is generated. For this reason, the time for the address A k to be advanced to 2 i corresponds to the period of an oscillation output produced from the output terminal 58. The period T NCO is represented by T NCO = 2 i N · 1 F c As a result, an oscillation frequency F NCO is given by: F NCO = F c (N/2 i ). Consequently, frequency accuracy ΔF NCO of the conventional numerical control type oscillator is expressed by ΔF NCO = F C x (1/2 i ). In this way, in the conventional numerical control type oscillator, the accuracy of the oscillation frequency is represented by ΔF NCO = F C x (1/2 i ). Therefore, to improve the oscillation frequency accuracy, it is needed to elevate the clock oscillation frequency F C or to increase an address bit number i. However, with the clock frequency F C increased, it is necessary to accumulate the setting value N at high speed and to shorten the delay time at the adder 53. However, there is a limit to the reduction of the delay time of the adder 53. Also, with the address bit number i increased, the circuit size increases correspondingly. It is, therefore, the object of the invention to provide a numerical control type oscillator capable of improving the frequency accuracy without increasing the circuit size. A numerical control type oscillator according to the preamble of claim 1 is known from EP-A-0 312 370. The document describes an apparatus that generates a cyclic waveform of optional multiples of clock frequency in a digital signal processing. The apparatus accumulates a data string having a predetermined average value and a constant with an accumulating circuit which overflows when the data exceeds a dynamic range, thereby to provide cyclic waveform data proportional to the sum of the average value and the constant. Accumulation of the sum of the average value and the constant provides a cyclic waveform of optional multiples of the clock frequency by changing the average value of the data string even if the constant is integer. It is the object of the invention to provide a numerical control type oscillator capable of improving the frequency accuracy without increasing the circuit size. The object is solved by the features of claim 1. Further developments of the invention are defined by claims 2 to 4. Claim 5 describes the use of the numerical control type oscillator according to the present invention for generating a reference frequency, whereby the numerical input data depends on the phase comparison of a reception frequency and the reference frequency. The above, and other, objects, features and advantage of the present invention will become readily apparent from the following detailed description thereof which is to be read in connection with the accompanying drawings. In the drawings Fig. 1 is a block diagram for a numerical control type oscillator; Fig. 2 is a block diagram of one example of a conventional numerical control type oscillator. Fig. 3 is a block diagram of one embodiment of this invention; and Fig. 4 is a flow chart for explaining one embodiment of the invention. One embodiment of the invention will be described referring to the drawings. Fig. 3 shows one embodiment of the invention. In Fig. 3, reference numeral 1 is a controller for setting a frequency. Frequency setting values N and L depending on the phase error component are given to the controller 1. The frequency setting value N is for setting a main oscillation frequency. The frequency setting value L is for setting a highly accurate frequency. The frequency setting value N is supplied to a frequency setting register 2. A control program is provided at the controller 1 so that the frequency setting value L is accumulated with the supply of an interrupt signal from an M-frequency divider 9 and that as soon as the accumulated value B becomes a predetermined value B max , the frequency setting value N, for example, is set at (N + 1). In detail, a clock of a frequency F C is generated from a clock generator 5. The clock is given to an interrupt terminal of the controller 1 through the M-frequency divider 9. In response to the application of this signal to the interrupt terminal of the controller 1, the controller 1 executes an interrupt processing as shown in Fig. 4. Clearly, in Fig. 4, the frequency setting value L is added with an accumulated value B to provide a new accumulated value B (step 11). The accumulated value B is set at 0 in the initial state. A judgment is made on whether the accumulated value thus provided has reached a predetermined maximum value B max (step 12). If the accumulated value B is less than the maximum value B max , the frequency setting value set at the frequency setting register 2 is brought to N, and control is returned to a normal processing routine. When the accumulated value B is equal to or larger than the maximum value B max , the maximum value B max is subtracted from the accumulated value B, the value (B - B max ) is brought to a new accumulated value B (step 14). Only in this time, the frequency setting value set at the frequency setting register 2 is changed to (N + 1), and control is returned to a normal processing routine. In Fig. 3, the output of the frequency register 2 is given to an adder 3. The output of the adder 3 is supplied to an address register 4. The output of the address register 4 is fed to the adder 3. To the address register 4 is given a clock of the frequency F c from the clock generator 5. The output of the frequency register 2 is sequentially accumulated at the adder 3 and the address register 4. The output of the address register 4 is given to an address of a waveform generating ROM 6. Data of one period is stored for an address of 2 i , for example, at the waveform generating ROM 6. Waveform data is output from the waveform generating ROM 6 according to an address from the address register 4. The output of the waveform generating ROM 6 is supplied to a D/A converter 7. The waveform data from the waveform generating ROM 6 is converted into an analog waveform at the D/A converter 7. The analog waveform is produced from an output terminal 8. In one embodiment of the invention, the controller 1 is provided to have a program for accumulating the frequency setting value L every output from the M-frequency divider 9 and bringing the frequency setting value to (N + 1) temporarily when the accumulated value B reaches the predetermined value B max . Therefore, frequencies between N and (N + 1) can be expressed, so that the frequency accuracy can be enhanced. Namely, an address A k generated from the address register 4 is advanced every frequency setting value N with the clock F c by the adder 3 and the address register 4. Also, each time the accumulated value B of the frequency setting value L reaches the predetermined value B max , the frequency setting value N is set at (N + 1) temporarily. Since waveform data of one period is stored into the address of 2 i at the wave form generating ROM 6, the time for the address Ak generated from the address register 4 to be advanced to 2 i corresponds to the period of an output signal from the waveform generating ROM 6. Therefore, an oscillation frequency F NCO produced from an output terminal 8 is As a result, the accuracy of the frequency accuracy ΔF NCO is As mentioned above, according to the invention, the controller is provided to execute the processing for accumulating the second frequency setting value L and changing the first frequency setting value N to (N + 1) temporarily when the accumulated value B reaches the predetermined value B max . Consequently, the frequency accuracy of (1/B max ) can be obtained as compared with the conventional one, and the frequency accuracy can be enhanced without increasing the circuit size.

Claims: A numerical control type oscillator whose output oscillation frequency is controlled depending on input numerical data (N, L), comprising: first accumulation means (3, 4) for accumulating a first set value (N) which is set depending on said input numerical data with a first frequency (Fc) and for sequentially outputting the accumulated value (Ak); second accumulation means (1) for accumulating a second set value (L) which is set depending on said input numerical data with a second frequency and for varying said first set value (N) by a predetermined value temporarily when the accumulated value (B) in said second accumulation means (1) reaches a predetermined maximum value (Bmax); characterised by an M-frequency divider (9) for dividing said first frequency by a number M thus obtaining said second frequency; and frequency generation means (6, 7) for outputting a frequency depending on an output of said first accumulation means (3, 4) as an oscillation frequency. A numerical control type oscillator according to claim 1, wherein a differential value between the accumulated value (B) of said second accumulation means (1) and said maximum value (Bmax) is set to a new accumulated value when the accumulated value (B) of said second accumulation means (1) reaches said maximum value (Bmax). A numerical control type oscillator according to claim 1 or 2, wherein the accumulated value (B) of said second accumulation means (1) is initialized to 0 at the time of starting of the operation. A numerical control type oscillator according to any of claims 1 to 3, wherein said frequency generation means (6, 7) is a memory and an output of said first accumulation means (2, 3) is used as address for the memory. Use of the numerical control type oscillator according to any of claims 1 to 4, for generating a reference frequency whereby the numerical input data depends on the phase comparison of a reception frequency and the reference frequency.

Inventors: HORI KATSUYA, MORNAGA BIICHIRO, HORI, KATSUYA, MORNAGA, BIICHIRO
Applicants: SONY CORP, SONY CORPORATION
Application year: 1991
Main classification: H03L7
IPC codes: G06F1, H03L7, H03B28