WO2022179439A1 - Agc calibration preprocessing method and device, and storage medium and terminal - Google Patents

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

Info

Publication number
WO2022179439A1
WO2022179439A1 PCT/CN2022/076760 CN2022076760W WO2022179439A1 WO 2022179439 A1 WO2022179439 A1 WO 2022179439A1 CN 2022076760 W CN2022076760 W CN 2022076760W WO 2022179439 A1 WO2022179439 A1 WO 2022179439A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
calibration
rssi
frequency band
agc
Prior art date
Application number
PCT/CN2022/076760
Other languages
French (fr)
Chinese (zh)
Inventor
何川
Original Assignee
展讯通信(深圳)有限公司
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 展讯通信(深圳)有限公司 filed Critical 展讯通信(深圳)有限公司
Publication of WO2022179439A1 publication Critical patent/WO2022179439A1/en

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

Definitions

  • the present invention relates to the technical field of computers, and in particular, to an AGC calibration preprocessing method and device, a storage medium and a terminal.
  • each chip manufacturer has its own design, and the design direction is basically the same.
  • the purpose of calibrating the AGC is that no matter what the signal strength of the wireless terminal is, the signal strength before entering the demodulation circuit is basically the same.
  • the gain table generated in the AGC calibration process can control the AGC circuit to use a specific amplification factor to amplify the Received Signal Strength Indication (RSSI) to the extent that the demodulation threshold is met.
  • RSSI Received Signal Strength Indication
  • 3GPP 3rd Generation Partnership Project
  • the existing calibration preprocessing methods include the fast AGC calibration technology, which takes the middle channel test of the frequency band, fixes the output power (Cell Power) of the instrument, and continuously adjusts the gain (Gain) of the AGC circuit to make the RSSI reach the target value, and then changes the instrument side by changing the output power (Cell Power). Cell Power, so that the RSSI value measured by the mobile phone is equal to the Cell Power. In short, it is to test two or more points in a gain interval of the AGC circuit, calculate the fixed gain slope, and participate in the linear operation to obtain the Gain sequence.
  • the RSSI calibration of the current technology is very dependent on the environment. If there is co-channel signal interference in the environment, the calibration result of the small signal will be inaccurate, and the RSSI obtained exceeds the threshold, and the calibration will fail. If the RSSI obtained is within the threshold, the AGC gain will be low, which will affect the terminal signal measurement. If the calibration is carried out in a strictly required shielding environment, the construction cost of a shielding wall of hundreds of square meters is close to 10 million RMB, and the expense is relatively large. If the production motherboard is placed in the shielding box, it still cannot solve the problem that the interference is introduced from the casing of the calibration instrument and intervenes in the calibration process.
  • the technical problem solved by the present invention is to reduce the influence of environmental interference on the AGC calibration, improve the accuracy of the AGC calibration and reduce the cost.
  • an embodiment of the present invention provides an AGC calibration preprocessing method, the method includes: obtaining the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated; if the RSSI corresponding to the intermediate channel exceeds The preset range, select at least one edge channel in the frequency band to be calibrated and obtain the RSSI corresponding to the edge channel measured by using the edge channel; when the RSSI corresponding to the edge channel does not exceed the preset range, the The edge channel is used as a reference channel to calculate the gains of other channels.
  • using the edge channel as a reference channel for calculating the gains of other channels includes: if the RSSI corresponding to multiple edge channels does not exceed the preset range, then selecting the minimum RSSI corresponding to the minimum output power of the calibration instrument.
  • the edge channel of is the reference channel.
  • the AGC calibration preprocessing method further includes: if the at least one edge channel and the RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, then for the at least one edge channel exceeding the preset threshold.
  • the output power of the calibration meter used during calibration is used as the current output power of the calibration meter; the current output power is increased by a first preset value as the first output power, and the first output power is used.
  • the method 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, using the edge channel as a reference channel, and using the edge channel when calibrating the edge channel.
  • the output power of the used calibration instrument is taken as the current output power of the calibration instrument.
  • determining that the calibration is passed at least when 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: when the measurement is obtained in the middle Calculate the first slope between the gain and the output power of the calibration meter when the RSSI corresponding to the channel is used; calculate the second slope by using the gain corresponding to the current output power, the first gain and the first preset value; if the The absolute value of the difference between the first slope and the second slope is less than a first preset threshold, and the difference between the first RSSI and the target RSSI is a negative value of the first preset value or a second preset value If the value is negative, it is determined that the calibration has passed.
  • the acquiring the RSSI corresponding to the intermediate channel obtained by using the intermediate channel of the frequency band to be calibrated further includes: acquiring the current calibration position and its corresponding operating frequency band of the operator; A non-overlapping frequency band of the commercial frequency band, and the reference channel is selected from the non-overlapping frequency bands for AGC calibration.
  • the selecting a non-overlapping frequency band in the to-be-calibrated frequency band and the operator's frequency band includes: expanding both sides of the operator's working frequency band respectively, and the length of the expanded frequency band is greater than or equal to a second preset threshold, and is less than the difference between the maximum frequency value and the minimum frequency value in the frequency band to be calibrated and the operator frequency band; select a non-overlapping frequency band between the frequency band to be calibrated and the extended operator frequency band.
  • the embodiment of the present invention also discloses an AGC calibration preprocessing device.
  • the AGC calibration preprocessing device includes: an acquisition module for acquiring the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated; module, for if the RSSI corresponding to the intermediate channel exceeds the preset range, then select at least one edge channel in the frequency band to be calibrated and obtain the RSSI corresponding to the edge channel obtained by measuring the edge channel; a calculation module, used for When the RSSI corresponding to the edge channel does not exceed the preset range, the edge channel is used as a reference channel to calculate gains of other channels.
  • the embodiment of the present invention further discloses a storage medium on which a computer program is stored, and when the computer program is run by a processor, the steps of the AGC calibration preprocessing method are executed.
  • An embodiment of the present invention further discloses a terminal, including a memory and a processor, the memory stores a computer program that can be run on the processor, and the processor executes the AGC calibration when the computer program runs The steps of the preprocessing method.
  • the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated is first obtained, and if the RSSI corresponding to the intermediate channel exceeds the preset range, at least one edge channel is selected in the frequency band to be calibrated And acquire the RSSI corresponding to the edge channel obtained by measuring the edge channel, and when the RSSI corresponding to the edge channel does not exceed the preset range, use the edge channel as a reference channel to calculate the gains of other channels. If the RSSI corresponding to the middle channel exceeds the preset range, it means that there may be an interference signal with the same frequency as the middle channel, which leads to the failure of calibration.
  • the technical solution of the present invention can avoid the interference and the position of the interference signal by discovering the position of the interference and the interference signal, and selecting a suitable edge channel for AGC calibration.
  • the influence of interference signals in the environment on the AGC calibration improves the accuracy of the AGC calibration; in addition, the application of the technical solution of the present invention can also reduce the environmental requirements of the AGC calibration and save the cost of the calibration environment.
  • FIG. 1 is a flowchart of an AGC calibration preprocessing method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another AGC calibration preprocessing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an application scenario of 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 a specific process 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 device according to an embodiment of the present invention.
  • the RSSI calibration of the current technology 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 will exceed the threshold, and the calibration will fail. If the RSSI obtained is within the threshold, the AGC gain will be low, which will affect the terminal signal measurement. If the calibration is carried out in a strictly required shielding environment, the construction cost of a shielding wall of hundreds of square meters is close to 10 million RMB, and the expense is relatively large. If the production motherboard is placed in the shielding box, it still cannot solve the problem that the interference is introduced from the casing of the calibration instrument and intervenes in the calibration process.
  • the technical solution of the present invention can avoid the influence of the interference signal in the environment on the AGC calibration and improve the accuracy of the AGC calibration by discovering the position of the interference and the interference signal, and selecting a suitable edge channel to perform the AGC calibration; in addition, by applying the technical solution of the present invention It can also reduce the environmental requirements of AGC calibration and save the cost of calibration environment construction.
  • the technical solution of the present invention can be applied to 5G (5 Generation) communication systems, 4G and 3G communication systems, and various new communication systems in the future, such as 6G and 7G.
  • FIG. 1 is a flowchart of an AGC calibration preprocessing method according to an embodiment of the present invention.
  • the AGC calibration preprocessing method in 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 various appropriate devices such as a computer and a tablet computer, which is not limited in this embodiment of the present invention.
  • the AGC calibration preprocessing method may include the following steps:
  • Step S101 acquiring the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated;
  • Step S102 if the RSSI corresponding to the intermediate channel exceeds the preset range, then select at least one edge channel in the frequency band to be calibrated and obtain the RSSI corresponding to the edge channel by measuring the edge channel;
  • Step S103 When the RSSI corresponding to the edge channel does not exceed a preset range, use the edge channel as a reference channel for calculating gains of other channels.
  • the purpose of the AGC calibration is that no matter what the signal strength of the terminal is located, the signal strength before entering the demodulation circuit is basically the same.
  • the gain table generated in the AGC calibration process can control the AGC circuit to use a specific amplification factor to amplify the RSSI to the extent that the demodulation threshold is met.
  • Each frequency value in the frequency band to be calibrated has a corresponding channel, and the middle channel may be a channel corresponding to a frequency near the middle position in the frequency band to be calibrated.
  • the intermediate channel corresponding to the intermediate frequency value of the frequency band to be calibrated is usually selected as the initial reference channel. test.
  • the calibration instrument may send a signal according to the set output power, and the terminal receives the signal and returns the RSSI to the AGC calibration tool software.
  • target RSSI refers to the minimum demodulated received signal level required by the modem.
  • the output power of the meter (Cell Power) is fixed, and the gain (Gain) of the AGC circuit is continuously adjusted to make the RSSI reach the target RSSI value.
  • the preset range is determined by increasing and decreasing the target RSSI by a preset value, for example, increasing and decreasing by 10dB.
  • step S102 when the RSSI corresponding to the intermediate channel exceeds the preset range, it means that the calibration of the intermediate channel fails. At this time, it means that there may be environmental interference, and the interference needs to be eliminated. Therefore, at least one edge channel can be selected in the frequency band to be calibrated, and the RSSI corresponding to the edge channel can be obtained by measuring the edge channel.
  • the edge channel in the embodiment of the present invention may be a channel corresponding to a frequency value near the minimum frequency value and a frequency value near the maximum frequency value in the frequency band to be calibrated.
  • step S103 if the RSSI corresponding to the edge channel does not exceed the preset range, it means that the edge channel has passed the calibration, that is, there is no interference signal with the same frequency as the calibration channel in the environment, then the edge channel can be used. Used as a reference channel to calculate the gains of other channels.
  • the embodiment of the present invention can avoid the influence of the interference signal in the environment on the AGC calibration and improve the accuracy of the AGC calibration by discovering the position of the interference and the interference signal, and selecting an appropriate edge channel to perform the AGC calibration; in addition, by applying the technical solution of the present invention It can also reduce the environmental requirements of AGC calibration and save the cost of calibration environment construction.
  • step S103 shown in FIG. 1 may include the following steps: if the RSSI corresponding to the multiple edge channels does not exceed the preset range, select the edge corresponding to the minimum RSSI under the minimum output power of the calibration meter The channel is the reference channel.
  • the channel number of the downlink frequency band of the Long Term Evolution (Long Term Evolution, LTE) system B1 is Channel 0 ⁇ 599, and the frequency band range is 2110.00MHz ⁇ 2169.9MHz; New Radio (New Radio, NR) )
  • the channel number of the system n1 frequency band is 422000 ⁇ 434000, and the frequency range is 2110.00MHz ⁇ 2169.9MHz.
  • any channel of Channel 50 to 350 as the main channel to calibrate the AGC, there is a high probability that the RSSI of the calibration instrument output power (cell power) is too high at the power point of -72dBm, which will cause the calibration to fail.
  • the reason is that the gain of the terminal is set for the power of -72dBm/5MHz, but the interference signal of the external environment is -62dBm/5MHz.
  • the calibration can pass, because the downlink channel of the base station of the interference source in the external environment does not cover this frequency point. That is to say, the technical solution of the present application improves the accuracy of AGC calibration by avoiding the interference channel with the same frequency as the interference signal as the reference channel.
  • the AGC calibration preprocessing method may further include the following steps:
  • Step S201 If the at least one edge channel and the RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, then for the channel corresponding to the RSSI exceeding the preset threshold, the calibration instrument used during calibration is used. The output power is used as the current output power of the calibration instrument;
  • Step S202 Increase the current output power by a first preset value as the first output power, and use the first gain of the AGC circuit under the first output power to calculate the first output power under the current output power.
  • Step S203 at least when 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, determine that the calibration has passed;
  • Step S204 Use the channel corresponding to the RSSI exceeding the preset threshold as a reference channel for calculating gains of other channels.
  • the output power cell power of the calibration instrument when the calibration fails is P0
  • P0 is used as the current output power of the calibration instrument.
  • Configure the Gain value of the AGC circuit to be the first gain Gain1 when the cell power is P1.
  • the first gain Gain1 is lower than the gain Gain0 corresponding to the cell power P0.
  • the original calibration failure is because the RSSI corresponding to the edge channel is greater than the preset threshold, then the first RSSI is calculated by using the lower first gain Gain1, so that when the external environment interferes with the operation, the first RSSI will be lower than the target RSSI.
  • Set value when the external environment interference is not involved, the first RSSI will be lower than the second preset value of the target RSSI.
  • the difference between P0 and the external environment interference level is close to 10dB, thus causing the RSSI to exceed the standard by 10dB.
  • P1 will be about 10dB higher than the interference level of the external environment.
  • the interference level of the external environment will not affect the final RSSI significantly or not.
  • the original calibration failed because RSSI0 was 10dB to 11dB greater than the target RSSI.
  • the first RSSI, RSSI ⁇ was obtained by using a gain operation with a lower 20dB.
  • RSSI ⁇ was about 10dB lower than the target RSSI.
  • RSSI ⁇ will be about 20dB lower than the target RSSI.
  • the reason why the calibration tool software sets the preset range is because if the RSSI is too high, it means that the Gain value is too high; if the RSSI value is too low, the Gain value is too small. That is, the terminal measurement is inaccurate or the AGC circuit is abnormal.
  • the external interference only participates in one time slot. Because the calibration speed is very fast, the co-frequency signal transmitted by the external base station is not continuous, so when the cell power is equal to -75 ⁇ -76dBm Participated in a moment, causing the RSSI to deviate too much from the ideal range, causing the linear estimate to deviate too much from the actual value, causing the calibration to fail and production to be interrupted. Widening the upper and lower thresholds of RSSI can avoid tool judgment errors, but this will allow bad motherboards to flow into the next link, which is not a desirable method. Increasing the minimum value of cell power is also a solution, but it will provide less reference values, which will affect the slope calculation and cause the terminal's RSSI measurement under small signals to gradually deviate from the actual value.
  • the embodiment of the present invention improves the reliability and accuracy of the AGC calibration by discovering the interference, determining the magnitude of the interference signal, and determining the AGC gain through reverse calculation, and avoiding the influence of the interference on the terminal production process.
  • step S204 shown in FIG. 2 may include the following steps:
  • the absolute value of the difference between the first slope and the second slope is less than a first preset threshold, and the difference between the first RSSI and the target RSSI is the negative value of the first preset value or the third The negative value of the two preset values is determined to pass the calibration.
  • the first slope ⁇ ⁇ when the calibration fails and the second slope ⁇ ⁇ after adopting the avoidance scheme can be calculated. Comparing the first slope ⁇ ⁇ and the second slope ⁇ ⁇ , the absolute value of the difference between the two is smaller than the first preset threshold and the difference between the first RSSI and the target RSSI is the negative value of the first preset value or the first preset value. The negative value of the two preset values is determined to pass the calibration.
  • the second slope ⁇ ⁇ can be calculated by the following formula: Wherein, Gain 0 represents the gain corresponding to the current output power, Gain 1 represents the first gain, and T1 represents the first preset value.
  • the first preset threshold is related to the linear gain range of the AGC circuit and the threshold of the small signal reception level measurement value of the terminal in the standard protocol.
  • the measured value of the small signal reception level of the terminal needs to be in the following range (target RSSI+2dB, target RSSI-3dB).
  • the preset threshold needs to be less than 2/45, which can largely meet the protocol requirements.
  • the first preset threshold is 0.02, that is,
  • FIG. 5 shows a specific flowchart of an AGC calibration preprocessing method.
  • step S401 the frequency band Fn to be calibrated is selected.
  • step S402 the frequency band Fn starts AGC calibration, obtains the gain value Ga and calculates the gain corresponding to the current output power;
  • step S403 it is judged whether the RSSI corresponding to the intermediate channel exceeds the preset range, and if so, it goes to step S405, otherwise, it goes to step S404.
  • step S404 the calibration tool software maintains the default configuration.
  • step S405 at least one edge channel is selected for RSSI scanning respectively.
  • step S406 it is judged whether the RSSI corresponding to the edge channel exceeds the preset range, if yes, go to step S408, otherwise go to step S407.
  • step S407 the calibration tool software selects the edge channel as the reference channel to perform AGC calibration.
  • step S408 the first RSSI at the current output power is calculated using the first gain of the AGC circuit at the first output power.
  • 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, go to step S411, otherwise go to step S410.
  • step S410 it is determined that the motherboard to be tested or the calibration device is abnormal, and the process is terminated.
  • step S411 the channel corresponding to the RSSI exceeding the preset threshold is used as a reference channel for calculating gains of other channels.
  • steps S401 to S411 will continue to be executed.
  • step S101 shown in FIG. 1 the following steps may be further included: acquiring the current calibration position and its corresponding operating frequency band of the operator; non-overlapping frequency bands of frequency bands, and selecting the reference channel from the non-overlapping frequency bands for AGC calibration.
  • the current calibration position may be automatically acquired by the calibration tool software, or may be obtained by reading the position information of the operating system or reading the position information of the auxiliary positioning device, or may be manually input. This is not limited.
  • the length of the expanded frequency band is greater than or equal to the second preset threshold, and is smaller than the difference between the maximum frequency value in the frequency band to be calibrated and the operator's frequency band and the minimum value.
  • the difference between the frequency values select the non-overlapping frequency band of the frequency band to be calibrated and the extended operator frequency band.
  • the operator working channel may also be expanded, and the non-overlapping part of the channel set corresponding to the frequency band to be calibrated and the expanded operator channel set may be selected.
  • the frequency range of the base station transmitting signal is 1805-1879.9MHz, and the frequency band of China Unicom's work is 1840-1860MHz.
  • the set of selectable channels for the frequency band to be calibrated is A.
  • an embodiment of the present invention further discloses an AGC calibration preprocessing device 60 .
  • the AGC calibration preprocessing device 60 may include:
  • an acquisition module 601 configured to acquire the RSSI corresponding to the intermediate channel measured by the intermediate channel of the frequency band to be calibrated
  • a selection module 602 configured to select at least one edge channel in the to-be-calibrated frequency band if the RSSI corresponding to the intermediate channel exceeds a preset range, and obtain the RSSI corresponding to the edge channel obtained by measuring the edge channel;
  • the calculation module 603 is configured to use the edge channel as a reference channel for calculating the gains of other channels when the RSSI corresponding to the edge channel does not exceed a preset range.
  • the AGC calibration preprocessing device 60 may be, for example, a chip, a chip module, or the like.
  • each module/unit included in each device and product described in the above-mentioned embodiments it may be a software module/unit, a hardware module/unit, or a part of a software module/unit and a part of a hardware module/unit .
  • each module/unit included therein may be implemented by hardware such as circuits, or at least some of the modules/units may be implemented by a software program.
  • the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the chip module, the modules/units contained therein can be They are all implemented by hardware such as circuits, and different modules/units can be located in the same component of the chip module (such as chips, circuit modules, etc.) or in different components, or at least some of the modules/units can be implemented by software programs.
  • the software program runs on the processor integrated inside the chip module, and the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the terminal, each module contained in it
  • the units/units may all be implemented in hardware such as circuits, and different modules/units may be located in the same component (eg, chip, circuit module, etc.) or in different components in the terminal, or at least some of the modules/units may be implemented by software programs Realization, the software program runs on the processor integrated inside the terminal, and the remaining (if any) part of the modules/units can be implemented in hardware such as circuits.
  • An embodiment of the present invention further discloses a storage medium, where the storage medium is a computer-readable storage medium, and a computer program is stored thereon, and the computer program can execute the AGC calibration preprocessing method described in any one of the above-mentioned embodiments when the computer program runs.
  • the storage medium may include ROM, RAM, magnetic or optical disks, and the like.
  • the storage medium may also include a non-volatile memory (non-volatile) or a non-transitory (non-transitory) memory and the like.
  • An embodiment of the present invention further discloses a terminal, where the terminal may include a memory and a processor, and the memory stores a computer program that can run on the processor.
  • the processor runs the computer program, the steps of the AGC calibration preprocessing method described in any of the foregoing embodiments may be executed.
  • the user equipment includes but is not limited to terminal equipment such as mobile phones, computers, and tablet computers.
  • the terminal in this embodiment of the present application may refer to various forms of user equipment (user equipment, UE for short), access terminal, subscriber unit, subscriber station, mobile station, mobile station (mobile station, built as MS), remote station, remote station A terminal, mobile device, user terminal, terminal equipment, wireless communication device, user agent or user equipment.
  • user equipment user equipment, UE for short
  • access terminal subscriber unit, subscriber station, mobile station, mobile station (mobile station, built as MS), remote station, remote station
  • subscriber unit subscriber station
  • mobile station mobile station (mobile station, built as MS)
  • remote station remote station
  • remote station remote station
  • remote station remote station
  • mobile device mobile device
  • user terminal terminal equipment
  • terminal equipment wireless communication device
  • user agent or user equipment user agent
  • 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), Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices with wireless communication capabilities, terminal devices in future 5G networks or future evolved public land mobile communication networks (Public Land Mobile Network, referred to as PLMN), which is not limited in this embodiment of the present application.
  • PLMN Public Land Mobile Network
  • connection in the embodiments of the present application refers to various connection modes such as direct connection or indirect connection, so as to realize communication between devices, which is not limited in the embodiments of the present application.
  • the processor may be a central processing unit (central processing unit, CPU for short), and the processor may also be other general-purpose processors, digital signal processors (digital signal processor, DSP for short) , application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM for short), programmable read-only memory (PROM for short), erasable programmable read-only memory (EPROM for short) , Electrically Erasable Programmable Read-Only Memory (electrically EPROM, EEPROM for short) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous Dynamic random access memory
  • SDRAM synchronous Dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM Synchronous connection dynamic random access memory
  • DR RAM direct memory bus random access memory
  • the above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination.
  • the above-described embodiments may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission by wire or wireless to another website site, computer, server or data center.
  • 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, a data center, or the like that contains one or more sets of available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media.
  • the semiconductor medium may be a solid state drive.
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
  • the disclosed method, apparatus and system may be implemented in other manners.
  • the device embodiments described above are only illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included individually, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the methods described in the various embodiments of the present invention.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM for short), Random Access Memory (RAM for short), magnetic disk or CD, etc. that can store program codes medium.

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, and a storage medium and a terminal. The AGC calibration preprocessing method comprises: obtaining an RSSI corresponding to an intermediate channel measured by using the intermediate channel of a frequency band to be calibrated; if the RSSI corresponding to the intermediate channel exceeds a preset range, selecting at least one edge channel in said frequency band, 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 the preset range, using the edge channel as a reference channel for calculating gains of other channels. The technical solution of the present invention can reduce the effect of environmental interference on AGC calibration, improve the accuracy of AGC calibration, and reduce costs.

