A power supply intelligent overcurrent protection method and system
By building an overcurrent protection system for the circuit to be protected, and temporarily adjusting the resistance value of the thermistor using historical factors and current current values, the problem that thermistor is difficult to completely suppress overcurrent is solved, and preventive protection of overcurrent phenomena is achieved.
Patent Information
- Application Number
- CN202411615533.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-11-13
AI Technical Summary
It is difficult for existing thermistors to completely suppress overcurrent phenomena during overcurrent protection, resulting in equipment damage.
By building an overcurrent protection system for the circuit to be protected, historical overcurrent factors are obtained, predetermined current values are calculated, and the resistance value of the thermistor is temporarily adjusted according to the current current value to prevent overcurrent.
It realizes preventive protection of overcurrent phenomena, alleviates the problem that the thermistor cannot completely suppress overcurrent, and extends the service life of the equipment.
Smart Images

Figure CN119154235B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a power supply intelligent overcurrent protection method and system, belonging to the technical field of overcurrent protection. Background Art
[0002] In the electronics field, various electronic devices have an increasingly urgent need for overcurrent protection. For example, with the continuous development of integrated circuit technology, the integration of chips is getting higher and higher, and the operating voltage and current are getting smaller and smaller. However, even a tiny overcurrent may cause permanent damage to the chip. Therefore, in the design of integrated circuits, overcurrent protection circuits are usually integrated to prevent the chip from burning due to excessive current. For example, mobile phones, tablets, laptops, etc., these devices contain a large number of electronic components and batteries. During charging and use, if overcurrent occurs, it may damage the battery, charger or the device itself. The overcurrent protection device can ensure that the device operates within a safe current range and extend the service life of the equipment. In industrial production, automation equipment usually needs to operate in harsh environments and has high reliability requirements. Overcurrent protection can prevent equipment damage due to motor overload, short circuit and other faults, and ensure the continuity and stability of production.
[0003] At present, thermistors are often used for overcurrent protection. This is because the resistance of thermistors changes when they encounter temperature, and the change in current causes the temperature of the thermistor to change, which causes the resistance of the thermistor to change. The increased resistance can suppress the increased current, thereby preventing overcurrent. However, under such a device, overcurrent faults still occur in actual scenarios. This may be related to the fact that the size of the thermistor cannot completely suppress overcurrent. This requires the selection of a suitable thermistor. However, even a thermistor with a large value cannot guarantee that the size of the overcurrent can be completely suppressed. Therefore, a solution is urgently needed to alleviate the problem that thermistors cannot completely suppress overcurrent through preventive overcurrent protection. Summary of the invention
[0004] The present invention provides a power supply intelligent overcurrent protection method and system, the main purpose of which is to alleviate the problem that thermistor cannot completely suppress overcurrent through preventive overcurrent protection.
[0005] To achieve the above object, the present invention provides a power supply intelligent overcurrent protection method, comprising:
[0006] Constructing an overcurrent protection system for the circuit to be protected, and obtaining historical overcurrent factors of the circuit to be protected, calculating a predetermined current value of the circuit to be protected, and determining whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor, and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors, and short circuit abnormality factors;
[0007] When the current current value of the circuit to be protected does not exceed the predetermined current value, temporarily adjusting the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance;
[0008] According to the voltage abnormality factor, the data collector is used to collect the historical power supply voltage of the circuit to be protected; according to the load abnormality factor, the data collector is used to collect the historical circuit load of the circuit to be protected; according to the short-circuit abnormality factor, the data collector is used to collect the short-circuit related factors of the circuit to be protected;
[0009] In the data processor, the planned power supply voltage of the circuit to be protected in a future period is analyzed using the historical power supply voltage, the planned circuit load of the circuit to be protected in a future period is analyzed based on the historical circuit load, and the planned circuit current of the circuit to be protected in a future period is analyzed based on the short-circuit related factors;
[0010] Using the planned power supply voltage, the planned circuit load and the planned circuit current, determining whether the circuit to be protected will have a circuit overcurrent in a future period;
[0011] When the circuit to be protected will not have circuit overcurrent in the future period, the temporary adjustment resistor is subjected to resistance cancellation processing to obtain a cancelled resistance resistor, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the cancelled resistance resistor to obtain an overcurrent pre-protection result;
[0012] When the circuit to be protected will experience circuit overcurrent in a future period, identifying the overcurrent moment when the circuit to be protected will experience circuit overcurrent, performing overcurrent protection processing on the circuit to be protected according to the overcurrent moment, and obtaining a first overcurrent protection result;
[0013] When the current value of the circuit to be protected exceeds the predetermined current value, the thermistor is used to perform overcurrent protection processing on the circuit to be protected to obtain a second overcurrent protection result;
[0014] The overcurrent protection of the circuit to be protected is completed through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and the overcurrent protection result of the circuit to be protected is obtained.
[0015] Optionally, the overcurrent protection system for the circuit to be protected is constructed, including:
[0016] Counting the time series current sequence when the circuit to be protected has circuit overcurrent in the historical period;
[0017] Identifying a non-overcurrent moment and an overcurrent moment in the timing current sequence;
[0018] Select the most recent moment of the overcurrent moment from the non-overcurrent moments;
[0019] Extracting the most recent current corresponding to the most recent moment from the time-series current sequence;
[0020] Selecting a minimum current from the most recent currents;
[0021] Selecting a thermistor whose operating current is the minimum current from a preset thermistor sample;
[0022] constructing a parallel resistor connected in parallel with the thermistor;
[0023] A thermal switch of the thermistor is constructed at an input end of the thermistor, and a parallel switch of the parallel resistor is constructed at an input end of the parallel resistor;
[0024] generating a parallel circuit between the thermistor and the parallel resistor by using the thermal switch and the parallel switch;
[0025] Connecting an input end of a preset output collector to the circuit to be protected to obtain a first connection relationship between the output collector and the circuit to be protected;
[0026] Connecting the output terminal of the output collector to the input terminal of a preset data processor to obtain a second connection relationship between the output collector and the data processor;
[0027] Connecting the output end of the data processor to the thermal switch and the parallel switch respectively, to obtain a third connection relationship between the data processor and the parallel circuit;
[0028] An overcurrent protection system of the circuit to be protected is determined by using the first connection relationship, the second connection relationship, and the third connection relationship.
[0029] Optionally, temporarily adjusting the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance includes:
[0030] Determining whether the current value is greater than a maximum current value of historical current values received by the thermistor;
[0031] When the current current value is not greater than the maximum current value of the historical current values received by the thermistor, after the parallel switch in the overcurrent protection system is turned on and the thermistor is turned off, the current current value flows through the parallel resistor in the overcurrent protection system to keep the thermistor in an inactive state;
[0032] When the current current value is greater than the maximum current value of the historical current values received by the thermistor, after the parallel switch in the overcurrent protection system is placed in an off state and the thermal switch is placed in an on state, the current current value is passed through the thermistor to increase the resistance of the thermistor by the current current value, thereby obtaining a temporary adjustment resistance.
[0033] Optionally, the collecting of short-circuit related factors of the circuit to be protected by using the data collector according to the short-circuit abnormal factors includes:
[0034] According to the short circuit abnormality factor, acquiring the historical power supply voltage and the historical circuit load in the data collector;
[0035] Normalizing the historical power supply voltage and the historical circuit load respectively to obtain a normalized voltage and a normalized load;
[0036] The voltage characteristic value of the normalized voltage is extracted using the following formula:
[0037] ;
[0038] in, represents the voltage characteristic value, represents the quantity of normalized voltage, represents the normalized voltage at the ith moment, , represents the mean value of the normalized voltage, represents the variance of the normalized voltage, represents the square root of one-half, express and differences;
[0039] extracting a load characteristic value of the normalized load;
[0040] The voltage characteristic value and the load characteristic value are used as short-circuit related factors of the circuit to be protected.
[0041] Optionally, the analyzing the planned power supply voltage of the circuit to be protected in a future period by using the historical power supply voltage includes:
[0042] Obtaining a normalized voltage corresponding to the historical power supply voltage;
[0043] The forget gate feature of the normalized voltage is calculated using the following formula:
[0044] ;
[0045] in, represents the forget gate feature, express The weight of the forget gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weight of the forget gate, represents the bias of the forget gate, represents the activation function;
[0046] The input gate characteristic of the normalized voltage is calculated using the following formula:
[0047] ;
[0048] in, represents the input gate feature, express The weight of the input gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weight of the input gate, represents the bias of the input gate, represents the activation function;
[0049] The output gate characteristic of the normalized voltage is calculated using the following formula:
[0050] ;
[0051] in, represents the output gate characteristics, express The weights at the output gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weights at the output gate, represents the bias of the output gate, represents the activation function;
[0052] According to the forget gate feature, the input gate feature and the output gate feature, the planned power supply voltage of the circuit to be protected in the future period is calculated using the following formula:
[0053] ;
[0054] ;
[0055] in, Indicates the planned power supply voltage. represents the forget gate feature, represents the input gate feature, represents the output gate characteristics, represents the current cell state of the memory unit, Indicates the cell state of the memory unit at the last moment, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weights in the memory cells, represents the bias of the memory cell, represents the activation function, express The weight in the memory cell.
[0056] Optionally, the analyzing, based on the historical circuit load, a planned circuit load of the circuit to be protected in a future period includes:
[0057] Obtaining a normalized load corresponding to the historical circuit load;
[0058] Inputting the normalized load into a preset bidirectional long short-term memory neural network;
[0059] According to the normalized load, the planned circuit load of the circuit to be protected in the future period is output through the forget gate, input gate, output gate and memory unit in the bidirectional long short-term memory neural network.
[0060] Optionally, the analyzing, based on the short-circuit related factors, a planned circuit current of the circuit to be protected in a future period includes:
[0061] Obtaining voltage characteristic values and load characteristic values in the short-circuit related factors;
[0062] splicing the voltage characteristic value and the load characteristic value to obtain a spliced characteristic value;
[0063] According to the splicing feature value, the hidden layer feature of the circuit to be protected in the future period is calculated using the following formula:
[0064] ;
[0065] in, Indicates hidden layer features, represents the linear mapping function between the input layer and the hidden layer, represents the jth eigenvalue in the concatenated eigenvalues received by the input layer, Representation and The hidden layer of the connection The weight of a node, represents the bias of the hidden layer, express the number of
[0066] According to the hidden layer characteristics, the current warning probability of the circuit to be protected in the future period is calculated using the following formula:
[0067] ;
[0068] in, represents the kth current warning probability output by the output layer, represents the linear mapping function between the hidden layer and the output layer, Indicates hidden layer features, Representation and The output layer of the connection The weight of a node, represents the bias of the output layer, express the number of
[0069] The maximum warning current corresponding to the maximum warning probability among the current warning probabilities is used as the planned circuit current of the circuit to be protected in the future time period.
[0070] Optionally, the using the planned power supply voltage, the planned circuit load, and the planned circuit current to determine whether the circuit to be protected will have a circuit overcurrent in a future period of time includes:
[0071] Determine whether there is an abnormal power supply voltage, an abnormal circuit load, and an abnormal planned circuit current among the planned power supply voltage, the planned circuit load, and the planned circuit current;
[0072] When there are abnormal power supply voltage, abnormal circuit load and abnormal circuit current in the planned power supply voltage, the planned circuit load and the planned circuit current, it is determined that the circuit to be protected will have circuit overcurrent in a future period;
[0073] When there is no abnormal power supply voltage, abnormal circuit load and abnormal planned circuit current among the planned power supply voltage, the planned circuit load and the planned circuit current, calculating the analysis circuit current in the future time period by using the planned power supply voltage and the planned circuit load;
[0074] determining whether the analysis circuit current is the abnormal circuit current;
[0075] When the analysis circuit current is the abnormal circuit current, determining that the circuit to be protected will have a circuit overcurrent in a future period;
[0076] When the analysis circuit current is not the abnormal circuit current, it is determined that the circuit to be protected will not have circuit overcurrent in a future period of time.
[0077] Optionally, performing overcurrent protection processing on the circuit to be protected according to the overcurrent moment to obtain a first overcurrent protection result includes:
[0078] Obtaining a preparatory moment for the overcurrent moment;
[0079] At the preparation moment, cyclically detecting the circuit overcurrent of the circuit to be protected to obtain an overcurrent detection result;
[0080] When the overcurrent detection result indicates that the circuit will not overcurrent in the future period, at the preparation time, after the parallel switch in the overcurrent protection system is placed in the on state and the thermistor is placed in the off state, the current of the circuit to be protected flows through the parallel resistor in the overcurrent protection system to keep the thermistor in an inactive state;
[0081] When the overcurrent detection result is that the circuit will overcurrent in the future period, at the preparation moment, after the parallel switch in the overcurrent protection system is placed in the off state and the thermal switch is placed in the on state, the current of the circuit to be protected is passed through the thermistor, so as to control the thermistor through the current of the circuit to be protected to complete the overcurrent protection processing of the circuit to be protected, and obtain a first overcurrent protection result.
[0082] In order to solve the above problems, the present invention also provides a power supply intelligent overcurrent protection system, the system comprising:
[0083] An overcurrent judgment module is used to construct an overcurrent protection system for the circuit to be protected, obtain historical overcurrent factors of the circuit to be protected, calculate a predetermined current value of the circuit to be protected, and judge whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors and short circuit abnormality factors;
[0084] a resistance adjustment module, configured to temporarily adjust the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance when the current current value of the circuit to be protected does not exceed the predetermined current value;
[0085] A factor collection module, used to collect the historical power supply voltage of the circuit to be protected by using the data collector according to the voltage abnormality factor, collect the historical circuit load of the circuit to be protected by using the data collector according to the load abnormality factor, and collect the short-circuit related factors of the circuit to be protected by using the data collector according to the short-circuit abnormality factor;
[0086] a current analysis module, configured to analyze, in the data processor, a planned power supply voltage of the circuit to be protected in a future period using the historical power supply voltage, analyze a planned circuit load of the circuit to be protected in a future period based on the historical circuit load, and analyze a planned circuit current of the circuit to be protected in a future period based on the short-circuit related factors;
[0087] A future judgment module, used to judge whether the circuit to be protected will have a circuit overcurrent in a future period by using the planned power supply voltage, the planned circuit load and the planned circuit current;
[0088] A pre-protection module, used for performing resistance cancellation processing on the temporary adjustment resistor to obtain a cancellation resistance resistor when the circuit to be protected will not have circuit overcurrent in a future period, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the cancellation resistance resistor to obtain an overcurrent pre-protection result;
[0089] A first protection module is used to identify the overcurrent moment when the circuit to be protected will experience overcurrent in a future period of time, and to perform overcurrent protection processing on the circuit to be protected according to the overcurrent moment to obtain a first overcurrent protection result;
[0090] A second protection module is used to perform overcurrent protection processing on the circuit to be protected by using the thermistor when the current current value of the circuit to be protected exceeds the predetermined current value, so as to obtain a second overcurrent protection result;
[0091] An overcurrent protection module is used to complete the overcurrent protection of the circuit to be protected through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and obtain the overcurrent protection result of the circuit to be protected.
[0092] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0093] at least one processor; and,
[0094] a memory communicatively connected to the at least one processor; wherein,
[0095] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the above-mentioned power supply intelligent over-current protection method.
[0096] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned power supply intelligent overcurrent protection method.
[0097] Compared with the problems described in the background technology, the embodiment of the present invention constructs an overcurrent protection system for the circuit to be protected, so that when an overcurrent fault is not predicted, the current in the circuit does not pass through the thermistor, so that the resistance of the thermistor does not increase. The embodiment of the present invention temporarily adjusts the resistance of the thermistor according to the current current value to obtain a temporary adjustment resistor, which is used when the current current value is greater than the previous current value and less than the predetermined current value, indicating that the current has abnormally increased compared with the previous current. At this time, if the current continues to increase, an overcurrent phenomenon may occur. Therefore, the current passes through the thermistor to temporarily suppress the current, and wait until the data processor is used to analyze that there is no problem with the current before the thermistor is used to suppress the current, thereby achieving preventive protection against overcurrent phenomena. Furthermore, the embodiment of the present invention collects short-circuit-related factors of the circuit to be protected by using the data collector according to the short-circuit abnormal factors, so as to predict the future by using the historical power supply voltage and the historical circuit load. Whether a short circuit fault will occur in a time period, the embodiment of the present invention analyzes the planned power supply voltage of the circuit to be protected in the future time period by using the historical power supply voltage, so as to analyze the voltage trend in the future time period by using the historical data, and the embodiment of the present invention judges whether the circuit to be protected will have circuit overcurrent in the future time period by using the planned power supply voltage, the planned circuit load and the planned circuit current, so as to judge whether the overcurrent phenomenon will occur in the future time period based on the historical data, so as to turn on the thermistor before the overcurrent phenomenon occurs, so as to achieve preventive overcurrent protection, and when the current has not yet become an extremely high overcurrent current value, the normal current value with a relatively small value is suppressed, thereby alleviating the problem that the thermistor cannot completely suppress the overcurrent current, and the embodiment of the present invention performs overcurrent protection processing on the circuit to be protected according to the overcurrent moment, so as to suppress the relatively small current value before the overcurrent phenomenon is about to occur, thereby alleviating the problem that the thermistor cannot completely suppress the overcurrent through preventive overcurrent protection. Therefore, the power supply intelligent overcurrent protection method proposed by the present invention can alleviate the problem that the thermistor cannot completely suppress the overcurrent through preventive overcurrent protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] Figure 1A schematic diagram of a flow chart of a power supply intelligent overcurrent protection method provided by an embodiment of the present invention;
[0099] Figure 2 A schematic diagram of a module for implementing the power supply intelligent overcurrent protection method provided by an embodiment of the present invention;
[0100] Figure 3 A schematic diagram of the structure of an electronic device for implementing the power supply intelligent over-current protection method provided by an embodiment of the present invention.
[0101] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0102] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0103] The embodiment of the present application provides a method for intelligent overcurrent protection of a power supply. The execution subject of the method for intelligent overcurrent protection of a power supply includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the method for intelligent overcurrent protection of a power supply can be executed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0104] Embodiment 1:
[0105] Reference Figure 1 FIG. 1 is a flow chart of a power supply intelligent overcurrent protection method provided by an embodiment of the present invention. In this embodiment, the power supply intelligent overcurrent protection method includes:
[0106] S1. Construct an overcurrent protection system for the circuit to be protected, obtain historical overcurrent factors of the circuit to be protected, calculate a predetermined current value of the circuit to be protected, and determine whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors and short circuit abnormality factors.
[0107] The embodiment of the present invention constructs an overcurrent protection system for a circuit to be protected, so that when an overcurrent fault is not predicted, the current in the circuit does not pass through the thermistor, thereby preventing the resistance of the thermistor from increasing.
[0108] In one embodiment of the present invention, the overcurrent protection system for the circuit to be protected comprises: counting the time series current sequence when the circuit to be protected has overcurrent in the historical period; identifying the non-overcurrent moment and the overcurrent moment in the time series current sequence; selecting the most recent moment of the overcurrent moment from the non-overcurrent moment; extracting the most recent current corresponding to the most recent moment from the time series current sequence; selecting the minimum current from the most recent current; selecting a thermistor whose action current is the minimum current from a preset thermistor sample; constructing a parallel resistor connected in parallel with the thermistor; constructing a thermal switch of the thermistor at the input end of the thermistor, and constructing a parallel switch of the parallel resistor at the input end of the parallel resistor; The thermal switch and the parallel switch are used to generate a parallel circuit between the thermistor and the parallel resistor; the input end of a preset output collector is connected to the circuit to be protected to obtain a first connection relationship between the output collector and the circuit to be protected; the output end of the output collector is connected to the input end of a preset data processor to obtain a second connection relationship between the output collector and the data processor; the output end of the data processor is connected to the thermal switch and the parallel switch respectively to obtain a third connection relationship between the data processor and the parallel circuit; the overcurrent protection system of the circuit to be protected is determined by using the first connection relationship, the second connection relationship and the third connection relationship.
[0109] The action current refers to the current threshold that triggers the resistance change of the thermistor sample, and the parallel circuit refers to a circuit in parallel between a circuit formed by a thermal switch and a thermistor in series and a circuit formed by a parallel switch and a parallel resistor in series.
[0110] Furthermore, in an embodiment of the present invention, the preset current value refers to the current threshold at which overcurrent occurs in the circuit to be protected, and the preset current value is determined by collecting the rated current of the electronic components in the circuit to be protected. The current value refers to the current value that is about to flow through the parallel circuit of the circuit to be protected at the current moment, and the historical overcurrent factor refers to the cause of the overcurrent fault occurring in a historical period of time.
[0111] S2. When the current value of the circuit to be protected does not exceed the predetermined current value, temporarily adjust the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance.
[0112] The embodiment of the present invention temporarily adjusts the resistance of the thermistor according to the current current value to obtain a temporary adjustment resistor, which is used when the current current value is greater than the previous current value and less than the predetermined current value, indicating that the current has abnormally increased compared with the previous current. At this time, if the current continues to increase, an overcurrent phenomenon may occur. Therefore, the current flows through the thermistor to temporarily suppress the current. After the data processor is used to analyze that there is no problem with the current, the thermistor is used to suppress the current, thereby achieving preventive protection against overcurrent phenomena.
[0113] In one embodiment of the present invention, temporarily adjusting the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance includes: judging whether the current current value is greater than the maximum current value of the historical current values received by the thermistor; when the current current value is not greater than the maximum current value of the historical current values received by the thermistor, placing the parallel switch in the overcurrent protection system in an on state and the thermal switch in an off state, and then allowing the current current value to flow through the parallel resistor in the overcurrent protection system to keep the thermistor in an inactive state; when the current current value is greater than the maximum current value of the historical current values received by the thermistor, placing the parallel switch in the overcurrent protection system in an off state and the thermal switch in an on state, and then allowing the current current value to flow through the thermistor to increase the resistance of the thermistor by the current current value to obtain a temporarily adjusted resistance.
[0114] S3. According to the voltage abnormality factor, the data collector is used to collect the historical power supply voltage of the circuit to be protected; according to the load abnormality factor, the data collector is used to collect the historical circuit load of the circuit to be protected; according to the short-circuit abnormality factor, the data collector is used to collect short-circuit related factors of the circuit to be protected.
[0115] In an embodiment of the present invention, the historical power supply voltage refers to the power supply voltage within a historical period, and the historical circuit load refers to the circuit load within a historical period. It should be noted that the moment corresponding to the current current value is also used as the historical moment. Therefore, when predicting whether a short circuit fault will occur through short-circuit related factors, the predicted future moment refers to the time period starting from the next moment of the current current value.
[0116] Furthermore, the embodiment of the present invention collects short-circuit related factors of the circuit to be protected by using the data collector according to the short-circuit abnormal factors, so as to predict whether a short-circuit fault will occur in a future period by using the historical power supply voltage and the historical circuit load.
[0117] In one embodiment of the present invention, the short-circuit related factors of the circuit to be protected are collected by the data collector according to the short-circuit abnormal factors, including: obtaining the historical power supply voltage and the historical circuit load in the data collector according to the short-circuit abnormal factors; normalizing the historical power supply voltage and the historical circuit load respectively to obtain the normalized voltage and the normalized load; and extracting the voltage characteristic value of the normalized voltage using the following formula:
[0118] ;
[0119] in, represents the voltage characteristic value, represents the quantity of normalized voltage, represents the normalized voltage at the ith moment, , represents the mean value of the normalized voltage, represents the variance of the normalized voltage, represents the square root of one-half, express and differences;
[0120] Extracting the load characteristic value of the normalized load; and using the voltage characteristic value and the load characteristic value as short-circuit related factors of the circuit to be protected.
[0121] It should be noted that the principle of extracting the load characteristic value of the normalized load is similar to the principle of extracting the voltage characteristic value of the normalized voltage, and no further explanation is given here.
[0122] S4. In the data processor, the planned power supply voltage of the circuit to be protected in a future time period is analyzed using the historical power supply voltage, the planned circuit load of the circuit to be protected in a future time period is analyzed based on the historical circuit load, and the planned circuit current of the circuit to be protected in a future time period is analyzed based on the short-circuit related factors.
[0123] The embodiment of the present invention uses the historical power supply voltage to analyze the planned power supply voltage of the circuit to be protected in the future time period, so as to use the historical data to analyze the voltage trend in the future time period.
[0124] The planned power supply voltage refers to the power supply voltage in a future period.
[0125] In one embodiment of the present invention, the use of the historical power supply voltage to analyze the planned power supply voltage of the circuit to be protected in the future period includes: obtaining a normalized voltage corresponding to the historical power supply voltage; and calculating a forget gate feature of the normalized voltage using the following formula:
[0126] ;
[0127] in, represents the forget gate feature, express The weight of the forget gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weight of the forget gate, represents the bias of the forget gate, represents the activation function;
[0128] The input gate characteristic of the normalized voltage is calculated using the following formula:
[0129] ;
[0130] in, represents the input gate feature, express The weight of the input gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weight of the input gate, represents the bias of the input gate, represents the activation function;
[0131] The output gate characteristic of the normalized voltage is calculated using the following formula:
[0132] ;
[0133] in, represents the output gate characteristics, express The weights at the output gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weights at the output gate, represents the bias of the output gate, represents the activation function;
[0134] According to the forget gate feature, the input gate feature and the output gate feature, the planned power supply voltage of the circuit to be protected in the future period is calculated using the following formula:
[0135] ;
[0136] ;
[0137] in, Indicates the planned power supply voltage. represents the forget gate feature, represents the input gate feature, represents the output gate characteristics, represents the current cell state of the memory unit, Indicates the cell state of the memory unit at the last moment, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weights in the memory cells, represents the bias of the memory cell, represents the activation function, express The weight in the memory cell.
[0138] Furthermore, in the embodiment of the present invention, the planned circuit load refers to the circuit load in a future period.
[0139] In one embodiment of the present invention, the planned circuit load of the circuit to be protected in the future time period is analyzed based on the historical circuit load, including: obtaining a normalized load corresponding to the historical circuit load; inputting the normalized load into a preset bidirectional long short-term memory neural network; and according to the normalized load, outputting the planned circuit load of the circuit to be protected in the future time period through a forget gate, an input gate, an output gate and a memory unit in the bidirectional long short-term memory neural network.
[0140] In one embodiment of the present invention, the analysis of the planned circuit current of the circuit to be protected in the future time period based on the short-circuit related factors includes: obtaining the voltage characteristic value and the load characteristic value in the short-circuit related factors; splicing the voltage characteristic value and the load characteristic value to obtain a spliced characteristic value; and calculating the hidden layer characteristics of the circuit to be protected in the future time period according to the spliced characteristic value using the following formula:
[0141] ;
[0142] in, Indicates hidden layer features, represents the linear mapping function between the input layer and the hidden layer, represents the jth eigenvalue in the concatenated eigenvalues received by the input layer, Representation and The hidden layer of the connection The weight of a node, represents the bias of the hidden layer, express the number of
[0143] According to the hidden layer characteristics, the current warning probability of the circuit to be protected in the future period is calculated using the following formula:
[0144] ;
[0145] in, represents the kth current warning probability output by the output layer, represents the linear mapping function between the hidden layer and the output layer, Indicates hidden layer features, Representation and The output layer of the connection The weight of a node, represents the bias of the output layer, express the number of
[0146] The maximum warning current corresponding to the maximum warning probability among the current warning probabilities is used as the planned circuit current of the circuit to be protected in the future time period.
[0147] Among them, the binary classification results corresponding to the current warning probability include two categories: normal circuit value and overcurrent value. Therefore, the maximum warning current is the normal circuit value or the overcurrent value. It should be noted that the overcurrent value refers to a current value greater than the predetermined current value.
[0148] S5. Using the planned power supply voltage, the planned circuit load and the planned circuit current, determine whether the circuit to be protected will have a circuit overcurrent in a future period of time.
[0149] The embodiment of the present invention uses the planned power supply voltage, the planned circuit load and the planned circuit current to determine whether the circuit to be protected will have a circuit overcurrent in a future time period, so as to determine whether an overcurrent phenomenon will occur in a future time period based on historical data, thereby turning on the thermistor before the overcurrent phenomenon occurs. In this way, overcurrent preventive protection can be achieved, and when the current has not yet become an extremely high overcurrent current value, a relatively small normal current value is suppressed, thereby alleviating the problem that the thermistor cannot completely suppress the overcurrent current.
[0150] In one embodiment of the present invention, the use of the planned power supply voltage, the planned circuit load and the planned circuit current to determine whether the circuit to be protected will have a circuit overcurrent in a future time period includes: determining whether there is an abnormal power supply voltage, an abnormal circuit load and an abnormal planned circuit current in the planned power supply voltage, the planned circuit load and the planned circuit current; when there is an abnormal power supply voltage, an abnormal circuit load and an abnormal circuit current in the planned power supply voltage, the planned circuit load and the planned circuit current, determining that the circuit to be protected will have a circuit overcurrent in a future time period; when there is no abnormal power supply voltage, an abnormal circuit load and an abnormal planned circuit current in the planned power supply voltage, the planned circuit load and the planned circuit current, calculating the analysis circuit current in the future time period using the planned power supply voltage and the planned circuit load; determining whether the analysis circuit current is the abnormal circuit current; when the analysis circuit current is the abnormal circuit current, determining that the circuit to be protected will have a circuit overcurrent in the future time period; when the analysis circuit current is not the abnormal circuit current, determining that the circuit to be protected will not have a circuit overcurrent in the future time period.
[0151] It should be noted that the process of calculating the analytical circuit current in the future time period using the planned power supply voltage and the planned circuit load refers to calculating the current value in the future time period using the predicted power supply voltage and circuit load. This is because the aforementioned planned circuit current is obtained by analysis based on historical data, and the analytical circuit current is calculated based on planned data. By analyzing the circuit current, the overcurrent detection energy can be enhanced. Secondly, the process of calculating the analytical circuit current in the future time period using the planned power supply voltage and the planned circuit load refers to the process of calculating current based on voltage and resistance.
[0152] S6. When the circuit to be protected will not have overcurrent in the future period, the temporary adjustment resistor is subjected to resistance cancellation processing to obtain a cancelled resistance resistor, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the cancelled resistance resistor to obtain an overcurrent pre-protection result.
[0153] Optionally, the process of performing resistance cancellation processing on the temporary adjustment resistor to obtain the cancelled resistance resistor refers to the process of closing the thermistor to restore the thermistor to its original state.
[0154] S7. When the circuit to be protected will experience overcurrent in a future period of time, identify the overcurrent moment when the circuit to be protected will experience overcurrent, perform overcurrent protection processing on the circuit to be protected according to the overcurrent moment, and obtain a first overcurrent protection result.
[0155] The embodiment of the present invention performs overcurrent protection processing on the circuit to be protected according to the overcurrent moment, so as to suppress a relatively small current value before an overcurrent phenomenon is about to occur, thereby alleviating the problem that the thermistor cannot completely suppress overcurrent through preventive overcurrent protection.
[0156] In one embodiment of the present invention, the overcurrent protection processing is performed on the circuit to be protected according to the overcurrent moment to obtain a first overcurrent protection result, including: obtaining a preparatory moment of the overcurrent moment; at the preparatory moment, cyclically detecting the circuit overcurrent of the circuit to be protected to obtain an overcurrent detection result; when the overcurrent detection result is that the circuit overcurrent will not occur in the future time period, at the preparatory moment, after the parallel switch in the overcurrent protection system is placed in an on state and the thermal switch is placed in an off state, the current of the circuit to be protected is passed through the parallel resistor in the overcurrent protection system to keep the thermistor in an inactive state; when the overcurrent detection result is that the circuit overcurrent will occur in the future time period, at the preparatory moment, after the parallel switch in the overcurrent protection system is placed in an off state and the thermal switch is placed in an on state, the current of the circuit to be protected is passed through the thermistor to control the thermistor through the current of the circuit to be protected to complete the overcurrent protection processing of the circuit to be protected, and obtain the first overcurrent protection result.
[0157] The preparation moment refers to a historical moment of the overcurrent moment, for example, a moment before the overcurrent moment.
[0158] Optionally, the process of looping overcurrent detection on the circuit to be protected and obtaining the overcurrent detection result refers to: since the basis for judging whether the circuit to be protected has an overcurrent phenomenon is based on the historical data and predicted planned data in the historical period with the current moment of the current current value as the end moment, the latter is predicted data and cannot replace the actual data that has occurred. When the time reaches the preparation moment (that is, the moment after the current moment), it is still necessary to analyze whether an overcurrent phenomenon will occur at the overcurrent moment based on the historical data in the historical period including the preparation moment. The specific analysis principle is similar to the above-mentioned principle of using the planned power supply voltage, the planned circuit load and the planned circuit current to judge whether the circuit to be protected will have a circuit overcurrent in the future time period, and no further elaboration is given here.
[0159] S8. When the current value of the circuit to be protected exceeds the predetermined current value, use the thermistor to perform overcurrent protection processing on the circuit to be protected to obtain a second overcurrent protection result.
[0160] Optionally, the process of performing overcurrent protection processing on the circuit to be protected by using the thermistor to obtain a second overcurrent protection result refers to turning on the thermistor and turning off the parallel switch.
[0161] S9. Complete the overcurrent protection of the circuit to be protected through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and obtain the overcurrent protection result of the circuit to be protected.
[0162] Compared with the problem described in the background technology, the embodiment of the invention constructs an overcurrent protection system for the circuit to be protected, so that when an overcurrent fault is not predicted, the current in the circuit does not pass through the thermistor, so that the resistance of the thermistor does not increase. The embodiment of the invention temporarily adjusts the resistance of the thermistor according to the current current value to obtain a temporary adjustment resistor, which is used when the current current value is greater than the previous current value and less than the predetermined current value, indicating that the current has abnormally increased compared with the previous current. At this time, if the current continues to increase, an overcurrent phenomenon may occur. Therefore, the current passes through the thermistor and the thermistor is used to temporarily suppress the current. After the data processor is used to analyze that there is no problem with the current, the thermistor is used to suppress the current, thereby achieving preventive protection against overcurrent phenomena. Furthermore, the embodiment of the invention collects short-circuit related factors of the circuit to be protected by using the data collector according to the short-circuit abnormal factors, so as to predict the future time by using the historical power supply voltage and the historical circuit load. In order to determine whether a short circuit fault will occur in the period, the embodiment of the present invention analyzes the planned power supply voltage of the circuit to be protected in the future period by using the historical power supply voltage, so as to analyze the voltage trend in the future period by using the historical data. The embodiment of the present invention determines whether the circuit to be protected will have circuit overcurrent in the future period by using the planned power supply voltage, the planned circuit load and the planned circuit current, so as to determine whether an overcurrent phenomenon will occur in the future period based on the historical data, thereby turning on the thermistor before the overcurrent phenomenon occurs, so as to achieve preventive overcurrent protection, and suppress the normal current value with a relatively small value before the current becomes an extremely high overcurrent current value, thereby alleviating the problem that the thermistor cannot completely suppress the overcurrent. The embodiment of the present invention performs overcurrent protection processing on the circuit to be protected according to the overcurrent moment, so as to suppress the relatively small current value before the overcurrent phenomenon is about to occur, thereby alleviating the problem that the thermistor cannot completely suppress the overcurrent through preventive overcurrent protection. Therefore, the power supply intelligent overcurrent protection method proposed by the present invention can alleviate the problem that the thermistor cannot completely suppress the overcurrent through preventive overcurrent protection.
[0163] Embodiment 2:
[0164] like Figure 2 The figure shows a functional module diagram of the power supply intelligent overcurrent protection system of the present invention.
[0165] The power supply intelligent overcurrent protection system 200 of the present invention can be installed in an electronic device. According to the functions to be implemented, the power supply intelligent overcurrent protection system can include an overcurrent judgment module 201, a resistance adjustment module 202, a factor acquisition module 203, a current analysis module 204, a future judgment module 205, a pre-protection module 206, a first protection module 207, a second protection module 208 and an overcurrent protection module 209. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0166] In the embodiment of the present invention, the functions of each module / unit are as follows:
[0167] The overcurrent judgment module 201 is used to construct an overcurrent protection system for the circuit to be protected, obtain historical overcurrent factors of the circuit to be protected, calculate a predetermined current value of the circuit to be protected, and judge whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors and short circuit abnormality factors;
[0168] The resistance adjustment module 202 is used to temporarily adjust the resistance of the thermistor according to the current current value to obtain a temporary adjusted resistance when the current current value of the circuit to be protected does not exceed the predetermined current value;
[0169] The factor acquisition module 203 is used to acquire the historical power supply voltage of the circuit to be protected by using the data acquisition device according to the voltage abnormality factor, acquire the historical circuit load of the circuit to be protected by using the data acquisition device according to the load abnormality factor, and acquire the short-circuit related factors of the circuit to be protected by using the data acquisition device according to the short-circuit abnormality factor;
[0170] The current analysis module 204 is used in the data processor to analyze the planned power supply voltage of the circuit to be protected in the future period by using the historical power supply voltage, analyze the planned circuit load of the circuit to be protected in the future period based on the historical circuit load, and analyze the planned circuit current of the circuit to be protected in the future period based on the short-circuit related factors;
[0171] The future judgment module 205 is used to judge whether the circuit to be protected will have circuit overcurrent in a future period by using the planned power supply voltage, the planned circuit load and the planned circuit current;
[0172] The pre-protection module 206 is used to cancel the resistance of the temporary adjustment resistor to obtain a canceled resistance resistor when the circuit to be protected will not have a circuit overcurrent in the future period, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the canceled resistance resistor to obtain an overcurrent pre-protection result;
[0173] The first protection module 207 is used to identify the overcurrent moment when the circuit to be protected will experience overcurrent in the future period, and perform overcurrent protection processing on the circuit to be protected according to the overcurrent moment to obtain a first overcurrent protection result;
[0174] The second protection module 208 is used to use the thermistor to perform overcurrent protection processing on the circuit to be protected when the current current value of the circuit to be protected exceeds the predetermined current value, so as to obtain a second overcurrent protection result;
[0175] The overcurrent protection module 209 is used to complete the overcurrent protection of the circuit to be protected through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and obtain the overcurrent protection result of the circuit to be protected.
[0176] In detail, each module in the power supply intelligent overcurrent protection system 200 in the embodiment of the present invention is used in the same manner as described above. Figure 1 The same technical means are used as the power supply intelligent overcurrent protection method described in, and can produce the same technical effects, so they will not be repeated here.
[0177] Embodiment 3:
[0178] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a method for intelligent overcurrent protection of a power supply provided by an embodiment of the present invention.
[0179] The electronic device 1 may include a processor 10, a memory 11, a bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a power supply intelligent overcurrent protection program.
[0180] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the power supply intelligent overcurrent protection program, etc., but also be used to temporarily store data that has been output or is to be output.
[0181] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules (such as power supply intelligent overcurrent protection programs, etc.) stored in the memory 11, and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
[0182] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0183] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0184] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0185] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0186] Optionally, the electronic device 1 may further include a user interface, which may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0187] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0188] The power supply intelligent overcurrent protection program stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0189] Constructing an overcurrent protection system for the circuit to be protected, and obtaining historical overcurrent factors of the circuit to be protected, calculating a predetermined current value of the circuit to be protected, and determining whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor, and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors, and short circuit abnormality factors;
[0190] When the current current value of the circuit to be protected does not exceed the predetermined current value, temporarily adjusting the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance;
[0191] According to the voltage abnormality factor, the data collector is used to collect the historical power supply voltage of the circuit to be protected; according to the load abnormality factor, the data collector is used to collect the historical circuit load of the circuit to be protected; according to the short-circuit abnormality factor, the data collector is used to collect the short-circuit related factors of the circuit to be protected;
[0192] In the data processor, the planned power supply voltage of the circuit to be protected in a future period is analyzed using the historical power supply voltage, the planned circuit load of the circuit to be protected in a future period is analyzed based on the historical circuit load, and the planned circuit current of the circuit to be protected in a future period is analyzed based on the short-circuit related factors;
[0193] Using the planned power supply voltage, the planned circuit load and the planned circuit current, determining whether the circuit to be protected will have a circuit overcurrent in a future period;
[0194] When the circuit to be protected will not have circuit overcurrent in the future period, the temporary adjustment resistor is subjected to resistance cancellation processing to obtain a cancelled resistance resistor, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the cancelled resistance resistor to obtain an overcurrent pre-protection result;
[0195] When the circuit to be protected will experience circuit overcurrent in a future period, identifying the overcurrent moment when the circuit to be protected will experience circuit overcurrent, performing overcurrent protection processing on the circuit to be protected according to the overcurrent moment, and obtaining a first overcurrent protection result;
[0196] When the current value of the circuit to be protected exceeds the predetermined current value, the thermistor is used to perform overcurrent protection processing on the circuit to be protected to obtain a second overcurrent protection result;
[0197] The overcurrent protection of the circuit to be protected is completed through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and the overcurrent protection result of the circuit to be protected is obtained.
[0198] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0199] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0200] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0201] Constructing an overcurrent protection system for the circuit to be protected, and obtaining historical overcurrent factors of the circuit to be protected, calculating a predetermined current value of the circuit to be protected, and determining whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor, and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors, and short circuit abnormality factors;
[0202] When the current current value of the circuit to be protected does not exceed the predetermined current value, temporarily adjusting the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance;
[0203] According to the voltage abnormality factor, the data collector is used to collect the historical power supply voltage of the circuit to be protected; according to the load abnormality factor, the data collector is used to collect the historical circuit load of the circuit to be protected; according to the short-circuit abnormality factor, the data collector is used to collect the short-circuit related factors of the circuit to be protected;
[0204] In the data processor, the planned power supply voltage of the circuit to be protected in a future period is analyzed using the historical power supply voltage, the planned circuit load of the circuit to be protected in a future period is analyzed based on the historical circuit load, and the planned circuit current of the circuit to be protected in a future period is analyzed based on the short-circuit related factors;
[0205] Using the planned power supply voltage, the planned circuit load and the planned circuit current, determining whether the circuit to be protected will have a circuit overcurrent in a future period;
[0206] When the circuit to be protected will not have circuit overcurrent in the future period, the temporary adjustment resistor is subjected to resistance cancellation processing to obtain a cancelled resistance resistor, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the cancelled resistance resistor to obtain an overcurrent pre-protection result;
[0207] When the circuit to be protected will experience circuit overcurrent in a future period, identifying the overcurrent moment when the circuit to be protected will experience circuit overcurrent, performing overcurrent protection processing on the circuit to be protected according to the overcurrent moment, and obtaining a first overcurrent protection result;
[0208] When the current value of the circuit to be protected exceeds the predetermined current value, the thermistor is used to perform overcurrent protection processing on the circuit to be protected to obtain a second overcurrent protection result;
[0209] The overcurrent protection of the circuit to be protected is completed through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and the overcurrent protection result of the circuit to be protected is obtained.
[0210] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0211] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0212] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0213] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A power supply intelligent overcurrent protection method, characterized in that: The method comprises: Constructing an overcurrent protection system for the circuit to be protected, and obtaining historical overcurrent factors of the circuit to be protected, calculating a predetermined current value of the circuit to be protected, and determining whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor, and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors, and short circuit abnormality factors; When the current current value of the circuit to be protected does not exceed the predetermined current value, temporarily adjusting the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance; According to the voltage abnormality factor, the data collector is used to collect the historical power supply voltage of the circuit to be protected; according to the load abnormality factor, the data collector is used to collect the historical circuit load of the circuit to be protected; according to the short-circuit abnormality factor, the data collector is used to collect the short-circuit related factors of the circuit to be protected; In the data processor, the planned power supply voltage of the circuit to be protected in a future period is analyzed using the historical power supply voltage, the planned circuit load of the circuit to be protected in a future period is analyzed based on the historical circuit load, and the planned circuit current of the circuit to be protected in a future period is analyzed based on the short-circuit related factors; Using the planned power supply voltage, the planned circuit load and the planned circuit current, determining whether the circuit to be protected will have a circuit overcurrent in a future period; When the circuit to be protected will not have circuit overcurrent in the future period, the temporary adjustment resistor is subjected to resistance cancellation processing to obtain a cancelled resistance resistor, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the cancelled resistance resistor to obtain an overcurrent pre-protection result; When the circuit to be protected will experience circuit overcurrent in a future period, identifying the overcurrent moment when the circuit to be protected will experience circuit overcurrent, performing overcurrent protection processing on the circuit to be protected according to the overcurrent moment, and obtaining a first overcurrent protection result; When the current value of the circuit to be protected exceeds the predetermined current value, the thermistor is used to perform overcurrent protection processing on the circuit to be protected to obtain a second overcurrent protection result; The overcurrent protection of the circuit to be protected is completed through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and the overcurrent protection result of the circuit to be protected is obtained.
2. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The overcurrent protection system for the circuit to be protected is constructed, comprising: Counting the time series current sequence when the circuit to be protected has circuit overcurrent in the historical period; Identifying a non-overcurrent moment and an overcurrent moment in the timing current sequence; Select the most recent moment of the overcurrent moment from the non-overcurrent moments; Extracting the most recent current corresponding to the most recent moment from the time-series current sequence; Selecting a minimum current from the most recent currents; Selecting a thermistor whose operating current is the minimum current from a preset thermistor sample; constructing a parallel resistor connected in parallel with the thermistor; A thermal switch of the thermistor is constructed at an input end of the thermistor, and a parallel switch of the parallel resistor is constructed at an input end of the parallel resistor; generating a parallel circuit between the thermistor and the parallel resistor by using the thermal switch and the parallel switch; Connecting an input end of a preset output collector to the circuit to be protected to obtain a first connection relationship between the output collector and the circuit to be protected; Connecting the output terminal of the output collector to the input terminal of a preset data processor to obtain a second connection relationship between the output collector and the data processor; Connecting the output end of the data processor to the thermal switch and the parallel switch respectively, to obtain a third connection relationship between the data processor and the parallel circuit; An overcurrent protection system of the circuit to be protected is determined by using the first connection relationship, the second connection relationship, and the third connection relationship.
3. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The step of temporarily adjusting the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance includes: Determining whether the current value is greater than a maximum current value of historical current values received by the thermistor; When the current current value is not greater than the maximum current value of the historical current values received by the thermistor, after the parallel switch in the overcurrent protection system is turned on and the thermistor is turned off, the current current value flows through the parallel resistor in the overcurrent protection system to keep the thermistor in an inactive state; When the current current value is greater than the maximum current value of the historical current values received by the thermistor, after the parallel switch in the overcurrent protection system is placed in an off state and the thermal switch is placed in an on state, the current current value is passed through the thermistor to increase the resistance of the thermistor by the current current value, thereby obtaining a temporary adjustment resistance.
4. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The step of collecting short-circuit related factors of the circuit to be protected by using the data collector according to the short-circuit abnormal factors includes: According to the short circuit abnormality factor, acquiring the historical power supply voltage and the historical circuit load in the data collector; Normalizing the historical power supply voltage and the historical circuit load respectively to obtain a normalized voltage and a normalized load; The voltage characteristic value of the normalized voltage is extracted using the following formula: ; in, represents the voltage characteristic value, represents the quantity of normalized voltage, represents the normalized voltage at the ith moment, , represents the mean value of the normalized voltage, represents the variance of the normalized voltage, represents the square root of one-half, express and differences; extracting a load characteristic value of the normalized load; The voltage characteristic value and the load characteristic value are used as short-circuit related factors of the circuit to be protected.
5. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The using the historical power supply voltage to analyze the planned power supply voltage of the circuit to be protected in a future period includes: Obtaining a normalized voltage corresponding to the historical power supply voltage; The forget gate feature of the normalized voltage is calculated using the following formula: ; in, represents the forget gate feature, express The weight of the forget gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weight of the forget gate, represents the bias of the forget gate, represents the activation function; The input gate characteristic of the normalized voltage is calculated using the following formula: ; in, represents the input gate feature, express The weight of the input gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weight of the input gate, represents the bias of the input gate, represents the activation function; The output gate characteristic of the normalized voltage is calculated using the following formula: ; in, represents the output gate characteristics, express The weights at the output gate, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weights at the output gate, represents the bias of the output gate, represents the activation function; According to the forget gate feature, the input gate feature and the output gate feature, the planned power supply voltage of the circuit to be protected in the future period is calculated using the following formula: ; ; in, Indicates the planned power supply voltage. represents the forget gate feature, represents the input gate feature, represents the output gate characteristics, represents the current cell state of the memory unit, Indicates the cell state of the memory unit at the last moment, express exist The planned power supply voltage of the wheel, represents the normalized voltage, express The weights in the memory cells, represents the bias of the memory cell, express The weight in the memory cell.
6. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The analyzing, based on the historical circuit load, the planned circuit load of the circuit to be protected in a future period includes: Obtaining a normalized load corresponding to the historical circuit load; Inputting the normalized load into a preset bidirectional long short-term memory neural network; According to the normalized load, the planned circuit load of the circuit to be protected in the future period is output through the forget gate, input gate, output gate and memory unit in the bidirectional long short-term memory neural network.
7. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The analyzing the planned circuit current of the circuit to be protected in a future period based on the short-circuit related factors includes: Obtaining voltage characteristic values and load characteristic values in the short-circuit related factors; splicing the voltage characteristic value and the load characteristic value to obtain a spliced characteristic value; According to the splicing feature value, the hidden layer feature of the circuit to be protected in the future period is calculated using the following formula: ; in, Indicates hidden layer features, represents the linear mapping function between the input layer and the hidden layer, represents the jth eigenvalue in the concatenated eigenvalues received by the input layer, Representation and The hidden layer of the connection The weight of a node, represents the bias of the hidden layer, express the number of According to the hidden layer characteristics, the current warning probability of the circuit to be protected in the future period is calculated using the following formula: ; in, represents the kth current warning probability output by the output layer, represents the linear mapping function between the hidden layer and the output layer, Indicates hidden layer features, Representation and The output layer of the connection The weight of a node, represents the bias of the output layer, express the number of The maximum warning current corresponding to the maximum warning probability among the current warning probabilities is used as the planned circuit current of the circuit to be protected in the future time period.
8. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The step of using the planned power supply voltage, the planned circuit load, and the planned circuit current to determine whether the circuit to be protected will have a circuit overcurrent in a future period of time includes: Determine whether there is an abnormal power supply voltage, an abnormal circuit load, and an abnormal planned circuit current among the planned power supply voltage, the planned circuit load, and the planned circuit current; When there are abnormal power supply voltage, abnormal circuit load and abnormal circuit current in the planned power supply voltage, the planned circuit load and the planned circuit current, it is determined that the circuit to be protected will have circuit overcurrent in a future period; When there is no abnormal power supply voltage, abnormal circuit load and abnormal planned circuit current among the planned power supply voltage, the planned circuit load and the planned circuit current, calculating the analysis circuit current in the future time period by using the planned power supply voltage and the planned circuit load; determining whether the analysis circuit current is the abnormal circuit current; When the analysis circuit current is the abnormal circuit current, determining that the circuit to be protected will have a circuit overcurrent in a future period; When the analysis circuit current is not the abnormal circuit current, it is determined that the circuit to be protected will not have circuit overcurrent in a future period of time.
9. The power supply intelligent overcurrent protection method according to claim 1, characterized in that: The performing overcurrent protection processing on the circuit to be protected according to the overcurrent moment to obtain a first overcurrent protection result includes: Obtaining a preparatory moment for the overcurrent moment; At the preparation moment, cyclically detecting the circuit overcurrent of the circuit to be protected to obtain an overcurrent detection result; When the overcurrent detection result indicates that the circuit will not overcurrent in the future period, at the preparation time, after the parallel switch in the overcurrent protection system is placed in the on state and the thermistor is placed in the off state, the current of the circuit to be protected flows through the parallel resistor in the overcurrent protection system to keep the thermistor in an inactive state; When the overcurrent detection result is that the circuit will overcurrent in the future period, at the preparation moment, after the parallel switch in the overcurrent protection system is placed in the off state and the thermal switch is placed in the on state, the current of the circuit to be protected is passed through the thermistor, so as to control the thermistor through the current of the circuit to be protected to complete the overcurrent protection processing of the circuit to be protected, and obtain a first overcurrent protection result.
10. A power supply intelligent overcurrent protection system, characterized in that: The system comprises: An overcurrent judgment module is used to construct an overcurrent protection system for the circuit to be protected, obtain historical overcurrent factors of the circuit to be protected, calculate a predetermined current value of the circuit to be protected, and judge whether the current current value of the circuit to be protected exceeds the predetermined current value, wherein the overcurrent protection system includes a data collector, a data processor and a thermistor, and the historical overcurrent factors include voltage abnormality factors, load abnormality factors and short circuit abnormality factors; a resistance adjustment module, configured to temporarily adjust the resistance of the thermistor according to the current current value to obtain a temporarily adjusted resistance when the current current value of the circuit to be protected does not exceed the predetermined current value; A factor collection module, used to collect the historical power supply voltage of the circuit to be protected by using the data collector according to the voltage abnormality factor, collect the historical circuit load of the circuit to be protected by using the data collector according to the load abnormality factor, and collect the short-circuit related factors of the circuit to be protected by using the data collector according to the short-circuit abnormality factor; a current analysis module, configured to analyze, in the data processor, a planned power supply voltage of the circuit to be protected in a future period using the historical power supply voltage, analyze a planned circuit load of the circuit to be protected in a future period based on the historical circuit load, and analyze a planned circuit current of the circuit to be protected in a future period based on the short-circuit related factors; A future judgment module, used to judge whether the circuit to be protected will have a circuit overcurrent in a future period by using the planned power supply voltage, the planned circuit load and the planned circuit current; A pre-protection module, used for performing resistance cancellation processing on the temporary adjustment resistor to obtain a cancellation resistance resistor when the circuit to be protected will not have circuit overcurrent in a future period, so as to perform overcurrent pre-protection on the circuit to be protected through the temporary adjustment resistor and the cancellation resistance resistor to obtain an overcurrent pre-protection result; A first protection module is used to identify the overcurrent moment when the circuit to be protected will experience overcurrent in a future period of time, and to perform overcurrent protection processing on the circuit to be protected according to the overcurrent moment to obtain a first overcurrent protection result; A second protection module is used to perform overcurrent protection processing on the circuit to be protected by using the thermistor when the current current value of the circuit to be protected exceeds the predetermined current value, so as to obtain a second overcurrent protection result; An overcurrent protection module is used to complete the overcurrent protection of the circuit to be protected through the overcurrent pre-protection result, the first overcurrent protection result and the second overcurrent protection result, and obtain the overcurrent protection result of the circuit to be protected.
Citation Information
Patent Citations
Voltage regulation device and over-current protection method
CN114128069A
Overcurrent protection circuit
JP2008113509A