System and method for monitoring and compensating loss of switching power supply

Through the load compensation module, line loss compensation module and machine learning monitoring model, the problems of load selection and multi-speed compensation in the existing technology are solved, and the intelligent, automated and remote monitoring and control of switching power supply losses are realized, and the compensation accuracy is improved. and scope of application.

CN118944398AActive Publication Date: 2024-11-12SUZHOU FULL-WAY ELECTRONIC TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411002402.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-12
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

The existing switching power supply loss compensation technology cannot effectively respond to different load selections and cannot achieve multi-speed compensation, and the compensation accuracy and automation are low, so it is impossible to remotely monitor various data of switching power supply loss.

Method used

Using load compensation module, line loss compensation module, variable resistance module and current monitoring model, the current data is monitored and optimized through machine learning to achieve intelligent, automated and independent compensation of switching power supply losses, and the compensation data is output through visual modules. .

Benefits of technology

It improves the accuracy and application range of switching power supply loss compensation, reduces manual detection errors and costs, and realizes remote monitoring and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944398A_ABST
    Figure CN118944398A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power supply switch voltage compensation and monitoring, and discloses a switch power supply loss monitoring and compensating system and method, which comprises a load compensation module for compensating current change caused by line load change, a line loss compensation module for compensating voltage drop generated by current flowing through a wire, and a power supply module for supplying power to the line loss compensation module, the variable resistance module is used for generating different compensation amounts for different power switch line losses, and the line loss current compensation monitoring module is used for monitoring power switch line loss compensation current and optimizing a current monitoring model. And meanwhile, intelligentization, automation and autonomy of power distribution loss compensation of the power grid are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power switch voltage compensation and monitoring, and discloses a system and method for switching power supply loss monitoring and compensation. Background Art

[0002] Power switch line loss current compensation technology is of great significance in the field of power systems. Its development has made certain progress, but there are still some shortcomings.

[0003] The power switch line loss current compensation technology has gone through years of development. The relevant technology has become relatively mature, and commercial products have gradually become popular. Relevant national standards and industry specifications have been formulated, which have promoted the standardization and normalization of the technology and are conducive to the promotion and application of the technology. Line loss current compensation technology is not only used in traditional power transmission and distribution systems, but also shows broad application prospects in the fields of new energy access, microgrids, smart grids, etc. With the construction of smart grids and the popularization of smart devices, line loss current compensation technology is also developing in the direction of intelligence, such as smart perception and smart control. At present, the cost of line loss current compensation equipment is relatively high, which limits its promotion and application in some regions and scenarios, and the cost needs to be further reduced. Despite the relevant standards and specifications, in actual applications, the technical standards and product specifications of various regions and manufacturers are not unified, which affects the promotion and application of technology. Line loss current compensation equipment has high requirements for equipment performance, such as accuracy and stability. More reliable equipment is needed to ensure the safe and stable operation of the power grid. Providing multiple gear selections and applying machine learning to monitor the loss compensation of switch power supplies are ways to increase the intelligence of switch power loss compensation.

[0004] For example, the existing patent with the publication number CN113852274A discloses a switching power supply remote compensation circuit and a switching power supply. The switching power supply remote compensation circuit includes: a sampling signal conversion module and a voltage divider adjustment module; a sampling signal conversion module, the first input end is connected to the output voltage sampling end of the target switching power supply, the second input end and the third input end are respectively connected to the positive end and the negative end of the remote correction point of the target switching power supply, and the first output end and the second output end are respectively connected to the first input end and the second input end of the voltage divider adjustment module; a voltage divider adjustment module, the output end is connected to the target switching power supply through a voltage feedback adjustment module. The invention converts the output voltage sampling signal and the remote correction point voltage signal into voltage signals through the sampling signal conversion module, which can reduce the common-mode voltage interference of the sampling signal; the voltage divider adjustment is performed through a voltage divider adjustment module independent of the voltage feedback adjustment module to correct the output voltage of the target switching power supply, with high adjustment accuracy and good flexibility.

[0005] However, the above patent has the following problems: the above patent only solves one of the problems of switching power supply loss, and solves it by means of circuit voltage divider adjustment, and only uses a simple feedback adjustment module to perform voltage divider loss compensation adjustment, which will result in a relatively large compensation error. The loss compensation accuracy is higher than that obtained through algorithm model processing, and it is impossible to select different compensation gears for loss compensation for different loads. Moreover, the compensation principle has a small application range relative to the load, and the overall flexibility, automation, intelligence and compensation accuracy of the system are relatively low, and it is impossible to truly realize remote monitoring of various data of switching power supply loss compensation. Summary of the invention

[0006] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0007] In order to solve the above technical problems, the main purpose of the present invention is to provide a system for monitoring and compensating switching power supply losses, comprising:

[0008] Load compensation module, used to compensate for current changes caused by line load changes;

[0009] Line loss compensation module, used to compensate for the voltage drop caused by the current flowing through the wire;

[0010] A variable resistor module is used to generate different compensation amounts for different power switch line losses;

[0011] A line loss current compensation monitoring module, including a current monitoring model for monitoring the line loss compensation current of a power switch, and a model optimization unit for optimizing the current monitoring model;

[0012] The output visualization module is used to output the visualization data of the switching power supply loss compensation to the user interface.

[0013] As a preferred solution of a system for monitoring and compensating switching power supply losses of the present invention, wherein:

[0014] The compensation line load change is the change in the switch power supply line connection load;

[0015] The current change is the change of the current flowing through the circuit. The line current is larger when the load is heavy than when the load is light. The larger the current passing through the diode, the larger the forward voltage of the diode. The output voltage is also different under different loads.

[0016] Through the load compensation module, loss compensation is performed on the circuit with load changes;

[0017] If the wire is too short, the resistance on the wire is extremely small, and the resulting voltage drop is 0, then the output voltage is stabilized through the load compensation module.

[0018] As a preferred solution of a system for monitoring and compensating switching power supply losses of the present invention, wherein:

[0019] The current controlled by the line load current is connected to the load compensation module, and the output of the load compensation module stabilizes the voltage, and the expression is as follows:

[0020] VOUT=(RA+RB) / RB×VFB+ICOM×RA-VD

[0021] Among them, VFB is the potential of the FB point, RA and RB are resistors, ICOM is the current controlled by the line load current, VD is the voltage between the FB point and the ground wire, and VOUT is the output stable voltage value of the load compensation module.

[0022] As a preferred solution of a system for monitoring and compensating switching power supply losses of the present invention, wherein:

[0023] The current calculation expression controlled by the line load current is as follows:

[0024]

[0025] Among them, ICOM is the current controlled by the line load current, V TH is the threshold voltage, μ n is the carrier mobility, C ox is the dielectric constant, is the width-to-length ratio of the MOS tube, that is, the ratio of the width to the length of the MOS tube, V3 is the voltage value of the port, and E is the ground wire value of 0.

[0026] As a preferred solution of a system for monitoring and compensating switching power supply losses of the present invention, wherein:

[0027] If the wire is too long and has resistance, current flowing through the wire will cause a voltage drop, and the line loss compensation module compensates for the voltage drop caused by the current flowing through the wire through the switching power supply line loss circuit;

[0028] The line loss current is compensated by controlling the line loss current connected to the line loss compensation module.

[0029] As a preferred solution of a system for monitoring and compensating switching power supply losses of the present invention, wherein:

[0030] The variable resistor module is controlled by a MOS tube. If the MOS tube is in the deep triode region, it can be regarded as controlled by V GS Controlled variable resistor;

[0031] The variable resistor position selection expression is as follows:

[0032]

[0033] Among them, R ON is the resistance value of the variable resistor, V GS is the maximum gate-source voltage, V TH is the threshold voltage, μ n is the carrier mobility, C ox is the dielectric constant, It is the width-to-length ratio of the MOS tube, that is, the ratio of the width to the length of the MOS tube.

[0034] As a preferred solution of a system for monitoring and compensating switching power supply losses of the present invention, wherein:

[0035] The current monitoring model collects power switch line current data, performs filtering and shaping preprocessing on the current data, then extracts features from the preprocessed current data, and uses the feature-extracted current data for feature identification and enters the pooling layer for maximum pooling operation. The new feature values ​​formed by the pooling operation are used as data input into the fully connected layer, and the power switch line current is classified. After classification, the data is output, and finally a current monitoring model is established. The current data after feature extraction is marked as a data set through a model optimization unit, and the current monitoring model is optimized.

[0036] The preprocessing is filtering and shaping the current data, and processing is performed through a shaping filter circuit;

[0037] The processed current data is characterized by the feature extraction, and the expression is as follows:

[0038]

[0039] Among them, f(x) is the eigenvalue calculation function, e is the exponential constant, i is the ordinal number representing the width of the convolution kernel, j is the ordinal number representing the length of the convolution kernel, and λ ij is the weight value of the convolution kernel with width i and length j, x ij is the current value after being processed by the convolution kernel with width i and length j, n is an arbitrary value, m is an ordinal number of 1, 2, 3, ..., and b is error compensation;

[0040] The preprocessed current x is first processed by a convolution kernel with a width of i and a length of j to obtain x ij , the eigenvalue of the preprocessed current x is mapped out through the eigenvalue calculation function.

[0041] As a preferred solution of a system for monitoring and compensating switching power supply losses of the present invention, wherein:

[0042] The maximum pooling operation creates a new feature value through pooling calculation to filter the high-level features output by the convolution layer. The calculation expression of the maximum pooling operation is as follows:

[0043] G=max{G 1 ,G 2 ,...,G n}

[0044] Among them, G is the new feature value output by the maximum pooling operation, G 1 is the first eigenvalue, G 2 is the second eigenvalue, G n is the nth eigenvalue, {G 1 ,G 2 ,...,G n} is the set of feature values ​​of the pooling layer, and max{} is the maximum value function;

[0045] The new eigenvalues ​​are used to form a new eigenvalue set as the data basis for recursive operation, and the eigenvalues ​​are output;

[0046] The feature quantity is used as the input of the output layer, and the new feature values ​​after the maximum pooling operation are formed into a new set and input into the current monitoring model, thereby completing the monitoring and prediction of the line loss compensation current of the power switch;

[0047] The model optimization unit calculates the minimum loss value by fitting the actual value of the power switch line loss compensation current and the predicted value output by the current monitoring model through the loss function. The loss function calculation expression is as follows:

[0048]

[0049] in, Output loss value for loss function, I p Output the pth group of current prediction values ​​for the current monitoring model, where p is the ordinal number 1, 2, 3, ..., n, I s is the actual current value of the power switch compensation circuit, n is an arbitrary value, and min{} is the minimum value function;

[0050] If the difference between the actual current value and the predicted current value of the power switch compensation circuit is not within the normal range, the current monitoring model is adjusted by the model optimization unit, and the current monitoring model and the deviation value calculation process are executed again after the adjustment until the difference between the actual current value and the predicted current value of the power switch compensation circuit monitored by the current monitoring model is within the normal range;

[0051] The model optimization unit selects r power switch loss current sample data, performs gradient calculation on the power switch loss current at time t+1 and time t, and updates and corrects the expectation of the random variable of the selected r power switch loss sample data, and finally completes the update of the weight;

[0052] The output visualization module transmits the switching power loss, the switching power loss compensation type and the switching power loss compensation value to the user interface through visualization data.

[0053] A method for monitoring and compensating switching power supply losses, comprising:

[0054] S1. Determine the method of compensation for switching power line loss;

[0055] S2. If the switching power supply circuit is connected to different loads and the line loss caused by the load is too large, load compensation is used to prevent the output voltage from changing with the load.

[0056] S3. If the connection line of the switching power supply line is too long and the current flows through the wire and generates a voltage drop, the voltage drop generated by the current flowing through the wire is compensated by line loss compensation;

[0057] S4, by judging different switching power line loss compensation methods, the variable resistor selects different compensation gears;

[0058] S5, monitoring the switching power supply line current after compensating for the switching power supply loss;

[0059] S6. Optimize the current monitoring model through real-time data, and continuously adjust the switching power supply compensation through current monitoring.

[0060] A computer-readable storage medium stores a computer program, which, when executed, implements a method for monitoring and compensating loss of a switching power supply.

[0061] An electronic device comprises: a memory for storing instructions;

[0062] The processor is used to execute the instructions so that the device implements a method for monitoring and compensating loss of a switching power supply.

[0063] Beneficial effects of the present invention:

[0064] A switching power supply loss monitoring system proposed in the present invention monitors the switching power supply loss compensation situation through machine learning to make the power loss compensation intelligent, automated and autonomous, further reducing the error and cost of manual detection, and adjusting the switching power supply loss through the monitoring model algorithm is more accurate than relying solely on hardware circuit feedback adjustment, has a wider range of applications, and has smaller error compensation losses, thus truly realizing remote monitoring and control of switching power supply loss compensation. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0066] Figure 1 A system composition diagram of a system for monitoring and compensating switching power supply losses according to the present invention;

[0067] Figure 2 A flow chart of a method for monitoring and compensating switching power supply losses according to the present invention;

[0068] Figure 3 A schematic diagram of a circuit for compensating the loss of a switching power supply and outputting a voltage VOUT of a switching power supply loss monitoring and compensation system of the present invention;

[0069] Figure 4 A schematic diagram of a main circuit of a switching power supply loss compensation system for monitoring and compensating switching power supply losses of the present invention;

[0070] Figure 5 The present invention is a circuit schematic diagram of a variable resistor module of a system for monitoring and compensating switching power supply losses. DETAILED DESCRIPTION

[0071] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0072] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0073] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0074] Embodiment 1:

[0075] like Figure 1 As shown, a system for monitoring and compensating switching power loss includes:

[0076] Load compensation module, used to compensate for current changes caused by line load changes;

[0077] Among them, since the switching power supply circuit is connected to different loads, the current flowing through the circuit is different. The circuit current under heavy load is larger than that under light load. The larger the current passing through the diode, the larger the VD. The output voltage under different loads is also different. Therefore, the load compensation module is used to compensate for circuits with different loads. If the wire is too short, the resistance on the wire is extremely small, and the voltage drop generated can be ignored, the load compensation module is used to make the output voltage not change with the load size.

[0078] like Figure 3 As shown, by pulling a current ICOM controlled by the line load current from the FB terminal, VOUT = (RA + RB) / RB × VFB + ICOM × RA - VD, the output voltage is compensated so that the line outputs a stable voltage under different loads.

[0079] Among them, VFB is the potential of the FB point, RA and RB are resistors, ICOM is the current controlled by the line load current, VD is the voltage between the FB point and the ground wire, and VOUT is the output stable voltage value of the load compensation module.

[0080] Line loss compensation module, used to compensate for the voltage drop caused by the current flowing through the wire;

[0081] If the wire is too long and has a certain resistance, the current flowing through the wire will cause a voltage drop. The line loss compensation module compensates for the voltage drop caused by the current flowing through the wire through the switching power supply line loss circuit.

[0082] Further, such as Figure 4As shown in the figure, it is a switching power supply line loss compensation circuit. VEA is a voltage signal that is positively correlated with the line load current. It is connected to a pair of differential pairs with the voltage VREF1. The larger the VEA, the larger the voltage V1 of port 1, and the larger the voltage V3 of port 3. V1 limits the size of V3 after stabilization. The voltage V3 acts on the MOS tube M7 to control the current drawn from the FB terminal. The current expression controlled by the line load current is as follows:

[0083]

