CN112135341B - Gain parameter adjusting method, device and equipment - Google Patents

Gain parameter adjusting method, device and equipment Download PDF

Info

Publication number
CN112135341B
CN112135341B CN202011002101.4A CN202011002101A CN112135341B CN 112135341 B CN112135341 B CN 112135341B CN 202011002101 A CN202011002101 A CN 202011002101A CN 112135341 B CN112135341 B CN 112135341B
Authority
CN
China
Prior art keywords
time interval
rssi
calculation time
agc
rssi calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011002101.4A
Other languages
Chinese (zh)
Other versions
CN112135341A (en
Inventor
朱建东
胡磊
桂竟晶
杨江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unisoc Chongqing Technology Co Ltd
Original Assignee
Unisoc Chongqing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unisoc Chongqing Technology Co Ltd filed Critical Unisoc Chongqing Technology Co Ltd
Priority to CN202011002101.4A priority Critical patent/CN112135341B/en
Publication of CN112135341A publication Critical patent/CN112135341A/en
Priority to PCT/CN2021/118496 priority patent/WO2022062993A1/en
Application granted granted Critical
Publication of CN112135341B publication Critical patent/CN112135341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/52TPC using AGC [Automatic Gain Control] circuits or amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength

Abstract

The embodiment of the application provides a gain parameter adjusting method, a gain parameter adjusting device and gain parameter adjusting equipment. And adjusting the gain parameter of the AGC according to the maximum RSSI average power of each OFDM symbol in the RSSI calculation time interval containing the CRS, so that the gain parameter of the AGC does not fluctuate greatly. Therefore, after the signal power of the received downlink subframe is adjusted based on the gain parameter, the signal power of the downlink subframe can be in a reasonable range, the electronic equipment can demodulate from the downlink subframe to obtain an accurate synchronous signal, and the initial synchronization performance is improved.

Description

Gain parameter adjusting method, device and equipment
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, and a device for adjusting a gain parameter.
Background
With the continuous maturity and improvement of mobile communication technology, the application environment of electronic devices is more and more extensive. In a mobile communication system, the power of a signal received by an electronic device fluctuates over a wide range due to the fading effect of a channel. During the initial synchronization process, the electronic device is in a receiving state. The electronic equipment can demodulate from the downlink subframe to obtain a synchronization signal to complete initial synchronization.
To complete the initial synchronization, the electronic device usually needs to use an Automatic Gain Control (AGC) so that the signal power adjusted by the AGC is within a reasonable range. However, when there is uplink subframe interference or signal nulls, the gain parameter of the AGC fluctuates greatly. During synchronous detection, the AGC with a large fluctuation of gain parameters cannot keep the power of the synchronization signal within a reasonable range, so that the electronic device cannot demodulate to obtain an accurate synchronization signal, and the initial synchronization performance is affected.
Disclosure of Invention
The embodiment of the application provides a gain parameter adjustment method, and the gain parameter of the AGC is obtained, so that the signal power of a downlink subframe is in a reasonable range, and further, the electronic device is facilitated to demodulate from the downlink subframe to obtain an accurate synchronization signal, and the initial synchronization performance is improved.
In a first aspect, the present application provides a method for adjusting a gain parameter, including:
determining a Received Signal Strength Indication (RSSI) calculation time interval according to the time domain distribution position of a Cell Reference Signal (CRS); at least a part of CRS is included in each RSSI calculation time interval;
calculating the RSSI average power in each OFDM symbol in the RSSI calculation time interval;
and adjusting the gain parameter of the AGC according to the maximum RSSI average power in the RSSI average power in each OFDM symbol.
With reference to the first aspect, in some possible embodiments, the gain parameter of the AGC is used to receive a signal in a next RSSI calculation time interval of the RSSI calculation time interval within a synchronization detection time interval.
With reference to the first aspect, in some possible embodiments, before determining the RSSI calculation time interval according to the time-domain distribution position of the CRS, the method further includes:
determining a first candidate RSSI calculation time interval according to the synchronous detection time interval and the frequency threshold value, so that the ratio of the synchronous detection time interval to the RSSI calculation time interval is greater than the frequency threshold value;
the determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the first candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the first candidate RSSI calculation time interval.
With reference to the first aspect, in some possible embodiments, before determining the RSSI calculation time interval according to the time-domain distribution position of the CRS, the method further includes:
determining an AGC adjustment period according to the synchronous detection time interval and the frequency threshold value, so that the ratio of the synchronous detection time interval to the AGC adjustment period is larger than the frequency threshold value;
determining a second candidate RSSI calculation time interval according to the difference between the AGC adjustment period and the software processing time of the electronic equipment;
the determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the second candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the second candidate RSSI calculation time interval.
With reference to the first aspect, in some possible implementations, calculating the RSSI average power in each OFDM symbol in the RSSI calculation time interval includes:
sampling the RSSI in each OFDM symbol in the time domain;
and calculating to obtain the RSSI average power in each OFDM symbol according to the amplitude value of the time domain sampling.
With reference to the first aspect, in some possible embodiments, adjusting a gain parameter of the automatic gain control AGC according to a maximum RSSI average power among RSSI average powers within the respective OFDM symbols includes:
acquiring a preset reference power value;
calculating the difference value between the maximum RSSI average power in the RSSI average power in each OFDM symbol and the preset reference power value to obtain a gain error;
and reducing the gain parameter of the AGC based on the gain error.
With reference to the first aspect, in some possible embodiments, the method further comprises:
and receiving the signal in fine synchronization based on the gain parameter corresponding to the time domain position of the synchronous signal in the synchronous detection time interval.
In a second aspect, an embodiment of the present application provides a gain parameter adjustment apparatus, including:
the determining module is used for determining the RSSI calculation time interval according to the time domain distribution position of the CRS; at least a part of CRS is included in each RSSI calculation time interval;
a calculation module, configured to calculate an average RSSI power in each OFDM symbol in the RSSI calculation time interval;
and the adjusting module is used for adjusting the gain parameters of the AGC according to the maximum RSSI average power in the RSSI average powers in all the OFDM symbols.
In some possible embodiments, in combination with the second aspect, the gain parameter of the AGC is used to receive a signal in a next RSSI calculation time interval of the RSSI calculation time interval within a sync detection time interval.
With reference to the second aspect, in some possible embodiments, before the determining module determines the RSSI calculation time interval according to the time domain distribution position of the CRS, the determining module is further configured to determine a first candidate RSSI calculation time interval according to the synchronization detection time interval and the frequency threshold value, so that a ratio of the synchronization detection time interval to the RSSI calculation time interval is greater than the frequency threshold value;
the determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the first candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the first candidate RSSI calculation time interval.
With reference to the second aspect, in some possible embodiments, before the determining module determines the RSSI calculation time interval according to the time domain distribution position of the CRS, the determining module is further configured to determine an AGC adjustment period according to the synchronization detection time interval and the frequency threshold, so that a ratio of the synchronization detection time interval to the AGC adjustment period is greater than the frequency threshold; determining a second candidate RSSI calculation time interval according to the difference between the AGC adjustment period and the software processing time of the electronic equipment;
the determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the second candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the second candidate RSSI calculation time interval.
With reference to the second aspect, in some possible embodiments, the calculation module is specifically configured to perform time domain sampling on the RSSI in each OFDM symbol; and calculating to obtain the RSSI average power in each OFDM symbol according to the amplitude value of the time domain sampling.
With reference to the second aspect, in some possible embodiments, the adjusting module is specifically configured to obtain a preset reference power value; calculating the difference value between the maximum RSSI average power in the RSSI average powers in each OFDM symbol and the preset reference power value to obtain a gain error; and reducing the gain parameter of the AGC based on the gain error.
In combination with the second aspect, in some possible embodiments, the apparatus further comprises: and the receiving module is used for receiving the signal in the fine synchronization based on the gain parameter corresponding to the time domain position of the synchronous signal in the synchronous detection time interval.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the processor is connected to the memory, where the memory is used to store a program code, and the processor is used to call the program code to execute the method of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the method of the first aspect described above.
In the embodiment of the application, an RSSI calculation time interval containing the CRS is determined according to the time domain distribution position of the CRS, and then the gain parameter of the AGC is adjusted according to the maximum value of the RSSI average power in each OFDM symbol in the RSSI calculation time interval. The RSSI calculation time interval contains CRS, and the gain parameter of AGC obtained according to the maximum RSSI average power in the RSSI calculation time interval does not fluctuate greatly, so that the electronic equipment is facilitated to demodulate from a downlink subframe to obtain an accurate synchronous signal, and the initial synchronization performance is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram of a network system provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an AGC of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a gain parameter adjustment method according to an embodiment of the present application;
fig. 4 is a schematic view of a subframe according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another gain parameter adjustment method provided in the embodiment of the present application;
fig. 6 is a schematic diagram illustrating AGC adjustment in a sync detection time interval according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a gain parameter adjustment apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
With the continuous maturity and perfection of Long Term Evolution (LTE) system, more and more electronic devices using LTE technology are used. In wireless communication systems, the power of the signal received by the receiver of the electronic device fluctuates over a large range due to the fading effects of the wireless channel.
After the electronic device is turned on, the electronic device needs to perform initial synchronization. In the initial synchronization process, the electronic equipment is in a receiving state, receives the downlink subframe, demodulates the downlink subframe to obtain a synchronization signal, and completes the initial synchronization. Due to the fading effect of the wireless channel, the signal power of the downlink sub-frame received by the electronic device fluctuates within a large range.
Currently, the following schemes exist: and adjusting the gain parameter of the AGC based on the average power in one OFDM symbol, and adjusting the signal power in the synchronous detection process by using the AGC containing the gain parameter. However, when there is uplink subframe interference or signal nulls, the gain parameter of the AGC fluctuates greatly. During synchronous detection, the gain parameters with large fluctuation can not enable the signal power in the downlink subframe to be in a reasonable range, so that the electronic equipment demodulates the downlink subframe to obtain inaccurate synchronous signals, and the initial synchronization performance is influenced.
The embodiment of the application provides a gain parameter adjusting method. The gain parameter adjusting method is applied to the electronic equipment, and the electronic equipment adjusts the gain parameter of the AGC according to the maximum RSSI average power of each OFDM symbol in the RSSI calculation time interval containing the CRS, so that the gain parameter of the AGC cannot fluctuate greatly, accurate synchronous signals are obtained by demodulating the downlink subframes by the electronic equipment, and the initial synchronization performance is improved.
Referring to fig. 1, fig. 1 is a schematic diagram of a network system according to an embodiment of the present disclosure. The network system includes a network device 100 and an electronic device 200. The network device 100 and the electronic device 200 may establish a communication connection through the LTE technology.
The network device 100 may be, among other things, an LTE base station (eNodeB) of an access network portion of an LTE system. The LTE system comprises an Access Network (E-UTRAN) part and a Core Network (EPC) part. The access network part comprises an LTE base station (eNodeB), and the core network part comprises a Mobility Management Entity (MME), a Serving GateWay (S-GW), a PDN GateWay and the like.
The electronic device 200 may be a portable electronic device, such as a smart Phone (including an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a mobile internet device, or a wearable device, and may also be a non-portable electronic device, such as an intelligent water meter, an intelligent refrigerator, a desktop computer, etc.
For better describing the embodiment of the present application, the working flow of AGC will be explained first. Referring to fig. 2, the AGC includes a variable gain amplifier 201, an analog/digital converter 202, a power calculating unit 203, and a gain adjusting unit 204. The power calculating unit 203 is configured to calculate an RSSI average power of a signal output by the analog-to-digital converter 202, and the gain adjusting unit 204 is configured to obtain a gain parameter according to the RSSI average power and a preset reference power value, and feed the gain parameter back to the variable gain amplifier 201, so as to ensure that the signal power input to the analog-to-digital converter 202 after the received signal power is processed by the variable gain amplifier 201 is within a reasonable range. The signal power being in a reasonable range may mean that the error between the signal power input to the analog-to-digital converter 202 and the preset reference power value is less than a fixed value. When the method of the embodiment of the application is utilized, the gain parameter of the AGC is more stable. After the receiver of the electronic device receives the signal of the downlink subframe, the signal power of the downlink subframe may be adjusted by the variable gain amplifier 201 including the stable gain parameter, so that the signal power input to the analog-to-digital converter 202 is within a reasonable range, that is, the signal power of the downlink subframe is within a reasonable range.
Based on this, the following provides a detailed explanation of the examples of the present application. An embodiment of the present application provides a method for adjusting gain parameters, please refer to fig. 3, which includes steps S301 to S303:
s301: and determining RSSI calculation time intervals according to the time domain distribution positions of the CRS, wherein each RSSI calculation time interval at least comprises part of the CRS.
In one possible implementation, the electronic device determines OFDM symbols that do not distinguish between cyclic prefix types from subframes of the LTE system and uses the OFDM symbols that do not distinguish between cyclic prefix types as individual OFDM symbols within the RSSI calculation time interval. Then, an RSSI calculation time interval containing a plurality of OFDM symbols is determined according to the time domain distribution position of the CRS in the subframe of the LTE system, so that at least part of the CRS is contained in the RSSI calculation time interval.
In one possible embodiment, 15 OFDM symbols which do not distinguish the cyclic prefix type may be included in one subframe. As shown in fig. 4, a subframe may include 15 OFDM symbols (abbreviated as OFDM symbols) with no cyclic prefix type distinction and 4 CRSs. Then, based on this, it may be determined that at least a part of or one complete CRS may be included in the 4 OFDM symbols according to the time-domain distribution position of the CRS in the subframe of the LTE system.
S302: and calculating the RSSI average power in each OFDM symbol in the RSSI calculation time interval.
In some possible embodiments, the RSSI in each OFDM symbol in the RSSI calculation time interval is first time-domain sampled, and then the average power of the RSSI in each OFDM symbol is calculated according to the amplitude value of the time-domain samples.
In some possible embodiments, the number of time-domain samples within one OFDM symbol may be all the number of samples within one OFDM symbol. In other embodiments, the number of samples in one OFDM symbol may be selected continuously or intermittently.
S303: and adjusting the gain parameters of the AGC according to the maximum RSSI average power in the RSSI average power in each OFDM symbol.
Wherein the gain parameter of the AGC can be used to receive a signal in a next RSSI calculation time interval of the RSSI calculation time interval within the sync detection time interval.
In some possible embodiments, a preset reference power value is obtained first, where the preset reference power value is a reference value of a reasonable signal power range of the electronic device; and then calculating the difference value between the maximum RSSI average power in the RSSI average powers in each OFDM symbol and a preset reference power value to obtain a gain error, reducing the gain parameter of the AGC based on the gain error, and finally receiving a signal in the next RSSI calculation time interval of the RSSI calculation time interval in the synchronous detection time interval by using the gain parameter of the AGC. The synchronization detection time interval may also be called a synchronization detection procedure, an initial synchronization time, an initial synchronization procedure, a primary synchronization procedure, a cell search, a cell synchronization detection time, and the like, and is not limited herein.
In the embodiment of the application, the electronic device adjusts the gain parameter of the AGC according to the maximum RSSI average power of each OFDM symbol in the RSSI calculation time interval containing the CRS, so that the gain parameter of the AGC does not fluctuate greatly in the synchronous detection process, the signal power of the downlink subframe is in a reasonable range, the electronic device can demodulate from the downlink subframe to obtain an accurate synchronous signal, and the initial synchronization performance is improved.
In addition, the electronic device receives a signal in a next RSSI calculation time interval of the RSSI calculation time interval within the sync detection time interval using the gain parameter of the AGC. The AGC adjusting process is combined with the synchronous detection time interval, so that the gain parameter adjustment of the synchronous detection process before synchronous detection is avoided, the sensitivity of synchronous signals is improved, the synchronous detection time is shortened, and the power consumption of electronic equipment is reduced.
Because the amplitude of AGC adjustment of the electronic device is limited, in a weak scene, in order to complete initial synchronization, the AGC needs to be adjusted many times to make the signal power of the downlink subframe within a reasonable range. The embodiment of the present application further provides another gain parameter adjustment method, please refer to fig. 5, which includes steps S501 to S505:
s501: and determining a candidate RSSI calculation time interval according to the synchronous detection time interval and the frequency threshold value.
The frequency threshold may indicate a threshold for the number of AGC adjustments in the sync detection interval.
Alternatively, the time interval of the RSSI calculation time interval may be directly used as the AGC adjustment period. In a possible implementation manner, a preset synchronization detection time interval and a frequency threshold are obtained, and then a first candidate RSSI calculation time interval is determined according to the synchronization detection time interval and the frequency threshold, so that a ratio of the synchronization detection time interval to the first candidate RSSI calculation time interval is greater than the frequency threshold. Wherein the sync detection time interval may be 5 milliseconds, 10 milliseconds, etc. The frequency threshold may be 15, 30, 40, etc., and is not limited herein.
In some possible embodiments, a plurality of OFDM symbols smaller than the ratio of the synchronization detection time interval to the frequency threshold may be used as the first candidate RSSI calculation time interval.
Assuming that the synchronization detection time interval is 5ms (5 subframes, 75 OFDM symbols are included in the synchronization detection time interval of 5 ms), and the frequency threshold is 14, it may be determined that 1 OFDM symbol, 2 OFDM symbols, 3 OFDM symbols, 4 OFDM symbols, or 5 OFDM symbols are included in the first candidate RSSI calculation time interval according to the ratio of the synchronization detection time interval to the frequency threshold including 5.32 OFDM symbols.
In other possible embodiments, the first candidate RSSI calculation time interval may be set to include any number of OFDM symbols. And then comparing the frequency threshold with the ratio of the synchronous detection time interval to the first candidate RSSI calculation time interval, if the ratio of the synchronous detection time interval to the first candidate RSSI calculation time interval is less than or equal to the frequency threshold, reducing one OFDM symbol in the first candidate RSSI calculation time interval to obtain an updated first candidate RSSI calculation time interval, and judging whether the ratio of the synchronous detection time interval to the updated first candidate RSSI calculation time interval is greater than the frequency threshold again. By analogy, after performing multiple iteration operations, a first candidate RSSI calculation time interval is obtained.
Assuming that the synchronization detection time interval is 5ms (5 subframes, 75 OFDM symbols are included in the synchronization detection time interval of 5 ms), and the frequency threshold is 14, the first candidate RSSI calculation time interval is set to include 6 OFDM symbols. Comparing a ratio (12.5) of the synchronization detection time interval (75 OFDM symbols) to the first candidate RSSI calculation time interval (6 OFDM symbols) with a frequency threshold (14), wherein the ratio of the synchronization detection time interval to the first candidate RSSI calculation time interval is smaller than the frequency threshold, decreasing an OFDM symbol in the first candidate RSSI calculation time interval to obtain an updated first candidate RSSI calculation time interval (5 OFDM symbols), and determining again that the ratio of the synchronization detection time interval to the updated first candidate RSSI calculation time interval is larger than the frequency threshold. Then the first candidate RSSI calculation interval determined from the sync detection interval and the frequency threshold comprises 5 OFDM symbols.
It should be noted that the first candidate RSSI calculation time interval is greater than or equal to the RSSI calculation time interval.
Alternatively, the sum of the software processing times of the interval electronics for the RSSI calculation interval may be used as the AGC adjustment period. In some possible embodiments, the electronic device may obtain a preset synchronization detection time interval and a frequency threshold, and then determine an AGC adjustment period according to the synchronization detection time interval and the frequency threshold, so that a ratio of the synchronization detection time interval to the AGC adjustment period is greater than the frequency threshold; a second candidate RSSI calculation time interval is determined based on a difference between the AGC adjustment period and a software processing time of the electronic device. The second candidate RSSI calculation interval is greater than or equal to the RSSI calculation interval.
As shown in fig. 6, an AGC settling period and a second candidate RSSI calculation interval within a sync detection interval are shown. As shown in fig. 6, one sync detection time interval includes 15 AGC adjustment periods, the AGC adjustment period includes 5 OFDM symbols, the software processing time of the electronic device is 1 OFDM symbol, and then the second candidate RSSI calculation time interval is 4 OFDM symbols.
The method for determining the AGC adjustment period according to the synchronization detection time interval and the frequency threshold value so that the ratio of the synchronization detection time interval to the AGC adjustment period is greater than the frequency threshold value is similar to the method for determining the first candidate RSSI calculation time interval according to the synchronization detection time interval and the frequency threshold value so that the ratio of the synchronization detection time interval to the first candidate RSSI calculation time interval is greater than the frequency threshold value, and is not described herein again.
S502: and determining the RSSI calculation time interval from the candidate RSSI calculation time intervals according to the time domain distribution position of the CRS. At least a portion of the CRS is included in each RSSI calculation interval.
In some possible embodiments, the RSSI calculation time interval containing the partial CRS is determined from a first candidate RSSI calculation time interval according to the time domain distribution position of the CRS, or the RSSI calculation time interval containing the partial CRS is determined from a second candidate RSSI calculation time interval according to the time domain distribution position of the CRS. Wherein the first candidate RSSI calculation time interval is greater than or equal to the RSSI calculation time interval. The second candidate RSSI calculation interval is greater than or equal to the RSSI calculation interval.
For example, the first candidate RSSI calculation time interval determined according to S501 may include 1 OFDM symbol, 2 OFDM symbols, 3 OFDM symbols, 4 OFDM symbols, or 5 OFDM symbols. But CRS is not included in the first candidate RSSI calculation interval containing 1 OFDM symbol, the first candidate RSSI calculation interval containing 2 OFDM symbols, and the first candidate RSSI calculation interval containing 3 OFDM symbols, it may be determined that the RSSI calculation interval contains 4 OFDM symbols or 5 OFDM symbols.
S503: and calculating the RSSI average power in each OFDM symbol in the RSSI calculation time interval.
In one possible embodiment, time domain sampling is performed on each OFDM symbol in the RSSI calculation interval to obtain an amplitude value of the time domain sample, which may be a complex signal (using S) i Represented), the complex signal may comprise a two-way signal, an I-way signal (with I) i Represented) and Q-path signal (represented by Q) i Indicated). Then the complex signal can be expressed as: s i =I i +j*Q i . Based on this, if the number of sampling points in one OFDM symbol is N, the RSSI average power (denoted by P) in this OFDM symbol can be calculated by the following expression:
Figure BDA0002694685660000101
further, for convenience of calculation, the RSSI average power P may be converted into a decibel (dB) value, i.e. P dB
S504: and adjusting the gain parameter of the automatic gain control AGC according to the maximum RSSI average power in the RSSI average power in each OFDM symbol.
In some possible embodiments, the preset reference power value (with P) is obtained first normal Represents); then, the maximum RSSI average power (in terms of maxP) among the RSSI average powers within each OFDM symbol is calculated dB Expressed) from a preset reference power value (denoted by P) normal Expressed) yields a gain error (expressed in Delta), i.e. Delta = maxP dB -P normal . The gain parameter of the AGC is then reduced based on the gain error (denoted by Delta). The updated gain parameter (denoted by Update _ Agc) is equal to the current gain parameter (denoted by Curr _ Agc) minus the gain error (denoted by Delta), i.e., update _ Agc = Curr _ Agc-Delta. And finally, generating an AGC control word according to the updated AGC gain parameter to receive the signal in the next RSSI calculation time interval in the synchronous detection time interval so as to enable the signal power in the next RSSI calculation time interval to be in a reasonable power range.
S505: and receiving the signal in the fine synchronization based on the gain parameter corresponding to the time domain position of the synchronization signal in the synchronization detection time interval.
In some possible embodiments, the synchronization detection module may determine a time domain position of the synchronization signal according to a correlation of data within the synchronization detection time interval, and then may receive the signal in fine synchronization according to a gain parameter corresponding to the time domain position of the synchronization signal.
Assuming that n RSSI calculation time intervals are included in the synchronization detection time interval, and the synchronization detection module determines that the synchronization signal is in the 5 th RSSI calculation time interval according to the correlation of the data in the synchronization detection time interval, the gain parameter of the AGC in the 5 th RSSI calculation time interval can be used for receiving the signal in fine synchronization.
In the embodiment of the application, the electronic device determines the RSSI calculation time interval according to the time domain position of the CRS and the frequency threshold in the synchronous detection time interval, so that the electronic device adjusts the gain parameter of the AGC by using the maximum RSSI average power of each OFDM symbol in the RSSI calculation time interval containing the CRS for multiple times in the synchronous detection time interval, and thus the gain parameter does not fluctuate greatly and is not limited by the AGC adjustment amplitude in the synchronous detection process. After the received signal power of the downlink subframe is adjusted based on the gain parameter of the AGC, the signal power of the downlink subframe can be in a reasonable range, and the electronic equipment can demodulate the downlink subframe to obtain an accurate synchronous signal, so that the initial synchronization performance is improved.
In addition, the electronic device receives a signal in a next RSSI calculation time interval of the RSSI calculation time interval within the synchronous detection time interval using the gain parameter of the AGC, and uses the gain parameter corresponding to the synchronous signal in the synchronous detection process for the fine synchronization process. The AGC adjusting process is combined with the synchronous detection time interval, so that the gain parameter adjustment of the synchronous signals is avoided before synchronous detection, the gain parameters corresponding to the synchronous signals in the synchronous detection process can be used in the fine synchronization process, the sensitivity of the synchronous signals is improved, the synchronous detection time is shortened, and the power consumption of electronic equipment is reduced.
In addition, the position of the RSSI calculation time interval in the synchronous detection time interval is not limited, the scheme is simple and flexible, the adaptability is stronger, and the user experience is improved.
Fig. 7 is a schematic structural diagram of a gain parameter adjustment apparatus provided in an embodiment of the present application. As shown in fig. 7, the apparatus described in this embodiment may include a determining module 701, a calculating module 702, and an adjusting module 703.
A determining module 701, configured to determine RSSI calculation time intervals according to time domain distribution positions of CRSs, where each RSSI calculation time interval at least includes a part of CRSs.
A calculating module 702, configured to calculate an average RSSI power in each OFDM symbol in the RSSI calculation time interval.
An adjusting module 703 is configured to adjust a gain parameter of the AGC according to the maximum RSSI average power in the RSSI average powers in each OFDM symbol.
In some possible embodiments, the gain parameter of the AGC is used to receive a signal in a next RSSI calculation time interval of the RSSI calculation time interval within the sync detection time interval.
In some possible embodiments, before the determining module 701 determines the RSSI calculation time interval according to the time domain distribution position of the CRS, the determining module 701 is further configured to determine a first candidate RSSI calculation time interval according to the synchronization detection time interval and the frequency threshold, so that a ratio of the synchronization detection time interval to the RSSI calculation time interval is greater than the frequency threshold. The determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the first candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the first candidate RSSI calculation time interval.
In some possible embodiments, before the determining module 701 determines the RSSI calculation time interval according to the time domain distribution position of the CRS, the determining module 701 is further configured to determine an AGC adjustment period according to the synchronization detection time interval and the frequency threshold value, so that a ratio of the synchronization detection time interval to the AGC adjustment period is greater than the frequency threshold value; and determining a second candidate RSSI calculation time interval based on a difference between the AGC adjustment period and a software processing time of the electronic device. The determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the second candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the second candidate RSSI calculation time interval.
In some possible embodiments, the calculating module 702 is specifically configured to perform time domain sampling on the RSSI in each OFDM symbol; and calculating to obtain the RSSI average power in each OFDM symbol according to the amplitude value of the time domain sampling.
In some possible embodiments, the adjusting module 703 is specifically configured to obtain a preset reference power value; calculating the difference value between the maximum RSSI average power in the RSSI average powers in each OFDM symbol and the preset reference power value to obtain a gain error; and reducing the gain parameter of the AGC based on the gain error.
In some possible embodiments, the apparatus further includes a receiving module 704, and the receiving module 604 is configured to receive the signal in fine synchronization based on a gain parameter corresponding to a time-domain position of the synchronization signal in the synchronization detection time interval.
In this embodiment of the present application, the determining module 701 determines an RSSI calculation time interval according to a time domain distribution position of a CRS; at least a part of CRS is included in each RSSI calculation time interval; then, the calculating module 702 calculates the average power of the RSSI in each OFDM symbol in the RSSI calculation time interval; finally, the adjusting module 703 adjusts the gain parameter of the AGC according to the maximum RSSI average power among the RSSI average powers in each OFDM symbol. And adjusting the gain parameter of the AGC according to the maximum RSSI average power of each OFDM symbol in the RSSI calculation time interval containing the CRS, so that the gain parameter of the AGC does not fluctuate greatly in the synchronous detection process, the signal power of a downlink subframe can be in a reasonable range, the electronic equipment can demodulate from the downlink subframe to obtain an accurate synchronous signal, and the initial synchronization performance is improved.
It can be understood that the functions of each module of this embodiment may be specifically implemented according to the method in fig. 3 or fig. 5 in the foregoing embodiment, and the specific implementation process may refer to the related description of the method embodiment in fig. 3 or fig. 5, which is not described herein again.
Please refer to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The terminal in the present embodiment shown in fig. 8 may include: a processor 801 and a memory 802. The processor 801 and the memory 802 are connected by a bus 803. The memory 802 is used to store computer programs comprising program instructions, and the processor 801 is used to execute the program instructions stored by the memory 802.
In the embodiment of the present application, the processor 801 executes the executable program code in the memory 802 to perform the following operations: determining a received signal strength indication RSSI calculation time interval according to the time domain distribution position of a cell reference signal CRS; at least a part of CRS is included in each RSSI calculation time interval; calculating the RSSI average power in each orthogonal frequency division multiplexing OFDM symbol in the RSSI calculation time interval; and adjusting the gain parameter of the automatic gain control AGC according to the maximum RSSI average power in the RSSI average power in each OFDM symbol.
Optionally, the gain parameter of the AGC is used to receive a signal in the next RSSI calculation time interval within the sync detection time interval.
Optionally, before determining the RSSI calculation time interval according to the time domain distribution position of the CRS, the processor 801 is further configured to:
determining a first candidate RSSI calculation time interval according to the synchronous detection time interval and a frequency threshold value, so that the ratio of the synchronous detection time interval to the first candidate RSSI calculation time interval is greater than the frequency threshold value;
the determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the first candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the first candidate RSSI calculation time interval.
Optionally, before determining the RSSI calculation time interval according to the time domain distribution position of the CRS, the processor 801 is further configured to:
determining an AGC adjustment period according to the synchronous detection time interval and the frequency threshold value, so that the ratio of the synchronous detection time interval to the AGC adjustment period is larger than the frequency threshold value;
determining a second candidate RSSI calculation time interval according to the difference between the AGC adjustment period and the software processing time of the electronic equipment;
the determining the RSSI calculation time interval according to the time domain distribution position of the CRS specifically includes: determining the RSSI calculation time interval from the second candidate RSSI calculation time interval according to the time domain distribution position of the CRS, wherein the RSSI calculation time interval is less than or equal to the second candidate RSSI calculation time interval.
Optionally, when the processor 801 calculates the RSSI average power in each OFDM symbol in the RSSI calculation time interval, the processor 801 is specifically configured to:
sampling the RSSI in each OFDM symbol in the time domain;
and calculating to obtain the RSSI average power in each OFDM symbol according to the amplitude value of the time domain sampling.
Optionally, when the processor 801 adjusts a gain parameter of the automatic gain control AGC according to a maximum RSSI average power among the RSSI average powers in each OFDM symbol, the processor 801 is specifically configured to:
acquiring a preset reference power value;
calculating the difference value between the maximum RSSI average power in the RSSI average powers in each OFDM symbol and the preset reference power value to obtain a gain error;
and reducing the gain parameter of the AGC based on the gain error.
Optionally, the processor 801 is further configured to receive a signal in fine synchronization based on a gain parameter corresponding to a time domain position of the synchronization signal in the synchronization detection time interval.
It should be understood that, in the embodiment of the present Application, the Processor 801 may be a Central Processing Unit (CPU), and the Processor 801 may also be other general-purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 802 may include both read-only memory and random access memory, and provides instructions and data to the processor 801. A portion of the memory 802 may also include a non-volatile random access memory that may store preset reference power values, frequency threshold values, and the like.
In a specific implementation, the processor 801 and the memory 802 described in this embodiment of the present application may execute the implementation described in the flow of the gain parameter adjustment method provided in fig. 3 or fig. 5 in this embodiment of the present application, and may also execute the implementation described in the gain parameter adjustment device provided in fig. 7 in this embodiment of the present application, which is not described herein again.
In the embodiment of the present application, the processor 801 determines the received signal strength indication RSSI calculation time interval according to the time domain distribution position of the cell reference signal CRS; at least a part of CRS is included in each RSSI calculation time interval; calculating the RSSI average power in each orthogonal frequency division multiplexing OFDM symbol in the RSSI calculation time interval; and finally, adjusting the gain parameter of the automatic gain control AGC according to the maximum RSSI average power in the RSSI average power in each OFDM symbol. The processor 801 adjusts the gain parameter of the AGC according to the maximum RSSI average power of each OFDM symbol in the RSSI calculation time interval including the CRS, so that the gain parameter of the AGC does not fluctuate greatly in the synchronization detection process, the signal power of the downlink subframe can be in a reasonable range, the electronic device can demodulate from the downlink subframe to obtain an accurate synchronization signal, and the initial synchronization performance is improved.
The embodiment of the application also provides a computer readable storage medium. The computer readable storage medium stores a computer program comprising program instructions that, when executed by a processor, perform the steps performed in fig. 3 or fig. 5 of the above-described embodiments of the gain parameter adjustment method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (10)

1. A method for adjusting gain parameters, comprising:
determining a candidate received signal strength indication RSSI calculation time interval according to the synchronous detection time interval and the frequency threshold; the candidate RSSI calculation time interval comprises one or more Orthogonal Frequency Division Multiplexing (OFDM) symbols which do not distinguish cyclic prefix types; the frequency threshold is used for indicating a threshold of the adjustment times of the automatic gain control AGC in the synchronous detection time interval;
determining RSSI calculation time intervals at least comprising partial CRSs from the candidate RSSI calculation time intervals according to the time domain distribution positions of Cell Reference Signals (CRSs);
calculating RSSI average power in each OFDM symbol in the RSSI calculation time interval at least comprising partial CRS;
and adjusting the gain parameter of the AGC according to the maximum RSSI average power in the RSSI average power in each OFDM symbol.
2. The method of claim 1, wherein a gain parameter of the AGC is used to receive a signal in a next RSSI calculation time interval of the RSSI calculation time interval within a sync detection time interval.
3. The method of claim 1, wherein a ratio of the synchronization detection time interval to the candidate RSSI calculation time interval is greater than the frequency threshold.
4. The method of claim 1, wherein determining candidate RSSI calculation time intervals based on synchronization detection time intervals and frequency threshold values comprises:
determining an AGC adjustment period according to a synchronous detection time interval and a frequency threshold, wherein the ratio of the synchronous detection time interval to the AGC adjustment period is greater than the frequency threshold;
and determining a candidate RSSI calculation time interval according to the difference between the AGC adjusting period and the software processing time of the electronic equipment.
5. The method of claim 1, wherein said calculating the average power of RSSI within each OFDM symbol in an RSSI calculation time interval including at least a portion of the CRS, comprises:
sampling the RSSI in each OFDM symbol in the time domain;
and calculating to obtain the RSSI average power in each OFDM symbol according to the amplitude value of the time domain sampling.
6. The method of claim 1, wherein adjusting a gain parameter of an AGC based on a largest RSSI average power among RSSI average powers within the respective OFDM symbols comprises:
acquiring a preset reference power value;
calculating the difference value between the maximum RSSI average power in the RSSI average power in each OFDM symbol and the preset reference power value to obtain a gain error;
and reducing the gain parameter of the AGC based on the gain error.
7. The method of any one of claims 1-6, further comprising:
and receiving the signal in the fine synchronization based on the gain parameter corresponding to the time domain position of the synchronization signal in the synchronization detection time interval.
8. A gain parameter adjustment apparatus, comprising:
the determining module is used for determining a candidate RSSI calculation time interval according to the synchronous detection time interval and the frequency threshold; the candidate RSSI calculation time interval comprises one or more OFDM symbols that do not distinguish cyclic prefix types; the frequency threshold is used for indicating the threshold of the adjusting times of AGC in the synchronous detection time interval;
the determining module is further configured to determine, from the candidate RSSI calculation time intervals, an RSSI calculation time interval including at least a portion of the CRS according to a time domain distribution position of the CRS;
a calculating module, configured to calculate an RSSI average power in each OFDM symbol in the RSSI calculation time interval including at least a part of the CRSs;
and the adjusting module is used for adjusting the gain parameters of the AGC according to the maximum RSSI average power in the RSSI average powers in all the OFDM symbols.
9. An electronic device comprising a processor and a memory, the processor and the memory being coupled, wherein the memory is configured to store program code and the processor is configured to invoke the program code to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any of the preceding claims 1 to 7.
CN202011002101.4A 2020-09-22 2020-09-22 Gain parameter adjusting method, device and equipment Active CN112135341B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011002101.4A CN112135341B (en) 2020-09-22 2020-09-22 Gain parameter adjusting method, device and equipment
PCT/CN2021/118496 WO2022062993A1 (en) 2020-09-22 2021-09-15 Gain parameter adjusting method and apparatus, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011002101.4A CN112135341B (en) 2020-09-22 2020-09-22 Gain parameter adjusting method, device and equipment

Publications (2)

Publication Number Publication Date
CN112135341A CN112135341A (en) 2020-12-25
CN112135341B true CN112135341B (en) 2023-02-10

Family

ID=73842346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011002101.4A Active CN112135341B (en) 2020-09-22 2020-09-22 Gain parameter adjusting method, device and equipment

Country Status (2)

Country Link
CN (1) CN112135341B (en)
WO (1) WO2022062993A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135341B (en) * 2020-09-22 2023-02-10 紫光展锐(重庆)科技有限公司 Gain parameter adjusting method, device and equipment
CN114554583A (en) * 2022-04-01 2022-05-27 上海星思半导体有限责任公司 Signal power adjusting method and device and electronic equipment
CN114745772B (en) * 2022-06-14 2022-08-23 杰创智能科技股份有限公司 Digital automatic gain control method, apparatus, device and program product thereof
CN115941411B (en) * 2022-07-04 2023-07-28 上海星思半导体有限责任公司 Signal processing method, device, electronic equipment and storage medium
CN115102612B (en) * 2022-08-29 2022-11-15 成都星联芯通科技有限公司 Gain control method, device, gain controller and signal receiving end

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162682A (en) * 2015-03-25 2016-11-23 苏州简约纳电子有限公司 The method and apparatus that automatic growth control AGC adjusts
CN110149689A (en) * 2018-02-11 2019-08-20 华为技术有限公司 A kind of method and apparatus of power control

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100749446B1 (en) * 2004-11-30 2007-08-14 한국전자통신연구원 A method for automatic gain control before initial synchronization in OFDM system, and an apparatus therefor
CN101959288B (en) * 2009-07-15 2013-08-21 展讯通信(上海)有限公司 Automatic gain control regulating method for received signals and signal receiving equipment
US8644212B2 (en) * 2012-05-31 2014-02-04 Hong Kong Applied Science and Technology Research Institute Company Limited Method and apparatus for automatic gain control in a TD-LTE system
CN105517138A (en) * 2014-10-17 2016-04-20 中兴通讯股份有限公司 Gain adjustment method and apparatus
US20160337105A1 (en) * 2015-05-14 2016-11-17 Interdigital Technology Corporation Channel and noise estimation for downlink lte
CN106559866B (en) * 2015-09-30 2020-08-21 北京展讯高科通信技术有限公司 Automatic gain control method and system
CN111355678B (en) * 2018-12-24 2022-05-20 北京小米松果电子有限公司 Automatic gain control method, automatic gain control device, storage medium and electronic equipment
CN112135341B (en) * 2020-09-22 2023-02-10 紫光展锐(重庆)科技有限公司 Gain parameter adjusting method, device and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162682A (en) * 2015-03-25 2016-11-23 苏州简约纳电子有限公司 The method and apparatus that automatic growth control AGC adjusts
CN110149689A (en) * 2018-02-11 2019-08-20 华为技术有限公司 A kind of method and apparatus of power control

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Discovery RSSI definition for discovery signal based RSRQ";Sharp;《3GPP TSG RAN WG1 Meeting #78 R1-143123》;20140808;全文 *
基于BlueCore4-ROMCSP的手机蓝牙系统设计;朱宁西等;《国外电子元器件》;20080805(第08期);全文 *

