CN115169704A - Method and device for CVT error state prediction based on incremental ensemble learning model - Google Patents
Method and device for CVT error state prediction based on incremental ensemble learning model Download PDFInfo
- Publication number
- CN115169704A CN115169704A CN202210820650.5A CN202210820650A CN115169704A CN 115169704 A CN115169704 A CN 115169704A CN 202210820650 A CN202210820650 A CN 202210820650A CN 115169704 A CN115169704 A CN 115169704A
- Authority
- CN
- China
- Prior art keywords
- cvt
- incremental
- model
- data
- base
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/20—Ensemble learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Artificial Intelligence (AREA)
- Human Resources & Organizations (AREA)
- Mathematical Physics (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Tourism & Hospitality (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- General Business, Economics & Management (AREA)
- Molecular Biology (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种基于增量集成学习模型的CVT误差状态预测方法和装置,该方法包括步骤:将停电检定的CVT历史数据等分为若干个数据块,根据所述若干个数据块生成相应数量的基模型,将所述基模型融合成一个基准状态预测模型;获取第一CVT实时数据,并检测所述第一CVT实时数据和CVT历史数据之间是否出现概念漂移;当出现概念漂移时,获取所述第一CVT实时数据相对于所述CVT历史数据的增量数据,并根据所述增量数据生成增量基模型;根据所述增量基模型和基准状态预测模型生成自适应增量集成学习模型,获取第二CVT实时数据,根据所述自适应增量集成学习模型对所述第二CVT实时数据进行误差状态预测。本发明提高了CVT误差状态预测的准确度。
The invention discloses a CVT error state prediction method and device based on an incremental integrated learning model. The method comprises the steps of: dividing the CVT historical data of power failure verification into several data blocks, and generating corresponding data blocks according to the several data blocks. A number of base models, fuse the base model into a reference state prediction model; obtain the first CVT real-time data, and detect whether concept drift occurs between the first CVT real-time data and CVT historical data; When concept drift occurs , obtain the incremental data of the first CVT real-time data relative to the CVT historical data, and generate an incremental base model according to the incremental data; generate an adaptive incremental model according to the incremental base model and the reference state prediction model A quantitative integrated learning model is used to obtain second CVT real-time data, and an error state prediction is performed on the second CVT real-time data according to the adaptive incremental integrated learning model. The invention improves the accuracy of CVT error state prediction.
Description
技术领域technical field
本发明涉及CVT误差状态预测技术领域,尤其涉及一种基于增量集成学习模型的CVT误差状态预测方法和装置。The invention relates to the technical field of CVT error state prediction, in particular to a CVT error state prediction method and device based on an incremental integrated learning model.
背景技术Background technique
电压互感器是电力系统中的重要测量设备,其一次绕组接入高压电网,二次绕组与测量、计量、保护等装置相连,用于将一次侧高压强信号转化为低压小信号供二次设备使用。The voltage transformer is an important measurement equipment in the power system. Its primary winding is connected to the high-voltage power grid, and the secondary winding is connected to measuring, metering, protection and other devices, and is used to convert the high-voltage signal on the primary side into a small low-voltage signal for secondary equipment. use.
长期运行经验表明,由于电压互感器使用年限的增长,运行若干年后的电压互感器存在着一定的超差风险。The long-term operation experience shows that due to the increase of the service life of the voltage transformer, there is a certain risk of out-of-tolerance in the voltage transformer after several years of operation.
超差电压互感器继续运行将给发供用三方的关口计量贸易结算带来巨大损失,甚至影响电力系统的稳定运行。因此,为保障计量的准确性和电力系统的安全运行,需要及时评估和更换误差状态异常的电压互感器。现已有成熟的离线评估方法对电压互感器进行周期性的离线评估,但由于难以对高压输电网络进行非故障性停电操作,致使该方法难以在规定的周期内覆盖所有待检定的电压互感器;且离线评估时的环境电磁场与在线运行时存在差异,致使评估结果与实际情况存在一定的偏差,进一步导致变电站中大量在运电压互感器超期未检、误差未知。Continued operation of the out-of-tolerance voltage transformer will bring huge losses to the gateway metering trade settlement of the three parties, and even affect the stable operation of the power system. Therefore, in order to ensure the accuracy of measurement and the safe operation of the power system, it is necessary to evaluate and replace the voltage transformer with abnormal error state in time. There are mature offline evaluation methods for periodic offline evaluation of voltage transformers, but due to the difficulty of non-faulty power outage operations for high-voltage transmission networks, it is difficult for this method to cover all voltage transformers to be verified within a specified period. ; And the environmental electromagnetic field during offline evaluation is different from that during online operation, resulting in a certain deviation between the evaluation results and the actual situation, which further leads to a large number of voltage transformers in operation in the substation that are not inspected over time and have unknown errors.
为解决周期性离线评估方法中的不足,现有技术采用不停电条件下的在线评估方法实现电压互感器误差状态的实时在线监测。现有在线评估技术是依据电力系统中各设备所采集的信号并基于数据驱动的原理进行分析和处理,从而评估电压互感器的误差状态,即通过借助历史数据、实时数据和关系型数据构造出近似的模型并依靠大量的数据和计算来实时表征电压互感器真实的误差状态。但现有技术存在如下不足:在数据方面,现有技术并没有考虑数据集中出现概念漂移的情况,概念漂移是指数据集中所包含的概念发生了变化,例如设备老化、运行工况突变等现象致使新旧数据所含的概念不再保持一致。数据集中一旦出现了概念漂移的现象,将影响基于数据驱动原理表征电压互感器真实误差状态的准确性。In order to solve the shortcomings of the periodic off-line evaluation method, the existing technology adopts the on-line evaluation method under the condition of no power outage to realize the real-time on-line monitoring of the error state of the voltage transformer. The existing online evaluation technology is to analyze and process the signals collected by each device in the power system and based on the data-driven principle, so as to evaluate the error state of the voltage transformer. The approximate model relies on a large amount of data and calculations to characterize the real error state of the voltage transformer in real time. However, the existing technology has the following shortcomings: in terms of data, the existing technology does not consider the concept drift in the data set. Concept drift means that the concepts contained in the data set have changed, such as equipment aging, sudden changes in operating conditions, etc. As a result, the concepts contained in the old and new data are no longer consistent. Once the phenomenon of concept drift occurs in the data set, it will affect the accuracy of characterizing the true error state of the voltage transformer based on the data-driven principle.
发明内容SUMMARY OF THE INVENTION
本发明提供一种基于增量集成学习模型的CVT误差状态预测方法和装置,提高了CVT误差状态预测的准确度。The invention provides a CVT error state prediction method and device based on an incremental integrated learning model, which improves the accuracy of CVT error state prediction.
本发明一实施例提供一种基于增量集成学习模型的CVT误差状态预测方法,包括以下步骤:An embodiment of the present invention provides a CVT error state prediction method based on an incremental ensemble learning model, comprising the following steps:
将停电检定的CVT历史数据等分为若干个数据块,根据所述若干个数据块生成相应数量的基模型,将所述基模型融合成一个基准状态预测模型;Divide the CVT historical data of power failure verification into several data blocks, generate a corresponding number of base models according to the several data blocks, and fuse the base models into a reference state prediction model;
获取第一CVT实时数据,并检测所述第一CVT实时数据和CVT历史数据之间是否出现概念漂移;acquiring the first CVT real-time data, and detecting whether concept drift occurs between the first CVT real-time data and the CVT historical data;
当出现概念漂移时,获取所述第一CVT实时数据相对于所述CVT历史数据的增量数据,并根据所述增量数据生成增量基模型;When concept drift occurs, acquiring incremental data of the first CVT real-time data relative to the CVT historical data, and generating an incremental base model according to the incremental data;
根据所述增量基模型和基准状态预测模型生成自适应增量集成学习模型,获取第二CVT实时数据,根据所述自适应增量集成学习模型对所述第二CVT实时数据进行误差状态预测。Generate an adaptive incremental integrated learning model according to the incremental base model and the reference state prediction model, obtain second CVT real-time data, and perform error state prediction on the second CVT real-time data according to the adaptive incremental integrated learning model .
进一步的,根据所述若干个数据块生成相应数量的基模型,将所述基模型融合成一个基准状态预测模型,包括以下步骤:Further, generating a corresponding number of base models according to the several data blocks, and merging the base models into a reference state prediction model, including the following steps:
将k个数据块对应形成k个第一基模型,再采用交叉验证法将所述k个第一基模型更新成相应的k个第二基模型;其中,k为大于3的正整数;The k data blocks are correspondingly formed into k first base models, and the cross-validation method is used to update the k first base models into corresponding k second base models; wherein, k is a positive integer greater than 3;
将所述k个第二基模型融合成一个基准状态预测模型。The k second base models are fused into a reference state prediction model.
进一步的,对于任一所述第一基模型,根据k个数据块中的一个数据块生成所述第一基模型,并采用除所述一个数据块之外的其余k-1个数据块对所述第一基模型进行交叉验证得到相应的第二基模型。Further, for any one of the first base models, the first base model is generated according to one data block in the k data blocks, and the remaining k-1 data block pairs except the one data block are used. The first base model is cross-validated to obtain a corresponding second base model.
进一步的,将所述增量基模型替换所述k个第二基模型中分类效果最差的基模型后,将所述增量基模型和其余k-1个第二基模型融合得到自适应增量集成学习模型。Further, after the incremental base model is replaced with the base model with the worst classification effect among the k second base models, the incremental base model and the remaining k-1 second base models are fused to obtain an adaptive Incremental ensemble learning models.
进一步的,将所述增量基模型替换所述k个第一基模型中分类效果最差的基模型后,再采用交叉验证法将其余k-1个第一基模型和所述增量基模型更新成相应的k个第二基模型;Further, after the incremental base model is replaced with the base model with the worst classification effect among the k first base models, the cross-validation method is used to compare the remaining k-1 first base models and the incremental base models. The model is updated to the corresponding k second base models;
将所述k个第二基模型融合成一个基准状态预测模型。The k second base models are fused into a reference state prediction model.
进一步的,将所述增量基模型和基准状态预测模型融合得到自适应增量集成学习模型。Further, the incremental base model and the reference state prediction model are fused to obtain an adaptive incremental integrated learning model.
进一步的,根据所述第一CVT实时数据和CVT历史数据计算KL散度和漂移阈值;Further, calculate KL divergence and drift threshold according to the first CVT real-time data and CVT historical data;
根据所述KL散度和漂移阈值判断是否出现概念漂移。Whether concept drift occurs is determined according to the KL divergence and drift threshold.
进一步的,对所述CVT历史数据和第一CVT实时数据形成的CVT数据集整体进行均值漂移聚类,根据公式R=D-2r计算所述漂移阈值,D为聚类簇心之间的平均距离,r为聚类簇的平均半径。Further, mean-shift clustering is performed on the entire CVT data set formed by the CVT historical data and the first CVT real-time data, and the drift threshold is calculated according to the formula R=D-2r, where D is the average value between the cluster centers. distance, r is the average radius of the clusters.
进一步的,采用对抗神经网络算法对所述增量数据中的少数类样本进行过采样处理,根据过采样处理后的增量数据生成所述增量基模型。Further, an adversarial neural network algorithm is used to perform oversampling processing on the minority class samples in the incremental data, and the incremental base model is generated according to the incremental data after the oversampling processing.
本发明另一实施例提供了基于增量集成学习模型的CVT误差状态预测装置,包括基模型生成模块、概念漂移检测模块、增量基模型生成模块和误差状态预测模块;Another embodiment of the present invention provides a CVT error state prediction device based on an incremental integrated learning model, including a base model generation module, a concept drift detection module, an incremental base model generation module, and an error state prediction module;
所述基模型生成模块用于将停电检定的CVT历史数据等分为若干个数据块,根据所述若干个数据块生成相应数量的基模型,将所述基模型融合成一个基准状态预测模型;The base model generation module is used to equally divide the CVT historical data of the power outage test into several data blocks, generate a corresponding number of base models according to the several data blocks, and fuse the base models into a reference state prediction model;
所述概念漂移检测模块用于获取第一CVT实时数据,并检测所述第一CVT实时数据和CVT历史数据之间是否出现概念漂移;The concept drift detection module is configured to acquire the first CVT real-time data, and detect whether concept drift occurs between the first CVT real-time data and the CVT historical data;
所述增量基模型生成模块用于当出现概念漂移时,获取所述第一CVT实时数据相对于所述CVT历史数据的增量数据,并根据所述增量数据生成增量基模型;The incremental base model generation module is configured to acquire incremental data of the first CVT real-time data relative to the CVT historical data when concept drift occurs, and to generate an incremental base model according to the incremental data;
所述误差状态预测模块用于根据所述增量基模型和基准状态预测模型生成自适应增量集成学习模型,获取第二CVT实时数据,根据所述自适应增量集成学习模型对所述第二CVT实时数据进行误差状态预测。The error state prediction module is used to generate an adaptive incremental ensemble learning model according to the incremental base model and the reference state prediction model, obtain the second CVT real-time data, and perform the second CVT real-time data according to the adaptive incremental ensemble learning model. Two CVT real-time data for error state prediction.
本发明的实施例,具有如下有益效果:The embodiment of the present invention has the following beneficial effects:
本发明提供了一种基于增量集成学习模型的CVT误差状态预测方法和装置,该方法针对CVT历史数据和CVT实时数据可能出现的概念漂移现象进行检测,并根据概念漂移检测结果,采用自适应增量集成分类模型,应对动态的数据流,进行自适应误差状态评估,提升误差状态评估模型的精度与模型的适应性范围,进而提升了对CVT误差状态评估的准确度。The invention provides a CVT error state prediction method and device based on an incremental integrated learning model. The method detects the concept drift phenomenon that may occur in the CVT historical data and the CVT real-time data, and according to the concept drift detection results, adopts adaptive Incremental integrated classification model, in response to dynamic data flow, performs adaptive error state evaluation, improves the accuracy of the error state evaluation model and the adaptability range of the model, and further improves the accuracy of CVT error state evaluation.
附图说明Description of drawings
图1是本发明一实施例提供的基于增量集成学习模型的CVT误差状态预测方法的流程示意图;1 is a schematic flowchart of a CVT error state prediction method based on an incremental integrated learning model provided by an embodiment of the present invention;
图2是本发明一实施例提供的基于增量集成学习模型的CVT误差状态预测装置的结构示意图。FIG. 2 is a schematic structural diagram of a CVT error state prediction apparatus based on an incremental ensemble learning model provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings of the present invention. Obviously, the described embodiments are only a 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 those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
如图1所示,本发明一实施例提供的一种基于增量集成学习模型的CVT误差状态预测方法,包括以下步骤:As shown in FIG. 1 , a method for predicting a CVT error state based on an incremental ensemble learning model provided by an embodiment of the present invention includes the following steps:
步骤S101:将停电检定的CVT历史数据等分为若干个数据块,根据所述若干个数据块生成相应数量的基模型,将所述基模型融合成一个基准状态预测模型。Step S101: Divide the CVT historical data of the power failure verification into several data blocks, generate a corresponding number of base models according to the several data blocks, and fuse the base models into a reference state prediction model.
作为其中一种实施例,根据所述若干个数据块生成相应数量的基模型,将所述基模型融合成一个基准状态预测模型,包括以下步骤:As one of the embodiments, generating a corresponding number of base models according to the several data blocks, and merging the base models into a reference state prediction model, including the following steps:
步骤S11:将k个数据块对应形成k个第一基模型,再采用交叉验证法将所述k个第一基模型更新成相应的k个第二基模型;其中,k为大于3的正整数。具体的,所述k个第一基模型经过K次交叉校验后生成k个第二基模型,对于任一所述第一基模型,根据k个数据块中的一个数据块生成所述第一基模型,并采用除所述一个数据块之外的其余k-1个数据块对所述第一基模型进行交叉验证得到相应的第二基模型。Step S11: form k first base models corresponding to the k data blocks, and then use the cross-validation method to update the k first base models into corresponding k second base models; wherein, k is a positive value greater than 3. Integer. Specifically, the k first base models are cross-checked for K times to generate k second base models, and for any of the first base models, the first base model is generated according to one data block in the k data blocks. A base model is used, and the remaining k-1 data blocks except the one data block are used to perform cross-validation on the first base model to obtain a corresponding second base model.
步骤S12:将所述k个第二基模型融合成一个基准状态预测模型。Step S12: Integrate the k second base models into a reference state prediction model.
作为其中一种实施例,将停电检定的CVT历史数据等分为k个数据块D={D1,D2,D3,…,Dk},其中,k=1,2,……,a;a≥1。As one of the embodiments, the CVT historical data of power failure verification is divided into k data blocks D={D 1 , D 2 , D 3 , ..., D k }, where k=1, 2, ..., a; a≥1.
Dt表示在历史时刻t的窗口数据,定义每个窗口数据:D t represents the window data at historical time t, and defines each window data:
则其底层数据分布为:Then its underlying data distribution is:
其中,n表示样本数量,表示特征向量,表示CVT样本的类标签。本发明选择的CVT的特征向量为组间幅值比差f和组间相位差CVT样本的类标签为:正常、异常、告警3种状态标签。where n is the number of samples, represents the feature vector, Represents the class labels of the CVT samples. The eigenvectors of the CVT selected by the present invention are the amplitude ratio difference f between groups and the phase difference between groups The class labels of CVT samples are: normal, abnormal, and alarm status labels.
其中,A、B、C表示CVT的三相,i表示组别,j表示向量的行,VAij表示第i组第j行A相CVT的幅值;概念漂移是指底层数据分布发生了变化,即:Among them, A, B, C represent the three phases of the CVT, i represents the group, j represents the row of the vector, and V Aij represents the amplitude of the A-phase CVT in the jth row of the ith group; conceptual drift refers to the change in the underlying data distribution. ,which is:
在t时刻,集成模型的目标是构建一个符合分布的最优模型Mt,因此,根据公式(6)生成所述第一基模型:At time t, the goal of the ensemble model is to construct a The optimal model M t of the distribution, therefore, the first base model is generated according to formula (6):
根据损失函数(7)对所述第一基模型进行更新:The first base model is updated according to the loss function (7):
(7);其中,χ(·)表示任意分布函数,E(·)表示一个随机变量的期望值,L为损失函数,其中,k=1,2,……,N;MSE表示预测值和真实值的均方根误差,λ为学习参数(初始值为0),θ(M_new)为新模型的参数,θ(M_orign)为原始模型的参数。(7); where, χ(·) represents an arbitrary distribution function, E(·) represents the expected value of a random variable, L is the loss function, where k=1, 2, ..., N; MSE represents the predicted value and true value The root mean square error of , λ is the learning parameter (the initial value is 0), θ(M_new) is the parameter of the new model, and θ(M_orign) is the parameter of the original model.
步骤S102:获取第一CVT实时数据,并检测所述第一CVT实时数据和CVT历史数据之间是否出现概念漂移。Step S102: Acquire first CVT real-time data, and detect whether concept drift occurs between the first CVT real-time data and CVT historical data.
作为其中一种实施例,根据所述第一CVT实时数据和CVT历史数据计算KL散度和漂移阈值;根据所述KL散度和漂移阈值判断是否出现概念漂移。As one of the embodiments, the KL divergence and drift threshold are calculated according to the first CVT real-time data and the CVT historical data; whether concept drift occurs is determined according to the KL divergence and the drift threshold.
对所述CVT历史数据和第一CVT实时数据形成的CVT数据集整体进行均值漂移聚类,根据公式R=D-2r计算所述漂移阈值,D为聚类簇心之间的平均距离,r为聚类簇的平均半径。Perform mean-shift clustering on the entire CVT data set formed by the CVT historical data and the first CVT real-time data, and calculate the drift threshold according to the formula R=D-2r, where D is the average distance between the cluster centers, and r is the average radius of the clusters.
根据公式(8)计算所述KL散度:The KL divergence is calculated according to formula (8):
式中,记所述CVT历史数据为Dold,其均值向量和协方差矩阵分别为μold和ηold;所述第一CVT实时数据为Dnew,其均值向量和协方差矩阵分别为μnew和ηnew;d为输入样本维度,优选的,d=2;tr表示矩阵的迹;T表示矩阵的转置。In the formula, record the CVT historical data as D old , and its mean vector and covariance matrix are respectively μ old and η old ; the first CVT real-time data is D new , and its mean vector and covariance matrix are respectively μ new and n new ; d is the input sample dimension, preferably, d=2; tr represents the trace of the matrix; T represents the transposition of the matrix.
步骤S103:当出现概念漂移时,获取所述第一CVT实时数据相对于所述CVT历史数据的增量数据,并根据所述增量数据生成增量基模型。Step S103: When concept drift occurs, acquire incremental data of the first CVT real-time data relative to the CVT historical data, and generate an incremental base model according to the incremental data.
采用对抗神经网络算法对所述增量数据中的少数类样本进行过采样处理,根据过采样处理后的增量数据生成所述增量基模型。An adversarial neural network algorithm is used to perform oversampling processing on the minority class samples in the incremental data, and the incremental base model is generated according to the incremental data after the oversampling processing.
步骤S104:根据所述增量基模型和基准状态预测模型生成自适应增量集成学习模型,获取第二CVT实时数据,根据所述自适应增量集成学习模型对所述第二CVT实时数据进行误差状态预测。所述误差状态包括正常、异常和告警。Step S104: Generate an adaptive incremental integrated learning model according to the incremental base model and the reference state prediction model, obtain second CVT real-time data, and perform the second CVT real-time data according to the adaptive incremental integrated learning model. Error state prediction. The error status includes normal, abnormal and alarm.
作为其中一种实施例,将所述增量基模型替换所述k个第二基模型中分类效果最差的基模型后,将所述增量基模型和其余k-1个第二基模型融合得到自适应增量集成学习模型。As one of the embodiments, after replacing the base model with the worst classification effect among the k second base models by the incremental base model, the incremental base model and the remaining k-1 second base models are replaced by the incremental base model. The fusion results in an adaptive incremental ensemble learning model.
作为其中一种实施例,将所述增量基模型替换所述k个第一基模型中分类效果最差的基模型后,再采用交叉验证法将其余k-1个第一基模型和所述增量基模型更新成相应的k个第二基模型;将所述k个第二基模型融合成一个基准状态预测模型。As one of the embodiments, after replacing the incremental base model with the base model with the worst classification effect among the k first base models, the cross-validation method is used to compare the remaining k-1 first base models and all The incremental base models are updated into corresponding k second base models; the k second base models are fused into a reference state prediction model.
作为其中一种实施例,将所述增量基模型和基准状态预测模型融合得到自适应增量集成学习模型。As one of the embodiments, the incremental base model and the reference state prediction model are fused to obtain an adaptive incremental integrated learning model.
当所述增量基模型增加的计算未超过计算机最大内存和有限时间,则采用将所述增量基模型和基准状态预测模型融合的方式得到所述自适应增量集成学习模型。当所述增量基模型增加的计算超过计算机最大内存和有限时间,则采用所述增量基模型替换基模型后,再融合的方式得到所述自适应增量集成学习模型。When the incremental calculation of the incremental base model does not exceed the maximum memory and limited time of the computer, the adaptive incremental integrated learning model is obtained by fusing the incremental base model and the reference state prediction model. When the incremental calculation of the incremental base model exceeds the maximum memory and limited time of the computer, the incremental base model is used to replace the base model, and then the adaptive incremental integrated learning model is obtained by fusion.
本发明通过针对CVT历史数据和CVT实时数据可能出现的概念漂移现象进行检测,并根据概念漂移检测结果,采用自适应增量集成分类模型,应对动态的数据流,进行自适应误差状态评估,提升误差状态评估模型的精度与模型的适应性范围,进而提升了对CVT误差状态评估的准确度。The invention detects the concept drift phenomenon that may occur in the CVT historical data and the CVT real-time data, and adopts an adaptive incremental integrated classification model according to the concept drift detection result to deal with the dynamic data flow, and performs adaptive error state evaluation to improve the The error state evaluates the accuracy of the model and the adaptability range of the model, thereby improving the accuracy of the CVT error state evaluation.
在上述发明实施例的基础上,本发明对应提供了装置项实施例,如图2所示;On the basis of the above-mentioned embodiments of the invention, the present invention correspondingly provides an embodiment of a device item, as shown in FIG. 2 ;
本发明另一实施例提供了一种基于增量集成学习模型的CVT误差状态预测装置,包括基模型生成模块101、概念漂移检测模块102、增量基模型生成模块103和误差状态预测模块104;Another embodiment of the present invention provides a CVT error state prediction device based on an incremental integrated learning model, including a base
所述基模型生成模块用于将停电检定的CVT历史数据等分为若干个数据块,根据所述若干个数据块生成相应数量的基模型,将所述基模型融合成一个基准状态预测模型;The base model generation module is used to equally divide the CVT historical data of the power outage test into several data blocks, generate a corresponding number of base models according to the several data blocks, and fuse the base models into a reference state prediction model;
所述概念漂移检测模块用于获取第一CVT实时数据,并检测所述第一CVT实时数据和CVT历史数据之间是否出现概念漂移;The concept drift detection module is configured to acquire the first CVT real-time data, and detect whether concept drift occurs between the first CVT real-time data and the CVT historical data;
所述增量基模型生成模块用于当出现概念漂移时,获取所述第一CVT实时数据相对于所述CVT历史数据的增量数据,并根据所述增量数据生成增量基模型;The incremental base model generation module is configured to acquire incremental data of the first CVT real-time data relative to the CVT historical data when concept drift occurs, and to generate an incremental base model according to the incremental data;
所述误差状态预测模块用于根据所述增量基模型和基准状态预测模型生成自适应增量集成学习模型,获取第二CVT实时数据,根据所述自适应增量集成学习模型对所述第二CVT实时数据进行误差状态预测。The error state prediction module is used to generate an adaptive incremental ensemble learning model according to the incremental base model and the reference state prediction model, obtain the second CVT real-time data, and perform the second CVT real-time data according to the adaptive incremental ensemble learning model. Two CVT real-time data for error state prediction.
为描述的方便和简洁,本发明装置项实施例包括上述基于增量集成学习模型的CVT误差状态预测方法实施例中的全部实施方式,此处不再赘述。For the convenience and simplicity of description, the device item embodiments of the present invention include all the implementation manners in the above-mentioned embodiments of the CVT error state prediction method based on the incremental ensemble learning model, which will not be repeated here.
需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical unit, that is, it can be located in one place, or it can be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. In addition, in the drawings of the apparatus embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative effort.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above are the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made, and these improvements and modifications may also be regarded as It is the protection scope of the present invention.
本领域普通技术人员可以理解实现上述实施例中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that the realization of all or part of the processes in the above embodiments can be accomplished by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the above-mentioned embodiments may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210820650.5A CN115169704B (en) | 2022-07-13 | 2022-07-13 | CVT error state prediction method and device based on incremental ensemble learning model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210820650.5A CN115169704B (en) | 2022-07-13 | 2022-07-13 | CVT error state prediction method and device based on incremental ensemble learning model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115169704A true CN115169704A (en) | 2022-10-11 |
CN115169704B CN115169704B (en) | 2025-05-06 |
Family
ID=83493908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210820650.5A Active CN115169704B (en) | 2022-07-13 | 2022-07-13 | CVT error state prediction method and device based on incremental ensemble learning model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115169704B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116029220A (en) * | 2023-03-24 | 2023-04-28 | 国网福建省电力有限公司 | Voltage transformer operation error assessment method, system, equipment and medium |
CN116308304A (en) * | 2023-05-24 | 2023-06-23 | 山东建筑大学 | New energy intelligent operation and maintenance method and system based on meta learning concept drift detection |
CN118643345A (en) * | 2024-07-29 | 2024-09-13 | 中国烟草总公司重庆市公司石柱分公司 | Tobacco leaf sorting and grading management method and system based on digital twin |
CN119210897A (en) * | 2024-11-25 | 2024-12-27 | 浙江国利网安科技有限公司 | A method and system for detecting industrial control network threat trends based on time series characteristics |
CN119862791A (en) * | 2025-03-21 | 2025-04-22 | 国网福建省电力有限公司营销服务中心 | Electronic voltage transformer error prediction method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112328703A (en) * | 2020-10-31 | 2021-02-05 | 同济大学 | A device and method for diagnosing health status of numerically controlled equipment based on incremental learning |
CN114091360A (en) * | 2022-01-21 | 2022-02-25 | 武汉格蓝若智能技术有限公司 | Multi-model fused voltage transformer error state evaluation method |
CN114422450A (en) * | 2022-01-21 | 2022-04-29 | 中国人民解放军国防科技大学 | Network traffic analysis method and device based on multi-source network traffic data |
-
2022
- 2022-07-13 CN CN202210820650.5A patent/CN115169704B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112328703A (en) * | 2020-10-31 | 2021-02-05 | 同济大学 | A device and method for diagnosing health status of numerically controlled equipment based on incremental learning |
CN114091360A (en) * | 2022-01-21 | 2022-02-25 | 武汉格蓝若智能技术有限公司 | Multi-model fused voltage transformer error state evaluation method |
CN114422450A (en) * | 2022-01-21 | 2022-04-29 | 中国人民解放军国防科技大学 | Network traffic analysis method and device based on multi-source network traffic data |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116029220A (en) * | 2023-03-24 | 2023-04-28 | 国网福建省电力有限公司 | Voltage transformer operation error assessment method, system, equipment and medium |
CN116308304A (en) * | 2023-05-24 | 2023-06-23 | 山东建筑大学 | New energy intelligent operation and maintenance method and system based on meta learning concept drift detection |
CN116308304B (en) * | 2023-05-24 | 2023-08-25 | 山东建筑大学 | New energy intelligent operation and maintenance method and system based on meta learning concept drift detection |
CN118643345A (en) * | 2024-07-29 | 2024-09-13 | 中国烟草总公司重庆市公司石柱分公司 | Tobacco leaf sorting and grading management method and system based on digital twin |
CN118643345B (en) * | 2024-07-29 | 2025-06-13 | 中国烟草总公司重庆市公司石柱分公司 | Tobacco leaf sorting and grading management method and system based on digital twin |
CN119210897A (en) * | 2024-11-25 | 2024-12-27 | 浙江国利网安科技有限公司 | A method and system for detecting industrial control network threat trends based on time series characteristics |
CN119862791A (en) * | 2025-03-21 | 2025-04-22 | 国网福建省电力有限公司营销服务中心 | Electronic voltage transformer error prediction method and system |
Also Published As
Publication number | Publication date |
---|---|
CN115169704B (en) | 2025-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115169704A (en) | Method and device for CVT error state prediction based on incremental ensemble learning model | |
Belagoune et al. | Deep learning through LSTM classification and regression for transmission line fault detection, diagnosis and location in large-scale multi-machine power systems | |
CN110095744B (en) | Error prediction method for electronic transformer | |
US11347907B2 (en) | Systems and methods for distributed power system model calibration | |
US11448671B2 (en) | Signature identification for power system events | |
US20200292608A1 (en) | Residual-based substation condition monitoring and fault diagnosis | |
CN112098915B (en) | Method for evaluating secondary errors of multiple voltage transformers under double-bus segmented wiring | |
CN109459669B (en) | 10kV power distribution network single-phase earth fault section positioning method | |
CN113239132B (en) | Online out-of-tolerance identification method for voltage transformer | |
CN112731260B (en) | Online evaluation method for error state of voltage transformer based on concept drift recognition | |
CN116125361B (en) | Voltage transformer error evaluation method, system, electronic equipment and storage medium | |
JP7257455B2 (en) | Method and monitoring system for monitoring controller decision logic performance | |
CN108197396A (en) | A kind of high voltage isolator superheat state Forecasting Methodology based on PSO-SVM | |
CN115685045B (en) | Online evaluation method for voltage transformer | |
Flores et al. | Fuzzy risk index for power transformer failures due to external short-circuits | |
CN105699849A (en) | A voltage sag estimation method based on quantum behavior particle swarm optimization algorithm | |
Guo et al. | Power transmission risk assessment considering component condition | |
CN116228184A (en) | Power equipment installation and maintenance method and system | |
CN117970033A (en) | Fault positioning method and device for power distribution network, storage medium and electronic device | |
CN117706452A (en) | Online evaluation method of voltage transformer based on KNN-GRU model | |
CN111929527B (en) | Adaptability evaluation system and method for equipment fault characteristic regularization knowledge representation | |
Iwata et al. | Differential evolutionary particle swarm optimization for load adjustment distribution state estimation using correntropy | |
JP7657137B2 (en) | Power distribution system fault prediction and cause estimation system | |
Moradzadeh et al. | Image processing-based data integrity attack detection in dynamic line rating forecasting applications | |
CN115834406A (en) | A Convolutional Neural Network Based Transient Stability Prediction Method for Power Grids |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |