Method and system for predicting short circuit between gates of generator rotor winding based on modified prediction

Through the method based on correction prediction, the SVR algorithm and characteristic disturbance model are combined with the reliability judgment function to solve the error problem in the prediction of generator rotor winding inter-gate short circuit fault, improve the prediction accuracy and robustness, and ensure the accuracy of fault judgment. accuracy and stability.

CN118536409BActive Publication Date: 2024-10-18XIAN THERMAL POWER RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411010843.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-18
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

The existing generator rotor winding inter-gate short circuit fault prediction method has insufficient accuracy and large errors, and the online measured excitation current data is not accurate enough, resulting in inaccurate prediction results.

Method used

Using a method based on correction prediction, by obtaining the electrical parameter information and excitation current data of the equipment, the support vector regression (SVR) algorithm is used to establish a basic prediction model and a characteristic disturbance model, and the reliability judgment function is used for compensation, and the analysis and compensation process is repeated until The fault diagnosis results are reliable.

Benefits of technology

It effectively reduces the model prediction error, enhances the accuracy and robustness of the data, can resist noise and interference in different environments and fault types, and improves the accuracy and stability of fault judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536409B_ABST
    Figure CN118536409B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of fault prediction, and discloses a method and system for predicting short circuits between gates of a generator rotor winding based on modified prediction, including: obtaining electrical parameter information of the equipment and collecting excitation current data; predicting the excitation current according to the electrical parameter information; judging the short circuit fault according to the predicted excitation current and the measured excitation current; performing reliability analysis on the fault judgment result using a reliability judgment function, and compensating the predicted excitation current and the measured excitation current according to the analysis result; repeating the reliability analysis and compensation process until the fault judgment result is reliable, and outputting the judgment result of the short circuit prediction. The model prediction error is effectively reduced, the inaccuracy of the data at a single moment is compensated, and the accuracy of the data is enhanced. It has stronger robustness under different environments and fault types, and can effectively resist noise and interference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault prediction, and in particular to a method and system for predicting short circuits between gates of a generator rotor winding based on modified prediction. Background Art

[0002] With the continuous development of power systems, the operational reliability and stability of transmission lines have become particularly important. The three-phase current of transmission lines may be affected by various faults during operation, such as short circuit faults, ground faults, etc. These faults will cause abnormal changes in the current wave, thus affecting the safe operation of the power system.

[0003] Currently, many methods and technologies have been proposed for detecting and predicting fault traveling waves in transmission lines. Traditional detection methods are mainly based on signal processing and pattern recognition techniques, such as wavelet transform and Fourier transform, which can detect the changes of fault traveling waves to a certain extent. However, due to the complexity of power systems and the diversity of fault types, existing methods still have shortcomings in accuracy and real-time performance.

[0004] The traditional method inputs the online measured machine-end voltage, active power, and reactive power into the established prediction model. The output of the prediction model is the predicted value of the excitation current. By comparing it with the online measured generator excitation current, if the error exceeds the set threshold, it is diagnosed as a turn-to-turn short circuit fault in the synchronous generator rotor winding.

[0005] However, the prediction model itself has prediction errors and the online measured generator excitation current itself may not be collected accurately enough and may also have errors, which will lead to inaccurate prediction results. Summary of the invention

[0006] In view of the above-mentioned problems, the present invention is proposed.

[0007] Therefore, the technical problem solved by the present invention is that the existing prediction and judgment methods have problems such as insufficient accuracy and large errors.

[0008] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for predicting short circuits between gates of a generator rotor winding based on modified prediction, comprising:

[0009] Obtain the electrical parameter information of the equipment and collect excitation current data;

[0010] Predicting the excitation current according to the electrical parameter information;

[0011] Determine the short circuit fault based on the predicted excitation current and the measured excitation current;

[0012] The reliability judgment function is used to perform reliability analysis on the fault judgment result, and the predicted excitation current and the measured excitation current are compensated according to the analysis result;

[0013] The reliability analysis and compensation process is repeated until the fault judgment result is reliable, and the judgment result of the short circuit prediction is output.

[0014] As a preferred solution of the generator rotor winding short-circuit prediction method based on modified prediction described in the present invention, the electrical parameter information includes terminal voltage, active power, and reactive power; and a timestamp is placed on each electrical parameter information.

[0015] As a preferred solution of the generator rotor winding short circuit prediction method based on modified prediction described in the present invention, wherein: the excitation current prediction includes dividing the prediction model into a basic prediction part and a characteristic disturbance part, training the basic prediction part through a training set to obtain a basic prediction model; applying the basic prediction model to a feature set, and training a characteristic disturbance model under the current feature through the difference between the prediction result and the actual excitation current; verifying the prediction model using a verification set, and adjusting the basic prediction part and the characteristic disturbance part according to the verification result;

[0016] The feature set includes, through the feature performance of the electrical parameter information, selecting multiple subsets, and summarizing all subsets; capturing the feature performance and the real excitation current of each timestamp in the historical records, randomly selecting R excitation currents with the same feature performance, and taking the selected excitation currents with the same feature performance as the subset;

[0017] The characteristic performance includes two dimensions: the numerical characteristics of the excitation current at the current moment and the waveform characteristics of the excitation current in the previous period as the characteristic performance; the characteristic performance at time t is expressed as ;

[0018] The numerical characteristics of the excitation current at the current moment:

[0019] ,

[0020] in, Indicates the excitation current value at the current moment;

[0021] The waveform characteristics of the excitation current some time ago:

[0022] ,

[0023] in, represents the time window length, Indicates time The excitation current value at represents the frequency content of the signal, represents the integration variable.

[0024] As a preferred solution of the generator rotor winding short circuit prediction method based on modified prediction described in the present invention, the terminal voltage, active power and reactive power under various working conditions when the synchronous generator is in normal operation are used as training input samples of the SVR algorithm, and the excitation current is used as the training target output sample of the SVR algorithm, and the basic prediction model of the synchronous generator excitation current is established through SVR;

[0025] The SVR algorithm of the basic prediction model is expressed as:

[0026] ,

[0027] in, Represents the basic prediction value, which is the input feature vector Below is the output of the basic prediction model; n represents the nth sample index in the training data, and there are N samples in total; represents the feature transformation function; and is the Lagrange multiplier; For the kernel function part, the RBF kernel function is used to represent the input features and support vector Similarity in feature space; Represents the parameters of the kernel function, which controls the width of the RBF kernel function; b represents the bias term;

[0028] ,

[0029] in, Represents the Gaussian function convolution integral, which is used to extract the smooth part of the feature; Represents polynomial features, which are used to extract nonlinear relationships;

[0030] The characteristic perturbation model is expressed as:

[0031] ,

[0032] in, represents the feature perturbation function, which is the random perturbation adjustment under different feature performances; and is the weight of the feature, which controls the contribution of each feature to the disturbance; and Represents the disturbance proportional coefficient, which controls the amplitude of the disturbance; and is a random disturbance variable, which obeys uniform distribution , introducing random disturbance components;

[0033] ,

[0034] in, Represents the final prediction result.

[0035] As a preferred solution of the generator rotor winding short circuit prediction method based on modified prediction described in the present invention, wherein: the fault judgment includes making judgment using the predicted value of the excitation current and the online measured value of the excitation current;

[0036] ,

[0037] Where P represents the fault assessment result, Indicates the online measured value of the excitation current. Indicates the predicted value of excitation current;

[0038] If P>0.0025, it is judged as a fault.

[0039] As a preferred solution of the generator rotor winding short circuit prediction method based on modified prediction described in the present invention, the reliability analysis includes: assuming that the prediction model for the excitation current in the first 100 processes The predicted errors W1, W2, ..., W 100 ;

[0040] Assume that the excitation current measured online during the first 100 times is The existing acquisition errors are S1, S2, ..., S 100 ;

[0041] Establish a reliability judgment function:

[0042] ,

[0043] Among them, rang(0.3, 0.5) represents a random number arbitrarily selected from 0.3 to 0.5; Indicates the prediction error W1, W2, ..., W 100 The minimum value of Indicates the prediction error W1, W2, ..., W 100 The maximum value of Indicates that the acquisition error is S1, S2, ..., S 100 The maximum value of Indicates that the acquisition error is S1, S2, ..., S 100 The minimum value of

[0044] When G>0.7, the fault judgment is determined to be reliable and the judgment result is directly output; otherwise, compensation correction is performed.

[0045] As a preferred solution of the generator rotor winding short circuit prediction method based on modified prediction described in the present invention, the compensation includes: The predicted errors W1, W2, ..., W 100 , find out that there are J errors greater than 0, then there are 100-J errors less than 0;

[0046] When the error / true value is greater than 17%, it is determined that the error is far from the true value. There are Q data with errors far from the true value, and 100-Q data with errors close to the true value.

[0047] Assume the compensation coefficient is B:

[0048] ,

[0049] Where m represents the number of cycles, [...] represents rounding, Q represents the number of data whose error is far from the true value, and J represents the number of errors greater than 0. represents the i-th error, i represents the index of the error;

[0050] The predicted value of the excitation current after compensation is expressed as:

[0051] ,

[0052] The excitation current measured online during the first 100 times The existing acquisition errors are S1, S2, ..., S 100 ;

[0053] Assume the compensation coefficient is B1:

[0054] ,

[0055] The online measured value of the compensated excitation current is expressed as:

[0056] ,

[0057] in, represents the activation function, rang(-m, m) represents a random number selected arbitrarily from -m to m;

[0058] After completing the correction, return to the fault judgment step. Suppose the initial number of loops m=1 to loop the fault judgment and reliability judgment steps, and m increases by 1 each time. Repeat the loop until the result of the reliability judgment function G>0.7, the fault judgment is reliable, stop the loop and output the judgment.

[0059] A generator rotor winding short circuit prediction system based on modified prediction using the method of the present invention is characterized by:

[0060] The acquisition unit acquires the electrical parameter information of the equipment and collects the excitation current data;

[0061] A prediction unit, which predicts the excitation current according to the electrical parameter information;

[0062] The compensation unit judges the short-circuit fault according to the predicted excitation current and the measured excitation current; performs reliability analysis on the fault judgment result by using the reliability judgment function, and compensates the predicted excitation current and the measured excitation current according to the analysis result; repeats the reliability analysis and compensation process until the fault judgment result is reliable, and outputs the judgment result of the short-circuit prediction.

[0063] A computer device comprises: a memory and a processor; the memory stores a computer program, wherein: the processor implements the steps of any one of the methods of the present invention when executing the computer program.

[0064] A computer-readable storage medium stores a computer program, wherein: when the computer program is executed by a processor, the steps of any one of the methods of the present invention are implemented.

[0065] Beneficial effects of the invention: The generator rotor winding short circuit prediction method based on modified prediction provided by the invention effectively reduces the model prediction error, extracts key features from the excitation current waveform of the previous period, compensates for the inaccuracy of the single moment data, and enhances the accuracy of the data. By designing a complex characteristic perturbation function, random perturbations are proportionally increased or decreased according to the differences in characteristic performance, so that the model has stronger robustness in different environments and fault types, and can effectively resist noise and interference. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0067] Figure 1 An overall flow chart of a generator rotor winding short circuit prediction method based on modified prediction provided by a first embodiment of the present invention;

[0068] Figure 2 A logic block diagram of a generator rotor winding short-circuit prediction method based on modified prediction provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0069] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0070] Example 1

[0071] Reference Figure 1 , which is an embodiment of the present invention, provides a generator rotor winding short circuit prediction method based on modified prediction, comprising:

[0072] S1: Obtain the electrical parameter information of the equipment and collect excitation current data.

[0073] Furthermore, the electrical parameter information includes terminal voltage, active power, and reactive power; and a timestamp is placed on each electrical parameter information.

[0074] Set the sampling frequency of the data acquisition system to ensure that real-time electrical parameter information can be obtained at an appropriate frequency (e.g., once per second or higher). Add a timestamp to each acquired electrical parameter information to ensure the timing and accuracy of data records. The timestamp can be obtained by synchronizing to a standard time server (such as an NTP server). Store the acquired electrical parameter information (machine-side voltage, active power, reactive power) and its corresponding timestamp in a database or data logging file to ensure data integrity and traceability.

[0075] An excitation current sensor is installed in the excitation system of the generator to measure the excitation current in real time. The sampling frequency of the excitation current data acquisition system is set to ensure that it is consistent with the sampling frequency of the electrical parameter information to facilitate the subsequent synchronous analysis of the data. The excitation current here includes not only the real value (which can be obtained through theoretical calculation) but also the measured value collected, because the sensor will produce errors.

[0076] S2: Predicting the excitation current according to the electrical parameter information.

[0077] The prediction of the excitation current includes dividing the prediction model into a basic prediction part and a characteristic disturbance part, training the basic prediction part through a training set to obtain a basic prediction model; applying the basic prediction model to a feature set, and training a characteristic disturbance model under the current feature through the difference between the prediction result and the actual excitation current; verifying the prediction model with a verification set, and adjusting the basic prediction part and the characteristic disturbance part according to the verification result.

[0078] Furthermore, the feature set includes selecting multiple subsets through the characteristic performance of the electrical parameter information, and summarizing all the subsets; capturing the characteristic performance and the actual excitation current of each timestamp in the historical records, and randomly selecting R excitation currents with the same characteristic performance (if the excitation currents do not have the same characteristic performance, directly selecting 1), and taking the selected excitation currents with the same characteristic performance as a subset.

[0079] The characteristic performance includes two dimensions: the numerical characteristics of the excitation current at the current moment and the waveform characteristics of the excitation current in the previous period as the characteristic performance; the characteristic performance at time t is expressed as .

[0080] The numerical characteristics of the excitation current at the current moment:

[0081] ,

[0082] in, Indicates the excitation current value at the current moment.

[0083] The waveform characteristics of the excitation current some time ago:

[0084] ,

[0085] in, represents the time window length, Indicates time The excitation current value at represents the frequency content of the signal, represents the integration variable.

[0086] It is important to know that the basic prediction part is trained through the training set, and the basic prediction model is constructed using the support vector regression (SVR) algorithm to reduce the model prediction error. By dividing the characteristic performance of the electrical parameter information into multiple subsets, and using the difference between the characteristic performance in the historical data and the actual excitation current, the characteristic perturbation model under the current characteristics is trained to effectively capture the characteristic changes under different fault modes and environments. Design a characteristic perturbation model, and increase or decrease random perturbations proportionally based on the difference in characteristic performance to enhance the robustness of the model under different environments and fault types. By dividing the feature set and using historical data, the effective information in the historical data can be fully mined, the data utilization efficiency can be improved, and the performance of the prediction model can be optimized.

[0087] The terminal voltage, active power and reactive power under various working conditions when the synchronous generator is operating normally are used as the training input samples of the SVR algorithm, and the excitation current is used as the training target output sample of the SVR algorithm. The basic prediction model of the excitation current of the synchronous generator is established through SVR.

[0088] The SVR algorithm of the basic prediction model is expressed as:

[0089] ,

[0090] in, Represents the basic prediction value, which is the input feature vector Below is the output of the basic prediction model; n represents the nth sample index in the training data, and there are N samples in total; represents the feature transformation function; and is the Lagrange multiplier; For the kernel function part, the RBF kernel function is used to represent the input features and support vector Similarity in feature space; Represents the parameters of the kernel function, which controls the width of the RBF kernel function; b represents the bias term.

[0091] ,

[0092] in, Represents the Gaussian function convolution integral, which is used to extract the smooth part of the feature; Represents polynomial features and is used to extract nonlinear relationships.

[0093] The characteristic perturbation model is expressed as:

[0094] ,

[0095] in, represents the feature perturbation function, which is the random perturbation adjustment under different feature performances; and is the weight of the feature, which controls the contribution of each feature to the disturbance; and Represents the disturbance proportional coefficient, which controls the amplitude of the disturbance; and is a random disturbance variable, which obeys uniform distribution , introducing random disturbance components.

[0096] ,

[0097] in, Represents the final prediction result.

[0098] It should be said that the VR algorithm maps the input features to a high-dimensional space by introducing a kernel function, so that it can handle complex nonlinear relationships. Through the features (machine terminal voltage, active power, reactive power) and targets (excitation current) in the training data, SVR can effectively capture patterns in the data and improve prediction accuracy. Through SVR optimization of the training data set, the basic prediction model can provide the most accurate possible prediction of the excitation current under given input features, reducing the prediction deviation caused by the model's own errors. Through the disturbance factors of two dimensions, the disturbance terms are generated, which can adapt to the fault environment and make accurate predictions (the strength of these two dimensions can affect the fluctuation to a certain extent. By considering the characteristics of these two dimensions separately, the accuracy of the prediction can be improved).

[0099] S3: Determine the short circuit fault based on the predicted excitation current and the measured excitation current.

[0100] The fault judgment includes making judgment using the predicted value of the excitation current and the online measured value of the excitation current.

[0101] ,

[0102] Where P represents the fault assessment result, Indicates the online measured value of the excitation current. Indicates the predicted value of excitation current. If P>0.0025, it is judged as a fault.

