CN109818636B - Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium - Google Patents

Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium Download PDF

Info

Publication number
CN109818636B
CN109818636B CN201910071834.4A CN201910071834A CN109818636B CN 109818636 B CN109818636 B CN 109818636B CN 201910071834 A CN201910071834 A CN 201910071834A CN 109818636 B CN109818636 B CN 109818636B
Authority
CN
China
Prior art keywords
gain
controlled oscillator
voltage
radio frequency
module
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
Application number
CN201910071834.4A
Other languages
Chinese (zh)
Other versions
CN109818636A (en
Inventor
陈法海
谢宇航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Priority to CN201910071834.4A priority Critical patent/CN109818636B/en
Publication of CN109818636A publication Critical patent/CN109818636A/en
Application granted granted Critical
Publication of CN109818636B publication Critical patent/CN109818636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

The present application relates to the field of communications, and in particular, to a method, an apparatus, a device, and a storage medium for automatically calibrating a gain of a voltage controlled oscillator. A method of automatically calibrating gain of a voltage controlled oscillator comprising: judging whether the current gain of the voltage-controlled oscillator needs to be calibrated or not according to a preset condition; if the current gain of the voltage-controlled oscillator needs to be calibrated, acquiring a frequency offset corresponding to a radio frequency channel, processing the frequency offset to obtain a calibration gain of the voltage-controlled oscillator, and configuring the calibration gain. The current gain of the voltage-controlled oscillator is automatically calibrated, the modulation performance of the radio frequency chip is improved, and even if the environment where the radio frequency chip is located changes, the calibration gain of the voltage-controlled oscillator can also ensure that the radio frequency chip has good modulation performance during working, so that the user experience is remarkably improved, and the success rate of modulation test in Bluetooth SIG test certification is also improved.

Description

Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, a device, and a storage medium for automatically calibrating a gain of a voltage controlled oscillator.
Background
When The environment of The radio frequency chip changes, The radio frequency performance of The radio frequency chip may be degraded, The current gain of a VCO (voltage-controlled oscillator) preset in The radio frequency chip may not ensure good radio frequency performance, especially modulation performance, thereby affecting user experience, and in addition, The success rate of a modulation test in Bluetooth sig (The Bluetooth Special Interest Group) test certification may not be ensured.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for automatically calibrating the gain of a voltage-controlled oscillator, aiming at the problem that the preset gain of a VCO (voltage controlled oscillator) in the prior art can not ensure good modulation performance.
A first aspect of embodiments of the present application provides a method of automatically calibrating a gain of a voltage controlled oscillator, comprising:
judging whether the current gain of the voltage-controlled oscillator needs to be calibrated or not according to a preset condition;
if the current gain of the voltage-controlled oscillator needs to be calibrated, acquiring a frequency offset corresponding to a radio frequency channel, processing the frequency offset to obtain a calibration gain of the voltage-controlled oscillator, and configuring the calibration gain.
In addition, with reference to the first aspect, in an implementation manner of the first aspect, the determining whether the current gain of the voltage controlled oscillator needs to be calibrated according to a preset condition includes:
when a preset time condition is met, determining that the current gain of the voltage-controlled oscillator needs to be calibrated; or
When the ambient temperature is not in a preset temperature range or the variation of the ambient temperature exceeds a temperature variation threshold, determining that the current gain of the voltage-controlled oscillator needs to be calibrated; or
And when the received data packet of the radio frequency chip meets the preset condition of the received data packet, determining that the current gain of the voltage-controlled oscillator needs to be calibrated.
In addition, with reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the receiving a packet preset condition includes:
the CRC error of the received data packet exceeds a CRC error threshold or the increment of the CRC error exceeds a CRC error increment threshold; or
Receiving a length error of the data packet exceeding a length error threshold or an increase amount of the length error exceeding a length error increase threshold; or
The sync word error of the received data packet exceeds the sync word error threshold or the incremental amount of sync word errors exceeds the sync word error incremental threshold.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the processing the frequency offset to obtain a calibration gain of the voltage controlled oscillator includes:
and performing linear fitting on the frequency offset to obtain a calibration gain of the voltage-controlled oscillator, wherein the calibration gain comprises one or two of voltage-controlled gain and tuning gain.
In addition, with reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, before acquiring the frequency offset corresponding to the radio frequency channel, the method includes:
selecting a radio frequency channel;
and selecting the PHY types of the physical layers corresponding to the radio frequency channels, wherein the PHY types comprise 1MPHY and 2MPHY, and the PHY types corresponding to all the radio frequency channels are the same.
In addition, with reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the performing linear fitting on the frequency offset to obtain a calibration gain of the voltage controlled oscillator includes:
Figure BDA0001957515030000021
in the above-mentioned formula,
Figure BDA0001957515030000022
from XnIs calculated to obtain XnIs the frequency offset corresponding to the radio frequency channel n, the radio frequency channel n is the nth radio frequency channel, n is an integer, fPLLFor phase-locked loop PLL frequency, GainnFor the calibration gain of the voltage-controlled oscillator corresponding to the radio frequency channel n, Gcorr is a first fitting parameter, Gcorr is a positive number, Factor is an exponential fitting parameter, and Factor is a non-negative integer.
With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect,
Figure BDA0001957515030000031
from XnThe calculation includes:
Figure BDA0001957515030000032
with reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect,
Figure BDA0001957515030000033
from XnThe calculation includes:
Figure BDA0001957515030000034
in the above formula, m is an integer and m is the total number of radio frequency channels.
With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect,
Figure BDA0001957515030000035
from XnThe calculation includes:
Figure BDA0001957515030000036
in the formula, n is more than or equal to 0 and less than or equal to (m-1), m is an integer, m is the total number of radio frequency channels,
Figure BDA0001957515030000037
(j is more than or equal to 0 and less than or equal to (m-1-a-b)) is obtained by cutting a frequency offsets and b minimum frequency offsets from the frequency offsets corresponding to all radio frequency channels, a is more than or equal to 0 and less than or equal to (m-1), b is more than or equal to 0 and less than or equal to (m-1), and (a + b) < m, wherein a and b are integers.
A second aspect of embodiments of the present application provides an apparatus for automatically calibrating a gain of a voltage controlled oscillator, comprising:
the judging module is used for judging whether the current gain of the voltage-controlled oscillator needs to be calibrated or not according to preset conditions;
the calibration module is used for calibrating the current gain of the voltage-controlled oscillator if the current gain of the voltage-controlled oscillator needs to be calibrated;
the calibration module comprises an offset acquisition module, an offset processing module and a gain configuration module;
the offset acquisition module is used for acquiring frequency offset corresponding to a radio frequency channel;
the offset processing module is used for processing the frequency offset to obtain the calibration gain of the voltage-controlled oscillator;
the gain configuration module is used for configuring the calibration gain.
In addition, with reference to the second aspect, in an implementation manner of the second aspect, the determining module includes:
the time judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when a preset time condition is met; or
The temperature judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when the ambient temperature is not in a preset temperature interval or the variation of the ambient temperature exceeds a temperature variation threshold; or
And the data packet judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when the received data packet of the radio frequency chip meets the preset condition of the received data packet.
In addition, with reference to the second aspect and the foregoing implementation manner of the second aspect, in another implementation manner of the second aspect, the receiving a packet preset condition includes:
the CRC error of the received data packet exceeds a CRC error threshold or the increment of the CRC error exceeds a CRC error increment threshold; or
Receiving a length error of the data packet exceeding a length error threshold or an increase amount of the length error exceeding a length error increase threshold; or
The sync word error of the received data packet exceeds the sync word error threshold or the incremental amount of sync word errors exceeds the sync word error incremental threshold.
In addition, with reference to the second aspect and the foregoing implementation manner of the second aspect, in another implementation manner of the second aspect, the offset processing module includes:
and the fitting module is used for performing linear fitting on the frequency offset to obtain the calibration gain of the voltage-controlled oscillator, wherein the calibration gain comprises one or two of voltage-controlled gain and tuning gain.
In addition, with reference to the second aspect and the foregoing implementation manner of the second aspect, in another implementation manner of the second aspect, the apparatus further includes:
the channel selection module is used for selecting a radio frequency channel;
and the PHY type selection module is used for selecting the PHY types of the physical layers corresponding to the radio frequency channels, the PHY types comprise 1MPHY and 2MPHY, and the PHY types corresponding to all the radio frequency channels selected by the PHY type selection module are the same.
In addition, with reference to the second aspect and the foregoing implementation manner of the second aspect, in another implementation manner of the second aspect, the equation for obtaining the calibration gain of the voltage controlled oscillator by the fitting module is:
Figure BDA0001957515030000051
the fitting module further comprises
Figure BDA0001957515030000052
A calculation module for calculating the time-of-flight,
Figure BDA0001957515030000053
computing module for use by XnIs calculated to obtain
Figure BDA0001957515030000054
In the above formula, XnIs the frequency offset corresponding to the radio frequency channel n, the radio frequency channel n is the nth radio frequency channel, n is an integer, fPLLFor phase-locked loop PLL frequency, GainnAnd the gain of the voltage-controlled oscillator corresponding to the radio frequency channel n is shown, Gcorr is a first fitting parameter, Gcorr is a positive number, Factor is an exponential fitting parameter, and Factor is a non-negative integer.
In addition, with reference to the second aspect and the above-mentioned implementation manner thereof, in another implementation manner of the second aspect,
Figure BDA0001957515030000055
calculated by the calculation module
Figure BDA0001957515030000056
The formula of (1) is:
Figure BDA0001957515030000057
in addition, with reference to the second aspect and the above-mentioned implementation manner thereof, in another implementation manner of the second aspect,
Figure BDA0001957515030000058
calculated by the calculation module
Figure BDA0001957515030000059
The formula of (1) is:
Figure BDA00019575150300000510
in the above formula, m is an integer and m is the total number of radio frequency channels.
In addition, with reference to the second aspect and the above-mentioned implementation manner thereof, in another implementation manner of the second aspect,
Figure BDA00019575150300000511
calculated by the calculation module
Figure BDA00019575150300000512
The formula of (1) is:
Figure BDA00019575150300000513
in the formula, n is more than or equal to 0 and less than or equal to (m-1), m is an integer, m is the total number of radio frequency channels,
Figure BDA00019575150300000514
(j is more than or equal to 0 and less than or equal to (m-1-a-b)) is obtained by cutting a frequency offsets and b minimum frequency offsets from the frequency offsets corresponding to all radio frequency channels, a is more than or equal to 0 and less than or equal to (m-1), b is more than or equal to 0 and less than or equal to (m-1), and (a + b) < m, wherein a and b are integers.
A third aspect of embodiments of the present application provides an apparatus for automatically calibrating a gain of a voltage controlled oscillator, comprising: a memory and a processor;
the memory is coupled with the processor;
a memory for storing program instructions;
a processor for invoking program instructions stored by the memory for causing the apparatus to perform the method of automatically calibrating a gain of a voltage controlled oscillator of the first aspect.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium comprising: on which a computer program is stored, characterized in that the computer program, when being executed by a processor, is adapted to carry out the method of automatically calibrating the gain of a voltage controlled oscillator of the first aspect as described above.
Compared with the prior art, the beneficial effects of the embodiment of the application lie in that: the embodiment of the application provides a method, a device, equipment and a storage medium for automatically calibrating the gain of a voltage-controlled oscillator, the current gain of the voltage-controlled oscillator is automatically calibrated, the modulation performance of a radio frequency chip is improved, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can also ensure that the radio frequency chip has good modulation performance during working, so that the user experience is remarkably improved, and the success rate of modulation tests in Bluetooth SIG test certification is also improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flow chart of a method of automatically calibrating a gain of a voltage controlled oscillator according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus for automatically calibrating a gain of a voltage-controlled oscillator according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, some embodiments of the present application will be described in detail by way of example with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that in the examples, numerous technical details are set forth in order to provide a better understanding of the present application. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The bluetooth radio frequency technology is a wireless communication technology which ensures reliable receiving and information security at a short distance. When the environment where the radio frequency chip is located changes, for example, the temperature and the humidity change, the radio frequency performance of the radio frequency chip may be reduced, especially the modulation performance, so that the user experience is affected, in addition, the success rate of the Bluetooth SIG test authentication cannot be ensured, especially the radio frequency consistency test in the Bluetooth SIG test authentication, which is a key point and a difficult point in the Bluetooth SIG test process, and because the preset configuration parameters cannot ensure that the radio frequency performance of each radio frequency channel meets the requirements, the radio frequency consistency test often fails in the authentication test process.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for automatically calibrating a gain of a voltage controlled oscillator according to an embodiment of the present disclosure. The method comprises the following steps:
s100: judging whether the current gain of the voltage-controlled oscillator needs to be calibrated or not according to a preset condition;
if the current gain of the voltage-controlled oscillator needs to be calibrated, executing S101 to S103:
s101: acquiring a frequency offset corresponding to a radio frequency channel;
s102: processing the frequency offset to obtain the calibration gain of the voltage-controlled oscillator;
s103: and configuring a calibration gain.
In S100, a preset condition is set by a user according to the modulation performance of the radio frequency chip, and when the modulation performance of the radio frequency chip does not meet the user requirement, the current gain of the voltage-controlled oscillator is calibrated, which is not limited in this embodiment; if the current gain of the VCO does not need to be calibrated after the step S100 is executed, continuing to use the initially set current gain of the VCO; if the current gain of the VCO needs to be calibrated, performing calibration operation, wherein the calibration operation comprises S101 to S103, in order to calibrate the current gain of the VCO, a frequency offset corresponding to a radio frequency channel needs to be acquired, the frequency offset is processed to obtain a calibration gain of the VCO, and then the calibration gain is configured, and configuring the calibration gain can be understood as updating the current gain of the VCO by using the calibration gain; specifically, the calibration gain can be configured in two ways, the first way is to write the calibration gain of the VCO into an internal storage unit of the radio frequency chip, and when the radio frequency chip works, the radio frequency chip acquires the calibration gain of the VCO from the corresponding internal storage unit; the second way is to establish links of different PHY types according to the different PHY types, and the rf chip obtains the calibration gain of the VCO through the link of the PHY type, thereby achieving the purpose of configuring the calibration gain.
The embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation.
Based on the disclosure of the foregoing embodiment, optionally, the determining whether the current gain of the voltage-controlled oscillator needs to be calibrated according to the preset condition includes:
when a preset time condition is met, determining that the current gain of the voltage-controlled oscillator needs to be calibrated; or
When the ambient temperature is not in a preset temperature range or the variation of the ambient temperature exceeds a temperature variation threshold, determining that the current gain of the voltage-controlled oscillator needs to be calibrated; or
And when the received data packet of the radio frequency chip meets the preset condition of the received data packet, determining that the current gain of the voltage-controlled oscillator needs to be calibrated.
When judging whether the current gain of the VCO needs to be calibrated, the preset time condition may be that the current gain is calibrated at intervals, and the current gain is calibrated at intervals, so that the modulation performance can be monitored at regular time, and the current gain is ensured to be calibrated in time, which does not limit the time interval; because the modulation performance is affected when the ambient temperature exceeds the adaptive temperature of the radio frequency chip or the ambient temperature changes too much, when the ambient temperature is not within a preset temperature interval or the variation of the ambient temperature exceeds a temperature change threshold, calibrating the current gain of the VCO can also improve the modulation performance, the preset temperature interval is determined according to a specific temperature interval in which the radio frequency chip normally works, the variation of the ambient temperature can be determined according to the modulation performance of the radio frequency chip in working at different temperatures, and this embodiment does not limit this; when a received data packet of the radio frequency chip meets a preset condition of the received data packet, the modulation performance of the radio frequency chip cannot meet the requirement, so that the current gain of the VCO needs to be calibrated;
the embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation.
Based on the disclosure of the foregoing embodiment, optionally, the preset condition for receiving the data packet includes:
the CRC error of the received data packet exceeds a CRC error threshold or the increment of the CRC error exceeds a CRC error increment threshold; or
Receiving a length error of the data packet exceeding a length error threshold or an increase amount of the length error exceeding a length error increase threshold; or
The sync word error of the received data packet exceeds the sync word error threshold or the incremental amount of sync word errors exceeds the sync word error incremental threshold.
Bluetooth radio technology requires that commands or data be packetized into packets in a specific format for wireless transmission between different devices. The data packet includes: preamble (Preamble), Access Address (Access Address), Protocol Data Unit (PDU), and CRC; when a Cyclic Redundancy Check (CRC) error of a received data packet exceeds a CRC error threshold or an increment of the CRC error exceeds a CRC error increase threshold, the modulation performance of the radio frequency chip may be decreased, and the current gain of the VCO needs to be calibrated, where the CRC error threshold and the CRC error increase threshold may be determined according to an influence of the CRC error on the modulation performance of the radio frequency chip, which is not limited in this embodiment; the PDU includes length data of a received data packet, when a length error of the received data packet exceeds a length error threshold or an increment of the length error exceeds a length error increment threshold, a modulation performance of the radio frequency chip may be decreased, and a current gain of the VCO needs to be calibrated, where the length error threshold and the length error increment threshold may be determined according to an influence of the length error of the received data packet on the modulation performance of the radio frequency chip, which is not limited in this embodiment; the preamble includes sync word data of the received data packet, when a sync word error of the received data packet exceeds a sync word error threshold or an increment of the sync word error exceeds a sync word error increment threshold, the modulation performance of the radio frequency chip may be degraded, and the current gain of the VCO needs to be calibrated.
The embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation.
Based on the disclosure of the foregoing embodiment, optionally, the processing the frequency offset to obtain the calibration gain of the voltage-controlled oscillator includes:
and performing linear fitting on the frequency offset to obtain a calibration gain of the voltage-controlled oscillator, wherein the calibration gain comprises one or two of voltage-controlled gain and tuning gain.
The current gain of the VCO is calibrated according to the frequency offset through linear fitting, the modulation performance of the radio frequency chip can be further improved, one or two of the current voltage-controlled gain and the tuning gain of the VCO can be calibrated, and the current voltage-controlled gain or the tuning gain is updated after the calibrated voltage-controlled gain or the tuned gain is obtained; the current voltage-controlled gain of the VCO is calibrated according to the frequency offset through linear fitting, the current tuning gain of the VCO is calibrated according to the frequency offset through linear fitting, or the current voltage-controlled gain and the tuning gain of the VCO are calibrated together according to the frequency offset through linear fitting, and the calibrated voltage-controlled gain or tuning gain can further improve the modulation performance of the radio frequency chip, so that the user experience is remarkably improved.
Based on the disclosure of the foregoing embodiment, optionally, before obtaining the frequency offset corresponding to the radio frequency channel, the method includes:
selecting a radio frequency channel;
and selecting the PHY types of the physical layers corresponding to the radio frequency channels, wherein the PHY types comprise 1MPHY and 2MPHY, and the PHY types corresponding to all the radio frequency channels are the same.
After the bluetooth chip is powered on, initialization is performed, including initialization of radio frequency configuration parameters, the radio frequency chip may send a signal according to a modulation and demodulation working mode of the bluetooth, and after the working mode is set, a PLL frequency of the radio frequency chip also needs to be configured, where the PLL frequency may be configured to 4MHz, 8MHz, 16MHz, 64MHz, or other frequencies, which is not limited in this embodiment. In order to improve the modulation performance of each radio frequency channel, the current gain of the VCO needs to be calibrated for each radio frequency channel according to the characteristics of each radio frequency channel. If the current gain of the VCO needs to be calibrated, first obtaining a frequency offset corresponding to a radio frequency channel, before obtaining the frequency offset corresponding to the radio frequency channel, selecting a radio frequency channel in which a radio frequency chip operates, and then selecting a physical layer PHY type corresponding to the radio frequency channel, where the PHY types include 1MPHY and 2MPHY, and the PHY types corresponding to all the selected radio frequency channels are the same. Assuming that the radio frequency chip is configured to operate in the radio frequency channel 0, the present embodiment does not limit the total number of the used radio frequency channels, when 40 radio frequency channels are used, the operating frequency of the radio frequency channel 0 is 2.402GHz, the operating frequency calculation formula of the kth radio frequency channel is f 2402+ k × 2MHz (k is 0, … …, and 39), the PHY type corresponding to all the radio frequency channels may be selected to be 1MPHY, and then the current gain of the VCO corresponding to the radio frequency channel may be calibrated; after the radio frequency chip works for a preset time period, the register may be read to obtain the frequency offset corresponding to the radio frequency channel 0, the preset time period is not limited in this embodiment, and the frequency offset corresponding to the radio frequency channel 0 may also be obtained through direct testing. The embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation. Based on the disclosure of the foregoing embodiment, optionally, the performing linear fitting on the frequency offset to obtain the calibration gain of the voltage controlled oscillator includes:
Figure BDA0001957515030000111
in the above-mentioned formula,
Figure BDA0001957515030000121
from XnIs calculated to obtain XnIs the frequency offset corresponding to the radio frequency channel n, the radio frequency channel n is the nth radio frequency channel, n is an integer, fPLLFor phase-locked loop PLL frequency, GainnFor the calibration gain of the voltage-controlled oscillator corresponding to the radio frequency channel n, Gcorr is a first fitting parameter, Gcorr is a positive number, Factor is an exponential fitting parameter, and Factor is a non-negative integer.
For the
Figure BDA0001957515030000122
Is composed of XnIt is calculated that, specifically, in the present embodiment,
Figure BDA0001957515030000123
only with XnIn this regard, Gcorr and Factor are both fitting parameters, GainnAnd
Figure BDA0001957515030000124
in an inversely proportional relationship. When the PLL frequency is 4MHz, when the PHY type corresponding to the channel is 1MPHY, the Gcorr may be 1.2, 1.21, 1.35, 1.4, or any other positive number, and the Gcorr may be a decimal or an integer, which is not limited in this embodiment, and the Factor may be any non-negative integer, such as 0, 1, 2, 3, 4, 5, 6, and 7 … …, which is not limited in this embodiment; when the PHY type corresponding to the channel is 2MPHY, the Gcorr may be 1.2, 1.21, 1.35, 1.4, or any other positive number, which is not limited in this embodiment, and the Factor may also be any non-negative integer, such as 0, 1, 2, 3, 4, 5, 6, and 7 … …, which is not limited in this embodiment; the first fitting parameter Gcorr is determined according to an influence of the first fitting parameter Gcorr on the actual modulation performance of the radio frequency chip, and the exponential fitting parameter Factor is determined according to an influence of the exponential fitting parameter Factor on the actual modulation performance of the radio frequency chip.
The embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation.
Based on the disclosure of the above-described embodiments, it is possible, alternatively,
Figure BDA0001957515030000125
from XnThe calculation includes:
Figure BDA0001957515030000126
in this embodiment, the frequency offset X corresponding to the radio frequency channel n may be directly usednSpecifically, when the PLL frequency is 4MHz, assuming that the first fitting parameter Gcorr after fitting is 1.35 and the exponential fitting parameter Factor is 0, the calibration gain of the voltage-controlled oscillator may be calculated by the following formula:
Figure BDA0001957515030000131
it should be noted that the specific data and the above formula listed in this embodiment are only exemplary, and in practical use, those skilled in the art can calculate the calibration gain of the VCO by using other data or a modification of the formula with reference to the scheme of the embodiment of the present application without any inventive effort.
The embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation. Based on the above embodimentThe disclosure herein, in the alternative,
Figure BDA0001957515030000132
from XnThe calculation includes:
Figure BDA0001957515030000133
in the above formula, m is an integer and m is the total number of radio frequency channels. Unlike the above embodiments, in the present embodiment, only two frequency offsets X need to be obtainedm-1And X0The calibration gain of the voltage-controlled oscillator can be obtained through linear fitting without acquiring the frequency offset of other radio frequency channels. Specifically, when the total number m of radio frequency channels is 40 and the PLL frequency is 4MHz, assuming that the first fitting parameter Gcorr after fitting is 1.4 and the exponential fitting parameter Factor is 7, the calibration gain of the voltage-controlled oscillator may be calculated by the following formula:
Figure BDA0001957515030000134
it should be noted that the specific data and the above formula listed in this embodiment are only exemplary, and in practical use, those skilled in the art can calculate the calibration gain of the VCO by using other data or a modification of the formula with reference to the scheme of the embodiment of the present application without any inventive effort.
The embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation.
Based on the disclosure of the above-described embodiments, it is possible, alternatively,
Figure BDA0001957515030000141
from XnThe calculation includes:
Figure BDA0001957515030000142
in the formula, n is more than or equal to 0 and less than or equal to (m-1), m is an integer, m is the total number of radio frequency channels,
Figure BDA0001957515030000143
(0 ≦ j ≦ (m-1-a-b)) obtained by truncating a maximum frequency offset and b minimum frequency offsets from the frequency offsets corresponding to all radio frequency channels, a ≦ 0 ≦ (m-1), b ≦ 0 ≦ m-1, and (a + b) < m, a and b being integers. Different from the foregoing embodiments, in this embodiment, it is further required to compare the frequency offsets corresponding to all the radio frequency channels, truncate a maximum frequency offset and b minimum frequency offsets, and then average the remaining frequency offsets
Figure BDA0001957515030000144
Are all the same. The embodiment provides a method for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation.
An embodiment of the present invention may further provide an apparatus for automatically calibrating a gain of a voltage-controlled oscillator, configured to perform the method for automatically calibrating a gain of a voltage-controlled oscillator proposed in the foregoing embodiment, where fig. 2 is a schematic structural diagram of the apparatus for automatically calibrating a gain of a voltage-controlled oscillator provided in this embodiment, the apparatus may perform the method shown in fig. 1, and as shown in fig. 2, the apparatus 20 for automatically calibrating a gain of a voltage-controlled oscillator includes:
the judging module 21 is configured to judge whether the current gain of the voltage-controlled oscillator needs to be calibrated according to a preset condition;
and a calibration module 22, configured to calibrate the current gain of the voltage-controlled oscillator if the current gain of the voltage-controlled oscillator needs to be calibrated;
the calibration module 22 includes an offset obtaining module 221, an offset processing module 222 and a gain configuration module 223;
the offset obtaining module 221 is configured to obtain a frequency offset corresponding to a radio frequency channel;
the offset processing module 222 is configured to process the frequency offset to obtain a calibration gain of the voltage controlled oscillator;
the gain configuration module 223 is used to configure the calibration gain.
Optionally, the determining module includes:
the time judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when a preset time condition is met; or
The temperature judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when the ambient temperature is not in a preset temperature interval or the variation of the ambient temperature exceeds a temperature variation threshold; or
And the data packet judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when the received data packet of the radio frequency chip meets the preset condition of the received data packet.
Optionally, the preset conditions for receiving the data packet include:
the CRC error of the received data packet exceeds a CRC error threshold or the increment of the CRC error exceeds a CRC error increment threshold; or
Receiving a length error of the data packet exceeding a length error threshold or an increase amount of the length error exceeding a length error increase threshold; or
The sync word error of the received data packet exceeds the sync word error threshold or the incremental amount of sync word errors exceeds the sync word error incremental threshold.
Optionally, the offset processing module includes:
and the fitting module is used for performing linear fitting on the frequency offset to obtain the calibration gain of the voltage-controlled oscillator, wherein the calibration gain comprises one or two of voltage-controlled gain and tuning gain.
Optionally, the apparatus further comprises:
the channel selection module is used for selecting a radio frequency channel;
and the PHY type selection module is used for selecting the PHY types of the physical layers corresponding to the radio frequency channels, the PHY types comprise 1MPHY and 2MPHY, and the PHY types corresponding to all the radio frequency channels selected by the PHY type selection module are the same.
Optionally, the formula for obtaining the calibration gain of the voltage-controlled oscillator by the fitting module is as follows:
Figure BDA0001957515030000151
the fitting module further comprises
Figure BDA0001957515030000152
A calculation module for calculating the time-of-flight,
Figure BDA0001957515030000153
computing module for use by XnIs calculated to obtain
Figure BDA0001957515030000154
In the above formula, XnIs the frequency offset corresponding to the radio frequency channel n, the radio frequency channel n is the nth radio frequency channel, n is an integer, fPLLFor phase-locked loop PLL frequency, GainnAnd the gain of the voltage-controlled oscillator corresponding to the radio frequency channel n is shown, Gcorr is a first fitting parameter, Gcorr is a positive number, Factor is an exponential fitting parameter, and Factor is a non-negative integer.
Alternatively to this, the first and second parts may,
Figure BDA0001957515030000161
calculated by the calculation module
Figure BDA0001957515030000162
The formula of (1) is:
Figure BDA0001957515030000163
alternatively to this, the first and second parts may,
Figure BDA0001957515030000164
calculated by the calculation module
Figure BDA0001957515030000165
The formula of (1) is:
Figure BDA0001957515030000167
in the above formula, m is an integer and m is the total number of radio frequency channels.
Alternatively to this, the first and second parts may,
Figure BDA0001957515030000168
calculated by the calculation module
Figure BDA0001957515030000169
The formula of (1) is:
Figure BDA00019575150300001610
in the formula, n is more than or equal to 0 and less than or equal to (m-1), m is an integer, m is the total number of radio frequency channels,
Figure BDA00019575150300001611
(j is more than or equal to 0 and less than or equal to (m-1-a-b)) is obtained by cutting a frequency offsets and b minimum frequency offsets from the frequency offsets corresponding to all radio frequency channels, a is more than or equal to 0 and less than or equal to (m-1), b is more than or equal to 0 and less than or equal to (m-1), and (a + b) < m, wherein a and b are integers.
The embodiment provides a device for automatically calibrating the gain of a voltage-controlled oscillator, which improves the modulation performance of a radio frequency chip by automatically calibrating the current gain of the voltage-controlled oscillator, and even if the environment where the radio frequency chip is located changes, the calibrated gain of the voltage-controlled oscillator can ensure that the radio frequency chip has good modulation performance when in operation.
The embodiment of the present application may further provide an apparatus for performing the method for automatically calibrating the gain of the voltage-controlled oscillator according to the above embodiment, as shown in fig. 3, where the apparatus 30 includes: a memory 31 and a processor 32;
the memory 31 is coupled to the processor 32;
a memory 31 for storing program instructions;
a processor 32 for invoking program instructions stored in the memory to cause the apparatus to perform any of the methods of automatically calibrating the gain of a voltage controlled oscillator.
The apparatus provided in the embodiment of the present application may implement the method for automatically calibrating the gain of the voltage-controlled oscillator according to any one of the embodiments described above, and specific implementation processes and beneficial effects thereof are described above, and are not described herein again.
Embodiments of the application may also provide a computer readable storage medium having stored thereon a computer program which, when executed by the processor 32, implements any method of automatically calibrating the gain of a voltage controlled oscillator performed by the apparatus.
The computer-readable storage medium provided in the embodiments of the present application may implement the method for automatically calibrating the gain of the voltage-controlled oscillator provided in any one of the embodiments described above, and specific implementation processes and beneficial effects thereof are described above and are not described herein again.
While this patent document contains many specifics, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of particular inventions. Certain features that are described in this patent document can also be implemented in combination in a single embodiment, in the context of separate embodiments. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Moreover, the various individual system components in the embodiments described in this patent document are not to be construed as requiring such separation in all embodiments.
This patent document describes only a few implementations and examples, and other implementations, enhancements, and variations can be made based on what is described and illustrated in this patent document.
It should be noted that the above method embodiments of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be understood that in the embodiment of the present application, "B corresponding to a" means that B is associated with a, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (18)

1. A method for automatically calibrating gain of a voltage controlled oscillator, comprising:
judging whether the current gain of the voltage-controlled oscillator needs to be calibrated or not according to a preset condition;
if the current gain of the voltage-controlled oscillator needs to be calibrated, acquiring a frequency offset corresponding to a radio frequency channel, performing linear fitting on the frequency offset to obtain a calibration gain of the voltage-controlled oscillator, and configuring the calibration gain;
wherein the content of the first and second substances,
Figure FDA0002684033000000011
in the above formula, the
Figure FDA0002684033000000012
From XnIs calculated to obtain the XnIs a radio frequencyThe frequency offset corresponding to the channel n, the radio frequency channel n is the nth radio frequency channel, n is an integer, and f isPLLFor phase-locked loop PLL frequency, the GainnAnd for the calibration gain of the voltage-controlled oscillator corresponding to the radio frequency channel n, the Gcorr is a first fitting parameter, the Gcorr is a positive number, the Factor is an exponential fitting parameter, and the Factor is a non-negative integer.
2. The method of claim 1, wherein the determining whether the current gain of the voltage controlled oscillator needs to be calibrated according to the preset condition comprises:
when a preset time condition is met, determining that the current gain of the voltage-controlled oscillator needs to be calibrated; or
When the ambient temperature is not within a preset temperature range or the variation of the ambient temperature exceeds a temperature variation threshold, determining that the current gain of the voltage-controlled oscillator needs to be calibrated; or
And when a received data packet of the radio frequency chip meets a received data packet preset condition, determining that the current gain of the voltage-controlled oscillator needs to be calibrated.
3. The method of claim 2, wherein the receiving the packet preset condition comprises:
a cyclic redundancy check, CRC, error of the received data packet exceeds a CRC error threshold or an incremental amount of the CRC errors exceeds a CRC error incremental threshold; or
The length error of the received data packet exceeds a length error threshold or the increment of the length error exceeds a length error increment threshold; or
The sync word error of the received data packet exceeds a sync word error threshold or the incremental amount of sync word errors exceeds a sync word error incremental threshold.
4. The method of automatically calibrating the gain of a voltage controlled oscillator according to any one of claims 1 to 3, wherein the calibration gain comprises one or both of a voltage controlled gain and a tuning gain.
5. The method of claim 4, wherein the obtaining the frequency offset corresponding to the radio frequency channel comprises:
selecting the radio frequency channel;
and selecting a physical layer (PHY) type corresponding to the radio frequency channel, wherein the PHY type comprises a 1MPHY and a 2MPHY, and the PHY types corresponding to all the radio frequency channels are the same.
6. The method of automatically calibrating gain of a voltage controlled oscillator according to any of claims 1 to 3, wherein said method is characterized in that
Figure FDA0002684033000000021
From XnThe calculation includes:
Figure FDA0002684033000000022
7. the method of automatically calibrating gain of a voltage controlled oscillator according to any of claims 1 to 3, wherein said method is characterized in that
Figure FDA0002684033000000023
From XnThe calculation includes:
Figure FDA0002684033000000024
in the above formula, m is an integer, and m is the total number of the radio frequency channels.
8. Root of herbaceous plantMethod for automatically calibrating the gain of a voltage controlled oscillator according to any of claims 1 to 3, characterized in that said method is characterized in that
Figure FDA0002684033000000025
From XnThe calculation includes:
Figure FDA0002684033000000026
in the above formula, n is greater than or equal to 0 and less than or equal to (m-1), m is an integer, m is the total number of the radio frequency channels, and
Figure FDA0002684033000000027
a maximum frequency offset and b minimum frequency offsets are truncated from the frequency offsets corresponding to all the radio frequency channels, a is greater than or equal to 0 and less than or equal to (m-1), b is greater than or equal to 0 and less than or equal to (m-1), and (a + b)<m, a and b are integers.
9. An apparatus for automatically calibrating a gain of a voltage controlled oscillator, comprising:
the judging module is used for judging whether the current gain of the voltage-controlled oscillator needs to be calibrated or not according to preset conditions;
the calibration module is used for calibrating the current gain of the voltage-controlled oscillator if the current gain of the voltage-controlled oscillator needs to be calibrated;
the calibration module comprises an offset acquisition module, a fitting module and a gain configuration module;
the offset acquisition module is used for acquiring frequency offset corresponding to a radio frequency channel;
the fitting module is used for performing linear fitting on the frequency offset to obtain the calibration gain of the voltage-controlled oscillator;
the gain configuration module is used for configuring the calibration gain;
wherein the content of the first and second substances,
Figure FDA0002684033000000031
the fitting module further comprises
Figure FDA0002684033000000032
A computing module, said
Figure FDA0002684033000000033
Computing module for use by XnIs calculated to obtain
Figure FDA0002684033000000034
In the above formula, XnThe frequency offset corresponding to a radio frequency channel n is the nth radio frequency channel, n is an integer, fPLLFor phase-locked loop PLL frequency, the GainnFor the gain of the voltage-controlled oscillator corresponding to the radio frequency channel n, the Gcorr is a first fitting parameter, the Gcorr is a positive number, the Factor is an exponential fitting parameter, and the Factor is a non-negative integer.
10. The apparatus of claim 9, wherein the determining module comprises:
the time judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when a preset time condition is met; or
The temperature judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when the ambient temperature is not within a preset temperature interval or the variation of the ambient temperature exceeds a temperature variation threshold; or
And the data packet judgment module is used for determining that the current gain of the voltage-controlled oscillator needs to be calibrated when a received data packet of the radio frequency chip meets a received data packet preset condition.
11. The apparatus of claim 10, wherein the receive packet default condition comprises:
a cyclic redundancy check, CRC, error of the received data packet exceeds a CRC error threshold or an incremental amount of the CRC errors exceeds a CRC error incremental threshold; or
The length error of the received data packet exceeds a length error threshold or the increment of the length error exceeds a length error increment threshold; or
The sync word error of the received data packet exceeds a sync word error threshold or the incremental amount of sync word errors exceeds a sync word error incremental threshold.
12. The apparatus of any of claims 9 to 11, wherein the calibration gain comprises one or both of a voltage controlled gain and a tuning gain.
13. The apparatus for automatically calibrating gain of a voltage controlled oscillator according to claim 12, further comprising:
a channel selection module for selecting the radio frequency channel;
and the PHY type selection module is used for selecting the PHY types of the physical layers corresponding to the radio frequency channels, the PHY types comprise 1MPHY and 2MPHY, and the PHY types corresponding to all the radio frequency channels selected by the PHY type selection module are the same.
14. The apparatus of any of claims 9 to 11, wherein the apparatus is configured to automatically calibrate the gain of the voltage controlled oscillator
Figure FDA0002684033000000041
Calculated by the calculation module
Figure FDA0002684033000000042
The formula of (1) is:
Figure FDA0002684033000000043
15. the apparatus of any of claims 9 to 11, wherein the apparatus is configured to automatically calibrate the gain of the voltage controlled oscillator
Figure FDA0002684033000000044
Calculated by the calculation module
Figure FDA0002684033000000045
The formula of (1) is:
Figure FDA0002684033000000046
in the above formula, m is an integer, and m is the total number of the radio frequency channels.
16. The apparatus of any of claims 9 to 11, wherein the apparatus is configured to automatically calibrate the gain of the voltage controlled oscillator
Figure FDA0002684033000000047
Calculated by the calculation module
Figure FDA0002684033000000048
The formula of (1) is:
Figure FDA0002684033000000049
in the above formula, n is greater than or equal to 0 and less than or equal to (m-1), m is an integer, m is the total number of the radio frequency channels, and
Figure FDA0002684033000000051
a maximum frequency offset and b minimum frequency offsets are truncated from the frequency offsets corresponding to all the radio frequency channels, a is greater than or equal to 0 and less than or equal to (m-1), b is greater than or equal to 0 and less than or equal to (m-1), and (a + b)<m, a and b are integers.
17. An apparatus for automatically calibrating the gain of a voltage controlled oscillator, comprising: a memory and a processor;
the memory is coupled with the processor;
the memory to store program instructions;
the processor, for invoking the program instructions stored by the memory, to cause the apparatus to perform the method of automatically calibrating a gain of a voltage controlled oscillator of any of claims 1-8 above.
18. A computer-readable storage medium, comprising: stored thereon a computer program, characterized in that the computer program, when being executed by a processor, implements the method of automatically calibrating the gain of a voltage controlled oscillator according to any of the claims 1 to 8.
CN201910071834.4A 2019-01-25 2019-01-25 Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium Active CN109818636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910071834.4A CN109818636B (en) 2019-01-25 2019-01-25 Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910071834.4A CN109818636B (en) 2019-01-25 2019-01-25 Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium

Publications (2)

Publication Number Publication Date
CN109818636A CN109818636A (en) 2019-05-28
CN109818636B true CN109818636B (en) 2021-02-12

Family

ID=66605037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910071834.4A Active CN109818636B (en) 2019-01-25 2019-01-25 Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium

Country Status (1)

Country Link
CN (1) CN109818636B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067590B (en) * 2019-12-30 2022-09-23 华为技术有限公司 Wireless device, method and related equipment
CN111917422B (en) * 2020-08-14 2022-04-12 浙江三维通信科技有限公司 Control method and circuit of radio frequency voltage controlled oscillator

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106556A (en) * 2006-07-12 2008-01-16 联发科技股份有限公司 FM decoding chip, stereo decoding system and method
CN102325110A (en) * 2011-09-20 2012-01-18 中国空间技术研究院 Large-modulation index satellite-borne digital frequency modulating receiver

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332912B (en) * 2011-09-30 2013-05-01 中国科学技术大学 Voltage controlled oscillator (VCO) capable of adjusting linearity of gain and two-point modulator based on VCO
JP2013157786A (en) * 2012-01-30 2013-08-15 Sony Corp Synchronization processing apparatus, synchronization processing method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106556A (en) * 2006-07-12 2008-01-16 联发科技股份有限公司 FM decoding chip, stereo decoding system and method
CN102325110A (en) * 2011-09-20 2012-01-18 中国空间技术研究院 Large-modulation index satellite-borne digital frequency modulating receiver

Also Published As

Publication number Publication date
CN109818636A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109818636B (en) Method, device and equipment for automatically calibrating gain of voltage-controlled oscillator and storage medium
CN110661601B (en) Positioning reference signal configuration method, network side equipment and terminal equipment
WO2016101089A1 (en) Polar code coding method and coding device
EP3079287A1 (en) Polar code processing method and system, and wireless communications apparatus
CN109152009B (en) Communication method, terminal equipment and network equipment
CN108574561A (en) The method and apparatus of polarization code coding
EP3664544B1 (en) Method, apparatus and device for determining size of transmission block
RU2744800C1 (en) Method of transmission of feedback information, terminal device and network device
US11418372B1 (en) Low-complexity demodulation of 5G and 6G messages
US11025382B2 (en) Payload transmission in a subframe
WO2019052581A1 (en) Coding method and coding apparatus for polar code
US11525849B2 (en) Method and device for improving phase measurement accuracy
CN114513850B (en) Positioning method, positioning device, computer equipment and medium
CN114557108A (en) Method and device for determining random access radio network temporary identifier and user equipment
US20220149987A1 (en) Method for sidelink rate matching and resource mapping, and device
JP6293308B2 (en) Method for signaling time and frequency resource allocation in a wireless communication system
CN108011633B (en) Calibration method and device of RC oscillator, storage medium and processor
US10447452B2 (en) Hardware controlled receive response generation
CN109392102B (en) DCI format message sending method, DCI format message detection method, related equipment and system
EP2913968B1 (en) Method and device for interleaving processing in wireless local area network (wlan) system
US11317419B2 (en) Wireless communication method, terminal device, and network device
CN112383660B (en) Throughput rate testing method and device of intelligent terminal, storage medium and terminal
CN111510995A (en) Wireless communication method and apparatus
CN111465111A (en) Wireless communication method and apparatus
CN114362898B (en) Information transmission method, device, terminal and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant