Line loss compensation method and apparatus, device, and readable medium

By calculating the signal power difference between the communication module and the antenna terminal and adjusting the target attenuator, the line loss compensation on the high-frequency communication line is achieved, the signal quality problem caused by the additional line loss is solved, and the signal stability is ensured.

WO2025112869A1PCT designated stage expired Publication Date: 2025-06-05ROLLING WIRELESS SARL +1

Patent Information

Application Number
PCT/CN2024/121399
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-01
Filing Date
2024-09-26
Publication Date
2025-06-05

AI Technical Summary

Technical Problem

In high-frequency communication, due to factors such as the type, length, ambient temperature, etc., losses or gain changes may occur during signal transmission, resulting in adverse impacts on signal quality and stability. It is difficult for the prior art to effectively solve the problem of additional line loss.

Method used

By obtaining the power difference between the first transmission power of the signal data of the communication module and the second transmission power when the signal data is sent from the antenna end via the communication line, the corresponding compensation parameters are calculated, and the target attenuator is adjusted according to these parameters to complete the line loss compensation on the communication line between the communication module and the antenna end.

Benefits of technology

It realizes complete compensation for losses on communication lines, solves the signal quality problems caused by additional line losses, and ensures the quality and stability of the signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024121399_05062025_PF_FP_ABST
    Figure CN2024121399_05062025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are a line loss compensation method and apparatus, a device, and a readable medium. The line loss compensation method comprises: acquiring a first sending power of a communication module sending signal data, and measuring a second sending power when the signal data is sent from an antenna end via a communication line; comparing the first sending power with the second sending power; when the first sending power is different from the second sending power, determining a compensation parameter on the basis of a power difference between the first sending power and the second sending power; and adjusting a target attenuator on the basis of the compensation parameter, so as to complete line loss compensation on the communication line between the communication module and the antenna end.
Need to check novelty before this filing date? Find Prior Art

Description

Line loss compensation method, device, equipment and readable medium

[0001] Citation of Related Applications

[0002] This disclosure claims all rights and interests in the Chinese invention patent application with application number 202311638463.6, filed with the State Intellectual Property Office of the People's Republic of China on December 1, 2023, and entitled "Line loss compensation method, device, equipment and readable medium", and incorporates the entire contents thereof into this disclosure by reference.

[0003] field

[0004] The present disclosure generally relates to the field of communication technology, and more particularly to line loss compensation methods, devices, equipment, and readable media.

[0005] background

[0006] With the advancement of communication technology, high-frequency applications are becoming increasingly widespread. However, due to factors such as transmission line type, length, and ambient temperature, signal transmission may experience loss or gain variations, which can adversely affect signal quality and stability. Currently, the sub-6 GHz band of the 5G new radio interface reaches frequencies up to 7.125 GHz. These higher frequencies require greater compensation across a wider range of frequencies, and temperature variations are more difficult to assess.

[0007] Because transmission lines or signals have large loss or gain changes at specific frequencies, fixed line loss compensation is usually applied at a specific frequency. However, different temperatures or wire aging can also produce additional line loss. The generation of additional line loss makes it impossible to compensate for fixed line loss at a specific frequency.

[0008] Overview

[0009] On the one hand, the present disclosure relates to a line loss compensation method, which includes: obtaining a first transmission power of signal data sent by a communication module, and detecting a second transmission power when the signal data is sent from an antenna end via a communication line; comparing the first transmission power and the second transmission power; when the first transmission power is different from the second transmission power, determining a compensation parameter according to the power difference between the first transmission power and the second transmission power; and adjusting a target attenuator according to the compensation parameter to complete line loss compensation on the communication line between the communication module and the antenna end.

[0010] In certain embodiments, determining a compensation parameter based on a power difference between a first transmit power and a second transmit power includes: calculating the power difference of the first transmit power minus the second transmit power; and determining the power difference as a first attenuation amount to be adjusted, and determining the first attenuation amount as the compensation parameter.

[0011] In certain embodiments, after determining the compensation parameters, the line loss compensation method further includes: obtaining the second attenuation of the current target attenuator; calculating the total attenuation of the target attenuator based on the second attenuation and the compensation parameters; and obtaining the first ambient temperature of the current environment of the communication line through a temperature acquisition device, and mapping the first ambient temperature and the total attenuation to store in a memory.

