Multi-level collaborative balancing method and system for intelligent urban lighting system
By constructing a multi-level collaborative balancing method for smart city lighting systems, and utilizing data processing of illuminance and energy consumption parameters and graph convolution technology, the problem of uncoordinated control in existing lighting systems has been solved, achieving energy saving and stable operation of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING LANDSKY LIGHTING TECH CO LTD
- Filing Date
- 2026-04-01
- Publication Date
- 2026-05-01
AI Technical Summary
The lack of effective modeling of the dynamic correlation within large-scale lighting networks in existing smart city lighting systems results in the inability of control actions to form a coordinated and orderly step-by-step response, which may cause instantaneous grid load shocks and contradictions between energy efficiency optimization and lighting quality maintenance.
By collecting light intensity and energy consumption parameters, a running state vector is constructed and graph convolution operation is performed to obtain node evaluation values and regional coupling degree. The load distribution pattern is hierarchically clustered, cross-regional influence factors are calculated, a multi-level topology is constructed, the transmission path and delay coefficient are determined, the regulation priority sequence and amplitude are generated, and the balanced regulation command is generated in combination with energy consumption constraints.
It achieves coordinated and balanced control of the lighting system, avoids command conflicts and timing errors, ensures that the control is carried out within the overall energy consumption limit of the system, and achieves the energy-saving goal.
Smart Images

Figure CN121961810A_ABST
Abstract
Description
Multi-level collaborative balancing method and system for smart city lighting systems Technical Field
[0001] This invention relates to the field of smart lighting technology, and in particular to a multi-level collaborative balancing method and system for smart urban lighting systems. Background Technology
[0002] In the construction of smart cities, intelligent control of lighting systems is a key link in improving energy efficiency and ensuring the quality of public lighting. In existing technologies, lighting control methods mainly rely on responsive adjustment of independent parameters of individual lighting terminals or local areas, or the use of time-sharing and zoning strategies. Based on a preset schedule or simple area division, groups of streetlights are managed to operate in a unified manner, usually only considering the real-time status of the terminal itself or the static attributes of the area to which it belongs.
[0003] However, existing technologies still lack effective modeling of the dynamic correlations within large-scale lighting networks, making it difficult to address the mutual influences between lighting terminals due to physical proximity or electrical connections, and neglecting the impact of system hierarchy and control command transmission timing. This results in control actions failing to form a coordinated and orderly step-by-step response, which may not only cause instantaneous grid load shocks, but also presents a contradiction between overall energy efficiency optimization and lighting quality maintenance when facing dynamic changes. Summary of the Invention
[0004] This invention provides a multi-level collaborative balancing method and system for smart city lighting systems, which can at least solve some of the problems existing in the prior art.
[0005] A first aspect of this invention provides a multi-level collaborative balancing method for a smart city lighting system, comprising:
[0006] The system collects illuminance parameters and energy consumption parameters of lighting terminals within the illumination area. It performs temporal sliding window statistics on the illuminance parameters to obtain brightness fluctuation characteristics. Based on these characteristics and energy consumption parameters, it constructs an operating state vector. It then constructs a regional adjacency matrix based on the topological connections between lighting terminals and performs graph convolution on the operating state vector to obtain node evaluation values and regional coupling degrees. The system performs hierarchical clustering on the node evaluation values to obtain load distribution patterns. Based on the regional coupling degrees, it calculates cross-regional influence factors and solves for hierarchical dependencies by combining the node sets corresponding to the load distribution patterns. Based on these hierarchical dependencies, it constructs a multi-level topology and extracts inter-layer transmission paths. It determines transmission delay coefficients based on these inter-layer transmission paths. Based on the transmission delay coefficients, it performs temporal sorting of the inter-layer transmission paths to obtain a control priority sequence. It determines the control trigger time for each level of node based on the control priority sequence and determines the control amplitude for each level of node based on the node evaluation values. Based on preset energy consumption constraints, it compares and verifies the control amplitude to obtain a corrected control amplitude. Based on the corrected control amplitude, it generates a balanced control command and performs step-by-step control on the lighting terminals corresponding to each level of node.
[0007] In one optional implementation, illuminance parameters within the lighting area and energy consumption parameters of the lighting terminals are collected. A time-domain sliding window statistical analysis is performed on the illuminance parameters to obtain brightness fluctuation characteristics. Constructing an operating state vector based on the brightness fluctuation characteristics and the energy consumption parameters includes: acquiring illuminance parameters at multiple spatial locations within the lighting area using distributed sensing devices; arranging the illuminance parameters according to corresponding timestamps and initializing a sliding window; calculating the mean and variance of the illuminance parameters within each sliding window to obtain window statistical characteristics; performing a difference operation on the window statistical characteristics of adjacent windows to obtain a rate of change sequence; identifying the rising and falling phases of the illuminance parameters based on the rate of change sequence and marking the turning points; and matching the window statistical characteristics with the light intensity parameters corresponding to the turning points. Brightness fluctuation characteristics are obtained by combining and encoding intensity parameters; real-time current and voltage parameters of each lighting terminal are obtained from distributed lighting terminals and instantaneous power is calculated; the instantaneous power is integrated over time to obtain cumulative energy consumption value; the cumulative energy consumption value and a preset benchmark energy consumption value are normalized to obtain energy consumption parameters; the brightness fluctuation characteristics are arranged into a brightness feature matrix according to the spatial location of the lighting area, and the energy consumption parameters are arranged into an energy consumption feature vector according to the lighting terminal; a mapping matrix is established based on the coverage relationship between the lighting terminal and the spatial location; the brightness feature matrix is spatially aligned based on the mapping matrix to obtain an aligned brightness feature matrix; the aligned brightness feature matrix and the energy consumption feature vector are concatenated and dimensionally reduced by projection to obtain an operating state vector.
[0008] In one optional implementation, constructing a region adjacency matrix based on the topological connection relationship between lighting terminals and performing graph convolution operation on the running state vector to obtain node evaluation values and region coupling degree includes: obtaining the signal transmission delay and data interaction frequency between lighting terminals and constructing a spatiotemporal coupling tensor; performing tensor decomposition and outer product reconstruction on the spatiotemporal coupling tensor to obtain a connection strength matrix; constructing a region adjacency matrix based on the connection strength matrix; arranging the running state vector into a state feature matrix and performing tensor contraction operation on the region adjacency matrix to obtain primary aggregation features; performing spectral decomposition on the region adjacency matrix to obtain an eigenvalue sequence; constructing a frequency domain filter based on the eigenvalue sequence and applying it to the primary aggregation... The features are filtered and transformed to obtain frequency domain enhanced features. Based on the frequency domain enhanced features and the state feature matrix, attention enhanced features are calculated. Based on the region adjacency matrix, the set of neighboring nodes for each lighting terminal is determined, and the attention enhanced features are aggregated into neighborhood features to obtain propagation features. Node evaluation values are determined by graph pooling. Based on the region adjacency matrix, a multi-hop neighborhood topology subgraph is extracted and isomorphic encoding is performed to obtain a topology pattern vector. Based on the topology pattern vector, a structure similarity matrix is constructed and bilinear pooled with the state feature matrix to obtain structure-aware features. Graph comparison learning is performed on the structure-aware features to determine information flow. Entropy measurement is performed on the information flow to calculate the region coupling degree.
[0009] In one optional implementation, hierarchical clustering of the node evaluation values to obtain load distribution patterns, and calculation of cross-regional influence factors based on the regional coupling degree, combined with the node set corresponding to the load distribution pattern to solve for hierarchical dependencies, includes: dividing the node evaluation values into multiple load levels, calculating the variance of the node evaluation values of lighting terminals within each load level and adjusting the load levels to obtain optimized load levels, extracting the lighting terminal set corresponding to each optimized load level and marking it as a load distribution pattern, counting the number of connection edges within each load distribution pattern based on the regional adjacency matrix and calculating the internal connection density, counting the number of cross-pattern connection edges between different load distribution patterns, and constructing a pattern coupling strength based on the number of cross-pattern connection edges and the internal connection density. The load distribution pattern is used to group the regional coupling degree and calculate the mean regional coupling degree of each load distribution pattern to obtain the mean mode coupling. The product of the mean mode coupling degree and the corresponding element in the mode coupling strength matrix is calculated to obtain the initial cross-regional influence factor. The initial cross-regional influence factor is attenuated and corrected according to the topological distance and solved by combining the pre-acquired frequency domain enhancement features to obtain the corrected cross-regional influence factor. The lighting terminal with the highest node evaluation value is selected from the node set corresponding to the load distribution pattern as the mode representative node. The topological hop count between different mode representative nodes is calculated and the inter-mode dependency strength is determined by combining the corrected cross-regional influence factor. A directed dependency graph is constructed based on the inter-mode dependency strength and the topological sorting is performed to obtain the hierarchical dependency relationship.
[0010] In one optional implementation, constructing a multi-level topology based on the hierarchical dependency relationship and extracting inter-layer transmission paths, and determining the transmission delay coefficient based on the inter-layer transmission paths, includes: determining the hierarchical sorting result based on the hierarchical dependency relationship and assigning the lighting terminals to the corresponding hierarchical node sets; establishing inter-layer connection edges between hierarchical node sets based on the dependency edges of a pre-constructed directed dependency graph to obtain an inter-layer connection edge set; constructing an inter-layer connection density matrix by counting the number of lighting terminals in the hierarchical node sets and the number of inter-layer connection edges between different levels; constructing a multi-level topology based on the inter-layer connection edge set; selecting lighting terminals from the highest-level node set of the multi-level topology and traversing downwards along the inter-layer connection edge set to obtain the inter-layer connection density matrix. The set of conduction paths is generated by extracting the set of node pairs traversed by each interlayer conduction path and querying the corresponding connection density based on the interlayer connection density matrix. Based on the connection density, the set of effective interlayer conduction paths is determined. The path connection weights corresponding to each effective interlayer conduction path are extracted from the region adjacency matrix. The path conduction efficiency is calculated based on the length of the effective interlayer conduction path and the path connection weights. The node evaluation values of the starting and ending nodes on the effective interlayer conduction paths are extracted and the difference between the node evaluation values is calculated. The conduction impedance is calculated based on the difference between the node evaluation values and the path conduction efficiency. Based on the predetermined frequency domain enhancement features, the proportion of low-frequency components of the starting node is extracted and the conduction impedance is frequency domain corrected to obtain the conduction delay coefficient.
[0011] In one optional implementation, the control priority sequence is obtained by temporally sorting the inter-layer conduction paths based on the conduction delay coefficient. The control trigger time of each level node is determined according to the control priority sequence, and the control amplitude of each level node is determined by combining the node evaluation value. This includes: sorting the conduction delay coefficients corresponding to each effective inter-layer conduction path in ascending order; extracting the lighting terminal sequence contained in each effective inter-layer conduction path according to the sorting order and combining them sequentially to obtain the control priority sequence; extracting the position index of each lighting terminal from the control priority sequence and calculating the initial trigger time based on the position index; and then... The connection density corresponding to the node set of each lighting terminal's level is extracted from the degree matrix, and the initial trigger time is adjusted based on the connection density to obtain the control trigger time; the node evaluation value corresponding to each lighting terminal in the control priority sequence is extracted, and the mean of the evaluation values of the control priority sequence is calculated; the deviation between the node evaluation value corresponding to each lighting terminal and the mean of the evaluation values is calculated to obtain the evaluation deviation; the path conduction efficiency of the effective inter-layer conduction path of each lighting terminal is extracted, and the evaluation deviation is weighted by conduction efficiency based on the path conduction efficiency to obtain the weighted evaluation deviation; the control amplitude of each level node is determined based on the weighted evaluation deviation.
[0012] In one optional implementation, the process of comparing and verifying the adjustment amplitude based on preset energy consumption constraints to obtain a corrected adjustment amplitude, and generating a balanced adjustment command based on the corrected adjustment amplitude to adjust the lighting terminals corresponding to each level node step by step includes: extracting a global energy consumption upper limit and a set of level-specific energy consumption upper limits from the preset energy consumption constraints; calculating the estimated energy consumption of each lighting terminal based on the adjustment amplitude and accumulating it by level to obtain a level-specific energy consumption distribution; comparing the level-specific energy consumption distribution with the set of level-specific energy consumption upper limits to identify the energy consumption exceeding the limit level and extracting the corresponding path conduction efficiency to calculate a reduction coefficient; and adjusting the lighting terminals within the energy consumption exceeding the limit level based on the reduction coefficient. The control amplitude is reduced to obtain a hierarchical correction control amplitude. Based on the hierarchical correction control amplitude, the global cumulative energy consumption is calculated and compensated by combining the global energy consumption upper limit to obtain the correction control amplitude. Based on the correction control amplitude and the control trigger time, the control parameters of each lighting terminal are determined and a hierarchical control parameter set is constructed according to the hierarchy. The path conduction efficiency is extracted from the pre-acquired inter-layer connection edge set and the inter-layer conduction coefficient is calculated. Based on the inter-layer conduction coefficient, the hierarchical control parameter set is subjected to conduction compensation and a balanced control command is generated. Based on the balanced control command and the conduction delay coefficient, the lighting terminals corresponding to each level node are controlled step by step along the multi-level topology.
[0013] A second aspect of this invention provides a multi-level collaborative equalization system for smart city lighting, comprising: a data acquisition unit for acquiring illuminance parameters and energy consumption parameters of lighting terminals within a lighting area; performing time-domain sliding window statistics on the illuminance parameters to obtain brightness fluctuation characteristics; constructing an operating state vector based on the brightness fluctuation characteristics and the energy consumption parameters; constructing a regional adjacency matrix based on the topological connection relationships between lighting terminals; and performing graph convolution operations on the operating state vector to obtain node evaluation values and regional coupling degrees; and a topology analysis unit for performing hierarchical clustering on the node evaluation values to obtain load distribution patterns; calculating cross-regional influence factors based on the regional coupling degrees and combining them with the negative... The hierarchical dependency relationship is obtained by solving the node set corresponding to the load distribution mode. A multi-level topology structure is constructed based on the hierarchical dependency relationship and the inter-layer conduction path is extracted. The conduction delay coefficient is determined based on the inter-layer conduction path. The timing control unit is used to sort the inter-layer conduction path in a timing order based on the conduction delay coefficient to obtain the control priority sequence. The control trigger time of each level node is determined according to the control priority sequence and the control amplitude of each level node is determined in combination with the node evaluation value. The control amplitude is compared and verified based on the preset energy consumption constraint to obtain the corrected control amplitude. The equalization control command is generated based on the corrected control amplitude and the lighting terminal corresponding to each level node is controlled step by step.
[0014] A third aspect of the present invention provides an electronic device, including: a processor and a memory for storing processor-executable instructions, wherein the processor is configured to invoke the instructions stored in the memory to perform the aforementioned method.
[0015] A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the aforementioned method.
[0016] In this invention, by performing time-domain sliding window statistics on illuminance parameters, brightness fluctuation characteristics are accurately extracted. Combined with energy consumption parameters of lighting terminals, an operating state vector is constructed, comprehensively depicting the real-time working state of lighting nodes. This effectively integrates topological connections, accurately calculates node evaluation values reflecting the node's own state, and characterizes the regional coupling degree of mutual influence between regions, providing a reliable data foundation for subsequent collaborative analysis. Based on node evaluation values, hierarchical clustering automatically identifies the distribution patterns of different load levels within the system, forming logical node groups. According to the transmission delay coefficient determined by the transmission path, the time loss of control commands transmitted between different levels is quantified. Based on the transmission delay coefficient, the inter-layer transmission paths are sequentially ordered to generate a control priority sequence, ensuring that control commands are issued in a reasonable order, avoiding system oscillations caused by command conflicts or timing errors. By comparing and verifying the control amplitude through preset energy consumption constraints, a corrected control amplitude is obtained, ensuring that all control operations are performed within the overall system energy consumption limit framework, achieving the energy-saving goal. Attached Figure Description
[0017] Figure 1 is a flowchart illustrating the multi-level collaborative balancing method for a smart urban lighting system according to an embodiment of the present invention; Figure 2 is a flowchart illustrating the inter-level transmission control timing optimization of the multi-level collaborative balancing method for a smart urban lighting system according to an embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0020] Figure 1 is a flowchart illustrating the multi-level collaborative balancing method for a smart city lighting system according to an embodiment of the present invention. As shown in Figure 1, the method includes: collecting illuminance parameters and energy consumption parameters of lighting terminals within the lighting area; performing time-domain sliding window statistics on the illuminance parameters to obtain brightness fluctuation characteristics; constructing an operating state vector based on the brightness fluctuation characteristics and the energy consumption parameters; constructing a regional adjacency matrix based on the topological connection relationship between lighting terminals and performing graph convolution operation on the operating state vector to obtain node evaluation values and regional coupling degrees; performing hierarchical clustering on the node evaluation values to obtain load distribution patterns; calculating cross-regional influence factors based on the regional coupling degrees and combining them with the negative... The hierarchical dependency relationship is obtained by solving the node set corresponding to the load distribution mode. A multi-level topology structure is constructed based on the hierarchical dependency relationship and the inter-layer conduction path is extracted. The conduction delay coefficient is determined based on the inter-layer conduction path. The control priority sequence is obtained by temporally sorting the inter-layer conduction path based on the conduction delay coefficient. The control trigger time of each level node is determined according to the control priority sequence and the control amplitude of each level node is determined by combining the node evaluation value. The control amplitude is compared and verified based on the preset energy consumption constraint to obtain the corrected control amplitude. The equalization control command is generated based on the corrected control amplitude and the lighting terminals corresponding to each level node are controlled step by step.
[0021] In one optional implementation, illuminance parameters within the lighting area and energy consumption parameters of the lighting terminals are collected. A time-domain sliding window statistical analysis is performed on the illuminance parameters to obtain brightness fluctuation characteristics. Constructing an operating state vector based on the brightness fluctuation characteristics and the energy consumption parameters includes: acquiring illuminance parameters at multiple spatial locations within the lighting area using distributed sensing devices; arranging the illuminance parameters according to corresponding timestamps and initializing a sliding window; calculating the mean and variance of the illuminance parameters within each sliding window to obtain window statistical characteristics; performing a difference operation on the window statistical characteristics of adjacent windows to obtain a rate of change sequence; identifying the rising and falling phases of the illuminance parameters based on the rate of change sequence and marking the turning points; and matching the window statistical characteristics with the light intensity parameters corresponding to the turning points. Brightness fluctuation characteristics are obtained by combining and encoding intensity parameters; real-time current and voltage parameters of each lighting terminal are obtained from distributed lighting terminals and instantaneous power is calculated; the instantaneous power is integrated over time to obtain cumulative energy consumption value; the cumulative energy consumption value and a preset benchmark energy consumption value are normalized to obtain energy consumption parameters; the brightness fluctuation characteristics are arranged into a brightness feature matrix according to the spatial location of the lighting area, and the energy consumption parameters are arranged into an energy consumption feature vector according to the lighting terminal; a mapping matrix is established based on the coverage relationship between the lighting terminal and the spatial location; the brightness feature matrix is spatially aligned based on the mapping matrix to obtain an aligned brightness feature matrix; the aligned brightness feature matrix and the energy consumption feature vector are concatenated and dimensionally reduced by projection to obtain an operating state vector.
[0022] Illumination intensity parameters at multiple spatial locations within a lighting area are acquired using distributed sensing devices. Each sensing device includes a photosensitive sensor and a data acquisition module. The photosensitive sensor measures the ambient light intensity and outputs an analog voltage signal. The data acquisition module converts the analog voltage signal into digital illumination intensity parameters, ranging from 0 to 10000 lux. The illumination intensity parameters acquired at each spatial location are arranged according to their corresponding timestamps to form a time series. A sliding window is initialized with a window length of 10 minutes and a step size of 5 minutes, ensuring 50% overlap between adjacent windows. Within each sliding window, the sum of all illumination intensity parameters within the window is divided by the number of data points to obtain the mean. The sum of squared differences between each data point and the mean is calculated and divided by the number of data points to obtain the variance. The mean and variance constitute the window's statistical characteristics. Difference operations are performed on the window statistical characteristics of adjacent windows. The mean of the subsequent window is subtracted from the mean of the previous window, and the difference is divided by the time interval to obtain the rate of change of the mean. The variance is calculated using the same method to obtain the rate of change of the variance. These two values form a rate of change sequence. The sequence of rate of change is iterated. When the mean rate of change is greater than a preset threshold of 0.5 lux per minute, it is marked as an upward phase; when it is less than -0.5 lux per minute, it is marked as a downward phase. The moment of phase transition is marked as the turning point. The mean and variance in the window statistical features are concatenated with the light intensity parameter value corresponding to the turning point to form a feature vector. The labels of the upward and downward phases are converted into binary codes through one-hot encoding and appended to the end of the feature vector to obtain the brightness fluctuation features.
[0023] Real-time current and voltage parameters are obtained from distributed lighting terminals. Each lighting terminal has a built-in current transformer and voltage divider circuit. The current transformer outputs a current signal proportional to the load current, which is converted into a voltage signal by a sampling resistor and then converted to a digital signal via analog-to-digital conversion (ADC) to obtain the current parameter. The voltage divider circuit proportionally reduces the supply voltage before inputting it to the ADC to obtain the voltage parameter. The current parameter and voltage parameter are multiplied to obtain the instantaneous power, in watts. The instantaneous power is integrated over time using the trapezoidal integral method. The sum of the instantaneous power at two adjacent sampling times is multiplied by the time interval and then divided by 2. The cumulative energy consumption value, in kilowatt-hours, is obtained by summing the integrals over all time periods. A preset baseline energy consumption value is the product of the rated power of the lighting terminals in the area and the statistical period. The cumulative energy consumption value is divided by the baseline energy consumption value and limited to between 0 and 1 to obtain the energy consumption parameter.
[0024] The brightness fluctuation characteristics of each spatial location are arranged into a matrix according to two-dimensional coordinates, with rows corresponding to the vertical coordinates and columns corresponding to the horizontal coordinates, forming a brightness feature matrix. The energy consumption parameters of each lighting terminal are arranged into a one-dimensional vector according to the terminal number, forming an energy consumption feature vector. A mapping matrix is established based on the correspondence between the physical installation location of the lighting terminal and the spatial location of the sensing device. A matrix element of 1 indicates that the terminal covers the spatial location, and an element of 0 indicates that it does not cover it. The brightness feature matrix is left-multiplied by the mapping matrix to achieve the alignment transformation between the lighting terminal dimension and the spatial location dimension, resulting in an aligned brightness feature matrix. The aligned brightness feature matrix is flattened into a one-dimensional vector and concatenated end-to-end with the energy consumption feature vector to form a high-dimensional feature vector. Principal component analysis is used to perform dimensionality reduction projection on the high-dimensional feature vector. The covariance matrix is calculated, and the eigenvectors corresponding to the three largest eigenvalues are extracted as the projection basis. The high-dimensional feature vector is then projected onto three-dimensional space to obtain the operating state vector.
[0025] In this embodiment, the illuminance of multiple spatial locations within the lighting area is continuously collected by distributed sensing devices. A sliding window based on timestamps is used to perform mean and variance statistical analysis of the illuminance, enabling a phased characterization of the illuminance change process. This accurately identifies the brightness increase and decrease phases, thereby improving the perception accuracy of dynamic fluctuations in the lighting environment and more comprehensively reflecting the changing trends of the lighting state. This enhances the stability and reliability of the lighting state characteristics. Instantaneous power is calculated from the real-time current and voltage parameters of the lighting terminals, and cumulative energy consumption is obtained through time integration. This allows for comparative analysis of energy consumption data from different lighting terminals under different operating conditions on a unified scale, improving the comparability and accuracy of energy consumption assessment. By establishing a coverage relationship mapping between lighting terminals and spatial locations and performing spatial alignment transformation on the brightness feature matrix, spatial illuminance information and the corresponding lighting terminal's energy consumption information are associated and expressed under the same structure, significantly improving the accuracy of data association analysis.
[0026] In one optional implementation, constructing a region adjacency matrix based on the topological connection relationship between lighting terminals and performing graph convolution operation on the running state vector to obtain node evaluation values and region coupling degree includes: obtaining the signal transmission delay and data interaction frequency between lighting terminals and constructing a spatiotemporal coupling tensor; performing tensor decomposition and outer product reconstruction on the spatiotemporal coupling tensor to obtain a connection strength matrix; constructing a region adjacency matrix based on the connection strength matrix; arranging the running state vector into a state feature matrix and performing tensor contraction operation on the region adjacency matrix to obtain primary aggregation features; performing spectral decomposition on the region adjacency matrix to obtain an eigenvalue sequence; constructing a frequency domain filter based on the eigenvalue sequence and applying it to the primary aggregation... The features are filtered and transformed to obtain frequency domain enhanced features. Based on the frequency domain enhanced features and the state feature matrix, attention enhanced features are calculated. Based on the region adjacency matrix, the set of neighboring nodes for each lighting terminal is determined, and the attention enhanced features are aggregated into neighborhood features to obtain propagation features. Node evaluation values are determined by graph pooling. Based on the region adjacency matrix, a multi-hop neighborhood topology subgraph is extracted and isomorphic encoding is performed to obtain a topology pattern vector. Based on the topology pattern vector, a structure similarity matrix is constructed and bilinear pooled with the state feature matrix to obtain structure-aware features. Graph comparison learning is performed on the structure-aware features to determine information flow. Entropy measurement is performed on the information flow to calculate the region coupling degree.
[0027] The system acquires signal round-trip transmission time data and data packet interaction frequency statistics between lighting terminals within a time window. The time window is divided into multiple time slices of fixed duration. For each time slice, the average signal transmission delay and cumulative data interaction frequency of each terminal pair are extracted and used as the time and spatial dimensions of the spatiotemporal coupling tensor, respectively, to construct a third-order spatiotemporal coupling tensor. CP decomposition is performed on the aforementioned third-order spatiotemporal coupling tensor to obtain a factor matrix set with a preset rank. The resulting spatial pattern factor matrix, temporal pattern factor matrix, and interaction pattern factor matrix are then reconstructed through an outer product operation. The connection strength matrix is recovered through this outer product reconstruction, with matrix elements representing the comprehensive connection strength values between corresponding terminal pairs. After normalizing the connection strength matrix, the diagonal elements are set to zero, resulting in a region adjacency matrix describing the spatial adjacency relationships of the lighting terminals.
[0028] The operating state vectors of each lighting terminal are arranged in order of terminal number to form a state feature matrix, with the matrix rows corresponding to node indices and the columns corresponding to feature dimensions. Tensor contraction is performed on the state feature matrix and the region adjacency matrix, shrinking along the node dimensions using Einstein's summation convention to obtain a primary aggregated feature matrix that fuses neighborhood information. Eigenvalue decomposition is performed on the region adjacency matrix to obtain a descending sequence of eigenvalues. The eigenvectors corresponding to the first few dominant eigenvalues are selected to construct a frequency domain filter matrix, achieving selective amplification of spectral components through eigenvalue weighting. The primary aggregated feature matrix is projected onto the frequency domain space spanned by the eigenvectors, and a left multiplication operation of the filter matrix is performed. Then, an inverse transformation is performed back to the spatial domain to obtain the frequency domain enhanced feature matrix.
[0029] The dot product similarity between the frequency domain enhancement feature matrix and the state feature matrix is calculated and then normalized using softmax to obtain the attention weight matrix. This weight matrix is multiplied by the state feature matrix to obtain the attention enhancement feature. The neighbor node index set for each lighting terminal is determined based on the positions of non-zero elements in the region adjacency matrix. For each central node, its neighbor node feature vectors are extracted from the attention enhancement feature, and mean aggregation is performed. The aggregation result is concatenated with the central node's own features and then passed through a non-linear activation function to obtain the propagation feature. Global pooling is performed on the propagation feature matrix to calculate the norm of each node's feature vector as the node evaluation value.
[0030] Starting from the region adjacency matrix, a breadth-first traversal is performed to extract the two-hop and three-hop neighbor nodes of each node. The extracted multi-hop neighbor nodes and their connecting edges form a topological subgraph. For each topological subgraph, a Weisfeiler-Lehman isomorphism test is performed iteratively to update node labels. The multi-layer node label sequence generated during the iteration is converted into a fixed-length topological pattern vector through hash encoding. The cosine similarity between any two topological pattern vectors is calculated to construct a structural similarity matrix. Bilinear pooling is performed on the structural similarity matrix and the state feature matrix. An interaction between structural similarity and node features is established through a bilinear transformation matrix, resulting in a structure-aware feature matrix containing topological structure-aware information.
[0031] A comparative learning process is performed by constructing positive and negative sample pairs. The original graph is used as the positive sample, while negative sample graphs are generated by randomly deleting edges or perturbing node features. The similarity of the representations of the positive and negative sample pairs in the structure-aware feature space is calculated, and a contrastive loss function is used to optimize the feature extraction process. After optimization, the feature activation intensity on each edge is counted as the information flow value. Shannon entropy is calculated for the information flow distribution within each subgraph region. A higher entropy value indicates a more balanced information propagation within the region. The normalized entropy value is used as the regional coupling index for the region, quantitatively describing the degree of collaborative balance among nodes within the region.
[0032] In this embodiment, by acquiring the signal transmission delay and data interaction frequency between lighting terminals and constructing a spatiotemporal coupling tensor, and then obtaining the connection strength matrix and constructing a region adjacency matrix through tensor decomposition and outer product reconstruction, the communication relationship and interaction strength between lighting terminals can be expressed in a structured way, improving the accuracy of network topology modeling and more realistically reflecting the cooperative operation relationship between lighting terminals. By constructing the operating state vector into a state feature matrix and combining it with the region adjacency matrix for feature aggregation, and then using spectral decomposition to construct a frequency domain filter to perform frequency domain enhancement processing on the aggregated features, key change patterns can be extracted from the frequency domain space of the graph structure. By effectively suppressing noise information and strengthening key state features, the stability and discriminative ability of state information expression are improved. By introducing frequency domain filtering based on feature value sequences and attention enhancement mechanisms, and combining the propagation aggregation of neighboring nodes with graph pooling evaluation, the importance of different lighting terminals in the network can be dynamically identified, improving the sensitivity and recognition ability to key equipment state changes. By extracting multi-hop neighborhood topology subgraphs and performing subgraph isomorphic encoding, a structural similarity matrix is further constructed and bilinear pooling is performed in combination with state features, which can simultaneously perceive operating state information and topological structure information, improving the ability to recognize complex network structure patterns.
[0033] In one optional implementation, hierarchical clustering of the node evaluation values to obtain load distribution patterns, and calculation of cross-regional influence factors based on the regional coupling degree, combined with the node set corresponding to the load distribution pattern to solve for hierarchical dependencies, includes: dividing the node evaluation values into multiple load levels, calculating the variance of the node evaluation values of lighting terminals within each load level and adjusting the load levels to obtain optimized load levels, extracting the lighting terminal set corresponding to each optimized load level and marking it as a load distribution pattern, counting the number of connection edges within each load distribution pattern based on the regional adjacency matrix and calculating the internal connection density, counting the number of cross-pattern connection edges between different load distribution patterns, and constructing a pattern coupling strength based on the number of cross-pattern connection edges and the internal connection density. The load distribution pattern is used to group the regional coupling degree and calculate the mean regional coupling degree of each load distribution pattern to obtain the mean mode coupling. The product of the mean mode coupling degree and the corresponding element in the mode coupling strength matrix is calculated to obtain the initial cross-regional influence factor. The initial cross-regional influence factor is attenuated and corrected according to the topological distance and solved by combining the pre-acquired frequency domain enhancement features to obtain the corrected cross-regional influence factor. The lighting terminal with the highest node evaluation value is selected from the node set corresponding to the load distribution pattern as the mode representative node. The topological hop count between different mode representative nodes is calculated and the inter-mode dependency strength is determined by combining the corrected cross-regional influence factor. A directed dependency graph is constructed based on the inter-mode dependency strength and the topological sorting is performed to obtain the hierarchical dependency relationship.
[0034] After obtaining the node evaluation values corresponding to all lighting terminals, the evaluation values are divided into several initial load levels according to their numerical values. For each initial load level, the variance of all node evaluation values within the level is calculated. When the variance within a certain load level exceeds a preset threshold, the level is divided into two sub-levels, with the sub-level boundaries positioned at the median of the evaluation values within the level. This level division operation is repeated until the variance within all levels is below the preset threshold, at which point the optimized load level set is obtained. The set of lighting terminal numbers within each optimized load level is extracted, and each set is labeled as a load distribution pattern.
[0035] For each marked load distribution pattern, the number of connection edges between lighting terminals within the pattern is counted based on the region adjacency matrix, and denoted as the internal edge count. The internal edge count is divided by the square of the number of lighting terminals within the pattern to obtain the internal connection density of the current pattern. For any two different load distribution patterns, the number of connection edges between lighting terminals within one pattern and those within the other pattern in the region adjacency matrix is counted, and denoted as the cross-pattern connection edge count. A pattern coupling strength matrix is constructed, where the matrix row and column indices correspond to each load distribution pattern, and the matrix element values are the ratios of the cross-pattern connection edge count to the sum of the internal connection densities of the two patterns.
[0036] The regional coupling degree is grouped according to the load distribution pattern to which the lighting terminals belong. For each load distribution pattern, the average regional coupling degree of all lighting terminals within the pattern is calculated to obtain the pattern coupling mean vector. Elements of the pattern coupling strength matrix are extracted and multiplied by the pattern coupling mean of the load distribution pattern to obtain the initial cross-regional influence factor between patterns.
[0037] For the initial cross-regional impact factor, the shortest topological distance between nodes is calculated, denoted as the topological hop count. An attenuation coefficient α is set, and the initial cross-regional impact factor is multiplied by α raised to the power of the topological hop count to achieve distance attenuation correction. Simultaneously, a Fast Fourier Transform (FFT) is performed on the collected illumination intensity parameters, and the top three frequency components with the highest energy percentage in the transformed spectrum are extracted. The amplitudes of these frequency components are normalized and then weighted and summed to obtain the frequency domain enhancement feature. The attenuation-corrected cross-regional impact factor is multiplied by the frequency domain enhancement feature to obtain the corrected cross-regional impact factor.
[0038] Iterate through the node set corresponding to each load distribution pattern, selecting the lighting terminal with the highest node evaluation value as the representative node of that pattern. Calculate the shortest path hop count between any two pattern representative nodes in the topology. Multiply the reciprocal of the hop count by the corresponding modified cross-regional influence factor to obtain the inter-pattern dependency strength between the two patterns. Construct a directed dependency graph, where nodes represent load distribution patterns and directed edge weights represent inter-pattern dependency strengths. Perform a topological sort on the directed dependency graph, prioritizing nodes with zero in-degree and the smallest sum of dependency strengths. The sorting result represents the hierarchical dependency relationship, with patterns with lower dependency strengths located in shallower levels and patterns with higher dependency strengths located in deeper levels.
[0039] In this embodiment, by dividing the node evaluation values into multiple load levels and adaptively adjusting the levels according to the variance of the node evaluation values within each load level, the load characteristics of lighting terminals within the same level become more consistent, forming a more representative load distribution pattern. This improves the rationality and stability of the load pattern division and more accurately reflects the distribution pattern of lighting terminals under different operating loads. By combining the regional adjacency matrix to statistically analyze the internal connection density of each load distribution pattern and the number of cross-mode connection edges between different patterns, and constructing a mode coupling strength matrix accordingly, the structural correlation between different load distribution patterns can be quantitatively expressed, improving the ability to characterize the overall structural relationship. By grouping and statistically analyzing the regional coupling degree according to the load distribution pattern and calculating the cross-regional influence factor in conjunction with the mode coupling strength matrix, and then correcting it through topological distance attenuation and frequency domain enhancement features, the influence relationship between modes can simultaneously consider spatial structural distance, information propagation characteristics, and state change characteristics, improving the accuracy and reliability of cross-regional correlation analysis.
[0040] In one optional implementation, constructing a multi-level topology based on the hierarchical dependency relationship and extracting inter-layer transmission paths, and determining the transmission delay coefficient based on the inter-layer transmission paths, includes: determining the hierarchical sorting result based on the hierarchical dependency relationship and assigning the lighting terminals to the corresponding hierarchical node sets; establishing inter-layer connection edges between hierarchical node sets based on the dependency edges of a pre-constructed directed dependency graph to obtain an inter-layer connection edge set; constructing an inter-layer connection density matrix by counting the number of lighting terminals in the hierarchical node sets and the number of inter-layer connection edges between different levels; constructing a multi-level topology based on the inter-layer connection edge set; selecting lighting terminals from the highest-level node set of the multi-level topology and traversing downwards along the inter-layer connection edge set to obtain the inter-layer connection density matrix. The set of conduction paths is generated by extracting the set of node pairs traversed by each interlayer conduction path and querying the corresponding connection density based on the interlayer connection density matrix. Based on the connection density, the set of effective interlayer conduction paths is determined. The path connection weights corresponding to each effective interlayer conduction path are extracted from the region adjacency matrix. The path conduction efficiency is calculated based on the length of the effective interlayer conduction path and the path connection weights. The node evaluation values of the starting and ending nodes on the effective interlayer conduction paths are extracted and the difference between the node evaluation values is calculated. The conduction impedance is calculated based on the difference between the node evaluation values and the path conduction efficiency. Based on the predetermined frequency domain enhancement features, the proportion of low-frequency components of the starting node is extracted and the conduction impedance is frequency domain corrected to obtain the conduction delay coefficient.
[0041] When constructing a multi-level topology, the identified lighting terminals are first assigned based on hierarchical dependencies. All lighting terminals marked as belonging to the same level in the hierarchical dependency relationship are assigned to their corresponding hierarchical node sets, forming a hierarchical ranking result. This ranking result reflects the priority position of each lighting terminal in the control logic. After completing the hierarchical node set division, inter-level connections are established using a pre-constructed directed dependency graph. The dependency edges in the directed dependency graph represent the control transmission direction between lighting terminals. When the starting and ending points of a dependency edge are located in different hierarchical node sets, an inter-level connection edge is established between these two hierarchical node sets. All inter-level connection edges constitute the inter-level connection edge set.
[0042] To quantify the tightness of inter-layer connections, the number of lighting terminals contained in each layer's node set is counted, along with the number of inter-layer connection edges between any two layer node sets. For example, the number of connection edges between the i-th and j-th layers is divided by the product of the number of lighting terminals in the two layers to obtain a normalized connection density value. The connection density values between all layer pairs form an inter-layer connection density matrix. This matrix reflects the activity level of control signal transmission between different layers. Based on the inter-layer connection edge sets and the inclusion relationships of each layer's node sets, a complete multi-level topology is constructed.
[0043] Starting from the highest-level node set in the multi-level topology, a lighting terminal is selected as the traversal starting point, and the process proceeds layer by layer downwards along the set of inter-layer connection edges. During the traversal, all traversed lighting terminals and their respective levels are recorded until the lowest level is reached or further downward propagation is impossible, forming an inter-layer transmission path. This traversal operation is performed on all possible starting points to obtain a set of inter-layer transmission paths. For each inter-layer transmission path, the pairs of adjacent level node sets it traverses are extracted, and the connection density value at the corresponding position is queried in the inter-layer connection density matrix. When the connection density value of all level pairs contained in a path is greater than a preset threshold, the path is included in the set of valid inter-layer transmission paths, ensuring that the selected path has sufficient control transmission capability.
[0044] The adjacency weights of adjacent lighting terminals on effective inter-layer transmission paths are extracted from the region adjacency matrix, and the path connection weights are obtained by summing all the adjacency weights on the path. The path transmission efficiency is calculated as the ratio of the path connection weight to the path length, where the path length is defined as the number of lighting terminals traversed by the path minus one. This ratio reflects the control signal transmission intensity per unit path span.
[0045] The node evaluation values of the starting and ending nodes of the effective inter-layer conduction path are extracted, and the absolute difference between them is calculated as the node evaluation value difference. The conduction impedance is calculated by dividing the node evaluation value difference by the path conduction efficiency, representing the equivalent obstruction encountered by the control signal when propagating along the path. To further consider the impact of frequency domain characteristics on conduction delay, the proportion of low-frequency components corresponding to the starting node is extracted from the predetermined frequency domain enhancement features. The conduction impedance is multiplied by the sum of the low-frequency component proportion and an empirical coefficient to complete the frequency domain correction, obtaining the conduction delay coefficient. The conduction delay coefficient comprehensively reflects the path conduction characteristics and frequency domain response characteristics, providing a quantitative basis for subsequent timing sequencing.
[0046] In this embodiment, the hierarchical order of lighting terminals is determined based on hierarchical dependencies, and the terminals are assigned to corresponding hierarchical node sets. Inter-layer connections are established between different levels based on the directed dependency graph, and an inter-layer connection density matrix is constructed. This allows the dependencies between terminals in the lighting system to be organized and expressed in a multi-level topological structure, more clearly depicting the association strength and structural distribution between nodes at different levels. This improves the ability to express the hierarchical characteristics of complex lighting network structures and more accurately reflects the hierarchical dependencies between terminals. By traversing downwards from higher-level nodes in the multi-level topology to form inter-layer transmission paths, and combining inter-layer connection density to filter effective inter-layer transmission paths, critical paths with practical transmission significance in the network structure can be identified. This avoids interference from invalid or weak connection paths, improving the effectiveness of path identification and the reliability of analysis results. By combining path connection weights and path lengths to calculate path transmission efficiency, the impact of connection strength and transmission distance on information or state propagation capabilities can be comprehensively considered, improving the accuracy of characterizing network transmission characteristics.
[0047] Figure 2 is a flowchart of the inter-layer conduction control timing optimization of the multi-level collaborative equilibrium method for smart urban lighting system according to an embodiment of the present invention.
[0048] In Figure 2, the control priority sequence is obtained by temporally sorting the interlayer conduction paths based on the conduction delay coefficient. The control trigger time of each level node is determined according to the control priority sequence, and the control amplitude of each level node is determined by combining the node evaluation value. This includes: sorting the conduction delay coefficients corresponding to each effective interlayer conduction path in ascending order; extracting the lighting terminal sequence contained in each effective interlayer conduction path according to the sorting order and combining them sequentially to obtain the control priority sequence; extracting the position index of each lighting terminal from the control priority sequence and calculating the initial trigger time based on the position index; and extracting the position index from the interlayer connection density matrix. Extract the connection density corresponding to the node set of each lighting terminal's level and adjust the initial trigger time based on the connection density to obtain the control trigger time; extract the node evaluation value corresponding to each lighting terminal in the control priority sequence and calculate the mean of the evaluation values of the control priority sequence; calculate the deviation between the node evaluation value corresponding to each lighting terminal and the mean of the evaluation values to obtain the evaluation deviation; extract the path conduction efficiency of the effective inter-layer conduction path where each lighting terminal is located and perform conduction efficiency weighting on the evaluation deviation based on the path conduction efficiency to obtain the weighted evaluation deviation; determine the control amplitude of each level node based on the weighted evaluation deviation.
[0049] After obtaining the conduction delay coefficients, the inter-layer conduction paths need to be time-sequentially ordered to form a control priority sequence. The conduction delay coefficient of each path is extracted from the set of effective inter-layer conduction paths, and then sorted in ascending order. After sorting, paths with smaller conduction delay coefficients are listed first, indicating faster signal transmission speeds and thus requiring priority control. Following the sorting order, the lighting terminal sequences contained in each effective inter-layer conduction path are extracted sequentially. For example, if the first path contains terminals A, B, and C, and the second path contains terminals D and E, these sequences are combined sequentially to form the control priority sequence ABCDE.
[0050] Determine the control trigger time by extracting the position index of each lighting terminal from the control priority sequence. The position index represents the terminal's position in the sequence; for example, terminal A's position index is 1, and terminal E's position index is 5. Calculate the initial trigger time based on the position index by multiplying it by a preset time interval. The preset time interval is typically set to 0.5 to 2 seconds to ensure that control commands are transmitted sequentially without conflict. Since the connection density varies between nodes at different levels, the initial trigger time needs adjustment. Extract the connection density value corresponding to the node set of the level to which each lighting terminal belongs from the inter-level connection density matrix. A higher connection density value indicates a stronger connection between the node at that level and other nodes, requiring more time for control response. Multiply the initial trigger time by a connection density adjustment factor, calculated as 1 plus the ratio of the connection density value to a threshold, typically set to 0.3. After adjustment, the control trigger time for each lighting terminal is obtained.
[0051] The control amplitude is determined, and the node evaluation value corresponding to each lighting terminal in the control priority sequence is extracted. The node evaluation value is obtained through graph convolution operation, reflecting the importance of the node in the entire network. The arithmetic mean of all node evaluation values in the control priority sequence is calculated to obtain the mean evaluation value. For each lighting terminal, the difference between its node evaluation value and the mean evaluation value is calculated, and the absolute value is divided by the mean evaluation value to obtain the evaluation deviation. The evaluation deviation reflects the degree of difference between the terminal and the overall level. Further, the path conduction efficiency of the effective inter-layer conduction path of each lighting terminal is extracted. The path conduction efficiency is calculated by combining the path length and the reciprocal of the conduction delay coefficient; a larger value indicates a better conduction effect. The evaluation deviation is multiplied by the path conduction efficiency, and a conduction efficiency weighting operation is performed to obtain the weighted evaluation deviation. The weighted evaluation deviation takes into account both the node's own state and path transmission characteristics. The control range is determined based on the weighted evaluation deviation. The control range is proportional to the weighted evaluation deviation. The control range is usually set as the weighted evaluation deviation multiplied by the benchmark control coefficient. The benchmark control coefficient ranges from 0.2 to 0.8 and is used to map the deviation to the actual executable control range.
[0052] In this embodiment, by sorting the conduction delay coefficients corresponding to the effective inter-layer conduction paths and extracting the lighting terminal sequence in the path based on the sorting results to construct the control priority sequence, it is more in line with the internal state propagation law of the system, which can reduce control conflicts and response lags and improve the coordination and stability of the overall control process. By combining the position index of the lighting terminal in the control priority sequence to calculate the initial trigger time and using the inter-layer connection density to dynamically adjust the trigger time, the matching degree between the control trigger mechanism and the network structure characteristics is improved. By calculating the deviation of the evaluation value of each lighting terminal node in the control priority sequence from the overall mean and weighting it in combination with the path conduction efficiency, the importance of the node state and its conduction ability in the network can be considered at the same time, and the key nodes that need to be controlled more accurately can be identified more accurately. By determining the control amplitude of each level node based on the weighted evaluation deviation, nodes at different levels can be controlled differently according to the deviation of the operating state and the influence ability in the network, which can effectively improve the flexibility and accuracy of the lighting system operation control and help improve the overall operating efficiency and energy consumption optimization effect.
[0053] In one optional implementation, the process of comparing and verifying the adjustment amplitude based on preset energy consumption constraints to obtain a corrected adjustment amplitude, and generating a balanced adjustment command based on the corrected adjustment amplitude to adjust the lighting terminals corresponding to each level node step by step includes: extracting a global energy consumption upper limit and a set of level-specific energy consumption upper limits from the preset energy consumption constraints; calculating the estimated energy consumption of each lighting terminal based on the adjustment amplitude and accumulating it by level to obtain a level-specific energy consumption distribution; comparing the level-specific energy consumption distribution with the set of level-specific energy consumption upper limits to identify the energy consumption exceeding the limit level and extracting the corresponding path conduction efficiency to calculate a reduction coefficient; and adjusting the lighting terminals within the energy consumption exceeding the limit level based on the reduction coefficient. The control amplitude is reduced to obtain a hierarchical correction control amplitude. Based on the hierarchical correction control amplitude, the global cumulative energy consumption is calculated and compensated by combining the global energy consumption upper limit to obtain the correction control amplitude. Based on the correction control amplitude and the control trigger time, the control parameters of each lighting terminal are determined and a hierarchical control parameter set is constructed according to the hierarchy. The path conduction efficiency is extracted from the pre-acquired inter-layer connection edge set and the inter-layer conduction coefficient is calculated. Based on the inter-layer conduction coefficient, the hierarchical control parameter set is subjected to conduction compensation and a balanced control command is generated. Based on the balanced control command and the conduction delay coefficient, the lighting terminals corresponding to each level node are controlled step by step along the multi-level topology.
[0054] Preset energy consumption constraints are obtained, which include two types of limiting parameters: a global energy consumption upper limit, representing the maximum power allowed to be consumed by the entire lighting area within a unit cycle, and a hierarchical energy consumption upper limit set corresponding to the independent energy consumption thresholds of each level of node group. After extracting the control amplitude, the instantaneous power increment of each lighting terminal after the control action is calculated, and the estimated energy consumption is obtained by combining it with the terminal's baseline power. The estimated energy consumption of all terminals is categorized and accumulated according to their respective levels to form a hierarchical energy consumption distribution array, where each element corresponds to the total estimated energy consumption of a level.
[0055] The hierarchical energy consumption distribution array is compared item by item with the hierarchical energy consumption upper limit set. When the estimated energy consumption of a certain level exceeds the corresponding upper limit, the level is marked as an energy consumption exceeding limit level. All internal transmission paths of the energy consumption exceeding limit level are extracted from the multi-level topology. The average adjacency degree and edge weight of the nodes on the path are calculated to determine the path transmission efficiency. The path transmission efficiency reflects the propagation speed and energy conversion ratio of the control signal within the level; a higher value indicates a more sensitive control response. A reduction coefficient is constructed based on the reciprocal of the path transmission efficiency. This coefficient is used to quantify the proportion of control amplitude that needs to be reduced.
[0056] For each lighting terminal within the energy consumption exceedance level, its original control amplitude is multiplied by a reduction factor to obtain the tiered corrected control amplitude. Priority is given to reducing the control amount of terminals on paths with lower conduction efficiency to ensure the control effect on critical paths. The corrected control amplitudes of all levels after reduction are summarized, and the total energy consumption of each level is recalculated and accumulated based on the estimated energy consumption of the terminals to obtain the global cumulative energy consumption. The global cumulative energy consumption is compared with the global energy consumption upper limit. If there is still a difference exceeding the limit, compensation is allocated according to the energy consumption proportion of each level. The compensation amount is achieved through secondary fine-tuning based on the tiered corrected control amplitude to obtain a corrected control amplitude that satisfies both global and tiered constraints.
[0057] Based on the correction adjustment range and the adjustment trigger time, a control parameter structure is generated for each lighting terminal. This structure includes the terminal identifier, the corrected brightness adjustment percentage, and the timestamp of the action trigger. The control parameter structures are grouped according to the terminal's level to form a hierarchical control parameter set. Each subset in the set corresponds to the control information of all terminals at one level.
[0058] The system reads the connection edge information between adjacent layers from a pre-established set of inter-layer connections. Each connection edge carries a path transmission efficiency attribute. The inter-layer transmission coefficient is calculated; this coefficient is equal to the weighted average of the path transmission efficiency of the connection edge and the number of edges, reflecting the intensity of the influence of upper-layer control actions on lower-layer nodes. The system iterates through the set of layer control parameters. For each non-top-level layer, the system extracts the executed control amplitude from the control parameters of the layer above it and multiplies it by the inter-layer transmission coefficient to obtain the transmission compensation amount. This transmission compensation amount is then added to the corrected control amplitude of each terminal in the current layer to ensure that the control actions of lower-layer terminals can offset the illumination influence transmitted from the upper layer, achieving inter-layer coordination. After completing the transmission compensation, the control parameters of all layers are integrated into a unified data packet and encapsulated into a balanced control command.
[0059] Based on the hierarchical information and conduction delay coefficient in the equalization control command, the control execution order is determined along the multi-level topology. The conduction delay coefficient represents the time delay required for signal transmission between layers, and this delay is superimposed on the control triggering time of each level node. Starting from the top-level node, control commands are sent to the lower levels sequentially according to the control priority sequence. After receiving the command, each level node waits for the conduction delay time before executing the brightness adjustment action of the corresponding lighting terminal, thus achieving sequential coordination of hierarchical control.
[0060] In this embodiment, by extracting the global energy consumption upper limit and hierarchical energy consumption upper limit from the preset energy consumption constraints, and performing hierarchical cumulative analysis on the estimated energy consumption of each lighting terminal in conjunction with the control amplitude, it is possible to identify the levels where energy consumption may exceed the limit in advance, thereby improving the foresight and control accuracy of energy consumption constraint management and helping to avoid the problem of energy consumption exceeding the standard. By calculating the reduction coefficient based on the path transmission efficiency for the identified energy consumption exceeding levels, and reducing the control amplitude of the lighting terminals in the corresponding levels, it is possible to maintain the balance of the overall control effect while satisfying the hierarchical energy consumption constraints, thereby improving the flexibility and overall coordination of the energy consumption control strategy. By constructing a hierarchical control parameter set by combining the modified control amplitude and the control trigger time, and using the inter-level transmission coefficient to conduct transmission compensation for the control parameters, the control strategies between different levels can be dynamically coordinated according to the transmission relationship in the network structure, thereby improving the overall consistency of the collaborative control of the multi-level lighting system.
[0061] A second aspect of this invention provides a multi-level collaborative equalization system for smart city lighting, comprising: a data acquisition unit for acquiring illuminance parameters and energy consumption parameters of lighting terminals within a lighting area; performing time-domain sliding window statistics on the illuminance parameters to obtain brightness fluctuation characteristics; constructing an operating state vector based on the brightness fluctuation characteristics and the energy consumption parameters; constructing a regional adjacency matrix based on the topological connection relationships between lighting terminals; and performing graph convolution operations on the operating state vector to obtain node evaluation values and regional coupling degrees; and a topology analysis unit for performing hierarchical clustering on the node evaluation values to obtain load distribution patterns; calculating cross-regional influence factors based on the regional coupling degrees and combining them with the negative... The hierarchical dependency relationship is obtained by solving the node set corresponding to the load distribution mode. A multi-level topology structure is constructed based on the hierarchical dependency relationship and the inter-layer conduction path is extracted. The conduction delay coefficient is determined based on the inter-layer conduction path. The timing control unit is used to sort the inter-layer conduction path in a timing order based on the conduction delay coefficient to obtain the control priority sequence. The control trigger time of each level node is determined according to the control priority sequence and the control amplitude of each level node is determined in combination with the node evaluation value. The control amplitude is compared and verified based on the preset energy consumption constraint to obtain the corrected control amplitude. The equalization control command is generated based on the corrected control amplitude and the lighting terminal corresponding to each level node is controlled step by step.
[0062] A third aspect of the present invention provides an electronic device, including: a processor and a memory for storing processor-executable instructions, wherein the processor is configured to invoke the instructions stored in the memory to perform the aforementioned method.
[0063] A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the aforementioned method.
[0064] This invention can be a method, apparatus, system, and / or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of the invention.
[0065] 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 them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-level collaborative balancing method for smart city lighting systems, characterized in that, include: The illuminance parameters and energy consumption parameters of the lighting terminals within the lighting area are collected. The illuminance parameters are statistically analyzed using a time-domain sliding window to obtain brightness fluctuation characteristics. An operating state vector is constructed based on the brightness fluctuation characteristics and the energy consumption parameters. A regional adjacency matrix is constructed based on the topological connection relationship between the lighting terminals. Graph convolution operation is performed on the operating state vector to obtain node evaluation values and regional coupling degree. The load distribution pattern is obtained by hierarchically clustering the node evaluation values. The cross-regional influence factor is calculated based on the regional coupling degree, and the hierarchical dependency relationship is obtained by combining the node set corresponding to the load distribution pattern. A multi-level topology structure is constructed based on the hierarchical dependency relationship, and the inter-layer conduction path is extracted. The conduction delay coefficient is determined based on the inter-layer conduction path. The control priority sequence is obtained by temporally sorting the inter-layer conduction path based on the conduction delay coefficient. The control trigger time of each level node is determined according to the control priority sequence, and the control amplitude of each level node is determined by combining the node evaluation value. The control amplitude is compared and verified based on the preset energy consumption constraint to obtain the corrected control amplitude. The balanced control command is generated based on the corrected control amplitude, and the lighting terminals corresponding to each level node are controlled step by step.
2. The method according to claim 1, characterized in that, The process involves collecting illuminance parameters within the lighting area and energy consumption parameters of the lighting terminals. A time-domain sliding window statistical analysis is performed on the illuminance parameters to obtain brightness fluctuation characteristics. Based on these characteristics and the energy consumption parameters, an operational state vector is constructed, including: acquiring illuminance parameters at multiple spatial locations within the lighting area using distributed sensing devices; arranging the illuminance parameters according to their corresponding timestamps and initializing a sliding window; calculating the mean and variance of the illuminance parameters within each sliding window to obtain window statistical characteristics; performing a difference operation on the window statistical characteristics of adjacent windows to obtain a rate of change sequence; identifying the rising and falling phases of the illuminance parameters based on the rate of change sequence and marking the turning points; and then matching the window statistical characteristics with the illuminance parameters corresponding to the turning points. The brightness fluctuation features are obtained by row combination encoding; the real-time current and voltage parameters of each lighting terminal are obtained from the distributed lighting terminal and the instantaneous power is calculated. The instantaneous power is integrated over time to obtain the cumulative energy consumption value. The cumulative energy consumption value and the preset benchmark energy consumption value are normalized to obtain the energy consumption parameters; the brightness fluctuation features are arranged into a brightness feature matrix according to the spatial location of the lighting area, and the energy consumption parameters are arranged into an energy consumption feature vector according to the lighting terminal. A mapping matrix is established based on the coverage relationship between the lighting terminal and the spatial location. The brightness feature matrix is spatially aligned and transformed based on the mapping matrix to obtain an aligned brightness feature matrix. The aligned brightness feature matrix and the energy consumption feature vector are concatenated and dimensionally reduced and projected to obtain the operating state vector.
3. The method according to claim 1, characterized in that, Constructing a region adjacency matrix based on the topological connections between lighting terminals and performing graph convolution operations on the running state vectors to obtain node evaluation values and region coupling degrees includes: obtaining signal transmission delay and data interaction frequency between lighting terminals and constructing a spatiotemporal coupling tensor; performing tensor decomposition and outer product reconstruction on the spatiotemporal coupling tensor to obtain a connection strength matrix; constructing a region adjacency matrix based on the connection strength matrix; arranging the running state vectors into a state feature matrix and performing tensor contraction operations on the region adjacency matrix to obtain primary aggregation features; performing spectral decomposition on the region adjacency matrix to obtain an eigenvalue sequence; constructing a frequency domain filter based on the eigenvalue sequence and filtering the primary aggregation features. The transformation yields frequency domain enhancement features. Based on these frequency domain enhancement features and the state feature matrix, attention enhancement features are calculated. The set of neighboring nodes for each lighting terminal is determined based on the region adjacency matrix, and the attention enhancement features are aggregated into neighborhood features to obtain propagation features. Node evaluation values are determined using graph pooling. A multi-hop neighborhood topology subgraph is extracted based on the region adjacency matrix and isomorphic encoding is performed to obtain a topology pattern vector. A structure similarity matrix is constructed based on the topology pattern vector and bilinearly pooled with the state feature matrix to obtain structure-aware features. Graph comparison learning is performed on the structure-aware features to determine information flow. Entropy measurement is used to calculate the information flow to obtain the region coupling degree.
4. The method according to claim 1, characterized in that, Hierarchical clustering of the node evaluation values yields load distribution patterns. Based on the regional coupling degree, cross-regional influence factors are calculated, and hierarchical dependencies are obtained by combining the node sets corresponding to the load distribution patterns. This includes: dividing the node evaluation values into multiple load levels; calculating the variance of the node evaluation values of lighting terminals within each load level and adjusting the load levels to obtain optimized load levels; extracting the lighting terminal sets corresponding to each optimized load level and labeling them as load distribution patterns; counting the number of connection edges within each load distribution pattern and calculating the internal connection density based on the regional adjacency matrix; counting the number of cross-pattern connection edges between different load distribution patterns; and constructing a pattern coupling strength matrix based on the number of cross-pattern connection edges and the internal connection density. The load distribution pattern groups the regional coupling degree and calculates the mean regional coupling degree of each load distribution pattern to obtain the mean mode coupling. The product of the mean mode coupling and the corresponding element in the mode coupling strength matrix is calculated to obtain the initial cross-regional influence factor. The initial cross-regional influence factor is attenuated and corrected according to the topological distance, and the corrected cross-regional influence factor is obtained by combining the pre-acquired frequency domain enhancement features. The lighting terminal with the highest node evaluation value is selected from the node set corresponding to the load distribution pattern as the mode representative node. The topological hop number between different mode representative nodes is calculated and the inter-mode dependency strength is determined by combining the corrected cross-regional influence factor. A directed dependency graph is constructed based on the inter-mode dependency strength and the topological sorting is performed to obtain the hierarchical dependency relationship.
5. The method according to claim 1, characterized in that, Constructing a multi-level topology based on the hierarchical dependency relationship and extracting inter-layer transmission paths, and determining the transmission delay coefficient based on the inter-layer transmission paths include: determining the hierarchical sorting result based on the hierarchical dependency relationship and assigning the lighting terminals to the corresponding hierarchical node sets; establishing inter-layer connection edges between hierarchical node sets based on the dependency edges of the pre-constructed directed dependency graph to obtain an inter-layer connection edge set; constructing an inter-layer connection density matrix by counting the number of lighting terminals in the hierarchical node sets and the number of inter-layer connection edges between different levels; constructing a multi-level topology based on the inter-layer connection edge set; selecting lighting terminals from the highest-level node set of the multi-level topology and traversing downwards along the inter-layer connection edge set to obtain an inter-layer transmission path set. The process involves extracting the set of nodes traversed by each interlayer conduction path and querying the corresponding connection density based on the interlayer connection density matrix. Based on the connection density, a set of effective interlayer conduction paths is determined. The path connection weights corresponding to each effective interlayer conduction path are extracted from the region adjacency matrix. The path conduction efficiency is calculated based on the length of the effective interlayer conduction path and the path connection weights. The node evaluation values of the starting and ending nodes on the effective interlayer conduction paths are extracted, and the difference between the node evaluation values is calculated. The conduction impedance is calculated based on the difference between the node evaluation values and the path conduction efficiency. The proportion of low-frequency components of the starting node is extracted based on pre-determined frequency domain enhancement features, and the conduction impedance is frequency-domain corrected to obtain the conduction delay coefficient.
6. The method according to claim 1, characterized in that, Based on the conduction delay coefficient, the interlayer conduction paths are time-sequentially sorted to obtain a control priority sequence. The control trigger time of each level node is determined according to the control priority sequence, and the control amplitude of each level node is determined in conjunction with the node evaluation value. This includes: sorting the conduction delay coefficients corresponding to each effective interlayer conduction path in ascending order; extracting the lighting terminal sequence contained in each effective interlayer conduction path according to the sorting order and combining them sequentially to obtain the control priority sequence; extracting the position index of each lighting terminal from the control priority sequence and calculating the initial trigger time based on the position index; and extracting from the interlayer connection density matrix... The connection density of the node set corresponding to the level to which each lighting terminal belongs is used to adjust the initial trigger time based on the connection density to obtain the control trigger time; the node evaluation value corresponding to each lighting terminal in the control priority sequence is extracted and the mean of the evaluation values of the control priority sequence is calculated; the deviation between the node evaluation value corresponding to each lighting terminal and the mean of the evaluation values is calculated to obtain the evaluation deviation; the path conduction efficiency of the effective inter-layer conduction path of each lighting terminal is extracted and the evaluation deviation is weighted by conduction efficiency based on the path conduction efficiency to obtain the weighted evaluation deviation; the control amplitude of each level node is determined based on the weighted evaluation deviation.
7. The method according to claim 1, characterized in that, The process involves: first, verifying the adjustment range based on preset energy consumption constraints to obtain a corrected adjustment range; second, generating a balanced adjustment command based on the corrected adjustment range and adjusting the lighting terminals corresponding to each level node step-by-step. This includes: extracting a global energy consumption upper limit and a set of level-specific energy consumption upper limits from the preset energy consumption constraints; calculating the estimated energy consumption of each lighting terminal based on the adjustment range and accumulating it by level to obtain a level-specific energy consumption distribution; third, comparing the level-specific energy consumption distribution with the set of level-specific energy consumption upper limits to identify energy consumption exceeding limits and extracting the corresponding path conduction efficiency to calculate a reduction coefficient; and fourth, reducing the adjustment range of the lighting terminals within the energy consumption exceeding limits based on the reduction coefficient. The hierarchical correction control amplitude is obtained by subtracting from the hierarchical correction control amplitude. The global cumulative energy consumption is calculated based on the hierarchical correction control amplitude and compensated by combining the global energy consumption upper limit to obtain the correction control amplitude. The control parameters of each lighting terminal are determined based on the correction control amplitude and the control trigger time, and a hierarchical control parameter set is constructed according to the hierarchy. The path conduction efficiency is extracted from the pre-acquired inter-layer connection edge set and the inter-layer conduction coefficient is calculated. The conduction compensation of the hierarchical control parameter set is performed based on the inter-layer conduction coefficient, and a balanced control command is generated. Based on the balanced control command and the conduction delay coefficient, the lighting terminals corresponding to each level node are controlled step by step along the multi-level topology.
8. A multi-level collaborative equalization system for smart city lighting systems, used to implement the method described in any one of claims 1-7, characterized in that, include: The data acquisition unit is used to collect illuminance parameters and energy consumption parameters of lighting terminals within the lighting area, perform time-domain sliding window statistics on the illuminance parameters to obtain brightness fluctuation characteristics, construct an operating state vector based on the brightness fluctuation characteristics and the energy consumption parameters, construct a region adjacency matrix based on the topological connection relationship between lighting terminals, and perform graph convolution operation on the operating state vector to obtain node evaluation values and region coupling degree. The topology analysis unit is used to perform hierarchical clustering on the node evaluation values to obtain the load distribution pattern, calculate the cross-regional influence factor based on the regional coupling degree and solve the hierarchical dependency relationship by combining the node set corresponding to the load distribution pattern, construct a multi-level topology structure based on the hierarchical dependency relationship and extract the inter-layer transmission path, and determine the transmission delay coefficient based on the inter-layer transmission path. The timing control unit is used to sort the inter-layer conduction paths according to the conduction delay coefficient to obtain a control priority sequence, determine the control trigger time of each level node according to the control priority sequence and determine the control amplitude of each level node in combination with the node evaluation value, compare and verify the control amplitude based on the preset energy consumption constraints to obtain a corrected control amplitude, generate a balanced control command based on the corrected control amplitude and perform step-by-step control on the lighting terminals corresponding to each level node.
9. An electronic device, characterized in that, include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to invoke the instructions stored in the memory to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1 to 7.
Citation Information
Patent Citations
Dynamic polymer visual multi-level load collaborative management method
CN121124034A
Emergency power supply system multi-source cooperative scheduling optimization method based on deep learning
CN121618693A
Remote monitoring method and system for aviation obstruction light
WO2025209137A1