A dynamic overcurrent protection method, device, apparatus and storage medium

By dynamically updating the overcurrent protection threshold of the voltage conversion chip, the problem of poor flexibility caused by the fixed overcurrent protection threshold in the existing technology is solved, timely protection under different load requirements is achieved, and the applicability and safety of the voltage conversion chip are improved.

CN120566353BActive Publication Date: 2025-10-14INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511072396.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-10-14
Estimated Expiration
2045-07-31

AI Technical Summary

Technical Problem

In existing overcurrent protection schemes, the overcurrent protection threshold is fixed and cannot be flexibly adjusted, resulting in the inability to trigger protection in time when facing different load demands, posing a risk of circuit damage and high maintenance costs.

Method used

By processing the output current data of the voltage conversion chip, dynamically updating the overcurrent protection threshold, adjusting the overcurrent protection threshold according to the load feedback current, and combining the visual interface display and control instructions, a flexible protection mechanism is realized.

Benefits of technology

It realizes automatic adjustment of the overcurrent protection threshold according to load changes, improves the versatility and applicability of the voltage conversion chip, avoids circuit damage caused by mismatch of protection thresholds, and enhances the safety and intelligence level of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120566353B_ABST
    Figure CN120566353B_ABST
Patent Text Reader

Abstract

The application discloses a dynamic overcurrent protection method and device, equipment and a storage medium, and relates to the technical field of overcurrent protection. The method comprises the following steps: performing data processing on the output current data of a voltage conversion chip obtained through sampling to obtain a load feedback current, updating the overcurrent protection threshold of the voltage conversion chip according to the load feedback current, wherein the greater the load feedback current is, the greater the overcurrent protection threshold is, comparing the updated overcurrent protection threshold with a real-time detected load current, and outputting an overcurrent protection control instruction when the load current is greater than the overcurrent protection threshold. The application can automatically adjust the overcurrent protection threshold according to the real-time change of the load current, has good flexibility, is suitable for various load change or load upgrade scenes, and improves the universality and applicability of the voltage conversion chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of overcurrent protection technology, and in particular to a dynamic overcurrent protection method, device, equipment and storage medium. Background Art

[0002] In the design of server power supply links, in order to ensure the reliability of the power supply system, voltage conversion chips with overcurrent protection (OCP) and short circuit protection (SCP) functions are usually used. Such chips use external resistors to Set current limit , capable of real-time monitoring of output current. Once the current exceeds the set threshold, the control circuit inside the chip will respond quickly, reducing the output voltage and current, effectively preventing damage to the chip and load caused by overcurrent or short circuit.

[0003] However, in practical applications, the overcurrent protection thresholds of voltage conversion chips are mostly fixed. Due to the wide variety of loads used in server power supply scenarios, their operating current spans a wide range, which limits the fixed-threshold protection mechanism. When the load's normal operating current is far below the preset overcurrent protection threshold, if an abnormal overcurrent condition occurs, the overcurrent protection mechanism cannot be triggered in time due to the overly high overcurrent protection threshold, potentially damaging the chip and the load. Therefore, existing overcurrent protection solutions lack flexibility and cannot be adjusted flexibly to provide timely protection in response to varying load demands. Summary of the Invention

[0004] The present application provides a dynamic overcurrent protection method, device, equipment and storage medium to at least solve the problem that the overcurrent protection scheme in the related art is poor in flexibility and cannot flexibly adjust the overcurrent protection threshold to provide timely protection when facing different load requirements.

[0005] This application provides a dynamic overcurrent protection method applied to a voltage conversion chip, including:

[0006] Processing the sampled output current data of the voltage conversion chip to obtain the load feedback current;

[0007] updating the overcurrent protection threshold of the voltage conversion chip according to the load feedback current, wherein the greater the load feedback current, the greater the overcurrent protection threshold;

[0008] The updated overcurrent protection threshold is compared with the load current detected in real time, and when the load current is greater than the overcurrent protection threshold, an overcurrent protection control instruction is output.

[0009] The present application also provides a dynamic overcurrent protection device, comprising:

[0010] A data processing module is used to process the sampled output current data of the voltage conversion chip to obtain a load feedback current;

[0011] An overcurrent protection threshold update module is used to update the overcurrent protection threshold of the voltage conversion chip according to the load feedback current, wherein the greater the load feedback current, the greater the overcurrent protection threshold;

[0012] The protection execution module is used to compare the updated overcurrent protection threshold with the load current detected in real time, and output an overcurrent protection control instruction when the load current is greater than the overcurrent protection threshold.

[0013] The present application also provides an electronic device, comprising: a memory for storing a computer program;

[0014] A processor is used to implement the steps of any of the above-mentioned dynamic overcurrent protection methods when executing a computer program.

[0015] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the above-mentioned dynamic overcurrent protection methods are implemented.

[0016] In this application, the load feedback current is obtained by processing the sampled output current data, and then the overcurrent protection threshold of the voltage conversion chip is updated according to the load feedback current. The overcurrent protection threshold can be automatically adjusted according to the real-time changes of the load current. It has good flexibility and does not require manual intervention. It is suitable for a variety of load change or load upgrade scenarios, which improves the versatility and applicability of the voltage conversion chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] Figure 1 This is a schematic diagram of an overcurrent protection circuit for a voltage conversion chip in the related art;

[0019] Figure 2 This is a voltage output principle diagram of a voltage conversion chip in the related art;

[0020] Figure 3 This is a flow chart of a dynamic overcurrent protection method according to an embodiment of the present application;

[0021] Figure 4This is a logic diagram for selecting gain parameters in the embodiment of the present application;

[0022] Figure 5 Schematic diagram of the framework of the dynamic overcurrent protection method in the embodiment of the present application;

[0023] Figure 6 This is a display effect diagram of the visual interface in the embodiment of this application;

[0024] Figure 7 This is a flow chart of the dynamic adjustment of the overcurrent protection threshold in an embodiment of the present application;

[0025] Figure 8 This is a schematic structural diagram of a dynamic overcurrent protection device in an embodiment of the present application;

[0026] Figure 9 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0028] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0029] At present, the overcurrent protection circuit principle diagram of the voltage conversion chip used in the server board is as follows: Figure 1 As shown in the figure, a fixed overcurrent protection threshold is set by configuring the resistor of the OCP pin of the voltage conversion chip.

[0030] Figure 2This is the voltage output principle of a buck voltage converter chip. Buck voltage converters are a type of voltage converter chip that typically integrates an error amplifier and PWM controller. By controlling the ratio of the switch's on-time to off-time, a buck output is achieved using inductive energy storage and capacitor filtering. Simultaneously, the output voltage is sampled and compared with a reference voltage to dynamically adjust the duty cycle to maintain a stable output voltage. When the buck voltage converter chip is enabled, the overcurrent protection function is activated. During the conduction period of the first transistor (LS-FET), the switch node current (SW current) is detected and mirrored at a fixed ratio to obtain the load feedback voltage (Vcs), enabling cycle-by-cycle current sensing. Only when the load feedback voltage falls below the voltage corresponding to the overcurrent protection threshold does the second transistor (HS-FET) turn on, thereby limiting the output current on a cycle-by-cycle basis.

[0031] The above-mentioned overcurrent protection scheme has poor flexibility and potential risks. Different applications may require different maximum output currents. The overcurrent protection threshold is fixed, and the voltage conversion chip cannot be flexibly adjusted to provide optimal performance or protection when facing different load requirements. In hardware design, in order to be compatible with the current requirements of different loads, the overcurrent protection threshold is usually set based on the maximum load current. When the load current in a certain application scenario is far lower than the set overcurrent protection threshold, if an abnormal overcurrent occurs, the protection mechanism cannot be triggered in time because the overcurrent protection threshold is set too high, resulting in circuit overheating or even burning.

[0032] In addition, when the system is upgraded or the load type is changed, the fixed overcurrent protection threshold may no longer be applicable, requiring the power module to be replaced or reconfigured, increasing maintenance costs and time.

[0033] In view of this, embodiments of the present application provide a dynamic overcurrent protection method for use in voltage conversion chips. Voltage conversion chips, including but not limited to boost converters and buck converters, provide stable and reliable power supply support for various electronic devices by converting input voltage to the required output voltage.

[0034] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0035] The embodiment of the present application provides a dynamic overcurrent protection method, such as Figure 3 Shown, including:

[0036] Step S301 : Processing the sampled output current data of the voltage conversion chip to obtain a load feedback current.

[0037] Specifically, a suitable method is selected according to a specific application scenario to detect the output current of the voltage conversion chip , and output current data is obtained.

[0038] The current detection method includes, but is not limited to, a current sampling resistor method, a current mirror method, a Hall effect sensor method, an inductance current detection method, or a switching tube current detection method, etc.

[0039] In an example, the output current data is sampled by the current mirror method, and the variation trend of the load current is predicted by calculating the sampled output current data.

[0040] The output current data is corrected to obtain a load feedback current , so that the load feedback current can more accurately represent the load current.

[0041] In step S302, the overcurrent protection threshold of the voltage conversion chip is updated according to the load feedback current, wherein the greater the load feedback current, the greater the overcurrent protection threshold.

[0042] Specifically, the overcurrent protection threshold is dynamically adjusted and updated according to a preset rule. The update period can be set according to actual needs, that is, the overcurrent protection threshold is updated according to the load feedback current obtained in step S301 every interval.

[0043] Generally, the maximum output current required by the load, that is, the overcurrent protection threshold, is related to the load current. The greater the load current, the greater the overcurrent protection threshold needs to be set. The present application obtains the load feedback current representing the size of the load current through sampling and data processing , and dynamically updates the overcurrent protection threshold according to the load feedback current , so that the overcurrent protection threshold increases with the increase of the load feedback current , and decreases with the decrease of the load feedback current .

[0044] In step S303, the updated overcurrent protection threshold and the real-time detected load current are compared, and when the load current is greater than the overcurrent protection threshold, an overcurrent protection control instruction is output.

[0045] Specifically, the voltage conversion chip applying the dynamic overcurrent protection method of the present application detects the load current in real time when overcurrent protection is performed, compares the load current with the updated overcurrent protection threshold, and triggers the protection mechanism in time when the load current is greater than the overcurrent protection threshold, disconnects the circuit, and realizes overcurrent protection.

[0046] The overcurrent protection control instruction includes an instruction for controlling the load access switch to be disconnected, an instruction for controlling the power supply switch, or an overcurrent alarm signal, etc.

[0047] This application automatically adjusts the overcurrent protection threshold according to the real-time changes in the load current, so that it can flexibly adjust to provide optimal performance or protection when facing different load requirements, avoiding the situation where the overcurrent protection threshold setting does not match the actual load demand and the protection mechanism cannot be triggered in time, resulting in circuit overheating or even burning.

[0048] The dynamic overcurrent protection method of the present application has the advantages of good flexibility and no need for manual intervention. It is applicable to various load change or load upgrade scenarios, and improves the versatility and applicability of the voltage conversion chip.

[0049] In some embodiments, step S301, processing the sampled output current data of the voltage conversion chip to obtain a load feedback current, includes:

[0050] Step S3011 : calculating the average current within a plurality of current cycles based on the sampled output current data of the voltage conversion chip.

[0051] The current cycle refers to the time interval from when the current starts from a starting point, goes through a complete change process, and then returns to the same state.

[0052] The number n of sampled current cycles can be customized by the user according to the application scenario, for example, it can be 4, 5, 6, etc.

[0053] Step S3012: Determine the load feedback current according to the average current and the peak current in the output current data.

[0054] Step S3012 includes:

[0055] Determine whether the maximum value and the minimum value of the peak current in the output current data are both within a discrete interval of the average current, where the upper boundary of the discrete interval is the sum of the average current and the discrete parameter, and the lower boundary of the discrete interval is the difference between the average current and the discrete parameter;

[0056] The value of the load feedback current is determined to be the average current, the maximum value of the peak current, or the minimum value of the peak current according to the judgment result.

[0057] The peak current in the output current data includes a maximum value Max and a minimum value Min.

[0058] If the maximum value Max of the peak current and the minimum value Min of the peak current are both within the discrete interval, the load feedback current is equal to the average current;

[0059] If the maximum value Max of the peak current is greater than the upper boundary of the discrete interval and the duration is greater than the first preset duration, the load feedback current is equal to the maximum value Max of the peak current;

[0060] If the minimum value Min of the peak current is less than the lower boundary of the discrete interval and the duration is greater than the first preset duration, the load feedback current is equal to the minimum value Min of the peak current;

[0061] If the maximum value Max of the peak current is greater than the upper boundary of the discrete interval but the duration is less than or equal to the first preset duration, or the minimum value Min of the peak current is less than the lower boundary of the discrete interval but the duration is less than or equal to the first preset duration, then the load feedback current is equal to the average current.

[0062] In one example, the number of current cycles n is 5, and the average current of the output current data in 5 consecutive cycles is calculated. .

[0063] Analyzing Peak Current with Respect to Average Current The discrete distribution, average current The discrete interval of , ),in, is a discrete parameter, discrete parameter It can be obtained from past data analysis or set by the user.

[0064] Determine the average current Is it within the preset operating current range? If the calculated average current If the current is not within the preset range, an abnormal alarm will be issued.

[0065] If the calculated average current If the peak current data collected are all within the discrete interval within the preset operating current range, it is considered that the load feedback current at this stage is Equal to the average current , output load feedback current And proceed to step S302.

[0066] If the calculated average current In the preset working current range, if the maximum value Max of the peak current exceeds the discrete interval, that is, the maximum value Max of the peak current is greater than the upper boundary of the discrete interval, then a summary analysis is performed on such maximum value Max. If the duration exceeds the first preset time length T, it is considered that the average current in this stage is Equal to the maximum value of the peak current Max, if the continuous duration does not exceed the first preset duration T, then ignore these data, and it is considered that the load feedback current in this stage Equal to the average current . Output load feedback current Then, the process proceeds to step S302 , wherein the first preset time duration T is the time for the voltage conversion chip to detect the effective current.

[0067] If the calculated average current In the preset working current range, if the minimum value Min of the peak current exceeds the discrete interval, that is, the minimum value Min of the peak current is less than the lower boundary of the discrete interval, then a summary analysis is performed on such minimum value Min. If the duration exceeds the first preset duration T, it is considered that the average current in this stage is Equal to the minimum value Min of the peak current. If the continuous duration does not exceed the first preset duration T, these data are ignored and it is considered that the load feedback current in this stage is Equal to the average current . Output load feedback current And proceed to step S302.

[0068] This application passes the average current The judgment logic of the discrete interval can make targeted load feedback current adjustments for different types of load current characteristics (such as sudden peak current or continuous high current), further improving the adaptability of the protection strategy and ensuring that the load feedback current can accurately reflect the actual demand of the load under various current changes. It provides an accurate reference for subsequent overcurrent protection and effectively avoids untimely protection and inability to adapt to load changes.

[0069] In some embodiments, step S302, updating the overcurrent protection threshold of the voltage conversion chip according to the load feedback current, includes:

[0070] Step S3021 , calculating the load feedback voltage according to the load feedback current and the sampling resistor of the output current data.

[0071] Among them, the resistor The resistance to ground of the current sense input pin (Current Sense, CS) of the voltage conversion chip is It can be set inside the voltage conversion chip or by the user at an external pin. Converted to load feedback voltage , which is convenient for subsequent logical comparison.

[0072] Step S3022 : comparing the load feedback voltage and the preset reference voltage, and determining a gain parameter based on the comparison result, wherein the greater the load feedback voltage, the greater the gain parameter.

[0073] Among them, the preset reference voltage Can be set by the user to preset the reference voltage Can be one or more different values ​​by presetting the reference voltage The load feedback voltage It is divided into different gear intervals, each gear interval corresponds to a gain parameter value. When the load feedback voltage The larger the gear range, the larger the corresponding gain parameter.

[0074] It should be understood that the preset reference voltage Can be set by the user, and the preset reference voltage can be adjusted as needed The number of gain parameters can be adjusted more accurately and the overcurrent protection can be more precise.

[0075] In some embodiments, the preset reference voltage Including a first preset reference voltage and a second preset reference voltage , the first preset reference voltage Greater than the second preset reference voltage , correspondingly, the gear interval is set to 3, and the gain parameter includes the first preset gain parameter , the second preset gain parameter and the third preset gain parameter .

[0076] Comparing load feedback voltage , the first preset reference voltage and a second preset reference voltage If the load feedback voltage Greater than the first preset reference voltage , then the gain parameter is equal to the first preset gain parameter ; If the load feedback voltage Less than the first preset reference voltage and is greater than the second preset reference voltage , then the gain parameter is equal to the second preset gain parameter ; If the load feedback voltage Less than the second preset reference voltage , then the gain parameter is equal to the third preset gain parameter , where the first preset gain parameter Greater than the second preset gain parameter , the second preset gain parameter Greater than the third preset gain parameter For example, the first preset gain parameter Equal to 6, the second preset gain parameter Equal to 4, the third preset gain parameter Equal to 2.

[0077] The logic for selecting the gain parameters is as follows: Figure 4 As shown, when the load feedback voltage >First preset reference voltage When A outputs high level, B and C output low level, the first preset gain parameter When the second preset reference voltage <Load feedback voltage <First preset reference voltage When A outputs low level, it outputs high level through the inverter, C outputs high level, and the two output high level through the AND gate logic at B. The second preset gain parameter Take effect; when the load feedback voltage <Second preset reference voltage When A, B and C all output low level, the third preset gain parameter The selection and comparison functions of the gain parameters are shown in Table 1.

[0078] Table 1 Gain parameter selection comparison function table

[0079]

[0080] Step S3023: Calculate and update the overcurrent protection threshold of the voltage conversion chip according to the gain parameter.

[0081] Specifically, the overcurrent protection threshold of the voltage conversion chip is calculated and updated according to the threshold calculation formula. The threshold calculation formula is:

[0082]

[0083] Where, is the overcurrent protection threshold, For the preset protection voltage, Set the resistor for the threshold, is the gain parameter, is the circuit constant.

[0084] Among them, the preset protection voltage and threshold setting resistors The circuit constant is the value preset by the user. It is mainly determined by the circuit's input voltage, output voltage, inductance and operating frequency, and is also a fixed value for specific operating conditions.

[0085] This application is based on the load feedback voltage Combined with the preset reference voltage to switch the gain parameters, and the threshold calculation formula is used to make the update process of the overcurrent protection threshold more standardized. The gain parameter in the formula can be flexibly adjusted according to different application scenarios. The overcurrent protection threshold can be set while maintaining the threshold resistance. By dynamically setting different overcurrent protection thresholds without changing the load, the dynamic overcurrent protection method has good scalability and is suitable for various scenarios of load changes or load upgrades, thereby improving the versatility and applicability of the voltage conversion chip.

[0086] At the same time, the number of preset reference voltages can be flexibly set, giving users more choices and more accurate overcurrent protection.

[0087] In some embodiments, as Figure 5 As shown, in step S302, after the overcurrent protection threshold of the voltage conversion chip is calculated and updated according to the gain parameter, the following steps are included:

[0088] Output current data, load feedback current , load feedback voltage , preset reference voltage , gain parameter and overcurrent protection threshold One or more of the above are output to the visualization interface and displayed through the visualization interface.

[0089] Specifically, if Figure 6 As shown, the parameters involved in the processes of current sampling, data processing, and threshold adjustment are displayed on a visual interface. The current current situation is displayed through the visual interface, and the user-defined parameters can be edited and adjusted through the interface, providing users with intuitive data display and a more transparent operation experience, so that users can better understand the working conditions of the system and can quickly adjust parameters to achieve the best protection effect.

[0090] The following describes the dynamic overcurrent protection method of the present application based on a specific scenario.

[0091] Assume that in a voltage conversion scenario, the input voltage =12V, output voltage =3.3V, current frequency f=600kHz, output inductor L=3.3uH, maximum output current capability is 20A, load current range under different configurations is 3A-16A, Vocp=1.2V, threshold setting resistor =0.5kΩ, using resistor =0.2Ω, the first preset reference voltage =2V, the second preset reference voltage =1V, set the circuit constant =1.2, the dynamic adjustment process of the overcurrent protection threshold is as follows Figure 7 shown.

[0092] The voltage conversion chip uses the current mirror method to output current Detect and obtain output current data.

[0093] Defining discrete parameters =0.5, the number of current acquisition cycles n=5, the output load feedback current after processing =8.1A.

[0094] According to the preset gain parameter determination logic, the effective gain parameter is the second preset gain parameter =5.0, at this time the overcurrent protection point of the circuit, that is, the overcurrent protection threshold, is 13.2A.

[0095] As long as the enable pin of the voltage conversion chip is at a high level, the voltage conversion chip is in an active state, and the above process continues to cycle.

[0096] In subsequent continuous cycles, if the output load feedback current is processed =4A, the effective gain parameter is the third preset gain parameter =2.0, the overcurrent protection threshold is 6A, if the output load feedback current is processed =12.5A, the effective gain parameter is the first preset gain parameter =9.0, at this time the overcurrent protection threshold of the circuit is 22.8 A. Furthermore, the present application can automatically adjust the overcurrent protection threshold according to the real-time changes of the load current, thereby improving the versatility and applicability of the voltage conversion chip.

[0097] According to the above embodiments, the present application has at least the following beneficial effects:

[0098] 1. Strong adaptability: By automatically adjusting the overcurrent protection threshold according to real-time changes in load current, it can flexibly adjust to provide optimal performance or protection when facing different load requirements without manual intervention. It is suitable for a variety of load change or load upgrade scenarios, improving the versatility and applicability of the voltage conversion chip.

[0099] 2. Rapid protection response: When a low load current is detected, the overcurrent protection threshold is automatically lowered, which can detect abnormal short circuits earlier and quickly cut off the power supply. This effectively avoids the problem of burning the board caused by setting the overcurrent protection threshold too high, and effectively improves the safety and reliability of the system.

[0100] 3. High degree of intelligence: The overcurrent protection threshold is dynamically adjusted through the threshold calculation formula to ensure the best protection effect under different load conditions. The various parameters are displayed and adjusted through a visual interface, enhancing the intelligence level of the voltage conversion chip.

[0101] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0102] The embodiment of the present application also provides a dynamic overcurrent protection device, such as Figure 8 Shown, including:

[0103] The data processing module 801 is used to process the sampled output current data of the voltage conversion chip to obtain the load feedback current;

[0104] An overcurrent protection threshold updating module 802 is configured to update the overcurrent protection threshold of the voltage conversion chip according to the load feedback current, wherein the greater the load feedback current, the greater the overcurrent protection threshold;

[0105] The protection execution module 803 is used to compare the updated overcurrent protection threshold with the load current detected in real time, and output an overcurrent protection control instruction when the load current is greater than the overcurrent protection threshold.

[0106] In some embodiments, the data processing module 801 includes:

[0107] An average current calculation module is used to calculate the average current within several current cycles based on the output current data of the voltage conversion chip obtained by sampling;

[0108] The load feedback current determination module is used to determine the load feedback current according to the average current and the peak current in the output current data.

[0109] In some embodiments, the load feedback current determination module includes:

[0110] A discrete interval judgment module is used to judge whether the maximum value and the minimum value of the peak current in the output current data are both within the discrete interval of the average current, wherein the upper boundary of the discrete interval is the sum of the average current and the discrete parameter, and the lower boundary of the discrete interval is the difference between the average current and the discrete parameter;

[0111] The current selection module is used to determine the value of the load feedback current as the average current, the maximum value of the peak current or the minimum value of the peak current according to the judgment result.

[0112] In some embodiments, the overcurrent protection threshold updating module 802 includes:

[0113] A load feedback voltage calculation module is used to calculate the load feedback voltage based on the load feedback current and the sampling resistor of the output current data;

[0114] The gain parameter determination module is used to compare the load feedback voltage and the preset reference voltage, and determine the gain parameter based on the comparison result, wherein the larger the load feedback voltage, the larger the gain parameter.

[0115] The overcurrent protection threshold calculation module is used to calculate and update the overcurrent protection threshold of the voltage conversion chip according to the gain parameter.

[0116] In some embodiments, the gain parameter determination module includes:

[0117] a reference voltage comparison module, configured to compare the load feedback voltage, a first preset reference voltage, and a second preset reference voltage, wherein the preset reference voltages include the first preset reference voltage and the second preset reference voltage, and the first preset reference voltage is greater than the second preset reference voltage;

[0118] A gain parameter selection module is configured to: if the load feedback voltage is greater than a first preset reference voltage, the gain parameter is equal to the first preset gain parameter; if the load feedback voltage is less than the first preset reference voltage and greater than a second preset reference voltage, the gain parameter is equal to the second preset gain parameter; if the load feedback voltage is less than the second preset reference voltage, the gain parameter is equal to the third preset gain parameter, wherein the first preset gain parameter is greater than the second preset gain parameter, and the second preset gain parameter is greater than the third preset gain parameter.

[0119] In some embodiments, the overcurrent protection threshold calculation module is used to calculate and update the overcurrent protection threshold of the voltage conversion chip according to the threshold calculation formula. The threshold calculation formula is:

[0120]

[0121] Where, is the overcurrent protection threshold, For the preset protection voltage, Set the resistor for the threshold, is the gain parameter, is the circuit constant.

[0122] In some embodiments, the dynamic overcurrent protection further comprises:

[0123] The visualization output module is used to output one or more of the output current data, load feedback current, load feedback voltage, preset reference voltage, gain parameter and overcurrent protection threshold to a visualization interface and display it through the visualization interface.

[0124] For the description of the features in the embodiment corresponding to the dynamic overcurrent protection device, please refer to the relevant description of the embodiment corresponding to the dynamic overcurrent protection method, and will not be repeated here.

[0125] The embodiment of the present application also provides an electronic device, such as Figure 9 As shown, it includes a memory 10 and a processor 20, the memory 10 stores a computer program, and the processor 20 is configured to run the computer program to execute the steps in any of the above-mentioned dynamic overcurrent protection method embodiments.

[0126] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned dynamic overcurrent protection method embodiments when running.

[0127] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0128] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0129] The above is a detailed introduction to the dynamic overcurrent protection method, device, equipment and storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A dynamic overcurrent protection method, applied to a voltage conversion chip, characterized in that: include: Processing the sampled output current data of the voltage conversion chip to obtain the load feedback current; updating an overcurrent protection threshold of the voltage conversion chip according to the load feedback current, wherein the greater the load feedback current, the greater the overcurrent protection threshold; comparing the updated overcurrent protection threshold with the load current detected in real time, and outputting an overcurrent protection control instruction when the load current is greater than the overcurrent protection threshold; Wherein, updating the overcurrent protection threshold of the voltage conversion chip according to the load feedback current includes: Calculating a load feedback voltage based on the load feedback current and a sampling resistor of the output current data; Comparing the load feedback voltage and a preset reference voltage, and determining a gain parameter based on the comparison result, wherein the greater the load feedback voltage, the greater the gain parameter; Calculate and update the overcurrent protection threshold of the voltage conversion chip according to the gain parameter; The step of comparing the load feedback voltage with a preset reference voltage and determining a gain parameter based on the comparison result includes: comparing the load feedback voltage, a first preset reference voltage, and a second preset reference voltage, wherein the preset reference voltages include the first preset reference voltage and the second preset reference voltage, and the first preset reference voltage is greater than the second preset reference voltage; If the load feedback voltage is greater than the first preset reference voltage, the gain parameter is equal to the first preset gain parameter; if the load feedback voltage is less than the first preset reference voltage and greater than the second preset reference voltage, the gain parameter is equal to the second preset gain parameter; if the load feedback voltage is less than the second preset reference voltage, the gain parameter is equal to the third preset gain parameter, wherein the first preset gain parameter is greater than the second preset gain parameter, and the second preset gain parameter is greater than the third preset gain parameter.

2. The dynamic overcurrent protection method according to claim 1, characterized in that: The step of processing the sampled output current data of the voltage conversion chip to obtain the load feedback current includes: Calculating an average current within a plurality of current cycles based on the sampled output current data of the voltage conversion chip; The load feedback current is determined according to the average current and a peak current in the output current data.

3. The dynamic overcurrent protection method according to claim 2, characterized in that: Determining the load feedback current according to the average current and the peak current in the output current data includes: determining whether the maximum value of the peak current and the minimum value of the peak current in the output current data are both within a discrete interval of the average current, wherein an upper boundary of the discrete interval is the sum of the average current and a discrete parameter, and a lower boundary of the discrete interval is the difference between the average current and the discrete parameter; The value of the load feedback current is determined to be the average current, the maximum value of the peak current, or the minimum value of the peak current according to the judgment result.

4. The dynamic overcurrent protection method according to claim 1, characterized in that: The calculating and updating the overcurrent protection threshold of the voltage conversion chip according to the gain parameter includes: The overcurrent protection threshold of the voltage conversion chip is calculated and updated according to the threshold calculation formula. The threshold calculation formula is: Where, is the overcurrent protection threshold, For the preset protection voltage, Set the resistor for the threshold, is the gain parameter, is the circuit constant.

5. The dynamic overcurrent protection method according to claim 1, characterized in that: After calculating and updating the overcurrent protection threshold of the voltage conversion chip according to the gain parameter, the method includes: One or more of the output current data, the load feedback current, the load feedback voltage, the preset reference voltage, the gain parameter, and the overcurrent protection threshold are output to a visualization interface and displayed through the visualization interface.

6. A dynamic overcurrent protection device, characterized in that: include: A data processing module is used to process the sampled output current data of the voltage conversion chip to obtain a load feedback current; an overcurrent protection threshold updating module, configured to update the overcurrent protection threshold of the voltage conversion chip according to the load feedback current, wherein the larger the load feedback current, the larger the overcurrent protection threshold; a protection execution module, configured to compare the updated overcurrent protection threshold with the load current detected in real time, and output an overcurrent protection control instruction when the load current is greater than the overcurrent protection threshold; The overcurrent protection threshold updating module includes: A load feedback voltage calculation module is used to calculate the load feedback voltage based on the load feedback current and the sampling resistor of the output current data; a gain parameter determination module, configured to compare the load feedback voltage with a preset reference voltage and determine a gain parameter based on the comparison result, wherein the greater the load feedback voltage, the greater the gain parameter; An overcurrent protection threshold calculation module is used to calculate and update the overcurrent protection threshold of the voltage conversion chip according to the gain parameter; The gain parameter determination module includes: a reference voltage comparison module, configured to compare the load feedback voltage, a first preset reference voltage, and a second preset reference voltage, wherein the preset reference voltages include the first preset reference voltage and the second preset reference voltage, and the first preset reference voltage is greater than the second preset reference voltage; A gain parameter selection module is configured to: if the load feedback voltage is greater than a first preset reference voltage, the gain parameter is equal to the first preset gain parameter; if the load feedback voltage is less than the first preset reference voltage and greater than a second preset reference voltage, the gain parameter is equal to the second preset gain parameter; if the load feedback voltage is less than the second preset reference voltage, the gain parameter is equal to the third preset gain parameter, wherein the first preset gain parameter is greater than the second preset gain parameter, and the second preset gain parameter is greater than the third preset gain parameter.

7. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the dynamic overcurrent protection method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the dynamic overcurrent protection method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Overcurrent protection threshold adjustment method and server

    CN117713018A