A photovoltaic power station monitoring data processing method and system

By adopting a dual-data-channel bus and a multi-threaded dual-vector data distribution strategy in the photovoltaic power plant monitoring system, the problem of excessively long data processing links was solved, enabling real-time processing and intelligent alarm of massive amounts of data in the photovoltaic power plant, and improving the system's response speed and monitoring real-time performance.

CN123137882APending Publication Date: 2026-11-20XUCHANG XJ SOFTWARE TECHNOLOGIES LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611102759.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-23
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The excessively long data processing links in traditional photovoltaic power plant monitoring systems limit system response time, affecting real-time performance and reliability, and making it difficult to cope with the real-time parsing, storage, and forwarding requirements of high-concurrency data streams.

Method used

The system employs a bus with dual data channels and preset monitoring data storage rules to store monitoring data in a database. It calculates the optimal number of threads based on the amount of data stored in the database, and achieves real-time and efficient forwarding through a multi-threaded dual-vector data distribution strategy. It also combines discrete rate and branch deviation rate alarm strategies for intelligent alarming.

Benefits of technology

It enables real-time processing and intelligent alarm of massive amounts of data in photovoltaic power plants, alleviates the workload of telemetry and teleinformation services, and improves the system's response speed and real-time monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137882A_ABST
    Figure CN123137882A_ABST
Patent Text Reader

Abstract

The application relates to a photovoltaic power station monitoring data processing method and system, belonging to the field of communication information technology, wherein monitoring data is stored into a database through a preset bus containing double data channels and a preset monitoring data storage rule; according to the quantity of the monitoring data stored in the database, the optimal thread number is calculated, the corresponding thread is allocated to each piece of monitoring data according to the obtained optimal thread number, the photovoltaic data processing service is created to directly interact with the front bus, the real-time and efficient forwarding of the photovoltaic data is completed through the data distribution strategy of the multithreaded double vector, and the working pressure of the telemetry and telecontrol service is greatly relieved; the data processing service also judges the alarm information while receiving the message issued by the front end, realizes the real-time information monitoring of the photovoltaic power station through the delay judgment and real-time uploading strategy of the alarm association scheme, and realizes the real-time processing and intelligent alarm of the massive data in the photovoltaic power station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method and system for processing monitoring data of photovoltaic power plants, belonging to the field of communication and information technology. Background Technology

[0002] As the installed capacity of new energy centralized control stations continues to grow, the amount of data processed by these stations is increasing exponentially, reaching millions of records. Photovoltaic data accounts for more than 70% of this data. Although traditional centralized control stations often use multi-threaded data processing architectures for telemetry and teleindication services, they still struggle to cope with the real-time parsing, storage, and forwarding requirements of high-concurrency data streams. This leads to system response delays, data backlogs, and even service crashes, severely impacting the real-time performance and reliability of monitoring.

[0003] Traditional photovoltaic (PV) power plant branch circuit anomaly alarms employ a multi-level serial architecture (meaning that an alarm message, from its generation to its reporting to monitoring, must strictly follow a pre-defined "sequence," passing through multiple independent software modules sequentially; the next module cannot begin until the previous one has finished). Data must pass through a pre-processing acquisition module, a telemetry and telecontrol service module, a real-time database storage module, an alarm judgment module, and an alarm transmission module in sequence. Strong coupling and dependencies exist between these modules, resulting in an excessively long data processing chain. The overall system response time is limited by the slowest processing stage, impacting the real-time monitoring requirements of PV power plants. Summary of the Invention

[0004] The purpose of this invention is to provide a method and system for processing monitoring data of photovoltaic power plants, so as to solve the problem of limited system response time caused by excessively long data processing links in existing systems.

[0005] To address the aforementioned technical problems, the first aspect of this invention provides a method for processing monitoring data from a photovoltaic power plant, comprising the following steps:

[0006] 1) The monitoring data is stored in the database through a preset bus with dual data channels and preset monitoring data storage rules;

[0007] 2) Calculate the optimal number of threads based on the amount of monitoring data stored in the database, and allocate the corresponding thread to each monitoring data according to the obtained optimal number of threads.

[0008] In one possible implementation, the monitoring data storage rule is based on the data source number to which the photovoltaic device belongs, using the data source queue as a container and storing data in key-value pairs.

[0009] In one possible implementation, the dual data channels are a telemetry data channel and a teleindication data channel.

[0010] In one possible implementation, the optimal number of threads is calculated based on the amount of monitoring data stored in the database, as follows:

[0011] When n%k=0, each thread processes n / k data sources;

[0012] When n%k≠0, the first n%k threads each process One data source, the rest of the threads handle it. One data source;

[0013] Where n is the total number of all monitoring data in the database; k is the current number of threads.

[0014] One possible implementation method also includes: judging alarms according to a pre-defined discrete rate alarm strategy, and generating and sending alarm information when an alarm is determined.

[0015] In one possible implementation, the dispersion alarm strategy is as follows: create a calculation dataset, with all branches except the spare branch as the calculation dataset, and calculate the average current of all branches in the dataset; calculate the standard deviation of the dataset;

[0016] The ratio of the standard deviation to the mean is used as the dispersion rate; when the dispersion rate reaches a preset dispersion rate threshold, an alarm is triggered.

[0017] One possible implementation method also includes: when the dispersion rate reaches a preset dispersion rate threshold, calculating the branch deviation rate, and determining a delayed alarm based on a preset branch deviation rate alarm strategy.

[0018] In one possible implementation, the branch deviation is calculated using the following method:

[0019] Create a calculation dataset, with all branches except the spare branch as the calculation dataset, and calculate the average current of all branches in the dataset;

[0020] The deviation rate is obtained by subtracting a certain data value from the average value, dividing the difference by the average value, and then multiplying by 100%. When the alarm strategy is similar to the dispersion rate, the alarm strategy for the zero branch is a real-time alarm, that is, if the current value of a certain branch is less than the set value, the alarm for that branch is sent as a zero branch alarm.

[0021] To address the aforementioned technical problems, a second aspect of the present invention provides a photovoltaic power plant monitoring data processing system, including a processor, wherein the processor executes a computer program to implement the steps of the method described below:

[0022] 1) The monitoring data is stored in the database through a preset bus with dual data channels and preset monitoring data storage rules;

[0023] 2) Calculate the optimal number of threads based on the amount of monitoring data stored in the database, and allocate the corresponding thread to each monitoring data according to the obtained optimal number of threads.

[0024] In one possible implementation, the monitoring data storage rule is based on the data source number to which the photovoltaic device belongs, using the data source queue as a container and storing data in key-value pairs.

[0025] In one possible implementation, the dual data channels are a telemetry data channel and a teleindication data channel.

[0026] In one possible implementation, the optimal number of threads is calculated based on the amount of monitoring data stored in the database, as follows:

[0027] When n%k=0, each thread processes n / k data sources;

[0028] When n%k≠0, the first n%k threads each process One data source, the rest of the threads handle it. One data source;

[0029] Where n is the total number of all monitoring data in the database; k is the current number of threads.

[0030] One possible implementation method also includes: judging alarms according to a pre-defined discrete rate alarm strategy, and generating and sending alarm information when an alarm is determined.

[0031] In one possible implementation, the dispersion alarm strategy is as follows: create a calculation dataset, with all branches except the spare branch as the calculation dataset, and calculate the average current of all branches in the dataset; calculate the standard deviation of the dataset;

[0032] The ratio of the standard deviation to the mean is used as the dispersion rate; when the dispersion rate reaches a preset dispersion rate threshold, an alarm is triggered.

[0033] One possible implementation method also includes: when the dispersion rate reaches a preset dispersion rate threshold, calculating the branch deviation rate, and determining a delayed alarm based on a preset branch deviation rate alarm strategy.

[0034] In one possible implementation, the branch deviation is calculated using the following method:

[0035] Create a calculation dataset, with all branches except the spare branch as the calculation dataset, and calculate the average current of all branches in the dataset;

[0036] The deviation rate is obtained by subtracting a certain data value from the average value, dividing the difference by the average value, and then multiplying by 100%. When the alarm strategy is similar to the dispersion rate, the alarm strategy for the zero branch is a real-time alarm, that is, if the current value of a certain branch is less than the set value, the alarm for that branch is sent as a zero branch alarm.

[0037] The beneficial effects of this invention are as follows: Monitoring data is stored in a database using a pre-defined bus with dual data channels and pre-defined monitoring data storage rules; the optimal number of threads is calculated based on the amount of monitoring data stored in the database, and a corresponding thread is allocated to each monitoring data item according to the obtained optimal number of threads; a photovoltaic data processing service interacts directly with the front-end bus, and a multi-threaded, dual-vector data distribution strategy is used to complete the real-time and efficient forwarding of photovoltaic data, greatly alleviating the workload of telemetry and teleindication services; while receiving messages from the front-end bus, the data processing service performs alarm information judgment, and using an alarm association scheme, a strategy of delayed judgment and real-time uploading is used to achieve real-time information monitoring of photovoltaic power plants, realizing real-time processing and intelligent alarming of massive amounts of data in photovoltaic power plants. Attached Figure Description

[0038] Figure 1 This is a flowchart of a photovoltaic power plant monitoring data processing method proposed in this invention;

[0039] Figure 2 This is a flowchart illustrating the data distribution process of a photovoltaic power plant monitoring data processing method proposed in this invention in a practical application scenario.

[0040] Figure 3 This is a structural diagram of a photovoltaic power plant monitoring data processing system proposed in this invention. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

[0042] The inventive concept of this invention is as follows: In order to solve the problem of limited system response time caused by excessively long existing data processing links, this invention establishes an independent processing channel between photovoltaic data and the front-end information bus to enable direct interaction between photovoltaic data and the front-end information bus, and adopts a multi-threaded asynchronous writing mechanism to achieve efficient storage of telemetry and teleindication data, and realizes real-time proactive push of alarm information based on event-driven mechanism.

[0043] Detailed implementation method 1:

[0044] like Figure 1 The diagram shows a flowchart of a photovoltaic power plant monitoring data processing method proposed in this invention, which includes steps S11 and S12, specifically:

[0045] Step S11: The monitoring data is stored in the database using a preset bus with dual data channels and preset monitoring data storage rules. Here, the bus with dual data channels includes a telemetry data channel and a teleindication data channel. The bus is preferably a Kafka message bus, which is a message bus with high throughput, low latency, persistence, and scalability to meet the real-time distribution needs of massive telemetry / teleindication data from photovoltaic power plants.

[0046] Step S12: Calculate the optimal number of threads based on the amount of monitoring data stored in the database, and allocate the corresponding thread to each monitoring data point according to the obtained optimal number of threads. It should be noted that in practical applications, dynamic and even allocation of multi-threaded tasks improves the data distribution efficiency of large-scale photovoltaic arrays, avoiding the problem of low efficiency in traditional data distribution methods.

[0047] Through steps S11 and S12, real-time processing and intelligent alarm of massive data in photovoltaic power plants are achieved. By creating a photovoltaic data processing service to interact directly with the front-end bus, a multi-threaded dual-vector data distribution strategy is used to complete the real-time and efficient forwarding of photovoltaic data, which greatly alleviates the workload of telemetry and teleindication services. While receiving messages sent from the front-end, the data processing service judges alarm information. By using an alarm association scheme, a strategy of delayed judgment and real-time uploading is used to achieve real-time information monitoring of photovoltaic power plants.

[0048] Method Detailed Implementation 2:

[0049] This specific embodiment explains the photovoltaic power plant monitoring data processing method proposed by the present invention from a practical application perspective. Specifically, it establishes an independent photovoltaic data processing channel that directly interacts with the front-end information bus, employs a multi-threaded asynchronous writing mechanism to achieve efficient storage of telemetry and telecontrol data, and uses event-driven mechanisms to achieve real-time proactive push of alarm information. Specifically, it includes steps 1 and 2:

[0050] Step 1, High-Performance Data Distribution: Photovoltaic data communicates directly with the front-end system via a message bus. Simultaneously, an optimized multi-threaded parallel processing architecture efficiently stores telemetry and telecontrol data from the inverter and combiner box into a real-time database. For details, see... Figure 2 ,in:

[0051] The data processing service (a service platform for implementing the processing method described in this invention) and the front-end system use the Kafka message bus to achieve efficient data transmission and establish dual data channels: a telemetry data channel (pvanalog-from-fes) and a remote signaling data channel (pvstatus-from-fes). The data processing service obtains raw data by subscribing to bus topics, thereby achieving decoupled communication with the front-end system. In other words, the data processing service and the front-end system interact through the bus, avoiding direct interaction and reducing coupling.

[0052] To achieve efficient data distribution based on data source characteristics, the photovoltaic power plant data processing system adopts a multi-source communication architecture. Photovoltaic equipment inverters and combiner boxes belong to chnl_n data sources. The monitoring data received by the data processing service is stored in key-value pairs using data source queues (queues: srcQueuq_1, sreQueuq_2, ..., sreQueue_n) as containers (KEY_REV is the device point number / parameter reference, VAL_REV is the corresponding data value). Through the aforementioned settings, the data processing service establishes a dynamic association between the instantiated models of inverters and combiner boxes and their corresponding data sources based on the data source numbers bound in the model library. It should be noted that the Kafka message bus is used to achieve reliable transmission of photovoltaic power plant data on the communication link and decoupling of production and consumption, solving the communication pressure problem during concurrent uploads from multiple devices and multiple data sources. The data source queues here do not replace the Kafka message queues, but are logical data processing queues established internally by the data processing service based on the characteristics of the data source. These queues are used for classifying and managing data received from Kafka from different device types and communication channels, and for subsequent processing.

[0053] Specifically, after the data processing service obtains monitoring data from the Kafka message bus, it identifies the data source (such as a specific inverter or combiner box communication channel) and places the data into the corresponding data source queues sreQueue_1, sreQueue_2, ..., sreQueue_n. Simultaneously, it establishes a mapping relationship between device instances, data sources, and data points based on the model library. Through this method, subsequent data processing threads can directly locate the corresponding device model and data storage location based on the data source queue, enabling parallel processing of multiple data sources and improving the real-time data processing efficiency of a large number of photovoltaic devices.

[0054] To address the low efficiency of traditional data distribution methods, a multi-threaded dual-vector optimization strategy is adopted. This strategy involves dynamically and evenly distributing multi-threaded tasks based on the number of photovoltaic data sources at the new energy central control station. Specifically, the optimal number of threads k is automatically calculated based on the number of data sources n, achieving load balancing among n data sources and k threads (where all k threads are available and not currently occupied): when n%k=0, each thread handles n / k data sources; when n%k≠0, the first n%k threads each handle... One data source, the rest of the threads handle it. One data source.

[0055] At the same time, establish pointer vectors The addresses of the data values ​​of each branch of the inverter and combiner box are stored; corresponding creation is performed. The pointer vector stores the preceding parameter identifiers corresponding to the data values ​​of each branch of the inverter and combiner box. Here, the pointer vector is not simply used to store data addresses, but rather to establish a fast mapping relationship between data identifiers and real-time data storage locations. Due to the large number of inverter and combiner box measurement points in photovoltaic power plants, using traditional data copying or traversal query methods would require frequent data searches and memory copies during data updates, leading to a decrease in real-time performance. Therefore, the pointer vector `infos` stores the measurement point index identifiers, and the pointer vector `infovals` stores the corresponding real-time data addresses. This allows the data processing service to quickly locate the target data based on `KEY_REV` and directly complete data updates through address references, reducing data search and copying overhead and improving the efficiency of large-scale photovoltaic data distribution.

[0056] Combining the optimal number of threads and two pointer vectors, the data distribution tasks of different data source queues are dynamically allocated to different threads through a parallel thread task allocation mechanism. Specifically, when distributing data, the data processing service directly compares whether the reference identifier in the pointer vector infos is the same as KEY_REV, and determines the position n of KEY_REV in the pointer vector infos. This enables the efficient writing of data values ​​to infovals[n] = VAL_REV through pointer references, thereby improving the data distribution efficiency of large-scale photovoltaic arrays.

[0057] In the Redis Real-Time Database, real-time data caching is performed; that is, the aforementioned multi-threaded dual-vector allocation mechanism stores data values ​​in the Redis Real-Time Database.

[0058] Alarm judgment is performed during photovoltaic data transmission, and alarm information is forwarded in real time when it occurs, so that alarms no longer need to be processed by multiple serial modules before being reported, thus improving real-time performance. Specifically: Step 2, real-time forwarding of alarm information: While distributing the front-end telemetry and teleindication data, the data processing service also calculates the branch dispersion rate. The branch dispersion rate refers to the consistency (dispersion) of the current of multiple branches (strings) under the same inverter / combiner box. It is used to reflect uneven current between branches, equipment failure, shading or other abnormalities, and is a key indicator for status perception, early warning and operation and maintenance decision-making.

[0059] The method for calculating the dispersion rate is as follows:

[0060] The first step is to create a calculation dataset. All branches except the spare branch are included in the calculation dataset. The average current of all branches in the dataset is then calculated. ;

[0061] in, is each value in the dataset, and n is the number of values ​​in the dataset.

[0062] The second step is to calculate the standard deviation of the dataset. ;

[0063] in, Each value in the dataset represents a single value, and n is the number of values ​​in the dataset. This represents the average current.

[0064] The third step is to divide the standard deviation by the mean and then multiply by 100 to obtain the dispersion rate in percentage form. This dispersion rate alarm strategy can support over-limit delayed alarms. If the delay time is set to k minutes, it means that if the dispersion rate is consistently above the limit within k minutes, the dispersion rate of a certain equipment branch is considered to have exceeded the limit. Once the equipment dispersion rate exceeds the limit, the branch deviation rate and whether it is a zero branch are calculated.

[0065] Deviation rate calculation method:

[0066] The first step is to create a calculation dataset. All branches except the spare branch are included in the calculation dataset. The average current of all branches in the dataset is then calculated. ,in, is each value in the dataset, and n is the number of values ​​in the dataset.

[0067] The second step is to subtract the average from a given data value, then divide by the average, and finally multiply by 100 to obtain the deviation rate in percentage form. ,in, It refers to each value in the dataset; This represents the average current.

[0068] The branch deviation rate alarm strategy supports delayed alarms. The alarm strategy is the same as the dispersion rate. The alarm strategy for zero branches is a real-time alarm. That is, if the current value of a branch is less than the set value, the alarm for that branch is sent as a zero branch alarm.

[0069] The deviation rate and zero branch alarm reset strategy is real-time notification. That is, when the branch deviation rate exceeds the limit and resets, the error message "a deviation rate exceeding the limit and reset" is sent. When the branch changes from a zero branch to a non-zero branch, the error message "zero branch alarm reset" is sent.

[0070] The alarm reset strategy for the dispersion rate is real-time notification, and it affects the status of the deviation rate alarm reset and the zero branch alarm reset. That is, when the device's dispersion rate crosses the line and resets, the system sends out the device's dispersion rate alarm reset, the deviation rate alarm reset for a certain branch of a certain device, and the zero branch alarm reset for a certain branch of a certain device.

[0071] It should be noted that the decision to issue a delayed alarm is made by calculating the deviation rate, and the abnormal fluctuations in equipment operating data are determined by the statistical characteristics of the data.

[0072] During normal operation of photovoltaic equipment, its monitored quantities, such as current, exhibit a relatively stable range of variation within a certain time window, resulting in a low calculated dispersion rate. However, when the equipment experiences abnormal shutdowns, data freezes, or acquisition anomalies, the monitored data deviates significantly from the normal operating state, leading to an increased dispersion rate. Therefore, by setting a dispersion rate threshold and combining it with a duration-based judgment mechanism, false alarms caused by instantaneous acquisition fluctuations can be filtered out. When the dispersion rate exceeds the preset threshold and the duration reaches the set time, an equipment anomaly is determined, and further alarm processing is executed. Compared to simply judging equipment anomalies based on communication status, this approach can identify situations where communication is normal but operational data is abnormal, improving the accuracy of equipment anomaly detection.

[0073] System implementation details:

[0074] A photovoltaic power plant monitoring data processing system according to the present invention is shown in the schematic diagram below. Figure 3 As shown, the system includes a memory, a processor, a system bus, and a computer program stored in the memory. The processor and memory communicate and exchange data via the system bus. The processor executes the computer program to implement the steps of the photovoltaic power plant monitoring data processing method of the present invention. The processor can be a microprocessor (MCU) or other processing device; the memory can be any type of memory that stores information using electrical energy, such as non-volatile storage media (including computer programs, databases), or other types of memory.

[0075] In summary, this invention proposes a photovoltaic power plant monitoring data processing method and system, which realizes real-time processing and intelligent alarm of massive data in photovoltaic power plants. By creating a photovoltaic data processing service to interact directly with the front-end bus, and using a multi-threaded dual-vector data distribution strategy to complete the real-time and efficient forwarding of photovoltaic data, the workload of telemetry and teleindication services is greatly reduced. The data processing service performs alarm information judgment while receiving messages sent from the front-end, and uses an alarm association scheme to achieve real-time information monitoring of photovoltaic power plants through a strategy of delayed judgment and real-time uploading.

Claims

1. A method for processing monitoring data of a photovoltaic power plant, characterized in that, Includes the following steps: 1) The monitoring data is stored in the database through a preset bus with dual data channels and preset monitoring data storage rules; 2) Calculate the optimal number of threads based on the amount of monitoring data stored in the database, and allocate the corresponding thread to each monitoring data according to the obtained optimal number of threads.

2. The photovoltaic power plant monitoring data processing method according to claim 1, characterized in that, The monitoring data storage rule is based on the data source number to which the photovoltaic equipment belongs, using the data source queue as a container and storing data in key-value pairs.

3. The photovoltaic power plant monitoring data processing method according to claim 1, characterized in that, The dual data channels are a telemetry data channel and a remote signaling data channel.

4. The photovoltaic power plant monitoring data processing method according to claim 1, characterized in that, Based on the amount of monitoring data stored in the database, the optimal number of threads is calculated as follows: When n%k=0, each thread processes n / k data sources; When n%k≠0, the first n%k threads each process One data source, the rest of the threads handle it. One data source; Where n is the total number of all monitoring data in the database; k is the current number of threads.

5. The photovoltaic power plant monitoring data processing method according to claim 1, characterized in that, Also includes: Alarms are determined according to a pre-defined dispersion rate alarm strategy, and alarm information is generated and sent when an alarm is determined.

6. The photovoltaic power plant monitoring data processing method according to claim 5, characterized in that, The dispersion rate alarm strategy is as follows: create a calculation dataset, with all branches except the spare branch as the calculation dataset, and calculate the average current of all branches in the dataset; calculate the standard deviation of the dataset; The ratio of the standard deviation to the mean is used as the dispersion rate; when the dispersion rate reaches a preset dispersion rate threshold, an alarm is triggered.

7. The photovoltaic power plant monitoring data processing method according to claim 5, characterized in that, Also includes: When the dispersion rate reaches the preset dispersion rate threshold, the branch deviation rate is calculated, and a delayed alarm is determined according to the preset branch deviation rate alarm strategy.

8. The photovoltaic power plant monitoring data processing method according to claim 7, characterized in that, The branch deviation is calculated using the following method: Create a calculation dataset, with all branches except the spare branch as the calculation dataset, and calculate the average current of all branches in the dataset; The deviation rate is obtained by subtracting a certain data value from the average value, dividing the difference by the average value, and then multiplying by 100%. When the alarm strategy is similar to the dispersion rate, the alarm strategy for the zero branch is a real-time alarm, that is, if the current value of a certain branch is less than the set value, the alarm for that branch is sent as a zero branch alarm.

9. A photovoltaic power plant monitoring data processing system, comprising a processor, characterized in that, The processor executes a computer program to implement the steps of the method according to any one of claims 1 to 8.