Error state prediction method and device of voltage transformer, equipment and storage medium
By collecting and analyzing the operating data of the voltage transformer, using the error prediction model to identify abnormal curves and predict the error state, the problem of poor error detection accuracy in the existing technology is solved, and the stability and reliability of the power system are improved.
Patent Information
- Application Number
- CN202410752954.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-08
AI Technical Summary
The existing voltage transformer error detection methods have poor accuracy and are difficult to identify the error status of the voltage transformer in a timely manner, which affects the stability and reliability of the power system.
By collecting the current operating data of the same-phase voltage transformer, fitting the data curve based on the error prediction model, calculating the data difference, marking abnormal data curves, analyzing the curve change trend, predicting the error status, and performing error analysis to generate error analysis results.
It improves the accuracy of voltage transformer error state identification, prevents faults, reduces unexpected shutdowns, reduces operating costs, and enhances the reliability and stability of the power system.
Smart Images

Figure CN118746784A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power grid security monitoring, and in particular to a method, device, equipment and storage medium for predicting an error state of a voltage transformer. Background Art
[0002] In the power system, the voltage transformer (PT) is a key device used to convert high voltage to low voltage for use by protection relays and measuring equipment. In order to ensure the stability and safety of the power system, the performance of the voltage transformer needs to be monitored and analyzed in real time. During the long-term operation of the voltage transformer, the concepts in the data set may drift due to equipment aging, changes in operating conditions, etc., that is, the concepts contained in the new and old data are inconsistent.
[0003] Existing voltage transformer error detection methods mostly rely on periodic manual calibration or automated systems based on simple thresholds. However, the measurement error state of the voltage transformer is easily affected by many factors during operation and has low stability. Periodic detection cannot identify the error state of the voltage transformer in a timely and accurate manner.
[0004] Therefore, how to solve the current problem of poor accuracy in identifying the error state of voltage transformers has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a method, device, equipment and storage medium for predicting the error state of a voltage transformer, aiming to improve the accuracy of identifying the error state of a voltage transformer.
[0006] In a first aspect, the present application provides a method for predicting an error state of a voltage transformer, the method comprising:
[0007] Collecting current operating data of at least two voltage transformers in the same phase;
[0008] Based on the error prediction model, fitting the operation data curve corresponding to the current operation data of each voltage transformer, and calculating the operation data difference of each operation data curve at the same time;
[0009] When there are at least two of the operating data curves whose operating data difference is greater than a preset difference threshold, marking the corresponding operating data curve as an abnormal data curve;
[0010] Based on the curve change trend of the abnormal data curve, error prediction is performed on the abnormal voltage transformer corresponding to the abnormal data curve to determine the current error state of the abnormal voltage transformer;
[0011] Based on the current error state, an error analysis is performed on the abnormal voltage transformer to generate an error analysis result.
[0012] In a second aspect, the present application further provides an error state prediction device for a voltage transformer, the error state prediction device for a voltage transformer comprising:
[0013] A data acquisition module, used for acquiring current operating data of at least two voltage transformers in the same phase;
[0014] A data fitting module, used for fitting the operation data curve corresponding to the current operation data of each voltage transformer based on the error prediction model, and calculating the operation data difference of each operation data curve at the same time;
[0015] An abnormal data marking module, used for marking the corresponding operation data curve as an abnormal data curve when there are at least two operation data curves whose operation data difference is greater than a preset difference threshold;
[0016] An error prediction module, configured to perform error prediction on an abnormal voltage transformer corresponding to the abnormal data curve based on a curve change trend of the abnormal data curve, and determine a current error state of the abnormal voltage transformer;
[0017] The error analysis module is used to perform error analysis on the abnormal voltage transformer based on the current error state and generate an error analysis result.
[0018] In a third aspect, the present application also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the error state prediction method of the voltage transformer as described above are implemented.
[0019] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the error state prediction method for a voltage transformer as described above are implemented.
[0020] The present application provides a method, device, equipment and storage medium for predicting the error state of a voltage transformer. The method of the present application includes collecting the current operating data of at least two voltage transformers of the same phase; fitting the operating data curves corresponding to the current operating data of each voltage transformer based on an error prediction model, and calculating the operating data difference of each operating data curve at the same time; when the operating data difference of at least two operating data curves is greater than a preset difference threshold, marking the corresponding operating data curve as an abnormal data curve; based on the curve change trend of the abnormal data curve, performing error prediction on the abnormal voltage transformer corresponding to the abnormal data curve, and determining the current error state of the abnormal voltage transformer; based on the current error state, performing error analysis on the abnormal voltage transformer, and generating an error analysis result. In the above manner, the present application performs data fitting on the current operating data of multiple voltage transformers of the same phase through an error prediction model, which can more accurately capture the performance changes and potential errors of the voltage transformer; by comparing the difference of the operating data curves at the same time, the abnormal data curve can be more accurately identified, the abnormal situation can be quickly discovered and responded to, and the accuracy of abnormal detection can be improved. By analyzing the curve change trend of the abnormal data curve and predicting the error of the abnormal voltage transformer, faults can be prevented and unexpected downtime can be reduced, thereby reducing long-term operating costs. By predicting the error of the abnormal data curve, the current error state of the abnormal voltage transformer can be determined, and then error analysis can be performed based on the current error state, so that the error of the voltage transformer can be discovered and corrected in time, which can improve the reliability and stability of the entire power system. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 A schematic flow chart of a first embodiment of a method for predicting an error state of a voltage transformer provided by the present application;
[0023] Figure 2 A schematic flow chart of a second embodiment of the error state prediction method for a voltage transformer provided in the present application;
[0024] Figure 3 A schematic flow chart of a third embodiment of the method for predicting an error state of a voltage transformer provided by the present application;
[0025] Figure 4It is a structural schematic diagram of a first embodiment of an error state prediction device for a voltage transformer provided by the present application;
[0026] Figure 5 It is a schematic block diagram of the structure of a computer device provided in an embodiment of the present application.
[0027] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0030] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0031] Please refer to Figure 1 , Figure 1 A schematic flow chart of a first embodiment of a method for predicting an error state of a voltage transformer provided in the present application.
[0032] like Figure 1 As shown, the error state prediction method of the voltage transformer includes steps S101 to S105.
[0033] S101, collecting current operating data of at least two voltage transformers of the same phase;
[0034] In one embodiment, a same-phase voltage transformer means that the phases of the voltages between the primary side and the secondary side of the voltage transformer are the same, that is, there is no phase difference.
[0035] In one embodiment, the current operation data of a plurality of same-phase voltage transformers may be continuously collected, or the current operation data of a plurality of same-phase voltage transformers may be periodically collected in the same cycle.
[0036] In one embodiment, the current operating data includes but is not limited to load data, frequency fluctuation, voltage, current, operating temperature, and operating time.
[0037] In one embodiment, the current operation data may be time series data collected in chronological order, such as voltage time series data, current time series data, temperature time series data, and the like.
[0038] S102, fitting the operation data curves corresponding to the current operation data of each voltage transformer based on the error prediction model, and calculating the operation data difference of each operation data curve at the same time;
[0039] In one embodiment, the error prediction model is a mathematical model established based on historical operating data and known physical laws, and is used to predict the error performance of the voltage transformer under different working conditions. The trained error prediction model is applied to the current operating data to fit the operating data curve of the voltage transformer. The curve can reflect the error change trend of the voltage transformer under different working conditions.
[0040] In one embodiment, at the same time, operating data curves of different voltage transformers or the same voltage transformer at different time points are compared to calculate their operating data differences.
[0041] For example, for two running data curves y 1 (t) and y 2 (t), the running data difference Δy(t) at the same time t can be calculated by the following formula:
[0042] Ay(t)=ly1(t)-y2(t)
[0043] In one embodiment, the operating data difference is the difference between data of the same type, such as voltage difference, current difference, operating temperature difference, etc., but multiple types of operating data differences can be calculated at the same time, that is, the operating data difference can be one or more data differences such as voltage difference, current difference, operating temperature difference, operating data difference, etc.
[0044] In another embodiment, the operating data of several voltage transformers in the same phase that are operating normally under the current environment can also be collected, and then the average of each operating data at each moment is calculated to fit a standard operating data curve. Then, the operating data curve corresponding to the current operating data of each voltage transformer is fitted, and the operating data curve is error compensated according to the current device state of the voltage transformer to obtain a compensated operating data curve, and then the operating data difference between the compensated data curve and the standard data curve at each moment is calculated.
[0045] In one embodiment, error compensation is used to correct deviations caused by measurement errors, equipment performance degradation, environmental factors, etc. The purpose of the error compensation formula is to adjust the fitting curve to make it closer to the actual data, thereby improving the accuracy of prediction and analysis.
[0046] y compensatedyfit + α·e^(-λt)·(yactuaallyrit)
[0047] Among them, y com p ensated is the compensated fitting value, y fit is the predicted value of the original fitting curve, y actual is the measured value of the operating data, α and λ are parameters determined according to the characteristics of the error changing with time, and t is time.
[0048] S103. When the difference between the operating data of at least two of the operating data curves is greater than a preset difference threshold, mark the corresponding operating data curve as an abnormal data curve;
[0049] In one embodiment, there must be a certain data difference between the operating data of different voltage transformers. However, during normal operation, this data difference must also be maintained within a stable fluctuation range. Therefore, the preset difference threshold of the operating data difference can be determined according to this fluctuation range, and it can be judged whether there is an abnormality in the operating data difference between multiple operating data curves according to the preset difference threshold.
[0050] In one embodiment, based on a preset period, obtain the current device information of the voltage transformer; based on the current device information, determine the preset difference threshold corresponding to the current operating data.
[0051] In one embodiment, the current device information includes but is not limited to input voltage, output voltage, ambient temperature, load condition, device model, service life, historical maintenance records, etc.
[0052] In one embodiment, as the operating time of the voltage transformer accumulates, there will be an aging problem, and the aging of the device will cause the error offset of the voltage transformer to gradually increase. However, during its actual use, the test data is still stable. Therefore, to avoid waste, the voltage transformer that can be safely used will continue to be used. Therefore, to avoid abnormal misjudgment, the preset difference threshold can be adaptively adjusted according to the current device information of the voltage transformer.
[0053] In one embodiment, the preset period can be determined according to the degree of aging of the equipment by monitoring the environmental conditions (such as temperature, humidity, vibration, etc.) of the voltage transformer and regularly conducting aging assessments (including insulation performance tests, mechanical performance tests, etc.) on the voltage transformer. The preset period can include multiple periods of different cycle lengths. For example, the impact of different aging degrees on the data test error of the voltage transformer can be tested to determine multiple aging stages, and then the cycle length corresponding to each aging stage is determined according to the aging acceleration time of the voltage transformer under environmental conditions. For example, the first aging stage can be six months, the second aging cycle can be three months, and the third aging cycle can be one month. Therefore, the preset periods are first cycle-six months, second cycle-three months, and third cycle-one month in order.
[0054] In one embodiment, the current device information of the voltage transformer is collected according to a preset period. When the current device information does not reach the preset threshold adjustment condition, the current device information of the voltage transformer can be continuously collected, or the preset period can be adjusted to shorten the collection interval of the current device information of the voltage transformer. For example, the current device information of the voltage transformer is collected in the first period-six months, and when the current aging degree of the voltage transformer is evaluated to still maintain in the first stage, the current device information of the voltage transformer can be continuously collected for aging evaluation until the aging evaluation reaches the next stage, and the preset difference threshold is adjusted to the preset difference threshold corresponding to the second stage. At this time, the preset period is adjusted to the second period-three months; or, the preset period is adjusted to a shorter period, such as collecting the current device information of the voltage transformer once a day, until the aging degree of the voltage transformer is evaluated to reach the next stage according to the current device information, and the preset difference threshold is adjusted to the preset difference threshold corresponding to the second stage. At this time, the preset period is adjusted to the second period-three months.
[0055] In another embodiment, the preset period may also be a fixed time period, for example, the current equipment information of the voltage transformer is collected once a month, and when the equipment status of the voltage transformer is evaluated according to the current equipment information to enter the next stage, the preset difference threshold is adjusted to the threshold corresponding to the next stage.
[0056] This embodiment dynamically adjusts the difference threshold according to environmental conditions and device aging to improve the accuracy and robustness of error detection.
[0057] In one embodiment, when there are at least two operating data curves whose operating data difference is greater than a preset difference threshold, it can be considered that one or more of the operating data curves are abnormal, and the abnormal operating data curve can be marked as an abnormal data curve. Alternatively, the difference between the operating data curve with the abnormality and other normal operating data curves can be calculated respectively to screen out the operating data curve with real abnormality and mark it as an abnormal data curve.
[0058] For example, there are three operating data curves y 1 (t), y 2 (t), y 3 (t) and y 4 (t), where y 1 (t) and y 2 The running data difference of (t) is within the preset difference threshold range, y 3 (t) and y 4 The running data difference of (t) is greater than the preset difference threshold. At this time, y 3 (t) and y 4 (t) is marked as an abnormal data curve; it can also verify y 3 (t) and y 1 (t), y 2 (t) Whether the running data difference is within the preset difference threshold range, and verify y 4 (t) and y 1 (t), y 2 (t) Whether the running data difference is within the preset difference threshold range, if y 3 (t) and y 1 (t), y 2 The running data difference of (t) is within the preset difference threshold range, y 4 (t) and y 1 (t), y 2 (t) If the difference of any running data is greater than the preset difference threshold, y can be marked 4 (t) is the abnormal data curve, y 3 (t) is the normal data curve.
[0059] S104, based on the curve change trend of the abnormal data curve, performing error prediction on the abnormal voltage transformer corresponding to the abnormal data curve, and determining the current error state of the abnormal voltage transformer;
[0060] In one embodiment, the abnormal data curve may be manifested as voltage fluctuation, frequency anomaly, or other features inconsistent with normal operating data.
[0061] In one embodiment, because the operating data of the voltage transformer under different equipment states (such as aging degree, different load states, etc.) are different, the abnormal data curve can be analyzed in combination with the current equipment information of the abnormal voltage transformer. The current equipment information includes but is not limited to the equipment model, rated parameters, service life, historical maintenance records, historical error data, and current operating environment conditions.
[0062] In one embodiment, the error state of the voltage transformer refers to the deviation of the voltage transformer in actual operation compared with the ideal state, and this deviation may affect the protection, control and measurement accuracy of the power system.
[0063] Exemplarily, the current error state may include, but is not limited to, proportional error, phase error, harmonic error, saturation error, temperature error, aging error, transient error, and load error.
[0064] Among them, the proportional error (ratio error) refers to the fact that the proportional relationship between the output voltage and the input voltage of the voltage transformer is inconsistent with the nominal transformation ratio, which manifests as the output voltage being higher or lower than the theoretical value calculated according to the transformation ratio.
[0065] Phase error (angle difference) refers to the phase difference between the output voltage and input voltage of the voltage transformer, which does not match the ideal value, and is manifested as the phase of the output voltage leading or lagging behind the phase of the input voltage.
[0066] Harmonic error refers to the deviation between the response of the voltage transformer and the ideal response under non-sinusoidal voltage input, which is manifested as the response to the harmonic components causing the measured value to be inconsistent with the actual value.
[0067] Saturation error refers to when the input voltage exceeds the rated value of the voltage transformer, the core material reaches a magnetic saturation state, resulting in an increase in error, which is manifested as the output voltage cannot correctly reflect the changes in the input voltage under overload conditions.
[0068] Temperature error refers to the change in the characteristics of the internal materials of the voltage transformer due to changes in ambient temperature, which is manifested as a deviation between the measured value and the actual value at different temperatures.
[0069] Aging error refers to the performance degradation caused by the aging of internal components of the voltage transformer as the voltage transformer is used for a longer time. It is manifested as a gradual increase in error after long-term operation, and calibration or replacement of the equipment may be required.
[0070] Transient error refers to the delay in the response of the voltage transformer when the voltage changes suddenly, which leads to transient error. When the voltage changes suddenly, the output voltage cannot immediately reflect the change of the input voltage.
[0071] Load error refers to the change in the secondary side load of the voltage transformer, which affects its output voltage. When the load changes, the output voltage is inconsistent with the output voltage when there is no load.
[0072] In one embodiment, the error prediction model is used to predict the error of the voltage transformer with error, and the error state of the voltage transformer within a preset time period is predicted, such as: the error change trend is stable, self-repairable, requires manual maintenance, irreversible damage, etc. For example, the error change trend of the aging error is stable during the normal aging process, the transient error is self-repairable, and the saturation error requires manual maintenance.
[0073] Furthermore, based on the abnormal data curve and the equipment information of the abnormal voltage transformer, the curve change trend of the abnormal data curve is predicted to obtain the predicted data curve; based on the real abnormal data, the predicted data curve is verified and corrected to obtain the actual data curve; based on the actual data curve, the current error state of the abnormal voltage transformer is determined.
[0074] In one embodiment, according to the equipment information of the abnormal voltage transformer and the abnormal data curve, combined with the historical abnormal data, the abnormal data curve is predicted to have a curve trend, and the trend change of the abnormal data curve in the future period is fitted to obtain the predicted data curve. Then, the real abnormal data of the abnormal voltage transformer in the future period is collected, the real data curve of the abnormal voltage transformer is fitted, and the predicted data curve is verified to determine whether the predicted data curve is accurate. If it is accurate, the abnormal cause of the abnormal voltage transformer can be located according to the predicted data curve. If it is inaccurate, the predicted data curve is corrected according to the real abnormal data, the prediction of the curve change trend is continued, and verification and correction are performed according to the real abnormal data until the abnormal cause of the abnormal voltage transformer is located, thereby determining the current error state of the abnormal voltage transformer.
[0075] S105. Based on the current error state, perform error analysis on the abnormal voltage transformer to generate an error analysis result.
[0076] In one embodiment, the error analysis result includes error location, error cause, error compensation data and maintenance strategy.
[0077] In one embodiment, data calibration is performed on the voltage transformer and a maintenance strategy is output according to the error prediction result.
[0078] In one embodiment, according to the current error state, an error analysis is performed on the abnormal voltage transformer, and the error of the abnormal voltage transformer is located, including but not limited to proportional error, phase error, harmonic error, saturation error, temperature error, aging error, transient error and load error. And the cause of the error is analyzed, such as: equipment aging, environmental factors (temperature, humidity, etc.), load changes, insufficient maintenance, etc. Then, for the error data, if the error is caused by the normal operation of the equipment, the measured data can be compensated for the error. If the error is caused by equipment abnormality, such as equipment damage, etc., it is necessary to overhaul, maintain and replace the equipment.
[0079] In one embodiment, the error analysis aims to identify abnormal behavior of the voltage transformer, determine the nature of the error, and propose corresponding calibration and maintenance measures.
[0080] Exemplarily, based on the current operating data of the abnormal voltage transformer, including input voltage, output voltage, load conditions, etc., the abnormal pattern in the data can be identified to determine the part or parameter where the error occurs. Compare with historical data to analyze the error change trend. Consider environmental factors such as temperature, humidity, electromagnetic interference, as well as equipment factors such as equipment aging, component wear, and insufficient maintenance to determine the cause of the error. Calculate the specific value of the error, including proportional error, phase error, etc., and generate error compensation data based on the error calculation results. Based on the error analysis results, formulate a preventive maintenance plan and a calibration plan, including calibration time and calibration method. For errors that cannot be recovered by calibration, recommendations for replacing equipment can be made.
[0081] Furthermore, based on a preset period, the current operating data of each voltage transformer is stored in segments to obtain periodic operating data, wherein the periodic operating data includes normal operating data and abnormal operating data; based on the periodic operating data, the error prediction model is iteratively optimized and trained so that the error prediction model is suitable for data prediction of the voltage transformer currently being monitored.
[0082] In one embodiment, the current operating data of the voltage transformer under test can be stored in segments according to a preset period, for example, collected and stored once a week (preset period), and the data set and time corresponding to each voltage transformer are marked as periodic operating data.
[0083] In one embodiment, data monitoring and collection are required for both normal voltage transformers and abnormal voltage transformers. The operating data of the normal voltage transformer can be used as positive sample data, and the operating data of the abnormal voltage transformer can be used as negative sample data. The negative sample data can be marked as abnormal to determine the abnormal type, abnormal cause, etc.
[0084] In one embodiment, the error prediction model is fine-tuned and optimized by periodically running data, that is, the error prediction model is retrained by positive sample data and negative sample data.
[0085] In one embodiment, the iterative training can be performed once each time the periodic operation data is collected. During each iterative optimization training, the error prediction model currently used can be optimized and trained through the periodic operation data collected in the current period, or all the periodic operation data corresponding to the voltage transformer currently being measured can be merged in the order of the acquisition time, and the error prediction model can be iteratively optimized and trained through the merged periodic operation data, so that the error prediction model can be more suitable for the data prediction of the voltage transformer group currently being measured, thereby improving the data prediction accuracy.
[0086] The present embodiment provides a method for predicting the error state of a voltage transformer. The method uses an error prediction model to perform data fitting on the current operating data of multiple voltage transformers in the same phase, so as to more accurately capture the performance changes and potential errors of the voltage transformer; by comparing the difference of the operating data curves at the same time, the abnormal data curve can be more accurately identified, the abnormal situation can be quickly discovered and responded to, and the accuracy of abnormal detection can be improved. By analyzing the curve change trend of the abnormal data curve, the error prediction of the abnormal voltage transformer can be carried out, which can prevent faults and reduce unexpected downtime, thereby reducing long-term operating costs. By predicting the error of the abnormal data curve, the current error state of the abnormal voltage transformer is determined, and then according to the current error state, error analysis is performed, the error of the voltage transformer can be discovered and corrected in time, and the reliability and stability of the entire power system can be improved.
[0087] Please refer to Figure 2 , Figure 2 This is a flow chart of a second embodiment of the error state prediction method for a voltage transformer provided in the present application.
[0088] In this embodiment, based on the above Figure 1 In the embodiment shown, the step before S101 specifically includes:
[0089] S201, collecting at least one group of historical operation data of the same-phase voltage transformers during normal operation, wherein each group of historical operation data includes at least two historical operation data of the same-phase voltage transformers during normal operation;
[0090] In one embodiment, historical operating data of multiple voltage transformers of the same phase during normal operation can be collected, and the historical operating data corresponding to the multiple voltage transformers of the same phase can be grouped. For example, the historical operating data corresponding to voltage transformers connected in parallel in the same power system can be grouped together; or the historical operating data corresponding to voltage transformers in the same operating environment can be grouped together, etc.
[0091] In one embodiment, each group of historical operation data includes at least historical operation data corresponding to two voltage transformers of the same phase, so as to calculate the difference.
[0092] S202, calculating the difference between each group of the historical operation data to obtain at least one group of difference data;
[0093] In one embodiment, the historical operation data may correspond to a time series, and curve fitting may be performed on the historical operation data corresponding to at least two voltage transformers in each group to obtain a data curve of the historical operation data changing with time sequence.
[0094] In one embodiment, according to the time correspondence, the data difference corresponding to each group of historical operation data at each time can be calculated to obtain the difference data corresponding to each group of historical operation data.
[0095] In one embodiment, each group of historical operating data corresponds to at least one group of difference data. For example, if a group of historical operating data only includes historical operating data of two same-phase voltage transformers, a group of difference data will be output; if a group of historical operating data includes historical operating data of three same-phase voltage transformers, three groups of difference data can be obtained; and so on, the difference between each group of historical operating data is calculated pairwise, and at least one group of difference data can be calculated for each group of historical operating data.
[0096] S203: Based on the operation time of the voltage transformer, calculate the difference mean of the difference data corresponding to each preset segment time within the operation time to obtain the preset difference threshold.
[0097] It is understandable that as the operating time of the voltage transformer continues to accumulate, the error will also accumulate. Therefore, the historical operating data of the voltage transformer can be divided into multiple sub-data sets corresponding to preset segment time lengths according to the operating time of the voltage transformer, that is, the difference data of each sub-data set is calculated, and then the difference mean of the difference data of each sub-data set is calculated as the preset difference threshold corresponding to each preset segment time length.
[0098] For example, it is assumed that T is the operating time of the voltage transformer, T i is the duration of each preset segment, x ij is the difference data collected at the jth time point within the i-th segment duration, then the mean difference It can be calculated by the following formula:
[0099]
[0100] Among them, n i is the duration of the i-th segment T i The number of difference data points collected within.
[0101] In one embodiment, the preset segment duration corresponds to each stage period of the preset cycle. As described in the above embodiment, the preset cycle can be divided into multiple periods of different cycle lengths. For example, the first aging stage can be six months, the second aging cycle can be three months, and the third aging cycle can be one month. Therefore, the preset cycles are first cycle-six months, second cycle-three months, and third cycle-one month in order. Then, the preset segment duration can be divided into six months, three months, and one month in sequence. That is, the difference mean of the difference data from the start time of the voltage transformer operation to the sixth month is calculated as the preset difference threshold corresponding to the first aging cycle; the difference mean of the difference data from the seventh month of the voltage transformer operation to the end of the ninth month is calculated as the preset difference threshold corresponding to the second aging cycle; the difference mean of the difference data of the tenth month of the voltage transformer operation is calculated as the preset difference threshold corresponding to the third aging cycle.
[0102] This embodiment divides the historical operating data of the voltage transformer according to the preset period, and then calculates the difference mean of the difference data within each preset segment time length as the preset difference threshold corresponding to each preset segment time length, thereby realizing adaptive adjustment of the preset difference threshold and improving the error prediction accuracy.
[0103] Please refer to Figure 3 , Figure 3 This is a flow chart of a third embodiment of the error state prediction method for a voltage transformer provided in the present application.
[0104] In this embodiment, based on the above Figure 1 In the embodiment shown, before S101, the following steps are specifically included:
[0105] S301, collecting historical fault data of the voltage transformer, wherein the historical fault data includes a fault type, equipment operation data corresponding to the fault type, and a fault solution;
[0106] In one embodiment, historical fault data of the voltage transformer is collected, and operation data of the entire process from normal operation to the occurrence of the abnormality of the voltage transformer that has experienced the abnormality may be used as the historical fault data.
[0107] In one embodiment, the historical fault data may include historical operation data, fault type, equipment operation data, fault cause and fault solution, and the fault solution may include maintenance method, maintenance result and operation data after maintenance, etc. Among them, the equipment operation data may include equipment information (such as equipment type, model, etc.), operation time, equipment temperature, load and other data. The historical operation data may include voltage data, current data, etc.
[0108] S302, annotating the historical fault data to obtain model training data, wherein the model training data includes a training set, a test set, and a validation set;
[0109] In one embodiment, historical fault data may also include normal operating data. At the same time, historical fault data also includes fault type, fault cause, fault manifestation data, etc. Therefore, the historical fault data can be labeled based on expert prior knowledge, and the fault manifestation data (i.e., abnormal data when a fault occurs), fault type, and fault cause, etc., can be labeled as model training data for the identification and analysis of fault data corresponding to the training error prediction model.
[0110] In one embodiment, normal operation data may be marked as a comparison sample.
[0111] In one embodiment, the labeled data is randomly divided into a training set (70%), a validation set (15%) and a test set (15%). The training set is used to train the pre-trained model, the test set is used to test the prediction ability of the trained pre-trained model for error data, and the validation set is used to verify the accuracy of the prediction results of the pre-trained model.
[0112] S303: Based on the model training data and the model optimization algorithm, the pre-trained model is iteratively optimized and trained to obtain the error prediction model.
[0113] In one embodiment, a pre-trained model suitable for fault prediction may be selected, such as a decision tree, a random forest, a support vector machine, or a neural network model.
[0114] In one embodiment, the pre-trained model is initially trained using the training set data. Based on the performance of the test set and validation set and performance feedback, the parameters of the model are adjusted, and the model is iteratively optimized and trained using a model optimization algorithm to improve the prediction accuracy and generalization ability of the model. The performance of the optimized model is evaluated on the validation set to ensure that the model achieves the expected prediction accuracy.
[0115] Exemplarily, the model optimization algorithm can be selected according to the actual needs of the error prediction model, such as gradient descent method, stochastic gradient descent method, momentum method, adaptive gradient algorithm, etc.
[0116] For example, the gradient descent method is one of the most commonly used algorithms for optimizing neural networks. The basic idea is to update the model parameters along the gradient descent direction of the function. The update rule is:
[0117]
[0118] Among them, θ is the model parameter, α is the learning rate, J(θ) is the loss function, is the gradient of the loss function with respect to the parameters θ.
[0119] Exemplarily, the loss function J(θ) is a cross entropy loss function:
[0120]
[0121] Where M is the number of categories, is the one-hot encoded true label, p θ (c|x (i) ) is the probability that the model predicts class c, and λ is the weight of the regularization term.
[0122] In one embodiment, the model training process not only requires the error prediction model to be trained to identify error data, but also includes data prediction, error cause analysis, verification, and output of maintenance strategies for the error data.
[0123] This embodiment performs iterative optimization training on the pre-trained model by annotating historical fault data, thereby obtaining an error prediction model that can accurately predict voltage transformer error data and output maintenance strategies.
[0124] See also Figure 4 , Figure 4 The present invention provides a schematic diagram of the structure of a first embodiment of a voltage transformer error state prediction device provided by the present invention, wherein the voltage transformer error state prediction device is used to execute the aforementioned voltage transformer error state prediction method. The voltage transformer error state prediction device can be configured in a server.
[0125] like Figure 4 As shown, the error state prediction device 400 of the voltage transformer includes: a data acquisition module 401, a data fitting module 402, an abnormal data marking module 403, an error prediction module 404 and an error analysis module 405.
[0126] The data acquisition module 401 is used to collect current operation data of at least two voltage transformers in the same phase;
[0127] A data fitting module 402 is used to fit the operation data curve corresponding to the current operation data of each voltage transformer based on the error prediction model, and calculate the operation data difference of each operation data curve at the same time;
[0128] The abnormal data marking module 403 is used to mark the corresponding operating data curve as an abnormal data curve when there are at least two operating data curves whose operating data difference is greater than a preset difference threshold;
[0129] The error prediction module 404 is used to perform error prediction on the abnormal voltage transformer corresponding to the abnormal data curve based on the curve change trend of the abnormal data curve, and determine the current error state of the abnormal voltage transformer;
[0130] The error analysis module 405 is used to perform error analysis on the abnormal voltage transformer based on the current error state and generate an error analysis result.
[0131] In one embodiment, the error prediction module 404 includes:
[0132] An abnormal data prediction unit, configured to predict a curve change trend of the abnormal data curve based on the abnormal data curve and the equipment information of the abnormal voltage transformer, and obtain a predicted data curve;
[0133] A prediction data curve verification unit, used to verify and correct the prediction data curve based on real abnormal data to obtain an actual data curve;
[0134] A current error state determining unit is used to determine the current error state of the abnormal voltage transformer based on the actual data curve.
[0135] In one embodiment, the voltage transformer error state prediction device 400 further includes a threshold value calculation module, and the threshold value calculation module includes:
[0136] A historical operation data collection unit, used for collecting historical operation data of at least one group of voltage transformers of the same phase when operating normally, wherein each group of historical operation data includes historical operation data of at least two voltage transformers of the same phase when operating normally;
[0137] A difference data calculation unit, used for calculating the difference between each group of the historical operation data to obtain at least one group of difference data;
[0138] The threshold calculation unit is used to calculate the difference mean of the difference data corresponding to each preset segment duration within the operating duration based on the operating duration of the voltage transformer, so as to obtain the preset difference threshold.
[0139] In one embodiment, the voltage transformer error state prediction device 400 further includes a threshold selection module, and the threshold selection module includes:
[0140] A device information acquisition unit, used to acquire current device information of the voltage transformer based on a preset period;
[0141] A current threshold determination unit is used to determine the preset difference threshold corresponding to the current operation data based on the current device information.
[0142] In one embodiment, the voltage transformer error state prediction device 400 further includes a model training module, and the model training module includes:
[0143] A historical fault data collection unit, used to collect historical fault data of the voltage transformer, wherein the historical fault data includes a fault type, equipment operation data corresponding to the fault type, and a fault solution;
[0144] A data labeling unit, used to label the historical fault data to obtain model training data, wherein the model training data includes a training set, a test set and a validation set;
[0145] The model training unit is used to perform iterative optimization training on the pre-trained model based on the model training data and the model optimization algorithm to obtain the error prediction model.
[0146] In one embodiment, the voltage transformer error state prediction device 400 further includes a model optimization module, and the model optimization module includes:
[0147] A periodic operation data acquisition unit, used to store the current operation data of each voltage transformer in segments based on a preset period to obtain periodic operation data, wherein the periodic operation data includes normal operation data and abnormal operation data;
[0148] The model iteration optimization unit is used to perform iterative optimization training on the error prediction model based on the periodic operation data, so that the error prediction model is suitable for the data prediction of the voltage transformer currently monitored.
[0149] In one embodiment, the error analysis result includes error location, error cause, error compensation data and maintenance strategy.
[0150] It should be noted that technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned voltage transformer error state prediction method embodiment, and will not be repeated here.
[0151] The apparatus provided in the above embodiment may be implemented in the form of a computer program. The computer program may be Figure 5 Runs on the computer device shown.
[0152] See also Figure 5 , Figure 5 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.
[0153] See also Figure 5 The computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.
[0154] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any error state prediction method for a voltage transformer.
[0155] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
[0156] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any error state prediction method for a voltage transformer.
[0157] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0158] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0159] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0160] Collecting current operating data of at least two voltage transformers in the same phase;
[0161] Based on the error prediction model, fitting the operation data curve corresponding to the current operation data of each voltage transformer, and calculating the operation data difference of each operation data curve at the same time;
[0162] When there are at least two of the operating data curves whose operating data difference is greater than a preset difference threshold, marking the corresponding operating data curve as an abnormal data curve;
[0163] Based on the curve change trend of the abnormal data curve, error prediction is performed on the abnormal voltage transformer corresponding to the abnormal data curve to determine the current error state of the abnormal voltage transformer;
[0164] Based on the current error state, an error analysis is performed on the abnormal voltage transformer to generate an error analysis result.
[0165] In one embodiment, when the processor implements the curve change trend based on the abnormal data curve, performs error prediction on the abnormal voltage transformer corresponding to the abnormal data curve, and determines the current error state of the abnormal voltage transformer, it is used to implement:
[0166] Based on the abnormal data curve and the equipment information of the abnormal voltage transformer, predicting the curve change trend of the abnormal data curve to obtain a predicted data curve;
[0167] Based on the real abnormal data, verify and correct the predicted data curve to obtain the actual data curve;
[0168] Based on the actual data curve, a current error state of the abnormal voltage transformer is determined.
[0169] In one embodiment, before implementing the acquisition of current operation data of at least two voltage transformers of the same phase, the processor is further configured to implement:
[0170] Collecting at least one group of historical operation data of the same-phase voltage transformers during normal operation, wherein each group of historical operation data includes at least two historical operation data of the same-phase voltage transformers during normal operation;
[0171] Calculating the difference between each group of the historical operation data to obtain at least one group of difference data;
[0172] Based on the operation time of the voltage transformer, the difference mean of the difference data corresponding to each preset segment time in the operation time is calculated to obtain the preset difference threshold.
[0173] In one embodiment, before the processor implements the step of marking the corresponding operating data curve as an abnormal data curve when the operating data difference between at least two operating data curves is greater than a preset difference threshold, the processor is further configured to implement:
[0174] Based on a preset period, obtaining current device information of the voltage transformer;
[0175] Based on the current device information, the preset difference threshold corresponding to the current operating data is determined.
[0176] In one embodiment, before implementing the acquisition of current operation data of at least two voltage transformers of the same phase, the processor is further configured to implement:
[0177] Collecting historical fault data of the voltage transformer, wherein the historical fault data includes a fault type, equipment operation data corresponding to the fault type, and a fault solution;
[0178] Annotating the historical fault data to obtain model training data, wherein the model training data includes a training set, a test set, and a validation set;
[0179] Based on the model training data and the model optimization algorithm, the pre-trained model is iteratively optimized and trained to obtain the error prediction model.
[0180] In one embodiment, after acquiring the current operation data of at least two voltage transformers of the same phase, the processor is further configured to implement:
[0181] Based on a preset period, the current operation data of each voltage transformer is stored in segments to obtain periodic operation data, wherein the periodic operation data includes normal operation data and abnormal operation data;
[0182] Based on the periodic operation data, the error prediction model is iteratively optimized and trained so that the error prediction model is suitable for data prediction of the voltage transformer currently being monitored.
[0183] In one embodiment, the error analysis result includes error location, error cause, error compensation data and maintenance strategy.
[0184] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement any voltage transformer error state prediction method provided in the embodiment of the present application.
[0185] The computer-readable storage medium may be an internal storage unit of the computer device described in the above embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the computer device.
[0186] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for predicting an error state of a voltage transformer, characterized in that: The method comprises: Collecting current operating data of at least two voltage transformers in the same phase; Based on the error prediction model, fitting the operation data curve corresponding to the current operation data of each voltage transformer, and calculating the operation data difference of each operation data curve at the same time; When there are at least two of the operating data curves whose operating data difference is greater than a preset difference threshold, marking the corresponding operating data curve as an abnormal data curve; Based on the curve change trend of the abnormal data curve, error prediction is performed on the abnormal voltage transformer corresponding to the abnormal data curve to determine the current error state of the abnormal voltage transformer; Based on the current error state, an error analysis is performed on the abnormal voltage transformer to generate an error analysis result.
2. The error state prediction method of a voltage transformer according to claim 1, characterized in that: The step of performing error prediction on the abnormal voltage transformer corresponding to the abnormal data curve based on the curve change trend of the abnormal data curve to determine the current error state of the abnormal voltage transformer includes: Based on the abnormal data curve and the equipment information of the abnormal voltage transformer, predicting the curve change trend of the abnormal data curve to obtain a predicted data curve; Based on the real abnormal data, verify and correct the predicted data curve to obtain the actual data curve; Based on the actual data curve, a current error state of the abnormal voltage transformer is determined.
3. The error state prediction method of a voltage transformer according to claim 1, characterized in that: Before collecting the current operation data of at least two voltage transformers of the same phase, the method further includes: Collecting at least one group of historical operation data of the same-phase voltage transformers during normal operation, wherein each group of historical operation data includes at least two historical operation data of the same-phase voltage transformers during normal operation; Calculating the difference between each group of the historical operation data to obtain at least one group of difference data; Based on the operation time of the voltage transformer, the difference mean of the difference data corresponding to each preset segment time in the operation time is calculated to obtain the preset difference threshold.
4. The error state prediction method of a voltage transformer according to claim 1, characterized in that: When there are at least two operating data curves whose operating data difference is greater than a preset difference threshold, before marking the corresponding operating data curve as an abnormal data curve, the method further includes: Based on a preset period, obtaining current device information of the voltage transformer; Based on the current device information, the preset difference threshold corresponding to the current operating data is determined.
5. The error state prediction method of a voltage transformer according to claim 1, characterized in that: Before collecting the current operation data of at least two voltage transformers of the same phase, the method further includes: Collecting historical fault data of the voltage transformer, wherein the historical fault data includes a fault type, equipment operation data corresponding to the fault type, and a fault solution; Annotating the historical fault data to obtain model training data, wherein the model training data includes a training set, a test set, and a validation set; Based on the model training data and the model optimization algorithm, the pre-trained model is iteratively optimized and trained to obtain the error prediction model.
6. The error state prediction method of a voltage transformer according to claim 1, characterized in that: After collecting the current operation data of at least two voltage transformers of the same phase, the method further includes: Based on a preset period, the current operation data of each voltage transformer is stored in segments to obtain periodic operation data, wherein the periodic operation data includes normal operation data and abnormal operation data; Based on the periodic operation data, the error prediction model is iteratively optimized and trained so that the error prediction model is suitable for data prediction of the voltage transformer currently being monitored.
7. The error state prediction method of a voltage transformer according to claim 1, characterized in that: The error analysis results include error location, error cause, error compensation data and maintenance strategy; Among them, the error compensation data calculation is shown as follows: ycompensated=yrit+α·e(yactualyfit Among them, y com p ensated is the fitted value after compensation, y fit is the predicted value of the original fitting curve, y actual is the measured value of the operating data, α and λ are parameters determined according to the characteristics of the error changing with time, and t is the time.
8. A voltage transformer error state prediction device, characterized in that: The error state prediction device of the voltage transformer comprises: A data acquisition module, used for acquiring current operating data of at least two voltage transformers in the same phase; A data fitting module, used for fitting the operation data curve corresponding to the current operation data of each voltage transformer based on the error prediction model, and calculating the operation data difference of each operation data curve at the same time; An abnormal data marking module, used for marking the corresponding operating data curve as an abnormal data curve when there are at least two operating data curves whose operating data difference is greater than a preset difference threshold; An error prediction module, configured to perform error prediction on an abnormal voltage transformer corresponding to the abnormal data curve based on a curve change trend of the abnormal data curve, and determine a current error state of the abnormal voltage transformer; The error analysis module is used to perform error analysis on the abnormal voltage transformer based on the current error state and generate an error analysis result.
9. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the error state prediction method for a voltage transformer as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the method for predicting an error state of a voltage transformer according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Mutual inductor operation test system based on data analysis
CN118962564A
Mutual inductor operation state monitoring terminal based on artificial intelligence
CN119001585A
Ammeter anomaly detection method
CN119148044A
Online monitoring method for voltage transformer
CN119322302A
Error measurement system and method of metering transformer
CN119556223A
