Amplifier control method, system and storage medium
By performing signal analysis and environmental monitoring of the amplifier, and combining feedback control to adjust the gain and slope, the problem of insufficient control accuracy of the amplifier in the prior art is solved, and the signal processing capability and stability of the amplifier are improved.
Patent Information
- Application Number
- CN202411162025.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-23
AI Technical Summary
In terms of amplification accuracy control, existing amplifiers have problems such as insufficient analysis depth of front-end input signals and insufficient use environment and working stability, which leads to limited accuracy and effectiveness of gain control.
Through input signal analysis, environmental monitoring, signal processing tracking data analysis and feedback control, the initial and target gains and slopes are set, and the amplifier parameters are adjusted through feedforward formulas and feedback controllers to ensure the accuracy and stability of the signal amplification process.
It improves the accuracy and robustness of the gain control of the amplifier, enhances the adaptability to different input signals, ensures that the signal is not distorted, improves the linearity and applicability of the amplifier, and effectively integrates the influence of environmental factors.
Smart Images

Figure CN118694334B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of device control, and in particular, relates to an amplifier control method, system and storage medium. Background Art
[0002] An amplifier is an electronic device whose main function is to amplify input signals, such as audio, radio frequency or video signals, in order to drive subsequent circuits or loads. It plays an important role in the fields of communications, audio processing and signal processing. In order to ensure the amplification effect of the amplifier, its amplification process needs to be controlled.
[0003] Currently, amplifier control is mainly performed by controlling its gain to ensure amplification accuracy and response speed.
[0004] Prior art, such as a control method and system for a Raman fiber amplifier disclosed in a Chinese invention patent application with application publication number CN109980492A, calculates the expected output power of each pump using a feedforward formula according to the set target gain and slope, and obtains the actual output power of each pump through PD detection. The actual output power of each pump is locked to the expected output power through PID feedback to achieve first-level feedback control. Combined with out-of-band ASE, the gain compensation and slope compensation of each pump are determined through PID feedback, and the compensation is fed back to the feedforward formula for recalculation to achieve second-level feedback control. Repeat the first and second-level feedback control for each pump until gain and slope lock is achieved. In this way, rapid locking of the pump power and compensation locking of the gain and slope can be achieved, which improves the control accuracy of the gain and slope and speeds up the response speed.
[0005] Another example of the prior art is a control method and a fiber amplifier disclosed in a Chinese invention patent application with application publication number CN110601766A, which performs an initial correction on the target gain based on a first compensation gain to obtain an initially corrected target gain. When the actual power of the pump laser reaches the target power determined based on the initially corrected target gain, the second compensation gain and the first compensation slope are calculated based on the first signal light power and the second signal light power. The initially corrected target gain is corrected again according to the second compensation gain to obtain a corrected target gain. And the target slope is corrected according to the first compensation slope to obtain a corrected target slope. This can provide high-precision control of the gain and slope of the fiber amplifier.
[0006] Regarding the above two technical solutions, it is obvious that the current amplifier still has the following problems in terms of amplification accuracy control: 1. The analysis depth of the front-end input signal is insufficient, and the limitation on gain correction when the front-end input is more complex is not considered, which makes the accuracy of gain control still have certain limitations.
[0007] 2. The operating environment of the amplifier has not been analyzed yet, and the environment in which the amplifier is located will directly affect the accuracy of the amplifier. Currently, the gain adjustment based only on the back-end input cannot guarantee the adjustment effect, and thus cannot guarantee the effectiveness of the adjustment.
[0008] 3. Currently, insufficient attention is paid to the working stability of the amplifier, and the working stability of the amplifier directly affects the accuracy of its gain control. Summary of the invention
[0009] In view of this, in order to solve the problems raised in the above background technology, an amplifier control method, system and storage medium are now proposed.
[0010] The purpose of the present invention can be achieved through the following technical solutions: In a first aspect, the present invention provides an amplifier control method, the method comprising: S1, input signal analysis: analyzing the signal to be amplified received at the input end of the amplifier, and outputting the signal characteristics of the signal to be amplified.
[0011] S2. Preliminary settings for signal amplification: import the target amplification factor of the signal to be amplified, and set the initial gain and initial gain slope of the amplifier based on the signal characteristics.
[0012] S3. Signal amplification interference monitoring: used to monitor the current environment of the amplifier and obtain monitoring environment information.
[0013] S4. Signal amplification adjustment setting: extracting the signal processing tracking data of the amplifier from the operation information library, and setting the target gain and target gain slope of the amplifier based on the monitoring environment information and the initial gain of the amplifier.
[0014] S5. Signal amplification feedforward control: Based on the target gain of the amplifier, the expected output value of each part of the amplifier is calculated through the feedforward formula.
[0015] S6. Actual signal output measurement: measure the actual output value of each part of the amplifier.
[0016] S7, signal amplification adjustment correction: compare the difference between the expected output value and the actual output value, and use the feedback controller to adjust the gain of the amplifier.
[0017] S8, signal amplification execution: repeat steps S6 and S7. When the difference between the expected output value and the actual output value of each part of the amplifier is within the allowable difference range, the adjusted amplifier gain and target gain slope are used as the output parameters of the amplifier, and the signal is amplified according to the output parameters.
[0018] A second aspect of the present invention provides an amplifier control system, the system comprising: an input signal analysis module, used to analyze a signal to be amplified received at an input end of the amplifier, and output signal characteristics of the signal to be amplified.
[0019] The signal preliminary setting module is used to import the target amplification factor of the signal to be amplified and set the initial gain and initial gain slope of the amplifier.
[0020] The signal interference monitoring module is used to monitor the current environment of the amplifier and obtain monitoring environment information.
[0021] The signal adjustment setting module is used to extract the signal processing tracking data of the amplifier from the operation information library, and set the target gain and target gain slope of the amplifier based on the monitoring environment information and the initial gain of the amplifier.
[0022] The signal feedforward control module is used to calculate the expected output value of each part of the amplifier through a feedforward formula based on the target gain of the amplifier.
[0023] The actual output measurement module is used to measure the actual output values of each part of the amplifier.
[0024] The signal adjustment and correction module is used to compare the difference between the expected output value and the actual output value, and use a feedback controller to adjust the gain of the amplifier.
[0025] The operation information library is used to store the signal processing tracking data of the amplifier and store the reference gain slope under each signal bandwidth corresponding to each signal power dynamic range.
[0026] The signal amplification execution terminal is used to use the adjusted amplifier gain and target gain slope as output parameters of the amplifier and perform signal amplification according to the output parameters when the difference between the expected output value and the actual output value of each part of the amplifier is within the allowable difference range.
[0027] A third aspect of the present invention provides a storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the steps in the amplifier control method of the present invention.
[0028] Compared with the prior art, the present invention has the following beneficial effects: (1) The present invention sets the initial gain and initial gain slope of the amplifier by analyzing the signal to be amplified received at the input end of the amplifier, thereby effectively solving the current problem of insufficient analysis depth of the front-end input signal, and fully considering the limitations on gain correction when the front-end input is more complex, thereby further improving the accuracy and reliability of gain control.
[0029] (2) The present invention analyzes the complexity of amplification processing and the noise interference of the signal to be amplified, sets the gain adjustment factor, and then sets the initial gain and the initial gain slope, thereby intuitively displaying the complexity of the signal to be amplified, reducing the signal distortion caused by excessive gain, thereby improving the linearity of the amplifier, and can also enable the amplifier to adaptively adapt to different input signals while ensuring that the signal is not distorted, thereby improving the overall performance and further improving the robustness and applicability of the amplifier.
[0030] (3) The present invention sets the target gain and target gain slope of the amplifier in combination with environmental information, thereby effectively making up for the current deficiency of not analyzing the use environment of the amplifier, fully considering the impact of the environment on the accuracy of the amplifier, and avoiding the one-sidedness of the current gain adjustment based only on the back-end input, thereby improving the gain adjustment effect and adjustment effectiveness, and effectively integrating the influence of conditions such as temperature and power supply.
[0031] (4) The present invention sets the target gain and target gain slope of the amplifier by analyzing the signal amplification stability, paying full attention to the factor of the working stability of the amplifier, expanding the consideration factors of the amplifier gain analysis, thereby breaking the limitation of the current relatively single consideration factor and further improving the control effect and control accuracy of the amplifier. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0033] Figure 1 The present invention is a schematic flow chart of the steps for implementing the method.
[0034] Figure 2 This is a schematic diagram of the process of step S8 of the present invention.
[0035] Figure 3 This is a schematic diagram of the connection of the system modules of the present invention.
[0036] Figure 4 It is a schematic diagram of the structure of the storage medium of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Embodiment 1
[0039] See also Figure 1 As shown, the present invention provides an amplifier control method, the method includes: S1, input signal analysis: analyzing the signal to be amplified received at the input end of the amplifier, and outputting the signal characteristics of the signal to be amplified.
[0040] S2. Preliminary settings for signal amplification: import the target amplification factor of the signal to be amplified, and set the initial gain and initial gain slope of the amplifier based on the signal characteristics.
[0041] S3. Signal amplification interference monitoring: used to monitor the current environment of the amplifier and obtain monitoring environment information.
[0042] Specifically, the monitoring environment information includes, but is not limited to, the temperature at each monitoring time point and the monitoring voltage of the supply power.
[0043] S4. Signal amplification adjustment setting: extracting the signal processing tracking data of the amplifier from the operation information library, and setting the target gain and target gain slope of the amplifier based on the monitoring environment information and the initial gain of the amplifier.
[0044] Specifically, the signal processing tracking data records data such as the set target amplification factor corresponding to each signal amplification, the amplitude of the recorded input signal, and the amplitude of the recorded output signal.
[0045] S5. Signal amplification feedforward control: Based on the target gain of the amplifier, the expected output value of each part of the amplifier is calculated through the feedforward formula.
[0046] It should be added that calculating the expected output values of each part of the amplifier through the feedforward formula is a relatively mature technology available, which will not be described in detail here, and the various parts of the amplifier refer to multiple parts such as the input stage, the intermediate stage, and the output stage.
[0047] S6. Actual signal output measurement: measure the actual output value of each part of the amplifier.
[0048] It should be added that the actual output values of various parts of the measuring amplifier can be measured by one or more of a variety of measuring devices such as an oscilloscope, a multimeter, a spectrum analyzer, etc.
[0049] S7, signal amplification adjustment correction: compare the difference between the expected output value and the actual output value, and use the feedback controller to adjust the gain of the amplifier.
[0050] It should be added that using a feedback controller to adjust the gain of an amplifier is a conventional method, and the specific adjustment details are not described in detail here.
[0051] See also Figure 2 As shown, S8, signal amplification execution: repeat steps S6 and S7. When the difference between the expected output value and the actual output value of each part of the amplifier is within the allowable difference range, the adjusted gain and target gain slope of the amplifier are used as the output parameters of the amplifier, and the signal is amplified according to the output parameters.
[0052] It should be added that the allowable difference range between the expected output value and the actual output value of each part of the amplifier is determined by the type and design specifications of the amplifier, which is provided by the manufacturer of the amplifier.
[0053] Further, regarding the signal to be amplified received at the input end of the analyzing amplifier in step S1, the method includes: S11, importing the signal to be amplified into a spectrum analyzer to obtain a spectrum diagram of the signal to be amplified.
[0054] S12. Identify the number of signal components and the bandwidth, strength, power and center frequency of each signal component from the spectrum diagram.
[0055] S13, the number of signal components is recorded as , and sum the bandwidths of each signal component to obtain the total bandwidth of the signal component, recorded as .
[0056] S14, select the highest intensity and the lowest intensity from the intensity of each signal component, and calculate the intensity dynamic range of the signal to be amplified by the intensity dynamic range calculation formula, which is recorded as .
[0057] It should be added that The specific calculation formula is: , Indicates the highest intensity, Indicates the lowest intensity.
[0058] S15. Filter out the highest power and the lowest power from the power of each signal component, and calculate the power dynamic range of the signal to be amplified by the power dynamic range calculation formula, which is recorded as .
[0059] It should be added that The specific calculation formula is: , Indicates the highest power, Indicates the lowest power.
[0060] S16, calculate the center frequency difference of each adjacent signal component, obtain the center frequency difference of each adjacent signal component pair, calculate the mean of the corresponding center frequency difference of each adjacent signal component pair, and use the calculation result as the frequency interval and record it as .
[0061] S17, will , , , and As the signal characteristics of the signal to be amplified.
[0062] Specifically, the supplement to step S11 is as follows: the number of signal components is determined by peak detection in the spectrum graph, the bandwidth corresponds to the width between the peaks in the spectrum graph, the intensity corresponds to the height or area of each peak in the spectrum graph, the power corresponds to the square or area of each peak in the spectrum graph, and the center frequency corresponds to the position of each peak in the spectrum graph, wherein the power of the signal component can also be directly given by the spectrum analyzer.
[0063] It can be understood that when the height of the peak is selected as the intensity of each signal component, that is, when the spectrum diagram is the amplitude spectrum, the square of each peak is used as the power of each signal component; when the area of the peak is selected as the intensity of each signal component, that is, when the power spectrum is the amplitude spectrum, the area of each peak is used as the power of each signal component.
[0064] It should also be added that when confirming each signal component, a threshold needs to be set to distinguish noise from signal. Frequency components below the threshold should be regarded as noise. For example, the threshold can be specifically set to -60dBm.
[0065] In a specific embodiment, assuming that the signal to be amplified includes three different signal components, the specific example process of obtaining the signal characteristics is as follows: E1. Observe the spectrum diagram and find the peaks corresponding to the signal components, which are marked as A, B and C respectively.
[0066] Q2. Define the threshold of -60dBm as the threshold for distinguishing between signal and noise.
[0067] Q3. For each signal component, find the location of its peak value and obtain the center frequency of each signal component.
[0068] Assume that the center frequency of signal component A is 1 GHz, the center frequency of signal component B is 2 GHz, and the center frequency of signal component C is 3 GHz.
[0069] Q4. Measure the width of each signal component.
[0070] Among them, the width corresponds to the frequency range from the -3dB point to the +3dB point. It is assumed that the bandwidth of signal component A is 20MHz, signal component B is 10MHz, and signal component C is 30MHz.
[0071] Q5. Assume that the height of the peak value is selected as the intensity of each signal component, that is, the amplitude of the signal component at the center frequency is read to obtain the intensity of each signal component.
[0072] Assume that the strength of signal component A is -20dBm, signal component B is -25dBm, and signal component C is -30dBm.
[0073] Q7. The total power of each signal component is given by the spectrum analyzer.
[0074] Assume that the power of signal component A is -10dBm, B is -15dBm, and C is -20dBm.
[0075] In summary, the number of signal components and the bandwidth, strength, center frequency and power of each signal component are obtained: 1) Signal component A: center frequency 1GHz, bandwidth 20MHz, strength -20dBm, power -10dBm.
[0076] 2) Signal component B: center frequency 2GHz, bandwidth 10MHz, intensity -25dBm, power -15dBm.
[0077] 3) Signal component C: center frequency 3GHz, bandwidth 30MHz, intensity -30dBm, power -20dBm.
[0078] It should be added that the -3dB point is a widely accepted standard for defining the bandwidth of a signal component. In many cases, when the amplitude of a signal drops to half of its maximum value, its energy contribution has been significantly reduced. Therefore, the -3dB point is considered a reasonable limit for defining the effective bandwidth of a signal. In practical applications, signal energy beyond the -3dB point is generally considered to be secondary and will not significantly affect the overall quality of the signal. The frequency range from the -3dB point to the +3dB point is the width of the signal component.
[0079] Furthermore, the setting of the initial gain and initial gain slope of the amplifier in step S2 includes: S21, based on the signal characteristics of the signal to be amplified, calculating the amplification processing complexity of the signal to be amplified, recorded as .
[0080] S22, identifying the number of signal frequency bands, the number of noise frequency bands, the bandwidth of each noise frequency band and the total noise power from the spectrum diagram of the signal to be amplified, and calculating the noise interference degree of the signal to be amplified, which is recorded as .
[0081] It should be added that the total power of the noise band can be calculated by integrating the total noise power in each noise band on the spectrum diagram, or by calculating the average power in the noise band and then multiplying it by its bandwidth to obtain the total noise power.
[0082] S23, and As each evaluation variable, it is then imported into the sigmoid function, and the output value is used as the gain adjustment factor, recorded as .
[0083] It should be added that The specific calculation formula is: , and are the signal amplification processing complexity and noise interference of the set reference, is a natural constant.
[0084] It should also be added that, for the convenience of analysis, illustratively, You can set the value to 0.5. The value can be set to 0.3.
[0085] The embodiment of the present invention analyzes the amplification processing complexity and noise interference of the signal to be amplified, sets the gain adjustment factor, and then sets the initial gain and the initial gain slope, so as to intuitively display the complexity of the signal to be amplified, reduce the signal distortion caused by excessive gain, thereby improving the linearity of the amplifier, and can also enable the amplifier to adaptively adapt to different input signals while ensuring that the signal is not distorted, thereby improving the overall performance and further improving the robustness and applicability of the amplifier.
[0086] S24, record the target amplification factor of the signal to be amplified as , and then as initial gain.
[0087] S25. Based on the total signal component bandwidth and power dynamic range of the signal to be amplified, extract a reference gain slope of the signal to be amplified from the information database as an initial gain slope.
[0088] The embodiment of the present invention sets the initial gain and initial gain slope of the amplifier by analyzing the signal to be amplified received at the input end of the amplifier, thereby effectively solving the current problem of insufficient analysis depth of the front-end input signal, fully considering the limitations on gain correction when the front-end input is more complex, and further improving the accuracy and reliability of gain control.
[0089] Specifically, the amplification processing complexity of the signal to be amplified is calculated in step S21, including: L1, , , , and They are normalized respectively, and the results after normalization are recorded as , , , and .
[0090] L2, set the weights of the number of signal components, the total bandwidth, the intensity dynamic range, the power dynamic range and the frequency interval, respectively , , , and , .
[0091] L3. Calculate the amplification processing complexity of the signal to be amplified , .
[0092] It should be added that the normalization process is to eliminate the influence of units and ensure that all factors have the same dimension when calculating the amplification complexity. The specific process of the normalization process is as follows: set the number of reference signal components, the total reference bandwidth, the reference intensity dynamic range, the reference power dynamic range and the reference frequency interval, respectively, , , , and ,Will , , , and and , , , and The corresponding comparisons were made and the ratios were taken as the normalized results.
[0093] In a specific embodiment, , , , and The specific settings are mainly determined comprehensively based on the design specifications and application requirements of the amplifier, wherein the design specifications and application requirements of the amplifier can be provided by the manufacturer of the amplifier.
[0094] For example, assuming that the amplifier is applied to an optical fiber communication system, the following operations may be performed to set the reference value: : Reference: The maximum number of concurrent channels of the amplifier is 10, setting value: .
[0095] Reference bandwidth sum : Reference: The total bandwidth resource available to the amplifier is 100MHz, setting value: .
[0096] Reference intensity dynamic range : Reference: The amplifier can effectively handle a signal strength range of 60dB, setting value: .
[0097] Reference power dynamic range : Reference: The signal power range that the amplifier can effectively handle is 30dB, setting value: .
[0098] Reference frequency interval : Reference basis: The maximum possible interval between the center frequencies of the amplifier corresponding to the amplified signal components is 2GHz. Setting value: .
[0099] What needs to be added about the L2 step is that the number of signal components directly affects the complexity of the amplifier processing. Therefore, the weight of setting the number of signal components is the largest. The sum of the bandwidths of all signal components reflects the frequency range that the amplifier needs to process, thereby affecting the complexity of the amplifier processing. Therefore, the weight of the sum of the bandwidths is second. The range of signal strength variation, the range of signal power fluctuations, and the average interval between the center frequencies of the signal components reflect the distribution of the signal components in the frequency domain and the dynamic range requirements. That is, it affects the dynamic range management of the amplifier, and then indirectly affects the processing complexity of the amplifier. However, in the analysis of signal processing complexity, the power dynamic range is usually emphasized because the power dynamic range directly affects the performance of the amplifier. Therefore, the weight of setting the power dynamic range is greater than the weight of the frequency interval and the weight of the intensity dynamic range, and the frequency components of different signals need to be sufficiently spaced to avoid interfering with each other. Therefore, the accuracy of the center frequency interval is more important than the signal strength dynamic range, so the weight of setting the intensity dynamic range is the smallest, that is , illustratively, , , , and The possible values are 0.4, 0.3, 0.05, 0.15 and 0.1 respectively.
[0100] In another specific embodiment, the statistical noise interference of the signal to be amplified in step S22 includes: J1. Dividing the number of noise frequency bands by the number of signal frequency bands to obtain a noise frequency band coverage ratio, which is recorded as ,Will Noise interference coverage ratio compared to the set reference for comparison.
[0101] In a specific embodiment, the noise power density, noise power and noise bandwidth of the reference interference can be obtained by extracting from the product specification of the amplifier or the noise evaluation specification, and the reference noise interference coverage ratio is set. The specific value can be 0.7.
[0102] J2. If , take 1 as the noise interference degree of the signal to be amplified, otherwise, divide the total noise power of each noise band by its bandwidth to obtain the noise power density of each noise band, and select the maximum noise power density from them, which is recorded as .
[0103] J3. Calculate the sum of the total noise power of each noise frequency band as the comprehensive noise power, recorded as , and at the same time, the maximum bandwidth is selected from the bandwidth of each noise band, recorded as .
[0104] J4. Calculate the noise interference of the signal to be amplified , , , and are the noise power density, noise power and noise bandwidth of the reference interference respectively. and are the noise band coverage ratio and the weights corresponding to the noise characteristics, is a constant, , .
[0105] It should be added that noise power density, noise power and noise bandwidth represent the detailed characteristics of noise. Indicates the noise characteristic excess, and for ease of analysis, The specific value can be 2.
[0106] It should be explained that when conducting noise interference analysis, the conventional signal-to-noise ratio is not used for evaluation. Instead, four indicator dimensions, namely noise band coverage ratio, noise power density, noise power synthesis and noise bandwidth, are analyzed one by one. This is to highlight more noise detail characteristics, thereby improving the accuracy of noise interference analysis, making the calculation of noise interference more targeted and more scalable. The noise interference situation of each noise frequency band can also be calculated, which can provide assistance for noise processing in specific frequency bands.
[0107] Understandably, the noise band coverage ratio focuses on the coverage of the noise band relative to the signal band. It reflects the proportion of noise in the entire signal band, directly showing the breadth of noise distribution and the probability of overlapping with normal signals, while noise characteristics, such as noise power density, noise power, and noise bandwidth, focus more on the strength of the noise itself. Noise power density reflects the size of noise within a unit frequency range, while noise power is the noise energy in the entire frequency band. These parameters are crucial for evaluating the strength of the noise source, thereby indirectly showing the interference of the noise. Therefore, setting The value is slightly greater than For example, The value can be 0.55. The value can be 0.45.
[0108] Furthermore, the step S4 of setting the target gain and target gain slope of the amplifier includes: S41, extracting the set target amplification factor corresponding to each signal amplification from the signal processing tracking data, recording the amplitude of the input signal and recording the amplitude of the output signal, and calculating the signal amplification stability of the amplifier, which is recorded as .
[0109] S42, extracting the temperature at each monitoring time point and the monitored voltage value of the supply power from the monitoring environment information, and calculating the environmental interference degree of the amplifier, which is recorded as .
[0110] S43, if and , taking the initial gain as the target gain and the initial gain slope as the target gain slope, To set the reference signal amplification stability, To set the reference environmental interference level.
[0111] It should be added that, in a specific embodiment, The critical value of is 0. It can be set with 0 as the boundary, for example, The value can be 0.1. The critical value of is 1. Specifically, The value can be 1.
[0112] S44, otherwise, and The difference is taken as the first independent variable, denoted as ,Will and The difference is taken as the second independent variable, denoted as .
[0113] S45, set the gain correction factor , , and They represent the correction weights of signal amplification stability and environmental interference, , is a natural constant.
[0114] It should be added that the gain correction factor is set with reference to the Sigmoid-Scaled ReLU function. The Sigmoid-Scaled ReLU function is a combination of the Sigmoid function and the ReLU function. The Sigmoid-Scaled ReLU function combines the smoothness of the Sigmoid function and the nonlinearity of the ReLU function, making the output value is between 0 and 1, and when The output is 0, thereby ensuring that the analysis values between the signal amplification stability and the environmental interference are not interfered by each other. At the same time, it also ensures that when one of them is greater than the set reference value, the gain correction factor can be effectively corrected, that is, the gain correction factor can ensure that the value is greater than 0, and it can also ensure that the correction degree of the gain correction factor is relatively reasonable.
[0115] It should be added that, in a specific embodiment, the correction weights of signal amplification stability and environmental interference are specifically set according to the application scenario of the amplifier. For example, in a communication system, signal stability may be more important because the integrity of the signal needs to be maintained during the transmission process. Therefore, in the communication transmission scenario, the correction weight of signal amplification stability is set higher than the correction weight of environmental interference. For example, The value can be 0.6. The value may be 0.4. For example, in medical equipment, environmental interference may be more important because noise may affect the diagnosis results. Therefore, in the medical detection scenario, the correction weight of signal amplification stability is set lower than the correction weight of environmental interference. For example, The value can be 0.4. The value can be 0.6.
[0116] S46, the initial gain and initial gain slope of the amplifier are recorded as and ,Will As the target gain, as the target gain slope.
[0117] Specifically, calculating the signal amplification stability of the amplifier in step S41 includes: taking the ratio of the amplitude of the recorded output signal to the amplitude of the recorded input signal as the actual amplification factor.
[0118] The target magnification is subtracted from the actual magnification to obtain the magnification difference. The number of signal amplifications whose magnification difference is within the set reference magnification difference range is counted as the matching signal amplification number. The ratio of the matching signal amplification number to the signal amplification number is taken as the matching processing ratio, which is recorded as .
[0119] With the signal amplification order as the horizontal axis and the amplification factor difference as the vertical axis, an amplification factor difference curve is constructed, and the slope of the curve is extracted and recorded as .
[0120] Signal amplification stability of statistical amplifier , , To set the reference magnification difference change rate, To set the reference matching treatment ratio.
[0121] It should be added that the reference magnification difference range can be specifically (0, 1.5), and the reference magnification difference change rate The specific value can be 0.1, and the reference matching ratio The specific value can be 0.8.
[0122] It should also be added that the signal amplification stability of the amplifier is statistically calculated using a linear regression function and a deformation of the ReLU function to ensure the independence and comprehensiveness of the calculation between the matching processing ratio and the rate of change of the amplification factor difference.
[0123] The embodiment of the present invention sets the target gain and target gain slope of the amplifier by analyzing the signal amplification stability, pays full attention to the factor of the working stability of the amplifier, expands the consideration factors of the amplifier gain analysis, and thus breaks the limitation of the current relatively single consideration factor, and further improves the control effect and control accuracy of the amplifier.
[0124] In another specific embodiment, the environmental interference degree of the amplifier is calculated in step S42, including: step 1, selecting the highest temperature from the temperatures at each monitoring time point as the analysis temperature.
[0125] Step 2: Compare the analysis temperature with the set amplifier operation interference temperature. If the comparison result is greater than or equal to, As the temperature interference factor, if the comparison result is less than, 0 is used as the temperature interference factor, so as to obtain the temperature interference factor, which is recorded as , The value is or 0, .
[0126] In a specific embodiment, The value interval of is (0, 1). For the convenience of analysis, specifically, The value can be 0.3.
[0127] Step 3: Calculate the standard deviation of the temperature and the monitored voltage value of the power supply at each monitoring time point, and use the calculated standard deviation of the temperature as the temperature fluctuation, recorded as , the standard deviation of the monitored voltage value is calculated as the power supply fluctuation and recorded as .
[0128] Step 4: Calculate the environmental interference of the amplifier , , and They are respectively represented as the weights of temperature fluctuation and power supply fluctuation, and They are respectively used to set the reference temperature fluctuation and power supply fluctuation. The floor symbol.
[0129] It should be added that the setting of the reference temperature fluctuation and power supply fluctuation is mainly determined comprehensively according to the design specifications and application requirements of the amplifier. When the design specifications or application requirements clearly state the temperature fluctuation and power supply fluctuation to be tolerated, the temperature fluctuation to be tolerated is used as the reference temperature fluctuation, and the power supply fluctuation to be tolerated is used as the power supply fluctuation to be set as the reference. When the temperature fluctuation and power supply fluctuation to be tolerated are not clearly stated, illustratively, the operating temperature range of the amplifier is extracted from the design specifications of the amplifier, and according to the number of monitoring time points, the number of temperature values that are consistent with the number of monitoring time points is randomly selected from the operating temperature range, and the number of temperature values that are consistent with the number of monitoring time points is randomly selected according to the number of monitoring time points. The calculation method is similar to that of The specific value of The specific value and The specific setting principle is the same, and examples will not be repeated.
[0130] Exemplarily, assuming that the operating temperature range of the amplifier is (0, 50°C), the number of monitoring time points is 10, and 10 temperature values are randomly selected from the operating temperature range: 22°C, 23°C, 23°C, 24°C, 22°C, 28°C, 30°C, 35°C, 34°C, and 40°C. The standard deviation of these 10 temperature values is calculated, and the standard deviation result is approximately 6.09°C, that is, 6°C can be used as a reference temperature fluctuation.
[0131] It should also be added that the calculation formula for the environmental interference of the amplifier is set with reference to the exponential regression function. Small environmental interferences may accumulate and have a significant impact on the device. The exponential function can better simulate this cumulative effect and better capture the threshold effect. For example, the performance is almost unaffected before the environmental interference reaches a certain threshold, but once it exceeds the threshold, the performance may drop rapidly. Therefore, the exponential regression function is used as the reference setting formula, and rounding down is when Less than or Less than When there is no temperature interference or power fluctuation interference, the value should be assigned to 0, which can more accurately reflect the environmental interference situation and is also convenient for setting up the reference environmental interference value.
[0132] In a specific embodiment, when the power supply fluctuates, it will directly affect the amplifier's signal processing effect, such as amplifier distortion or failure to reach the processed power value. Therefore, the power supply fluctuation is a direct influence, and the temperature fluctuation affects the amplification effect by affecting the performance of the amplifier. Therefore, the weight of the temperature fluctuation is set to be smaller than the weight of the power supply fluctuation. Specifically, The value can be 0.4. The value can be 0.6.
[0133] The embodiment of the present invention sets the target gain and target gain slope of the amplifier in combination with environmental information, thereby effectively making up for the current deficiency of not analyzing the use environment of the amplifier, fully considering the impact of the environment on the accuracy of the amplifier, avoiding the one-sidedness of the current gain adjustment based only on the back-end input, thereby improving the gain adjustment effect and adjustment effectiveness, and effectively integrating the influence of temperature, power supply and other conditions.
[0134] Embodiment 2
[0135] See also Figure 3 As shown, the present invention provides an amplifier control system, which includes: an input signal analysis module, a signal preliminary setting module, a signal interference monitoring module, a signal adjustment setting module, a signal feedforward control module, an actual output measurement module, a signal adjustment correction module, an operation information library and a signal amplification execution terminal.
[0136] In the above, the signal preliminary setting module is respectively connected to the input signal analysis module, the signal adjustment setting module and the operation information library, the signal adjustment setting module is also respectively connected to the operation information library, the signal interference monitoring module, the signal feedforward control module and the signal amplification execution terminal, and the signal adjustment correction module is respectively connected to the signal feedforward control module, the actual output measurement module and the signal amplification execution terminal.
[0137] The input signal analysis module is used to analyze the signal to be amplified received by the input end of the amplifier and output the signal characteristics of the signal to be amplified.
[0138] The signal preliminary setting module is used to import the target amplification factor of the signal to be amplified and set the initial gain and initial gain slope of the amplifier.
[0139] The signal interference monitoring module is used to monitor the current environment of the amplifier and obtain monitoring environment information.
[0140] The signal adjustment setting module is used to extract the signal processing tracking data of the amplifier from the operation information library, and set the target gain and target gain slope of the amplifier based on the monitoring environment information and the initial gain of the amplifier.
[0141] The signal feedforward control module is used to calculate the expected output value of each part of the amplifier through a feedforward formula based on the target gain of the amplifier.
[0142] The actual output measurement module is used to measure the actual output values of various parts of the amplifier.
[0143] The signal adjustment and correction module is used to compare the difference between the expected output value and the actual output value, and use a feedback controller to adjust the gain of the amplifier.
[0144] The operation information library is used to store the signal processing tracking data of the amplifier and store the reference gain slope under each signal bandwidth corresponding to each signal power dynamic range.
[0145] The signal amplification execution terminal is used to use the adjusted amplifier gain and target gain slope as output parameters of the amplifier and perform signal amplification according to the output parameters when the difference between the expected output value and the actual output value of each part of the amplifier is within the allowable difference range.
[0146] Embodiment 3
[0147] See also Figure 4 As shown, the present invention further provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the amplifier control method described in the present invention.
[0148] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, they shall all fall within the protection scope of the present invention.
Claims
1. An amplifier control method, characterized in that: The method includes: S1. Input signal analysis: analyzing the signal to be amplified received at the input end of the amplifier, and outputting the signal characteristics of the signal to be amplified; S2. Preliminary settings for signal amplification: importing the target amplification factor of the signal to be amplified, and setting the initial gain and initial gain slope of the amplifier based on the signal characteristics; S3, signal amplification interference monitoring: used to monitor the current environment of the amplifier and obtain monitoring environment information; S4, signal amplification adjustment setting: extracting the signal processing tracking data of the amplifier from the operation information library, and setting the target gain and target gain slope of the amplifier based on the monitoring environment information and the initial gain of the amplifier; S5, signal amplification feedforward control: based on the target gain of the amplifier, the expected output value of each part of the amplifier is calculated through the feedforward formula; S6. Actual signal output measurement: measure the actual output value of each part of the amplifier; S7, signal amplification adjustment correction: comparing the difference between the expected output value and the actual output value, and using a feedback controller to adjust the gain of the amplifier; S8, signal amplification execution: repeating steps S6 and S7, when the difference between the expected output value and the actual output value of each part of the amplifier is within the allowable difference range, taking the adjusted gain and target gain slope of the amplifier as output parameters of the amplifier, and performing signal amplification according to the output parameters; The signal to be amplified received by the input end of the analytical amplifier includes: The signal to be amplified is introduced into a spectrum analyzer to obtain a spectrum diagram of the signal to be amplified; Identify the number of signal components and the bandwidth, strength, power and center frequency of each signal component from the spectrum diagram; The number of signal components is recorded as , and sum the bandwidths of each signal component to obtain the total bandwidth of the signal component, recorded as ; The highest and lowest intensities are selected from the intensities of each signal component, and the intensity dynamic range of the signal to be amplified is calculated using the intensity dynamic range calculation formula, which is recorded as ; The highest power and the lowest power are selected from the power of each signal component, and the power dynamic range of the signal to be amplified is calculated by the power dynamic range calculation formula, which is recorded as ; Calculate the center frequency difference of each adjacent signal component to obtain the center frequency difference of each adjacent signal component pair, calculate the mean of the corresponding center frequency difference of each adjacent signal component pair, and use the calculation result as the frequency interval and record it as ; Will , , , and as a signal characteristic of the signal to be amplified; The step of setting the initial gain and initial gain slope of the amplifier comprises: Based on the signal characteristics of the signal to be amplified, the amplification processing complexity of the signal to be amplified is calculated, which is recorded as ; From the spectrum of the signal to be amplified, the number of signal bands, the number of noise bands, the bandwidth of each noise band and the total noise power are identified, and the noise interference degree of the signal to be amplified is counted, which is recorded as ; Will and As each evaluation variable, it is then imported into the sigmoid function, and the output value is used as the gain adjustment factor, recorded as ; The target amplification factor of the signal to be amplified is recorded as , and then As initial gain; Based on the total bandwidth of the signal components of the signal to be amplified and the power dynamic range, a reference gain slope of the signal to be amplified is extracted from the information library as an initial gain slope; The calculating the amplification processing complexity of the signal to be amplified includes: right , , , and They are normalized respectively, and the results after normalization are recorded as , , , and ; Set the weights of the number of signal components, the total bandwidth, the intensity dynamic range, the power dynamic range, and the frequency interval, which are denoted as , , , and , ; Calculate the amplification processing complexity of the signal to be amplified , ; The counting of noise interference of the signal to be amplified includes: Divide the number of noise bands by the number of signal bands to obtain the noise band coverage ratio, which is recorded as ,Will Noise interference coverage ratio compared to the set reference Make a comparison; like , take 1 as the noise interference degree of the signal to be amplified, otherwise, divide the total noise power of each noise band by its bandwidth to obtain the noise power density of each noise band, and select the maximum noise power density from them, which is recorded as ; Calculate the sum of the total noise power of each noise band as the comprehensive noise power, denoted as , and at the same time, the maximum bandwidth is selected from the bandwidth of each noise band, recorded as ; Calculate the noise interference of the signal to be amplified , , , and The noise power density, noise power and noise bandwidth of the reference interference are set respectively. and are the noise band coverage ratio and the weights corresponding to the noise characteristics, is a constant, , .
2. The amplifier control method according to claim 1, characterized in that: The step of setting a target gain and a target gain slope of the amplifier comprises: The target amplification factor corresponding to each signal amplification is extracted from the signal processing tracking data, the amplitude of the input signal is recorded, and the amplitude of the output signal is recorded, and the signal amplification stability of the amplifier is calculated, which is recorded as ; The temperature at each monitoring time point and the monitored voltage value of the power supply are extracted from the monitoring environment information, and the environmental interference degree of the amplifier is calculated, which is recorded as ; like and , taking the initial gain as the target gain and the initial gain slope as the target gain slope, To set the reference signal amplification stability, To set the reference environmental interference level; Otherwise, and The difference is taken as the first independent variable, denoted as ,Will and The difference is taken as the second independent variable, denoted as ; Set the gain correction factor , , and They represent the correction weights of signal amplification stability and environmental interference, , is a natural constant; The initial gain and initial gain slope of the amplifier are respectively and ,Will As the target gain, as the target gain slope.
3. The amplifier control method according to claim 2, characterized in that: The calculating the signal amplification stability of the amplifier comprises: The ratio of the amplitude of the recorded output signal to the amplitude of the recorded input signal is taken as the actual amplification factor; The target magnification is subtracted from the actual magnification to obtain the magnification difference. The number of signal amplifications whose magnification difference is within the set reference magnification difference range is counted as the matching signal amplification number. The ratio of the matching signal amplification number to the signal amplification number is taken as the matching processing ratio, which is recorded as ; With the signal amplification order as the horizontal axis and the amplification factor difference as the vertical axis, an amplification factor difference curve is constructed, and the slope of the curve is extracted and recorded as ; Signal amplification stability of statistical amplifier , , To set the reference magnification difference change rate, To set the reference matching treatment ratio.
4. The amplifier control method according to claim 2, characterized in that: The calculating the environmental interference degree of the amplifier comprises: The highest temperature is selected from the temperatures at each monitoring time point as the analysis temperature; Compare the analysis temperature with the set amplifier operation interference temperature. If the comparison result is greater than or equal to, As the temperature interference factor, if the comparison result is less than, 0 is used as the temperature interference factor, so as to obtain the temperature interference factor, which is recorded as , The value is or 0, ; The standard deviation of the temperature and the monitored voltage value of the power supply at each monitoring time point is calculated respectively, and the calculated standard deviation of the temperature is used as the temperature fluctuation, which is recorded as , the standard deviation of the monitored voltage value is calculated as the power supply fluctuation and recorded as ; Calculate the environmental interference of the amplifier , , and They are respectively represented as the weights of temperature fluctuation and power supply fluctuation, and They are respectively used to set the reference temperature fluctuation and power supply fluctuation. The floor symbol.
5. An amplifier control system, used to execute the amplifier control method according to any one of claims 1 to 4, characterized in that: The system includes: An input signal analysis module, used for analyzing the signal to be amplified received at the input end of the amplifier, and outputting the signal characteristics of the signal to be amplified; The signal preliminary setting module is used to import the target amplification factor of the signal to be amplified and set the initial gain and initial gain slope of the amplifier; The signal interference monitoring module is used to monitor the current environment of the amplifier and obtain monitoring environment information; A signal adjustment setting module, used for extracting signal processing tracking data of the amplifier from the operation information library, and setting a target gain and a target gain slope of the amplifier based on the monitoring environment information and the initial gain of the amplifier; A signal feedforward control module, used to calculate the expected output value of each part of the amplifier through a feedforward formula based on the target gain of the amplifier; The actual output measurement module is used to measure the actual output value of each part of the amplifier; A signal adjustment and correction module, used for comparing the difference between the expected output value and the actual output value, and adjusting the gain of the amplifier by using a feedback controller; An operation information library, used to store signal processing tracking data of the amplifier, and to store reference gain slopes under each signal power dynamic range corresponding to each signal bandwidth; The signal amplification execution terminal is used to use the adjusted amplifier gain and target gain slope as output parameters of the amplifier and perform signal amplification according to the output parameters when the difference between the expected output value and the actual output value of each part of the amplifier is within the allowable difference range.
6. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the amplifier control method according to any one of claims 1 to 4.