Description

AGC校准预处理方法及装置、存储介质、终端AGC calibration preprocessing method and device, storage medium and terminal
本申请要求2021年2月25日提交中国专利局、申请号为202110212542.5、发明名称为“AGC校准预处理方法及装置、存储介质、终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on February 25, 2021 with the application number 202110212542.5 and the invention titled "AGC calibration preprocessing method and device, storage medium, terminal", the entire contents of which are incorporated by reference in this application.
技术领域technical field
本发明涉及计算机技术领域,尤其涉及一种AGC校准预处理方法及装置、存储介质、终端。The present invention relates to the technical field of computers, and in particular, to an AGC calibration preprocessing method and device, a storage medium and a terminal.
背景技术Background technique
目前有关无线终端自动增益控制(Automatic Gain Control,AGC)校准预处理方法,各芯片厂家均有各自的设计,设计方向基本是一致的。校准AGC的目的是无论无线终端所处位置信号大小如何,最终进入解调电路前的信号强度大小基本一致。AGC校准流程中生成的增益表,能够控制AGC电路使用特定的放大倍数,将接收信号强度指示(Received Signal Strength Indication,RSSI)放大到满足解调门限的程度。除了保证下行通信质量外,在第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)通信协议中,很多相关协议认证通过与否都取决于无线移动终端能否计算出准确的RSSI值。At present, about the automatic gain control (AGC) calibration preprocessing method of wireless terminals, each chip manufacturer has its own design, and the design direction is basically the same. The purpose of calibrating the AGC is that no matter what the signal strength of the wireless terminal is, the signal strength before entering the demodulation circuit is basically the same. The gain table generated in the AGC calibration process can control the AGC circuit to use a specific amplification factor to amplify the Received Signal Strength Indication (RSSI) to the extent that the demodulation threshold is met. In addition to ensuring the quality of downlink communication, in the 3rd Generation Partnership Project (3GPP) communication protocol, whether many related protocols are certified or not depends on whether the wireless mobile terminal can calculate the accurate RSSI value.
现有的校准预处理方法有快速AGC校准技术,取频带的中间信道测试,将仪表输出功率(Cell Power)固定,不断调整AGC电路的增益(Gain)使RSSI达到目标值,然后通过改变仪表侧的Cell Power,使手机测量的RSSI值与Cell Power相等。简而言之,就是在AGC电路的一段增益区间,分别测试两个或多个点,计算出固定的增益斜率,参与线性运算得出Gain序列。The existing calibration preprocessing methods include the fast AGC calibration technology, which takes the middle channel test of the frequency band, fixes the output power (Cell Power) of the instrument, and continuously adjusts the gain (Gain) of the AGC circuit to make the RSSI reach the target value, and then changes the instrument side by changing the output power (Cell Power). Cell Power, so that the RSSI value measured by the mobile phone is equal to the Cell Power. In short, it is to test two or more points in a gain interval of the AGC circuit, calculate the fixed gain slope, and participate in the linear operation to obtain the Gain sequence.
但是,当前技术RSSI校准非常依赖环境,如果环境中出现同频 信号干扰,小信号的校准结果就会不准确,得出的RSSI超出门限,则会校准失败。得出的RSSI居于门限内的,AGC增益会偏低,影响终端信号测量。如果校准在严格要求的屏蔽环境下进行,那么数百平方的屏蔽墙建造成本接近千万人民币,开支较大。如将生产主板放在屏蔽盒内,仍然不能解决干扰从校准仪表壳体导入,介入到校准流程中的问题。However, the RSSI calibration of the current technology is very dependent on the environment. If there is co-channel signal interference in the environment, the calibration result of the small signal will be inaccurate, and the RSSI obtained exceeds the threshold, and the calibration will fail. If the RSSI obtained is within the threshold, the AGC gain will be low, which will affect the terminal signal measurement. If the calibration is carried out in a strictly required shielding environment, the construction cost of a shielding wall of hundreds of square meters is close to 10 million RMB, and the expense is relatively large. If the production motherboard is placed in the shielding box, it still cannot solve the problem that the interference is introduced from the casing of the calibration instrument and intervenes in the calibration process.
发明内容SUMMARY OF THE INVENTION
本发明解决的技术问题是减小环境干扰对AGC校准的影响,提升AGC校准的准确性以及降低成本。The technical problem solved by the present invention is to reduce the influence of environmental interference on the AGC calibration, improve the accuracy of the AGC calibration and reduce the cost.
为解决上述技术问题,本发明实施例提供一种AGC校准预处理方法,所述方法包括:获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI;如果所述中间信道对应的RSSI超出预设范围,则在所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI;在所述边缘信道对应的RSSI未超出预设范围时,将所述边缘信道作为参考信道用于计算其他信道的增益。In order to solve the above technical problem, an embodiment of the present invention provides an AGC calibration preprocessing method, the method includes: obtaining the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated; if the RSSI corresponding to the intermediate channel exceeds The preset range, select at least one edge channel in the frequency band to be calibrated and obtain the RSSI corresponding to the edge channel measured by using the edge channel; when the RSSI corresponding to the edge channel does not exceed the preset range, the The edge channel is used as a reference channel to calculate the gains of other channels.
可选的,所述将所述边缘信道作为参考信道用于计算其他信道的增益包括:如果多个边缘信道对应的RSSI均未超出预设范围,则选取在校准仪表最小输出功率下最小RSSI对应的边缘信道为所述参考信道。Optionally, using the edge channel as a reference channel for calculating the gains of other channels includes: if the RSSI corresponding to multiple edge channels does not exceed the preset range, then selecting the minimum RSSI corresponding to the minimum output power of the calibration instrument. The edge channel of is the reference channel.
可选的,所述AGC校准预处理方法还包括:如果所述至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI均达到所述预设门限,则对于超过预设门限的RSSI对应的信道,将校准时采用的校准仪表的输出功率作为校准仪表当前输出功率;将所述当前输出功率增大第一预设值,以作为第一输出功率,并利用所述第一输出功率下AGC电路的第一增益计算在所述当前输出功率下的第一RSSI;至少在所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值时,确定校准通过;将所述超过预设门 限的RSSI对应的信道作为参考信道用于计算其他信道的增益。Optionally, the AGC calibration preprocessing method further includes: if the at least one edge channel and the RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, then for the at least one edge channel exceeding the preset threshold. For the channel corresponding to RSSI, the output power of the calibration meter used during calibration is used as the current output power of the calibration meter; the current output power is increased by a first preset value as the first output power, and the first output power is used. Calculate the first RSSI under the current output power with the first gain of the lower AGC circuit; at least when the difference between the first RSSI and the target RSSI is a negative value of the first preset value or a second preset value When the negative value of , it is determined that the calibration has passed; the channel corresponding to the RSSI exceeding the preset threshold is used as a reference channel to calculate the gains of other channels.
可选的,所述将校准时采用的校准仪表的输出功率作为校准仪表当前输出功率之前还包括:选取最小RSSI对应的边缘信道,并将所述边缘信道作为参考信道,将校准所述边缘信道时采用的校准仪表的输出功率作为校准仪表当前输出功率。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, using the edge channel as a reference channel, and using the edge channel when calibrating the edge channel. The output power of the used calibration instrument is taken as the current output power of the calibration instrument.
可选的,所述至少在所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值时,确定校准通过包括:在测量得到中间信道对应的RSSI时计算增益与校准仪表输出功率之间的第一斜率;利用所述当前输出功率对应的增益、所述第一增益以及所述第一预设值计算第二斜率;如果所述第一斜率和所述第二斜率的差值的绝对值小于第一预设阈值,且所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值,则确定校准通过。Optionally, determining that the calibration is passed at least when 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: when the measurement is obtained in the middle Calculate the first slope between the gain and the output power of the calibration meter when the RSSI corresponding to the channel is used; calculate the second slope by using the gain corresponding to the current output power, the first gain and the first preset value; if the The absolute value of the difference between the first slope and the second slope is less than a first preset threshold, and the difference between the first RSSI and the target RSSI is a negative value of the first preset value or a second preset value If the value is negative, it is determined that the calibration has passed.
可选的,所述获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI之前还包括:获取当前校准位置及其对应的运营商工作频段;选取所述待校准频段中与所述运营商频段的非重叠频段,并从所述非重叠频段中选取所述参考信道用于AGC校准。Optionally, before the acquiring the RSSI corresponding to the intermediate channel obtained by using the intermediate channel of the frequency band to be calibrated further includes: acquiring the current calibration position and its corresponding operating frequency band of the operator; A non-overlapping frequency band of the commercial frequency band, and the reference channel is selected from the non-overlapping frequency bands for AGC calibration.
可选的,所述选取所述待校准频段与所述运营商频段中非重叠频段包括:将所述运营商工作频段两侧分别进行扩展,扩展的频段长度大于等于第二预设阈值,且小于所述待校准频段与所述运营商频段中最大频率值的差值以及最小频率值的差值;选取所述待校准频段中与扩展后的运营商频段的非重叠频段。Optionally, the selecting a non-overlapping frequency band in the to-be-calibrated frequency band and the operator's frequency band includes: expanding both sides of the operator's working frequency band respectively, and the length of the expanded frequency band is greater than or equal to a second preset threshold, and is less than the difference between the maximum frequency value and the minimum frequency value in the frequency band to be calibrated and the operator frequency band; select a non-overlapping frequency band between the frequency band to be calibrated and the extended operator frequency band.
为解决上述问题,本发明实施例还公开了一种AGC校准预处理装置,AGC校准预处理装置包括:获取模块,用于获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI;选取模块,用于如果所述中间信道对应的RSSI超出预设范围,则在所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI;计算模块,用于在所述边缘信道对应的RSSI未超出预设范围时,将所述边缘信道作为参考信道用于计算其他信道的增 益。In order to solve the above problem, the embodiment of the present invention also discloses an AGC calibration preprocessing device. The AGC calibration preprocessing device includes: an acquisition module for acquiring the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated; module, for if the RSSI corresponding to the intermediate channel exceeds the preset range, then select at least one edge channel in the frequency band to be calibrated and obtain the RSSI corresponding to the edge channel obtained by measuring the edge channel; a calculation module, used for When the RSSI corresponding to the edge channel does not exceed the preset range, the edge channel is used as a reference channel to calculate gains of other channels.
本发明实施例还公开了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时执行所述AGC校准预处理方法的步骤。The embodiment of the present invention further discloses a storage medium on which a computer program is stored, and when the computer program is run by a processor, the steps of the AGC calibration preprocessing method are executed.
本发明实施例还公开了一种终端,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述处理器运行所述计算机程序时执行所述AGC校准预处理方法的步骤。An embodiment of the present invention further discloses a terminal, including a memory and a processor, the memory stores a computer program that can be run on the processor, and the processor executes the AGC calibration when the computer program runs The steps of the preprocessing method.
与现有技术相比,本发明实施例的技术方案具有以下有益效果:Compared with the prior art, the technical solutions of the embodiments of the present invention have the following beneficial effects:
本发明技术方案中,首先获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI,如果所述中间信道对应的RSSI超出预设范围,则在所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI,在所述边缘信道对应的RSSI未超出预设范围时,将所述边缘信道作为参考信道用于计算其他信道的增益。中间信道对应的RSSI超出预设范围表示可能存在与中间信道同频的干扰信号,导致校准失败,本发明技术方案通过发现干扰以及干扰信号的位置,并选取合适的边缘信道进行AGC校准,能够避免环境中干扰信号对AGC校准的影响,提升AGC校准的准确性;此外,通过适用本发明技术方案还能够降低AGC校准对环境的要求,节约校准环境建设成本。In the technical solution of the present invention, the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated is first obtained, and if the RSSI corresponding to the intermediate channel exceeds the preset range, at least one edge channel is selected in the frequency band to be calibrated And acquire the RSSI corresponding to the edge channel obtained by measuring the edge channel, and when the RSSI corresponding to the edge channel does not exceed the preset range, use the edge channel as a reference channel to calculate the gains of other channels. If the RSSI corresponding to the middle channel exceeds the preset range, it means that there may be an interference signal with the same frequency as the middle channel, which leads to the failure of calibration. The technical solution of the present invention can avoid the interference and the position of the interference signal by discovering the position of the interference and the interference signal, and selecting a suitable edge channel for AGC calibration. The influence of interference signals in the environment on the AGC calibration improves the accuracy of the AGC calibration; in addition, the application of the technical solution of the present invention can also reduce the environmental requirements of the AGC calibration and save the cost of the calibration environment.
附图说明Description of drawings
图1是本发明实施例一种AGC校准预处理方法的流程图;1 is a flowchart of an AGC calibration preprocessing method according to an embodiment of the present invention;
图2是本发明实施例另一种AGC校准预处理方法的流程图;2 is a flowchart of another AGC calibration preprocessing method according to an embodiment of the present invention;
图3是本发明实施例一种应用场景的示意图;3 is a schematic diagram of an application scenario of an embodiment of the present invention;
图4是本发明实施例另一种应用场景的示意图;4 is a schematic diagram of another application scenario of an embodiment of the present invention;
图5是本发明实施例一种AGC校准预处理方法的具体流程示意图;FIG. 5 is a schematic flowchart of a specific process of an AGC calibration preprocessing method according to an embodiment of the present invention;
图6是本发明实施例一种AGC校准预处理装置的结构示意图。FIG. 6 is a schematic structural diagram of an AGC calibration preprocessing device according to an embodiment of the present invention.
具体实施方式Detailed ways
如背景技术中所述,当前技术RSSI校准非常依赖环境,如果环境中出现同频信号干扰,小信号的校准结果就会不准确,得出的RSSI超出门限,则会校准失败。得出的RSSI居于门限内的,AGC增益会偏低,影响终端信号测量。如果校准在严格要求的屏蔽环境下进行,那么数百平方的屏蔽墙建造成本接近千万人民币,开支较大。如将生产主板放在屏蔽盒内,仍然不能解决干扰从校准仪表壳体导入,介入到校准流程中的问题。As described in the Background Art, the RSSI calibration of the current technology 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 will exceed the threshold, and the calibration will fail. If the RSSI obtained is within the threshold, the AGC gain will be low, which will affect the terminal signal measurement. If the calibration is carried out in a strictly required shielding environment, the construction cost of a shielding wall of hundreds of square meters is close to 10 million RMB, and the expense is relatively large. If the production motherboard is placed in the shielding box, it still cannot solve the problem that the interference is introduced from the casing of the calibration instrument and intervenes in the calibration process.
本发明技术方案通过发现干扰以及干扰信号的位置,并选取合适的边缘信道进行AGC校准,能够避免环境中干扰信号对AGC校准的影响,提升AGC校准的准确性;此外,通过适用本发明技术方案还能够降低AGC校准对环境的要求,节约校准环境建设成本。The technical solution of the present invention can avoid the influence of the interference signal in the environment on the AGC calibration and improve the accuracy of the AGC calibration by discovering the position of the interference and the interference signal, and selecting a suitable edge channel to perform the AGC calibration; in addition, by applying the technical solution of the present invention It can also reduce the environmental requirements of AGC calibration and save the cost of calibration environment construction.
本方明技术方案可适用于5G(5 Generation)通信***,还可适用于4G、3G通信***,还可适用于未来新的各种通信***,例如6G、7G等。The technical solution of the present invention can be applied to 5G (5 Generation) communication systems, 4G and 3G communication systems, and various new communication systems in the future, such as 6G and 7G.
为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1是本发明实施例一种AGC校准预处理方法的流程图。FIG. 1 is a flowchart of an AGC calibration preprocessing method according to an embodiment of the present invention.
本发明实施例的AGC校准预处理方法可以由终端来执行,具体可以由终端中运行的AGC校准工具软件来运行。所述终端可以是计算机、平板电脑等各种适当的设备,本发明实施例对此不作限制。The AGC calibration preprocessing method in 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 various appropriate devices such as a computer and a tablet computer, which is not limited in this embodiment of the present invention.
具体而言,所述AGC校准预处理方法可以包括以下步骤:Specifically, the AGC calibration preprocessing method may include the following steps:
步骤S101:获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI;Step S101: acquiring the RSSI corresponding to the intermediate channel measured by using the intermediate channel of the frequency band to be calibrated;
步骤S102:如果所述中间信道对应的RSSI超出预设范围,则在 所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI;Step S102: if the RSSI corresponding to the intermediate channel exceeds the preset range, then select at least one edge channel in the frequency band to be calibrated and obtain the RSSI corresponding to the edge channel by measuring the edge channel;
步骤S103:在所述边缘信道对应的RSSI未超出预设范围时,将所述边缘信道作为参考信道用于计算其他信道的增益。Step S103: When the RSSI corresponding to the edge channel does not exceed a preset range, use the edge channel as a reference channel for calculating gains of other channels.
需要指出的是,本实施例中各个步骤的序号并不代表对各个步骤的执行顺序的限定。It should be noted that the sequence numbers of the steps in this embodiment do not represent limitations on the execution order of the steps.
本实施例中,AGC校准的目的是无论终端所处位置信号大小如何,最终进入其解调电路前的信号强度大小基本一致。AGC校准流程中生成的增益表,能够控制AGC电路使用特定的放大倍数,将RSSI放大到满足解调门限的程度。待校准频段中各个频率值具有对应的信道,中间信道可以是待校准频段中处于中间位置附近的频率所对应的信道。In this embodiment, the purpose of the AGC calibration is that no matter what the signal strength of the terminal is located, the signal strength before entering the demodulation circuit is basically the same. The gain table generated in the AGC calibration process can control the AGC circuit to use a specific amplification factor to amplify the RSSI to the extent that the demodulation threshold is met. Each frequency value in the frequency band to be calibrated has a corresponding channel, and the middle channel may be a channel corresponding to a frequency near the middle position in the frequency band to be calibrated.
在步骤S101的具体实施中,通常选取待校准频段的中间频率值对应的中间信道作为初始的参考信道,例如以B3频段1805-1879.9MHz为例,选取中间频率值1945MHz对应的信道为参考信道进行测试。具体地,在获取中间信道对应的RSSI时,可以是由校准仪表按照设置的输出功率发送信号,终端接收信号并返回RSSI至AGC校准工具软件。In the specific implementation of step S101, the intermediate channel corresponding to the intermediate frequency value of the frequency band to be calibrated is usually selected as the initial reference channel. test. Specifically, when acquiring the RSSI corresponding to the intermediate channel, the calibration instrument may send a signal according to the set output power, and the terminal receives the signal and returns the RSSI to the AGC calibration tool software.
通常而言,目标RSSI是指调制解调器要求的最小解调接收信号电平。取频带的中间信道测试时,将仪表输出功率(Cell Power)固定,不断调整AGC电路的增益(Gain)使RSSI达到目标RSSI值。预设范围则是将目标RSSI增大以及减小预设值来确定的,例如增大以及减小10dB。Generally speaking, target RSSI refers to the minimum demodulated received signal level required by the modem. When taking the middle channel test of the frequency band, the output power of the meter (Cell Power) is fixed, and the gain (Gain) of the AGC circuit is continuously adjusted to make the RSSI reach the target RSSI value. The preset range is determined by increasing and decreasing the target RSSI by a preset value, for example, increasing and decreasing by 10dB.
在步骤S102的具体实施中,中间信道对应的RSSI超出预设范围时,表示中间信道校准失败。此时表示可能存在环境干扰,需要排除干扰。故而可以在所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI。In the specific implementation of step S102, when the RSSI corresponding to the intermediate channel exceeds the preset range, it means that the calibration of the intermediate channel fails. At this time, it means that there may be environmental interference, and the interference needs to be eliminated. Therefore, at least one edge channel can be selected in the frequency band to be calibrated, and the RSSI corresponding to the edge channel can be obtained by measuring the edge channel.
本发明实施例中所称边缘信道可以是待校准频段中最小频率值附近频率值以及最大频率值附近频率值所对应的信道。The edge channel in the embodiment of the present invention may be a channel corresponding to a frequency value near the minimum frequency value and a frequency value near the maximum frequency value in the frequency band to be calibrated.
进而在步骤S103的具体实施中,如果边缘信道对应的RSSI未超出预设范围,表示该边缘信道校准通过,也即环境中不存在与该校准信道同频的干扰信号,则可以利用该边缘信道作为参考信道用于计算其他信道的增益。Furthermore, in the specific implementation of step S103, if the RSSI corresponding to the edge channel does not exceed the preset range, it means that the edge channel has passed the calibration, that is, there is no interference signal with the same frequency as the calibration channel in the environment, then the edge channel can be used. Used as a reference channel to calculate the gains of other channels.
需要说明的是,关于计算参考信道的增益以及利用参考信道的增益计算其他信道的增益的具体实施方式可以参照现有技术,此处不再赘述。It should be noted that, for specific implementations of calculating the gain of the reference channel and using the gain of the reference channel to calculate the gain of other channels, reference may be made to the prior art, which will not be repeated here.
本发明实施例通过发现干扰以及干扰信号的位置,并选取合适的边缘信道进行AGC校准,能够避免环境中干扰信号对AGC校准的影响,提升AGC校准的准确性;此外,通过适用本发明技术方案还能够降低AGC校准对环境的要求,节约校准环境建设成本。The embodiment of the present invention can avoid the influence of the interference signal in the environment on the AGC calibration and improve the accuracy of the AGC calibration by discovering the position of the interference and the interference signal, and selecting an appropriate edge channel to perform the AGC calibration; in addition, by applying the technical solution of the present invention It can also reduce the environmental requirements of AGC calibration and save the cost of calibration environment construction.
在一个非限制性的实施例中,图1所示步骤S103可以包括以下步骤:如果多个边缘信道对应的RSSI均未超出预设范围,则选取在校准仪表最小输出功率下最小RSSI对应的边缘信道为所述参考信道。In a non-limiting embodiment, step S103 shown in FIG. 1 may include the following steps: if the RSSI corresponding to the multiple edge channels does not exceed the preset range, select the edge corresponding to the minimum RSSI under the minimum output power of the calibration meter The channel is the reference channel.
本实施例中,RSSI越小表示该RSSI对应的信道(也即频点)受到外部环境的干扰电平就越低,因此可以选取最小RSSI对应的边缘信道为所述参考信道。In this embodiment, the smaller the RSSI, the lower the interference level of the channel (that is, the frequency) corresponding to the RSSI is affected by the external environment. Therefore, the edge channel corresponding to the smallest RSSI may be selected as the reference channel.
在本发明一个具体应用场景中,长期演进(Long Term Evolution,LTE)***B1下行频段的信道(channel)号为Channel 0~599,频段范围为2110.00MHz~2169.9MHz;新无线(New Radio,NR)***n1频段信道号为422000~434000,频率范围为2110.00MHz~2169.9MHz。In a specific application scenario of the present invention, the channel number of the downlink frequency band of the Long Term Evolution (Long Term Evolution, LTE) system B1 is Channel 0~599, and the frequency band range is 2110.00MHz~2169.9MHz; New Radio (New Radio, NR) ) The channel number of the system n1 frequency band is 422000~434000, and the frequency range is 2110.00MHz~2169.9MHz.
使用Channel50~350任意信道作为主要信道校准AGC,大几率出现校准仪表输出功率(cell power)为-72dBm功率点得出的RSSI偏高导致校准失败。原因是终端的Gain是为-72dBm/5MHz的功率设定的, 但外部环境的干扰信号是-62dBm/5MHz,本来目标RSSI值应该是RSSI=-15dBm,由于外部干扰信号介入运算,得出RSSI>-5dBm,超出目标RSSI值±10dB的门限,校准工具软件判断校准失败。Using any channel of Channel 50 to 350 as the main channel to calibrate the AGC, there is a high probability that the RSSI of the calibration instrument output power (cell power) is too high at the power point of -72dBm, which will cause the calibration to fail. The reason is that the gain of the terminal is set for the power of -72dBm/5MHz, but the interference signal of the external environment is -62dBm/5MHz. The original target RSSI value should be RSSI=-15dBm. Due to the interference of the external interference signal, the RSSI is obtained. >-5dBm, exceeding the threshold of ±10dB of the target RSSI value, the calibration tool software judges that the calibration fails.
利用本发明技术方案采用Channel 550作为主要参考信道,校准就能够通过,因为外部环境中的干扰源的基站下行信道并不覆盖这个频点。也就是说,本申请技术方案通过规避与干扰信号同频的干扰信道为参考信道来实现提升AGC校准的准确性。By using the technical solution of the present invention and using Channel 550 as the main reference channel, the calibration can pass, because the downlink channel of the base station of the interference source in the external environment does not cover this frequency point. That is to say, the technical solution of the present application improves the accuracy of AGC calibration by avoiding the interference channel with the same frequency as the interference signal as the reference channel.
在本发明一个非限制性的实施例中,请参照图2,所述AGC校准预处理方法还可以包括以下步骤:In a non-limiting embodiment of the present invention, please refer to FIG. 2 , the AGC calibration preprocessing method may further include the following steps:
步骤S201:如果所述至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI均达到所述预设门限,则对于超过预设门限的RSSI对应的信道,将校准时采用的校准仪表的输出功率作为校准仪表当前输出功率;Step S201: If the at least one edge channel and the RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, then for the channel corresponding to the RSSI exceeding the preset threshold, the calibration instrument used during calibration is used. The output power is used as the current output power of the calibration instrument;
步骤S202:将所述当前输出功率增大第一预设值,以作为第一输出功率,并利用所述第一输出功率下AGC电路的第一增益计算在所述当前输出功率下的第一RSSI;Step S202: Increase the current output power by a first preset value as the first output power, and use the first gain of the AGC circuit under the first output power to calculate the first output power under the current output power. RSSI;
步骤S203:至少在所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值时,确定校准通过;Step S203: at least when 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, determine that the calibration has passed;
步骤S204:将所述超过预设门限的RSSI对应的信道作为参考信道用于计算其他信道的增益。Step S204: Use the channel corresponding to the RSSI exceeding the preset threshold as a reference channel for calculating gains of other channels.
本实施例中,如果边缘信道校准失败,则需要采用全带宽干扰规避方案。In this embodiment, if the edge channel calibration fails, a full-bandwidth interference avoidance scheme needs to be adopted.
具体实施中,假定校准失败时的校准仪表的输出功率cell power为P0,将P0作为校准仪表当前输出功率。将所述当前输出功率增大第一预设值,得到第一输出功率P1,例如取P0+20dB=P1。配置AGC电路Gain值为cell power为P1时对应的第一增益Gain1。第一增益Gain1低于cell power为P0对应的增益Gain0。In the specific implementation, it is assumed that the output power cell power of the calibration instrument when the calibration fails is P0, and P0 is used as the current output power of the calibration instrument. The current output power is increased by a first preset value to obtain a first output power P1, for example, P0+20dB=P1. Configure the Gain value of the AGC circuit to be the first gain Gain1 when the cell power is P1. The first gain Gain1 is lower than the gain Gain0 corresponding to the cell power P0.
原本校准失败是由于边缘信道对应的RSSI大于预设门限,那么采用较低的第一增益Gain1计算出第一RSSI,使得在外部环境干扰介入运算时,第一RSSI会低于目标RSSI第一预设值;外部环境干扰没有介入时,第一RSSI会低于目标RSSI第二预设值。无论外部环境的干扰介入或是不介入AGC校准,只要最终的第一RSSI低于目标RSSI第一预设值或第二预设值都符合预期,可以确认校准失败时P0对应的Gain0是仍然满足线性需求。也就是说可以确定P0对应的Gain0是正确的,可以用于计算增益表。The original calibration failure is because the RSSI corresponding to the edge channel is greater than the preset threshold, then the first RSSI is calculated by using the lower first gain Gain1, so that when the external environment interferes with the operation, the first RSSI will be lower than the target RSSI. Set value; when the external environment interference is not involved, the first RSSI will be lower than the second preset value of the target RSSI. Regardless of whether the external environment interferes or does not intervene in the AGC calibration, as long as the final first RSSI is lower than the first preset value or the second preset value of the target RSSI, it is expected, and it can be confirmed that the Gain0 corresponding to P0 is still satisfied when the calibration fails. Linear demand. That is to say, it can be determined that the Gain0 corresponding to P0 is correct and can be used to calculate the gain table.
例如,校准失败时P0与外部环境干扰电平差值接近10dB,因而导致RSSI超标10dB。取P0+20dB=P1,P1会比外部环境的干扰电平高10dB左右,用P1校准时,外部环境的干扰电平介入或不介入都不会明显影响最终RSSI。将校准失败的P0设为仪表cell power,但配置AGC电路Gain值为cell power=P1时对应的Gain1,Gain1相较于Gain0降低了20dB。原本校准失败是因为RSSI0大于目标RSSI10dB~11dB,用低20dB的Gain运算得出第一RSSI也即RSSIα,外部环境干扰介入运算时,RSSIα会低于目标RSSI约10dB,外部环境干扰没有介入时,RSSIα则会低于目标RSSI约20dB。For example, when the calibration fails, the difference between P0 and the external environment interference level is close to 10dB, thus causing the RSSI to exceed the standard by 10dB. Taking P0+20dB=P1, P1 will be about 10dB higher than the interference level of the external environment. When calibrating with P1, the interference level of the external environment will not affect the final RSSI significantly or not. Set the P0 of the failed calibration as the meter cell power, but configure the Gain value of the AGC circuit to correspond to Gain1 when cell power=P1, and Gain1 is 20dB lower than Gain0. The original calibration failed because RSSI0 was 10dB to 11dB greater than the target RSSI. The first RSSI, RSSIα, was obtained by using a gain operation with a lower 20dB. When external environmental interference intervened in the calculation, RSSIα was about 10dB lower than the target RSSI. RSSIα will be about 20dB lower than the target RSSI.
具体地,校准工具软件之所以设定预设范围,是因为倘若RSSI偏高,意味着Gain值偏高;RSSI值偏低,Gain值就偏小,无论偏大偏小都呈现为非线性,即终端测量不准确或AGC电路异常的体现。Specifically, the reason why the calibration tool software sets the preset range is because if the RSSI is too high, it means that the Gain value is too high; if the RSSI value is too low, the Gain value is too small. That is, the terminal measurement is inaccurate or the AGC circuit is abnormal.
然而本申请发明人发现事实并非如此。请参照图3和图4,图3和图4中纵坐标表示增益,横坐标表示仪表输出功率cell power。图3所示理想中的校准数据中,Gain的小抖动(虚线所示位置)代表该区间是Gain三级模式的切换点,整体而言是线性的。However, the inventors of the present application found that this is not the case. Please refer to Figure 3 and Figure 4, the ordinate in Figure 3 and Figure 4 represents the gain, and the abscissa represents the meter output power cell power. In the ideal calibration data shown in Figure 3, the small jitter of Gain (the position shown by the dotted line) represents that this interval is the switching point of the three-level mode of Gain, which is linear as a whole.
图4所示外界干扰参与的情形中,外界干扰只参与了一个时隙,由于校准速度非常快,外界基站发射的同频信号也不是持续的,所以在cell power等于-75~-76dBm的那一时刻参与了进来,导致RSSI与理想范围偏离过大,导致线性估计与实际值偏离过大,导致校准失败, 生产也就中断了。扩宽RSSI上下门限可以避免工具判断失误,但这样会任由不良主板流入下一个环节,是不可取的方法。提高cell power最小值也是一个解决思路,但会提供较少的参考值,影响斜率计算,导致终端对小信号下的RSSI测量逐渐偏离实际值。In the case of external interference participation shown in Figure 4, the external interference only participates in one time slot. Because the calibration speed is very fast, the co-frequency signal transmitted by the external base station is not continuous, so when the cell power is equal to -75~-76dBm Participated in a moment, causing the RSSI to deviate too much from the ideal range, causing the linear estimate to deviate too much from the actual value, causing the calibration to fail and production to be interrupted. Widening the upper and lower thresholds of RSSI can avoid tool judgment errors, but this will allow bad motherboards to flow into the next link, which is not a desirable method. Increasing the minimum value of cell power is also a solution, but it will provide less reference values, which will affect the slope calculation and cause the terminal's RSSI measurement under small signals to gradually deviate from the actual value.
本发明实施例则通过发现干扰并确定干扰信号的大小,并通过反向计算确定AGC增益,提升AGC校准的可靠性和准确性,避免了干扰对终端生产过程的影响。The embodiment of the present invention improves the reliability and accuracy of the AGC calibration by discovering the interference, determining the magnitude of the interference signal, and determining the AGC gain through reverse calculation, and avoiding the influence of the interference on the terminal production process.
在本发明一个非限制性的实施例中,图2所示步骤S204可以包括以下步骤:In a non-limiting embodiment of the present invention, step S204 shown in FIG. 2 may include the following steps:
在测量得到中间信道对应的RSSI时计算增益与校准仪表输出功率之间的第一斜率;Calculate the first slope between the gain and the output power of the calibration instrument when the RSSI corresponding to the intermediate channel is obtained;
利用所述当前输出功率对应的增益、所述第一增益以及所述第一预设值计算第二斜率;Calculate the second slope by using the gain corresponding to the current output power, the first gain and the first preset value;
如果所述第一斜率和所述第二斜率的差值的绝对值小于第一预设阈值,且所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值,则确定校准通过。If the absolute value of the difference between the first slope and the second slope is less than a first preset threshold, and the difference between the first RSSI and the target RSSI is the negative value of the first preset value or the third The negative value of the two preset values is determined to pass the calibration.
本实施例中,可以计算校准失败时的第一斜率γ α以及采用规避方案后的第二斜率γ β。比较第一斜率γ α和第二斜率γ β,两者的差值的绝对值小于第一预设阈值并且第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值,则确定校准通过。其中,可以采用以下公式计算第二斜率γ β
Figure PCTCN2022076760-appb-000001
其中,Gain 0表示当前输出功率对应的增益、Gain 1表示第一增益,T1表示所述第一预设值。
In this embodiment, the first slope γ α when the calibration fails and the second slope γ β after adopting the avoidance scheme can be calculated. Comparing the first slope γ α and the second slope γ β , the absolute value of the difference between the two is smaller than the first preset threshold and the difference between the first RSSI and the target RSSI is the negative value of the first preset value or the first preset value. The negative value of the two preset values is determined to pass the calibration. Wherein, the second slope γ β can be calculated by the following formula:
Figure PCTCN2022076760-appb-000001
Wherein, Gain 0 represents the gain corresponding to the current output power, Gain 1 represents the first gain, and T1 represents the first preset value.
具体地,第一预设阈值与AGC电路的线性增益范围以及标准协 议中对终端的小信号接收电平测量值的门限有关。Specifically, the first preset threshold is related to the linear gain range of the AGC circuit and the threshold of the small signal reception level measurement value of the terminal in the standard protocol.
具体实施中,按照协议要求,终端的小信号接收电平测量值需要处于下述范围(目标RSSI+2dB,目标RSSI-3dB),对于线性增益范围Range2的宽度为45dB的AGC电路,则第一预设阈值需要小于2/45以内,可以很大程度地满足协议要求。如第一预设阈值为0.02,也即|γ βα|≤0.02。 In the specific implementation, according to the requirements of the protocol, the measured value of the small signal reception level of the terminal needs to be in the following range (target RSSI+2dB, target RSSI-3dB). The preset threshold needs to be less than 2/45, which can largely meet the protocol requirements. For example, the first preset threshold is 0.02, that is, |γ βα |≤0.02.
请参照图5,图5示出了一种AGC校准预处理方法的具体流程图。Please refer to FIG. 5 , which shows a specific flowchart of an AGC calibration preprocessing method.
在步骤S401中,选取待校准频段Fn。In step S401, the frequency band Fn to be calibrated is selected.
在步骤S402中,频段Fn开始AGC校准,得到增益值Ga并计算当前输出功率对应的增益;In step S402, the frequency band Fn starts AGC calibration, obtains the gain value Ga and calculates the gain corresponding to the current output power;
在步骤S403中,判断中间信道对应的RSSI是否超出预设范围,如果是则进入步骤S405,否则进入步骤S404。In step S403, it is judged whether the RSSI corresponding to the intermediate channel exceeds the preset range, and if so, it goes to step S405, otherwise, it goes to step S404.
在步骤S404中,校准工具软件保持默认配置。In step S404, the calibration tool software maintains the default configuration.
在步骤S405中,选取至少一个边缘信道分别进行RSSI扫描。In step S405, at least one edge channel is selected for RSSI scanning respectively.
在步骤S406中,判断边缘信道对应的RSSI是否超出预设范围,如果是,进入步骤S408,否则进入步骤S407。In step S406, it is judged whether the RSSI corresponding to the edge channel exceeds the preset range, if yes, go to step S408, otherwise go to step S407.
在步骤S407中,校准工具软件选取边缘信道为参考信道进行AGC校准。In step S407, the calibration tool software selects the edge channel as the reference channel to perform AGC calibration.
在步骤S408中,利用第一输出功率下AGC电路的第一增益计算在当前输出功率下的第一RSSI。In step S408, the first RSSI at the current output power is calculated using the first gain of the AGC circuit at the first output power.
在步骤S409中,判断第一RSSI与目标RSSI的差值是否为第一预设值的负值或第二预设值的负值,如果是,则进入步骤S411,否则进入步骤S410。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, go to step S411, otherwise go to step S410.
在步骤S410中,确定待测主板或校准设备异常,流程终止。In step S410, it is determined that the motherboard to be tested or the calibration device is abnormal, and the process is terminated.
在步骤S411中,将超过预设门限的RSSI对应的信道作为参考信道用于计算其他信道的增益。In step S411, the channel corresponding to the RSSI exceeding the preset threshold is used as a reference channel for calculating gains of other channels.
至此,待校准频段Fn已校准完成。So far, the calibration of the frequency band Fn to be calibrated has been completed.
需要说明的是,如果还有其他需要校准的频段,则将继续执行步骤S401至步骤S411。It should be noted that if there are other frequency bands that need to be calibrated, steps S401 to S411 will continue to be executed.
在本发明一个非限制的实施例中,在图1所示步骤S101之前还可以包括以下步骤:获取当前校准位置及其对应的运营商工作频段;选取所述待校准频段中与所述运营商频段的非重叠频段,并从所述非重叠频段中选取所述参考信道用于AGC校准。In a non-limiting embodiment of the present invention, before step S101 shown in FIG. 1 , the following steps may be further included: acquiring the current calibration position and its corresponding operating frequency band of the operator; non-overlapping frequency bands of frequency bands, and selecting the reference channel from the non-overlapping frequency bands for AGC calibration.
具体实施中,当前校准位置可以是由校准工具软件自动获取的,也可以是读取操作***的位置信息或者读取辅助定位设备的位置信息,还可以是由人工输入的,本发明实施例对此不作限制。In a specific implementation, the current calibration position may be automatically acquired by the calibration tool software, or may be obtained by reading the position information of the operating system or reading the position information of the auxiliary positioning device, or may be manually input. This is not limited.
进一步地,将所述运营商工作频段两侧分别进行扩展,扩展的频段长度大于等于第二预设阈值,且小于所述待校准频段与所述运营商 频段中最大频率值的差值以及最小频率值的差值;选取所述待校准频段中与扩展后的运营商频段的非重叠频段。Further, expand the two sides of the operator's working frequency band respectively, and the length of the expanded frequency band is greater than or equal to the second preset threshold, and is smaller than the difference between the maximum frequency value in the frequency band to be calibrated and the operator's frequency band and the minimum value. The difference between the frequency values; select the non-overlapping frequency band of the frequency band to be calibrated and the extended operator frequency band.
具体实施中,由于频段与信道具有对应关系,因此也可以是对运营商工作信道进行扩展,并选取待校准频段对应的信道集合与扩展后的运营商信道集合的非重叠部分。In the specific implementation, since the frequency band and the channel have a corresponding relationship, the operator working channel may also be expanded, and the non-overlapping part of the channel set corresponding to the frequency band to be calibrated and the expanded operator channel set may be selected.
以B3频段为例,基站发射信号频率范围是1805~1879.9MHz,***工作的频段为1840~1860MHz。待校准频带的可选取信道集合为A。运营商工作信道集合为B,信道集合B两侧分别扩展的频段长度x(也可称为保护间隔)可以是200kHz≤x<min{(max[A]-max[B]),(min[B]-min[A])},扩展的信道集合为Bs={min[B]-x,max[B]+x},可选信道为c,可选信道集合为Cs,
Figure PCTCN2022076760-appb-000002
Figure PCTCN2022076760-appb-000003
Taking the B3 frequency band as an example, the frequency range of the base station transmitting signal is 1805-1879.9MHz, and the frequency band of China Unicom's work is 1840-1860MHz. The set of selectable channels for the frequency band to be calibrated is A. The operator's working channel set is B, and the extended frequency band length x (also called guard interval) on both sides of the channel set B can be 200kHz≤x<min{(max[A]-max[B]), (min[ B]-min[A])}, the extended channel set is Bs={min[B]-x, max[B]+x}, the optional channel is c, and the optional channel set is Cs,
Figure PCTCN2022076760-appb-000002
Figure PCTCN2022076760-appb-000003
请参照图6,本发明实施例还公开了一种AGC校准预处理装置60,AGC校准预处理装置60可以包括:Referring to FIG. 6 , an embodiment of the present invention further discloses an AGC calibration preprocessing device 60 . The AGC calibration preprocessing device 60 may include:
获取模块601,用于获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI;an acquisition module 601, configured to acquire the RSSI corresponding to the intermediate channel measured by the intermediate channel of the frequency band to be calibrated;
选取模块602,用于如果所述中间信道对应的RSSI超出预设范围,则在所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI;A selection module 602, configured to select at least one edge channel in the to-be-calibrated frequency band if the RSSI corresponding to the intermediate channel exceeds a preset range, and obtain the RSSI corresponding to the edge channel obtained by measuring the edge channel;
计算模块603,用于在所述边缘信道对应的RSSI未超出预设范 围时,将所述边缘信道作为参考信道用于计算其他信道的增益。The calculation module 603 is configured to use the edge channel as a reference channel for calculating the gains of other channels when the RSSI corresponding to the edge channel does not exceed a preset range.
关于所述AGC校准预处理装置60的工作原理、工作方式的更多内容,可以参照图1至图5中的相关描述,这里不再赘述。For more details on the working principle and working 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.
所述AGC校准预处理装置60(虚拟装置)例如可以是:芯片、或者芯片模组等。The AGC calibration preprocessing device 60 (virtual device) may be, for example, a chip, a chip module, or the like.
关于上述实施例中描述的各个装置、产品包含的各个模块/单元,其可以是软件模块/单元,也可以是硬件模块/单元,或者也可以部分是软件模块/单元,部分是硬件模块/单元。例如,对于应用于或集成于芯片的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于芯片模组的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模块/单元可以位于芯片模组的同一组件(例如芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片模组内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于终端的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模块/单元可以位于终端内同一组件(例如,芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于终端内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现。Regarding each module/unit included in each device and product described in the above-mentioned embodiments, it may be a software module/unit, a hardware module/unit, or 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 in a chip, each module/unit included therein may be implemented by hardware such as circuits, or at least some of the modules/units may be implemented by a software program. Running on the processor integrated inside the chip, the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the chip module, the modules/units contained therein can be They are all implemented by hardware such as circuits, and different modules/units can be located in the same component of the chip module (such as chips, circuit modules, etc.) or in different components, or at least some of the modules/units can be implemented by software programs. The software program runs on the processor integrated inside the chip module, and the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the terminal, each module contained in it The units/units may all be implemented in hardware such as circuits, and different modules/units may be located in the same component (eg, chip, circuit module, etc.) or in different components in the terminal, or at least some of the modules/units may be implemented by software programs Realization, the software program runs on the processor integrated inside the terminal, and the remaining (if any) part of the modules/units can be implemented in hardware such as circuits.
本发明实施例还公开了一种存储介质,所述存储介质为计算机可读存储介质,其上存储有计算机程序,所述计算机程序运行时可以执行上述任一实施例所述AGC校准预处理方法的步骤。所述存储介质可以包括ROM、RAM、磁盘或光盘等。所述存储介质还可以包括非挥发性存储器(non-volatile)或者非瞬态(non-transitory)存储器等。An embodiment of the present invention further discloses a storage medium, where the storage medium is a computer-readable storage medium, and a computer program is stored thereon, and the computer program can execute the AGC calibration preprocessing method described in any one of the above-mentioned embodiments when the computer program runs. A step of. The storage medium may include ROM, RAM, magnetic or optical disks, and the like. The storage medium may also include a non-volatile memory (non-volatile) or a non-transitory (non-transitory) memory and the like.
本发明实施例还公开了一种终端,所述终端可以包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序。所述处理器运行所述计算机程序时可以执行上述任一实施例所述AGC校准预处理方法的步骤。所述用户设备包括但不限于手机、计算机、平板电脑等终端设备。An embodiment of the present invention further discloses a terminal, where the terminal may include a memory and a processor, and the memory stores a computer program that can run on the processor. When the processor runs the computer program, the steps of the AGC calibration preprocessing method described in any of the foregoing embodiments may be executed. The user equipment includes but is not limited to terminal equipment such as mobile phones, computers, and tablet computers.
本申请实施例中的终端可以指各种形式的用户设备(user equipment,简称UE)、接入终端、用户单元、用户站、移动站、移动台(mobile station,建成MS)、远方站、远程终端、移动设备、用户终端、终端设备(terminal equipment)、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,简称SIP)电话、无线本地环路(Wireless Local Loop,简称WLL)站、个人数字处理(Personal Digital Assistant,简称PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(Public Land Mobile Network,简称PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal in this embodiment of the present application may refer to various forms of user equipment (user equipment, UE for short), access terminal, subscriber unit, subscriber station, mobile station, mobile station (mobile station, built as MS), remote station, remote station A terminal, mobile device, user terminal, terminal equipment, wireless communication device, user agent or 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), Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices with wireless communication capabilities, terminal devices in future 5G networks or future evolved public land mobile communication networks (Public Land Mobile Network, referred to as PLMN), which is not limited in this embodiment of the present application.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/“,表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this document is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A and B exist at the same time , there are three cases of B alone. In addition, the character "/" in this text indicates that the related objects before and after are an "or" relationship.
本申请实施例中出现的“多个”是指两个或两个以上。The "plurality" in the embodiments of the present application refers to two or more.
本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。The descriptions of the first, second, etc. appearing in the embodiments of the present application are only used for illustration and distinguishing the description objects, and have no order. any limitations of the examples.
本申请实施例中出现的“连接”是指直接连接或者间接连接等各种连接方式,以实现设备间的通信,本申请实施例对此不做任何限定。The "connection" in the embodiments of the present application refers to various connection modes such as direct connection or indirect connection, so as to realize communication between devices, which is not limited in the embodiments of the present application.
应理解,本申请实施例中,所述处理器可以为中央处理单元(central processing unit,简称CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,简称DSP)、专用集成电路(application specific integrated circuit,简称ASIC)、现成可编程门阵列(field programmable gate array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in the embodiments of the present application, the processor may be a central processing unit (central processing unit, CPU for short), and the processor may also be other general-purpose processors, digital signal processors (digital signal processor, DSP for short) , application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,简称ROM)、可编程只读存储器(programmable ROM,简称PROM)、可擦除可编程只读存储器(erasable PROM,简称EPROM)、电可擦除可编程只读存储器(electrically EPROM,简称EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,简称RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random access memory,简称RAM)可用,例如静态随机存取存储器(static RAM,简称SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,简称SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,简称DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,简称ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,简称SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,简称DR RAM)。It should also be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM for short), programmable read-only memory (PROM for short), erasable programmable read-only memory (EPROM for short) , Electrically Erasable Programmable Read-Only Memory (electrically EPROM, EEPROM for short) or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous Dynamic random access memory (synchronous DRAM, referred to as SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, referred to as DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, referred to as ESDRAM), Synchronous connection dynamic random access memory (synchlink DRAM, referred to as SLDRAM) and direct memory bus random access memory (direct rambus RAM, referred to as DR RAM).
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者 其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. 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 includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission by wire or wireless to another website site, computer, server or data center. 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, a data center, or the like that contains one or more sets of available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media. The semiconductor medium may be a solid state drive.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法、装置和***,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的;例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式;例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method, apparatus and system may be implemented in other manners. For example, the device embodiments described above are only illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included individually, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM for short), Random Access Memory (RAM for short), magnetic disk or CD, etc. that can store program codes medium.
虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be based on the scope defined by the claims.

Claims (10)

  1. 一种AGC校准预处理方法,其特征在于,包括:An AGC calibration preprocessing method, comprising:
    获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI;Obtain the RSSI corresponding to the middle channel measured by the middle channel of the frequency band to be calibrated;
    如果所述中间信道对应的RSSI超出预设范围,则在所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI;If the RSSI corresponding to the intermediate channel exceeds the preset range, select at least one edge channel in the frequency band to be calibrated and obtain the RSSI corresponding to the edge channel obtained by measuring the edge channel;
    在所述边缘信道对应的RSSI未超出预设范围时,将所述边缘信道作为参考信道用于计算其他信道的增益。When the RSSI corresponding to the edge channel does not exceed the preset range, the edge channel is used as a reference channel to calculate gains of other channels.
  2. 根据权利要求1所述的AGC校准预处理方法,其特征在于,所述将所述边缘信道作为参考信道用于计算其他信道的增益包括:The AGC calibration preprocessing method according to claim 1, wherein the using the edge channel as a reference channel for calculating the gains of other channels comprises:
    如果多个边缘信道对应的RSSI均未超出预设范围,则选取在校准仪表最小输出功率下最小RSSI对应的边缘信道为所述参考信道。If the RSSI corresponding to the multiple edge channels does not exceed the preset range, the edge channel corresponding to the minimum RSSI under the minimum output power of the calibration instrument is selected as the reference channel.
  3. 根据权利要求1所述的AGC校准预处理方法,其特征在于,还包括:The AGC calibration preprocessing method according to claim 1, further comprising:
    如果所述至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI均达到所述预设门限,则对于超过预设门限的RSSI对应的信道,将校准时采用的校准仪表的输出功率作为校准仪表当前输出功率;If the at least one edge channel and the RSSI corresponding to the edge channel obtained by using the edge channel measurement all reach the preset threshold, then for the channel corresponding to the RSSI exceeding the preset threshold, the output power of the calibration instrument used in the calibration is used for calibration. As the current output power of the calibration instrument;
    将所述当前输出功率增大第一预设值,以作为第一输出功率,并利用所述第一输出功率下AGC电路的第一增益计算在所述当前输出功率下的第一RSSI;increasing the current output power by a first preset value as the first output power, and using the first gain of the AGC circuit under the first output power to calculate the first RSSI under the current output power;
    至少在所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值时,确定校准通过;At least when 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, it is determined that the calibration has passed;
    将所述超过预设门限的RSSI对应的信道作为参考信道用于计算其 他信道的增益。The channel corresponding to the RSSI exceeding the preset threshold is used as a reference channel for calculating the gains of other channels.
  4. 根据权利要求3所述的AGC校准预处理方法,其特征在于,所述将校准时采用的校准仪表的输出功率作为校准仪表当前输出功率之前还包括:The AGC calibration preprocessing method according to claim 3, characterized in that, before the output power of the calibration instrument used in the calibration is taken as the current output power of the calibration instrument, the method further comprises:
    选取最小RSSI对应的边缘信道,并将所述边缘信道作为参考信道,将校准所述边缘信道时采用的校准仪表的输出功率作为校准仪表当前输出功率。The edge channel corresponding to the minimum RSSI is selected, the edge channel is used as the reference channel, and the output power of the calibration meter used when calibrating the edge channel is used as the current output power of the calibration meter.
  5. 根据权利要求3所述的AGC校准预处理方法,其特征在于,所述至少在所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值时,确定校准通过包括:The AGC calibration preprocessing method according to claim 3, wherein the difference between the first RSSI and the target RSSI at least is a negative value of the first preset value or a negative value of the second preset value. Negative values, determining the calibration pass includes:
    在测量得到中间信道对应的RSSI时计算增益与校准仪表输出功率之间的第一斜率;Calculate the first slope between the gain and the output power of the calibration instrument when the RSSI corresponding to the intermediate channel is obtained;
    利用所述当前输出功率对应的增益、所述第一增益以及所述第一预设值计算第二斜率;Calculate the second slope by using the gain corresponding to the current output power, the first gain and the first preset value;
    如果所述第一斜率和所述第二斜率的差值的绝对值小于第一预设阈值,且所述第一RSSI与目标RSSI的差值为所述第一预设值的负值或第二预设值的负值,则确定校准通过。If the absolute value of the difference between the first slope and the second slope is less than a first preset threshold, and the difference between the first RSSI and the target RSSI is the negative value of the first preset value or the third The negative value of the two preset values is determined to pass the calibration.
  6. 根据权利要求1所述的AGC校准预处理方法,其特征在于,所述获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI之前还包括:The AGC calibration preprocessing method according to claim 1, wherein before the acquiring the RSSI corresponding to the intermediate channel obtained by using the intermediate channel measurement of the frequency band to be calibrated further comprises:
    获取当前校准位置及其对应的运营商工作频段;Obtain the current calibration position and its corresponding operator's working frequency band;
    选取所述待校准频段中与所述运营商频段的非重叠频段,并从所述非重叠频段中选取所述参考信道用于AGC校准。A non-overlapping frequency band of the frequency band to be calibrated and the operator's frequency band is selected, and the reference channel is selected from the non-overlapping frequency band for AGC calibration.
  7. 根据权利要求6所述的AGC校准预处理方法,其特征在于,所述选取所述待校准频段与所述运营商频段中非重叠频段包括:The AGC calibration preprocessing method according to claim 6, wherein the selecting a non-overlapping frequency band in the to-be-calibrated frequency band and the operator frequency band comprises:
    将所述运营商工作频段两侧分别进行扩展,扩展的频段长度大于等于第二预设阈值,且小于所述待校准频段与所述运营商频段中最大频率值的差值以及最小频率值的差值;Expand both sides of the operator's working frequency band respectively, and the length of the expanded frequency band is greater than or equal to the second preset threshold, and less than the difference between the maximum frequency value and the minimum frequency value between the frequency band to be calibrated and the operator frequency band. difference;
    选取所述待校准频段中与扩展后的运营商频段的非重叠频段。A non-overlapping frequency band of the frequency band to be calibrated and the expanded operator frequency band is selected.
  8. 一种AGC校准预处理装置,其特征在于,包括:An AGC calibration preprocessing device is characterized in that, comprising:
    获取模块,用于获取利用待校准频段的中间信道测量得到的中间信道对应的RSSI;an acquisition module, configured to acquire the RSSI corresponding to the intermediate channel measured by the intermediate channel of the frequency band to be calibrated;
    选取模块,用于如果所述中间信道对应的RSSI超出预设范围,则在所述待校准频段中选取至少一个边缘信道并获取利用所述边缘信道测量得到边缘信道对应的RSSI;A selection module, configured to select at least one edge channel in the to-be-calibrated frequency band if the RSSI corresponding to the intermediate channel exceeds a preset range, and obtain the RSSI corresponding to the edge channel obtained by measuring the edge channel;
    计算模块,用于在所述边缘信道对应的RSSI未超出预设范围时,将所述边缘信道作为参考信道用于计算其他信道的增益。The calculation module is configured to use the edge channel as a reference channel for calculating the gains of other channels when the RSSI corresponding to the edge channel does not exceed a preset range.
  9. 一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器运行时执行权利要求1至7中任一项所述AGC校准预处理方法的步骤。A storage medium on which a computer program is stored, wherein the computer program executes the steps of the AGC calibration preprocessing method according to any one of claims 1 to 7 when the computer program is run by a processor.
  10. 一种终端,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器运行所述计算机程序时执行权利要求1至7中任一项所述AGC校准预处理方法的步骤。A terminal, comprising a memory and a processor, the memory stores a computer program that can run on the processor, wherein the processor executes any one of claims 1 to 7 when the processor runs the computer program. A step of the AGC calibration preprocessing method.
PCT/CN2022/076760 2021-02-25 2022-02-18 Agc calibration preprocessing method and device, and storage medium and terminal WO2022179439A1 (en)

Applications Claiming Priority (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
CN202110212542.5 2021-02-25

Publications (1)

Publication Number Publication Date
WO2022179439A1 true WO2022179439A1 (en) 2022-09-01

Family

ID=76350792

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (1)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030153291A1 (en) * 2002-02-08 2003-08-14 Pioneer Corporation AGC circuit of receiver using several local oscillation frequencies
CN1497992A (en) * 2002-10-07 2004-05-19 Lg电子株式会社 Method of compensating receiving power according to frequency of mobile communication terminal
CN101124798A (en) * 2005-03-31 2008-02-13 飞思卡尔半导体公司 AGC with integrated wideband interferer detection
CN103701481A (en) * 2013-12-03 2014-04-02 波达通信设备(广州)有限公司 Receiving level calibrating method for digital microwave transceiver
CN105450318A (en) * 2014-08-29 2016-03-30 展讯通信(上海)有限公司 AGC calibration method and apparatus
CN112996036A (en) * 2021-02-25 2021-06-18 展讯通信(深圳)有限公司 AGC calibration preprocessing method and device, storage medium and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304271B (en) * 2007-05-11 2012-02-01 展讯通信(上海)有限公司 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
CN104753616B (en) * 2013-12-30 2018-01-26 展讯通信(上海)有限公司 The automatic gain control calibration method and apparatus of communication terminal
CN105450317B (en) * 2014-07-31 2018-03-30 展讯通信(上海)有限公司 A kind of AGC calibration systems and method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030153291A1 (en) * 2002-02-08 2003-08-14 Pioneer Corporation AGC circuit of receiver using several local oscillation frequencies
CN1497992A (en) * 2002-10-07 2004-05-19 Lg电子株式会社 Method of compensating receiving power according to frequency of mobile communication terminal
CN101124798A (en) * 2005-03-31 2008-02-13 飞思卡尔半导体公司 AGC with integrated wideband interferer detection
CN103701481A (en) * 2013-12-03 2014-04-02 波达通信设备(广州)有限公司 Receiving level calibrating method for digital microwave transceiver
CN105450318A (en) * 2014-08-29 2016-03-30 展讯通信(上海)有限公司 AGC calibration method and apparatus
CN112996036A (en) * 2021-02-25 2021-06-18 展讯通信(深圳)有限公司 AGC calibration preprocessing method and device, storage medium and terminal

Also Published As

Publication number Publication date
CN112996036B (en) 2022-07-12
CN112996036A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US20220321293A1 (en) Signal communication method and device
US11988754B2 (en) Clock offset determination method and apparatus
US20220330198A1 (en) Signal transmission method and apparatus
CN110972054B (en) Positioning method and device
WO2019143511A1 (en) Coexistence reporting based on user equipment (ue) measurements
CN110650493A (en) Measuring method and measuring device
WO2022001858A1 (en) Positioning method and apparatus
WO2020087530A1 (en) Physical layer procedures for v2x communication
US9844024B2 (en) Determination of the real tracking-area when dynamic-TA techniques are applied
US20230309042A1 (en) Method and apparatus for correcting transmitting channel delay, and storage medium
WO2020164151A1 (en) Wireless communication method, terminal device, and network device
WO2022179439A1 (en) Agc calibration preprocessing method and device, and storage medium and terminal
WO2019228425A1 (en) Positioning method and apparatus
WO2023051241A1 (en) Method and apparatus for calibrating power of gsm radio frequency front end
US20230403660A1 (en) Prs-supporting sidelink power allocation method and apparatus, storage medium, and terminal
CN111417187A (en) Method and device for determining actual TRS frequency domain resource, storage medium and UE
KR20230134141A (en) Signal processing method and device
CN113014337B (en) Communication terminal test method and device, storage medium, control terminal and test system
WO2021136095A1 (en) Uplink time delay adjusting method and device, base station, and storage medium
US20160187457A1 (en) Hybrid model for smart positioning data processing
US11259266B2 (en) Distance estimation device and method and signal-power calibration method
WO2015127593A1 (en) Frequency spectrum processing method, base station, user equipment and system
EP3952494B1 (en) Method and device for determining positioning measurement value
CN112788734B (en) Clock deviation determining method and device
WO2022088107A1 (en) Measurement gap determination method, measurement method, related device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22758804

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/01/2024)