Also Published As

Publication number Publication date
CN112135341A (en) 2020-12-25
WO2022062993A1 (en) 2022-03-31

Similar Documents

Publication Publication Date Title
CN112135341B (en) Gain parameter adjusting method, device and equipment
JP5765120B2 (en) Wireless communication terminal and automatic gain control method
RU2518511C2 (en) Mobile communication method and receiver
CN103199881B (en) Auto gain control method, system and receiver
KR20200092096A (en) Wireless communication apparatus including synchronization signal detector and cell searching method thereof
US7489901B2 (en) Method for dynamically estimating noise floor and rise over thermal (ROT)
US20130309988A1 (en) Apparatus and methods for adjusting adaptive control loop behavior based on measured artifacts
CN108768425B (en) Dynamic adjusting method for automatic gain control AGC
US20160211953A1 (en) Communication apparatus, communication method and communication system
US11405813B2 (en) Radio link monitoring (RLM) procedures in new radio unlicensed bands (NR-U)
CN116634543A (en) Gain control method, device, communication node and medium
CN111294917B (en) Method, device, storage medium and user equipment for estimating timing deviation based on PDCCH
KR20160070579A (en) Apparatus and method for cotrolling gain in communication system
EP3968705B1 (en) Gain control method and device, and computer-readable storage medium
US9413563B2 (en) Method and apparatus for channel estimation using localized SINR in wireless communication systems
EP1859590B1 (en) Method and apparatus for detecting high-mobility state of mobile terminal and related device
CN106034102B (en) A kind of method of adjustment of LTE terminal reception gain
CN108848525B (en) Method and device for measuring field intensity for accurately measuring LTE uplink power
CN108632873B (en) LTE uplink signal field intensity measurement method and device based on synchronous processing
CN103379602B (en) Terminal auto gain control method under downlink multi-slot business and terminal
KR101494401B1 (en) Apparatus and method for receiving in mobile communication system
US9854552B2 (en) Method and apparatus for improved Schmidl-Cox-based signal detection
US20230361738A1 (en) Impulse noise mitigation in communication systems
CN113132283B (en) Signal gain control method, communication terminal and device with storage function
CN111200409B (en) Signal processing method and device

Legal Events

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