CN104540155B - A kind of base station frequency method of adjustment and device - Google Patents
A kind of base station frequency method of adjustment and device Download PDFInfo
- Publication number
- CN104540155B CN104540155B CN201410779394.5A CN201410779394A CN104540155B CN 104540155 B CN104540155 B CN 104540155B CN 201410779394 A CN201410779394 A CN 201410779394A CN 104540155 B CN104540155 B CN 104540155B
- Authority
- CN
- China
- Prior art keywords
- frequency
- original
- division value
- target
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000010355 oscillation Effects 0.000 claims description 99
- 101000708009 Homo sapiens Sentrin-specific protease 8 Proteins 0.000 claims description 20
- 102100031407 Sentrin-specific protease 8 Human genes 0.000 claims description 20
- 238000013139 quantization Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 7
- 230000007547 defect Effects 0.000 description 3
- 230000006866 deterioration Effects 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 101100272279 Beauveria bassiana Beas gene Proteins 0.000 description 1
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 101100517648 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) NUM1 gene Proteins 0.000 description 1
- 101100129590 Schizosaccharomyces pombe (strain 972 / ATCC 24843) mcp5 gene Proteins 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
The present invention provides a kind of base station frequency method of adjustment and devices, wherein the method includes:Obtain original local frequency;The original local frequency is adjusted, target local frequency is obtained;Digital intermediate frequency frequency is obtained according to the target local frequency, center of housing estate frequency and fixed intermediate frequency frequency;Base station frequency is adjusted according to the target local frequency and the digital intermediate frequency frequency.Technical solution of the present invention improves system performance, reduces cost of implementation, is not only restricted to the frequency accuracy of local oscillator chip, has unified the configuration method and configuration precision of base station frequency.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for adjusting a frequency of a base station.
Background
In current wireless system applications, many industry wireless system applications have their own frequency bands, which are different from the frequency bands of public mobile communications. In the application frequency bands of various industries, the situation that signals only occupy part of bandwidth resources often occurs. Due to the limitation of the current hardware platform of the base station, the digital processing of the whole bandwidth range can not be realized at the same time sometimes, and only the useful signal bandwidth can be processed. For these wide band resources, a method of adjusting the local frequency of the radio frequency is usually adopted to achieve the precise adjustment of the frequency of the base station, so as to achieve the coverage of the full bandwidth. However, if the local oscillator frequency adjustment is too accurate, i.e. the frequency step is too small, the local oscillator phase noise will be deteriorated, thereby directly deteriorating the performance indexes of the receiver and the transmitter.
In addition, for other situations where the entire bandwidth range can be handled simultaneously, the adjustment of the base station frequency is generally achieved by adjusting the intermediate frequency. The analog if is required to cover the entire bandwidth resource, and the signal bandwidth is much narrower, and the excessive if bandwidth will deteriorate the spurious suppression performance of the transmitter and the anti-blocking performance of the receiver.
The existing implementation schemes for adjusting the frequency of the base station are divided into two schemes, namely a digital frequency shift (scheme 1) and an analog frequency shift (scheme 2), according to the implementation positions in the link, and a typical architecture is shown in fig. 1. The hardware architecture is the same, including four parts of baseband processing, radio frequency processing, local oscillator and external antenna. The digital frequency shift scheme is that the base station frequency is changed by adjusting the digital frequency in the baseband processing part, and the local oscillator is fixed frequency; the analog frequency shift scheme is that the frequency of the base station is changed by adjusting the local oscillator in the radio frequency processing part, and meanwhile, the digital frequency of the baseband processing part is fixed.
The existing digital frequency shift scheme has the defects of narrow adjustable frequency range and influence on system performance, while the analog frequency shift scheme has the defect of system performance deterioration, and the specific steps are as follows:
by adopting a digital frequency shift scheme, the local oscillator is fixed frequency, and the frequency is adjusted only in the intermediate frequency bandwidth. Due to the limitation of the current hardware platform, the adjustable frequency range of the supporting base station is narrow; and the limited medium frequency bandwidth resource is occupied, so that the spurious suppression performance of the transmitter and the anti-blocking performance of the receiver are reduced, and the system performance is further reduced.
The analog frequency shift scheme is adopted, the digital frequency is fixed, and the defect is that the local oscillator frequency is too small in step due to the precise requirement of the base station frequency adjustment step, and the small step can improve decimal frequency division stray and deteriorate local oscillator phase noise. The phase noise of the local oscillator is deteriorated, key indexes such as the EVM (Error Vector Magnitude) of the transmitter and the sensitivity of the receiver are also deteriorated, and the performance of the system is directly influenced; and has higher requirement on the frequency precision index of the local oscillation chip.
Disclosure of Invention
The invention provides a method and a device for adjusting frequency of a base station, which aim to solve the problems of system performance deterioration and high requirement on frequency accuracy index of a local oscillator chip.
In order to solve the above problem, the present invention discloses a method for adjusting a frequency of a base station, comprising:
acquiring an original local oscillation frequency;
adjusting the original local oscillation frequency to obtain a target local oscillation frequency;
acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency;
and adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency.
Preferably, the adjusting the original local oscillation frequency to obtain a target local oscillation frequency includes:
obtaining an original frequency division value according to the original local oscillation frequency, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency;
determining a target frequency division value according to the original frequency division value;
and obtaining the target local oscillator frequency according to the target frequency division value, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency.
Preferably, the obtaining an original frequency division value according to the original local oscillator frequency, the voltage-controlled oscillator frequency division value, and the phase discrimination frequency includes:
according toObtaining an original frequency division value;
wherein f isL01For the original local oscillator frequency, Div _ vco is the frequency division value, F, of the voltage-controlled oscillatorpfdFor the phase discrimination frequency, Divider is the original frequency division value, N is an integer part of the original frequency division value,for the fractional part of the original divider value, the variable DEN1 is assigned a fixed value Fpfd。
Preferably, the determining a target division value from the original division values includes:
quantizing the variable DEN1 to a preset value;
obtaining M differences obtained by subtracting the decimal part of the original frequency division value from M fractions of the quantized variable DEN 1; wherein M is an integer part of the preset value;
determining a fraction corresponding to a smallest absolute value among the absolute values of the M differences, and determining the corresponding fraction as the target division value.
Preferably, the obtaining of the digital intermediate frequency according to the target local oscillator frequency, the cell center frequency and the fixed intermediate frequency includes
And subtracting the fixed intermediate frequency after the target local oscillation frequency is subtracted from the cell center frequency to obtain the digital intermediate frequency.
Correspondingly, the invention also discloses a base station frequency adjusting device, which comprises:
the original local oscillator frequency acquisition module is used for acquiring an original local oscillator frequency;
the target local oscillation frequency acquisition module is used for adjusting the original local oscillation frequency to obtain a target local oscillation frequency;
the digital intermediate frequency acquisition module is used for acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency;
and the base station frequency adjusting module is used for adjusting the base station frequency according to the target local oscillator frequency and the digital intermediate frequency.
Preferably, the target local oscillation frequency obtaining module includes:
the original frequency division value acquisition submodule is used for acquiring an original frequency division value according to the original local oscillator frequency, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency;
the target frequency division value acquisition submodule is used for determining a target frequency division value according to the original frequency division value;
and the target local oscillator frequency acquisition submodule is used for acquiring the target local oscillator frequency according to the target frequency division value, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency.
Preferably, the original frequency division value acquisition submodule is based on
Obtaining an original frequency division value;
wherein f isL01For the original local oscillator frequency, Div _ vco is the frequency division value, F, of the voltage-controlled oscillatorpfdFor the phase discrimination frequency, Divider is the original frequency division value, N is an integer part of the original frequency division value,for the fractional part of the original divider value, the variable DEN1 is assigned a fixed value Fpfd。
Preferably, the target division value obtaining submodule includes:
a quantization subunit, configured to quantize the variable DEN1 to a preset value;
an absolute value obtaining subunit, configured to obtain absolute values of M differences obtained by subtracting fractional parts of the original frequency division value from M fractions of the quantized variable DEN 1; wherein M is an integer part of the preset value;
a target frequency division value determining subunit, configured to determine a fraction corresponding to a smallest absolute value of the absolute values of the M difference values, and determine the corresponding fraction as the target frequency division value.
Preferably, the digital intermediate frequency obtaining module subtracts the fixed intermediate frequency after subtracting the target local oscillation frequency from the cell center frequency to obtain a digital intermediate frequency.
Compared with the background art, the invention has the following advantages:
firstly, the two modes of digital frequency shift and analog frequency shift are combined, a hardware platform does not need to be changed, only the algorithm for adjusting the frequency of the base station needs to be modified, the frequency adjustment of the base station can be optimized by upgrading software and firmware, and the algorithm can be directly used for developing new products to improve the system performance.
Secondly, acquiring an original local oscillation frequency; the original local oscillator frequency is adjusted to obtain the target local oscillator frequency, the stepping requirement on a local oscillator chip is reduced, the local oscillator frequency can be greatly stepped to suppress decimal frequency division spurious, so that the phase noise of the local oscillator frequency is not affected, the system performance is not deteriorated due to the change of the local oscillator frequency, and the cost can be reduced.
And thirdly, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency, mainly carrying out analog frequency shift, wherein the digital frequency is mainly used for controlling the adjustment precision, so that the intermediate frequency bandwidth is basically not occupied, and the system performance is optimized. Because the precision is ensured by the digital frequency part, the frequency adjustment with higher precision can be realized, and the frequency precision of the local oscillation chip is not limited any more.
And finally, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency. The configuration method and the configuration precision of the base station frequency can be unified, and the base station frequency is not limited by different local oscillator chips.
Drawings
FIG. 1 is a diagram of a frequency adjustment architecture of a base station in the prior art;
fig. 2 is a flowchart of a method for adjusting a frequency of a base station according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a base station frequency adjustment method according to a second embodiment of the present invention;
fig. 4 is a flowchart of a method for adjusting a frequency of a base station according to a second embodiment of the present invention;
fig. 5 is a flowchart of another method for adjusting frequency of a base station according to a second embodiment of the present invention;
fig. 6 is a flowchart of a method for adjusting a frequency of a base station according to a third embodiment of the present invention;
fig. 7 is a structural diagram of a base station frequency adjustment apparatus according to a fourth embodiment of the present invention;
fig. 8 is a structural diagram of a base station frequency adjustment apparatus according to a fifth embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The following describes a method and an apparatus for adjusting a frequency of a base station according to the present invention in detail by taking several specific embodiments.
Example one
The present invention provides a method for adjusting a frequency of a base station.
Referring to fig. 2, a flowchart of a method for adjusting a frequency of a base station in an embodiment of the present invention is shown.
Step 100, obtaining an original local oscillation frequency.
And obtaining the original local oscillator frequency without adjusting the integer word frequency according to the cell center frequency and the fixed intermediate frequency set in the base station.
And step 102, adjusting the original local oscillation frequency to obtain a target local oscillation frequency.
Firstly, adjusting the original local oscillation frequency to obtain an original frequency division value of the original local oscillation frequency, secondly, determining the distance between the obtained original frequency division value and the quantized frequency division value to obtain a target frequency division value, and thirdly, calculating according to the target frequency division value to obtain the vibration frequency of the target sample.
And 104, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency.
And subtracting the target local oscillation frequency and the fixed intermediate frequency from the cell center frequency to obtain the digital intermediate frequency.
And 106, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency.
After the target local oscillation frequency and the digital intermediate frequency are obtained, the frequency of the base station can be adjusted according to the target local oscillation frequency and the digital intermediate frequency. The process of adjusting the base station frequency according to the target local oscillator frequency and the digital intermediate frequency may refer to the existing base station frequency adjustment process, and the embodiment of the present invention does not limit the process.
In summary, according to the technical solution of the embodiment of the present invention, first, two ways of digital frequency shift and analog frequency shift are combined, a hardware platform does not need to be changed, only the algorithm for adjusting the frequency of the base station needs to be modified, the frequency adjustment of the base station can be optimized by upgrading software and firmware, and for the development of new products, the algorithm can be directly used to improve the system performance.
Secondly, acquiring an original local oscillation frequency; the original local oscillator frequency is adjusted to obtain the target local oscillator frequency, the stepping requirement on a local oscillator chip is reduced, the local oscillator frequency can be greatly stepped to suppress decimal frequency division spurious, so that the phase noise of the local oscillator frequency is not affected, the system performance is not deteriorated due to the change of the local oscillator frequency, and the cost can be reduced.
And thirdly, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency, mainly carrying out analog frequency shift, wherein the digital frequency is mainly used for controlling the adjustment precision, so that the intermediate frequency bandwidth is basically not occupied, and the system performance is optimized. Because the precision is ensured by the digital frequency part, the frequency adjustment with higher precision can be realized, and the frequency precision of the local oscillation chip is not limited any more.
And finally, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency. The configuration method and the configuration precision of the base station frequency can be unified, and the base station frequency is not limited by different local oscillator chips.
Example two
The present invention provides a method for adjusting a frequency of a base station.
Referring to fig. 3, an architecture diagram of a method for adjusting a frequency of a base station in an embodiment of the present invention is shown.
The scheme framework of the embodiment of the invention comprises four parts, namely baseband processing, radio frequency processing, a local oscillator and an external antenna.
Referring to fig. 4, a flowchart of a method for adjusting a frequency of a base station in an embodiment of the present invention is shown.
Step 200, obtaining an original local oscillation frequency.
And obtaining the original local oscillator frequency without adjusting the integer word frequency according to the cell center frequency and the fixed intermediate frequency set in the base station.
For example, according to fLO1=fRF-FIFAnd obtaining the original local oscillation frequency.
Wherein f isLO1Is the original local oscillator frequency, fRFIs cell center frequency, FIFIs a fixed intermediate frequency.
Step 202, adjusting the original local oscillation frequency to obtain a target local oscillation frequency.
Firstly, adjusting the original local oscillation frequency to obtain an original frequency division value of the original local oscillation frequency, secondly, determining the distance between the obtained original frequency division value and the quantized frequency division value to obtain a target frequency division value, and thirdly, calculating according to the target frequency division value to obtain the vibration frequency of the target sample.
Preferably, the step 202 may include:
and step 2021, obtaining an original frequency division value according to the original local oscillation frequency, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency.
For example, can be based onThe original divider value is obtained.
Wherein f isL01For the original local Oscillator frequency, Div _ VCO is the frequency division value of the Voltage Controlled Oscillator, which is VCO (Voltage Controlled Oscillator)Controlled oscillator) frequency to the original local oscillator frequency, FpfdFor the phase discrimination frequency, Divider is the original frequency division value, N is an integer part of the original frequency division value,for the fractional part of the original divider value, the variable DEN1 is assigned a fixed value Fpfd。
Step 2022, determining a target frequency division value according to the original frequency division value.
Preferably, the step 2022 may include:
step 1, quantizing the variable DEN1 to a preset value.
In step 2021, the variable DEN1 is greater in value, and in step 2022, the variable DEN1 is quantized to a smaller preset value, e.g., DEN1 is equal to 8.
Step 2, obtaining M differences absolute values obtained by subtracting the decimal part of the original frequency division value from M fractions of the quantized variable DEN 1; wherein M is an integer part of the preset value.
A value of M of the M fractions is equal to a preset value, and if the variable DEN1 is quantized to 8, M is equal to 8, and the M fractions are respectively equal to a preset value
And 3, determining a fraction corresponding to the minimum absolute value in the absolute values of the M differences, and determining the corresponding fraction as the target frequency division value.
For example, as described aboveThe absolute value of the difference obtained by subtracting the fractional part of the division value is the smallest, then it will beAs a target division value. If there is a minimum absolute value of the difference of the two fractions minus the fractional part of the division value, both fractions may, for example, take the fraction of which is small as the target division value.
Step 2023, obtaining the target local oscillator frequency according to the target frequency division value, the frequency division value of the voltage controlled oscillator, and the phase discrimination frequency.
Can be based onIs calculated in reverse direction to obtain the target local oscillator frequency, i.e.
According toAnd obtaining the target local oscillation frequency.
Wherein,is a target frequency division value, fLOIs the target local oscillator frequency.
NUM and DEN can be converted into a 16-system number and configured into a register of the local oscillator chip.
And 204, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency.
Preferably, the step 204 may be:
and subtracting the fixed intermediate frequency after the target local oscillation frequency is subtracted from the cell center frequency to obtain the digital intermediate frequency.
I.e. according to fNCO=fRF-fLO-FIFObtaining a digital intermediate frequency fNCO。
The digital intermediate frequency is written into a register of the baseband processing part, and data exceeding the adjustment precision of an NCO (Numerically Controlled Oscillator) in the baseband processing part is discarded.
And step 206, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency.
After the target local oscillation frequency and the digital intermediate frequency are obtained, the frequency of the base station can be adjusted according to the target local oscillation frequency and the digital intermediate frequency. The process of adjusting the base station frequency according to the target local oscillator frequency and the digital intermediate frequency may refer to the existing base station frequency adjustment process, and the embodiment of the present invention does not limit the process.
In special cases, e.g. fLO1Appears at the lower boundary of the VCO of the local oscillator chip, and the decision algorithm needs to be modified into a decision at the momentEight and decimal partsThe absolute value of the difference is greater thanNumerical and nearest data. On the contrary, if fLO1The boundary appearing on the VCO of the local oscillator chip is less thanNumerical and nearest data.
If DEN1 is reduced to be equal to 1, the local oscillator chip of fractional frequency division can be replaced by the local oscillator chip of integer frequency division, so that the requirement on the local oscillator chip is greatly reduced, and the hardware cost can be reduced.
For example, fL01=2381.44MHz,Fpfd30720kHz, Div _ vco 1, N77, NUM1 16000, DEN1 30720, fixed DEN 8, NUM 4, N77, fLO2380.8 MHz. At the same time, fL01_fLO2381.44-2380.8 MHz is obtained from a digital NCO configuration.
The implementation flow of the technical scheme in the embodiment of the invention can be simplified as shown in fig. 5. The method comprises the steps of firstly calculating an original local oscillation frequency according to the cell frequency, adjusting the original local oscillation frequency in the process of simulating frequency shift, then calculating residual frequency offset, and adjusting a digital NCO of a baseband processing part in the process of digital frequency shift. The whole process is realized by two steps, the stepping precision of the original local oscillator frequency can be directly reduced, the frequency adjustment of the base station in the ultra-wide frequency band is realized, and the system performance is not influenced.
The technical scheme in the embodiment of the invention mainly takes analog frequency shift as a main part, and the digital frequency is mainly used for controlling the adjustment precision, so that the medium-frequency bandwidth is basically not occupied, and the system performance is optimized.
The frequency allocation part of the technical scheme in the embodiment of the invention can be flexibly allocated according to the specific chip performance. The frequency allocation follows the principle of not reducing the performance index of the local oscillation signal, and simultaneously considers the principle that analog frequency adjustment is taken as the main and digital frequency adjustment is taken as the auxiliary in the frequency adjustment of the base station.
In summary, according to the technical solution of the embodiment of the present invention, first, two ways of digital frequency shift and analog frequency shift are combined, a hardware platform does not need to be changed, only the algorithm for adjusting the frequency of the base station needs to be modified, the frequency adjustment of the base station can be optimized by upgrading software and firmware, and for the development of new products, the algorithm can be directly used to improve the system performance.
Secondly, acquiring an original local oscillation frequency; the original local oscillator frequency is adjusted to obtain the target local oscillator frequency, the stepping requirement on a local oscillator chip is reduced, the local oscillator frequency can be greatly stepped to suppress decimal frequency division spurious, so that the phase noise of the local oscillator frequency is not affected, the system performance is not deteriorated due to the change of the local oscillator frequency, and the cost can be reduced.
And thirdly, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency, mainly carrying out analog frequency shift, wherein the digital frequency is mainly used for controlling the adjustment precision, so that the intermediate frequency bandwidth is basically not occupied, and the system performance is optimized. Because the precision is ensured by the digital frequency part, the frequency adjustment with higher precision can be realized, and the frequency precision of the local oscillation chip is not limited any more.
And finally, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency. The configuration method and the configuration precision of the base station frequency can be unified, and the base station frequency is not limited by different local oscillator chips.
EXAMPLE III
The present invention provides a method for adjusting a frequency of a base station.
Referring to fig. 6, a flowchart of a method for adjusting a frequency of a base station in an embodiment of the present invention is shown.
And step 300, calculating the original local oscillation frequency without adjusting the integer word frequency.
According to fLO1=fRF-FIFAnd obtaining the original local oscillation frequency.
Wherein f isLO1Is the original local oscillator frequency, fRFIs cell center frequency, FIFIs a fixed intermediate frequency.
Step 302, an original frequency division value of an original local oscillation frequency is obtained.
According toThe original divider value is obtained.
Wherein f isL01The original local oscillator frequency is Div _ VCO is the frequency division value of the voltage-controlled oscillator, which is the ratio of the frequency of the VCO to the original local oscillator frequency, FpfdFor the phase-detected frequency, Divider is the original frequency-divided value, N is the integer part of the original frequency-divided value, variable DEN1Is assigned to a fixed value Fpfd,Is the fractional part of the original divider value.
And step 304, judging the distance between the original frequency division value and the target frequency division value.
In the concrete implementation, a driving software part needs to be modified, and the driving software is added with a judgment algorithm implementation code. Fix N and Div _ vco, quantize DEN1 to a smaller value, e.g., DEN1 ═ 8, decide Eight fractions andthe absolute value of the difference.
Step 306, determining a target frequency division value of the original local oscillation frequency.
In step 304, which is the smallest absolute value, one of the eight corresponding scores is assigned againBy usingRepresenting this new value as the target division value.
And 308, calculating a target local oscillation frequency according to the target frequency division value.
Can be based onAnd obtaining the target local oscillation frequency through reverse calculation.
At step 310, a digital intermediate frequency is determined.
According to fNCo=fRF-fLO-FIFAnd calculating the digital intermediate frequency, and writing the digital intermediate frequency into a register of the baseband processing part. Data exceeding the NCO adjustment accuracy in the baseband processing section is discarded.
And step 312, finishing the frequency adjustment of the base station according to the target local oscillation frequency and the digital intermediate frequency.
In summary, according to the technical solution of the embodiment of the present invention, first, two ways of digital frequency shift and analog frequency shift are combined, a hardware platform does not need to be changed, only the algorithm for adjusting the frequency of the base station needs to be modified, the frequency adjustment of the base station can be optimized by upgrading software and firmware, and for the development of new products, the algorithm can be directly used to improve the system performance.
Secondly, acquiring an original local oscillation frequency; the original local oscillator frequency is adjusted to obtain the target local oscillator frequency, the stepping requirement on a local oscillator chip is reduced, the local oscillator frequency can be greatly stepped to suppress decimal frequency division spurious, so that the phase noise of the local oscillator frequency is not affected, the system performance is not deteriorated due to the change of the local oscillator frequency, and the cost can be reduced.
And thirdly, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency, mainly carrying out analog frequency shift, wherein the digital frequency is mainly used for controlling the adjustment precision, so that the intermediate frequency bandwidth is basically not occupied, and the system performance is optimized. Because the precision is ensured by the digital frequency part, the frequency adjustment with higher precision can be realized, and the frequency precision of the local oscillation chip is not limited any more.
And finally, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency. The configuration method and the configuration precision of the base station frequency can be unified, and the base station frequency is not limited by different local oscillator chips.
Example four
The present invention provides a base station frequency adjustment apparatus.
Referring to fig. 7, a structural diagram of a base station frequency adjustment apparatus according to an embodiment of the present invention is shown.
The apparatus may include: an original local oscillator frequency obtaining module 400, a target local oscillator frequency obtaining module 402, a digital intermediate frequency obtaining module 404, and a base station frequency adjusting module 406.
The functions of the modules and the relationships between the modules are described in detail below.
An original local oscillator frequency obtaining module 400, configured to obtain an original local oscillator frequency.
A target local oscillation frequency obtaining module 402, configured to adjust the original local oscillation frequency to obtain a target local oscillation frequency.
A digital intermediate frequency obtaining module 404, configured to obtain a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency, and the fixed intermediate frequency.
And a base station frequency adjusting module 406, configured to adjust a base station frequency according to the target local oscillation frequency and the digital intermediate frequency.
In summary, according to the technical solution of the embodiment of the present invention, first, two ways of digital frequency shift and analog frequency shift are combined, a hardware platform does not need to be changed, only the algorithm for adjusting the frequency of the base station needs to be modified, the frequency adjustment of the base station can be optimized by upgrading software and firmware, and for the development of new products, the algorithm can be directly used to improve the system performance.
Secondly, acquiring an original local oscillation frequency; the original local oscillator frequency is adjusted to obtain the target local oscillator frequency, the stepping requirement on a local oscillator chip is reduced, the local oscillator frequency can be greatly stepped to suppress decimal frequency division spurious, so that the phase noise of the local oscillator frequency is not affected, the system performance is not deteriorated due to the change of the local oscillator frequency, and the cost can be reduced.
And thirdly, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency, mainly carrying out analog frequency shift, wherein the digital frequency is mainly used for controlling the adjustment precision, so that the intermediate frequency bandwidth is basically not occupied, and the system performance is optimized. Because the precision is ensured by the digital frequency part, the frequency adjustment with higher precision can be realized, and the frequency precision of the local oscillation chip is not limited any more.
And finally, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency. The configuration method and the configuration precision of the base station frequency can be unified, and the base station frequency is not limited by different local oscillator chips.
EXAMPLE five
The present invention provides a base station frequency adjustment apparatus.
Referring to fig. 8, a structural diagram of a base station frequency adjustment apparatus according to an embodiment of the present invention is shown.
The apparatus may include: an original local oscillator frequency acquisition module 500, a target local oscillator frequency acquisition module 502, a digital intermediate frequency acquisition module 504, and a base station frequency adjustment module 506.
The target local oscillation frequency obtaining module 502 may include: an original frequency division value acquisition submodule 5021, a target frequency division value acquisition submodule 5022 and a target local oscillation frequency acquisition submodule 5023.
The target division value obtaining sub-module 5022 may include:
a quantization subunit 50221, an absolute value acquisition subunit 50222, and a target division value determination subunit 50223.
The functions of each module, each sub-module, and each sub-unit, and the relationships between each module, each sub-module, and each sub-unit are described in detail below.
An original local oscillator frequency obtaining module 500, configured to obtain an original local oscillator frequency.
A target local oscillation frequency obtaining module 502, configured to adjust the original local oscillation frequency to obtain a target local oscillation frequency.
Preferably, the target local oscillation frequency obtaining module 502 may include:
and the original frequency division value acquisition submodule 5021 is used for acquiring an original frequency division value according to the original local oscillation frequency, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency.
Preferably, the raw frequency division value obtaining submodule 5021 can be according to
Obtaining an original frequency division value;
wherein f isL01For the original local oscillator frequency, Div _ vco is the frequency division value, F, of the voltage-controlled oscillatorpfdFor the phase discrimination frequency, Divider is the original frequency division value, N is an integer part of the original frequency division value,for the fractional part of the original divider value, the variable DEN1 is assigned a fixed value Fpfd。
And the target frequency division value acquisition submodule 5022 is used for determining a target frequency division value according to the original frequency division value.
Preferably, the target division value acquisition submodule 5022 may include:
a quantization subunit 50221, configured to quantize the variable DEN1 to a preset value.
An absolute value obtaining subunit 50222, configured to obtain absolute values of M differences obtained by subtracting the fractional part of the frequency division value from M fractions of the quantized variable DEN 1; wherein M is an integer part of the preset value.
A target division value determining subunit 50223, configured to determine a fraction corresponding to the smallest absolute value of the absolute values of the M difference values, and determine the corresponding fraction as the target division value.
And the target local oscillator frequency acquisition submodule 5023 is used for acquiring the target local oscillator frequency according to the target frequency division value, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency.
A digital intermediate frequency obtaining module 504, configured to obtain a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency, and the fixed intermediate frequency.
Preferably, the digital intermediate frequency obtaining module 504 subtracts the fixed intermediate frequency from the cell center frequency after subtracting the target local oscillation frequency, so as to obtain a digital intermediate frequency.
And a base station frequency adjusting module 506, configured to adjust a base station frequency according to the target local oscillation frequency and the digital intermediate frequency.
In summary, according to the technical solution of the embodiment of the present invention, first, two ways of digital frequency shift and analog frequency shift are combined, a hardware platform does not need to be changed, only the algorithm for adjusting the frequency of the base station needs to be modified, the frequency adjustment of the base station can be optimized by upgrading software and firmware, and for the development of new products, the algorithm can be directly used to improve the system performance.
Secondly, acquiring an original local oscillation frequency; the original local oscillator frequency is adjusted to obtain the target local oscillator frequency, the stepping requirement on a local oscillator chip is reduced, the local oscillator frequency can be greatly stepped to suppress decimal frequency division spurious, so that the phase noise of the local oscillator frequency is not affected, the system performance is not deteriorated due to the change of the local oscillator frequency, and the cost can be reduced.
And thirdly, acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency, mainly carrying out analog frequency shift, wherein the digital frequency is mainly used for controlling the adjustment precision, so that the intermediate frequency bandwidth is basically not occupied, and the system performance is optimized. Because the precision is ensured by the digital frequency part, the frequency adjustment with higher precision can be realized, and the frequency precision of the local oscillation chip is not limited any more.
And finally, adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency. The configuration method and the configuration precision of the base station frequency can be unified, and the base station frequency is not limited by different local oscillator chips.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The method and apparatus for adjusting the frequency of a base station provided by the embodiments of the present invention are described in detail above, and the principle and the implementation manner of the present invention are explained in this document by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (8)
1. A method for adjusting a frequency of a base station, comprising:
acquiring an original local oscillation frequency;
adjusting the original local oscillation frequency to obtain a target local oscillation frequency, including: obtaining an original frequency division value according to the original local oscillation frequency, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency; determining a target frequency division value according to the original frequency division value; obtaining the target local oscillator frequency according to the target frequency division value, the voltage-controlled oscillator frequency division value and the phase discrimination frequency;
acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency;
and adjusting the frequency of the base station according to the target local oscillation frequency and the digital intermediate frequency.
2. The method of claim 1, wherein obtaining an original frequency division value according to the original local oscillator frequency, the vco frequency division value, and the phase detection frequency comprises:
according toObtaining an original frequency division value;
wherein f isL01For the original local oscillator frequency, Div _ vco is the frequency division value, F, of the voltage-controlled oscillatorpfdFor the phase discrimination frequency, Divider is the original frequency division value, N is an integer part of the original frequency division value,for the fractional part of the original divider value, the variable DEN1 is assigned a fixed value Fpfd。
3. The method of claim 2, wherein determining a target divider value from the original divider values comprises:
quantizing the variable DEN1 to a preset value;
obtaining M differences obtained by subtracting the decimal part of the original frequency division value from M fractions of the quantized variable DEN 1; wherein M is an integer part of the preset value;
determining a fraction corresponding to a smallest absolute value among the absolute values of the M differences, and determining the corresponding fraction as the target division value.
4. The method of claim 1, wherein obtaining the digital intermediate frequency from the target local oscillator frequency, the cell center frequency, and the fixed intermediate frequency comprises
And subtracting the fixed intermediate frequency after the target local oscillation frequency is subtracted from the cell center frequency to obtain the digital intermediate frequency.
5. A base station frequency adjustment apparatus, comprising:
the original local oscillator frequency acquisition module is used for acquiring an original local oscillator frequency;
a target local oscillation frequency obtaining module, configured to adjust the original local oscillation frequency to obtain a target local oscillation frequency, including: the original frequency division value acquisition submodule is used for acquiring an original frequency division value according to the original local oscillator frequency, the frequency division value of the voltage-controlled oscillator and the phase discrimination frequency; the target frequency division value acquisition submodule is used for determining a target frequency division value according to the original frequency division value; a target local oscillator frequency obtaining submodule, configured to obtain the target local oscillator frequency according to the target frequency division value, the frequency division value of the voltage-controlled oscillator, and the phase discrimination frequency;
the digital intermediate frequency acquisition module is used for acquiring a digital intermediate frequency according to the target local oscillation frequency, the cell center frequency and the fixed intermediate frequency;
and the base station frequency adjusting module is used for adjusting the base station frequency according to the target local oscillator frequency and the digital intermediate frequency.
6. The apparatus of claim 5, wherein the raw divider value obtaining submodule is based onObtaining an original frequency division value;
wherein f isL01For the original local oscillator frequency, Div _ vco is the frequency division value, F, of the voltage-controlled oscillatorpfdFor the phase discrimination frequency, Divider is the original frequency division value, N is an integer part of the original frequency division value,for the fractional part of the original divider value, the variable DEN1 is assigned a fixed value Fpfd。
7. The apparatus of claim 6, wherein the target division value obtaining submodule comprises:
a quantization subunit, configured to quantize the variable DEN1 to a preset value;
an absolute value obtaining subunit, configured to obtain absolute values of M differences obtained by subtracting fractional parts of the original frequency division value from M fractions of the quantized variable DEN 1; wherein M is an integer part of the preset value;
a target frequency division value determining subunit, configured to determine a fraction corresponding to a smallest absolute value of the absolute values of the M difference values, and determine the corresponding fraction as the target frequency division value.
8. The apparatus of claim 5, wherein the digital intermediate frequency obtaining module subtracts the fixed intermediate frequency from the cell center frequency after subtracting the target local oscillator frequency to obtain a digital intermediate frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779394.5A CN104540155B (en) | 2014-12-15 | 2014-12-15 | A kind of base station frequency method of adjustment and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779394.5A CN104540155B (en) | 2014-12-15 | 2014-12-15 | A kind of base station frequency method of adjustment and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104540155A CN104540155A (en) | 2015-04-22 |
CN104540155B true CN104540155B (en) | 2018-11-16 |
Family
ID=52855590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410779394.5A Active CN104540155B (en) | 2014-12-15 | 2014-12-15 | A kind of base station frequency method of adjustment and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104540155B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365350B (en) * | 2019-06-24 | 2021-11-16 | 成都振芯科技股份有限公司 | Method and device for enhancing adaptability of receiving channel orthogonal correction algorithm |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457991A (en) * | 2010-10-14 | 2012-05-16 | ***通信集团公司 | Base station equipment |
CN102457858A (en) * | 2010-10-19 | 2012-05-16 | ***通信集团公司 | Base station equipment |
CN102970030A (en) * | 2012-11-01 | 2013-03-13 | 南京国睿安泰信科技股份有限公司 | System for achieving spectrum analyzer down-conversion by using broadband local oscillator and high frequency phase discrimination |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080152049A1 (en) * | 2006-12-08 | 2008-06-26 | Texas Instruments Deutschland Gmbh | Digital audio broadcast receiver |
-
2014
- 2014-12-15 CN CN201410779394.5A patent/CN104540155B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457991A (en) * | 2010-10-14 | 2012-05-16 | ***通信集团公司 | Base station equipment |
CN102457858A (en) * | 2010-10-19 | 2012-05-16 | ***通信集团公司 | Base station equipment |
CN102970030A (en) * | 2012-11-01 | 2013-03-13 | 南京国睿安泰信科技股份有限公司 | System for achieving spectrum analyzer down-conversion by using broadband local oscillator and high frequency phase discrimination |
Also Published As
Publication number | Publication date |
---|---|
CN104540155A (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101304354B1 (en) | Duty cycle adjustment for a local oscillator signal | |
US20170085365A1 (en) | Calibration of dynamic error in high resolution digital-to-time converters | |
US11411567B2 (en) | Phase interpolation-based fractional-N sampling phase-locked loop | |
US20220278690A1 (en) | Methods and devices for tdc resolution improvement | |
JP2006115148A (en) | Dc offset calibration system | |
US20070259631A1 (en) | Radio Transmitter and a Method of Operating a Radio Transmitter | |
JP2006108844A (en) | Dc offset calibration system | |
CN104540155B (en) | A kind of base station frequency method of adjustment and device | |
Kladovščikov et al. | Self-tuning system for multistandard active RC filters | |
US8494100B2 (en) | Device and method for blocking-signal reduction | |
US8346188B2 (en) | Nonlinearity calibration scheme for a frequency modulation transmitter | |
CN105765867A (en) | Method and apparatus to calibrate frequency synthesizer | |
CN101834619B (en) | Emission system and method for reducing local oscillation leak power thereof | |
CN113364550B (en) | Clock adjusting method and device | |
US7860477B2 (en) | Self-calibrating filter | |
US20180241403A1 (en) | Multi-phase clock generation employing phase error detection in a controlled delay line | |
EP3379783B1 (en) | Zero-if radio receiver calibration parameter determination method and zero-if wireless receiver | |
US10581421B2 (en) | Phase detector | |
US20210265999A1 (en) | Apparatuses for generating an oscillation signal | |
WO2019024788A1 (en) | Signal processing method and communication chip structure | |
US11770129B2 (en) | Pipelined analog-to-digital conversion | |
US9106327B2 (en) | System and method for correcting integral nonlinearity in an oscillator system | |
US20180227153A1 (en) | Iterative frequency offset estimation in wireless networks | |
EP4401317A1 (en) | Analog-to-digital converter (adc) with background calibration | |
US20210258086A1 (en) | Software-defined configurable cloud-based rf test device and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |