Non-monotonic gain system control method and device

By determining the boundary point in a non-monotonic gain system and determining the target wave transmission method of pulse width modulation wave parameters based on the loop output, the problem of large oscillation of the non-monotonic gain system in the prior art is solved, and the stability and reliability of the system are improved.

CN120377848APending Publication Date: 2025-07-25SHINRY TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510374429.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The prior art is difficult to effectively reduce the oscillation of non-monotonic gain systems in non-monotonic stages. Common methods such as adding judgment logic and hysteresis mechanisms are not effective, and they cannot fully cover complex and changeable non-monotonic situations.

Method used

By determining the non-monotonic region in the non-monotonic gain system and taking boundary points on both sides of it, the target wave transmission method of the pulse width modulation wave parameters is determined based on the control value and boundary points of the loop output, and the control loop operates according to the target wave transmission method.

Benefits of technology

The system's oscillation in the non-monotonic stage is reduced, and the system's stability and reliability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120377848A_ABST
    Figure CN120377848A_ABST
Patent Text Reader

Abstract

The invention discloses a non-monotonic gain system control method and device. The method comprises the following steps: determining a non-monotonic region in a non-monotonic gain system; determining a first boundary point and a second boundary point of the non-monotonic region; according to a control value output by a loop, the first boundary point and the second boundary point, a target wave sending mode of pulse width modulation wave parameters of the non-monotonic gain system is determined, and the pulse width modulation wave parameters comprise at least one of a switching period, a duty ratio, a frequency and a phase; and controlling a loop to work according to the target wave sending mode. Boundary points are taken from two sides of a non-monotonic region, then a target wave sending mode of pulse width modulation wave parameters is determined according to the boundary points and a control value output by a loop, and finally, the loop is controlled to work according to the target wave sending mode, so that oscillation generated when a system works in a non-monotonic stage can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automation control technology, and particularly to a control method and device for a non-monotonic gain system. Background Art

[0002] In the operation of various systems, the non-monotonic working mode means that the relationship between the output and input of the system no longer shows a monotonic change. This mode will bring unstable factors to the system and lead to a decline in system performance. Therefore, maintaining a monotonic working mode is crucial for the stability and reliability of the system.

[0003] To avoid the system entering the non-monotonic working mode, a common method is to increase the judgment logic and set a hysteresis mechanism. When the system detects that it may enter the non-monotonic region, the hysteresis characteristic is used to skip this region. However, this method often has poor effects because adding hysteresis may introduce additional delays and errors, and the judgment logic is difficult to fully cover complex and variable non-monotonic situations, and it is unable to effectively reduce the oscillation generated when the system works in the non-monotonic stage. Summary of the Invention

[0004] The embodiments of this application provide a control method and device for a non-monotonic gain system. By taking boundary points on both sides of the non-monotonic region, then determining the target wave generation method of the pulse width modulation wave parameters according to the boundary points and the control value output by the loop, and finally controlling the loop to work according to the target wave generation method, it is possible to reduce the oscillation generated when the system works in the non-monotonic stage.

[0005] In a first aspect, the embodiments of this application provide a control method for a non-monotonic gain system, including:

[0006] Determine the non-monotonic region in the non-monotonic gain system;

[0007] Determine the first boundary point and the second boundary point of the non-monotonic region;

[0008] According to the control value output by the loop, the first boundary point and the second boundary point, determine the target wave generation method of the pulse width modulation wave parameters of the non-monotonic gain system, where the pulse width modulation wave parameters include at least one of a switching period, a duty cycle, a frequency, and a phase;

[0009] Control the loop to work according to the target wave generation method.

[0010] In combination with the first aspect, in a possible implementation manner, the determining the first boundary point and the second boundary point of the non-monotonic region includes:

[0011] Determine the upper pole point and the lower pole point of the non-monotonic region;

[0012] Select a first boundary point and a second boundary point from the non-monotonic region according to the upper extreme point and the lower extreme point.

[0013] Combined with the first aspect, in a possible implementation manner, the step of selecting a first boundary point and a second boundary point from the non-monotonic region according to the upper extreme point and the lower extreme point includes:

[0014] Determine a first point set in the non-monotonic region that is to the left of the upper extreme point;

[0015] Determine a second point set in the non-monotonic region that is to the right of the lower extreme point;

[0016] Select points from the first point set whose difference from the abscissa of the upper extreme point is greater than a preset difference to obtain a third point set;

[0017] Select points from the second point set whose difference from the abscissa of the lower extreme point is greater than a preset difference to obtain a fourth point set;

[0018] Select a first boundary point and a second boundary point from the third point set and the fourth point set respectively.

[0019] Combined with the first aspect, in a possible implementation manner, the step of selecting a first boundary point and a second boundary point from the third point set and the fourth point set respectively includes:

[0020] Obtain a first point in the third point set and a second point in the fourth point set, where the first point is any point in the third point set and the second point is any point in the fourth point set;

[0021] Obtain a first difference between the abscissa of the second point and the abscissa of the first point;

[0022] Obtain a second difference between the ordinate of the second point and the ordinate of the first point;

[0023] Obtain a first quotient of the first difference and the second difference;

[0024] Determine that the first point when the first quotient is greater than zero and is the smallest is the first boundary point, and determine that the second point when the first quotient is greater than zero and is the smallest is the second boundary point.

[0025] Combined with the first aspect, in a possible implementation manner, the step of determining the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the control value output by the loop, the first boundary point, and the second boundary point includes:

[0026] When it is detected that the control value output by the loop is not in the non-monotonic region, determine that the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system is the default wave generation mode;

[0027] When it is detected that the control value of the loop output is located in the non-monotonic region, determine the target number of cycle groups of the switching cycle group according to the control value of the loop output, the first boundary point and the second boundary point;

[0028] Encode the target number of cycle groups of the switching cycle group to obtain target encoded data;

[0029] Determine the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the target encoded data.

[0030] Combined with the first aspect, in a possible implementation manner, the determining the target number of cycle groups of the switching cycle group according to the control value of the loop output, the first boundary point and the second boundary point includes:

[0031] Obtain the abscissa of the control value of the loop output in the non-monotonic region;

[0032] Obtain a third difference between the abscissa of the control value of the loop output and the abscissa of the first boundary point;

[0033] Obtain a fourth difference between the abscissa of the second boundary point and the abscissa of the first boundary point;

[0034] Obtain a second quotient of the fourth difference and the third difference;

[0035] Obtain a third quotient of the switching cycle group and the second quotient, and the third quotient is the target number of cycles.

[0036] Combined with the first aspect, in a possible implementation manner, determining the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the target encoded data includes:

[0037] According to the target encoded data, determine that the wave generation mode of the first switching cycle in the pulse width modulation wave parameters of the non-monotonic gain system is to generate waves according to the gain of the first boundary point, and determine that the wave generation mode of the second switching cycle in the pulse width modulation wave parameters of the non-monotonic gain system is to generate waves according to the gain of the second boundary point.

[0038] In a second aspect, an embodiment of the present application provides a non-monotonic gain system control device, including:

[0039] A determination module, configured to determine a non-monotonic region in the non-monotonic gain system; and to determine a first boundary point and a second boundary point of the non-monotonic region; and to determine a target wave generation mode of pulse width modulation wave parameters of the non-monotonic gain system according to a control value output by a loop, the first boundary point, and the second boundary point, where the pulse width modulation wave parameters include at least one of a switching period, a duty cycle, a frequency, and a phase;

[0040] A control module, configured to control the loop to operate according to the target wave generation mode.

[0041] In a third aspect, an embodiment of the present application provides a non-monotonic gain system control device, including:

[0042] A memory, a processor, and executable program code stored on the memory and executable on the processor, where the executable program code is configured to implement some or all of the steps described in any of the methods in the first aspect.

[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a non-monotonic gain system control program is stored. When the non-monotonic gain system control program is executed by a processor, it implements some or all of the steps described in any of the methods in the first aspect.

[0044] In a fifth aspect, an embodiment of the present application provides a computer program product, where the computer program product includes a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any of the methods in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.

[0045] By implementing the embodiments of the present application, the controller of the non-monotonic gain system first determines the non-monotonic region in the non-monotonic gain system; then determines the first boundary point and the second boundary point of the non-monotonic region; then determines the target wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the control value output by the loop, the first boundary point, and the second boundary point; and finally controls the loop to operate according to the target wave generation mode. By taking boundary points on both sides of the non-monotonic region, and then determining the target wave generation mode of the pulse width modulation wave parameters according to the boundary points and the control value output by the loop, where the pulse width modulation wave parameters include at least one of a switching period, a duty cycle, a frequency, and a phase, and finally controlling the loop to operate according to the target wave generation mode, the oscillation generated when the system operates in the non-monotonic stage can be reduced. Description of the Drawings

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the following will describe the drawings required to be used in the embodiments of the present application or the background art.

[0047] Figure 1 It is a schematic diagram of the architecture of a non-monotonic gain system provided by an embodiment of the present application;

[0048] Figure 2 It is a flowchart of a method for controlling a non-monotonic gain system provided by an embodiment of the present application;

[0049] Figure 3 It is a flowchart of another method for controlling a non-monotonic gain system provided by an embodiment of the present application;

[0050] Figure 4 It is a flowchart of yet another method for controlling a non-monotonic gain system provided by an embodiment of the present application;

[0051] Figure 5 It is a schematic diagram of a non-monotonic interval provided by an embodiment of the present application;

[0052] Figure 6 It is a schematic diagram of another non-monotonic interval provided by an embodiment of the present application;

[0053] Figure 7 It is a schematic diagram of yet another non-monotonic interval provided by an embodiment of the present application;

[0054] Figure 8 It is a schematic diagram of a target encoded data provided by an embodiment of the present application;

[0055] Figure 9 It is a schematic diagram of the structure of a device for controlling a non-monotonic gain system provided by an embodiment of the present application;

[0056] Figure 10 It is a schematic diagram of the structure of a device for controlling a non-monotonic gain system provided by an embodiment of the present application. Detailed implementation manners

[0057] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. According to the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0058] The terms "first", "second", "third", etc. in the description, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the steps or units that have been performed, but may optionally further include steps or units that have not been performed, or may optionally further include other steps or units inherent to these processes, methods, products or devices.

[0059] Referring to "embodiment" herein means that a specific feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of this application. The appearance of this phrase at various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0060] In the operation of various systems, the non-monotonic working mode refers to the relationship between the output and input of the system no longer showing a monotonic change. This mode will bring unstable factors to the system and lead to a decline in system performance. Therefore, maintaining a monotonic working mode is crucial for the stability and reliability of the system.

[0061] To avoid the system entering the non-monotonic working mode, there are mainly the following methods:

[0062] Limit the working range of the system: By accurately defining the input and output boundaries of the system, ensure that the system always operates within the monotonic interval, and eliminate the possibility of entering the non-monotonic interval from the root cause.

[0063] Increase the judgment logic and set a hysteresis mechanism: Increasing the judgment logic means embedding a specific algorithm in the system to monitor the input and output data of the system in real time. Once the operating parameters of the system approach or may enter the non-monotonic gain region, the judgment logic will be triggered. The hysteresis mechanism is to set a threshold range. When the system detects that it may enter the non-monotonic region, if the input value fluctuates within the hysteresis threshold range, the system output remains unchanged, so as to utilize the hysteresis characteristic to skip this region.

[0064] Currently, the methods for controlling non-monotonic gain systems are difficult to fully cover complex and variable non-monotonic situations. Due to the complex and diverse non-monotonic gain situations, it is difficult to cover all of them through limited logical rules, resulting in the system still being likely to experience unstable conditions and unable to reduce the oscillations generated when the system operates in the non-monotonic stage.

[0065] In view of the above problems, the embodiments of the present application provide a non-monotonic gain system control method and device. First, the non-monotonic region in the non-monotonic gain system is determined; then, the first boundary point and the second boundary point of the non-monotonic region are determined; after that, according to the control value output by the loop, the first boundary point and the second boundary point, the target wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system is determined; finally, the loop is controlled to work according to the target wave generation mode. By taking boundary points on both sides of the non-monotonic region, then determining the target wave generation mode of the pulse width modulation wave parameters according to the boundary points and the control value output by the loop, and finally controlling the loop to work according to the target wave generation mode, the oscillation generated when the system works in the non-monotonic stage can be reduced.

[0066] The non-monotonic gain system control method and device provided by the embodiments of the present application can be applied to a non-monotonic gain system as Figure 1 shown. Please refer to Figure 1 , Figure 1 which is a schematic architecture diagram of a non-monotonic gain system provided by the embodiments of the present application. The non-monotonic gain system 100 includes a sensor 101 and a controller 102.

[0067] Among them, the sensor 101 refers to a device used to detect and measure a certain physical quantity or signal and convert it into an electrical signal or other forms, such as a current sensor, a voltage sensor, etc. In this solution, the non-monotonic gain system 100 pre-sets an expected value, which represents the ideal state that the system hopes to achieve. The sensor 101 is used to collect signals so that the subsequent controller 102 can compare and calculate based on the collected signals and the expected value to obtain the loop output. Among them, the algorithm used in the process of comparing and calculating based on the collected signals and the expected value can be a proportional-integral-derivative (PID) algorithm or other algorithms, which is not limited here.

[0068] Among them, the controller 102 is a device for processing feedback signals and generating control instructions. In this solution, in addition to comparing and calculating the signals collected by the sensor 101 with the expected values to obtain the loop output, the controller 102 is also used to determine the first boundary point and the second boundary point of the non-monotonic region, and determine the target wave generation method of the pulse width modulation (PWM) wave parameters according to the loop output, the first boundary point and the second boundary point. The pulse width modulation wave parameters include at least one of the switching period, duty cycle, frequency, and phase. Finally, the controller 102 controls the loop to operate according to the target wave generation method. Among them, the wave generation method is not generalized and is closely related to specific products. Different types of products use different wave generation methods due to differences in their function and performance requirements. Taking a switching power supply as an example, its wave generation method is related to the topology structure, and a switching power supply can have multiple topology structures, such as Buck, Boost, Buck-Boost, etc. The working principles and characteristics of each topology structure are different, and the wave generation method and the products to which the wave generation method is applied are not restricted here.

[0069] Based on this, the present application provides a non-monotonic gain system control method and device. The present application will be described in detail below with reference to the accompanying drawings.

[0070] Please refer to Figure 2 , Figure 2 which is a flowchart of a non-monotonic gain system control method provided by an embodiment of the present application. As Figure 2 shown, the method includes the following steps:

[0071] S201, determine the non-monotonic region in the non-monotonic gain system.

[0072] Among them, the execution subject of this method can be Figure 1 the controller 102 in the non-monotonic gain system 100 in

[0073] Among them, a monotonic gain system refers to a system whose gain changes monotonically with the change of a certain parameter (such as the amplitude, frequency, etc. of the input signal). For example, in a simple linear amplification circuit, when the amplitude of the input signal changes within a certain range, the ratio of the amplitude of the output signal to the amplitude of the input signal (i.e., the gain) increases with the increase of the amplitude of the input signal. However, in a non-monotonic gain system, when the amplitude of the input signal changes within a certain range, the change trend of the ratio of the amplitude of the output signal to the amplitude of the input signal (i.e., the gain) is not clear. The appearance of the non-monotonic region is usually due to the existence of multiple interacting factors, feedback mechanisms, or non-linear characteristics in the system.

[0074] Among them, please refer to Figure 5 ,Figure 5 is a schematic diagram of a non - monotonic interval provided by an embodiment of the present application. As Figure 5 shown, this is a curve graph showing the relationship between the dependent variable Y and the independent variable X. The area between point A and point B is the non - monotonic area.

[0075] Specifically, the overall curve represents the change of output Y with input X. The overall trend is that output Y increases as input X increases. However, in the curve part between point A and point B, when input X increases, output Y does not continuously increase or decrease, but fluctuates. There is a upper extreme point and a lower extreme point in the curve part between point A and point B. In the curve part from point A to the upper extreme point or from the lower extreme point to point B, when input X increases, output Y also continuously increases; but in the curve part from the upper extreme point to the lower extreme point, when input X increases, output Y continuously decreases instead.

[0076] Among them, Figure 5 the non - monotonic interval shown can appear in a circuit including a tunnel diode. The tunnel diode has a negative resistance characteristic, and in its negative resistance region, the current and voltage show a non - monotonic relationship. In the circuit, when the working state enters the negative resistance region of the tunnel diode, as the input voltage changes, the output current may show a non - monotonic fluctuation similar to the A - B section in the figure, and in other regions, there is a relatively monotonic change trend with the input.

[0077] Among them, Figure 5 the non - monotonic interval shown can also appear in some switch - mode power supply circuits, such as a half - bridge LLC resonant circuit. In certain working modes and parameter adjustment ranges, the output voltage or current will show non - monotonic changes. The curve may represent the process that when adjusting parameters such as the switching frequency and duty cycle, the output characteristics first change monotonically, then show non - monotonic fluctuations after entering a specific interval, and then return to monotonic changes.

[0078] Among them, Figure 5 the non - monotonic interval shown can also appear in non - linear circuits with feedback control, such as some precision voltage - regulating circuits, oscillation circuits, etc. After the input signal reaches a certain level, due to the non - linearity of the feedback regulation, the output will show a change curve similar to that in the figure. The circuits in which the non - monotonic interval appears are not limited here.

[0079] Among them, there can be more than one upper extreme point or lower extreme point in the non - monotonic region. For example, please refer to Figure 6 , Figure 6 is a schematic diagram of another non - monotonic curve provided by an embodiment of the present application. As Figure 6 shown, this is a curve graph showing the relationship between the dependent variable Y and the independent variable X. The area between point C and point D is the non - monotonic area.

[0080] Specifically, the overall curve represents the variation of output Y with input X. The overall trend is that output Y increases as input X increases. However, in the curve section between point C and point D, when input X increases, output Y does not continuously increase or decrease, but fluctuates. There are two upper poles and two lower poles in the curve section between point C and point D. In the curve section from point C to the first upper pole, or from the first lower pole to the second upper pole, or from the second lower pole to point D, when input X increases, output Y also continuously increases; but in the curve section from the first upper pole to the first lower pole, or from the second upper pole to the second lower pole, when input X increases, output Y continuously decreases instead.

[0081] Among them, Figure 6 The non - monotonic intervals shown can appear in oscillator circuits containing multiple feedback loops and different frequency - response elements (inductors, capacitors). During the operation of the circuit, due to the interaction of multiple feedback mechanisms and the superposition of different - frequency signals, the output signal (such as voltage or current) will show non - monotonic changes with multiple upper and lower poles in a specific interval as the input parameters (such as power - supply voltage, variable - capacitor value, etc.) change.

[0082] Among them, Figure 6 The non - monotonic intervals shown can also appear in multi - stage amplifier circuits. When the parameters of each stage of the multi - stage amplifier circuit are not set reasonably, or there are problems with inter - stage coupling, the relationship between the output signal and the input signal may become complex after the input signal passes through multiple stages of amplification. In some input ranges, the gain may become unstable, which is reflected as a non - monotonic interval with multiple upper and lower poles on the output characteristic curve.

[0083] Among them, Figure 6 The non - monotonic intervals shown can also appear in circuits with non - linear compensation, such as some high - precision sensor signal - conditioning circuits. The compensation network interacts with the original circuit, and in a specific input range, it may cause complex non - monotonic changes in the output, forming multiple upper and lower poles. The circuits in which the non - monotonic intervals appear are not limited here.

[0084] Among them, due to the characteristics of the non - monotonic region, it is difficult to intuitively control the system behavior. In order to analyze the system more accurately, it is necessary to clearly define the non - monotonic region of the system, and determining the boundary points of the non - monotonic region is the key step in defining the non - monotonic region of the system.

[0085] S202, determine the first boundary point and the second boundary point of the non - monotonic region.

[0086] Among them, in the circuit output characteristic curve with a non-monotonic region, the boundary points of the non-monotonic region refer to the turning points where the curve changes from monotonic change to non-monotonic change, and the turning points where the curve changes from non-monotonic change back to monotonic change. In this solution, the first boundary point refers to the turning point where the curve changes from monotonic change to non-monotonic change, and the second boundary point refers to the turning point where the curve changes from non-monotonic change back to monotonic change.

[0087] Specifically, at these boundary points, the output-input relationship of the circuit undergoes a qualitative change. Taking the input X as the independent variable and the output Y as the dependent variable as an example, before the boundary point, as the independent variable X changes, the dependent variable Y changes according to a monotonic law; after entering the first boundary point, the dependent variable Y no longer follows a monotonic change but fluctuates; and when reaching the other boundary point, that is, the second boundary point, the dependent variable Y resumes a monotonic change.

[0088] Among them, the appearance of the boundary points is related to the characteristics and parameter changes of the components in the circuit and the circuit structure. For example, in a circuit containing non-linear components, when the input reaches a specific threshold of the component and its characteristics change, it may form the boundary points of the non-monotonic region.

[0089] Exemplarily, please refer to Figure 5 and Figure 6 , as Figure 5 shown, point A is the first boundary point of the non-monotonic region, and point B is the second boundary point of the non-monotonic region. As Figure 6 shown, at this time, there are multiple sets of poles in the non-monotonic region. Point C is the first boundary point of the non-monotonic region, and point D is the second boundary point of the non-monotonic region.

[0090] In a possible implementation manner, determining the first boundary point and the second boundary point of the non-monotonic region includes:

[0091] Determining the upper pole and the lower pole of the non-monotonic region; selecting the first boundary point and the second boundary point from the non-monotonic region according to the upper pole and the lower pole.

[0092] Among them, in the non-monotonic region of the curve, the upper pole is also called the maximum point, which is the point corresponding to the local highest point of the curve in this region. At the upper pole, the curve changes from an upward trend to a downward trend. That is to say, within a small neighborhood near this point, the function value (ordinate Y value) at this point is greater than the function values of other points. For example, in the non-monotonic interval of the output curve of an oscillating circuit, the peak position reached by the signal is the upper pole.

[0093] Among them, in the non-monotonic region of the curve, the lower extreme point, also called the minimum value point, is the point corresponding to the local lowest point of the curve in this region. At the lower extreme point, the curve changes from a downward trend to an upward trend. That is, within a small neighborhood near this point, the function value (ordinate Y value) of this point is less than the function values of other points. For example, the trough position in the non-monotonic interval of the output curve of an oscillating circuit is the lower extreme point.

[0094] Among them, when there is only one upper extreme point and one lower extreme point in the non-monotonic region, select the point where the change trend of the curve starts to change from monotonic to non-monotonic, or from non-monotonic back to monotonic near the upper extreme point or the lower extreme point close to both ends of the non-monotonic region as the boundary point.

[0095] Specifically, observe the trend of the curve at both ends of the non-monotonic region. When the curve enters the non-monotonic region from monotonic increase (or decrease), find the first obvious upper extreme point (or lower extreme point). Near this extreme point, the curve begins to fluctuate. At this time, select the turning point where the curve trend changes as one of the boundary points; similarly, at the other end of the non-monotonic region, when the curve changes back from fluctuation to monotonic increase (or decrease), find the last upper extreme point (or lower extreme point), and select the turning point where the curve trend changes again near it as the other boundary point. For example, in the output characteristic curve of a multi-stage amplifier circuit, determine the boundary points of the non-monotonic region according to the positions where the signal gain changes from monotonic to fluctuating and from fluctuating back to monotonic, combined with the positions of the upper and lower extreme points.

[0096] It can be seen that in this example, using the characteristics of the upper extreme point and the lower extreme point in the non-monotonic region in the circuit to determine the boundary points can effectively clarify the normal working and abnormal working intervals of the circuit, and facilitate subsequent determination of the target wave generation method of the pulse width modulation wave according to the control value output by the loop and the boundary points.

[0097] In a possible implementation manner, the selecting the first boundary point and the second boundary point from the non-monotonic region according to the upper extreme point and the lower extreme point includes:

[0098] When the monotonic region is that the dependent variable increases with the increase of the independent variable, determine the first point set located on the left side of the upper extreme point in the non-monotonic region; determine the second point set located on the right side of the lower extreme point in the non-monotonic region; select the points from the first point set whose absolute value of the difference from the abscissa of the upper extreme point is greater than a preset difference to obtain the third point set; select the points from the second point set whose difference from the abscissa of the lower extreme point is greater than the preset difference to obtain the fourth point set; select the first boundary point and the second boundary point from the third point set and the fourth point set respectively.

[0099] Among them, when there is only one upper extreme point and one lower extreme point in the non-monotonic region, and as the independent variable increases, when the upper extreme point first appears in the non-monotonic region, first select all the points on the curve to the left of the upper extreme point to form a first set of points; then select all the points on the curve to the right of the lower extreme point to form a second set of points. Among them, there is at least one set of points in the first set of points and the second set of points that satisfies that the ordinate of a certain point in the first set of points is less than the ordinate of a certain point in the second set of points.

[0100] Among them, further screening is carried out from the first set of points, and select all the points in the first set of points whose absolute value of the difference from the abscissa of the upper extreme point is greater than a preset difference to form a third set of points; then further screening is carried out from the second set of points, and select all the points in the second set of points whose difference from the abscissa of the lower extreme point is greater than the preset difference to form a fourth set of points. Among them, the preset difference can be set or changed by the user and is not limited here.

[0101] Among them, the requirement here that the absolute value of the difference between all the points in the first set of points and the abscissa of the upper extreme point is greater than the preset difference is because the abscissas of all the points in the first set of points are less than the abscissa of the upper extreme point. The ordinate of the first boundary point is less than the ordinate of the second boundary point.

[0102] It can be seen that in this example, by determining the first set of points and the second set of points, the specific ranges on the left side of the upper extreme point and on the right side of the lower extreme point in the non-monotonic region can be clearly defined. Then, through the third set of points and the fourth set of points, the points whose differences from the abscissas of the upper and lower extreme points meet specific conditions are further screened out. Finally, the first boundary point and the second boundary point are selected, which is beneficial to accurately determine the boundary position of the non-monotonic region.

[0103] In another possible implementation manner, the selecting the first boundary point and the second boundary point from the non-monotonic region according to the upper extreme point and the lower extreme point includes:

[0104] When the monotonic region is that the dependent variable decreases as the independent variable increases, determine a first set of points in the non-monotonic region that are to the left of the lower extreme point; determine a second set of points in the non-monotonic region that are to the right of the upper extreme point; select the points in the first set of points whose difference from the abscissa of the upper extreme point is greater than a preset difference to obtain a third set of points; select the points in the second set of points whose difference from the abscissa of the lower extreme point is greater than the preset difference to obtain a fourth set of points; respectively select the first boundary point and the second boundary point from the third set of points and the fourth set of points.

[0105] Among them, when there is only one upper pole point and one lower pole point in the non-monotonic region, and when the independent variable increases and the lower pole point appears first in the non-monotonic region, first select all the points on the curve to the left of the lower pole point to form a first point set; then select all the points on the curve to the right of the upper pole point to form a second point set. Among them, there is at least one set of points in the first point set and the second point set that satisfies that the ordinate of a certain point in the first point set is greater than the ordinate of a certain point in the second point set.

[0106] Among them, further screening is carried out from the first point set, and select all the points in the first point set whose absolute value of the difference from the abscissa of the lower pole point is greater than a preset difference to form a third point set; then further screening is carried out from the second point set, and select all the points in the second point set whose difference from the abscissa of the upper pole point is greater than the preset difference to form a fourth point set. Among them, the preset difference can be set or changed by the user and is not limited here.

[0107] Among them, the requirement here that the absolute value of the difference between all the points in the first point set and the abscissa of the lower pole point is greater than the preset difference is because the abscissas of all the points in the first point set are less than the abscissa of the lower pole point. The ordinate of the first boundary point is greater than the ordinate of the second boundary point.

[0108] Exemplarily, taking an LLC resonant circuit with a resonant frequency of f0 = 60KHz as an example, the LLC resonant circuit usually consists of two inductors and a capacitor to form a resonant network. The role of the feedback loop is to adjust the control signal according to the output state of the circuit to achieve stable control of the circuit performance. The post-wave situation of the feedback loop output usually refers to the relevant characteristics of the pulse signal used to control the switching device output by the feedback loop after a series of processes according to the change of the output signal. These characteristics can include but are not limited to the frequency, duty cycle, phase, etc. of the pulse.

[0109] At this time, a curve graph is drawn with the actual gain as the ordinate and the post-wave situation of the feedback loop output as the abscissa. Normally, when the operating frequency f > f0, as the frequency decreases, the gain will gradually increase because near the resonant frequency, the resonant effect of the inductor and capacitor in the circuit is enhanced, resulting in an increase in gain. However, when the frequency decreases to the range of 70K - 80KHz, due to the influence of parasitic parameters in the circuit (such as the leakage inductance of the transformer, the parasitic capacitance of the switching tube, etc.), the impedance characteristics of the circuit change, and the parasitic capacitance, resonant inductor, and capacitor together form a new resonant point, which causes the gain of the circuit not to increase monotonically with the decrease of the frequency in the range of 70K - 80KHz. Therefore, the range of 70K - 80KHz in frequency is a non-monotonic range.

[0110] At this time, if there is only one upper extreme point and one lower extreme point in the non-monotonic interval, then the first point set is the point set located to the left of the lower extreme point, and the second point set is the point set located to the right of the upper extreme point. Select points from the first point set whose absolute value of the difference from the abscissa of the lower extreme point is greater than the preset difference to obtain the third point set, and select points from the second point set whose absolute value of the difference from the abscissa of the upper extreme point is greater than the preset difference to obtain the fourth point set.

[0111] After that, select a point from the third point set as the first boundary point, and select a point from the fourth point set as the second boundary point. Among them, it is required that the ordinate of the second boundary point is less than the ordinate of the first boundary point.

[0112] It can be seen that in this example, by determining the first point set and the second point set, the specific ranges to the left of the lower extreme point and to the right of the upper extreme point in the non-monotonic region can be clearly defined. Then, through the third point set and the fourth point set, points whose differences from the abscissas of the upper and lower extreme points meet specific conditions are further screened. Finally, by selecting the first boundary point and the second boundary point, it is beneficial to accurately determine the boundary position of the non-monotonic region.

[0113] In another example, when the monotonic region is that the dependent variable increases as the independent variable increases, and there are at least two upper extreme points and lower extreme points in the non-monotonic region, determine the first point set located to the left of the first upper extreme point in the non-monotonic region; determine the second point set located to the right of the last lower extreme point in the non-monotonic region; select points from the first point set whose absolute value of the difference from the abscissa of the first upper extreme point is greater than the preset difference to obtain the third point set; select points from the second point set whose difference from the abscissa of the last lower extreme point is greater than the preset difference to obtain the fourth point set; select the first boundary point and the second boundary point from the third point set and the fourth point set respectively.

[0114] Among them, when there are at least two upper extreme points and two lower extreme points in the non-monotonic region, and as the independent variable increases, when the upper extreme point first appears in the non-monotonic region, first select all the points on the curve located to the left of the first upper extreme point to form the first point set; then select all the points on the curve located to the right of the last lower extreme point to form the second point set. Among them, there is at least one set of points in the first point set and the second point set that satisfies that the ordinate of a certain point in the first point set is less than the ordinate of a certain point in the second point set.

[0115] Among them, further screen from the first point set, and select all the points in the first point set whose absolute value of the difference from the abscissa of the first upper extreme point is greater than the preset difference to form the third point set; then further screen from the second point set, and select all the points in the second point set whose difference from the abscissa of the last lower extreme point is greater than the preset difference to form the fourth point set. The preset difference can be set or changed by the user and is not limited here.

[0116] Among them, the requirement here is that the absolute value of the difference between all points in the first point set and the abscissa of the first upper pole is greater than a preset difference because the abscissas of all points in the first point set are less than the abscissa of the first upper pole. The ordinate of the first boundary point is less than the ordinate of the second boundary point.

[0117] It can be seen that in this example, by determining the first point set and the second point set, the specific ranges on the left side of the upper pole and on the right side of the lower pole in the non-monotonic region can be clearly defined. Then, through the third point set and the fourth point set, points whose differences from the abscissas of the upper and lower poles meet specific conditions are further selected. Finally, the first boundary point and the second boundary point are selected, which is beneficial to accurately determine the boundary position of the non-monotonic region.

[0118] In another example, when the monotonic region is that the dependent variable decreases as the independent variable increases, and there are at least two upper poles and two lower poles in the non-monotonic region, determine the first point set located on the left side of the first lower pole in the non-monotonic region; determine the second point set located on the right side of the last upper pole in the non-monotonic region; select points from the first point set whose absolute value of the difference from the abscissa of the first lower pole is greater than a preset difference to obtain the third point set; select points from the second point set whose difference from the abscissa of the last upper pole is greater than a preset difference to obtain the fourth point set; select the first boundary point and the second boundary point from the third point set and the fourth point set respectively.

[0119] Among them, when there are at least two upper poles and two lower poles in the non-monotonic region, and as the independent variable increases, when a lower pole first appears in the non-monotonic region, first select all points on the left side of the first lower pole in the curve to form the first point set; then select all points on the right side of the last upper pole in the curve to form the second point set, where at least one set of points in the first point set and the second point set satisfies that the ordinate of a certain point in the first point set is greater than the ordinate of a certain point in the second point set.

[0120] Among them, further screening is carried out from the first point set, and points in the first point set whose absolute value of the difference from the abscissa of the first lower pole is greater than a preset difference are selected to form the third point set; then further screening is carried out from the second point set, and points in the second point set whose difference from the abscissa of the last upper pole is greater than a preset difference are selected to form the fourth point set. The preset difference can be set or changed by the user and is not limited here.

[0121] Among them, the requirement here is that the absolute value of the difference between all points in the first point set and the abscissa of the first lower pole is greater than a preset difference because the abscissas of all points in the first point set are less than the abscissa of the first lower pole. The ordinate of the first boundary point is greater than the ordinate of the second boundary point.

[0122] Exemplarily, taking an LLC resonant circuit with a resonant frequency of f0 = 60KHz as an example, the LLC resonant circuit usually consists of two inductors and a capacitor to form a resonant network. The role of the feedback loop is to adjust the control signal according to the output state of the circuit to achieve stable control of the circuit performance. The post-wave situation of the feedback loop output usually refers to the relevant characteristics of the pulse signal used to control the switching device output by the feedback loop after a series of processes according to the change of the output signal. These characteristics can include but are not limited to the frequency, duty cycle, phase, etc. of the pulse.

[0123] At this time, a curve graph is plotted with the actual gain as the ordinate and the post-wave situation of the feedback loop output as the abscissa. Under normal circumstances, when the operating frequency f > f0, as the frequency decreases, the gain will gradually increase. This is because near the resonant frequency, the resonant effect of the inductor and capacitor in the circuit is enhanced, resulting in an increase in gain. However, when the frequency decreases to the range of 70K - 80KHz, due to the influence of parasitic parameters in the circuit (such as the leakage inductance of the transformer, the parasitic capacitance of the switching tube, etc.), the impedance characteristics of the circuit change. The parasitic capacitance, resonant inductor, and capacitor together form a new resonant point, which causes the gain of the circuit not to increase monotonically with the decrease of frequency in the range of 70K - 80KHz. Therefore, the range of 70K - 80KHz in frequency is a non-monotonic interval.

[0124] Assume that there are multiple upper poles and lower poles in the non-monotonic interval at this time. The first point set is the point set located to the left of the first lower pole, and the second point set is the point set located to the right of the last upper pole. Select points from the first point set whose absolute value of the difference from the abscissa of the lower pole is greater than a preset difference to obtain the third point set, and select points from the second point set whose absolute value of the difference from the abscissa of the upper pole is greater than a preset difference to obtain the fourth point set.

[0125] After that, select a point from the third point set as the first boundary point and select a point from the fourth point set as the second boundary point. Among them, it is required that the ordinate of the second boundary point is less than the ordinate of the first boundary point.

[0126] It can be seen that in this example, by determining the first point set and the second point set, the specific ranges to the left of the lower pole and to the right of the upper pole in the non-monotonic region can be clearly defined. Then, through the third point set and the fourth point set, points whose differences from the abscissas of the upper and lower poles meet specific conditions are further screened. Finally, by selecting the first boundary point and the second boundary point, it is beneficial to accurately determine the boundary position of the non-monotonic region.

[0127] In another example, when the monotonic region is where the dependent variable increases as the independent variable increases, and there are at least two upper poles and lower poles in the non-monotonic region, for each group of upper poles and lower poles, determine the set of points to the left of the upper poles in that group and the set of points to the right of the lower poles in that group, so as to determine the set of points to the left of all upper poles and the set of points to the right of all lower poles. At this time, it is required that the ordinate of the set of points to the left of each group of upper poles is less than the ordinate of the set of points to the right of the lower poles in that group, and the ordinate of the set of points to the left of the next group of upper poles in that group is greater than the ordinate of the set of points to the right of the lower poles in that group.

[0128] Please refer to Figure 7 , Figure 7 which is a schematic diagram of another non-monotonic interval provided by an embodiment of the present application. In the non-monotonic interval shown in Figure 7 , there are two upper poles and lower poles. At this time, according to the adjacent upper poles and lower poles, the entire non-monotonic interval is divided into a first non-monotonic interval formed by the first group of upper poles and lower poles and a second non-monotonic interval formed by the second group of upper poles and lower poles. At this time, E and F are the boundary points of the first non-monotonic interval formed by the first group of upper poles and lower poles, and G and H are the boundary points of the second non-monotonic interval formed by the second group of upper poles and lower poles.

[0129] Alternatively, when the monotonic region is where the dependent variable decreases as the independent variable increases, and there are at least two upper poles and lower poles in the non-monotonic region, for each group of upper poles and lower poles, determine the set of points to the left of the lower poles in that group and the set of points to the right of the upper poles in that group, so as to determine the set of points to the left of all lower poles and the set of points to the right of all upper poles. At this time, it is required that the ordinate of the set of points to the left of each group of lower poles is greater than the ordinate of the set of points to the right of the upper poles in that group, and the ordinate of the set of points to the left of the next group of lower poles in that group is less than the ordinate of the set of points to the right of the upper poles in that group.

[0130] It can be seen that in this example, by determining the sets of points of each group of upper poles and lower poles, the specific ranges of the lower poles and upper poles in the non-monotonic region can be clearly defined. Then, by selecting boundary points and boundary points, it is beneficial to accurately determine the boundary positions of the non-monotonic region.

[0131] In a possible implementation manner, please refer to Figure 3 , Figure 3 which is a flowchart of another non-monotonic gain system control method provided by an embodiment of the present application. As shown in Figure 3 , the obtaining of the first boundary point and the second boundary point respectively selected from the third point set and the fourth point set includes the following steps:

[0132] S2021, obtain the first point in the third point set and the second point in the fourth point set.

[0133] Among them, the first point is any point in the third set, and the second point is any point in the fourth set.

[0134] S2022, obtain a first difference between the abscissa of the second point and the abscissa of the first point.

[0135] S2023, obtain a second difference between the ordinate of the second point and the ordinate of the first point.

[0136] S2024, obtain a first quotient of the first difference and the second difference.

[0137] S2025, determine that the first point when the first quotient is greater than zero and is the smallest is the first boundary point, and determine that the second point when the first quotient is greater than zero and is the smallest is the second boundary point.

[0138] Among them, the requirement that the first quotient is greater than zero is because the abscissa of the second point must be greater than the abscissa of the first point. Therefore, the first difference must be greater than zero. However, the ordinate of the points in the fourth set is not necessarily greater than the ordinate of the points in the third set. Therefore, setting the first quotient greater than zero makes the ordinate of the second point greater than the ordinate of the first point.

[0139] Among them, when the first quotient is required to be greater than zero and is the smallest, taking the first point as the first boundary point and taking the second point as the second boundary point is to make the projection of the line segment from the first point to the second point on the X-axis as small as possible, and the projection of the line segment from the first point to the second point on the Y-axis as large as possible.

[0140] Among them, let the first point be A and the second point be B. Then the first difference is X(B)-X(A), the second difference is Y(B)-Y(A), and the first quotient is (X(B)-X(A)) / (Y(B)-Y(A)).

[0141] Exemplarily, when the coordinates of the first point are (3V, 3V) and the coordinates of the second point are (4V, 5V), the first difference is 1V, the second difference is 2V, and the first quotient value is 1 / 2.

[0142] It can be seen that in this example, by selecting the first point and the second point with the smallest projection on the X-axis and the largest projection on the Y-axis as the boundary points of the non-monotonic region, a small X-axis projection means that the input value range corresponding to these two boundary points is narrow, and a large Y-axis projection indicates that within this narrow input range, the output has a large change, so as to accurately show the key interval sensitive to input changes in the non-monotonic system.

[0143] S203, according to the control value output by the loop, the first boundary point and the second boundary point, determine the target wave generation method of the pulse width modulation wave parameters of the non-monotonic gain system.

[0144] Among them, the pulse width modulation wave parameters include at least one of the switching period, duty cycle, frequency, and phase. The switching period refers to the time required for the PWM wave to complete a full cycle of high and low level changes, and the unit is usually seconds; the duty cycle refers to the ratio of the duration of the high level to the entire cycle within one switching period, usually expressed as a percentage; the frequency refers to the number of cycles completed by the PWM wave per unit time, and the unit is Hertz; the phase is used to describe the position of the PWM wave on the time axis.

[0145] Among them, in a non-monotonic gain control system, the control value of the loop output is the result of feedback adjustment based on the error between the system output and the target value. For example, in a voltage regulation system, the actual output voltage is compared with the desired voltage, and through a series of feedback operations (such as the PID control algorithm), the control value of the loop output is obtained, and this value can reflect the deviation degree between the current system output and the target.

[0146] Among them, the first boundary point and the second boundary point determine the boundary of the non-monotonic region of the non-monotonic gain system. Within this region, the gain characteristic of the system is complex, and the input-output relationship does not conform to a simple linear or monotonic law.

[0147] Among them, the wave generation mode of the switching period refers to the time sequence mode of controlling the on and off of the switching device in a switching mode circuit (such as a switching power supply, etc.). Different wave generation modes will affect the output characteristics of the circuit, such as the stability of the output voltage and current, the size of the ripple, etc. Common wave generation modes include fixed frequency pulse width modulation (PWM), variable frequency modulation, etc. For example, there are 16 switching periods, and the target wave generation mode of each period in the 16 switching periods can be determined. The wave generation mode of the 1st to 8th switching periods is to generate waves according to the gain of the first point, and the wave generation mode of the 9th to 16th switching periods is to generate waves according to the gain of the second point.

[0148] In a possible implementation manner, determining the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the control value of the loop output, the first boundary point, and the second boundary point includes:

[0149] When it is detected that the control value of the loop output is not located in the non-monotonic region, determining the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system as the default wave generation mode;

[0150] When it is detected that the control value of the loop output is located in the non-monotonic region, determining the target cycle number of the switching period group according to the control value of the loop output, the first boundary point, and the second boundary point;

[0151] Encoding the target cycle number of the switching period group to obtain target encoded data;

[0152] Determine the wave - sending mode of the pulse - width modulation wave parameters of the non - monotonic gain system according to the target encoding data.

[0153] Among them, when the control value output by the loop is not between the abscissa of the first boundary point and the abscissa of the second boundary point, it is considered that the loop is currently operating in the monotonic interval, and the wave - sending mode for determining the pulse - width modulation wave parameters of the non - monotonic gain system is the default wave - sending mode.

[0154] Among them, when the control value output by the loop is between the abscissa of the first boundary point and the abscissa of the second boundary point, it is considered that the loop is currently operating in the non - monotonic interval. At this time, it is necessary to control the wave - sending mode of the pulse - width modulation wave parameters to skip the non - monotonic region.

[0155] Among them, the switching - period group can also be called the switching - period sequence, which refers to a set or sequence composed of how many periods in total. For example, the switching - period group can be 16 switching periods. And each of these switching periods is called a single switching period or unit switching period to highlight that it is the basic unit constituting the entire sequence or group.

[0156] Among them, a single switching period refers to a very short time unit, that is, the time between the device switching from one conduction to the next conduction. For example, when analyzing the change of the inductor current in a switching power supply, the inductor current will experience an increase and a decrease process within a single switching period.

[0157] Among them, the target period number refers to the number of single periods of the switching - period group to be determined. For example, when the switching - period group is 16, the target period number needs to be a natural number less than or equal to 16. At this time, the target period number can be 0, 2, 8, 14, etc. There is no limit to the target period number here.

[0158] Among them, the way of encoding the target period number of the switching - period group can be Gray code or binary encoding, etc., which is convenient for subsequent evenly distributing the wave - sending mode of the switching periods in the pulse - width modulation wave parameters.

[0159] Among them, according to the target encoding data, determine that the wave - sending mode of the first switching period in the pulse - width modulation wave parameters of the non - monotonic gain system is to send waves according to the gain of the first boundary point, and determine that the wave - sending mode of the second switching period in the pulse - width modulation wave parameters of the non - monotonic gain system is to send waves according to the gain of the second boundary point.

[0160] Specifically, please refer to Figure 8 , Figure 8 is a schematic diagram of a kind of target encoding data provided by an embodiment of this application. As Figure 8 shown, Figure 8Taking a group of 16 switching cycles as an example, the wave generation modes of the switching cycles in different cases are shown in the form of a matrix.

[0161] Among them, point A is the first boundary point, point B is the second boundary point. The "cycle" (n) on the left represents the target encoded data, indicating different switching cycle numbers. The "bit" above identifies whether gain A or gain B should be used for control in each cycle, which is reflected by the presence or absence of color in the grid. Sending waves with gain B at the point with color, and sending waves with gain A at the point without color. The "encoding" on the right is the encoding value corresponding to each cycle, which can be used for system identification and control.

[0162] Specifically, the target encoding data corresponding to the first row of the matrix is 0. At this time, the wave - sending mode for all 16 switching cycles (corresponding to bits 0 - 15) is to send waves according to the gain at point A; the target encoding data corresponding to the second row of the matrix is 1. At this time, the wave - sending mode for the switching cycle corresponding to bit 8 in the 16 switching cycles is to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the third row of the matrix is 2. At this time, the wave - sending modes for the switching cycles corresponding to bits 3 and 11 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the fourth row of the matrix is 3. At this time, the wave - sending modes for the switching cycles corresponding to bits 2, 7, and 12 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the fifth row of the matrix is 4. At this time, the wave - sending modes for the switching cycles corresponding to bits 2, 6, 10, and 14 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the sixth row of the matrix is 5. At this time, the wave - sending modes for the switching cycles corresponding to bits 1, 4, 7, 10, and 13 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the seventh row of the matrix is 6. At this time, the wave - sending modes for the switching cycles corresponding to bits 0, 3, 6, 9, 12, and 15 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the eighth row of the matrix is 7. At this time, the wave - sending modes for the switching cycles corresponding to bits 1, 3, 5, 6, 9, 12, and 14 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the ninth row of the matrix is 8. At this time, the wave - sending modes for the switching cycles corresponding to bits 1, 3, 5, 7, 9, 11, 13, and 15 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the tenth row of the matrix is 9. At this time, the wave - sending modes for the switching cycles corresponding to bits 0, 2, 4, 6, 8, 9, 11, 13, and 15 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A; the target encoding data corresponding to the eleventh row of the matrix is 10. At this time, the wave - sending modes for the switching cycles corresponding to bits 0, 2, 4, 5, 7, 9, 10, 12, 14, and 15 in the 16 switching cycles are to send waves according to the gain at point B, and the wave - sending modes for the other switching cycles are to send waves according to the gain at point A;The target coding data corresponding to the twelfth row of the matrix is 11. At this time, in 16 switching cycles, the wave - sending modes of the switching cycles corresponding to bits 0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 15 are wave - sending according to the gain at point B, and the wave - sending modes of the other switching cycles are wave - sending according to the gain at point A; the target coding data corresponding to the thirteenth row of the matrix is 12. At this time, in 16 switching cycles, the wave - sending modes of the switching cycles corresponding to bits 0, 2, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15 are wave - sending according to the gain at point B, and the wave - sending modes of the other switching cycles are wave - sending according to the gain at point A; the target coding data corresponding to the fourteenth row of the matrix is 13. At this time, in 16 switching cycles, the wave - sending modes of the switching cycles corresponding to bits 0, 1, 3, 4, 5, 6, 8, 9, 10, 11, 13, 14, 15 are wave - sending according to the gain at point B, and the wave - sending modes of the other switching cycles are wave - sending according to the gain at point A; the target coding data corresponding to the fifteenth row of the matrix is 14. At this time, in 16 switching cycles, the wave - sending modes of the switching cycles corresponding to bits 0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15 are wave - sending according to the gain at point B, and the wave - sending modes of the other switching cycles are wave - sending according to the gain at point A; the target coding data corresponding to the sixteenth row of the matrix is 15. At this time, in 16 switching cycles, the wave - sending modes of the switching cycles corresponding to bits 0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15 are wave - sending according to the gain at point B, and the wave - sending modes of the other switching cycles are wave - sending according to the gain at point A; the target coding data corresponding to the seventeenth row of the matrix is 16. At this time, all 16 switching cycles are wave - sending according to the gain at point B.;

[0163] It can be seen that in this example, when it is detected that the control value is in the non - monotonic region, the target cycle number of the switching cycle group can be accurately determined. The obtained target coding data can make the control more accurate and operable. The determined wave - sending mode based on this helps to optimize the performance of the non - monotonic gain system, achieve more stable and efficient operation, and improve the stability and reliability of the system.

[0164] In a possible implementation manner, please refer to Figure 4 , Figure 4 which is a flowchart of another control method for a non - monotonic gain system provided by an embodiment of the present application. As Figure 4 shown, determining the target cycle number of the switching cycle group according to the control value output by the loop, the first boundary point, and the second boundary point includes the following steps:

[0165] S2031, obtain the abscissa of the control value output by the loop in the non - monotonic region.

[0166] Taking the control value output by the loop as V as an example, the abscissa of the control value output by the loop in the non-monotonic region is X(V).

[0167] S2032, obtain a third difference between the abscissa of the control value output by the loop and the abscissa of the first boundary point.

[0168] Taking the first boundary point as A, the third difference between the abscissa of the control value output by the loop and the abscissa of the first boundary point is expressed as X(V) - X(A). Since the control value output by the loop falls within the non-monotonic region, X(V) is greater than X(A).

[0169] S2033, obtain a fourth difference between the abscissa of the second boundary point and the abscissa of the first boundary point;

[0170] Taking the second boundary point as B, the fourth difference between the abscissa of the second boundary point and the abscissa of the first boundary point is expressed as X(B) - X(A). Since the second boundary point is on the right side of the first boundary point, X(B) is greater than X(A).

[0171] S2034, obtain a second quotient of the fourth difference and the third difference;

[0172] The second quotient of the fourth difference and the third difference is expressed as (X(B) - X(A)) / (X(V) - X(A)).

[0173] S2035, obtain a third quotient of the switch period group and the second quotient, and the third quotient is the target number of periods.

[0174] Taking the switch period group as 16 as an example, that is, the switch period group includes 16 switch periods. At this time, the third quotient of the switch period group and the second quotient is expressed as 16 / ((X(B) - X(A)) / (X(V) - X(A))).

[0175] Exemplarily, when X(A) is 3V, X(B) is 5V, and X(V) is 4V, the third quotient is 16 / (5 - 3 / 4 - 3) = 16 / 2 = 8. Please refer to Figure 8 At this time, the encoding corresponding to 8 is 0XAAAA. At this time, the wave generation modes of the switch periods corresponding to bits 1, 3, 5, 7, 9, 11, 13, and 15 in the 16 switch periods are wave generation according to the gain at point B, and the wave generation modes of the other switch periods are wave generation according to the gain at point A.

[0176] When the third quotient is not an integer, the third quotient can be rounded up or down to further determine the target number of periods.

[0177] Exemplarily, when X(A) is 3V, X(B) is 5V, and X(V) is 3.4V, the third quotient is 16 / (5 - 3 / 4 - 3.4) = 16 / 3.3 = 4.8. At this time, it can be rounded up to obtain the target number of cycles as 5. Please refer to again Figure 8 , at this time, the encoding corresponding to 5 is 0X2192. At this time, in the 16 switching cycles, the wave generation mode of the switching cycles corresponding to bits 1, 4, 7, 10, and 13 is wave generation according to the gain at point B, and the wave generation mode of other switching cycles is wave generation according to the gain at point A.

[0178] Exemplarily, when X(A) is 3V, X(B) is 5V, and X(V) is 3.4V, the third quotient is 16 / (5 - 3 / 4 - 3.4) = 16 / 3.3 = 4.8. At this time, it can be rounded down to obtain the target number of cycles as 4. Please refer to again Figure 8 , at this time, the encoding corresponding to 4 is 0X4444. At this time, in the 16 switching cycles, the wave generation mode of the switching cycles corresponding to bits 2, 6, 10, and 14 is wave generation according to the gain at point B, and the wave generation mode of other switching cycles is wave generation according to the gain at point A.

[0179] It can be seen that in this example, by obtaining a series of calculations of differences and quotients of the abscissa in the non - monotonic region of the control value to determine the target number of cycles, the number of switching cycles can be accurately determined according to the position of the control value in the non - monotonic region, which is convenient for subsequently determining the wave generation mode of each switching cycle according to the encoded data of the number of switching cycles.

[0180] S204, the control loop operates according to the target wave generation mode.

[0181] Among them, after the controller receives the information instruction or encoded data of the target wave generation mode, that is, the wave generation mode encoding previously determined by analyzing the loop output control value, boundary points, etc., it will be transmitted to the controller, decoded into recognizable control parameters, and then the controller controls the corresponding pulse width modulation wave parameters (such as switching cycles) to operate according to the target wave generation mode according to the parsed control parameters.

[0182] Exemplarily, if the target wave generation mode is pulse width modulation with a specific duty cycle and frequency, the control loop will generate periodic drive pulses according to this requirement to control the on - and - off time of the switching device.

[0183] Please refer to Figure 9 , Figure 9 is the structural schematic diagram of a non - monotonic gain system control device provided by an embodiment of the present application. As Figure 9 shown, the non - monotonic gain system control device 900 includes:

[0184] A determination module 901, configured to determine a non-monotonic region in the non-monotonic gain system; and to determine a first boundary point and a second boundary point of the non-monotonic region; and to determine a target wave generation mode of pulse width modulation wave parameters of the non-monotonic gain system according to a control value output by a loop, the first boundary point, and the second boundary point, where the pulse width modulation wave parameters include at least one of a switching period, a duty cycle, a frequency, and a phase;

[0185] A control module 902, configured to control the loop to operate according to the target wave generation mode.

[0186] In a possible implementation manner, in terms of determining the first boundary point and the second boundary point of the non-monotonic region, the determination module 901 is specifically configured to:

[0187] Determine an upper pole point and a lower pole point of the non-monotonic region; and select the first boundary point and the second boundary point from the non-monotonic region according to the upper pole point and the lower pole point.

[0188] In a possible implementation manner, in terms of selecting the first boundary point and the second boundary point from the non-monotonic region according to the upper pole point and the lower pole point, the determination module 901 is specifically configured to:

[0189] Determine a first point set located on the left side of the upper pole point in the non-monotonic region; determine a second point set located on the right side of the lower pole point in the non-monotonic region; select points from the first point set whose absolute value of the difference from the abscissa of the upper pole point is greater than a preset difference to obtain a third point set; select points from the second point set whose difference from the abscissa of the lower pole point is greater than the preset difference to obtain a fourth point set; and select the first boundary point and the second boundary point from the third point set and the fourth point set respectively.

[0190] In a possible implementation manner, in terms of selecting the first boundary point and the second boundary point from the third point set and the fourth point set respectively, the determination module 901 is specifically configured to:

[0191] Obtain a first point in the third point set and a second point in the fourth point set, where the first point is any point in the third point set and the second point is any point in the fourth point set; obtain a first difference between the abscissa of the second point and the abscissa of the first point; obtain a second difference between the ordinate of the second point and the ordinate of the first point; obtain a first quotient of the first difference and the second difference; determine the first point when the first quotient is greater than zero and is the smallest as the first boundary point, and determine the second point when the first quotient is greater than zero and is the smallest as the second boundary point.

[0192] In a possible implementation, in terms of the wave generation method for determining the pulse width modulation wave parameters of the non-monotonic gain system based on the control value output by the loop, the first boundary point, and the second boundary point, the determining module 901 is specifically configured to:

[0193] When it is detected that the control value output by the loop is not located in the non-monotonic region, determine that the wave generation method for the pulse width modulation wave parameters of the non-monotonic gain system is the default wave generation method; when it is detected that the control value output by the loop is located in the non-monotonic region, determine the target number of periods of the switch period group according to the control value output by the loop, the first boundary point, and the second boundary point; encode the target number of periods of the switch period group to obtain target encoded data; and determine the wave generation method for the pulse width modulation wave parameters of the non-monotonic gain system according to the target encoded data.

[0194] In a possible implementation, in terms of determining the target number of periods of the switch period group according to the control value output by the loop, the first boundary point, and the second boundary point, the determining module 901 is specifically configured to:

[0195] Obtain the abscissa of the control value output by the loop in the non-monotonic region; obtain the third difference between the abscissa of the control value output by the loop and the abscissa of the first boundary point; obtain the fourth difference between the abscissa of the second boundary point and the abscissa of the first boundary point; obtain the second quotient of the fourth difference and the third difference; and obtain the third quotient of the switch period group and the second quotient, where the third quotient is the target number of periods.

[0196] In a possible implementation, in terms of determining the wave generation method for the pulse width modulation wave parameters of the non-monotonic gain system according to the target encoded data, the determining module 901 is specifically configured to:

[0197] According to the target encoded data, determine that the wave generation method for the first switch period in the pulse width modulation wave parameters of the non-monotonic gain system is to generate waves according to the gain of the first boundary point, and determine that the wave generation method for the second switch period in the pulse width modulation wave parameters of the non-monotonic gain system is to generate waves according to the gain of the second boundary point.

[0198] It should be noted that, for the specific functional implementation manner of the non-monotonic gain system control device 900, refer to the above Figure 2Description of the non-monotonic gain system control method shown. For example, the determination module 901 is used to implement the relevant content of executing S201 - S203, and the control module 902 is used to implement the relevant content of executing S204. Each unit or module in the non-monotonic gain system control device 900 can be respectively or all combined into one or several other units or modules to form, or some of the units or modules can be further split into multiple smaller units or modules in terms of function to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above units or modules are divided according to logical functions. In practical applications, the function of one unit (or module) is implemented by multiple units (or modules), or the functions of multiple units (or modules) are implemented by one unit (or module).

[0199] According to the description of the above method embodiments and related device embodiments, please refer to Figure 10 , Figure 10 which is a schematic structural diagram of a non-monotonic gain system control device provided by an embodiment of the present application, Figure 10 The non-monotonic gain system control device 1000 shown includes a processor 1001, a memory 1002, a communication interface 1003, and a bus 1004. Among them, the processor 1001, the memory 1002, and the communication interface 1003 are communicatively connected to each other through the bus 1004.

[0200] Optionally, the memory 1002 is a ROM, a static storage device, a dynamic storage device, or a RAM.

[0201] The memory 1002 can store executable program codes. When the executable program codes stored in the memory 1002 are executed by the processor 1001, the processor 1001 and the communication interface 1003 are used to execute Figure 2 each step of the non-monotonic gain system control method of the embodiment shown.

[0202] The processor 1001 uses a general-purpose CPU, a microprocessor, an application-specific integrated circuit ASIC, a GPU, or one or more integrated circuits to execute relevant programs to execute the non-monotonic gain system control method of the method embodiment of the present application.

[0203] The processor 1001 can also be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the non-monotonic gain system control method of the present application can be completed by the integrated logic circuit in the hardware of the processor 1001 or the instructions in software form.

[0204] Optionally, the processor 1001 is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The processor can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor is a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.

[0205] Optionally, the software module is located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register or other mature storage medium in the art. This storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002 and combines its hardware to complete the functions required to be executed by the modules included in a non-monotonic gain system control device 900 in the embodiments of the present application, or executes the non-monotonic gain system control method in the method embodiments of the present application.

[0206] The communication interface 1003 uses transceiver-related devices such as, but not limited to, transceivers.

[0207] The bus 1004 may include a path for transmitting information between various components (e.g., the memory 1002, the processor 1001, the communication interface 1003) of the non-monotonic gain system control device 1000.

[0208] It should be noted that although Figure 10 the non-monotonic gain system control device 1000 shown only shows the memory, the processor, and the communication interface, in the specific implementation process, those skilled in the art should understand that the non-monotonic gain system control device 1000 also includes other devices necessary for normal operation.

[0209] At the same time, according to specific needs, those skilled in the art should understand that the non-monotonic gain system control device 1000 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the non-monotonic gain system control device 1000 may also only include the devices necessary for implementing the embodiments of the present application, and do not necessarily include Figure 10 all the devices shown in

[0210] The embodiments of the present application provide a computer-readable storage medium, in which a computer program for electronic data exchange is stored. The computer program includes execution instructions for executing some or all of the steps of any one of the non-monotonic gain system control methods described in the non-monotonic gain system control method embodiments as above. The above computer includes an electronic terminal device.

[0211] An embodiment of the present application provides a computer program product. The computer program product includes a computer program, and the computer program is operable to cause a computer to perform some or all of the steps of any of the non-monotonic gain system control methods described in the foregoing method embodiments. The computer program product may be a software installation package.

[0212] It should be noted that for any of the foregoing embodiments of the non-monotonic gain system control method, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential to the present application.

[0213] The above has introduced the embodiments of the present application in detail. Specific examples are used herein to elaborate on the principles and implementation manners of a non-monotonic gain system control method and device of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of a non-monotonic gain system control method and device of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.

[0214] The present application is described with reference to the flowcharts and / or block diagrams of the methods, hardware products, and computer program products of the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0215] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0216] Among them, the memory may include: a flash drive, a read-only memory (abbreviation: ROM), a random access memory (abbreviation: RAM), a magnetic disk, an optical disc, etc.

[0217] Although the present application has been described in conjunction with various embodiments herein, however, in the process of implementing the claimed present application, those skilled in the art can understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality. Certain measures are recited in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce a good effect.

[0218] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the method embodiments of any of the above non-monotonic gain system control methods can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (abbreviation: ROM), a random access memory (abbreviation: RAM), a magnetic disk, an optical disc, etc.

[0219] It can be understood that any product that is controlled or configured to execute the processing method of the flowchart described in an embodiment of a non-monotonic gain system control method of the present application, such as the device of the above flowchart and the computer program product, all belong to the scope of the related products described in the present application.

[0220] Obviously, those skilled in the art can make various changes and modifications to a non-monotonic gain system control method and device provided by the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application also intends to include these changes and modifications.

Claims

1. A method for controlling a non-monotonic gain system, characterized in that The method includes: Determine the non-monotonic region in the non-monotonic gain system; Determine the first boundary point and the second boundary point of the non-monotonic region; Determine the target wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the control value output by the loop, the first boundary point and the second boundary point, where the pulse width modulation wave parameters include at least one of a switching period, a duty cycle, a frequency, and a phase; Control the loop to operate according to the target wave generation mode.

2. The method according to claim 1, characterized in that, The determining the first boundary point and the second boundary point of the non-monotonic region includes: Determine the upper pole point and the lower pole point of the non-monotonic region; Select the first boundary point and the second boundary point from the non-monotonic region according to the upper pole point and the lower pole point.

3. The method according to claim 2, wherein The selecting the first boundary point and the second boundary point from the non-monotonic region according to the upper pole point and the lower pole point includes: Determine the first point set located on the left side of the upper pole point in the non-monotonic region; Determine the second point set located on the right side of the lower pole point in the non-monotonic region; Select points from the first point set whose absolute value of the difference from the abscissa of the upper pole point is greater than a preset difference to obtain a third point set; Select points from the second point set whose difference from the abscissa of the lower pole point is greater than the preset difference to obtain a fourth point set; Select the first boundary point and the second boundary point from the third point set and the fourth point set respectively.

4. The method according to claim 3, wherein The selecting the first boundary point and the second boundary point from the third point set and the fourth point set respectively includes: Obtain a first point in the third point set and a second point in the fourth point set, where the first point is any point in the third point set and the second point is any point in the fourth point set; Obtain a first difference between the abscissa of the second point and the abscissa of the first point; Obtain a second difference between the ordinate of the second point and the ordinate of the first point; Obtain a first quotient of the first difference and the second difference; Determine the first point when the first quotient is greater than zero and is the smallest as the first boundary point, and determine the second point when the first quotient is greater than zero and is the smallest as the second boundary point.

5. The method according to any one of claims 1 to 4, characterized in that, The determining the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the control value output by the loop, the first boundary point and the second boundary point includes: When it is detected that the control value output by the loop is not located in the non-monotonic region, determine the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system as the default wave generation mode; When it is detected that the control value output by the loop is located in the non-monotonic region, determine the target period number of the switching period group according to the control value output by the loop, the first boundary point and the second boundary point; Encode the target period number of the switching period group to obtain target encoded data; Determine the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the target encoded data.

6. The method according to claim 5, wherein The determining the target period number of the switching period group according to the control value output by the loop, the first boundary point and the second boundary point includes: Obtain the abscissa of the control value output by the loop in the non-monotonic region; Obtain a third difference between the abscissa of the control value output by the loop and the abscissa of the first boundary point; Obtain a fourth difference between the abscissa of the second boundary point and the abscissa of the first boundary point; Obtain a second quotient of the fourth difference and the third difference; Obtain a third quotient of the switch period group and the second quotient, and the third quotient is the target number of periods.

7. The method according to claim 5, wherein According to the target encoded data, determine the wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system, including: According to the target encoded data, determine that the wave generation mode of the first switch period in the pulse width modulation wave parameters of the non-monotonic gain system is to generate waves according to the gain of the first boundary point, and determine that the wave generation mode of the second switch period in the pulse width modulation wave parameters of the non-monotonic gain system is to generate waves according to the gain of the second boundary point.

8. A non-monotonic gain system control device, characterized in that The device includes: A determination module, configured to determine a non-monotonic region in the non-monotonic gain system; and to determine a first boundary point and a second boundary point of the non-monotonic region; and to determine a target wave generation mode of the pulse width modulation wave parameters of the non-monotonic gain system according to the control value output by the loop, the first boundary point, and the second boundary point, where the pulse width modulation wave parameters include at least one of a switch period, a duty cycle, a frequency, and a phase; A control module, configured to control the loop to operate according to the target wave generation mode.

9. A non-monotonic gain system control device, characterized in that, The device includes: A memory, a processor, and executable program code stored on the memory and executable on the processor. When the processor executes the executable program code, it executes the steps of the non-monotonic gain system control method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, Executable program code is stored on the computer-readable storage medium, and the executable program code includes execution instructions for executing the steps of the non-monotonic gain system control method according to any one of claims 1-7.