CN112867126B - Method, device, computer equipment and storage medium for self-adapting link gain - Google Patents

Method, device, computer equipment and storage medium for self-adapting link gain Download PDF

Info

Publication number
CN112867126B
CN112867126B CN202011587921.4A CN202011587921A CN112867126B CN 112867126 B CN112867126 B CN 112867126B CN 202011587921 A CN202011587921 A CN 202011587921A CN 112867126 B CN112867126 B CN 112867126B
Authority
CN
China
Prior art keywords
signal
insertion loss
time slot
link
loss value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011587921.4A
Other languages
Chinese (zh)
Other versions
CN112867126A (en
Inventor
陈海宇
刘兴伟
樊奇彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN202011587921.4A priority Critical patent/CN112867126B/en
Publication of CN112867126A publication Critical patent/CN112867126A/en
Application granted granted Critical
Publication of CN112867126B publication Critical patent/CN112867126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/242TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account path loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets

Abstract

The invention relates to a method, a device, computer equipment and a storage medium for self-adapting link gain, wherein the method is applied to a TDD system, and the following steps are executed in a remote unit: receiving a first signal sent by an expansion unit through a feeder line; extracting a control signal from the first signal; extracting a time slot signal from the control signal, wherein the time slot signal is positioned in an idle time slot of the TDD system; determining a first insertion loss value of the feeder line according to the time slot signal; and adjusting the gain of the link according to the first insertion loss value. The invention realizes the insertion loss of the detection signal cable in-band transmission detection, does not influence the performance and the work of the system, and has low cost and high detection accuracy.

Description

Method, device, computer equipment and storage medium for self-adapting link gain
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for link gain adaptation.
Background
With the large-scale use of 4G networks and the gradual popularization of 5G networks, a time division duplex (Time Division Duplex, abbreviated as TDD) mode is used to silence the mainstream and standards in the communication field, and the TDD mode is characterized by time division duplex, that is, the transceiving uses the same frequency band and controls the on and off of a transceiving link by time sharing. The active distribution system comprises a host unit (AU), an Extension Unit (EU) and a Remote Unit (RU), wherein optical fiber transmission can be adopted between the host unit and the extension unit, and analog feeder line transmission can be adopted between the extension unit and the remote unit. Because the length, the material, the manufacturing process and the production time of the analog feeder line all affect the insertion loss of the cable, in order to ensure the stability of the system and the convenience of engineering, the insertion loss of the feeder line needs to be measured and offset by a gain compensation method of the system, so that the gain balance of the whole communication system is ensured.
In the prior art, it is disclosed that a point frequency signal can be sent to a far-end unit by an expansion unit, the far-end unit detects the power of the point frequency signal and detects the insertion loss of an outgoing cable according to the power, so as to adjust the gain of the system according to the insertion loss; however, the insertion loss of the cable is detected by transmitting the point frequency signal, and a signal transmitting device needs to be additionally added, so that the cost is increased; furthermore, if the point frequency signal is sent in-band, that is, in the working frequency band, interference is generated to the working signal of the system, and under the serious interference condition, the system needs to stop the coverage signal to adjust the gain, and the system can continue to work after the adjustment is completed, which does not conform to the design of the communication coverage system; if the point frequency signal is sent out of band, i.e. outside the working frequency band, the insertion loss of the cable is affected due to the length, material, manufacturing process and production time of the analog feeder line, so that the detected actual insertion loss is inaccurate, and the accuracy of gain adjustment is reduced.
In addition, most of the existing active distribution systems are multi-system systems, namely systems comprising 2G, 3G, 4G, 5G and the like, the frequency span is large, the responses of different frequencies to signals are different, and the problem of cable flatness exists, so that the insertion loss of the cable cannot be accurately measured.
Disclosure of Invention
The invention aims to solve at least one defect (deficiency) in the prior art, and provides a method, a device, computer equipment and a storage medium for self-adapting link gain, which realize the insertion loss of a detection signal detection cable transmitted in-band without affecting the performance and the work of the system, and have low cost and high detection accuracy.
In one aspect, a method for link gain adaptation is provided, where the method is applied to a TDD system, and the following steps are performed in a remote unit:
receiving a first signal sent by an expansion unit through a feeder line;
extracting a control signal from the first signal;
extracting a time slot signal from the control signal, wherein the time slot signal is positioned in an idle time slot of the TDD system;
determining a first insertion loss value of the feeder line according to the time slot signal;
and adjusting the gain of the link according to the first insertion loss value.
Extracting a control signal from a first signal, extracting a time slot signal from a control signal value, determining a first insertion loss value of a feeder line according to the time slot signal in an idle time slot of a TDD system, and adjusting the gain of a link according to the first insertion loss value, thereby ensuring the stable gain of the link of the communication system; because the time slot signal is positioned in the idle time slot of the TDD system, even if the time slot signal is transmitted in the working frequency, the normal work and the performance of the system are not affected, the first insertion loss value of the link can be determined according to the time slot signal without disconnecting the signal, and the accuracy of the link insertion loss value is improved.
Further, extracting a control signal from the first signal comprises:
coupling, dividing and amplifying the first signal to obtain a first power division signal and a second power division signal of the first signal;
and carrying out detection processing on the first power division signal to obtain the control signal.
The first signal can be rapidly divided into the first power division signal and the second power division signal by coupling, power division and amplification, and then the first power division signal is subjected to detection processing, so that a control signal can be accurately obtained, and the accuracy of signal acquisition is improved.
Further, the extracting the time slot signal from the control signal includes:
and detecting the idle time slot according to the control signal to acquire the time slot signal.
Because the time slot signal is located in the idle time slot of the TDD system, the time slot signal can be obtained only by detecting the idle time slot.
Further, the determining the first insertion loss value of the feeder line according to the time slot signal includes:
detecting the amplitude of the time slot signal;
and comparing the amplitude of the time slot signal with a preset reference amplitude to determine the first insertion loss value.
The method is simple and has small calculation amount by detecting the amplitude of the time slot signal and comparing the amplitude of the time slot signal with the preset reference amplitude to determine the first insertion loss value.
Further, the adjusting the gain of the link according to the first insertion loss value includes:
generating a first adjusting signal according to the first insertion loss value;
and adjusting the gain of the link according to the first adjusting signal.
The gain of the link of the communication system is ensured to be stable by generating a first adjusting signal according to the first insertion loss value and adjusting the gain of the link according to the first adjusting signal.
Further, the following steps are performed at the remote unit:
sending a monitoring signal to the expansion unit;
receiving a second insertion loss value of the link, which is determined by the expansion unit according to the monitoring signal;
judging whether the difference value between the first insertion loss value and the second insertion loss value is within a preset range or not;
if yes, the gain of the link is adjusted according to the first insertion loss value.
The monitoring signal is sent to the expansion unit, the receiving expansion unit judges whether the difference value between the first insertion loss value and the second insertion loss value is within a preset range or not according to the second insertion loss value of the link determined by the monitoring signal, and the gain of the link is adjusted according to the first insertion loss value only when the difference value is within the preset range, so that whether the feeder line is abnormal or not can be judged according to the difference value between the first insertion loss value and the second insertion loss value, and the stability of the system is improved.
Further, the following steps are performed at the remote unit:
performing detection processing on the second power division signal to obtain detection voltage of the second power division signal;
generating a second adjusting signal according to the detection voltage and a preset threshold value;
and adjusting the gain of the link according to the second adjusting signal.
The second power division signal is subjected to detection processing to obtain the detection voltage of the second power division signal, a second adjusting signal is generated according to the detection voltage and a preset threshold value, and the gain of the link is adjusted according to the second adjusting signal, so that the power of the whole system is ensured to be in a safe range, and the stability and the reliability of the system are greatly improved.
Further, the second adjustment signal comprises a first sub adjustment signal and a second sub adjustment signal;
the preset threshold value comprises a first threshold value and a second threshold value;
the generating the second adjusting signal according to the detection voltage and a preset threshold value comprises:
judging whether the detection voltage is larger than the first threshold value or not;
if the detection voltage is larger than the first threshold value, determining the first sub-regulation signal according to the detection voltage and the first threshold value;
If the detection voltage is not larger than the first threshold value, judging whether the detection voltage is smaller than the second threshold value;
if the judgment result is smaller than the second threshold value, generating a second sub-regulating signal;
and if the second power division signal is not smaller than the second threshold value, carrying out detection processing on the second power division signal again.
The detection voltage of the second power division signal is compared twice, namely, the comparison is carried out by adopting a double-threshold comparator, so that the problem that the single-threshold comparator is easy to switch frequently in high and low level output by the comparator when the detection voltage slightly changes near the threshold, and the attenuator is frequently switched to generate near-far effect is solved.
Further, the adjusting the gain of the link according to the second adjustment signal includes:
and adjusting the gain of the link according to the first sub-adjusting signal or the second sub-adjusting signal.
The stability and reliability of the system are improved by adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal.
Further, the following steps are performed at the expansion unit:
receiving the second power division signal from a host unit;
generating a switch control signal, a carrier signal and adding the time slot signal in the idle time slot;
Generating a first power division signal from the carrier signal, the switch control signal and the time slot signal;
generating the first signal by the first power division signal and the second power division signal, and transmitting the first signal to the remote unit through the feeder line.
Generating a first power division signal by generating a switching control signal, a carrier signal and a slot signal added in an idle slot and generating the switching control signal, the carrier signal and the slot signal so that the slot signal and the switching control signal can be transmitted to a remote unit through a feeder line; the first power division signal and the second power division signal are used for generating a first signal, so that signals of multiple frequency bands are combined together and then transmitted to a remote unit through a feeder line.
Further, the generating the carrier signal, the switch control signal, and the time slot signal into a first power division signal includes:
and inputting the carrier signal, the switch control signal and the time slot signal into a radio frequency switch to generate the first power division signal, wherein the switch control signal is used for controlling the radio frequency switch.
The carrier signal, the switch control signal and the time slot signal are input into the radio frequency switch to generate a first power division signal, so that the switch control signal and the time slot signal can be transmitted to the remote unit through the feeder line.
Further, the following steps are performed in the expansion unit:
receiving the monitoring signal sent by the remote unit;
determining a second insertion loss value of the link according to the monitoring signal;
and transmitting the second insertion loss value to the remote unit.
Further, the monitoring signal includes a transmit power of the monitoring signal;
the determining the second insertion loss value of the link according to the monitoring signal includes:
receiving the monitoring signal and detecting the receiving power of the monitoring signal;
and determining the second insertion loss value according to the transmitting power and the receiving power.
The method is simple and fast by detecting the received power of the monitoring signal and determining the second insertion loss value based on the transmitted power and the received power.
In another aspect, an apparatus for link gain adaptation is provided, the apparatus being applied to a TDD system, the apparatus comprising a remote unit;
the remote unit includes:
a signal receiving first module, configured to receive a first signal sent by the extension unit through a feeder line;
a signal extraction module, configured to extract a control signal from the first signal, and acquire the time slot signal from the control signal, where the time slot signal is located in an idle time slot of the TDD system;
The first insertion loss determining module is used for determining a first insertion loss value of the feeder line according to the time slot signal;
and the gain adjustment module is used for adjusting the gain of the link according to the first insertion loss value.
Extracting a control signal from a first signal, extracting a time slot signal from a control signal value, determining a first insertion loss value of a feeder line according to the time slot signal in an idle time slot of a TDD system, and adjusting the gain of a link according to the first insertion loss value, thereby ensuring the stable gain of the link of the communication system; because the time slot signal is positioned in the idle time slot of the TDD system, even if the time slot signal is transmitted in the working frequency, the normal work and the performance of the system are not affected, the first insertion loss value of the link can be determined according to the time slot signal without disconnecting the signal, and the accuracy of the link insertion loss value is improved.
In another aspect, a computer device is provided, comprising a memory storing a computer program and a processor implementing a method of link gain adaptation as described above when executing the computer program.
In another aspect, a computer readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements a method of link gain adaptation as described above.
Compared with the prior art, the invention has the beneficial effects that:
the invention extracts the control signal from the first signal, extracts the time slot signal from the control signal value, determines the first insertion loss value of the feeder line according to the time slot signal in the idle time slot of the TDD system, and adjusts the gain of the link according to the first insertion loss value, thereby ensuring the stable gain of the link of the communication system; because the time slot signal is positioned in the idle time slot of the TDD system, even if the time slot signal is transmitted in the working frequency, the normal work and the performance of the system are not affected, the first insertion loss value of the link can be determined according to the time slot signal without disconnecting the signal, and the accuracy of the link insertion loss value is improved.
The monitoring signal is sent to the expansion unit, the receiving expansion unit judges whether the difference value between the first insertion loss value and the second insertion loss value is within a preset range or not according to the second insertion loss value of the link determined by the monitoring signal, and the gain of the link is adjusted according to the first insertion loss value only when the difference value is within the preset range, so that whether the feeder line is abnormal or not can be judged according to the difference value between the first insertion loss value and the second insertion loss value, and the stability of the system is improved.
The second power division signal is subjected to detection processing to obtain the detection voltage of the second power division signal, a second adjusting signal is generated according to the detection voltage and a preset threshold value, and the gain of the link is adjusted in real time according to the second adjusting signal, so that the power of the whole system is ensured to be in a safe range, and the stability and the reliability of the system are greatly improved.
Drawings
FIG. 1 is a flow diagram of a method of link gain adaptation in one embodiment;
FIG. 2 is a schematic diagram of a slot signal in an idle slot in one embodiment;
FIG. 3 is a flow diagram of a method of link gain adaptation in one embodiment;
FIG. 4 is a flow diagram of a method of link gain adaptation in one embodiment;
FIG. 5 is a flow chart of a method of link gain adaptation in one embodiment;
FIG. 6 is a flow diagram of a method of link gain adaptation in one embodiment;
FIG. 7 is a flow diagram of a method of link gain adaptation in one embodiment;
FIG. 8 is a schematic diagram of an apparatus for link gain adaptation in one embodiment;
FIG. 9 is a schematic diagram of an apparatus for link gain adaptation in one embodiment;
FIG. 10 is a schematic diagram of an apparatus for link gain adaptation in one embodiment;
FIG. 11 is a schematic diagram of the architecture of the ALC circuit in one embodiment.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the invention. For better illustration of the following embodiments, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the actual product dimensions; it will be appreciated by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The embodiment of the application provides a link gain self-adaption method, a device, computer equipment and a storage medium, which aim to solve the problem that in the process of detecting the line loss of a feeder line in the prior art, the insertion loss value is detected by sending a point frequency signal in an operating frequency band, interference is generated on the operating signal of a system, or the accuracy of detection is low due to the fact that the insertion loss value is detected by sending the point frequency signal outside the operating frequency band.
The technical scheme of the invention is further described below with reference to the accompanying drawings and examples.
In one embodiment, a method for link gain adaptation is provided, and the method is applied to a TDD system, as shown in fig. 1, which is a flowchart of a method for link gain adaptation, and the method performs the following steps in a remote unit:
s201, receiving a first signal sent by an expansion unit through a feeder line;
s202, extracting a control signal from the first signal;
s203, extracting a time slot signal from the control signal, wherein the time slot signal is positioned in an idle time slot of the TDD system;
s204, determining a first insertion loss value of the feeder line according to the time slot signal;
s205, adjusting the gain of the link according to the first insertion loss value.
Specifically, the TDD system includes a host unit (AU), an Extension Unit (EU) and a remote unit (AU), where the extension unit is mainly configured to generate and receive various communication signals, and the remote unit is mainly configured to receive communication signals of a near-end unit, so as to implement indoor signal coverage with different requirements. Specifically, the first signal is a combined communication signal, where the combined communication signal includes, but is not limited to, a 4G communication signal, a 5G communication signal, a carrier signal, a switch control signal, and a time slot signal; after the expansion unit sends the first signal to the far-end unit through the feeder line, the far-end unit extracts a control signal from the first signal, and specifically, the control signal can be a combined signal of a switch control signal and a time slot signal; and then extracting a time slot signal in an idle time slot of the TDD system from the control signal, and determining a first insertion loss value of the feeder line according to the time slot signal, so as to adjust the gain of the link according to the first insertion loss value.
Specifically, the remote unit comprises a first core controller and a first attenuator, and after the remote unit extracts a control signal from the first signal, the remote unit controls the first core controller to extract a time slot signal from the control signal according to the control signal; then the remote unit determines a first insertion loss value of the feeder line according to the time slot signal extracted by the first core controller, and the first core controller controls the first attenuator to adjust the gain of the link according to the first insertion loss value; specifically, the first core controller may be an FPGA module, and the first attenuator may be an ATT attenuator.
Because the time slot signal is located in an idle time slot of the TDD system, that is, in a non-working GP time slot of the TDD system, the time slot signal does not include useful signals and does not interfere with other working signals, as shown in fig. 2, which is a schematic diagram of adding the time slot signal in the idle time slot, the embodiment adjusts the gain of the link according to the first insertion loss value by extracting the time slot signal located in the idle time slot and determining the first insertion loss value of the feeder according to the time slot signal, thereby ensuring the gain stability of the link of the communication system; furthermore, because the time slot signal is positioned in the idle time slot of the TDD system, even if the time slot signal is transmitted in the working frequency, the normal work and the performance of the system are not affected, the first insertion loss value of the link can be determined according to the time slot signal without disconnecting the signal, and the accuracy of the link insertion loss value is improved.
In one embodiment, step S202 includes extracting a control signal from the first signal:
s2021, coupling, power division and amplification are carried out on the first signal so as to obtain a first power division signal and a second power division signal of the first signal;
s2022, performing detection processing on the first power division signal to obtain the control signal.
The remote unit comprises a coupler, a power divider, an amplifier and a detection tube, wherein the first signal, the input coupler, the power divider and the amplifier are coupled, power divided and amplified, so that the first signal is divided into a first power division signal and a second power division signal, the transmitting power of the first signal can be distributed to the first power division signal and the second power division signal as evenly as possible, and the first power division signal can be an ASK modulation signal which comprises a carrier signal, a switch control signal and a time slot signal; then, the first power division signal is input into a detection tube for detection processing, so that a carrier signal in the first power division signal is removed to obtain a control signal, wherein the signal form of the control signal is a voltage signal, and the detection tube adopts peak detection to generate lower time delay and quick response; the first core controller at the remote unit receives the response and then resumes the switching signal and extracts the time slot signal from the control signal in the form of a voltage signal.
The first signal can be rapidly divided into the first power division signal and the second power division signal by coupling, power division and amplification, and then the first power division signal is subjected to detection processing, so that a control signal can be accurately obtained, and the accuracy of signal acquisition is improved.
Specifically, the remote unit further comprises a filter, and the filter is further used for inputting the first power division signal into the filter for filtering between detection processing of the first power division signal, so that interference signals doped in the first power division signal can be filtered, interference of the interference signals is prevented, and accuracy of signal acquisition is improved.
In one embodiment, step S203 includes extracting a time slot signal from the control signal:
and S2031, detecting the idle time slot according to the control signal to acquire the time slot signal.
Specifically, after the first core controller at the remote unit recovers the switching signal, the time slot signal can be obtained after detecting the idle time slot from the control signal.
Because the time slot signal is located in the idle time slot of the TDD system, the time slot signal can be obtained only by detecting the idle time slot.
In one embodiment, step S204 includes determining a first insertion loss value of the feeder according to the slot signal:
S2041, detecting the amplitude of the time slot signal;
s2042, comparing the amplitude of the time slot signal with a preset reference amplitude to determine the first insertion loss value.
Specifically, the first core controller located at the remote unit detects an idle time slot from the control signal, and then can detect the amplitude P2 of the time slot signal, and the remote unit makes a difference between the amplitude P2 of the time slot signal and a preset reference amplitude P1 to obtain a first insertion loss value G1 of the feeder line, wherein the preset reference amplitude P1 is preset according to the initial amplitude of the time slot signal when the unit is expanded.
Specifically, the remote unit includes a first bluetooth module, and after detecting the amplitude P2 of the time slot signal, the first core controller transmits the amplitude P2 of the time slot signal to the first bluetooth module, and the first bluetooth module makes a difference between the amplitude P2 of the time slot signal and a preset reference amplitude P1 to obtain a first insertion loss value G1 of the feeder line.
The method is simple and has small calculation amount by detecting the amplitude of the time slot signal and comparing the amplitude of the time slot signal with the preset reference amplitude to determine the first insertion loss value.
In one embodiment, step S205 includes:
S2052, generating a first adjusting signal according to the first insertion loss value;
s2053, adjusting the gain of the link according to the first adjusting signal.
Specifically, after the first bluetooth module calculates a first insertion loss value G1 of the feeder line, the first insertion loss value G1 is sent to the first core controller, and the first core controller generates a first adjusting signal according to the first insertion loss value G1 to control the first attenuator to adjust the gain of the link.
The gain of the link of the communication system is ensured to be stable by generating a first adjusting signal according to the first insertion loss value and adjusting the gain of the link according to the first adjusting signal.
In one embodiment, as shown in fig. 3, the following steps are also performed at the remote unit:
s101, sending a monitoring signal to the expansion unit;
s102, receiving a second insertion loss value of the link, which is determined by the expansion unit according to the monitoring signal;
s2051, judging whether the difference value between the first insertion loss value and the second insertion loss value is within a preset range;
s205, if yes, adjusting the gain of the link according to the first insertion loss value.
Specifically, the remote unit comprises a radio frequency switch, a first bluetooth module of the remote unit sends a monitoring signal to the expansion unit, the monitoring signal can be a bluetooth RSSI signal, the first bluetooth module controls the radio frequency switch of the remote unit to realize communication with the expansion unit in a time sharing manner, and the first bluetooth module broadcasts the bluetooth RSSI signal through a custom Beacon frame; the expansion unit comprises a second Bluetooth module, the second Bluetooth module receives a Bluetooth RSSI signal broadcast by the first Bluetooth module in the scanning process, determines a second insertion loss value G2 of the link according to the Bluetooth RSSI signal, and sends the second insertion loss value G2 to the remote unit; after receiving the second insertion loss value G2 sent by the extension unit, the remote unit performs difference between the first insertion loss value G1 and the second insertion loss value G2, determines whether the difference between G2 and G1 is within a preset range, and adjusts the gain of the link according to the first insertion loss value G1 if the difference is within the preset range.
The monitoring signal is sent to the expansion unit, the receiving expansion unit judges whether the difference value between the first insertion loss value and the second insertion loss value is within a preset range or not according to the second insertion loss value of the link determined by the monitoring signal, and the gain of the link is adjusted according to the first insertion loss value only when the difference value is within the preset range, so that whether the feeder line is abnormal or not can be judged according to the difference value between the first insertion loss value and the second insertion loss value, and the stability of the system is improved.
In one embodiment, as shown in fig. 4, the following steps are also performed at the remote unit:
s301, performing detection processing on the second power division signal to obtain detection voltage of the second power division signal;
s302, generating a second adjusting signal according to the detection voltage and a preset threshold value;
s303, adjusting the gain of the link according to the second adjusting signal.
Specifically, the remote unit further comprises an analog ALC circuit and a second attenuator, wherein the analog ALC circuit comprises a detection tube and a comparator; the remote unit inputs the second power division signal into a detection tube for detection processing to obtain detection voltage of the second power division signal, and specifically, the second power division signal can be a 5G communication signal or a 4G communication signal; and then inputting the detection voltage into a comparator for comparison, generating a second adjusting signal by the remote unit according to the detection voltage and a preset threshold value, and adjusting the gain of the link according to the second adjusting signal.
Specifically, since the detection voltage is generally smaller, the anti-interference capability is poor and the false adjustment is easy to occur because the detection voltage is directly input into the comparator without amplification, and therefore, an amplifier is further arranged between the detection tube and the comparator, and specifically, the amplifier is a first-stage amplifier, and the detection voltage is input into the comparator for comparison after being amplified by the first-stage amplifier.
Specifically, the comparator may be a single-threshold comparator or a double-threshold comparator.
The second power division signal is subjected to detection processing to obtain the detection voltage of the second power division signal, a second adjusting signal is generated according to the detection voltage and a preset threshold value, and the gain of the link is adjusted according to the second adjusting signal, so that the power of the whole system is ensured to be in a safe range, and the stability and the reliability of the system are greatly improved.
In one embodiment, the second adjustment signal comprises a first sub adjustment signal and a second sub adjustment signal;
the preset threshold value comprises a first threshold value and a second threshold value;
step S302 of generating a second adjustment signal according to the detected voltage and a preset threshold value includes:
s3021, judging whether the detection voltage is larger than the first threshold value;
S3022, if the detection voltage is larger than the first threshold value, determining the first sub-regulation signal according to the detection voltage and the first threshold value;
s3023, if the detection voltage is not larger than the first threshold value, judging whether the detection voltage is smaller than the second threshold value;
s3024, if the judgment result is smaller than the second threshold value, generating a second sub-regulation signal;
and S3025, if the second power division signal is judged not to be smaller than the second threshold value, performing detection processing on the second power division signal again.
Specifically, the comparator is a double-threshold comparator, after the detection voltage is input into the comparator, whether the detection voltage is larger than a first threshold value is judged, if yes, the comparator outputs a high level, the remote unit calculates the difference value between the detection voltage and the first threshold value, and the first core controller generates a first sub-regulation signal according to the difference value between the detection voltage and the first threshold value; if not, comparing the detection voltage with a second threshold value, judging whether the detection voltage is smaller than the second threshold value, if so, outputting a low level to the first core controller by the comparator, generating a second sub-regulating signal by the first core controller according to the low level, and if not, carrying out detection processing on the second power sub-signal again.
The detection voltage of the second power division signal is compared twice, namely, the comparison is carried out by adopting a double-threshold comparator, so that the problem that the single-threshold comparator is easy to switch frequently in high and low level output by the comparator when the detection voltage slightly changes near the threshold, and the attenuator is frequently switched to generate near-far effect is solved.
In one embodiment, said adjusting the gain of said link according to said second adjustment signal comprises:
s3031, adjusting the gain of the link according to the first sub-regulation signal or the second sub-regulation signal.
Specifically, the first core controller controls the second attenuator to adjust the gain of the link according to the generated first sub-adjusting signal or the second sub-adjusting signal; specifically, when the first core controller generates the first sub-adjustment signal, the second attenuator is attenuated according to the first sub-adjustment signal, and when the first core controller generates the second sub-adjustment signal, the value of attenuation of the second attenuator is released according to the second sub-adjustment signal.
The stability and reliability of the system are improved by adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal.
In one embodiment, as shown in fig. 5, the following steps are performed at the expansion unit:
A201. Receiving the second power division signal from a host unit;
A202. generating a switch control signal, a carrier signal and adding the time slot signal in the idle time slot;
A203. generating a first power division signal from the carrier signal, the switch control signal and the time slot signal;
A204. generating the first signal by the first power division signal and the second power division signal, and transmitting the first signal to the remote unit through the feeder line.
In one embodiment, generating the carrier signal, the switch control signal, and the time slot signal in step a203 includes:
A2031. and inputting the carrier signal, the switch control signal and the time slot signal into a radio frequency switch to generate the first power division signal, wherein the switch control signal is used for controlling the radio frequency switch.
Specifically, the second power division signal may be a 4G communication signal or a 5G communication signal, and the expansion unit includes a second core controller, a frequency synthesizer, and a radio frequency switch, where the second core controller may be an FPGA module; the second core controller generates a switch control signal according to the time slot proportion of the TDD system and adds a time slot signal in an idle time slot of the TDD system; the frequency synthesizer generates a carrier signal, which may be a dot frequency signal; the second core controller generates a switch control signal to control a switching device of the radio frequency switch, wherein the switch control signal is a high-low level control signal, the radio frequency switch is conducted when the switch control signal has a signal, the radio frequency switch is low when the switch control signal has no signal, and the radio frequency switch is not conducted; inputting a carrier signal, a switch control signal and a time slot signal into a radio frequency switch, and outputting a first power division signal modulated by one path of synchronous control signal by the radio frequency switch, wherein the first power division signal can be an ASK modulation signal; the expansion unit combines the second power division signal from the host unit with the first power division signal to generate a first signal, and transmits the first signal to the remote unit through the feeder line.
Generating a first power division signal by generating a switching control signal, a carrier signal and a slot signal added in an idle slot and generating the switching control signal, the carrier signal and the slot signal so that the slot signal and the switching control signal can be transmitted to a remote unit through a feeder line; the first power division signal and the second power division signal are used for generating a first signal, so that signals of multiple frequency bands are combined together and then transmitted to a remote unit through a feeder line.
In one embodiment, as shown in fig. 6, the following steps are also performed at the expansion unit:
A101. receiving the monitoring signal sent by the remote unit;
A102. determining a second insertion loss value of the link according to the monitoring signal;
A103. and transmitting the second insertion loss value to the remote unit.
Specifically, when the first bluetooth module of the remote unit broadcasts the monitoring signal through the custom Beacon frame, the second bluetooth module receives the Beacon frame of the first bluetooth module in the scanning process, so as to receive the monitoring signal, and specifically, the monitoring signal is a bluetooth RSSI signal; and the second Bluetooth module determines a second insertion loss value of the link according to the monitoring signal and sends the second insertion loss value to the remote unit.
In one embodiment, the monitoring signal comprises a transmit power of the monitoring signal;
the determining, in step a102, the second insertion loss value of the link according to the monitoring signal includes:
A1021. receiving the monitoring signal and detecting the receiving power of the monitoring signal;
A1022. and determining the second insertion loss value according to the transmitting power and the receiving power.
Specifically, the first bluetooth module of the remote unit broadcasts a monitoring signal carrying the transmitting power P3, board-level link loss and interaction information (software version number, MAC address), the second bluetooth module receives the monitoring signal and detects the receiving power P4 of the monitoring signal, and the second insertion loss value G2 is obtained by subtracting the transmitting power P3 and the receiving power P4.
The method is simple and fast by detecting the received power of the monitoring signal and determining the second insertion loss value based on the transmitted power and the received power.
As shown in fig. 7, which is a detailed flow chart of a link gain adaptive method, the link gain adaptive method of this embodiment includes three stages, and the specific implementation process may be:
the first stage is coarse adjustment: the first Bluetooth module broadcasts a Bluetooth RSSI signal, and the second Bluetooth module calculates a second insertion loss value G2 of the cable according to the transmitting power P3 and the receiving power P5 of the Bluetooth RSSI signal after scanning and receiving the Bluetooth RSSI signal; and the second core controller generates a switch control signal according to the time slot proportion of the TDD system while broadcasting the Bluetooth RSSI signal by the first Bluetooth, then adds a time slot signal in an idle time slot of the TDD system, meanwhile, the frequency generator generates a point frequency signal, the expansion unit inputs the switch control signal, the point frequency signal and the time slot signal into the radio frequency switch to modulate an ASK modulation signal, and then the expansion unit generates a first signal with a second power division signal from the host unit and transmits the first signal to the remote unit.
Second-stage fine tuning: the method comprises the steps that after a remote unit receives a first signal, the first signal is sequentially input into a coupler, a power divider and an amplifier, the first signal is coupled, power divided and amplified to obtain a first power division signal (ASK modulation signal) and a second power division signal, then the first power division signal is input into a detection tube to obtain a control signal through peak detection, and the control signal is in a voltage signal; the control signal controls the first core controller to recover the switching signal, the first core controller detects an idle time slot from the control signal to acquire a time slot signal, the amplitude P1 of the time slot signal is detected while the time slot signal is acquired, the amplitude P1 of the time slot signal is input into the first Bluetooth module, the first Bluetooth module calculates a first insertion loss value G1 of the cable according to the amplitude P1 of the time slot signal and a preset reference amplitude P2, whether the difference value between the second insertion loss value G2 and the first insertion loss value G1 is in a preset range or not is judged, if so, the first core control signal generates a first adjusting signal to control the first attenuator to attenuate, and therefore the gain of the link is adjusted.
Third-stage protection: the remote unit inputs a second power division signal into an analog ALC circuit in real time, wherein the analog ALC circuit comprises a detection tube and a comparator, the unit inputs the second power division signal into the detection tube to carry out detection processing to obtain detection voltage of the second power division signal, then inputs the detection voltage into an amplifier to carry out primary amplification and then inputs the detection voltage into the comparator to carry out comparison, after inputting the detection voltage into the comparator, whether the detection voltage is greater than a first threshold value is judged, if yes, the comparator outputs a high level, the remote unit calculates a difference value between the detection voltage and the first threshold value, and the first core controller generates a first division adjusting signal according to the difference value between the detection voltage and the first threshold value; if not, comparing the detection voltage with a second threshold value, judging whether the detection voltage is smaller than the second threshold value, if so, outputting a low level to the first core controller by the comparator, generating a second sub-regulating signal by the first core controller according to the low level, and if not, carrying out detection processing on the second power sub-signal again.
In one embodiment, as shown in fig. 8, an apparatus for link gain adaptation is provided, the apparatus being applied to a TDD system, the apparatus including a remote unit;
the remote unit includes:
a signal receiving first module, configured to receive a first signal sent by the extension unit through a feeder line;
a signal extraction module, configured to extract a control signal from the first signal, and acquire the time slot signal from the control signal, where the time slot signal is located in an idle time slot of the TDD system;
the first insertion loss determining module is used for determining a first insertion loss value of the feeder line according to the time slot signal;
and the gain adjustment module is used for adjusting the gain of the link according to the first insertion loss value.
Specifically, the device comprises a far-end unit, an expansion unit and a host unit, wherein the expansion unit is mainly used for generating and receiving various communication signals, the far-end unit is mainly used for receiving communication signals of a near-end unit, and indoor signal coverage with different requirements is realized. Specifically, the first signal is a combined communication signal, where the combined communication signal includes, but is not limited to, a 4G communication signal, a 5G communication signal, a carrier signal, a switch control signal, and a time slot signal; after the expansion unit transmits a first signal to the far-end unit through the feeder line, a first signal receiving module receives the first signal transmitted by the expansion unit through the feeder line, a signal extracting module extracts a time slot signal from the control signal according to the control signal after extracting the control signal from the first signal, wherein the time slot signal is positioned in an idle time slot of the TDD system, and then the first insertion loss determining module determines a first insertion loss value of the feeder line according to the time slot signal; the gain adjustment module adjusts the gain of the link according to the first insertion loss value determined by the first insertion loss determination module.
Specifically, as shown in fig. 9, the signal extraction module includes a first core controller, the gain adjustment module includes a first attenuator, and after the signal extraction module extracts a control signal from the first signal, the signal extraction module controls the first core controller to extract a time slot signal from the control signal according to the control signal; then the first insertion loss determining module determines a first insertion loss value of the feeder line according to the time slot signal extracted by the first core controller, and the first core controller controls the first attenuator to adjust the gain of the link according to the first insertion loss value; specifically, the first core controller may be an FPGA module, and the first attenuator may be an ATT attenuator.
Because the time slot signal is located in the idle time slot of the TDD system, namely in the non-working GP time slot of the TDD system, the time slot signal does not contain useful signals and does not interfere with other working signals, and the embodiment ensures the stable gain of the link of the communication system by extracting the time slot signal located in the idle time slot and determining the first insertion loss value of the feeder line according to the time slot signal, thereby adjusting the gain of the link according to the first insertion loss value; furthermore, because the time slot signal is positioned in the idle time slot of the TDD system, even if the time slot signal is transmitted in the working frequency, the normal work and the performance of the system are not affected, the first insertion loss value of the link can be determined according to the time slot signal without disconnecting the signal, and the accuracy of the link insertion loss value is improved.
In one embodiment, the extracting the control signal from the first signal comprises:
coupling, dividing and amplifying the first signal to obtain a first power division signal and a second power division signal of the first signal;
and carrying out detection processing on the first power division signal to obtain the control signal.
Specifically, the signal extraction module includes a coupler, a power divider, an amplifier and a detector tube, the signal extraction module inputs a first signal into the coupler, the power divider and the amplifier for one time, and respectively couples, power divides and amplifies the first signal, so that the first signal is divided into a first power division signal and a second power division signal, and the transmitting power of the first signal can be distributed to the first power division signal and the second power division signal as evenly as possible, specifically, the first power division signal can be an ASK modulation signal, and the ASK modulation signal includes a carrier signal, a switch control signal and a time slot signal; the signal extraction module inputs the first power division signal into a detection tube for detection processing, so that a carrier signal in the first power division signal is removed to obtain a control signal, wherein the signal form of the control signal is a voltage signal, and the detection tube adopts peak detection to generate lower time delay and quick response; the first core controller receives the response and then resumes the start-up control signal and extracts the time slot signal from the control signal in the form of a voltage signal.
The first signal can be rapidly divided into the first power division signal and the second power division signal by coupling, power division and amplification, and then the first power division signal is subjected to detection processing, so that a control signal can be accurately obtained, and the accuracy of signal acquisition is improved.
Specifically, the signal extraction module further comprises a filter, and the filter is further used for inputting the first power division signal into the filter for filtering between detection processing of the first power division signal, so that interference signals doped in the first power division signal can be filtered, interference of the interference signals is prevented, and accuracy of signal acquisition is improved.
In one embodiment, the extracting the time slot signal from the control signal includes:
and detecting the idle time slot according to the control signal to acquire the time slot signal.
Specifically, after the first core controller in the signal extraction module recovers the start-up control signal, the time slot signal can be obtained after the idle time slot is detected from the control signal.
Because the time slot signal is located in the idle time slot of the TDD system, the time slot signal can be obtained only by detecting the idle time slot.
In one embodiment, the determining the first insertion loss value of the feeder according to the time slot signal includes:
Detecting the amplitude of the time slot signal;
and comparing the amplitude of the time slot signal with a preset reference amplitude to determine the first insertion loss value.
Specifically, the first core controller in the signal extraction module detects an idle time slot from the control signal, and then can detect the amplitude P2 of the time slot signal, and the first insertion loss determination module makes a difference between the amplitude P2 of the time slot signal and a preset reference amplitude P1 to obtain a first insertion loss value G1 of the feeder line, wherein the preset reference amplitude P1 is preset according to the initial amplitude of the time slot signal when the unit is expanded.
Specifically, the first insertion loss determining module includes a first bluetooth module, and after detecting the amplitude P2 of the time slot signal, the first core controller transmits the amplitude P2 of the time slot signal to the first bluetooth module, and the first bluetooth module makes a difference between the amplitude P2 of the time slot signal and a preset reference amplitude P1 to obtain a first insertion loss value G1 of the feeder.
The method is simple and has small calculation amount by detecting the amplitude of the time slot signal and comparing the amplitude of the time slot signal with the preset reference amplitude to determine the first insertion loss value.
In one embodiment, the adjusting the gain of the link according to the first insertion loss value includes:
Generating a first adjusting signal according to the first insertion loss value;
and adjusting the gain of the link according to the first adjusting signal.
Specifically, after the first bluetooth module in the first insertion loss determining module calculates a first insertion loss value G1 of the feeder line, the first insertion loss value G1 is sent to the first core controller, and the first core controller generates a first adjusting signal according to the first insertion loss value G1 to control a first attenuator in the first insertion loss determining module to adjust the gain of the link.
The gain of the link of the communication system is ensured to be stable by generating a first adjusting signal according to the first insertion loss value and adjusting the gain of the link according to the first adjusting signal.
In one embodiment, the apparatus further comprises:
a signal transmission first module, configured to transmit a monitoring signal to the extension unit;
the signal receiving first module is further configured to receive a second insertion loss value of the link, which is determined by the expansion unit according to the monitoring signal;
the apparatus further comprises:
the judging module is used for judging whether the difference value between the first insertion loss value and the second insertion loss value is in a preset range or not;
the gain adjustment module is further configured to adjust the gain of the link according to the first insertion loss value when the determination module determines whether the difference between the first insertion loss value and the second insertion loss value is within a preset range.
Specifically, as shown in fig. 10, the signal sending first module is a first bluetooth module in the first insertion loss determining module, the remote unit includes a radio frequency switch, the first bluetooth module sends a monitoring signal to the extension unit, the monitoring signal may be a bluetooth RSSI signal, the first bluetooth module controls the radio frequency switch of the remote unit to realize communication with the extension unit in a time sharing manner, and the first bluetooth module broadcasts the bluetooth RSSI signal through a custom Beacon frame; the expansion unit comprises a second Bluetooth module, the second Bluetooth module receives a Bluetooth RSSI signal broadcast by the first Bluetooth module in the scanning process, determines a second insertion loss value G2 of the link according to the Bluetooth RSSI signal, and sends the second insertion loss value G2 to the remote unit; after the signal receiving first module receives the second insertion loss value G2 sent by the expansion unit, the first Bluetooth module performs difference between the first insertion loss value G1 and the second insertion loss value G2, the judging module judges whether the difference between the G2 and the G1 is in a preset range, and if the difference is judged to be in the preset range by the judging module, the gain adjusting module adjusts the gain of the link according to the first insertion loss value G1.
The monitoring signal is sent to the expansion unit, the receiving expansion unit judges whether the difference value between the first insertion loss value and the second insertion loss value is within a preset range or not according to the second insertion loss value of the link determined by the monitoring signal, and the gain of the link is adjusted according to the first insertion loss value only when the difference value is within the preset range, so that whether the feeder line is abnormal or not can be judged according to the difference value between the first insertion loss value and the second insertion loss value, and the stability of the system is improved.
In a real-time example, the signal extraction module is further configured to perform detection processing on the second power division signal, so as to obtain a detection voltage of the second power division signal;
the signal extraction module is further used for generating a second adjusting signal according to the detection voltage and a preset threshold value;
the gain adjustment module adjusts the gain of the link according to the second adjustment signal.
Specifically, the signal extraction module further includes an analog ALC circuit, as shown in fig. 11, which is a schematic structural diagram of the ALC circuit, and the gain adjustment module further includes a second attenuator, where the analog ALC circuit includes a detector tube and a comparator; the signal extraction module inputs the second power division signal into a detection tube for detection processing to obtain detection voltage of the second power division signal, and specifically, the second power division signal can be a 5G communication signal or a 4G communication signal; and the signal extraction module inputs the detection voltage into the comparator for comparison, the first core controller generates a second adjusting signal according to the detection voltage and a preset threshold value, and the gain adjustment module adjusts the gain of the link according to the second adjusting signal.
Specifically, since the detection voltage is generally smaller, the anti-interference capability is poor and the false adjustment is easy to occur because the detection voltage is directly input into the comparator without amplification, and therefore, an amplifier is further arranged between the detection tube and the comparator, and specifically, the amplifier is a first-stage amplifier, and the detection voltage is input into the comparator for comparison after being amplified by the first-stage amplifier.
Specifically, the comparator may be a single-threshold comparator or a double-threshold comparator.
The second power division signal is subjected to detection processing to obtain the detection voltage of the second power division signal, a second adjusting signal is generated according to the detection voltage and a preset threshold value, and the gain of the link is adjusted according to the second adjusting signal, so that the power of the whole system is ensured to be in a safe range, and the stability and the reliability of the system are greatly improved.
In one embodiment, the second adjustment signal comprises a first sub adjustment signal and a second sub adjustment signal;
the preset threshold value comprises a first threshold value and a second threshold value;
the signal extraction module further comprises a comparator;
the generating the second adjusting signal according to the detection voltage and a preset threshold value comprises:
the comparator is used for judging whether the detection voltage is larger than the first threshold value or not, or judging whether the detection voltage is smaller than the second threshold value or not when the detection voltage is not larger than the first threshold value;
the signal extraction module is further configured to determine the first sub-adjustment signal according to the detected voltage and the first threshold value when the comparator determines that the detected voltage is greater than the first threshold value, or generate the second sub-adjustment signal when the detected voltage is less than the second threshold value.
Specifically, the comparator is located in the ALC circuit and is a double-threshold comparator, after the detection voltage is input into the comparator, the comparator judges whether the detection voltage is greater than a first threshold value, if yes, the comparator outputs a high level, a first bluetooth module in the first insertion loss determining module calculates the difference value between the detection voltage and the first threshold value, and a first core controller in the signal extracting module generates a first sub-regulation signal according to the difference value between the detection voltage and the first threshold value; if not, the detection voltage is compared with a second threshold value, the comparator judges whether the detection voltage is smaller than the second threshold value, if so, the comparator outputs a low level to the first core controller, the first core controller generates a second sub-regulation signal according to the low level, and if not, the second power division signal is subjected to detection again.
The detection voltage of the second power division signal is compared twice, namely, the comparison is carried out by adopting a double-threshold comparator, so that the problem that the single-threshold comparator is easy to switch frequently in high and low level output by the comparator when the detection voltage slightly changes near the threshold, and the attenuator is frequently switched to generate near-far effect is solved.
In one embodiment, said adjusting the gain of said link according to said second adjustment signal comprises:
and adjusting the gain of the link according to the first sub-adjusting signal or the second sub-adjusting signal.
Specifically, the first core controller controls the second attenuator to adjust the gain of the link according to the generated first sub-adjusting signal or the second sub-adjusting signal; specifically, when the first core controller generates the first sub-adjustment signal, the second attenuator is attenuated according to the first sub-adjustment signal, and when the first core controller generates the second sub-adjustment signal, the value of attenuation of the second attenuator is released according to the second sub-adjustment signal.
The stability and reliability of the system are improved by adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal.
In yet another embodiment, the expansion unit includes:
a signal receiving second module for receiving the second power division signal from the host unit;
a signal generating module for generating a switch control signal, a carrier signal and adding the time slot signal in the idle time slot;
a signal synthesis module, configured to generate a first power division signal from the carrier signal, the switch control signal, and the time slot signal, and generate the first signal from the first power division signal and the second power division signal;
And the signal transmission second module is used for transmitting the first signal to the remote unit through the feeder line.
Specifically, the second power division signal may be a 4G communication signal or a 5G communication signal, the signal generating module includes a second core controller and a frequency synthesizer, and the signal synthesizing unit includes a radio frequency switch, where the second core controller may be an FPGA module; the second core controller generates a switch control signal according to the time slot proportion of the TDD system and adds a time slot signal in an idle time slot of the TDD system; the frequency synthesizer generates a carrier signal, which may be a dot frequency signal; the second core controller generates a switch control signal to control a switching device of the radio frequency switch, wherein the switch control signal is a high-low level control signal, the radio frequency switch is conducted when the switch control signal has a signal, the radio frequency switch is low when the switch control signal has no signal, and the radio frequency switch is not conducted; inputting a carrier signal, a switch control signal and a time slot signal into a radio frequency switch, and outputting a first power division signal modulated by one path of synchronous control signal by the radio frequency switch, wherein the first power division signal can be an ASK modulation signal; the expansion unit combines the second power division signal from the host unit with the first power division signal to generate a first signal, and the signal transmitting second module transmits the first signal to the remote unit through the feeder line.
In one embodiment, the signal receiving second module is configured to receive the monitoring signal sent by the remote unit;
the expansion unit further includes:
the second insertion loss determining module is used for determining a second insertion loss value of the link according to the monitoring signal;
the signaling second module is further configured to send the second insertion loss value to the remote unit.
Specifically, the signal receiving second module is a second bluetooth module, when the first bluetooth module of the remote unit broadcasts the monitoring signal through the custom Beacon frame, the second bluetooth module receives the Beacon frame of the first bluetooth module in the scanning process, so as to receive the monitoring signal, and specifically, the monitoring signal is a bluetooth RSSI signal; the second insertion loss determining module determines a second insertion loss value of the link according to the monitoring signal for the second Bluetooth module and sends the second insertion loss value to the remote unit.
In one real-time example, the monitoring signal includes a transmit power of the monitoring signal;
the insertion loss determining module is further configured to detect a received power of the monitoring signal, and determine the second insertion loss value according to the transmitting power and the received power.
Specifically, the first bluetooth module of the remote unit broadcasts a monitoring signal carrying the transmitting power P3, board-level link loss and interaction information (software version number, MAC address), the second bluetooth module receives the monitoring signal and detects the receiving power P4 of the monitoring signal, and the second insertion loss value G2 is obtained by subtracting the transmitting power P3 and the receiving power P4.
The method is simple and fast by detecting the received power of the monitoring signal and determining the second insertion loss value based on the transmitted power and the received power.
In a further embodiment, based on the same inventive concept, a computer device is provided comprising a memory storing a computer program and a processor implementing a method of link gain adaptation as described above when executing the computer program. For the same reasons, the gain stability of the link of the communication system can be ensured under the condition that the normal operation and the performance of the system are not affected.
In yet another embodiment, based on the same inventive concept, a computer readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, implements a method of link gain adaptation as described above. For the same reasons, the gain stability of the link of the communication system can be ensured under the condition that the normal operation and the performance of the system are not affected.
It should be understood that the foregoing examples of the present invention are merely illustrative of the present invention and are not intended to limit the present invention to the specific embodiments thereof. Any modification, equivalent replacement, improvement, etc. that comes within the spirit and principle of the claims of the present invention should be included in the protection scope of the claims of the present invention.

Claims (15)

1. A method of link gain adaptation for use in a TDD system, comprising the steps of, at a remote unit:
receiving a first signal sent by an expansion unit through a feeder line;
extracting a control signal from the first signal;
extracting a time slot signal from the control signal, wherein the time slot signal is positioned in an idle time slot of the TDD system;
determining a first insertion loss value of the feeder line according to the time slot signal;
adjusting the gain of the link according to the first insertion loss value;
the following steps are also performed at the remote unit:
sending a monitoring signal to the expansion unit;
receiving a second insertion loss value of the link, which is determined by the expansion unit according to the monitoring signal;
judging whether the difference value between the first insertion loss value and the second insertion loss value is within a preset range or not;
If yes, the gain of the link is adjusted according to the first insertion loss value.
2. The method of link gain adaptation according to claim 1, wherein extracting a control signal from the first signal comprises:
coupling, dividing and amplifying the first signal to obtain a first power division signal and a second power division signal of the first signal;
and carrying out detection processing on the first power division signal to obtain the control signal.
3. The method of link gain adaptation according to claim 2, wherein said extracting a time slot signal from said control signal comprises:
and detecting the idle time slot according to the control signal to acquire the time slot signal.
4. A method of link gain adaptation as claimed in any one of claims 1 to 3, wherein said determining a first insertion loss value of said feeder from said time slot signal comprises:
detecting the amplitude of the time slot signal;
and comparing the amplitude of the time slot signal with a preset reference amplitude to determine the first insertion loss value.
5. The method of link gain adaptation according to claim 4, wherein said adjusting the gain of the link according to the first insertion loss value comprises:
Generating a first adjusting signal according to the first insertion loss value;
and adjusting the gain of the link according to the first adjusting signal.
6. The method of link gain adaptation according to claim 2, wherein the steps of:
performing detection processing on the second power division signal to obtain detection voltage of the second power division signal;
generating a second adjusting signal according to the detection voltage and a preset threshold value;
and adjusting the gain of the link according to the second adjusting signal.
7. The method of link gain adaptation according to claim 6, wherein the second adjustment signal comprises a first sub-adjustment signal and a second sub-adjustment signal;
the preset threshold value comprises a first threshold value and a second threshold value;
the generating the second adjusting signal according to the detection voltage and a preset threshold value comprises:
judging whether the detection voltage is larger than the first threshold value or not;
if the detection voltage is larger than the first threshold value, determining the first sub-regulation signal according to the detection voltage and the first threshold value;
if the detection voltage is not larger than the first threshold value, judging whether the detection voltage is smaller than the second threshold value;
If the judgment result is smaller than the second threshold value, generating a second sub-regulating signal;
and if the second power division signal is not smaller than the second threshold value, carrying out detection processing on the second power division signal again.
8. The method of link gain adaptation according to claim 7, wherein said adjusting the gain of the link according to the second adjustment signal comprises:
and adjusting the gain of the link according to the first sub-adjusting signal or the second sub-adjusting signal.
9. A method of link gain adaptation according to any of claims 2-3 or 6-8, characterized in that the following steps are performed at the expansion unit:
receiving the second power division signal from a host unit;
generating a switch control signal, a carrier signal and adding the time slot signal in the idle time slot;
generating a first power division signal from the carrier signal, the switch control signal and the time slot signal;
generating the first signal by the first power division signal and the second power division signal, and transmitting the first signal to the remote unit through the feeder line.
10. The method of link gain adaptation of claim 9, wherein the generating the carrier signal, the switch control signal, and the time slot signal into a first power division signal comprises:
And inputting the carrier signal, the switch control signal and the time slot signal into a radio frequency switch to generate the first power division signal, wherein the switch control signal is used for controlling the radio frequency switch.
11. The method of link gain adaptation according to claim 9, wherein the step of, at the expansion unit, further comprises:
receiving the monitoring signal sent by the remote unit;
determining a second insertion loss value of the link according to the monitoring signal;
and transmitting the second insertion loss value to the remote unit.
12. The method of link gain adaptation according to claim 11, wherein the supervisory signal comprises a transmit power of the supervisory signal;
the determining the second insertion loss value of the link according to the monitoring signal includes:
receiving the monitoring signal and detecting the receiving power of the monitoring signal;
and determining the second insertion loss value according to the transmitting power and the receiving power.
13. An apparatus for link gain adaptation, the apparatus being applied to a TDD system, the apparatus comprising a remote unit;
the remote unit includes:
a signal receiving first module, configured to receive a first signal sent by the extension unit through a feeder;
A signal extraction module, configured to extract a control signal from the first signal, and obtain a time slot signal from the control signal, where the time slot signal is located in an idle time slot of the TDD system;
the first insertion loss determining module is used for determining a first insertion loss value of the feeder line according to the time slot signal;
the gain adjustment module is used for adjusting the gain of the link according to the first insertion loss value;
the apparatus further comprises:
a signal transmission first module, configured to transmit a monitoring signal to the extension unit;
the signal receiving first module is further configured to receive a second insertion loss value of the link, which is determined by the expansion unit according to the monitoring signal;
the apparatus further comprises:
the judging module is used for judging whether the difference value between the first insertion loss value and the second insertion loss value is in a preset range or not;
the gain adjustment module is further configured to adjust the gain of the link according to the first insertion loss value when the determination module determines whether the difference between the first insertion loss value and the second insertion loss value is within a preset range.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the method of link gain adaptation of any of claims 1-12 when executing the computer program.
15. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the method of link gain adaptation of any of claims 1-12.
CN202011587921.4A 2020-12-29 2020-12-29 Method, device, computer equipment and storage medium for self-adapting link gain Active CN112867126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011587921.4A CN112867126B (en) 2020-12-29 2020-12-29 Method, device, computer equipment and storage medium for self-adapting link gain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011587921.4A CN112867126B (en) 2020-12-29 2020-12-29 Method, device, computer equipment and storage medium for self-adapting link gain

Publications (2)

Publication Number Publication Date
CN112867126A CN112867126A (en) 2021-05-28
CN112867126B true CN112867126B (en) 2023-06-16

Family

ID=75998043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011587921.4A Active CN112867126B (en) 2020-12-29 2020-12-29 Method, device, computer equipment and storage medium for self-adapting link gain

Country Status (1)

Country Link
CN (1) CN112867126B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902807A (en) * 2010-07-05 2010-12-01 海能达通信股份有限公司 Terminal of digital mobile wireless transferring system, method for adjusting transmission power thereof and system thereof
CN104918275A (en) * 2015-06-26 2015-09-16 大唐移动通信设备有限公司 RRU adaptive power adjustment method and device thereof
CN106571879A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Power detection method and device
CN111294086A (en) * 2020-03-27 2020-06-16 京信通信系统(中国)有限公司 Gain control method of communication system and communication system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI379511B (en) * 2008-08-25 2012-12-11 Realtek Semiconductor Corp Gain adjusting device and method
CN106255190B (en) * 2015-12-31 2019-11-01 北京智谷睿拓技术服务有限公司 Poewr control method and power control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902807A (en) * 2010-07-05 2010-12-01 海能达通信股份有限公司 Terminal of digital mobile wireless transferring system, method for adjusting transmission power thereof and system thereof
CN104918275A (en) * 2015-06-26 2015-09-16 大唐移动通信设备有限公司 RRU adaptive power adjustment method and device thereof
CN106571879A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Power detection method and device
CN111294086A (en) * 2020-03-27 2020-06-16 京信通信系统(中国)有限公司 Gain control method of communication system and communication system

Also Published As

Publication number Publication date
CN112867126A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
KR100353413B1 (en) Booster, monitoring apparatus, booster system, control method and monitoring method
KR100388697B1 (en) Radio frequency transceiver system for digital communication
WO2005011316B1 (en) Radio communication system
JPH08321824A (en) Pre-emphasis system optical wavelength multiplex communication method/device
US7113709B2 (en) Redundant WDM transmission system optical receiver with reduced variable optical attenuators and/or variable dispersion compensation modules
CN102761382A (en) Method, system and correlated device for determining isolation between antennae
US7330651B2 (en) Optical amplifying apparatus, optical transmission system and method of adjusting optical transmission loss
KR100385611B1 (en) Wireless interchange apparatus for mobile communication system
JP3321326B2 (en) Optical wavelength multiplex communication transmission line monitoring device
KR20030049031A (en) An intermediate frequency repeater enable to control the power and control method thereof
CN112867126B (en) Method, device, computer equipment and storage medium for self-adapting link gain
US6131014A (en) Bidirectional communication system and upstream communication noise level determination method
CN111294086A (en) Gain control method of communication system and communication system
KR100251685B1 (en) A low-loss cdma repeater
JP3043656B2 (en) Booster relay device
KR100667279B1 (en) Method and apparatus for stabilizing cell coverage of optical repeater
CN111181595B (en) Second harmonic cancellation method and device and DAS remote machine
CN211791508U (en) Communication system
KR20040067224A (en) Distribution relay system for in-building
KR20120001047A (en) Repeater system for mobile communication service and unified repeater for multiple mobile communication service providers
KR200210048Y1 (en) Base Station Transmission Performance Checking System Using Directional Coupler
KR100344870B1 (en) Base-station System for Gain Contro
KR20030064008A (en) A optical repeater and a control method thereof
KR100299092B1 (en) Apparatus for processing as to radio frequency of base station
KR20010046182A (en) SIMULATOR FOR A Ka-BAND REPEATER IN SATELLITE SYSTEM

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant