Automatic gain control method and device

By coordinating the control of the baseband unit and the radio frequency unit, the problem of AGC adjustment delay and accuracy caused by the dynamic range of signal strength in distributed wireless communication systems is solved, and faster and more accurate automatic gain control is achieved.

CN121367982APending Publication Date: 2026-01-20HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410977625.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2026-01-20

AI Technical Summary

Technical Problem

In distributed wireless communication systems, the large dynamic range of signal strength received by the receiver affects the receiver's demodulation performance. Existing technologies struggle to effectively address the issues of automatic gain control (AGC) adjustment delay and accuracy.

Method used

By receiving gain adjustment information from the RF unit through the baseband unit, the received signal power of the baseband unit and the RF unit is statistically analyzed and adjusted to achieve flexible automatic gain control, reduce AGC adjustment delay and improve accuracy.

Benefits of technology

The AGC adjustment delay was reduced, the gain control accuracy of the baseband unit was improved, and the signal reception power was kept within the target range to ensure stable data stream reception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121367982A_ABST
    Figure CN121367982A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic gain control method and device, and relates to the technical field of communication. According to the method, the baseband unit side is controlled by the baseband unit to perform automatic gain control, and the radio frequency unit side is controlled by the radio frequency unit to perform automatic gain control, so that the AGC adjustment time delay is reduced. In addition, the baseband unit performs automatic gain control after receiving the first gain adjustment information from the radio frequency unit, so that the accuracy of AGC adjustment at the baseband unit side can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, and in particular to an automatic gain control method and device. BACKGROUND

[0002] To solve the problems of insufficient coverage and poor coverage quality of wireless communication, a distributed wireless communication system architecture emerges as the times require. In the distributed wireless communication system architecture, a receiver is divided into a baseband unit and a radio frequency unit, wherein the baseband unit mainly undertakes the function of baseband signal processing, the radio frequency unit mainly undertakes the function of radio frequency signal processing, and the baseband unit and the radio frequency unit are connected through a certain feeder. It should be noted that due to the difference in transmission power of different transmitters and the influence of factors such as channel environment change, the signal strength received by the receiver is in a very large dynamic range. However, too strong or too weak signal power received by the receiver will affect the demodulation performance of the receiver. Therefore, how to provide an automatic gain control (AGC) adjustment scheme for the distributed wireless communication system architecture needs to be solved urgently. SUMMARY

[0003] The present application provides an automatic gain control method and device, which is beneficial to reduce the AGC adjustment delay and improve the accuracy of AGC adjustment.

[0004] The present application will be described from different aspects below. It should be understood that the implementation and advantages of the different aspects below can be mutually referred to.

[0005] In a first aspect, the present application provides an automatic gain control method, which can be applied to a communication device including a baseband unit and a radio frequency unit. The method includes: after the baseband unit receives first gain adjustment information from the radio frequency unit, the baseband unit statistics the first received signal power of the baseband unit, wherein the first gain adjustment information is used to indicate the first power adjustment value of the radio frequency unit. The baseband unit determines the second power adjustment value of the baseband unit according to the first received signal power.

[0006] It should be noted that in a cellular network distributed system, the baseband unit in the present application can be a baseband unit (BBU), and the radio frequency unit can be a remote radio unit (RRU). In a WLAN distributed system, the baseband unit in the present application can be a distributed access point (DAP), and the radio frequency unit can be a radio remote unit (RRU). The present application mainly takes the WLAN distributed system as an example for description. It should be understood that the present application proposes a scheme of controlling the RRU side to perform automatic gain control by the RRU and controlling the DAP side to perform automatic gain control by the DAP. Compared with the scheme of controlling the RRU side and the DAP side to perform automatic gain control by the DAP, since the present application does not involve the path delay of the data flow from the air interface into the DAP side and the path delay of the gain adjustment information transmitted by the DAP to the RRU side when performing automatic gain control on the RRU side, the transmission delay is smaller, thereby facilitating to reduce the AGC adjustment delay. In addition, the baseband unit performs automatic gain control after receiving the first gain adjustment information from the radio frequency unit, which is beneficial to improve the accuracy of AGC adjustment on the baseband unit side.

[0007] In a possible implementation, the method further includes:

[0008] The radio frequency unit statistics a second received signal power of the radio frequency unit;

[0009] The radio frequency unit determines a first power adjustment value of the radio frequency unit according to the second received signal power, and sends the first gain adjustment information to the baseband unit.

[0010] In this implementation, when the RRU controls the RRU side to perform automatic gain control, the second received signal power of the radio frequency unit is counted to determine the first power adjustment value, which is more flexible than the scheme of fixed gain control on the RRU side.

[0011] In a possible implementation, the method further includes:

[0012] The radio frequency unit adjusts the received signal power of the radio frequency unit based on the first power adjustment value, so that the adjusted received signal power of the radio frequency unit belongs to a target power interval of the radio frequency unit.

[0013] In a possible implementation, the baseband unit and the radio frequency unit are connected through a feeder, and the target power interval of the radio frequency unit is related to the linearity and / or noise factor of the feeder.

[0014] In a possible implementation, after receiving the first gain adjustment information from the radio frequency unit, the baseband unit counts the first received signal power of the baseband unit, including:

[0015] After receiving the first gain adjustment information from the radio frequency unit and waiting for a preset time period, the baseband unit counts the first received signal power of the baseband unit.

[0016] In this implementation, after receiving the first gain adjustment information and waiting for a preset time period, the baseband unit counts the first received signal power of the baseband unit, which helps to improve the accuracy of the first received signal power counted by the baseband unit, because it takes a certain amount of time for the radio frequency unit to reach a stable state after gain adjustment based on the first gain adjustment information. Waiting for a preset time period before counting the first received signal power helps to obtain more accurate received signal power information, and thus helps to improve the accuracy of gain adjustment on the baseband unit side.

[0017] In a possible implementation, the method further includes:

[0018] The baseband unit adjusts the received signal power of the baseband unit based on the second power adjustment value, so that the adjusted received signal power of the baseband unit belongs to a target power interval of the baseband unit.

[0019] The baseband unit sends a first control signal to the radio frequency unit, where the first control signal is used to indicate that the first power adjustment value of the radio frequency unit is not allowed to change.

[0020] In this implementation, when the adjustment of the received signal power on the baseband unit side meets the requirement of the received signal power on the baseband unit side, the baseband unit sends a first control signal to the radio frequency unit, which helps to ensure that the signal receiving power on the radio frequency unit side does not change abruptly (or prevent power fluctuation), and thus helps to ensure the reception of data flow.

[0021] In a possible implementation, the target power interval of the baseband unit is related to the linearity and / or noise figure of the baseband unit.

[0022] In a second aspect, the present application provides a communication device including a baseband unit and a radio frequency unit, where:

[0023] The baseband unit is configured to count the first received signal power of the baseband unit after receiving the first gain adjustment information from the radio frequency unit, where the first gain adjustment information is used to indicate the first power adjustment value of the radio frequency unit.

[0024] The baseband unit is configured to determine a second power adjustment value of the baseband unit according to the first received signal power.

[0025] In a possible implementation, the radio frequency unit is configured to count a second received signal power of the radio frequency unit; and the radio frequency unit is configured to determine the first power adjustment value of the radio frequency unit according to the second received signal power, and to send the first gain adjustment information to the baseband unit.

[0026] In a possible implementation, the radio frequency unit is configured to adjust the received signal power of the radio frequency unit based on the first power adjustment value, so that the adjusted received signal power of the radio frequency unit belongs to a target power interval of the radio frequency unit.

[0027] In a possible implementation, the baseband unit and the radio frequency unit are connected through a feeder, and the target power interval of the radio frequency unit is related to linearity and / or noise figure of the feeder.

[0028] In a possible implementation, the baseband unit is configured to count a first received signal power of the baseband unit after receiving the first gain adjustment information from the radio frequency unit and after a preset time interval.

[0029] In a possible implementation, the baseband unit is configured to adjust the received signal power of the baseband unit based on the second power adjustment value, so that the adjusted received signal power of the baseband unit belongs to a target power interval of the baseband unit; and the baseband unit is configured to send a first control signal to the radio frequency unit, where the first control signal is used to indicate that the first power adjustment value of the radio frequency unit is not allowed to change.

[0030] In a possible implementation, the target power interval of the baseband unit is related to linearity and / or noise figure of the baseband unit.

[0031] In a third aspect, a communication apparatus is provided. The communication apparatus includes a processor and a transceiver. The processor and the transceiver are configured to perform the method in the first aspect or any possible implementation of the first aspect.

[0032] Optionally, the communication apparatus further includes a memory having a computer program stored therein. The processor and the transceiver are configured to invoke the computer program stored in the memory, so that the communication apparatus performs the method in the first aspect or any possible implementation of the first aspect.

[0033] In a possible design, the communication apparatus can be a chip or a device including the chip that implements the above method.

[0034] In a fourth aspect, the present application provides a communication device, comprising a processor and an interface circuit, the interface circuit being configured to receive a signal from another communication device outside the communication device and transmit the signal to the processor or send a signal from the processor to another communication device outside the communication device, and the processor being configured to implement the method according to the first aspect or any possible implementation manner of the first aspect by means of a logic circuit or executing code instructions.

[0035] In a fifth aspect, the present application provides a computer readable storage medium, which stores a computer program or instructions, and when the computer program or instructions are executed by a computer, the method according to the first aspect or any possible implementation manner of the first aspect is implemented.

[0036] In a sixth aspect, the present application provides a computer program product, which, when read and executed by a computer, causes the computer to perform the method according to the first aspect or any possible implementation manner of the first aspect.

[0037] In a seventh aspect, the present application provides a chip system, which comprises at least one processor and an interface, the processor being configured to read and execute instructions stored in a memory, and when the instructions are executed, the chip performs the method according to the first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0039] Figure 2 is a schematic diagram of a hardware structure of a communication device in a WLAN provided by an embodiment of the present application;

[0040] Figure 3 is a schematic diagram of a WLAN distributed system provided by an embodiment of the present application;

[0041] Figure 4 is a schematic diagram of an AGC adjustment scheme in which the RRU side performs fixed gain control and the DAP side performs automatic gain control provided by an embodiment of the present application;

[0042] Figure 5 is a schematic diagram of a scenario in which the RRU side performs fixed gain control, causing the actual air interface receivable signal power dynamic range to be compressed provided by an embodiment of the present application;

[0043] Figure 6 is a schematic diagram of an AGC adjustment scheme in which the DAP controls the RRU side and the DAP side to perform automatic gain control provided by an embodiment of the present application;

[0044] Figure 7is a timing diagram corresponding to an AGC adjustment scheme for controlling the RRU side and the DAP side to automatically gain control provided by the embodiment of the present application.

[0045] Figure 8 is a flowchart of an automatic gain control method provided by the embodiment of the present application.

[0046] Figure 9 is a schematic diagram of an AP internal structure provided by the embodiment of the present application.

[0047] Figure 10 is a timing diagram corresponding to an automatic gain control method provided by the embodiment of the present application. Figure 8 is a timing diagram corresponding to an automatic gain control method provided by the embodiment of the present application.

[0048] Figure 11 is a schematic diagram of an AP hardware structure in a WLAN distributed system provided by the embodiment of the present application.

[0049] Figure 12 is a schematic diagram of a communication device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solutions in the embodiments of the present application will be clearly and completely described in combination with the drawings in the embodiments of the present application.

[0051] In the description of the present application, "first" and "second" are only used to distinguish different objects, and are not used to describe a specific order. In addition, unless otherwise specified, " / " represents the meaning of "or", for example, A / B can represent A or B. "And / or" in this paper is only a description of the association relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, and B exists alone. In addition, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or the like means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b, or c, can represent: a, b, c; a and b; a and c; b and c; or a and b and c. Where a, b, and c can be single or multiple.

[0052] The terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device, etc. containing a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed, or can optionally include other steps or units inherent to the process, method, product or device, etc.

[0053] In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration." Any embodiment or design described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word exemplary is intended to present concepts in a concrete manner.

[0054] It can be understood that, in this application, "when", "if" and "whether" are all objective conditions, and are not limited to time, and do not require the device to have a judgment action, nor mean that there are other limitations.

[0055] In this application, an element expressed by a singular form is intended to represent "one or more", rather than "one and only one", unless otherwise specified.

[0056] It can be understood that, in each embodiment of the present application, "A corresponding to B" means that A and B have a corresponding relationship, and B can be determined according to A. Determining B according to A does not mean that B is determined only according to A, but also can be determined according to A and / or other information.

[0057] In order to better understand the embodiments of the present application, first, the system architecture related to the embodiments of the present application is introduced as follows:

[0058] The present application can be applied to various communication systems, for example, it can be a 4G, 5G communication system, or a future-oriented evolution system (such as a 6G communication system) cellular communication system. For another example, it can also be a wireless local area network (WLAN) system. For another example, it can also be a communication system combined with two or more of the above systems.

[0059] Taking a WLAN system as an example, for example, Figure 1 is a schematic diagram of an application scenario provided by the embodiments of the present application. As Figure 1 shown, the application scenario includes a communication device 101 and a communication device 102. The communication device 101 and the communication device 102 can communicate through the WLAN. Optionally, the application scenario can also include other devices, Figure 1 The number and type of devices shown are only exemplary.

[0060] The communication device 101 sends a physical layer protocol data unit (PPDU) to the communication device 102. When receiving the PPDU, the communication device 102 needs to adjust the received signal power gain of the PPDU. If the received signal power of the PPDU is too low, the communication device 102 needs to amplify the received signal power of the PPDU; if the received signal power of the PPDU is too high, the communication device 102 needs to attenuate the received signal power of the PPDU, so that the received signal power of the PPDU is finally adjusted to a proper power size (for convenience of description, hereinafter referred to as target power) or a proper power size range (for convenience of description, hereinafter referred to as target power range), thereby enabling the communication device 102 to successfully receive the PPDU. The entire process of the communication device 102 adjusting the received signal power gain of the PPDU is an AGC adjustment process. It should be noted that the power gain can be understood as the amplification or reduction degree of the received signal power by the receiver.

[0061] The AGC adjustment is mainly realized by the AGC module, the control interface and the power amplifier in the communication device. The AGC module is in the baseband processing circuit, the power amplifier is in the radio frequency processing circuit, and the control interface is a bridge connecting the baseband processing circuit and the radio frequency processing circuit and can transmit the control signal between the baseband processing circuit and the radio frequency processing circuit. In specific implementation, the AGC module determines the gain adjustment information, sends the gain adjustment information (or power adjustment control word) to the power amplifier through the control interface, and then the power amplifier adjusts the working gear according to the power adjustment control word to realize the gain adjustment of the received signal power.

[0062] For example, Figure 2 is a hardware structure schematic diagram of a communication device in a WLAN provided by an embodiment of the present application. As shown in Figure 2 , the communication device 20 includes but is not limited to a transceiver 201 and an antenna 202. Optionally, please continue to refer to Figure 2 , the communication device 20 further includes a processor 203 and a memory 204. The processor 203, the memory 204 and the transceiver 201 are connected through a communication bus (not shown in the figure).

[0063] The transceiver 201 is used to perform the transceiving action of the communication device 20. Referring to Figure 2The transceiver 201 comprises a baseband processing circuit 2011 and a radio frequency processing circuit 2012. In the signal transmitting process, the baseband signal is generated by the baseband processing circuit 2011, and the baseband signal is converted into the radio frequency signal by the radio frequency processing circuit 2012, and then the radio frequency signal is transmitted from the air interface by the antenna 202. In the signal receiving process, the radio frequency signal is received from the air interface by the antenna 202, and the radio frequency signal is converted into the baseband signal by the radio frequency processing circuit 2012, and then the baseband signal is received by the baseband processing circuit 2011.

[0064] Please continue to see Figure 2 The baseband processing circuit 2011 comprises an AGC module, a control interface a1, a baseband signal processing module and a data interface b1. The radio frequency processing circuit 2012 comprises a power amplifier, a control interface a2, a radio frequency signal processing module and a data interface b2. The control interface a1 is connected with the control interface a2, and is used for transmitting the control signal between the baseband processing circuit 2011 and the radio frequency processing circuit 2012, such as the power adjustment control word. The data interface b1 and the data interface b2 are connected, and are used for transmitting the baseband signal between the baseband processing circuit 2011 and the radio frequency processing circuit 2012. The AGC module is used for calculating the signal power adjustment mode. The power amplifier is used for adjusting the signal power gain. The AGC module and the power amplifier are connected in communication through the control interface a1 and the control interface a2. The baseband signal processing module is used for generating and receiving the baseband signal. The radio frequency signal processing module is used for frequency conversion processing of the signal, such as converting the baseband signal to obtain the radio frequency signal, and converting the radio frequency signal to obtain the baseband signal. The baseband signal processing module and the radio frequency signal processing module are connected in communication through the data interface b1 and the data interface b2. Optionally, the baseband signal processing module comprises an analog-to-digital converter and a digital-to-analog converter, which are used for converting between the digital signal and the analog signal. Alternatively, the radio frequency signal processing module comprises an analog-to-digital converter and a digital-to-analog converter, which are used for converting between the digital signal and the analog signal.

[0065] The above-mentioned baseband processing circuit 2011 and radio frequency processing circuit 2012 are realized based on hardware. For example, the baseband processing circuit 2011 is a baseband chip supporting the WLAN protocol, and is responsible for generating and receiving the baseband signal according to the WLAN protocol. The radio frequency processing circuit 2012 is a radio frequency chip, and is responsible for converting the baseband signal into the radio frequency signal. For example, taking Wifi as an example, the frequency band of the radio frequency signal can be 2.4G frequency band, 5G frequency band or 6G frequency band, etc., which is not limited.

[0066] In some implementations, part or all of the functions of the baseband processing circuit 2011 can also be implemented based on software. For example, part or all of the functions of the baseband processing circuit 2011 can be implemented by the processor 203, that is, the functional modules of the baseband processing circuit 2011 are integrated in the processor 203. The embodiments of the present application do not limit the internal hardware structure of the communication device 20.

[0067] Optionally, the types of the control interface and the data interface in the baseband processing circuit and the radio frequency processing circuit include, but are not limited to, a serial peripheral interface (SPI) or a general-purpose input / output (GPIO) interface.

[0068] The processor 203 can be a central processing unit (CPU) or an application-specific integrated circuit (ASIC). The processor 203 can be a single-CPU processor or a multi-CPU processor. The processor 203 herein can refer to one or more devices, circuits, and / or processing cores for processing data (for example, computer program instructions).

[0069] The memory 204 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but is not limited to this. The memory 204 can exist independently and be connected to the processor 203 through a communication bus. Alternatively, the memory 204 can be integrated with the processor 203.

[0070] In the embodiments of the present application, the memory 204 is configured to store a computer program including program instructions. The processor 203 is configured to invoke the computer program, generate and / or process the PPDU provided by the embodiments of the present application, and cooperate with the transceiver 201 to implement the automatic gain control method provided by the embodiments of the present application.

[0071] According to the WLAN protocol, the first field in the preamble of the PPDU is used for AGC adjustment. For example, the first field in the preamble of the seven types of PPDU, i.e., non-high throughput PPDU (Non-HT PPDU), high throughput-mixed format PPDU (HT-MF PPDU), very high throughput PPDU (VHT PPDU), high efficient single user PPDU (HE SU PPDU), high efficient multiple user PPDU (HE MU PPDU), high efficient extended range single user PPDU (HE ER SU PPDU), and high efficient trigger-based PPDU (HE-TB PPDU), is a legacy short training field (STF) (referred to as L-STF). The length of the L-STF is 8 microseconds, that is, the communication device needs to complete the AGC adjustment within 8 microseconds from the start of receiving the PPDU. The length of the field referred to in the embodiments of the present application refers to the length of the field in the time domain, and the unit is time unit, for example, microsecond.

[0072] To solve the problems of insufficient wireless communication coverage and coverage quality, a distributed wireless communication system is proposed. In the architecture of the distributed wireless communication system, the receiver is divided into a baseband unit and a radio frequency unit, wherein the baseband unit mainly undertakes the baseband signal processing function, the radio frequency unit mainly undertakes the radio frequency signal processing function, and the baseband unit and the radio frequency unit are connected through a certain feeder, for example, the feeder can be an optical fiber, a coaxial cable, a twisted pair cable, etc.

[0073] For example, in a cellular network distributed system, taking the receiver as an access network device (e.g., a base station) as an example, the base station can be divided into a baseband unit (BBU) and a remote radio unit (RRU). The BBU mainly undertakes the baseband signal processing function, and the RRU mainly undertakes the radio frequency signal processing function. The BBU and RRU are connected by some kind of feeder.

[0074] For another example, in a WLAN distributed system, taking the receiver as the access point (AP) as an example, such as... Figure 3 As shown, an AP can be divided into distributed access points (DAPs) and remote radio units (RRUs). The DAP primarily handles baseband signal processing, while the RRU primarily handles radio frequency signal processing. The DAPs and RRUs are connected via a feeder. This architecture effectively solves the problem of insufficient wireless communication coverage in scenarios such as education (e.g., dormitories), hotels (e.g., rooms), healthcare (e.g., hospital wards), and outdoor environments. Furthermore, through expansion schemes such as zero-roaming distributed and agile distributed architectures, WLAN distributed systems can optimize packet loss rates during roaming transitions and expand access capacity.

[0075] For ease of description, the following text primarily uses a WLAN distributed system as an example for illustrative purposes. This WLAN distributed system includes multiple communication devices. These multiple communication devices can implement wireless communication by following the WLAN protocol. Optionally, the communication devices in the WLAN include, but are not limited to, access devices or stations. The access device can be, for example, a... Figure 3 The example shown is an access point (AP). A site can be a wireless terminal such as a smartphone, laptop, or smart wearable device.

[0076] Understandably, from the perspective of system segmentation and remote deployment, WLAN distributed architecture can be broadly categorized into two types: radio frequency (RF) analog remote deployment and baseband digital remote deployment. RF analog remote deployment refers to analog-to-digital (A / D) conversion / digital-to-analog (DAC) conversion performed on the DAP side (i.e., the ADC is located on the DAP side), with analog signals transmitted on the feeder. Baseband digital remote deployment refers to A / D conversion / digital-to-analog (DAC) conversion performed on the RRU side (i.e., the ADC is located on the RRU side), with digital signals transmitted on the feeder. This approach is commonly used in cellular network distributed systems. For ease of understanding, this application will primarily use WLAN distributed architecture employing RF analog remote deployment as an example for illustrative purposes.

[0077] In some feasible implementations, for WLAN distributed architectures, an AGC adjustment scheme has been proposed that uses fixed gain control on the RRU side and automatic gain control on the DAP side. Specifically, such as... Figure 4 As shown, to meet the rapid AGC adjustment requirements of RF analog remote WLAN, a fixed gain control scheme is used on the RRU side. On the DAP side, a series of AGC adjustment processes are performed, including power statistics and gain adjustment of the input signal power of interface unit 2. While this scheme can complete the gain modulation function of the RF analog remote WLAN distributed architecture, it cannot meet the gain control requirements of interface unit 1 on the RRU side (because the power amplifier 1 on the RRU side uses a fixed gain). It is easy to understand that, limited by the dynamic range of the input signal power of interface unit 1, the dynamic range of the air interface receiveable signal power is compressed, thus making it difficult to meet the signal reception requirements in complex scenarios. For example... Figure 5 As shown, assuming the air interface signal reception requirement is -90dBm to -20dBm, and the optimal input signal power dynamic range of interface unit 1 is -40dBm to -10dBm with a fixed gain of 20dB, the actual air interface receiveable signal power dynamic range can be determined to be -60dBm and -30dBm. Compared to the air interface signal reception requirement, the actual air interface receiveable signal power dynamic range is compressed.

[0078] It should be noted that the interface unit 1 involved in the embodiments of this application can be understood as a signal conversion module. Generally speaking, interface unit 1 is related to the feeder. For example, if the feeder is an optical fiber, then interface unit 1 can be an optical module used to realize the conversion between photoelectric signals. Another example is that if the feeder is a coaxial cable, then interface unit 1 can be a coaxial connector. Yet another example is that if the feeder is a twisted pair cable, then interface unit 1 can be a twisted pair cable connector, such as RJ-11 or RJ-45. Understandably, interface unit 1 on the RF unit side and interface unit 1 on the baseband unit side typically implement opposite signal conversions. For example, taking an optical module as an example, the optical module on the RF unit side is used to realize the conversion from electrical signals to optical signals, while the optical module on the baseband unit side is used to realize the conversion from optical signals to electrical signals.

[0079] The interface unit 2 involved in this embodiment can be understood as an ADC, used to convert between analog and digital signals. The input signal power of interface unit 1 refers to the signal power of the data stream input to interface unit 1; similarly, the input signal power of interface unit 2 refers to the signal power of the data stream input to interface unit 2.