[0103] Fault judgment is achieved through the difference between the predicted value of the excitation current and the online measured value. Specifically, a fault evaluation result P is set to quantify the error between the predicted value and the measured value. If P exceeds the predetermined threshold of 0.0025, it is judged as a fault. Determining this 0.0025 threshold requires a lot of experiments and data analysis. The steps of the experiment are as follows:

[0104] Collect a large amount of normal operation data and fault data. These data include the measured values ​​of terminal voltage, active power, reactive power and excitation current, as well as the corresponding predicted values.

[0105] Calculate the prediction error for each data point, that is:

[0106] ,

[0107] Analyze error distribution: Draw the histogram and cumulative distribution function (CDF) of the error for normal operation data and fault data respectively. By comparing the error distribution of the two types of data, observe their differences.

[0108] From the error distribution graph, a threshold is selected that effectively distinguishes between normal and fault conditions.

[0109] Through statistical analysis, it is found that the error of normal operation data is mostly below 0.0025, while the error of fault data is mostly above 0.0025. Therefore, 0.0025 is selected as the threshold to distinguish between normal and fault states.

[0110] Use cross-validation or independent validation sets to verify the effect of the selected threshold in practical applications. Calculate the confusion matrix, including indicators such as true positive rate (TPR), false positive rate (FPR), true negative rate (TNR), and false negative rate (FNR). Use these indicators to evaluate the rationality and actual effect of the threshold.

[0111] S4: Perform reliability analysis on the fault judgment result using the reliability judgment function, and compensate the predicted excitation current and the measured excitation current according to the analysis result; repeat the reliability analysis and compensation process until the fault judgment result is reliable, and output the judgment result of the short circuit prediction.

[0112] The reliability analysis includes: assuming that the prediction model for the excitation current in the first 100 processes The predicted errors W1, W2, ..., W 100 . Assume that the excitation current measured online during the first 100 processes is The existing acquisition errors are S1, S2, ..., S 100 .

[0113] Establish a reliability judgment function:

[0114] ,

[0115] Among them, rang(0.3, 0.5) represents a random number arbitrarily selected from 0.3 to 0.5; Indicates the prediction error W1, W2, ..., W 100 The minimum value of Indicates the prediction error W1, W2, ..., W 100 The maximum value of Indicates that the acquisition error is S1, S2, ..., S 100 The maximum value of Indicates that the acquisition error is S1, S2, ..., S 100 The minimum value of .

[0116] When G>0.7, the fault judgment is determined to be reliable and the judgment result is directly output; otherwise, compensation correction is performed.

[0117] It should be noted that when calculating the reliability judgment function G, a random number between 0.3 and 0.5 is introduced to make the function have a certain degree of randomness and avoid overly rigid judgment criteria.

[0118] By evaluating the reliability of prediction errors and acquisition errors, we ensure that the prediction and measured data are reliable enough to reduce the possibility of misjudgment when making fault judgments. When there are large errors in the prediction model or data acquisition, the compensation correction mechanism is used to improve the judgment results and enhance the robustness and stability of fault judgment.

[0119] By calculating the range and fluctuation of the error, the data quality is automatically evaluated, and based on the evaluation results, it is decided whether further processing is needed, thereby improving the automation and intelligence level of the system. By comparing the range of the prediction error with the range of the acquisition error, the relative volatility of the data is evaluated. If the fluctuation range of the prediction error is too large relative to the acquisition error, it means that the prediction model may not be reliable enough in the current situation. By adjusting the output of the prediction model or re-collecting data, the prediction results can be corrected to reduce the impact of the error.

[0120] Furthermore, for the first 100 excitation currents The predicted errors W1, W2, ..., W 100 , find out that there are J errors greater than 0, and there are 100-J errors less than 0. When error / true value>17%, it is determined that the error is far from the true value, there are Q data with errors far from the true value, and there are 100-Q errors close to the true value.

[0121] Assume the compensation coefficient is B:

[0122] ,

[0123] Where m represents the number of cycles, [...] represents rounding, Q represents the number of data whose error is far from the true value, and J represents the number of errors greater than 0. represents the i-th error, and i represents the index of the error.

[0124] The predicted value of the excitation current after compensation is expressed as:

[0125] ,

[0126] The excitation current measured online during the first 100 times The existing acquisition errors are S1, S2, ..., S 100 .

[0127] Assume the compensation coefficient is B1:

[0128] ,

[0129] The online measured value of the compensated excitation current is expressed as:

[0130] ,

[0131] in, Represents the activation function, rang(-m, m) represents a random number selected from -m to m. After completing the correction, return to the fault judgment step, set the initial number of cycles m=1 to cycle the fault judgment and reliability judgment steps, and m increases by 1 each time; repeat the cycle until the result of the reliability judgment function G>0.7, the fault judgment is reliable, stop the cycle and output the judgment.

[0132] On the other hand, this embodiment also provides a generator rotor winding short circuit prediction system based on modified prediction, which includes:

[0133] The acquisition unit obtains the electrical parameter information of the equipment and collects the excitation current data.

[0134] The prediction unit predicts the excitation current according to the electrical parameter information.

[0135] The compensation unit judges the short-circuit fault according to the predicted excitation current and the measured excitation current; performs reliability analysis on the fault judgment result by using the reliability judgment function, and compensates the predicted excitation current and the measured excitation current according to the analysis result; repeats the reliability analysis and compensation process until the fault judgment result is reliable, and outputs the judgment result of the short-circuit prediction.

[0136] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0137] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0138] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0139] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0140] Example 2

[0141] The following is an embodiment of the present invention, which provides a generator rotor winding short circuit prediction method based on modified prediction. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0142] In order to verify the effectiveness of the fault judgment and prediction method of the present invention, an experimental test was carried out.

[0143] First, the experiment was conducted on a synchronous generator in a power plant. The terminal voltage, active power, reactive power and excitation current data of the generator were collected in normal operation and fault state. The data collection frequency was set to once per second and the duration was one hour, ensuring sufficient data volume for model training and verification.

[0144] Secondly, the collected data is divided into a training set and a validation set. In the training set, the support vector regression (SVR) algorithm is used to train the basic prediction model with the terminal voltage, active power, and reactive power as input features and the excitation current as the target output. The feature transformation function includes Gaussian function convolution integral and smooth part, and polynomial features to enhance the model's ability to capture nonlinear relationships. The radial basis function (RBF) kernel function is used to select the best hyperparameters (including kernel function parameters and regularization parameters) through cross-validation.

[0145] The present invention and the traditional method are used to perform error tests on the same data samples. The traditional method usually uses a linear regression model or a simple neural network model to predict the excitation current. The statistical results of the two methods are shown in Table 1 and Table 2 respectively.

[0146] Table 1 Error data table of this method

[0147] Experimental subjects Terminal voltage (V) Active power (kW) Reactive power (kVar) Excitation current measured value (A) Excitation current prediction value (A) Prediction error (%) Collection error (%) Data Point 1 235 110 55 6.5 6.4 1.54 1.00 Data Point 2 230 108 53 6.3 6.2 1.59 0.95 Data Point 3 240 115 60 6.8 6.6 2.94 1.23 Data Point 4 238 112 58 6.7 6.5 2.99 1.10 Data Point 5 232 109 54 6.4 6.3 1.56 1.02 Data Point 6 236 111 56 6.6 6.4 3.03 1.20 Data Point 7 234 113 57 6.5 6.3 3.08 1.15

[0148] Table 2 Error data table of traditional method

[0149] Data Points Terminal voltage (V) Active power (kW) Reactive power (kVar) Excitation current measured value (A) Excitation current prediction value (A) Prediction error (%) Data Point 1 235 110 55 6.5 6.1 6.15 Data Point 2 230 108 53 6.3 5.9 6.35 Data Point 3 240 115 60 6.8 6.2 8.82 Data Point 4 238 112 58 6.7 6.3 5.97 Data Point 5 232 109 54 6.4 6.0 6.25 Data Point 6 236 111 56 6.6 6.1 7.58 Data Point 7 234 113 57 6.5 6.0 7.69

[0150] By comparing the experimental data of the present invention with the traditional method, it can be clearly seen that the present invention has significant improvements in prediction accuracy and robustness. The average prediction error of the method of the present invention is about 2.12%, which is significantly lower than the 6.83% of the traditional method. The prediction error range of the method of the present invention is 1.54% to 3.08%, while the prediction error range of the traditional method is 5.97% to 8.82%.

[0151] Through the above analysis and comparison, we can clearly see the innovation and advantages of the present invention in excitation current prediction and fault judgment. The present invention utilizes advanced SVR algorithms and characteristic disturbance models to significantly improve the prediction accuracy and robustness of the model. At the same time, through the reliability judgment function, the reliability of the fault judgment results is ensured, providing a strong guarantee for the safe operation of the power system. When faced with complex nonlinear relationships and noise environments, traditional methods have low prediction accuracy and unstable results, making it difficult to meet the needs of practical applications. The present invention solves the shortcomings of traditional methods through improvements and innovations in the prior art, provides more accurate and stable fault prediction and judgment results, and reflects its significant innovation and practical value.

[0152] Through a large number of simulation experiments, the method of the present invention and the general prediction method are used to judge the fault. The accuracy of the fault judgment is shown in Table 3.

[0153] Table 3 Accuracy comparison table

[0154] Rotor status Traditional judgment accuracy The judgment accuracy of the present invention normal 90% 100% Short Circuit 85% 95%

[0155] It can be seen that the traditional method uses a simple judgment strategy, resulting in a low accuracy rate in judging the rotor state under normal conditions and short-circuit conditions.

[0156] However, the present invention will not make misjudgments in the case of normal rotor status, and has high stability. In the case of short circuit fault, the accuracy of the judgment result is as high as 95%, which is significantly better than the traditional method.

[0157] Traditional methods rely on simple linear regression or basic machine learning models, which are difficult to handle complex nonlinear features and noise environments, resulting in low judgment accuracy and prone to misjudgment and missed judgment. The present invention provides more accurate and stable fault prediction and judgment results, reflecting its significant practical value.

[0158] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A generator rotor winding short circuit prediction method based on modified prediction, characterized in that: include: Obtain the electrical parameter information of the equipment and collect excitation current data; Predicting the excitation current according to the electrical parameter information; Determine the short circuit fault based on the predicted excitation current and the measured excitation current; The reliability judgment function is used to perform reliability analysis on the fault judgment result, and the predicted excitation current and the measured excitation current are compensated according to the analysis result; Repeat the reliability analysis and compensation process until the fault judgment result is reliable, and output the judgment result of short circuit prediction; The electrical parameter information includes terminal voltage, active power, and reactive power; And put a timestamp on each electrical parameter information; The excitation current prediction includes dividing the prediction model into a basic prediction part and a characteristic disturbance part, training the basic prediction part through a training set to obtain a basic prediction model; applying the basic prediction model to a feature set, and training a characteristic disturbance model under the current feature through the difference between the prediction result and the actual excitation current; Verifying the prediction model using a verification set, and adjusting the basic prediction part and the feature perturbation part according to the verification result; The feature set includes, through the feature performance of the electrical parameter information, selecting multiple subsets, and summarizing all subsets; capturing the feature performance and the real excitation current of each timestamp in the historical records, randomly selecting R excitation currents with the same feature performance, and taking the selected excitation currents with the same feature performance as the subset; The characteristic performance includes two dimensions, namely, the numerical characteristics of the excitation current at the current moment and the waveform characteristics of the excitation current in the previous period as the characteristic performance; the characteristic performance at time t is expressed as (L t , F t ); The numerical characteristics of the excitation current at the current moment: L t =I(t) Among them, I(t) represents the excitation current value at the current moment; The waveform characteristics of the excitation current some time ago: Where T represents the time window length, I(τ) represents the excitation current value at time τ, ω represents the frequency component of the signal, and τ represents the integral variable.

2. The generator rotor winding short circuit prediction method based on modified prediction as claimed in claim 1, characterized in that: The terminal voltage, active power and reactive power under various working conditions during the normal operation of the synchronous generator are used as the training input samples of the SVR algorithm, and the excitation current is used as the training target output sample of the SVR algorithm. The basic prediction model of the excitation current of the synchronous generator is established through SVR. The SVR algorithm of the basic prediction model is expressed as: Among them, f base (x) represents the basic prediction value, which is the output of the basic prediction model under the input feature vector x; n represents the nth sample index in the training data, with a total of N samples; φ(x) represents the feature transformation function; α n and is the Lagrange multiplier; exp(-γ||φ(x n )-φ(x)|| 2 ) is the kernel function part, which uses the RBF kernel function to represent the input feature x and the support vector x n Similarity in feature space; γ represents the parameter of kernel function, which controls the width of RBF kernel function; b represents bias term; in, Represents the Gaussian function convolution integral, which is used to extract the smooth part of the feature; Represents polynomial features, which are used to extract nonlinear relationships; The characteristic perturbation model is expressed as: D(x)=β1F1(1+δ1sin(∈1π))+β2F2(1+δ2sin(∈2π)) Among them, (x) represents the characteristic perturbation function, which is the random perturbation adjustment under different characteristic performances; β1 and β2 are the weights of the characteristics, which control the contribution of each characteristic to the perturbation amount; δ1 and δ2 represent the perturbation proportional coefficients, which control the amplitude of the perturbation; ∈1 and ∈2 are random perturbation variables, which obey uniform distribution. Introducing random disturbance components; in, Indicates the final prediction result.

3. The generator rotor winding short circuit prediction method based on modified prediction as claimed in claim 2, characterized in that: The fault judgment includes making judgment using the predicted value of the excitation current and the online measured value of the excitation current; Where P represents the fault assessment result, i f2 Indicates the online measured value of the excitation current, i f1 Indicates the predicted value of excitation current; If P>0.0025, it is judged as a fault.

4. The generator rotor winding short circuit prediction method based on modified prediction as claimed in claim 3, characterized in that: The reliability analysis includes: assuming that the prediction model for the excitation current i in the first 100 processes f1 The predicted errors W1, W2, ..., W 100 ; Assume that the excitation current i measured online during the first 100 processes is f2 The existing acquisition errors are S1, S2, ..., S 100 ; Establish a reliability judgment function: Among them, rang(0.3, 0.5) represents a random number selected arbitrarily from 0.3 to 0.5; min(w i ) represents the prediction error W1, W2, ..., W 100 The minimum value of max(w i ) represents the prediction error W1, W2, ..., W 100 The maximum value of max(s i ) indicates that the acquisition error is S1, S2, ..., S 100 The maximum value of min(s i ) indicates that the acquisition error is S1, S2, ..., S 100 The minimum value of When G>0.7, the fault judgment is determined to be reliable and the judgment result is directly output; otherwise, compensation correction is performed.

5. The generator rotor winding short circuit prediction method based on modified prediction as claimed in claim 4, characterized in that: The compensation includes the following steps: f1 The predicted errors W1, W2, ..., W 100 , find out that there are J errors greater than 0, then there are 100-J errors less than 0; When the error / true value is greater than 17%, it is determined that the error is far from the true value. There are Q data with errors far from the true value, and 100-Q data with errors close to the true value. Assume the compensation coefficient is B: Where m is the number of cycles, [...] is rounding, Q is the number of data whose error is far from the true value, J is the number of errors greater than 0, and W is i represents the i-th error, i represents the index of the error; The predicted value of the excitation current after compensation is expressed as: i f1 =B*i f1 The excitation current i measured online during the first 100 processes f2 The existing acquisition errors are S1, S2, ..., S 100 ; Assume the compensation coefficient is B1: B1=(max(s1,s2,...,s 100 )-min((s1+s2),(s2+s3),...,(s 99 +s 100 ))) rand(-m,m) *sigmoid(t) The online measured value of the compensated excitation current is expressed as: and f2 =B1*i f2 Among them, sigmoid(t) represents the activation function, rang(-m, m) represents a random number selected arbitrarily from -m to m; After completing the correction, return to the fault judgment step. Suppose the initial number of loops m=1 to loop the fault judgment and reliability judgment steps, and m increases by 1 each time. Repeat the loop until the result of the reliability judgment function G>0.7, the fault judgment is reliable, stop the loop and output the judgment.

6. A generator rotor winding short circuit prediction system based on modified prediction using the method according to any one of claims 1 to 5, characterized in that: The acquisition unit acquires the electrical parameter information of the equipment and collects the excitation current data; A prediction unit, which predicts the excitation current according to the electrical parameter information; The compensation unit judges the short-circuit fault according to the predicted excitation current and the measured excitation current; performs reliability analysis on the fault judgment result by using the reliability judgment function, and compensates the predicted excitation current and the measured excitation current according to the analysis result; repeats the reliability analysis and compensation process until the fault judgment result is reliable, and outputs the judgment result of the short-circuit prediction.

7. A computer device comprising: Memory and processor; The memory stores a computer program, wherein the processor implements the steps of any one of the methods of claims 1-5 when executing the computer program.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Rotary motor state monitoring method based on support vector machine and data driving

    CN107247230A