[0012] In certain embodiments, after comparing the first transmit power and the second transmit power, the method further includes: if the first transmit power and the second transmit power are the same, not adjusting the target attenuator, and obtaining the second attenuation of the current target attenuator; obtaining the first ambient temperature of the environment in which the communication line is located through a temperature acquisition device; and mapping the first ambient temperature and the second attenuation to a memory.

[0013] In certain embodiments, the line loss compensation method further includes: when the ambient temperature changes, obtaining a second ambient temperature after the change; searching a memory for a third attenuation that has a mapping relationship with the second ambient temperature; if the third attenuation exists, adjusting the target attenuator according to the third attenuation to quickly perform line loss compensation on the communication line to match the second ambient temperature.

[0014] On the other hand, the present disclosure relates to a communication device, which includes: a communication module, an antenna end, a controller and a target attenuator, wherein the communication module and the antenna end are connected through a communication line, the target attenuator is arranged on the communication line, the controller is respectively connected to the communication module, the antenna end and the target attenuator, and the communication module is configured to send signal data to the communication line with a first transmission power; the antenna end is configured to receive the signal data sent by the communication module through the communication line, and send the signal data with a second transmission power.

[0015] In certain embodiments, the controller is configured to obtain a first transmission power when the communication module sends signal data, and detect a second transmission power when the signal data is sent from the antenna end; compare the first transmission power and the second transmission power; when the first transmission power is different from the second transmission power, determine the compensation parameter according to the power difference between the first transmission power and the second transmission power; obtain the second attenuation of the current target attenuator, wherein the second attenuation is the initial attenuation value of the target attenuator; calculate the total attenuation of the target attenuator based on the second attenuation and the compensation parameter; obtain the first ambient temperature of the current environment of the communication line through a temperature acquisition device, and map the first ambient temperature and the total attenuation to a memory; the target attenuator is configured to perform line loss compensation on the communication line between the communication module and the antenna end according to the compensation parameter.

[0016] In certain embodiments, the controller is further configured to obtain a changed second ambient temperature when the first ambient temperature of the environment in which the communication line is located changes; call a third attenuation that has a mapping relationship with the second ambient temperature, and control the target attenuator according to the third attenuation to quickly compensate the line loss of the communication line to match the second ambient temperature.

[0017] On the other hand, the present disclosure relates to a line loss compensation device, which includes: an acquisition module, configured to acquire a first transmission power of signal data sent by a communication module, and detect a second transmission power when the signal data is sent from an antenna end via a communication line; a comparison module, configured to compare the first transmission power and the second transmission power; a determination module, configured to determine a compensation parameter according to a power difference between the first transmission power and the second transmission power when the first transmission power is different from the second transmission power; and an adjustment module, configured to adjust a target attenuator according to the compensation parameter to complete line loss compensation on the communication line between the communication module and the antenna end.

[0018] In yet another aspect, the present disclosure relates to a computer-readable medium having a non-volatile program code executable by a processor, wherein the program code causes the processor to execute the line loss compensation method described in the present disclosure.

[0019] In certain embodiments, line loss compensation is performed by calculating the power difference of signals sent from both ends of a communication line and then formulating compensation parameters based on the power difference. Formulating compensation parameters based on the actual power difference solves the problem that the fixed line loss compensation for a specific frequency cannot meet the line loss compensation requirements due to the generation of additional line loss.

[0020] BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for the embodiments. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0023] FIG1 is a flow chart of a line loss compensation method according to an embodiment of the present disclosure;

[0024] FIG2 is a schematic diagram of a communication device according to an embodiment of the present disclosure;

[0025] FIG3 is a schematic diagram of a line loss compensation architecture according to an embodiment of the present disclosure; and

[0026] FIG4 is a block diagram of a line loss compensation device according to an embodiment of the present disclosure.

[0027] Details

[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0029] In the subsequent description, the use of suffixes such as "module", "component" or "unit" to represent elements is only to facilitate the description of the present disclosure and has no specific meaning. Therefore, "module" and "component" can be used interchangeably.

[0030] With the advancement of communication technology, high-frequency applications are becoming increasingly widespread. However, due to factors such as transmission line type, length, and ambient temperature, signal transmission may experience loss or gain variations, which can adversely affect signal quality and stability. Currently, the sub-6 GHz band of the 5G new radio interface reaches frequencies up to 7.125 GHz. These higher frequencies require greater compensation across a wider range of frequencies, and temperature variations are more difficult to assess.

[0031] Because transmission lines or signals have large loss or gain changes at specific frequencies, fixed line loss compensation is usually applied at a specific frequency. However, different temperatures or wire aging can also produce additional line loss. The generation of additional line loss makes it impossible to compensate for fixed line loss at a specific frequency.

[0032] When the temperature changes, the actual line loss will change, but static compensation can only cover the normal temperature state and cannot meet the requirements under high and low temperature conditions; as the wire ages, the line loss will also change, and the original static line loss can no longer meet the compensation requirements.

[0033] In one aspect, the present disclosure provides an embodiment of a line loss compensation method, as shown in FIG1 , which includes:

[0034] Step 101: Acquire a first transmission power of signal data sent by a communication module, and detect a second transmission power of the signal data when it is sent from an antenna end via a communication line;

[0035] Step 103: Compare the first transmit power and the second transmit power;

[0036] Step 105: When the first transmit power is different from the second transmit power, determine a compensation parameter according to the power difference between the first transmit power and the second transmit power; and

[0037] Step 107 : Adjust the target attenuator according to the compensation parameter to complete line loss compensation on the communication line between the communication module and the antenna end.

[0038] Since wire aging and temperature changes will cause additional line loss, if you only compensate for fixed line loss at a specific frequency, you will ignore the existence of additional line loss, which may still affect signal quality.

[0039] In certain embodiments, the target attenuator provided by the present disclosure is a step attenuator.

[0040] The present invention directly calculates the power difference between the first transmission power when the communication module sends signal data and the second transmission power when the signal data is sent from the antenna end, and then calculates the corresponding compensation parameters based on the power difference. Because the signal data is sent from the communication module and transmitted to the antenna end via the communication line, it will pass through the coaxial communication cable, step attenuator, RF switch, FEM (Front-end Modules) and coupler on the communication line. Losses may occur every time it passes through a component, which results in a power difference in the power of the signal data before and after transmission. The power difference is caused by various components and other reasons (including temperature changes). Therefore, directly calculating the compensation parameters for the power difference can achieve complete compensation for the loss on the communication line.

[0041] The present disclosure can be applied to line loss compensation on communication lines, including transmitting lines and receiving lines. Although the present disclosure uses the transmitting line as an example, the scheme of the present disclosure can also be applied to line loss compensation of the receiving line, and the implementation method is similar to that of the scheme for the transmitting line.

[0042] In certain embodiments, determining the compensation parameter based on the power difference between the first transmit power and the second transmit power includes: calculating the power difference of the first transmit power minus the second transmit power; determining the power difference as the first attenuation amount to be adjusted, and determining the first attenuation amount as the compensation parameter.

[0043] In some embodiments, the target attenuator itself has been set to a certain attenuation. In order to ensure that the additional loss problem corresponding to the power difference can be overcome, the target attenuator needs to be adjusted corresponding to the power difference, specifically adjusting the attenuation of the target attenuator.

[0044] In some embodiments, the first attenuation is the attenuation that needs to be adjusted for the target attenuator, and the attenuation of the target attenuator can be adjusted by a controller.

[0045] In certain embodiments, if the communication module output power is Pm, the communication module communicates this information to the control terminal via a serial communication protocol, which then provides the control terminal with information about the module's output power. The control terminal then samples the current antenna power data, Pad, through a detection unit. At this point, the step attenuator value is assumed to be La1. If Pm = Pad, the control terminal does not control the step attenuator. If Pm ≠ Pad, the control terminal adjusts the step attenuator value from La1 to La1 + Pm - Pad, ultimately achieving Pm = Pad.

[0046] In certain embodiments, after determining the compensation parameters, the method further includes: obtaining the second attenuation of the current target attenuator; calculating the total attenuation of the target attenuator based on the second attenuation and the compensation parameters; obtaining the first ambient temperature of the current environment of the communication line through a temperature acquisition device, and mapping the first ambient temperature and the total attenuation to store in a memory.

[0047] The second attenuation is the current initial attenuation value of the target attenuator. If the first transmit power and the second transmit power are different, the compensation parameter is calculated and added to the calculated compensation parameter and the second attenuation. The total attenuation obtained is the attenuation that matches the line loss level at this time, that is, the optimal attenuation that can fully achieve line loss compensation. The total attenuation is mapped and stored with the current first ambient temperature so that the attenuation corresponding to the temperature can be directly called when the temperature changes subsequently.

[0048] In certain embodiments, after comparing the first transmit power and the second transmit power, the method further includes: if the first transmit power and the second transmit power are the same, then the target attenuator is not adjusted, and the second attenuation of the current target attenuator is obtained; obtaining the first ambient temperature of the environment in which the communication line is located through a temperature acquisition device; and mapping the first ambient temperature and the second attenuation to a memory.

[0049] If the first transmitting power and the second transmitting power are the same, it means that the second attenuation set by the current target attenuator is the optimal attenuation that can fully realize line loss compensation. The second attenuation is mapped and stored with the current first ambient temperature so that the attenuation corresponding to the temperature can be directly called when the temperature changes subsequently.

[0050] In some embodiments, when there is no need to adjust the compensation parameters, what is mapped and stored with the ambient temperature may include not only the attenuation value of the target attenuator, but also the control information of the FEM. However, in some embodiments of the present disclosure, the attenuation value of the target attenuator is used for illustration.

[0051] In certain embodiments, the method further includes: when the ambient temperature changes, obtaining a second ambient temperature after the change; searching a memory for a third attenuation that has a mapping relationship with the second ambient temperature; if the third attenuation exists, adjusting the target attenuator according to the third attenuation to quickly perform line loss compensation on the communication line to match the second ambient temperature.

[0052] In fact, not only when the temperature changes, but also when the target attenuator is started, the attenuation of the target attenuator can be quickly set by detecting the second ambient temperature of the current environment, and then calling the third attenuation that has a mapping relationship with the second ambient temperature from the memory, so as to quickly compensate the line loss of the communication line to match the second ambient temperature.

[0053] If the third attenuation does not exist, the attenuation that needs to be adjusted under the second ambient temperature can be calculated using the above method for calculating the compensation parameter.

[0054] It should be noted that the interval between the storage moment of the third attenuation and the current moment is less than the preset time (the value of the preset time is not limited and can be set according to actual conditions). Because if the interval is too long, there may be additional losses caused by aging of the wire. Then, controlling the target attenuator according to the original third attenuation will still lead to the problem of not being able to meet all compensation needs.

[0055] Therefore, if the interval between the storage moment of the third attenuation and the current moment is greater than the preset time, it is considered that the wire may have aged, and the attenuation corresponding to the second ambient temperature is calculated according to the above-mentioned method of calculating the compensation parameters, and then the attenuation and the second ambient temperature are mapped and stored in the memory.

[0056] By adjusting the target attenuator by taking the corresponding attenuation amount when the temperature changes, it can be ensured that when the environment changes, the line loss compensation function can still be performed through the intelligent dynamic line loss compensation system.

[0057] In certain embodiments, line loss compensation is performed by calculating the power difference of signals sent from both ends of a communication line and then formulating compensation parameters based on the power difference. Formulating compensation parameters based on the actual power difference solves the problem that the fixed line loss compensation for a specific frequency cannot meet the line loss compensation requirements due to the generation of additional line loss.

[0058] On the other hand, the present disclosure provides a communication device, as shown in FIG2 , comprising:

[0059] A communication module 202, an antenna end 204, a controller 206 and a target attenuator 208, wherein the communication module 202 is connected to the antenna end 204 via a communication line, the target attenuator 208 is arranged on the communication line, the controller 206 is respectively connected to the communication module 202, the antenna end 204 and the target attenuator 208, the communication module 202 is configured to send signal data to the communication line at a first transmission power; the antenna end 204 is configured to receive the signal data sent by the communication module 202 via the communication line, and send the signal data at a second transmission power.

