The present invention relates to a control signal generating circuit in a communication system and more particularly to a control signal generating circuit for an automatic frequency control (AFC) circuit in a code division multiple access (CDMA) communication system.
In a CDMA system, each user is assigned a pseudo-noise (PN) code (PN) or PN random sequence. The PN code is constructed from channelization codes and scrambling codes, and has a much higher bit rate, referred to as the chip rate, than the symbol-rate of the information being transmitted. The chip rate is typically 2l i.e. 2, 4, 8, 16, 32, etc. times higher than the symbol rate.
In a CDMA base station, information for transmission modulates the PN code, and the resultant chip rate sequence is passed through a filter with a root-raised cosine frequency characteristic. The filtered output signal is then modulated on a radio frequency (RF) carrier signal, which is then transmitted.
In a Frequency Division Duplex (FDD) CDMA system, the base station uses radio frequency f1 to transmit downlink signals to a mobile station. In the mobile station, a locally generated reference signal with frequency f1′ is used to receive the transmitted signal. Ideally, the frequency f1 at the base station should be equal to the frequency f1′ at the mobile station. However, since the two frequencies f1 and f1′ are generated using different reference sources, typically there will be a difference between the two frequencies f1 and f1′.
With reference to
The received RF signal 105 may expressed as follows:
r(t)=s(t)exp(j2πf1t)
After down conversion, the baseband signal 106 can be written as:
r(t)′=s(t)exp(j2πΔft)
The frequency reference f1′ is provided by a frequency multiplier 109, which multiplies the frequency f′ of a locally generated frequency reference signal, that is generated by a VCXO (voltage controlled crystal oscillator) 110.
After down converting, an analog-to-digital converter (ADC) 120 converts the analog baseband signal 106 to a digital signal. The ADC 120 is provided with a sampling clock signal having a derived reference frequency f2′, and which is also derived from the frequency reference f′ provided by the VCXO 110, where a frequency divider 125 divides the frequency of reference frequency f′ to produce the frequency f2′.
A rake receiver, such as will be known to one skilled in the art, then processes the digital signal output from the ADC 120. The rake receiver has several fingers, where each finger independently demodulates different multipath signals, and then combines the multipath signals to exploit the channel diversity. In each rake finger, there are 3 branches, namely, an early branch, a late branch and a prompt branch. The early and late branches are used for generating a code tracking error signal, and the prompt branch is used for despreading data and obtaining the frequency error Δf=f1−f1′.
In a rake finger the early and late branches are used to implement a tracking circuit 130, and the prompt branch is implemented by a despreading circuit 150. In one of the rake fingers, the despreading circuit 150 operates with a control signal generating circuit 160 to provide an AFC circuit 165, which minimises the frequency error Δf=f1−f1′. The AFC circuit 165 is a PLL, which comprises the tracking circuit 130, the despreading circuit 150, and the control signal generating circuit 160, each of which will be described in more detail later.
The frequency f2′ of the sampling signal, that is provided to the ADC 120, should be a frequency f2, where f2=f/N, with N=4 or 8, typically. However, due to a difference in the reference frequencies f and f′ at the base station and the mobile station, the actual sampling frequency at the mobile station is f2′.
The relationship between the reference frequencies f and f′, can be written as:
f′=f(1+Xppm)
where X is the relative difference, and 1 ppm=1e−6.
Since the frequencies f1′ and f2′ are derived from the same reference frequency f′, which is provided by the VCXO 110, and the relationship between the frequencies f and f1, and the frequencies f and f2 are: f1=Mf and f2=f/N, respectively, the relationships between f1 and f1′ and between f2 and f2′ can be expressed as follows:
f1′=f1(1+Xppm)
f2′=f2(1+Xppm)
In order to reduce the frequency difference between the frequencies f1 and f1′, the mobile station employs the AFC circuit 165 to synchronize the frequency f1′ of the locally generated signal to the frequency f1 of the received signal. In the control signal generating circuit 160 a frequency error estimator 162 estimates the frequency error Δf=f1−f1′ between the frequencies f1 and f1′, and produces a frequency error signal. Subsequently, the frequency error signal is provided to a low pass filter 164, which produces a frequency control signal. The frequency control signal is then applied to the VCXO 110 to control the frequency f′ of the output signal of the VCXO 110, such that the frequency error Δf=f1−f1′ is minimised. The control signal generating circuit 160 will be described in more detail later.
In a 3 GPP (3rd Generation Partnership Project) FDD system, in order to provide coherent detection and simplify channel estimation, a common pilot channel (CPICH) is transmitted in parallel with a dedicated physical data channel (DPCH). The known data symbol on the CPICH is used for tracking and for frequency error estimation. As is known to one skilled in the art, tracking is the process of achieving and maintaining fine alignment of the phase of the received PN code and the locally generated PN code, and can be performed on the CPICH channel.
In the conventional CDMA receiver 100, the tracking circuit 130 and the control signal generating circuit 160 are different functional units, with the tracking circuit 130 using the data symbol on the CPICH channel for tracking, and the control signal generating circuit 160 using the data symbol on the CPICH channel for estimating the frequency error between the frequencies f1 and f1′. The tracking circuit 130 comprises a down sampler 131 that down samples a received CPICH signal by a factor of 4 or 8, typically. The down sampler 131 is coupled to a pair of early and late multipliers 132 and 133, respectively; the outputs of which are separately processed by integrate and dump (I&D) processors 134A and 134B, and the resultant outputs squared by squaring modules 135A and 135B. The outputs of the squaring modules 135A and 135B are then added together by an adder 136, and processed by another I&D processor 137. The code tracking error signal at the output of the I&D processor 137 is then provided to a loop filter 138, which provides a timing control signal to a timing module 139. The timing control signal comprises timing control outputs, which are digital outputs indicating one of three states i.e. 1, 0 or −1. As the timing module 139 receives the timing control outputs, the timing module 139 provides a timing signal to the down sampler 131 to maintain alignment between the PN code of the received signal and the locally generated PN code.
The down sampler 131 comprises three delay modules 131A, 131B and 131C, each imposing a predetermined time delay 0, Δ and 2Δ, respectively, and being equally spaced apart in time by the time Δ. The output from the delay modules are each coupled to respective samplers 131D, 131E and 131F, which provide the outputs labelled early, prompt and late. The timing signal from the timing module 139 is coupled to the samplers 131D, 131E and 131F, and determines when the samplers 131D-F perform their simultaneous sampling operation.
The despreading circuit 150 is coupled to a prompt multiplier 152, which provides a prompt correlation output signal which is processed by an integrate and dump (I&D) processor 153. The I&D processor 153 provides the despread signal to the control signal generating circuit 160.
Returning now to the tracking circuit 130, the code tracking error signal P(n) is determined and provided by the pair of early and late multipliers 132 and 133, the I&D processors 134A and 134B, the squaring modules 135A and 135B, the adder 136, and the I&D processor 137.
For an understanding of the operation of the tracking circuit 130, where the early correlation output signal from the I&D processor module 134A is:
Ie(n)+jQe(n), n=1, 2 . . . ;
and the late correlation output signal from the I&D processor module 134B is:
Il(n)+jQl(n), n=1, 2 . . .
The code tracking error signal P(n) from the adder 136 can then be written as:
P(n)=[I2l(n)+Q2l(n)]−[I2e(n)+Q2e(n)]
In 3 GPP FDD specification, the CPICH signal comprises a series of frames with 15 slots in each frames and where each slot has 10 symbols. In order to reduce the effect of noise, the code tracking error signal P(n) is averaged over a slot interval i.e. over a 10 symbol period to get:
The averaged code tracking error signal {circumflex over (P)}(m) from the I&D processor 137 is then provided to the loop filter 138, which determines whether the timing of the timing module 139, should be advanced by a predetermined number of chips or delayed by a predetermined number of chips. Since each frame has 15 slots, 15 averaged values of the averaged code tracking error signal {circumflex over (P)}(m) can be derived from each frame.
With reference to
Subsequently, a determination 235 is made as to whether the slot counter m is greater than 16. When the slot counter m is less than 16, then the operation 200 returns to step 215 of determining the averaged code tracking error signal {circumflex over (P)}(m) and proceeds as described above. However, when the slot counter m is greater than 16, a further determination 245 is made as to whether the positive counter P is greater than ten. When the positive counter P is greater than ten, a timing control output of 1 is provided 250 by the loop filter 138, and the operation 200 then returns to the initialization step 210. However, when the positive counter P is less than ten, yet another determination 255 is made as to whether the negative counter N is greater than ten. When the negative counter N is greater than ten, a timing control output of −1 is provided 260 by the loop filter 138, and the operation 200 returns to the initialization step 210. Alternatively, when the negative counter N is less than ten, a timing control output of 0 is provided 265 by the loop filter 138, and the operation 200 returns to the initialization step 210.
When the timing module 139 receives the timing control output 1 from the loop filter 138, the timing module 139 delays the timing of the down sampler 131; when the timing module 139 receives the timing control output −1 from the loop filter 138, the timing module 139 advances the timing of the down sampler 131; and when the timing module 139 receives the timing control output 0 from the loop filter 138, the timing module 139 does not change the timing of the down sampler 131.
With reference to
Zm=dmd*m−1exp(j2πΔfT)
The equation above for determining the frequency error Δf is implemented by the combination of a real accumulator 320, an imaginary accumulator 325, and an inverse tangent processor 330.
Upon obtaining the frequency error Δf, it is provided to the low pass filter 164, which consist of a multiplier 335 and an integrator 340. After filtering and integration, a resultant frequency control signal is provided to the VCXO 110 to control the frequency of the VCXO 110, to make the frequency error Δf tend to zero.
A disadvantage of the control signal generating circuit 160 is its complexity in implementation. For example, the frequency error estimator 162 itself comprises a variety of components including the delay module 305, the conjugate module 310, the multiplier 315, the real accumulator 320 and the imaginary accumulator 325. In addition, the DSP software to provide the inverse tangent processor 330 adds to the complexity of the control signal generating circuit 160.
In implementation, the inverse tangent function can be realized by a series expansion, as follows:
or as follows:
tan−1(x)≈x x→0
However, the above formula has some approximation errors, which is yet another disadvantage of the control signal generating circuit 160.
U.S. Pat. No. 6,289,061 by Kandala teaches a control signal generating circuit that receives a despread signal from a combiner of outputs from several rake fingers, and the control signal generating circuit determines a frequency error from the despread signal. The need for a combiner and the need to process the despread signal to produce a frequency control signal makes Kandala's control signal generating circuit relatively as complex as the control signal generating circuit 160.
Hence, there is a need for a control signal generating circuit that is relatively less complex to realize and is less prone to approximation errors.
The present invention seeks to provide a method and apparatus for a control signal generating circuit, which overcomes or at least reduces the abovementioned problems of the prior art.
Accordingly, in one aspect, the present invention provides a control signal generating circuit for an automatic frequency control (AFC) circuit, the control signal generating circuit comprising:
an input for coupling to a tracking circuit of the AFC circuit to receive a digital timing control signal therefrom;
a processor for receiving the digital timing control signal and producing a frequency control signal; and
an output for coupling to a variable frequency generator of the AFC circuit to provide the frequency control signal thereto, the frequency control signal for determining output frequency of the variable frequency generator.
In another aspect the present invention provides a method for generating a frequency control signal for an automatic frequency control (AFC) circuit, the method comprising:
In yet another aspect the present invention provides a control signal generating circuit for an automatic frequency control (AFC) circuit, the control signal generating circuit comprising:
an input for coupling to a tracking circuit of the AFC circuit to receive a digital timing control signal therefrom;
a controller for receiving the digital timing control signal, and the controller for passing at least a portion of the digital timing control signal;
a processor for receiving the at least the portion of the digital timing control signal and producing a frequency control signal; and
an output for coupling to a variable frequency generator of the AFC circuit to provide the frequency control signal thereto, the frequency control signal for determining output frequency of the variable frequency generator.
In still another aspect the present invention provides a method for generating a frequency control signal for an automatic frequency control (AFC) circuit, the method comprising:
An embodiment of the present invention will now be more fully described, by way of example, with reference to the drawings of which:
A control signal generating circuit in accordance with the present invention receives a timing control signal from the output of the digital loop filter of a tracking circuit, and produces a frequency control signal that is provided to a VCXO. The control signal generating circuit comprises a multiplier and an integrator which are relatively simple to implement, and does not require complex processes, such as inverse tangent processing of the prior art. Consequently, approximation errors related to complex processes, such the inverse tangent processor of the prior art, are avoided.
With reference to
Hence, the control signal generating circuit in accordance with the present invention, advantageously uses the existing timing control outputs of the loop filter in a tracking circuit to produce the frequency control signal, which in turn determines the frequency of the VCXO. This avoids the need for additional despreading and combining circuitry, as taught by the prior art.
With reference to
The integrator 460 comprises an adder 520 and a delay module 525, and has an input that is coupled to the output 515 to receive the resultant signal, integrate it, and provide the frequency control signal at its output 530.
With reference to
When a timing control output is received 610, the multiplier 462 multiplies 615 the received timing control output e(k) by the multiplier α, producing the resultant signal
g(k)=e(k)*α.
The integrator 466 receives the resultant signal g(k) and integrates it to produce the frequency control signal
f(k+1)=f(k)+g(k)
The operation 600 of the control signal generator 460 then ends 625, and is repeated when each timing control output is received from the loop filter 138.
As will be known to one skilled in the art in relation to a PLL, the acquisition bandwidth Bacq of the AFC is
Where Kvco is the voltage control sensitivity of the VXCO 110, the value of Kvco is determined by the particular component of VCXO adopted. It has the unit of Hz/Voltage. α is the design parameter, it has the unit of Voltage.
Where, τ1 is the time constant, and is determined by L in control signal generating circuit 160 of the prior art, or is determined by error signal average time in tracking circuit 430 according to present invention.
α is a design parameter, which determines the AFC circuit 465 acquisition bandwidth. α is chosen to be a relatively small value, as selection of a large value for α can prevent the AFC circuit 465, which is a PLL, from locking. In addition, the value of α effects the lock-in time of the AFC circuit 465, as well as the steady state error of the AFC 465. When the value of α is increased, the AFC circuit 465 will take a shorter time to lock, however the steady state error win tend to degrade. Alternatively, when the value of α is decreased, the AFC circuit 465 will take a longer time to lock, however it will have a relatively better steady error. Therefore, the value of α will need to be carefully chosen to balance the performance of the lock in time and steady state error of the AFC 465. The determination of α through calculation will be known to one skilled in the art, and such information can be found in publications dealing with AFC circuits and PLLs.
In order to illustrate the performance of the AFC circuit 465 using the control signal generating circuit 460, relative to the AFC circuit 165 using the prior art control signal generating circuit 160, simulation was conducted, and the results are presented hereinbelow. The simulation was performed on COSSAP, a system level simulation tool by Synopsis.
The following parameters were applied in the simulation:
2. The Eb/NO=10 dB for a Rayleigh fading channel, the parameter of the fading channel is shown is TABLE 1 below.
In addition, to assess the effect of the initial PN code phase error the following parameters are applied in the simulation:
TABLE 2 below shows a comparison the performance on a additive white Gaussian noise (AWGN) communication channel.
TABLE 3 below shows a comparison the performance on a Rayleigh fading communication channel.
From TABLES 2 and 3, the AFC circuit 465 that uses the signal generating circuit 460 of the present invention, advantageously provides an improved steady state error performance relative to the prior art. However, since present invention as described provides a control signal generating circuit that couples directly to the output of a low pass filter of a tracking circuit, and produces a frequency control signal for coupling to a VCXO, in the case of initial PN code phase error, the frequency response of the AFC may be disturbed by the initial PN code phase error.
A second embodiment of the control signal generating circuit 760 will now be described, which results in improved frequency response performance.
With reference now to
When there is no frequency error i.e. where the frequency error equals to 0 ppm, there is an initial PN code phase error. When the first several outputs from the PN tracking loop is not discarded, the initial PN code phase error causes a disturb time in the AFC circuit 765, which can last for about 750 ms. During this disturb time, the maximum frequency error is 0.6 ppm for _ chip initial error and 0.4 ppm for _ chip initial error. For the _ chip initial error case, within 180 ms the frequency error will come back to 0.2 ppm and for another 400 ms, it will converge to 0. For the _ chip initial error case, within 360 ms the frequency error will come back to 0.2 ppm and for another 300 ms, it will converge to 0. It will be appreciated by one skilled in the art, that in a typical AFC circuit, the initial PN code phase error will also effect the AFC loop. Due to the local PN code being out of synchronization with the PN code of the input signal, the correlation output of the CPICH channel is effected, which further effect the frequency error estimation.
Returning now to
With reference to
The multiplier 462 has an input that is coupled to the output 810; and another input 510, which is coupled to receive a multiplier α. The multiplier 462 provides a resultant signal at its output 515 comprising the product of the timing control output, received from the output 810, and α. The integrator 466 comprises an adder 520 and a delay module 525, and has an input that is coupled to the output 515 to receive the resultant signal, integrate it, and provide the frequency control signal at its output 530.
With reference to
When the current counter value k is greater than a predetermine number m, the control module provides the received timing control output e(k). Hence, the output 935 of the control module is h(k)=e(k). The multiplier 462 then multiplies 940 the received timing control output h(k) by the multiplier α, producing the resultant signal
g(k)=h(k)*α
The integrator 466 receives the resultant signal g(k) and integrates it to produce the frequency control signal
f(k+1)=f(k)+g(k)
The operation 900 of the control signal generator 760 then ends 950.
In effect, the control module advantageously prevents a predetermined number of timing control outputs m from being processed by the multiplier 462 and the integrator 466, which improves the frequency response of the AFC circuit 765 in case of initial PN code phase error. In a receiver, when the path is initially assigned by the Rake management, the first few outputs from the PN code generator is not used to adjust the AFC 765, and the input to the AFC circuit 765 is 0. This results in no change in frequency.
The performance of the AFC circuit 765 is illustrated by the simulation results in TABLE 4 where none of the timing control outputs are discarded, in comparison with TABLE 5 where the first five timing control outputs are discarded.
From TABLES 4 and 5, it will be appreciated that the frequency response performance of the AFC circuit 765 that uses the second embodiment of the control signal generating circuit 760 provides improved frequency response performance.
The present invention as described provides a control signal generating circuit that couples directly to the output of a low pass filter of a tracking circuit, and produces a frequency control signal for coupling to a VCXO.
This is accomplished by multiplying each timing control output received from the output of the low pass filter to produce a resultant signal. The resultant signal is then integrated to produce the frequency control signal. For improved frequency response performance, a controller is used to discard the first few timing control outputs from the low pass filter. As the control signal generating circuit of the present invention comprises a multiplier and an integrator, it is relatively simple in construction and easier to implement. In addition, as the implementation is not dependent on a formula, which suffers approximation errors, the control signal generating circuit of the present invention is not adversely affected by approximation errors.
Thus, the present invention, as described provides a method and apparatus for a control signal generating circuit, which overcomes or at least reduces the abovementioned problems of the prior art.
It will be appreciated that although only particular embodiments of the invention have been described in detail, various modifications and improvements can be made by a person skilled in the art without departing from the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200206603-3 | Oct 2002 | SG | national |