Data processing method and device, and computer device
By performing linear correlation analysis on the photovoltaic array data of the photovoltaic system, high-quality photovoltaic system performance test data was selected, which solved the problem of low data quality in photovoltaic system performance testing and enabled more accurate monitoring and fault diagnosis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- STATE GRID BEIJING ELECTRIC POWER CO
- Filing Date
- 2022-12-23
- Publication Date
- 2026-05-01
AI Technical Summary
In existing technologies, the data quality used for photovoltaic system performance testing is low, affecting testing efficiency and accuracy.
By collecting data on the irradiance and output current of the photovoltaic array in the photovoltaic system, the target irradiance and initial output current are extracted, linear correlation analysis is performed, data that meets the linear relationship are selected, and unnecessary data is discarded to improve data quality.
This improves the accuracy of photovoltaic system monitoring results and fault diagnosis, saves transmission resources, and reduces unnecessary data processing burden.
Smart Images

Figure CN116304469B_ABST
Abstract
Description
Data processing methods, apparatus and computer equipment Technical Field
[0001] This invention relates to the field of power technology, and more specifically, to a data processing method, apparatus, and computer equipment. Background Technology
[0002] In related technologies, with the steady development of photovoltaic (PV) technology, more and more owners of residential PV systems and operators of commercial PV systems are shifting their focus to the condition monitoring and operation and maintenance optimization of PV systems in order to reduce the total operating cost of PV systems throughout their entire lifecycle. However, in the performance monitoring and operation and maintenance optimization of PV systems, the data used is all collected by sensors installed in the PV system. But when directly using this data for performance testing, the low data quality affects the testing efficiency.
[0003] Therefore, in related technologies, there is a technical problem of low-quality data used to test the performance of photovoltaic systems.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a data processing method, apparatus, and computer equipment to at least address the technical problem of low-quality data used for detecting the performance of photovoltaic systems in related technologies.
[0006] According to one aspect of the present invention, a data processing method is provided, comprising: acquiring illuminance data and output current data of a photovoltaic array in a photovoltaic system within a predetermined time period; extracting a target illuminance greater than a predetermined illuminance threshold from the illuminance data; extracting an initial output current corresponding to the target illuminance from the output current data; and determining the initial output current as a target output current for monitoring the performance of the photovoltaic system if the initial output current is linearly correlated with the target illuminance.
[0007] Optionally, determining the initial output current as the target output current for monitoring the performance of the photovoltaic system when the initial output current is linearly correlated with the target illuminance includes: obtaining the ambient temperature of the photovoltaic array at the target illuminance when the initial output current is linearly correlated with the target illuminance; determining the target output current value corresponding to the maximum power point of the photovoltaic array based on the target illuminance and the ambient temperature at the target illuminance; and determining the initial output current as the target output current for monitoring the performance of the photovoltaic system when the target output current value is less than the output current threshold.
[0008] Optionally, before determining the initial output current as the target output current for monitoring the performance of the photovoltaic system when the initial output current is linearly correlated with the target illuminance, the method further includes: when the initial output current includes multiple output current values, acquiring pairwise output current values from the multiple output current values, and target illuminance corresponding to each pair of output current values; determining multiple first slope values between the initial output current and the target illuminance based on the pairwise output current values from the multiple output current values and the target illuminance corresponding to each pair of output current values; and determining that the initial output current is linearly correlated with the target illuminance when the difference between the multiple first slope values is less than a first predetermined difference threshold.
[0009] Optionally, the method further includes: acquiring output voltage data of the photovoltaic array within the predetermined time period; extracting an initial output voltage corresponding to the target light intensity from the output voltage data; and determining the initial output voltage as a target output voltage for monitoring the performance of the photovoltaic system if the initial output voltage is linearly correlated with the target light intensity.
[0010] Optionally, before determining the initial output voltage as the target output voltage for monitoring the performance of the photovoltaic system when the initial output voltage is linearly correlated with the target light intensity, the method further includes: when the initial output voltage includes multiple output voltage values, acquiring pairwise output voltage values from the multiple output voltage values, and target light intensities corresponding to each pair of output voltage values; determining multiple second slope values between the initial output voltage and the target light intensity based on the pairwise output voltage values and the target light intensities corresponding to each pair of output voltage values; and determining that the initial output voltage is linearly correlated with the target light intensity when the difference between the multiple second slope values is less than a second predetermined difference threshold.
[0011] Optionally, after determining that the initial output current is the target output current for monitoring the performance of the photovoltaic system, when the initial output current is linearly correlated with the target light intensity, the method further includes: based on the target output current, detecting whether the angle between the light sensor used to collect the light intensity data and the photovoltaic panel of the photovoltaic array meets a predetermined angle condition; if the detection result is that the angle between the light sensor and the photovoltaic panel of the photovoltaic array does not meet the predetermined angle condition, controlling the light sensor to adjust its angle to meet the predetermined angle condition.
[0012] Optionally, the predetermined light intensity threshold is determined based on the material of the photovoltaic array.
[0013] According to another aspect of the present invention, a data processing apparatus is provided, comprising: a first acquisition module for acquiring illuminance data and output current data of a photovoltaic array in a photovoltaic system within a predetermined time period; a first extraction module for extracting a target illuminance greater than a predetermined illuminance threshold from the illuminance data; a second extraction module for extracting an initial output current corresponding to the target illuminance from the output current data; and a first determination module for determining the initial output current as a target output current for monitoring the performance of the photovoltaic system when the initial output current is linearly correlated with the target illuminance.
[0014] Optionally, the first determining module includes: a first acquiring unit, configured to acquire the ambient temperature corresponding to the target illuminance of the photovoltaic array when the initial output current is linearly correlated with the target illuminance; a first determining unit, configured to determine the target output current value corresponding to the maximum power point of the photovoltaic array based on the target illuminance and the ambient temperature corresponding to the target illuminance; and a second determining unit, configured to determine the initial output current as the target output current for monitoring the performance of the photovoltaic system when the target output current value is less than the output current threshold.
[0015] Optionally, the device further includes: a first acquisition module, configured to, before determining that the initial output current is a target output current for monitoring the performance of the photovoltaic system when the initial output current includes multiple output current values, acquire pairwise output current values and target illuminance values corresponding to each pairwise output current value, when the initial output current includes multiple output current values; a second determination module, configured to, based on pairwise output current values and target illuminance values corresponding to each pairwise output current value, determine multiple first slope values between the initial output current and the target illuminance; and a third determination module, configured to, when the difference between the multiple first slope values is less than a first predetermined difference threshold, determine that the initial output current and the target illuminance are linearly correlated.
[0016] Optionally, the device further includes: a second acquisition module for acquiring output voltage data of the photovoltaic array within the predetermined time period; a third extraction module for extracting an initial output voltage corresponding to the target light intensity from the output voltage data; and a fourth extraction module for determining the initial output voltage as a target output voltage for monitoring the performance of the photovoltaic system when the initial output voltage is linearly correlated with the target light intensity.
[0017] Optionally, the device further includes: a second acquisition module, configured to, before determining that the initial output voltage is a target output voltage for monitoring the performance of the photovoltaic system when the initial output voltage includes multiple output voltage values, acquire pairwise output voltage values and target illuminance values corresponding to each pairwise output voltage value, when the initial output voltage is linearly correlated with the target illuminance; a fourth determination module, configured to, based on pairwise output voltage values and target illuminance values corresponding to each pairwise output voltage value, determine multiple second slope values between the initial output voltage and the target illuminance; and a fifth determination module, configured to, when the difference between the multiple second slope values is less than a second predetermined difference threshold, determine that the initial output voltage is linearly correlated with the target illuminance.
[0018] Optionally, the device further includes: a detection module, configured to, after determining that the initial output current is a target output current for monitoring the performance of the photovoltaic system, based on the target output current, detect whether the angle between the light sensor used to collect the light intensity data and the photovoltaic panel of the photovoltaic array meets a predetermined angle condition, when the initial output current is linearly or optionally correlated with the target light intensity; and a control module, configured to, if the detection result indicates that the angle between the light sensor and the photovoltaic panel of the photovoltaic array does not meet the predetermined angle condition, control the light sensor to adjust its angle to meet the predetermined angle condition.
[0019] Optionally, the predetermined light intensity threshold is determined based on the material of the photovoltaic array.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the data processing method described in any one of the above embodiments.
[0021] According to another aspect of the present invention, a computer device is provided, comprising: a memory and a processor, the memory storing a computer program; the processor being configured to execute the computer program stored in the memory, wherein the computer program, when executed, causes the processor to perform any of the data processing methods described above.
[0022] In this embodiment of the invention, by collecting irradiance data and output current data of the photovoltaic array in the photovoltaic system within a predetermined time period, target irradiance data with irradiance greater than a predetermined irradiance threshold is extracted. Linear analysis is performed on the above data, and data that satisfies the linear relationship (e.g., target output current) is filtered and retained based on the linear analysis results. Compared with related technologies that send the collected data of the photovoltaic system directly to the central server for performance evaluation without any processing, this effectively filters the data, discards unnecessary data, and improves the data quality. This not only effectively saves transmission resources but also makes the monitoring results of the photovoltaic system more accurate and improves the accuracy of fault diagnosis. Thus, it solves the technical problem of low-quality data used to detect the performance of photovoltaic systems in related technologies. Attached Figure Description
[0023] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0024] Figure 1 is a flowchart of a data processing method according to an embodiment of the present invention;
[0025] Figure 2 is a flowchart of a data screening method for improving the performance of a residential photovoltaic monitoring system according to an embodiment of the present invention;
[0026] Figure 3 is a schematic diagram of a data processing apparatus provided according to an embodiment of the present invention. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] According to an embodiment of the present invention, a method embodiment of a data processing method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0030] Figure 1 is a flowchart of a data processing method according to an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:
[0031] Step S102: Collect the light intensity data and output current data of the photovoltaic array in the photovoltaic system within a predetermined time period;
[0032] As an optional embodiment, the entity executing the above data processing method can be the data monitoring and processing equipment contained within the photovoltaic system itself, which is part of the photovoltaic system itself, or it can be the edge computing device of the photovoltaic system, which is an edge computing device in the network formed by the photovoltaic system and the remote control center. For example, when the photovoltaic system corresponds to a photovoltaic array located in a specific location, the remote control center can remotely communicate with multiple photovoltaic systems corresponding to photovoltaic arrays located in different locations. These multiple photovoltaic systems corresponding to photovoltaic arrays located in different locations can have their own corresponding edge processing devices. Of course, the entity executing the above data processing method can also be the remote control center. That is, when the remote control center detects the performance of the photovoltaic system based on data, it first processes the data and filters out high-quality data, thereby making the performance detection of the photovoltaic system more accurate and efficient.
[0033] As an optional embodiment, the predetermined time period can be any time period. For example, to check whether the photovoltaic system is operating well, and whether the light intensity sensors and current sensors of the photovoltaic array in the photovoltaic system can work normally within a certain period of time, the light intensity data and output current data collected within a certain time period can be retrieved.
[0034] This is used to screen data from photovoltaic systems. Since multiple data samples are needed for analysis or reference during data screening, the predetermined time period is either a pre-defined default duration or a specified duration.
[0035] As an optional embodiment, when acquiring data from the photovoltaic array in the aforementioned photovoltaic system, the same data can be obtained by installing sensors on different photovoltaic system devices. For example, when acquiring the output current data of the photovoltaic array over a predetermined time period, the output current data can be collected by a current sensor installed at the output terminal of the photovoltaic array. Since the output current of the photovoltaic array is the input current of the photovoltaic inverter, a current sensor can also be installed at the input terminal of the photovoltaic inverter connected to the photovoltaic array to acquire the input current data of the photovoltaic inverter.
[0036] Step S104: Extract the target light intensity from the light intensity data that is greater than the predetermined light intensity threshold;
[0037] As an optional embodiment, the predetermined light intensity threshold is determined based on the material of the photovoltaic array. Since different photovoltaic array materials absorb different amounts of light energy under the same light intensity, materials that can be used include monocrystalline silicon and polycrystalline silicon, and different materials may produce different effects. For example, some materials have higher photoelectric conversion efficiency, while others have lower efficiency. Therefore, the aforementioned light intensity threshold is set according to the material of the photovoltaic array used in the actual application. Different materials result in different light intensity thresholds, and thus, the light intensity data to be retained will also vary depending on the light intensity threshold. Furthermore, the selection of the predetermined light intensity threshold is also related to the data quality requirements. When the data quality requirements are high, the predetermined light intensity threshold can be set higher; when the data quality requirements are low, the predetermined light intensity threshold can be set lower.
[0038] As an optional implementation, since weather changes may occur during the collection of light intensity data, such as when the light intensity fluctuates on cloudy days, the collected light intensity data is discontinuous. Retaining light intensity data that is greater than the light intensity threshold can prevent the data samples from being significantly affected by minor changes in environmental factors when the light intensity is low.
[0039] Step S106: Extract the initial output current corresponding to the target illumination intensity from the output current data;
[0040] As an optional embodiment, an initial current corresponding to the target illumination intensity is extracted from the output current data. The extracted initial current is data at the same time as the target illumination intensity. Since the data is selected within a predetermined time period, multiple initial output current data are extracted from the output current data.
[0041] Step S108: Under the condition that the initial output current is linearly related to the target light intensity, determine the initial output current as the target output current for monitoring the performance of the photovoltaic system.
[0042] As an optional embodiment, it is determined that the initial output current data is linearly correlated with the target illumination intensity data. Multiple initial output current data points are collected within a predetermined time period. These multiple initial output current data points are then divided into multiple pairs of initial output current data groups, resulting in multiple arrays consisting of two initial output current data points.
[0043] Furthermore, the target illumination intensity data corresponding to the two initial output current data in each group are also divided. Using the initial output current data and target illumination intensity data as the horizontal and vertical axes respectively, a planar coordinate system is created. Corresponding points are then connected, and multiple slope values are calculated. It should be noted that, besides determining the slope value using a coordinate system as described above, it can also be calculated directly from data with corresponding relationships.
[0044] As an optional embodiment, determining that the initial output current is linearly related to the target illumination intensity is mainly achieved as follows: when the initial output current includes multiple output current values, obtain the pairwise output current values among the multiple output current values, and the target illumination intensity corresponding to each pair of output current values; based on the pairwise output current values among the multiple output current values, and the target illumination intensity corresponding to each pair of output current values, determine multiple first slope values between the initial output current and the target illumination intensity; if the difference between the multiple first slope values is less than a first predetermined difference threshold, determine that the initial output current is linearly related to the target illumination intensity.
[0045] It should be noted that the multiple slope values calculated above are for multiple moments. To ensure the accuracy of the slope value at each moment, the slope can be calculated multiple times for that moment, and then the average of these multiple slope values can be taken as the slope value for that moment. Averaging the slope values obtained multiple times at each moment increases the accuracy of the data, preventing the analysis results from being significantly affected by individual data points. Therefore, if the difference between the average values corresponding to multiple moments is less than a first predetermined difference threshold, the initial output current data is considered to be linearly correlated with the target light intensity data, indicating that the light sensor and current sensor are working normally and the photovoltaic array is not faulty. The first predetermined difference threshold can be set according to the accuracy requirements of the actual photovoltaic array operation.
[0046] As an optional embodiment, to obtain the slope data, at least two data points need to be selected as data points for calculation. Optionally, these two data points can be two consecutive data points or two arbitrarily selected data points. The corresponding initial output current data and target illumination intensity data are used as the horizontal and vertical axes for calculation. The difference between the initial output current of the first data point and the initial output current of the second data point, and the difference between the target illumination intensity of the first data point and the target illumination intensity of the second data point are calculated respectively. The slope value of the two data points can be obtained by dividing the difference in initial output current by the difference in target illumination intensity.
[0047] As an optional embodiment, during the actual operation of the photovoltaic array, slight changes in the surrounding environment, aging of the data collector itself, or slight heating caused by continuous operation may affect the collected data. Therefore, the results of calculations on some of the collected data may not be equal. In practical applications, if the average values calculated from the collected data are not significantly different, it can be considered that the initial output current data and the target light intensity data are linearly correlated.
[0048] As an optional embodiment, given that the initial output current is already determined to be linearly correlated with the target illuminance, the initial output current data can be further filtered. This involves using the initial output current data, target illuminance data, and ambient temperature data to identify targets suitable for monitoring the performance of the photovoltaic system.
[0049] The output current can be screened using the following methods: obtain the ambient temperature corresponding to the photovoltaic array under the target light intensity; based on the target light intensity and the ambient temperature corresponding to the target light intensity, determine the target output current value corresponding to the maximum power point of the photovoltaic array; if the target output current value is less than the output current threshold, determine the initial output current as the target output current for monitoring the performance of the photovoltaic system.
[0050] As an optional embodiment, the initial output current is determined as the target output current for monitoring the performance of the photovoltaic system. When acquiring ambient temperature data corresponding to the initial output current and the target illuminance, based on the physical relationship between illuminance data, initial output current data, and ambient temperature, a linear model of the photovoltaic array output current characterized by illuminance and ambient temperature can be established in the following way: substituting the initial output current data, the corresponding illuminance data, and ambient temperature data, the total output current data of the photovoltaic array is calculated. Finally, data less than a set threshold θ are retained. I The output current is determined and identified as the output current of the photovoltaic array.
[0051]
[0052] Among them, G Aθ For the target light intensity, N P T represents the number of parallel strings in the photovoltaic array. m For ambient temperature, I mp0 The initial output current is the standard test condition indicated in the photovoltaic panel datasheet; k is the temperature coefficient corresponding to the initial output current; G0 is the illuminance under the standard test condition; and T0 is the photovoltaic panel temperature under the standard test condition.
[0053] As an optional embodiment, a threshold θ is set to determine suitable initial current data for the output current of the photovoltaic array. I Substituting the initial output current data, illuminance data, and ambient temperature data into the aforementioned linear model, when the established linear model of the photovoltaic array output current characterized by illuminance and ambient temperature is less than or equal to this threshold, the initial output current can be determined as the target output current for monitoring the performance of the photovoltaic system. The threshold value can be adjusted according to the actual performance requirements of the photovoltaic monitoring system. Since the initial output current data, after being substituted into the linear model, can only be determined as the target output current if it is less than or equal to this set threshold, a larger threshold will result in more collected data. However, due to the large amount of data, some data may be of low quality and have limited reference value. Similarly, a smaller threshold will result in less collected data.
[0054] After determining the target output current used to monitor the performance of the photovoltaic system, the light sensor in the photovoltaic array that collects light intensity data can be monitored and analyzed based on the obtained target output current data. The method is as follows: Based on the target output current, it is detected whether the angle between the light sensor used to collect light intensity data and the photovoltaic panel of the photovoltaic array meets the predetermined angle condition; if the detection result is that the angle between the light sensor and the photovoltaic panel of the photovoltaic array does not meet the predetermined angle condition, the light sensor is controlled to adjust the angle until it meets the predetermined angle condition.
[0055] As an optional embodiment, after obtaining the target output current, it is confirmed whether the angle at which the light intensity data is acquired by the light sensor installed on the photovoltaic array meets the angle set in advance according to the requirements of the photovoltaic array. If the angle is too high or too low and does not meet the preset angle, the light sensor needs to be adjusted to a suitable angle to ensure that the light sensor can collect light intensity data that meets the analysis requirements of the photovoltaic array.
[0056] As an optional embodiment, the above steps can also extract the initial output voltage corresponding to the target illumination intensity from the output voltage data.
[0057] As an optional embodiment, the performance of the photovoltaic array can be further monitored by combining whether there is a linear relationship between the output voltage data of the photovoltaic array and the target light intensity. The following method can be used: collect the output voltage data of the photovoltaic array within a predetermined time period; extract the initial output voltage corresponding to the target light intensity from the output voltage data; and determine the initial output voltage as the target output voltage for monitoring the performance of the photovoltaic system if the initial output voltage is linearly correlated with the target light intensity.
[0058] As an optional embodiment, during data acquisition, the output voltage data of the photovoltaic array within the predetermined time period can be collected. When acquiring the voltage data of the photovoltaic array in the photovoltaic system, the same data can be obtained by installing sensors on different photovoltaic system devices. For example, the output voltage data can be acquired by a voltage sensor installed at the output terminal of the photovoltaic array. Since the output voltage of the photovoltaic array is the input voltage of the photovoltaic inverter, a voltage sensor can also be installed at the input terminal of the photovoltaic inverter connected to the photovoltaic array to obtain the input voltage of the photovoltaic inverter.
[0059] As an optional embodiment, after obtaining the initial output voltage of the photovoltaic array, the performance of the photovoltaic array can be monitored by determining whether there is a linear relationship between the initial output voltage data and the target light intensity. This can be achieved using the following method: when the initial output voltage includes multiple output voltage values, obtain each pair of output voltage values and the corresponding target light intensity; based on each pair of output voltage values and the corresponding target light intensity, determine multiple second slope values between the initial output voltage and the target light intensity; if the difference between the multiple second slope values is less than a second predetermined difference threshold, determine that the initial output voltage and the target light intensity are linearly correlated.
[0060] As an optional embodiment, by extracting the target initial voltage, determining whether there is a linear relationship between the target initial voltage and the light intensity data, collecting multiple initial output voltage data within a predetermined period of time, dividing the multiple initial output current data into multiple pairs of initial output current data groups, obtaining multiple arrays composed of two initial output current data, and also dividing the target light intensity data corresponding to the two initial output voltages in each group, listing the planar coordinates with the initial output voltage data and the target light intensity data as the horizontal and vertical axes respectively, finding the positions of the corresponding points and connecting them, and calculating multiple slope values.
[0061] Similarly, the multiple slope values calculated above are for multiple time points. To ensure the accuracy of the slope value at each of these time points, the slope can be calculated multiple times for that time point. The average of these calculated slope values can then be used as the slope value for that time point. This process can be repeated multiple times for each time point.
[0062] The slope values are averaged. Averaging increases data accuracy, preventing analysis results from being significantly affected by individual data points. Therefore, if the difference between the average values at multiple times is less than a second predetermined difference threshold, the initial output voltage data is considered linearly correlated with the target light intensity data. This confirms that the voltage and light sensors are functioning normally, and the photovoltaic array is functioning correctly. The second predetermined difference threshold can be set according to the accuracy requirements of the actual photovoltaic array operation.
[0063] As an optional embodiment, the slope data obtained above requires at least two data points to be selected for calculation. Optionally, these two data points can be two consecutive data points or two arbitrarily selected data points. The corresponding initial output voltage data and target light intensity data are used as the horizontal and vertical axes for calculation. The difference between the initial output voltage of the first data point and the initial output voltage of the second data point, and the difference between the target light intensity of the first data point and the target light intensity of the second data point are calculated respectively. The slope value of the two data points can be obtained by dividing the difference in initial output voltage by the difference in target light intensity.
[0064] As an optional embodiment, during the actual operation of the photovoltaic array, slight changes in the surrounding environment, aging of the data collector itself, or slight heating caused by continuous operation may affect the collected data. Therefore, the results of calculations on some of the collected data may not be equal. In practical applications, if the average values calculated from the collected data are not significantly different, it can be considered that the initial output voltage data and the target light intensity data are linearly correlated.
[0065] Through the above steps, by collecting data on light intensity, output current, output voltage, and temperature of the photovoltaic array in the photovoltaic system within a predetermined time period, linear analysis is performed on the combination of these data. Based on the results of the linear analysis, data that satisfies the linear relationship is filtered and retained. Compared with related technologies that send photovoltaic system data directly to the central server for performance evaluation without any processing, this method effectively filters the data, discards unnecessary data, and improves the quality of the data. As a result, the monitoring results of the photovoltaic system are more accurate, the accuracy of fault diagnosis is improved, and the technical problem of low-quality data used for performance testing of photovoltaic systems in related technologies is solved.
[0066] Based on the above embodiments and preferred embodiments, an optional implementation method is provided.
[0067] In related technologies, photovoltaic (PV) monitoring systems are typically used to diagnose and maintain the performance of PV power generation systems. The monitoring and diagnostic process requires relatively accurate system data and parameters, such as irradiance, ambient temperature, and PV array output voltage and current. This system data is affected by external factors, sometimes fluctuating dramatically and rapidly. Currently, various commercial PV monitoring system products exist, which can track the status of PV systems at the module and inverter levels, assess system performance, and detect system faults. However, these commercial monitoring systems typically employ a multi-sensor architecture, including voltage, current, irradiance, and temperature sensors, to monitor the PV system's status. The acquired sampling data is transmitted to a central server for performance evaluation via wireless sensor networks or wired data transmission technology. During the operation of these monitoring systems, the collected data is usually sent directly to the backend without any processing. This data often contains a large amount of low-quality, or even meaningless, data. The presence of this low-quality data not only wastes the system's communication bandwidth and the backend system's computing power and storage space but also seriously affects the monitoring results of the PV system, greatly reducing the accuracy of fault diagnosis and even issuing incorrect maintenance instructions.
[0068] Based on the above problems, in this optional embodiment, a data screening method for improving the performance of a residential photovoltaic monitoring system is provided. Figure 2 is a flowchart of a data screening method for improving the performance of a residential photovoltaic monitoring system according to an embodiment of the present invention, as shown in Figure 2. The relevant functional processing of this method includes the following contents.
[0069] 1. Verify and process the output data of the light sensor. A light sensor installed on the photovoltaic array acquires the light intensity data of the external environment over a period of time. This light sensor is a light intensity sensing device or transmitter based on a photosensitive element. Simultaneously, a current sensor acquires the input current of the photovoltaic inverter at the corresponding moment, i.e., the maximum power point current output by the photovoltaic array. This current sensor can be a shunt, current transformer, or Hall effect current sensor, etc. A certain light intensity value is selected as a cutoff point, and all data exceeding this cutoff point and the corresponding output current data are retained. Verify and process the maximum power point current data of the photovoltaic array. mpθ Temperature data T of the external environment at a given time is obtained using a temperature sensor. m According to the light intensity G Aθ Photovoltaic array output current I mpθ and ambient temperature T m The physical relationship between them can be obtained by taking the light intensity G as an example. Aθ and ambient temperature T m Characterized photovoltaic array output current I mpθ The linear model, light intensity GAθ and ambient temperature T m Characterized photovoltaic array output current I mp The linear model is shown below:
[0070]
[0071] Among them, I mp0 The maximum power point output current is given by the photovoltaic panel datasheet under standard test conditions; k is the temperature coefficient of the maximum power point output current; G0 is the illuminance under standard test conditions; and T0 is the photovoltaic panel temperature under standard test conditions. (Inspection | I) mpθ Is it less than or equal to a certain threshold θ? I If this condition is not met, the relevant photovoltaic array output current data will be discarded.
[0072] 2. To test whether there is a linear relationship between two sets of data, we can calculate the slope by taking the sampling data at two different time points. Assume we have obtained k sets of measurement values (G... Aθ1, I mpθ1 ), (G Aθ2, I mpθ2 ), ..., (G Aθ(i-1), I mpθ(i-1) ), (G Aθi, I mpθi ), (G Aθ(i+1), I mpθ(i+1) ), ..., (G Aθk, I mpθk Based on the measurements taken at times i-1, i, and i+1, calculate the slope S at times i and i+1, respectively. i and S i+1 As shown in (1) and (2). To reduce the impact of sampling noise and abrupt bad spots, the method of averaging multiple slope data is used. For example, the average of the slope calculation data of j times is taken to obtain the averaged slope data S. j(i-1) S ji S j(i+1) As shown in (3), (4), and (5) respectively. By judging S j(i-1) S ji S j(i+1) The maximum power point current I of the photovoltaic array is determined by whether they are equal. mpθ With light intensity G Aθ Does a linear relationship exist between them?
[0073]
[0074]
[0075]
[0076]
[0077]
[0078] If the light intensity data is not linear, it indicates that the data is inaccurate. The relevant data should be discarded, and the installation and operation of the light sensor should be checked.
[0079] 3. Verify and process the maximum power point voltage data V of the photovoltaic array. mp The output voltage V of the photovoltaic array is obtained using a voltage sensor. mp Data. Examine two sets of data {G} over a period of time. Aθ} and {V mp Whether there is a linear relationship between the measurements (G, G) and the samples taken at two different times can be determined by calculating the slope. Assume we have obtained k sets of measurements (G, G). Aθ1, V mp1 ), (G Aθ2, V mp2 ), ..., (G Aθ(i-1), V mp(i-1) ), (G Aθi, V mpi ), (G Aθ(i+1), V mp(i+1) ), ..., (G Aθk, V mpk Based on the measurements taken at times i-1, i, and i+1, calculate the slope L at times i and i+1, respectively. i and L i+1 As shown in (6) and (7). To reduce the impact of sampling noise and abrupt bad spots, the method of averaging multiple slope data is used. For example, the average of the slope calculation data of j times is taken to obtain the averaged slope data L. j(i-1) L ji L j(i+1) As shown in (8), (9), and (10) respectively. By judging L... j(i-1) L ji L j(i+1) The maximum power point current V of the photovoltaic array is determined by whether they are equal. mp With light intensity G Aθ Does a linear relationship exist between them?
[0080]
[0081]
[0082]
[0083]
[0084]
[0085] If the signal is not linear, it is determined that the photovoltaic array is partially shaded, and the output voltage data of the photovoltaic array is discarded.
[0086] In an optional embodiment of the present invention, the photovoltaic system collects data from sensors, combines the relevant data to perform linear analysis and establish a linear model, discards data that does not conform to the linear relationship, and adjusts the corresponding equipment in a timely manner. This function helps to save the system's communication bandwidth, the computing power of the backend system, and storage space, and makes the monitoring results of the photovoltaic system more accurate.
[0087] In this embodiment of the invention, a data processing device is also provided. FIG3 is a schematic diagram of the data processing device provided according to an embodiment of the invention. As shown in FIG3, the device includes: a first acquisition module 32, a first extraction module 34, a second extraction module 36 and a first determination module 38. The device will be described below.
[0088] The first acquisition module 32 is used to acquire illuminance data and output current data of the photovoltaic array in the photovoltaic system within a predetermined time period; the first extraction module 34 is connected to the first acquisition module 32 and is used to extract the target illuminance from the illuminance data, where the illuminance is greater than a predetermined illuminance threshold; the second extraction module 36 is connected to the first extraction module 34 and is used to extract the initial output current corresponding to the target illuminance from the output current data; the first determination module 38 is connected to the second extraction module 36 and is used to determine the initial output current as the target output current for monitoring the performance of the photovoltaic system when the initial output current is linearly correlated with the target illuminance.
[0089] Optionally, the first determining module includes: a first acquiring unit, configured to acquire the ambient temperature corresponding to the target illuminance of the photovoltaic array when the initial output current is linearly correlated with the target illuminance; a first determining unit, configured to determine the target output current value corresponding to the maximum power point of the photovoltaic array based on the target illuminance and the ambient temperature corresponding to the target illuminance; and a second determining unit, configured to determine the initial output current as the target output current for monitoring the performance of the photovoltaic system when the target output current value is less than the output current threshold.
[0090] Optionally, the device further includes: a first acquisition module, configured to acquire, before determining the initial output current as the target output current for monitoring the performance of the photovoltaic system, when the initial output current includes multiple output current values, pairwise output current values and the target illuminance corresponding to each pairwise output current value; a second determination module, configured to determine multiple first slope values between the initial output current and the target illuminance based on pairwise output current values and the target illuminance corresponding to each pairwise output current value; and a third determination module, configured to determine that the initial output current and the target illuminance are linearly correlated when the difference between the multiple first slope values is less than a first predetermined difference threshold.
[0091] Optionally, the device further includes: a second acquisition module for acquiring output voltage data of the photovoltaic array within a predetermined time period; a third extraction module for extracting an initial output voltage corresponding to the target light intensity from the output voltage data; and a fourth extraction module for determining the initial output voltage as the target output voltage for monitoring the performance of the photovoltaic system, provided that the initial output voltage is linearly correlated with the target light intensity.
[0092] Optionally, the device further includes: a second acquisition module, configured to acquire, before determining the initial output voltage as the target output voltage for monitoring the performance of the photovoltaic system, when the initial output voltage includes multiple output voltage values, pairwise output voltage values and target illuminance corresponding to each pairwise output voltage value, when the initial output voltage is linearly correlated with the target illuminance; a fourth determination module, configured to determine multiple second slope values between the initial output voltage and the target illuminance based on pairwise output voltage values and target illuminance corresponding to each pairwise output voltage value; and a fifth determination module, configured to determine that the initial output voltage and the target illuminance are linearly correlated when the difference between the multiple second slope values is less than a second predetermined difference threshold.
[0093] Optionally, the device further includes: a detection module, configured to, after determining that the initial output current is a target output current for monitoring the performance of the photovoltaic system, and based on the target output current, detect whether the angle between the light sensor used to collect light intensity data and the photovoltaic panel of the photovoltaic array meets a predetermined angle condition, when the initial output current is linearly or optionally correlated with the target light intensity; and a control module, configured to, if the detection result indicates that the angle between the light sensor and the photovoltaic panel of the photovoltaic array does not meet the predetermined angle condition, control the light sensor to adjust its angle to meet the predetermined angle condition.
[0094] Optionally, the predetermined light intensity threshold is determined based on the material of the photovoltaic array.
[0095] In this embodiment of the invention, a computer-readable storage medium is also provided, which includes a stored program, wherein the program controls the device where the computer-readable storage medium is located to execute any of the above-mentioned data processing methods when it is running.
[0096] In this embodiment of the invention, a computer device is also provided, comprising: a memory and a processor, wherein the memory stores a computer program; and the processor is configured to execute the computer program stored in the memory, wherein the computer program, when running, causes the processor to execute any of the above-described data processing methods.
[0097] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0098] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0100] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0101] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0102] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0103] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A data processing method, characterized in that, include: Collect irradiance data and output current data of the photovoltaic array in the photovoltaic system within a predetermined time period; Extracting a target illuminance greater than a predetermined illuminance threshold from the illuminance data; extracting an initial output current corresponding to the target illuminance from the output current data; and determining the initial output current as a target output current for monitoring the performance of the photovoltaic system when the initial output current is linearly correlated with the target illuminance, including: obtaining the ambient temperature corresponding to the photovoltaic array under the target illuminance when the initial output current is linearly correlated with the target illuminance; determining the target output current value corresponding to the maximum power point of the photovoltaic array based on the target illuminance and the ambient temperature corresponding to the target illuminance; and determining the initial output current as a target output current for monitoring the performance of the photovoltaic system when the target output current value is less than the output current threshold. The method further includes, before determining the initial output current as the target output current for monitoring the performance of the photovoltaic system when the initial output current is linearly correlated with the target illuminance, the method further includes: when the initial output current includes multiple output current values, acquiring pairwise output current values among the multiple output current values, and target illuminance corresponding to each pair of output current values; based on the pairwise output current values among the multiple output current values, and the target illuminance corresponding to each pair of output current values, determining multiple first slope values between the initial output current and the target illuminance; and determining that the initial output current is linearly correlated with the target illuminance when the difference between the multiple first slope values is less than a first predetermined difference threshold.
2. The method according to claim 1, characterized in that, The method further includes: collecting output voltage data of the photovoltaic array within the predetermined time period; extracting an initial output voltage corresponding to the target light intensity from the output voltage data; and determining the initial output voltage as the target output voltage for monitoring the performance of the photovoltaic system when the initial output voltage is linearly correlated with the target light intensity.
3. The method according to claim 2, characterized in that, Before determining the initial output voltage as the target output voltage for monitoring the performance of the photovoltaic system when the initial output voltage is linearly correlated with the target light intensity, the method further includes: when the initial output voltage includes multiple output voltage values, acquiring pairwise output voltage values from the multiple output voltage values, and the target light intensity corresponding to each pair of output voltage values; based on the pairwise output voltage values from the multiple output voltage values, and the target light intensity corresponding to each pair of output voltage values, determining multiple second slope values between the initial output voltage and the target light intensity; and determining that the initial output voltage is linearly correlated with the target light intensity when the difference between the multiple second slope values is less than a second predetermined difference threshold.
4. The method according to claim 1, characterized in that, After determining that the initial output current is the target output current for monitoring the performance of the photovoltaic system, given that the initial output current is linearly correlated with the target light intensity, the method further includes: based on the target output current, detecting whether the angle between the light sensor used to collect the light intensity data and the photovoltaic panel of the photovoltaic array meets a predetermined angle condition; if the detection result indicates that the angle between the light sensor and the photovoltaic panel of the photovoltaic array does not meet the predetermined angle condition, controlling the light sensor to adjust its angle to meet the predetermined angle condition.
5. The method according to any one of claims 1 to 4, characterized in that, The predetermined light intensity threshold is determined based on the material of the photovoltaic array.
6. A data processing apparatus, characterized in that, include: The first acquisition module is used to acquire the light intensity data and output current data of the photovoltaic array in the photovoltaic system within a predetermined time period. The first extraction module is used to extract the target light intensity from the light intensity data whose light intensity is greater than a predetermined light intensity threshold. The second extraction module is used to extract the initial output current corresponding to the target light intensity from the output current data; A first determining module is configured to, when the initial output current is linearly correlated with the target illuminance, determine the initial output current as a target output current for monitoring the performance of the photovoltaic system; wherein, the first determining module is further configured to, when the initial output current is linearly correlated with the target illuminance, acquire the ambient temperature corresponding to the photovoltaic array at the target illuminance; determine the target output current value corresponding to the maximum power point of the photovoltaic array based on the target illuminance and the ambient temperature corresponding to the target illuminance; and determine the initial output current as a target output current for monitoring the performance of the photovoltaic system when the target output current value is less than an output current threshold; wherein, the device is further configured to, when the initial output current is linearly correlated with the target illuminance, acquire the ambient temperature corresponding to ... target output current as a target output current for monitoring the performance of the photovoltaic system when the target output current value is less than an output current threshold; wherein, the device is further configured to, when the initial output current is linearly correlated with the target illuminance, acquire the ambient temperature corresponding to the target illuminance; determine the target output current for monitoring the performance of the photovoltaic system when the target output current value is less than an output current threshold; If the initial output current is linearly correlated with the target illuminance, before determining the initial output current as the target output current for monitoring the performance of the photovoltaic system, if the initial output current includes multiple output current values, obtain pairwise output current values from the multiple output current values, and the target illuminance corresponding to each pair of output current values; based on the pairwise output current values from the multiple output current values, and the target illuminance corresponding to each pair of output current values, determine multiple first slope values between the initial output current and the target illuminance; if the difference between the multiple first slope values is less than a first predetermined difference threshold, determine that the initial output current is linearly correlated with the target illuminance.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the data processing method according to any one of claims 1 to 5.
8. A computer device, characterized in that, include: A memory and a processor, the memory storing a computer program; the processor executing the computer program stored in the memory, wherein the computer program, when executed, causes the processor to perform the data processing method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Photovoltaic array maximum power output control method
CN108445958A
Simulation parameter calculation method and device for photovoltaic power generation
CN112632783A