A calibration method and calibration device
By exchanging radio frequency signals and calibration parameters in radio frequency optical remote network equipment, the attenuation value is dynamically adjusted to achieve automatic power calibration, which solves the problem of low calibration accuracy, improves the consistency and efficiency of signal transmission, and is suitable for a variety of communication systems.
Patent Information
- Application Number
- CN202510696260.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2026-11-27
AI Technical Summary
Existing calibration methods for radio frequency optical remote network equipment suffer from low calibration accuracy, especially when the optical link loss is unknown or variable, leading to gain fluctuations and affecting the consistency of signal transmission.
By using RF signals and calibration parameters exchanged between devices, and utilizing storage and gain adjustment modules, the attenuation value is dynamically adjusted to achieve automatic power calibration. Combined with feedback links and on-chip systems, it adapts to changes in optical link loss and improves calibration accuracy.
It improves the calibration accuracy of radio frequency signal transmission, reduces resource consumption, enhances signal quality and transmission efficiency, and is suitable for the calibration needs of various communication systems.
Smart Images

Figure CN123184741A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optoelectronic technology, and in particular to a calibration method and calibration device. Background Technology
[0002] Network devices based on radio frequency (RF) optical remote extension can include master and slave devices. For example, the master device can be a baseband unit (BBU), and the slave device can be a radio unit (RU). In downlink scenarios, the BBU can emit radio frequency (RF) signals, which are transmitted via an optoelectronic link and then sent to the antenna unit (AU) via the RU. In uplink scenarios, the AU can send the received RF signals to the RU, which then transmits the RF signals back to the BBU via the optoelectronic link. Currently, independent uplink / downlink calibration methods and overall calibration methods are proposed to ensure the consistency of RF signal transmission.
[0003] However, calibration based on the above calibration method results in low calibration accuracy. Summary of the Invention
[0004] This application provides a calibration method and calibration apparatus to improve calibration accuracy.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] Firstly, a calibration method is provided. This method can be executed by a first device, or by a component of the first device, such as its processor, chip, or chip system, or by a logic module or software capable of implementing all or part of the first device. For ease of description, the following description assumes the method is executed by the first device. The first device is connected to a second device, and the first device includes a storage module, a gain adjustment module, and a power detection module. The method includes: receiving a first radio frequency signal from the second device; the storage module acquiring a first power through the power detection module, and adjusting the attenuation value of the gain adjustment module from the first value to a second value based on the first power and a first value. The first power is obtained by the power detection module detecting the first radio frequency signal, and the first radio frequency signal is transmitted to the power detection module through the gain adjustment module. The current attenuation value of the gain adjustment module is the first value, which is a calibration parameter used for power calibration. When the attenuation value of the gain adjustment module is the second value, the power of the first radio frequency signal is the calibration target power.
[0007] As described in the first aspect, the first device can receive a first radio frequency (RF) signal from the second device. The storage module of the first device detects the power of the first RF signal as a first power through the power detection module, and this first RF signal is transmitted to the power detection module through the gain adjustment module. Since the first value can be a calibration parameter used for power calibration, the storage module of the first device can adjust the attenuation value of the gain adjustment module from the first value to a second value based on the first power and the first value, so that the power of the first RF signal is the calibration target power. That is, when the attenuation value of the gain adjustment module is adjusted from the first value to the second value, the power of the first RF signal meets the calibration requirements, thus improving the calibration accuracy and achieving automatic power calibration.
[0008] In one possible implementation, before receiving the first radio frequency signal from the second device, the method in the first aspect further includes: the storage module receiving a first request message from the second device and sending a first response message to the second device. The first request message requests downlink power calibration; the first response message indicates that downlink power calibration has begun. That is, the first device can trigger downlink power calibration only after receiving the first request message from the second device, thus enabling on-demand downlink power calibration and reducing the resource overhead of the first device. Furthermore, the second device can trigger the sending of a radio frequency signal, such as the first radio frequency signal, to the first device only after receiving the first response message from the first device, to avoid situations where the second device sends a radio frequency signal to the first device before the first device has begun downlink power calibration, thereby improving the efficiency of downlink power calibration and reducing the resource overhead of the second device.
[0009] In one possible implementation, before receiving the first radio frequency signal from the second device, the method in the first aspect further includes: receiving the second radio frequency signal from the second device; the storage module acquires the second power, and adjusts the attenuation value of the gain adjustment module to a first value based on the calibration target power and the second power. Wherein, the second power is the output power of the second radio frequency signal after passing through the gain adjustment module and the power detection module; when the attenuation value of the gain adjustment module is the first value, the value of the power detection module is the calibration target power. That is, the first device can measure the power of the received second radio frequency signal, and acquire calibration parameters for power calibration, i.e., the first value, based on the measured second power and the (preset or predefined) calibration target power. The first value can be used by the first device to subsequently calibrate the downlink power so that the power of the calibrated first radio frequency signal meets the calibration requirements.
[0010] In one possible implementation, the second device includes a system-on-a-chip (SoC), and the first device includes a feedback link. The method described in the first aspect further includes: a storage module setting the attenuation value of the gain adjustment module to a first value; receiving a third radio frequency (RF) signal from the SoC; the storage module acquiring a fourth power, and acquiring a first gain based on the third power and the fourth power. The third RF signal is generated by the SoC, and the power at which the SoC transmits the third RF signal is the third power; the fourth power is the output power of the third RF signal after passing through the gain adjustment module with the attenuation value of the first value and the feedback link, and the feedback link is used to return the third RF signal to the second device; the first gain is related to the difference between the third power and the fourth power. That is, the first gain can be used to characterize the difference between the third power of the SoC transmitting the third RF signal and the output power of the third RF signal after passing through the gain adjustment module with the attenuation value of the first value and the feedback link. This first gain includes the gain of the link between the first device and the second device, such as an optical link (e.g., fiber optic cable). Therefore, it can be applied to any possible scenario with optical link loss, to avoid the reduction in calibration accuracy due to gain fluctuations caused by the optical link, thereby improving calibration accuracy.
[0011] In one possible implementation, the method in the first aspect further includes: a storage module acquiring a second gain. The second gain is the receive gain of the first device. This second gain can be used as calibration information or calibration parameters, and can be used by the second device to subsequently calibrate its uplink gain.
[0012] In one possible implementation, the method described in the first aspect further includes: the storage module sending a first gain and a second gain to the second device. That is, the storage module can provide the stored calibration information or calibration parameters, namely the first gain and the second gain, to the second device for subsequent uplink gain calibration, thereby improving the accuracy of the uplink gain calibration.
[0013] In one possible implementation, the second device is the master device, and the second device is connected to at least one slave device, the at least one slave device including the first device. That is, the calibration method of this application embodiment can be applied to scenarios where the master device and slave devices are directly connected (one master device is directly connected to one slave device), one-to-two (one master device is connected to two slave devices), one-to-many (one master device is connected to multiple (more than 2) slave devices), etc. (such as connected via optical fiber), so as to avoid the situation where the calibration accuracy is reduced due to gain fluctuation caused by the optical link due to unknown optical link loss, thereby improving the calibration accuracy.
[0014] In one possible implementation, the first device is a radio frequency unit (RU), and the second device is a baseband unit (BBU); the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC). That is, existing devices or components can be reused to reduce the complexity of the implementation, or other existing devices or components can be used to meet the needs of different scenarios, or new devices or components can be used to decouple from existing devices or components; no limitation is imposed.
[0015] Secondly, a calibration method is provided. This method can be executed by a second device, or by a component of the second device, such as its processor, chip, or chip system, or by a logic module or software capable of implementing all or part of the second device. For ease of description, the following description uses the execution of the method by a second device as an example. The second device is connected to a first device, which includes a storage module, a gain adjustment module, and a power detection module. The method includes: generating a first radio frequency (RF) signal and sending the first RF signal to the first device. The first RF signal is transmitted to the power detection module through the gain adjustment module. The first power is obtained by the power detection module detecting the first RF signal. The current attenuation value of the gain adjustment module is a first value, which is a calibration parameter used for power calibration. The first power and the first value are used by the storage module to adjust the attenuation value of the gain adjustment module from the first value to a second value. When the attenuation value of the gain adjustment module is the second value, the power of the first RF signal is the calibration target power.
[0016] In one possible implementation, before sending the first radio frequency signal to the first device, the method in the second aspect further includes: sending a first request message to the storage module and receiving a first response message from the storage module. The first request message is used to request downlink power calibration; the first response message is used to indicate that downlink power calibration has begun.
[0017] In one possible implementation, before sending the first radio frequency signal to the first device, the method of the second aspect further includes: generating a second radio frequency signal and sending the second radio frequency signal to the first device. The second radio frequency signal is used by the first device to determine a first value.
[0018] In one possible implementation, the second device includes a system-on-a-chip (SoC), and the first device further includes a feedback link. The method in the second aspect further includes: the SoC generating a third radio frequency (RF) signal and transmitting the third RF signal to the first device. The power of the SoC transmitting the third RF signal is a third power; the third RF signal is used by the first device to determine a first gain, the first gain being related to the difference between the third power and a fourth power; the fourth power is the output power of the third RF signal after passing through a gain adjustment module with an attenuation value of a first value and the feedback link; the feedback link is used to return the third RF signal to the second device.
[0019] In one possible implementation, the method in the second aspect further includes: receiving a first gain and a second gain from the storage module. The second gain is the receive gain of the first device.
[0020] In one possible implementation, the method in the second aspect further includes: receiving a third radio frequency signal from the first device and acquiring a fifth power; acquiring a third gain based on the third power and the fifth power. The fifth power is the power of the third radio frequency signal received by the on-chip system; the third gain is related to the difference between the third power and the fifth power. That is, the third gain can characterize the difference between the third power of the third radio frequency signal transmitted by the on-chip system and the fifth power of the third radio frequency signal received by the on-chip system (based on feedback link return). In other words, the third gain can characterize the calibration information of the entire link between the first and second devices. Therefore, it can be applied to any possible optical link loss scenario, avoiding the reduction in calibration accuracy caused by gain fluctuations in the optical link, thereby improving calibration accuracy.
[0021] In one possible implementation, the method in the second aspect further includes: determining a fourth gain based on a first gain, a second gain, and a third gain, and performing gain compensation on the received power of the first device based on the fourth gain. Here, the fourth gain is equal to the sum of the first parameter and the second gain, and the first parameter is the difference between the third gain and the first gain. This approach can be applied to any scenario with possible optical link loss, avoiding the reduction in calibration accuracy caused by gain fluctuations in the optical link, thereby improving calibration accuracy. For example, the second device can accurately calculate the signal strength received at the antenna end based on the fourth gain, thus ensuring signal quality.
[0022] In one possible implementation, the second device is the master device, and the second device is connected to at least one slave device, the at least one slave device including the first device.
[0023] In one possible implementation, the first device is a radio frequency unit (RU), the second device is a baseband unit (BBU), the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC).
[0024] Furthermore, other technical effects of the method described in the second aspect can be referred to the technical effects of the method described in the first aspect, and will not be repeated here.
[0025] Thirdly, a first device is provided, connected to a second device. The first device includes a storage module, a gain adjustment module, and a power detection module. The first device receives a first radio frequency (RF) signal from the second device. The storage module acquires a first power through the power detection module and adjusts the attenuation value of the gain adjustment module from the first value to a second value based on the first power and a first value. The first power is obtained by the power detection module detecting the first RF signal. The first RF signal is transmitted to the power detection module through the gain adjustment module. The current attenuation value of the gain adjustment module is the first value, which is a calibration parameter used for power calibration. When the attenuation value of the gain adjustment module is the second value, the power of the first RF signal is the calibration target power.
[0026] In one possible implementation, the storage module is further configured to receive a first request message from the second device and send a first response message to the second device. The first request message requests downlink power calibration; the first response message indicates that downlink power calibration has begun.
[0027] In one possible implementation, the first device is further configured to receive a second radio frequency signal from the second device; the storage module is further configured to acquire a second power and adjust the attenuation value of the gain adjustment module to a first value based on the calibration target power and the second power. Here, the second power is the output power of the second radio frequency signal after passing through the gain adjustment module and the power detection module; when the attenuation value of the gain adjustment module is the first value, the value of the power detection module is the calibration target power.
[0028] In one possible implementation, the second device includes a system-on-a-chip (SoC), and the first device further includes a feedback link. The storage module is also used to set the attenuation value of the gain adjustment module to a first value. The first device is also used to receive a third radio frequency (RF) signal from the SoC. The storage module is also used to acquire a fourth power and, based on the third power and the fourth power, acquire a first gain. The third RF signal is generated by the SoC, and the power at which the SoC transmits the third RF signal is the third power. The fourth power is the output power of the third RF signal after gain adjustment with an attenuation value of the first value and the feedback link. The feedback link is used to return the third RF signal to the second device. The first gain is related to the difference between the third power and the fourth power.
[0029] In one possible implementation, the storage module is also used to acquire a second gain, which is the receive gain of the first device.
[0030] In one possible implementation, the storage module is also used to send the first gain and the second gain to the second device.
[0031] In one possible implementation, the second device is the master device, and the second device is connected to at least one slave device, the at least one slave device including the first device.
[0032] In one possible implementation, the first device is a radio frequency unit (RU), the second device is a baseband unit (BBU), the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC).
[0033] The technical effects of the first device described in the third aspect can be referred to the technical effects of the method described in the first aspect, and will not be repeated here.
[0034] Fourthly, a second device is provided, connected to a first device. The first device includes a storage module, a gain adjustment module, and a power detection module. The second device generates a first radio frequency (RF) signal and transmits it to the first device. The first RF signal is transmitted to the power detection module via the gain adjustment module. The first power is obtained by the power detection module from detecting the first RF signal. The current attenuation value of the gain adjustment module is a first value, which is a calibration parameter used for power calibration. The first power and the first value are used by the storage module to adjust the attenuation value of the gain adjustment module from the first value to a second value. When the attenuation value of the gain adjustment module is the second value, the power of the first RF signal is the calibration target power.
[0035] In one possible implementation, the second device is further configured to send a first request message to the storage module and receive a first response message from the storage module. The first request message requests downlink power calibration; the first response message indicates that downlink power calibration has begun.
[0036] In one possible implementation, the second device is further configured to generate a second radio frequency signal and send the second radio frequency signal to the first device. The second radio frequency signal is used by the first device to determine a first value.
[0037] In one possible implementation, the second device includes a system-on-a-chip (SoC), and the first device further includes a feedback link. The SoC generates a third radio frequency (RF) signal and sends the third RF signal to the first device. The power of the SoC sending the third RF signal is a third power. The third RF signal is used by the second device to determine a first gain, which is related to the difference between the third power and a fourth power. The fourth power is the output power of the third RF signal after passing through a gain adjustment module with an attenuation value of a first value and the feedback link. The feedback link is used to return the third RF signal to the second device.
[0038] In one possible implementation, the second device is further configured to receive a first gain and a second gain from the storage module. The second gain is the receive gain of the first device.
[0039] In one possible implementation, the second device is further configured to receive a third radio frequency signal from the first device; the second device is also configured to acquire a fifth power and acquire a third gain based on the third power and the fifth power. Here, the fifth power is the power of the third radio frequency signal received by the on-chip system; the third gain is related to the difference between the third power and the fifth power.
[0040] In one possible implementation, the second device is further configured to determine a fourth gain based on the first gain, the second gain, and the third gain, and to perform gain compensation on the received power of the first device based on the fourth gain. The fourth gain is equal to the sum of the first parameter and the second gain, and the first parameter is the difference between the third gain and the first gain.
[0041] In one possible implementation, the second device is the master device, and the second device is connected to at least one slave device, the at least one slave device including the first device.
[0042] In one possible implementation, the first device is a radio frequency unit (RU), the second device is a baseband unit (BBU), the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC).
[0043] The technical effects of the first device described in the fourth aspect can be referred to the technical effects of the methods described in the first and second aspects, and will not be repeated here.
[0044] Fifthly, a calibration apparatus is provided, comprising a first device and a second device connected to the second device. The first device includes a storage module, a gain adjustment module, and a power detection module. The second device generates a first radio frequency (RF) signal and transmits the first RF signal to the first device. The storage module acquires a first power through the power detection module and adjusts the attenuation value of the gain adjustment module from the first value to a second value based on the first power and a first value. The first power is obtained by the power detection module detecting the first RF signal. The first RF signal is transmitted to the power detection module through the gain adjustment module. The current attenuation value of the gain adjustment module is the first value, which is a calibration parameter used for power calibration. When the attenuation value of the gain adjustment module is the second value, the power of the first RF signal is the target calibration power.
[0045] In one possible implementation, the second device is further configured to send a first request message to the storage module; the storage module is further configured to send a first response message to the second device. The first request message requests downlink power calibration; the first response message indicates that downlink power calibration has begun.
[0046] In one possible implementation, the second device is further configured to generate a second radio frequency signal and send the second radio frequency signal to the first device; the storage module is further configured to acquire a second power and adjust the attenuation value of the gain adjustment module to a first value based on the calibration target power and the second power. Here, the second power is the output power of the second radio frequency signal after passing through the gain adjustment module and the power detection module; when the attenuation value of the gain adjustment module is the first value, the value of the power detection module is the calibration target power.
[0047] In one possible implementation, the second device includes a system-on-a-chip (SoC), and the first device includes a feedback link. The storage module is further configured to set the attenuation value of the gain adjustment module to a first value. The SoC generates a third radio frequency (RF) signal and transmits it to the first device. The storage module also acquires a fourth power and, based on the third and fourth power, obtains a first gain. The power of the SoC transmitting the third RF signal is the third power; the fourth power is the output power of the third RF signal after passing through the gain adjustment module with the attenuation value of the first value and the feedback link. The feedback link is used to return the third RF signal to the second device. The first gain is related to the difference between the third and fourth power.
[0048] In one possible implementation, the storage module is also used to acquire a second gain, which is the receive gain of the first device.
[0049] In one possible implementation, the storage module is further configured to send a first gain and a second gain to the second device; the second device is further configured to receive the first gain and the second gain from the storage module.
[0050] In one possible implementation, the second device is further configured to receive a third radio frequency signal from the first device and acquire a fifth power; the second device is further configured to acquire a third gain based on the third power and the fifth power. Here, the fifth power is the power of the third radio frequency signal received by the on-chip system; the third gain is related to the difference between the third power and the fifth power.
[0051] In one possible implementation, the second device is further configured to determine a fourth gain based on the first gain, the second gain, and the third gain, and to perform gain compensation on the received power of the first device based on the fourth gain. The fourth gain is equal to the sum of the first parameter and the second gain, and the first parameter is the difference between the third gain and the first gain.
[0052] In one possible implementation, the second device is the master device, and the second device is connected to at least one slave device, the at least one slave device including the first device.
[0053] In one possible implementation, the first device is a radio frequency unit (RU), the second device is a baseband unit (BBU), the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC).
[0054] The technical effects of the calibration device described in the fifth aspect can be referred to the technical effects of the methods described in the first and second aspects, and will not be repeated here.
[0055] Sixthly, a communication system is provided. The communication system includes: the first device described in the first aspect and the second device described in the second aspect.
[0056] In a seventh aspect, a communication chip is provided, wherein instructions are stored that, when the communication chip is operated on a communication device, cause the method described in the first or second aspect to be implemented.
[0057] Eighthly, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer causes the computer to perform the method described in the first or second aspect.
[0058] Ninth aspect, a computer program product is provided, including a computer program or instructions that, when run on a computer, cause the computer to perform the method described in the first aspect or the second aspect. Attached Figure Description
[0059] Figure 1 A schematic diagram of a basic transmission unit of ROF;
[0060] Figure 2 This is a schematic diagram of the architecture of a communication system based on digital optical remote extension technology.
[0061] Figure 3 This is a schematic diagram of the architecture of a communication system based on ROF (Remote Field Communication) technology.
[0062] Figure 4 This is a schematic diagram of a system architecture for a ROF-based remote wireless network device.
[0063] Figure 5 This application provides a schematic diagram of the architecture of a communication system.
[0064] Figure 6 A schematic diagram of the architecture of a second device provided in an embodiment of this application;
[0065] Figure 7 A schematic diagram of the architecture of a first device provided in an embodiment of this application;
[0066] Figure 8 This is a schematic diagram of the architecture of a calibration device provided in an embodiment of this application;
[0067] Figure 9 This is a schematic diagram of the architecture of a downlink power calibration device provided in an embodiment of this application;
[0068] Figure 10 A schematic diagram of the architecture of an uplink gain calibration device provided in this application embodiment;
[0069] Figure 11 A schematic flowchart of a calibration method provided in an embodiment of this application;
[0070] Figure 12 This is a schematic diagram of the link of a calibration device provided in an embodiment of this application. Detailed Implementation
[0071] For ease of understanding, the technical terms involved in the embodiments of this application will be introduced below.
[0072] 1. Radio over fiber (ROF)
[0073] ROF (Redirect Optical Frame) technology is a technique for transmitting radio frequency (RF) signals via optical carriers, or in other words, for transmitting analog RF signals modulated onto optical carriers. It is widely used in fronthaul, millimeter-wave communication, distributed antenna systems, and home networks such as fiber-to-the-room (FTTR) in 5G communication systems. It's important to understand that ROF differs from digital light, which refers to digitally modulated optical signals, often representing information in binary (e.g., 0, 1).
[0074] For example, such as Figure 1 As shown, the basic transmission unit of ROF can include unit #1 and unit #2, which are connected via an RF optical link. The RF signal can be input to unit #1 through an RF connector, such as a Sub-Miniature Version A (SMA). This RF signal passes through a DC blocker (also called a DC block capacitor) and a photodiode in unit #1, and then outputs through an optical fiber connector on the unit #1 side, such as a ferrule contactor (also called a metal sleeve, FC) or an angled physical contact (also called an angled physical contact, APC). The signal output by the FC or APC is the optical signal corresponding to the RF signal. The optical signal output from unit #1 is input to unit #2 through the RF optical link and the FC or APC on the unit #2 side. This optical signal passes through a photodiode, amplifier, and DC block in unit #2, and then outputs through the SMA on the unit #2 side. The signal output by the SMA is the corresponding RF signal. It can be understood that the FC is fixed by a spiral groove, and the APC refers to the optical fiber cross-section being ground at an 8° angle.
[0075] It is understandable that the above Figure 1 For illustrative purposes only, the transmission unit of ROF can also be any other possible structure, without limitation.
[0076] In radio frequency communication scenarios such as wireless communication and wireless fidelity (WiFi), RoF baseband pooling technology effectively reduces the number of system-on-chip (SoC) chips in the device, thereby reducing costs and improving system integration.
[0077] For example, Figure 2 This is a schematic diagram of the architecture of a communication system based on digital optical remote extension technology. Figure 2 It can correspond to the transmission methods of the traditional FTTR architecture, such as Figure 2 As shown, the communication system may include a master device and slave devices. The master device may include a System-on-a-Chip (SoC), radio frequency (RF) circuitry, and an optical module (for converting RF signals into optical signals). The master device can be connected to at least one slave device via an RF optical link. Taking the connection of the master device with two slave devices as an example, the master device can be connected to the two slave devices through optical beam splitting. Each slave device may include an optical module (for converting optical signals into RF signals), an SoC, RF circuitry, and an antenna.
[0078] Compared to Figure 2 ,like Figure 3 As shown, Figure 3 By employing RoF baseband pooling technology, the SoC in the slave device is centralized into the master device. This pooling architecture improves system efficiency, but it increases the link distance between the SoC's transmitted and received signals and the antenna port, involving more optoelectronic devices. The consistency between different batches of components is a common engineering problem. Even components manufactured on the same production line may have slight differences in their electrical characteristics, which directly affect the consistency of signal transmission. Simultaneously, variations in frequency response are also a significant factor. As the operating frequency changes, the circuit gain (G) also changes, further exacerbating the uncertainty in signal transmission.
[0079] To overcome the aforementioned problems, downlink power calibration and uplink gain calibration become crucial steps. For downlink power calibration, precisely controlling the transmission power from the transmitter to the antenna port ensures that the signal (such as the downlink signal) has sufficient strength when it reaches the terminal device, while preventing excessively strong signals from interfering with other communication devices. For uplink gain calibration, the system can accurately determine the power of the received signal, ensuring that the signal reaches the receiver in optimal condition during transmission, thus enhancing the user experience.
[0080] The following section uses ROF-based remote wireless network devices, such as base stations, as an example to provide a detailed introduction to existing downlink power calibration and uplink gain calibration.
[0081] For example, such as Figure 4As shown, a ROF-based remote wireless base station can include a master device and a slave device. Taking a direct connection between a master device and a slave device as an example, the master device and the slave device are connected via an RF optical link (such as optical fiber). The master device can include a baseband unit (BBU) and an optical module (used to convert radio frequency signals into optical signals); the slave device can include an optical module (used to convert optical signals into radio frequency signals) and a radio unit (RU), which can be connected to an antenna unit (AU). For ease of understanding, the link consisting of the optical module of the master device, the optical module of the slave device, and the RF optical link is called an optoelectronic link.
[0082] In downlink scenarios, the BBU can generate and emit RF signals, which are transmitted via an optoelectronic link and then sent to the AU via the RU. In uplink scenarios, the AU can send the received RF signal to the RU, which then transmits the RF signal to the BBU via an optoelectronic link. It is understandable that in remotely connected (ROF) slave units, due to the lack of traditionally necessary digital chips (such as SoCs) for calibration, slave devices cannot independently complete self-closed-loop calibration after going online and must rely on the master device for calibration. Currently, independent (or separate) uplink and downlink calibration methods and overall calibration methods have been proposed. The following descriptions use Scheme 1 and Scheme 2 as examples.
[0083] Option 1: Independent calibration method for uplink and downlink.
[0084] (1) Downlink power calibration.
[0085] During downlink power calibration, relevant instruments or meters, such as spectrum analyzers or power meters, can calibrate the following separately: the power P0 from the BBU to the optical module (denoted as the first calibration information), the gain G1 of the optoelectronic link (denoted as the second calibration information), and the gain G2 of the RU downlink RF link (denoted as the third calibration information). This calibration information, namely P0, G1, and G2, can be stored in the storage modules of the BBU and RU. The BBU can read the stored calibration information and, based on this information, the optical module's specifications, and the optical link gain (ignoring fiber loss and converting to optical path gain), adjust P0 to make the RU's output power P1 (P1 = P0 + G1 + G2), where P1 is the power value required to achieve the calibration power.
[0086] (2) Uplink gain calibration.
[0087] During uplink gain calibration, relevant instruments or meters, such as spectrum analyzers or power meters, can measure the following: the uplink RF link gain G3 of the RU (referred to as the fourth calibration information), the optoelectronic link gain G4 (referred to as the fifth calibration information above), and the uplink RF link gain G5 of the BBU (referred to as the sixth calibration information). These calibration information, G3, G4, and G5, can be stored in the storage modules of the BBU and RU. The BBU can read the stored calibration information and calculate the overall uplink gain G6 = G3 + G4 + G5. Based on G6 and the received signal strength (such as the power of the received signal), the BBU can accurately calculate the signal strength received by the antenna (i.e., AU), thereby adjusting the analog-to-digital converter (ADC) level to ensure signal quality.
[0088] It is understandable that the specific implementation of downlink power calibration and uplink gain calibration can refer to existing technologies, and will not be elaborated here.
[0089] Option 2: Overall calibration method.
[0090] In the above, as Figure 4 Once the overall link setup is complete, the received power can be measured at the RF interface between the RU and AU using relevant instruments or meters, such as spectrum analyzers or power meters. The BBU can adjust the transmitted signal at the BBU end to ensure that the transmitted power at the AU end meets the calibration requirements, and the calibration information during this calibration process is stored in the BBU's storage module. The standard signal generated by the signal source is input to the RU, and the uplink gain is calculated by the power received at the BBU side. The calibration information during this calibration process is stored in the BBU's storage module to complete the calibration.
[0091] It is understandable that actual calibration involves storing calibration information for different channel frequency bands, different temperatures, and other factors to ensure the equipment's coverage across various usage scenarios. The specific implementation of the overall calibration method can be found in existing technologies and will not be elaborated upon here.
[0092] However, calibration based on the above calibration method results in low calibration accuracy.
[0093] As can be understood, based on the above introduction, in the slave unit of RF optical remote sensing, due to the lack of digital chips (such as SoC) necessary for traditional calibration, the slave device cannot independently complete the self-closed-loop calibration after going online and needs to rely on the master device to complete the calibration. For example, in the calibration process of the above scheme 1, the gain fluctuation caused by fiber loss is ignored, and it is only applicable to scenarios where the optical path (such as the above RF optical link) loss is fixed. Since the master device and slave device are randomly paired during installation, the gain fluctuation problem caused by different fiber lengths will occur after assembly due to unknown optical path loss. For example, the master device and slave device may have direct connection (one master device directly connected to one slave device), one-to-two (one master device connected to two slave devices), one-to-many (one master device connected to multiple (more than 2) slave devices) and other fiber connection methods. However, the gain fluctuation caused by the optical path will lead to a decrease in calibration accuracy. In addition, in addition to the calibration parameters itself, the factory parameters of the optical module (such as slope efficiency, responsivity, etc.) need to be additionally entered into the storage modules of BBU and RU when assembling the optical module, which will increase the assembly complexity.
[0094] The calibration process in Scheme 2 above needs to be carried out after the main and slave devices are assembled. It is usually carried out after the actual network environment is built. The calibration process requires complex instruments such as spectrum analyzers (or power meters) and signal sources, which makes operation and maintenance difficult. Furthermore, after calibration, discrete components cannot be flexibly replaced. Therefore, the overall calibration method is difficult to implement in the current network environment due to the lack of calibration equipment.
[0095] In summary, in view of the above-mentioned technical problems, the embodiments of this application propose the following technical solutions to improve calibration accuracy.
[0096] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0097] The technical solutions of this application embodiment can be applied to various communication systems, such as Bluetooth systems, WiFi systems, long-range radio (LoRa), vehicle-to-everything (V2X) communication systems, device-to-device (D2D) communication systems, machine-to-machine (M2M) communication systems, machine-type communication (MTC), IoT communication systems, fourth-generation (4G) communication systems such as Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD) systems, Worldwide Interoperability for Microwave Access (WiMAX) communication systems, fifth-generation (5G) communication systems such as New Radio (NR) systems, inter-satellite communication, satellite communication and other NTN systems, and future communication systems.
[0098] In a communication system, a device can send signals to or receive signals from another device. These signals can include information, signaling, or data. The term "device" can also be replaced with entities, network entities, communication equipment, communication modules, nodes, communication nodes, etc.
[0099] This application will present various aspects, embodiments, or features relating to systems that may include multiple devices, components, modules, etc. It should be understood and appreciated that individual systems may include additional devices, components, modules, etc., and / or may not include all the devices, components, modules, etc. discussed in conjunction with the accompanying drawings. Furthermore, combinations of these approaches are also possible.
[0100] In addition, to better understand the embodiments of this application, the following points are made before introducing the embodiments of this application.
[0101] In the embodiments of this application, the words "exemplary," "for example," etc., are used to indicate that they are examples, illustrations, or descriptions. Any embodiment or design that is described as "exemplary" in this application should not be construed as being more preferred or advantageous than other embodiments or design options. Specifically, the use of the term "exemplary" is intended to present the concept in a concrete manner.
[0102] In the embodiments of this application, the terms "information," "signal," "message," "channel," and "signaling" may sometimes be used interchangeably. It should be noted that, without emphasizing their distinction, their intended meanings are consistent. Similarly, "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing their distinction, their intended meanings are consistent. Furthermore, the " / " mentioned in this application can be used to indicate an "or" relationship. It is understood that in this application, "instruction" can include direct instruction, indirect instruction, explicit instruction, and implicit instruction. When describing an instruction information used to indicate A, it can be understood that the instruction information carries A, directly indicates A, or indirectly indicates A.
[0103] In this embodiment, the information indicated by the instruction information is called the information to be instructed. In specific implementations, there are many ways to indicate the information to be instructed, such as, but not limited to, directly indicating the information to be instructed, such as the information to be instructed itself or its index; or indirectly indicating the information to be instructed by indicating other information, wherein there is an association between the other information and the information to be instructed. Alternatively, only a part of the information to be instructed may be indicated, while the other parts are known or pre-agreed upon. For example, the instruction of specific information can be achieved by using a pre-agreed (e.g., protocol-defined) arrangement of various pieces of information, thereby reducing instruction overhead to some extent.
[0104] Furthermore, the specific indication method can also be any existing indication method, such as, but not limited to, the above-mentioned indication methods and their various combinations. Specific details of various indication methods can be found in existing technologies, and will not be repeated here. As described above, for example, when multiple pieces of information of the same type need to be indicated, the indication methods for different pieces of information may differ. In the specific implementation process, the required indication method can be selected according to specific needs. This application embodiment does not limit the selected indication method; therefore, the indication methods involved in this application embodiment should be understood to cover various methods that enable the party to be indicated to obtain the information to be indicated.
[0105] The information to be instructed can be sent as a whole or divided into multiple sub-information messages, and the sending period and / or timing of these sub-information messages can be the same or different. This application does not limit the specific sending method. The sending period and / or timing of these sub-information messages can be predefined, for example, according to a protocol, or configured by the transmitting device by sending configuration to the receiving device.
[0106] The terms "first," "second," and 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. For example, they distinguish different instruction information. Similarly, "first network region" and "second network region" are simply used to distinguish different regions and do not limit their order. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., are not necessarily different.
[0107] "Predefined" or "pre-configured" can be achieved by pre-saving corresponding codes, tables, or other means of indicating relevant information in the device (e.g., including terminal devices and network devices). This application does not limit the specific implementation method. "Saving" can refer to saving in one or more memories. These memories can be separate installations or integrated into the encoder, decoder, processor, or communication device. Alternatively, some memories can be separate installations, while others are integrated into the decoder, processor, or communication device. The type of memory can be any form of storage medium, and this application does not limit this.
[0108] The terms "coupling" and "connection" used in the embodiments of this application should be interpreted broadly. For example, they can refer to a physical direct connection or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.
[0109] The “protocol” mentioned in the embodiments of this application may refer to standard protocols in the field of communication, such as LTE protocol, NR protocol and related protocols applied to future communication systems. The embodiments of this application do not limit this.
[0110] In the embodiments of this application, descriptions such as "when," "under the circumstances," "if," and "if" all refer to the fact that the device (e.g., a terminal device or a network device) will make corresponding processing under certain objective circumstances. They are not time limits, nor do they require the device (e.g., a terminal device or a network device) to make a judgment action when implementing it, nor do they imply any other limitations.
[0111] In the embodiments of this application, "send" and "receive" indicate the direction of signal transmission. For example, "send information to XX" can be understood as the destination of the information being XX, which may include direct transmission via the air interface or indirect transmission by other units or modules via the air interface. "Receive information from YY" can be understood as the source of the information being YY, which may include direct reception from YY via the air interface or indirect reception from YY by other units or modules via the air interface. "Send" can also be understood as the "output" of the chip interface, and "receive" can also be understood as the "input" of the chip interface. In other words, sending and receiving can occur between devices, such as between network devices and terminal devices, or within a device, such as between components, modules, chips, software modules, or hardware modules within the device via a bus, wiring, or interface.
[0112] In the embodiments of this application, "receive" can be replaced with "monitor", "detect", "acquire", "blind detection", or "obtain", etc., without limitation.
[0113] The network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0114] To facilitate understanding of the embodiments of this application, let's first take... Figure 5 The communication system shown in the figure is used as an example to describe in detail the communication system applicable to the embodiments of this application.
[0115] like Figure 5 As shown, the communication system mainly includes: a first device and a second device.
[0116] The first and second devices can be applied to communication systems based on radio frequency optical remote sensing. The second device can act as a master device and can be connected to at least one slave device. The at least one slave device can include the first device, meaning the first device can act as a slave device. As described above, the system chip in the slave device is integrated into the master device. Therefore, the slave device lacks the necessary digital chip for calibration and needs to rely on the master device to complete the calibration. In other words, the master device can be used to control the slave device to perform the corresponding calibration.
[0117] The first device and the second device are connected. For example, the first device and the second device can be connected via a radio frequency optical link, such as an optical fiber, for transmitting radio frequency signals. The second device can be connected to at least one slave device, which may include the first device. That is, the second device can be directly connected to the first device (i.e., the second device is connected to one slave device, which is the first device); or, the second device can be connected to the first device via a one-to-two split (i.e., the second device is connected to at least two slave devices, which include the first device) or a one-to-many split (i.e., the second device is connected to multiple (more than 2) slave devices, which include the first device), etc. The embodiments of this application do not limit this.
[0118] Based on the above description, for example, the second device can be a BBU and the first device can be a RU. The BBU integrates a digital chip, such as a SoC, necessary for calibration, to control the slave device to perform the corresponding calibration. That is, existing devices or components can be reused to reduce the implementation complexity of the solution, or other existing devices or components can be used to meet the needs of different scenarios, or new devices or components can be used to decouple from existing devices or components, without limitation.
[0119] It is understandable that the second device can connect to the antenna, such as the AU. For a detailed introduction to the BBU, RU, and AU, please refer to existing technologies, which will not be elaborated here.
[0120] In this communication system, a first device can receive a first radio frequency (RF) signal from a second device. The storage module of the first device detects the power of the first RF signal as a first power through a power detection module. This first RF signal is transmitted to the power detection module via a gain adjustment module. Since the first value can be a calibration parameter for power calibration, the storage module of the first device can adjust the attenuation value of the gain adjustment module from the first value to a second value based on the first power and the first value, so that the power of the first RF signal is the calibration target power. That is, when the attenuation value of the gain adjustment module is adjusted from the first value to the second value, the power of the first RF signal meets the calibration requirements. This improves the calibration accuracy and enables automatic power calibration.
[0121] It is understood that the above are merely examples, and the second device and the first device can be any other possible device or unit without limitation.
[0122] The following is combined Figure 6 and Figure 7 The second and first devices will be described in detail respectively.
[0123] For example, such as Figure 6As shown, the second device mainly includes: a System-on-a-Chip (SoC), a radio frequency integrated circuit (RFIC), an amplifier, and a first optical module (used to convert radio frequency signals into optical signals). It can be understood that the second device may also include other modules, such as an RF port, etc. Figure 6 (Not shown), without limitation.
[0124] Among them, the SoC can be used to generate calibration signals (such as RF signals), store calibration information, and initiate calibration commands, without limitation; the RFIC can be used to process RF signals in an integrated and compact form; the amplifier can be used to amplify the power or gain of the RF signal; the first optical module can be used to convert the RF signal into an optical signal; and the RF port can be used to transmit RF signals.
[0125] like Figure 7 As shown, the first device mainly includes: a second optical module, a storage module, a gain adjustment module, an amplifier, a feedback link (or feedback branch), and a power detection module. It can be understood that the first device may also include other modules, such as an RF port, a combiner, etc. Figure 7 (Not shown), without limitation.
[0126] The system includes: a second optical module for converting optical signals into radio frequency (RF) signals; a storage module for storing calibration information (e.g., a microcontroller unit (MCU) or other storage medium); a gain adjustment module for adjusting or controlling the power or gain of the RF signal (e.g., an attenuator (ATT) or amplifier with gain control); an amplifier for amplifying the power or gain of the RF signal; a feedback link for forming a loop to return signals received from the master device to the master device (e.g., a routing coupler); a power detection module for feeding back the signal power (e.g., a detector or ADC); an RF port for transmitting RF signals; and a combiner for merging two or more signals.
[0127] It is understandable that the above description of the storage module, gain adjustment module, and power detection module reuses existing equipment or devices to reduce the implementation complexity of the solution. Alternatively, other existing equipment or devices can be used to meet the needs of different scenarios, or new equipment or devices can be used to decouple from existing equipment or devices. No limitation is made.
[0128] As described above, the system chip in the slave device is integrated into the master device. The slave device relies on the master device to complete calibration; that is, the master device and the slave device jointly complete the calibration. The master device and the slave device can form a calibration device. For example, such as... Figure 8 As shown, the calibration device may include the first and second devices described above. This calibration device can be used for downlink power calibration and uplink gain calibration, which will be described in detail below.
[0129] For example, such as Figure 9 As shown, a first device (slave device) and a second device (master device) are connected, such as by an RF optical link. The SoC of the second device, the storage module of the first device, the gain adjustment module of the first device, the power detection module of the first device, and the communication link connecting the SoC of the second device and the storage module of the first device can form a downlink power calibration device.
[0130] like Figure 10 As shown, the first device and the second device are connected, such as via an RF optical link. The SoC of the second device, the storage module of the first device, the feedback link of the first device, and the communication link connecting the SoC of the second device and the storage module of the first device can form an uplink gain calibration device.
[0131] It is understandable that the above Figures 5-10 This is a simplified illustration for ease of understanding only; other devices, modules, or chips may also be included. Figures 5-10 It was not drawn.
[0132] It is understood that the names of the first device, the second device, the optical module (such as the first optical module and the second optical module), the storage module, the gain adjustment module, the feedback link, and the power detection module mentioned above are merely examples and can be replaced with any other possible names without limitation.
[0133] For ease of understanding, the following will combine... Figures 11-12 The calibration method provided in the embodiments of this application will be described in detail.
[0134] For example, Figure 11 This is a schematic flowchart illustrating the calibration method provided in an embodiment of this application. The method can be applied to the aforementioned communication system and involves interaction between a first device and a second device. The first device can be one of the aforementioned... Figure 7 The first device shown, the second device can be the one described above. Figure 6 The second device is shown, and the first device is connected to the second device. For example, the first device and the second device are connected via an RF optical link for the following description.
[0135] like Figure 11As shown, the calibration method can be described as follows:
[0136] S1101, the second device generates the first radio frequency signal.
[0137] The first radio frequency (RF) signal can be used by the first device to perform downlink power calibration; that is, the first RF signal can be a calibration signal. For example, the second device may include a system-on-a-chip (SoC), which can be used to generate the first RF signal.
[0138] It is understandable that the specific implementation of the SoC generating the first radio frequency signal can be referred to, and will not be elaborated here.
[0139] S1102, the second device sends a first radio frequency signal to the first device. Correspondingly, the first device receives the first radio frequency signal from the second device.
[0140] The second device can send the generated first radio frequency signal to the first device for downlink power calibration. The first device may include a gain adjustment module and a power detection module, and the first radio frequency signal can be transmitted to the power detection module through the gain adjustment module.
[0141] For example, such as Figure 12 As shown, the second device may include a SoC, an RFIC, an amplifier, a first optical module, and RF ports (such as transmit (Tx)1 and receive (Rx)1). The first device may include a second optical module, RF ports (such as Tx2, Rx2, and RF port 3), a gain adjustment module, an amplifier, a feedback link, a power detection module, a storage module, and a combiner.
[0142] The SoC can transmit the generated first radio frequency signal to the first device via the RFIC, amplifier, RF port Tx1, first optical module, and the RF optical link between the first device and the second device. Taking the first optical module converting the first radio frequency signal into a first optical signal, and the second optical module converting the first optical signal into a first radio frequency signal as an example, the first device can convert the first optical signal into a first radio frequency signal through the second optical module, and then send the first radio frequency signal to the power detection module via RF port Tx2, gain adjustment module, amplifier, and feedback link.
[0143] S1103, the storage module of the first device obtains the first power through the power detection module.
[0144] The first device may include a storage module. This storage module can obtain the power of the received first radio frequency signal, i.e., the first power, through a power detection module. In other words, the first power can be obtained by the power detection module detecting the first radio frequency signal. For ease of understanding, the first power can be denoted as P2. For example, based on the relationship between power and level (i.e., the level value is proportional to the power value), the first power can be characterized by a level, such as a first level. For instance, the storage module can read the level value V1.1 from the power detection module, and V1.1 is associated with P2.
[0145] The first radio frequency signal is transmitted to the power detection module through the gain adjustment module. The current attenuation value of the gain adjustment module is a first value. For example, taking the gain adjustment module as an adjustable attenuator, the first value can be the current attenuation value, which can be used to characterize the amplitude and power of the adjusted signal. For ease of understanding, the first value is denoted as ATT1.0. The first value can be a calibration parameter used for power calibration. The first value is stored in the storage module of the first device and can be used by the first device to perform downlink power calibration.
[0146] It is understandable that the first value, namely ATT1.0, can be the calibration information obtained by the first and second devices based on the factory calibration process. The process of obtaining the first value can be referred to the introduction of the relevant content below, which will not be repeated here.
[0147] S1104, the storage module of the first device adjusts the attenuation value of the gain adjustment module from the first value to the second value according to the first power and the first value.
[0148] The storage module of the first device can perform downlink power calibration based on the first power and the stored first value. Specifically, the storage module of the first device can adjust the attenuation value of the gain adjustment module from the first value to the second value, or in other words, the first power and the first value can be used by the storage module to adjust the attenuation value of the gain adjustment module from the first value to the second value.
[0149] When the attenuation value of the gain adjustment module is the second value, the power of the first RF signal can be the calibration target power. For ease of understanding, let's denote the second value as ATT1.1 and the calibration target power as P3. When the power of the first RF signal is the calibration target power, the level value of the power detection unit can be V1.0, and P3 is associated with V1.0.
[0150] It is understood that V1.0 can be calibration parameters used for power calibration. V1.0 is stored in the storage module of the first device and can be used by the first device to perform downlink power calibration. It is also understood that V1.0 can be calibration information obtained by the first and second devices based on the factory calibration process. The process of obtaining the first value can be referred to the relevant content below, and will not be repeated here. P3 can be a preset value or a predefined value. When the output power of the first device is P3, it can be considered that the calibration requirements are met.
[0151] For example, the storage module of the first device can change the attenuation value of the gain adjustment module according to V1.1 and the stored V1.0, until the attenuation value of the gain adjustment module is adjusted from ATT1.0 to ATT1.1, and the level value of the power detection module changes from V1.1 to V1.0, that is, ATT1.1 = ATT1.0 + ∝(V1.1-V1.0). At this time, the output power of the first device (such as RU) can be considered to be P3. In this way, the live network calibration can be achieved, or the downlink power calibration can be achieved.
[0152] It is understood that the naming of the first radio frequency signal, the first power, the first value, the second value, and the calibration target power mentioned above are merely examples, and can be replaced with any other possible naming without limitation.
[0153] In summary, the first device can receive a first radio frequency (RF) signal from the second device. The storage module of the first device detects the power of the first RF signal as a first power through the power detection module, and this first RF signal is transmitted to the power detection module through the gain adjustment module. Since the first value can be a calibration parameter used for power calibration, the storage module of the first device can adjust the attenuation value of the gain adjustment module from the first value to a second value based on the first power and the first value, so that the power of the first RF signal is the calibration target power. That is, when the attenuation value of the gain adjustment module is adjusted from the first value to the second value, the power of the first RF signal meets the calibration requirements. This improves the calibration accuracy and enables automatic power calibration.
[0154] In conjunction with the above embodiments, in one possible implementation, before the first device receives the first radio frequency signal from the second device, or before the second device sends the first radio frequency signal to the first device, the above method embodiments may include:
[0155] The second device sends a first request message to the storage module. Correspondingly, the storage module receives the first request message from the second device.
[0156] The storage module sends a first response message to the second device. Correspondingly, the second device receives the first response message from the storage module.
[0157] In other words, when the second device needs calibration, it can send a first request message to the storage module of the first device. The first request message can be used to request downlink power calibration. When the storage module determines that downlink power calibration can be performed based on the first request message, it can send a response message to the first request message, i.e., a first response message, to the second device. The first response message can be used to indicate that downlink power calibration has started.
[0158] For example, the SoC of the second device can send a live network calibration request message to the storage module of the first device through a communication link, and correspondingly, the storage module of the first device can send a live network calibration response message to the SoC through a communication link.
[0159] Thus, the first device can trigger downlink power calibration (such as executing steps S1103-S1104 above) after receiving the first request message from the second device. This enables downlink power calibration to be performed on demand, reducing the resource overhead of the first device. In addition, the second device can trigger the sending of an RF signal to the first device, such as the first RF signal mentioned above, after receiving the first response message from the first device. This avoids the situation where the second device sends an RF signal to the first device before the first device has started downlink power calibration, thereby improving the efficiency of downlink power calibration and reducing the resource overhead of the second device.
[0160] It is understood that the naming of the first request message and the first response message is merely an example, and they can be replaced with any other possible names without limitation.
[0161] In one possible implementation, before the first device receives the first radio frequency signal from the second device, or before the second device sends the first radio frequency signal to the first device, the above method embodiments may include:
[0162] The second device generates a second radio frequency signal.
[0163] The second device sends a second radio frequency signal to the first device. Correspondingly, the first device receives the second radio frequency signal from the second device.
[0164] The storage module obtains a second power.
[0165] The storage module adjusts the attenuation value of the gain adjustment module to the first value based on the calibration target power and the second power.
[0166] In other words, the above implementation describes the process by which the storage module determines the first value (factory calibration process). Specifically, the second device can generate a second radio frequency (RF) signal, which can be used by the first device to determine calibration information (e.g., the second RF signal can be used by the first device to determine the first value). That is, the first RF signal can be a calibration signal. For example, the SoC of the second device can be used to generate the second RF signal. It is understood that the specific implementation of the SoC generating the second RF signal can be referred to in the implementation details, which will not be elaborated here.
[0167] The second device can send the generated second radio frequency signal to the first device. This second radio frequency signal can be transmitted to the power detection module through the gain adjustment module. The implementation principle is similar to that of the second device sending the first radio frequency signal to the first device, and can be understood by reference. It will not be elaborated further.
[0168] The storage module of the first device can obtain the power of the received second radio frequency signal, i.e., the second power, and record the second power as P4. For example, after the power detection module, relevant instruments or meters, such as spectrum analyzers or power meters, can be used to measure the power of the second radio frequency signal as P4, and the storage module of the first device can store P4.
[0169] The storage module of the first device can adjust the attenuation value of the gain adjustment module to a first value based on the calibration target power and the second power. When the attenuation value of the gain adjustment module is the first value, the power detection module takes the calibration target power as its value. For example, the storage module of the first device can change the attenuation value of the gain adjustment module based on P3 and P4 until the measured value from the spectrum analyzer or power meter changes from P4 to P3. At this point, the attenuation value of the gain adjustment module is the first value. The storage module of the first device can store the first value, i.e., ATT1.0, thus enabling the acquisition of the first value. The first value can be used for subsequent downlink power calibration by the first device to ensure that the power of the calibrated first RF signal meets the calibration requirements.
[0170] It is understandable that before the second device sends the second RF signal to the first device, it can initiate a factory Tx automatic calibration command to the storage module of the first device to request the first device to perform factory downlink power calibration. The storage module of the first device can then send a factory Tx automatic calibration response to the second device based on the factory Tx automatic calibration command, indicating that factory Tx calibration has begun. The principle is similar to when the second device sends a first request message to the storage module, and when the storage module sends a first response message to the second device; this can be understood by reference and will not be elaborated further.
[0171] It is understood that the naming of the second radio frequency signal and the second power mentioned above is merely an example, and it can be replaced with any other possible naming without limitation.
[0172] In one possible implementation, the first device may further include a feedback link, and the above method embodiments may further include:
[0173] The on-chip system generates a third radio frequency signal.
[0174] The system-on-chip (SoC) sends a third radio frequency (RF) signal to the first device. Correspondingly, the first device receives the third RF signal from the SoC.
[0175] The storage module sets the attenuation value of the gain adjustment module to the first value.
[0176] The storage module acquires the fourth power;
[0177] The storage module obtains the first gain based on the third power and the fourth power.
[0178] In other words, the on-chip system can generate a third radio frequency (RF) signal and send it to the first device for the first device to determine calibration information (e.g., the third RF signal can be used by the first device to determine a first gain). That is, the third RF signal can be a calibration signal. The power of the third RF signal transmitted by the on-chip system is called the third power, denoted as P5. The third RF signal can pass through a gain adjustment module with an attenuation value of the first value, a power detection module, and a feedback link. The feedback link can be used to return the third RF signal to the second device.
[0179] For example, such as Figure 12 As shown, the SoC can use the generated third RF signal and use P5 to send the third RF signal to the first device through the RFIC, amplifier, RF port Tx1, first optical module, and the RF optical link between the first and second devices. Taking the first optical module converting the third RF signal into a third optical signal and the second optical module converting the third optical signal into a third RF signal as an example, the first device can convert the third optical signal into a third RF signal through the second optical module and transmit the third RF signal to the RF port Rx2 through RF port Tx2, gain adjustment module, amplifier, feedback link, and combiner.
[0180] The storage module of the first device can obtain the power of the received third radio frequency signal, i.e., the fourth power. That is, the fourth power can be the output power of the third radio frequency signal after passing through the gain adjustment module with an attenuation value of the first value and the feedback link. The fourth power is denoted as P6. For example, the power of the third radio frequency signal is measured as P6 using relevant instruments or meters such as spectrum analyzers or power meters at the RF port Rx2 port. The storage module of the first device can store P6.
[0181] The system-on-chip (SoC) can send a third power to the storage module. For example, the SoC can send the third power to the storage module via a communication link. The storage module can determine a first gain based on the third power and a fourth power, and the first gain can be related to the difference between the third power and the fourth power. For example, based on the relationship between power and gain (i.e., gain is proportional to power), the storage module can determine the gain corresponding to the power difference #1, i.e., the first gain, based on the difference between the third power and the fourth power, such as power difference #1. This first gain is denoted as G1, and the storage module can store it for subsequent uplink gain calibration.
[0182] The first gain can be used to characterize the third power of the third RF signal transmitted by the on-chip system, and is the difference between the output power of the third RF signal after passing through a gain adjustment module with an attenuation value of the first value and a feedback link. This first gain includes the gain of the link between the first and second devices, such as an optical link (e.g., fiber optic cable). Thus, it can be applied to any scenario with possible optical link loss, avoiding the reduction in calibration accuracy caused by gain fluctuations due to the optical link, thereby improving the calibration accuracy.
[0183] It is understandable that before the second device sends the third RF signal to the first device, it can initiate a factory Tx automatic calibration command to the storage module of the first device to request the first device to perform factory downlink power calibration. The storage module of the first device can then send a factory Tx automatic calibration response to the second device based on the factory Tx automatic calibration command, indicating that factory Tx calibration has begun. The principle is similar to the second device sending a first request message to the storage module, and the storage module sending a first response message to the second device; this can be understood by reference and will not be elaborated further.
[0184] It is understood that the naming of the third radio frequency signal, the third power, the fourth power, and the first gain mentioned above are merely examples, and they can be replaced with any other possible names without limitation.
[0185] In one possible implementation, the above method embodiment may further include:
[0186] The storage module acquires a second gain. This second gain can be the receive gain of the first device.
[0187] For example, such as Figure 12As shown, RF port 3 of the second device can receive radio frequency signals generated by a signal source, such as the fourth radio frequency signal. Assume the power of the fourth radio frequency signal transmitted by the signal source is P7 (if the transmission power is known). The fourth radio frequency signal can be transmitted to RF port Rx2 through an amplifier. Using relevant instruments or meters, such as a spectrum analyzer or power meter, at RF port Rx2, the power of the third radio frequency signal is measured as P8. Based on the relationship between power and gain, the storage module can determine the gain corresponding to the power difference #2, i.e., the second gain, based on the difference between P7 and P8, such as the power difference #2. This second gain is denoted as G2, and the storage module can store it for subsequent uplink gain calibration.
[0188] It is understood that the naming of the fourth RF signal and the second gain mentioned above is merely an example, and can be replaced with any other possible naming without limitation.
[0189] In one possible implementation, the above method embodiment may further include:
[0190] The storage module sends a first gain and a second gain to the second device. Correspondingly, the second device receives the first gain and the second gain from the storage module.
[0191] In other words, the storage module can send the stored calibration information or calibration parameters, namely the first gain and the second gain, to the second device. For example, the storage module can send the stored G1 and G2 to the SoC via a communication link for subsequent uplink gain calibration by the SoC.
[0192] In one possible implementation, the above method embodiment may further include:
[0193] The first device sends a third radio frequency signal to the second device. Correspondingly, the second device receives the third radio frequency signal from the first device.
[0194] The second device obtains the fifth power.
[0195] The second device obtains a third gain based on the third power and the fifth power.
[0196] The third radio frequency signal can be returned to the second device via the feedback link of the first device. For example, such as... Figure 12 As shown, based on the above example, the RF port Rx2 of the first device can input a third radio frequency signal into the second optical module. The second optical module can convert the third radio frequency signal into a third optical signal and send it to the first device through the RF optical link between the first and second devices. The first optical module of the first device can convert the received third optical signal into a third radio frequency signal and transmit the third radio frequency signal to the SoC through an amplifier and an RFIC.
[0197] The second device can acquire a fifth power, which can be the power of the third radio frequency signal received by the on-chip system, and this fifth power is denoted as P9. For example, related instruments or meters, such as spectrum analyzers or power meters, can measure the power of the third radio frequency signal received by the SoC as P9, and the SoC can store P9.
[0198] The second device can obtain a third gain based on the third power and the fifth power, and the third gain can be related to the difference between the third power and the fifth power. For example, based on the relationship between power and gain, the SoC can determine the gain corresponding to the power difference #3, i.e., the third gain, based on the difference between P5 and P9, such as power difference #3. The third gain is recorded as G3. The SoC can store the third gain for subsequent uplink gain calibration.
[0199] It is understandable that the third gain can characterize the calibration information of the entire link between the first and second devices. In this way, it can be applied to any possible optical link loss scenario, and can avoid the situation where the calibration accuracy is reduced due to gain fluctuations caused by the optical link, thereby improving the calibration accuracy.
[0200] In one possible implementation, the above method embodiment may further include:
[0201] The second device determines the fourth gain based on the first gain, the second gain, and the third gain.
[0202] The second device performs gain compensation on the received power of the first device based on the fourth gain.
[0203] The fourth gain can be equal to the sum of the first parameter and the second gain. The first parameter can be the difference between the third gain and the first gain. The fourth gain is denoted as G4, where G4 = G3 - G1 + G2. The second device, such as the SoC, can perform gain compensation on the received power of the first device, or the received power of the antenna connected to the first device, such as the AU, based on G4. For example, the SoC can accurately calculate the signal strength received by the AU based on G4 and the received signal strength (from the AU), such as the power of the received signal, thereby adjusting the ADC level to ensure signal quality. The specific implementation of the second device's gain compensation on the received power of the first device based on the fourth gain can be found in existing technologies and will not be elaborated further.
[0204] It is understandable that the above calibration steps can be repeated by testing signals from different frequency band channels to achieve multi-channel calibration. This makes it applicable to scenarios with direct connection between master and slave devices (one master device directly connected to one slave device), one-to-two (one master device connected to two slave devices), one-to-many (one master device connected to multiple (more than 2) slave devices), etc., so as to achieve automatic power and gain calibration for one-to-one or one-to-many connection methods.
[0205] Based on the above description, the calibration method of this application embodiment may include a factory calibration process and a live network calibration process. The factory calibration process may be performed first, followed by the subsequent live network calibration process. The following detailed description uses implementations 1 and 2 as examples.
[0206] Implementation 1: Factory calibration process (completed by SOC, signal source and spectrum analyzer).
[0207] For example, such as Figure 12 As shown:
[0208] (1) The SOC generates a signal, such as RF signal #1, and sends RF signal #1.
[0209] The power of RF signal #1 is measured at RF port Tx1 using a spectrum analyzer to obtain the device Tx gain of the master device, denoted as G5. The SOC stores G5.0.
[0210] (2) RF signal generated by the signal source is input to RF port 3, such as RF signal #2 (corresponding to the fourth radio frequency signal mentioned above).
[0211] The power of RF signal #2 is measured using a spectrum analyzer at RF port Rx2 (as described in P8 above), and the gain of device Rx at the slave device end is obtained, denoted as G2 (corresponding to the second gain mentioned above).
[0212] (3) Connect the first device and the second device to form a network through any optical fiber.
[0213] The second device can send G5 to the storage module of the first device via a communication link, and the storage module will store G5.
[0214] (4) The second device initiates a factory Tx automatic calibration command. For example, the SoC can send a factory Tx automatic calibration command to the storage module of the first device through the communication link to instruct the first device to perform factory downlink power calibration.
[0215] The SoC can generate RF signals, such as RF signal #3 (corresponding to the second RF signal mentioned above), and send them to the first device through the RFIC, amplifier, RF port Tx1, first optical module, and the RF optical link between the first and second devices. Taking the first optical module converting RF signal #3 into optical signal #3, and the second optical module converting optical signal #3 into RF signal #3 as an example, the first device can convert optical signal #3 into RF signal #3 through the second optical module, and transmit this RF signal #3 to RF port 3 through RF port Tx2, gain adjustment module, amplifier, feedback link, and power detection module. The power of RF signal #3 is measured as P4 (as mentioned above) at RF port 3 using a spectrum analyzer, and the storage module can store P4.
[0216] The storage module can adjust the attenuation value of the gain adjustment module based on P4 and the calibration target power P3 until the measured value from the spectrum analyzer or power meter changes from P4 to P3. At this point, the attenuation value of the gain adjustment module is ATT1.0 (corresponding to the first value mentioned above), and the level value of the power detection unit is V1.0. The storage module can store ATT1.0 and V1.0.
[0217] (5) The second device initiates a factory Rx automatic calibration command. For example, the SoC can send a factory Rx automatic calibration command to the storage module of the first device through the communication link to instruct the first device to perform factory downlink power calibration. The first device sets the attenuation value of the gain adjustment module to ATT1.0.
[0218] The SOC generates a signal, such as RF signal #4 (corresponding to the third RF signal mentioned above), and sends it to the first device via the RFIC, amplifier, RF port Tx1, first optical module, and the RF optical link between the first and second devices. The transmission power of RF signal #4 is P5 (corresponding to the third power mentioned above). Taking the first optical module converting RF signal #4 into optical signal #4, and the second optical module converting optical signal #4 into RF signal #4 as an example, the first device can convert optical signal #4 into RF signal #4 through the second optical module, and transmit this RF signal #4 to RF port Rx2 via RF port Tx2, gain adjustment module (attenuation value ATT1.0), amplifier, feedback link, and combiner. The SOC can send P5 to the storage module of the storage module via the communication link.
[0219] The power of RF signal #4 is measured as P6 using a spectrum analyzer at RF port Rx2. The storage module can obtain the gain of the feedback path based on the difference between P5 and P6, denoted as G1 (corresponding to the first gain mentioned above). The SOC stores G1.
[0220] Based on the above steps, the factory calibration process can be completed.
[0221] Implementation 2: Live network calibration process (completed by the SoC and storage module logic protocol).
[0222] For example, such as Figure 12 As shown:
[0223] (1) The SoC sends a live network calibration request (such as the first request message mentioned above) to the storage module through the communication link to request the second device to perform live network calibration; after receiving the live network calibration request, the storage module can send a live network calibration response (such as the first response message mentioned above) to the SoC through the communication link to inform the SoC to start calibration.
[0224] After receiving the calibration response from the live network, the SoC can generate a signal, such as RF signal #5 (corresponding to the first radio frequency signal mentioned above), and send it to the first device through the RFIC, amplifier, RF port Tx1, first optical module, and the RF optical link between the first device and the second device. Taking the first optical module converting RF signal #5 into optical signal #5 and the second optical module converting optical signal #5 into RF signal #5 as an example, the first device can convert optical signal #5 into RF signal #5 through the second optical module, and transmit the RF signal #5 to the power detection module through RF port Tx2, gain adjustment module, amplifier, and feedback link.
[0225] (2) The storage module can read the level value of the power detection module, V1.1, which is associated with P2 (corresponding to the first power mentioned above).
[0226] The storage module of the first device can change the attenuation value of the gain adjustment module according to V1.1 and the stored V1.0 until the attenuation value of the gain adjustment module is adjusted from ATT1.0 to ATT1.1. At this time, the level value of the power detection module changes from V1.1 to V1.0, that is, ATT1.1 = ATT1.0 + ∝(V1.1-V1.0). At this time, the output power of the first device (such as RU) can be considered to be P3. In this way, the transmission network calibration can be realized, or the downlink power calibration can be realized.
[0227] It is understandable that implementations (1)-(2) in step 2 above can achieve automatic downlink power calibration on the current network.
[0228] (3) The storage module sends the stored calibration information, namely G5, G2 and G1 mentioned above, to the SoC through the communication link.
[0229] (4) The SoC receives the RF signal #4 returned through the feedback link. The spectrum analyzer measures the power of the RF signal #4 received by the SoC as P9 (as described in the fifth power above). The SoC can determine the gain of the entire link as G3 (corresponding to the third gain above) based on the difference between P5 and P9.
[0230] (5) The SoC can calculate the uplink gain G4 (corresponding to the fourth gain mentioned above) of the current network based on G1, G2 and G3 = G3-G1+G2.
[0231] Assuming that both Implementation 1 and Implementation 2 use the first and second devices for both factory calibration and live network calibration, then G5 remains unchanged, and there is no need to consider the gain fluctuation caused by changes in G5.
[0232] (6) The SoC performs gain compensation on the received power at the antenna end based on G4 to complete the Rx gain calibration.
[0233] It is understandable that (3)-(6) in the above implementation 2 can realize automatic uplink power calibration in the current network.
[0234] The above implementations 1 and 2 combine factory instrument calibration with the calibration of the adaptive optical link in the live network. After the factory calibration is completed, the live network calibration is completed by the software algorithm of the SoC and storage module without the need for other equipment. This solves the problems of complex assembly, such as the need to input optical device parameters, in the existing independent uplink and downlink calibration methods, as well as the problem that overall calibration is difficult to achieve in the live network environment due to the lack of calibration equipment, thus reducing assembly and maintenance costs.
[0235] In addition, the uplink gain calibration device, consisting of the master device's SoC, the slave device's storage module, the slave device's feedback link, and the communication link connecting the master device's SoC and the slave device's storage module, can achieve automatic power and gain calibration in one-to-one or one-to-many connection modes. The downlink power calibration device, consisting of the master device's SoC, the slave device's storage module, the slave device's gain adjustment module, the slave device's power detection module, and the communication link connecting the master device's SoC and the slave device's storage module, only needs to ensure its own accuracy. The backend slave device completes the overall gain calibration and adjustment through the gain adjustment module (with a large dynamic range) to compensate for gain fluctuations introduced by optical path, temperature, channel, etc., and can be applied to scenarios with gain fluctuations caused by optical fibers of any different lengths.
[0236] It is understood that the above implementations 1 and 2 are described using the example of the first and second devices in both the factory calibration process and the live network calibration process. The above calibration methods still apply when the master or slave device in the live network calibration process differs from the master or slave device in the factory calibration process. For example, in the factory calibration process, the master device is device #a, the slave device is device #b, the device Tx gain at device #a is G5.0, the device Rx gain at device #b is G2.0, and the gain of the feedback path is G1.0.
[0237] In the current network calibration process, the master device is device #c, and the slave device is device #b. The Tx gain of device #c is G5.1, the Rx gain of device #b is G2.1, the gain of the feedback path is G1.1, and the gain of the entire link is G3.1. At this time, the uplink gain of the current network is G4.1 = G3 - G1 + G2 - (G5.0 - G5.1) to complete the calibration and adjustment of the overall gain. This solves the problem of random pairing of master and slave devices during installation in RF optical remote systems.
[0238] The above combination Figures 11-12 The calibration method provided in the embodiments of this application is described in detail. The calibration provided in the embodiments of this application will be described in detail below.
[0239] For example, as described above Figures 8-10 As shown, the calibration device may include a first device and a second device, with the first device connected to the second device. The first device includes a storage module, a gain adjustment module, and a power detection module.
[0240] The second device is used to generate the first radio frequency signal and send the first radio frequency signal to the first device;
[0241] The storage module is used to obtain the first power through the power detection module.
[0242] The storage module is also used to adjust the attenuation value of the gain adjustment module from the first value to the second value based on the first power and the first value.
[0243] Wherein, the first power is obtained by the power detection module detecting the first radio frequency signal. The first radio frequency signal is transmitted to the power detection module through the gain adjustment module. The current attenuation value of the gain adjustment module is a first value, which is a calibration parameter used for power calibration. When the attenuation value of the gain adjustment module is a second value, the power of the first radio frequency signal is the calibration target power.
[0244] In one possible implementation, the second device is further configured to send a first request message to the storage module; the storage module is further configured to send a first response message to the second device. The first request message requests downlink power calibration; the first response message indicates that downlink power calibration has begun.
[0245] In one possible implementation, the second device is further configured to generate a second radio frequency signal and send the second radio frequency signal to the first device; the storage module is further configured to acquire a second power and adjust the attenuation value of the gain adjustment module to a first value based on the calibration target power and the second power. Here, the second power is the output power of the second radio frequency signal after passing through the gain adjustment module and the power detection module; when the attenuation value of the gain adjustment module is the first value, the value of the power detection module is the calibration target power.
[0246] In one possible implementation, the second device includes a system-on-a-chip (SoC), and the first device includes a feedback link. The storage module is further configured to set the attenuation value of the gain adjustment module to a first value. The SoC generates a third radio frequency (RF) signal and transmits it to the first device. The storage module also acquires a fourth power and, based on the third and fourth power, obtains a first gain. The power of the SoC transmitting the third RF signal is the third power; the fourth power is the output power of the third RF signal after passing through the gain adjustment module with the attenuation value of the first value and the feedback link. The feedback link is used to return the third RF signal to the second device. The first gain is related to the difference between the third and fourth power.
[0247] In one possible implementation, the storage module is also used to acquire a second gain, which is the receive gain of the first device.
[0248] In one possible implementation, the storage module is further configured to send a first gain and a second gain to the second device; the second device is further configured to receive the first gain and the second gain from the storage module.
[0249] In one possible implementation, the second device is further configured to receive a third radio frequency signal from the first device and acquire a fifth power; the second device is further configured to acquire a third gain based on the third power and the fifth power. The fifth power is the power of the third radio frequency signal received by the on-chip system; the third gain is related to the difference between the third power and the fifth power.
[0250] In one possible implementation, the second device is further configured to determine a fourth gain based on the first gain, the second gain, and the third gain, and to perform gain compensation on the received power of the first device based on the fourth gain. The fourth gain is equal to the sum of the first parameter and the second gain, and the first parameter is the difference between the third gain and the first gain.
[0251] In one possible implementation, the second device is the master device, and the second device is connected to at least one slave device, the at least one slave device including the first device.
[0252] In one possible implementation, the first device is a radio frequency unit (RU), the second device is a baseband unit (BBU), the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC).
[0253] As you can understand, a detailed description of the calibration device can be found above. Figure 11 For a detailed description of the calibration method shown, and the technical effects achieved by the calibration device, please refer to the above. Figure 11 The technical effects of the calibration method shown will not be elaborated here.
[0254] The above description uses a calibration device composed of a first device and a second device as an example, that is, it describes the combination of the first device and the second device. It can be understood that the first device and the second device can also be decoupled, such as the second device described in the third aspect of the invention above, or the first device described in the fourth aspect. Their implementation principles are similar and can be understood by reference, so they will not be elaborated further.
[0255] Based on the foregoing description, this application provides a communication system. This communication system may include the first device and the second device described in the method embodiments above.
[0256] Embodiments of this application also provide a computer storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the calibration method in the above embodiments.
[0257] Embodiments of this application also provide a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the calibration method performed by the electronic device in the above embodiments.
[0258] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component, or module. The apparatus may include a connected processor and a memory. The memory is used to store computer execution instructions. When the apparatus is running, the processor can execute the computer execution instructions stored in the memory to cause the chip to execute the communication methods executed by the electronic devices in the above-described method embodiments.
[0259] In this embodiment, the first device, the second device, the calibration device, the computer storage medium, the computer program product, or the chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0260] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0261] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0262] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0263] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0264] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0265] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A calibration method, characterized in that, The method is applied to a first device connected to a second device, the first device including a storage module, a gain adjustment module, and a power detection module; the method includes: Receive the first radio frequency signal from the second device; The storage module obtains a first power through the power detection module; wherein, the first power is obtained by the power detection module from detecting the first radio frequency signal, the first radio frequency signal is transmitted to the power detection module through the gain adjustment module, and the current attenuation value of the gain adjustment module is a first value, the first value being a calibration parameter used for power calibration; The storage module adjusts the attenuation value of the gain adjustment module from the first value to the second value based on the first power and the first value; wherein, when the attenuation value of the gain adjustment module is the second value, the power of the first radio frequency signal is the calibration target power.
2. The method according to claim 1, characterized in that, Before receiving the first radio frequency signal from the second device, the method further includes: The storage module receives a first request message from the second device; wherein the first request message is used to request calibration of the downlink power; The storage module sends a first response message to the second device; wherein the first response message is used to indicate that downlink power calibration has begun.
3. The method according to claim 1 or 2, characterized in that, Before receiving the first radio frequency signal from the second device, the method further includes: Receive a second radio frequency signal from a second device; The storage module acquires a second power; wherein, the second power is the output power of the second radio frequency signal after passing through the gain adjustment module and the power detection module; The storage module adjusts the attenuation value of the gain adjustment module to the first value based on the calibration target power and the second power; wherein, when the attenuation value of the gain adjustment module is the first value, the value of the power detection module is the calibration target power.
4. The method according to claim 3, characterized in that, The second device includes a system-on-a-chip, the first device further includes a feedback link, and the method further includes: The storage module sets the attenuation value of the gain adjustment module to the first value; Receive a third radio frequency signal from the system-on-chip; wherein the third radio frequency signal is generated by the system-on-chip, and the power at which the system-on-chip transmits the third radio frequency signal is a third power; The storage module acquires a fourth power; wherein, the fourth power is the output power of the third radio frequency signal after passing through the gain adjustment module and the feedback link with an attenuation value of the first value, and the feedback link is used to return the third radio frequency signal to the second device; The storage module obtains a first gain based on the third power and the fourth power; wherein the first gain is related to the difference between the third power and the fourth power.
5. The method according to claim 4, characterized in that, The method further includes: The storage module acquires a second gain; wherein the second gain is the receiving gain of the first device.
6. The method according to claim 5, characterized in that, The method further includes: The storage module sends the first gain and the second gain to the second device.
7. A calibration method, characterized in that, The method is applied to a second device connected to a first device, the first device including a storage module, a gain adjustment module, and a power detection module; the method includes: Generate the first radio frequency signal; The first radio frequency signal is sent to the first device; wherein, the first radio frequency signal is transmitted to the power detection module through the gain adjustment module, the first power is obtained by the power detection module detecting the first radio frequency signal, the current attenuation value of the gain adjustment module is a first value, the first value is a calibration parameter used for power calibration; the first power and the first value are used by the storage module to adjust the attenuation value of the gain adjustment module from the first value to a second value, when the attenuation value of the gain adjustment module is the second value, the power of the first radio frequency signal is the calibration target power.
8. The method according to claim 7, characterized in that, Before sending the first radio frequency signal to the first device, the method further includes: A first request message is sent to the storage module; wherein the first request message is used to request calibration of the downlink power; Receive a first response message from the storage module; wherein the first response message is used to indicate that downlink power calibration has begun.
9. The method according to claim 7 or 8, characterized in that, Before sending the first radio frequency signal to the first device, the method further includes: Generate a second radio frequency signal; The second radio frequency signal is sent to the first device; wherein the second radio frequency signal is used by the first device to determine the first value.
10. The method according to claim 9, characterized in that, The second device includes a system-on-a-chip, the first device further includes a feedback link, and the method further includes: The on-chip system generates a third radio frequency signal; wherein, the power at which the on-chip system transmits the third radio frequency signal is a third power; The on-chip system sends the third radio frequency signal to the first device; wherein the third radio frequency signal is used by the first device to determine a first gain, the first gain being related to the difference between the third power and the fourth power, the fourth power being the output power of the third radio frequency signal after passing through the gain adjustment module and the feedback link with an attenuation value of the first value, and the feedback link being used to return the third radio frequency signal to the second device.
11. The method according to claim 10, characterized in that, The method further includes: The device receives the first gain and the second gain from the storage module; wherein the second gain is the receive gain of the first device.
12. The method according to claim 11, characterized in that, The method further includes: Receive the third radio frequency signal from the first device; Obtain the fifth power; wherein the fifth power is the power of the third radio frequency signal received by the on-chip system; A third gain is obtained based on the third power and the fifth power; wherein the third gain is related to the difference between the third power and the fifth power.
13. The method according to claim 12, characterized in that, The method further includes: A fourth gain is determined based on the first gain, the second gain, and the third gain; wherein the fourth gain is equal to the sum of the first parameter and the second gain, and the first parameter is the difference between the third gain and the first gain; According to the fourth gain, the received power of the first device is compensated for gain.
14. The method according to any one of claims 1-13, characterized in that, The second device is a master device, and the second device is connected to at least one slave device, the at least one slave device including the first device.
15. The method according to any one of claims 1-14, characterized in that, The first device is a radio frequency unit (RU), the second device is a baseband unit (BBU); the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC).
16. A calibration device, characterized in that, The calibration device includes a first device and a second device, the first device being connected to the second device, and the first device including a storage module, a gain adjustment module and a power detection module. The second device is used to generate a first radio frequency signal and send the first radio frequency signal to the first device; The storage module is used to obtain a first power through the power detection module; wherein, the first power is obtained by the power detection module from detecting the first radio frequency signal, the first radio frequency signal is transmitted to the power detection module through the gain adjustment module, and the current attenuation value of the gain adjustment module is a first value, the first value being a calibration parameter used for power calibration; The storage module is further configured to adjust the attenuation value of the gain adjustment module from the first value to the second value based on the first power and the first value; wherein, when the attenuation value of the gain adjustment module is the second value, the power of the first radio frequency signal is the calibration target power.
17. The calibration apparatus according to claim 16, characterized in that, The second device is further configured to send a first request message to the storage module; wherein the first request message is configured to request calibration of the downlink power; The storage module is also configured to send a first response message to the second device; wherein the first response message is configured to indicate that downlink power calibration has begun.
18. The calibration apparatus according to claim 16 or 17, characterized in that, The second device is also used to generate a second radio frequency signal and send the second radio frequency signal to the first device; The storage module is also used to acquire a second power; wherein the second power is the output power of the second radio frequency signal after passing through the gain adjustment module and the power detection module; The storage module is further configured to adjust the attenuation value of the gain adjustment module to the first value based on the calibration target power and the second power; wherein, when the attenuation value of the gain adjustment module is the first value, the value of the power detection module is the calibration target power.
19. The calibration apparatus according to claim 18, characterized in that, The second device includes a system-on-a-chip, and the first device further includes a feedback link; The storage module is also used to set the attenuation value of the gain adjustment module to the first value; The system-on-chip is used to generate a third radio frequency signal and send the third radio frequency signal to the first device; wherein, the power at which the system-on-chip sends the third radio frequency signal is a third power; The storage module is also used to acquire a fourth power; wherein, the fourth power is the output power of the third radio frequency signal after passing through the gain adjustment module and the feedback link with an attenuation value of the first value, and the feedback link is used to return the third radio frequency signal to the second device; The storage module is further configured to obtain a first gain based on the third power and the fourth power; wherein the first gain is related to the difference between the third power and the fourth power.
20. The calibration apparatus according to claim 19, characterized in that, The storage module is also used to acquire a second gain; wherein the second gain is the receiving gain of the first device.
21. The calibration apparatus according to claim 20, characterized in that, The storage module is also used to send the first gain and the second gain to the second device; The second device is also configured to receive the first gain and the second gain from the storage module.
22. The calibration apparatus according to claim 21, characterized in that, The second device is further configured to receive the third radio frequency signal from the first device and acquire a fifth power; wherein the fifth power is the power of the third radio frequency signal received by the on-chip system; The second device is further configured to obtain a third gain based on the third power and the fifth power; wherein the third gain is related to the difference between the third power and the fifth power.
23. The calibration apparatus according to claim 22, characterized in that, The second device is further configured to determine a fourth gain based on the first gain, the second gain, and the third gain; wherein the fourth gain is equal to the sum of the first parameter and the second gain, and the first parameter is the difference between the third gain and the first gain; The second device is also used to perform gain compensation on the received power of the first device according to the fourth gain.
24. The calibration apparatus according to any one of claims 16-23, characterized in that, The second device is a master device, and the second device is connected to at least one slave device, the at least one slave device including the first device.
25. The calibration apparatus according to any one of claims 16-24, characterized in that, The first device is a radio frequency unit (RU), the second device is a baseband unit (BBU); the storage module is a microcontroller unit (MCU), the gain adjustment module is an adjustable attenuator or amplifier, and the power detection module can be a detector or an analog-to-digital converter (ADC).
26. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program or instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-15.
27. A computer program product, characterized in that, The computer program product includes: a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1-15.
