Fluctuation compensation method and device, storage medium and electronic device

By using the fluctuation compensation method in the communication device, detecting the reference signal fluctuation information output from the analog link and generating target compensation parameters, the problem of low fluctuation adjustment efficiency in the prior art is solved, and efficient fluctuation index optimization is achieved.

CN119865257APending Publication Date: 2025-04-22SUNWAVE COMM
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510027226.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the prior art, the adjustment efficiency of in-band fluctuation indicators of communication equipment is low, dependent on operator experience and requires a lot of time to optimize.

Method used

A fluctuation compensation method is adopted to detect the fluctuation information of the reference signal output by the analog link through the controller, generate compensation information of the compensator, and generate target compensation parameters according to the compensation information and the compensation rules of the compensator, and configure the compensator to perform signal compensation.

Benefits of technology

It improves the efficiency of adjusting fluctuation indicators, simplifies the operation process, reduces the time required for optimization, and achieves efficient optimization of in-band fluctuation indicators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865257A_ABST
    Figure CN119865257A_ABST
Patent Text Reader

Abstract

The invention discloses a fluctuation compensation method and device, a storage medium and an electronic device, and the method comprises the steps: detecting the fluctuation information of a reference signal outputted by an analog link, the fluctuation information being used for indicating the signal intensity fluctuation condition of the reference signal; compensation information of the compensator is generated according to the fluctuation information, and the compensation information is used for indicating the compensation position of the compensator to the reference signal and the signal compensation degree of the compensator to the compensation position; generating a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, the compensation rule being used for indicating the influence of different compensation parameters on the compensation degrees of different compensation positions of the compensator for compensating the transmitted signal; the target compensation parameter is configured to the compensator, the compensator is used for compensating the received signal according to the target compensation parameter and outputting the compensated signal, and by adopting the technical scheme, the problem that the fluctuation adjustment efficiency is low in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular, to a fluctuation compensation method and device, a storage medium, and an electronic device. Background Art

[0002] In order to ensure the quality of communication, communication equipment generally has technical indicators for intra-band fluctuations within the frequency band. The presence of analog devices can easily cause the deterioration of intra-band fluctuation indicators, which will further affect the quality of communication. Currently, the method of constantly adjusting the parameters of various parts of analog devices is usually used to reduce the impact of analog devices on intra-band fluctuations. However, this method relies on the operator's operating experience on the one hand, and also takes a lot of time to optimize the indicators on the other hand. The efficiency of adjusting and optimizing intra-band fluctuations is not high.

[0003] With respect to the problem of low efficiency in adjusting fluctuations in related technologies, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a fluctuation compensation method and device, a storage medium, and an electronic device to at least solve the problem of low fluctuation adjustment efficiency in the related art.

[0005] According to an embodiment of the present application, a fluctuation compensation method is provided, wherein the compensation device includes a controller and a compensator, wherein the controller is connected to the compensator, and the compensator is also used to connect to a signal converter and a digital link, wherein the signal converter is also connected to an analog link, wherein the analog link is used to transmit analog signals, and the digital link is used to transmit digital signals, and the signal converter is used to convert the analog signals and the digital signals into each other, and the controller is also used to connect to the output end of the analog link, wherein the method is applied to the controller, and the method includes: detecting fluctuation information of a reference signal output by the analog link, wherein the fluctuation information is used to indicate the signal strength fluctuation of the reference signal; generating compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate the compensation position of the compensator for the reference signal and the signal compensation degree of the compensation position; generating a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator; configuring the target compensation parameter to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal.

[0006] Optionally, generating a target compensation parameter of the compensator according to the compensation information and the compensation rule of the compensator includes: calculating the compensation resolution of the compensator according to the sampling rate of the signal converter and the order of the compensator, wherein the order is used to indicate the degree of fineness when the compensator performs fluctuation compensation, and the compensation resolution is used to indicate the compensation frequency interval when the compensator performs fluctuation compensation on the signal, and the compensation rule includes the sampling rate and the order; determining a plurality of spare compensation points according to the compensation resolution and the order, wherein the spare compensation points are used to indicate the frequency points at which the compensator can directly control the degree of compensation; determining a target compensation point and a compensation coefficient corresponding to the target compensation point according to the plurality of spare compensation points and the compensation information, wherein the target compensation point is used to indicate the compensation position of the received signal by the compensator, and the compensation coefficient is used to indicate the degree of compensation of the signal at the target compensation point by the compensator, and the target compensation parameter includes the target compensation point and the compensation coefficient.

[0007] Optionally, determining a target compensation point and a compensation coefficient corresponding to the target compensation point based on the multiple backup compensation points and the compensation information includes: screening the backup compensation points that fall within a reference compensation range to obtain the target compensation point, wherein the reference compensation range is a frequency range in which fluctuation compensation of the reference signal is to be performed, and the compensation information includes the reference compensation range; extracting a target difference parameter corresponding to the target compensation point from the compensation information, wherein the target difference parameter is used to indicate the difference between the signal strength of the reference signal detected at the target compensation point and the standard signal strength of the reference signal; and determining the compensation coefficient based on the target difference parameter.

[0008] Optionally, determining a target compensation point and a compensation coefficient corresponding to the target compensation point based on a plurality of the backup compensation points and the compensation information includes: inputting the plurality of the backup compensation points and the compensation information into a compensation model, wherein the compensation model maintains compensation effect parameters when different target compensation points and different compensation coefficients are used to compensate for fluctuations in the signal strength of the reference signal, the compensation effect parameters being used to indicate a degree of closeness between the signal strength of the reference signal after compensation and a standard signal strength of the reference signal, the compensation model being used to output the backup compensation point and the corresponding compensation coefficient that are closest to the degree of closeness indicated by the compensation effect parameters; receiving the backup compensation point output by the compensation model as the target compensation point, and receiving the compensation coefficient corresponding to the backup compensation point output by the compensation model as the compensation coefficient of the target compensation point.

[0009] Optionally, configuring the target compensation parameters to the compensator includes: extracting the initial operating parameters corresponding to the target compensation points from the multiple initial operating parameters according to the correspondence between the multiple backup compensation points and the multiple initial operating parameters included in the initial operating sequence of the compensator, to obtain the operating parameters to be adjusted, wherein the initial operating sequence is used to indicate the compensation mechanism of the compensator for the signal passing through the compensator; extracting the frequency domain parameters to be adjusted corresponding to the operating parameters to be adjusted from the multiple reference frequency domain parameters included in the reference frequency domain sequence obtained after Fourier transforming the initial operating sequence; calculating and updating frequency domain parameters according to the frequency domain parameters to be adjusted and the compensation coefficients; replacing the frequency domain parameters to be adjusted in the reference frequency domain sequence with the updated frequency domain parameters to obtain a target frequency domain sequence; performing an inverse Fourier transform on the target frequency domain sequence to obtain a target operating sequence; updating the initial operating sequence configured by the compensator to the target operating sequence, and the compensator is used to perform fluctuation compensation for the signal according to the compensation mechanism for the signal passing through the compensator indicated by the target operating sequence.

[0010] Optionally, generating compensation information of the compensator according to the fluctuation information includes: determining a target compensation range according to a reference fluctuation parameter of the reference signal and standard information of the reference signal, wherein the reference fluctuation parameter is used to indicate the detected signal strength of the reference signal at different frequencies, the fluctuation information includes the fluctuation parameter, the standard information is used to indicate the standard signal strength of the reference signal, and the target compensation range is the frequency range of the reference signal to be subjected to fluctuation compensation; comparing the reference signal strength of the reference signal with the standard signal strength at each frequency within the target compensation range to obtain multiple groups of parameter combinations, wherein the parameter combinations include frequency points and reference difference parameters with corresponding relationships, the reference difference parameter is used to indicate the difference between the signal strength of the reference signal detected at the frequency point corresponding to the reference difference parameter and the standard signal strength, and the compensation information includes the multiple groups of parameter combinations.

[0011] Optionally, detecting the fluctuation information of the reference signal output by the analog link includes: converting the reference signal into a target signal through Fourier transform; and collecting the signal strength of the target signal at different frequencies to obtain the fluctuation information.

[0012] According to another embodiment of the embodiment of the present application, a fluctuation compensation device is also provided, the compensation device includes a controller and a compensator, the controller is connected to the compensator, the compensator is also used to connect to a signal converter and a digital link, the signal converter is also connected to an analog link, the analog link is used to transmit analog signals, the digital link is used to transmit digital signals, the signal converter is used to convert the analog signals and the digital signals to each other, the controller is also used to connect to the output end of the analog link, the device is applied to the controller, the device includes: a detection module, used to detect the fluctuation information of the reference signal output by the analog link, wherein the fluctuation information is used to indicate the reference signal a first generating module, used to generate compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate the compensation position of the compensator for the reference signal and the degree of signal compensation for the compensation position; a second generating module, used to generate target compensation parameters of the compensator according to the compensation information and the compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the degree of compensation of different compensation positions of the signal transmitted by the compensator; a configuration module, used to configure the target compensation parameters to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameters and output the compensated signal.

[0013] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned fluctuation compensation method when running.

[0014] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the fluctuation compensation method through the computer program.

[0015] In the embodiment of the present application, the controller detects the signal strength fluctuation of the reference signal output by the analog link, generates the compensation position of the compensator for the reference signal and the signal compensation degree of the compensation position according to the signal strength fluctuation, generates the target compensation parameter of the compensator according to the compensation information and the compensation rule of the compensator, and configures the target compensation parameter to the compensator. The compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal, that is, there is no need to continuously adjust the analog parameters of the analog device to reduce the signal fluctuation caused by the analog device, but from the perspective of compensating for the fluctuation within the band, a compensator is used to compensate for the fluctuation generated by the analog device, directly obtain the position where the fluctuation compensation needs to be performed and the compensation degree of each position where the fluctuation compensation needs to be performed according to the signal strength fluctuation, and then use the compensation rule of the compensator to generate the corresponding target compensation parameter to instruct the compensator to compensate the signal, which is simple and easy to achieve the optimization of the in-band fluctuation index from another perspective. The above technical solution solves the problem of low adjustment efficiency of fluctuations in related technologies and achieves the technical effect of improving the adjustment efficiency of fluctuations. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 is a schematic diagram of a hardware environment of a fluctuation compensation method according to an embodiment of the present application;

[0019] Figure 2 is a flow chart of a fluctuation compensation method according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of fluctuation compensation of a receiving link according to an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of fluctuation compensation of a transmission link according to an embodiment of the present application;

[0022] Figure 5 is an impulse response of an ideal all-pass filter according to an embodiment of the present application;

[0023] Figure 6 is the frequency domain response of an ideal all-pass filter according to an embodiment of the present application;

[0024] Figure 7 is the frequency domain response of the filter after adjusting the operation sequence according to the embodiment of the present application;

[0025] Figure 8 It is a structural block diagram of a fluctuation compensation device according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal, a device terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 FIG. 1 is a schematic diagram of a hardware environment of a fluctuation compensation method according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. In an exemplary embodiment, the computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.

[0029] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for sending message push in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0030] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0031] In this embodiment, a method for compensating fluctuations is provided. The compensation device includes a controller and a compensator. The controller is connected to the compensator. The compensator is also used to connect to a signal converter and a digital link. The signal converter is also connected to an analog link. The analog link is used to transmit analog signals. The digital link is used to transmit digital signals. The signal converter is used to convert analog signals and digital signals to each other. The controller is also used to connect to the output end of the analog link. The method is applied to a controller having the above-mentioned computer terminal structure. Figure 2 : is a flow chart of a fluctuation compensation method according to an embodiment of the present application, the process includes the following steps:

[0032] Step S202, detecting fluctuation information of a reference signal output by the analog link, wherein the fluctuation information is used to indicate fluctuation of signal strength of the reference signal;

[0033] Step S204, generating compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate the compensation position of the compensator for the reference signal and the degree of signal compensation for the compensation position;

[0034] Step S206, generating a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator;

[0035] Step S208: configuring the target compensation parameter to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal.

[0036] Through the above steps, the controller detects the signal strength fluctuation of the reference signal output by the analog link, generates the compensation position of the compensator for the reference signal and the signal compensation degree of the compensation position according to the signal strength fluctuation, generates the target compensation parameter of the compensator according to the compensation information and the compensation rule of the compensator, and configures the target compensation parameter to the compensator. The compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal, that is, there is no need to continuously adjust the analog parameters of the analog device to reduce the signal fluctuation caused by the analog device, but from the perspective of compensating for the fluctuation within the band, a compensator is used to compensate for the fluctuation generated by the analog device, directly obtain the position where the fluctuation compensation needs to be performed and the compensation degree of each position where the fluctuation compensation needs to be performed according to the signal strength fluctuation, and then use the compensation rule of the compensator to generate the corresponding target compensation parameter to instruct the compensator to compensate the signal, which is simple and easy to achieve the optimization of the in-band fluctuation index from another perspective. The above technical solution solves the problem of low adjustment efficiency of fluctuations in related technologies and achieves the technical effect of improving the adjustment efficiency of fluctuations.

[0037] Optionally, in an embodiment of the present application, the compensator is used to compensate for the signal passing through the analog device, which may be but is not limited to a digital filter, a programmable gain amplifier, an automatic gain control circuit, a digital signal processor, an analog filter, and the like, which are devices capable of realizing signal compensation.

[0038] Optionally, in an embodiment of the present application, the controller is used to control the compensator to compensate the signal, and is responsible for detecting, analyzing signal fluctuations and generating and applying compensation parameters. It can be but is not limited to a microcontroller (MCU), a digital signal processor (DSP), a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC) or a programmable logic controller (PLC) and other devices.

[0039] Optionally, in an embodiment of the present application, the signal converter includes but is not limited to an analog-to-digital converter or a digital-to-analog converter, which is used to convert an analog signal transmitted by an analog link into a digital signal or to convert a digital signal transmitted by a digital link into an analog signal.

[0040] Optionally, in an embodiment of the present application, the controller is also connected to the output end of the analog link, so that the controller can obtain the signal strength fluctuation of the signal after being affected by the analog link.

[0041] In the technical solution provided in the above step S202, the reference signal is the signal output by the analog link, and the initial signal corresponding to the reference signal is used as a signal input to the analog link, including but not limited to the signal strength at each frequency is known and determined, or can be detected. Including but not limited to inputting a known and determined initial signal to the analog link, or detecting the signal at the input end of the analog link to determine the signal strength of the initial signal. When the analog link is determined, the impact of the analog link on the in-band fluctuations of each signal is determined. Therefore, a known and determined initial signal can be input, and then the corresponding reference signal can be detected to determine the impact of the analog link on the in-band fluctuations of the signal. According to the impact, a compensator that can compensate for such an impact is designed to compensate for all signals passing through the analog link.

[0042] Optionally, in an embodiment of the present application, the fluctuation information is used to indicate the signal strength fluctuation of the reference signal, including but not limited to recording the signal strength of the reference signal at different frequencies.

[0043] Optionally, in an embodiment of the present application, detecting the fluctuation information of the reference signal output by the analog link includes but is not limited to using a spectrum analyzer or a software defined radio (SDR) receiver to monitor the output signal of the analog link in real time. By analyzing the spectrum of the signal, the signal strength change within a specific frequency band can be detected, and then the fluctuation information of the reference signal can be obtained, or a signal monitoring circuit is connected to the output end of the analog link, such as using a combination of a low noise amplifier (LNA) and an analog-to-digital converter (ADC) to convert the analog signal into a digital signal, and then using a digital signal processing algorithm to analyze the fluctuation of the signal strength. This method can be implemented inside the controller to automatically detect the fluctuation information through the algorithm.

[0044] In the technical solution provided in the above step S204, the compensation information includes but is not limited to the signal strength information and fluctuation information of the initial signal corresponding to the reference signal. In order to facilitate the determination of the compensation position and compensation degree, it includes but is not limited to the signal whose signal strength at different frequencies is a certain value and can be input to the analog link as the initial signal. In this case, it is only necessary to continuously compare the signal strength of the reference signal output by the analog link at different frequencies with the certain value to determine the compensation position where the compensator needs to compensate the reference signal and the signal compensation degree of these compensation positions.

[0045] Optionally, in this embodiment, generating compensation information of the compensator according to the fluctuation information includes but is not limited to automatically generating compensation information by matching the detected fluctuation information with entries in the rule base through a preset fluctuation compensation rule base. For example, if the detected fluctuation amplitude exceeds a preset threshold at a specific frequency, the compensation information will instruct the compensator to increase the gain at that frequency point.

[0046] In the technical solution provided in the above step S206, the compensation rule of the compensator is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator, including but not limited to stipulating the compensation accuracy of the compensator in frequency in the compensation rule, or the compensation rule can also specify the adjustment speed of the compensation parameter, that is, how quickly the compensator responds to signal fluctuations, or the compensation rule also specifies in which frequency range the compensator compensates, and the size of the compensation bandwidth.

[0047] Optionally, in an embodiment of the present application, generating a target compensation parameter of the compensator according to the compensation information and the compensation rule of the compensator includes but is not limited to using a lookup table, in which a plurality of compensation information entries and corresponding compensation parameters are stored. The controller quickly performs compensation according to the target compensation parameter in the current compensation information query table; or, through an iterative algorithm, starting from preliminary compensation parameters, gradually adjusts the compensation parameters according to the compensation information and compensation effect feedback until the best compensation effect is achieved. This method may be more time-consuming, but can provide more optimized compensation parameters.

[0048] In the technical solution provided in the above step S208, the target compensation parameter is used to instruct the compensator to compensate for the received signal. The target compensation parameter includes but is not limited to the impulse response sequence of the digital filter, or other parameters of the digital filter, such as cutoff frequency, quality factor (Q value), bandwidth, etc., and can also be a gain adjustment value (this is the most direct and common parameter of the compensator, used to instruct the compensator to increase or decrease the amplitude of the signal at a specific frequency point. The gain adjustment value can be a simple multiplication factor or a complex function that changes with frequency), etc., and the present application does not make specific limitations on this.

[0049] Optionally, in an embodiment of the present application, configuring the target compensation parameters to the compensator includes but is not limited to directly writing the target compensation parameters into the coefficient register of the compensator through a digital interface (such as SPI, I2C or USB). This method is suitable for scenarios where the compensator has digital programmable functions; or using a microprocessor or FPGA to perform real-time dynamic control of the compensator, and the microprocessor or FPGA adjusts the working state of the compensator in real time according to the received target compensation parameters to achieve instant updating of the compensation parameters.

[0050] Optionally, in an embodiment of the present application, configuring the target compensation parameters to the compensator may involve replacing and changing the original operating parameters of the compensator, and changing the compensation effect of the compensator on signals of different frequencies by replacing and changing the original operating parameters.

[0051] Optionally, including but not limited to using the method provided in the present application to perform fluctuation compensation on all signals, because a single parameter change of the filter of this scheme can have the ability to affect the full-band signal, the method provided in the present application will be particularly suitable for complex signals such as 5G signals with more carriers.

[0052] Optionally, in the embodiments of the present application, Figure 3 is a schematic diagram of fluctuation compensation of a receiving link according to an embodiment of the present application, Figure 4 FIG. 1 is a schematic diagram of fluctuation compensation of a transmission link according to an embodiment of the present application. Figure 3 and Figure 4 As shown, the compensator can be determined as an in-band ripple compensation filter, which can be Figure 3 The signal passing through the analog link is corrected after fluctuations as shown, or it can be corrected as shown Figure 4 As shown, the signal about to pass through the analog link is pre-ripple compensated.

[0053] As an optional implementation, a target compensation parameter of the compensator is generated according to the compensation information and the compensation rule of the compensator, including: calculating the compensation resolution of the compensator according to the sampling rate of the signal converter and the order of the compensator, wherein the order is used to indicate the degree of fineness when the compensator performs fluctuation compensation, and the compensation resolution is used to indicate the compensation frequency interval when the compensator performs fluctuation compensation on the signal, and the compensation rule includes the sampling rate and the order; determining a plurality of spare compensation points according to the compensation resolution and the order, wherein the spare compensation points are used to indicate the frequency points at which the compensator can directly control the degree of compensation; determining a target compensation point and a compensation coefficient corresponding to the target compensation point according to the plurality of spare compensation points and the compensation information, wherein the target compensation point is used to indicate the compensation position of the received signal by the compensator, and the compensation coefficient is used to indicate the degree of compensation of the signal at the target compensation point by the compensator, and the target compensation parameter includes the target compensation point and the compensation coefficient.

[0054] Optionally, in an embodiment of the present application, the order of the compensator reflects the complexity of the compensator and its filtering capability in digital signal processing. The higher the order, the more complex the design of the compensator, which may include more filter coefficients and more complex mathematical operations. A high-order filter usually requires more computing resources and storage space, but it can also provide more sophisticated frequency response control and more accurate compensation effects. The order of the compensator is directly related to its frequency resolution. The higher the order, the better the frequency resolution, and the compensator can more accurately control the gain or phase of the signal at different frequency points, which is particularly important for applications that require precise compensation at specific frequencies.

[0055] Optionally, in the embodiment of the present application, including but not limited to, the sampling rate may be selected to be 100Mhz, and the order N of the compensator may be selected to be 11, in which case the compensation resolution of the compensator is 100Mhz / (11-1)=10Mhz.

[0056] Optionally, in an embodiment of the present application, the spare compensation point is used to indicate the compensation point at which the compensator can directly control the degree of compensation, and the degree of compensation of the signal by other compensation points within the compensator range except the spare compensation point is affected by the spare compensation point and the compensation coefficient corresponding to the spare compensation point.

[0057] Optionally, in an embodiment of the present application, including but not limited to, the sampling rate can be selected as 100Mhz, and the order N of the compensator can be selected as 13. In this case, the compensation resolution of the compensator is 100Mhz / (13-1)=8.33Mhz, and the frequency points corresponding to the spare compensation points are -8.33*6Mhz, -8.33*5Mhz, -8.33*4Mhz, -8.33*3Mhz, -8.33*2Mhz, -8.33Mhz, 0Mhz, 8.33Mhz, 8.33*2Mhz, 8.33*3Mhz, 8.33*4Mhz, 8.33*5Mhz, and 8.33*6Mhz.

[0058] As an optional implementation, a target compensation point and a compensation coefficient corresponding to the target compensation point are determined based on multiple backup compensation points and compensation information, including: screening the backup compensation points that fall within a reference compensation range to obtain the target compensation point, wherein the reference compensation range is the frequency range in which the reference signal is to be compensated for fluctuations, and the compensation information includes the reference compensation range; extracting a target difference parameter corresponding to the target compensation point from the compensation information, wherein the target difference parameter is used to indicate the difference between the signal strength of the reference signal detected at the target compensation point and the standard signal strength of the reference signal; and determining the compensation coefficient based on the target difference parameter.

[0059] Optionally, in an embodiment of the present application, it includes but is not limited to directly determining the spare compensation point that falls within the reference compensation range of the reference signal as the target compensation point, that is, directly determining the spare compensation point that has the compensation requirement among the spare compensation points of the reference signal as the target compensation point. In order to further optimize the compensation effect, after the spare compensation points that fall within the reference compensation range are screened to obtain the target compensation point, the spare compensation points closest to the target compensation point on both sides are determined as auxiliary compensation points. For example, when the sampling rate is selected to be 100Mhz and the order N of the compensator is selected to be 13, if the compensator gain of the frequency point 8.33*3Mhz is screened out to be raised, that is, the spare compensation point corresponding to the frequency point 8.33*3Mhz is the target compensation point, then the spare compensation points corresponding to the two frequency points 8.33*2Mhz and 8.33*4Mhz can be determined as auxiliary compensation points. This approach can better control the change of gain and better control the compensation effect of multiple frequency bands.

[0060] Optionally, in an embodiment of the present application, the target difference parameter is used to indicate the difference between the signal strength of the reference signal detected at the target compensation point and the standard signal strength of the reference signal, where the standard signal strength is the signal strength of the reference signal before it is affected by the analog link, including but not limited to being fixed at all frequencies, or different at different frequencies, but all known or detectable.

[0061] Optionally, in an embodiment of the present application, including but not limited to after determining the compensation coefficient of the target compensation point based on the target difference parameter, the auxiliary coefficient of the auxiliary compensation point will also be determined based on the compensation coefficient of the target compensation point and the compensation resolution, and the combination of the target compensation point and the auxiliary compensation point as well as the compensation coefficient of the target compensation point and the auxiliary coefficient of the auxiliary compensation point are regarded as the final target compensation parameters to be configured for the compensator.

[0062] As an optional implementation, a target compensation point and a compensation coefficient corresponding to the target compensation point are determined based on multiple backup compensation points and compensation information, including: inputting multiple backup compensation points and compensation information into a compensation model, wherein the compensation model maintains compensation effect parameters when different target compensation points and different compensation coefficients are used to compensate for signal strength fluctuations of a reference signal at the target compensation point, the compensation effect parameters are used to indicate the degree of proximity between the signal strength of the compensated reference signal and the standard signal strength of the reference signal, and the compensation model is used to output the backup compensation point and the corresponding compensation coefficient that are closest to the degree of proximity indicated by the compensation effect parameters; receiving the backup compensation point output by the compensation model as the target compensation point, and receiving the compensation coefficient corresponding to the backup compensation point output by the compensation model as the compensation coefficient of the target compensation point.

[0063] Optionally, in an embodiment of the present application, the compensation model may be, but is not limited to, a pre-trained machine learning model, such as a neural network, for predicting compensation effect parameters under different compensation points and different compensation coefficient combinations. With the aid of the compensation model, the controller may be used to process signal strength fluctuation information, input the backup compensation point and compensation information into the compensation model, and receive the result output by the model. The compensator adjusts the signal according to the target compensation point and compensation coefficient provided by the controller. The training and use phases of the compensation model include:

[0064] Data collection phase: In the early stage, a large number of reference signal samples output by the analog link are collected, as well as the fluctuation information of these signals at the backup compensation points.

[0065] Model training phase: Use the collected data to train the compensation model. The input of the model is the backup compensation point and compensation information, and the output is the compensation effect parameter, which reflects the closeness between the reference signal strength after compensation and the standard signal strength. The model can predict the optimal compensation point and compensation coefficient by learning the effect parameters under different compensation strategies.

[0066] Real-time compensation stage: In actual applications, the controller detects the fluctuation information of the reference signal in real time and inputs it into the compensation model together with the backup compensation points.

[0067] Model output: Based on the compensation effect parameters learned internally, the compensation model outputs the closest backup compensation point and the corresponding compensation coefficient, that is, the target compensation point and the target compensation coefficient.

[0068] Among them, the compensation model can be a deep learning model, such as a convolutional neural network (CNN) or a long short-term memory network (LSTM), which is trained to identify and predict the optimal strategy for fluctuation compensation. The compensation effect parameter can be a mean square error (MSE), a root mean square error (RMSE) or a correlation coefficient, etc., which is used to quantify the difference between the compensated signal strength and the standard signal strength.

[0069] Optionally, in an embodiment of the present application, not all frequency points corresponding to target compensation points output by the compensation model are necessarily within the frequency range of the reference signal for which fluctuation compensation is to be performed.

[0070] As an optional implementation, the target compensation parameters are configured to the compensator, including: extracting the initial operating parameters corresponding to the target compensation points from the multiple initial operating parameters according to the correspondence between the multiple backup compensation points and the multiple initial operating parameters included in the initial operating sequence of the compensator to obtain the operating parameters to be adjusted, wherein the initial operating sequence is used to indicate the compensation mechanism of the compensator for the signal passing through the compensator; extracting the frequency domain parameters to be adjusted corresponding to the operating parameters to be adjusted from the multiple reference frequency domain parameters included in the reference frequency domain sequence obtained after Fourier transforming the initial operating sequence; calculating and updating the frequency domain parameters according to the frequency domain parameters to be adjusted and the compensation coefficients; replacing the frequency domain parameters to be adjusted in the reference frequency domain sequence with the updated frequency domain parameters to obtain the target frequency domain sequence; performing an inverse Fourier transform on the target frequency domain sequence to obtain the target operating sequence; updating the initial operating sequence configured by the compensator to the target operating sequence, and the compensator is used to perform fluctuation compensation for the signal according to the compensation mechanism for the signal passing through the compensator indicated by the target operating sequence.

[0071] Optionally, in an embodiment of the present application, including but not limited to selecting a filter as a compensator, the initial operation sequence of the compensator may be coef_init=[0,0,0,0,0,0,1,0,0,0,0,0,0,0], which means that in the initial design when the compensator does not compensate any signal, it is an ideal all-pass filter, and the order N of the compensator is 13. Figure 5 is an impulse response of an ideal all-pass filter according to an embodiment of the present application, Figure 6 is the frequency domain response of an ideal all-pass filter according to an embodiment of the present application, such as Figure 6As shown, the characteristic of an ideal all-pass filter is to keep the amplitude of the signal unchanged at all frequencies, that is, the gain is 1 (0dB), without increasing or attenuating the gain, but it will change the phase of the signal. According to the sampling rate of the channel (that is, the sampling rate of the signal converter) 100Mhz, it can be concluded that the frequency points corresponding to the spare compensation points are -8.33*6Mhz, -8.33*5Mhz, -8.33*4Mhz, -8.33*3Mhz, -8.33*2Mhz, -8.33Mhz, 0Mhz, 8.33Mhz, 8.33*2Mhz, 8.33*3Mhz, 8.33*4Mhz, 8.33*5Mhz, 8.33*6Mhz. The initial operating parameters corresponding to the target compensation points are determined according to the corresponding relationship between the spare compensation points and multiple initial operating parameters. In the example, the middle point of coef_init can be regarded as the "center" of the frequency response, and there is a mapping relationship between the position of each element in coef_init and the frequency point in the frequency domain. Since coef_init is a symmetrical sequence (ideal all-pass filter), coef_init(3) corresponds to the third frequency point 8.33*3MHz in the positive direction, and coef_init(10) corresponds to the third frequency point -8.33*3MHz in the negative direction. This is because N is 13, so coef_init(13-k) corresponds to the negative frequency point of coef_init(k). That is, when the 8.33*3Mhz frequency needs to be compensated for fluctuations, it can be determined that the initial operating parameter corresponding to the target compensation point is coef_init(3). The reference frequency domain sequence is obtained by Fourier transforming the initial operating sequence, that is, performing a fast Fourier transform (FFT) on coef_init to obtain the frequency domain information of 13 points (that is, the reference frequency domain sequence) FFT_INT:

[0072] FFT_INT=

[0073] [1.00000000000000+0.00000000000000i,

[0074] -0.970941817426052-0.239315664287558i,

[0075] 0.885456025653210+0.464723172043768i,

[0076] -0.748510748171101-0.663122658240795i,

[0077] 0.568064746731156+0.822983865893656i,

[0078] -0.354604887042536-0.935016242685415i,

[0079] 0.120536680255323+0.992708874098054i,

[0080] 0.120536680255323-0.992708874098054i,

[0081] -0.354604887042536+0.935016242685415i,

[0082] 0.568064746731156-0.822983865893656i,

[0083] -0.748510748171101+0.663122658240795i,

[0084] 0.885456025653210-0.464723172043768i,

[0085] -0.970941817426052+0.239315664287558i];

[0086] It is then determined that the frequency domain parameter to be adjusted is FFT_INT(3), and then the updated frequency domain parameter is calculated based on the frequency domain parameter to be adjusted and the compensation coefficient. For example, the compensation coefficient can be 1.2, which means that the signal strength of the frequency point needs to be enhanced by 1.2 times, or it can be expressed as 1.58dB (20log(1.2)=1.58dB), which means that the signal gain of the frequency point needs to be increased by 1.58dB. Then, the updated frequency domain parameter can be calculated as FFT_INT'(3)=FFT_INT(3)*1.2. In order to optimize the compensation effect, the auxiliary frequency domain parameters of the surrounding frequency points (i.e., auxiliary compensation points) are also calculated as FFT_INT'(2)=FFT_INT(2)*1.1 and FFT_INT'(4)=FFT_INT(4)*1.2. The updated frequency domain parameters are used to replace the frequency domain parameters to be adjusted in the reference frequency domain sequence. In order to optimize the compensation effect, the obtained auxiliary frequency domain parameters can be used to replace the original frequency domain parameters in the reference frequency domain sequence corresponding to the auxiliary frequency domain parameters to obtain the target frequency domain sequence FFT_INT'. After performing an inverse Fourier transform on the target frequency domain sequence, the target operating sequence Coef_update = ifft(FFT_INT') can be obtained. The target operating sequence may include complex numbers. Figure 7This is the frequency domain response of the filter after adjusting the running sequence according to the embodiment of the present application. It can be seen that the filter can have different effects on the amplitude of the signal at different frequencies. Therefore, the values ​​of FFT_INT at different positions can be adjusted to reversely compensate for the in-band fluctuations in the analog domain, thereby achieving very small in-band fluctuations.

[0087] As an optional implementation, compensation information of the compensator is generated based on the fluctuation information, including: determining a target compensation range based on a reference fluctuation parameter of the reference signal and standard information of the reference signal, wherein the reference fluctuation parameter is used to indicate the signal strength of the detected reference signal at different frequencies, the fluctuation information includes the fluctuation parameter, the standard information is used to indicate the standard signal strength of the reference signal, and the target compensation range is the frequency range of the reference signal to be subjected to fluctuation compensation; comparing the reference signal strength of the reference signal with the standard signal strength at each frequency within the target compensation range to obtain multiple groups of parameter combinations, wherein the parameter combination includes frequency points and reference difference parameters with corresponding relationships, the reference difference parameter is used to indicate the difference between the signal strength of the reference signal detected at the frequency point corresponding to the reference difference parameter and the standard signal strength, and the compensation information includes multiple groups of parameter combinations.

[0088] Optionally, in an embodiment of the present application, the standard signal strength of the reference signal includes but is not limited to being constant for different frequencies, or different frequencies may correspond to different signal strengths, but it is clear that the standard signal strength of the reference signal is the signal strength of the reference signal when it is not affected by the analog link. By comparing the reference signal strength and the standard signal strength at each frequency, it is possible to detect which frequencies' signal strengths are affected by the analog link and the specific degree of impact, and then determine which frequency points require fluctuation compensation and how much fluctuation compensation is required.

[0089] As an optional implementation, detecting the fluctuation information of the reference signal output by the analog link includes: converting the reference signal into a target signal by Fourier transform; collecting the signal strength of the target signal at different frequencies to obtain the fluctuation information.

[0090] Optionally, in an embodiment of the present application, including but not limited to inputting an initial signal into an analog link by means of frequency scanning, the initial signal is output as a reference signal via the analog link, the reference signal is converted into a target signal by Fourier transform, the target signal is the reference signal in the frequency domain, and then the signal strength of the target signal at different frequencies is collected to obtain the fluctuation information.

[0091] In order to better understand the above process, the above process is described below in conjunction with an optional embodiment, but it is not intended to limit the technical solution of the embodiment of the present application.

[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software and a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0093] Figure 8 : is a structural block diagram of a fluctuation compensation device according to an embodiment of the present application, the compensation device includes a controller and a compensator, the controller is connected to the compensator, the compensator is also used to connect with the signal converter and the digital link, the signal converter is also connected to the analog link, the analog link is used to transmit analog signals, the digital link is used to transmit digital signals, the signal converter is used to convert analog signals and digital signals to each other, the controller is also used to connect with the output end of the analog link, and the device is applied to the controller; Figure 8 As shown, the device comprises:

[0094] A detection module 802 is used to detect fluctuation information of a reference signal output by an analog link, wherein the fluctuation information is used to indicate fluctuation of a signal strength of the reference signal;

[0095] A first generating module 804 is used to generate compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate the compensation position of the compensator for the reference signal and the signal compensation degree of the compensation position;

[0096] A second generating module 806, configured to generate a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator;

[0097] The configuration module 808 is used to configure the target compensation parameter to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal.

[0098] Through the above embodiment, the controller detects the signal strength fluctuation of the reference signal output by the analog link, generates the compensation position of the compensator for the reference signal and the signal compensation degree of the compensation position according to the signal strength fluctuation, generates the target compensation parameter of the compensator according to the compensation information and the compensation rule of the compensator, and configures the target compensation parameter to the compensator. The compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal, that is, there is no need to continuously adjust the analog parameters of the analog device to reduce the signal fluctuation caused by the analog device, but from the perspective of compensating for the fluctuation within the band, a compensator is used to compensate for the fluctuation generated by the analog device, directly obtain the position where the fluctuation compensation needs to be performed and the compensation degree of each position where the fluctuation compensation needs to be performed according to the signal strength fluctuation, and then use the compensation rule of the compensator to generate the corresponding target compensation parameter to instruct the compensator to compensate the signal, which is simple and easy to achieve the optimization of the in-band fluctuation index from another perspective. The above technical solution solves the problem of low adjustment efficiency of fluctuations in related technologies and achieves the technical effect of improving the adjustment efficiency of fluctuations.

[0099] In an exemplary embodiment, the second generation module includes: a first calculation unit, which is used to calculate the compensation resolution of the compensator based on the sampling rate of the signal converter and the order of the compensator, wherein the order is used to indicate the degree of fineness when the compensator performs fluctuation compensation, and the compensation resolution is used to indicate the compensation frequency interval when the compensator performs fluctuation compensation on the signal, and the compensation rule includes the sampling rate and the order; a first determination unit, which is used to determine a plurality of spare compensation points based on the compensation resolution and the order, wherein the spare compensation points are used to indicate the frequency points at which the compensator can directly control the degree of compensation; a second determination unit, which is used to determine a target compensation point and a compensation coefficient corresponding to the target compensation point based on a plurality of spare compensation points and compensation information, wherein the target compensation point is used to indicate the compensation position of the received signal by the compensator, and the compensation coefficient is used to indicate the degree of compensation of the signal at the target compensation point by the compensator, and the target compensation parameters include the target compensation point and the compensation coefficient.

[0100] Optionally, the second determination unit is further used to: screen the alternative compensation points that fall within the reference compensation range to obtain the target compensation point, wherein the reference compensation range is the frequency range in which the reference signal is to be compensated for fluctuations, and the compensation information includes the reference compensation range; extract a target difference parameter corresponding to the target compensation point from the compensation information, wherein the target difference parameter is used to indicate the difference between the signal strength of the reference signal detected at the target compensation point and the standard signal strength of the reference signal; and determine the compensation coefficient based on the target difference parameter.

[0101] Optionally, the second determination unit is also used to: input multiple backup compensation points and compensation information into a compensation model, wherein the compensation model maintains compensation effect parameters when different target compensation points and different compensation coefficients are used at the target compensation points to compensate for the signal strength fluctuation of the reference signal, the compensation effect parameters are used to indicate the degree of closeness between the signal strength of the compensated reference signal and the standard signal strength of the reference signal, and the compensation model is used to output the backup compensation point and the corresponding compensation coefficient that are closest to the degree of closeness indicated by the compensation effect parameter; receive the backup compensation point output by the compensation model as the target compensation point, and receive the compensation coefficient corresponding to the backup compensation point output by the compensation model as the compensation coefficient of the target compensation point.

[0102] In an exemplary embodiment, a configuration module includes: a first extraction unit, which is used to extract the initial operating parameters corresponding to the target compensation points from the multiple initial operating parameters according to the correspondence between the multiple backup compensation points and the multiple initial operating parameters included in the initial operating sequence of the compensator, so as to obtain the operating parameters to be adjusted, wherein the initial operating sequence is used to indicate the compensation mechanism of the compensator for the signal passing through the compensator; a second extraction unit, which is used to extract the frequency domain parameters to be adjusted corresponding to the operating parameters to be adjusted from the multiple reference frequency domain parameters included in the reference frequency domain sequence obtained after Fourier transforming the initial operating sequence; a second calculation unit, which is used to calculate the updated frequency domain parameters according to the frequency domain parameters to be adjusted and the compensation coefficient; a replacement unit, which is used to replace the frequency domain parameters to be adjusted in the reference frequency domain sequence with the updated frequency domain parameters, so as to obtain the target frequency domain sequence; a transformation unit, which is used to perform inverse Fourier transform on the target frequency domain sequence, so as to obtain the target operating sequence; a configuration unit, which is used to update the initial operating sequence configured by the compensator to the target operating sequence, and the compensator is used to perform fluctuation compensation for the signal according to the compensation mechanism for the signal passing through the compensator indicated by the target operating sequence.

[0103] In an exemplary embodiment, a first generating module includes: a third determination unit, used to determine a target compensation range based on a reference fluctuation parameter of a reference signal and standard information of the reference signal, wherein the reference fluctuation parameter is used to indicate the signal strength of the detected reference signal at different frequencies, the fluctuation information includes the fluctuation parameter, the standard information is used to indicate the standard signal strength of the reference signal, and the target compensation range is the frequency range of the reference signal for which fluctuation compensation is to be performed; a comparison unit, used to compare the reference signal strength of the reference signal with the standard signal strength at each frequency within the target compensation range to obtain multiple groups of parameter combinations, wherein the parameter combination includes frequency points and reference difference parameters with corresponding relationships, the reference difference parameter is used to indicate the difference between the signal strength of the reference signal detected at the frequency point corresponding to the reference difference parameter and the standard signal strength, and the compensation information includes multiple groups of parameter combinations.

[0104] In an exemplary embodiment, the detection module includes: a conversion unit, used to convert a reference signal into a target signal through Fourier transform; and a collection unit, used to collect signal strengths of the target signal at different frequencies to obtain fluctuation information.

[0105] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein when the program is run, any of the above-mentioned fluctuation compensation methods is executed.

[0106] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0107] S1, detecting fluctuation information of a reference signal output by an analog link, wherein the fluctuation information is used to indicate fluctuation of a signal strength of the reference signal;

[0108] S2, generating compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate the compensation position of the compensator for the reference signal and the degree of signal compensation for the compensation position;

[0109] S3, generating a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator;

[0110] S4, configuring the target compensation parameter to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal.

[0111] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned fluctuation compensation method embodiments.

[0112] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0113] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0114] S1, detecting fluctuation information of a reference signal output by an analog link, wherein the fluctuation information is used to indicate fluctuation of a signal strength of the reference signal;

[0115] S2, generating compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate the compensation position of the compensator for the reference signal and the degree of signal compensation for the compensation position;

[0116] S3, generating a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator;

[0117] S4, configuring the target compensation parameter to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal.

[0118] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0119] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0120] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0121] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for compensating for fluctuations, characterized in that: The compensation device includes a controller and a compensator, wherein the controller is connected to the compensator, the compensator is further connected to a signal converter and a digital link, the signal converter is further connected to an analog link, the analog link is used to transmit analog signals, the digital link is used to transmit digital signals, the signal converter is used to perform mutual conversion between the analog signal and the digital signal, the controller is further connected to an output end of the analog link, and the method is applied to the controller, and the method includes: Detecting fluctuation information of a reference signal output by the analog link, wherein the fluctuation information is used to indicate fluctuation of a signal strength of the reference signal; Generating compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate a compensation position of the compensator for the reference signal and a signal compensation degree for the compensation position; generating a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator; The target compensation parameter is configured to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal.

2. The method according to claim 1, characterized in that The generating a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator includes: Calculating the compensation resolution of the compensator according to the sampling rate of the signal converter and the order of the compensator, wherein the order is used to indicate the degree of precision when the compensator performs fluctuation compensation, the compensation resolution is used to indicate the compensation frequency interval when the compensator performs fluctuation compensation on the signal, and the compensation rule includes the sampling rate and the order; Determine a plurality of spare compensation points according to the compensation resolution and the order, wherein the spare compensation points are used to indicate frequency points at which the compensator can directly control the degree of compensation; A target compensation point and a compensation coefficient corresponding to the target compensation point are determined according to the plurality of backup compensation points and the compensation information, wherein the target compensation point is used to indicate a compensation position of the compensator for a received signal, and the compensation coefficient is used to indicate a degree of compensation of the compensator for the signal at the target compensation point, and the target compensation parameters include the target compensation point and the compensation coefficient.

3. The method according to claim 2, characterized in that The determining a target compensation point and a compensation coefficient corresponding to the target compensation point according to the plurality of backup compensation points and the compensation information comprises: Filtering the spare compensation points that fall within a reference compensation range to obtain the target compensation point, wherein the reference compensation range is a frequency range of the reference signal to be subjected to fluctuation compensation, and the compensation information includes the reference compensation range; Extracting a target difference parameter corresponding to the target compensation point from the compensation information, wherein the target difference parameter is used to indicate a difference between a signal strength of the reference signal detected at the target compensation point and a standard signal strength of the reference signal; The compensation coefficient is determined according to the target difference parameter.

4. The method according to claim 2, characterized in that: The determining a target compensation point and a compensation coefficient corresponding to the target compensation point according to the plurality of backup compensation points and the compensation information comprises: Inputting the plurality of backup compensation points and the compensation information into a compensation model, wherein the compensation model maintains compensation effect parameters when different target compensation points and different compensation coefficients are used at the target compensation points to compensate for fluctuations in the signal strength of the reference signal, the compensation effect parameters are used to indicate the degree of proximity between the signal strength of the reference signal after compensation and the standard signal strength of the reference signal, and the compensation model is used to output the backup compensation point and the corresponding compensation coefficient that are closest to the degree of proximity indicated by the compensation effect parameters; The backup compensation point output by the compensation model is received as the target compensation point, and the compensation coefficient corresponding to the backup compensation point output by the compensation model is received as the compensation coefficient of the target compensation point.

5. The method according to claim 2, characterized in that: The configuring the target compensation parameter to the compensator includes: extracting the initial operating parameter corresponding to the target compensation point from the multiple initial operating parameters according to the correspondence between the multiple backup compensation points and the multiple initial operating parameters included in the initial operating sequence of the compensator, to obtain the operating parameter to be adjusted, wherein the initial operating sequence is used to indicate the compensation mechanism of the compensator for the signal passing through the compensator; Extracting the frequency domain parameter to be adjusted corresponding to the operating parameter to be adjusted from a plurality of reference frequency domain parameters included in the reference frequency domain sequence obtained by performing Fourier transform on the initial operating sequence; Calculate and update frequency domain parameters according to the frequency domain parameters to be adjusted and the compensation coefficients; Using the updated frequency domain parameters to replace the frequency domain parameters to be adjusted in the reference frequency domain sequence to obtain a target frequency domain sequence; Performing inverse Fourier transform on the target frequency domain sequence to obtain a target running sequence; The initial operation sequence configured by the compensator is updated to the target operation sequence, and the compensator is used to perform fluctuation compensation on the signal according to the compensation mechanism of the signal passing through the compensator indicated by the target operation sequence.

6. The method according to claim 1, characterized in that The generating the compensation information of the compensator according to the fluctuation information comprises: determining a target compensation range according to a reference fluctuation parameter of the reference signal and standard information of the reference signal, wherein the reference fluctuation parameter is used to indicate the detected signal strength of the reference signal at different frequencies, the fluctuation information includes the fluctuation parameter, the standard information is used to indicate the standard signal strength of the reference signal, and the target compensation range is a frequency range of the reference signal to be subjected to fluctuation compensation; The reference signal strength of the reference signal at each frequency is compared with the standard signal strength within the target compensation range to obtain multiple groups of parameter combinations, wherein the parameter combination includes frequency points and reference difference parameters with corresponding relationships, the reference difference parameters are used to indicate the difference between the signal strength of the reference signal detected at the frequency point corresponding to the reference difference parameter and the standard signal strength, and the compensation information includes the multiple groups of parameter combinations.

7. The method according to claim 1, characterized in that The detecting the fluctuation information of the reference signal output by the analog link comprises: Converting the reference signal into a target signal by Fourier transform; The signal strength of the target signal at different frequencies is collected to obtain the fluctuation information.

8. A fluctuation compensation device, characterized in that: The compensation device includes a controller and a compensator, wherein the controller is connected to the compensator, the compensator is also used to connect to a signal converter and a digital link, the signal converter is also connected to an analog link, the analog link is used to transmit analog signals, the digital link is used to transmit digital signals, the signal converter is used to perform mutual conversion between the analog signal and the digital signal, the controller is also used to connect to the output end of the analog link, the device is applied to the controller, and the device includes: A detection module, used to detect fluctuation information of a reference signal output by the analog link, wherein the fluctuation information is used to indicate fluctuation of a signal strength of the reference signal; A first generating module, configured to generate compensation information of the compensator according to the fluctuation information, wherein the compensation information is used to indicate a compensation position of the compensator for the reference signal and a signal compensation degree for the compensation position; a second generating module, configured to generate a target compensation parameter of the compensator according to the compensation information and a compensation rule of the compensator, wherein the compensation rule is used to indicate the influence of different compensation parameters on the compensation degree of different compensation positions of the signal transmitted by the compensator; A configuration module is used to configure the target compensation parameter to the compensator, wherein the compensator is used to compensate the received signal according to the target compensation parameter and output the compensated signal.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 7 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.

Citation Information

Cited By

  • Signal processing method and device, electronic equipment, storage medium and program product

    CN120474890A