[0084] Among them, ICOM is the current controlled by the line load current, V TH is the threshold voltage, μ n is the carrier mobility, C ox is the dielectric constant, is the width-to-length ratio of the MOS tube, that is, the ratio of the width to the length of the MOS tube, V3 is the voltage value of port 3, and E is the ground wire value of 0.

[0085] A variable resistor module is used to generate different compensation amounts for different power switch line losses;

[0086] Among them, it is controlled by MOS tube. If the MOS tube is in the deep triode region, it can be regarded as controlled by V GS The variable resistance controlled by the equation is as follows:

[0087]

[0088] Among them, V GS is the maximum gate-source voltage, V TH is the threshold voltage, μ n is the carrier mobility, C ox is the dielectric constant, The width-to-length ratio of the MOS tube is the ratio of the width to the length of the MOS tube;

[0089] like Figure 5 As shown, M1 and M4 are MOS tubes of the same size, M2 and M3 are MOS tubes of the same size, and their gates are connected to the upper end of the resistor R0, and the gate voltage VG=I 1 ×R 0 The gate voltage provided by resistor R0 satisfies V GS -V TH >V1-0,V GS -V TH >V2-0, so that the MOS tube is in the linear region, the input resistance of terminal 1 and terminal 2 is affected by I 1 ×R 0 Controlled variable resistor.

[0090] Switches S1 and S2 are controlled by control signals, and the two switches can be simultaneously turned to terminals 3 and 5, M1 and M3 are turned on, the equivalent input resistance of terminal 1 is R1, the equivalent input resistance of terminal 2 is R2, and R1=R2; or simultaneously turned to terminals 4 and 6, M2 and M4 are turned on, the equivalent input resistance of terminal 1 is R1', the equivalent input resistance of terminal 2 is R2', and R1'=R2'. Because the sizes of M1 and M2 are different, the resistance values ​​of R1 and R1' are different, and similarly, the resistance values ​​of R2 and R2' are different, which results in different compensation amounts and achieves different compensation effects.

[0091] A line loss current compensation monitoring module, including a current monitoring model for monitoring the line loss compensation current of a power switch, and a model optimization unit for optimizing the current monitoring model;

[0092] Among them, by collecting the current data of the power switch line, filtering and shaping the current data for preprocessing, and then extracting features from the preprocessed current data, and using the feature-extracted current data for feature identification to enter the pooling layer for maximum pooling operation, the new feature value formed by the pooling operation is used as data input to the fully connected layer, the power switch line current is classified, and the data is output after classification, and finally a current monitoring model is established, and the current data after feature extraction is marked as a data set through a model optimization unit, and then the current monitoring model is optimized;

[0093] Further, the current data is filtered and shaped, and processed by a shaping filter circuit to handle noise interference and redundant data collected;

[0094] Furthermore, feature extraction is used to identify the processed current data. The expression is as follows:

[0095]

[0096] Among them, f(x) is the eigenvalue calculation function, e is the exponential constant, i is the ordinal number representing the width of the convolution kernel, j is the ordinal number representing the length of the convolution kernel, and λ ij is the weight value of the convolution kernel with width i and length j, x ij is the current value after being processed by the convolution kernel with width i and length j, n is an arbitrary value, m is an ordinal number of 1, 2, 3, ..., and b is error compensation;

[0097] The preprocessed current x is first processed by a convolution kernel with a width of i and a length of j to obtain x ij , the eigenvalue of the preprocessed current x is mapped out through the eigenvalue calculation function.

[0098] Furthermore, the maximum pooling operation establishes new feature values ​​through pooling calculation to filter the high-level features output by the convolution layer. The calculation expression of the maximum pooling operation is as follows:

[0099] G=max{G 1 ,G 2 ,...,G n}

[0100] Among them, G is the new feature value output by the maximum pooling operation, G 1 is the first eigenvalue, G 2 is the second eigenvalue, G n is the nth eigenvalue, {G 1 ,G 2 ,...,G n} is the set of feature values ​​of the pooling layer, and max{} is the maximum value function;

[0101] The new eigenvalues ​​are used to form a new eigenvalue set as the data basis for recursive operation, and the eigenvalues ​​are output;

[0102] The feature quantity is used as the input of the output layer, and the new feature values ​​after the maximum pooling operation are combined into a new set input current monitoring model to complete the monitoring and prediction of the line loss compensation current of the power switch;

[0103] The model optimization unit calculates the minimum loss value by fitting the actual value of the power switch line loss compensation current and the predicted value of the current monitoring model output through the loss function. The loss function calculation expression is as follows:

[0104]

[0105] in, Output loss value for loss function, I p Output the pth group of current prediction values ​​for the current monitoring model, where p is the ordinal number 1, 2, 3, ..., n, I s is the actual current value of the power switch compensation circuit, n is an arbitrary value, and min{} is the minimum value function;

[0106] If the difference between the actual current value and the predicted current value of the power switch compensation circuit is not within the normal range, the current monitoring model is adjusted by the model optimization unit, and after the adjustment, the current monitoring model and the deviation value calculation process are executed again until the difference between the actual current value and the predicted current value of the power switch compensation circuit monitored by the current monitoring model is within the normal range;

[0107] The model optimization unit selects r power switch loss current sample data, calculates the gradient of the power switch loss current at time t+1 and time t, and updates and corrects the expectation of the random variable of the selected r power switch loss sample data, and finally completes the update of the weight.

[0108] Furthermore, the current monitoring model reserves a port of a model optimization unit to optimize the current monitoring model;

[0109] The switching power loss, the switching power loss compensation type and the switching power loss compensation value are transmitted to the user interface via the output visualization module through visualization data.

[0110] Embodiment 2:

[0111] like Figure 2 A method for monitoring and compensating switching power loss is shown, comprising:

[0112] S1. Determine the method of compensation for switching power line loss;

[0113] S2. If the switching power supply circuit is connected to different loads and the line loss caused by the load is too large, load compensation is used to prevent the output voltage from changing with the load.

[0114] S3. If the connection line of the switching power supply line is too long and the current flows through the wire and generates a voltage drop, the voltage drop generated by the current flowing through the wire is compensated by line loss compensation;

[0115] S4, by judging different switching power line loss compensation methods, the variable resistor selects different compensation gears;

[0116] S5, monitoring the switching power supply line current after compensating for the switching power supply loss;

[0117] S6. Optimize the current monitoring model through real-time data, and continuously adjust the switching power supply compensation through current monitoring.

[0118] Embodiment three:

[0119] In this embodiment, an electronic device is provided, including a memory and a processor, wherein the memory is used to store instructions, and the processor is used to execute the instructions, so that the device executes the above-mentioned method for monitoring and compensating loss of a switching power supply.

[0120] Embodiment 4:

[0121] A computer-readable storage medium having a rewritable computer program stored thereon;

[0122] When the computer program runs on a computer device, the computer device is caused to execute the above-mentioned method for monitoring and compensating switching power supply losses.

[0123] Importantly, it should be noted that the construction and arrangement of the present application shown in a plurality of different exemplary embodiments are only exemplary. Although only two embodiments are described in detail in this disclosure, it should be readily understood by those who refer to this disclosure that many modifications are possible, for example, the size, scale, structure, shape and ratio of various elements, and parameter values ​​(e.g., temperature, pressure, etc.), installation arrangement, use of materials, color, directional changes, etc., without substantially departing from the novel teachings and advantages of the subject matter described in the application. For example, the element shown as integrally formed can be composed of multiple parts or elements, the position of the element can be inverted or otherwise changed, and the nature or number or position of the discrete element can be changed or changed. Therefore, all such modifications are intended to be included in the scope of the present invention. The order or sequence of any process or method step can be changed or reordered according to an alternative embodiment. Any "device plus function" clause is intended to cover the structure of the execution function described in this article, and is not only structurally equivalent but also equivalent structure. Without departing from the scope of the present invention, other replacements, modifications, changes and omissions can be made in the design, operating conditions and arrangement of the exemplary embodiment. Therefore, the invention is not limited to a specific embodiment, but extends to numerous modifications still falling within the scope of the appended claims.

[0124] Additionally, in order to provide a concise description of exemplary embodiments, all features of an actual embodiment (ie, those features that are not relevant to the best mode presently contemplated for carrying out the invention or those that are not relevant to implementing the invention) may not be described.

[0125] It should be understood that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but for those of ordinary skill having the benefit of this disclosure, the development effort will be a routine task of design, fabrication, and production without undue experimentation.

[0126] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A system for monitoring and compensating switching power supply losses, characterized in that: include: Load compensation module, used to compensate for current changes caused by line load changes; Line loss compensation module, used to compensate for the voltage drop caused by the current flowing through the wire; A variable resistor module is used to generate different compensation amounts for different power switch line losses; A line loss current compensation monitoring module, including a current monitoring model for monitoring the line loss compensation current of a power switch, and a model optimization unit for optimizing the current monitoring model; The output visualization module is used to output the visualization data of the switching power supply loss compensation to the user interface.

2. A switching power supply loss monitoring and compensation system according to claim 1, characterized in that: The compensation line load change is the change in the switch power supply line connection load; The current change is the change of the current flowing through the circuit. The line current is larger when the load is heavy than when the load is light. The larger the current passing through the diode, the larger the forward voltage of the diode. The output voltage is also different under different loads. Through the load compensation module, loss compensation is performed on the circuit with load changes; If the wire is too short, the resistance on the wire is extremely small, and the resulting voltage drop is 0, then the output voltage is stabilized through the load compensation module.

3. A switching power supply loss monitoring and compensation system according to claim 2, characterized in that: The current controlled by the line load current is connected to the load compensation module, and the output of the load compensation module stabilizes the voltage, and the expression is as follows: VOUT=(RA+RB) / RB×VFB+ICOM×RA-VD Among them, VFB is the potential of the FB point, RA and RB are resistors, ICOM is the current controlled by the line load current, VD is the voltage between the FB point and the ground wire, and VOUT is the output stable voltage value of the load compensation module.

4. A switching power supply loss monitoring and compensation system according to claim 3, characterized in that: The current calculation expression controlled by the line load current is as follows: Among them, ICOM is the current controlled by the line load current, V TH is the threshold voltage, μ n is the carrier mobility, C ox is the dielectric constant, is the width-to-length ratio of the MOS tube, that is, the ratio of the width to the length of the MOS tube, V3 is the voltage value of the port, and E is the ground wire value of 0.

5. A switching power supply loss monitoring and compensation system according to claim 4, characterized in that: If the wire is too long and has resistance, current flowing through the wire will cause a voltage drop, and the line loss compensation module compensates for the voltage drop caused by the current flowing through the wire through the switching power supply line loss circuit; The line loss current is compensated by controlling the line loss current connected to the line loss compensation module.

6. A switching power supply loss monitoring and compensation system according to claim 5, characterized in that: The variable resistor module is controlled by a MOS tube. If the MOS tube is in the deep triode region, it is considered to be controlled by V GS Controlled variable resistor; The variable resistor position selection expression is as follows: Among them, R ON is the resistance value of the variable resistor, V GS is the maximum gate-source voltage, V TH is the threshold voltage, μ n is the carrier mobility, C ox is the dielectric constant, It is the width-to-length ratio of the MOS tube, that is, the ratio of the width to the length of the MOS tube.

7. A switching power supply loss monitoring and compensation system according to claim 6, characterized in that: The current monitoring model collects power switch line current data, performs filtering and shaping preprocessing on the current data, then extracts features from the preprocessed current data, and uses the feature-extracted current data for feature identification and enters the pooling layer for maximum pooling operation. The new feature values ​​formed by the pooling operation are used as data input into the fully connected layer, and the power switch line current is classified. After classification, the data is output, and finally a current monitoring model is established. The current data after feature extraction is marked as a data set through a model optimization unit, and the current monitoring model is optimized. The preprocessing is filtering and shaping the current data, and processing is performed through a shaping filter circuit; The processed current data is characterized by the feature extraction, and the expression is as follows: Among them, f(x) is the eigenvalue calculation function, e is the exponential constant, i is the ordinal number representing the width of the convolution kernel, j is the ordinal number representing the length of the convolution kernel, and λ ij is the weight value of the convolution kernel with width i and length j, x ij is the current value after being processed by the convolution kernel with width i and length j, n is an arbitrary value, m is an ordinal number of 1, 2, 3, ..., and b is error compensation; The preprocessed current x is first processed by a convolution kernel with a width of i and a length of j to obtain x ij , the eigenvalue of the preprocessed current x is mapped out through the eigenvalue calculation function.

8. A switching power supply loss monitoring and compensation system according to claim 7, characterized in that: The maximum pooling operation creates a new feature value through pooling calculation to filter the high-level features output by the convolution layer. The calculation expression of the maximum pooling operation is as follows: G=max{G1,G2,...,G n } Among them, G is the new eigenvalue output by the maximum pooling operation, G1 is the first eigenvalue, G2 is the second eigenvalue, and G n is the nth eigenvalue, {G1,G2,...,G n } is the set of feature values ​​of the pooling layer, and max{} is the maximum value function; The new eigenvalues ​​are used to form a new eigenvalue set as the data basis for recursive operation, and the eigenvalues ​​are output; The feature quantity is used as the input of the output layer, and the new feature values ​​after the maximum pooling operation are formed into a new set and input into the current monitoring model, thereby completing the monitoring and prediction of the line loss compensation current of the power switch; The model optimization unit calculates the minimum loss value by fitting the actual value of the power switch line loss compensation current and the predicted value output by the current monitoring model through the loss function. The loss function calculation expression is as follows: in, Output loss value for loss function, I p Output the pth group of current prediction values ​​for the current monitoring model, where p is the ordinal number 1, 2, 3, ..., n, I s is the actual current value of the power switch compensation circuit, n is an arbitrary value, and min{} is the minimum value function; If the difference between the actual current value and the predicted current value of the power switch compensation circuit is not within the normal range, the current monitoring model is adjusted by the model optimization unit, and the current monitoring model and the deviation value calculation process are executed again after the adjustment until the difference between the actual current value and the predicted current value of the power switch compensation circuit monitored by the current monitoring model is within the normal range; The model optimization unit selects r power switch loss current sample data, performs gradient calculation on the power switch loss current at time t+1 and time t, and updates and corrects the expectation of the random variable of the selected r power switch loss sample data, and finally completes the update of the weight; The output visualization module transmits the switching power loss, the switching power loss compensation type and the switching power loss compensation value to the user interface through visualization data.

9. A method for monitoring and compensating switching power supply losses, implemented based on a system for monitoring and compensating switching power supply losses according to any one of claims 1 to 8, characterized in that: include: S1. Determine the method of compensation for switching power line loss; S2. If the switching power supply circuit is connected to different loads and the line loss caused by the load is too large, load compensation is used to prevent the output voltage from changing with the load. S3. If the connection line of the switching power supply line is too long and the current flows through the wire and generates a voltage drop, the voltage drop generated by the current flowing through the wire is compensated by line loss compensation; S4, by judging different switching power line loss compensation methods, the variable resistor selects different compensation gears; S5, monitoring the switching power supply line current after compensating for the switching power supply loss; S6. Optimize the current monitoring model through real-time data, and continuously adjust the switching power supply compensation through current monitoring.

Citation Information

Patent Citations

  • Voltage compensation circuit, detection unit, system and method used for liquid crystal module detection

    CN106228926A

  • Line loss compensation device of switch power supply, integrated circuit and switch power supply

    CN107968583A

  • Line loss control circuit with temperature compensation for charging power supply

    CN208923869U