Household photovoltaic data acquisition method and device based on wireless Internet of Things
By analyzing shadow shading patterns through wireless Internet of Things and spatiotemporal convolutional neural networks, and combining cross-string power compensation mechanisms with Mesh network control, the problems of reduced power generation efficiency and imbalance between strings caused by shading in household photovoltaic systems are solved, and efficient dynamic compensation and predictive regulation are achieved.
Patent Information
- Application Number
- CN202510935829.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-08
- Publication Date
- 2025-09-19
AI Technical Summary
Due to dynamic local shading problems, household photovoltaic systems suffer from reduced power generation efficiency and output power imbalance between strings. Existing technologies make it difficult to achieve efficient cross-string coordination and predictive regulation.
A spatiotemporal convolutional neural network based on the wireless Internet of Things is used to analyze shadow shading patterns in real time. Combined with the cross-string power dynamic compensation mechanism and Mesh network collaborative control, the MPPT controller operating point is adjusted synchronously through the edge nodes to achieve high-precision prediction of shading loss and minute-level dynamic compensation.
It achieves minute-level precise response to dynamic shading scenarios, improves energy utilization, reduces computing load, enhances equipment safety and environmental generalization capabilities, and reduces power generation losses.
Smart Images

Figure CN120675298A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic equipment control, and in particular to a household photovoltaic data collection method and device based on a wireless Internet of Things. Background Art
[0002] With the rapid development of distributed energy, the proportion of household photovoltaic systems in the residential energy structure continues to increase. However, factors such as building shading, tree shadows, and instantaneous cloud movement in urban environments cause household photovoltaic arrays to frequently face dynamic local shading problems. This shading effect not only causes a significant decrease in system power generation efficiency, but also causes a serious imbalance in output power between strings, and even causes the formation of hot spot effects in photovoltaic modules, accelerating equipment aging. Traditional centralized MPPT (maximum power point tracking) control strategies, because they cannot perceive the differences in shading at the string level, often sacrifice the power generation potential of locally shaded strings for global optimization, resulting in low overall energy utilization.
[0003] In the existing technology, some solutions attempt to achieve string-level MPPT by deploying independent optimizers for each string. Although this can alleviate the impact of shading, it has the problems of high hardware costs and a sharp increase in system complexity. Other cloud-based monitoring solutions can collect string operation data, but due to high communication latency and slow response speed, they are difficult to adapt to dynamic shadow scenarios that change at the minute or even second level. Especially for household arrays composed of multiple dispersed installation points, the spatiotemporal evolution of shadows (such as the movement of building shadows and the drift path of clouds during the dawn and dusk periods) is strongly correlated, but existing methods lack the ability to model the spatiotemporal evolution of shadows and can only perform passive compensation but cannot make predictive adjustments.
[0004] Furthermore, current solutions generally overlook the potential for power complementation between adjacent strings. When one string is shaded, adjacent, unshaded strings often have excess power output. However, due to the lack of cross-string coordination mechanisms, this potential remains untapped. Existing wireless data acquisition systems often focus on monitoring the status of individual strings, without establishing data links for inter-string collaborative optimization. This limits the overall system's ability to adapt reliably under shadowing conditions. Summary of the Invention
[0005] The purpose of the embodiments of the present invention is to provide a household photovoltaic data collection method and device based on wireless Internet of Things, which uses a spatiotemporal convolutional neural network to analyze the shadow evolution law in real time, combines the cross-string power dynamic compensation mechanism with Mesh network collaborative control, and realizes high-precision prediction of shading loss and minute-level dynamic compensation.
[0006] To solve the above technical problems, a first aspect of an embodiment of the present invention provides a household photovoltaic data collection method based on a wireless Internet of Things. Several strings of a photovoltaic array are each provided with a current sensor, a voltage sensor, and an ambient light intensity sensor. The collection method includes the following steps:
[0007] At the edge nodes of the photovoltaic array, the current and voltage curves of the group strings and the ambient light intensity data are collected in real time. The spatiotemporal evolution feature vector of the shadow shading is extracted through the spatiotemporal convolutional neural network. The spatiotemporal evolution feature vector includes: the predicted value of the shadow movement direction, the rate of change of the shaded area, and the shade correlation between multiple groups of strings;
[0008] Inputting the spatiotemporal evolution characteristic vector into a power compensation decision model to obtain a cross-string power dynamic compensation scheme, the scheme including: a compensation current value of the shaded string and a maximum output power adjustment value of adjacent unshaded strings;
[0009] According to the dynamic power compensation scheme, the MPPT controller operating points of adjacent photovoltaic strings are synchronously adjusted through the Mesh network between edge nodes, so that the power loss of the shaded string is compensated by the unshaded string in real time.
[0010] Furthermore, the extraction of the spatiotemporal evolution feature vector of shadow occlusion by the spatiotemporal convolutional neural network includes:
[0011] The real-time collected string-level current and voltage curves are sliced into time windows, and the ambient light intensity data is mapped into a light intensity distribution matrix according to the physical partitions of the photovoltaic array;
[0012] The current and voltage slices and the light intensity distribution matrix are processed in parallel through the branch structure of the spatiotemporal convolutional neural network. The temporal convolution channel extracts the timing characteristics of shadow movement, and the spatial convolution channel extracts the shading correlation characteristics between strings.
[0013] The shadow movement direction prediction value output by the temporal convolution channel is combined with the multi-group inter-string occlusion correlation degree output by the spatial convolution channel in a confidence-weighted manner. When the direction consistency between the two is lower than the threshold, the ambient light intensity data is re-collected.
[0014] Based on the group-level shading state map output by the spatial convolution channel, the shading area change rate is calculated by comparing the pixels of adjacent time windows, and instantaneous interfering changes are filtered out;
[0015] After the feature vector is generated, the current array topology identifier and the component aging factor are embedded therein for the power compensation decision model to perform adaptive analysis of the working condition.
[0016] Furthermore, the branch structure of the spatiotemporal convolutional neural network is used to parallelly process the current and voltage slices and the light intensity distribution matrix, wherein the temporal convolution channel extracts the timing characteristics of shadow movement and the spatial convolution channel extracts the shading correlation characteristics between strings, including:
[0017] A depthwise separable convolution kernel is used to extract temporal features from current and voltage slices. The step size of the one-dimensional temporal convolution kernel is dynamically adjusted with the light intensity. The step size is increased in strong light environments to reduce the computational load.
[0018] A dilated convolution kernel is used to extract spatial features from the light intensity distribution matrix, and the perception range of inter-string correlation features is expanded by dynamically adjusting the dilation ratio, which is inversely correlated with the physical spacing of the photovoltaic arrays.
[0019] Perform cross-channel attention weighting on the intermediate feature maps output by the temporal convolution channel and the intermediate feature maps output by the spatial convolution channel. When a conflict between temporal features and spatial features is detected, the spatial channel features are prioritized and the temporal channel weights are frozen.
[0020] After the dual-channel feature fusion, a channel random dropout operation is performed to retain the feature dimensions that are strongly related to shadow evolution and discard the feature dimensions dominated by environmental noise;
[0021] The dual-channel convolution operation is performed in parallel through the vector computing unit of the edge processor, enabling integer quantization calculation for the temporal convolution channel and floating-point precision calculation for the spatial convolution channel.
[0022] Furthermore, the step of inputting the spatiotemporal evolution feature vector into a power compensation decision model to obtain a cross-string power dynamic compensation scheme includes:
[0023] Based on the shading correlation between multiple strings in the spatiotemporal evolution feature vector, a propagation path diagram of the shading effect in the photovoltaic array is generated, marking the cascade relationship between directly shading strings and indirectly affected strings;
[0024] Based on the real-time current and voltage curves of the unshaded strings and the component aging factor, the instantaneous maximum output power adjustment margin of each unshaded string is calculated, and the power scheduling priority is determined in combination with the array topology identifier;
[0025] Generate an initial compensation plan based on the compensation current requirements of the shaded strings. Verify the power stability of the strings that are indirectly affected by the propagation path diagram. Initiate dynamic attenuation of the compensation current value when a voltage over-limit risk is detected.
[0026] The initial compensation scheme is divided into a basic compensation amount and a dynamic incremental compensation amount, wherein the basic compensation amount is executed immediately and the dynamic incremental compensation amount is released with the gradient of the shielding area change rate.
[0027] Furthermore, the dynamic incremental compensation amount is released gradually along with the rate of change of the shielding area, including:
[0028] According to the preset range of the real-time shielding area change rate, the corresponding compensation release speed level is matched, where the high-speed change range enables millisecond release, and the low-speed change range enables second release;
[0029] Combined with the shadow movement direction prediction value in the spatiotemporal evolution feature vector, a trend-weighted correction is performed on the current rate of change of the shaded area. When the shadow is predicted to move out, the compensation release ratio is reduced.
[0030] During the compensation release process, the voltage fluctuation amplitude of the string DC bus is monitored in real time. When the fluctuation amplitude continuously exceeds the safety threshold, the dynamic incremental compensation is immediately interrupted and the basic compensation maintenance mode is activated.
[0031] The interruption release event and the corresponding shielding change characteristics are fed back to the power compensation decision model to dynamically adjust the mapping relationship between the preset interval range and the release speed level.
[0032] Furthermore, after synchronously adjusting the operating points of the MPPT controllers of adjacent photovoltaic strings through the Mesh network between the edge nodes, the method further includes:
[0033] The shadow evolution feature vector and compensation execution results are uploaded to the cloud platform, the shadow prediction model is trained in combination with satellite meteorological data, and the updated model parameters are sent to the edge nodes of the photovoltaic array.
[0034] Furthermore, uploading the shadow evolution feature vector and compensation execution results to the cloud platform and training the shadow prediction model in combination with satellite meteorological data includes:
[0035] Receive the original remote sensing data stream sent by meteorological satellites on the cloud platform, extract the satellite cloud motion vector and solar position parameters in the area where the photovoltaic array is located, and dynamically align the remote sensing data with the spatial coordinates of the photovoltaic strings through geographic grid matching;
[0036] Perform cross-scale feature correlation on the spatiotemporally aligned satellite cloud motion vectors and the shadow evolution feature vectors uploaded by the edge nodes to generate a fusion feature matrix. The cross-scale feature correlation includes error compensation between the satellite cloud movement direction and the edge shadow movement direction, and weight distribution between the satellite cloud coverage rate and the edge shadow area change rate.
[0037] Based on the correspondence between the fused feature matrix and the historical compensation execution results, a sliding time window mechanism is used to update the spatiotemporal convolution kernel parameters in the shadow prediction model, and only the network layers affected by the cloud mutation are retrained;
[0038] According to the differences in the geographical microenvironment of each edge node, the updated model parameters are split into global shared parameters and regional adaptive parameters, and are distributed hierarchically to the corresponding photovoltaic array edge nodes through the digital signature channel.
[0039] Furthermore, the household photovoltaic data collection method based on wireless Internet of Things also includes:
[0040] The system entropy value change during the compensation process is continuously calculated, and the compensation strategy reconstruction mechanism is triggered when the entropy value exceeds the threshold.
[0041] Furthermore, the change in system entropy during the compensation process is continuously calculated, including:
[0042] At the edge nodes, the compensation current fluctuation rate, inter-string power scheduling delay, and MPPT controller response frequency are synchronously collected to construct a three-dimensional entropy change factor set for the dynamic compensation process.
[0043] According to the current operating conditions of the photovoltaic array, the three-dimensional entropy change factor set is dynamically weighted and fused to generate the system entropy value change, where the weighting coefficient is adaptively adjusted with the ambient temperature and the aging degree of the components;
[0044] When the system entropy value change exceeds the dynamic threshold, the preset reconstruction strategy library is matched according to the entropy value exceeding the limit amplitude and duration, triggering local compensation parameter adjustment or global compensation strategy reconstruction;
[0045] The entropy value exceeding limit events that trigger reconstruction and the corresponding reconstruction effects are fed back to the cloud platform, and the entropy change factor weight coefficient and dynamic threshold curve are optimized through reinforcement learning.
[0046] Accordingly, a second aspect of an embodiment of the present invention provides a household photovoltaic data acquisition device based on a wireless Internet of Things, which acquires data of a household photovoltaic array based on the above-mentioned household photovoltaic data acquisition method based on a wireless Internet of Things. Each of the plurality of strings of the photovoltaic array is provided with a current sensor, a voltage sensor, and an ambient light intensity sensor. The acquisition device includes:
[0047] A data acquisition module is used to collect string-level current and voltage curves and ambient light intensity data in real time at the edge nodes of the photovoltaic array. The module then uses a spatiotemporal convolutional neural network to extract the spatiotemporal evolution feature vector of shadow shading. The spatiotemporal evolution feature vector includes: the predicted value of the shadow movement direction, the rate of change of the shaded area, and the shade correlation between multiple strings.
[0048] A dynamic compensation module, configured to input the spatiotemporal evolution characteristic vector into a power compensation decision model to obtain a cross-string power dynamic compensation scheme, the scheme comprising: a compensation current value of the shaded string and a maximum output power adjustment value of adjacent unshaded strings;
[0049] The device control module is used to synchronously adjust the MPPT controller operating points of adjacent photovoltaic strings through the Mesh network between edge nodes according to the power dynamic compensation scheme, so that the power loss of the shaded string is compensated by the unshaded string in real time.
[0050] Accordingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the above-mentioned household photovoltaic data collection method based on wireless Internet of Things.
[0051] Accordingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the above-mentioned household photovoltaic data collection method based on wireless Internet of Things.
[0052] The above technical solutions of the embodiments of the present invention have the following beneficial technical effects:
[0053] 1. Through the multi-dimensional feature fusion mechanism of the spatiotemporal convolutional neural network and the adaptive working condition analysis of the power compensation decision model, accurate minute-level response to dynamic shading scenarios is achieved. The spatiotemporal branch structure adopts a dynamic convolution kernel adjustment strategy, significantly reducing the computing load by 40% in strong light environments while keeping the shadow movement direction prediction error within 5°. Based on the shading propagation path diagram and the dynamic incremental compensation gradient release mechanism, the matching degree between the compensation current value and the actual shading loss is improved to over 95%, completely avoiding the over-compensation or under-compensation risks of traditional solutions. By embedding component aging factors into the feature vector and implementing a dynamic voltage over-limit attenuation strategy, the hot spot incidence rate is suppressed to below 0.1%, significantly improving equipment safety.
[0054] 2. A prediction-compensation closed-loop optimization system was established by integrating satellite meteorological data with edge features across scales and implementing a hierarchical distribution mechanism for model parameters. Error compensation between satellite cloud motion vectors and edge shadow features significantly extended cloud cover prediction time from 30 seconds to 5 minutes. A sliding window retraining mechanism only updates network layers affected by sudden changes, tripling model iteration efficiency. The hierarchical distribution of regional adaptive parameters effectively narrowed the differences in PV array prediction accuracy across different geographic microenvironments, optimizing it from ±15% to ±3%, significantly enhancing environmental generalization capabilities.
[0055] 3. Dynamic fusion of a three-dimensional entropy change factor set and reinforcement learning-driven strategy optimization ensure the long-term stability of cross-string compensation. By dynamically weighting the compensation for entropy change factors such as current fluctuation rate and power dispatch delay, the accuracy of entropy over-limit warning reaches 92%. The reconstruction strategy library triggers adjustments in a graded manner based on the magnitude of entropy over-limit, reducing power generation losses caused by compensation failure by 70%. The entropy event feedback and weight coefficient online optimization mechanism ensure that the compensation strategy maintains an adaptability of more than 90% during the component aging cycle, achieving continuous evolution of resilience. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 This is a flow chart of a household photovoltaic data collection method based on wireless Internet of Things provided by an embodiment of the present invention;
[0057] Figure 2 This is a module block diagram of a household photovoltaic data acquisition device based on wireless Internet of Things provided by an embodiment of the present invention.
[0058] Reference numerals:
[0059] 1. Data acquisition module, 2. Dynamic compensation module, 3. Equipment control module. DETAILED DESCRIPTION
[0060] To make the objectives, technical solutions, and advantages of the present invention more clearly understood, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present invention.
[0061] Please refer to Figure 1 A first aspect of an embodiment of the present invention provides a household photovoltaic data collection method based on a wireless Internet of Things. Several strings of a photovoltaic array are each provided with a current sensor, a voltage sensor, and an ambient light intensity sensor. The collection method includes the following steps:
[0062] In step S100, at the edge node of the photovoltaic array, the group string current and voltage curves and ambient light intensity data are collected in real time, and the spatiotemporal evolution feature vector of shadow shading is extracted through the spatiotemporal convolutional neural network. The spatiotemporal evolution feature vector includes: the predicted value of the shadow movement direction, the rate of change of the shaded area, and the shade correlation between multiple groups of strings.
[0063] At the edge nodes of the photovoltaic array, current-voltage characteristic curves and ambient light intensity data from each photovoltaic string are collected in real time. Deep feature mining of this multidimensional sensor information is performed using a spatiotemporal convolutional neural network. Specifically, the current-voltage curves are sliced and processed according to preset time windows, while the distributed light intensity sensor data is mapped into a light intensity distribution matrix across the array space. The neural network employs a two-branch parallel architecture. The temporal convolution channel uses a separable convolution kernel to analyze the temporal variations of the current-voltage slices and dynamically adjusts the convolution step size to accommodate light intensity fluctuations. The spatial convolution channel uses a dilated convolution kernel to extract inter-string shadow correlation features from the light intensity distribution matrix. The dual-channel outputs are then weightedly fused using cross-channel attention to generate a comprehensive spatiotemporal evolution feature vector. This vector contains three core parameters: the predicted shadow movement direction, the shadow area change rate, and the shadow correlation between multiple strings. The feature layer also embeds array topology identifiers and module aging factors to enhance adaptability to operating conditions. A confidence check mechanism is implemented during feature extraction. When temporal and spatial features conflict, spatial channel data is prioritized and triggers re-collection of ambient light data. Transient interference is also filtered out by comparing pixels in adjacent time windows.
[0064] In step S200 , the spatiotemporal evolution characteristic vector is input into a power compensation decision model to obtain a cross-string power dynamic compensation scheme, which includes: a compensation current value of the shaded string and a maximum output power adjustment value of adjacent unshaded strings.
[0065] The spatiotemporal evolution feature vector is input into the power compensation decision model for multi-dimensional analysis. First, a shadowing effect propagation path diagram is constructed based on the shadowing correlation between multiple strings, marking the cascade relationship between directly affected and indirectly affected strings. Simultaneously, the maximum output power adjustment margin of each unshaded string under the current operating conditions is calculated by combining the real-time current and voltage curves of the unshaded strings and the component aging factor. The power scheduling priority is determined based on the array topology. An initial compensation scheme is generated based on the compensation current demand of the shaded strings. The voltage stability of the indirectly affected strings is verified using the propagation path diagram. When a voltage over-limit risk is detected, a dynamic attenuation mechanism for the compensation current value is automatically initiated. The final compensation scheme is divided into two parts: a basic compensation amount and a dynamic incremental compensation amount. The basic compensation amount is immediately executed, while the dynamic incremental compensation amount is gradually released based on the shadowing area change rate. The release speed matches different response levels in a preset range, ranging from milliseconds to seconds. A shadow movement direction prediction value is introduced to adjust the release ratio trend. During the release process, DC bus voltage fluctuations are continuously monitored to ensure system safety.
[0066] In step S300 , according to the dynamic power compensation scheme, the MPPT controller operating points of adjacent photovoltaic strings are synchronously adjusted through the Mesh network between edge nodes, so that the power loss of the shaded string is compensated by the unshaded string in real time.
[0067] Based on the dynamic power compensation scheme, the mesh wireless network constructed through edge nodes synchronously adjusts the operating points of the MPPT controllers of adjacent photovoltaic strings. The network uses a time synchronization protocol to ensure that each node completes control command transmission within a millisecond time window, allowing the MPPT controllers of unshaded strings to dynamically increase their output power operating points while simultaneously adjusting the controllers of shaded strings to the compensation current target value. This process enables the power loss of shaded strings to be compensated across adjacent unshaded strings in real time, creating a dynamic energy balance between strings. After compensation is executed, the shadow evolution feature vector and compensation results are uploaded to the cloud platform. The shadow prediction model is trained in conjunction with satellite meteorological data, and the updated model parameters are distributed hierarchically to edge nodes through a digital signature channel, forming a cloud-based collaborative optimization closed loop.
[0068] By accurately analyzing the dynamic evolution of shadows through a spatiotemporal convolutional neural network, and combining the adaptive analytical mechanism of the power compensation decision model with the collaborative control of the Mesh network, accurate minute-level compensation for shading losses is achieved; the power regulation margin of unshaded strings is used to perform real-time energy scheduling across strings, significantly improving the overall power generation efficiency of the photovoltaic array in a dynamic shadow environment; the risk of hot spot effect is effectively suppressed through the embedding of component aging factors and the dynamic attenuation mechanism of voltage over-limit; the cloud-based collaborative training mechanism continuously optimizes the edge-side prediction accuracy, and the system entropy value monitoring of the compensation process ensures long-term operational stability, ultimately reducing hardware costs while enhancing the shadow adaptability and energy utilization of household photovoltaic systems.
[0069] Furthermore, the step S100 of extracting the spatiotemporal evolution feature vector of shadow occlusion by using the spatiotemporal convolutional neural network includes:
[0070] In step S110 , the string-level current and voltage curves collected in real time are sliced according to time windows, and the ambient light intensity data are mapped into a light intensity distribution matrix according to the physical partitions of the photovoltaic array.
[0071] The real-time current-voltage characteristic curves of each photovoltaic string are sliced according to a time window of fixed duration (typically 10-30 seconds) to form a set of current and voltage time-series slices. Each slice contains a continuously changing trajectory of the string output characteristics within a specific time window. Simultaneously, the distributed ambient light intensity sensor data is mapped into a two-dimensional light intensity distribution matrix based on its physical coordinate position in the photovoltaic array. The row and column dimensions of this matrix strictly correspond to the actual spatial partitions of the array, and the matrix element values represent the normalized average of the light intensity sensor readings in the corresponding partition, thereby constructing a standardized input source for current and voltage time-series data and spatial light intensity distribution.
[0072] In step S120, the current and voltage slices and the light intensity distribution matrix are processed in parallel through the branch structure of the spatiotemporal convolutional neural network, wherein the temporal convolution channel extracts the timing characteristics of shadow movement, and the spatial convolution channel extracts the shading correlation characteristics between strings.
[0073] The pre-processed data is collaboratively analyzed through the branch architecture of the spatiotemporal convolutional neural network: the temporal convolution channel uses a one-dimensional depth-wise separable convolution kernel to process current and voltage slices, and captures the periodic fluctuations and mutation characteristics of the string output power through sliding convolution operations, focusing on identifying timing patterns such as current steps and voltage sags caused by shadow movement; the spatial convolution channel uses a two-dimensional void convolution kernel to process the light intensity distribution matrix, extracts the light intensity gradient change characteristics across strings by expanding the receptive field, and quantifies the shading correlation strength between adjacent strings; the two channels are executed in parallel at the hardware level through the vector computing unit of the edge processor, where the temporal channel enables integer quantization calculation to optimize energy efficiency, and the spatial channel maintains floating-point precision to ensure spatial resolution.
[0074] In step S130, the shadow movement direction prediction value output by the temporal convolution channel and the multi-group inter-string occlusion correlation degree output by the spatial convolution channel are confidence-weightedly fused, and when the direction consistency of the two is lower than the threshold, the ambient light intensity data is re-collected.
[0075] The dual-channel output results are confidently fused: the shadow movement direction prediction value (angle vector) output by the time channel and the shading correlation between multiple groups of strings output by the spatial channel (correlation coefficient matrix) are fused into a unified feature through an adaptive weight coefficient, and the weight coefficient depends on the historical prediction accuracy of each channel; when it is detected that the deviation of the shadow movement direction output by the two channels exceeds a preset threshold (such as 15°), it is determined that the temporal feature and the spatial feature conflict. At this time, the spatial channel data is preferentially used as the valid output, and the instant re-collection mechanism of the ambient light intensity sensor is triggered to update the light intensity distribution matrix to ensure the real-time reliability of the spatial feature.
[0076] Step S140 , based on the cascade-level shading state diagram output by the spatial convolution channel, the shading area change rate is calculated by comparing pixels in adjacent time windows, and instantaneous interfering changes are filtered out.
[0077] Based on the group-level occlusion state map generated by the spatial convolution channel (a binary image with occluded areas marked as 1 and unoccluded areas as 0), the occlusion area change rate is calculated by pixel-level comparison of the state maps of adjacent time windows. Specifically, the current time window state map is XORed with the previous time window state map on a pixel-by-pixel basis. The total number of pixels with state changes as a percentage of the total number of pixels in the array is counted and then divided by the time window interval to obtain the change rate. At the same time, a change persistence filtering condition is set. Only when the change state persists for more than three consecutive time windows is it considered a valid occlusion change, filtering out transient interference such as cloud reflections and bird passes.
[0078] Step S150 : After the feature vector is generated, the current array topology identifier and the component aging factor are embedded therein for the power compensation decision model to perform adaptive analysis of the working condition.
[0079] Two types of operating condition parameters are embedded in the generated spatiotemporal evolution feature vector: the array topology identifier uses binary coding to describe the electrical connection relationship between strings (such as the number of series groups and parallel branches) and the physical location distribution (such as east-west spacing and inclination angle differences); the component aging factor is extracted through analysis of historical power generation data, and includes quantitative indicators such as the string internal resistance growth rate and peak power attenuation rate; the embedding process is achieved by expanding the dimension of the feature vector, so that the subsequent power compensation decision model can optimize the power scheduling path according to the topological structure and dynamically adjust the compensation safety margin according to the degree of aging.
[0080] This feature extraction mechanism accurately quantifies the directionality, correlation, and dynamics of shadow evolution through spatiotemporal collaborative processing of multi-source sensor data; the dual-channel architecture takes into account both temporal sensitivity and spatial correlation analysis, and the confidence-weighted fusion and conflict resolution mechanism ensure feature reliability; continuous filtering of the shading area change rate effectively suppresses environmental noise; the embedding of topological identifiers and aging factors gives the feature vector the ability to express physical structures and device states, providing a high-fidelity input feature set for dynamic compensation decisions, fundamentally improving the shading response accuracy and system adaptability.
[0081] Furthermore, in step S120, the current and voltage slices and the light intensity distribution matrix are processed in parallel by the branch structure of the spatiotemporal convolutional neural network, wherein the temporal convolution channel extracts the timing characteristics of shadow movement, and the spatial convolution channel extracts the shading correlation characteristics between strings, including:
[0082] In step S121 , a depthwise separable convolution kernel is used to extract temporal features from the current and voltage slices, wherein the step size of the one-dimensional temporal convolution kernel is dynamically adjusted with the light intensity. The step size is increased in a strong light environment to reduce the computational load.
[0083] The depth-separable convolution kernel is used to perform one-dimensional convolution operation on the current and voltage time series slices. The core of this operation is to separate the feature extraction of spatial dimension and channel dimension. The step size of the temporal convolution kernel is dynamically adjusted in real time according to the ambient light intensity: when the light intensity sensor detects a strong light environment (such as above 1000W / m 2 ), the convolution step size is automatically increased (e.g., from step size 2 to 4), and some data points are skipped to reduce the computational complexity; in low light conditions (e.g., below 300W / m 2 ) uses the minimum step size for dense scanning. This mechanism significantly reduces redundant calculations while ensuring the capture of key features through the positive correlation between light intensity and shadow movement speed.
[0084] In step S122, a dilated convolution kernel is used to extract spatial features from the light intensity distribution matrix. The perception range of the correlation features between strings is expanded by dynamically adjusting the dilation ratio. The dilation ratio is inversely correlated with the physical spacing of the photovoltaic arrays.
[0085] A dilated convolution kernel is used to perform two-dimensional spatial convolution on the light intensity distribution matrix. The receptive field of feature extraction is controlled by adjusting the dilation ratio. The dilation ratio is inversely correlated with the actual physical spacing of the photovoltaic array: when the strings are installed at large intervals (e.g., greater than 1 meter), a low dilation ratio (e.g., rate = 1) is used to focus on local features; when the strings are densely arranged (e.g., spacing less than 0.5 meters), a high dilation ratio (e.g., rate = 3) is used to expand the perception range and capture long-distance shadowing correlations across strings. The convolution kernel weights are initialized based on the string coordinate position, prioritizing feature responses along the east-west axis, which aligns with the typical direction of building projection movement.
[0086] In step S123, the intermediate feature map output by the temporal convolution channel and the intermediate feature map output by the spatial convolution channel are weighted by cross-channel attention. When a conflict between the temporal feature and the spatial feature is detected, the spatial channel feature is used first and the temporal channel weight is frozen.
[0087] A cross-channel attention-weighted fusion is performed on the intermediate feature map of the temporal channel (containing the time-series trajectory of shadow movement) and the intermediate feature map of the spatial channel (reflecting the strength of shading correlation between strings). Attention weights are dynamically assigned based on the confidence of historical predictions across both channels. When the deviation in the shadow movement direction output by the two channels exceeds a threshold (e.g., 20°) in real time, a feature conflict is identified, and the weight contribution of the temporal channel is immediately frozen. The spatial channel features are then used as the dominant output for full weighting. This mechanism prioritizes the decision weight of spatial light intensity distribution data, as it is less susceptible to interference from instantaneous current fluctuations.
[0088] In step S124, a channel random discarding operation is performed after the dual-channel feature fusion to retain the feature dimensions that are strongly related to the shadow evolution and discard the feature dimensions dominated by the environmental noise.
[0089] After dual-channel feature fusion, a random channel dropout operation is performed: the outputs of some feature channels are randomly masked with a preset probability, forcing the network to learn redundant representations of shadow evolution features. This dropout strategy prioritizes retaining two types of channels: those strongly correlated with the rate of change of the obscured area (marked through historical data analysis) and those with cross-cluster correlation above a threshold. The dropout probability is increased for channels dominated by environmental noise (such as cloud-reflected flash and transient sensor drift). This operation suppresses overactivation of noise-sensitive channels and improves the feature vector's ability to resist interference.
[0090] Step S125: Perform dual-channel convolution operations in parallel through the vector computing unit of the edge processor, enable integer quantization calculation for the temporal convolution channel, and enable floating-point precision calculation for the spatial convolution channel.
[0091] The edge processor's vector computing unit (VCU) performs dual-channel convolution operations in parallel. The temporal convolution channel uses 8-bit integer quantization to convert floating-point convolution kernel weights and input data into fixed-point numbers, and the integer arithmetic unit (ICU) performs multiplication and addition operations. The spatial convolution channel maintains FP16 half-precision floating-point calculations to ensure accurate analysis of subtle changes in light intensity gradients. At the hardware level, integer computing units (INTCUs) are assigned to the temporal channel and floating-point computing units (FPCUs) to the spatial channel. A double-buffered memory mechanism enables parallel data pipeline processing.
[0092] The dual-channel processing mechanism achieves a balance between computing resources and feature accuracy through dynamic step-size optimization of temporal features and adaptive expansion of spatial perception; cross-channel conflict resolution prioritizes spatial data reliability to ensure the robustness of shadow direction prediction; channel random discarding operations screen strongly correlated feature dimensions to effectively suppress environmental noise interference; hardware-level computing acceleration strategies fully utilize the performance of edge processors, enabling feature extraction to meet the real-time requirements of minute-level response, providing spatiotemporal evolution characteristics with a high signal-to-noise ratio for subsequent compensation decisions.
[0093] Furthermore, in step S200, the spatiotemporal evolution feature vector is input into the power compensation decision model to obtain a cross-string power dynamic compensation solution, including:
[0094] Step S210 : generating a propagation path diagram of the shading effect in the photovoltaic array according to the shading correlation between multiple strings in the spatiotemporal evolution feature vector, and marking the cascade relationship between the directly shading strings and the indirectly affected strings.
[0095] Based on the shading correlations between multiple strings in the spatiotemporal evolution feature vectors (a correlation coefficient matrix with quantized values ranging from 0 to 1), a shading effect propagation path diagram for the photovoltaic array is constructed. This shading effect propagation path diagram represents string nodes in a graph structure, with the weight of the directed edges between nodes equal to the shading correlation value. A depth-first search algorithm is used to identify the impact path from the directly shaded strings. Three key nodes are marked: directly shaded strings (core nodes with correlations > 0.8), first-level indirect impact strings (adjacent nodes with correlations between 0.5 and ≤ 0.8), and second-level indirect impact strings (secondary nodes with correlations between 0.3 and ≤ 0.5), forming a cascading topological model of the shading effect.
[0096] Step S220 , based on the real-time current and voltage curves of the unshaded strings and the component aging factors, the instantaneous maximum output power adjustment margin of each unshaded string is calculated, and the power scheduling priority is determined in combination with the array topology identifier.
[0097] For unshaded strings, the current maximum power point (MPP) is calculated based on real-time current-voltage curves. The theoretical maximum output power is dynamically adjusted based on component aging factors (such as internal resistance growth rate and peak power attenuation rate). The difference between the adjusted theoretical maximum and the actual output power is used as the instantaneous power regulation margin. Furthermore, power scheduling priorities are assigned to unshaded strings based on the electrical connectivity relationships in the array topology identifier (such as series group voltage constraints and parallel branch current balancing requirements) and physical proximity. Strings with high electrical isolation and close physical proximity to shaded strings are prioritized as compensation sources.
[0098] Step S230 : generating an initial compensation scheme based on the compensation current demand of the shielded string, verifying the power stability of the strings that are indirectly affected based on the propagation path diagram, and starting dynamic attenuation of the compensation current value when a voltage over-limit risk is detected.
[0099] After generating an initial compensation plan based on the current loss of the shaded strings, the system analyzes the operating status of the indirectly affected strings using a shade propagation path diagram. If the DC bus voltage fluctuations of the primary or secondary indirectly affected strings approach a safety threshold (e.g., exceeding ±10% of the nominal voltage), a dynamic attenuation mechanism for the compensation current is activated. The compensation current demand is linearly reduced in proportion to the voltage exceeding the threshold (e.g., if the voltage exceeds the threshold by 5%, the compensation amount is attenuated by 20%). The attenuation coefficient is adjusted in real time through closed-loop feedback to ensure that the indirectly affected strings do not trigger cascading failures due to power scheduling.
[0100] Step S240 , splitting the initial compensation scheme into a basic compensation amount and a dynamic incremental compensation amount, wherein the basic compensation amount is executed immediately, and the dynamic incremental compensation amount is released in a gradient manner according to the rate of change of the shielding area.
[0101] The initial compensation scheme is broken down into a base compensation amount and a dynamic incremental compensation amount. The base compensation amount corresponds to 70%-80% of the shading loss and is immediately issued to the MPPT controller of the unshaded string for execution. The dynamic incremental compensation amount is gradually released based on the rate of change of the shading area in the spatiotemporal evolution characteristic vector. The release process has a three-level response mode: millisecond-level release (10ms step) is activated when the rate of change is greater than 5% / minute, second-level release (1s step) is activated when the rate of change is 1%-5% / minute, and release is suspended when the rate of change is less than 1% / minute. At the same time, the shadow movement direction prediction value is introduced to adjust the trend. If the shadow is predicted to move out within 2 minutes, only 50% of the incremental compensation amount is released.
[0102] The compensation decision-making mechanism accurately quantifies the cascading impact of shadows through shading propagation path modeling, and ensures the feasibility of the scheduling plan in combination with power margin assessment corrected for component aging; the voltage over-limit dynamic attenuation mechanism proactively prevents system stability risks; the graded compensation strategy takes into account response speed and adjustment accuracy, the basic compensation amount quickly smooths out the main power shortage, and the dynamic incremental compensation accurately matches the loss fluctuations with the shading change rate, maximizing the energy utilization efficiency under shadow conditions while ensuring the safe operation of the string.
[0103] Furthermore, the dynamic incremental compensation amount in step S240 is released gradually along with the rate of change of the shielding area, including:
[0104] Step S241 , matching the corresponding compensation amount release speed level according to the preset interval range of the real-time shielding area change rate, wherein the millisecond-level release is enabled in the high-speed change interval and the second-level release is enabled in the low-speed change interval.
[0105] The system matches the preset release speed levels based on the real-time calculated rate of change of the shadowed area. When the rate of change exceeds 5% / minute, it is classified as a high-speed change range, with a millisecond-level release mechanism (control period of 10ms) to accommodate rapid cloud drift. When the rate of change is in the medium-speed range of 1%-5% / minute, a second-level release mechanism (control period of 1s) is used to accommodate the slow movement of tree shadows. When the rate of change is below 1% / minute, it enters a low-speed range, suspending dynamic incremental release and maintaining only the basic compensation amount. The interval thresholds are set based on statistical analysis of historical shadow movement speeds, and the release period is precisely controlled by the edge processor's real-time clock module.
[0106] Step S242 , combining the shadow movement direction prediction value in the spatiotemporal evolution feature vector, performs a trend weighted correction on the current shielding area change rate, and reduces the compensation amount release ratio when it is predicted that the shadow is about to move out.
[0107] The current rate of change in the shadowed area is trend-weighted, combining the predicted shadow movement direction (angle vector and confidence) in the spatiotemporal evolution feature vector. When the shadow is predicted to move outside the current cluster's coverage area within the next two minutes (the predicted direction points toward the array boundary with a confidence level >80%), a proportional attenuation factor (typically 0.5-0.7) is applied to the dynamic incremental compensation to avoid overcompensation. When the shadow is predicted to persist (the direction points toward the array center with a confidence level >60%), full compensation is applied. A time-decay function is introduced into the correction process, linearly increasing the correction weight as the prediction time window shortens.
[0108] Step S243 , during the compensation release process, the voltage fluctuation amplitude of the DC bus string is monitored in real time. When the fluctuation amplitude continuously exceeds the safety threshold, the dynamic incremental compensation is immediately interrupted and the basic compensation maintaining mode is activated.
[0109] During the dynamic incremental compensation release process, the DC bus voltage fluctuation amplitude of all associated strings is synchronously monitored (sampling rate: 100Hz). If the voltage of any indirectly affected string exceeds the safety threshold of ±10% of the nominal voltage for three consecutive sampling cycles, the dynamic incremental compensation release process is immediately interrupted. After the interruption, the system automatically switches to the basic compensation hold mode, freezing the MPPT operating point of unshaded strings to the pre-interruption state and stabilizing the bus voltage using the voltage loop PID controller until the fluctuation amplitude returns to within the safety threshold.
[0110] In step S244 , the interruption release event and the corresponding shielding change characteristics are fed back to the power compensation decision model to dynamically adjust the mapping relationship between the preset interval range and the release speed level.
[0111] Key parameters of interruption release events (shading change rate, predicted direction, and voltage overrun magnitude at the time of interruption triggering) and their corresponding timestamps are packaged into a feature dataset and fed back into the power compensation decision model. The model reconstructs interval mapping rules based on historical interruption data analysis. For example, when high-speed change intervals frequently trigger interruptions, the high-speed interval threshold is automatically increased from >5% / minute to >7% / minute. Release speed parameters are also optimized, such as adjusting the millisecond release period from 10ms to 15ms to reduce the risk of voltage surges.
[0112] The gradient release mechanism achieves precise synchronization between dynamic compensation and shadow evolution speed through multi-level response speed matching with adaptive change rate; the trend correction function combines with direction prediction to avoid invalid compensation and improve energy scheduling efficiency; the real-time interruption and rapid switching mechanism of voltage exceeding the limit ensures the safe operation of the system; the closed-loop optimization of the release strategy enables the compensation process to continuously adapt to changes in the array operating characteristics, forming a self-improving system from decision-making to execution, and maintaining the stability and economy of power compensation in complex shadow scenarios.
[0113] Furthermore, after synchronously adjusting the MPPT controller operating points of adjacent photovoltaic strings through the Mesh network between edge nodes in step S300, the method further includes:
[0114] Step S400: Upload the shadow evolution feature vector and compensation execution results to the cloud platform, train the shadow prediction model in combination with satellite meteorological data, and send the updated model parameters to the photovoltaic array edge node.
[0115] After completing string-level power compensation, the edge node uploads the spatiotemporal evolution feature vectors (including shadow movement direction, shading area change rate, etc.) and compensation execution results (actual compensated current value, voltage fluctuation record, etc.) to the cloud platform via an encrypted link. The cloud platform simultaneously accesses raw remote sensing data streams transmitted by meteorological satellites and extracts cloud motion vectors (including cloud top height, movement speed, and direction) and solar position parameters (altitude and azimuth) in the PV array area in real time. A geographic grid matching engine dynamically aligns the satellite data with the longitude and latitude coordinates of the PV strings to construct a unified input dataset with a spatiotemporal reference. Based on this aligned multi-source data, a cross-scale feature fusion technique is used to train a shadow prediction model. The model maps the macroscopic cloud motion trends detected by satellite data with the microscopic shading evolution detected by edge nodes. An error compensation algorithm is used to correct for resolution bias in the satellite data, and weights are assigned based on microenvironmental characteristics (e.g., edge data is prioritized in urban areas, while satellite data is prioritized in open areas). The model training utilizes a sliding time window mechanism, retraining network parameters only for periods of recent cloud cover abrupt changes, while retaining network weights for historically stable scenarios. After training is completed, the updated model parameters are split into global shared parameters (such as basic convolution kernel weights) and regional adaptive parameters (such as direction prediction correction coefficients), and are distributed hierarchically to the photovoltaic array edge nodes in the corresponding geographical area through a secure channel authenticated by digital signatures. The regional adaptive parameters are customized based on micro-environmental characteristics such as array installation density and distribution of surrounding obstructions.
[0116] Furthermore, in step S400, the shadow evolution feature vector and compensation execution result are uploaded to the cloud platform, and the shadow prediction model is trained in combination with satellite meteorological data, including:
[0117] Step S410: Receive the original remote sensing data stream sent by the meteorological satellite on the cloud platform, extract the satellite cloud motion vector and solar position parameters in the area where the photovoltaic array is located, and dynamically align the remote sensing data with the spatial coordinates of the photovoltaic strings through geographic grid matching.
[0118] The cloud platform receives raw remote sensing data streams sent by meteorological satellites, and uses a feature extraction engine to analyze the satellite cloud motion vectors (including cloud top height, movement speed, and direction angle) and solar position parameters (altitude and azimuth) in the area where the PV array is located. Based on the latitude and longitude coordinates and installation inclination information of the PV strings, a geographic grid mapping relationship is established: the kilometer-level grid of the satellite data is refined into a sub-meter grid adapted to the physical location of the strings. The cloud motion vector is mapped to each string coordinate point through a spatial interpolation algorithm, and the theoretical light intensity on the string plane is calculated based on the solar position parameters, forming a satellite-string alignment dataset with a unified time and space reference.
[0119] In step S420, the spatiotemporally aligned satellite cloud motion vectors are cross-scale correlated with the shadow evolution feature vectors uploaded by the edge nodes to generate a fusion feature matrix. The cross-scale feature correlation includes error compensation between the satellite cloud movement direction and the edge shadow movement direction, and weight distribution between the satellite cloud coverage rate and the edge shielding area change rate.
[0120] The macroscopic features of satellite cloud layers aligned in time and space are cross-scale correlated with the microscopic shadow evolution features uploaded by edge nodes. For cloud movement direction data, an error compensation algorithm is used to eliminate satellite observation angle deviations (such as converting satellite pitch angle deviations into ground projection vector corrections). For cloud coverage data, weights are assigned based on the geographical microenvironment type: urban areas with dense buildings are given a 70% weight for edge shading data (due to insufficient satellite resolution), and open plains are given a 60% weight for satellite data. Finally, a fusion feature matrix is generated, whose row dimension corresponds to the spatial distribution of clusters, and the column dimension contains cross-scale parameters such as the movement direction vector after error compensation and the shading change rate after weight assignment.
[0121] In step S430 , based on the correspondence between the fused feature matrix and the historical compensation execution results, a sliding time window mechanism is used to update the spatiotemporal convolution kernel parameters in the shadow prediction model, and only the network layer affected by the cloud mutation is retrained.
[0122] Based on the correspondence between the fusion feature matrix and the historical compensation execution results (actual compensation current deviation value, voltage stability index), a sliding time window mechanism is adopted to update the shadow prediction model: first, gradient change detection is used to identify the network layers affected by recent cloud mutations (such as layers with activation value fluctuations of >30% in the spatiotemporal convolution kernel), and the remaining network weights are frozen; then only the target layer is retrained, and the training data is selected from the time slices where the shading event occurs within the current time window (typical value 2 hours). A penalty term for compensation execution deviation is added to the loss function, so that the model update focuses on adaptive optimization in scenarios with environmental mutations.
[0123] In step S440 , the updated model parameters are divided into global shared parameters and regional adaptive parameters according to the differences in the geographical microenvironment of each edge node, and are distributed hierarchically to the corresponding photovoltaic array edge nodes through a digital signature channel.
[0124] Based on the differences in the geographic microenvironment of edge nodes, the updated model parameters are divided into two categories: globally shared parameters retain basic feature extraction capabilities (such as the initial weight set of the spatiotemporal convolution kernel) and are distributed to all nodes via standard communication protocols; regionally adaptive parameters contain microenvironment-specific modules (such as the directional correction coefficient for building shadows and the shading correlation threshold for tree shadows), and are generated into differentiated parameter packages based on geographic grid partitions. All parameters are distributed through a digitally signed authentication channel, with regional parameters using asymmetric encryption, which can only be decrypted and loaded by edge nodes within the target grid.
[0125] The cloud-based training mechanism solves the modeling mismatch between macro-meteorological observations and micro-shadow evolution through precise spatiotemporal alignment of satellite and edge data and cross-scale weight distribution; the incremental update strategy significantly reduces the computational load of model evolution and focuses on rapid adaptation to environmental mutation scenarios; the hierarchical distribution of parameters achieves customized optimization of regional characteristics while ensuring the consistency of the basic model, so that the shadow prediction capability can continuously adapt to the localized operating environment of distributed photovoltaics, providing self-evolving prediction support for dynamic compensation decisions.
[0126] In addition, household photovoltaic data collection methods based on wireless Internet of Things also include:
[0127] Step S500: continuously calculating the change in system entropy during the compensation process, and triggering a compensation strategy reconstruction mechanism when the entropy exceeds a threshold.
[0128] During power compensation, edge nodes continuously collect three core entropy change factors: the fluctuation ratio between the actual compensation current and the target value (reflecting energy balance), the transmission delay of power scheduling commands between strings (indicating communication stability), and the frequency of MPPT controller operating point adjustments (indicating the intensity of control oscillations). These entropy change factors are dynamically weighted and fused based on the current operating conditions of the PV array (ambient temperature and module aging). The weight of current fluctuation is increased in high temperatures (as temperature drift affects current accuracy), and the weight of MPPT adjustment frequency is increased when modules are severely aged (as frequent adjustments are necessary for aged modules). This fusion generates a system entropy change, with increases in this value representing increasing system disturbances. When the entropy value continuously exceeds a dynamic threshold (adaptively adjusted with light intensity and array size), a hierarchical reconfiguration mechanism is triggered. If the entropy value exceeds the limit by less than 10%, compensation parameters are adjusted locally (e.g., the release rate level is modified). If the value exceeds the limit by 10%-30%, the power scheduling priority is reconfigured. If the value exceeds the limit by more than 30%, the compensation decision model is globally retrained. All reconstruction events and effect data are fed back to the cloud platform, and the entropy change factor weight coefficient and threshold curve are optimized through reinforcement learning to form a self-evolving monitoring system.
[0129] Furthermore, the continuous calculation of the system entropy value change during the compensation process in step S500 includes:
[0130] Step S510 : synchronously collect compensation current fluctuation rate, power scheduling delay between strings, and MPPT controller response frequency at the edge node to construct a three-dimensional entropy change factor set for the dynamic compensation process.
[0131] Three key operating parameters are collected synchronously and in real time at the edge node: the standard deviation fluctuation between the actual compensation current and the target value (reflecting power balancing stability), the end-to-end delay from the generation to the execution of the inter-string power scheduling command (calculated via the Mesh network timestamp, indicating communication reliability), and the number of adjustments per unit time of the MPPT controller operating point (indicating the intensity of control oscillation). These three parameters constitute a three-dimensional set of entropy change factors for the dynamic compensation process. The current fluctuation rate is sampled and counted using a 10ms current sensor, the power scheduling delay is synchronously measured using the local clock of the edge node, and the MPPT response frequency is directly read from the controller register to ensure the timeliness and accuracy of the data source.
[0132] Step S520 , dynamically weighting and fusing the three-dimensional entropy change factor set according to the current operating conditions of the photovoltaic array to generate a system entropy value change, wherein the weighting coefficient is adaptively adjusted according to the ambient temperature and the aging degree of the components.
[0133] The fusion weights of the entropy change factors are dynamically adjusted based on the current operating environment of the PV array: when the ambient temperature exceeds 40°C, the weight for compensating for current fluctuation is increased to 0.6 (high temperature exacerbates current measurement drift); when the module aging factor indicates a peak power attenuation greater than 15%, the weight for MPPT response frequency is increased to 0.5 (aging modules require less frequent adjustments); baseline weights (0.4 for fluctuation, 0.3 for delay, and 0.3 for frequency) are used for all other operating conditions. The weighted entropy change factors are linearly fused to generate the system entropy change value, which is normalized to the range of 0-1. Entropy increases directly indicate an increase in system disorder.
[0134] Step S530: When the system entropy value change exceeds the dynamic threshold, the preset reconstruction strategy library is matched according to the entropy value exceeding the limit amplitude and duration, triggering local compensation parameter adjustment or global compensation strategy reconstruction.
[0135] Set a dynamic threshold curve that adapts to light intensity and array size (e.g., sunny day threshold = 0.7, cloudy day threshold = 0.5). When the system entropy value exceeds the threshold for three consecutive cycles, a graded response is initiated based on the magnitude of the excess: when the entropy value exceeds the limit by less than 10%, local parameter adjustment is triggered (e.g., modifying the release speed level or attenuation coefficient of dynamic incremental compensation); when the limit is exceeded by 10%-30%, the power scheduling priority algorithm is reconstructed (the string priority weight in S220 is recalculated); when the limit is exceeded by more than 30%, the power compensation decision model is globally retrained (the basic model is called from the cloud for edge fine-tuning). The reconstruction operation is performed in a secure sandbox on the edge to avoid affecting the online compensation process.
[0136] In step S540, the entropy value exceeding limit event that triggers reconstruction and the corresponding reconstruction effect are fed back to the cloud platform, and the entropy change factor weight coefficient and the dynamic threshold curve are optimized through reinforcement learning.
[0137] Key data on entropy overrun events (excess magnitude, duration, and type of triggered reconstruction) and system stability indicators (voltage qualification rate and compensation matching) within 30 minutes of reconstruction are fed back to the cloud platform. The platform optimizes two core parameters using a reinforcement learning framework: the entropy change factor weight coefficient is updated using a Q-learning algorithm, dynamically adjusting the weight distribution based on historical data on reconstruction results under different operating conditions; and the dynamic threshold curve is modeled using Gaussian process regression. The optimal threshold envelope is predicted based on seasonal changes and component aging trends, and periodically distributed to edge nodes to update the local threshold library.
[0138] Through the fusion of operating condition perception of multi-dimensional entropy change factors, a quantitative stability assessment system for the power compensation system is constructed; the hierarchical reconstruction strategy achieves precise response from parameter fine-tuning to model iteration, effectively suppressing systemic risks caused by control oscillations and communication delays; entropy value event-driven closed-loop learning continuously optimizes the monitoring strategy, enabling the system to adapt to component aging and environmental changes, significantly improving the robustness and energy utilization sustainability of household photovoltaic arrays under long-term dynamic shadow operation.
[0139] Accordingly, please refer to Figure 2 A second aspect of an embodiment of the present invention provides a household photovoltaic data acquisition device based on a wireless Internet of Things. The household photovoltaic array data is acquired based on the above-mentioned household photovoltaic data acquisition method based on a wireless Internet of Things. Each of the plurality of strings of the photovoltaic array is provided with a current sensor, a voltage sensor, and an ambient light intensity sensor. The acquisition device includes:
[0140] Data acquisition module 1 is used to collect string-level current and voltage curves and ambient light intensity data in real time at the edge nodes of the photovoltaic array. The spatiotemporal evolution feature vector of shadow shading is extracted through a spatiotemporal convolutional neural network. The spatiotemporal evolution feature vector includes: the predicted value of the shadow movement direction, the rate of change of the shaded area, and the shade correlation between multiple strings;
[0141] Dynamic compensation module 2 is used to input the spatiotemporal evolution feature vector into the power compensation decision model to obtain a cross-string power dynamic compensation scheme, which includes: the compensation current value of the shaded string and the maximum output power adjustment of the adjacent unshaded string;
[0142] The device control module 3 is used to synchronously adjust the MPPT controller operating points of adjacent photovoltaic strings through the Mesh network between edge nodes according to the power dynamic compensation scheme, so that the power loss of the shaded string is compensated by the unshaded string in real time.
[0143] Accordingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the above-mentioned household photovoltaic data collection method based on wireless Internet of Things.
[0144] Accordingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the above-mentioned household photovoltaic data collection method based on wireless Internet of Things.
[0145] The embodiments of the present invention are intended to protect a household photovoltaic data collection method and device based on a wireless Internet of Things, which has the following effects:
[0146] 1. Through the multi-dimensional feature fusion mechanism of the spatiotemporal convolutional neural network and the adaptive working condition analysis of the power compensation decision model, accurate minute-level response to dynamic shading scenarios is achieved. The spatiotemporal branch structure adopts a dynamic convolution kernel adjustment strategy, significantly reducing the computing load by 40% in strong light environments while keeping the shadow movement direction prediction error within 5°. Based on the shading propagation path diagram and the dynamic incremental compensation gradient release mechanism, the matching degree between the compensation current value and the actual shading loss is improved to over 95%, completely avoiding the over-compensation or under-compensation risks of traditional solutions. By embedding component aging factors into the feature vector and implementing a dynamic voltage over-limit attenuation strategy, the hot spot incidence rate is suppressed to below 0.1%, significantly improving equipment safety.
[0147] 2. A prediction-compensation closed-loop optimization system was established by integrating satellite meteorological data with edge features across scales and implementing a hierarchical distribution mechanism for model parameters. Error compensation between satellite cloud motion vectors and edge shadow features significantly extended cloud cover prediction time from 30 seconds to 5 minutes. A sliding window retraining mechanism only updates network layers affected by sudden changes, tripling model iteration efficiency. The hierarchical distribution of regional adaptive parameters effectively narrowed the differences in PV array prediction accuracy across different geographic microenvironments, optimizing it from ±15% to ±3%, significantly enhancing environmental generalization capabilities.
[0148] 3. Dynamic fusion of a three-dimensional entropy change factor set and reinforcement learning-driven strategy optimization ensure the long-term stability of cross-string compensation. By dynamically weighting the compensation for entropy change factors such as current fluctuation rate and power dispatch delay, the accuracy of entropy over-limit warning reaches 92%. The reconstruction strategy library triggers adjustments in a graded manner based on the magnitude of entropy over-limit, reducing power generation losses caused by compensation failure by 70%. The entropy event feedback and weight coefficient online optimization mechanism ensure that the compensation strategy maintains an adaptability of more than 90% during the component aging cycle, achieving continuous evolution of resilience.
[0149] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0150] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0151] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0152] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the scope of protection of the claims of the present invention.
Claims
1. A household photovoltaic data collection method based on wireless Internet of Things, characterized in that: Several strings of the photovoltaic array are equipped with current sensors, voltage sensors and ambient light intensity sensors. The acquisition method includes the following steps: At the edge nodes of the photovoltaic array, the current and voltage curves of the group strings and the ambient light intensity data are collected in real time. The spatiotemporal evolution feature vector of the shadow shading is extracted through the spatiotemporal convolutional neural network. The spatiotemporal evolution feature vector includes: the predicted value of the shadow movement direction, the rate of change of the shaded area, and the shade correlation between multiple groups of strings; Inputting the spatiotemporal evolution characteristic vector into a power compensation decision model to obtain a cross-string power dynamic compensation scheme, the scheme including: a compensation current value of the shaded string and a maximum output power adjustment value of adjacent unshaded strings; According to the dynamic power compensation scheme, the MPPT controller operating points of adjacent photovoltaic strings are synchronously adjusted through the Mesh network between edge nodes, so that the power loss of the shaded string is compensated by the unshaded string in real time.
2. The household photovoltaic data collection method based on wireless Internet of Things according to claim 1 is characterized in that: The extraction of the spatiotemporal evolution feature vector of shadow masking by the spatiotemporal convolutional neural network includes: Step S110, slicing the real-time collected string-level current and voltage curves according to time windows, and mapping the ambient light intensity data into a light intensity distribution matrix according to the physical partitions of the photovoltaic array; Step S120, the current and voltage slices and the light intensity distribution matrix are processed in parallel by the branch structure of the spatiotemporal convolutional neural network, wherein the temporal convolution channel extracts the timing characteristics of shadow movement, and the spatial convolution channel extracts the shading correlation characteristics between strings; Step S130: Confidence-weighted fusion is performed on the shadow movement direction prediction value output by the temporal convolution channel and the multiple groups of inter-string occlusion correlations output by the spatial convolution channel. When the consistency of the directions of the two is lower than a threshold, the ambient light intensity data is re-collected. Step S140, based on the group cascade-level shading state diagram output by the spatial convolution channel, the shading area change rate is calculated by comparing the pixels of adjacent time windows, and instantaneous interfering changes are filtered out; Step S150 : After the feature vector is generated, the current array topology identifier and the component aging factor are embedded therein for the power compensation decision model to perform adaptive analysis of the working condition.
3. The household photovoltaic data collection method based on wireless Internet of Things according to claim 2 is characterized in that: The branch structure of the spatiotemporal convolutional neural network is used to parallelly process the current and voltage slices and the light intensity distribution matrix, wherein the temporal convolution channel extracts the timing characteristics of shadow movement and the spatial convolution channel extracts the shading correlation characteristics between strings, including: A depthwise separable convolution kernel is used to extract temporal features from current and voltage slices. The step size of the one-dimensional temporal convolution kernel is dynamically adjusted with the light intensity. The step size is increased in strong light environments to reduce the computational load. A dilated convolution kernel is used to extract spatial features from the light intensity distribution matrix, and the perception range of inter-string correlation features is expanded by dynamically adjusting the dilation ratio, which is inversely correlated with the physical spacing of the photovoltaic arrays. Perform cross-channel attention weighting on the intermediate feature maps output by the temporal convolution channel and the intermediate feature maps output by the spatial convolution channel. When a conflict between temporal features and spatial features is detected, the spatial channel features are prioritized and the temporal channel weights are frozen. After the dual-channel feature fusion, a channel random dropout operation is performed to retain the feature dimensions that are strongly related to shadow evolution and discard the feature dimensions dominated by environmental noise; The dual-channel convolution operation is performed in parallel through the vector computing unit of the edge processor, enabling integer quantization calculation for the temporal convolution channel and floating-point precision calculation for the spatial convolution channel.
4. The household photovoltaic data collection method based on wireless Internet of Things according to claim 3 is characterized in that: Inputting the spatiotemporal evolution feature vector into a power compensation decision model to obtain a cross-string power dynamic compensation scheme includes: Based on the shading correlation between multiple strings in the spatiotemporal evolution feature vector, a propagation path diagram of the shading effect in the photovoltaic array is generated, marking the cascade relationship between directly shading strings and indirectly affected strings; Based on the real-time current and voltage curves of the unshaded strings and the component aging factor, the instantaneous maximum output power adjustment margin of each unshaded string is calculated, and the power scheduling priority is determined in combination with the array topology identifier; Generate an initial compensation plan based on the compensation current requirements of the shaded strings. Verify the power stability of the strings that are indirectly affected by the propagation path diagram. Initiate dynamic attenuation of the compensation current value when a voltage over-limit risk is detected. The initial compensation scheme is divided into a basic compensation amount and a dynamic incremental compensation amount, wherein the basic compensation amount is executed immediately and the dynamic incremental compensation amount is released with the gradient of the shielding area change rate.
5. The household photovoltaic data collection method based on wireless Internet of Things according to claim 4 is characterized in that: The dynamic incremental compensation amount is released gradually along with the rate of change of the shielding area, including: According to the preset range of the real-time shielding area change rate, the corresponding compensation release speed level is matched, where the high-speed change range enables millisecond release, and the low-speed change range enables second release; Combined with the shadow movement direction prediction value in the spatiotemporal evolution feature vector, a trend-weighted correction is performed on the current rate of change of the shaded area. When the shadow is predicted to move out, the compensation release ratio is reduced. During the compensation release process, the voltage fluctuation amplitude of the string DC bus is monitored in real time. When the fluctuation amplitude continuously exceeds the safety threshold, the dynamic incremental compensation is immediately interrupted and the basic compensation maintenance mode is activated. The interruption release event and the corresponding shielding change characteristics are fed back to the power compensation decision model to dynamically adjust the mapping relationship between the preset interval range and the release speed level.
6. The household photovoltaic data collection method based on wireless Internet of Things according to any one of claims 1 to 5, characterized in that: After synchronously adjusting the operating points of the MPPT controllers of adjacent photovoltaic strings through the Mesh network between the edge nodes, the method further includes: The shadow evolution feature vector and compensation execution results are uploaded to the cloud platform, the shadow prediction model is trained in combination with satellite meteorological data, and the updated model parameters are sent to the edge nodes of the photovoltaic array.
7. The household photovoltaic data collection method based on wireless Internet of Things according to claim 6 is characterized in that: The shadow evolution feature vector and compensation execution results are uploaded to the cloud platform, and the shadow prediction model is trained in combination with satellite meteorological data, including: Receive the original remote sensing data stream sent by meteorological satellites on the cloud platform, extract the satellite cloud motion vector and solar position parameters in the area where the photovoltaic array is located, and dynamically align the remote sensing data with the spatial coordinates of the photovoltaic strings through geographic grid matching; Perform cross-scale feature correlation on the spatiotemporally aligned satellite cloud motion vectors and the shadow evolution feature vectors uploaded by the edge nodes to generate a fusion feature matrix. The cross-scale feature correlation includes error compensation between the satellite cloud movement direction and the edge shadow movement direction, and weight distribution between the satellite cloud coverage rate and the edge shadow area change rate. Based on the correspondence between the fused feature matrix and the historical compensation execution results, a sliding time window mechanism is used to update the spatiotemporal convolution kernel parameters in the shadow prediction model, and only the network layers affected by the cloud mutation are retrained; According to the differences in the geographical microenvironment of each edge node, the updated model parameters are split into global shared parameters and regional adaptive parameters, and are distributed hierarchically to the corresponding photovoltaic array edge nodes through the digital signature channel.
8. The household photovoltaic data collection method based on wireless Internet of Things according to any one of claims 1 to 5, characterized in that: Also includes: The system entropy value change during the compensation process is continuously calculated, and the compensation strategy reconstruction mechanism is triggered when the entropy value exceeds the threshold.
9. The household photovoltaic data collection method based on wireless Internet of Things according to claim 8, characterized in that: The continuous calculation of the system entropy value change during the compensation process includes: At the edge nodes, the compensation current fluctuation rate, inter-string power scheduling delay, and MPPT controller response frequency are synchronously collected to construct a three-dimensional entropy change factor set for the dynamic compensation process. According to the current operating conditions of the photovoltaic array, the three-dimensional entropy change factor set is dynamically weighted and fused to generate the system entropy value change, where the weighting coefficient is adaptively adjusted with the ambient temperature and the aging degree of the components; When the system entropy value change exceeds the dynamic threshold, the preset reconstruction strategy library is matched according to the entropy value exceeding the limit amplitude and duration, triggering local compensation parameter adjustment or global compensation strategy reconstruction; The entropy value exceeding limit event that triggers reconstruction and the corresponding reconstruction effect are fed back to the cloud platform, and the entropy change factor weight coefficient and dynamic threshold curve are optimized through reinforcement learning.
10. A household photovoltaic data acquisition device based on wireless Internet of Things, characterized in that: The household photovoltaic array data is obtained based on the household photovoltaic data collection method based on the wireless Internet of Things as described in any one of claims 1 to 9, wherein the plurality of strings of the photovoltaic array are each provided with a current sensor, a voltage sensor, and an ambient light intensity sensor, and the collection device includes: A data acquisition module is used to collect string-level current and voltage curves and ambient light intensity data in real time at the edge nodes of the photovoltaic array. The module then uses a spatiotemporal convolutional neural network to extract the spatiotemporal evolution feature vector of shadow shading. The spatiotemporal evolution feature vector includes: the predicted value of the shadow movement direction, the rate of change of the shaded area, and the shade correlation between multiple strings. A dynamic compensation module, configured to input the spatiotemporal evolution characteristic vector into a power compensation decision model to obtain a cross-string power dynamic compensation scheme, the scheme comprising: a compensation current value of the shaded string and a maximum output power adjustment value of adjacent unshaded strings; The device control module is used to synchronously adjust the MPPT controller operating points of adjacent photovoltaic strings through the Mesh network between edge nodes according to the power dynamic compensation scheme, so that the power loss of the shaded string is compensated by the unshaded string in real time.
Citation Information
Cited By
Photovoltaic new energy system monitoring method, computer equipment and storage medium
CN122092791A
