Automatic gain control method and device, communication equipment, medium and program product
By using the frequency domain power and configuration gain of the statistical time slot in out-of-band interference scenarios, the predicted power adjustment value and the target simulation gain are determined and the target simulation gain is effective, the problem of signal saturation caused by inability to set the appropriate target power is solved, and the accuracy and effect of automatic gain control are improved.
Patent Information
- Application Number
- CN202411825548.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-03-28
AI Technical Summary
In out-of-band interference scenarios, the appropriate target power cannot be set according to the ADC outlet power, resulting in signal saturation problems.
By determining the statistical time domain power of the statistical signal based on the frequency domain power and the configuration gain of the statistical time slot, and determining the predicted power adjustment value based on the difference between the preconfigured maximum out-of-band interference power and the useful signal power, the target analog gain is finally effective in the target time slot.
Improves the accuracy of the target power value, avoids ADC input saturation, and thus improves the effect of automatic gain control.
Smart Images

Figure CN119728352A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to an automatic gain control method, device, communication equipment, medium and program product. Background Art
[0002] In the process of receiving data, the user equipment (UE) generally performs automatic gain control (AGC) to keep the receiving power within an appropriate range. Otherwise, if the power is too high, it will cause data saturation and affect subsequent demodulation or parameter estimation; if the power is too low, it will cause precision loss and also affect subsequent processing. In addition, AGC is generally divided into two parts, analog and digital, respectively called analog automatic gain control (AAGC) and digital automatic gain control (DAGC). AAGC requires that the in-band power reach the target power as much as possible and prevent the analog to digital converter (ADC) input from saturation. DAGC requires that the gain be compensated according to the change in the AAGC adjustment amount so that the in-band power reaches the target power.
[0003] In a space environment, when a UE communicates with a base station, the signal entering the UE air interface may contain many signals that are not from the user, collectively referred to as interference signals. Some of these interference signals may overlap with the frequency band of the UE, while others may be outside its frequency band. Interference that falls outside the UE band can be filtered out by an analog filter. However, due to the performance of the analog filter, the attenuation of out-of-band signals is limited, and some signals will pass through the ADC port and enter the digital baseband. When the out-of-band interference is strong, the interference signal entering the ADC port is larger, occupying part of the effective bit width of the ADC. In addition, when performing the AGC function in the New Radio (NR), the time and frequency power counted in the current time slot is generally used as a reference benchmark, and the AGC of the next slot is performed according to the preset target power to keep the time and frequency domain power of the UE stable, and the adjusted gain is divided into an analog part and a digital part. The purpose of the analog part is to keep the ADC output signal power as constant as possible without saturation or too small, and the digital part is to keep the frequency domain power after time-frequency conversion constant; in order to ensure that the power entering the ADC is not saturated, the ADC output power is usually counted in the relevant technology, and the new gain is calculated according to the preset target power. For UE devices with separate radio frequency integrated circuits (RFIC) and baseband integrated circuits (BBIC), if the RFIC has an ADC export power statistics function or can indirectly obtain the ADC export power, the new gain can be calculated in the above manner; if the RFIC does not have an ADC export power statistics function and cannot indirectly obtain the power, the new gain cannot be calculated in this manner. If the signal power is calculated in the BBIC and the gain is calculated using the power as a reference value, the ADC entry signal may be saturated because the ADC export signal needs to be filtered out of the band by a digital filter before entering the BBIC, i.e., the BBIC cannot obtain the power of the out-of-band interference signal entering the ADC, and thus cannot determine the ADC export power. In the out-of-band interference scenario, the problem of signal saturation occurs because the appropriate target power cannot be set according to the ADC export power. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an automatic gain control method, apparatus, communication equipment, medium and program product, which are used to solve the problem of signal saturation caused by failure to set a suitable target power according to the ADC output power in an out-of-band interference scenario.
[0005] To solve the above problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides an automatic gain control method, the method comprising:
[0007] Determining the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain, wherein the statistical time slot is the time slot where the statistical signal is located, and the configured gain includes the analog gain of the statistical time slot;
[0008] Determine a predicted power adjustment value according to a first power value, the statistical time domain power, and the actual time domain power of the statistical time slot, wherein the first power value is a difference between a preconfigured maximum out-of-band interference power and a useful signal power corresponding to the maximum out-of-band interference power;
[0009] A target analog gain is determined according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, and the target analog gain is made effective in a target time slot.
[0010] In a second aspect, an embodiment of the present application provides an automatic gain control device, the device comprising:
[0011] A determination module, configured to determine the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain, wherein the statistical time slot is the time slot where the statistical signal is located, and the configured gain includes the gain of the statistical time slot;
[0012] The determination module is further configured to determine a predicted power adjustment value according to a first power value, the statistical time domain power, and the actual time domain power of the statistical time slot, wherein the first power value is a difference between a preconfigured maximum out-of-band interference power and a signal power corresponding to the maximum out-of-band interference power;
[0013] The determination module is further used to determine the target analog gain according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, and to make the target analog gain effective in the target time slot.
[0014] In a third aspect, an embodiment of the present application further provides a communication device, comprising: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the method described in the first aspect above.
[0015] In a fourth aspect, an embodiment of the present application further provides a readable storage medium for storing a program, which, when executed by a processor, implements the steps in the method described in the first aspect above.
[0016] In a fifth aspect, an embodiment of the present application further provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps in the method described in the first aspect.
[0017] In an embodiment of the present application, a predicted power adjustment value is determined based on the first power value, the statistical time domain power and the actual time domain power of the statistical time slot. In this way, the problem of low accuracy of the determined power adjustment value due to the inability to set a suitable target power value according to the ADC output power in an out-of-band interference scenario can be avoided. In this way, in the process of determining the target analog gain based on the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, since the accuracy of the determined predicted power adjustment value is high, the accuracy of the determined target power value can be improved, so that the ADC input is not easily saturated, which is beneficial to improving the effect of automatic gain control. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 is a block diagram of a wireless communication system provided by an embodiment of the present application;
[0020] Figure 2 It is a flowchart of an automatic gain control method provided in an embodiment of the present application;
[0021] Figure 3 is a structural schematic diagram of an automatic gain control device provided in an embodiment of the present application;
[0022] Figure 4 It is a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0024] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, the protection scope of "A or B" covers at least three schemes, that is, scheme one: including A and excluding B; scheme two: including B and excluding A; scheme three: including both A and B. In addition, the terms "A and / or B", "at least one of A and B", and "at least one of A or B" also cover at least the above three schemes respectively. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0025] The term "indication" in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.
[0026] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned systems and radio technologies as well as other systems and radio technologies. The following description describes a new radio (NR) system for example purposes, and NR terms are used in most of the following descriptions, but these technologies can also be applied to systems other than NR systems, such as 6th Generation (6G) communication systems.
[0027] Figure 1A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle user equipment (Vehicle User Equipment, VUE), a shipborne device, a pedestrian user equipment (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be referred to as a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (Access Point, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a home Node B (HNB), a home evolved Node B (home evolved Node B), a Transmit / Receive Point (TRP) or other appropriate terms in the relevant field. As long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiments of the present application, only the base station in the NR system is taken as an example for introduction, and the specific type of the base station is not limited.
[0028] The core network device may also be referred to as a core network node, a core network function or a core network element, etc., which includes but is not limited to at least one of the following: Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized Network Configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (Local NEF, or L-NEF), Binding Support Function (Binding Support Function, BSF), Application Function (AF), Location Management Function (LMF), Gateway Mobile Location Centre (GMLC), Network Data Analytics Function (NWDAF), etc. It should be noted that in the embodiments of the present application, only the core network equipment in the NR system is introduced as an example, and the specific type of the core network equipment is not limited. If the name of the core network equipment mentioned in the embodiments of the present application changes in subsequent protocol versions (such as 6G), it is also within the scope of protection of the present application.
[0029] Optionally, the core network device can be implemented by one or more functional modules in one device, or by multiple devices together, and the embodiments of the present application do not specifically limit this. It is understandable that the above-mentioned functional modules can be network elements in hardware devices, software functional modules running on dedicated hardware, or virtualized functional modules instantiated on a platform (e.g., a cloud platform).
[0030] It is understandable that the automatic gain control method provided in the embodiment of the present application can be applied to the above-mentioned terminal 11, and specifically can be applied to the process in which the terminal 11 receives data sent by the network side device 12. The automatic gain control method provided in the embodiment of the present application is described in detail below through some embodiments and application scenarios in conjunction with the accompanying drawings.
[0031] See also Figure 2 , Figure 2 A schematic flow chart of an automatic gain control method provided in an embodiment of the present application, wherein the automatic gain control method comprises the following steps:
[0032] Step 201: determining the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain, wherein the statistical time slot is the time slot where the statistical signal is located, and the configured gain includes the analog gain of the statistical time slot;
[0033] Step 202: Determine a predicted power adjustment value according to a first power value, the statistical time domain power, and the actual time domain power of the statistical time slot, wherein the first power value is a difference between a preconfigured maximum out-of-band interference power and a useful signal power corresponding to the maximum out-of-band interference power;
[0034] Step 203: determine a target analog gain according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, and make the target analog gain effective in a target time slot.
[0035] The above automatic gain control method can be applied to a terminal. The terminal includes a measurement module for measuring frequency domain power. The frequency domain power of the above statistical time slot may be the frequency domain power calculated by the measurement module in the terminal in the statistical time slot. In some embodiments of the present application, the terminal may be a terminal in which RFIC and BBIC are separated. The terminal also includes an ADC, an analog filter and a digital filter. During the signal reception process, after receiving the signal, the RFIC transmits the signal to the analog filter for filtering, and the signal output by the analog filter is transmitted to the ADC for signal conversion. The ADC transmits the converted signal to the digital filter, and the signal filtered by the digital filter is transmitted to the BBIC.
[0036] The above-mentioned configuration gain may include an analog gain of the statistical time slot.
[0037] The above-mentioned statistical time slot may refer to the current time slot, and the target time slot may be the time slot after the statistical time slot, for example, the target time slot may be the next time slot of the current time slot. In addition, the target time slot may also be the next two time slots of the current time slot. For example, assuming that the current time slot is the kth time slot, the target time slot may be the k+1 time slot, or the target time slot may also be the k+2 time slot. The following takes the target time slot as the next time slot of the statistical time slot as an example to further explain the automatic gain control method.
[0038] The configuration gain of the above-mentioned statistical time slot may also be a gain generated according to the method provided in the embodiment of the present application.
[0039] Specifically, when the above-mentioned statistical signal is a signal received by the terminal for the first time during a data transmission process, the signal receiving process of the statistical time slot can be automatically gain controlled based on the preconfigured gain, wherein the preconfigured gain can be a gain determined based on an existing method. At the same time, the frequency domain power can be calculated based on the measurement module, and the statistical time domain power of the statistical time slot can be determined based on the preconfigured gain and the frequency domain power. Then, based on the preconfigured gain, the frequency domain power of the statistical time slot, the first power value and the actual time domain power of the statistical time slot, according to the method of the above steps 201 to 203, the target analog gain of the next time slot of the statistical time slot is generated, and the signal receiving process of the next time slot of the statistical time slot is automatically gain controlled based on the generated target analog gain. In addition, in the next time slot of the statistical time slot, the target analog gain of the next time slot of the time slot can be generated according to the method provided in the embodiment of the present application. In this way, the target analog gain of the next time slot can be generated according to the frequency domain power of the current time slot, the configuration gain, the first power value and the actual time domain power of the statistical time slot.
[0040] Accordingly, when the above-mentioned reference signal is not the reference signal received by the terminal for the first time in a data transmission process, that is, when the reference signal has been received before the statistical time slot, on the one hand, the configuration gain can be determined according to the method provided in the embodiment of the present application, for example, according to the gain, frequency domain power, first power value and actual time domain power of the previous time slot of the statistical time slot, the configuration gain of the statistical time slot is generated according to the method of the above-mentioned steps 201 to 203. On the other hand, the frequency domain power of this statistical time slot can be calculated based on the measurement module, and the time domain power of this statistical time slot can be calculated, and then the automatic gain control information of the next time slot of the statistical time slot is generated, and the signal receiving process of the next time slot of the statistical time slot is automatically gain controlled based on the generated automatic gain control information. In addition, in the next time slot of the statistical time slot, the automatic gain control of the next time slot of the time slot can be generated according to the method provided in the embodiment of the present application. In this way, the target analog gain of the next time slot can be generated according to the frequency domain power, configuration gain, first power value and actual time domain power of the statistical time slot of the current time slot.
[0041] The above-mentioned preconfigured maximum out-of-band interference power may be the maximum out-of-band interference power supported by the terminal. Accordingly, the useful signal power corresponding to the above-mentioned maximum out-of-band interference power refers to: when the RFIC receives a signal carrying the supported maximum out-of-band interference signal, the power of the useful signal in the signal carrying the maximum out-of-band interference signal, wherein the maximum out-of-band interference signal is an out-of-band interference signal having the maximum out-of-band interference power.
[0042] It should be noted that the maximum out-of-band interference power and the useful signal power corresponding to the maximum out-of-band interference power can be pre-configured powers as needed, that is, the above-mentioned first power value is a pre-configured fixed value. Specifically, the power can be configured according to the maximum input power that each device can support during signal transmission. For example, it can be a power pre-configured according to the maximum input power supported by the ADC. When the maximum input power supported by the ADC is K1, the maximum out-of-band interference power can be K2, and the useful signal power corresponding to the maximum out-of-band interference power can be K3, wherein K1=K2+K3, and K2 and K3 are both greater than 0. Among them, the specific values of K1, K2, and K3 can be pre-configured as needed.
[0043] In addition, in some other embodiments of the present application, the above-mentioned maximum out-of-band interference power and the useful signal power corresponding to the maximum out-of-band interference power can also be statistical values obtained through statistics. For example, the out-of-band interference power and the power of the useful signal in each signal of all the signals normally received by the terminal based on RFIC within a historical time period can be counted, and the target signal with the largest out-of-band interference power within the historical time period is determined, and the out-of-band interference power in the target signal is determined as the maximum out-of-band interference power, and the power of the useful signal in the target signal is determined as the useful signal power corresponding to the maximum out-of-band interference power.
[0044] The above-mentioned actual time domain power may be the actual time domain power of the statistical signal detected by the relevant detection module in the terminal. It is understandable that the statistical time domain power is not the time domain power detected by the relevant detection module in the terminal, but the time domain power calculated based on the formula using the frequency domain power and the configuration gain. Among them, the actual time domain power and the statistical time domain power may be the same or different.
[0045] The above-mentioned initial target power value is also the initial target power value, wherein the initial target power value may refer to the target power value when there is no out-of-band interference. The initial target power value may be a constant value determined based on experience.
[0046] The above-mentioned determination process of the target analog gain based on the configured gain, the target power value, the statistical time domain power and the actual time domain power can be specifically determined based on the method proposed in the following embodiments of the present application.
[0047] The target analog gain being effective in the target time slot means that the target analog gain is used as the analog gain of the target time slot to perform automatic gain control.
[0048] It should be noted that the problem of ADC input saturation described in the embodiment of the present application refers to: the power of the input signal is greater than the maximum input power supported by the ADC. Specifically, when the power of the input signal is greater than the maximum input power supported by the ADC, the signal in the input signal that exceeds the maximum input power supported by the ADC will not be received by the ADC, thereby causing the output signal to be truncated. In the related art, this situation is referred to as ADC input saturation. Specifically, in the related art, if the power of the out-of-band interference signal in the input signal is very large, and the power of the useful signal is very small, at this time, the actual input power of the ADC is very large, and because the BBIC cannot obtain the power of the out-of-band interference signal entering the ADC, and the power value of the useful power received by the BBIC is very small, in this case, the terminal may misjudge that the input power of the ADC is very small. At this time, the data processing amount of the ADC is usually increased, so that the power of the actual input signal of the ADC exceeds the maximum input power supported by the ADC, thereby causing the problem of ADC input saturation.
[0049] In this implementation, a predicted power adjustment value is determined based on the first power value, the statistical time domain power and the actual time domain power of the statistical time slot. In this way, the problem of low accuracy of the determined power adjustment value due to the inability to set a suitable target power value according to the ADC output power in an out-of-band interference scenario can be avoided. In this way, in the process of determining the target analog gain based on the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, since the accuracy of the determined predicted power adjustment value is high, the accuracy of the determined target power value can be improved, so that the ADC input is not easily saturated, which is beneficial to improving the effect of automatic gain control.
[0050] Optionally, determining the target analog gain according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power includes:
[0051] Determine the minimum value between the set maximum adjustment value and the predicted power adjustment value as the power adjustment value;
[0052] The target analog gain is determined according to the configured gain, the target power value, the statistical time domain power and the actual time domain power, wherein the target power value is the difference between an initial target power value and the power adjustment value.
[0053] In this implementation, by determining the power adjustment value as the minimum value between the set maximum adjustment value and the predicted power adjustment value, the problem of low accuracy of the determined target power value due to the determined power adjustment value exceeding the maximum adjustment value can be avoided, thereby facilitating improving the accuracy of the determined target power value.
[0054] Optionally, determining the predicted power adjustment value according to the first power value, the statistical time domain power, and the actual time domain power of the statistical time slot includes:
[0055] The sum of the difference between the first power value and the statistical time domain power and the actual time domain power of the statistical time slot is determined as the predicted power adjustment value.
[0056] In some embodiments of the present application, the process of “determining the sum of the difference between the first power value and the statistical time domain power and the actual time domain power of the statistical time slot as the predicted power adjustment value; and determining the minimum value of the set maximum adjustment value and the predicted power adjustment value as the power adjustment value” can be implemented based on the following formula:
[0057]
[0058] Among them, P diff Power adjustment value, in dB; P th -(P td -P rssi ) is the predicted power adjustment value, in dB; P th is the first power value, in dB; P td is the statistical time domain power in dB; P rssi is the actual time domain power in dB; The maximum adjustment value is set in dB.
[0059] because is the maximum adjustment value set, so the minimum value of the target power value is Among them, P tar is the initial target power value in dB.
[0060] In determining the power adjustment value P diff After that, the target power value can be determined, wherein the target power value can be determined based on the following formula:
[0061]
[0062] in, is the target power value, P tar is the initial target power value, P diff is the power adjustment value, and the unit of these three is dB.
[0063] In this implementation, the predicted power adjustment value is determined by summing the difference between the first power value and the statistical time domain power and the actual time domain power of the statistical time slot, thereby realizing the process of determining the predicted power adjustment value.
[0064] Optionally, determining the target analog gain according to the configured gain, the target power value, the statistical time domain power, and the actual time domain power includes:
[0065] The difference between the sum of the configured gain and the target power value and the second power is determined as the target analog gain, wherein the second power is the maximum value between the statistical time domain power and the actual time domain power.
[0066] In some embodiments of the present application, the process of “determining the difference between the sum of the configuration gain and the target power value and the second power as the target analog gain” can be implemented based on the following formula:
[0067]
[0068] P ref =max(P td ,P rssi )
[0069] Among them, G a,k+1 is the target analog gain, that is, the analog gain of the target time slot, G a,k is the analog gain of the statistical time slot, that is, the configuration gain of the statistical time slot, is the target power value, P ref is the second power, P td is the statistical time domain power, P rssi is the actual time domain power.
[0070] In this implementation, the target analog gain is determined by determining the difference between the sum of the configuration gain and the target power value and the second power as the target analog gain, thereby achieving the process of determining the target analog gain.
[0071] Optionally, determining the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain includes:
[0072] Convert the frequency domain power into a time domain power in a logarithmic domain to obtain a first time domain power;
[0073] The difference between the first time domain power and the configured gain is determined as the statistical time domain power.
[0074] In some embodiments of the present application, the process of “converting the frequency domain power into the time domain power in the logarithmic domain to obtain the first time domain power” can be implemented based on the following formula:
[0075]
[0076] Among them, P td0 is the first time domain power, P fdis the frequency domain power, N re is the number of REs corresponding to the bandwidth part (Bandwidth Part, BWP) where the statistical signal is located, the N fft is the number of FFT points corresponding to the BWP where the reference signal is located, wherein the number of REs is the number of resource elements, and the number of FFT points is the number of sampling points for time-frequency conversion of the discretized signal.
[0077] In some embodiments of the present application, the process of “determining the difference between the first time domain power and the configured gain as the statistical time domain power” may be implemented based on the following formula:
[0078] P td =10log 10 (P td0 )-G a,k
[0079] Among them, P td To calculate the time domain power, the 10log 10 (P td0 ) indicates that P td0 The unit is converted to dB unit, the G a,k To configure the gain, that is, the analog gain of the statistical time slot.
[0080] In this implementation, the frequency domain power is converted into a time domain power in the logarithmic domain to obtain a first time domain power, and the difference between the first time domain power and the configured gain is determined as the statistical time domain power, thereby realizing the process of determining the statistical time domain power.
[0081] Optionally, the target time slot is a time slot after the statistical time slot.
[0082] Among them, the time slot interval between the target time slot and the statistical time slot can be set as needed, and it is only necessary to ensure that the target time slot is the time slot after the statistical time slot, for example, the target time slot is the next time slot of the statistical time slot, or the target time slot is the second time slot after the statistical time slot. In addition, the target time slot can also be the third time slot after the statistical time slot, etc. Specifically, since the terminal may need to make a corresponding report after determining the target analog gain, and the target analog gain can only take effect after the reporting is completed, and the duration of reporting the target analog gain may be short or long, if the terminal can complete the reporting of the target analog gain in the statistical time slot, then the target time slot can be the next time slot of the statistical time slot, and at this time, the target time slot differs from the statistical time slot by one time slot. If the terminal needs to complete the reporting of the target analog gain in the next time slot of the statistical time slot, then the target time slot can be the second time slot or the third time slot after the statistical time slot, etc., and at this time, the target time slot differs from the statistical time slot by at least two time slots.
[0083] In this implementation, since the target time slot is the time slot after the statistical time slot, relevant personnel can select the time slot interval between the target time slot and the statistical time slot as needed, thereby reserving a certain processing time for other processing logic in the terminal so that the automatic gain control process can proceed normally.
[0084] See also Figure 3 , Figure 3 The following is a schematic diagram of the structure of an automatic gain control device 300 provided in an embodiment of the present application. The automatic gain control device 300 includes:
[0085] A determination module 301 is used to determine the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain, wherein the statistical time slot is the time slot where the statistical signal is located, and the configured gain includes the analog gain of the statistical time slot;
[0086] The determination module 301 is further configured to determine a predicted power adjustment value according to a first power value, the statistical time domain power, and the actual time domain power of the statistical time slot, wherein the first power value is a difference between a preconfigured maximum out-of-band interference power and a useful signal power corresponding to the maximum out-of-band interference power;
[0087] The determination module 301 is further used to determine a target analog gain according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, and to make the target analog gain effective in a target time slot.
[0088] Optionally, the determination module 301 is specifically configured to determine a minimum value between a set maximum adjustment value and the predicted power adjustment value as the power adjustment value;
[0089] The determination module 301 is further specifically used to determine the target analog gain according to the configured gain, the target power value, the statistical time domain power and the actual time domain power, wherein the target power value is the difference between the initial target power value and the power adjustment value.
[0090] Optionally, the determination module 301 is specifically configured to determine the sum of a difference between the first power value and the statistical time domain power and an actual time domain power of the statistical time slot as the predicted power adjustment value.
[0091] Optionally, the determination module 301 is specifically used to determine the difference between the sum of the configured gain and the target power value and the second power as the target analog gain, wherein the second power is the maximum value of the statistical time domain power and the actual time domain power.
[0092] Optionally, the determining module 301 includes:
[0093] A conversion submodule, used for converting the frequency domain power into a time domain power in a logarithmic domain to obtain a first time domain power;
[0094] A determination submodule is used to determine the difference between the first time domain power and the configured gain as the statistical time domain power.
[0095] The present application also provides a communication device. Figure 4 , the communication device may include a processor 401, a memory 402, and a program 4021 stored in the memory 402 and executable on the processor 401.
[0096] When the communication device is a terminal, program 4021 can be executed by processor 401 to achieve Figure 2 Any steps in the corresponding method embodiments and achieving the same beneficial effects will not be repeated here.
[0097] A person skilled in the art can understand that all or part of the steps of implementing the above-mentioned embodiment method can be completed by hardware related to program instructions, and the program can be stored in a readable medium. The present application also provides a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned Figure 2 Any steps in the corresponding method embodiments can achieve the same technical effect and will not be repeated here to avoid repetition.
[0098] The storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0099] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0101] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An automatic gain control method, characterized in that: The method comprises: Determining the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain, wherein the statistical time slot is the time slot where the statistical signal is located, and the configured gain includes the analog gain of the statistical time slot; Determine a predicted power adjustment value according to a first power value, the statistical time domain power, and the actual time domain power of the statistical time slot, wherein the first power value is a difference between a preconfigured maximum out-of-band interference power and a useful signal power corresponding to the maximum out-of-band interference power; A target analog gain is determined according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, and the target analog gain is made effective in a target time slot.
2. The method according to claim 1, characterized in that The determining the target analog gain according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power comprises: Determine the minimum value between the set maximum adjustment value and the predicted power adjustment value as the power adjustment value; The target analog gain is determined according to the configured gain, the target power value, the statistical time domain power and the actual time domain power, wherein the target power value is the difference between an initial target power value and the power adjustment value.
3. The method according to claim 1, characterized in that: The step of determining the predicted power adjustment value according to the first power value, the statistical time domain power, and the actual time domain power of the statistical time slot includes: The sum of the difference between the first power value and the statistical time domain power and the actual time domain power of the statistical time slot is determined as the predicted power adjustment value.
4. The method according to claim 2, characterized in that: The determining the target analog gain according to the configured gain, the target power value, the statistical time domain power and the actual time domain power comprises: The difference between the sum of the configured gain and the target power value and the second power is determined as the target analog gain, wherein the second power is the maximum value between the statistical time domain power and the actual time domain power.
5. The method according to claim 1, characterized in that The step of determining the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain includes: Convert the frequency domain power into a time domain power in a logarithmic domain to obtain a first time domain power; The difference between the first time domain power and the configured gain is determined as the statistical time domain power.
6. An automatic gain control device, characterized in that: The device comprises: A determination module, configured to determine the statistical time domain power of the statistical signal before gain adjustment according to the frequency domain power of the statistical time slot and the configured gain, wherein the statistical time slot is the time slot where the statistical signal is located, and the configured gain includes the gain of the statistical time slot; The determination module is further configured to determine a predicted power adjustment value according to a first power value, the statistical time domain power, and the actual time domain power of the statistical time slot, wherein the first power value is a difference between a preconfigured maximum out-of-band interference power and a signal power corresponding to the maximum out-of-band interference power; The determination module is further used to determine the target analog gain according to the configured gain, the initial target power value, the predicted power adjustment value, the statistical time domain power and the actual time domain power, and to make the target analog gain effective in the target time slot.
7. The device according to claim 6, characterized in that The determining module is specifically configured to determine the minimum value between the set maximum adjustment value and the predicted power adjustment value as the power adjustment value; The determination module is further specifically used to determine the target analog gain according to the configured gain, the target power value, the statistical time domain power and the actual time domain power, wherein the target power value is the difference between the initial target power value and the power adjustment value.
8. A communication device, comprising: A memory, a processor, and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the automatic gain control method as described in any one of claims 1 to 5.
9. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps in the automatic gain control method according to any one of claims 1 to 5 are implemented.
10. A computer program product, characterized in that The computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the steps in the automatic gain control method according to any one of claims 1 to 5.