Methods and apparatus for adjusting line loss of coaxial cables in radio frequency distribution systems
By monitoring the pilot signals of the downlink and uplink time slots in the RF distribution system and adjusting the line loss of the coaxial cable, the problem of large line loss adjustment error in the RF active distribution system was solved, and the consistency of remote unit gain and reasonable power allocation were achieved.
Patent Information
- Application Number
- CN202410677676.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-05-28
AI Technical Summary
In RF active distributed systems, the signal attenuation is not constant due to the different lengths and cascaded numbers of coaxial cables of the remote units. The attenuation is small for the remote units that are close to the near-end units, which can easily damage the power amplifier, while the attenuation is large for the far-end units, which can easily be insufficient. In the existing technology, the line loss adjustment error is too large.
In the radio frequency distribution system, the near-end unit sends a calibration signal to obtain a preparation command, controls the target device to monitor the downlink and uplink time slots, determines the pilot receiving power of the far-end unit based on the pilot signal, and adjusts the line loss of the coaxial cable to adjust the gain.
This enables remote units to accurately measure line loss values and complete link calibration under different network configurations, reducing line loss adjustment errors, ensuring consistent gain for each remote unit, and avoiding problems of insufficient or excessive power.
Smart Images

Figure CN118432722B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communications, and more specifically, to a method and apparatus for adjusting the line loss of a coaxial cable in a radio frequency distribution system. Background Technology
[0002] Currently, in the engineering applications of RF active distributed systems, the length of the coaxial cable connected to each remote unit and the number of remote cascaded units vary depending on the scenario. Therefore, the signal attenuation from the near-end unit to the remote unit is not constant. Remote units closer to the near-end unit experience less attenuation, resulting in less attenuation in the main link, making it difficult to avoid damage to the power amplifier and excessive output power. Conversely, remote units farther from the near-end unit experience greater attenuation, leading to more significant attenuation in the main link, making it difficult to avoid insufficient output power. This results in the technical problem of excessively large errors in adjusting the line loss of RF coaxial cables in related technologies.
[0003] There is currently no effective solution to the technical problem of excessive error in adjusting the line loss of radio frequency coaxial cables in the aforementioned related technologies. Summary of the Invention
[0004] This invention provides a method and apparatus for adjusting the line loss of coaxial cables in a radio frequency distribution system, so as to at least solve the technical problem of excessive error in adjusting the line loss of radio frequency coaxial cables in related technologies.
[0005] According to one aspect of the present invention, a method for adjusting the line loss of a coaxial cable in a radio frequency distribution system is provided. The method may include: in response to a calibration signal transmitted by a near-end unit in the radio frequency distribution system to at least one far-end unit in the same system within its operating frequency band, acquiring a preparation command transmitted from the near-end unit to the at least one far-end unit; in response to the preparation command, controlling a target device to monitor the downlink time slot and the uplink time slot of a communication device; determining the pilot receiving power of the far-end unit based on a pilot signal within the time slot interval between the downlink and uplink time slots; and adjusting the line loss of the coaxial cable between the far-end unit and the near-end unit based on the pilot receiving power, wherein the adjusted line loss is used to adjust the gain of at least one of the near-end unit or the far-end unit.
[0006] Optionally, the method further includes: adjusting the gain of the remote unit based on the time slot interval until the remote unit detects the pilot received power.
[0007] Optionally, the line loss of the coaxial cable between the remote and near-end units is adjusted based on the pilot received power, including: determining the difference between the pilot transmitted power of the near-end unit and the pilot received power of the remote unit; and adjusting the line loss based on the difference.
[0008] Optionally, the method further includes: determining the target power of the remote unit as the pilot receiving power, and controlling the remote unit to output the pilot receiving power.
[0009] Optionally, in response to a preparation command, controlling the target device to monitor the downlink and uplink time slots of the communication device includes: adjusting the operating mode of the target device in response to the preparation command; and controlling the target device to monitor the downlink and uplink time slots in response to the adjusted operating mode being the target monitoring mode.
[0010] According to one aspect of the present invention, a line loss adjustment device for a coaxial cable in a radio frequency distribution system is provided. The device may include: an acquisition unit, configured to acquire a preparation command sent from the near-end unit to the far-end unit in the radio frequency distribution system in response to a calibration signal transmitted by a near-end unit to at least one far-end unit in the radio frequency distribution system within its operating frequency band; a monitoring unit, configured to control a target device to monitor the downlink time slot and the uplink time slot of a communication device in response to the preparation command; a determination unit, configured to determine the pilot receiving power of the far-end unit based on the pilot signal within the time slot interval between the downlink and uplink time slots; and a first adjustment unit, configured to adjust the line loss of the coaxial cable between the far-end unit and the near-end unit based on the pilot receiving power, wherein the adjusted line loss is used to adjust the gain of at least one of the near-end unit or the far-end unit.
[0011] According to another aspect of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the coaxial cable line loss adjustment method in the radio frequency distribution system of the present invention.
[0012] According to another aspect of the present invention, a processor is also provided. The processor is used to run a program, wherein the program, when run by the processor, executes the method for adjusting the line loss of a coaxial cable in a radio frequency distribution system according to the embodiments of the present invention.
[0013] According to another aspect of the present invention, a memory is also provided, the memory including a program, wherein the program is used to execute the method for adjusting the line loss of a coaxial cable in the radio frequency distribution system of the present invention.
[0014] In this embodiment of the invention, in response to a calibration signal sent by a near-end unit in the RF distribution system to at least one far-end unit in the RF distribution system within its operating frequency band, a preparation command sent from the near-end unit to the far-end unit is obtained. Then, in response to the preparation command sent from the near-end unit to the far-end unit, the target device can be controlled to monitor the downlink and uplink time slots of the communication equipment, thereby obtaining the time interval between the downlink and uplink time slots. Based on the pilot signal within this time interval, the pilot receiving power of the far-end unit can be determined. Based on the pilot receiving power of the far-end unit, the line loss of the coaxial cable between the far-end and near-end units can be adjusted, thereby adjusting the gain of at least one of the near-end or far-end units. This achieves the goal of link calibration, allowing the far-end unit to measure its line loss value under different network configurations. This solves the technical problem of excessive error in line loss adjustment of RF coaxial cables in related technologies, and achieves the technical effect of reducing the error in line loss adjustment of RF coaxial cables. Attached Figure Description
[0015] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0016] Figure 1 This is a flowchart of a method for adjusting the line loss of a coaxial cable in a radio frequency distribution system according to an embodiment of the present invention;
[0017] Figure 2(a) is a schematic diagram of a network topology between a near-end machine and a far-end machine according to an embodiment of the present invention;
[0018] Figure 2(b) is a schematic diagram of signal transmission between a near-end unit and a far-end unit according to an embodiment of the present invention;
[0019] Figure 2(c) is a schematic diagram of a pilot transmission time slot according to an embodiment of the present invention;
[0020] Figure 3 This is a flowchart of a pilot power detection method according to an embodiment of the present invention;
[0021] Figure 4 This is a schematic diagram of information interaction between a near-end machine and a remote machine according to an embodiment of the present invention;
[0022] Figure 5 This is a schematic diagram of a remote state machine according to an embodiment of the present invention;
[0023] Figure 6 This is a schematic diagram of a coaxial cable loss adjustment device in a radio frequency distribution system according to an embodiment of the present invention. Detailed Implementation
[0024] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] Example 1
[0027] According to an embodiment of the present invention, a method for adjusting the line loss of a coaxial cable in a radio frequency distribution system is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0028] Figure 1 This is a flowchart of a method for adjusting the line loss of a coaxial cable in a radio frequency distribution system according to an embodiment of the present invention. The method may include the following steps:
[0029] Step S101: In response to a calibration signal sent by a near-end unit in the RF distribution system to at least one far-end unit in the RF distribution system within the operating frequency band, obtain a preparation command sent from the near-end unit to the far-end unit.
[0030] In the technical solution provided by step S101 of the present invention, the above-mentioned preparation command can also be called the prepare command. This is only an example and is not specifically limited.
[0031] In this embodiment, in response to a calibration signal sent by a near-end unit in the RF distribution system to at least one far-end unit in the RF distribution system within its operating frequency band, a preparation command sent from the near-end unit to the far-end unit is acquired. For example, after the near-end unit sends a preparation command to the far-end unit, the far-end unit can receive the aforementioned preparation command, thereby acquiring the preparation command sent from the near-end unit to the far-end unit. For example, it can acquire a prepare command sent from the near-end unit to the far-end unit. This is merely an example and is not intended to be specific.
[0032] Step S102: In response to the preparation command, control the target device to monitor the downlink time slot and uplink time slot of the communication device.
[0033] In the technical solution provided in step S102 of the present invention, the target device can be a device configured based on a field-programmable gate array (FPGA), the communication device can be a device configured based on a time division duplex (TDD) system, the downlink time slot can be a TDD downlink time slot, and the uplink time slot can be a TDD uplink time slot. This is only an example and is not specifically limited.
[0034] In this embodiment, after acquiring a preparation command sent from the near-end unit to the far-end unit in the RF distribution system in response to a calibration signal sent by the near-end unit to the far-end unit within the operating frequency band, the target device is controlled to monitor the downlink time slot and uplink time slot of the communication device in response to the preparation command. For example, in response to the preparation command, the operating mode of the target device is set to target detection mode, thereby controlling the target device to monitor the downlink time slot and uplink time slot of the communication device.
[0035] Optionally, in response to the preparation command, the operating mode of the FPGA-based device is set to target detection mode, thereby controlling the FPGA-based device to monitor the downlink time slots of the TDD-based device and the uplink time slots of the TDD-based device. This is only an example and is not specifically limited.
[0036] Step S103: Determine the pilot receiving power of the remote unit based on the pilot signal in the time slot between the downlink and uplink time slots.
[0037] In the technical solution provided by step S103 of the present invention, the aforementioned time slot interval can be used to represent the protection gap experienced when switching from a downlink time slot to an uplink time slot, and the pilot transmission time slot of the remote unit can be within the aforementioned time slot interval. For example, the pilot transmission time slot of the remote unit can be within the protection gap experienced when switching from a downlink time slot to an uplink time slot. This is only an example and is not specifically limited.
[0038] In this embodiment, after controlling the target device to monitor the downlink and uplink time slots of the communication device in response to a preparation command, the pilot power of the slave device is determined based on the time slot interval between the downlink and uplink time slots. For example, the pilot transmission time slot of the remote device can be determined based on the time slot interval between the downlink and uplink time slots. Thus, the voltage data of the remote device can be sampled within the pilot transmission time slot, and the pilot reception power of the remote device can be determined based on the sampled voltage data. For example, the pilot power of the remote device can be obtained by converting the sampled voltage data. The voltage data can be a voltage signal; this is merely an example and not a specific limitation.
[0039] Optionally, the pilot transmission time slot of the remote unit can be determined based on the pilot signal within the time slot between the downlink and uplink time slots. Within this time slot, the microcontroller unit (MCU) can enable the sampling function of the analog-to-digital converter (ADC) and use Direct Memory Access (DMA) for data sampling. After data sampling, the sampled data is filtered using a data cleaning algorithm. The filtered data is then converted to obtain the pilot reception power of the remote unit. This conversion can be performed using a lookup table; this is merely an example and not a specific limitation.
[0040] Step S104: Adjust the line loss of the coaxial cable between the remote unit and the near unit based on the pilot signal receiving power.
[0041] In the technical solution provided by step S104 of the present invention, the adjusted line loss can be used to adjust the gain of at least the near-end unit or the far-end unit. This is only an example and is not specifically limited.
[0042] In this embodiment, after determining the pilot receive power of the remote unit based on the pilot signal within the time slot between the downlink and uplink time slots, the line loss of the coaxial cable between the remote and near-end units is adjusted based on the pilot receive power. For example, the line loss of the coaxial cable between the remote and near-end units can be adjusted based on the pilot receive power of the remote unit and the pilot transmit power of the near-end unit, thereby adjusting the gain of either the remote or near-end unit. This is merely an example and not a specific limitation.
[0043] Optionally, by comparing the pilot receiving power of the remote unit with the rated power of the remote unit, it can be determined whether to increase or decrease the pilot receiving power. This allows for adjustment of the line loss of the coaxial cable between the remote and near units, thereby adjusting the gain of either the remote or near unit. This is merely an example and is not a specific limitation.
[0044] In steps S101 to S104 of this application, in response to a calibration signal sent by a near-end unit in the RF distribution system to at least one far-end unit in the RF distribution system within its operating frequency band, a preparation command sent from the near-end unit to the far-end unit is obtained. Then, in response to the preparation command sent from the near-end unit to the far-end unit, the target device can be controlled to monitor the downlink and uplink time slots of the communication equipment, thereby obtaining the time interval between the downlink and uplink time slots. Based on the pilot signal within this time interval, the pilot receiving power of the far-end unit can be determined. Based on the pilot receiving power of the far-end unit, the line loss of the coaxial cable between the far-end and near-end units can be adjusted, thereby adjusting the gain of at least one of the near-end or far-end units. This achieves the goal of link calibration, allowing the far-end unit to measure its line loss value under different network configurations. This solves the technical problem of excessive error in line loss adjustment of RF coaxial cables in related technologies, and achieves the technical effect of reducing the error in line loss adjustment of RF coaxial cables.
[0045] The method described in this embodiment will be further described below.
[0046] As an optional embodiment, the method further includes: adjusting the gain of the remote unit based on the time slot interval until the remote unit detects the pilot received power.
[0047] In this embodiment, the gain of the remote unit can be adjusted according to the time slot interval between the downlink and uplink time slots until the remote unit detects the pilot reception power.
[0048] In this embodiment, the voltage signal can be sampled data obtained by sampling the relevant data of the slave device through DMA. For example, the voltage signal can be sampled data obtained by sampling the relevant data of the remote device through DMA. This is only an example and is not specifically limited.
[0049] Optionally, after controlling the target device to monitor the downlink and uplink time slots of the communication device in response to the preparation command, based on the time slot interval between the downlink and uplink time slots, the target device can stop reporting the time slot interval between the next downlink and uplink time slots of the communication device, and detect the voltage signal of the slave device. Based on the detected voltage signal, the pilot power can be determined. For example, based on the time slot interval between the downlink and uplink time slots, the FPGA-based device can stop reporting the time slot interval between the next downlink and uplink time slots of the TDD-based device, and detect the voltage signal of the remote device. Based on the detected voltage signal of the remote device, the pilot power of the remote device can be determined. This is only an example and is not specifically limited.
[0050] As an optional embodiment, determining the pilot received power based on the detected voltage signal includes: filtering the detected voltage signal; and converting the filtered voltage signal to obtain the pilot received power.
[0051] In this embodiment, the filtering can be at least mean filtering, and the transformation can be at least accomplished by looking up a table. This is only an example and is not a specific limitation.
[0052] Optionally, based on the interval time slot, after stopping the target device from reporting the next downlink time slot and the next uplink time slot of the communication device, and after detecting the voltage signal of the slave device, the pilot receiving power of the remote device can be obtained by filtering the detected slave device voltage signal and then converting the filtered slave device voltage signal. This is only an example and is not specifically limited.
[0053] Optionally, the pilot receiving power of the remote unit can be obtained by mean filtering the detected voltage signal of the remote unit and then looking up the filtered voltage signal of the remote unit in a table. This is only an example and is not a specific limitation.
[0054] As an optional embodiment, step S104, adjusting the line loss of the coaxial cable between the remote and near-end units based on the pilot received power, includes: determining the difference between the pilot transmitted power of the near-end unit and the pilot received power of the remote unit; and adjusting the line loss based on the difference.
[0055] In this embodiment, the aforementioned difference can be used to determine the adjustment method for adjusting the line loss of the coaxial cable between the remote unit and the near unit.
[0056] Optionally, after determining the pilot received power of the remote unit based on the pilot signal within the time slot between the downlink and uplink time slots, the difference between the pilot transmitted power of the near-end unit and the pilot received power of the remote unit is determined; based on the difference, line loss is adjusted. For example, the difference between the pilot transmitted power of the near-end unit and the pilot received power of the remote unit can be obtained by subtracting the pilot received power of the remote unit from the pilot received power of the near-end unit. The system determines whether the difference between the pilot transmit power of the near-end unit and the pilot receive power of the far-end unit is positive or negative. If the difference is negative, the line loss of the coaxial cable between the near-end and far-end units can be adjusted by increasing the attenuation of the pilot receive power of the far-end unit. If the difference is positive, the line loss of the coaxial cable between the near-end and far-end units can be adjusted by decreasing the attenuation of the pilot receive power of the far-end unit.
[0057] As an optional embodiment, the method further includes: determining the target power of the remote unit as the pilot receiving power, and controlling the remote unit to output the pilot receiving power.
[0058] In this embodiment, the target power can be the preset power of the remote unit in the attenuation process control, or it can be called the reference power. This is only an example and is not specifically limited.
[0059] Optionally, the target power of the remote unit can be determined as the pilot receiving power, and the remote unit can be controlled to output the pilot receiving power. That is, the target power of the remote unit can be determined as the pilot receiving power of the remote unit, and the remote unit can be controlled to output the determined pilot receiving power. This is only an example and is not specifically limited.
[0060] As an optional embodiment, step S102, in response to a preparation command, controls the target device to monitor the downlink time slot and uplink time slot of the communication device, including: in response to the preparation command, adjusting the operating mode of the target device; and in response to the adjusted operating mode being the target monitoring mode, controlling the target device to monitor the downlink time slot and uplink time slot.
[0061] In this embodiment, the above-mentioned operating mode may include at least one of the following: target detection mode, target interrupt mode, and target reporting mode. For example, the target detection mode may be a mode that controls the target device to monitor the downlink time slot and the uplink time slot of the communication device; the target interrupt mode may be a mode that controls the MCU to enter the interrupt handler; and the target reporting mode may be a mode that reports the time slot interval between the downlink time slot and the uplink time slot of the communication device. This is only an example and is not specifically limited.
[0062] Optionally, in response to a preparation command received by the slave device from the master device, the operating mode of the target device is adjusted, and it is determined whether the adjusted operating mode is the target monitoring mode. If it is determined that the adjusted operating mode is the target monitoring mode, the target device is controlled to monitor the downlink and uplink time slots of the communication device. If it is determined that the adjusted operating mode is not the target monitoring mode, the target device is not controlled to monitor the downlink and uplink time slots of the communication device, and the target device is restarted or troubleshooted. The troubleshooting method can be based on the emergency handling program built into the target device, or it can be performed by the maintenance operation of a technician. This is only an example and is not specifically limited.
[0063] Optionally, in response to a preparation command received by the remote unit from the near-end unit, the operating mode of the FPGA-based device is adjusted, and it is determined whether the adjusted operating mode is the target monitoring mode. If it is determined that the adjusted operating mode is the target monitoring mode, the FPGA-based device is controlled to monitor the downlink time slots and uplink time slots of the TDD-based device. If it is determined that the adjusted operating mode is not the target monitoring mode, the FPGA-based device is not controlled to monitor the downlink time slots and uplink time slots of the TDD-based device, and the FPGA-based device is restarted or troubleshooted.
[0064] In this embodiment, in response to a calibration signal sent by a near-end unit in the RF distribution system to at least one far-end unit in the RF distribution system within its operating frequency band, a preparation command sent from the near-end unit to the far-end unit is acquired. Then, in response to the preparation command sent from the near-end unit to the far-end unit, the target device can be controlled to monitor the downlink and uplink time slots of the communication equipment, thereby obtaining the time slot interval between the downlink and uplink time slots. Based on the pilot signal within this time slot interval, the pilot receiving power of the far-end unit can be determined. Based on the pilot receiving power of the far-end unit, the line loss of the coaxial cable between the far-end and near-end units can be adjusted, thereby adjusting the gain of at least one of the near-end or far-end units. This achieves the goal of link calibration, allowing the far-end unit to measure its line loss value under different network configurations. This solves the technical problem of excessive error in line loss adjustment of RF coaxial cables in related technologies, and achieves the technical effect of reducing the error in line loss adjustment of RF coaxial cables.
[0065] Example 2
[0066] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.
[0067] In engineering applications of active distributed radio frequency (RF) systems, the length of the coaxial cable connected to each remote unit and the number of remote units cascaded vary depending on the scenario. Therefore, the signal attenuation from the near-end unit to the remote unit is not constant. Remote units closer to the near-end unit experience less attenuation, resulting in less attenuation in the main link, which can lead to damage to the power amplifier and excessive output power. Conversely, remote units farther from the near-end unit experience greater attenuation, resulting in greater attenuation in the main link, which can lead to insufficient output power. This results in the technical problem of inconsistent gain among the remote units in the RF distributed system.
[0068] However, this invention proposes a method for adjusting line loss. This method measures the transmission loss of Time Division Duplex (TDD) signals in radio frequency coaxial cables to adjust the system gain of the remote unit. This allows the remote unit to measure its line loss value under different network configurations, thereby achieving link calibration. This solves the technical problem of inconsistent gain among remote units in a radio frequency distributed system and achieves the technical effect of consistent gain among remote units in a radio frequency distributed system.
[0069] Figure 2(a) is a schematic diagram of a network topology of a near-end unit and a far-end unit according to an embodiment of the present invention. As shown in Figure 2(a), the near-end unit 201 can be connected to a signal source such as a micro-cell base station (pRRU) via a radio frequency coaxial cable. The far-end units 2021 and 2031 can be cascaded. On the one hand, the far-end units 2021 and 2031 can provide signal coverage. On the other hand, the far-end units 2021 and 2031 can couple their outputs to the next-level far-end unit. For example, the far-end unit 2021 can be connected to the power amplifier 2022. The power amplifier 2022 can couple its outputs to the next-level far-end units 2023 and 2024. The far-end unit 2031 can couple its output to the next-level far-end unit 2032. The far-end unit 2032 can couple its output to the next-level far-end unit 2033. The far-end unit 2033 can couple its output to the next-level far-end unit 2034.
[0070] Optionally, the number of remote units, the length of the RF coaxial cable, and the use of power amplifiers can all be determined according to the needs of specific scenarios. In addition, in addition to transmitting the RF signals for the service, master-slave communication signals are also transmitted between the near-end and the remote units. The master-slave communication signals are only affected by the attenuation of the RF coaxial cable.
[0071] Figure 2(b) is a schematic diagram of signal transmission between a near-end unit and a far-end unit according to an embodiment of the present invention. As shown in Figure 2(b), in the near-end unit 201, a pilot attenuator (ATT) 2011, a frequency multiplier (PLL) 2012, a switch 2013, a combiner 2014, a detector 2015, and an FPGA 2016 can be deployed. In the far-end unit 202, a main link ATT 2021 and a detector 2022 can be deployed. The PLL 2012 can communicate with the ATT 2011. Unit 11 can be connected to switch 2013, switch 2013 can be connected to combiner 2014, combiner 2014 can communicate with detector 2015, near-end unit 201 can adjust pilot ATT 2011 to ensure that the power of the pilot signal output at the near end is maintained at the rated power, main link ATT 2021 can communicate with detector 2022, and far-end unit 202 can adjust main link ATT 2021 to keep its output power at the rated power, thereby completing the overall distributed gain adjustment, and the line loss result can also be calculated accordingly.
[0072] Figure 2(c) is a schematic diagram of a pilot transmission time slot according to an embodiment of the present invention. As shown in Figure 2(c), the timing for transmitting the pilot signal can be between the guard time slot when switching from the downlink time slot to the uplink time slot and coupling into the main link.
[0073] Figure 3This is a flowchart of a pilot power detection method according to an embodiment of the present invention, such as... Figure 3 As shown, the method may include the following steps:
[0074] Step S301: Transmit enable pilot signal.
[0075] After transmitting the enable pilot signal, proceed to step S302 to enable the FPGA pilot detection interrupt.
[0076] In this embodiment, the pilot signal detection function in the FPGA is enabled, and the interrupt reporting function in the FPGA is also enabled, which enables the FPGA to identify the TDD switching point and generate an interrupt signal.
[0077] After enabling the FPGA pilot detection interrupt, step S303 is entered, and the MCU enters the interrupt handler.
[0078] In this embodiment, when the MCU enters the interrupt handler, it is necessary to cancel the FPGA's interrupt reporting in order to prevent subsequent interrupts from occurring.
[0079] After the MCU enters the interrupt handler, it proceeds to step S304, where the MCU performs ADC sampling.
[0080] In this embodiment, the MCU enables the ADC sampling function and uses DMA to complete data sampling. When sampling is complete, the sampled data is passed to the data cleaning algorithm.
[0081] After the ADC is sampled by the MCU, the process proceeds to step S305, where the sampled data is filtered.
[0082] In this embodiment, the sampled data can be processed by a data cleaning algorithm. Since the pilot signal is generated in a very short time and there are only 10 sampling points, the sampled data is filtered by a mean filtering algorithm to remove the maximum and minimum values in the sampled data. Then, the average value of the remaining data in the sampled data is taken. This is only an example and is not a specific limitation.
[0083] After filtering the sampled data, the process proceeds to step S306, where the data is looked up in a table to obtain the pilot power.
[0084] After looking up the above data to obtain the pilot power, proceed to step S307 to determine whether the pilot power meets the rated power multiple times.
[0085] If the pilot power meets the rated power multiple times, proceed to step S308 to stop the pilot signal; if the pilot power does not meet the rated power multiple times, proceed to step S309 to determine whether the pilot power is greater than the rated power.
[0086] If the pilot power is greater than the rated power, proceed to steps S310 and S302 to increase the attenuation of the pilot power and enable the pilot signal detection function in the FPGA, and simultaneously enable the interrupt reporting function in the FPGA. This allows the FPGA to identify the TDD switching point and generate an interrupt signal. If the pilot power is not greater than the rated power, proceed to steps S311 and S302 to reduce the attenuation of the pilot power and enable the pilot signal detection function in the FPGA, and simultaneously enable the interrupt reporting function in the FPGA. This allows the FPGA to identify the TDD switching point and generate an interrupt signal.
[0087] Figure 4 This is a schematic diagram illustrating information interaction between a near-end machine and a remote machine according to an embodiment of the present invention, such as... Figure 4 As shown, the information exchange process between the near-end machine and the far-end machine may include the following steps:
[0088] In step S411, the near-end unit 401 first completes the output pilot power calibration.
[0089] In this embodiment, a reliable pilot signal is provided for the subsequent line loss process of the remote unit 402, and a reliable basis is provided for the calibration results. Then, the following three commands are executed to distribute and control the execution of the line loss calibration, wherein the execution order can be as follows:
[0090] After completing the output pilot power calibration, step S412 is initiated, where the near-end unit 401 sends a Prepare command to the far-end unit 402.
[0091] After issuing the Prepare command, proceed to step S413, where the remote unit 402 completes the pre-calibration action for line loss.
[0092] After completing the pre-calibration actions for line loss, the process proceeds to step S414, where the remote unit 402 sends an acknowledgment character (ACK) to the near unit 401.
[0093] After sending the ACK, proceed to step S415, where the near-end unit 401 sends a Start command to the remote unit 402 to initiate the line loss adjustment process of the remote unit 402.
[0094] After the line loss adjustment process of the remote unit 402 is initiated, steps S416 and S417 are entered, in which the remote unit 402 sends an ACK to the near unit 401, and the remote unit 402 can complete the line loss calibration within a predetermined time.
[0095] After the line loss calibration is completed within the predetermined time, the process proceeds to step S418, where the near-end unit 401 waits for a delay (e.g., for a sufficiently long time).
[0096] After a delay, steps S419 and S420 are performed, whereby the near-end unit 401 sends a stop command to the far-end unit 402 to complete the post-line loss calibration action.
[0097] After completing the line loss calibration post-action, step S421 is entered, where the remote unit 402 sends an ACK to the near unit 401.
[0098] Figure 5 This is a schematic diagram of a remote state machine according to an embodiment of the present invention, such as... Figure 5 As shown, the remote state machine can include the following four states:
[0099] In the idle state, the remote machine waits to receive commands from the near machine. When the remote machine receives the prepare command sent by the near machine, the remote machine enters the ready state.
[0100] In the ready state, the remote unit completes the preparation work before line loss calibration. Then, the remote unit waits to receive the Start command from the near unit. The preparation work before line loss calibration may include at least: enabling the FPGA pilot signal detection function and turning on the channel switch.
[0101] During operation, when the remote unit receives the Start command, it begins pilot power detection. After the FPGA identifies the TDD switching point, it generates an interrupt signal, and the MCU enters the interrupt handler, enabling ADC sampling. After sampling, the data is converted into a pilot power value using a lookup table algorithm, compared with the rated power, and then the line loss ATT is adjusted to ensure that the pilot output power is within the rated power range. The pilot power detection method can be similar to that of the near end, and the pilot power detection method can include at least enabling the FPGA interrupt reporting function.
[0102] When the remote unit completes line loss calibration, or when the remote unit receives a Stop command from the near unit while in operation, the remote unit enters the stop state. In this state, pilot signal detection is turned off, the corresponding channel configuration is restored, and the stop state also writes the line loss calibration results to flash memory and stores the line loss calibration results.
[0103] In this embodiment, an enable pilot signal is transmitted, activating the pilot signal detection function in the FPGA and simultaneously activating the interrupt reporting function in the FPGA. Then, the MCU enters the interrupt handling program, performs ADC sampling through the MCU, and filters the sampled data. By performing table lookup transformation on the filtered sampled data, the pilot power can be obtained. It is determined whether the pilot power meets the rated power multiple times. If the pilot power meets the rated power multiple times, the pilot signal is stopped. If the pilot power does not meet the rated power multiple times, it is determined whether the pilot power is greater than the rated power. If the pilot power is greater than the rated power, the attenuation of the pilot power is increased, and the pilot signal detection function in the FPGA is activated, along with the interrupt reporting function in the FPGA. If the pilot power is not greater than the rated power, the attenuation of the pilot power is reduced, and the pilot signal detection function in the FPGA is activated, along with the interrupt reporting function in the FPGA. This achieves the goal of link calibration by allowing the remote unit to measure its line loss value under different network configurations, thus solving the technical problem of inconsistent gain of each remote unit in the RF distributed system and realizing the technical effect of consistent gain of each remote unit in the RF distributed system.
[0104] Example 3
[0105] According to embodiments of the present invention, a line loss adjustment device for coaxial cables in a radio frequency distribution system is also provided. It should be noted that this line loss adjustment device for coaxial cables in a radio frequency distribution system can be used to execute a line loss adjustment method for coaxial cables in a radio frequency distribution system as described in Embodiment 1.
[0106] Figure 6 This is a schematic diagram of a coaxial cable loss adjustment device in a radio frequency distribution system according to an embodiment of the present invention. Figure 6 As shown, the coaxial cable line loss adjustment device 600 in the radio frequency distribution system may include: an acquisition unit 601, a monitoring unit 602, a determination unit 603, and an adjustment unit 604.
[0107] The acquisition unit 601 is configured to acquire a preparation command sent from the near-end unit to at least one remote unit in the RF distribution system in response to a calibration signal sent by the near-end unit to the at least one remote unit in the RF distribution system within the operating frequency band.
[0108] The monitoring unit 602 is used to control the target device to monitor the downlink time slot and uplink time slot of the communication device in response to the preparation command.
[0109] The determining unit 603 is used to determine the pilot receiving power of the remote unit based on the pilot signal in the interval time slot between the downlink time slot and the uplink time slot.
[0110] The first adjustment unit 604 is used to adjust the line loss of the coaxial cable between the remote unit and the near unit based on the pilot received power, wherein the adjusted line loss is used to adjust the gain of at least the near unit or the remote unit.
[0111] Optionally, the coaxial cable line loss adjustment device 600 in the radio frequency distribution system may include: a second adjustment unit for adjusting the gain of the remote unit based on the time interval until the remote unit detects the pilot received power.
[0112] Optionally, the first adjustment unit 604 may include: a first determining module, used to determine the difference between the pilot transmit power of the near-end unit and the pilot receive power of the far-end unit; and a first adjustment module, used to adjust the line loss based on the difference.
[0113] Optionally, the coaxial cable line loss adjustment device 600 in the radio frequency distribution system may include: a control unit for determining the target power of the remote unit as the pilot receiving power and controlling the remote unit to output the pilot receiving power.
[0114] Optionally, the monitoring unit 602 may include: a second adjustment module, used to adjust the working mode of the target device in response to a preparation command; and a monitoring module, used to control the target device to monitor downlink and uplink time slots in response to the adjusted working mode being the target monitoring mode.
[0115] In this embodiment, the acquisition unit is used to acquire a preparation command sent from the near-end unit to the far-end unit in the RF distribution system in response to a calibration signal sent by the near-end unit to at least one far-end unit in the RF distribution system within the operating frequency band; the monitoring unit is used to control the target device to monitor the downlink time slot and the uplink time slot of the communication device in response to the preparation command; the determination unit is used to determine the pilot receiving power of the far-end unit based on the pilot signal in the time slot between the downlink time slot and the uplink time slot; and the first adjustment unit is used to adjust the line loss of the coaxial cable between the far-end unit and the near-end unit based on the pilot receiving power, wherein the adjusted line loss is used to adjust the gain of at least the near-end unit or the far-end unit, thereby achieving the goal of link calibration by allowing the far-end unit to measure its line loss value under different network configurations. This solves the technical problem of excessive error in line loss adjustment of RF coaxial cables in related technologies and achieves the technical effect of reducing the error in line loss adjustment of RF coaxial cables.
[0116] Example 4
[0117] According to an embodiment of the present invention, a computer-readable storage medium is also provided, the storage medium including a stored program, wherein the program executes the method for adjusting the line loss of a coaxial cable in the radio frequency distribution system of embodiment 1.
[0118] Example 5
[0119] According to an embodiment of the present invention, a processor is also provided for running a program, wherein the program is executed by the processor to perform the method for adjusting the line loss of a coaxial cable in the radio frequency distribution system of embodiment 1.
[0120] Example 6
[0121] According to an embodiment of the present invention, a memory is also provided, the memory including a program, wherein the program is used to execute the method for adjusting the line loss of a coaxial cable in the radio frequency distribution system of embodiment 1.
[0122] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0123] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0124] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be 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 system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0125] The units described as separate components may or may not be physically separate. Similarly, the components shown as units may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0126] Furthermore, the functional units in the various embodiments of the present invention 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.
[0127] 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 computer-readable storage medium. Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to related technologies, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0128] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for adjusting the line loss of a coaxial cable in a radio frequency distribution system, characterized in that, include: In response to a calibration signal sent by a near-end unit in a radio frequency distribution system to at least one far-end unit in the radio frequency distribution system within the operating frequency band, a preparation command sent by the near-end unit to the far-end unit is acquired. In response to the preparation command, the target device is controlled to monitor the downlink time slot and the uplink time slot of the communication device; The pilot receiving power of the remote unit is determined based on the pilot signal in the time slot between the downlink time slot and the uplink time slot. Based on the pilot received power, the line loss of the coaxial cable between the remote unit and the near unit is adjusted, wherein the adjusted line loss is used to adjust the gain of at least the near unit or the remote unit; Determining the pilot receive power of the remote unit based on the pilot signal within the time slot interval between the downlink time slot and the uplink time slot includes: determining the pilot transmit time slot of the remote unit based on the time slot interval between the downlink time slot and the uplink time slot, wherein the time slot interval is used to represent the protection gap experienced when switching from the downlink time slot to the uplink time slot, and the pilot transmit time slot is within the time slot interval; within the pilot transmit time slot, sampling the voltage data of the remote unit, and converting the sampled voltage data to obtain the pilot receive power.
2. The method according to claim 1, characterized in that, The method further includes: Based on the time slot interval, the gain of the remote unit is adjusted until the remote unit detects the pilot received power.
3. The method according to claim 1, characterized in that, Based on the pilot signal reception power, the line loss of the coaxial cable between the remote unit and the near unit is adjusted, including: Determine the difference between the pilot transmit power of the near-end unit and the pilot receive power of the far-end unit; The line loss is adjusted based on the difference.
4. The method according to claim 1, characterized in that, The method further includes: The target power of the remote unit is determined as the pilot receiving power, and the remote unit is controlled to output the pilot receiving power.
5. The method according to claim 1, characterized in that, In response to the preparation command, controlling the target device to monitor the downlink time slot and uplink time slot of the communication device includes: In response to the preparation command, adjust the operating mode of the target device; In response to the adjusted working mode being target monitoring mode, the target device is controlled to monitor the downlink time slot and the uplink time slot.
6. A device for adjusting coaxial line loss in a radio frequency distribution system, characterized in that, include: The acquisition unit is configured to acquire a preparation command sent by the near-end unit to the far-end unit in the radio frequency distribution system in response to a calibration signal sent by the near-end unit to the far-end unit in the radio frequency distribution system within the operating frequency band. The monitoring unit is configured to, in response to the preparation command, control the target device to monitor the downlink time slot and the uplink time slot of the communication device; The determining unit is used to determine the pilot receiving power of the remote unit based on the pilot signal in the time slot between the downlink time slot and the uplink time slot; The first adjustment unit is used to adjust the line loss of the coaxial cable between the remote unit and the near unit based on the pilot received power, wherein the adjusted line loss is used to adjust the gain of at least the near unit or the remote unit. The determining unit is further configured to determine the pilot receiving power of the remote unit based on the pilot signal within the interval time slot between the downlink time slot and the uplink time slot through the following steps: determining the pilot transmitting time slot of the remote unit based on the interval time slot between the downlink time slot and the uplink time slot, wherein the interval time slot is used to represent the protection gap experienced when switching from the downlink time slot to the uplink time slot, and the pilot transmitting time slot is within the interval time slot; within the pilot transmitting time slot, sampling the voltage data of the remote unit, and converting the sampled voltage data to obtain the pilot receiving power.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the method for adjusting the line loss of a coaxial cable in any one of claims 1 to 5.
8. A processor, characterized in that, The processor is used to run a program, wherein the program, when run by the processor, executes the method for adjusting the line loss of the coaxial cable in the radio frequency distribution system according to any one of claims 1 to 5.
9. A memory, characterized in that, The memory includes a program, wherein the program is used to execute the method for adjusting the line loss of the coaxial cable in the radio frequency distribution system according to any one of claims 1 to 5.
Citation Information
Patent Citations
Link gain self-adaption method and device, computer equipment and storage medium
CN112867126A
Extension subordinate machine system and signal relaying method
US20100067429A1