[0060] In certain embodiments, the controller is configured to obtain a first transmission power when the communication module sends signal data, and detect a second transmission power when the signal data is sent from the antenna end; compare the first transmission power and the second transmission power; when the first transmission power is different from the second transmission power, determine the compensation parameter according to the power difference between the first transmission power and the second transmission power; obtain the second attenuation of the current target attenuator, wherein the second attenuation is the initial attenuation value of the target attenuator; calculate the total attenuation of the target attenuator based on the second attenuation and the compensation parameter; obtain the first ambient temperature of the current environment of the communication line through a temperature acquisition device, and map the first ambient temperature and the total attenuation to a memory; the target attenuator is configured to perform line loss compensation on the communication line between the communication module and the antenna end according to the compensation parameter.

[0061] In certain embodiments, the controller is further configured to obtain a changed second ambient temperature when the first ambient temperature of the environment in which the communication line is located changes; call a third attenuation that has a mapping relationship with the second ambient temperature, and control the target attenuator according to the third attenuation to quickly compensate the line loss of the communication line to match the second ambient temperature.

[0062] Figure 3 is a schematic diagram of the line loss compensation architecture provided by the present invention. As shown in the figure, the line loss compensation architecture includes: a wireless communication module, a level converter, an MCU (Microcontroller Unit), a memory, a temperature sensor, a step attenuator, a RF switch, an FEM, a coupler and an antenna, wherein the wireless communication module communicates with the MCU through a serial port via a level converter; the temperature sensor is configured to sense the ambient temperature, and is processed into a digital signal by the MCU analog-to-digital conversion and stored in the memory; the memory is configured to store the mapping relationship between the sensed ambient temperature information, the communication cable line loss information at different temperatures and the step attenuator control information; the FEM is configured to amplify the signal power of the transmitting link and the receiving link; the step attenuator is controlled by the MCU and changes dynamically with the line loss conditions of the communication cable in various states; the power detection unit at the antenna end is configured to perform power detection of the communication line (transmitting link and receiving link).

[0063] In certain embodiments, the temperature acquisition device (i.e., temperature sensor) is configured to acquire a first ambient temperature of the environment in which the communication line is located and send the first ambient temperature to the control end, and when a change in the first ambient temperature is detected, send the changed second ambient temperature to the control end.

[0064] In some embodiments, the memory is configured to store a mapping relationship between the ambient temperature and the attenuation amount.

[0065] In certain embodiments, the control end is further configured to, upon receiving a second ambient temperature sent by the temperature acquisition device, call a third attenuation value mapped to the second ambient temperature through a memory, and control the target attenuator according to the third attenuation value, so as to quickly compensate the communication line for line loss that matches the second ambient temperature.

[0066] In certain embodiments, the target attenuator provided by the present disclosure is a step attenuator.

[0067] In fact, not only when the temperature changes, but also when the target attenuator is started, the attenuation of the target attenuator can be quickly set by detecting the second ambient temperature of the current environment, and then calling the third attenuation that has a mapping relationship with the second ambient temperature from the memory, so as to quickly compensate the line loss of the communication line to match the second ambient temperature.

[0068] If the third attenuation does not exist, the attenuation that needs to be adjusted under the second ambient temperature is calculated according to the above method for calculating the compensation parameter.

[0069] It should be noted that the interval between the storage moment of the third attenuation and the current moment is less than the preset time (the value of the preset time is not limited and can be set according to actual conditions). Because if the interval is too long, there may be additional losses caused by aging of the wire. Then, controlling the target attenuator according to the original third attenuation will still lead to the problem of not being able to meet all compensation needs.

[0070] Therefore, if the interval between the storage moment of the third attenuation and the current moment is greater than the preset time, it is considered that the wire may have aged, and the attenuation corresponding to the second ambient temperature is calculated according to the above-mentioned method of calculating the compensation parameters, and then the attenuation and the second ambient temperature are mapped and stored in the memory.

[0071] By adjusting the target attenuator by taking the corresponding attenuation amount when the temperature changes, it can be ensured that when the environment changes, the line loss compensation function can still be performed through the intelligent dynamic line loss compensation system.

[0072] In another aspect, the present disclosure provides a line loss compensation device, as shown in FIG4 , comprising:

[0073] An acquisition module 402 is configured to acquire a first transmission power of signal data sent by the communication module, and detect a second transmission power of the signal data when it is sent from the antenna end via the communication line;

[0074] A comparison module 404 is configured to compare the first transmit power and the second transmit power;

[0075] a determining module 406 configured to determine a compensation parameter according to a power difference between the first transmit power and the second transmit power when the first transmit power is different from the second transmit power; and

[0076] The adjustment module 408 is configured to adjust the target attenuator according to the compensation parameter to complete the line loss compensation on the communication line between the communication module and the antenna end.

[0077] It should be noted that the acquisition module 402 in this embodiment can be configured to execute step 101 in the embodiment of the present disclosure, the comparison module 404 in this embodiment can be configured to execute step 103 in the embodiment of the present disclosure, the determination module 406 in this embodiment can be configured to execute step 105 in the embodiment of the present disclosure, and the adjustment module 408 in this embodiment can be configured to execute step 107 in the embodiment of the present disclosure.

[0078] In some embodiments, the determination module 406 is configured to calculate a power difference of the first transmit power minus the second transmit power; determine the power difference as a first attenuation to be adjusted, and determine the first attenuation as a compensation parameter.

[0079] In certain embodiments, the device also includes a first storage module, configured to obtain the second attenuation of the current target attenuator after determining the compensation parameter; calculate the total attenuation of the target attenuator based on the second attenuation and the compensation parameter; obtain the first ambient temperature of the current environment of the communication line through a temperature acquisition device, and map the first ambient temperature and the total attenuation to store in the memory.

[0080] In certain embodiments, the device also includes a second storage module, which is configured to, after comparing the first transmit power and the second transmit power, not adjust the target attenuator if the first transmit power and the second transmit power are the same, and obtain the second attenuation of the current target attenuator; obtain the first ambient temperature of the environment in which the communication line is located through a temperature acquisition device; and store the first ambient temperature and the second attenuation mapping in the memory.

[0081] In certain embodiments, the device further includes a processing module configured to obtain a changed second ambient temperature when the ambient temperature changes; search a memory for a third attenuation that has a mapping relationship with the second ambient temperature; and if the third attenuation exists, adjust the target attenuator according to the third attenuation to quickly perform line loss compensation on the communication line to match the second ambient temperature.

[0082] It should be noted here that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments.

[0083] In certain embodiments, the electronic device disclosed herein may be a module capable of implementing communication functions or a terminal device containing such a module. The terminal device may be a mobile terminal or a smart terminal. A mobile terminal may specifically be at least one of a mobile phone, a tablet computer, and a laptop computer. A smart terminal may specifically be a terminal containing a wireless communication module, such as a smart car, a smart watch, a shared bicycle, or a smart cabinet. A module may specifically be a wireless communication module, such as a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, or an NB-IoT communication module.

[0084] In yet another aspect, the present disclosure also provides a computer-readable medium having non-volatile program code executable by a processor.

[0085] In some implementation schemes, the specific examples in this embodiment can refer to the examples described in the above embodiments, and this embodiment will not be repeated here.

[0086] When implementing the embodiments of the present disclosure, reference may be made to the above embodiments, and the embodiments have corresponding technical effects.

[0087] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present disclosure, or a combination thereof.

[0088] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0089] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0090] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0091] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0092] 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0093] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0094] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present disclosure, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present disclosure. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, ROM, RAM, a magnetic disk, or an optical disk. It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. Without further constraints, an element defined by the phrase "comprises a..." does not preclude the existence of additional identical elements in the process, method, article or apparatus that includes the element.

[0095] The foregoing description is intended only to provide specific embodiments of the present disclosure, which will enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments shown herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A line loss compensation method, comprising: Acquire a first transmission power of signal data sent by the communication module, and detect a second transmission power when the signal data is sent from the antenna end via the communication line; comparing the first transmit power and the second transmit power; When the first transmit power is different from the second transmit power, determining a compensation parameter according to a power difference between the first transmit power and the second transmit power; as well as The target attenuator is adjusted according to the compensation parameter to complete the line loss compensation on the communication line between the communication module and the antenna end.

2. The line loss compensation method according to claim 1, wherein determining the compensation parameter according to the power difference between the first transmit power and the second transmit power comprises: Calculating the power difference of the first transmit power minus the second transmit power; as well as The power difference is determined as a first attenuation amount to be adjusted, and the first attenuation amount is determined as the compensation parameter.

3. The line loss compensation method according to claim 1 or 2, wherein after determining the compensation parameter, the method further comprises: Acquire the second attenuation value of the current target attenuator; Calculate the total attenuation of the target attenuator according to the second attenuation and the compensation parameter; as well as The first ambient temperature of the current environment of the communication line is acquired through a temperature acquisition device, and the first ambient temperature and the total attenuation are mapped and stored in a memory.

4. The line loss compensation method according to any one of claims 1 to 3, wherein after comparing the first transmission power and the second transmission power, the method further comprises: If the first transmission power and the second transmission power are the same, the target attenuator is not adjusted, and a current second attenuation of the target attenuator is acquired; Acquire a first ambient temperature of the environment in which the communication line is located by a temperature acquisition device; as well as The first ambient temperature and the second attenuation amount are mapped and stored in a memory.

5. The line loss compensation method according to claim 3 or 4, wherein the method further comprises: When the ambient temperature changes, obtaining a second ambient temperature after the change; searching the memory for a third attenuation amount that has a mapping relationship with the second ambient temperature; If the third attenuation exists, the target attenuator is adjusted according to the third attenuation to quickly perform line loss compensation on the communication line to match the second ambient temperature.

6. Communication equipment, comprising: A communication module, an antenna end, a controller and a target attenuator, wherein the communication module is connected to the antenna end via a communication line, the target attenuator is arranged on the communication line, the controller is respectively connected to the communication module, the antenna end and the target attenuator, the communication module is configured to send signal data to the communication line with a first transmission power; the antenna end is configured to receive the signal data sent by the communication module via the communication line, and send the signal data with a second transmission power.

7. The communication device according to claim 6, wherein the controller is configured to obtain the first transmission power when the communication module sends the signal data, and detect the second transmission power when the signal data is sent from the antenna end; compare the first transmission power and the second transmission power; In the case where the first transmission power is different from the second transmission power, a compensation parameter is determined according to the power difference between the first transmission power and the second transmission power; a second attenuation of the current target attenuator is obtained, wherein the second attenuation is an initial attenuation value of the target attenuator; a total attenuation of the target attenuator is calculated according to the second attenuation and the compensation parameter; a first ambient temperature of the current environment of the communication line is obtained through a temperature acquisition device, and the first ambient temperature and the total attenuation are mapped and stored in a memory; The target attenuator is configured to perform line loss compensation on the communication line between the communication module and the antenna end according to the compensation parameters.

8. A communication device as described in claim 6 or 7, wherein the controller is also configured to obtain a changed second ambient temperature when the first ambient temperature of the environment in which the communication line is located changes; call a third attenuation amount that has a mapping relationship with the second ambient temperature, and control the target attenuator according to the third attenuation amount to quickly perform line loss compensation on the communication line to match the second ambient temperature.

9. A line loss compensation device, comprising: An acquisition module configured to acquire a first transmission power of a communication module that sends signal data, and detect a second transmission power when the signal data is sent from an antenna end via a communication line; a comparison module, configured to compare the first transmit power and the second transmit power; a determination module, configured to determine a compensation parameter according to a power difference between the first transmit power and the second transmit power when the first transmit power is different from the second transmit power; as well as The adjustment module is configured to adjust the target attenuator according to the compensation parameter to complete the line loss compensation on the communication line between the communication module and the antenna end.

10. A computer-readable medium having a non-volatile program code executable by a processor, wherein the program code causes the processor to execute the line loss compensation method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Transmission power adjustment method and device, terminal test system and electronic terminal

    CN108234035A

  • Line loss calibration method, device and system and computer readable storage medium

    CN112019279A

  • Line loss calibration method, device and system, medium and equipment

    CN115051762A

  • Power compensation method, V2X system, vehicle and storage medium

    CN116801366A

  • Line loss compensation method, device, equipment and readable medium

    CN117880950A

Cited By

  • Link test method, computer equipment, storage medium and program product

    CN120750804A