A circuit breaker current self-calibration method, system and storage medium
By constructing a linear current compensation function and combining operating environment information, the nonlinear problem of circuit breaker current transformer is solved, the accuracy of current calibration is improved, and the safety of the distribution system is enhanced.
Patent Information
- Application Number
- CN202410981580.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-22
AI Technical Summary
The current transformer transmission characteristics of the circuit breaker are nonlinear, and it is difficult to accurately revise through a single fixed revision formula, affecting the safety of the power distribution system.
By obtaining the historical current data set of the circuit breaker, a current linear compensation function for different current intervals is constructed, and a current linear compensation function is determined and current calibration is performed based on the current detected current and operating environment information.
It improves the accuracy of circuit breaker current self-calibration, adapts to different operating environments, and enhances the safety of the power distribution system.
Smart Images

Figure CN118518921B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and more specifically, to a circuit breaker current self-calibration method, system and storage medium. Background Art
[0002] Circuit breakers are one of the main indispensable protective devices in the power distribution system. The accuracy of circuit breaker current is extremely important to the safety of the entire distribution system. Due to the influence of eddy current, hysteresis, noise, vibration and other factors, the current transformer transmission characteristics of the circuit breaker are nonlinear. Therefore, it is difficult to revise the circuit breaker current through a single fixed revision formula. Summary of the invention
[0003] In view of the above problems, an object of the present invention is to provide a circuit breaker current self-calibration method, system and storage medium, which can improve the accuracy of circuit breaker current self-calibration.
[0004] A first aspect of the present invention provides a circuit breaker current self-calibration method, comprising:
[0005] Taking the circuit breaker of the same model as a benchmark, obtain the historical current data set of the circuit breaker;
[0006] According to the historical current data set of the circuit breaker, a current linear compensation function for different current intervals is constructed;
[0007] Obtain the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0008] Determine a current linear compensation function corresponding to the detection current of the current circuit breaker according to the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0009] Inputting the current detection current of the current circuit breaker into the corresponding current linear compensation function to obtain a current compensation value;
[0010] The detection current and the current compensation value of the current circuit breaker are accumulated to obtain the current after the current circuit breaker calibration.
[0011] In this solution, the step of constructing a current linear compensation function for different current intervals based on the historical current data set of the circuit breaker specifically includes:
[0012] Based on the standard operating environment of the circuit breaker, the historical current data set is classified to obtain the historical current sub-data set under the standard operating environment and the historical current sub-data set under the non-standard operating environment, which are set as the historical first current sub-data set and the historical second current sub-data set respectively;
[0013] Based on the historical first current sub-dataset, a current linear compensation function for different current intervals under a standard operating environment is constructed; based on the historical second current sub-dataset and the historical first current sub-dataset, a current linear compensation function for different current intervals under a non-standard operating environment is constructed;
[0014] The current linear compensation functions for different current intervals include current linear compensation functions for different current intervals under a standard operating environment and current linear compensation functions for different current intervals under a non-standard operating environment.
[0015] In this solution, the step of constructing a current linear compensation function for different current intervals under a standard operating environment based on the historical first current sub-data set specifically includes:
[0016] Extracting a historical first input current and a historical first detection current from a historical first current sub-dataset;
[0017] The historical first detection currents are arranged in order from small to large, and divided into the historical first detection currents of multiple current intervals according to a preset current base.
[0018] Subtract the first historical input current from the first historical detection current to obtain the first historical current difference;
[0019] If the historical first current difference is less than zero, the corresponding historical first input current and historical first detection current are deleted;
[0020] The historical first detection currents of the current interval are numbered in ascending order, and the historical first current differences are numbered according to the numbers corresponding to the historical first detection currents;
[0021] Set the first detection current in history as the horizontal coordinate , the first current difference in history is set as the vertical coordinate , construct coordinate points , where n represents the serial number of the first historical detection current and the first historical current difference;
[0022] Based on the coordinate points of each current interval, a current linear compensation function corresponding to the current interval under the standard operating environment is constructed, and its formula is: , where y represents the current compensation value, Indicates the detection current of the current circuit breaker; , ,in , Represents the average value of the historical first detection current in the same current interval, Represents the average value of the historical first current difference in the same current interval, Indicates multiplication in an operation.
[0023] In this solution, if the historical first current difference is less than zero, then after deleting the corresponding historical first input current and historical first detection current, it also includes:
[0024] Extract the circuit breaker corresponding to the deleted historical first input current and historical first detection current, and record the corresponding circuit breaker error once;
[0025] Get the total number of errors that occurred in the circuit breaker;
[0026] If the total number of errors of the circuit breaker is greater than the preset error threshold, all historical current data provided by the corresponding circuit breaker will be deleted.
[0027] In this solution, after constructing the current linear compensation function corresponding to the current interval, it also includes:
[0028] Obtaining a distance value between a coordinate point of a current interval and a current linear compensation function of a corresponding current interval, and setting the distance value as a first distance value;
[0029] If the first distance value is greater than the preset first distance threshold, the corresponding coordinate point is deleted;
[0030] Get the number of deleted coordinate points in the same current interval;
[0031] If the number of deleted coordinate points in the same current interval is greater than a preset first number threshold, the corresponding current interval is split in the middle into two current sub-intervals;
[0032] According to the coordinate points of the two current sub-intervals, a current linear compensation function corresponding to the current sub-interval under the standard operating environment is constructed.
[0033] In this solution, the step of constructing a current linear compensation function for different current intervals in a non-standard operating environment based on the historical second current sub-data set and the historical first current sub-data set specifically includes:
[0034] Extracting a historical second input current and a historical second detection current from the historical second current sub-dataset;
[0035] Subtract the historical second input current from the historical second detection current to obtain the historical second current difference;
[0036] Obtaining a historical first current difference corresponding to a historical first input current that is the same as a historical second input current;
[0037] Subtract the historical first current difference from the historical second current difference to obtain the interference value of the historical second detection current under the non-standard operating environment;
[0038] Extract the historical second detection current corresponding to the interference value and the corresponding non-standard operating environment;
[0039] Extract the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0040] Compare and analyze the historical second detection current and the corresponding non-standard operating environment corresponding to the interference value with the detection current of the current circuit breaker and the corresponding operating environment of the circuit breaker to obtain a comprehensive similarity value;
[0041] If the comprehensive similarity value is greater than the preset similarity threshold, the interference value corresponding to the comprehensive similarity value is extracted, and the interference value corresponding to the comprehensive similarity value is averaged to obtain the interference adjustment value a of the detection current under the non-standard operating environment;
[0042] The current linear compensation function in different current intervals under the non-standard operating environment is: .
[0043] A second aspect of the present invention provides a circuit breaker current self-calibration system, comprising a memory and a processor, wherein the memory stores a circuit breaker current self-calibration method program, and when the circuit breaker current self-calibration method program is executed by the processor, the following steps are implemented:
[0044] Taking the circuit breaker of the same model as a benchmark, obtain the historical current data set of the circuit breaker;
[0045] According to the historical current data set of the circuit breaker, a current linear compensation function for different current intervals is constructed;
[0046] Obtain the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0047] Determine a current linear compensation function corresponding to the detection current of the current circuit breaker according to the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0048] Inputting the current detection current of the current circuit breaker into the corresponding current linear compensation function to obtain a current compensation value;
[0049] The detection current and the current compensation value of the current circuit breaker are accumulated to obtain the current after the current circuit breaker calibration.
[0050] In this solution, the step of constructing a current linear compensation function for different current intervals based on the historical current data set of the circuit breaker specifically includes:
[0051] Based on the standard operating environment of the circuit breaker, the historical current data set is classified to obtain the historical current sub-data set under the standard operating environment and the historical current sub-data set under the non-standard operating environment, which are set as the historical first current sub-data set and the historical second current sub-data set respectively;
[0052] Based on the historical first current sub-dataset, a current linear compensation function for different current intervals under a standard operating environment is constructed; based on the historical second current sub-dataset and the historical first current sub-dataset, a current linear compensation function for different current intervals under a non-standard operating environment is constructed;
[0053] The current linear compensation functions for different current intervals include current linear compensation functions for different current intervals under a standard operating environment and current linear compensation functions for different current intervals under a non-standard operating environment.
[0054] In this solution, the step of constructing a current linear compensation function for different current intervals under a standard operating environment based on the historical first current sub-data set specifically includes:
[0055] Extracting a historical first input current and a historical first detection current from a historical first current sub-dataset;
[0056] The historical first detection currents are arranged in order from small to large, and divided into the historical first detection currents of multiple current intervals according to a preset current base.
[0057] Subtract the first historical input current from the first historical detection current to obtain the first historical current difference;
[0058] If the historical first current difference is less than zero, the corresponding historical first input current and historical first detection current are deleted;
[0059] The historical first detection currents of the current interval are numbered in ascending order, and the historical first current differences are numbered according to the numbers corresponding to the historical first detection currents;
[0060] Set the first detection current in history as the horizontal coordinate , the first current difference in history is set as the vertical coordinate , construct coordinate points , where n represents the serial number of the first historical detection current and the first historical current difference;
[0061] Based on the coordinate points of each current interval, a current linear compensation function corresponding to the current interval under the standard operating environment is constructed, and its formula is: , where y represents the current compensation value, Indicates the detection current of the current circuit breaker; , ,in , Represents the average value of the historical first detection current in the same current interval, Represents the average value of the historical first current difference in the same current interval, Indicates multiplication in an operation.
[0062] A third aspect of the present invention provides a computer storage medium, in which a circuit breaker current self-calibration method program is stored. When the circuit breaker current self-calibration method program is executed by a processor, the steps of the circuit breaker current self-calibration method as described above are implemented.
[0063] The invention discloses a circuit breaker current self-calibration method, system and storage medium, which analyze factors such as the external environment and the circuit breaker itself, thereby improving the accuracy of the circuit breaker current self-calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 A flow chart of a circuit breaker current self-calibration method of the present invention is shown;
[0065] Figure 2 A block diagram of a circuit breaker current self-calibration system according to the present invention is shown. DETAILED DESCRIPTION
[0066] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0067] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0068] Figure 1 A flow chart of a circuit breaker current self-calibration method of the present invention is shown.
[0069] like Figure 1 As shown, a circuit breaker current self-calibration method disclosed in the present invention includes:
[0070] S101, taking the circuit breaker of the same model as a benchmark, obtaining a historical current data set of the circuit breaker;
[0071] S102, constructing a current linear compensation function for different current intervals according to a historical current data set of the circuit breaker;
[0072] S103, obtaining the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0073] S104, determining a current linear compensation function corresponding to the current detection current of the circuit breaker according to the current detection current of the circuit breaker and the operating environment information of the corresponding circuit breaker;
[0074] S105, inputting the current detection current of the circuit breaker into the corresponding current linear compensation function to obtain a current compensation value;
[0075] S106, accumulating the detection current and the current compensation value of the current circuit breaker to obtain the current after calibration of the current circuit breaker.
[0076] According to an embodiment of the present invention, due to configuration, applicable position and other issues, the detection error of the corresponding circuit breaker current of each type of circuit breaker may be inconsistent. By conducting tests on circuit breakers of the same type, a historical current data set of the circuit breaker is obtained. The historical current data set is based on the same voltage and is composed according to historical input currents and corresponding historical detection currents. The operating environment of the circuit breaker is divided into a standard operating environment and a non-standard operating environment. For example, the operating temperature of the circuit breaker is between -30 degrees Celsius and +40 degrees Celsius. When the operating temperature of the circuit breaker exceeds 40 degrees Celsius, the operating environment of the corresponding circuit breaker is a non-standard operating environment. The operating environment of the circuit breaker is compared with the preset standard operating environment. If the operating environment of the circuit breaker is within the preset standard operating environment, the circuit breaker is currently in the standard operating environment, and the current linear compensation function under the standard operating environment is matched. Then, the current linear compensation function of the current interval corresponding to the current interval under the current standard operating environment is determined according to the current interval into which the detection current of the current circuit breaker falls.
[0077] According to an embodiment of the present invention, the step of constructing a current linear compensation function for different current intervals based on a historical current data set of the circuit breaker specifically includes:
[0078] Based on the standard operating environment of the circuit breaker, the historical current data set is classified to obtain the historical current sub-data set under the standard operating environment and the historical current sub-data set under the non-standard operating environment, which are set as the historical first current sub-data set and the historical second current sub-data set respectively;
[0079] Based on the historical first current sub-dataset, a current linear compensation function for different current intervals under a standard operating environment is constructed; based on the historical second current sub-dataset and the historical first current sub-dataset, a current linear compensation function for different current intervals under a non-standard operating environment is constructed;
[0080] The current linear compensation functions for different current intervals include current linear compensation functions for different current intervals under a standard operating environment and current linear compensation functions for different current intervals under a non-standard operating environment.
[0081] It should be noted that when the operating environment of the current circuit breaker is a standard operating environment, the current linear compensation function of different current intervals in the standard operating environment is matched; when the operating environment of the circuit breaker is a non-standard operating environment, the current linear compensation function of different current intervals in the non-standard operating environment is matched.
[0082] According to an embodiment of the present invention, the step of constructing a current linear compensation function for different current intervals under a standard operating environment based on the historical first current sub-data set specifically includes:
[0083] Extracting a historical first input current and a historical first detection current from a historical first current sub-dataset;
[0084] The historical first detection currents are arranged in order from small to large, and divided into the historical first detection currents of multiple current intervals according to a preset current base.
[0085] Subtract the first historical input current from the first historical detection current to obtain the first historical current difference;
[0086] If the historical first current difference is less than zero, the corresponding historical first input current and historical first detection current are deleted;
[0087] The historical first detection currents of the current interval are numbered in ascending order, and the historical first current differences are numbered according to the numbers corresponding to the historical first detection currents;
[0088] Set the first detection current in history as the horizontal coordinate , the first current difference in history is set as the vertical coordinate , construct coordinate points , where n represents the serial number of the first historical detection current and the first historical current difference;
[0089] Based on the coordinate points of each current interval, a current linear compensation function corresponding to the current interval under the standard operating environment is constructed, and its formula is: , where y represents the current compensation value, Indicates the detection current of the current circuit breaker; , ,in , Represents the average value of the historical first detection current in the same current interval, Represents the average value of the historical first current difference in the same current interval, Indicates multiplication in an operation.
[0090] It should be noted that, for example, if the preset current base is 2A, the current range can be divided into …and so on, the current difference in each current interval is 2A, and the historical first input current in each current interval is numbered from small to large. For example, the historical first input current is numbered 3, and the historical first current difference corresponding to the historical first input current is also numbered 3.
[0091] According to an embodiment of the present invention, if the historical first current difference is less than zero, after deleting the corresponding historical first input current and the historical first detection current, the method further includes:
[0092] Extract the circuit breaker corresponding to the deleted historical first input current and historical first detection current, and record the corresponding circuit breaker error once;
[0093] Get the total number of errors that occurred in the circuit breaker;
[0094] If the total number of errors of the circuit breaker is greater than the preset error threshold, all historical current data provided by the corresponding circuit breaker will be deleted.
[0095] It should be noted that if the historical first current difference is less than zero, it means that the detection current of the current circuit breaker is definitely wrong, so the corresponding circuit breaker error is recorded once; further, when the historical first current difference is greater than the preset first current difference threshold, the record will delete the corresponding historical first input current and the historical first detection current, and record the number of times the historical first current difference is greater than the preset first current difference threshold; if the number of times the historical first current difference is greater than the preset first current difference threshold is greater than the preset second number threshold, the corresponding tested circuit breaker will be set as an unqualified product, and the historical current data of the corresponding tested circuit breaker will be deleted.
[0096] According to an embodiment of the present invention, after constructing the current linear compensation function corresponding to the current interval, the method further includes:
[0097] Obtaining a distance value between a coordinate point of a current interval and a current linear compensation function of a corresponding current interval, and setting the distance value as a first distance value;
[0098] If the first distance value is greater than the preset first distance threshold, the corresponding coordinate point is deleted;
[0099] Get the number of deleted coordinate points in the same current interval;
[0100] If the number of deleted coordinate points in the same current interval is greater than a preset first number threshold, the corresponding current interval is split in the middle into two current sub-intervals;
[0101] According to the coordinate points of the two current sub-intervals, a current linear compensation function corresponding to the current sub-interval under the standard operating environment is constructed.
[0102] It should be noted that when the number of coordinate points deleted in the same current interval is greater than the preset first number threshold, it means that the current compensation value of the corresponding current interval fluctuates too much. Therefore, the corresponding current interval is divided into two current sub-intervals, and current linear compensation functions are constructed in the two corresponding current sub-intervals to improve the accuracy of the current compensation value.
[0103] According to an embodiment of the present invention, the step of constructing a current linear compensation function for different current intervals in a non-standard operating environment based on the historical second current sub-data set and the historical first current sub-data set specifically includes:
[0104] Extracting a historical second input current and a historical second detection current from the historical second current sub-dataset;
[0105] Subtract the historical second input current from the historical second detection current to obtain the historical second current difference;
[0106] Obtaining a historical first current difference corresponding to a historical first input current that is the same as a historical second input current;
[0107] Subtract the historical first current difference from the historical second current difference to obtain the interference value of the historical second detection current under the non-standard operating environment;
[0108] Extract the historical second detection current corresponding to the interference value and the corresponding non-standard operating environment;
[0109] Extract the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0110] Compare and analyze the historical second detection current and the corresponding non-standard operating environment corresponding to the interference value with the detection current of the current circuit breaker and the corresponding operating environment of the circuit breaker to obtain a comprehensive similarity value;
[0111] If the comprehensive similarity value is greater than the preset similarity threshold, the interference value corresponding to the comprehensive similarity value is extracted, and the interference value corresponding to the comprehensive similarity value is averaged to obtain the interference adjustment value a of the detection current under the non-standard operating environment;
[0112] The current linear compensation function in different current intervals under the non-standard operating environment is: .
[0113] It should be noted that when the operating environment of the circuit breaker is a non-standard operating environment, the interference adjustment value of the detection current under the non-standard operating environment and the corresponding detection current are added to obtain a revised detection current, and the revised detection current is divided into current intervals and input into the current linear compensation function of the corresponding current interval to obtain the current compensation value.
[0114] According to an embodiment of the present invention, it also includes: the number of data groups in each current interval or current sub-interval is greater than or equal to a preset second quantity threshold, and the data groups include historical input currents and corresponding historical detection currents; the historical input currents include historical first input currents and historical second input currents, and the historical detection currents include historical first detection currents and historical second detection currents.
[0115] According to an embodiment of the present invention, the step of comparing and analyzing the historical second detection current and the corresponding non-standard operating environment corresponding to the interference value with the detection current of the current circuit breaker and the corresponding operating environment of the circuit breaker to obtain a comprehensive similarity value specifically includes:
[0116] Compare and analyze the historical second detection current corresponding to the interference value and the detection current of the current circuit breaker, and divide the smaller value by the larger value to obtain a detection current similarity value;
[0117] Compare and analyze the non-standard operating environment corresponding to the interference value and the operating environment of the current circuit breaker to obtain a similarity value of the operating environment;
[0118] The detected current similarity value is multiplied by the preset current weight coefficient, and the operating environment similarity value is multiplied by the preset operating environment weight coefficient, and then added to obtain a comprehensive similarity value;
[0119] The cumulative value of the preset current weight coefficient and the preset operating environment weight coefficient is 1.
[0120] According to an embodiment of the present invention, the step of comparing and analyzing the non-standard operating environment corresponding to the interference value and the operating environment of the current circuit breaker to obtain an operating environment similarity value specifically includes:
[0121] Extracting a feature and a feature value in a non-standard operating environment corresponding to the interference value, and setting them as a first feature and a first feature value respectively;
[0122] Extracting the characteristics and characteristic values in the operating environment of the current circuit breaker, and setting them as the second characteristics and the second characteristic values respectively;
[0123] Calculating with the same feature, if the first feature value and the second feature value are both within the feature value range of the standard operating environment of the circuit breaker, the corresponding feature similarity value is set to 1;
[0124] If the first characteristic value or the second characteristic value is not within the characteristic value range of the standard operating environment of the circuit breaker, the smaller value is divided by the larger value to obtain the corresponding characteristic similarity value;
[0125] Based on each feature weight coefficient, the feature similarity value is multiplied by the corresponding feature weight coefficient, and then accumulated to obtain the corresponding operating environment similarity value;
[0126] The cumulative value of all feature weight coefficients is 1.
[0127] Figure 2 A block diagram of a circuit breaker current self-calibration system according to the present invention is shown.
[0128] like Figure 2As shown, the second aspect of the present invention provides a circuit breaker current self-calibration system 2, comprising a memory 21 and a processor 22, wherein the memory stores a circuit breaker current self-calibration method program, and when the circuit breaker current self-calibration method program is executed by the processor, the following steps are implemented:
[0129] Taking the circuit breaker of the same model as a benchmark, obtain the historical current data set of the circuit breaker;
[0130] According to the historical current data set of the circuit breaker, a current linear compensation function for different current intervals is constructed;
[0131] Obtain the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0132] Determine a current linear compensation function corresponding to the detection current of the current circuit breaker according to the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker;
[0133] Inputting the current detection current of the current circuit breaker into the corresponding current linear compensation function to obtain a current compensation value;
[0134] The detection current and the current compensation value of the current circuit breaker are accumulated to obtain the current after the current circuit breaker calibration.
[0135] According to an embodiment of the present invention, the step of constructing a current linear compensation function for different current intervals based on a historical current data set of the circuit breaker specifically includes:
[0136] Based on the standard operating environment of the circuit breaker, the historical current data set is classified to obtain the historical current sub-data set under the standard operating environment and the historical current sub-data set under the non-standard operating environment, which are set as the historical first current sub-data set and the historical second current sub-data set respectively;
[0137] Based on the historical first current sub-dataset, a current linear compensation function for different current intervals under a standard operating environment is constructed; based on the historical second current sub-dataset and the historical first current sub-dataset, a current linear compensation function for different current intervals under a non-standard operating environment is constructed;
[0138] The current linear compensation functions for different current intervals include current linear compensation functions for different current intervals under a standard operating environment and current linear compensation functions for different current intervals under a non-standard operating environment.
[0139] According to an embodiment of the present invention, the step of constructing a current linear compensation function for different current intervals under a standard operating environment based on the historical first current sub-data set specifically includes:
[0140] Extracting a historical first input current and a historical first detection current from a historical first current sub-dataset;
[0141] The historical first detection currents are arranged in order from small to large, and divided into the historical first detection currents of multiple current intervals according to a preset current base.
[0142] Subtract the first historical input current from the first historical detection current to obtain the first historical current difference;
[0143] If the historical first current difference is less than zero, the corresponding historical first input current and historical first detection current are deleted;
[0144] The historical first detection currents of the current interval are numbered in ascending order, and the historical first current differences are numbered according to the numbers corresponding to the historical first detection currents;
[0145] Set the first detection current in history as the horizontal coordinate , the first current difference in history is set as the vertical coordinate , construct coordinate points , where n represents the serial number of the first historical detection current and the first historical current difference;
[0146] Based on the coordinate points of each current interval, a current linear compensation function corresponding to the current interval under the standard operating environment is constructed, and its formula is: , where y represents the current compensation value, Indicates the detection current of the current circuit breaker; , ,in , Represents the average value of the historical first detection current in the same current interval, Represents the average value of the historical first current difference in the same current interval, Indicates multiplication in an operation.
[0147] A third aspect of the present invention provides a computer storage medium, in which a circuit breaker current self-calibration method program is stored. When the circuit breaker current self-calibration method program is executed by a processor, the steps of the circuit breaker current self-calibration method as described above are implemented.
[0148] The present invention discloses a circuit breaker current self-calibration method, system and storage medium, wherein the method includes: taking the same type of circuit breaker as a reference, obtaining the historical current data set of the circuit breaker; constructing the current linear compensation function of different current intervals according to the historical current data set of the circuit breaker; obtaining the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; determining the current linear compensation function corresponding to the detection current of the current circuit breaker according to the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; inputting the detection current of the current circuit breaker into the corresponding current linear compensation function to obtain the current compensation value; accumulating the detection current of the current circuit breaker and the current compensation value to obtain the current after the current circuit breaker is calibrated. The present invention analyzes factors such as the external environment and the circuit breaker itself, thereby improving the accuracy of the circuit breaker current self-calibration.
[0149] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0150] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0151] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0152] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0153] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A circuit breaker current self-calibration method, characterized in that: include: Taking the circuit breaker of the same model as a benchmark, obtain the historical current data set of the circuit breaker; According to the historical current data set of the circuit breaker, a current linear compensation function for different current intervals is constructed; Obtain the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; Determine a current linear compensation function corresponding to the detection current of the current circuit breaker according to the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; Inputting the current detection current of the current circuit breaker into the corresponding current linear compensation function to obtain a current compensation value; Accumulate the detection current and current compensation value of the current circuit breaker to obtain the current after the current circuit breaker is calibrated; The step of constructing current linear compensation functions for different current intervals based on the historical current data set of the circuit breaker specifically includes: Based on the standard operating environment of the circuit breaker, the historical current data set is classified to obtain the historical current sub-data set under the standard operating environment and the historical current sub-data set under the non-standard operating environment, which are set as the historical first current sub-data set and the historical second current sub-data set respectively; Based on the historical first current sub-dataset, a current linear compensation function for different current intervals under a standard operating environment is constructed; based on the historical second current sub-dataset and the historical first current sub-dataset, a current linear compensation function for different current intervals under a non-standard operating environment is constructed; The current linear compensation functions of different current intervals include current linear compensation functions of different current intervals under a standard operating environment and current linear compensation functions of different current intervals under a non-standard operating environment; The step of constructing a current linear compensation function for different current intervals in a non-standard operating environment based on the historical second current sub-data set and the historical first current sub-data set specifically includes: Extracting a historical second input current and a historical second detection current from the historical second current sub-dataset; Subtract the historical second input current from the historical second detection current to obtain the historical second current difference; Obtaining a historical first current difference corresponding to a historical first input current that is the same as a historical second input current; Subtract the historical first current difference from the historical second current difference to obtain the interference value of the historical second detection current under the non-standard operating environment; Extract the historical second detection current corresponding to the interference value and the corresponding non-standard operating environment; Extract the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; Compare and analyze the historical second detection current and the corresponding non-standard operating environment corresponding to the interference value with the detection current of the current circuit breaker and the corresponding operating environment of the circuit breaker to obtain a comprehensive similarity value; If the comprehensive similarity value is greater than the preset similarity threshold, the interference value corresponding to the comprehensive similarity value is extracted, and the interference value corresponding to the comprehensive similarity value is averaged to obtain the interference adjustment value a of the detection current under the non-standard operating environment; The current linear compensation function in different current intervals under the non-standard operating environment is: ; The step of comparing and analyzing the historical second detection current and the corresponding non-standard operating environment corresponding to the interference value with the detection current of the current circuit breaker and the corresponding operating environment of the circuit breaker to obtain a comprehensive similarity value specifically includes: Compare and analyze the historical second detection current corresponding to the interference value and the detection current of the current circuit breaker, and divide the smaller value by the larger value to obtain a detection current similarity value; Compare and analyze the non-standard operating environment corresponding to the interference value and the operating environment of the current circuit breaker to obtain a similarity value of the operating environment; The detected current similarity value is multiplied by the preset current weight coefficient, and the operating environment similarity value is multiplied by the preset operating environment weight coefficient, and then added to obtain a comprehensive similarity value; The cumulative value of the preset current weight coefficient and the preset operating environment weight coefficient is 1; The step of comparing and analyzing the non-standard operating environment corresponding to the interference value and the operating environment of the current circuit breaker to obtain a similarity value of the operating environment specifically includes: Extracting a feature and a feature value in a non-standard operating environment corresponding to the interference value, and setting them as a first feature and a first feature value respectively; Extracting the characteristics and characteristic values in the operating environment of the current circuit breaker, and setting them as the second characteristics and the second characteristic values respectively; Calculating with the same feature, if the first feature value and the second feature value are both within the feature value range of the standard operating environment of the circuit breaker, the corresponding feature similarity value is set to 1; If the first characteristic value or the second characteristic value is not within the characteristic value range of the standard operating environment of the circuit breaker, the smaller value is divided by the larger value to obtain the corresponding characteristic similarity value; Based on each feature weight coefficient, the feature similarity value is multiplied by the corresponding feature weight coefficient, and then accumulated to obtain the corresponding operating environment similarity value; The cumulative value of all feature weight coefficients is 1.
2. A circuit breaker current self-calibration method according to claim 1, characterized in that: The step of constructing a current linear compensation function for different current intervals under a standard operating environment based on the historical first current sub-data set specifically includes: Extracting a historical first input current and a historical first detection current from a historical first current sub-dataset; The historical first detection currents are arranged in order from small to large, and divided into the historical first detection currents of multiple current intervals according to a preset current base. Subtract the first historical input current from the first historical detection current to obtain the first historical current difference; If the historical first current difference is less than zero, the corresponding historical first input current and historical first detection current are deleted; The historical first detection currents of the current interval are numbered in ascending order, and the historical first current differences are numbered according to the numbers corresponding to the historical first detection currents; Set the first detection current in history as the horizontal coordinate , the first current difference in history is set as the vertical coordinate , construct coordinate points , where n represents the serial number of the first historical detection current and the first historical current difference; Based on the coordinate points of each current interval, a current linear compensation function corresponding to the current interval under the standard operating environment is constructed, and its formula is: , where y represents the current compensation value, Indicates the detection current of the current circuit breaker; , ,in , Represents the average value of the historical first detection current in the same current interval, Represents the average value of the historical first current difference in the same current interval, " ” indicates multiplication in an operation.
3. A circuit breaker current self-calibration method according to claim 2, characterized in that: If the historical first current difference is less than zero, the corresponding historical first input current and historical first detection current are deleted, and the method further includes: Extract the circuit breaker corresponding to the deleted historical first input current and historical first detection current, and record the corresponding circuit breaker error once; Get the total number of errors that occurred in the circuit breaker; If the total number of errors of the circuit breaker is greater than the preset error threshold, all historical current data provided by the corresponding circuit breaker will be deleted.
4. A circuit breaker current self-calibration method according to claim 2, characterized in that: After constructing the current linear compensation function corresponding to the current interval under the standard operating environment, the method further includes: Obtaining a distance value between a coordinate point of a current interval and a current linear compensation function of a corresponding current interval, and setting the distance value as a first distance value; If the first distance value is greater than the preset first distance threshold, the corresponding coordinate point is deleted; Get the number of deleted coordinate points in the same current interval; If the number of deleted coordinate points in the same current interval is greater than a preset first number threshold, the corresponding current interval is split in the middle into two current sub-intervals; According to the coordinate points of the two current sub-intervals, a current linear compensation function corresponding to the current sub-interval under the standard operating environment is constructed.
5. A circuit breaker current self-calibration system, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a circuit breaker current self-calibration method program, and when the circuit breaker current self-calibration method program is executed by the processor, the following steps are implemented: Taking the circuit breaker of the same model as a benchmark, obtain the historical current data set of the circuit breaker; According to the historical current data set of the circuit breaker, a current linear compensation function for different current intervals is constructed; Obtain the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; Determine a current linear compensation function corresponding to the detection current of the current circuit breaker according to the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; Inputting the current detection current of the current circuit breaker into the corresponding current linear compensation function to obtain a current compensation value; Accumulate the detection current and current compensation value of the current circuit breaker to obtain the current after the current circuit breaker is calibrated; The step of constructing current linear compensation functions for different current intervals based on the historical current data set of the circuit breaker specifically includes: Based on the standard operating environment of the circuit breaker, the historical current data set is classified to obtain the historical current sub-data set under the standard operating environment and the historical current sub-data set under the non-standard operating environment, which are set as the historical first current sub-data set and the historical second current sub-data set respectively; Based on the historical first current sub-dataset, a current linear compensation function for different current intervals under a standard operating environment is constructed; based on the historical second current sub-dataset and the historical first current sub-dataset, a current linear compensation function for different current intervals under a non-standard operating environment is constructed; The current linear compensation functions of different current intervals include current linear compensation functions of different current intervals under a standard operating environment and current linear compensation functions of different current intervals under a non-standard operating environment; The step of constructing a current linear compensation function for different current intervals in a non-standard operating environment based on the historical second current sub-data set and the historical first current sub-data set specifically includes: Extracting a historical second input current and a historical second detection current from the historical second current sub-dataset; Subtract the historical second input current from the historical second detection current to obtain the historical second current difference; Obtaining a historical first current difference corresponding to a historical first input current that is the same as a historical second input current; Subtract the historical first current difference from the historical second current difference to obtain the interference value of the historical second detection current under the non-standard operating environment; Extract the historical second detection current corresponding to the interference value and the corresponding non-standard operating environment; Extract the detection current of the current circuit breaker and the operating environment information of the corresponding circuit breaker; Compare and analyze the historical second detection current and the corresponding non-standard operating environment corresponding to the interference value with the detection current of the current circuit breaker and the corresponding operating environment of the circuit breaker to obtain a comprehensive similarity value; If the comprehensive similarity value is greater than the preset similarity threshold, the interference value corresponding to the comprehensive similarity value is extracted, and the interference value corresponding to the comprehensive similarity value is averaged to obtain the interference adjustment value a of the detection current under the non-standard operating environment; The current linear compensation function in different current intervals under the non-standard operating environment is: ; The step of comparing and analyzing the historical second detection current and the corresponding non-standard operating environment corresponding to the interference value with the detection current of the current circuit breaker and the corresponding operating environment of the circuit breaker to obtain a comprehensive similarity value specifically includes: Compare and analyze the historical second detection current corresponding to the interference value and the detection current of the current circuit breaker, and divide the smaller value by the larger value to obtain a detection current similarity value; Compare and analyze the non-standard operating environment corresponding to the interference value and the operating environment of the current circuit breaker to obtain a similarity value of the operating environment; The detected current similarity value is multiplied by the preset current weight coefficient, and the operating environment similarity value is multiplied by the preset operating environment weight coefficient, and then added to obtain a comprehensive similarity value; The cumulative value of the preset current weight coefficient and the preset operating environment weight coefficient is 1; The step of comparing and analyzing the non-standard operating environment corresponding to the interference value and the operating environment of the current circuit breaker to obtain a similarity value of the operating environment specifically includes: Extracting a feature and a feature value in a non-standard operating environment corresponding to the interference value, and setting them as a first feature and a first feature value respectively; Extracting the characteristics and characteristic values in the operating environment of the current circuit breaker, and setting them as the second characteristics and the second characteristic values respectively; Calculating with the same feature, if the first feature value and the second feature value are both within the feature value range of the standard operating environment of the circuit breaker, the corresponding feature similarity value is set to 1; If the first characteristic value or the second characteristic value is not within the characteristic value range of the standard operating environment of the circuit breaker, the smaller value is divided by the larger value to obtain the corresponding characteristic similarity value; Based on each feature weight coefficient, the feature similarity value is multiplied by the corresponding feature weight coefficient, and then accumulated to obtain the corresponding operating environment similarity value; The cumulative value of all feature weight coefficients is 1.
6. A circuit breaker current self-calibration system according to claim 5, characterized in that: The step of constructing a current linear compensation function for different current intervals under a standard operating environment based on the historical first current sub-data set specifically includes: Extracting a historical first input current and a historical first detection current from a historical first current sub-dataset; The historical first detection currents are arranged in order from small to large, and divided into the historical first detection currents of multiple current intervals according to a preset current base. Subtract the first historical input current from the first historical detection current to obtain the first historical current difference; If the historical first current difference is less than zero, the corresponding historical first input current and historical first detection current are deleted; The historical first detection currents of the current interval are numbered in ascending order, and the historical first current differences are numbered according to the numbers corresponding to the historical first detection currents; Set the first detection current in history as the horizontal coordinate , the first current difference in history is set as the vertical coordinate , construct coordinate points , where n represents the serial number of the first historical detection current and the first historical current difference; Based on the coordinate points of each current interval, a current linear compensation function corresponding to the current interval under the standard operating environment is constructed, and its formula is: , where y represents the current compensation value, Indicates the detection current of the current circuit breaker; , ,in , Represents the average value of the historical first detection current in the same current interval, Represents the average value of the historical first current difference in the same current interval, " " indicates multiplication in an operation.
7. A computer storage medium, characterized in that: The computer storage medium stores a circuit breaker current self-calibration method program, and when the circuit breaker current self-calibration method program is executed by the processor, the steps of the circuit breaker current self-calibration method according to any one of claims 1 to 4 are implemented.
