A system and method for monitoring and compensating the losses of a switching power supply
By using load compensation module, line loss compensation module, variable resistance module and line loss current compensation monitoring module in the switching power supply loss compensation system, combined with machine learning technology, intelligent, automated and independent monitoring and compensation of switching power supply loss is achieved, solving the problems of large compensation error and low flexibility in the existing technology, and improving compensation accuracy and flexibility.
Patent Information
- Application Number
- CN202411002402.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The existing switching power supply loss compensation technology has large compensation errors, flexibility, automation, intelligence and compensation accuracy, and is unable to remotely monitor various data of switching power supply loss compensation.
The load compensation module, line loss compensation module, variable resistance module and line loss current compensation monitoring module are adopted to monitor the switching power supply loss compensation through machine learning, optimize the current monitoring model, and realize intelligent, automated and independent monitoring and compensation of switching power supply losses.
It improves the accuracy and flexibility of switching power supply loss compensation, reduces the error and cost of manual detection, and realizes remote monitoring and control of switching power supply loss compensation.
Smart Images

Figure CN118944398B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power switch voltage compensation and monitoring, and discloses a system and method for monitoring and compensating the losses of a switching power supply. Background Art
[0002] The power switch line loss current compensation technology is of great significance in the field of power systems. Although certain progress has been made in its development, there are still some deficiencies.
[0003] The power switch line loss current compensation technology has undergone years of development, and related technologies have become relatively mature, with commercial products gradually becoming popular. Relevant national standards and industry specifications have been formulated, promoting the standardization and regularization of the technology, which is conducive to the popularization and application of the technology. The line loss current compensation technology is not only applied in traditional power transmission and distribution systems but also shows broad application prospects in fields such as new energy access, microgrids, and smart grids. With the construction of smart grids and the popularization of smart devices, the line loss current compensation technology is also developing towards the intelligent direction, such as intelligent perception and intelligent control. Currently, the cost of line loss current compensation equipment is relatively high, restricting its popularization and application in some regions and scenarios, and further cost reduction is needed. Despite relevant standards and specifications, in actual applications, the technical standards and product specifications of different regions and manufacturers are not unified enough, affecting the popularization and application of the technology. The line loss current compensation equipment has high requirements for equipment performance, such as accuracy and stability, and 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 switching power supply loss compensation is a way to increase the intelligence of the switching power supply loss compensation.
[0004] For example, the 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 division adjustment module; the 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 division adjustment module; the voltage division adjustment module, the output end is connected to the target switching power supply through a voltage feedback adjustment module. This invention can reduce the common-mode voltage interference of the sampling signal by converting the output voltage sampling signal and the remote correction point voltage signal through the sampling signal conversion module; through the voltage division adjustment module independent of the voltage feedback adjustment module for voltage division adjustment to correct the output voltage of the target switching power supply, with high adjustment accuracy and good flexibility.
[0005] However, the above patents have the following problems: the above patents only solve one of the problems of switching power supply loss, and solve it by means of circuit voltage division regulation. Only a simple feedback regulation module is used to adjust the voltage division loss compensation. This will result in relatively large compensation errors. The loss compensation accuracy is higher by processing through an algorithm model. Moreover, it is impossible to select different compensation gears for different loads to perform loss compensation, and the compensation principle is relatively limited to the load, with a small application range. The overall flexibility, automation level, intelligence level, 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 part is to outline some aspects of the embodiments of the present invention and briefly introduce some preferred embodiments. Simplifications or omissions may be made in this part, as well as in the abstract and title of the present application, to avoid obscuring the purpose of this part, the abstract, and the title. However, such simplifications or omissions shall not be used to limit the scope of the present invention.
[0007] 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 loss, including:
[0008] A load compensation module for compensating the current change caused by the change of the line load.
[0009] A line loss compensation module for compensating the voltage drop generated when the current flows through the wire.
[0010] A variable resistance module for generating 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 the power switch and a model optimization unit for optimizing the current monitoring model.
[0012] An output visualization module for outputting the visualization data of the switching power supply loss compensation and transmitting it to the user interface.
[0013] As a preferred solution of the system for monitoring and compensating switching power supply loss of the present invention, among them:
[0014] The compensation for the change of the line load means the change of the load connected to the switching power supply line.
[0015] The current change means the change of the current flowing through the circuit. The line current under heavy load is larger than that under light load. The larger the current flowing through the diode, the larger the forward voltage of the diode, and the output voltage is also different under different loads.
[0016] Through the load compensation module, loss compensation is performed on the circuit with load change.
[0017] If the wire is too short, the resistance on the wire is extremely small and the voltage drop generated is 0, then the output voltage is stabilized by the load compensation module.
[0018] As a preferred solution of a system for monitoring and compensating switching power supply losses according to the present invention, wherein:
[0019] A current controlled by the magnitude of the line load current is connected to the load compensation module, and the output voltage is stabilized through the load compensation module. The expression is as follows:
[0020] VOUT = (RA + RB) / RB × VFB + ICOM × RA - VD
[0021] Wherein, VFB is the potential at the FB point, RA and RB are resistors, ICOM is the current controlled by the magnitude of 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 according to the present invention, wherein:
[0023] The calculation expression of the current controlled by the magnitude of the line load current is as follows:
[0024]
[0025] Wherein, ICOM is the current controlled by the magnitude of the line load current, V TH is the threshold voltage, μ n is the carrier mobility, C ox is the dielectric constant, is the aspect ratio of the MOS transistor, that is, the ratio of the width and length of the MOS transistor, V3 is the voltage value of the port, and E is the ground wire value taken as 0.
[0026] As a preferred solution of a system for monitoring and compensating switching power supply losses according to the present invention, wherein:
[0027] If the wire is too long, the wire has resistance, and the current flows through the wire and then generates a voltage drop. Then, the line loss compensation module compensates for the voltage drop generated by the current flowing through the wire through the switching power supply line loss circuit;
[0028] By controlling the line loss current connected to the line loss compensation module, the line loss current is compensated.
[0029] As a preferred solution of a system for monitoring and compensating switching power supply losses according to the present invention, wherein:
[0030] The variable resistance module is controlled by a MOS transistor. If the MOS transistor is in the deep triode region, it can be regarded as a variable resistance controlled by V GS control.
[0031] The variable resistor gear selection expression is as follows:
[0032]
[0033] Among them, R ON is the resistance value of the variable resistor gear, 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, is the width-to-length ratio of the MOS transistor, that is, the ratio of the width to the length of the MOS transistor.
[0034] As a preferred solution of a system for monitoring and compensating the loss of a switching power supply according to the present invention, wherein:
[0035] The current monitoring model collects the current data of the power switch line, filters and shapes the current data for preprocessing, then extracts the features of the preprocessed current data, and uses the current data after feature extraction for feature identification to enter the pooling layer for max pooling operation. The new feature value formed by the pooling operation is used as the data input to the fully connected layer to classify the current of the power switch line. After classification, the output data is used to finally establish the current monitoring model. The current data after feature extraction is marked as a data set by the model optimization unit, and then the current monitoring model is optimized;
[0036] The preprocessing is to filter and shape the current data, and the processing is performed through a shaping filter circuit;
[0037] The features of the processed current data are identified through the feature extraction, and the expression is as follows:
[0038]
[0039] Among them, f(x) is the feature value calculation function, e is the exponential constant, i is the ordinal number representing the size of the convolution kernel width, j is the ordinal number representing the size of the convolution kernel length, λ ij is the weight value of the convolution kernel with width i and length j, x ij is the current value input to the convolution kernel with width i and length j after processing, n takes a positive integer greater than 1, m is the ordinal number taking 1, 2, 3,..., and b is the error compensation;
[0040] The preprocessed current x is first processed by the convolution kernel with width i and length j to obtain x ij , and the feature value of the preprocessed current x is mapped through the feature value calculation function.
[0041] As a preferred solution of a system for monitoring and compensating the losses of a switching power supply according to the present invention, wherein:
[0042] The maximum pooling operation screens the high-level features output by the convolutional layer by establishing new eigenvalue pairs through pooling calculations. The calculation expression of the maximum pooling operation is as follows:
[0043] G = max{G1, G2,..., G n}
[0044] Wherein, 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 eigenvalue set of the pooling layer, and max{} is the function for taking the maximum value;
[0045] Recursive operations are performed with the new eigenvalue set composed of the new eigenvalues as the data basis, and feature quantities are output;
[0046] The feature quantities are used as the input of the output layer, and the new eigenvalues after the maximum pooling operation are grouped into a new set and input into the current monitoring model, thereby completing the monitoring and prediction of the power switch line loss compensation current;
[0047] The model optimization unit fits the actual value of the power switch line loss compensation current and the predicted value output by the current monitoring model through a loss function, and calculates the minimum loss value. The calculation expression of the loss function is as follows:
[0048]
[0049] Wherein, is the loss value output by the loss function, I p is the pth group of current prediction values output by the current monitoring model, p takes the ordinal numbers 1, 2, 3,..., n, I s is the actual current value of the power switch compensation line, n takes a positive integer greater than 1, and min{} is the function for taking the minimum value;
[0050] If the difference between the actual current value of the power switch compensation line and the predicted current value is outside the normal range, the current monitoring model is adjusted by the model optimization unit, and after the adjustment, the process of the current monitoring model and the calculation of the deviation value is executed again until the difference between the actual current value of the power switch compensation line monitored by the current monitoring model and the predicted current value is within the normal range;
[0051] The model optimization unit calculates the gradients of the power switch loss currents at time t + 1 and time t by selecting r power switch loss current sample data, and updates and corrects the expectation of the random variable of the r selected power switch loss sample data, and finally completes the update of the weights;
[0052] The switching power supply loss, the switching power supply loss compensation type, and the switching power supply loss compensation value are transmitted to the user interface as visualization data through the output visualization module.
[0053] A method for monitoring and compensating the switching power supply loss includes:
[0054] S1. Determine the method of compensating the line loss of the switching power supply;
[0055] S2. If the switching power supply line is connected to different loads and the line loss caused by the load is too large, the output voltage is made not to change with the load by load compensation;
[0056] S3. If the switching power supply line is too long and the current flowing through the wire 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 methods of compensating the line loss of the switching power supply, different compensation gears can be selected by the variable resistor;
[0058] S5. Monitor the current of the switching power supply line after compensating 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] Advantages of the present invention:
[0061] A switching power supply loss monitoring system proposed by the present invention monitors the switching power supply loss compensation situation through machine learning, making the electric loss compensation intelligent, automated, and autonomous. Further reducing the errors and costs of manual detection, and the accuracy of adjusting the switching power supply loss ratio through the monitoring model algorithm is higher than that relying only on the feedback adjustment of the hardware circuit, with a wider application range and smaller error compensation loss. It truly realizes the remote monitoring and control of the switching power supply loss compensation. Description of the Drawings
[0062] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts. Among them:
[0063] Figure 1 It is the system composition diagram of a system for monitoring and compensating the switching power supply loss of the present invention;
[0064] Figure 2Flow chart of a method for monitoring and compensating the losses of a switching power supply according to the present invention;
[0065] Figure 3 Schematic circuit diagram of the output voltage VOUT of the switching power supply loss compensation of a system for monitoring and compensating the losses of a switching power supply according to the present invention;
[0066] Figure 4 Schematic main circuit diagram of the switching power supply loss compensation of a system for monitoring and compensating the losses of a switching power supply according to the present invention;
[0067] Figure 5 Schematic circuit diagram of the variable resistor module of a system for monitoring and compensating the losses of a switching power supply according to the present invention. Detailed implementation manners
[0068] To make the above objects, features, and advantages of the present invention more apparent and understandable, the following detailed description of the specific implementation manners of the present invention will be given in conjunction with the accompanying drawings of the specification.
[0069] In the following description, many specific details are set forth to facilitate a thorough understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein. Those skilled in the art can make similar generalizations without departing from the spirit of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.
[0070] Secondly, the so-called "one embodiment" or "embodiment" herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation manner of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments.
[0071] Embodiment 1:
[0072] As Figure 1 shown, a system for monitoring and compensating the losses of a switching power supply includes:
[0073] A load compensation module for compensating the current change caused by the change of the line load;
[0074] Among them, since the switching power supply line is connected to different loads, the current flowing through the circuit is different. The line current during heavy load is larger than that during light load. And the larger the current passing through the diode, the larger VD is, and the output voltage is also different under different loads. Therefore, through the load compensation module, the circuits with different loads are compensated. If the wire is too short, the resistance on the wire is extremely small, and the voltage drop generated can be ignored. Then, through the load compensation module, the output voltage does not change with the load size.
[0075] As Figure 3As shown, by pulling a current ICOM controlled by the magnitude of the line load current from the FB terminal, the output voltage is compensated such that VOUT = (RA + RB) / RB × VFB + ICOM × RA - VD, enabling the line to output a stable voltage under different loads.
[0076] Among them, VFB is the potential at the FB point, RA and RB are resistors, ICOM is the current controlled by the magnitude of the line load current, VD is the voltage between the FB point and the ground wire, and VOUT is the stable output voltage value of the load compensation module.
[0077] The line loss compensation module is used to compensate for the voltage drop generated when the current flows through the wire.
[0078] If the wire is too long and the wire has a certain resistance, and a voltage drop is generated when the current flows through the wire, the line loss compensation module compensates for the voltage drop generated when the current flows through the wire through the switching power supply line loss circuit.
[0079] Furthermore, as Figure 4 shown, it is the switching power supply line loss compensation circuit. VEA is a voltage signal positively correlated with the line load current, and it is connected to the voltage VREF1 at both ends of a differential pair. The larger VEA is, the larger the voltage V1 at port 1 is, and the larger the voltage V3 at port 3 is. V1 limits the magnitude of V3 after stabilization. The voltage V3 acts on the MOS transistor M7 to control the magnitude of the current pulled from the FB terminal. The expression of the current controlled by the magnitude of the line load current is as follows:
[0080]
[0081] Among them, ICOM is the current controlled by the magnitude of 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 transistor, that is, the ratio of the width and length of the MOS transistor. V3 is the voltage value at port 3, and E is the ground wire value taken as 0.
[0082] The variable resistor module is used to generate different compensation amounts for different power supply switch line losses;
[0083] Among them, it is controlled by a MOS transistor. When the MOS transistor is in the deep triode region, it can be regarded as a variable resistor controlled by V GS , and the expression is as follows:
[0084]
[0085] 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 is the width-to-length ratio of the MOS transistor, that is, the ratio of the width to the length of the MOS transistor
[0086] such as Figure 5 As shown, M1 and M4 are MOS transistors with the same size, M2 and M3 are MOS transistors with the same size, their gates are connected to the upper end of the resistor R0, and the gate voltage VG = I1 × R0. The gate voltage provided by the resistor R0 satisfies V GS -V TH > V1 - 0, V GS -V TH > V2 - 0, making the MOS transistor in the linear region, and the input resistances at the 1 end and the 2 end are variable resistances controlled by I1 × R0
[0087] The switches S1 and S2 are controlled by a control signal, and can make the two switches simultaneously switched to the 3 end and the 5 end, M1 and M3 are turned on, the equivalent input resistance at the 1 end is R1, the equivalent input resistance at the 2 end is R2, and R1 = R2; or simultaneously switched to the 4 end and the 6 end, M2 and M4 are turned on, the equivalent input resistance at the 1 end is R1', the equivalent input resistance at the 2 end 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, thereby generating different compensation amounts and achieving different compensation effects
[0088] The line loss current compensation monitoring module includes a current monitoring model for monitoring the power switch line loss compensation current and a model optimization unit for optimizing the current monitoring model
[0089] Among them, by collecting the power switch line current data, filtering and shaping preprocessing are performed on the current data, then feature extraction is performed on the preprocessed current data, and the current data after feature extraction is feature-identified and enters the pooling layer for max-pooling operation. The new feature value formed by the pooling operation is used as the data input to the fully connected layer to classify the power switch line current, and the data is output after classification. Finally, a current monitoring model is established, and the current data after feature extraction is marked as a data set by the model optimization unit, and then the current monitoring model is optimized
[0090] Furthermore, filtering and shaping are performed on the current data, and the processing is performed through a shaping filter circuit for processing noise interference and redundant data collected
[0091] Furthermore, feature extraction is used to perform feature identification on the processed current data, and the expression is as follows
[0092]
[0093] 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, and x ij is the current value after being processed by the convolution kernel with width i and length j. n takes positive integers greater than 1, m is the ordinal number taking 1, 2, 3,..., and b is the error compensation;
[0094] The preprocessed current x is first processed by the convolution kernel with width i and length j to obtain x ij , and the eigenvalue of the preprocessed current x is mapped through the eigenvalue calculation function.
[0095] Furthermore, the max pooling operation performs pooling calculation to establish new eigenvalues to screen the high-level features output by the convolutional layer. The calculation expression of the max pooling operation is as follows:
[0096] G = max{G1, G2,..., G n}
[0097] Among them, G is the new eigenvalue output by the max 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 eigenvalue set of the pooling layer, and max{} is the function to take the maximum value;
[0098] Perform recursive operations with the new eigenvalue set as the data basis and output the feature quantity;
[0099] The feature quantity is used as the input of the output layer, and the new eigenvalues after the max pooling operation are formed into a new set and input into the current monitoring model, thereby completing the monitoring and prediction of the power switch line loss compensation current;
[0100] The model optimization unit fits 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, and calculates the minimum loss value. The calculation expression of the loss function is as follows:
[0101]
[0102] Among them, is the loss value output by the loss function, I p is the pth group of current prediction values output by the current monitoring model, p takes the ordinal numbers 1, 2, 3,..., n, I s is the actual current value of the power switch compensation line, n takes positive integers greater than 1, and min{} is the function to take the minimum value;
[0103] If the difference between the actual current value and the predicted current value of the power switch compensation circuit is outside the normal range, the current monitoring model is adjusted by the model optimization unit. After the adjustment, the process of the current monitoring model and calculating the deviation value is 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;
[0104] The model optimization unit calculates the gradient of the power switch loss current at time t + 1 and time t by selecting r power switch loss current sample data, and updates and corrects the expectation of the random variable of the r selected power switch loss sample data, and finally completes the update of the weight.
[0105] Furthermore, the current monitoring model reserves a port for the model optimization unit to optimize the current monitoring model;
[0106] The switching power supply loss, the switching power supply loss compensation type, and the switching power supply loss compensation value are transmitted to the user interface through the output visualization module via visual data.
[0107] Embodiment 2:
[0108] As Figure 2 shown, a method for monitoring and compensating switching power supply loss includes:
[0109] S1. Determine the method of compensating the switching power line loss;
[0110] S2. If the switching power supply circuit is connected to different loads and the line loss caused by the load is too large, the output voltage is made not to change with the load by load compensation;
[0111] S3. If the switching power supply circuit has a long connection line and the current flowing through the wire generates a voltage drop, the voltage drop generated by the current flowing through the wire is compensated by line loss compensation;
[0112] S4. By judging different methods of compensating the switching power line loss, the variable resistor selects different compensation levels;
[0113] S5. Monitor the current of the switching power supply circuit after compensating the switching power supply loss;
[0114] S6. Optimize the current monitoring model through real-time data and continuously adjust the switching power supply compensation through current monitoring.
[0115] Embodiment 3:
[0116] In this embodiment, an electronic device is provided, including a memory and a processor. The memory is used to store instructions, and the processor is used to execute the instructions so that the device executes the method for monitoring and compensating the switching power supply loss described above.
[0117] Example 4:
[0118] A computer-readable storage medium having a rewritable computer program stored thereon;
[0119] When the computer program runs on a computer device, the computer device is caused to execute the above method for monitoring and compensating the loss of a switching power supply.
[0120] Importantly, it should be noted that the construction and arrangement of the present application shown in multiple different exemplary embodiments are merely illustrative. Although only two embodiments are described in detail in this disclosure, those skilled in the art who refer to this disclosure should readily understand that many modifications are possible without substantially departing from the novel teachings and advantages of the subject matter described in this application. For example, various dimensions, scales, structures, shapes and proportions of elements, as well as parameter values (such as temperature, pressure, etc.), installation arrangements, use of materials, color, orientation changes, etc. For example, an element shown as integrally formed may be composed of multiple parts or elements, the position of the element may be inverted or otherwise changed, and the nature, number or position of discrete elements may be changed or altered. Therefore, all such modifications are intended to be included within the scope of the present invention. The order or sequence of any process or method steps may be changed or reordered according to alternative embodiments. Any "means-plus-function" clause is intended to cover the structures that perform the functions described herein, and not only structural equivalents but also equivalent structures. Other substitutions, modifications, changes and omissions may be made in the design, operating conditions and arrangement of the exemplary embodiments without departing from the scope of the present invention. Therefore, the present invention is not limited to a particular embodiment, but extends to various modifications that still fall within the scope of the appended claims.
[0121] In addition, in order to provide a concise description of the exemplary embodiments, all features of the actual embodiments may not be described (i.e., those features that are not relevant to the currently considered best mode of implementing the present invention or those features that are not relevant to the implementation of the present invention).
[0122] It should be understood that in the development of any actual implementation, as in any engineering or design project, a large number of specific implementation decisions may be made. Such development efforts may be complex and time-consuming, but for those of ordinary skill in the art who benefit from this disclosure, without excessive experimentation, the development efforts will be a routine task of design, manufacturing and production.
[0123] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered by 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; The variable resistor module adjusts the equivalent resistance value of the input end by switching the combination of MOS tubes of different sizes and utilizing the variable resistance characteristics of the deep triode region, wherein the MOS tubes of different width-to-length ratios are connected through switches to control the resistance value of the variable resistor gear at the access end; 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, The width-to-length ratio of the MOS tube is the ratio of the width to the length of the MOS tube; 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 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 line, n is a positive integer greater than 1, 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 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 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 a positive integer greater than 1, 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.
7. A switching power supply loss monitoring and compensation system according to claim 6, 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 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.
8. 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 7, 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
Switching power supply far-end compensation circuit and switching power supply
CN113852274A
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