Method and device for measuring voltage standing wave ratio
By reusing the digital predistortion function in the RRU hardware, and utilizing the training sequence and time window detection with full-power transmission, the problems of large hardware measurement circuit space occupation and unstable software measurement accuracy are solved, achieving stable and accurate voltage standing wave ratio measurement, and reducing cost and equipment size.
Patent Information
- Application Number
- CN202511280184.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-08
- Publication Date
- 2025-12-02
AI Technical Summary
Existing voltage standing wave ratio (VSWR) measurement methods require large hardware measurement circuits and are costly, while software measurements are not accurate when business data traffic changes drastically or infrequently.
By reusing the hardware of digital predistortion function in the RRU, utilizing the training sequence and time window detection of full-power transmission, and combining switch and branch design, voltage standing wave ratio (VSWR) measurement can be achieved, reducing hardware costs and improving measurement accuracy.
It achieves stable and accurate voltage standing wave ratio measurement in complex scenarios, reducing hardware modification costs and equipment size.
Smart Images

Figure CN121049581A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic information technology, and in particular to a method and apparatus for measuring voltage standing wave ratio (VSWR). Background Technology
[0002] The measurement of voltage standing wave ratio (VSWR), such as that for remote radio units (RRUs), is of great significance.
[0003] There is still room for improvement in the current technology for measuring VSWR. Summary of the Invention
[0004] In view of the above problems, this application provides a method and apparatus for measuring voltage standing wave ratio (VSWR) to improve the accuracy of VSWR measurement. The specific solution is as follows:
[0005] The first aspect of this application provides a method for measuring voltage standing wave ratio (VSWR), applied to a baseband processing unit (BBU), the method comprising:
[0006] The system transmits a signal, which includes a training sequence. The training sequence includes at least one symbol transmitted at full power. The full power includes a difference from the baseband signal calibration power not exceeding a first threshold. The training sequence is used to measure the voltage standing wave ratio (VSWR).
[0007] In one possible implementation, the symbols in the training sequence are multiple consecutive symbols.
[0008] A second aspect of this application provides a method for measuring voltage standing wave ratio (VSWR), applied to a radio frequency remote unit (RRU), the method comprising:
[0009] In at least one time window, a training sequence is detected from the transmitted signal based on the average signal power, wherein the transmitted signal is the transmitted signal described in the first aspect of this application, and the training sequence is a symbol sequence whose average signal power is greater than a preset threshold value.
[0010] The transmitted signal within the target time window is collected as the target transmitted signal, and the reflected signal within the target time window is collected as the target reflected signal, wherein the target time window is the time window in which the training sequence is detected;
[0011] The voltage standing wave ratio (VSWR) is calculated based on the power of the target transmitted signal and the power of the target reflected signal. In one possible implementation, detecting the training sequence from the transmitted signal based on the average signal power includes:
[0012] Within the first time window, a portion of the transmitted signal is captured, where the first time window can be any time window.
[0013] If the average power of the portion of the signal is greater than a preset threshold, the training sequence is determined to have been detected.
[0014] In one possible implementation, the length of the time window is less than the time length occupied by the training sequence.
[0015] A third aspect of this application provides an RRU, comprising:
[0016] switch;
[0017] The first stationary terminal of the switch is connected to the first branch, and the second stationary terminal of the switch is connected to the second branch. The first branch is used to transmit a first signal, which is obtained by converting the transmitted signal generated by the BBU. The second branch is used to receive the reflected signal of the transmitted signal.
[0018] The moving end of the switch is connected to a branch for implementing a first function, which is different from measuring the standing wave ratio, and the first function is implemented based on the first signal.
[0019] In one possible implementation, the first function includes: digital predistortion.
[0020] A fourth aspect of this application provides a method for measuring voltage standing wave ratio (VSWR), applied to the RRU described in the third aspect of this application, the method comprising:
[0021] The moving end of the control switch is connected to the second stationary end of the control switch;
[0022] In at least one time window, a training sequence is detected from the transmitted signal based on the average signal power, wherein the transmitted signal is the transmitted signal described in the first aspect of this application, and the training sequence is a symbol sequence whose average signal power is greater than a preset threshold value.
[0023] The first acquisition end acquires the transmitted signal within the target time window as the target transmitted signal, and the second acquisition end acquires the reflected signal within the target time window as the target reflected signal. The target time window is the time window for detecting the training sequence. The first acquisition end is located on the first connection branch between the digital predistortion module and the analog domain module of the RRU, and the second acquisition end is located on the second connection branch between the digital predistortion module and the analog domain module. The first connection branch is used to transmit the transmitted signal, and the second connection branch is used to transmit the reflected signal.
[0024] The voltage standing wave ratio (VSWR) is calculated based on the power of the target's transmitted signal and the power of the target's reflected signal.
[0025] In one possible implementation, the moving end of the control switch is connected to a second stationary end of the switch, including:
[0026] In the first cycle, the moving end of the control switch is connected to the second stationary end of the control switch. The first cycle is different from the second cycle, which is the cycle for implementing the digital predistortion. In the second cycle, the moving end of the control switch is connected to the first stationary end of the control switch.
[0027] The fifth aspect of this application provides a voltage standing wave ratio (VSWR) measurement system, comprising: a BBU for implementing the voltage VSWR measurement method provided in the first aspect of this application and an RRU provided in the third aspect of this application.
[0028] The sixth aspect of this application provides a voltage standing wave ratio (VSWR) measuring device, comprising: a module for implementing the voltage VSWR measuring method provided in any implementation of the first or second aspect of this application.
[0029] The seventh aspect of this application provides a computer program product including computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement a voltage standing wave ratio (VSWR) measurement method according to any implementation of the first or second aspect described above.
[0030] The eighth aspect of this application provides a computer storage medium carrying one or more computer programs that, when executed by an electronic device, enable the electronic device to perform a method for measuring the voltage standing wave ratio (VSWR) of any implementation of the first or second aspect described above.
[0031] By employing the above technical solution, the voltage standing wave ratio (VSWR) measurement method and apparatus provided in this application transmit a signal, the transmitted signal including a training sequence, the training sequence including at least one symbol transmitted at full power, the full power including a difference from the baseband signal calibration power not exceeding a first threshold. Therefore, the power of the target transmitted signal acquired based on the training sequence will not be very small, which is beneficial to improving the accuracy of the measurement results and the stability in complex scenarios. Attached Figure Description
[0032] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0033] Figure 1 A structural example diagram of an RRU capable of measuring VSWR is provided in this application;
[0034] Figure 2 A flowchart of a voltage standing wave ratio measurement method provided in this application;
[0035] Figure 3 Example diagram of a 4G LTE FDD radio frame;
[0036] Figure 4 This is an example diagram of a training sequence for detection based on a time-sliding window.
[0037] Figure 5 This is a schematic diagram illustrating the hardware delay between transmitted and received signals. Detailed Implementation
[0038] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.
[0039] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0040] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0041] During their research, the inventors discovered that there are at least the following problems with the measurement of VSWR of RRU:
[0042] 1. The method of measuring VSWR by relying on hardware measurement circuits has the advantages of stability, reliability and low possibility of false detection. However, the hardware measurement circuits occupy a large space, resulting in a larger size of RRU. In addition, the high cost of hardware measurement circuits increases the cost of RRU.
[0043] 2. When the service data traffic transmitted from the BBU and then to the RRU changes drastically, or when the service data traffic is low or even nonexistent, the absolute power values of the transmitted and reflected signals collected for calculating VSWR may be low. In this case, the result calculated based on the ratio of the low absolute values of the transmitted and reflected signals cannot reflect the true VSWR. Therefore, when the service data traffic is low or nonexistent, the VSWR calculated by software is inaccurate. When the service data traffic changes drastically, the VSWR calculated by software may also be inaccurate when the service data traffic is low, thus resulting in an instability in accuracy.
[0044] In conclusion, there is still room for improvement in the existing methods for measuring VSWR.
[0045] To address the above problems, embodiments of this application disclose a VSWR measuring device and a measurement method based on the device.
[0046] Figure 1 This is a structural example diagram of a VSW R measurement system that includes a BBU and an RRU capable of measuring VSWR. The RRU capable of measuring VSWR is an improvement over existing RRUs, allowing the measurement of VSWR to reuse some hardware with the existing Digital Pre-Distortion (DPD) function of the RRU. Therefore, it can reduce the hardware modification cost of the RRU.
[0047] Figure 1 The switch and the bolded lines in the diagram are new additions for measuring VSWR. When the switch is on, the DPD function is enabled on branch 1 connected to port 1 of the circulator; when the switch is on, the VSWR measurement function is enabled on branch 2 connected to port 3 of the circulator.
[0048] In this embodiment, the first stationary terminal of the switch is connected to the first branch (i.e., branch 1), and the second stationary terminal of the switch is connected to the second branch (i.e., branch 2). The first branch is used to transmit the first signal, which is obtained by converting the transmitted signal generated by the BBU. The second branch is used to receive the reflected signal of the transmitted signal. The moving terminal of the switch is connected to the branch used to realize the first function. The first function is different from the function of measuring the standing wave ratio. In this embodiment, the first function is taken as DPD as an example. The first function is realized based on the first signal.
[0049] The time range for DPD and VSWR can be pre-configured. For example, in the first cycle, the moving end of the control switch is connected to the first stationary end of the switch, and DPD is performed based on the acquired signal. In the second cycle, the moving end of the control switch is connected to the second stationary end of the switch, and signals are acquired at P1 and P2 to calculate VSWR. The first cycle and the second cycle are different.
[0050] Figure 1 In addition to the components mentioned above, the unit also includes other parts, such as: BBU, Digital Up Converter (DUC), Crest Factor Reduction (CFR), Digital Attenuator (DATT), Digital-to-Analog Converter (DAC), Radio Frequency System on Chip (RFSOC), Low Pass Filter (LPF), Power Amplifier (PA), Attenuator (ATT), Gain Block, Orthogonal Error Correction (QEC), and Load. The functions of these other parts are the same as those of existing RRUs, and will not be described in detail here.
[0051] It should be noted that, Figure 1 The VSWR detection point in the diagram represents the theoretical location for detecting VSWR. However, detecting VSWR at this location requires additional hardware circuitry. Since the signal gain in the analog domain between P1 and P2 and the VSWR detection point is deterministic and knowable, VSWR can be derived based on the power at P1 and P2 without the need for additional hardware circuitry.
[0052] Figure 1 The RRU shown only adds a switch and achieves VSWR measurement by reusing the existing DPD feedback channel, without requiring a separate dedicated VSWR detection circuit. Compared to existing setups that use independent RF circuits and ADCs to acquire and process VSWR signals, Figure 1 This part of the circuit is not present, thus saving hardware.
[0053] The following will combine Figure 2 ,right Figure 1 The procedure for measuring VSWR using RRU is explained in detail.
[0054] Figure 2 The process includes the following steps:
[0055] S11. The Baseband Unit (BBU) transmits the transmission signal, including the training sequence.
[0056] During the BBU's signal transmission cycle, the BBU transmits a transmit signal TX0, which is composed of radio frames. Taking a 4G LTE FDD radio frame as an example... Figure 3 As shown, the radio frame length is 10ms, and each frame is divided into 10 subframes of the same size. Each subframe is divided into two time slots of the same size, meaning each radio frame contains 20 time slots of the same size, and each time slot is 0.5ms. In a normal CP configuration, one time slot contains 7 consecutive OFDM symbols.
[0057] The transmitted signal TX0 includes a training sequence, which refers to N consecutive symbols used to measure VSWR, where N is an integer greater than or equal to 1. For example, assuming the BBU generates and transmits the training sequence at a period of 1 second, the training sequence consists of 2 consecutive OFDM symbols (e.g., symbol2 to symbol3). There are 100 radio frames per second, 20 time slots per radio frame, and 7 symbols per time slot. That is, 2 symbols out of every 14,000 symbols are used as the training sequence.
[0058] Besides having N consecutive Symbols, the training sequence also has a special power characteristic: the signal power in the digital domain is fixed and at full power, unaffected by traffic volume or transmit power. Full power means it is close to the calibrated power of the baseband signal; close means the difference is no greater than a first threshold, which can be pre-configured based on requirements. For example, assuming the calibrated power of the baseband signal is -14 dBfs, the average power of the training sequence will also be -14 dBfs.
[0059] Based on the characteristics and special features of the training sequences mentioned above, it is known that the longer N is, the more conducive it is to the detection of the training sequences, but the greater the power required. In practice, the value of N can be configured according to the needs.
[0060] The training sequence is transmitted at full power. In addition to being able to distinguish the symbols of the training sequence from those of other non-training sequences, it also has the following advantages: it increases the average power of the target transmitted signal, thereby reducing the possibility that the absolute value of the forward power used to measure VSWR is too small and affects the accuracy of the VSWR measurement results.
[0061] It is understandable that the transmitted signal may or may not contain service data.
[0062] S12 and RRU detect training sequences from the transmitted signal based on the average signal power within at least one time window.
[0063] The special power of the training sequence enables the differentiation between the training sequence and other symbols in the non-training sequence based on power. That is, in at least one time window, in the transmitted signal TX0, a symbol sequence with an average power greater than a set threshold is detected. For example, with a sliding window of length T, a segment of the transmitted signal TX0 is intercepted. If the average power of the intercepted signal is greater than the set threshold, then the training sequence is detected.
[0064] The length of T is related to the duration of the training sequence. To improve detection accuracy, T is set to a value shorter than the duration of the training sequence. Figure 4 For example, assuming the training sequences are Symbol2 and Symbol3, then T is less than the sum of the durations of Symbol2 and Symbol3. Figure 4 In the diagram, tn, tn+1, tn+2, ..., tn+m (where m is an integer greater than 0) are sliding windows. It can be understood that the signal is captured by a sliding window of length T. This can be seen as the sliding window sliding relative to the transmitted signal TX0. The average power of the signal captured in each sliding window is calculated. If the average power of the signal captured in the tn+m-th sliding window is greater than the set threshold value, it means that the training sequence has been detected in the tn+m-th sliding window.
[0065] It is understandable that the threshold value is configured based on the average power of the signal in the training sequence, meaning that the threshold value can distinguish the symbols of the training sequence from those of other non-training sequences.
[0066] S13, RRU collects the target transmission signal in the target time window from the transmission signal TX0 transmitted by BBU, and collects the target reflection signal in the target time window from the reflection signal ORX0.
[0067] The target time window is the time window in which the training sequence is detected.
[0068] Combination Figure 1 As shown, the transmit signal TX0 transmitted by the BBU is transmitted from the digital domain to the analog domain via the RRU. For example, a training sequence is detected at P1. The sliding window where the training sequence is detected is called the target sliding window. When the training sequence is detected, the transmit signal in the target sliding window is collected as the target transmit signal.
[0069] The reflected signal ORX0 refers to the signal received by the RRU, combined with... Figure 1As shown, the RRU receives reflected signals via an antenna. When a training sequence is detected, the target reflected signal corresponding to the target transmitted signal is also acquired. The target reflected signal corresponding to the target transmitted signal refers to the signal within the reflected signal ORX0 that is in the same time range as the target transmitted signal. For example, the same time range is determined by a sliding window; that is, the transmitted signal and the reflected signal correspond within the same sliding window. Therefore, if the sliding window that detects the training sequence is the target sliding window, then the reflected signal in the target sliding window is the target reflected signal.
[0070] Combination Figure 1 As shown, the reflected signal received by the RRU is output through port 3 of the circulator when the switch is connected to branch 2, and then transmitted from the analog domain to the digital domain. Therefore, the target reflected signal is collected at point P2.
[0071] For example, within the target sliding window, the transmitted signal and the reflected signal are collected at points P1 and P2 respectively to obtain the target transmitted signal and the target reflected signal.
[0072] Combination Figure 1 As shown, the first acquisition terminal P1 is located on the first connection branch between the digital predistortion (DPD) module and the analog domain module of the RRU. The first connection branch is used to transmit the transmitted signal. The second acquisition terminal P2 is located on the second connection branch between the digital predistortion (DPD) module and the analog domain module. The second connection branch is used to transmit the reflected signal.
[0073] It should be noted that P1 is not the only location for detecting the training sequence. P1 was chosen because it is the junction between the digital and analog domains in this system. The power of the digital signal before P1 may need to be fine-tuned in some cases as required, while the power of the analog domain will be adjusted in steps as required. Therefore, detecting at P1 facilitates the calculation and derivation of the power at the VSWR detection point. The same applies to P2.
[0074] Combination Figure 1 As shown, before executing S13, the moving end of the control switch is connected to the second stationary end of the switch to lay the hardware foundation for acquiring the target reflection signal. In some implementations, the component connecting the moving end of the control switch to the second stationary end of the switch is the control module in the RRU. Figure 1 (not shown in the image) or other modules.
[0075] S14, RRU aligns the target transmitted signal and the target reflected signal.
[0076] by Figure 5 For example, due to hardware reasons, there is a time delay between the transmitted signal and the reflected signal (called hardware delay). In order to improve the accuracy of VSWR measurement results, it is necessary to align the target transmitted signal and the target reflected signal in time.
[0077] Correlation operations are performed on the target's transmitted signal and the target's reflected signal to align them in time, thereby eliminating calculation errors caused by hardware delays.
[0078] S15 and RRU calculate VSWR based on the target reflection signal after alignment of the target transmission signal.
[0079] For example, calculate the power P1 of the target transmitted signal, P1 and the downlink gain value (the gain value can be set by the RRU), i.e., the forward power Pf, and calculate the power P2 of the target reflected signal aligned with the target transmitted signal, P2 and the attenuation value on the feedback link, i.e., the reverse power Pr. Based on formula (1), obtain VSWR:
[0080]
[0081] Figure 2 The illustrated process provides a method that, on the one hand, enables VSWR measurement by adding branch 2 and a switch, allowing reuse of the hardware implementing the DPD function in the RRU. Therefore, the hardware modification cost is low, and the amount of new hardware required is minimal, thus not occupying excessive space and contributing to the miniaturization of the RRU. On the other hand, by transmitting the training sequence at full power, the power of the acquired target transmitted signal will not be small, thereby improving the accuracy of the measurement results and stability in complex scenarios, such as those with drastic changes in the service data traffic transmitted by the RRU. The measurement results are not only accurate but also remarkably stable.
[0082] exist Figure 2 In the process shown, the execution subject of S14 and S15 is the RRU. However, the execution subject of S14 and S15 can also be other computing devices besides the RRU, such as newly added modules of the RRU or the DPD module.
[0083] Embodiments of this application also provide a voltage standing wave ratio (VSWR) measuring device, including a module for implementing the method described in the above embodiments.
[0084] In some implementations, the voltage standing wave ratio (VSWR) measurement device includes a transmission module for transmitting a transmitted signal, the transmitted signal including a training sequence, the training sequence including at least one symbol transmitted at full power, the full power including a difference from the baseband signal calibration power not greater than a first threshold, the training sequence being used to measure the VSWR. In this implementation, the transmission module can be located in the BBU (Baseband Unit).
[0085] In some implementations, the voltage standing wave ratio (VSWR) measurement device includes a detection module, an acquisition module, and a calculation module. The detection module detects a training sequence from the transmitted signal based on the average signal power within at least one time window. The transmitted signal, as described above, is a sequence of symbols with an average signal power greater than a preset threshold. The acquisition module acquires the transmitted signal within a target time window as the target transmitted signal and the reflected signal within the target time window as the target reflected signal. The target time window is the time window in which the training sequence is detected. The calculation module calculates the VSWR based on the power of the target transmitted signal and the power of the target reflected signal. In this implementation, the detection module, acquisition module, and calculation module can be housed within the RRU (Remotely Received Unit).
[0086] For example, in addition to the detection module, acquisition module, and calculation module, the voltage standing wave ratio measuring device also includes a control module for controlling the moving end of the switch to be connected to the second stationary end of the switch.
[0087] For details on the specific implementation of the functions of each of the above modules, please refer to the above embodiments.
[0088] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the voltage standing wave ratio (VSWR) measurement methods provided in this application.
[0089] This application also provides a computer-readable storage medium carrying one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the voltage standing wave ratio (VSWR) measurement methods provided in this application.
[0090] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0091] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0092] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0093] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A method for measuring voltage standing wave ratio (VSWR), characterized in that, Applied to a baseband processing unit (BBU), the method includes: The system transmits a signal, which includes a training sequence. The training sequence includes at least one symbol transmitted at full power. The full power includes a difference from the baseband signal calibration power not exceeding a first threshold. The training sequence is used to measure the voltage standing wave ratio (VSWR).
2. The method according to claim 1, characterized in that, The symbols in the training sequence are multiple consecutive symbols.
3. A method for measuring voltage standing wave ratio, characterized in that, The method, applied to a radio frequency remote unit (RRU), includes: In at least one time window, a training sequence is detected from the transmitted signal based on the average signal power, wherein the transmitted signal is the transmitted signal according to any one of claims 1-2, and the training sequence is a symbol sequence whose average signal power is greater than a preset threshold value; The transmitted signal within the target time window is collected as the target transmitted signal, and the reflected signal within the target time window is collected as the target reflected signal, wherein the target time window is the time window in which the training sequence is detected; The voltage standing wave ratio (VSWR) is calculated based on the power of the target's transmitted signal and the power of the target's reflected signal.
4. The method according to claim 3, characterized in that, The method of detecting training sequences from transmitted signals based on average signal power includes: Within the first time window, a portion of the transmitted signal is captured, where the first time window can be any time window. If the average power of the portion of the signal is greater than a preset threshold, the training sequence is determined to have been detected.
5. The method according to claim 3 or 4, characterized in that, The length of the time window is less than the time length occupied by the training sequence.
6. An RRU, characterized in that, include: switch; The first stationary terminal of the switch is connected to the first branch, and the second stationary terminal of the switch is connected to the second branch. The first branch is used to transmit a first signal, which is obtained by converting the transmitted signal generated by the BBU. The second branch is used to receive the reflected signal of the transmitted signal. The moving end of the switch is connected to a branch for implementing a first function, which is different from measuring the standing wave ratio, and the first function is implemented based on the first signal.
7. The RRU according to claim 6, characterized in that, The first function includes: digital predistortion.
8. A method for measuring voltage standing wave ratio, characterized in that, Applied to the RRU according to any one of claims 6-7, the method comprises: The moving end of the control switch is connected to the second stationary end of the control switch; In at least one time window, a training sequence is detected from the transmitted signal based on the average signal power, wherein the transmitted signal is the transmitted signal according to any one of claims 1-2, and the training sequence is a symbol sequence whose average signal power is greater than a preset threshold value; The first acquisition terminal acquires the transmitted signal within the target time window as the target transmitted signal, and the second acquisition terminal acquires the reflected signal within the target time window as the target reflected signal. The target time window is the time window for detecting the training sequence. The first acquisition terminal is located on the first connection branch between the digital predistortion module and the analog domain module of the RRU, and the second acquisition terminal is located on the second connection branch between the digital predistortion module and the analog domain module. The first connection branch is used to transmit the transmitted signal, and the second connection branch is used to transmit the reflected signal. The voltage standing wave ratio (VSWR) is calculated based on the power of the target's transmitted signal and the power of the target's reflected signal.
9. The method according to claim 8, characterized in that, The control of connecting the moving end of the switch to the second stationary end of the switch includes: In the first cycle, the moving end of the control switch is connected to the second stationary end of the control switch. The first cycle is different from the second cycle, which is the cycle for implementing the digital predistortion. In the second cycle, the moving end of the control switch is connected to the first stationary end of the control switch.
10. A voltage standing wave ratio (VSWR) measurement system, characterized in that, include: The BBU used to implement the method of any one of claims 1-2 and the RRU of any one of claims 6-7.
11. A computer program product, characterized in that, Includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-5.
12. A computer storage medium, characterized in that, The storage medium carries one or more computer programs that, when executed by an electronic device, enable the electronic device to perform the method as described in any one of claims 3-5.
