Movatterモバイル変換


[0]ホーム

URL:


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
CN112867126BCN202011587921.4ACN202011587921ACN112867126BCN 112867126 BCN112867126 BCN 112867126BCN 202011587921 ACN202011587921 ACN 202011587921ACN 112867126 BCN112867126 BCN 112867126B
Authority
CN
China
Prior art keywords
signal
time slot
insertion loss
loss value
link
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 LtdfiledCriticalComba Network Systems Co Ltd
Priority to CN202011587921.4ApriorityCriticalpatent/CN112867126B/en
Publication of CN112867126ApublicationCriticalpatent/CN112867126A/en
Application grantedgrantedCritical
Publication of CN112867126BpublicationCriticalpatent/CN112867126B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明涉及一种链路增益自适应的方法、装置、计算机设备及存储介质,其中,所述方法应用于TDD系统,在远端单元执行如下步骤:接收扩展单元通过馈线发送的第一信号;从所述第一信号中提取控制信号;从所述控制信号中提取时隙信号,所述时隙信号位于所述TDD系统的空闲时隙中;根据所述时隙信号确定所述馈线的第一插损值;根据所述第一插损值调整所述链路的增益。本发明实现在带内发送检测信号检测线缆的插损且不影响系统的性能及其工作,成本低且检测的准确性高。

Figure 202011587921

The present invention relates to a link gain adaptive method, device, computer equipment and storage medium, wherein the method is applied to a TDD system, and the remote unit performs the following steps: receiving the first signal sent by the extension unit through the feeder; Extracting a control signal from the first signal; extracting a time slot signal from the control signal, the time slot signal being located in an idle time slot of the TDD system; determining the first feeder line according to the time slot signal An insertion loss value; adjusting the gain of the link according to the first insertion loss value. The invention realizes sending detection signals in the band to detect the insertion loss of cables without affecting the performance and work of the system, and has low cost and high detection accuracy.

Figure 202011587921

Description

Translated fromChinese
链路增益自适应的方法、装置、计算机设备及存储介质Link gain adaptive method, device, computer equipment and storage medium

技术领域technical field

本发明涉及通信技术领域,具体地,涉及一种链路增益自适应的方法、装置、计算机设备及存储介质。The present invention relates to the field of communication technologies, and in particular, relates to a link gain adaptive method, device, computer equipment and storage medium.

背景技术Background technique

随着4G网络的大规模使用以及5G网络的逐步普及,时分双工(Time DivisionDuplex,简称TDD)模式以沉默通信领域中的主流和标准,TDD模式的特点在于时分双工,即收发使用同一频段并通过分时控制收发链路的开启和关闭。有源分布系统中包括主机单元(AU)、扩展单元(EU)和远端单元(RU),主机单元与扩展单元之间可采用光纤传输,扩展单元与远端单元之间可以采用模拟馈线传输。由于模拟馈线的长度、材料、制作工艺以及生产时间都会对线缆的插损造成影响,为了保证系统的稳定性和工程的便利性,需要测量出馈线的插损并通过系统的增益补偿方法来抵消馈线的插损,从而保证整个通信系统的增益平衡。With the large-scale use of 4G networks and the gradual popularization of 5G networks, the time division duplex (Time Division Duplex, referred to as TDD) mode to silence the mainstream and standard in the field of communication, TDD mode is characterized by time division duplex, that is, using the same frequency band And control the opening and closing of the sending and receiving link by time sharing. The active distribution system includes the main unit (AU), expansion unit (EU) and remote unit (RU). Optical fiber transmission can be used between the main unit and the expansion unit, and analog feeder transmission can be used between the expansion unit and the remote unit. . Since the length, material, manufacturing process and production time of the analog feeder will affect the insertion loss of the cable, in order to ensure the stability of the system and the convenience of the project, it is necessary to measure the insertion loss of the feeder and use the system gain compensation method to Offset the insertion loss of the feeder to ensure the gain balance of the entire communication system.

现有技术中公开了可以通过在扩展单元发送一个点频信号给远端单元,由远端单元检测出该点频信号的功率并根据该功率的大小检测出线缆的插损,从而根据插损调整系统的增益;然而,通过发送点频信号来检测线缆的插损需要另加增加信号发送装置,从而导致成本加大;再者,如果所述点频信号是在带内发送,即在工作频段内发送,会对系统的工作信号产生干扰,在干扰严重的情况下,系统需要停止覆盖信号来进行增益的调整,调整完成后才能继续工作,这并不符合通信覆盖系统的设计;如果所述点频信号是在带外发送,即在工作频段外发送,由于模拟馈线的长度、材料、制作工艺以及生产时间会对线缆的插损造成影响,导致检测的实际插损并不准确,使得增益调整的准确率降低。It is disclosed in the prior art that an extension unit can send a point frequency signal to the remote unit, and the remote unit can detect the power of the point frequency signal and detect the insertion loss of the cable according to the power, so that according to the insertion loss adjustment system gain; however, to detect the insertion loss of the cable by sending a point frequency signal requires an additional signal transmission device, resulting in an increase in cost; moreover, if the point frequency signal is sent in-band, that is Sending in the working frequency band will interfere with the working signal of the system. In the case of severe interference, the system needs to stop the coverage signal to adjust the gain. After the adjustment is completed, it can continue to work, which does not conform to the design of the communication coverage system; If the point frequency signal is sent out-of-band, that is, outside the working frequency band, the actual insertion loss detected will not be Accurate, which reduces the accuracy of gain adjustment.

另外,现有的有源分布系统多为多制式系统,即为包含了2G、3G、4G、5G等制式的系统,频率跨度大,不同的频率对信号的响应不同,存在线缆平坦度的问题,从而无法精准测量出线缆的插损。In addition, most of the existing active distribution systems are multi-standard systems, that is, systems that include 2G, 3G, 4G, 5G and other standards. The frequency span is large, and different frequencies have different responses to signals. Therefore, it is impossible to accurately measure the insertion loss of the cable.

发明内容Contents of the invention

本发明旨在解决上述现有技术中至少一种缺陷(不足),提供一种链路增益自适应的方法、装置、计算机设备及存储介质,实现在带内发送检测信号检测线缆的插损且不影响系统的性能及其工作,成本低且检测的准确性高。The present invention aims to solve at least one defect (deficiency) in the above-mentioned prior art, and provides a method, device, computer equipment and storage medium for link gain self-adaptation, so as to realize the insertion loss detection of cables by sending detection signals in-band Without affecting the performance and work of the system, the cost is low and the detection accuracy is high.

一方面,提供一种链路增益自适应的方法,所述方法应用于TDD系统,在远端单元执行如下步骤:On the one hand, a method for link gain adaptation is provided, the method is applied to a TDD system, and the following steps are performed at a remote unit:

接收扩展单元通过馈线发送的第一信号;receiving the first signal sent by the expansion unit through the feeder;

从所述第一信号中提取控制信号;extracting a control signal from said first signal;

从所述控制信号中提取时隙信号,所述时隙信号位于所述TDD系统的空闲时隙中;extracting a time slot signal from the control signal, the time slot signal being located in an idle time slot of the TDD system;

根据所述时隙信号确定所述馈线的第一插损值;determining a first insertion loss value of the feeder according to the time slot signal;

根据所述第一插损值调整所述链路的增益。Adjust the gain of the link according to the first insertion loss value.

通过从第一信号中提取控制信号,从控制信号值提取时隙信号,根据位于TDD系统空闲时隙中的时隙信号确定馈线的第一插损值,并根据第一插损值调整链路的增益,从而保证了通信系统的链路的增益稳定;由于时隙信号位于TDD系统的空闲时隙中,因此即使时隙信号工作频率内传输也不影响系统的正常工作及其性能,也无需断开信号即可根据时隙信号确定链路的第一插损值,提高了链路插损值的准确率。By extracting the control signal from the first signal, extracting the time slot signal from the control signal value, determining the first insertion loss value of the feeder according to the time slot signal located in the idle time slot of the TDD system, and adjusting the link according to the first insertion loss value The gain of the communication system guarantees the gain stability of the link of the communication system; since the time slot signal is located in the idle time slot of the TDD system, even if the time slot signal is transmitted within the working frequency, it will not affect the normal operation and performance of the system, and there is no need to The first insertion loss value of the link can be determined according to the time slot signal by disconnecting the signal, which improves the accuracy of the link insertion loss value.

进一步地,从所述第一信号中提取控制信号包括:Further, extracting the control signal from the first signal includes:

对所述第一信号进行耦合、功分和放大,以获取所述第一信号的第一功分信号、第二功分信号;performing coupling, power division and amplification on the first signal to obtain a first power division signal and a second power division signal of the first signal;

对所述第一功分信号进行检波处理以获取所述控制信号。performing detection processing on the first power division signal to obtain the control signal.

通过对第一信号进行耦合、功分以及放大从而可以快速地将第一信号分为第一功分信号和第二功分信号,再对第一功分信号进行检波处理从而可以准确的获取控制信号,提高信号获取的准确率。By coupling, dividing and amplifying the first signal, the first signal can be quickly divided into the first power division signal and the second power division signal, and then the first power division signal can be detected and processed to obtain accurate control signal to improve the accuracy of signal acquisition.

进一步地,所述从所述控制信号中提取时隙信号包括:Further, the extracting the time slot signal from the control signal includes:

根据所述控制信号检测所述空闲时隙,以获取所述时隙信号。Detecting the idle time slot according to the control signal to obtain the time slot signal.

由于时隙信号位于TDD系统的空闲时隙内,从而只需检测空闲时隙即可获取时隙信号。Since the time slot signal is located in the idle time slot of the TDD system, the time slot signal can be acquired only by detecting the idle time slot.

进一步地,所述根据所述时隙信号确定所述馈线的第一插损值包括:Further, 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;

将所述时隙信号的幅度与预设的参考幅度进行比较,以确定所述第一插损值。The amplitude of the time slot signal is compared with a preset reference amplitude to determine the first insertion loss value.

通过检测时隙信号的幅度并将时隙信号的幅度与预设的参考幅度进行比较以确定第一插损值,该方法简单且计算量小。The first insertion loss value is determined by detecting the amplitude of the time slot signal and comparing the amplitude of the time slot signal with a preset reference amplitude, the method is simple and has a small amount of calculation.

进一步地,所述根据所述第一插损值调整所述链路的增益包括:Further, the adjusting the gain of the link according to the first insertion loss value includes:

根据所述第一插损值生成第一调节信号;generating a first adjustment signal according to the first insertion loss value;

根据所述第一调节信号调整所述链路的增益。Adjust the gain of the link according to the first adjustment signal.

通过根据第一插损值生成第一调节信号,并根据第一调节信号调整链路的增益,从而保证了通信系统的链路的增益稳定。By generating the first adjustment signal according to the first insertion loss value and adjusting the gain of the link according to the first adjustment signal, the gain stability of the link of the communication system is ensured.

进一步地,在所述远端单元还执行如下步骤:Further, 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 determined by the extension unit according to the monitoring signal;

判断所述第一插损值与所述第二插损值的差值是否在预设范围内;judging whether the difference between the first interpolation loss value and the second interpolation loss value is within a preset range;

若是,则根据所述第一插损值调整所述链路的增益。If yes, adjust the gain of the link according to the first insertion loss value.

通过向扩展单元发送监控信号,接收扩展单元根据监控信号确定的链路的第二插损值来判断第一插损值与第二插损值的差值是否在预设范围内,当差值在预设的范围内才根据第一插损值调整链路的增益,从而可以根据第一插损值与第二插损值的差值判断馈线是否异常,提高系统的稳定性。By sending a monitoring signal to the extension unit, the receiving extension unit judges whether the difference between the first insertion loss value and the second insertion loss value is within the preset range according to the second insertion loss value of the link determined by the monitoring signal, when the difference The gain of the link is only adjusted according to the first insertion loss value within a preset range, so that whether the feeder is abnormal can be judged according to the difference 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 also performed at the remote unit:

将所述第二功分信号进行检波处理,以获取所述第二功分信号的检波电压;performing detection processing on the second power division signal to obtain a detection voltage of the second power division signal;

根据所述检波电压和预设的门限值生成第二调节信号;generating a second adjustment signal according to the detection voltage and a preset threshold value;

根据所述第二调节信号调整所述链路的增益。Adjust the gain of the link according to the second adjustment signal.

通过将第二功分信号进行检波处理以获取第二功分信号的检波电压,根据检波电压和预设的门限值生成第二调节信号,并根据第二调节信号调整链路的增益,从而保证了整个系统的功率在安全的范围内,极大地提高了系统的稳定性和可靠性。By performing detection processing on the second power division signal to obtain a detection voltage of the second power division signal, generating a second adjustment signal according to the detection voltage and a preset threshold value, and adjusting the gain of the link according to the second adjustment signal, thereby This ensures that the power of the entire system is within a safe range, greatly improving the stability and reliability of the system.

进一步地,所述第二调节信号包括第一分调节信号和第二分调节信号;Further, the second adjustment signal includes a first sub-regulation signal and a second sub-regulation signal;

所述预设的门限值包括第一门限值和第二门限值;The preset threshold value includes a first threshold value and a second threshold value;

所述根据所述检波电压和预设的门限值生成第二调节信号包括:The generating the second adjustment signal according to the detection voltage and a preset threshold value includes:

判断所述检波电压是否大于所述第一门限值;judging whether the detection voltage is greater than the first threshold;

若判定大于所述第一门限值,则根据所述检波电压与所述第一门限值确定所述第一分调节信号;If it is determined to be greater than the first threshold value, then determine the first sub-adjustment signal according to the detection voltage and the first threshold value;

若判定不大于所述第一门限值,则判断所述检波电压是否小于所述第二门限值;If it is determined that it is not greater than the first threshold value, then determine whether the detection voltage is less than the second threshold value;

若判定小于所述第二门限值,则生成第二分调节信号;If it is determined to be less than the second threshold value, then generate a second sub-adjustment signal;

若判定不小于所述第二门限值,则将所述第二功分信号再次进行检波处理。If it is determined that it is not less than the second threshold value, the second power division signal is subjected to detection processing again.

通过将第二功分信号的检波电压进行二次比较,也即采用双门限的比较器进行比较,从而解决了单门限比较器容易出现当检波电压在门限附近轻微变化时比较器输出高低电平切换频繁,导致衰减器频繁切换而出现远近效应的问题。By comparing the detection voltage of the second power division signal twice, that is, using a double-threshold comparator for comparison, it solves the problem that the single-threshold comparator is prone to output high and low levels when the detection voltage changes slightly near the threshold. Frequent switching results in the near-far effect caused by frequent switching of the attenuator.

进一步地,所述根据所述第二调节信号调整所述链路的增益包括:Further, the adjusting the gain of the link according to the second adjustment signal includes:

根据所述第一分调节信号或第二分调节信号调整所述链路的增益。Adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal.

通过根据第一分调节信号或第二分调节信号调整链路的增益,从而提高了系统的稳定性和可靠性。By adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal, the stability and reliability of the system are improved.

进一步地,在所述扩展单元执行如下步骤:Further, the following steps are performed in the extension unit:

接收来自主机单元的所述第二功分信号;receiving the second power division signal from the 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 from the first power-divided signal and the second power-divided signal, and sending the first signal to the remote unit through the feeder.

通过生成开关控制信号、载波信号以及在空闲时隙中增加的时隙信号并将开关控制信号、载波信号以及时隙信号生成第一功分信号,以使时隙信号和开关控制信号可以通过馈线传输给远端单元;通过将第一功分信号、第二功分信号生成第一信号,从而实现将多频段的信号组合到一起后再通过馈线传输到远端单元。By generating the switch control signal, the carrier signal and the time slot signal added in the idle time slot and generating the first power division signal from the switch control signal, the carrier signal and the time slot signal, so that the time slot signal and the switch control signal can pass through the feeder It is transmitted to the remote unit; the first signal is generated by the first power division signal and the second power division signal, so that the signals of multiple frequency bands are combined together and then transmitted to the remote unit through the feeder.

进一步地,所述将所述载波信号、所述开关控制信号以及所述时隙信号生成第一功分信号包括:Further, the generating the first power division signal from the carrier signal, the switch control signal and the time slot signal includes:

将所述载波信号、所述开关控制信号以及所述时隙信号输入射频开关,以生成所述第一功分信号,其中,所述开关控制信号用于控制所述射频开关。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 to control 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 the 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.

进一步地,在所述扩展单元还执行如下步骤:Further, the following steps are also performed in the extension unit:

接收所述远端单元发送的所述监控信号;receiving the monitoring signal sent by the remote unit;

根据所述监控信号确定所述链路的第二插损值;determining a second insertion loss value of the link according to the monitoring signal;

将所述第二插损值发送给所述远端单元。sending the second insertion loss value to the remote unit.

进一步地,所述监控信号包括所述监控信号的发射功率;Further, the monitoring signal includes the transmission 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 received power of the monitoring signal;

根据所述发射功率以及所述接收功率确定所述第二插损值。Determine the second insertion loss value according to the transmit power and the receive power.

通过检测监控信号的接收功率并根据发射功率和接收功率确定第二插损值,该方法简单且快速。The method is simple and fast by detecting the received power of the monitor signal and determining the second insertion loss value according to the transmitted power and the received power.

另一方面,提供一种链路增益自适应的装置,所述装置应用于TDD系统,所述装置包括远端单元;In another aspect, a link gain adaptive device is provided, the device is applied to a TDD system, and the device includes a remote unit;

所述远端单元包括:The remote unit includes:

信号接收第一模块,用于接收所述扩展单元通过馈线发送的第一信号;A first signal receiving module, configured to receive the first signal sent by the expansion unit through the feeder;

信号提取模块,用于从所述第一信号中提取控制信号,以及从所述控制信号中获取所述时隙信号,其中,所述时隙信号位于所述TDD系统的空闲时隙中;A signal extraction module, configured to extract a control signal from the first signal, and obtain the time slot signal from the control signal, wherein the time slot signal is located in an idle time slot of the TDD system;

第一插损确定模块,用于根据所述时隙信号确定所述馈线的第一插损值;A first insertion loss determination module, configured to determine a first insertion loss value of the feeder according to the time slot signal;

增益调整模块,用于根据所述第一插损值调整所述链路的增益。A gain adjustment module, configured to adjust the gain of the link according to the first insertion loss value.

通过从第一信号中提取控制信号,从控制信号值提取时隙信号,根据位于TDD系统空闲时隙中的时隙信号确定馈线的第一插损值,并根据第一插损值调整链路的增益,从而保证了通信系统的链路的增益稳定;由于时隙信号位于TDD系统空闲时隙中,因此即使时隙信号工作频率内传输也不影响系统的正常工作及其性能,也无需断开信号即可根据时隙信号确定链路的第一插损值,提高了链路插损值的准确率。By extracting the control signal from the first signal, extracting the time slot signal from the control signal value, determining the first insertion loss value of the feeder according to the time slot signal located in the idle time slot of the TDD system, and adjusting the link according to the first insertion loss value Gain, thus ensuring the gain stability of the link of the communication system; Since the time slot signal is located in the idle time slot of the TDD system, even if the time slot signal is transmitted within the working frequency, it will not affect the normal operation and performance of the system, and there is no need to stop By turning on the signal, the first insertion loss value of the link can be determined according to the time slot signal, which improves the accuracy of the link insertion loss value.

另一方面,提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如上所述的链路增益自适应的方法。In another aspect, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned method for link gain adaptation when executing the computer program.

另一方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的链路增益自适应的方法。In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above link gain adaptation method is implemented.

与现有技术相比,本发明的有益效果为:Compared with prior art, the beneficial effect of the present invention is:

本发明通过从第一信号中提取控制信号,从控制信号值提取时隙信号,根据位于TDD系统空闲时隙中的时隙信号确定馈线的第一插损值,并根据第一插损值调整链路的增益,从而保证了通信系统的链路的增益稳定;由于时隙信号位于TDD系统空闲时隙中,因此即使时隙信号工作频率内传输也不影响系统的正常工作及其性能,也无需断开信号即可根据时隙信号确定链路的第一插损值,提高了链路插损值的准确率。The present 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 according to the time slot signal located in the idle time slot of the TDD system, and adjusts the first insertion loss value according to the first insertion loss value The gain of the link, thus ensuring the stability of the link gain of the communication system; because the time slot signal is located in the idle time slot of the TDD system, even if the time slot signal is transmitted within the operating frequency, it will not affect the normal operation and performance of the system, and The first insertion loss value of the link can be determined according to the time slot signal without disconnecting the signal, thereby improving the accuracy of the link insertion loss value.

通过向扩展单元发送监控信号,接收扩展单元根据监控信号确定的链路的第二插损值来判断第一插损值与第二插损值的差值是否在预设范围内,当差值在预设的范围内才根据第一插损值调整链路的增益,从而可以根据第一插损值与第二插损值的差值判断馈线是否异常,提高系统的稳定性。By sending a monitoring signal to the extension unit, the receiving extension unit judges whether the difference between the first insertion loss value and the second insertion loss value is within the preset range according to the second insertion loss value of the link determined by the monitoring signal, when the difference The gain of the link is only adjusted according to the first insertion loss value within a preset range, so that whether the feeder is abnormal can be judged according to the difference between the first insertion loss value and the second insertion loss value, and the stability of the system is improved.

通过将第二功分信号进行检波处理以获取第二功分信号的检波电压,根据检波电压和预设的门限值生成第二调节信号,并根据第二调节信号实时调整链路的增益,从而保证了整个系统的功率在安全的范围内,极大地提高了系统的稳定性和可靠性。By performing detection processing on the second power division signal to obtain a detection voltage of the second power division signal, generating a second adjustment signal according to the detection voltage and a preset threshold value, and adjusting the gain of the link in real time according to the second adjustment signal, This ensures that the power of the entire system is within a safe range, and greatly improves the stability and reliability of the system.

附图说明Description of drawings

图1为一个实施例中的链路增益自适应的方法流程示意图;FIG. 1 is a schematic flowchart of a method for link gain adaptation in an embodiment;

图2为一个实施例空闲时隙中的时隙信号的示意图;Fig. 2 is the schematic diagram of the time slot signal in the idle time slot of an embodiment;

图3为一个实施例中的链路增益自适应的方法流程示意图;FIG. 3 is a schematic flowchart of a method for link gain adaptation in an embodiment;

图4为一个实施例中的链路增益自适应的方法流程示意图;FIG. 4 is a schematic flowchart of a method for link gain adaptation in an embodiment;

图5为一个实施例中的链路增益自适应的方法流程示意图;FIG. 5 is a schematic flowchart of a method for link gain adaptation in an embodiment;

图6为一个实施例中的链路增益自适应的方法流程示意图;FIG. 6 is a schematic flowchart of a method for link gain adaptation in an embodiment;

图7为一个实施例中的链路增益自适应的方法流程示意图;FIG. 7 is a schematic flowchart of a method for link gain adaptation in an embodiment;

图8为一个实施例中的链路增益自适应的装置的结构示意图;FIG. 8 is a schematic structural diagram of an apparatus for link gain adaptation in an embodiment;

图9为一个实施例中的链路增益自适应的装置的结构示意图;FIG. 9 is a schematic structural diagram of an apparatus for link gain adaptation in an embodiment;

图10为一个实施例中的链路增益自适应的装置的结构示意图;FIG. 10 is a schematic structural diagram of an apparatus for link gain adaptation in an embodiment;

图11为一个实施例中的ALC电路的结构示意图。FIG. 11 is a schematic structural diagram of an ALC circuit in an embodiment.

具体实施方式Detailed ways

本发明附图仅用于示例性说明,不能理解为对本发明的限制。为了更好说明以下实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;对于本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。The accompanying drawings of the present invention are only for illustrative purposes, and should not be construed as limiting the present invention. In order to better illustrate the following embodiments, some components in the drawings will be omitted, enlarged or reduced, and do not represent the size of the actual product; for those skilled in the art, some known structures and their descriptions in the drawings may be omitted. understandable.

本申请实施例提供一种链路增益自适应的方法、装置、计算机设备及存储介质,旨在解决现有技术在检测馈线的线损的过程中,因通过在工作频段内发送点频信号来检测插损值,对系统的工作信号产生干扰,或者在工作频段外发送点频信号来检测插损值导致检测的精准度低的问题。The embodiment of the present application provides a link gain self-adaptive method, device, computer equipment, and storage medium, aiming to solve the problem of detecting the line loss of the feeder in the prior art due to the problem of transmitting point frequency signals in the working frequency band. Detect the insertion loss value, which will interfere with the working signal of the system, or send a point frequency signal outside the working frequency band to detect the insertion loss value, resulting in low detection accuracy.

下面结合附图和实施例对本发明的技术方案做进一步地说明。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

在一个实施例中,提供一种链路增益自适应的方法,所述方法应用于TDD系统,如图1所示为链路增益自适应的方法流程示意图,所述方法在远端单元执行如下步骤:In one embodiment, a method for link gain adaptation is provided. The method is applied to a TDD system. As shown in FIG. 1 , it is a schematic flow chart of a method for link gain adaptation. step:

S201.接收扩展单元通过馈线发送的第一信号;S201. Receive the first signal sent by the expansion unit through the feeder;

S202.从所述第一信号中提取控制信号;S202. Extract a control signal from the first signal;

S203.从所述控制信号中提取时隙信号,所述时隙信号位于所述TDD系统的空闲时隙中;S203. Extract a time slot signal from the control signal, where the time slot signal is located in an idle time slot of the TDD system;

S204.根据所述时隙信号确定所述馈线的第一插损值;S204. Determine a first insertion loss value of the feeder according to the time slot signal;

S205.根据所述第一插损值调整所述链路的增益。S205. Adjust the gain of the link according to the first insertion loss value.

具体的,TDD系统包括了主机单元(AU)、扩展单元(EU)和远端单元(AU),扩展单元主要用于产生和接收各种通信信号,远端单元主要用于接收近端单元的通信信号,实现不同需求的室内信号覆盖,在通信系统中,由于近端单元中各个通信信号具有不同的频段,因此需要将输入的多频段的信号组合到一起,形成合路通信信号,再通过馈线输出到各个远端单元。具体的,所述第一信号为合路通信信号,所述合路通信信号包括但不限于4G通信信号、5G通信信号、载波信号、开关控制信号以及时隙信号;扩展单元将第一信号通过馈线发送给远端单元后,远端单元从第一信号中提取控制信号,具体的,所述控制信号可以为开关控制信号与时隙信号的合路信号;然后从控制信号中提取位于TDD系统的空闲时隙中的时隙信号,并根据时隙信号确定馈线的第一插损值,从而根据第一插损值调整链路的增益。Specifically, the TDD system includes a host unit (AU), an extension unit (EU) and a remote unit (AU). The extension unit is mainly used to generate and receive various communication signals, and the remote unit is mainly used to receive signals from the near-end unit. Communication signals to achieve indoor signal coverage for different needs. In the communication system, since each communication signal in the near-end unit has different frequency bands, it is necessary to combine the input multi-band signals to form a combined communication signal, and then pass The feeder output goes to each remote unit. Specifically, the first signal is a combination communication signal, and the combination communication signal includes but is not limited to 4G communication signal, 5G communication signal, carrier signal, switch control signal and time slot signal; the extension unit passes the first signal through After the feeder is sent to the remote unit, the remote unit extracts the control signal from the first signal. Specifically, the control signal can be a combination signal of the switch control signal and the time slot signal; and then extracts the signal located in the TDD system from the control signal. The time slot signal in the idle time slot, and determine the first insertion loss value of the feeder according to the time slot signal, so as to adjust the gain of the link according to the first insertion loss value.

具体的,远端单元包括第一核心控制器和第一衰减器,远端单元从第一信号中提取控制信号后,根据控制信号控制第一核心控制器从控制信号中提取时隙信号;然后远端单元根据第一核心控制器提取的时隙信号确定馈线的第一插损值,由第一核心控制器根据第一插损值控制第一衰减器调整链路的增益;具体的,所述第一核心控制器可以为FPGA模块,所述第一衰减器可以为ATT衰减器。Specifically, the remote unit includes a first core controller and a first attenuator, and after the remote unit extracts the control signal from the first signal, controls the first core controller to extract the time slot signal from the control signal according to the control signal; then The remote unit determines the first insertion loss value of the feeder 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 The first core controller may be an FPGA module, and the first attenuator may be an ATT attenuator.

由于时隙信号位于TDD系统的空闲时隙中,也即位于TDD系统的不工作的GP时隙中,因此时隙信号不包含有用的信号,不会对其余的工作信号产生干扰,如图2所示为在空闲时隙增加时隙信号的示意图,本实施例通过提取位于空闲时隙中的时隙信号并根据时隙信号确定馈线的第一插损值,从而根据第一插损值调整链路的增益,保证了通信系统的链路的增益稳定;再者,由于时隙信号位于TDD系统空闲时隙中,因此即使时隙信号工作频率内传输也不影响系统的正常工作及其性能,也无需断开信号即可根据时隙信号确定链路的第一插损值,提高了链路插损值的准确率。Since the time slot signal is located in the idle time slot of the TDD system, that is, in the non-working GP time slot of the TDD system, the time slot signal does not contain useful signals and will not interfere with other working signals, as shown in Figure 2 Shown is a schematic diagram of adding a time slot signal in an idle time slot. This embodiment extracts the time slot signal located in the idle time slot and determines the first insertion loss value of the feeder according to the time slot signal, thereby adjusting the first insertion loss value according to the first insertion loss value. The gain of the link ensures the stability of the link gain of the communication system; moreover, since the time slot signal is located in the idle time slot of the TDD system, even if the time slot signal is transmitted within the working frequency, it will not affect the normal operation and performance of the system , and the first insertion loss value of the link can be determined according to the time slot signal without disconnecting the signal, which improves the accuracy of the link insertion loss value.

在一个实施例中,步骤S202从所述第一信号中提取控制信号包括:In one embodiment, step S202 extracting the control signal from the first signal includes:

S2021.对所述第一信号进行耦合、功分和放大,以获取所述第一信号的第一功分信号、第二功分信号;S2021. Perform coupling, power division, and amplification on the first signal to obtain a first power division signal and a second power division signal of the first signal;

S2022.对所述第一功分信号进行检波处理以获取所述控制信号。S2022. Perform wave detection processing on the first power division signal to obtain the control signal.

具体的,所述远端单元包括耦合器、功分器、放大器和检波管,将第一信号以及输入耦合器、功分器和放大器,对第一信号进行耦合、功分以及放大,从而将第一信号分为第一功分信号和第二功分信号并使第一信号的发射功率能够尽量平均分配到第一功分信号和第二功分信号,具体的,第一功分信号可以为ASK调制信号,所述ASK调制信号包括载波信号、开关控制信号和时隙信号;然后将第一功分信号输入检波管进行检波处理,从而将第一功分信号中的载波信号去除获得控制信号,其中,所述控制信号的信号形式为电压信号,检波管采用峰值检波产生较低的时延及快速的响应;位于远端单元的第一核心控制器接收到所述响应后恢复开关信号,然后从形式为电压信号的控制信号中提取时隙信号。Specifically, the remote unit includes a coupler, a power divider, an amplifier, and a detector tube, and the first signal and the input coupler, power divider, and amplifier are coupled, power divided, and amplified to the first signal, so that the The first signal is divided into a first power division signal and a second power division signal, and the transmission power of the first signal can be evenly distributed to the first power division signal and the second power division signal. Specifically, the first power division signal can be It is an ASK modulation signal, and the ASK modulation signal includes a carrier signal, a switch control signal and a time slot signal; then the first power division signal is input into the detection tube for detection processing, thereby removing the carrier signal in the first power division signal to obtain control signal, wherein the signal form of the control signal is a voltage signal, and the detection tube adopts peak detection to generate a lower time delay and a fast response; the first core controller located at the remote unit restores the switching signal after receiving the response , and then extract the time slot signal from the control signal in the form of a voltage signal.

通过对第一信号进行耦合、功分以及放大从而可以快速地将第一信号分为第一功分信号和第二功分信号,再对第一功分信号进行检波处理从而可以准确的获取控制信号,提高信号获取的准确率。By coupling, dividing and amplifying the first signal, the first signal can be quickly divided into the first power division signal and the second power division signal, and then the first power division signal can be detected and processed to obtain accurate control signal to improve the accuracy of signal acquisition.

具体的,所述远端单元还包括滤波器,在对第一功分信号进行检波处理之间,还包括将第一功分信号输入滤波器中进行滤波处理,从而可以滤除第一功分信号中掺杂的干扰信号,防止干扰信号的干扰,提高信号获取的准确率。Specifically, the remote unit further includes a filter, and before performing detection processing on the first power-divided signal, it also includes inputting the first power-divided signal into the filter for filtering processing, so that the first power-divided signal can be filtered out. The interference signal doped in the signal prevents the interference of the interference signal and improves the accuracy of signal acquisition.

在一个实施例中,步骤S203从所述控制信号中提取时隙信号包括:In one embodiment, step S203 extracting the time slot signal from the control signal includes:

S2031.根据所述控制信号检测所述空闲时隙,以获取所述时隙信号。S2031. Detect the idle time slot according to the control signal, so as to acquire the time slot signal.

具体的,位于远端单元的第一核心控制器恢复开关信号后,从控制信号中检测出空闲时隙后即可获取时隙信号。Specifically, after the first core controller located in the remote unit recovers the switching signal, it can obtain the time slot signal after detecting the idle time slot from the control signal.

由于时隙信号位于TDD系统的空闲时隙内,从而只需检测空闲时隙即可获取时隙信号。Since the time slot signal is located in the idle time slot of the TDD system, the time slot signal can be acquired only by detecting the idle time slot.

在一个实施例中,步骤S204根据所述时隙信号确定所述馈线的第一插损值包括:In one embodiment, step S204 determining the first insertion loss value of the feeder according to the time slot signal includes:

S2041.检测所述时隙信号的幅度;S2041. Detect the amplitude of the time slot signal;

S2042.将所述时隙信号的幅度与预设的参考幅度进行比较,以确定所述第一插损值。S2042. Compare the amplitude of the time slot signal with a preset reference amplitude to determine the first insertion loss value.

具体的,位于远端单元的第一核心控制器从控制信号中检测出空闲时隙后即可检测出时隙信号的幅度P2,远端单元将时隙信号的幅度P2与预设的参考幅度P1做差从而得出馈线的第一插损值G1,其中,预设的参考幅度P1根据时隙信号在扩展单元时的初始幅度进行预设。Specifically, the first core controller located in the remote unit can detect the amplitude P2 of the time slot signal after detecting the idle time slot from the control signal, and the remote unit compares the amplitude P2 of the time slot signal with the preset reference amplitude P1 is subtracted to obtain the first insertion loss value G1 of the feeder, wherein the preset reference amplitude P1 is preset according to the initial amplitude of the time slot signal in the extension unit.

具体的,远端单元包括第一蓝牙模块,第一核心控制器检测出时隙信号的幅度P2后,将时隙信号的幅度P2传输给第一蓝牙模块,第一蓝牙模块将时隙信号的幅度P2与预设的参考幅度P1做差从而得出馈线的第一插损值G1。Specifically, the remote unit includes a first Bluetooth module. After the first core controller detects the amplitude P2 of the time slot signal, it transmits the amplitude P2 of the time slot signal to the first Bluetooth module, and the first Bluetooth module transmits the amplitude P2 of the time slot signal. A difference between the amplitude P2 and the preset reference amplitude P1 is made to obtain the first insertion loss value G1 of the feeder.

通过检测时隙信号的幅度并将时隙信号的幅度与预设的参考幅度进行比较以确定第一插损值,该方法简单且计算量小。The first insertion loss value is determined by detecting the amplitude of the time slot signal and comparing the amplitude of the time slot signal with a preset reference amplitude, the method is simple and has a small amount of calculation.

在一个实施例中,步骤S205根据所述第一插损值调整所述链路的增益包括:In one embodiment, step S205, adjusting the gain of the link according to the first insertion loss value includes:

S2052.根据所述第一插损值生成第一调节信号;S2052. Generate a first adjustment signal according to the first insertion loss value;

S2053.根据所述第一调节信号调整所述链路的增益。S2053. Adjust the gain of the link according to the first adjustment signal.

具体的,第一蓝牙模块计算出馈线的第一插损值G1后,将第一插损值G1发送给第一核心控制器,第一核心控制器根据第一插损值G1生成第一调节信号控制第一衰减器调整链路的增益。Specifically, after the first Bluetooth module calculates the first insertion loss value G1 of the feeder, it sends the first insertion loss value G1 to the first core controller, and the first core controller generates the first adjustment according to the first insertion loss value G1 The signal controls the first attenuator to adjust the gain of the link.

通过根据第一插损值生成第一调节信号,并根据第一调节信号调整链路的增益,从而保证了通信系统的链路的增益稳定。By generating the first adjustment signal according to the first insertion loss value and adjusting the gain of the link according to the first adjustment signal, the gain stability of the link of the communication system is ensured.

在一个实施例中,如图3所示,在所述远端单元还执行如下步骤:In one embodiment, as shown in Figure 3, the remote unit also performs the following steps:

S101.向所述扩展单元发送监控信号;S101. Send a monitoring signal to the expansion unit;

S102.接收所述扩展单元根据所述监控信号确定的所述链路的第二插损值;S102. Receive a second insertion loss value of the link determined by the extension unit according to the monitoring signal;

S2051.判断所述第一插损值与所述第二插损值的差值是否在预设范围内;S2051. Determine whether the difference between the first interpolation loss value and the second interpolation loss value is within a preset range;

S205.若是,则根据所述第一插损值调整所述链路的增益。S205. If yes, adjust the gain of the link according to the first insertion loss value.

具体的,远端单元包括射频开关,远端单元的第一蓝牙模块向扩展单元发送监控信号,所述监控信号可以为蓝牙RSSI信号,第一蓝牙模块控制远端单元的射频开关分时实现与扩展单元通信,第一蓝牙模块通过自定义Beacon帧广播蓝牙RSSI信号;扩展单元包括第二蓝牙模块,第二蓝牙模块在扫描的过程中会收到第一蓝牙模块广播的蓝牙RSSI信号,根据蓝牙RSSI信号确定链路的第二插损值G2,并将第二插损值G2发送给远端单元;远端单元在接收到扩展单元发送的第二插损值G2后,将第一插损值G1和第二插损值G2进行做差,并判断G2-G1的差值是否在预设范围内,若判定在预设的范围内则根据第一插损值G1调整链路的增益。Specifically, the remote unit includes a radio frequency switch, and the first Bluetooth module of the remote unit sends a monitoring signal to the extension unit, and the monitoring signal can be a Bluetooth RSSI signal, and the first Bluetooth module controls the radio frequency switch of the remote unit to realize time-sharing and The extension unit communicates, the first Bluetooth module broadcasts the Bluetooth RSSI signal through a custom Beacon frame; the extension unit includes the second Bluetooth module, and the second Bluetooth module will receive the Bluetooth RSSI signal broadcast by the first Bluetooth module during the scanning process, according to the Bluetooth The RSSI signal determines the second insertion loss value G2 of the link, and sends the second insertion loss value G2 to the remote unit; the remote unit sends the first insertion loss value G2 after receiving the second insertion loss value G2 sent by the extension unit. Make a difference between the value G1 and the second insertion loss value G2, and determine whether the difference between G2-G1 is within the preset range, and if it is determined to be within the preset range, adjust the gain of the link according to the first insertion loss value G1.

通过向扩展单元发送监控信号,接收扩展单元根据监控信号确定的链路的第二插损值来判断第一插损值与第二插损值的差值是否在预设范围内,当差值在预设的范围内才根据第一插损值调整链路的增益,从而可以根据第一插损值与第二插损值的差值判断馈线是否异常,提高系统的稳定性。By sending a monitoring signal to the extension unit, the receiving extension unit judges whether the difference between the first insertion loss value and the second insertion loss value is within the preset range according to the second insertion loss value of the link determined by the monitoring signal, when the difference The gain of the link is only adjusted according to the first insertion loss value within a preset range, so that whether the feeder is abnormal can be judged according to the difference between the first insertion loss value and the second insertion loss value, and the stability of the system is improved.

在一个实施例中,如图4所示,在所述远端单元还执行如下步骤:In one embodiment, as shown in Figure 4, the remote unit also performs the following steps:

S301.将所述第二功分信号进行检波处理,以获取所述第二功分信号的检波电压;S301. Perform detection processing on the second power division signal to obtain a detection voltage of the second power division signal;

S302.根据所述检波电压和预设的门限值生成第二调节信号;S302. Generate a second adjustment signal according to the detection voltage and a preset threshold value;

S303.根据所述第二调节信号调整所述链路的增益。S303. Adjust the gain of the link according to the second adjustment signal.

具体的,所述远端单元还包括模拟ALC电路和第二衰减器,其中,模拟ALC电路包括检波管和比较器;远端单元将第二功分信号输入检波管进行检波处理以获得第二功分信号的检波电压,具体的,所述第二功分信号可以为5G通信信号,也可以为4G通信信号;然后将检波电压输入比较器中进行比较,远端单元根据检波电压和预设的门限值生成第二调节信号,并根据第二调节信号调整链路的增益。Specifically, the remote unit also includes an analog ALC circuit and a second attenuator, wherein the analog ALC circuit includes a detector tube and a comparator; the remote unit inputs the second power division signal into the detector tube for detection processing to obtain the second The detection voltage of the power division signal, specifically, the second power division signal can be a 5G communication signal or a 4G communication signal; then the detection voltage is input into the comparator for comparison, and the remote unit The threshold value of the second adjustment signal is generated, and the gain of the link is adjusted according to the second adjustment signal.

具体的,由于检波电压一般较小,不经过放大直接输入比较器中导致抗干扰的能力较差,容易出现误调,因此,在检波管和比较器之间还设有放大器,具体的,所述放大器为一级放大器,检波电压经过一级放大后再输入比较器进行比较。Specifically, because the detection voltage is generally small, it is directly input into the comparator without amplification, resulting in poor anti-interference ability and prone to misadjustment. Therefore, an amplifier is also provided between the detection tube and the comparator. Specifically, the The above-mentioned amplifier is a one-stage amplifier, and the detection voltage is input to a comparator for comparison after being amplified by one stage.

具体的,所述比较器可以为单门限比较器,也可以为双门限比较器。Specifically, the comparator may be a single-threshold comparator, or a double-threshold comparator.

通过将第二功分信号进行检波处理以获取第二功分信号的检波电压,根据检波电压和预设的门限值生成第二调节信号,并根据第二调节信号调整链路的增益,从而保证了整个系统的功率在安全的范围内,极大地提高了系统的稳定性和可靠性。By performing detection processing on the second power division signal to obtain a detection voltage of the second power division signal, generating a second adjustment signal according to the detection voltage and a preset threshold value, and adjusting the gain of the link according to the second adjustment signal, thereby This ensures that the power of the entire system is within a safe range, greatly improving the stability and reliability of the system.

在一个实施例中,所述第二调节信号包括第一分调节信号和第二分调节信号;In one embodiment, the second adjustment signal includes a first sub-adjustment signal and a second sub-adjustment signal;

所述预设的门限值包括第一门限值和第二门限值;The preset threshold value includes a first threshold value and a second threshold value;

步骤S302根据所述检波电压和预设的门限值生成第二调节信号包括:Step S302 generating a second adjustment signal according to the detection voltage and a preset threshold value includes:

S3021.判断所述检波电压是否大于所述第一门限值;S3021. Judging whether the detection voltage is greater than the first threshold value;

S3022.若判定大于所述第一门限值,则根据所述检波电压与所述第一门限值确定所述第一分调节信号;S3022. If it is determined to be greater than the first threshold value, determine the first sub-adjustment signal according to the detection voltage and the first threshold value;

S3023.若判定不大于所述第一门限值,则判断所述检波电压是否小于所述第二门限值;S3023. If it is determined that it is not greater than the first threshold value, then determine whether the detection voltage is less than the second threshold value;

S3024.若判定小于所述第二门限值,则生成第二分调节信号;S3024. If it is determined to be less than the second threshold value, generate a second sub-adjustment signal;

S3025.若判定不小于所述第二门限值,则将所述第二功分信号再次进行检波处理。S3025. If it is determined that it is not less than the second threshold value, perform detection processing on the second power divided signal again.

具体的,所述比较器为双门限比较器,将检波电压输入比较器后,判断检波电压是否大于第一门限值,若是,则比较器输出高电平,远端单元计算检波电压与第一门限值的差值,第一核心控制器根据检波电压与第一门限值的差值生成第一分调节信号;若否,则将检波电压与第二门限值进行比较,判断检波电压是否小于第二门限值,若是,则比较器输出低电平给第一核心控制器,第一核心控制器根据低电平生成第二分调节信号,若否,则重新对第二功分信号进行检波处理。Specifically, the comparator is a dual-threshold comparator. After the detection voltage is input to the comparator, it is judged whether the detection voltage is greater than the first threshold value. If so, the comparator outputs a high level, and the remote unit calculates the difference between the detection voltage and the first threshold value A threshold value difference, the first core controller generates the first sub-adjustment signal according to the difference between the detection voltage and the first threshold value; if not, then compares the detection voltage with the second threshold value to determine the detection voltage Whether the voltage is less than the second threshold value, if so, the comparator outputs a low level to the first core controller, and the first core controller generates a second sub-adjustment signal according to the low level, if not, then resets the second function The sub-signal is detected and processed.

通过将第二功分信号的检波电压进行二次比较,也即采用双门限的比较器进行比较,从而解决了单门限比较器容易出现当检波电压在门限附近轻微变化时比较器输出高低电平切换频繁,导致衰减器频繁切换而出现远近效应的问题。By comparing the detection voltage of the second power division signal twice, that is, using a double-threshold comparator for comparison, it solves the problem that the single-threshold comparator is prone to output high and low levels when the detection voltage changes slightly near the threshold. Frequent switching results in the near-far effect caused by frequent switching of the attenuator.

在一个实施例中,所述根据所述第二调节信号调整所述链路的增益包括:In one embodiment, the adjusting the gain of the link according to the second adjustment signal includes:

S3031.根据所述第一分调节信号或第二分调节信号调整所述链路的增益。S3031. Adjust the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal.

具体的,第一核心控制器根据生成的第一分调节信号或第二分调节信号控制第二衰减器调整链路的增益;具体的,当第一核心控制器生成第一分调节信号时,根据第一分调节信号衰减第二衰减器,当第一核心控制器生成第二分调节信号时,根据第二分调节信号放开第二衰减器衰减的值。Specifically, the first core controller controls the second attenuator to adjust the gain of the link according to the generated first sub-adjustment signal or the second sub-adjustment 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 attenuated by the second attenuator is released according to the second sub-adjustment signal.

通过根据第一分调节信号或第二分调节信号调整链路的增益,从而提高了系统的稳定性和可靠性。By adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal, the stability and reliability of the system are improved.

在一个实施例中,如图5所示,在所述扩展单元执行如下步骤:In one embodiment, as shown in Figure 5, the following steps are performed in the extension unit:

A201.接收来自主机单元的所述第二功分信号;A201. Receive the second power division signal from the host unit;

A202.生成开关控制信号、载波信号以及在所述空闲时隙中增加所述时隙信号;A202. Generate a switch control signal, a carrier signal, and add the time slot signal in the idle time slot;

A203.将所述载波信号、所述开关控制信号以及所述时隙信号生成第一功分信号;A203. Generate a first power division signal from the carrier signal, the switch control signal, and the time slot signal;

A204.将所述第一功分信号和所述第二功分信号生成所述第一信号,并将所述第一信号通过所述馈线发送给所述远端单元。A204. Generate the first signal from the first power division signal and the second power division signal, and send the first signal to the remote unit through the feeder.

在一个实施例中,步骤A203中将所述载波信号、所述开关控制信号以及所述时隙信号生成第一功分信号包括:In one embodiment, generating the first power division signal from the carrier signal, the switch control signal and the time slot signal in step A203 includes:

A2031.将所述载波信号、所述开关控制信号以及所述时隙信号输入射频开关,以生成所述第一功分信号,其中,所述开关控制信号用于控制所述射频开关。A2031. Input 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 to control the radio frequency switch.

具体的,第二功分信号可以为4G通信信号,也可以为5G通信信号,所述扩展单元包括第二核心控制器、频率合成器和射频开关,其中,第二核心控制器可以为FPGA模块;第二核心控制器根据TDD系统的时隙配比生成开关控制信号并在TDD系统的空闲时隙中增加时隙信号;频率合成器生成载波信号,具体的,载波信号可以为点频信号;第二核心控制器生成开关控制信号控制射频开关的开关装置,所述开关控制信号为高低电平控制信号,当开关控制信号有信号时为高电平,射频开关导通,当没有信号时为低电平,射频开关不导通;将载波信号,开关控制信号和时隙信号输入射频开关,射频开关输出由一路同步控制信号调制的第一功分信号,所述第一功分信号可以为ASK调制信号;扩展单元将来自主机单元的第二功分信号和第一功分信号进行合路生成第一信号,并将第一信号通过馈线传输给远端单元。Specifically, the second power division signal can be a 4G communication signal or a 5G communication signal, and the extension unit includes a second core controller, a frequency synthesizer and a radio frequency switch, wherein the second core controller can be an FPGA module ; The second core controller generates a switch control signal according to the time slot ratio 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, specifically, the carrier signal can be a point frequency signal; The second core controller generates a switch control signal to control the switching device of the radio frequency switch. The switch control signal is a high and low level control signal. When the switch control signal has a signal, it is a high level, and the radio frequency switch is turned on. When there is no signal, it is Low level, the radio frequency switch is not conducting; the carrier signal, the switch control signal and the time slot signal are input to the radio frequency switch, and the radio frequency switch outputs the first power division signal modulated by one synchronous control signal, and the first power division signal can be ASK modulation signal; the expansion unit combines the second power division signal and the first power division signal from the host unit to generate a first signal, and transmits the first signal to the remote unit through a feeder.

通过生成开关控制信号、载波信号以及在空闲时隙中增加的时隙信号并将开关控制信号、载波信号以及时隙信号生成第一功分信号,以使时隙信号和开关控制信号可以通过馈线传输给远端单元;通过将第一功分信号、第二功分信号生成第一信号,从而实现将多频段的信号组合到一起后再通过馈线传输到远端单元。By generating the switch control signal, the carrier signal and the time slot signal added in the idle time slot and generating the first power division signal from the switch control signal, the carrier signal and the time slot signal, so that the time slot signal and the switch control signal can pass through the feeder It is transmitted to the remote unit; the first signal is generated by the first power division signal and the second power division signal, so that the signals of multiple frequency bands are combined together and then transmitted to the remote unit through the feeder.

在一个实施例中,如图6所示,在所述扩展单元还执行如下步骤:In one embodiment, as shown in FIG. 6, the extension unit also performs the following steps:

A101.接收所述远端单元发送的所述监控信号;A101. Receive the monitoring signal sent by the remote unit;

A102.根据所述监控信号确定所述链路的第二插损值;A102. Determine a second insertion loss value of the link according to the monitoring signal;

A103.将所述第二插损值发送给所述远端单元。A103. Send the second insertion loss value to the remote unit.

具体的,所述扩展单元包括第二蓝牙模块,当远端单元的第一蓝牙模块通过自定义Beacon帧广播监控信号时,第二蓝牙模块在扫描的过程中会收到第一蓝牙模块的Beacon帧,从而接收到监控信号,具体的,所述监控信号为蓝牙RSSI信号;第二蓝牙模块根据监控信号确定链路的第二插损值并将第二插损值发送给远端单元。Specifically, the extension unit includes a second Bluetooth module. When the first Bluetooth module of the remote unit broadcasts a monitoring signal through a custom Beacon frame, the second Bluetooth module will receive the Beacon of the first Bluetooth module during scanning. frame, thereby receiving a monitoring signal, specifically, the monitoring signal is a Bluetooth RSSI signal; the second Bluetooth module determines the 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 includes the transmit power of the monitoring signal;

步骤A102中根据所述监控信号确定所述链路的第二插损值包括:In step A102, determining the second insertion loss value of the link according to the monitoring signal includes:

A1021.接收所述监控信号并检测所述监控信号的接收功率;A1021. Receive the monitoring signal and detect the received power of the monitoring signal;

A1022.根据所述发射功率以及所述接收功率确定所述第二插损值。A1022. Determine the second insertion loss value according to the transmit power and the receive power.

具体的,远端单元的第一蓝牙模块广播携带了发射功率P3、板级链路损耗以及交互信息(软件版本号、MAC地址)的监控信号,第二蓝牙模块接收监控信号并检测监控信号的接收功率P4,将发射功率P3和接收功率P4做差得到第二插损值G2。Specifically, the first Bluetooth module of the remote unit broadcasts a monitoring signal that carries transmit power P3, board-level link loss, and interaction information (software version number, MAC address), and the second Bluetooth module receives the monitoring signal and detects the monitoring signal. For the received power P4, the difference between the transmitted power P3 and the received power P4 is obtained to obtain the second insertion loss value G2.

通过检测监控信号的接收功率并根据发射功率和接收功率确定第二插损值,该方法简单且快速。The method is simple and fast by detecting the received power of the monitor signal and determining the second insertion loss value according to the transmitted power and the received power.

如图7所示为链路增益自适应的方法详细流程示意图,本实施例的链路增益自适应的方法一共包括三级,具体的实施过程可以是:As shown in FIG. 7, it is a schematic flowchart of a detailed link gain adaptive method. The link gain adaptive method in this embodiment includes three stages in total. The specific implementation process may be as follows:

第一级为粗调:第一蓝牙模块广播蓝牙RSSI信号,第二蓝牙模块扫描并接收蓝牙RSSI信号后,根据蓝牙RSSI信号的发射功率P3和接收功率P5计算得出线缆的第二插损值G2;在第一蓝牙广播蓝牙RSSI信号的同时,第二核心控制器根据TDD系统的时隙配比生成开关控制信号,然后在TDD系统的空闲时隙中增加时隙信号,与此同时,频率生成器生成点频信号,扩展单元将开关控制信号、点频信号和时隙信号输入射频开关调制出ASK调制信号,然后扩展单元再将调制信号与来自主机单元的第二功分信号生成第一信号并传输给远端单元。The first level is coarse adjustment: the first Bluetooth module broadcasts the Bluetooth RSSI signal, and after the second Bluetooth module scans and receives the Bluetooth RSSI signal, calculates the second insertion loss of the cable according to the transmit power P3 and receive power P5 of the Bluetooth RSSI signal Value G2; while the first Bluetooth broadcasts the Bluetooth RSSI signal, the second core controller generates a switch control signal according to the time slot ratio of the TDD system, and then increases the time slot signal in the idle time slot of the TDD system. At the same time, The frequency generator generates the point frequency signal, and the expansion unit inputs the switch control signal, point frequency signal and time slot signal into the RF switch to modulate the ASK modulation signal, and then the expansion unit combines the modulation signal with the second power division signal from the host unit to generate the first A signal is transmitted to the remote unit.

第二级精调:远端单元接收第一信号后将第一信号依次输入耦合器、功分器以及放大器,对第一信号进行耦合、功分和放大以获取第一功分信号(ASK调制信号)和第二功分信号,然后再将第一功分信号输入检波管采用峰值检波以获取控制信号,所述控制信号的信号形式为电压信号;控制信号控制第一核心控制器恢复开关信号,第一核心控制器从控制信号中检测空闲时隙以获取时隙信号,在获取时隙信号的同时检测出时隙信号的幅度P1,将时隙信号的幅度P1输入第一蓝牙模块中,第一蓝牙模块根据时隙信号的幅度P1和预设的参考幅度P2计算线缆的第一插损值G1,并判断第二插损值G2与第一插损值G1的差值是否在预设的范围内,若是,则由第一核心控制信号生成第一调节信号控制第一衰减器进行衰减,从而调整链路的增益。The second level of fine tuning: after the remote unit receives the first signal, the first signal is input into the coupler, power divider and amplifier in sequence, and the first signal is coupled, power divided and amplified to obtain the first power divided signal (ASK modulation signal) and the second power division signal, and then input the first power division signal into the detector tube and adopt peak detection to obtain the control signal, the signal form of the control signal is a voltage signal; the control signal controls the first core controller to restore the switch signal , the first core controller detects the idle time slot from the control signal to obtain the time slot signal, detects the amplitude P1 of the time slot signal while acquiring the time slot signal, and inputs the amplitude P1 of the time slot signal into the first Bluetooth module, The first Bluetooth module calculates the first insertion loss value G1 of the cable according to the amplitude P1 of the time slot signal and the preset reference amplitude P2, and judges whether the difference between the second insertion loss value G2 and the first insertion loss value G1 is within the preset value. If it is within the preset range, if yes, the first adjustment signal is generated by the first core control signal to control the first attenuator to attenuate, thereby adjusting the gain of the link.

第三级保护:远端单元实时将第二功分信号输入模拟ALC电路中,其中,模拟ALC电路包括检波管和比较器,将单元将第二功分信号输入检波管进行检波处理以获得第二功分信号的检波电压,然后将检波电压输入放大器进行一级放大后再输入比较器中进行比较,将检波电压输入比较器后,判断检波电压是否大于第一门限值,若是,则比较器输出高电平,远端单元计算检波电压与第一门限值的差值,第一核心控制器根据检波电压与第一门限值的差值生成第一分调节信号;若否,则将检波电压与第二门限值进行比较,判断检波电压是否小于第二门限值,若是,则比较器输出低电平给第一核心控制器,第一核心控制器根据低电平生成第二分调节信号,若否,则重新对第二功分信号进行检波处理。Third-level protection: the remote unit inputs the second power division signal into the analog ALC circuit in real time, wherein the analog ALC circuit includes a detector tube and a comparator, and the unit inputs the second power division signal into the detector tube for detection processing to obtain the first The detection voltage of the two-power divided signal, and then input the detection voltage into the amplifier for one-stage amplification and then input it into the comparator for comparison. After inputting the detection voltage into the comparator, it is judged whether the detection voltage is greater than the first threshold value, and if so, it is compared The device outputs a high level, the remote unit calculates the difference between the detection voltage and the first threshold value, and the first core controller generates the first sub-adjustment signal according to the difference between the detection voltage and the first threshold value; if not, then Comparing the detection voltage with the second threshold value, judging whether the detection voltage is less than the second threshold value, if so, the comparator outputs a low level to the first core controller, and the first core controller generates the first core controller according to the low level Divide the adjusted signal, if not, re-perform detection processing on the second power divided signal.

在一个实施例中,如图8所示,提供一种链路增益自适应的装置,所述装置应用于TDD系统,所述装置包括远端单元;In one embodiment, as shown in FIG. 8 , a link gain adaptive device is provided, the device is applied to a TDD system, and the device includes a remote unit;

所述远端单元包括:The remote unit includes:

信号接收第一模块,用于接收所述扩展单元通过馈线发送的第一信号;A first signal receiving module, configured to receive the first signal sent by the expansion unit through the feeder;

信号提取模块,用于从所述第一信号中提取控制信号,以及从所述控制信号中获取所述时隙信号,其中,所述时隙信号位于所述TDD系统的空闲时隙中;A signal extraction module, configured to extract a control signal from the first signal, and obtain the time slot signal from the control signal, wherein the time slot signal is located in an idle time slot of the TDD system;

第一插损确定模块,用于根据所述时隙信号确定所述馈线的第一插损值;A first insertion loss determination module, configured to determine a first insertion loss value of the feeder according to the time slot signal;

增益调整模块,用于根据所述第一插损值调整所述链路的增益。A gain adjustment module, configured to adjust the gain of the link according to the first insertion loss value.

具体的,所述装置包括远端单元、扩展单元和主机单元,扩展单元主要用于产生和接收各种通信信号,远端单元主要用于接收近端单元的通信信号,实现不同需求的室内信号覆盖,在通信系统中,由于近端单元中各个通信信号具有不同的频段,因此需要将输入的多频段的信号组合到一起,形成合路通信信号,再通过馈线输出到各个远端单元。具体的,所述第一信号为合路通信信号,所述合路通信信号包括但不限于4G通信信号、5G通信信号、载波信号、开关控制信号以及时隙信号;扩展单元将第一信号通过馈线发送给远端单元后,信号接收第一模块接收扩展单元通过馈线发送的第一信号,信号提取模块从第一信号中提取控制信号后,根据控制信号从控制信号中提取时隙信号,其中,时隙信号位于TDD系统的空闲时隙中,然后交由第一插损确定模块根据时隙信号确定馈线的第一插损值;增益调整模块根据第一插损确定模块确定的第一插损值调整链路的增益。Specifically, the device includes a remote unit, an extension unit, and a host unit. The extension unit is mainly used to generate and receive various communication signals, and the remote unit is mainly used to receive communication signals from the near-end unit, so as to realize different indoor signal requirements. Coverage, in the communication system, since each communication signal in the near-end unit has different frequency bands, it is necessary to combine the input signals of multiple frequency bands together to form a combined communication signal, and then output it to each remote unit through a feeder. Specifically, the first signal is a combination communication signal, and the combination communication signal includes but is not limited to 4G communication signal, 5G communication signal, carrier signal, switch control signal and time slot signal; the extension unit passes the first signal through After the feeder is sent to the remote unit, the first signal receiving module receives the first signal sent by the expansion unit through the feeder, the signal extraction module extracts the control signal from the first signal, and extracts the time slot signal from the control signal according to the control signal, wherein , the time slot signal is located in the idle time slot of the TDD system, and then the first insertion loss determination module determines the first insertion loss value of the feeder according to the time slot signal; the gain adjustment module determines the first insertion loss value according to the first insertion loss determination module The loss value adjusts the gain of the link.

具体的,如图9所示,信号提取模块包括第一核心控制器,所述增益调整模块包括第一衰减器,信号提取模块从第一信号中提取控制信号后,根据控制信号控制第一核心控制器从控制信号中提取时隙信号;然后第一插损确定模块根据第一核心控制器提取的时隙信号确定馈线的第一插损值,由第一核心控制器根据第一插损值控制第一衰减器调整链路的增益;具体的,所述第一核心控制器可以为FPGA模块,所述第一衰减器可以为ATT衰减器。Specifically, as shown in FIG. 9, the signal extraction module includes a first core controller, and the gain adjustment module includes a first attenuator. After the signal extraction module extracts the control signal from the first signal, it controls the first core according to the control signal. The controller extracts the time slot signal from the control signal; then the first insertion loss determination module determines the first insertion loss value of the feeder according to the time slot signal extracted by the first core controller, and the first core controller determines the first insertion loss value according to the first insertion loss value Controlling the first attenuator to adjust the gain of the link; specifically, the first core controller may be an FPGA module, and the first attenuator may be an ATT attenuator.

由于时隙信号位于TDD系统的空闲时隙中,也即位于TDD系统的不工作的GP时隙中,因此时隙信号不包含有用的信号,不会对其余的工作信号产生干扰,本实施例通过提取位于空闲时隙中的时隙信号并根据时隙信号确定馈线的第一插损值,从而根据第一插损值调整链路的增益,保证了通信系统的链路的增益稳定;再者,由于时隙信号位于TDD系统空闲时隙中,因此即使时隙信号工作频率内传输也不影响系统的正常工作及其性能,也无需断开信号即可根据时隙信号确定链路的第一插损值,提高了链路插损值的准确率。Since the time slot signal is located in the idle time slot of the TDD system, that is, in the non-working GP time slot of the TDD system, the time slot signal does not contain useful signals and will not interfere with other working signals. 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 adjusting the gain of the link according to the first insertion loss value, the gain stability of the link of the communication system is guaranteed; Or, because the time slot signal is located in the idle time slot of the TDD system, even if the time slot signal is transmitted within the operating frequency, it will not affect the normal operation and performance of the system, and the first link of the link can be determined according to the time slot signal without disconnecting the signal. An insertion loss value improves the accuracy of the link insertion loss value.

在一个实施例中,所述从所述第一信号中提取控制信号包括:In one embodiment, the extracting the control signal from the first signal includes:

对所述第一信号进行耦合、功分和放大,以获取所述第一信号的第一功分信号、第二功分信号;performing coupling, power division and amplification on the first signal to obtain a first power division signal and a second power division signal of the first signal;

对所述第一功分信号进行检波处理以获取所述控制信号。performing detection processing on the first power division signal to obtain the control signal.

具体的,信号提取模块中包括耦合器、功分器、放大器以及检波管,信号提取模块将第一信号一次输入耦合器、功分器以及放大器中,分别对第一信号进行耦合、功分以及放大,从而将第一信号分为第一功分信号和第二功分信号并使第一信号的发射功率能够尽量平均分配到第一功分信号和第二功分信号,具体的,第一功分信号可以为ASK调制信号,所述ASK调制信号包括载波信号、开关控制信号和时隙信号;然后信号提取模块将第一功分信号输入检波管进行检波处理,从而将第一功分信号中的载波信号去除获得控制信号,其中,所述控制信号的信号形式为电压信号,检波管采用峰值检波产生较低的时延及快速的响应;第一核心控制器接收到所述响应后恢复开工控制信号,然后从形式为电压信号的控制信号中提取时隙信号。Specifically, the signal extraction module includes a coupler, a power divider, an amplifier, and a detector tube. The signal extraction module inputs the first signal into the coupler, power divider, and amplifier at one time, and performs coupling, power division, and Amplify, so that the first signal is divided into the first power division signal and the second power division signal and the transmission power of the first signal can be evenly distributed to the first power division signal and the second power division signal. Specifically, the first The 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; then the signal extraction module inputs the first power division signal into the detection tube for detection processing, thereby converting the first power division signal The carrier signal in 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 a lower time delay and a fast response; the first core controller recovers after receiving the response The start control signal is then extracted from the control signal in the form of a voltage signal for the time slot signal.

通过对第一信号进行耦合、功分以及放大从而可以快速地将第一信号分为第一功分信号和第二功分信号,再对第一功分信号进行检波处理从而可以准确的获取控制信号,提高信号获取的准确率。By coupling, dividing and amplifying the first signal, the first signal can be quickly divided into the first power division signal and the second power division signal, and then the first power division signal can be detected and processed to obtain accurate control signal to improve the accuracy of signal acquisition.

具体的,信号提取模块还包括滤波器,在对第一功分信号进行检波处理之间,还包括将第一功分信号输入滤波器中进行滤波处理,从而可以滤除第一功分信号中掺杂的干扰信号,防止干扰信号的干扰,提高信号获取的准确率。Specifically, the signal extraction module further includes a filter, and before performing detection processing on the first power-divided signal, it also includes inputting the first power-divided signal into the filter for filtering processing, so that the first power-divided signal can be filtered out. The doped interference signal prevents the interference of the interference signal and improves the accuracy of signal acquisition.

在一个实施例中,所述从所述控制信号中提取时隙信号包括:In one embodiment, the extracting the time slot signal from the control signal includes:

根据所述控制信号检测所述空闲时隙,以获取所述时隙信号。Detecting the idle time slot according to the control signal to obtain the time slot signal.

具体的,信号提取模块中的第一核心控制器恢复开工控制信号后,从控制信号中检测出空闲时隙后即可获取时隙信号。Specifically, after the first core controller in the signal extraction module recovers the start control signal, it can obtain the time slot signal after detecting an idle time slot from the control signal.

由于时隙信号位于TDD系统的空闲时隙内,从而只需检测空闲时隙即可获取时隙信号。Since the time slot signal is located in the idle time slot of the TDD system, the time slot signal can be acquired only by detecting the idle time slot.

在一个实施例中,所述根据所述时隙信号确定所述馈线的第一插损值包括:In an 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;

将所述时隙信号的幅度与预设的参考幅度进行比较,以确定所述第一插损值。The amplitude of the time slot signal is compared with a preset reference amplitude to determine the first insertion loss value.

具体的,信号提取模块中国的第一核心控制器从控制信号中检测出空闲时隙后即可检测出时隙信号的幅度P2,第一插损确定模块将时隙信号的幅度P2与预设的参考幅度P1做差从而得出馈线的第一插损值G1,其中,预设的参考幅度P1根据时隙信号在扩展单元时的初始幅度进行预设。Specifically, the signal extraction module China's first core controller can detect the amplitude P2 of the time slot signal after detecting the idle time slot from the control signal, and the first insertion loss determination module compares the amplitude P2 of the time slot signal with the preset The first insertion loss value G1 of the feeder is obtained by making a difference of the reference amplitude P1, wherein the preset reference amplitude P1 is preset according to the initial amplitude of the time slot signal in the extension unit.

具体的,第一插损确定模块包括第一蓝牙模块,第一核心控制器检测出时隙信号的幅度P2后,将时隙信号的幅度P2传输给第一蓝牙模块,第一蓝牙模块将时隙信号的幅度P2与预设的参考幅度P1做差从而得出馈线的第一插损值G1。Specifically, the first insertion loss determination module includes a first Bluetooth module. After the first core controller detects the amplitude P2 of the time slot signal, it transmits the amplitude P2 of the time slot signal to the first Bluetooth module, and the first Bluetooth module transmits the time slot signal amplitude P2 to the first Bluetooth module. A difference between the amplitude P2 of the slot signal and the preset reference amplitude P1 is made to obtain the first insertion loss value G1 of the feeder.

通过检测时隙信号的幅度并将时隙信号的幅度与预设的参考幅度进行比较以确定第一插损值,该方法简单且计算量小。The first insertion loss value is determined by detecting the amplitude of the time slot signal and comparing the amplitude of the time slot signal with a preset reference amplitude, the method is simple and has a small amount of calculation.

在一个实施例中,所述根据所述第一插损值调整所述链路的增益包括:In an embodiment, the adjusting the gain of the link according to the first insertion loss value includes:

根据所述第一插损值生成第一调节信号;generating a first adjustment signal according to the first insertion loss value;

根据所述第一调节信号调整所述链路的增益。Adjust the gain of the link according to the first adjustment signal.

具体的,第一插损确定模块中的第一蓝牙模块计算出馈线的第一插损值G1后,将第一插损值G1发送给第一核心控制器,第一核心控制器根据第一插损值G1生成第一调节信号控制第一插损确定模块中的第一衰减器调整链路的增益。Specifically, after the first Bluetooth module in the first insertion loss determination module calculates the first insertion loss value G1 of the feeder, it sends the first insertion loss value G1 to the first core controller, and the first core controller calculates the first insertion loss value G1 according to the first The insertion loss value G1 generates a first adjustment signal to control the first attenuator in the first insertion loss determination module to adjust the gain of the link.

通过根据第一插损值生成第一调节信号,并根据第一调节信号调整链路的增益,从而保证了通信系统的链路的增益稳定。By generating the first adjustment signal according to the first insertion loss value and adjusting the gain of the link according to the first adjustment signal, the gain stability of the link of the communication system is ensured.

在一个实施例中,所述装置还包括:In one embodiment, the device also includes:

信号发送第一模块,用于向所述扩展单元发送监控信号;a signal sending first module, configured to send a monitoring signal to the expansion unit;

所述信号接收第一模块还用于接收所述扩展单元根据所述监控信号确定的所述链路的第二插损值;The first signal receiving module is further configured to receive a second insertion loss value of the link determined by the extension unit according to the monitoring signal;

所述装置还包括:The device also includes:

判断模块,用于判断所述第一插损值与所述第二插损值的差值是否在预设范围内;A judging module, configured to judge whether the difference between the first insertion loss value and the second insertion loss value is within a preset range;

所述增益调整模块还用于当判断模块判定所述第一插损值与所述第二插损值的差值是否在预设范围内时,根据所述第一插损值调整所述链路的增益。The gain adjustment module is further configured to adjust the chain according to the first insertion loss value when the judging module determines whether the difference between the first insertion loss value and the second insertion loss value is within a preset range. road gain.

具体的,如图10所示,所述信号发送第一模块为第一插损确定模块中的第一蓝牙模块,远端单元包括射频开关,第一蓝牙模块向扩展单元发送监控信号,所述监控信号可以为蓝牙RSSI信号,第一蓝牙模块控制远端单元的射频开关分时实现与扩展单元通信,第一蓝牙模块通过自定义Beacon帧广播蓝牙RSSI信号;扩展单元包括第二蓝牙模块,第二蓝牙模块在扫描的过程中会收到第一蓝牙模块广播的蓝牙RSSI信号,根据蓝牙RSSI信号确定链路的第二插损值G2,并将第二插损值G2发送给远端单元;信号接收第一模块在接收到扩展单元发送的第二插损值G2后,由第一蓝牙模块将第一插损值G1和第二插损值G2进行做差,并由判断模块判断G2-G1的差值是否在预设范围内,若判断模块判定在预设的范围内,增益调整模块则根据第一插损值G1调整链路的增益。Specifically, as shown in FIG. 10, the first signal sending module is the first Bluetooth module in the first insertion loss determination module, the remote unit includes a radio frequency switch, and the first Bluetooth module sends a monitoring signal to the extension unit, the The monitoring signal can be a Bluetooth RSSI signal. The first Bluetooth module controls the radio frequency switch of the remote unit to communicate with the extension unit in time-sharing. The first Bluetooth module broadcasts the Bluetooth RSSI signal through a custom Beacon frame; the extension unit includes a second Bluetooth module. The second Bluetooth module will receive the Bluetooth RSSI signal broadcast by the first Bluetooth module during scanning, determine the second insertion loss value G2 of the link according to the Bluetooth RSSI signal, and send the second insertion loss value G2 to the remote unit; After the first signal receiving module receives the second insertion loss value G2 sent by the expansion unit, the first Bluetooth module makes a difference between the first insertion loss value G1 and the second insertion loss value G2, and the judgment module judges that G2- Whether the difference of G1 is within the preset range, if the judging module determines that it is within the preset range, the gain adjusting module adjusts the gain of the link according to the first insertion loss value G1.

通过向扩展单元发送监控信号,接收扩展单元根据监控信号确定的链路的第二插损值来判断第一插损值与第二插损值的差值是否在预设范围内,当差值在预设的范围内才根据第一插损值调整链路的增益,从而可以根据第一插损值与第二插损值的差值判断馈线是否异常,提高系统的稳定性。By sending a monitoring signal to the extension unit, the receiving extension unit judges whether the difference between the first insertion loss value and the second insertion loss value is within the preset range according to the second insertion loss value of the link determined by the monitoring signal, when the difference The gain of the link is only adjusted according to the first insertion loss value within a preset range, so that whether the feeder is abnormal can be judged according to the difference 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 to obtain a detection voltage of the second power division signal;

所述信号提取模块还用于根据所述检波电压和预设的门限值生成第二调节信号;The signal extraction module is further configured to generate a second adjustment 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.

具体的,信号提取模块还包括模拟ALC电路,如图11所示为ALC电路的结构示意图,增益调整模块还包括第二衰减器,其中,模拟ALC电路包括检波管和比较器;信号提取模块将第二功分信号输入检波管进行检波处理以获得第二功分信号的检波电压,具体的,所述第二功分信号可以为5G通信信号,也可以为4G通信信号;然后信号提取模块将检波电压输入比较器中进行比较,第一核心控制器根据检波电压和预设的门限值生成第二调节信号,并由增益调整模块根据第二调节信号调整链路的增益。Specifically, the signal extraction module also includes an analog ALC circuit, as shown in Figure 11 is a schematic structural diagram of the ALC circuit, the gain adjustment module also includes a second attenuator, wherein the analog ALC circuit includes a detector tube and a comparator; the signal extraction module will The second power division signal is input into the detector tube for detection processing to obtain the detection voltage of the second power division signal. Specifically, the second power division signal can be a 5G communication signal or a 4G communication signal; then the signal extraction module will The detection voltage is input into the comparator for comparison, the first core controller generates a second adjustment 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 adjustment signal.

具体的,由于检波电压一般较小,不经过放大直接输入比较器中导致抗干扰的能力较差,容易出现误调,因此,在检波管和比较器之间还设有放大器,具体的,所述放大器为一级放大器,检波电压经过一级放大后再输入比较器进行比较。Specifically, because the detection voltage is generally small, it is directly input into the comparator without amplification, resulting in poor anti-interference ability and prone to misadjustment. Therefore, an amplifier is also provided between the detection tube and the comparator. Specifically, the The above-mentioned amplifier is a one-stage amplifier, and the detection voltage is input to a comparator for comparison after being amplified by one stage.

具体的,所述比较器可以为单门限比较器,也可以为双门限比较器。Specifically, the comparator may be a single-threshold comparator, or a double-threshold comparator.

通过将第二功分信号进行检波处理以获取第二功分信号的检波电压,根据检波电压和预设的门限值生成第二调节信号,并根据第二调节信号调整链路的增益,从而保证了整个系统的功率在安全的范围内,极大地提高了系统的稳定性和可靠性。By performing detection processing on the second power division signal to obtain a detection voltage of the second power division signal, generating a second adjustment signal according to the detection voltage and a preset threshold value, and adjusting the gain of the link according to the second adjustment signal, thereby This ensures that the power of the entire system is within a safe range, greatly improving the stability and reliability of the system.

在一个实施例中,所述第二调节信号包括第一分调节信号和第二分调节信号;In one embodiment, the second adjustment signal includes a first sub-adjustment signal and a second sub-adjustment signal;

所述预设的门限值包括第一门限值和第二门限值;The preset threshold value includes a first threshold value and a second threshold value;

所述信号提取模块还包括比较器;The signal extraction module also includes a comparator;

所述根据所述检波电压和预设的门限值生成第二调节信号包括:The generating the second adjustment signal according to the detection voltage and a preset threshold value includes:

所述比较器,用于判断所述检波电压是否大于所述第一门限值,或者,当判定不大于所述第一门限值时判断所述检波电压是否小于所述第二门限值;The comparator is used to judge whether the detection voltage is greater than the first threshold value, or, when it is determined not to be greater than the first threshold value, determine whether the detection voltage is smaller than the second threshold value ;

所述信号提取模块还用于当比较器判定大于所述第一门限值时,根据所述检波电压与所述第一门限值确定所述第一分调节信号,或者,当判定小于所述第二门限值时生成第二分调节信号。The signal extraction module is also used to determine the first sub-adjustment signal according to the detection voltage and the first threshold value when the comparator determines that it is greater than the first threshold value, or, when it is determined that it is less than the first threshold value A second sub-adjustment signal is generated when the second threshold value is set.

具体的,所述比较器位于ALC电路中,为双门限比较器,将检波电压输入比较器后,比较器判断检波电压是否大于第一门限值,若是,则比较器输出高电平,第一插损确定模块中的第一蓝牙模块计算检波电压与第一门限值的差值,并由信号提取模块中的第一核心控制器根据检波电压与第一门限值的差值生成第一分调节信号;若否,则将检波电压与第二门限值进行比较,比较器判断检波电压是否小于第二门限值,若是,则比较器输出低电平给第一核心控制器,由第一核心控制器根据低电平生成第二分调节信号,若否,则重新对第二功分信号进行检波处理。Specifically, the comparator is located in the ALC circuit and is a dual-threshold comparator. After the detection voltage is input to the comparator, the comparator judges whether the detection voltage is greater than the first threshold value. If so, the comparator outputs a high level. The first Bluetooth module in an insertion loss determination module calculates the difference between the detection voltage and the first threshold value, and the first core controller in the signal extraction module generates the first Bluetooth module according to the difference between the detection voltage and the first threshold value. If not, compare the detection voltage with the second threshold value, the comparator judges whether the detection voltage is less 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-adjustment signal according to the low level, and if not, performs detection processing on the second power sub-signal again.

通过将第二功分信号的检波电压进行二次比较,也即采用双门限的比较器进行比较,从而解决了单门限比较器容易出现当检波电压在门限附近轻微变化时比较器输出高低电平切换频繁,导致衰减器频繁切换而出现远近效应的问题。By comparing the detection voltage of the second power division signal twice, that is, using a double-threshold comparator for comparison, it solves the problem that the single-threshold comparator is prone to output high and low levels when the detection voltage changes slightly near the threshold. Frequent switching results in the near-far effect caused by frequent switching of the attenuator.

在一个实施例中,所述根据所述第二调节信号调整所述链路的增益包括:In one embodiment, the adjusting the gain of the link according to the second adjustment signal includes:

根据所述第一分调节信号或第二分调节信号调整所述链路的增益。Adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal.

具体的,第一核心控制器根据生成的第一分调节信号或第二分调节信号控制第二衰减器调整链路的增益;具体的,当第一核心控制器生成第一分调节信号时,根据第一分调节信号衰减第二衰减器,当第一核心控制器生成第二分调节信号时,根据第二分调节信号放开第二衰减器衰减的值。Specifically, the first core controller controls the second attenuator to adjust the gain of the link according to the generated first sub-adjustment signal or the second sub-adjustment 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 attenuated by the second attenuator is released according to the second sub-adjustment signal.

通过根据第一分调节信号或第二分调节信号调整链路的增益,从而提高了系统的稳定性和可靠性。By adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal, the stability and reliability of the system are improved.

在又一个实施例中,所述扩展单元包括:In yet another embodiment, the extension unit includes:

信号接收第二模块,用于接收来自主机单元的所述第二功分信号;A second signal receiving module, configured to receive the second power division signal from the host unit;

信号生成模块,用于生成开关控制信号、载波信号以及在所述空闲时隙中增加所述时隙信号;A signal generating module, configured to generate a switch control signal, a carrier signal, and add the time slot signal in the idle time slot;

信号合成模块,将所述载波信号、所述开关控制信号以及所述时隙信号生成第一功分信号,以及将所述第一功分信号和所述第二功分信号生成所述第一信号;a signal synthesis module, generating a first power division signal from the carrier signal, the switch control signal and the time slot signal, and generating the first power division signal from the first power division signal and the second power division signal Signal;

信号发送第二模块,用于将所述第一信号通过所述馈线发送给所述远端单元。A second signal sending module, configured to send the first signal to the remote unit through the feeder.

具体的,第二功分信号可以为4G通信信号,也可以为5G通信信号,所述信号生成模块包括第二核心控制器、频率合成器,所述信号合成单元包括射频开关,其中,第二核心控制器可以为FPGA模块;第二核心控制器根据TDD系统的时隙配比生成开关控制信号并在TDD系统的空闲时隙中增加时隙信号;频率合成器生成载波信号,具体的,载波信号可以为点频信号;第二核心控制器生成开关控制信号控制射频开关的开关装置,所述开关控制信号为高低电平控制信号,当开关控制信号有信号时为高电平,射频开关导通,当没有信号时为低电平,射频开关不导通;将载波信号,开关控制信号和时隙信号输入射频开关,射频开关输出由一路同步控制信号调制的第一功分信号,所述第一功分信号可以为ASK调制信号;扩展单元将来自主机单元的第二功分信号和第一功分信号进行合路生成第一信号,并由信号发送第二模块将第一信号通过馈线传输给远端单元。Specifically, the second power division signal may be a 4G communication signal or a 5G communication signal, the signal generation module includes a second core controller and a frequency synthesizer, and the signal synthesis unit includes a radio frequency switch, wherein the second The core controller can be an FPGA module; the second core controller generates a switch control signal according to the time slot ratio 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, specifically, a carrier signal The signal can be a point frequency signal; the second core controller generates a switch control signal to control the switch device of the radio frequency switch. When there is no signal, it is low level, and the radio frequency switch is not conducting; the carrier signal, the switch control signal and the time slot signal are input into the radio frequency switch, and the radio frequency switch outputs the first power division signal modulated by a synchronous control signal. The first power division signal can be an ASK modulation signal; the extension unit combines the second power division signal and the first power division signal from the host unit to generate the first signal, and the second signal sending module passes the first signal through the feeder transmitted to the remote unit.

在一个实施例中,所述信号接收第二模块用于接收所述远端单元发送的所述监控信号;In one embodiment, the second signal receiving module is configured to receive the monitoring signal sent by the remote unit;

所述扩展单元还包括:The extension unit also includes:

第二插损确定模块,用于根据所述监控信号确定所述链路的第二插损值;a second insertion loss determination module, configured to determine a second insertion loss value of the link according to the monitoring signal;

所述信号发送第二模块还用于将所述第二插损值发送给所述远端单元。The second signaling module is further configured to send the second insertion loss value to the remote unit.

具体的,所述信号接收第二模块为第二蓝牙模块,当远端单元的第一蓝牙模块通过自定义Beacon帧广播监控信号时,第二蓝牙模块在扫描的过程中会收到第一蓝牙模块的Beacon帧,从而接收到监控信号,具体的,所述监控信号为蓝牙RSSI信号;所述第二插损确定模块为第二蓝牙模块根据监控信号确定链路的第二插损值并将第二插损值发送给远端单元。Specifically, the second signal receiving module is a second Bluetooth module. When the first Bluetooth module of the remote unit broadcasts a monitoring signal through a custom Beacon frame, the second Bluetooth module will receive the first Bluetooth module during scanning. The Beacon frame of the module, thereby receiving the monitoring signal, specifically, the monitoring signal is a Bluetooth RSSI signal; the second insertion loss determination module is that the second Bluetooth module determines the second insertion loss value of the link according to the monitoring signal and The second insertion loss value is sent to the remote unit.

在一个实时例中,所述监控信号包括所述监控信号的发射功率;In a real-time example, the monitoring signal includes the transmit power of the monitoring signal;

所述插损确定模块还用于检测所述监控信号的接收功率,根据所述发射功率以及所述接收功率确定所述第二插损值。The insertion loss determination module is further configured to detect the received power of the monitoring signal, and determine the second insertion loss value according to the transmitted power and the received power.

具体的,远端单元的第一蓝牙模块广播携带了发射功率P3、板级链路损耗以及交互信息(软件版本号、MAC地址)的监控信号,第二蓝牙模块接收监控信号并检测监控信号的接收功率P4,将发射功率P3和接收功率P4做差得到第二插损值G2。Specifically, the first Bluetooth module of the remote unit broadcasts a monitoring signal that carries transmit power P3, board-level link loss, and interaction information (software version number, MAC address), and the second Bluetooth module receives the monitoring signal and detects the monitoring signal. For the received power P4, the difference between the transmitted power P3 and the received power P4 is obtained to obtain the second insertion loss value G2.

通过检测监控信号的接收功率并根据发射功率和接收功率确定第二插损值,该方法简单且快速。The method is simple and fast by detecting the received power of the monitor signal and determining the second insertion loss value according to the transmitted power and the received power.

在又一个实施例中,基于同一个发明构思,提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如上所述的链路增益自适应的方法。基于上述同样的理由,其可以在不影响系统正常工作及性能的情况了,保证通信系统的链路的增益稳定。In yet another embodiment, based on the same inventive concept, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned link when executing the computer program A method of gain adaptation. Based on the same reason as above, it can ensure the stability of the link gain of the communication system without affecting the normal operation and performance of the system.

在又一个实施例中,基于同一个发明构思,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的链路增益自适应的方法。基于上述同样的理由,其可以在不影响系统正常工作及性能的情况了,保证通信系统的链路的增益稳定。In yet another embodiment, based on the same inventive concept, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for link gain adaptation as described above is implemented . Based on the same reason as above, it can ensure the stability of the link gain of the communication system without affecting the normal operation and performance of the system.

显然,本发明的上述实施例仅仅是为清楚地说明本发明技术方案所作的举例,而并非是对本发明的具体实施方式的限定。凡在本发明权利要求书的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。Apparently, the above-mentioned embodiments of the present invention are only examples for clearly illustrating the technical solution of the present invention, rather than limiting the specific implementation manner of the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the claims of the present invention shall be included in the protection scope of the claims of the present invention.

Claims (15)

Translated fromChinese
1.一种链路增益自适应的方法,所述方法应用于TDD系统,其特征在于,在远端单元执行如下步骤:1. a method for link gain self-adaptation, described method is applied to TDD system, it is characterized in that, in remote unit, carry out following steps:接收扩展单元通过馈线发送的第一信号;receiving the first signal sent by the expansion unit through the feeder;从所述第一信号中提取控制信号;extracting a control signal from said first signal;从所述控制信号中提取时隙信号,所述时隙信号位于所述TDD系统的空闲时隙中;extracting a time slot signal from the control signal, the time slot signal being located in an idle time slot of the TDD system;根据所述时隙信号确定所述馈线的第一插损值;determining a first insertion loss value of the feeder according to the time slot signal;根据所述第一插损值调整所述链路的增益;adjusting the gain of the link according to the first insertion loss value;在所述远端单元还执行如下步骤:Also perform the following steps at the remote unit:向所述扩展单元发送监控信号;sending a monitoring signal to the expansion unit;接收所述扩展单元根据所述监控信号确定的所述链路的第二插损值;receiving a second insertion loss value of the link determined by the extension unit according to the monitoring signal;判断所述第一插损值与所述第二插损值的差值是否在预设范围内;judging whether the difference between the first interpolation loss value and the second interpolation loss value is within a preset range;若是,则根据所述第一插损值调整所述链路的增益。If yes, adjust the gain of the link according to the first insertion loss value.2.根据权利要求1所述的链路增益自适应的方法,其特征在于,从所述第一信号中提取控制信号包括:2. The method for link gain adaptation according to claim 1, wherein extracting a control signal from the first signal comprises:对所述第一信号进行耦合、功分和放大,以获取所述第一信号的第一功分信号、第二功分信号;performing coupling, power division and amplification on the first signal to obtain a first power division signal and a second power division signal of the first signal;对所述第一功分信号进行检波处理以获取所述控制信号。performing detection processing on the first power division signal to obtain the control signal.3.根据权利要求2所述的链路增益自适应的方法,其特征在于,所述从所述控制信号中提取时隙信号包括:3. The method for link gain adaptation according to claim 2, wherein said extracting a time slot signal from said control signal comprises:根据所述控制信号检测所述空闲时隙,以获取所述时隙信号。Detecting the idle time slot according to the control signal to obtain the time slot signal.4.根据权利要求1-3任一项所述的链路增益自适应的方法,其特征在于,所述根据所述时隙信号确定所述馈线的第一插损值包括:4. The method for link gain adaptation according to any one of claims 1-3, wherein the determining the first insertion loss value of the feeder according to the time slot signal comprises:检测所述时隙信号的幅度;detecting the amplitude of the time slot signal;将所述时隙信号的幅度与预设的参考幅度进行比较,以确定所述第一插损值。The amplitude of the time slot signal is compared with a preset reference amplitude to determine the first insertion loss value.5.根据权利要求4所述的链路增益自适应的方法,其特征在于,所述根据所述第一插损值调整所述链路的增益包括:5. The method for link gain adaptation according to claim 4, wherein the adjusting the gain of the link according to the first insertion loss value comprises:根据所述第一插损值生成第一调节信号;generating a first adjustment signal according to the first insertion loss value;根据所述第一调节信号调整所述链路的增益。Adjust the gain of the link according to the first adjustment signal.6.根据权利要求2所述的链路增益自适应的方法,其特征在于,在所述远端单元还执行如下步骤:6. The method for link gain adaptation according to claim 2, characterized in that, the remote unit also performs the following steps:将所述第二功分信号进行检波处理,以获取所述第二功分信号的检波电压;performing detection processing on the second power division signal to obtain a detection voltage of the second power division signal;根据所述检波电压和预设的门限值生成第二调节信号;generating a second adjustment signal according to the detection voltage and a preset threshold value;根据所述第二调节信号调整所述链路的增益。Adjust the gain of the link according to the second adjustment signal.7.根据权利要求6所述的链路增益自适应的方法,其特征在于,所述第二调节信号包括第一分调节信号和第二分调节信号;7. The method for 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 includes a first threshold value and a second threshold value;所述根据所述检波电压和预设的门限值生成第二调节信号包括:The generating the second adjustment signal according to the detection voltage and a preset threshold value includes:判断所述检波电压是否大于所述第一门限值;judging whether the detection voltage is greater than the first threshold;若判定大于所述第一门限值,则根据所述检波电压与所述第一门限值确定所述第一分调节信号;If it is determined to be greater than the first threshold value, then determine the first sub-adjustment signal according to the detection voltage and the first threshold value;若判定不大于所述第一门限值,则判断所述检波电压是否小于所述第二门限值;If it is determined that it is not greater than the first threshold value, then determine whether the detection voltage is less than the second threshold value;若判定小于所述第二门限值,则生成第二分调节信号;If it is determined to be less than the second threshold value, then generate a second sub-adjustment signal;若判定不小于所述第二门限值,则将所述第二功分信号再次进行检波处理。If it is determined that it is not less than the second threshold value, the second power division signal is subjected to detection processing again.8.根据权利要求7所述的链路增益自适应的方法,其特征在于,所述根据所述第二调节信号调整所述链路的增益包括:8. The method for link gain adaptation according to claim 7, wherein the adjusting the gain of the link according to the second adjustment signal comprises:根据所述第一分调节信号或第二分调节信号调整所述链路的增益。Adjusting the gain of the link according to the first sub-adjustment signal or the second sub-adjustment signal.9.根据权利要求2-3或6-8任一项所述的链路增益自适应的方法,其特征在于,在所述扩展单元执行如下步骤:9. The method for link gain adaptation according to any one of claims 2-3 or 6-8, wherein the following steps are performed in the extension unit:接收来自主机单元的所述第二功分信号;receiving the second power division signal from the 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 from the first power-divided signal and the second power-divided signal, and sending the first signal to the remote unit through the feeder.10.根据权利要求9所述的链路增益自适应的方法,其特征在于,所述将所述载波信号、所述开关控制信号以及所述时隙信号生成第一功分信号包括:10. The method for link gain adaptation according to claim 9, wherein said generating a first power division signal from said carrier signal, said switch control signal and said time slot signal comprises:将所述载波信号、所述开关控制信号以及所述时隙信号输入射频开关,以生成所述第一功分信号,其中,所述开关控制信号用于控制所述射频开关。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 to control the radio frequency switch.11.根据权利要求9所述的链路增益自适应的方法,其特征在于,在所述扩展单元还执行如下步骤:11. The method for link gain adaptation according to claim 9, characterized in that, the extension unit also performs the following steps:接收所述远端单元发送的所述监控信号;receiving the monitoring signal sent by the remote unit;根据所述监控信号确定所述链路的第二插损值;determining a second insertion loss value of the link according to the monitoring signal;将所述第二插损值发送给所述远端单元。sending the second insertion loss value to the remote unit.12.根据权利要求11所述的链路增益自适应的方法,其特征在于,所述监控信号包括所述监控信号的发射功率;12. The method for link gain adaptation according to claim 11, wherein the monitoring signal comprises the 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 received power of the monitoring signal;根据所述发射功率以及所述接收功率确定所述第二插损值。Determine the second insertion loss value according to the transmit power and the receive power.13.一种链路增益自适应的装置,所述装置应用于TDD系统,其特征在于,所述装置包括远端单元;13. A link gain adaptive device, the device is applied to a TDD system, characterized in that the device includes a remote unit;所述远端单元包括:The remote unit includes:信号接收第一模块,用于接收扩展单元通过馈线发送的第一信号;The first signal receiving module is configured to receive the first signal sent by the expansion unit through the feeder;信号提取模块,用于从所述第一信号中提取控制信号,以及从所述控制信号中获取时隙信号,其中,所述时隙信号位于所述TDD系统的空闲时隙中;A signal extraction module, configured to extract a control signal from the first signal, and obtain a time slot signal from the control signal, wherein the time slot signal is located in an idle time slot of the TDD system;第一插损确定模块,用于根据所述时隙信号确定所述馈线的第一插损值;A first insertion loss determination module, configured to determine a first insertion loss value of the feeder according to the time slot signal;增益调整模块,用于根据所述第一插损值调整所述链路的增益;a gain adjustment module, configured to adjust the gain of the link according to the first insertion loss value;所述装置还包括:The device also includes:信号发送第一模块,用于向所述扩展单元发送监控信号;a signal sending first module, configured to send a monitoring signal to the expansion unit;所述信号接收第一模块还用于接收所述扩展单元根据所述监控信号确定的所述链路的第二插损值;The first signal receiving module is further configured to receive a second insertion loss value of the link determined by the extension unit according to the monitoring signal;所述装置还包括:The device also includes:判断模块,用于判断所述第一插损值与所述第二插损值的差值是否在预设范围内;A judging module, configured to judge whether the difference between the first insertion loss value and the second insertion loss value is within a preset range;所述增益调整模块还用于当判断模块判定所述第一插损值与所述第二插损值的差值是否在预设范围内时,根据所述第一插损值调整所述链路的增益。The gain adjustment module is further configured to adjust the chain according to the first insertion loss value when the judging module determines whether the difference between the first insertion loss value and the second insertion loss value is within a preset range. road gain.14.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1-12任一项所述的链路增益自适应的方法。14. A computer device, comprising a memory and a processor, the memory stores a computer program, wherein the processor implements the link gain according to any one of claims 1-12 when executing the computer program adaptive approach.15.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-12任一项所述的链路增益自适应的方法。15. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the method for link gain adaptation according to any one of claims 1-12 is implemented.
CN202011587921.4A2020-12-292020-12-29Method, device, computer equipment and storage medium for self-adapting link gainActiveCN112867126B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011587921.4ACN112867126B (en)2020-12-292020-12-29Method, device, computer equipment and storage medium for self-adapting link gain

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011587921.4ACN112867126B (en)2020-12-292020-12-29Method, device, computer equipment and storage medium for self-adapting link gain

Publications (2)

Publication NumberPublication Date
CN112867126A CN112867126A (en)2021-05-28
CN112867126Btrue CN112867126B (en)2023-06-16

Family

ID=75998043

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011587921.4AActiveCN112867126B (en)2020-12-292020-12-29Method, device, computer equipment and storage medium for self-adapting link gain

Country Status (1)

CountryLink
CN (1)CN112867126B (en)

Citations (4)

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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
TWI379511B (en)*2008-08-252012-12-11Realtek Semiconductor CorpGain adjusting device and method
CN106255190B (en)*2015-12-312019-11-01北京智谷睿拓技术服务有限公司Poewr control method and power control device

Patent Citations (4)

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

Also Published As

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

Similar Documents

PublicationPublication DateTitle
KR100388697B1 (en) Radio frequency transceiver system for digital communication
KR100353413B1 (en)Booster, monitoring apparatus, booster system, control method and monitoring method
US6678893B1 (en)Bidirectional trunk amplifier and cable modem for cable hybrid fiber and coax network which utilizes an upstream pilot signal
CN110474691A (en)Gain control method and device
CN102625435B (en)Automatic gain control (AGC) device for global system for mobile communication (GSM) digital optical fiber frequency-selecting repeater and quick adaptive time slot method for AGC device
CN1227928C (en) Transmission power control equipment for mobile communication network base stations
CN108390702A (en)A kind of distributing antenna system far-end unit and implementation method for supporting full frequency band
CN106411435A (en)Radio-frequency emission device and method for automatically adjusting ACLR (Adjacent Channel Leakage Ratio)
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
CN101742631B (en)Repeater for solving covering of moving body and control method thereof
CN109286407B (en)Interference signal suppression device and method for suppressing strong interference signal
CN111294086A (en) Gain control method and communication system for a communication system
CN211791508U (en)Communication system
CN115549707A (en) A low-frequency lightning noise cooperative processing device and method
JP3221575B2 (en) Mobile communication system
US6931242B2 (en)Down converter using C/N ratio correcting circuit of base station for mobile communication network
JP3043656B2 (en) Booster relay device
CN111181595B (en) Second harmonic cancellation method, device and DAS remote unit
CN218888529U (en)Synchronous near-end machine, far-end machine, covering unit and system of analog optical fiber remote system TDD control signal
KR100677071B1 (en)Rejecting Apparatus of Spurious Noise
JPH11252528A (en) Noise detection control device in CATV system
CN213521857U (en)Transmitting excitation system
US20220338131A1 (en)Signal transmitting circuit, signal receiving circuit, and portable monitoring device
CN214756692U (en)anti-5G interference filter for C-band broadcast television satellite reception

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp