This application claims priority to an application entitled “Digital Frequency Modulator” filed in the Korean Industrial Property Office on Dec. 15, 2001 and assigned Serial No. 2001-79758, the contents of which are hereby incorporated by reference herein.
1. Field of the Invention
The present invention relates generally to a frequency modulator, and in particular, to a digital frequency modulator for accumulating input digital signals and changing the phase of the accumulated signal.
2. Description of the Related Art
In general, a wireless communication system transmits on a radio channel a relatively high-frequency carrier with a relatively low-frequency input signal. This is called modulation. In particular, when the information of the input signal is contained in the frequency and phase of the carrier signal, the modulation is called frequency modulation (FM).
An analog frequency modulator illustrated in
Referring to
As described above, the analog frequency modulator effects FM by converting an input digital signal to an analog signal and then controlling the VCO 150 with the analog signal.
A distinctive shortcoming of the typical analog frequency modulator is that the VCO being an analog device makes performance optimization difficult due to performance variation and use of additional analog devices for stabilizing the characteristics of the VCO increases cost. The VCO has a non-linear frequency output characteristic with respect to an input signal and exhibits very different characteristics depending on devices. Thus to achieve desirable FM characteristics, compensation or adjustment is required for the VCO. As a solution to this problem, implementation of a digital frequency modulator has been considered. However, the digital frequency modulator also has the limitations of difficulty in achieving desirable resolution with respect to various frequency inputs and implementation complexity.
It is, therefore, an object of the present invention to provide a digital frequency modulator that outputs digital cosine and sine signals having a phase corresponding to an input digital signal by modulating the input digital signal.
It is another object of the present invention to provide a digital frequency modulator for controlling a modulation frequency and a frequency resolution with respect to an input digital signal having a variable rate.
To achieve the above and other objects, in a digital frequency modulator, a first gain controller multiplies an input digital signal by a first gain determined according to a required modulation frequency, and a phase accumulator accumulates the first-gain controlled signal, generates a phase accumulation with a required phase resolution to output the phase accumulation within a predetermined output range. A second gain controller multiplies the output of the phase accumulator by a second gain determined according to the required modulation frequency and the first gain. A phase modulator outputs cosine and sine values having a phase corresponding to the second-gain controlled signal.
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which:
Preferred embodiments of the present invention will be described herein below with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.
A digital frequency modulator for wireless communication according to the present invention outputs a digital in-phase signal and a digital quadrature-phase signal by use of a first gain controller, a phase accumulator, a second gain controller, a phase modulator having a look-up table with sine values or cosine values corresponding to phases. Components of the digital frequency modulator required to achieve the purpose and their effective implementation will be described below.
Referring to
The frequency synthesizer 260 generates a carrier signal having an RF (Radio Frequency) carrier frequency. The in-phase mixer 240 feeds the carrier signal with the analog in-phase signal to the combiner 280. The quadrature-phase mixer 250 feeds a 90-degree shifted carrier signal received from the phase converter 270 with the analog quadrature-phase signal to the combiner 280. The combiner 280 combines the signals received from the in-phase and quadrature-phase mixers 240 and 250 and outputs the combined signal as an FM signal.
Two embodiments of the digital frequency modulator 210 are illustrated in
Before describing the structure and operation of the digital frequency modulator, main parameters used herein will first be defined.
Vin: a input digital signal to the digital frequency modulator 210;
fs: the input rate (frequency) of the digital signal Vin;
Df: a first gain used to determine a modulation frequency;
x: interpolation rate;
M: a modulo index that determines phase resolution;
1/y: a second gain used to determine the modulation frequency;
N: the number of sine values stored in a look-up table; and
fm: an output frequency (i.e, modulation frequency) for the digital signal Vin.
In operation, the first gain controller 310 multiplies a digital signal Vin of a predetermined size (e.g., 8 bits) input at a predetermined rate fs by a first gain Df. The first gain Df serves to sufficiently increase the size of the digital signal Vin, to thereby represent a corresponding modulation frequency fm more accurately. The phase accumulator 320 accumulates the output of the gain controller 310 for a time period that is determined according to the input rate fs of the digital signal Vin. The accumulated signal is a phase accumulation that determines final sine and cosine values. The operation of the phase accumulator 320 will be described below.
When a switch 321 turns on, the first-gain controlled signal is applied to the input of an adder 322. The switch 321 turns on each time the digital signal Vin is received, that is, every 1/fs, and it is off for the other time. The adder 322 is activated only when a signal is input to the switch 321. Upon turn-on of the switch 321, the adder 322 adds the received signal to an accumulated signal for the previous time switch 321 is on. An interpolator 324 linearly interpolates the output of the adder 322. The interpolation is performed to increase the accuracy of FM if the frequency (i.e., rate) of the digital signal Vin is not sufficiently high. In most cases, especially when the digital signal Vin results from sampling a voice signal, its input rate (i.e., frequency) is rather low. Therefore, the low rate is maintained before the phase accumulation is produced in order to reduce power consumption, and then the frequency is increased sufficiently when the phase accumulation is produced. To satisfy the need, the interpolator 324 increases the input rate fs of the digital signal Vin at a predetermined interpolation rate x. The interpolation rate x is determined according to the input rate fs. If fs is high, x is set to 1. As fs decreases, x is set to a greater value. If x is 1, no interpolation is performed.
More specifically, the interpolator 324 converts a digital signal received for a time T (=1/fs) to x digital signals according to a predetermined interpolation rule. The interpolation rule can be linear interpolation, piece wise parabolic interpolation, or cubic interpolation. The interpolator 324 makes the output frequency of the digital frequency modulator 210 higher than the input rate fs of the digital signal Vin by x times.
The phase accumulation is used to determine the phases of the final cosine and sine values, and ranges between 0 and 360 degrees. If M phases are defined in the range of 0 to 360 degrees, the phase accumulation must be controlled to be between 0 and (M−1). Therefore, a modulo operator 326 functions to range the phase accumulation between 0 and (M−1). M depends on a required frequency modulation performance because it determines the output of the modulo operator 326 that will be combined with an input signal at the next clock cycle and as a result, influences the phase resolution of the phase accumulation produced by the phase accumulator 320.
If the phase accumulation exceeds (M−1), the modulo operator 326 subtracts M from the phase accumulation and if it is below 0, the modulo operator 326 adds M to the phase accumulation. Consequently, the phase accumulation is maintained between 0 and (M−1). A delay 328 delays the output of the modulo operator 326 by 1/xfs seconds and feeds the delayed signal back to the adder 322 and to the second gain controller 330.
Since the adder 322 is activated only when the switch 321 turns on, the delayed signal is not added until the next digital signal Vin is input. Upon completion of interpolation in the interpolator 324, the adder 322 adds the next input signal to a signal delayed by 1/xfs seconds x times, that is, by 1/fs seconds in the delay 328. The second gain controller 330 multiplies the output of the phase accumulator 320 by a predetermined second gain 1/y. Thus, the actual gain of the input digital signal Vin is Df/y. The reason for controlling the gain of the digital signal Vin twice is to reduce the number of values stored in a look-up table 344 of the phase modulator 340 and thus reduce hardware complexity and memory capacity requirement, maintaining a frequency resolution required in the phase accumulator 320.
If 2n (n is an integer) is selected as y, the second gain controller 330 can be simply implemented by use of a shifter for shifting the input digital signal by a predetermined number of bits.
A phase mapper 342 in the phase modulator 340 checks upper two bits of the output of the second gain controller 330. The upper two bits represent a quadrant having a phase corresponding to the output of the second gain controller 330 on an X-Y coordinate plane. For example, if the upper two bits are 00, they indicate a first quadrant (0 to 90 degrees), if they are 01, they indicate a second quadrant (90 to 180 degrees), if they are 10, they indicate a third quadrant (180 to 270 degrees), and if they are 11, they indicate a fourth quadrant (270 to 360 degrees). The check result is fed to a cosine & sine value calculator 346.
The phase mapper 342 feeds the other bits of the output of the second gain controller 330 as a read address to the look-up table 344. According to the read address, the look-up table 344 provides a sine or cosine value having a phase represented by the output of the second gain controller 330. Here, the look-up table 344 stores N sine or cosine values for one of the four quadrants in the X-Y coordinate plane. The cosine & sine value calculator 346 calculates final sine and cosine values corresponding to the output of the second gain controller 330 using the check result of the phase mapper 342 and the sine or cosine value read from the look-up table 344.
For example, if the look-up table 344 stores only N sine values for the first quadrant (0 to 90 degrees), the sine values can be expressed as ROM(0)=sine 0°=0 to ROM(N−1)=sine 90°32 1. Let the other bits of the output of the second gain controller 330 excluding the upper two bits be θk. Then the cosine & sine value calculator 346 operates as illustrated in Table 1.
The input of the phase modulator 340 must range from 0 to (4N−1). Therefore,
M/y=4N (1)
where N is fixed in terms of hardware according to the size of a ROM (Read Only Memory) where the look-up table 344 is stored.
Eq. (2) to Eq. (6) below express relations between parameters related with the operation of the digital frequency modulator 210.
Equivalent Gain of Input Digital Signal Vin:
Phase Change in Digital Signal Vin:
Output Frequency (Modulation Frequency) of Digital Signal Vin:
Minimum Representable Frequency (Frequency Resolution):
Operation Frequency of Digital Frequency Modulator: xfs (Output Rate of Cosine/Sine Value: 1/xfs) (6)
As noted from the above equations, a desired modulation frequency and a desired frequency resolution can be obtained by appropriately controlling the parameters y and Df in the digital frequency modulator 210.
As compared to the phase accumulator 320 illustrated in
In operation, the third gain controller 421 multiplies the first-gain controlled signal received from the first gain controller 410 by a gain 1/x. The oversampler 423 performs x-time oversampling on the output of the third gain controller 421. That is, the frequency fs of the digital signal Vin is increased to xfs by accumulating one input x times.
An adder 425 then adds the output of the oversampler 423 to its 1/xfs earlier output. Since the accumulation is used to determine the phase of sine and cosine values output from the phase modulator 440, a modulo operator 427 subtracts M from the accumulation if the accumulation exceeds (M−1), and the modulo operator 427 adds M to the accumulation if it is below 0. Consequently, the accumulation is maintained between 0 and (M−1). As described before, M is used to represent a phase between 0 and 360 degrees. A delay 429 delays the output of the modulo operator 427 by 1/xfs seconds and feeds the delayed signal back to the adder 425 and to the second gain controller 430.
While the digital frequency modulator 210 is simplified because the interpolator 324 is not used, a 1/x-gain decrease before accumulation of an input signal leads to a relatively low frequency resolution in the phase accumulator 420. It is preferable to use the digital frequency modulator 210 illustrated in
The digital frequency modulator 210 according to the embodiments of the present invention outputs cosine and sine values representing the frequency component fm corresponding to an input digital signal, so that a negative baseband frequency can be generated. This digital frequency modulator is applicable to QPSK (Quadrature Phase Shift Keying) at IF (Intermediate Frequency) and RF ends.
In accordance with the present invention, performance degradation caused by the non-linearity of analog devices in a digital frequency modulator, that is, inaccuracy of an output frequency and a frequency variation range and performance change caused by environmental factors including temperature can be decreased. A frequency resolution and a modulation frequency are controlled accurately and implementation simplicity is achieved. Furthermore, the cost of analog devices in a transmitter is reduced.
While the invention has been shown and described with reference to a certain preferred embodiment thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2001-0079758 | Dec 2001 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
5057796 | Winterer | Oct 1991 | A |
5091705 | Hiramatsu et al. | Feb 1992 | A |
5225795 | Iinuma | Jul 1993 | A |
5446423 | Bienz et al. | Aug 1995 | A |
5732002 | Lee et al. | Mar 1998 | A |
5751198 | Yoshida et al. | May 1998 | A |
6265948 | Stevenson | Jul 2001 | B1 |
20020116181 | Khan et al. | Aug 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20030112893 A1 | Jun 2003 | US |