Automatic gain control method, device, communication equipment, medium and program product
By using the reference frequency domain power and reference gain of the reference time domain in the AGC process, and calculating the target gain with the information of the statistical time slot, the problem of high power consumption in the frequency domain power calculation in the AGC process is solved, and the effect of reducing power consumption and stabilizing the frequency domain power is achieved.
Patent Information
- Application Number
- CN202411686860.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-25
AI Technical Summary
In the existing automatic gain control (AGC) process, the high power consumption of frequency domain power calculation results in higher power consumption in the AGC process.
By determining the reference time domain power of the reference signal based on the reference frequency domain power and reference gain of the reference time slot, combining the statistical gain and statistical time domain power of the statistical slot, the target gain is calculated and effective in the target time slot, thereby reducing the number of times of frequency domain power calculations.
This method effectively reduces the power consumption of the automatic gain control process, reduces the fluctuation of time domain power, and maintains the stability of the frequency domain power.
Smart Images

Figure CN119212063B_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 ADC input 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 the related art, it is proposed that AGC can be performed according to the frequency domain power, so that the frequency domain power can be kept stable and the time domain is not saturated. However, in the process of performing AGC according to the frequency domain power, since the frequency domain power needs to be determined for each time slot, and the amount of calculation in the process of determining the frequency domain power is relatively large, the power consumption of the electronic device in the process of determining the frequency domain power is high, which in turn leads to the problem of high power consumption in the AGC process. 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 to solve the problem of high power consumption in the existing AGC process.
[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] Determine a reference time domain power of the reference signal before gain adjustment according to a reference frequency domain power and a reference gain corresponding to a reference time slot, wherein the reference time slot is a time slot closest to the statistical time slot and where the reference signal is located;
[0008] Determine a power difference between the reference time domain power and the sum of the statistical gain corresponding to the statistical time slot and the statistical time domain power corresponding to the statistical time slot;
[0009] Determine a compensation reference power and a compensation gain according to the power difference;
[0010] A target gain is determined according to the target power, the compensation reference power and the compensation gain, and the target gain is made effective in a target time slot.
[0011] In a second aspect, an embodiment of the present application provides an automatic gain control device, comprising:
[0012] A determination module, configured to determine a reference time domain power of a reference signal before gain adjustment according to a reference frequency domain power and a reference gain corresponding to a reference time slot, wherein the reference time slot is a time slot closest to the statistical time slot and where the reference signal is located;
[0013] The determination module is further used to determine a power difference between the reference time domain power and the sum of the statistical gain corresponding to the statistical time slot and the statistical time domain power corresponding to the statistical time slot;
[0014] The determination module is further used to determine the compensation reference power and the compensation gain according to the power difference;
[0015] The determination module is further configured to determine a target gain according to the target power, the compensation reference power and the compensation gain, and to make the target gain effective in a target time slot.
[0016] 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.
[0017] 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.
[0018] 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.
[0019] In an embodiment of the present application, the reference time domain power of the reference signal before gain adjustment is determined according to the reference frequency domain power corresponding to the reference time slot and the reference gain. In this way, the target gain of the target time slot can be determined based on the reference time domain power of the reference time slot combined with the statistical gain corresponding to the statistical time slot, the statistical time domain power corresponding to the statistical time slot, and the target power, and the target gain is effective in the target time slot. In this process, since only the frequency domain power of the reference time slot needs to be calculated, the target time slot after the reference time slot can be automatically gain controlled, that is, in the target time slot after the reference time slot, the frequency domain power of each time slot does not need to be calculated, and the automatic gain control process can be realized, which is conducive to reducing the number of frequency domain power calculations, and further conducive to reducing the power consumption of the automatic gain control process. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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.
[0021] Figure 1 is a block diagram of a wireless communication system provided by an embodiment of the present application;
[0022] Figure 2 It is a flowchart of an automatic gain control method provided in an embodiment of the present application;
[0023] Figure 3 It is a schematic diagram of comparing the frequency domain power obtained by simulating the method of performing AGC with reference to only the frequency domain power in the related art and the method provided in the embodiment of the present application;
[0024] Figure 4 It is a schematic diagram of comparing the time domain power obtained by simulating the method of performing AGC with reference to only the frequency domain power in the related art and the method provided in the embodiment of the present application;
[0025] Figure 5 is a structural schematic diagram of an automatic gain control device provided in an embodiment of the present application;
[0026] Figure 6 It is a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] 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.
[0028] 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.
[0029] 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, etc. 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, etc. according to the judgment result.
[0030] 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.
[0031] Figure 1A block diagram of a wireless communication system applicable to the 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 (VUE), a ship-borne 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 (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 (WLAN) access point (AS) or a wireless fidelity (WiFi) node, etc.Among them, the base station can be called Node B (Node B, NB), Evolved Node B (Evolved Node B, eNB), the next generation Node B (the next generation Node B, gNB), New Radio Node B (New Radio Node B, NR Node B), access point, Relay Base Station (Relay Base Station, RBS), Serving Base Station (Serving Base Station, SBS), Base Transceiver Station (Base Transceiver Station, BTS), radio base station, radio transceiver, Basic Service Set (Basic Service Set, BSS), Extended Service Set (Extended Service Set, ESS), home Node B (home Node B, HNB), home evolved Node B (home evolved Node B), Transmit / Receive Point (Transmit / Receive Point, TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. 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.
[0032] 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 (L-NEF), Binding Support Function (Binding Scheme), and Network Repository Function (NRF). 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.
[0033] 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).
[0034] 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.
[0035] 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:
[0036] Step 201: determining a reference time domain power of a reference signal before gain adjustment according to a reference frequency domain power and a reference gain corresponding to a reference time slot, wherein the reference time slot is a time slot closest to a statistical time slot and where the reference signal is located;
[0037] Step 202: determine a power difference between the sum of the reference time domain power and the statistical gain corresponding to the statistical time slot and the statistical time domain power corresponding to the statistical time slot;
[0038] Step 203: determining a compensation reference power and a compensation gain according to the power difference;
[0039] Step 204: determine a target gain according to the target power, the compensation reference power and the compensation gain, and make the target gain effective in a target time slot.
[0040] The automatic gain control method can be applied to a terminal. The terminal includes a measurement module for measuring frequency domain power. The reference frequency domain power can be the frequency domain power calculated by the measurement module in the terminal in the reference time slot.
[0041] The above-mentioned reference gain, statistical gain and target gain may include both analog gain and digital gain.
[0042] 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.
[0043] The above-mentioned reference signal may be a reference signal periodically received by the terminal during data reception. For example, the reference signal may include a synchronization signal and a physical broadcast channel block (Synchronization Signal and PBCHBlock, SSB) and / or a phase reference signal (Tracking Reference Signal, TRS), etc. Since the reference signal is a periodically received signal, that is, there may be multiple time slots between two adjacent received reference signals. Therefore, a frequency domain power calculation can be performed each time a reference signal is received, and the calculated frequency domain power is used as the reference frequency domain power. In this way, in the time slot before the next reference signal is received, automatic gain control can be performed based on the reference frequency domain power, that is, for the time slot between two adjacent received reference signals, there is no need to calculate the frequency domain power again. That is, it is only necessary to calculate the frequency domain power once every certain number of time slots to realize automatic gain control of the entire signal receiving process. Compared with the related technology, in which the frequency domain power only needs to be calculated once per time slot by the measurement module in the electronic device, the number of frequency domain power calculations can be reduced, wherein the number of time slots between two adjacent frequency domain power calculations is the number of time slots included in the transmission period of the reference signal.
[0044] The statistical 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.
[0045] Specifically, when the above-mentioned reference signal is a reference signal received by the terminal for the first time during a data transmission process, the signal receiving process of the reference 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 reference frequency domain power can be calculated based on the measurement module, and the time domain power of the reference time slot can be counted. Then, based on the preconfigured gain, the statistical gain corresponding to the statistical time slot, the statistical time domain power corresponding to the statistical time slot, and the target power, the target gain of the next time slot of the statistical time slot is generated according to the method of the above-mentioned steps 201 to 204, and the signal receiving process of the next time slot of the statistical time slot is automatically gain controlled based on the generated target gain. Moreover, in the next time slot of the reference time slot, the target 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 gain of the next time slot can be generated according to the latest determined reference frequency domain power, reference gain, and the gain of the current time slot, the time domain power of the current time slot, and the target power.
[0046] 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 reference time slot, the reference gain can be determined according to the method provided in the embodiment of the present application. For example, according to the target power, the gain of the previous time slot of the reference time slot, the time domain power, and the reference frequency domain power and reference gain obtained last time, the reference gain of the reference time slot is generated according to the method of the above-mentioned steps 201 to 204. At the same time, the reference frequency domain power of this reference time slot can be calculated based on the measurement module, and the time domain power of this reference time slot can be counted. Then, the automatic gain control information of the next time slot of the reference time slot is generated, and the signal receiving process of the next time slot of the reference time slot is automatically gain controlled based on the generated automatic gain control information. In addition, in the next time slot of the reference 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 gain of the next time slot can be generated according to the most recently determined reference frequency domain power, reference gain, gain of the current time slot, time domain power of the current time slot, and target power.
[0047] In some embodiments of the present application, in order to achieve "the above-mentioned determination of the reference time domain power of the reference signal before gain adjustment based on the reference frequency domain power and the reference gain corresponding to the reference time slot", the reference frequency domain power may be first converted into the time domain power, and the time domain power obtained after the reference frequency domain power is converted into the time domain power is referred to as the first time domain power below, and then the reference time domain power of the reference signal before gain adjustment is determined based on the first time domain power and the reference gain. For example, the reference frequency domain power may be converted into the first time domain power based on the following formula:
[0048] .
[0049] in, is the first time domain power, is the reference frequency domain power, is the number of REs corresponding to the bandwidth part (BWP) where the reference signal is located. 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 of the discretized signal.
[0050] Then, the process of “determining the reference time domain power of the reference signal before gain adjustment according to the first time domain power and the reference gain” can be implemented based on the following formula:
[0051] .
[0052] Among them, the is the reference time domain power of the reference signal before gain adjustment, Indicates that The unit is converted to dB unit, is the analog gain of the reference time slot, is the digital gain of the reference time slot. The reference gain may include and .
[0053] The above “determining the power difference between the sum of the reference time domain power and the statistical gain corresponding to the statistical time slot and the statistical time domain power corresponding to the statistical time slot” can be implemented by the following formula:
[0054] .
[0055] Among them, the is the power difference, is the analog gain of the statistical time slot, is the digital gain of the statistical time slot, the statistical gain includes and .
[0056] In this implementation, the reference time domain power of the reference signal before gain adjustment is determined according to the reference frequency domain power corresponding to the reference time slot and the reference gain. In this way, the target gain of the target time slot can be determined based on the reference time domain power of the reference time slot combined with the statistical gain corresponding to the statistical time slot, the statistical time domain power corresponding to the statistical time slot and the target power, and the target gain is effective in the target time slot. In this process, since only the frequency domain power of the reference time slot needs to be calculated, the target time slot after the reference time slot can be automatically gain controlled, that is, in the target time slot after the reference time slot, it is not necessary to calculate the frequency domain power of each time slot, and the automatic gain control process can be realized, which is conducive to reducing the number of frequency domain power calculations, and further conducive to reducing the power consumption of the automatic gain control process.
[0057] In the related technology, in the New Radio (NR) system, the base station will allocate different bandwidths to each UE. The 3rd Generation Partnership Project (3GPP) protocol stipulates a variety of different bandwidths. At different times, the RBs allocated / scheduled to each UE may also change. For FR1, the maximum bandwidth of a single carrier is 100M, corresponding to the number of RBs is 273. When the transmission power of a single subcarrier and the channel environment remain unchanged, the maximum difference in the air interface power received by the UE is about 24dB, while its frequency domain power remains unchanged (assuming that the energy per resource element (Energy Per Resource Element, EPRE)) sent by the base station remains unchanged). In addition, when performing AGC in NR, the time and frequency power counted by the current time slot is generally used as a reference benchmark. According to the preset target power, the gain of the next slot is adjusted to keep the final frequency domain power of the UE stable. 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 being too small. The digital part is to keep the frequency domain power constant after time-frequency conversion. If the time domain power is used as the benchmark alone, the signal may be saturated. If the frequency domain power is used as the benchmark, the time domain power may be too small.
[0058] In the related art, AGC is performed based on the frequency domain power, which can keep the frequency domain power stable and prevent saturation in the time domain. When the number of RBs changes from large to small, although the frequency domain power of the analog to digital converter (ADC) output remains at the target power, the time domain power will be relatively small, which may introduce large quantization noise.
[0059] Optionally, determining a compensation reference power and a compensation gain according to the power difference includes:
[0060] When the power difference is within a preset range, the compensation reference power is determined to be the reference time domain power, and the compensation gain is determined to be the minimum value between the power difference and the preset time-frequency power difference, wherein the preset time-frequency power difference is the maximum theoretical time-frequency power difference under the configured broadband corresponding to the statistical time slot.
[0061] The minimum value in the above preset range can be obtained by Indicates that the maximum value in the above preset range can be obtained by Indicates that and is a preset threshold value, the and is a configurable threshold, the and The specific value of may vary according to different data transmission scenarios. For example, in some embodiments of the present application, The value is -30dB. The value is -10dB.
[0062] In some embodiments of the present application, it can be set:
[0063] like , then the compensation reference power , ,in, is the compensation gain, is the theoretical maximum time-frequency power difference under the current configured bandwidth, that is, the theoretical maximum time-frequency power difference under the configured bandwidth corresponding to the above statistical timeslot.
[0064] In this implementation, a preset range is pre-set as a threshold range, and when the power difference is within the preset range, the compensation reference power is determined to be the reference time domain power, and the compensation gain is determined to be the minimum value between the power difference and the preset time-frequency power difference. In this way, the target gain determined based on the compensation reference power and the compensation gain can ensure that the frequency domain power remains stable during signal transmission, and at the same time, the fluctuation of the time domain power can be reduced.
[0065] Optionally, determining the compensation reference power and the compensation gain according to the power difference includes:
[0066] When the power difference is outside a preset range, the compensation reference power is determined to be a maximum value between the reference time domain power and the statistical time domain power, and the compensation gain is determined to be 0.
[0067] In some embodiments of the present application, it can be set:
[0068] like ,but ,remember ;in, is the compensation reference power mentioned above, is the compensation gain;
[0069] In this embodiment, a preset range is pre-set as a threshold range, and when the power difference is outside the preset range, the compensation reference power is determined to be the maximum value of the reference time domain power and the statistical time domain power, and the compensation gain is determined to be 0. In this way, the target gain determined according to the compensation reference power and the compensation gain can ensure that the frequency domain power remains stable during signal transmission, and at the same time, the fluctuation of the time domain power can be reduced.
[0070] Optionally, the statistical gain includes a statistical analog gain, the target gain includes a target analog gain and a target digital gain, and determining the target gain according to the target power, the compensation reference power, and the compensation gain includes:
[0071] Determine the difference between the target power and the compensation reference power and the sum of the statistical simulation gain and the compensation gain as a target gain difference;
[0072] The target analog gain and the target digital gain are determined according to the target gain difference.
[0073] In some embodiments of the present application, the process of “determining the difference between the target power and the compensation reference power and the sum of the statistical simulation gain and the compensation gain as the target gain difference” can be implemented based on the following formula:
[0074] .
[0075] Among them, the is the target gain difference, is the analog gain of the statistical time slot, is the target power, To compensate the reference power, is the compensation gain.
[0076] In this implementation, the target gain determination process is implemented by determining the target gain difference as the difference between the target power and the compensated reference power and the sum of the statistical analog gain and the compensation gain, and determining the target analog gain and the target digital gain based on the target gain difference.
[0077] Optionally, determining the target analog gain and the target digital gain according to the target gain difference includes:
[0078] Determine the target analog gain by looking up a table according to the target gain difference;
[0079] The target digital gain is determined according to the target gain difference and the target analog gain.
[0080] Among them, the above-mentioned determination of the target analog gain by looking up the table according to the target gain difference may specifically refer to: according to the target gain difference, querying the analog gain table to determine the target analog gain. Among them, the sizes of all possible analog gain values can be recorded by the analog gain table. Since the target gain difference calculated based on the above method may not be within the analog gain table, the analog gain value closest to the target gain difference can be queried from the analog gain table as the target analog gain of the above target time slot. For example, the gain values recorded in the analog gain table may include 1dB, 2dB, ..., NdB, etc. When the target gain difference is 1.1 dB, the target analog gain of the target time slot can be determined to be 1dB by querying the analog gain table.
[0081] In some embodiments of the present application, the process of “determining the target digital gain according to the target gain difference and the target analog gain” may be implemented based on the following formula:
[0082] .
[0083] Among them, the is the target digital gain of the target time slot, is the target gain difference, is the target analog gain, the is the compensation gain.
[0084] See also Figure 3 , which is a schematic diagram of comparing the frequency domain power obtained by simulating the method of performing AGC with reference only to the frequency domain power in the related art and the method provided in the embodiment of the present application. Figure 4 , is a schematic diagram of time domain power comparison obtained by simulating the method of performing AGC with reference to frequency domain power only in the related art and the method provided in the embodiment of the present application. Among them, Figure 3 and Figure 4 The "reference frequency domain power" curve in the figure is a curve obtained by simulating the method of performing AGC with reference to frequency domain power only in the related art. Figure 3 and Figure 4 The “method” in the figure is a curve obtained by simulation based on the method in the embodiment of the present application.
[0085] from Figure 3 and Figure 4It can be seen that the method provided in the embodiment of the present application and the method of only referring to the frequency domain power in the related technology can both keep the frequency domain power stable; however, in the method of only referring to the frequency domain power in the related technology, the time domain power fluctuates greatly, and the method provided in the embodiment of the present application can reduce the fluctuation of the time domain power.
[0086] In this implementation, the target analog gain is determined by looking up a table based on the target gain difference, and the target digital gain is determined based on the target gain difference and the target analog gain. In this way, automatic gain control is performed on the signal transmission process of the target time slot based on the determined target analog gain of the target time slot and the target digital gain of the target time slot, which can ensure that the frequency domain power remains stable and at the same time, reduce fluctuations in the time domain power.
[0087] Optionally, the reference signal includes at least one of the following: a synchronization signal and a physical broadcast channel block SSB, and a phase reference signal TRS;
[0088] and / or,
[0089] The target time slot differs from the statistical time slot by one or two time slots.
[0090] In some embodiments of the present application, the reference signal may include only SSB, so that the frequency domain power is calculated only when the SSB measurement signal is received, and the calculated frequency domain power is used as the above-mentioned reference frequency domain power, so as to facilitate automatic gain control in subsequent time slots based on the reference frequency domain power.
[0091] In some other embodiments of the present application, the reference signal may include only TRS, so that the frequency domain power is calculated only when the TRS measurement signal is received, and the calculated frequency domain power is used as the above-mentioned reference frequency domain power to facilitate automatic gain control in subsequent time slots based on the reference frequency domain power.
[0092] In other embodiments of the present application, the reference signal includes both SSB and TRS. If the SSB and TRS are transmitted through the same time slot, the frequency domain power corresponding to the SSB is calculated respectively, and the frequency domain power corresponding to the TRS is calculated, and the larger of the frequency domain power corresponding to the SSB and the frequency domain power corresponding to the TRS is determined as the above-mentioned reference frequency domain power. If the SSB and TRS are transmitted through different time slots, the frequency domain power calculation can be performed when the TRS measurement signal is received, and at the same time, the frequency domain power calculation is also performed when the SSB measurement signal is received.
[0093] It should be noted that the target time slot differs from the statistical time slot by one or two time slots specifically means that: 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 may 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 gain, and the target gain can only take effect after the report is completed, and the duration of reporting the target gain may be short or long, if the terminal can complete the reporting of the target gain in the statistical time slot, the target time slot may 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 gain in the next time slot of the statistical time slot, the target time slot may be the second time slot after the statistical time slot, and at this time, the target time slot differs from the statistical time slot by two time slots.
[0094] In this embodiment, by making the reference signal include at least one of the following: a synchronization signal and a physical broadcast channel block SSB, and a phase reference signal TRS, thus, it is only necessary to calculate the frequency domain power when the SSB measurement signal is received and / or the TRS measurement signal is received, so as to realize automatic gain control of the entire signal reception process, which is beneficial to reduce the number of frequency domain power calculations.
[0095] See also Figure 5 , Figure 5 The present invention provides a schematic diagram of the structure of an automatic gain control device 500, wherein the automatic gain control device 500 includes:
[0096] A determination module 501 is used to determine a reference time domain power of a reference signal before gain adjustment according to a reference frequency domain power and a reference gain corresponding to a reference time slot, wherein the reference time slot is a time slot closest to the statistical time slot and where the reference signal is located;
[0097] The determination module 501 is further used to determine a power difference between the reference time domain power and the sum of the statistical gain corresponding to the statistical time slot and the statistical time domain power corresponding to the statistical time slot;
[0098] The determination module 501 is further configured to determine a compensation reference power and a compensation gain according to the power difference;
[0099] The determination module 501 is further configured to determine a target gain according to the target power, the compensation reference power and the compensation gain, and to make the target gain effective in a target time slot.
[0100] Optionally, the determination module 501 is specifically used to determine, when the power difference value is within a preset range, that the compensation reference power is the reference time domain power, and to determine the compensation gain as the minimum value between the power difference value and a preset time-frequency power difference, wherein the preset time-frequency power difference is the maximum theoretical time-frequency power difference under the configured broadband corresponding to the statistical time slot.
[0101] Optionally, the determination module 501 is specifically used to determine the compensation reference power as the maximum value between the reference time domain power and the statistical time domain power, and determine the compensation gain as 0 when the power difference is outside a preset range.
[0102] Optionally, the statistical gain includes a statistical analog gain, the target gain includes a target analog gain and a target digital gain, and the determination module 501 is specifically configured to determine the difference between the target power and the compensation reference power and the sum of the statistical analog gain and the compensation gain as a target gain difference;
[0103] The determination module 501 is further specifically configured to determine the target analog gain and the target digital gain according to the target gain difference.
[0104] Optionally, the determination module 501 is specifically configured to determine the target analog gain by looking up a table according to the target gain difference;
[0105] The determination module 501 is further specifically configured to determine the target digital gain according to the target gain difference and the target analog gain.
[0106] Optionally, the reference signal includes at least one of the following: a synchronization signal and a physical broadcast channel block SSB, and a phase reference signal TRS;
[0107] and / or,
[0108] The target time slot differs from the statistical time slot by one or two time slots.
[0109] The present application also provides a communication device. Figure 6 , the communication device may include a processor 601, a memory 602, and a program 6021 stored in the memory 602 and executable on the processor 601.
[0110] When the communication device is a terminal, the program 6021 can be executed by the processor 601 to achieve Figure 2 Any steps in the corresponding method embodiments and achieving the same beneficial effects will not be repeated here.
[0111] 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.
[0112] The storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0113] 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.
[0114] 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.
[0115] 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: Determine a reference time domain power of the reference signal before gain adjustment according to a reference frequency domain power and a reference gain corresponding to a reference time slot, wherein the reference time slot is a time slot closest to the statistical time slot and where the reference signal is located; Determine a power difference between the reference time domain power and the sum of the statistical gain corresponding to the statistical time slot and the statistical time domain power corresponding to the statistical time slot; Determine a compensation reference power and a compensation gain according to the power difference; Determine a target gain according to the target power, the compensation reference power and the compensation gain, and take effect on the target gain in a target time slot; The determining of the compensation reference power and the compensation gain according to the power difference includes: In the case where the power difference value is within a preset range, the compensation reference power is determined to be the reference time domain power, and the compensation gain is determined to be the minimum value between the power difference value and a preset time-frequency power difference, wherein the preset time-frequency power difference is the maximum theoretical time-frequency power difference under the configured broadband corresponding to the statistical time slot; When the power difference is outside a preset range, the compensation reference power is determined to be a maximum value between the reference time domain power and the statistical time domain power, and the compensation gain is determined to be 0.
2. The method according to claim 1, characterized in that The statistical gain includes a statistical analog gain, the target gain includes a target analog gain and a target digital gain, and determining the target gain according to the target power, the compensation reference power, and the compensation gain includes: Determine the difference between the target power and the compensation reference power and the sum of the statistical simulation gain and the compensation gain as a target gain difference; The target analog gain and the target digital gain are determined according to the target gain difference.
3. The method according to claim 2, characterized in that The determining the target analog gain and the target digital gain according to the target gain difference includes: Determine the target analog gain by looking up a table according to the target gain difference; The target digital gain is determined according to the target gain difference and the target analog gain.
4. The method according to claim 1, characterized in that: The reference signal includes at least one of the following: a synchronization signal and a physical broadcast channel block SSB, and a phase reference signal TRS; and / or, The target time slot differs from the statistical time slot by one or two time slots.
5. An automatic gain control device, characterized in that: include: A determination module, configured to determine a reference time domain power of a reference signal before gain adjustment according to a reference frequency domain power and a reference gain corresponding to a reference time slot, wherein the reference time slot is a time slot closest to the statistical time slot and where the reference signal is located; The determination module is further used to determine a power difference between the reference time domain power and the sum of the statistical gain corresponding to the statistical time slot and the statistical time domain power corresponding to the statistical time slot; The determination module is further used to determine the compensation reference power and the compensation gain according to the power difference; The determination module is further configured to determine a target gain according to the target power, the compensation reference power and the compensation gain, and to make the target gain effective in a target time slot; The determination module is specifically used to determine, when the power difference value is within a preset range, that the compensation reference power is the reference time domain power, and to determine the compensation gain as the minimum value between the power difference value and a preset time-frequency power difference, wherein the preset time-frequency power difference is the maximum theoretical time-frequency power difference under the configured broadband corresponding to the statistical time slot; The determination module is specifically further used to determine that the compensation reference power is the maximum value between the reference time domain power and the statistical time domain power, and determine that the compensation gain is 0 when the power difference is outside a preset range.
6. 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 4.
7. 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 4 are implemented.
8. 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 4.
Citation Information
Patent Citations
Automatic-gain-control (AGC) gain generating method and device
CN102186235A
Radio frequency receiver and automatic gain adjusting method of radio frequency receiver
CN104393884A