[0080] In some feasible implementations, for WLAN distributed architectures, an AGC adjustment scheme for DAP-controlled RRU side automatic gain control has been proposed. Specifically, such as... Figure 6 As shown, for a distributed WLAN architecture with analog radio frequency (RF) remote access, the input signal power of interface unit 1 on the RRU side needs to be estimated first on the DAP side. Then, based on the estimated input signal power, the gain of the input signal power of interface unit 1 on the RRU side is adjusted so that the adjusted input signal power of interface unit 1 on the RRU side is equal to the target power of interface unit 1, or within the target power range of interface unit 1. Here, the target power or target power range of interface unit 1 is determined by the overall linearity and / or noise figure of interface unit 1 on the RRU side, interface unit 1 on the DAP side, and the feeder. After completing the gain adjustment on the RRU side, the gain adjustment of the input target power of interface unit 2 on the DAP side is then performed so that the adjusted input signal power of interface unit 2 is equal to the target power of interface unit 2, or within the target power range of interface unit 2. While this scheme can achieve gain modulation in a remote WLAN distributed architecture, the distributed architecture, where the RRU and DAP are distributed devices and no longer tightly coupled, and the distance between them is typically large, results in a longer transmission delay for signal / information interaction, thus increasing the AGC adjustment delay. Combined with... Figure 6 and Figure 7Regarding the automatic gain control on the RRU side, the gain control unit on the DAP side needs to wait for the data stream (here, the data stream refers to the data stream received from the air interface) to be transmitted from the RRU side to the DAP side before it can perform power statistics. After the gain control unit on the DAP side calculates the received signal power, it can estimate the input signal power of interface unit 1 based on the calculated received signal power. Then, based on the estimated input signal power, it determines gain adjustment information 1 and sends gain adjustment information 1 to the power amplifier 1 on the RRU side. This gain adjustment information 1 is used to indicate the power adjustment value of power amplifier 1. When power amplifier 1 receives this gain adjustment information 1, it can perform gain adjustment / power adjustment / level adjustment according to the gain adjustment information 1, so that the adjusted input signal power of interface unit 1 is equal to the target power of interface unit 1, or is within the target power range of interface unit 1. Then, after the level stabilizes, the gain control unit on the DAP side further performs power statistics on the data stream and estimates the input signal power of interface unit 2 based on the calculated received signal power. Furthermore, gain adjustment information 2 is determined based on the estimated input signal power and sent to power amplifier 2. This gain adjustment information 2 indicates the power adjustment value of power amplifier 2. After receiving the gain adjustment information 2, power amplifier 2 can perform gain adjustment / power adjustment / level adjustment according to the gain adjustment information 2, so that the adjusted input signal power of interface unit 2 is equal to the target power of interface unit 2, or is within the target power range of interface unit 2.

[0081] Depend on Figure 7 It can be seen that during the AGC adjustment process, when performing automatic gain control on the RRU side, the path delay of the data flow from the air interface into the DAP side is t1, and the path delay of the gain adjustment information 1 sent by the DAP side to the RRU side is t2. That is, the transmission delay T1 = the path delay of the data from the air interface into the DAP side t1 + the path delay of the gain adjustment information 1 from the DAP side to the RRU side t2. Since this transmission delay is large, it increases the AGC adjustment delay.

[0082] It should be noted that the input signal power of interface unit 1 mentioned in this application refers to the input signal power of interface unit 1 on the RRU side, while the target power or target power range of interface unit 1 is determined by the overall linearity and / or noise figure of interface unit 1 on the RRU side, interface unit 1 on the DAP side, and the feeder.

[0083] Based on this, this application proposes another feasible implementation method that can satisfy the gain adjustment requirements of both the DAP side and the RRU side, while also reducing the latency of AGC adjustment. Specifically, as follows... Figure 8 As shown, Figure 8This is a flowchart illustrating the automatic gain control method provided in an embodiment of this application. Figure 8 The method shown can be implemented by a communication device, which includes a baseband unit and a radio frequency unit. Optionally, the baseband unit can also be called a central unit, and the radio frequency unit can also be called a remote unit. Figure 8 The steps or operations shown are merely examples; other operations or procedures may also be performed in the embodiments of this application. Figure 8 Variations of various operations within it. Furthermore, Figure 8 Each step in the process can be followed separately according to... Figure 8 The different orders presented may be executed, and it is possible that they are not intended to be executed. Figure 8 All operations within. Among them:

[0084] S801, the radio frequency unit sends first gain adjustment information to the baseband unit. Correspondingly, the baseband unit receives the first gain adjustment information from the radio frequency unit. After receiving the first gain adjustment information, the baseband unit calculates the first received signal power.

[0085] As described above, when the communication device is a base station in a cellular network distributed system, the baseband unit can be a BBU and the radio frequency unit can be an RRU. When the communication device is an AP in a WLAN distributed system, the baseband unit can be a DAP and the radio frequency unit can be an RRU. The following examples will primarily use the communication device as an AP in a WLAN distributed system for understanding.

[0086] Optionally, Figure 9 An adaptation was shown Figure 8 A schematic diagram of the internal structure of the AP in the illustrated scheme. (See diagram below.) Figure 9 As shown, during signal reception, the antenna receives data streams from other communication devices (e.g., stations) via the air interface, and the power detection module 1 in the RF unit calculates the received signal power of the data streams at the RF unit side (hereinafter referred to as the second received signal power for ease of distinction). Further, the RF unit can determine a power adjustment value at the RF unit side (hereinafter referred to as the first power adjustment value for ease of distinction) based on the second received signal power calculated by the power detection module 1. For example, the gain control unit 1 in the RF unit can estimate the input signal power of the interface unit 1 in the RF unit based on the second received signal power calculated by the power detection module 1, or it can directly determine the second received signal power calculated by the power detection module 1 as the input signal power of the interface unit 1 in the RF unit. In other words, the second received signal power calculated by the power detection module 1 can be used to characterize / indicate / estimate / calculate the input signal power of the interface unit 1. The following explanation will use the example that the input signal power of the interface unit 1 in the RF unit is equal to the second received signal power calculated by the power detection module 1 for illustrative purposes.

[0087] For example, the gain control unit 1 can use the difference between the input signal power of the interface unit 1 and the target power of the interface unit 1 as the target power adjustment value, and determine a first power adjustment value based on the target power adjustment value. Typically, the gain control unit 1 has multiple candidate power adjustment values, and it can select the power adjustment value closest to the target power adjustment value as the first power adjustment value. For example, assuming the target power adjustment value is 11dB, and the candidate power adjustment values ​​are 0dB, 5dB, and 10dB, then 10dB can be determined as the first power adjustment value. After the gain control unit 1 determines the first power adjustment value, it sends first gain adjustment information (referred to as gain control information 1) to the power amplifier 1 and the gain control unit 2 respectively, indicating the first power adjustment value. As an example, the gain control unit 1 can specifically communicate through the communication unit 1 (… Figure 9 (Not shown in the image) sends gain control information 1 to gain control unit 2. Correspondingly, gain control unit 2 can communicate via communication unit 2 ( Figure 9 (Not shown in the image) Receive gain control information 1.

[0088] For power amplifier 1, after receiving the gain control information 1, power amplifier 1 can adjust the received signal power of the radio frequency unit (or perform level adjustment) based on the first power adjustment value indicated by the gain control information 1, so that the adjusted received signal power of the radio frequency unit (or the adjusted input signal power of the interface unit 1) is equal to the target power of the radio frequency unit (or the target power of the interface unit 1), or belongs to the target power range of the radio frequency unit (or the target power range of the interface unit 1). It is understood that the baseband unit and the radio frequency unit are connected through a feeder, and the target power or target power range of the radio frequency unit is related to the linearity and / or noise figure of the feeder (or it can be understood that the target power or target power range of the radio frequency unit is related to the overall linearity and / or noise figure of the interface unit 1 on the radio frequency unit side, the interface unit 1 on the baseband unit side, and the feeder). For example, the feeder can be optical fiber, coaxial cable, twisted pair, etc., which are not limited in this application.

[0089] For the baseband unit, after receiving gain adjustment information 1, the baseband unit can calculate the received signal power (hereinafter referred to as the first received signal power for ease of distinction) and determine the power adjustment value (hereinafter referred to as the second power adjustment value) based on the first received signal power. For example, after receiving the first gain adjustment information, the baseband unit can calculate the first received signal power after a preset time interval. Optionally, as follows... Figure 9As shown, specifically, the power detection module 2 can statistically analyze the first received signal power flowing through the baseband unit and send the statistically obtained first received signal power to the gain control unit 2. The gain control unit 2 then determines the power adjustment value of the baseband unit based on the first received signal power. Figure 9 The power detection module 2 shown is integrated with the baseband signal processing module. Optionally, the power detection module 2 can also be integrated with the gain control unit 2, or the power detection module 2 can be a separate / independent module (i.e., not integrated with the baseband signal processing module or any other module).

[0090] Optionally, the length of the aforementioned preset time period can be predefined or preconfigured by the protocol. Generally, the preset time period is related to the hardware model and circuit design used in the communication equipment, and this application does not limit it. Optionally, the preset time period can be understood as the time required for the power amplifier 1 to stabilize at its setpoint or longer than the time required for the power amplifier 1 to stabilize at its setpoint. That is, after the preset time period following the receipt of the first gain adjustment information, it is assumed that the signal power of the data stream processed by the power amplifier 1 already meets the target power of the RF unit or belongs to the target power range of the RF unit. Optionally, within the preset time period, the baseband signal processing module or gain control unit 2 or other control units can also control the power detection module 2 to stop power statistics, and then restart the power detection module 2 to perform power statistics at the end of the preset time period.

[0091] S802, the baseband unit determines the second power adjustment value of the baseband unit based on the first received signal power.

[0092] In some feasible implementations, the gain control unit 2 in the baseband unit can estimate the input signal power of the interface unit 2 in the baseband unit based on the first received signal power statistically obtained by the power detection module 2. Alternatively, the first received signal power statistically obtained by the power detection module 2 can be directly determined as the input signal power of the interface unit 2 in the baseband unit. That is, the first received signal power statistically obtained by the power detection module 2 is used to characterize / indicate / estimate / calculate the input signal power of the interface unit 2. The following explanation will use the example where the input signal power of the interface unit 2 in the baseband unit is equal to the second received signal power statistically obtained by the power detection module 2. Exemplarily, the gain control unit 2 can use the difference between the input signal power of the interface unit 2 and the target power of the interface unit 2 as the target power adjustment value, and determine the second power adjustment value based on this target power adjustment value. Further, after the gain control unit 2 determines the second power adjustment value, the gain control unit 2 sends second gain adjustment information (hereinafter referred to as gain control information 2) to the power amplifier 2 to indicate the second power adjustment value.

[0093] For power amplifier 2, after receiving the gain control information 2, power amplifier 2 can adjust the received signal power of the baseband unit based on the second power adjustment value indicated by the gain control information 2 (or perform level adjustment), so that the adjusted received signal power of the baseband unit (or the adjusted input signal power of interface unit 2) is equal to the target power of the baseband unit (or the target power of interface unit 2), or belongs to the target power range of the baseband unit (or the target power range of interface unit 2). It is understood that the target power range of the baseband unit is related to the linearity and / or noise figure of the baseband unit, for example, specifically related to the linearity and / or noise figure of the ADC in the baseband unit.

[0094] Optionally, the gain adjustment information described in this embodiment (e.g., first gain adjustment information, or second gain adjustment information) can indicate the power adjustment value directly or indirectly. For example, taking the first gain adjustment information as an example of indicating the first power adjustment value of the RF unit, the first gain adjustment information can be the first power adjustment value itself (i.e., direct indication), or the first gain adjustment information can also be a first level, which corresponds to the first power adjustment value (i.e., indirect indication). For example, power amplifier 1 can specifically be an external low noise amplifier (eLNA). Since the eLNA is a coarse-tuning amplifier, it has only two levels, corresponding to two power adjustment values ​​respectively. Based on this, the length of the first gain adjustment information can be 1 bit. When the value of this 1 bit is 1 (i.e., high level), it represents level 1; when the value of this 1 bit is 0 (i.e., low level), it represents level 2, where level 1 corresponds to power value 1, and level 2 corresponds to power value 2.

[0095] Optionally, in some feasible implementations, if the power amplifier 2 in the baseband unit adjusts the received signal power of the baseband unit based on a second power adjustment value, and the adjusted received signal power of the baseband unit is equal to or falls within the target power range of the baseband unit, the baseband unit can also send a first control signal to the radio frequency unit. This first control signal instructs that the first power adjustment value of the radio frequency unit should not be changed (i.e., the magnitude of the first power adjustment value should remain unchanged) until the data stream reception is complete. For example, the gain control unit 2 in the baseband unit can send a first control signal to the gain control unit 1 in the radio frequency unit to instruct the gain control unit 1 to maintain the magnitude of the first power adjustment value until the data stream reception is complete. As an example, the gain control unit 2 can specifically be connected via the communication unit 2 (…). Figure 9 (Not shown) sends a first control signal to the gain control unit 1. Correspondingly, the gain control unit 1 can communicate via the communication unit 1 ( Figure 9(Not shown) Receives the first control signal. It should be understood that this method of the baseband unit sending control signals to the radio frequency unit helps to ensure that the signal reception power on the radio frequency unit side does not change abruptly (or prevents power fluctuations), thereby helping to ensure the reception of the data stream.

[0096] It should be noted that the data flow described in this embodiment refers to the data carried in each PPDU, meaning that the AGC adjustment involved in this embodiment is performed on each PPDU. Optionally, the data flow described in this embodiment can also be extended to data carried in multiple PPDUs, that is, each AGC adjustment is performed on multiple PPDUs.

[0097] For example, Figure 10 It shows Figure 8 Timing diagrams for the automatic gain control methods involved. Figure 10 Medium power amplifier 1 and gain control unit 1 are equivalent to Figure 9 The power amplifier 1 and gain control unit 1 in the RRU Figure 10 The medium power amplifier 2 and the gain control unit 2 are equivalent to Figure 9 The power amplifier 2 and gain control unit 2 in the DAP. For example... Figure 10 As shown, during the AGC adjustment process, when performing automatic gain control on the RRU side, the path delay of the data stream flowing from the air interface into the RRU side is t3, and the path delay of the gain adjustment information 1 sent by the gain control unit 1 on the RRU side to the power amplifier 1 on the RRU side is t4. That is, the transmission delay T2 = the path delay of the data flowing from the air interface into the RRU side t3 + the path delay of the gain adjustment information 1 from the gain control unit 1 on the RRU side to the power amplifier 1 on the RRU side t4. This transmission delay T2 is less than... Figure 7 The transmission delay T1 shown reduces the AGC adjustment delay.

[0098] Optionally, the various functional units / modules (e.g., power amplifier 1 / 2, power detection module 1 / 2, gain control unit 1 / 2, baseband signal processing module, communication unit 1 / 2, interface unit 1 / 2, etc.) included in the baseband unit and radio frequency unit described in this embodiment are all virtual modules. The function of one of the aforementioned functional units / modules can be implemented by a single device, or multiple devices can be used to jointly implement the function of one of the aforementioned functional units / modules. Optionally, the functions implemented by the aforementioned multiple functional units / modules can also be integrated together, that is, one device has the functions implemented by the aforementioned multiple functional units / modules.

[0099] For example, the aforementioned power amplifier 1 can specifically be an amplifier such as an eLNA. Optionally, the power amplifier 1 can also be an amplifier such as an internal low noise amplifier (iLNA) or a variable gain amplifier (VGA).

[0100] For example, the power detection module 1 includes a coupler and a detector, which are mainly responsible for coupling the signal received by the antenna and calculating the power of the signal.

[0101] For example, the gain control unit 1 can be a complex programmable logic device (CPLD), a general-purpose chip, or an AGC-specific chip, etc.

[0102] For example, the communication unit 1 can be an RF communication chip, or an RF transceiver, etc.

[0103] For example, interface unit 1 is related to the feeder and is mainly responsible for converting radio frequency signals into signals that match the feeder. For instance, taking the feeder as an optical fiber, interface unit 1 can be an optical module responsible for photoelectric signal conversion. Optionally, interface unit 1 can also be used for multi-frequency signal fusion.

[0104] For example, the aforementioned power amplifier 2 can specifically be an analog amplifier, including iLNA, VGA, and other amplifiers.

[0105] For example, the power detection module 2 can be integrated with the baseband signal processing module to handle baseband signal processing, power statistics, etc. Alternatively, the power detection module 2 can also be integrated with the gain control unit 2, or it can be a separate device consisting of a coupler and a detector.

[0106] For example, the gain control unit 2 can be a digital logic circuit, such as a CPLD, or the gain control unit 2 can also be a general-purpose chip or an AGC-specific chip, etc.

[0107] For example, the communication unit 2 can be an RF communication chip, or an RF transceiver, etc.

[0108] For example, interface unit 2 can be an ADC or the like for performing analog-to-digital conversion;

[0109] For example, the baseband signal processing module is specifically a baseband chip, etc.

[0110] For example, see Figure 11 , Figure 11This is a schematic diagram of the hardware structure of an AP in a WLAN distributed system provided in an embodiment of this application. For example... Figure 11 As shown, for the RRU, power amplifier 1 is specifically an eLNA, the power detection module 1 functions as a coupler and detector, and the gain control unit 1 consists of a power comparator and a switch. For the DAP, power amplifier 2 consists of an iLNA amplifier and a VGA amplifier, the gain control unit 2 is an AGC dedicated chip, and the baseband signal processing module is a baseband chip with power statistics functionality.

[0111] In this embodiment, both the RRU side and the DAP side support dynamic gain control. Compared to the scheme where the RRU side performs fixed gain control, this embodiment better meets the requirements for air interface signal reception. Furthermore, since the scheme in this embodiment adjusts the RRU side gain by having the RRU control the RRU side to perform automatic gain control, compared to the scheme where the DAP controls the RRU side to perform automatic gain control, this application no longer involves the path delay of the data stream flowing from the air interface into the DAP side, nor the path delay of the gain adjustment information sent by the DAP side to control the RRU side being transmitted to the RRU side. Therefore, the transmission delay is smaller, which helps to reduce the AGC adjustment delay. Further, in this application, the DAP performs automatic gain control after receiving the first gain adjustment information from the RRU (i.e., after the RRU performs AGC adjustment on the RRU side), which also helps to improve the accuracy of the AGC adjustment on the DAP side.

[0112] The following will combine Figure 12 The communication device provided in this application will be described in detail.

[0113] It is understood that, in order to achieve the functions in the above embodiments, the communication device includes hardware structures and / or software modules corresponding to each function. Those skilled in the art should readily recognize that, based on the units and method steps described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0114] Figure 12 This is a schematic diagram of a communication device provided in the embodiments of this application. These communication devices can be used to implement the functions of the communication devices in the above method embodiments, and therefore can also achieve the beneficial effects of the above method embodiments. In the embodiments of this application, the communication device can be as follows: Figure 1 The communication device 120 shown or a module (such as a chip) in the communication device 120.

[0115] like Figure 12As shown, the communication device 1200 includes a baseband unit 1210 and a radio frequency unit 1220, wherein:

[0116] The baseband unit 1210 is used to calculate the first received signal power of the baseband unit 1210 after receiving the first gain adjustment information from the radio frequency unit 1220. The first gain adjustment information indicates the first power adjustment value of the radio frequency unit 1220.

[0117] The baseband unit 1210 is used to determine a second power adjustment value of the baseband unit 1210 based on the first received signal power.

[0118] In one possible implementation, the radio frequency unit 1220 is used to count the second received signal power of the radio frequency unit 1220; the radio frequency unit 1220 is used to determine the first power adjustment value of the radio frequency unit 1220 based on the second received signal power, and send the first gain adjustment information to the baseband unit 1210.

[0119] In one possible implementation, the radio frequency unit 1220 is configured to adjust the received signal power of the radio frequency unit 1220 based on the first power adjustment value, so that the adjusted received signal power of the radio frequency unit 1220 belongs to the target power range of the radio frequency unit 1220.

[0120] In one possible implementation, the baseband unit 1210 and the radio frequency unit 1220 are connected via a feed line, and the target power range of the radio frequency unit 1220 is related to the linearity and / or noise figure of the feed line.

[0121] In one possible implementation, the baseband unit 1210 is configured to, after receiving first gain adjustment information from the radio frequency unit 1220 and after a preset time interval, calculate the first received signal power of the baseband unit 1210.

[0122] In one possible implementation, the baseband unit 1210 is configured to adjust the received signal power of the baseband unit 1210 based on the second power adjustment value, so that the adjusted received signal power of the baseband unit 1210 belongs to the target power range of the baseband unit 1210; the baseband unit 1210 is configured to send a first control signal to the radio frequency unit 1220, the first control signal being used to indicate that the first power adjustment value of the radio frequency unit 1220 is not allowed to change.

[0123] In one possible implementation, the target power range of the baseband unit 1210 is related to the linearity and / or noise figure of the baseband unit 1210.

[0124] For a more detailed description of the baseband unit 1210 and the radio frequency unit 1220 mentioned above, please refer to [link / reference]. Figure 8 The relevant descriptions in the method embodiments shown.

[0125] The method steps in the embodiments of this application can be implemented in hardware or in software instructions executable by a processor. The software instructions can consist of corresponding software modules, which can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. The storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Alternatively, the ASIC can reside in a network device or terminal. The processor and storage medium can also exist as discrete components in a network device or terminal.

[0126] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both types of storage media.

[0127] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0128] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.

Claims

1. An automatic gain control method, characterized in that, Applied to a communication device, the communication device including a baseband unit and a radio frequency unit, the method includes: After receiving the first gain adjustment information from the radio frequency unit, the baseband unit calculates the first received signal power of the baseband unit. The first gain adjustment information is used to indicate the first power adjustment value of the radio frequency unit. The baseband unit determines a second power adjustment value based on the power of the first received signal.

2. The method according to claim 1, characterized in that, The method further includes: The radio frequency unit counts the second received signal power of the radio frequency unit; The radio frequency unit determines the first power adjustment value of the radio frequency unit based on the second received signal power, and sends the first gain adjustment information to the baseband unit.

3. The method according to claim 2, characterized in that, The method further includes: The radio frequency unit adjusts the received signal power of the radio frequency unit based on the first power adjustment value so that the adjusted received signal power of the radio frequency unit belongs to the target power range of the radio frequency unit.

4. The method according to claim 3, characterized in that, The baseband unit and the radio frequency unit are connected by a feed line, and the target power range of the radio frequency unit is related to the linearity and / or noise figure of the feed line.

5. The method according to any one of claims 1-4, characterized in that, After receiving the first gain adjustment information from the radio frequency unit, the baseband unit calculates the first received signal power of the baseband unit, including: After receiving the first gain adjustment information from the radio frequency unit and after a preset time interval, the baseband unit calculates the first received signal power of the baseband unit.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: The baseband unit adjusts the received signal power of the baseband unit based on the second power adjustment value so that the adjusted received signal power of the baseband unit belongs to the target power range of the baseband unit; The baseband unit sends a first control signal to the radio frequency unit, the first control signal being used to indicate that the first power adjustment value of the radio frequency unit is not allowed to change.

7. The method according to claim 6, characterized in that, The target power range of the baseband unit is related to the linearity and / or noise figure of the baseband unit.

8. A communication device, characterized in that, Includes a baseband unit and a radio frequency unit, wherein: The baseband unit is used to calculate the first received signal power of the baseband unit after receiving the first gain adjustment information from the radio frequency unit. The first gain adjustment information is used to indicate the first power adjustment value of the radio frequency unit. The baseband unit is configured to determine a second power adjustment value for the baseband unit based on the power of the first received signal.

9. The communication device according to claim 8, characterized in that, The radio frequency unit is used to count the second received signal power of the radio frequency unit; The radio frequency unit is configured to determine the first power adjustment value of the radio frequency unit based on the second received signal power, and send the first gain adjustment information to the baseband unit.

10. The communication device according to claim 9, characterized in that, The radio frequency unit is configured to adjust the received signal power of the radio frequency unit based on the first power adjustment value, so that the adjusted received signal power of the radio frequency unit belongs to the target power range of the radio frequency unit.

11. The communication device according to claim 10, characterized in that, The baseband unit and the radio frequency unit are connected by a feed line, and the target power range of the radio frequency unit is related to the linearity and / or noise figure of the feed line.

12. The communication device according to any one of claims 8-11, characterized in that, The baseband unit is used to calculate the first received signal power of the baseband unit after receiving the first gain adjustment information from the radio frequency unit and after a preset time interval.

13. The communication device according to any one of claims 8-12, characterized in that, The baseband unit is configured to adjust the received signal power of the baseband unit based on the second power adjustment value, so that the adjusted received signal power of the baseband unit belongs to the target power range of the baseband unit; The baseband unit is configured to send a first control signal to the radio frequency unit, the first control signal being configured to indicate that the first power adjustment value of the radio frequency unit is not allowed to change.

14. The communication device according to claim 13, characterized in that, The target power range of the baseband unit is related to the linearity and / or noise figure of the baseband unit.

15. A communication device, characterized in that, The device includes a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices besides the communication device and transmit them to the processor, or to send signals from the processor to other communication devices besides the communication device, and the processor is used to implement the method as described in any one of claims 1-7 through logic circuits or execution code instructions.

16. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions, which, when executed by a communication device, implement the method as described in any one of claims 1-7.

17. A computer program product, characterized in that, Includes computer program code, which, when run on a computer, implements the method of any one of claims 1-7.