CN117743958A - Photovoltaic array fault identification method and device, electronic equipment - Google Patents

Photovoltaic array fault identification method and device, electronic equipment Download PDF

Info

Publication number
CN117743958A
CN117743958A CN202410184076.8A CN202410184076A CN117743958A CN 117743958 A CN117743958 A CN 117743958A CN 202410184076 A CN202410184076 A CN 202410184076A CN 117743958 A CN117743958 A CN 117743958A
Authority
CN
China
Prior art keywords
photovoltaic array
fault
photovoltaic
svm
state
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.)
Pending
Application number
CN202410184076.8A
Other languages
Chinese (zh)
Inventor
刘建猛
赵迪
郝硕涛
李睿雯
殷月
李洋
宋娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Beijing Electric Power Co Ltd
Original Assignee
State Grid Beijing Electric Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Beijing Electric Power Co Ltd filed Critical State Grid Beijing Electric Power Co Ltd
Priority to CN202410184076.8A priority Critical patent/CN117743958A/en
Publication of CN117743958A publication Critical patent/CN117743958A/en
Pending legal-status Critical Current

Links

Landscapes

  • Photovoltaic Devices (AREA)

Abstract

本发明涉及光伏发电技术领域,公开了一种光伏阵列故障识别方法和装置、电子设备,该方法包括:基于电网运行参数,建立并网光伏发电系统拓扑结构;基于拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性;对比第一输出特性与光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组;根据三维故障特征量组搭建SVM支持向量机故障识别模型,并对SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型;基于目标SVM故障识别模型对目标三维故障特征量进行有效性验证,以对光伏阵列进行故障识别。本发明能够提升对光伏阵列故障识别的准确率。

The invention relates to the technical field of photovoltaic power generation, and discloses a photovoltaic array fault identification method and device, and electronic equipment. The method includes: establishing a topological structure of a grid-connected photovoltaic power generation system based on power grid operating parameters; simulating the preset conditions of the photovoltaic array based on the topological structure. Under abnormal operating conditions, the first output characteristics of the photovoltaic array are obtained; by comparing the first output characteristics with the second output characteristics of the photovoltaic array under normal operating conditions, a three-dimensional fault characteristic quantity group is generated; SVM support is built based on the three-dimensional fault characteristic quantity group Vector machine fault identification model, and optimize the penalty factor and kernel function parameters of the SVM fault identification model to obtain the target SVM fault identification model; based on the target SVM fault identification model, the validity of the target three-dimensional fault characteristic quantity is verified to ensure the photovoltaic array Perform fault identification. The invention can improve the accuracy of photovoltaic array fault identification.

Description

一种光伏阵列故障识别方法和装置、电子设备Photovoltaic array fault identification method and device, and electronic equipment

技术领域Technical Field

本发明涉及光伏发电技术领域,尤其涉及一种光伏阵列故障识别方法和装置、电子设备。The present invention relates to the technical field of photovoltaic power generation, and in particular to a photovoltaic array fault identification method and device, and electronic equipment.

背景技术Background Art

自“双碳”目标提出以来,郊区分布式光伏快速增长,光伏相关产业日益发展壮大,但光伏阵列因工作环境复杂易发生多种故障,进而影响光伏系统的运行可靠性和能量转化效率。如何将成熟、高效的人工智能算法引入光伏阵列故障诊断领域也逐渐引起学者和研究人员的重视。Since the "dual carbon" goal was proposed, suburban distributed photovoltaics have grown rapidly, and photovoltaic-related industries have grown stronger and stronger. However, photovoltaic arrays are prone to various faults due to the complex working environment, which in turn affects the operational reliability and energy conversion efficiency of photovoltaic systems. How to introduce mature and efficient artificial intelligence algorithms into the field of photovoltaic array fault diagnosis has gradually attracted the attention of scholars and researchers.

光伏系统作为新能源重要组成部分,长时间运行于复杂、随机的环境。光伏组件电池单元内部发生氧化、不计寿命长时间运行等造成不同程度异常老化状态时,阵列输出电压和电流参数出现不同程度的降低。光伏阵列在不同程度局部阴影状态时,阵列输出特性最大功率点电压和最大功率点电流受到影响,导致光伏阵列输出功率出现畸变,影响输出稳定并降低发电效率。As an important component of new energy, photovoltaic systems operate in complex and random environments for a long time. When the photovoltaic module battery cells are oxidized inside and run for a long time regardless of their lifespan, resulting in different degrees of abnormal aging, the array output voltage and current parameters decrease to varying degrees. When the photovoltaic array is in a state of partial shadow to varying degrees, the array output characteristic maximum power point voltage and maximum power point current are affected, resulting in distortion of the photovoltaic array output power, affecting output stability and reducing power generation efficiency.

并电网光伏阵列数量庞大,组件或阵列发生故障会导致整个光伏系统不能安全有效运行,因此迫切需要本领域技术人员提供一种过程简单、识别速度快的光伏阵列故障识别方法。There are a large number of photovoltaic arrays connected to the power grid. Failure of components or arrays will cause the entire photovoltaic system to be unable to operate safely and efficiently. Therefore, there is an urgent need for technical personnel in this field to provide a photovoltaic array fault identification method with a simple process and fast identification speed.

光伏阵列智能检测法中机器学习方法多被应用于阵列故障识别领域,将提取到的故障特征数据输入机器学习算法进行模型训练,得到智能故障识别模型,实现对光伏阵列故障模式快速、准确的智能学习分类。Machine learning methods in photovoltaic array intelligent detection methods are mostly used in the field of array fault identification. The extracted fault feature data are input into the machine learning algorithm for model training to obtain an intelligent fault identification model, thereby realizing fast and accurate intelligent learning classification of photovoltaic array fault modes.

目前常用的机器学习方法主要是神经网络以及各种神经网络的改进算法。但是,神经网络算法的中间层节点数目确定困难,导致神经网络在学习训练中易陷入局部最优问题,计算过程复杂,导致光伏阵列故障识别结果准确率降低。At present, the commonly used machine learning methods are mainly neural networks and various improved algorithms of neural networks. However, it is difficult to determine the number of nodes in the middle layer of the neural network algorithm, which makes the neural network prone to local optimal problems during learning and training, and the calculation process is complicated, resulting in a decrease in the accuracy of photovoltaic array fault identification results.

发明内容Summary of the invention

本发明实施例的目的是提供一种光伏阵列故障识别方法和装置、电子设备,能够解决现有光伏阵列故障识别方案中存在的识别结果准确率降低问题。The purpose of the embodiments of the present invention is to provide a photovoltaic array fault identification method and device, and electronic equipment, which can solve the problem of reduced accuracy of identification results in existing photovoltaic array fault identification solutions.

为解决上述技术问题,本发明提供如下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:

本发明实施例提供了一种光伏阵列故障识别方法,包括:An embodiment of the present invention provides a photovoltaic array fault identification method, comprising:

基于电网运行参数,建立并网光伏发电系统拓扑结构;Based on the grid operation parameters, establish the topology of the grid-connected photovoltaic power generation system;

基于所述并网光伏发电系统拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性;Simulating the operation status of the photovoltaic array under a preset abnormal condition based on the topological structure of the grid-connected photovoltaic power generation system to obtain a first output characteristic of the photovoltaic array;

对比所述第一输出特性与所述光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组;Compare the first output characteristic with the second output characteristic of the photovoltaic array under normal operating conditions to generate a three-dimensional fault feature quantity group;

根据所述三维故障特征量组搭建SVM故障识别模型,并对所述SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型;Building an SVM fault recognition model according to the three-dimensional fault feature quantity group, and optimizing the penalty factor and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model;

基于所述目标SVM故障识别模型对目标三维故障特征量进行有效性验证,以对光伏阵列进行故障识别。The target three-dimensional fault feature quantity is verified for effectiveness based on the target SVM fault identification model to identify faults of the photovoltaic array.

可选地,基于所述并网光伏发电系统拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性的步骤,包括:Optionally, the step of simulating the operating condition of the photovoltaic array under a preset abnormal condition based on the topological structure of the grid-connected photovoltaic power generation system to obtain the first output characteristic of the photovoltaic array includes:

基于所述拓扑结构和预设仿真平台,建立仿真模型;Based on the topological structure and the preset simulation platform, a simulation model is established;

对所述仿真模型进行预设异常状况下的光伏阵列故障模拟,获取各异常状况下对应的光伏阵列的第一输出特性,其中,所述预设异常状况包括:光伏阵列发生不同程度异常老化状态、光伏阵列存在不同程度局部阴影的状态。The simulation model is subjected to photovoltaic array failure simulation under preset abnormal conditions to obtain the first output characteristics of the photovoltaic array corresponding to each abnormal condition, wherein the preset abnormal conditions include: abnormal aging of the photovoltaic array to varying degrees, and local shadows of varying degrees in the photovoltaic array.

可选地,所述光伏阵列发生不同程度异常老化状态包括:所述光伏阵列中的第一组串发生第一程度老化、第二组串正常;所述光伏阵列中的第一组串发生第二程度老化、所述第二组串正常;所述光伏阵列中的第一组串、第二组串均老化;Optionally, the photovoltaic array having different degrees of abnormal aging states includes: the first group of strings in the photovoltaic array having a first degree of aging, and the second group of strings being normal; the first group of strings in the photovoltaic array having a second degree of aging, and the second group of strings being normal; the first group of strings and the second group of strings in the photovoltaic array being both aged;

所述光伏阵列存在不同程度局部阴影的状态包括:所述光伏阵列中单一组串光伏组件的辐照度为0,所述光伏阵列中多组串光伏组件的辐照度为0。The states where the photovoltaic array has different degrees of local shadows include: the irradiance of a single string of photovoltaic components in the photovoltaic array is 0, and the irradiance of multiple strings of photovoltaic components in the photovoltaic array is 0.

可选地,对比所述第一输出特性与所述光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组的步骤,包括:Optionally, the step of comparing the first output characteristic with a second output characteristic of the photovoltaic array in a normal operating state to generate a three-dimensional fault feature quantity group includes:

针对每一个程度的异常老化状态,对所述异常老化状态对应的输出特性进行分析,确定所述光伏阵列的最大功率点电压和最大功率点电流;For each degree of abnormal aging state, analyzing the output characteristics corresponding to the abnormal aging state, and determining the maximum power point voltage and maximum power point current of the photovoltaic array;

将各程度的异常老化状态对应的最大功率点电压和最大功率点电流,与所述光伏阵列正常运行状态下的最大功率点电压和最大功率点电流进行比对,得到异常老化状态下的第二输出特性;Comparing the maximum power point voltage and the maximum power point current corresponding to each degree of abnormal aging state with the maximum power point voltage and the maximum power point current under the normal operating state of the photovoltaic array to obtain a second output characteristic under the abnormal aging state;

针对每一个程度的局部阴影的状态,对所述局部阴影状态对应的输出特性进行分析,确定所述光伏阵列的U-I曲线阶梯拐点数;For each degree of local shadow state, the output characteristics corresponding to the local shadow state are analyzed to determine the number of inflection points of the U-I curve of the photovoltaic array;

将各所述U-I曲线阶梯拐点数作为局部阴影状态下的第二输出特性。The number of inflection points of each U-I curve step is used as the second output characteristic under the local shadow state.

可选地,根据所述三维故障特征量组搭建SVM支持向量机故障识别模型,并对所述SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型的步骤,包括:Optionally, the step of building an SVM support vector machine fault recognition model according to the three-dimensional fault feature quantity group, and optimizing the penalty factor and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model includes:

对所述三维故障特征量组进行离差归一化处理,得到目标三维故障特征量组;其中,目标三维故障特征量组包括多组基于所述光伏阵列的最大功率点电压和最大功率点电流、U-I曲线阶梯拐点数组成的三维故障特征量;Performing deviation normalization processing on the three-dimensional fault feature quantity group to obtain a target three-dimensional fault feature quantity group; wherein the target three-dimensional fault feature quantity group includes multiple groups of three-dimensional fault feature quantities composed of the maximum power point voltage and maximum power point current of the photovoltaic array and the number of step inflection points of the U-I curve;

将所述目标三维故障特征量组中的故障特征量分成训练集和测试集;Dividing the fault feature quantities in the target three-dimensional fault feature quantity group into a training set and a test set;

搭建初始SVM故障识别模型,并依据所述训练集对所述初始SVM故障识别模型的惩罚因子与核函数参数进行迭代优化直至满足迭代优化截止条件,得到目标SVM故障识别模型。An initial SVM fault recognition model is constructed, and the penalty factor and kernel function parameters of the initial SVM fault recognition model are iteratively optimized according to the training set until an iterative optimization cutoff condition is met, thereby obtaining a target SVM fault recognition model.

本发明实施例还提供了一种光伏阵列故障识别装置,包括:The embodiment of the present invention further provides a photovoltaic array fault identification device, comprising:

建立模块,用于基于电网运行参数,建立并网光伏发电系统拓扑结构;Establishing a module for establishing a grid-connected photovoltaic power generation system topology based on grid operation parameters;

模拟模块,用于基于所述并网光伏发电系统拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性;A simulation module, used to simulate the operation status of the photovoltaic array under a preset abnormal condition based on the topological structure of the grid-connected photovoltaic power generation system, and obtain a first output characteristic of the photovoltaic array;

生成模块,用于对比所述第一输出特性与所述光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组;A generating module, configured to compare the first output characteristic with a second output characteristic of the photovoltaic array under normal operating conditions, and generate a three-dimensional fault feature quantity group;

模型优化模块,用于根据所述三维故障特征量组搭建SVM故障识别模型,并对所述SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型;A model optimization module, used to build an SVM fault recognition model according to the three-dimensional fault feature quantity group, and optimize the penalty factor and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model;

识别模块,用于基于所述目标SVM故障识别模型对目标三维故障特征量进行有效性验证,以对光伏阵列进行故障识别。The identification module is used to verify the validity of the target three-dimensional fault feature quantity based on the target SVM fault identification model to identify the fault of the photovoltaic array.

可选地,所述模拟模块包括:Optionally, the simulation module includes:

第一子模块,用于基于所述并网光伏发电系统拓扑结构和预设仿真平台,建立仿真模型;The first submodule is used to establish a simulation model based on the topological structure of the grid-connected photovoltaic power generation system and a preset simulation platform;

第二子模块,用于对所述仿真模型进行预设异常状况下的光伏阵列故障模拟,获取各异常状况下对应的光伏阵列的第一输出特性,其中,所述预设异常状况包括:光伏阵列发生不同程度异常老化状态、光伏阵列存在不同程度局部阴影的状态。The second submodule is used to simulate the photovoltaic array failure under preset abnormal conditions for the simulation model, and obtain the first output characteristics of the photovoltaic array corresponding to each abnormal condition, wherein the preset abnormal conditions include: the photovoltaic array has different degrees of abnormal aging status, and the photovoltaic array has different degrees of local shadow status.

可选地,所述光伏阵列发生不同程度异常老化状态包括:所述光伏阵列中的第一组串发生第一程度老化、第二组串正常;所述光伏阵列中的第一组串发生第二程度老化、所述第二组串正常;所述光伏阵列中的第一组串、第二组串均老化;Optionally, the photovoltaic array having different degrees of abnormal aging states includes: the first group of strings in the photovoltaic array having a first degree of aging, and the second group of strings being normal; the first group of strings in the photovoltaic array having a second degree of aging, and the second group of strings being normal; the first group of strings and the second group of strings in the photovoltaic array being both aged;

所述光伏阵列存在不同程度局部阴影的状态包括:所述光伏阵列中单一组串光伏组件的辐照度为0,所述光伏阵列中多组串光伏组件的辐照度为0。The states where the photovoltaic array has different degrees of local shadows include: the irradiance of a single string of photovoltaic components in the photovoltaic array is 0, and the irradiance of multiple strings of photovoltaic components in the photovoltaic array is 0.

可选地,所述生成模块包括:Optionally, the generating module includes:

第三子模块,用于针对每一个程度的异常老化状态,对所述异常老化状态对应的输出特性进行分析,确定所述光伏阵列的最大功率点电压和最大功率点电流;The third submodule is used to analyze the output characteristics corresponding to each degree of abnormal aging state, and determine the maximum power point voltage and maximum power point current of the photovoltaic array;

第四子模块,用于将各程度的异常老化状态对应的最大功率点电压和最大功率点电流,与所述光伏阵列正常运行状态下的最大功率点电压和最大功率点电流进行比对,得到异常老化状态下的第二输出特性;A fourth submodule is used to compare the maximum power point voltage and the maximum power point current corresponding to each degree of abnormal aging state with the maximum power point voltage and the maximum power point current under the normal operating state of the photovoltaic array to obtain a second output characteristic under the abnormal aging state;

第五子模块,用于针对每一个程度的局部阴影的状态,对所述局部阴影状态对应的输出特性进行分析,确定所述光伏阵列的U-I曲线阶梯拐点数;A fifth submodule is used to analyze the output characteristics corresponding to each degree of local shadow state, and determine the number of inflection points of the U-I curve of the photovoltaic array;

第六子模块,用于将各所述U-I曲线阶梯拐点数作为局部阴影状态下的第二输出特性。The sixth submodule is used to use the number of inflection points of each U-I curve step as the second output characteristic under the local shadow state.

可选地,所述模型优化模块包括:Optionally, the model optimization module includes:

第七子模块,用于对所述三维故障特性量组进行离差归一化处理,得到目标三维故障特征量组;其中,目标三维故障特征量组包括多组基于所述光伏阵列的最大功率点电压和最大功率点电流、U-I曲线阶梯拐点数组成的三维故障特征量;The seventh submodule is used to perform deviation normalization processing on the three-dimensional fault characteristic quantity group to obtain a target three-dimensional fault characteristic quantity group; wherein the target three-dimensional fault characteristic quantity group includes multiple groups of three-dimensional fault characteristic quantities composed of the maximum power point voltage and maximum power point current of the photovoltaic array and the number of step inflection points of the U-I curve;

第八子模块,用于将所述目标三维故障特征量组中的故障特征量分成训练集和测试集;An eighth submodule, configured to divide the fault feature quantities in the target three-dimensional fault feature quantity group into a training set and a test set;

第九子模块,用于搭建初始SVM故障识别模型,并依据所述训练集对所述初始SVM故障识别模型的惩罚因子与核函数参数进行迭代优化直至满足迭代优化截止条件,得到目标SVM故障识别模型。The ninth submodule is used to build an initial SVM fault recognition model, and iteratively optimize the penalty factor and kernel function parameters of the initial SVM fault recognition model according to the training set until the iterative optimization cutoff condition is met to obtain a target SVM fault recognition model.

本发明实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现上述任意一种光伏阵列故障识别方法的步骤。An embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the steps of any one of the above-mentioned photovoltaic array fault identification methods when executed by the processor.

本发明实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现上述任意一种光伏阵列故障识别方法的步骤。An embodiment of the present invention provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of any one of the above photovoltaic array fault identification methods are implemented.

本发明实施例提供的光伏阵列故障识别方案,基于电网运行参数,建立并网光伏发电系统拓扑结构;基于拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性;对比第一输出特性与光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组;根据三维故障特征量组搭建SVM故障识别模型,并对SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型;基于目标SVM故障识别模型对目标三维故障特征量进行有效性验证,以对光伏阵列进行故障识别。该种光伏阵列故障识别方案,SVM基于结构风险最小化原则对期望风险进行估计,能够克服模型训练过程中的过拟合问题,使得基于SVM故障识别模型具有良好地分类辨别能力;此外,通过三维故障特征量组对SVM故障识别模型进行训练,能够提升SVM故障识别模型对光伏阵列故障识别的准确率。The photovoltaic array fault identification scheme provided by the embodiment of the present invention establishes the topological structure of the grid-connected photovoltaic power generation system based on the grid operation parameters; simulates the operation status of the photovoltaic array under the preset abnormal conditions based on the topological structure to obtain the first output characteristic of the photovoltaic array; compares the first output characteristic with the second output characteristic under the normal operation state of the photovoltaic array to generate a three-dimensional fault feature quantity group; builds an SVM fault identification model according to the three-dimensional fault feature quantity group, and optimizes the penalty factor and kernel function parameters of the SVM fault identification model to obtain a target SVM fault identification model; verifies the effectiveness of the target three-dimensional fault feature quantity based on the target SVM fault identification model to identify the fault of the photovoltaic array. In this photovoltaic array fault identification scheme, the SVM estimates the expected risk based on the principle of structural risk minimization, which can overcome the overfitting problem in the model training process, so that the fault identification model based on the SVM has good classification and discrimination capabilities; in addition, the SVM fault identification model is trained by the three-dimensional fault feature quantity group, which can improve the accuracy of the SVM fault identification model in identifying photovoltaic array faults.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

构成本发明的一部分的说明书附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

图1是表示本申请实施例的一种光伏阵列故障识别方法的流程示意图;FIG1 is a schematic diagram showing a flow chart of a photovoltaic array fault identification method according to an embodiment of the present application;

图2是表示本申请实施例的并网光伏发电系统拓扑结构图;FIG2 is a topological diagram of a grid-connected photovoltaic power generation system according to an embodiment of the present application;

图3(a)、(b)是表示本申请实施例的三种异常老化故障下光伏阵列输出特性;FIG3 (a) and (b) show the output characteristics of the photovoltaic array under three abnormal aging faults according to the embodiment of the present application;

图4(a)、(b)是表示本申请实施例的两种局部阴影故障下光伏阵列输出特性;FIG4 (a) and (b) show the output characteristics of the photovoltaic array under two local shadow faults according to an embodiment of the present application;

图5是表示本申请实施例的基于改进后的支持向量故障识别模型对光伏阵列进行故障识别流程图;FIG5 is a flowchart showing fault identification of a photovoltaic array based on an improved support vector fault identification model according to an embodiment of the present application;

图6是表示本申请实施例的一种支持向量机二分类示意图;FIG6 is a schematic diagram of a support vector machine binary classification according to an embodiment of the present application;

图7是表示本申请实施例的一种布谷鸟搜索算法的搜索流程图;7 is a search flow chart showing a cuckoo search algorithm according to an embodiment of the present application;

图8是表示本申请实施例的适应度进化曲线图;FIG8 is a fitness evolution curve diagram showing an embodiment of the present application;

图9是表示本申请实施例的改进后的SVM故障识别模型对样本训练集的故障识别准确率图;FIG9 is a diagram showing the fault recognition accuracy of the improved SVM fault recognition model for the sample training set according to an embodiment of the present application;

图10是表示本申请实施例的改进后的SVM故障识别模型对样本测试集的故障识别准确率图;FIG10 is a diagram showing the fault recognition accuracy of the improved SVM fault recognition model for the sample test set according to an embodiment of the present application;

图11是表示本申请实施例的一种光伏阵列故障识别装置的结构框图;FIG11 is a block diagram showing a photovoltaic array fault identification device according to an embodiment of the present application;

图12是表示本申请实施例的一种电子设备的结构框图。FIG. 12 is a block diagram showing the structure of an electronic device according to an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

以下详细说明均是示例性的说明,旨在对本发明提供进一步的详细说明。除非另有指明,本发明所采用的所有技术术语与本发明所属领域的一般技术人员的通常理解的含义相同。本发明所使用的术语仅是为了描述具体实施方式,而并非意图限制根据本发明的示例性实施方式。The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的光伏阵列故障识别方案进行详细地说明。The photovoltaic array fault identification solution provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

如附图1所示,本申请实施例的光伏阵列故障识别方法包括以下步骤:As shown in FIG. 1 , the photovoltaic array fault identification method according to the embodiment of the present application includes the following steps:

步骤101:基于电网运行参数,建立并网光伏发电系统拓扑结构。Step 101: Based on the grid operation parameters, a grid-connected photovoltaic power generation system topology is established.

本申请实施例中,结合复杂环境下光伏阵列实际工作状况,考虑电网运行参数,建立并网光伏发电系统拓扑结构。In the embodiment of the present application, the topology of the grid-connected photovoltaic power generation system is established by combining the actual working conditions of the photovoltaic array in a complex environment and taking into account the operating parameters of the power grid.

步骤102:基于并网光伏发电系统拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性。Step 102: Simulate the operation status of the photovoltaic array under a preset abnormal condition based on the topological structure of the grid-connected photovoltaic power generation system to obtain a first output characteristic of the photovoltaic array.

一种可选地,基于并网光伏发电系统拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性的方式可以如下:Optionally, based on the topological structure of the grid-connected photovoltaic power generation system, the operation status of the photovoltaic array under a preset abnormal condition is simulated to obtain the first output characteristic of the photovoltaic array as follows:

首先,基于并网光伏发电系统拓扑结构和预设仿真平台,建立仿真模型;Firstly, a simulation model is established based on the topological structure of the grid-connected photovoltaic power generation system and the preset simulation platform;

预设仿真平台可以包括但不限于:Matlab/Simulink仿真平台。The preset simulation platform may include but is not limited to: Matlab/Simulink simulation platform.

其次,对仿真模型进行预设异常状况下的光伏阵列故障模拟,获取各异常状况下对应的光伏阵列的第一输出特性。Secondly, a photovoltaic array fault simulation under a preset abnormal condition is performed on the simulation model to obtain a first output characteristic of the photovoltaic array corresponding to each abnormal condition.

其中,预设异常状况包括:光伏阵列发生不同程度异常老化状态、光伏阵列存在不同程度局部阴影的状态。The preset abnormal conditions include: the photovoltaic array experiencing abnormal aging to varying degrees, and the photovoltaic array having local shadows to varying degrees.

在实际实现过程中,建立仿真模型进行复杂工况下的光伏阵列故障模拟,获取光伏阵列发生不同程度异常老化、不同程度局部阴影故障时的第一输出特性。In the actual implementation process, a simulation model is established to simulate photovoltaic array failures under complex working conditions, and the first output characteristics of the photovoltaic array are obtained when different degrees of abnormal aging and different degrees of local shadow failure occur.

光伏阵列发生不同程度异常老化状态包括:光伏阵列中的第一组串发生第一程度老化、第二组串正常;光伏阵列中的第一组串发生第二程度老化、第二组串正常;光伏阵列中的第一组串、第二组串均老化;光伏阵列存在不同程度局部阴影的状态包括:光伏阵列中单一组串光伏组件的辐照度为0,光伏阵列中多组串光伏组件的辐照度为0。The photovoltaic array undergoes different degrees of abnormal aging conditions, including: the first group of strings in the photovoltaic array undergoes first degree aging, and the second group of strings is normal; the first group of strings in the photovoltaic array undergoes second degree aging, and the second group of strings is normal; both the first group of strings in the photovoltaic array are aged; the photovoltaic array has different degrees of local shadow conditions, including: the irradiance of a single group of photovoltaic components in the photovoltaic array is 0, and the irradiance of multiple groups of photovoltaic components in the photovoltaic array is 0.

当阵列中组件出现异常老化故障时,故障组件的内阻变大,即在组件的等效电路中,串联电阻增大。因此通过改变阵列中组串的串联电阻值能够模拟实现阵列组件的老化故障。局部阴影故障通过设置光伏组件的辐照度实现。When an abnormal aging fault occurs in a component in the array, the internal resistance of the faulty component increases, that is, in the equivalent circuit of the component, the series resistance increases. Therefore, by changing the series resistance value of the strings in the array, the aging fault of the array component can be simulated. Local shadow faults are achieved by setting the irradiance of the photovoltaic module.

需要说明的是,上述仅是实例性地模拟的常老化状态、不同程度局部阴影的状态包含的具体状态,在实际实现过程中,本领域技术人员可以根据实际需求灵活设置上述两种类型的状态包含的具体状态,在此不作具体限制。It should be noted that the above are only exemplary simulations of the specific states included in the normal aging state and the state of local shadows of different degrees. In the actual implementation process, technical personnel in this field can flexibly set the specific states included in the above two types of states according to actual needs, and no specific restrictions are made here.

步骤103:对比第一输出特性与光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组。Step 103: Compare the first output characteristic with the second output characteristic under normal operation of the photovoltaic array to generate a three-dimensional fault feature quantity group.

一种可选地对比第一输出特性与光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组的方式可以如下:An optional method of comparing the first output characteristic with the second output characteristic under normal operation of the photovoltaic array to generate a three-dimensional fault feature quantity group may be as follows:

针对每一个程度的异常老化状态,对异常老化状态对应的输出特性进行分析,确定光伏阵列的最大功率点电压和最大功率点电流;将各程度的异常老化状态对应的最大功率点电压和最大功率点电流,与光伏阵列正常运行状态下的最大功率点电压和最大功率点电流进行比对,得到异常老化状态下的第二输出特性;针对每一个程度的局部阴影的状态,对局部阴影状态对应的输出特性进行分析,确定光伏阵列的U-I曲线阶梯拐点数;将各U-I曲线阶梯拐点数作为局部阴影状态下的第二输出特性。For each degree of abnormal aging state, the output characteristics corresponding to the abnormal aging state are analyzed to determine the maximum power point voltage and the maximum power point current of the photovoltaic array; the maximum power point voltage and the maximum power point current corresponding to each degree of abnormal aging state are compared with the maximum power point voltage and the maximum power point current of the photovoltaic array under normal operating conditions to obtain the second output characteristics under the abnormal aging state; for each degree of local shadow state, the output characteristics corresponding to the local shadow state are analyzed to determine the number of U-I curve step inflection points of the photovoltaic array; the number of each U-I curve step inflection point is used as the second output characteristic under the local shadow state.

在实际实现过程中,对光伏阵列的第一输出特性进行分析时,针对不同程度异常老化故障,阵列的Um(即最大功率点电压)和Im(即最大功率点电流)随着老化程度的加深逐渐变小,因此选择Um、Im对异常老化故障进行辨识。针对轻微和严重两种程度局部阴影故障,引入光伏阵列U-I曲线阶梯拐点数,并验证Um、Im作为特征量辨别两种程度局部阴影的有效性。提出由光伏阵列最大功率点电压Um、最大功率点电流Im、U-I曲线阶梯拐点数组成三维故障特征量。In the actual implementation process, when analyzing the first output characteristics of the photovoltaic array, for different degrees of abnormal aging faults, the array's U m (i.e., maximum power point voltage) and Im (i.e., maximum power point current) gradually decrease with the deepening of aging, so Um and Im are selected to identify abnormal aging faults. For the two degrees of minor and severe local shadow faults, the number of step inflection points of the photovoltaic array UI curve is introduced, and the effectiveness of U m and Im as feature quantities to distinguish the two degrees of local shadow is verified. It is proposed that the three-dimensional fault feature quantity is composed of the photovoltaic array maximum power point voltage U m , the maximum power point current Im , and the number of step inflection points of the UI curve.

步骤104:根据三维故障特征量组搭建SVM故障识别模型,并对SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型。Step 104: construct an SVM fault recognition model according to the three-dimensional fault feature quantity group, and optimize the penalty factor and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model.

支持向量机(support vector machines,SVM)是一种二分类模型,它的基本模型是定义在特征空间上的间隔最大的线性分类器,间隔最大使它有别于感知机;SVM还包括核技巧,这使它成为实质上的非线性分类器。Support vector machine (SVM) is a binary classification model. Its basic model is a linear classifier with the largest margin defined in the feature space. The largest margin distinguishes it from the perceptron. SVM also includes kernel techniques, which makes it an essentially nonlinear classifier.

一种可选地根据三维故障特征量组搭建SVM故障识别模型,并对SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型的方式可以如下:An optional method of building an SVM fault recognition model based on the three-dimensional fault feature quantity group and optimizing the penalty factor and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model may be as follows:

对三维故障特性量组进行离差归一化处理,得到目标三维故障特征量组;其中,目标三维故障特征量组包括多组基于光伏阵列的最大功率点电压和最大功率点电流、U-I曲线阶梯拐点数组成的三维故障特征量;The three-dimensional fault characteristic quantity group is subjected to deviation normalization processing to obtain a target three-dimensional fault characteristic quantity group; wherein the target three-dimensional fault characteristic quantity group includes multiple groups of three-dimensional fault characteristic quantities composed of maximum power point voltage and maximum power point current of the photovoltaic array and the number of step inflection points of the U-I curve;

将目标三维故障特征量组中的故障特征量分成训练集和测试集;The fault feature quantities in the target three-dimensional fault feature quantity group are divided into a training set and a test set;

搭建初始SVM故障识别模型,并依据训练集对初始SVM故障识别模型的惩罚因子与核函数参数γ进行迭代优化即寻优,直至满足迭代优化截止条件,得到目标SVM故障识别模型。An initial SVM fault recognition model is built, and the penalty factor and kernel function parameter γ of the initial SVM fault recognition model are iteratively optimized according to the training set until the iterative optimization cutoff condition is met to obtain the target SVM fault recognition model.

步骤105:基于目标SVM故障识别模型对目标三维故障特征量进行有效性验证,以对光伏阵列进行故障识别。Step 105: verifying the validity of the target three-dimensional fault feature quantity based on the target SVM fault identification model to identify faults of the photovoltaic array.

目标三维故障特征量可以为三维故障特征量组中被选中的一个或多个三维故障特征。也可以为目标三维故障特征量组划分出的测试集中的一个或多个三维故障特征。The target three-dimensional fault feature quantity may be one or more three-dimensional fault features selected from the three-dimensional fault feature quantity group, or may be one or more three-dimensional fault features in a test set divided from the target three-dimensional fault feature quantity group.

本申请实施例提供的光伏阵列故障识别方法,基于电网运行参数,建立并网光伏发电系统拓扑结构;基于拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性;对比第一输出特性与光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组;根据三维故障特征量组搭建SVM故障识别模型,并对SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型;基于SVM故障识别模型对目标三维故障特征量进行有效性验证,以对光伏阵列进行故障识别。该种光伏阵列故障识别方法,SVM基于结构风险最小化原则对期望风险进行估计,能够克服模型训练过程中的过拟合问题,使得基于SVM故障识别模型具有良好地分类辨别能力;此外,通过三维故障特征量组对SVM故障识别模型进行训练,能够提升SVM故障识别模型对光伏阵列故障识别的准确率。The photovoltaic array fault identification method provided in the embodiment of the present application establishes the topological structure of the grid-connected photovoltaic power generation system based on the grid operation parameters; simulates the operation status of the photovoltaic array under the preset abnormal conditions based on the topological structure to obtain the first output characteristic of the photovoltaic array; compares the first output characteristic with the second output characteristic under the normal operation state of the photovoltaic array to generate a three-dimensional fault feature quantity group; builds an SVM fault identification model based on the three-dimensional fault feature quantity group, and optimizes the penalty factor and kernel function parameters of the SVM fault identification model to obtain a target SVM fault identification model; verifies the effectiveness of the target three-dimensional fault feature quantity based on the SVM fault identification model to identify the fault of the photovoltaic array. In this photovoltaic array fault identification method, SVM estimates the expected risk based on the principle of structural risk minimization, which can overcome the overfitting problem in the model training process, so that the fault identification model based on the SVM has good classification and discrimination capabilities; in addition, the SVM fault identification model is trained by the three-dimensional fault feature quantity group, which can improve the accuracy of the SVM fault identification model in identifying photovoltaic array faults.

下面以一具体实例,对本申请实施例提供的光伏阵列故障识别方法进行说明。The photovoltaic array fault identification method provided in the embodiment of the present application is described below with a specific example.

本具体实例中,结合复杂环境下光伏阵列实际工作状况,考虑电网运行参数,建立并网光伏发电系统拓扑结构。对光伏阵列的输出特性进行分析,针对不同程度异常老化故障,阵列的Um和Im随着老化程度的加深逐渐变小,因此选择Um、Im对异常老化故障进行辨识。针对轻微和严重两种程度局部阴影故障,引入光伏阵列U-I曲线阶梯拐点数,并验证Um、Im作为特征量辨别两种程度局部阴影的有效性。提出由光伏阵列最大功率点电压Um、最大功率点电流Im、U-I曲线阶梯拐点数组成三维故障特征量。In this specific example, the topology of the grid-connected photovoltaic power generation system is established by combining the actual working conditions of the photovoltaic array under complex environments and considering the grid operation parameters. The output characteristics of the photovoltaic array are analyzed. For different degrees of abnormal aging faults, the U m and Im of the array gradually decrease with the deepening of the aging degree. Therefore, U m and Im are selected to identify abnormal aging faults. For the two degrees of minor and severe local shadow faults, the number of step inflection points of the photovoltaic array UI curve is introduced, and the effectiveness of U m and Im as feature quantities to distinguish the two degrees of local shadows is verified. It is proposed that the three-dimensional fault feature quantity is composed of the maximum power point voltage U m of the photovoltaic array, the maximum power point current Im , and the number of step inflection points of the UI curve.

然后,基于Um、Im、U-I曲线阶梯拐点数组成的三维故障特征量,搭建SVM(支持向量机)故障识别模型,对SVM故障识别模型的惩罚因子与核函数参数γ进行寻优即优化,基于改进的SVM故障识别模型即目标SVM故障识别模型对选定的三维故障特征量进行有效性验证,从而实现对光伏阵列故障的准确识别。Then, based on the three-dimensional fault feature quantity composed of U m , I m , and the number of step inflection points of the UI curve, a SVM (support vector machine) fault recognition model is built, and the penalty factor and kernel function parameter γ of the SVM fault recognition model are optimized. Based on the improved SVM fault recognition model, namely the target SVM fault recognition model, the effectiveness of the selected three-dimensional fault feature quantity is verified, thereby achieving accurate identification of photovoltaic array faults.

本具体实例包括如下过程S1-S3:This specific example includes the following processes S1-S3:

S1:结合复杂环境下光伏阵列实际工作状况,考虑电网运行参数,利用Matlab/Simulink仿真平台建立并网光伏发电系统拓扑结构,所构建的并网光伏发电系统拓扑结构图如图2所示。L1、L2为滤波电感,Cdc、C为滤波电容,T1~T6为光伏并网逆变电路的开关管,R为无源阻尼电阻。S1: Combined with the actual working conditions of the photovoltaic array in a complex environment, considering the grid operation parameters, the topological structure of the grid-connected photovoltaic power generation system is established using the Matlab/Simulink simulation platform. The topological structure diagram of the constructed grid-connected photovoltaic power generation system is shown in Figure 2. L1 and L2 are filter inductors, Cdc and C are filter capacitors, T1 ~ T6 are switch tubes of the photovoltaic grid-connected inverter circuit, and R is a passive damping resistor.

为满足并网系统稳定性要求,减小并网电流谐波,采用无源阻尼设计抑制谐振问题。选用的滤波电路确定为在滤波电容C支路串入无源阻尼电阻R的LCL型滤波器。In order to meet the stability requirements of the grid-connected system and reduce the harmonics of the grid-connected current, a passive damping design is used to suppress the resonance problem. The selected filter circuit is determined to be an LCL filter with a passive damping resistor R in series in the filter capacitor C branch.

一种实例性地光伏阵列由9×8块采用串并联(SP)连接方式的光伏组件构成,建立的光伏系统仿真模型关键参数如表1所示:An exemplary photovoltaic array is composed of 9×8 photovoltaic modules connected in series-parallel (SP) mode. The key parameters of the established photovoltaic system simulation model are shown in Table 1:

表1 光伏系统关键参数设置Table 1 Key parameter settings of photovoltaic system

S2:基于仿真模型,进行不同工作状态下的光伏阵列故障模拟,获取光伏阵列在异常老化、局部阴影等运行状况时的输出特性即第一输出特性,分析光伏阵列的输出特性,对不同程度异常老化、不同程度局部阴影故障进行多维故障特征提取。本具体实例中模拟的光伏阵列故障类型如表2。S2: Based on the simulation model, simulate the faults of photovoltaic arrays under different working conditions, obtain the output characteristics of the photovoltaic arrays under abnormal aging, partial shadow and other operating conditions, i.e., the first output characteristics, analyze the output characteristics of the photovoltaic arrays, and extract multi-dimensional fault features for abnormal aging and partial shadow faults of different degrees. The fault types of photovoltaic arrays simulated in this specific example are shown in Table 2.

表2 工作状态描述Table 2 Working status description

1)一种示例性地异常老化故障特征提取方法如下所示:1) An exemplary abnormal aging fault feature extraction method is as follows:

当光伏阵列中组件出现异常老化故障时,故障组件的内阻变大,即在组件的等效电路中,串联电阻增大。因此通过改变阵列中组串的串联电阻值R s能够模拟实现阵列组件的老化故障。When abnormal aging failure occurs in the components of the photovoltaic array, the internal resistance of the faulty component increases, that is, in the equivalent circuit of the component, the series resistance increases. Therefore, by changing the series resistance value Rs of the strings in the array, the aging failure of the array components can be simulated.

仿真模拟阵列组串异常老化的故障情形,分别设计故障状态轻微老化:组串1发生老化、组串2正常;一般老化:组串1老化程度加深、组串2正常;严重老化:组串1和组串2分别发生不同程度的老化故障三种不同的故障情况。此时光伏阵列的模拟老化电阻阻值设置如表3所示:The simulation simulates the abnormal aging of array strings, and designs three different fault conditions: slight aging: string 1 is aged, string 2 is normal; general aging: string 1 is aged more, string 2 is normal; severe aging: string 1 and string 2 are aged to different degrees. The simulated aging resistance value settings of the photovoltaic array are shown in Table 3:

表3 异常老化故障阵列组串串联电阻设置Table 3 Abnormal aging fault array string series resistance setting

模拟获得的三种异常老化故障下光伏阵列输出特性如图3(a)、(b)所示。当光伏阵列中组串发生不同程度异常老化故障时,阵列的U ocI sc几乎无变化,但是随着老化程度的加深,阵列的U m以及I m逐渐变小,整个系统功率也随着老化程度的加深而下降。The output characteristics of the photovoltaic array under three abnormal aging faults obtained by simulation are shown in Figure 3 (a) and (b). When the strings in the photovoltaic array have different degrees of abnormal aging faults, the U oc and I sc of the array are almost unchanged, but as the aging degree deepens, the U m and I m of the array gradually decrease, and the power of the entire system also decreases with the deepening of the aging degree.

2)一种示例性地局部阴影故障特征提取方法如下所示:2) An exemplary local shadow fault feature extraction method is as follows:

局部阴影故障通过设置光伏组件的辐照度实现,本具体实例中考虑了两种不同程度的局部阴影故障,分别是轻微遮挡和严重遮挡,如表4所示:The local shadow fault is realized by setting the irradiance of the photovoltaic module. In this specific example, two different degrees of local shadow faults are considered, namely slight shading and severe shading, as shown in Table 4:

表4 局部阴影故障程度Table 4 Local shadow fault degree

仿真结果即局部阴影故障下光伏阵列输出特性如图4(a)、(b)所示,对比分析不同程度局部阴影故障和正常状态下光伏阵列的输出特性。组串正常时光伏阵列输出U-I曲线较为平滑,发生两种局部阴影故障时,光伏阵列的U-I曲线变成阶梯状出现拐点,并且阴影遮挡面积越大,阶梯越为陡峭。The simulation results, i.e., the output characteristics of the photovoltaic array under local shadow faults, are shown in Figure 4 (a) and (b), which compare and analyze the output characteristics of the photovoltaic array under local shadow faults of different degrees and under normal conditions. When the string is normal, the U-I curve of the photovoltaic array output is relatively smooth. When two local shadow faults occur, the U-I curve of the photovoltaic array becomes a step-shaped curve with an inflection point, and the larger the shadow area, the steeper the step.

当光伏阵列发生局部阴影故障时,U-I曲线出现一个阶梯拐点,而正常时没有,因此选取光伏阵列U-I曲线阶梯拐点数作为特征量辨别局部阴影故障,区别其他状态。When a local shadow fault occurs in the photovoltaic array, a step inflection point appears in the UI curve, but not in normal conditions. Therefore, the number of step inflection points of the photovoltaic array UI curve is selected as the characteristic quantity to identify local shadow faults and distinguish other states.

考虑到U-I曲线阶梯拐点数无法有效区分不同程度的局部阴影故障,基于对不同阴影遮挡面积下电压电流参数的变化分析可知,光伏阵列不同程度局部阴影故障U mI m变化量均较大,因此U mI m作为特征量可对两种局部阴影故障进行有效区分。Considering that the number of inflection points of the UI curve cannot effectively distinguish different degrees of local shadow faults, based on the analysis of the changes in voltage and current parameters under different shadow shading areas, it can be seen that the changes in U m and I m of different degrees of local shadow faults of the photovoltaic array are large. Therefore, U m and I m can be used as characteristic quantities to effectively distinguish the two types of local shadow faults.

S3:基于U mI mU-I曲线阶梯拐点数组成的三维故障特征量,改进SVM故障识别模型,并基于改进后的SVM故障识别模型对光伏阵列进行故障识别。S3: Based on the three-dimensional fault feature quantity composed of U m , Im , and the number of inflection points of the U - I curve steps, the SVM fault recognition model is improved, and the fault recognition of the photovoltaic array is performed based on the improved SVM fault recognition model.

其中,基于改进后的SVM故障识别模型对光伏阵列进行故障识别流程如图5所示。Among them, the fault identification process of the photovoltaic array based on the improved SVM fault identification model is shown in Figure 5.

1)基于所搭建的9×8光伏阵列仿真模型,将辐照度变化范围设置为200~1200W/m2。光伏阵列在正常、三种不同程度异常老化、两种不同程度局部阴影共六种类型工作状态下,各得到90组样本数据,共计540组。将每种运行状态下的360组样本数据作为训练样本,180组样本数据作为测试样本。样本数据即第一输出特性。1) Based on the constructed 9×8 photovoltaic array simulation model, the irradiance variation range is set to 200~1200W/m 2. The photovoltaic array is in six types of working conditions, including normal, three different degrees of abnormal aging, and two different degrees of local shadow. 90 sets of sample data are obtained for each of them, totaling 540 sets. 360 sets of sample data in each operating state are used as training samples, and 180 sets of sample data are used as test samples. The sample data is the first output characteristic.

2)对样本数据预处理,以消除在采集阶段导致的样本数据失真、噪音和畸变等。数据预处理采用离差归一化的方法。2) Preprocess the sample data to eliminate sample data distortion, noise and distortion caused in the acquisition stage. The data preprocessing adopts the deviation normalization method.

由于所采集的样本数据单位不统一,各参数数值有较大差异,若将未经处理的样本数据直接输入SVM故障识别模型会影响分类的收敛性和准确率,从而降低故障识别的效率,不利于分类,因此必须对采集获取的故障样本数据进行单位和数值上的归一化处理,使三个参数在数量级和单位上达成一致。Since the units of the collected sample data are not uniform and the values of the parameters are quite different, if the unprocessed sample data is directly input into the SVM fault recognition model, it will affect the convergence and accuracy of the classification, thereby reducing the efficiency of fault recognition and being unfavorable for classification. Therefore, the collected fault sample data must be normalized in terms of units and values so that the three parameters are consistent in order of magnitude and units.

离差归一化采用样本数据集中某一参数最大值与最小值的差值作为离差值,将待处理样本中各参数值与最小值的差值与离差值的比值作为归一化后的结果,形成数据集并分成训练集和测试集两部分输入。通过离差归一化可以使特征参数数量级完成统一,其转换公式如下:Deviation normalization uses the difference between the maximum and minimum values of a parameter in the sample data set as the deviation value, and takes the ratio of the difference between the value of each parameter and the minimum value in the sample to be processed to the deviation value as the normalized result, forming a data set and dividing it into two parts: training set and test set. Deviation normalization can unify the order of magnitude of feature parameters, and the conversion formula is as follows:

(1) (1)

式中,X n为待处理样本某一项参数值,X minX max为样本数据集中对应某一参数的最大值和最小值,Y minY max分别为范围下限和范围上限,Y n是归一化后的结果。Where Xn is the value of a parameter of the sample to be processed, Xmin and Xmax are the maximum and minimum values of the corresponding parameter in the sample data set, Ymin and Ymax are the lower limit and upper limit of the range respectively, and Yn is the normalized result.

3)搭建初始SVM故障识别模型,确定核函数的选择以及算法参数包括核函数参数和惩罚因子的取值范围。如图6中的支持向量机二分类示意图所示,可将支持向量机的最优分类超平面表示为一个m维超平面:3) Build the initial SVM fault recognition model, determine the selection of kernel function and the value range of algorithm parameters including kernel function parameters and penalty factor. As shown in the support vector machine binary classification diagram in Figure 6, the optimal classification hyperplane of the support vector machine can be represented as an m -dimensional hyperplane:

(2) (2)

式中,ω为超平面的权值向量,b是偏置,Rm表示m维的是实数集,R表示实数集。Where ω is the weight vector of the hyperplane, b is the bias, Rm represents the m-dimensional set of real numbers, and R represents the set of real numbers.

寻找支持向量机的最优分类超平面,即分类间隔最大,可以通过转变为求解如下约束问题来实现:Finding the optimal classification hyperplane of the support vector machine, that is, the maximum classification interval, can be achieved by transforming it into solving the following constraint problem:

(3) (3)

由式(3)可知,求解支持向量机的目标函数为一个二次规划问题,因此将该问题转化为另一个对偶问题:From formula (3), we can see that solving the objective function of the support vector machine is a quadratic programming problem, so this problem is transformed into another dual problem:

(4) (4)

再引入一个解决对应对偶问题的拉格朗日函数:Let’s introduce a Lagrangian function to solve the corresponding dual problem:

(5) (5)

其中,α ≥ 0为拉格朗日乘子。Among them, α ≥ 0 is the Lagrange multiplier.

将拉格朗日函数L(ω,b,α)分别对ω,b求导,并取导数为0可以得到:Deriving the Lagrangian function L ( ω, b, α ) with respect to ω and b respectively and taking the derivative as 0, we can obtain:

(6) (6)

(7) (7)

由式(6) (7)可知,训练样本集的子集的展开时构成最优分类超平面的法向量,其中构成该展开式样本的拉格朗日乘子不为0,即最优分类超平面的支持向量。From equations (6) and (7), we can see that when the subset of the training sample set is expanded, the normal vector of the optimal classification hyperplane is formed, where the Lagrange multiplier of the expanded sample is not 0, that is, the support vector of the optimal classification hyperplane.

将支持向量机的分类判别函数表示为:The classification discriminant function of the support vector machine is expressed as:

(8) (8)

但在实际问题中会出现线性不可分的情况,可能导致硬间隔分类失败,因此可用映射变换法,将原始空间的训练样本进行非线性映射φ(x)变换到较高维的线性可分空间。在应用中由于寻找非线性映射φ(x)和进行内积运算的问题较复杂,基于数学中泛函分析的基本概念引入了核函数K(x,x i)。However, in practical problems, linear inseparability may occur, which may lead to failure of hard margin classification. Therefore, the mapping transformation method can be used to transform the training samples in the original space into a higher-dimensional linearly separable space through nonlinear mapping φ ( x ). In applications, since the problem of finding nonlinear mapping φ ( x ) and performing inner product operations is more complicated, the kernel function K ( x , xi ) is introduced based on the basic concept of functional analysis in mathematics.

支持向量机中常用核函数有径向基函数即RBF函数、多项式核函数、高斯核函数和多层感知器函数等,RBF函数可以在实现映射且参数较少时降低模型复杂度,性能较优。因此本发明选择RBF核函数为SVM分类模型参数之一,可表达为如下函数形式:Common kernel functions in support vector machines include radial basis function, RBF function, polynomial kernel function, Gaussian kernel function and multilayer perceptron function. RBF function can reduce model complexity when implementing mapping and has fewer parameters, and has better performance. Therefore, the present invention selects RBF kernel function as one of the SVM classification model parameters, which can be expressed as the following function form:

(9) (9)

其中,γ为核函数参数。Among them, γ is the kernel function parameter.

为获得支持向量机参数惩罚因子与核函数参数的最优解,引入布谷鸟搜索算法即CS算法改进支持向量机实现各参数的搜索,布谷鸟搜索算法的搜索流程如图7所示。In order to obtain the optimal solution of the support vector machine parameter penalty factor and kernel function parameters, the cuckoo search algorithm, namely the CS algorithm, is introduced to improve the support vector machine to realize the search of various parameters. The search process of the cuckoo search algorithm is shown in Figure 7.

CS算法基于布谷鸟搜寻最优巢产蛋的习性,通过设定输入参数组作为巢,根据莱维飞行路径原则优化输入参数,替换输出较差的解,形成结果较优的解。算法主要步骤为:The CS algorithm is based on the cuckoo's habit of searching for the best nest to lay eggs. By setting the input parameter group as the nest, the input parameters are optimized according to the Levy flight path principle, and the solution with poor output is replaced to form a solution with better results. The main steps of the algorithm are:

(I)随机产生m个鸟巢,设为X i=[X1 0,X2 0,…,Xm 0],通过搜索计算出初始最优鸟巢的位置X 0(I) Randomly generate m bird nests , set as Xi = [ X10 , X20 , ..., Xm0 ], and calculate the initial optimal bird nest position X0 by searching ;

(II)计算每个位置的适应度值,通过莱维飞行更新适应度更好的鸟巢位置:(II) Calculate the fitness value of each position and update the nest position with better fitness through Levy flight:

(10) (10)

如式(10)所示,每一代与上一代位置进行比较,经过不停替换迭代后,最终选择最优的鸟巢位置为X t=[X1 t,X2 t,…,Xm t];As shown in formula (10), each generation is compared with the previous generation position. After continuous replacement iteration, the optimal nest position is finally selected as X t = [X 1 t , X 2 t , …, X m t ];

(III)当获得的最优鸟巢位置达到准确度要求或者最终迭代次数时,完成参数寻优搜索,将所得结果赋值。(III) When the obtained optimal nest position reaches the accuracy requirement or the final number of iterations, the parameter optimization search is completed and the obtained result is assigned.

设置鸟巢的数量为25,迭代次数的上限为250,适应度函数下限为0.05,上限为0.1,满足循环结束条件后所得适应度进化曲线如图8所示,同时输出参数最优解。The number of bird nests is set to 25, the upper limit of the number of iterations is set to 250, the lower limit of the fitness function is set to 0.05, and the upper limit is set to 0.1. The fitness evolution curve obtained after the cycle end condition is met is shown in Figure 8, and the optimal solution of the parameters is output at the same time.

通过CS算法进行支持向量机各参数的搜索可得,当使用RBF核函数,惩罚因子与核函数参数γ分别为惩罚因子=10.0,核函数参数γ=0.01附近时模型分类准确率最高。By searching the parameters of the support vector machine using the CS algorithm, it can be found that when the RBF kernel function is used, the penalty factor and the kernel function parameter γ are respectively around penalty factor = 10.0 and kernel function parameter γ = 0.01, the model classification accuracy is the highest.

4)使用寻优算法获得的参数构建改进后的SVM故障识别模型即目标SVM故障识别模型,并将预处理后的故障样本数据输入构造的改进后的SVM故障识别模型进行训练学习,经模型验证得,对样本训练集的故障诊断准确率为99.4444%,改进后的SVM故障识别模型对样本训练集的故障识别准确率如图9所示。测试集的故障诊断准确率为98.8889%,改进后的SVM故障识别模型对样本测试集的故障识别准确率如图10所示。因此,由U mI m、U-I曲线阶梯拐点数组成的三维故障特征量能有效表征光伏阵列异常老化、局部阴影等不同的工作状态,完成故障识别。4) The parameters obtained by the optimization algorithm are used to construct an improved SVM fault recognition model, namely the target SVM fault recognition model, and the preprocessed fault sample data is input into the constructed improved SVM fault recognition model for training and learning. After model verification, the fault diagnosis accuracy of the sample training set is 99.4444%, and the fault recognition accuracy of the improved SVM fault recognition model for the sample training set is shown in Figure 9. The fault diagnosis accuracy of the test set is 98.8889%, and the fault recognition accuracy of the improved SVM fault recognition model for the sample test set is shown in Figure 10. Therefore, the three-dimensional fault feature quantity composed of U m , I m , and the number of inflection points of the UI curve can effectively characterize different working conditions such as abnormal aging and local shadow of the photovoltaic array, and complete fault identification.

本具体实例提供的光伏阵列故障识别方法,支持向量机在故障诊断方面具有很广阔的应用领域,支持向量机算法是一个有较深厚理论基础的小样本算法,能够迅速地在样本数据训练过程中进行对样本数据的预测,并且避开从归纳到演绎的步骤。对样本数据中的非支持向量进行添加、移除对模型没有影响,因此有较好的鲁棒性。支持向量机基于结构风险最小化原则对期望风险进行估计,能够克服模型训练过程中的过拟合问题,分类辨别时有很强的推广泛化能力。核函数的引入使支持向量机可以对样本空间进行降维操作,大大缩减样本数据的维数,降低分类的复杂度,能够解决非线性不可分问题。The photovoltaic array fault identification method provided in this specific example, support vector machine has a very broad application field in fault diagnosis. The support vector machine algorithm is a small sample algorithm with a deep theoretical foundation. It can quickly predict the sample data during the sample data training process and avoid the steps from induction to deduction. Adding and removing non-support vectors in the sample data has no effect on the model, so it has good robustness. The support vector machine estimates the expected risk based on the principle of structural risk minimization, which can overcome the overfitting problem in the model training process and has a strong generalization ability in classification and discrimination. The introduction of kernel function enables the support vector machine to perform dimensionality reduction operations on the sample space, greatly reducing the dimension of the sample data, reducing the complexity of classification, and can solve the problem of nonlinear inseparability.

不仅如下,本具体实例中提出了由Um、Im、U-I曲线阶梯拐点数组成的三维故障特征量组对SVM故障识别模型进行惩罚因子与核函数参数寻优,将选定的三维故障特征量输入改进的SVM故障识别模型验证其有效性,能够对光伏阵列不同程度异常老化和不同程度局部阴影故障进行准确、便捷及高效识别。Not only as follows, in this specific example, a three-dimensional fault feature group composed of U m , I m , and the number of inflection points of the UI curve step is proposed to optimize the penalty factor and kernel function parameters of the SVM fault recognition model, and the selected three-dimensional fault feature is input into the improved SVM fault recognition model to verify its effectiveness, which can accurately, conveniently and efficiently identify different degrees of abnormal aging and different degrees of local shadow faults of photovoltaic arrays.

图11为实现本申请实施例的一种光伏阵列故障识别装置的结构框图。FIG. 11 is a structural block diagram of a photovoltaic array fault identification device implementing an embodiment of the present application.

本申请实施例提供的光伏阵列故障识别装置包括如下功能模块:The photovoltaic array fault identification device provided in the embodiment of the present application includes the following functional modules:

建立模块801,用于基于电网运行参数,建立并网光伏发电系统拓扑结构;Establishing module 801, for establishing a topological structure of a grid-connected photovoltaic power generation system based on grid operation parameters;

模拟模块802,用于基于所述并网光伏发电系统拓扑结构模拟光伏阵列在预设异常状况下的运行状况,得到光伏阵列的第一输出特性;A simulation module 802 is used to simulate the operation status of the photovoltaic array under a preset abnormal condition based on the topological structure of the grid-connected photovoltaic power generation system to obtain a first output characteristic of the photovoltaic array;

生成模块803,用于对比所述第一输出特性与所述光伏阵列正常运行状态下的第二输出特性,生成三维故障特征量组;A generating module 803, configured to compare the first output characteristic with a second output characteristic of the photovoltaic array in a normal operating state, and generate a three-dimensional fault feature quantity group;

模型优化模块804,用于根据所述三维故障特征量组搭建SVM故障识别模型,并对所述SVM故障识别模型的惩罚因子与核函数参数进行优化,得到目标SVM故障识别模型;A model optimization module 804 is used to build an SVM fault recognition model according to the three-dimensional fault feature quantity group, and optimize the penalty factor and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model;

识别模块805,用于基于所述目标SVM故障识别模型对目标三维故障特征量进行有效性验证,以对光伏阵列进行故障识别。The identification module 805 is used to verify the validity of the target three-dimensional fault feature quantity based on the target SVM fault identification model to identify the fault of the photovoltaic array.

可选地,所述模拟模块包括:Optionally, the simulation module includes:

第一子模块,用于基于所述并网光伏发电系统拓扑结构和预设仿真平台,建立仿真模型;The first submodule is used to establish a simulation model based on the topological structure of the grid-connected photovoltaic power generation system and a preset simulation platform;

第二子模块,用于对所述仿真模型进行预设异常状况下的光伏阵列故障模拟,获取各异常状况下对应的光伏阵列的第一输出特性,其中,所述预设异常状况包括:光伏阵列发生不同程度异常老化状态、光伏阵列存在不同程度局部阴影的状态。The second submodule is used to simulate the photovoltaic array failure under preset abnormal conditions for the simulation model, and obtain the first output characteristics of the photovoltaic array corresponding to each abnormal condition, wherein the preset abnormal conditions include: the photovoltaic array has different degrees of abnormal aging status, and the photovoltaic array has different degrees of local shadow status.

可选地,所述光伏阵列发生不同程度异常老化状态包括:所述光伏阵列中的第一组串发生第一程度老化、第二组串正常;所述光伏阵列中的第一组串发生第二程度老化、所述第二组串正常;所述光伏阵列中的第一组串、第二组串均老化;Optionally, the photovoltaic array having different degrees of abnormal aging states includes: the first group of strings in the photovoltaic array having a first degree of aging, and the second group of strings being normal; the first group of strings in the photovoltaic array having a second degree of aging, and the second group of strings being normal; the first group of strings and the second group of strings in the photovoltaic array being both aged;

所述光伏阵列存在不同程度局部阴影的状态包括:所述光伏阵列中单一组串光伏组件的辐照度为0,所述光伏阵列中多组串光伏组件的辐照度为0。The states where the photovoltaic array has different degrees of local shadows include: the irradiance of a single string of photovoltaic components in the photovoltaic array is 0, and the irradiance of multiple strings of photovoltaic components in the photovoltaic array is 0.

可选地,所述生成模块包括:Optionally, the generating module includes:

第三子模块,用于针对每一个程度的异常老化状态,对所述异常老化状态对应的输出特性进行分析,确定所述光伏阵列的最大功率点电压和最大功率点电流;The third submodule is used to analyze the output characteristics corresponding to each degree of abnormal aging state, and determine the maximum power point voltage and maximum power point current of the photovoltaic array;

第四子模块,用于将各程度的异常老化状态对应的最大功率点电压和最大功率点电流,与所述光伏阵列正常运行状态下的最大功率点电压和最大功率点电流进行比对,得到异常老化状态下的第二输出特性;A fourth submodule is used to compare the maximum power point voltage and the maximum power point current corresponding to each degree of abnormal aging state with the maximum power point voltage and the maximum power point current under the normal operating state of the photovoltaic array to obtain a second output characteristic under the abnormal aging state;

第五子模块,用于针对每一个程度的局部阴影的状态,对所述局部阴影状态对应的输出特性进行分析,确定所述光伏阵列的U-I曲线阶梯拐点数;A fifth submodule is used to analyze the output characteristics corresponding to each degree of local shadow state, and determine the number of inflection points of the U-I curve of the photovoltaic array;

第六子模块,用于将各所述U-I曲线阶梯拐点数作为局部阴影状态下的第二输出特性。The sixth submodule is used to use the number of inflection points of each U-I curve step as the second output characteristic under the local shadow state.

可选地,所述模型优化模块包括:Optionally, the model optimization module includes:

第七子模块,用于对所述三维故障特性量组进行离差归一化处理,得到目标三维故障特征量组;其中,目标三维故障特征量组包括多组基于所述光伏阵列的最大功率点电压和最大功率点电流、U-I曲线阶梯拐点数组成的三维故障特征量;The seventh submodule is used to perform deviation normalization processing on the three-dimensional fault characteristic quantity group to obtain a target three-dimensional fault characteristic quantity group; wherein the target three-dimensional fault characteristic quantity group includes multiple groups of three-dimensional fault characteristic quantities composed of the maximum power point voltage and maximum power point current of the photovoltaic array and the number of step inflection points of the U-I curve;

第八子模块,用于将所述目标三维故障特征量组中的故障特征量分成训练集和测试集;An eighth submodule, configured to divide the fault feature quantities in the target three-dimensional fault feature quantity group into a training set and a test set;

第九子模块,用于搭建初始SVM故障识别模型,并依据所述训练集对所述初始SVM故障识别模型的惩罚因子与核函数参数进行迭代优化直至满足迭代优化截止条件,得到目标SVM故障识别模型。The ninth submodule is used to build an initial SVM fault recognition model, and iteratively optimize the penalty factor and kernel function parameters of the initial SVM fault recognition model according to the training set until the iterative optimization cutoff condition is met to obtain a target SVM fault recognition model.

申请实施例提供的光伏阵列故障识别装置,SVM基于结构风险最小化原则对期望风险进行估计,能够克服模型训练过程中的过拟合问题,使得基于SVM故障识别模型具有良好地分类辨别能力;此外,通过三维故障特征量组对SVM故障识别模型进行训练,能够提升SVM故障识别模型对光伏阵列故障识别的准确率。In the photovoltaic array fault identification device provided in the application embodiment, SVM estimates the expected risk based on the principle of structural risk minimization, which can overcome the overfitting problem in the model training process, so that the SVM-based fault identification model has good classification and discrimination capabilities; in addition, the SVM fault identification model is trained by a three-dimensional fault feature quantity group, which can improve the accuracy of the SVM fault identification model in identifying photovoltaic array faults.

本申请实施例中图11所示的光伏阵列故障识别装置可以设置在移动设备中,也可以设置在服务器中。设置有该装置移动设备或者服务器可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The photovoltaic array fault identification device shown in FIG. 11 in the embodiment of the present application can be set in a mobile device or in a server. The mobile device or server provided with the device can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

本申请实施例提供的图11所示的光伏阵列故障识别装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The photovoltaic array fault identification device shown in FIG. 11 provided in the embodiment of the present application can implement each process implemented in the method embodiment of FIG. 1 , and will not be described again here to avoid repetition.

可选地,参照图12示出了本申请实施例还提供一种电子设备900,包括处理器901,存储器902,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现上述光伏阵列故障识别装置执行的各过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, referring to Figure 12, it is shown that an embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the various processes performed by the above-mentioned photovoltaic array fault identification device are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

需要注意的是,本申请实施例中的电子设备包括上述所述的服务器。It should be noted that the electronic device in the embodiment of the present application includes the server described above.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory, RAM)、磁碟或者光盘等。The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims (10)

1. A method for identifying faults in a photovoltaic array, comprising:
establishing a topological structure of the grid-connected photovoltaic power generation system based on the power grid operation parameters;
simulating the operation condition of the photovoltaic array under a preset abnormal condition based on the topological structure of the grid-connected photovoltaic power generation system to obtain a first output characteristic of the photovoltaic array;
comparing the first output characteristic with a second output characteristic of the photovoltaic array in a normal operation state to generate a three-dimensional fault characteristic quantity set;
building an SVM fault recognition model according to the three-dimensional fault characteristic quantity set, and optimizing penalty factors and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model;
and verifying the validity of the target three-dimensional fault characteristic quantity based on the target SVM fault identification model so as to identify faults of the photovoltaic array.
2. The method according to claim 1, wherein the step of simulating the operation condition of the photovoltaic array under the preset abnormal condition based on the topology of the grid-connected photovoltaic power generation system to obtain the first output characteristic of the photovoltaic array comprises:
Establishing a simulation model based on the topological structure of the grid-connected photovoltaic power generation system and a preset simulation platform;
performing photovoltaic array fault simulation under preset abnormal conditions on the simulation model, and acquiring first output characteristics of a corresponding photovoltaic array under each abnormal condition, wherein the preset abnormal conditions comprise: the photovoltaic array is in an abnormal aging state with different degrees and in a state with different degrees of local shadows.
3. The method according to claim 2, characterized in that:
the photovoltaic array is subjected to different degrees of abnormal aging states, including: a first group of strings in the photovoltaic array are aged to a first degree, and a second group of strings are normal; a first set of strings in the photovoltaic array are subject to a second degree of aging, the second set of strings being normal; the first set of strings and the second set of strings in the photovoltaic array are both aged;
the state in which the photovoltaic array has different degrees of local shadows includes: irradiance of a single group of string photovoltaic modules in the photovoltaic array is 0, and irradiance of a plurality of groups of string photovoltaic modules in the photovoltaic array is 0.
4. The method of claim 2, wherein the step of generating a three-dimensional set of fault signatures by comparing the first output characteristic to a second output characteristic of the photovoltaic array during normal operation comprises:
Aiming at the abnormal aging state of each degree, analyzing the output characteristics corresponding to the abnormal aging state, and determining the maximum power point voltage and the maximum power point current of the photovoltaic array;
comparing the maximum power point voltage and the maximum power point current corresponding to the abnormal aging state of each degree with the maximum power point voltage and the maximum power point current in the normal operation state of the photovoltaic array to obtain a second output characteristic in the abnormal aging state;
aiming at the state of the partial shadow of each degree, analyzing the output characteristic corresponding to the state of the partial shadow, and determining the number of step turns of the U-I curve of the photovoltaic array;
and taking the number of step turns of each U-I curve as a second output characteristic in a partial shadow state.
5. The method of claim 4, wherein the step of constructing an SVM support vector machine fault recognition model according to the three-dimensional fault feature set, and optimizing a penalty factor and a kernel function parameter of the SVM fault recognition model to obtain a target SVM fault recognition model comprises:
performing dispersion normalization processing on the three-dimensional fault characteristic quantity set to obtain a target three-dimensional fault characteristic quantity set; the target three-dimensional fault characteristic quantity group comprises a plurality of groups of three-dimensional fault characteristic quantities formed by the number of U-I curve step turning points based on the maximum power point voltage and the maximum power point current of the photovoltaic array;
Dividing fault characteristic quantities in the target three-dimensional fault characteristic quantity group into a training set and a testing set;
and constructing an initial SVM fault recognition model, and carrying out iterative optimization on the penalty factors and the kernel function parameters of the initial SVM fault recognition model according to the training set until the iterative optimization cut-off condition is met, so as to obtain a target SVM fault recognition model.
6. A photovoltaic array fault identification device, comprising:
the building module is used for building a topological structure of the grid-connected photovoltaic power generation system based on the power grid operation parameters;
the simulation module is used for simulating the operation condition of the photovoltaic array under the preset abnormal condition based on the topological structure of the grid-connected photovoltaic power generation system to obtain a first output characteristic of the photovoltaic array;
the generating module is used for comparing the first output characteristic with the second output characteristic of the photovoltaic array in a normal operation state to generate a three-dimensional fault characteristic quantity set;
the model optimization module is used for building an SVM fault recognition model according to the three-dimensional fault characteristic quantity set, and optimizing penalty factors and kernel function parameters of the SVM fault recognition model to obtain a target SVM fault recognition model;
and the identification module is used for carrying out validity verification on the target three-dimensional fault characteristic quantity based on the target SVM fault identification model so as to carry out fault identification on the photovoltaic array.
7. The apparatus of claim 6, wherein the simulation module comprises:
the first sub-module is used for establishing a simulation model based on the topological structure of the grid-connected photovoltaic power generation system and a preset simulation platform;
the second sub-module is used for carrying out photovoltaic array fault simulation under preset abnormal conditions on the simulation model, and obtaining first output characteristics of the corresponding photovoltaic array under each abnormal condition, wherein the preset abnormal conditions comprise: the photovoltaic array is in an abnormal aging state with different degrees and in a state with different degrees of local shadows.
8. The apparatus according to claim 7, wherein:
the photovoltaic array is subjected to different degrees of abnormal aging states, including: a first group of strings in the photovoltaic array are aged to a first degree, and a second group of strings are normal; a first set of strings in the photovoltaic array are subject to a second degree of aging, the second set of strings being normal; the first set of strings and the second set of strings in the photovoltaic array are both aged;
the state in which the photovoltaic array has different degrees of local shadows includes: irradiance of a single group of string photovoltaic modules in the photovoltaic array is 0, and irradiance of a plurality of groups of string photovoltaic modules in the photovoltaic array is 0.
9. The apparatus of claim 7, wherein the generating module comprises:
the third sub-module is used for analyzing the output characteristics corresponding to the abnormal aging state according to the abnormal aging state of each degree and determining the maximum power point voltage and the maximum power point current of the photovoltaic array;
the fourth sub-module is used for comparing the maximum power point voltage and the maximum power point current corresponding to the abnormal aging state of each degree with the maximum power point voltage and the maximum power point current in the normal operation state of the photovoltaic array to obtain a second output characteristic in the abnormal aging state;
a fifth sub-module, configured to analyze, for each degree of local shadow state, an output characteristic corresponding to the local shadow state, and determine a number of step turns of a U-I curve of the photovoltaic array;
and a sixth sub-module, configured to take the number of step turns of each U-I curve as a second output characteristic in a partial shadow state.
10. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction being executable by the processor to perform the steps of the method for identifying a photovoltaic array fault of any of claims 1-5.
CN202410184076.8A 2024-02-19 2024-02-19 Photovoltaic array fault identification method and device, electronic equipment Pending CN117743958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410184076.8A CN117743958A (en) 2024-02-19 2024-02-19 Photovoltaic array fault identification method and device, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410184076.8A CN117743958A (en) 2024-02-19 2024-02-19 Photovoltaic array fault identification method and device, electronic equipment

Publications (1)

Publication Number Publication Date
CN117743958A true CN117743958A (en) 2024-03-22

Family

ID=90281678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410184076.8A Pending CN117743958A (en) 2024-02-19 2024-02-19 Photovoltaic array fault identification method and device, electronic equipment

Country Status (1)

Country Link
CN (1) CN117743958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119602697A (en) * 2025-02-10 2025-03-11 国网北京市电力公司 Photovoltaic array multi-level aging identification and processing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112949198A (en) * 2021-03-10 2021-06-11 阳光电源股份有限公司 Fault detection method and device for photovoltaic string and computer storage medium
CN114117921A (en) * 2021-11-29 2022-03-01 青海大学 Intelligent diagnosis method for faults of photovoltaic array
CN114881143A (en) * 2022-05-07 2022-08-09 河北工业大学 Photovoltaic array fault characteristic determination method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112949198A (en) * 2021-03-10 2021-06-11 阳光电源股份有限公司 Fault detection method and device for photovoltaic string and computer storage medium
CN114117921A (en) * 2021-11-29 2022-03-01 青海大学 Intelligent diagnosis method for faults of photovoltaic array
CN114881143A (en) * 2022-05-07 2022-08-09 河北工业大学 Photovoltaic array fault characteristic determination method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙培胜等: "基于 SOA-SVM 模型的光伏阵列故障诊断研究", 《电源学报》, 23 August 2022 (2022-08-23), pages 1 - 8 *
薛浩然等: "基于布谷鸟算法和支持向量机的变压器故障诊断", 《电力系统保护与控制》, vol. 43, no. 8, 16 April 2015 (2015-04-16) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119602697A (en) * 2025-02-10 2025-03-11 国网北京市电力公司 Photovoltaic array multi-level aging identification and processing method, device, equipment and medium
CN119602697B (en) * 2025-02-10 2025-04-25 国网北京市电力公司 Photovoltaic array multi-level aging identification and processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109635928B (en) Identification method of voltage sag causes based on deep learning model fusion
CN110175386B (en) Method for predicting temperature of electrical equipment of transformer substation
CN109933881A (en) A Fault Diagnosis Method for Power Electronic Circuits Based on Optimal Deep Belief Network
CN113702895B (en) Online quantitative evaluation method for error state of voltage transformer
CN111860658A (en) A Transformer Fault Diagnosis Method Based on Cost-Sensitive and Ensemble Learning
CN113240105B (en) A Grid Steady-State Discrimination Method Based on Graph Neural Network Pooling
CN112611982A (en) Depth wavelet twin network fault diagnosis method of modular multilevel converter
CN110943453A (en) Power system fault sample generation and model building method for transfer learning
CN116245033A (en) Artificial intelligent driven power system analysis method and intelligent software platform
MansourLakouraj et al. A multi-rate sampling PMU-based event classification in active distribution grids with spectral graph neural network
LU500551B1 (en) Virtual load dominant parameter identification method based on incremental learning
CN111725802A (en) Transient stability judgment method of AC-DC hybrid power grid based on deep neural network
CN117743958A (en) Photovoltaic array fault identification method and device, electronic equipment
Huang et al. Research on transformer fault diagnosis method based on GWO optimized hybrid kernel extreme learning machine
CN115936926A (en) A SMOTE-GBDT-based unbalanced electricity stealing data classification method, device, computer equipment and storage medium
CN113721461B (en) A parameter identification method and system for new energy units based on multiple test scenarios
CN114781244A (en) Grouping and parameter optimization method in wind power plant
CN118277935A (en) Distributed photovoltaic abnormal data score decision method based on time series clustering
CN117421972A (en) Identification method and terminal for comprehensive load model parameters
CN117540638A (en) Equivalent modeling method, medium and system for photovoltaic power station
CN116258265A (en) Novel power system short-circuit current online prediction method based on GA-BP neural network
CN116430234A (en) Fuel cell fault diagnosis model construction method
Zhou et al. Transient stability assessment of large-scale AC/DC hybrid power grid based on separation feature and deep belief networks
CN113435113B (en) Power system transient stability evaluation method and device
CN119670552A (en) Power system stability assessment method, device, system, and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20240322