CN112996036A - AGC calibration preprocessing method and device, storage medium and terminal - Google Patents

AGC calibration preprocessing method and device, storage medium and terminal Download PDF

Info

Publication number
CN112996036A
CN112996036A CN202110212542.5A CN202110212542A CN112996036A CN 112996036 A CN112996036 A CN 112996036A CN 202110212542 A CN202110212542 A CN 202110212542A CN 112996036 A CN112996036 A CN 112996036A
Authority
CN
China
Prior art keywords
channel
rssi
calibration
frequency band
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.)
Granted
Application number
CN202110212542.5A
Other languages
Chinese (zh)
Other versions
CN112996036B (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.)
Spreadtrum Communications Shenzhen Co ltd
Original Assignee
Spreadtrum Communications Shenzhen 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 Spreadtrum Communications Shenzhen Co ltd filed Critical Spreadtrum Communications Shenzhen Co ltd
Priority to CN202110212542.5A priority Critical patent/CN112996036B/en
Publication of CN112996036A publication Critical patent/CN112996036A/en
Priority to PCT/CN2022/076760 priority patent/WO2022179439A1/en
Application granted granted Critical
Publication of CN112996036B publication Critical patent/CN112996036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/52TPC using AGC [Automatic Gain Control] circuits or amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

An AGC calibration preprocessing method and device, a storage medium and a terminal are provided, wherein the AGC calibration preprocessing method comprises the following steps: acquiring RSSI corresponding to an intermediate channel obtained by measuring the intermediate channel of a frequency band to be calibrated; if the RSSI corresponding to the middle channel exceeds a preset range, selecting at least one edge channel from the frequency band to be calibrated and obtaining the RSSI corresponding to the edge channel measured by using the edge channel; and when the RSSI corresponding to the edge channel does not exceed a preset range, using the edge channel as a reference channel for calculating the gains of other channels. The technical scheme of the invention can reduce the influence of environmental interference on AGC calibration, improve the accuracy of AGC calibration and reduce cost.

Description

AGC calibration preprocessing method and device, storage medium and terminal
Technical Field
The invention relates to the technical field of computers, in particular to an AGC calibration preprocessing method and device, a storage medium and a terminal.
Background
At present, related to an Automatic Gain Control (AGC) calibration preprocessing method for a wireless terminal, each chip manufacturer has its own design, and the design directions are basically consistent. The purpose of calibrating the AGC is to substantially equalize the signal strength before the signal finally enters the demodulation circuit regardless of the signal size at the location of the wireless terminal. The gain table generated in the AGC calibration process can control the AGC circuit to amplify a Received Signal Strength Indication (RSSI) to a degree that satisfies a demodulation threshold using a specific amplification factor. In addition to ensuring the downlink communication quality, in the 3rd Generation Partnership Project (3 GPP) communication protocol, whether many relevant protocol certificates pass or fail depends on whether the wireless mobile terminal can calculate an accurate RSSI value.
The existing calibration preprocessing method comprises a rapid AGC calibration technology, a middle channel test of a frequency band is taken, the output Power (Cell Power) of an instrument is fixed, the Gain (Gain) of an AGC circuit is continuously adjusted to enable the RSSI to reach a target value, and then the RSSI value measured by a mobile phone is equal to the Cell Power by changing the Cell Power on the instrument side. In short, two or more points are respectively tested in a section of Gain interval of the AGC circuit, a fixed Gain slope is calculated, and the Gain sequence is obtained by participating in linear operation.
However, in the prior art, the RSSI calibration is very dependent on the environment, if the same frequency signal interference occurs in the environment, the calibration result of the small signal will be inaccurate, and the obtained RSSI exceeds the threshold, so the calibration will fail. The obtained RSSI is within the threshold, the AGC gain is low, and the terminal signal measurement is influenced. If the calibration is carried out in a strictly required shielding environment, the construction cost of the shielding wall with hundreds of square parts is close to ten million RMB, and the expense is large. If the production main board is placed in the shielding box, the problem that interference is introduced from the calibration instrument shell and intervenes in the calibration process cannot be solved.
Disclosure of Invention
The invention solves the technical problems of reducing the influence of environmental interference on AGC calibration, improving the accuracy of AGC calibration and reducing cost.
In order to solve the above technical problem, an embodiment of the present invention provides an AGC calibration preprocessing method, where the method includes: acquiring RSSI corresponding to an intermediate channel obtained by measuring the intermediate channel of a frequency band to be calibrated; if the RSSI corresponding to the middle channel exceeds a preset range, selecting at least one edge channel from the frequency band to be calibrated and obtaining the RSSI corresponding to the edge channel measured by using the edge channel; and when the RSSI corresponding to the edge channel does not exceed a preset range, using the edge channel as a reference channel for calculating the gains of other channels.
Optionally, the using the edge channel as a reference channel for calculating gains of other channels includes: and if the RSSI corresponding to the edge channels does not exceed the preset range, selecting the edge channel corresponding to the minimum RSSI under the minimum output power of the calibration instrument as the reference channel.
Optionally, the AGC calibration preprocessing method further includes: if the at least one edge channel and the obtained RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, regarding the channel corresponding to the RSSI exceeding the preset threshold, taking the output power of the calibration instrument adopted in calibration as the current output power of the calibration instrument; increasing the current output power by a first preset value to serve as first output power, and calculating a first RSSI under the current output power by using a first gain of an AGC circuit under the first output power; determining that the calibration is passed at least when the difference value between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of the second preset value; and taking the channel corresponding to the RSSI exceeding the preset threshold as a reference channel for calculating the gains of other channels.
Optionally, before taking the output power of the calibration meter used in the calibration as the current output power of the calibration meter, the method further includes: selecting an edge channel corresponding to the minimum RSSI, taking the edge channel as a reference channel, and taking the output power of a calibration instrument adopted when the edge channel is calibrated as the current output power of the calibration instrument.
Optionally, the determining that the calibration is passed when at least the difference between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of the second preset value includes: calculating a first slope between the gain and the output power of the calibration instrument when the RSSI corresponding to the intermediate channel is obtained through measurement; calculating a second slope by using the gain corresponding to the current output power, the first gain and the first preset value; and if the absolute value of the difference value between the first slope and the second slope is smaller than a first preset threshold value, and the difference value between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of a second preset value, determining that the calibration is passed.
Optionally, before the obtaining the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated, the method further includes: acquiring a current calibration position and a corresponding operator working frequency band; and selecting a non-overlapping frequency band of the frequency band to be calibrated and the operator frequency band, and selecting the reference channel from the non-overlapping frequency band for AGC calibration.
Optionally, the selecting the non-overlapping frequency band between the frequency band to be calibrated and the operator frequency band includes: expanding both sides of the operator working frequency band respectively, wherein the length of the expanded frequency band is greater than or equal to a second preset threshold value and is smaller than the difference value between the frequency band to be calibrated and the maximum frequency value and the difference value between the minimum frequency values in the operator frequency band; and selecting a non-overlapping frequency band of the expanded operator frequency band in the frequency band to be calibrated.
In order to solve the above problem, an embodiment of the present invention further discloses an AGC calibration preprocessing apparatus, where the AGC calibration preprocessing apparatus includes: the acquisition module is used for acquiring the RSSI corresponding to the intermediate channel obtained by measuring the intermediate channel of the frequency band to be calibrated; a selecting module, configured to select at least one edge channel in the frequency band to be calibrated if the RSSI corresponding to the middle channel exceeds a preset range, and obtain an RSSI corresponding to the edge channel measured by using the edge channel; and the calculation module is used for taking the edge channel as a reference channel to calculate the gain of other channels when the RSSI corresponding to the edge channel does not exceed the preset range.
The embodiment of the invention also discloses a storage medium, wherein a computer program is stored on the storage medium, and the computer program executes the steps of the AGC calibration preprocessing method when being executed by a processor.
The embodiment of the invention also discloses a terminal, which comprises a memory and a processor, wherein the memory is stored with a computer program capable of running on the processor, and the processor executes the step of the AGC calibration preprocessing method when running the computer program.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
according to the technical scheme, firstly, the RSSI corresponding to the middle channel obtained by measuring the middle channel of the frequency band to be calibrated is obtained, if the RSSI corresponding to the middle channel exceeds a preset range, at least one edge channel is selected from the frequency band to be calibrated, the RSSI corresponding to the edge channel obtained by measuring the edge channel is obtained, and when the RSSI corresponding to the edge channel does not exceed the preset range, the edge channel is used as a reference channel for calculating the gains of other channels. The RSSI corresponding to the intermediate channel exceeds the preset range, which indicates that interference signals with the same frequency as the intermediate channel possibly exist, so that the calibration fails, and the technical scheme of the invention can avoid the influence of the interference signals in the environment on the AGC calibration and improve the accuracy of the AGC calibration by finding the positions of the interference and the interference signals and selecting proper edge channels to carry out AGC calibration; in addition, the technical scheme of the invention can reduce the requirement of AGC calibration on the environment and save the construction cost of the calibration environment.
Drawings
Fig. 1 is a flow chart of a pre-processing method for AGC calibration according to an embodiment of the present invention;
FIG. 2 is a flow chart of another AGC calibration preprocessing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an application scenario in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of another application scenario of an embodiment of the present invention;
fig. 5 is a schematic flowchart of an AGC calibration preprocessing method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an AGC calibration preprocessing apparatus according to an embodiment of the present invention.
Detailed Description
As described in the background art, the RSSI calibration in the prior art is very dependent on the environment, and if the same frequency signal interference occurs in the environment, the calibration result of the small signal will be inaccurate, and the obtained RSSI exceeds the threshold, and the calibration will fail. The obtained RSSI is within the threshold, the AGC gain is low, and the terminal signal measurement is influenced. If the calibration is carried out in a strictly required shielding environment, the construction cost of the shielding wall with hundreds of square parts is close to ten million RMB, and the expense is large. If the production main board is placed in the shielding box, the problem that interference is introduced from the calibration instrument shell and intervenes in the calibration process cannot be solved.
According to the technical scheme, the interference and the position of the interference signal are found, and the proper edge channel is selected for AGC calibration, so that the influence of the interference signal in the environment on the AGC calibration can be avoided, and the AGC calibration accuracy is improved; in addition, the technical scheme of the invention can reduce the requirement of AGC calibration on the environment and save the construction cost of the calibration environment.
The technical scheme of the invention can be applied to 5G (5Generation) communication systems, 4G and 3G communication systems, and various future new communication systems such as 6G and 7G.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a flowchart of an AGC calibration preprocessing method according to an embodiment of the present invention.
The AGC calibration preprocessing method according to the embodiment of the present invention may be executed by a terminal, and specifically may be executed by AGC calibration tool software running in the terminal. The terminal may be any suitable device, such as a computer, a tablet computer, and the like, which is not limited in this embodiment of the present invention.
Specifically, the AGC calibration preprocessing method may include the steps of:
step S101: acquiring RSSI corresponding to an intermediate channel obtained by measuring the intermediate channel of a frequency band to be calibrated;
step S102: if the RSSI corresponding to the middle channel exceeds a preset range, selecting at least one edge channel from the frequency band to be calibrated and obtaining the RSSI corresponding to the edge channel measured by using the edge channel;
step S103: and when the RSSI corresponding to the edge channel does not exceed a preset range, using the edge channel as a reference channel for calculating the gains of other channels.
It should be noted that the sequence numbers of the steps in this embodiment do not represent a limitation on the execution sequence of the steps.
In this embodiment, the purpose of AGC calibration is to make the signal strength before the terminal finally enters its demodulation circuit substantially consistent regardless of the signal strength of the terminal at the position. The gain table generated in the AGC calibration procedure can control the AGC circuit to use a specific amplification factor to amplify the RSSI to a degree that meets the demodulation threshold. Each frequency value in the frequency band to be calibrated has a corresponding channel, and the intermediate channel may be a channel corresponding to a frequency near the intermediate position in the frequency band to be calibrated.
In the specific implementation of step S101, an intermediate channel corresponding to the intermediate frequency value of the frequency band to be calibrated is usually selected as an initial reference channel, for example, 1805-1879.9MHz in the B3 frequency band is taken as an example, and a channel corresponding to 1945MHz is selected as a reference channel for testing. Specifically, when the RSSI corresponding to the intermediate channel is obtained, the calibration instrument may transmit a signal according to the set output power, and the terminal receives the signal and returns the RSSI to the AGC calibration tool software.
In general, the target RSSI refers to the minimum demodulated received signal level required by the modem. When the intermediate channel of the frequency band is taken for testing, the output Power (Cell Power) of the instrument is fixed, and the Gain (Gain) of the AGC circuit is continuously adjusted to enable the RSSI to reach a target RSSI value. The predetermined range is determined by increasing and decreasing the target RSSI by a predetermined value, for example, by 10 dB.
In the specific implementation of step S102, when the RSSI corresponding to the intermediate channel exceeds the preset range, it indicates that the intermediate channel calibration fails. This indicates that there may be environmental interference and that the interference needs to be excluded. Therefore, at least one edge channel can be selected from the frequency band to be calibrated, and the RSSI corresponding to the edge channel obtained by using the edge channel measurement can be obtained.
The edge channel referred to in the embodiment of the present invention may be a channel corresponding to a frequency value near a minimum frequency value and a frequency value near a maximum frequency value in a frequency band to be calibrated.
Further, in the specific implementation of step S103, if the RSSI corresponding to the edge channel does not exceed the preset range, which indicates that the edge channel is calibrated, that is, there is no interference signal with the same frequency as the calibration channel in the environment, the edge channel may be used as a reference channel for calculating the gain of other channels.
It should be noted that, for the specific implementation of calculating the gain of the reference channel and calculating the gains of the other channels by using the gain of the reference channel, reference may be made to the prior art, and details are not described here.
According to the embodiment of the invention, the interference and the position of the interference signal are found, and the proper edge channel is selected for AGC calibration, so that the influence of the interference signal in the environment on the AGC calibration can be avoided, and the AGC calibration accuracy is improved; in addition, the technical scheme of the invention can reduce the requirement of AGC calibration on the environment and save the construction cost of the calibration environment.
In one non-limiting embodiment, step S103 shown in fig. 1 may include the following steps: and if the RSSI corresponding to the edge channels does not exceed the preset range, selecting the edge channel corresponding to the minimum RSSI under the minimum output power of the calibration instrument as the reference channel.
In this embodiment, the smaller the RSSI is, the lower the interference level of the channel (i.e., frequency point) corresponding to the RSSI from the external environment is, so that the edge channel corresponding to the minimum RSSI can be selected as the reference channel.
In a specific application scenario of the invention, the Channel (Channel) number of the downlink frequency band of a Long Term Evolution (LTE) system B1 is Channel 0-599, and the frequency range is 2110.00 MHz-2169.9 MHz; the New Radio (NR) system has n1 frequency band channel numbers of 422000-434000 and a frequency range of 2110.00-2169.9 MHz.
Any Channel 50-350 is used as a main Channel to calibrate AGC, and the RSSI (received signal strength indicator) obtained by a power point with the output power (cell power) of a calibration instrument being-72 dBm is high to cause calibration failure. The reason is that the Gain of the terminal is set for the power of-72 dBm/5MHz, but the interference signal of the external environment is-62 dBm/5MHz, the original target RSSI value should be-15 dBm, the RSSI > is-5 dBm, the RSSI exceeds the threshold of the target RSSI value ± 10dB due to the intervention of the external interference signal in the operation, and the calibration tool software judges that the calibration fails.
By using the technical scheme of the invention and adopting the Channel 550 as the main reference Channel, the calibration can be passed, because the downlink Channel of the base station of the interference source in the external environment does not cover the frequency point. That is to say, the technical scheme of the application improves the accuracy of AGC calibration by avoiding an interference channel with the same frequency as the interference signal as a reference channel.
In a non-limiting embodiment of the present invention, referring to fig. 2, the AGC calibration preprocessing method may further include the following steps:
step S201: if the at least one edge channel and the obtained RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, regarding the channel corresponding to the RSSI exceeding the preset threshold, taking the output power of the calibration instrument adopted in calibration as the current output power of the calibration instrument;
step S202: increasing the current output power by a first preset value to serve as first output power, and calculating a first RSSI under the current output power by using a first gain of an AGC circuit under the first output power;
step S203: determining that the calibration is passed at least when the difference value between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of the second preset value;
step S204: and taking the channel corresponding to the RSSI exceeding the preset threshold as a reference channel for calculating the gains of other channels.
In this embodiment, if the edge channel calibration fails, a full-bandwidth interference avoidance scheme needs to be adopted.
In the specific implementation, the output power cell power of the calibration instrument when the calibration fails is assumed to be P0, and P0 is taken as the current output power of the calibration instrument. Increasing the current output power by a first preset value to obtain a first output power P1, for example, taking P0+20dB — P1. And configuring a corresponding first Gain1 when the AGC circuit Gain value is cell power and is P1. The first Gain1 is lower than the Gain0 corresponding to the cell power P0.
The original calibration failure is that the RSSI corresponding to the edge channel is greater than a preset threshold, and then a first RSSI is calculated by adopting a first lower Gain1, so that the first RSSI is lower than a first preset value of a target RSSI when external environment interference intervenes in operation; when the external environment interference is not intervened, the first RSSI is lower than the target RSSI by a second preset value. Whether interference in the external environment intervenes or not intervenes in AGC calibration, as long as the final first RSSI is lower than the target RSSI by the first preset value or the second preset value, which is expected, it can be confirmed that the Gain0 corresponding to P0 still satisfies the linearity requirement when the calibration fails. That is, it can be determined that the Gain0 corresponding to P0 is correct, and can be used for calculating the Gain table.
For example, the difference between the P0 and the external environment interference level is close to 10dB when the calibration fails, thereby leading to the RSSI exceeding 10 dB. Taking P0+20dB as P1, P1 is about 10dB higher than the interference level of the external environment, and when the calibration is performed by P1, the interference level of the external environment does not affect the final RSSI obviously when the interference level is not involved or not involved. The P0 that failed the calibration is set as the meter cell power, but the Gain value of the AGC circuit is P1, which corresponds to Gain1, and the Gain1 is reduced by 20dB compared with Gain 0. Originally, the calibration fails because the RSSI0 is 10dB to 11dB greater than the target RSSI, and the first RSSI, i.e., the RSSI α, is obtained by using a Gain operation with a lower value of 20dB, when the external environment interference intervenes in the operation, the RSSI α is about 10dB lower than the target RSSI, and when the external environment interference does not intervene, the RSSI α is about 20dB lower than the target RSSI.
Specifically, the calibration tool software sets the predetermined range because if the RSSI is higher, it means that the Gain value is higher; the RSSI value is low, the Gain value is small, and the value is nonlinear no matter the RSSI value is large or small, namely the terminal measurement is inaccurate or the AGC circuit is abnormal.
However, the inventors of the present application found that this is not the case. Referring to fig. 3 and 4, the ordinate of fig. 3 and 4 represents the gain, and the abscissa represents the meter output power cell power. In the ideal calibration data shown in fig. 3, the small jitter of Gain (the position shown by the dotted line) represents that the interval is the switching point of the Gain three-level mode, and is linear as a whole.
In the case of participating in the external interference shown in fig. 4, the external interference participates in only one time slot, and since the calibration speed is very fast, the same frequency signal transmitted by the external base station is not continuous, so that the external interference participates in the time when the cell power is equal to-75 to-76 dBm, the RSSI deviates too much from the ideal range, the linear estimation deviates too much from the actual value, the calibration fails, and the production is interrupted. Widening the upper and lower thresholds of the RSSI can avoid tool judgment errors, but this would leave a bad motherboard to flow into the next link, which is an undesirable method. Improving the minimum value of cell power is also a solution, but provides fewer reference values, which affects slope calculation, and causes the RSSI measurement of the terminal under small signals to gradually deviate from the actual value.
The embodiment of the invention improves the reliability and the accuracy of AGC calibration and avoids the influence of interference on the production process of the terminal by finding the interference and determining the size of the interference signal and determining the AGC gain through reverse calculation.
In one non-limiting embodiment of the present invention, step S204 shown in fig. 2 may include the following steps:
calculating a first slope between the gain and the output power of the calibration instrument when the RSSI corresponding to the intermediate channel is obtained through measurement;
calculating a second slope by using the gain corresponding to the current output power, the first gain and the first preset value;
and if the absolute value of the difference value between the first slope and the second slope is smaller than a first preset threshold value, and the difference value between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of a second preset value, determining that the calibration is passed.
In this embodiment, the first slope γ at the time of calibration failure can be calculatedαAnd a second slope γ after the avoidance scheme is adoptedβ. Comparing the first slope gammaαAnd a second slope gammaβThe absolute value of the difference between the first RSSI and the target RSSI is smaller than a first preset threshold value, and the difference between the first RSSI and the target RSSI is the first RSSIA negative value of the preset value or a negative value of the second preset value, the calibration pass is determined. Wherein the second slope γ can be calculated using the following formulaβ
Figure BDA0002952832020000091
Wherein, Gain0Shows the Gain, Gain corresponding to the current output power1Indicating a first gain, T1 indicating said first preset value.
Specifically, the first preset threshold value is related to a linear gain range of the AGC circuit and a threshold for a small signal reception level measurement of the terminal in a standard protocol.
In specific implementation, according to the protocol requirement, the small signal reception level measurement value of the terminal needs to be in the following Range (target RSSI +2dB, target RSSI-3 dB), and for an AGC circuit with a linear gain Range2 width of 45dB, the first preset threshold needs to be less than 2/45, so that the protocol requirement can be met to a great extent. If the first preset threshold is 0.02, i.e. | γβα|≤0.02。
Referring to fig. 5, fig. 5 shows a specific flowchart of an AGC calibration preprocessing method.
In step S401, a frequency band Fn to be calibrated is selected.
In step S402, the frequency band Fn starts AGC calibration to obtain a gain value Ga and calculate a gain corresponding to the current output power;
in step S403, it is determined whether the RSSI corresponding to the intermediate channel exceeds a preset range, if so, step S405 is performed, otherwise, step S404 is performed.
In step S404, the calibration utility maintains the default configuration.
In step S405, at least one edge channel is selected for RSSI scanning.
In step S406, it is determined whether the RSSI corresponding to the edge channel exceeds a preset range, if so, step S408 is performed, otherwise, step S407 is performed.
In step S407, the calibration tool software selects an edge channel as a reference channel for AGC calibration.
In step S408, a first RSSI at the current output power is calculated using a first gain of the AGC circuit at the first output power.
In step S409, it is determined whether the difference between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of the second preset value, if so, step S411 is performed, otherwise, step S410 is performed.
In step S410, it is determined that the motherboard or the calibration device to be tested is abnormal, and the process is terminated.
In step S411, the channel corresponding to the RSSI that exceeds the preset threshold is used as a reference channel for calculating gains of other channels.
And the frequency band Fn to be calibrated is calibrated.
It should be noted that, if there are other frequency bands that need to be calibrated, the steps S401 to S411 are continued.
In a non-limiting embodiment of the present invention, the following steps may be further included before step S101 shown in fig. 1: acquiring a current calibration position and a corresponding operator working frequency band; and selecting a non-overlapping frequency band of the frequency band to be calibrated and the operator frequency band, and selecting the reference channel from the non-overlapping frequency band for AGC calibration.
In a specific implementation, the current calibration position may be automatically obtained by calibration tool software, or may be read from the position information of the operating system or from the position information of the auxiliary positioning device, or may be manually input, which is not limited in this embodiment of the present invention.
Further, two sides of the operator working frequency band are respectively expanded, and the length of the expanded frequency band is greater than or equal to a second preset threshold value and is smaller than the difference value between the frequency band to be calibrated and the maximum frequency value and the difference value between the minimum frequency values in the operator frequency band; and selecting a non-overlapping frequency band of the expanded operator frequency band in the frequency band to be calibrated.
In specific implementation, since the frequency band and the channel have a corresponding relationship, the operator working channel may also be expanded, and a non-overlapping portion of the channel set corresponding to the frequency band to be calibrated and the expanded operator channel set is selected.
Taking the frequency band of B3 as an example, the frequency range of the signal transmitted by the base station is 1805-1879.9MHz, and the frequency band of the work of China Unicom is 1840-1860 MHz. The selectable channel set of the frequency band to be calibrated is A. The operator working channel set is B, the length x (also called guard interval) of the frequency band respectively expanded at two sides of the channel set B can be 200kHz ≤ x<min{(max[A]-max[B]),(min[B]-min[A]) The extended set of channels is Bs ═ min [ B }]-x,max[B]+ x, the optional channel is c, the set of optional channels is Cs,
Figure BDA0002952832020000111
Figure BDA0002952832020000112
referring to fig. 6, an embodiment of the present invention further discloses an AGC calibration preprocessing apparatus 60, where the AGC calibration preprocessing apparatus 60 may include:
an obtaining module 601, configured to obtain an RSSI corresponding to an intermediate channel obtained by using intermediate channel measurement of a frequency band to be calibrated;
a selecting module 602, configured to select at least one edge channel in the frequency band to be calibrated if the RSSI corresponding to the middle channel exceeds a preset range, and obtain an RSSI corresponding to the edge channel obtained by using the edge channel measurement;
a calculating module 603, configured to use the edge channel as a reference channel for calculating gains of other channels when the RSSI corresponding to the edge channel does not exceed a preset range.
For more details of the operation principle and the operation mode of the AGC calibration preprocessing device 60, reference may be made to the relevant descriptions in fig. 1 to fig. 5, and details are not repeated here.
The AGC calibration preprocessing means 60 (virtual means) may be, for example: a chip, or a chip module, etc.
Each module/unit included in each apparatus and product described in the above embodiments may be a software module/unit, or may also be a hardware module/unit, or may also be a part of a software module/unit and a part of a hardware module/unit. For example, for each device or product applied to or integrated into a chip, each module/unit included in the device or product may be implemented by hardware such as a circuit, or at least a part of the module/unit may be implemented by a software program running on a processor integrated within the chip, and the rest (if any) part of the module/unit may be implemented by hardware such as a circuit; for each device or product applied to or integrated with the chip module, each module/unit included in the device or product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules/units may be implemented by using a software program running on a processor integrated within the chip module, and the rest (if any) of the modules/units may be implemented by using hardware such as a circuit; for each device and product applied to or integrated in the terminal, each module/unit included in the device and product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least part of the modules/units may be implemented by using a software program running on a processor integrated in the terminal, and the rest (if any) part of the modules/units may be implemented by using hardware such as a circuit.
The embodiment of the present invention further discloses a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program runs, the steps of the AGC calibration preprocessing method according to any one of the above embodiments may be executed. The storage medium may include ROM, RAM, magnetic or optical disks, etc. The storage medium may further include a non-volatile memory (non-volatile) or a non-transitory memory (non-transient), and the like.
The embodiment of the invention also discloses a terminal which can comprise a memory and a processor, wherein the memory is stored with a computer program which can run on the processor. The processor, when running the computer program, may perform the steps of the AGC calibration preprocessing method according to any of the embodiments described above. The user equipment includes but is not limited to a mobile phone, a computer, a tablet computer and other terminal equipment.
A terminal in this embodiment may refer to various forms of User Equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station (mobile station, MS), a remote station, a remote terminal, a mobile device, a user terminal, a terminal device (terminal equipment), a wireless communication device, a user agent, or a user equipment. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with a Wireless communication function, a computing device or other processing devices connected to a Wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G Network or a terminal device in a future evolved Public Land Mobile Network (PLMN), and the like, which is not limited in this embodiment.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document indicates that the former and latter related objects are in an "or" relationship.
The "plurality" appearing in the embodiments of the present application means two or more.
The descriptions of the first, second, etc. appearing in the embodiments of the present application are only for illustrating and differentiating the objects, and do not represent the order or the particular limitation of the number of the devices in the embodiments of the present application, and do not constitute any limitation to the embodiments of the present application.
The term "connect" in the embodiments of the present application refers to various connection manners, such as direct connection or indirect connection, to implement communication between devices, which is not limited in this embodiment of the present application.
It should be understood that, in the embodiment of the present application, the processor may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also 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 nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example and not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (enhanced SDRAM), SDRAM (SLDRAM), synchlink DRAM (SLDRAM), and direct bus RAM (DR RAM).
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus and system may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative; for example, the division of the unit is only a logic function division, and there may be another division manner in actual implementation; for example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. 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 invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. 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.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An AGC calibration preprocessing method, comprising:
acquiring RSSI corresponding to an intermediate channel obtained by measuring the intermediate channel of a frequency band to be calibrated;
if the RSSI corresponding to the middle channel exceeds a preset range, selecting at least one edge channel from the frequency band to be calibrated and obtaining the RSSI corresponding to the edge channel measured by using the edge channel;
and when the RSSI corresponding to the edge channel does not exceed a preset range, using the edge channel as a reference channel for calculating the gains of other channels.
2. The AGC calibration preprocessing method of claim 1 wherein using the edge channel as a reference channel for calculating gains of other channels comprises:
and if the RSSI corresponding to the edge channels does not exceed the preset range, selecting the edge channel corresponding to the minimum RSSI under the minimum output power of the calibration instrument as the reference channel.
3. The AGC calibration preprocessing method of claim 1, further comprising:
if the at least one edge channel and the obtained RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, regarding the channel corresponding to the RSSI exceeding the preset threshold, taking the output power of the calibration instrument adopted in calibration as the current output power of the calibration instrument;
increasing the current output power by a first preset value to serve as first output power, and calculating a first RSSI under the current output power by using a first gain of an AGC circuit under the first output power;
determining that the calibration is passed at least when the difference value between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of the second preset value;
and taking the channel corresponding to the RSSI exceeding the preset threshold as a reference channel for calculating the gains of other channels.
4. The AGC calibration preprocessing method of claim 3 wherein the step of using the output power of the calibration meter used in calibration as the current output power of the calibration meter further comprises:
selecting an edge channel corresponding to the minimum RSSI, taking the edge channel as a reference channel, and taking the output power of a calibration instrument adopted when the edge channel is calibrated as the current output power of the calibration instrument.
5. The AGC calibration preprocessing method of claim 3, wherein determining a calibration pass at least when the difference between the first RSSI and a target RSSI is a negative of the first preset value or a negative of a second preset value comprises:
calculating a first slope between the gain and the output power of the calibration instrument when the RSSI corresponding to the intermediate channel is obtained through measurement;
calculating a second slope by using the gain corresponding to the current output power, the first gain and the first preset value;
and if the absolute value of the difference value between the first slope and the second slope is smaller than a first preset threshold value, and the difference value between the first RSSI and the target RSSI is a negative value of the first preset value or a negative value of a second preset value, determining that the calibration is passed.
6. The AGC calibration preprocessing method of claim 1, wherein before the obtaining the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated, further comprises:
acquiring a current calibration position and a corresponding operator working frequency band;
and selecting a non-overlapping frequency band of the frequency band to be calibrated and the operator frequency band, and selecting the reference channel from the non-overlapping frequency band for AGC calibration.
7. The AGC calibration preprocessing method of claim 6, wherein the selecting the non-overlapping frequency band between the frequency band to be calibrated and the operator frequency band comprises:
expanding both sides of the operator working frequency band respectively, wherein the length of the expanded frequency band is greater than or equal to a second preset threshold value and is smaller than the difference value between the frequency band to be calibrated and the maximum frequency value and the difference value between the minimum frequency values in the operator frequency band;
and selecting a non-overlapping frequency band of the expanded operator frequency band in the frequency band to be calibrated.
8. An AGC calibration preprocessing apparatus, comprising:
the acquisition module is used for acquiring the RSSI corresponding to the intermediate channel obtained by measuring the intermediate channel of the frequency band to be calibrated;
a selecting module, configured to select at least one edge channel in the frequency band to be calibrated if the RSSI corresponding to the middle channel exceeds a preset range, and obtain an RSSI corresponding to the edge channel measured by using the edge channel;
and the calculation module is used for taking the edge channel as a reference channel to calculate the gain of other channels when the RSSI corresponding to the edge channel does not exceed the preset range.
9. A storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, is adapted to perform the steps of the AGC calibration preprocessing method according to any one of claims 1 to 7.
10. A terminal comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of the AGC calibration pre-processing method of any one of claims 1 to 7.
CN202110212542.5A 2021-02-25 2021-02-25 AGC calibration preprocessing method and device, storage medium and terminal Active CN112996036B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110212542.5A CN112996036B (en) 2021-02-25 2021-02-25 AGC calibration preprocessing method and device, storage medium and terminal
PCT/CN2022/076760 WO2022179439A1 (en) 2021-02-25 2022-02-18 Agc calibration preprocessing method and device, and storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110212542.5A CN112996036B (en) 2021-02-25 2021-02-25 AGC calibration preprocessing method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN112996036A true CN112996036A (en) 2021-06-18
CN112996036B CN112996036B (en) 2022-07-12

Family

ID=76350792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110212542.5A Active CN112996036B (en) 2021-02-25 2021-02-25 AGC calibration preprocessing method and device, storage medium and terminal

Country Status (2)

Country Link
CN (1) CN112996036B (en)
WO (1) WO2022179439A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022179439A1 (en) * 2021-02-25 2022-09-01 展讯通信(深圳)有限公司 Agc calibration preprocessing method and device, and storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304271A (en) * 2007-05-11 2008-11-12 展讯通信(上海)有限公司 Quick AGC calibration method for TD-SCDMA
CN102088321A (en) * 2009-12-04 2011-06-08 展讯通信(上海)有限公司 Calibration method of time division-synchronization code division multiple access (TD-SCDMA) terminal
CN104753616A (en) * 2013-12-30 2015-07-01 展讯通信(上海)有限公司 Method and device for automatically calibrating gain control of communication terminal
CN105450318A (en) * 2014-08-29 2016-03-30 展讯通信(上海)有限公司 AGC calibration method and apparatus
CN105450317A (en) * 2014-07-31 2016-03-30 展讯通信(上海)有限公司 AGC calibration system and method and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3933953B2 (en) * 2002-02-08 2007-06-20 パイオニア株式会社 AGC circuit of receiver using a plurality of local oscillation frequencies
KR100498330B1 (en) * 2002-10-07 2005-07-01 엘지전자 주식회사 Receive power compensation method for frequencies of mobile communication device
US20060222116A1 (en) * 2005-03-31 2006-10-05 Freescale Semiconductor, Inc. AGC with integrated wideband interferer detection
CN103701481B (en) * 2013-12-03 2016-10-05 波达通信设备(广州)有限公司 A kind of incoming level calibration steps of digital microwave transceiver
CN112996036B (en) * 2021-02-25 2022-07-12 展讯通信(深圳)有限公司 AGC calibration preprocessing method and device, storage medium and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304271A (en) * 2007-05-11 2008-11-12 展讯通信(上海)有限公司 Quick AGC calibration method for TD-SCDMA
CN102088321A (en) * 2009-12-04 2011-06-08 展讯通信(上海)有限公司 Calibration method of time division-synchronization code division multiple access (TD-SCDMA) terminal
CN104753616A (en) * 2013-12-30 2015-07-01 展讯通信(上海)有限公司 Method and device for automatically calibrating gain control of communication terminal
CN105450317A (en) * 2014-07-31 2016-03-30 展讯通信(上海)有限公司 AGC calibration system and method and mobile terminal
CN105450318A (en) * 2014-08-29 2016-03-30 展讯通信(上海)有限公司 AGC calibration method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022179439A1 (en) * 2021-02-25 2022-09-01 展讯通信(深圳)有限公司 Agc calibration preprocessing method and device, and storage medium and terminal

Also Published As

Publication number Publication date
WO2022179439A1 (en) 2022-09-01
CN112996036B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
EP4061068A1 (en) Clock offset determination method and apparatus
CN108650034B (en) Gain calibration method and device for radio frequency equipment
US20230309042A1 (en) Method and apparatus for correcting transmitting channel delay, and storage medium
CN112996036B (en) AGC calibration preprocessing method and device, storage medium and terminal
WO2022001858A1 (en) Positioning method and apparatus
CN111614409B (en) Power calibration method and device
CN111417187A (en) Method and device for determining actual TRS frequency domain resource, storage medium and UE
US20230403660A1 (en) Prs-supporting sidelink power allocation method and apparatus, storage medium, and terminal
JP5765120B2 (en) Wireless communication terminal and automatic gain control method
CN113014337B (en) Communication terminal test method and device, storage medium, control terminal and test system
CN108832944B (en) Power compensation method, device, terminal equipment and storage medium
US11259266B2 (en) Distance estimation device and method and signal-power calibration method
CN113922893A (en) GSM radio frequency front end power calibration method and device
CN112448775B (en) Bluetooth radiation performance test method, device and storage medium
CN110768734B (en) Measuring method and device
CN111182566A (en) Method and device for adjusting uplink time delay, base station and storage medium
CN113612717A (en) Frequency offset calibration method and device, electronic equipment and storage medium
CN108965559B (en) Method and device for wave calibration
CN112740739B (en) Interference processing method and device, storage medium and electronic equipment
CN114095101B (en) Automatic RF transmit power control for over-the-air testing
EP4109134B1 (en) Obstacle recognition method and apparatus, and related device
US11329680B2 (en) Receiving device and method for dynamically adjusting the attenuation of the received signal
EP4395440A1 (en) Information indication method, information receiving method, and electronic device and storage medium
CN112788734B (en) Clock deviation determining method and device
CN116346252A (en) Antenna calibration method and device

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