New energy efficient scheduling method and system based on smart power grid

By embedding diamond NV center microsensors and quantum state tomography into smart grids, high-frequency harmonics in the 2-9kHz range are identified and suppressed, solving the harmonic pollution problem that is difficult for existing dispatching systems to handle and improving the stability and efficiency of the power grid.

CN120933973AActive Publication Date: 2025-11-11GUANGXI UNIV

Patent Information

Application Number
CN202511446021.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-11
Publication Date
2025-11-11
Estimated Expiration
2045-10-11

AI Technical Summary

Technical Problem

Existing smart grid dispatching systems are unable to effectively suppress 2-9kHz mid-to-high frequency harmonic pollution caused by the interaction between distributed renewable energy equipment and urban intensive consumer loads, resulting in decreased power factor, increased reactive power consumption, equipment overheating, and grid stability issues.

Method used

By embedding diamond NV color center micro-sensors into the new energy power grid to form a networked array, data is collected in real time. Harmonic phases are identified through quantum state tomography and entanglement entropy calculation. The topology is reconstructed to inject chaotic anti-phase signals. Combined with pulse neural networks for dynamic scheduling, harmonic suppression is achieved.

Benefits of technology

It enables fine-grained detection and prediction of mid-to-high frequency harmonics, reducing efficiency losses, lowering the risk of equipment overheating, improving power grid stability and dispatch efficiency, and reducing operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120933973A_ABST
    Figure CN120933973A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of smart power grids, and discloses a new energy efficient scheduling method and system based on a smart power grid. Comprising the steps of embedding diamond NV color center microsensors to form a networked array, collecting and outputting original data in real time, extracting auxiliary environment variables for correction, generating weight vectors, adjusting a fluorescence intensity sequence layer by layer, extracting projection values for iterative optimization, and outputting a harmonic phase matrix. Decomposing a harmonic phase matrix, extracting coupling path characteristics, calculating entanglement entropy, simulating storm evolution and outputting an alarm packet if the entanglement entropy exceeds a threshold value, otherwise, continuing circulation; reconstructing a topological structure based on the alarm packet, injecting a chaos inversion signal, verifying stability and outputting a configuration abstract; and receiving a configuration abstract to operate the pulse neural network, generating an instruction based on an optical topology scheduling strategy, encrypting a distribution instruction, releasing a compensation limit and completing execution, thereby realizing new energy efficient scheduling based on the smart power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart grids, and more specifically, to a method and system for efficient dispatching of new energy sources based on smart grids. Background Technology

[0002] During peak urban demand periods, harmonic pollution arises from the multi-source interaction between solar or wind power inverters and household appliances. This pollution is not traditional low-frequency harmonics (typically in the 50-2500Hz range, caused by industrial loads), but rather concentrated in the mid-to-high frequency band of 2-9kHz. Its generation mechanism highly depends on the nonlinear characteristics of distributed renewable energy devices and the dynamic coupling with dense urban consumer loads, making it difficult for existing dispatching systems to effectively suppress it using standard filters (such as passive LC filters).

[0003] Solar panels or wind turbines convert direct current (DC) to alternating current (AC) via inverters to connect to the smart grid. These inverters use pulse width modulation (PWM) technology, which generates high-frequency switching noise during high-load switching. This noise manifests as spike harmonics in the 2-9kHz range. Especially in urban environments where inverter clusters are deployed, the harmonic signals are amplified and superimposed when multiple inverters operate synchronously, creating a resonance effect.

[0004] Therefore, harmonic pollution affects both the efficiency and stability of the power grid, such as causing a decrease in the power factor and an increase in reactive power consumption, especially during peak hours. This means that resources that could have been used are greatly wasted due to harmonic losses.

[0005] Therefore, design and innovation are needed to meet actual needs in the efficient dispatch of new energy sources based on smart grids. Summary of the Invention

[0006] To overcome the aforementioned deficiencies of the prior art and to achieve the above objectives, the present invention provides the following technical solution: a method for efficient dispatching of new energy sources based on a smart grid, comprising: S1: In the new energy power grid, diamond NV color center micro sensors are embedded in the DC or AC ports of the inverter to form a networked array, which collects and outputs raw data in real time. S2: Extract auxiliary environmental variables, correct them based on temperature, inverter power and load input current, generate weight vectors, adjust fluorescence intensity sequence layer by layer to form corrected data; S3: Select the measurement basis and map it to the quantum Hilbert space to form an initial coarse matrix. Extract the projection values ​​and iteratively optimize to output the harmonic phase matrix. S4: Decompose the harmonic phase matrix, extract coupling path features, calculate entanglement entropy, and if it exceeds the entropy threshold, simulate storm evolution and output an alarm packet; otherwise, continue the loop. S5: Reconstruct the topology based on the alarm packet, inject chaotic inverse signals, determine whether to apply it to the new energy grid through stability verification, and output a configuration summary; S6: Receive the configuration summary, run the spiking neural network, generate scheduling instructions based on the optical topology scheduling strategy, verify and output the scheduling instructions and performance summary; S7: The encrypted scheduling instructions are distributed to the new energy nodes. Subsequently, the harmonic suppression proof is submitted for consensus verification, and the compensation amount is released to complete the execution.

[0007] Preferably, the method for real-time acquisition and output of raw data includes: Diamond NV color center micro-sensors are embedded in the DC or AC ports of the inverter to form a networked array, with each node equipped with the sensor. When the sensor is working in real time, it first uses a continuous laser to pump the NV center to enter the excited state; then it applies a microwave pulse to detect changes in the local magnetic field or electric field and converts the detected changes into a fluorescence signal, which is then converted into a digital signal by a photodetector with a sampling rate greater than 100kHz; the digital signal is stored in time series form. Output the raw data, which includes fluorescence intensity time series, phase shift vector, amplitude spectrum, auxiliary environmental variables, timestamps and node positions.

[0008] Preferably, S2 includes: All relevant auxiliary environmental variables, including temperature, inverter power, and load input current, were extracted from the raw data and aligned with the fluorescence intensity time series using timestamps. Next, it checks whether the temperature exceeds the temperature threshold. If so, it increases the correction weights of inverter power and load current. If not, it keeps the default weights. Then, it checks whether the load input current is higher than the average value and whether the inverter power exceeds the expectation. If so, it is marked as a high-interaction scenario, and the joint weights of current and power are increased. Otherwise, it keeps the weights processed in the previous step and then generates a weight vector. The fluorescence intensity time series is corrected based on the weight vector. First, the basic deviation is calculated using temperature. Specifically, if the temperature is higher than the reference value, the fluorescence intensity is increased; if the temperature is lower than the reference value, the fluorescence intensity is decreased; if the temperature exceeds the temperature threshold, the fluorescence intensity is increased in addition to the adjustment based on the reference value, and the fluorescence intensity time series after preliminary correction is output. Then, the deviation is calculated based on the power level. If the inverter power is higher than the median, the fluorescence intensity is amplified; if the inverter power is lower than the median, the fluorescence intensity is reduced; if the temperature exceeds the temperature threshold, the amplification effect of power correction is increased; if the load input current is higher than the average value, the fluorescence intensity is further reduced based on the median and temperature adjustment, and the updated fluorescence intensity time series is output. Finally, the pulse offset is subtracted from the current value, and the fluorescence intensity is scaled according to the ratio of the current to the average value. If a high-interaction scene is marked, the scaling effect of the current correction is increased; if the temperature exceeds the temperature threshold, the offset subtraction is reduced. The fully integrated fluorescence intensity time series is output, and the original data is updated to form the corrected data.

[0009] Preferably, S3 and S4 include: For the corrected data, a measurement basis is selected, and the fluorescence intensity time series is mapped to the quantum Hilbert space to form an initial coarse matrix. The projection values ​​are extracted from the phase offset vector and amplitude spectrum. The initial coarse matrix is ​​iteratively optimized to match the extracted projection values, so that the matrix is ​​positive definite and the trace is 1. The irrelevant subspace is removed using partial trace operations, and the final harmonic phase matrix is ​​output. The harmonic phase matrix is ​​decomposed into a left singular vector, singular values, and a diagonal matrix, where the singular values ​​represent the feature intensity. The coupling path is extracted from the left singular vector, and the frequency mode and phase shift are calculated by combining the amplitude spectrum. Auxiliary environmental variables are used for weighting, minor features are filtered, and a list of coupling path features is generated. The entanglement entropy is calculated based on the harmonic phase matrix. The entropy value of the entanglement entropy is compared with the entropy threshold. If the entanglement entropy value exceeds the entropy threshold, the storm evolution is simulated in combination with the coupling path characteristics, and an alarm packet is output, which includes the prediction time, storm probability, coupling path characteristics, harmonic phase matrix summary, timestamp and node position. Otherwise, there is no output, and the loop continues.

[0010] Preferably, S5 includes: A silicon-based photonic crystal assembly is installed in the critical coupling path and connected to the quantum harmonic prediagnostic layer via an electronically controlled interface. It receives alarm packets, sets the voltage applied to the electronically controlled liquid crystal metasurface based on coupling path characteristics and storm probability, and reconstructs the topology. Based on load-adaptive parameter adjustments, a chaotic anti-phase signal is generated and injected. Synchronization stability is verified; if stable, it is applied to the power grid; otherwise, reconstruction is returned and the bandgap is adjusted. The reconstructed topology configuration and a summary of the chaotic anti-phase signal are output, along with timestamps and node locations. The topology configuration includes the reconstructed topology and bandgap parameters, and the chaotic inverse signal summary includes the generation parameters and cancellation efficiency.

[0011] Preferably, the method for reconstructing the topology by setting the voltage applied to the electro-controlled liquid crystal metasurface based on coupling path characteristics and storm probability includes: Extract the coupling path characteristics and storm probability from the alarm packet. Set the initial topology to linear, resulting in a linear bandgap. If the coupling path frequency is less than 3kHz and the storm probability is greater than the first threshold, adjust the voltage to 4V and adjust the topology to a spiral shape, forming a spiral bandgap. If the coupling path frequency is 3-5kHz and the storm probability is greater than the second threshold, adjust the voltage to 5V and adjust the topology to a ring shape, forming a ring bandgap. If the coupling path frequency is 5-7kHz and the storm probability is greater than the third threshold, adjust the voltage to 6V and adjust the topology to a grid shape, forming a grid bandgap. If the coupling path frequency is 7-9kHz and the storm probability is greater than the fourth threshold, adjust the voltage to 7V and adjust the topology to a star shape, forming a star bandgap. If the coupling path shows resonant energy dispersion requirements and the storm probability is greater than the fifth threshold, adjust the voltage to 8V and adjust the topology to a fractal shape, forming a fractal bandgap. If the coupling path shows multi-path superposition and the storm probability is less than or equal to the second threshold, maintain the linear topology and fine-tune the voltage to 3V.

[0012] Preferably, S6 includes: A pre-trained spiking neural network model is embedded in the dispatch center, connecting the inverter and storage center to form a distributed control network. It is connected to the optical topology reconstruction layer through an interface, runs the spiking neural network model based on topology configuration and storm probability, and dynamically responds to specific scenarios based on the optical topology dispatch strategy, generates dispatch instructions, verifies the stability of the dispatch instructions. If stable, it is applied to the power grid; otherwise, it returns an update. The optimized dispatch instructions and performance summary are output.

[0013] Preferably, the method for dynamically responding to specific scenarios using the optical topology scheduling strategy includes: extracting the topology configuration and storm probability; setting the initial optical topology scheduling strategy to default linear allocation, which manifests as uniform power output; if the topology configuration displays a ring bandgap and the storm probability is greater than a first probability threshold, then adjusting the optical topology scheduling strategy to an isolation-priority strategy to reduce inverter output; if the topology configuration displays a star bandgap and the storm probability is greater than a second probability threshold, then adjusting to a blocking-priority strategy to prioritize backup renewable energy compensation; if the topology configuration displays a fractal bandgap and the storm probability is greater than a third probability threshold, then adjusting to a distributed-priority strategy to distribute resonant energy; if the topology configuration displays a grid bandgap and the storm probability is less than or equal to the first probability threshold, then maintaining the default linear allocation.

[0014] Preferably, the scheduling instruction is encrypted and distributed to the new energy node by the scheduling center. The new energy node submits a harmonic suppression proof to the blockchain. The proof is verified, and the blockchain releases the compensation amount to the demand-side load node. The process is automatically executed based on the smart contract.

[0015] A smart grid-based high-efficiency dispatching system for new energy sources includes: Quantum sensing module: Embedded diamond NV color center micro-sensor acquires raw data, performs fluorescence intensity correction and harmonic phase matrix reconstruction, and outputs alarm packets; Optical topology reconstruction module: Receives alarm packets, reconstructs the topology structure, injects chaotic inverse signals, and outputs a configuration summary; Dynamic scheduling module: Generates scheduling instructions based on configuration summary, optimizes allocation in response to specific scenarios, and outputs scheduling instructions; Blockchain consensus module: encrypts and distributes instructions, verifies harmonic suppression proofs, executes compensation, and forms a closed loop.

[0016] The technical effects and advantages of the new energy efficient dispatching method based on smart grid of the present invention are as follows: By embedding diamond NV color center micro-sensors to form a networked array, fine-grained detection of mid-to-high frequency peak harmonics in the 2-9kHz range can be achieved. This captures non-static variations and multi-source coupling paths, providing a high-resolution data foundation for subsequent correction and prediction. It can effectively identify early signs of "harmonic storms" and reduce efficiency losses and equipment overheating risks caused by hidden noise.

[0017] The innovative weighted vector mechanism dynamically processes variable interactions, accurately corrects fluorescence intensity deviations caused by uneven load during peak periods and multi-source interactions, reduces temperature-induced false peaks and power or current pulse offsets, ensures that data reflects true harmonic variations, provides clean input for downstream matrix reconstruction, and improves the overall system's prediction accuracy for "harmonic storms".

[0018] Quantum state tomography and entanglement entropy calculation innovatively quantify quantum correlations, reduce equipment failure rates, and the alarm package mechanism enables early warning, reducing maintenance costs and improving grid resilience, making it suitable for complex peak-hour scenarios.

[0019] Based on the reconstructed topology, injecting chaotic anti-phase signals cancels aperiodic harmonics, effectively blocks multi-source interference paths, reduces peak-period efficiency loss and transformer overheating risk, lowers cable insulation breakdown rate, improves overall power grid stability, compensates for harmonic superposition and resonance caused by nonlinear loads, and provides targeted response to "storms".

[0020] Real-time neural network learning innovations overcome traditional scheduling latency, reduce operating costs, and enhance immunity to mutated harmonics. An innovative mechanism for optical topology scheduling adapts to multiple scenarios, reducing equipment overheating and malfunctions, and improving overall scheduling efficiency. An innovative consensus mechanism based on harmonic entropy weight proof reduces maintenance costs and enhances system resilience and fairness. Attached Figure Description

[0021] Figure 1 This is a schematic diagram illustrating the steps of a new energy efficient dispatching method based on a smart grid according to the present invention; Figure 2 This is a schematic diagram of the structure of a new energy high-efficiency dispatching system based on a smart grid according to the present invention. Detailed Implementation

[0022] 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.

[0023] Example 1, please refer to Figure 1 and Figure 2 As shown in this embodiment, a method for efficient dispatching of new energy sources based on a smart grid includes: During peak urban demand periods, harmonic pollution arises from the multi-source interaction between solar or wind power inverters and household appliances such as electric vehicle chargers, inverter air conditioners, and LED lighting systems. This pollution is not traditional low-frequency harmonics (typically in the 50-2500Hz range, caused by industrial loads), but rather concentrated in the mid-to-high frequency band of 2-9kHz. Its generation mechanism highly depends on the nonlinear characteristics of distributed renewable energy devices and the dynamic coupling with dense urban consumer loads, making it difficult for existing dispatch systems to effectively suppress it using standard filters (such as passive LC filters).

[0024] Solar panels or wind turbines convert direct current (DC) to alternating current (AC) via inverters to connect to the smart grid. These inverters employ pulse width modulation (PWM) technology, which generates high-frequency switching noise during high load switching (such as the reduction in solar output during evening peak hours when the inverter frequently adjusts its power factor). This noise manifests as spike harmonics in the 2-9kHz range. Particularly in urban environments where inverters are deployed in clusters, the harmonic signals can be superimposed and amplified when multiple inverters operate synchronously, creating a resonance effect.

[0025] During peak electricity consumption periods, electric vehicle chargers (especially in fast charging mode, using switching power supplies) introduce nonlinear loads, generating similar high-frequency harmonics. Simultaneously, other household appliances such as inverter air conditioners (with variable-speed compressors) and smart home devices (power electronic converters) further inject harmonics. These loads share the same low-voltage distribution network branch with solar or wind turbine inverters, causing harmonics to amplify each other through coupling paths (such as shared transformers or cables), creating multi-source interference. For example, a typical electric vehicle charging station may inject 3-5kHz harmonic current during charging, while a nearby solar inverter will responsively amplify it to the 7-9kHz range, causing the overall total harmonic distortion (THD) rate to exceed the standard limit (IEEE 519 standard requires THD <5%, but in practice it can reach 15-20%).

[0026] Meanwhile, during peak periods, surges in electricity demand can lead to uneven grid loads (such as concentrated air conditioning loads in certain neighborhoods), causing a mismatch between the switching frequencies of the inverter and the load, further triggering harmonic resonance. Unlike conventional harmonics, these harmonics are not static but vary with real-time power fluctuations. For example, a brief cloud cover blocking solar energy can cause transient changes in the inverter output, triggering a 30-50% increase in harmonic peak values ​​from the baseline level within seconds.

[0027] The harmonic problem is most severe when the peak residential electricity consumption coincides with the decline of solar energy consumption in the evening. This is because the inverter is in low power mode (output <50% of rated power) at this time, which makes it easier to generate high-frequency noise. At the same time, the peak demand for electric vehicle charging (for example, 50 EVs charging at the same time in a community) creates a "harmonic storm".

[0028] Therefore, harmonic pollution affects both grid efficiency and stability, such as causing a decrease in power factor and an increase in reactive power consumption, especially during peak periods. This means that much of the power that would otherwise be available is wasted due to harmonic losses. For example, the effective output of a 100kW solar array may be reduced by 10-20kW due to harmonics, forcing the dispatch system to compensate from the external grid or storage, thus increasing operating costs.

[0029] Harmonic pollution can also increase equipment failure rates. Harmonics exacerbate hysteresis and eddy current losses in transformer cores, leading to overheating, especially during peak load periods for urban distribution transformers. Overheating can accelerate insulation aging, increasing the failure rate. Harmonic-amplified currents can cause overvoltage, resulting in capacitor bank resonance explosions. High-frequency interference can disrupt control signals, causing relay malfunctions (e.g., protective relays may mistakenly trigger circuit breakers, causing unnecessary partial power outages). If left untreated, harmonics can interact with emerging loads (such as 5G base station power supplies), further pushing frequencies to higher bands, causing long-term grid degradation, such as increased cable insulation breakdown rates, leading to soaring maintenance costs.

[0030] Diamond NV color center miniature sensors are embedded in the DC or AC ports of solar or wind power inverters. These sensors can be connected via welding interfaces and self-powered by the renewable energy source, forming a networked array. This networked array supports distributed deployment, such as 2x2 or 3x3 grids, suitable for large-scale applications in urban power grids (e.g., multiple inverter nodes within a community). The nodes form a star or mesh topology, offering short response times suitable for real-time harmonic monitoring. Each node is equipped with 4-6 sensors to achieve redundancy and multi-angle measurements, ensuring coverage of the inverter's critical interfaces (DC side capturing DC noise, AC side capturing AC harmonics). The array also enhances signal robustness, covering the entire power consumption area or community.

[0031] When the sensor is operating in real time, it first pumps the NV center with a continuous laser (wavelength approximately 532nm) to induce an excited state. Then, it applies microwave pulses (frequency approximately 2.87GHz, matching the NV spin resonance) to detect changes in the local magnetic or electric field and converts the detected changes into fluorescence signals. These signals are then converted into digital signals by a photodetector. The sampling rate is greater than 100kHz to ensure the capture of fine-grained changes in high-frequency harmonics (such as inverter output fluctuations caused by cloud cover, with transient peak increases of 30-50% within seconds). The data is stored in time-series format (e.g., generating 10MB data packets per second) and is labeled with timestamps and the locations of networked array nodes. The reason for using continuous laser pumping to excite the NV center is that the NV center sensor operates based on nitrogen-vacancy defects in diamond crystals. These defects are stable qubits at room temperature, but to activate them and make them sensitive to external electromagnetic fields, they must first be raised from ground states (low-energy states) to excited states (high-energy states). Continuous laser pumping is this activation process; by providing energy, it allows the electron spins of the NV center to enter a measurable quantum state in response to weak harmonic signals (such as electromagnetic disturbances in the 2-9 kHz range).

[0032] After pumping, the electron spins at the NV center are in an excited state, but to accurately detect external changes (such as magnetic or electric field fluctuations caused by harmonics), these spins need to be "tuned." A microwave pulse (approximately 2.87 GHz) interacts with the spins at the NV center through the spin resonance principle: if there are local magnetic or electric field disturbances (such as inverter PWM noise or electric vehicle charging harmonics), they will change the spin energy level. The microwave pulse amplifies this change, converting these disturbances into quantifiable quantum signals. Without this step, the sensor cannot distinguish between noise and useful signals.

[0033] External magnetic or electric field perturbations alter the electron spin-flipping probability at the NV center, thereby modulating the intensity and pattern of fluorescence. For example, strong harmonic perturbations can cause a decrease in fluorescence intensity (because more electrons enter the dark state). When electrons return to the ground state, they release photons, which are captured by collecting mirrors and filters, forming a fluorescent flux of variable intensity, thus creating a fluorescence signal. The fluorescence signal directly encodes harmonic information (such as amplitude and phase), exhibits high sensitivity, and can capture hidden non-periodic variations (such as transients of "harmonic storms").

[0034] Fluorescence signals are analog (continuous changes in light intensity), but subsequent processing requires computer algorithms. Converting them to digital signals enables quantification, storage, transmission, and analysis, facilitating integration into the digital systems of smart grids (such as edge processors or cloud platforms). Furthermore, the digital form allows for the annotation of timestamps and node locations, supporting real-time networked monitoring.

[0035] The fluorescence signal is first captured by a photodetector (such as a photomultiplier tube or silicon photodiode), converted into an analog voltage (high fluorescence intensity → high voltage), and then input to a high sampling rate ADC (>100kHz) to sample the voltage as discrete digital values ​​(e.g., 16-bit resolution, each sample representing a time point). The sampling rate is set to 120-200kHz to cover the Nyquist frequencies of the 2-9kHz harmonics (the sampling rate must be at least twice the highest frequency). The data is stored in a time-series format (e.g., CSV or binary file) and automatically labeled with timestamps (e.g., UTC format) and node locations (e.g., GPS coordinates or grid IDs).

[0036] The system outputs raw data, including fluorescence intensity time series, phase shift vector, amplitude spectrum, auxiliary environmental variables (such as local temperature or inverter power), and labeled timestamps and node location information. This enables fine-grained capture of hidden harmonics with an accuracy greater than 95%, far exceeding the 1kHz sampling limit of traditional sensors.

[0037] Among them, the fluorescence intensity time series represents the change of fluorescence brightness over time, such as [time t1: intensity 0.85, t2: intensity 0.92], which encodes the harmonic amplitude and phase.

[0038] Phase offset vector: A vector extracted from the fluorescence mode, such as [offset angle: 0.001°, frequency: 4kHz], representing the timing perturbation of harmonics.

[0039] Amplitude spectrum: A spectral representation of harmonic intensity, such as a list of peak values ​​in the 2-9kHz range (e.g., 3kHz: amplitude 0.7, 7kHz: amplitude 1.2).

[0040] Auxiliary environmental variables: Local context data, including temperature (25°C), inverter power (50% load), and load (e.g., electric vehicle charging) input current (10A), are used to correct for noise.

[0041] Timestamp: e.g., 2023-10-01 18:00:00.123.

[0042] Node location: e.g., latitude 39.9°, longitude 116.3° or grid ID: Node-5.

[0043] Increased temperature amplifies electromagnetic disturbances caused by inverter power, while high load current can combine with power fluctuations to generate additional pulse noise, leading to further distortion of the fluorescence signal. By integrating these variables, a unified correction strategy is generated to ensure that the corrected data more accurately reflects the hidden variations and multi-source couplings of unconventional harmonics in the 2-9kHz mid-to-high frequency range (e.g., the interaction between inverter noise and electric vehicle charging). This approach is suitable for variable environments during peak urban periods.

[0044] First, all relevant auxiliary variables are extracted from the raw data, including temperature readings, inverter power levels, and load input current values. These data are collected in real time by sensors; for example, temperature is updated every second, and inverter power and load current are updated every millisecond. These variables are then aligned with the fluorescence intensity time series using timestamps, ensuring that each time point has a complete corresponding data set, forming a unified time series dataset. A data set for each time point includes fluorescence intensity value, current temperature, power percentage, and current intensity.

[0045] Next, it checks if the temperature exceeds a temperature threshold (e.g., set to 30 degrees Celsius). If so, it increases the correction weights for inverter power and load current, for example, by 20%, because high temperatures amplify electromagnetic disturbances. If not, it maintains the default weights. Then, it checks if the load input current is higher than the average and if the inverter power exceeds expectations (e.g., set to 50%). If so, it marks it as a high-interaction scenario, and increases the joint weight of current and power (e.g., by 30%) to prioritize current-power coupling. Otherwise, it maintains the weights from the previous step. Then, it generates a weight vector (e.g., temperature weight 1.0, power weight 1.2, current weight 1.1) for subsequent corrections.

[0046] The sequence is first corrected based on the weight vector. First, the basic deviation is calculated using temperature. Specifically, if the temperature is 25 degrees Celsius higher than the reference value, the fluorescence intensity is slightly increased to compensate for thermally induced decay; if the temperature is lower than the reference value, it is slightly decreased; if the temperature exceeds the temperature threshold, the fluorescence intensity is increased in addition to the adjustment based on the reference value, and the fluorescence intensity time series after preliminary correction is output.

[0047] The aforementioned fine adjustments to the fluorescence intensity sequence are typically controlled within a range of 1-5% (based on empirical testing to avoid excessive adjustments that could lead to signal distortion). This range was determined by simulating urban peak-hour scenarios (such as evening EV charging combined with high temperatures). For example, in laboratory testing, a 1-3% adjustment can compensate for 80% of thermal decay, while 5% is the upper limit to prevent the introduction of noise. The adjustments are applied at time points, with the overall sequence's average change not exceeding 3% to maintain the signal's natural fluctuations.

[0048] Specifically, slight amplification refers to increasing the fluorescence intensity value by 1-3% to compensate for the faster loss of the NV central quantum state due to high temperature, which leads to an underestimation of the intensity. If the temperature is extremely high (such as 40°C), the degree can reach 4%, but will not exceed 5% to avoid overcompensation.

[0049] Slightly reducing means decreasing the fluorescence intensity value by 1-2% to avoid the signal becoming overly stable at low temperatures, which could exaggerate the peak value.

[0050] A slight increase refers to adding an additional 0.5-1% to the intensity adjustment range on top of the base temperature correction to reflect the amplifying effect of high temperatures on power disturbances, as inverter power noise is more likely to interfere with fluorescence at high temperatures. This increase is only applied when such situations occur and should not exceed 1% to maintain balance.

[0051] Example: Assume the raw fluorescence intensity I_raw(t) at time point t is 0.75, temperature is 35°C (>25°C, triggering base amplification), power is 60% (medium-high), and current is 10A (above average 5A). Since the temperature exceeds the threshold (because temperature >30°C), the weight is increased. It is first slightly amplified to 0.765 (2% compensation for thermal decay), then slightly increased to 0.770 (total 2.7%) due to additional marking, improving the accurate capture of harmonic peaks.

[0052] Then, based on the initial sequence, the inverter power is further processed. First, the deviation is calculated based on the power level. If the inverter power is higher than the median (the midpoint between the maximum and minimum values), the fluorescence intensity is slightly increased to compensate for internal field disturbances; if the inverter power is lower than the median, it is decreased to remove noise amplification. Interactive effects are incorporated: if the temperature exceeds a temperature threshold, the power correction amplification effect is increased; if the load input current is higher than the average, the fluorescence intensity is further decreased based on the median and temperature adjustments to balance current-power coupling. The updated sequence is then output. The aforementioned "slight amplification" refers to increasing the fluorescence intensity value by 1-3%, while "decrease" refers to decreasing it by 1-2%. Increasing the power correction amplification effect means adding an additional 0.5-1% to the basic adjustment to reflect the amplification of power disturbances caused by high temperatures (high temperatures exacerbate electromagnetic field changes). For example, if the basic adjustment has already amplified the intensity from 0.80 to 0.816 (2%), and there is a high-temperature marking, then further adjustment to 0.820-0.824 (total amplification 2.5-3%) is recommended. Further reducing the fluorescence intensity based on the median and temperature adjustments means reducing it by an additional 0.5-1% to balance current-power coupling (high current interacts with power to amplify the offset).

[0053] Finally, the pulse offset is subtracted from the current value, and the fluorescence intensity is scaled according to the ratio of the current to the average value (if the current is higher than the average, it is slightly amplified to compensate for the pulse amplification; if it is lower than the average, it is reduced to remove the offset). If a high-interaction scene is marked, the scaling effect of the current correction is increased; if the temperature exceeds the temperature threshold, the offset subtraction is reduced to prevent overcorrection. The fully integrated sequence is output, and the original data is updated to form the corrected data. Among them, subtracting the pulse offset from the current value means subtracting a small offset (absolute value 0.01-0.05, or relative 1-3%) from the intensity value. Increasing the scaling effect of current correction means adding an additional scaling amplitude of 1-2% on the basis of the basic scaling (enlargement or reduction). Decreasing the offset subtraction means reducing the offset subtraction (the part subtracting the pulse offset) by 0.5-1% (or absolute 0.005-0.01) to prevent over-correction (the offset is easily exaggerated at high temperatures, resulting in too low intensity).

[0054] Compare the metrics of the sequences before and after correction, such as calculating the signal-to-noise ratio or variance change, to verify that the interference has been reduced to less than 5%. If it is less than 10%, iteratively adjust the weighting rules and reapply the correction.

[0055] By removing the combined interference of these variables, the signal-to-noise ratio and accuracy of the signal are improved, ultimately reducing misjudgments of hidden harmonics and providing reliable input for subsequent processing. This enhances the predictive ability for "harmonic storms."

[0056] For the corrected data, a measurement basis (such as the Pauli basis or a custom spin projection basis) is selected, and the fluorescence intensity time series is mapped to a quantum Hilbert space (a multidimensional mathematical space, typically 4x4 or higher, representing combinations of spin and phonon states), forming an initial coarse matrix. Projected values ​​are extracted from the phase offset vector and amplitude spectrum (e.g., using the offset angle as a sample and the amplitude peak as a weight to calculate the inner product projection). A maximum likelihood estimation algorithm is applied to iteratively optimize the initial coarse matrix, gradually adjusting it to match the extracted projected values, ensuring that the matrix is ​​positive definite (all eigenvalues ​​within the matrix are non-negative, indicating physical validity) and has a trace of 1 (total probability normalization). Finally, partial trace operations are used to remove irrelevant subspaces (e.g., external noise states, taking the trace over the noise dimension to reduce the matrix while preserving core harmonic information). The entire reconstruction is performed on a node processor, supporting parallel computation (e.g., processing time series data in blocks), outputting the final harmonic phase matrix (a numerical matrix, such as a 4x4 array, representing the phase and amplitude distribution in the 2-9 kHz frequency band), along with timestamps and node locations. Through the above processing, the matrix accurately captures quantum correlations of multi-source coupling (such as the interaction between 3-5kHz harmonics injected by electric vehicles and 7-9kHz amplified by inverters), improving phase resolution significantly compared to traditional methods. This also reduces errors caused by concealment issues.

[0057] A single-valued decomposition technique is applied to the harmonic phase matrix, decomposing it into a left singular vector, singular values, and a diagonal matrix, where singular values ​​represent feature intensities (e.g., values ​​> 0.5 indicate dominant paths). Then, this is mapped to physical features: coupling paths are extracted from the left singular vector (e.g., path ID corresponds to "electric vehicle charger → transformer → inverter"), and frequency modes and phase shifts are calculated by combining the amplitude spectrum. Auxiliary variables are used for weighting (e.g., reducing noise or weak path weights at high temperatures). Finally, secondary features are filtered (features with singular values ​​< 0.5 are removed), generating a list of coupling path features (e.g., [path 1: frequency 3-5kHz, intensity 0.7, phase shift 0.002°; path 2: frequency 7-9kHz, intensity 1.2]), with timestamps and node locations. This accurately locates multi-source interference (e.g., resonance caused by concentrated air conditioning loads), significantly increasing feature extraction accuracy, providing quantitative basis for prediction, and reducing analytical blind spots.

[0058] Assume the reconstructed harmonic phase matrix ρ is a 4x4 symmetric positive definite matrix (simplified representation, element values ​​have been normalized, representing phase or amplitude distribution): ρ=[0.25 0.10 0.05 0.02 0.10 0.30 0.15 0.08 0.05 0.15 0.20 0.12 0.02 0.08 0.12 0.25] The scene captured by this matrix is ​​as follows: row or column 1-2 corresponds to low-frequency coupling (3-5kHz, EV charging injection), row or column 3-4 corresponds to high-frequency amplification (7-9kHz, inverter response), the timestamp is 2023-10-01 18:00:05, and the node location is grid IDNode-7 (near the community charging station).

[0059] Applying the Single Value Decomposition (SVD) technique, the left singular vector U is obtained (a 4x4 matrix, where each column is a vector representing the "direction" of the phase mode; for example, the first column [0.45, 0.50, 0.35, 0.20] represents a dominant direction, corresponding to a low-frequency phase shift): U=[0.45 0.30 0.15 0.10 0.50 0.40 0.20 0.15 0.35 0.25 0.50 0.30 0.20 0.15 0.30 0.45] Singular values ​​Σ (a diagonal matrix, 4x4, with values ​​only on the diagonal, representing feature strength, from largest to smallest: 1.2, 0.7, 0.4, 0.2, e.g., 1.2 represents the strongest feature, and 0.4 represents a weaker feature): Σ=[1.2 0 0 0 0 0.7 0 0 0 0 0.4 0 0 0 0 0.2] Right-left singular vector VT (4x4 matrix, transpose, representing the "direction" of the amplitude pattern): VT=[0.40 0.35 0.25 0.20 0.45 0.50 0.30 0.15 0.20 0.25 0.45 0.40 0.15 0.10 0.20 0.35] A singular value > 0.5 (1.2 and 0.7 here) indicates the dominant path, proceeding to the next mapping step.

[0060] The U-vectors corresponding to the dominant singular values ​​(1.2 and 0.7) represent the path direction. For example, the first column of the U-vector [0.45, 0.50, 0.35, 0.20] (corresponding to a singular value of 1.2) maps to path ID1: "Electric vehicle charger → Shared cable → Inverter" (because the first two elements of the vector are high, indicating low-frequency coupling); the second column [0.30, 0.40, 0.25, 0.15] (singular value 0.7) maps to path ID2: "Transformer → Inverter amplification" (the last two elements are high, indicating high-frequency interaction). Weak vectors (singular values ​​0.4 and 0.2) are not mapped for now and will be filtered later.

[0061] The peak value of the weighted amplitude spectrum of the left singular vector for each path. For example, for path ID1 (singular value 1.2), the weighted average frequency = (3kHz + 0.7 + 5kHz + 0.4) ÷ (0.7 + 0.4) × (singular value weight 1.2) ≈ 3.8kHz (low-frequency mode, emphasizing load current injection); for path ID2 (singular value 0.7), the average frequency = (7kHz + 1.2 + 9kHz + 0.3) ÷ (1.2 + 0.3) × 0.7 ≈ 7.6kHz (high-frequency mode, emphasizing inverter amplification). The frequency modes are represented in the range: path 1 = 3-5kHz, path 2 = 7-9kHz.

[0062] The ratio of the first element to the second element of the U vector of path ID1 (0.45 ÷ 0.50 = 0.9) results in a phase offset of atan2(0.9) ≈ 0.002° (a small offset, indicating stable coupling); the ratio of the second element to the first element of the U vector of path ID2 (0.25 ÷ 0.15 = 1.67) results in a phase offset of atan2(1.67) ≈ 0.005° (a slightly larger offset, indicating variation).

[0063] Integration temperature = 35°C (high temperature, reduce weak path weight by 0.8 times, e.g., singular value 0.7 reduced to 0.56); Inverter power = 60% (medium-high, increase path ID2 weight by 1.1 times, to 0.616); Load current = 10A (high, combined weighted path ID1 by 1.2 times, to 1.44). Adjusted strength: Path 1 = 0.8 (original 0.7 + 1.2 ÷ 0.9 temperature discount), Path 2 = 1.3 (original 1.2 + 1.1).

[0064] Output preliminary characteristics (path ID, frequency mode, phase offset, weighted intensity), such as path 1: 3-5kHz, offset 0.002°, intensity 0.8; path 2: 7-9kHz, offset 0.005°, intensity 1.3; weak path is temporarily retained (intensity 0.3-0.4).

[0065] Checking weighted singularities: Path 1 = 1.44 (>0.5, keep); Path 2 = 1.3 (>0.5, keep); Weak path = 0.32 (originally 0.4×0.8 temperature discount, <0.5, filter out); Another weak path = 0.16 (<0.5, filter). Filtering is based on a threshold of 0.5 (empirical value, >0.5 indicates dominance >50% energy).

[0066] The compilation preserves the features as a structured list, with the strengths weighted, resulting in the following final list: [Path 1: Frequency 3-5kHz, Intensity 0.8, Phase Shift 0.002°]; [Path 2: Frequency 7-9kHz, Intensity 1.3, Phase Shift 0.005°]; with timestamp (2023-10-01 18:00:05) and node location (mesh ID Node-7).

[0067] The Von Neumann entanglement entropy is calculated based on the harmonic phase matrix (the logarithm and trace of the harmonic phase matrix are calculated using a preset formula to quantify the degree of entanglement). Then, the entropy value is compared with the entropy threshold (the entropy threshold is initially 0.8 and can be dynamically adjusted). If the entanglement entropy value exceeds the entropy threshold, the storm evolution is simulated in combination with the coupling path characteristics, and an alarm packet is output, which includes the prediction time, storm probability, coupling path characteristics, harmonic phase matrix summary, timestamp, and node location. This packet is transmitted to the next layer through an encrypted channel (such as 5G or a dedicated link). Otherwise, there is no output, and the loop continues.

[0068] The pre-defined formula for Von Neumann entanglement entropy is: S = -Tr(ρlogρ), where Tr is the trace (the sum of the diagonal elements of the matrix), log is the matrix logarithm, and ρ is the harmonic phase matrix. Storm evolution can be simulated using statistical models (such as exponential growth rates based on path intensity) in conjunction with path characteristics. For example, probability = 1 - exp(-k × intensity_sum), where k = 0.5 (an empirical constant), and intensity_sum = the sum of path intensities. Prediction time is based on phase shift.

[0069] The alarm package can be presented in the following ways: Predicted time: Within the next 3-5 seconds (based on simulation, estimated from the current timestamp); Storm probability: 80% (high risk, based on intensity and offset); Path characteristics: [Path 1: Frequency 3-5kHz, Intensity 0.8, Phase shift 0.002°; Path 2: Frequency 7-9kHz, Intensity 1.3, Phase shift 0.005°] (Full list); Phase matrix summary: {Dimension: 4x4, Entropy: 0.95, Key elements: [0.25, 0.30, 0.20, 0.25] (Diagonal simplification)} (The summary avoids full matrix transmission and highlights key values); Timestamp: 2023-10-01 18:00:05.

[0070] Node location: Grid ID Node-7 (near the community charging station); The above methods can provide an early warning of "harmonic storms" 1-5 seconds in advance, triggering downstream isolation and scheduling, greatly reducing efficiency losses, and significantly improving the overall prediction accuracy.

[0071] A 10cm x 10cm silicon-based photonic crystal module was fabricated using 3D printing technology, integrating a liquid crystal driving circuit, and undergoing preliminary electrical control testing. The tested silicon-based photonic crystal module was mounted (attached to the surface of a transformer or cable) on a critical coupling path (such as a line from an electric vehicle charging station to an inverter). It was connected to a quantum harmonic pre-diagnostic layer via an electrical control interface, receiving alarm packets. Based on path characteristics (e.g., frequency 3-5kHz or 7-9kHz) and storm probability (if the probability exceeds a safety threshold), the voltage applied to the electrically controlled liquid crystal metasurface was set, and the topology was reconstructed. Then, based on load adaptive adjustment parameters (e.g., increasing the chaotic signal amplitude when the load input current is higher than the average), a chaotic anti-phase signal was generated and injected to cancel aperiodic harmonics. Synchronization stability was verified; if stable, it was applied to the power grid; otherwise, reconstruction was returned and the bandgap range was adjusted. The reconstructed topology configuration and a summary of the chaotic anti-phase signal, along with timestamps and node locations, were output. The topology configuration includes the reconstructed topology and bandgap parameters, such as "ring topology, bandgap 3-5kHz, width 2kHz, isolation 40dB". The signal summary includes generation parameters and cancellation efficiency, such as "inverted chaotic wave, amplitude -0.5V, for 7-9kHz, cancellation efficiency 85%".

[0072] Preliminary electrical control testing verifies the electrical control performance, stability, and harmonic frequency response of the manufactured silicon-based photonic crystal components (including waveguide arrays and liquid crystal metasurfaces). This ensures the components function correctly before actual deployment, without issues such as short circuits, response delays, or isolation failures. This testing is conducted in a laboratory environment and typically lasts 1-2 days.

[0073] Based on path characteristics and storm probability, methods for reconstructing the topology by setting the voltage applied to the electro-controlled liquid crystal metasurface include: Extract the coupling path characteristics and storm probability from the alarm packet. Set the initial topology to linear, resulting in a linear bandgap. If the coupling path frequency is less than 3kHz and the storm probability is greater than the first threshold (e.g., set to 75%), adjust the voltage to 4V to adjust the topology to a spiral shape, forming a spiral bandgap. If the coupling path frequency is 3-5kHz and the storm probability is greater than the second threshold (e.g., set to 80%), adjust the voltage to 5V to adjust the topology to a ring shape, forming a ring bandgap. If the coupling path frequency is 5-7kHz and the storm probability is greater than the second threshold (e.g., set to 80%), adjust the voltage to 5V to adjust the topology to a circular shape, forming a circular bandgap. If the storm probability is greater than the third threshold, adjust the voltage to 6V and adjust the topology to a grid shape to form a grid bandgap. If the coupling path frequency shows 7-9kHz and the storm probability is greater than the fourth threshold, adjust the voltage to 7V and adjust the topology to a star shape to form a star bandgap. If the coupling path shows resonant energy dispersion requirements and the storm probability is greater than the fifth threshold, adjust the voltage to 8V and adjust the topology to a fractal shape to form a fractal bandgap. If the coupling path shows multi-path superposition and the storm probability is less than or equal to the second threshold, maintain the linear topology and fine-tune the voltage to 3V.

[0074] Among them, "coupled path indicating resonance energy dispersion requirement" refers to the alarm packet showing multiple paths with large phase offsets (e.g., >0.004°) or relatively uniform intensity distribution (e.g., intensity difference <0.5) in the path feature list, indicating that harmonic energy is "resonating" between frequency points and needs to be dispersed. "Multi-path superposition" refers to the alarm packet showing multiple paths (e.g., more than 2 paths) with similar intensities (e.g., difference less than 0.3) and overlapping or adjacent frequency ranges, indicating that harmonics are "superimposed" from multiple sources (e.g., EV + air conditioner + inverter) to form composite interference.

[0075] By applying voltage to an electrically controlled liquid crystal metasurface, the refractive index distribution of a photonic crystal waveguide array is altered, creating a new topology. This topology directly determines the bandgap (the frequency "holes" that prevent harmonics from passing through). Reconstructing the topology essentially involves dynamically defining the bandgap, resulting in highly targeted isolation. For example, a ring topology creates a 3-5kHz bandgap (2kHz wide, blocking load current injection); a star topology extends this to a 7-9kHz bandgap (2kHz wide, blocking inverter amplification).

[0076] The purpose of generating a chaotic inverted signal based on the Chua's circuit is to create a signal that is "mirror image" of the input harmonics and inject it into the power grid to neutralize and mitigate aperiodic variations (such as random peaks of "harmonic storms"). For example, for an aperiodic 3kHz signal, the original peak value is +1V, the inverted value is -1V, and the sum is approximately 0V. Verification shows that it cancels more than 70% of aperiodic harmonics, reduces storm risk, and achieves a stability of more than 95%. The verification is successful. These are all edge computing methods that directly inject the inverted signal into the power grid line through the component's output interface.

[0077] By constructing topological boundary states in the 2-9 kHz frequency band, harmonics are made to propagate or be absorbed in one direction, and the band gap is dynamically reconstructed to block the coupling path and cancel out aperiodic harmonics.

[0078] An integrated neuromorphic computing chip is used to pre-train a spiking neural network model using historical data to simulate load fluctuations. The pre-trained neuromorphic computing chip is then embedded in the dispatch center, connecting to the inverter and storage center to form a distributed control network. This network connects to the optical topology reconstruction layer via an interface, receiving the reconstructed topology configuration and injection signal summary. Based on the topology configuration (e.g., ring bandgap or star isolation zone) and storm probability (if the probability exceeds a threshold), the spiking neural network model is run, dynamically responding to specific scenarios based on the optical topology dispatch strategy to generate dispatch commands. Then, a spatiotemporal memory model is applied to further optimize the commands and verify their stability. If stable (verified by checking a response delay of less than 3 milliseconds), the commands are applied to the power grid; otherwise, the generation step is returned to update and adjust the model parameters. The optimized dispatch commands and performance summary are output, along with timestamps and node locations. Dispatch commands are actual operational commands generated through spiking neural network and spatiotemporal memory models. They are used to dynamically adjust new energy components (such as inverters, storage systems, or load distribution) in the smart grid in response to topology configuration and storm prediction, thereby achieving efficient dispatch.

[0079] This includes adjusting parameters, target components, and execution conditions, represented in a structured format (such as JSON or command strings). Example (assuming the input is "star-shaped isolation zone, probability 85%", corresponding to a peak charging scenario for electric vehicle groups): Command format: {Type: Blocking priority, Adjustment: Reduce inverter output by 15%, Target: Node-7 inverter, Compensation: Prioritize wind energy storage allocation of 20kWh, Condition: Storm probability > 80%, Expected effect: Total harmonic distortion rate decreases by 15%}; Performance summary: Command generation delay 2.5ms, prediction accuracy 96%, expected effect: harmonic distortion decreases by 15%, load balancing 92%, verified as stable.

[0080] A spiking neural network simulates brain neurons, learning harmonic propagation patterns in real time by inputting topology configuration and storm probability (e.g., the network "remembers" scenarios of cloud cover transients corresponding to ring bandgap in historical data). Then, the network generates targeted strategies based on optical topology scheduling policies (e.g., an "isolation priority strategy," which instructs a 10% reduction in inverter output). A spatiotemporal memory model further optimizes this strategy.

[0081] Example: Input "circular bandgap + probability 82%", SNN learns and generates the strategy: "Isolation priority, reduce peak rise by 30-50%".

[0082] The method for dynamically responding to specific scenarios using optical topology scheduling strategies includes: extracting topology configuration and storm probability, setting the initial scheduling strategy to default linear allocation, which manifests as uniform power output; if the topology configuration displays a ring-shaped bandgap and the storm probability is greater than the first probability threshold (e.g., cloud cover transients), then adjusting to an isolation-first strategy to reduce inverter output (e.g., by 10%) to isolate harmonic amplification paths; if the topology configuration displays a star-shaped bandgap and the storm probability is greater than the second probability threshold (e.g., peak charging times for electric vehicle groups), then adjusting to a blocking-first strategy to prioritize backup renewable energy compensation (e.g., wind power compensation) to block the superposition of harmonics from multiple vehicles; if the topology configuration displays a fractal bandgap and the storm probability is greater than the third probability threshold (e.g., resonance from air conditioning group startup), then adjusting to a distributed-first strategy to distribute resonant energy to achieve load balancing greater than 90%; if the topology configuration displays a grid bandgap and the storm probability is less than or equal to the first probability threshold, then maintaining the default linear allocation and fine-tuning instructions to optimize storage allocation.

[0083] The optical topology scheduling strategy dynamically responds to specific scenarios by simulating the real-time learning of harmonic patterns by brain neurons through neuromorphic chips, in order to respond to scenarios such as cloud cover transients, peak charging of electric vehicles, or resonance from multiple air conditioners starting up simultaneously.

[0084] The isolation-first strategy prioritizes isolating harmonic amplification paths, reducing peak distortion by 30-50%. The blocking-first strategy prioritizes blocking multiple overlapping harmonics, reducing total harmonic distortion by 15%. The distribution-first strategy distributes resonant energy, achieving load balancing greater than 90%.

[0085] By simulating brain neurons with a neuromorphic chip, learning harmonic propagation patterns, and using a spatiotemporal memory model to predict load fluctuations, an immune strategy is generated, achieving a scheduling instruction generation latency of less than 3 milliseconds.

[0086] The scheduling instructions are encrypted and distributed to the new energy nodes by the scheduling center. The new energy nodes submit harmonic suppression proofs to the blockchain, which are verified based on harmonic entropy weight proofs. The blockchain releases compensation quotas to the demand-side load nodes, which are automatically executed based on smart contracts.

[0087] The dispatch center, which runs on a cloud server or dedicated computer, refers to the core control unit of the smart grid (or the central dispatch system or coordinator), responsible for integrating upstream outputs and generating and distributing encrypted instructions to network nodes.

[0088] New energy nodes are distributed devices that receive and decrypt scheduling instructions and then execute suppression, such as photovoltaic (solar) power generation nodes, wind turbine nodes, or tidal energy or hybrid nodes. Harmonic suppression proof is shown in {Node ID: Node-7, Suppression effect: THD reduced by 33%, Entropy contribution: 0.85, Timestamp: 2023-10-01 18:00:20}.

[0089] The harmonic suppression proof consensus mechanism uses PoHE verification, which calculates priority based on entropy. It allows nodes to gain the right to record transactions by contributing to the harmonic suppression effect. For example, if the contribution is high, the node will gain the right to record transactions (and will be processed first). The verification pass rate is >99%, and the latency is <1 second.

[0090] Demand-side load nodes refer to demand-side load devices, such as electric vehicle charging stations, air conditioners, smart home loads, or industrial equipment near wind farms. Compensation amounts are released through smart contracts. These compensation amounts, such as energy credits or economic incentives, reward users who participate in suppression. For example, if EV users reduce charging to lower harmonics, they can release credits to charging piles (such as "10kWh of free energy" or "0.5 yuan discount"). The contract code checks if the "suppression effect > 30%" and then executes.

[0091] Example 2, please refer to Figure 1 and Figure 2 As shown, parts not described in detail in this embodiment are described in Embodiment 1. A method for efficient dispatching of new energy sources based on a smart grid is provided, including: S1: In the new energy power grid, diamond NV color center micro sensors are embedded in the DC or AC ports of the inverter to form a networked array, which collects and outputs raw data in real time. S2: Extract auxiliary environmental variables, correct them based on temperature, inverter power and load input current, generate weight vectors, adjust fluorescence intensity sequence layer by layer to form corrected data; S3: Select the measurement basis and map it to the quantum Hilbert space to form an initial coarse matrix. Extract the projection values ​​and iteratively optimize to output the harmonic phase matrix. S4: Decompose the harmonic phase matrix, extract coupling path features, calculate entanglement entropy, and if it exceeds the entropy threshold, simulate storm evolution and output an alarm packet; otherwise, continue the loop. S5: Reconstruct the topology based on the alarm packet, inject chaotic inverse signals, determine whether to apply it to the new energy grid through stability verification, and output a configuration summary; S6: Receive the configuration summary, run the spiking neural network, generate scheduling instructions based on the optical topology scheduling strategy, verify and output the scheduling instructions and performance summary; S7: The encrypted scheduling instructions are distributed to the new energy nodes. Subsequently, the harmonic suppression proof is submitted for consensus verification, and the compensation amount is released to complete the execution.

[0092] A smart grid-based high-efficiency dispatching system for new energy sources includes: Quantum sensing module: Embedded diamond NV color center micro-sensor to collect raw data, perform fluorescence intensity correction and harmonic phase matrix reconstruction, and output alarm packet; Optical topology reconstruction module: Receives alarm packets, reconstructs the topology structure, injects chaotic inverse signals, and outputs a configuration summary; Dynamic scheduling module: Generates scheduling instructions based on configuration summary, optimizes allocation in response to specific scenarios, and outputs scheduling instructions; Blockchain consensus module: encrypts and distributes instructions, verifies harmonic suppression proofs, executes compensation, and forms a closed loop.

[0093] Example 3: This example discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the operation mode of the above-described method for efficient dispatching of new energy sources based on a smart grid.

[0094] Since the electronic device described in this embodiment is used to implement the efficient dispatching method for new energy sources based on a smart grid according to the embodiments of this application, those skilled in the art can understand the specific implementation methods and various variations of the electronic device in this embodiment based on the efficient dispatching method for new energy sources based on a smart grid according to the embodiments of this application. Therefore, how the electronic device implements the method in the embodiments of this application will not be described in detail here. Any electronic device used by those skilled in the art to implement the efficient dispatching method for new energy sources based on a smart grid according to the embodiments of this application falls within the scope of protection of this application.

[0095] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters and thresholds in the formulas are set by those skilled in the art according to the actual situation.

[0096] The above description is merely a preferred embodiment of the present invention, and the scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for users of ordinary technical skills, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A method for efficient dispatching of new energy sources based on smart grids, characterized in that, include: S1: In the new energy power grid, diamond NV color center micro sensors are embedded in the DC or AC ports of the inverter to form a networked array, which collects and outputs raw data in real time. S2: Extract auxiliary environmental variables, correct them based on temperature, inverter power and load input current, generate weight vectors, adjust fluorescence intensity sequence layer by layer to form corrected data; S3: Select the measurement basis and map it to the quantum Hilbert space to form an initial coarse matrix. Extract the projection values ​​and iteratively optimize to output the harmonic phase matrix. S4: Decompose the harmonic phase matrix, extract coupling path features, calculate entanglement entropy, and if it exceeds the entropy threshold, simulate storm evolution and output an alarm packet; otherwise, continue the loop. S5: Reconstruct the topology based on the alarm packet, inject chaotic inverse signals, determine whether to apply it to the new energy grid through stability verification, and output a configuration summary; S6: Receive the configuration summary, run the spiking neural network, generate scheduling instructions based on the optical topology scheduling strategy, verify and output the scheduling instructions and performance summary; S7: The encrypted scheduling instructions are distributed to the new energy nodes. Subsequently, the harmonic suppression proof is submitted for consensus verification, and the compensation amount is released to complete the execution.

2. The method for efficient dispatching of new energy sources based on a smart grid according to claim 1, characterized in that, The method for real-time acquisition and output of raw data includes: Diamond NV color center micro-sensors are embedded in the DC or AC ports of the inverter to form a networked array, with each node equipped with the sensor. When the sensor is working in real time, it first uses a continuous laser to pump the NV center to enter the excited state; then it applies a microwave pulse to detect changes in the local magnetic field or electric field and converts the detected changes into a fluorescence signal, which is then converted into a digital signal by a photodetector with a sampling rate greater than 100kHz; the digital signal is stored in time series form. Output the raw data, which includes fluorescence intensity time series, phase shift vector, amplitude spectrum, auxiliary environmental variables, timestamps and node positions.

3. The method for efficient dispatching of new energy sources based on a smart grid according to claim 2, characterized in that, S2 includes: All relevant auxiliary environmental variables, including temperature, inverter power, and load input current, were extracted from the raw data and aligned with the fluorescence intensity time series using timestamps. Next, it checks whether the temperature exceeds the temperature threshold. If so, it increases the correction weights of inverter power and load current. If not, it keeps the default weights. Then, it checks whether the load input current is higher than the average value and whether the inverter power exceeds the expectation. If so, it is marked as a high-interaction scenario, and the joint weights of current and power are increased. Otherwise, it keeps the weights processed in the previous step and then generates a weight vector. The fluorescence intensity time series is corrected based on the weight vector. First, the basic deviation is calculated using temperature. Specifically, if the temperature is higher than the reference value, the fluorescence intensity is increased; if the temperature is lower than the reference value, the fluorescence intensity is decreased; if the temperature exceeds the temperature threshold, the fluorescence intensity is increased in addition to the adjustment based on the reference value, and the fluorescence intensity time series after preliminary correction is output. Then, the deviation is calculated based on the power level. If the inverter power is higher than the median, the fluorescence intensity is amplified; if the inverter power is lower than the median, the fluorescence intensity is reduced; if the temperature exceeds the temperature threshold, the amplification effect of power correction is increased; if the load input current is higher than the average value, the fluorescence intensity is further reduced based on the median and temperature adjustment, and the updated fluorescence intensity time series is output. Finally, the pulse offset is subtracted from the current value, and the fluorescence intensity is scaled according to the ratio of the current to the average value. If a high-interaction scene is marked, the scaling effect of the current correction is increased; if the temperature exceeds the temperature threshold, the offset subtraction is reduced. The fully integrated fluorescence intensity time series is output, and the original data is updated to form the corrected data.

4. The method for efficient dispatching of new energy sources based on a smart grid according to claim 3, characterized in that, S3 and S4 include: For the corrected data, a measurement basis is selected, and the fluorescence intensity time series is mapped to the quantum Hilbert space to form an initial coarse matrix. The projection values ​​are extracted from the phase offset vector and amplitude spectrum. The initial coarse matrix is ​​iteratively optimized to match the extracted projection values, so that the matrix is ​​positive definite and the trace is 1. The irrelevant subspace is removed using partial trace operations, and the final harmonic phase matrix is ​​output. The harmonic phase matrix is ​​decomposed into a left singular vector, singular values, and a diagonal matrix, where the singular values ​​represent the feature intensity. The coupling path is extracted from the left singular vector, and the frequency mode and phase shift are calculated by combining the amplitude spectrum. Auxiliary environmental variables are used for weighting, minor features are filtered, and a list of coupling path features is generated. The entanglement entropy is calculated based on the harmonic phase matrix. The entropy value of the entanglement entropy is compared with the entropy threshold. If the entanglement entropy value exceeds the entropy threshold, the storm evolution is simulated in combination with the coupling path characteristics, and an alarm packet is output, which includes the prediction time, storm probability, coupling path characteristics, harmonic phase matrix summary, timestamp and node position. Otherwise, there is no output, and the loop continues.

5. The method for efficient dispatching of new energy sources based on a smart grid according to claim 4, characterized in that, S5 includes: A silicon-based photonic crystal assembly is installed in the critical coupling path and connected to the quantum harmonic prediagnostic layer via an electronically controlled interface. It receives alarm packets, sets the voltage applied to the electronically controlled liquid crystal metasurface based on coupling path characteristics and storm probability, and reconstructs the topology. Based on load-adaptive parameter adjustments, a chaotic anti-phase signal is generated and injected. Synchronization stability is verified; if stable, it is applied to the power grid; otherwise, reconstruction is returned and the bandgap is adjusted. The reconstructed topology configuration and a summary of the chaotic anti-phase signal are output, along with timestamps and node locations. The topology configuration includes the reconstructed topology and bandgap parameters, while the chaotic inverse signal summary includes the generation parameters and cancellation efficiency.

6. The method for efficient dispatching of new energy sources based on a smart grid according to claim 5, characterized in that, The method for reconstructing the topology by setting the voltage applied to the electro-controlled liquid crystal metasurface based on coupling path characteristics and storm probability includes: Extract the coupling path characteristics and storm probability from the alarm packet. Set the initial topology to linear, resulting in a linear bandgap. If the coupling path frequency is less than 3kHz and the storm probability is greater than the first threshold, adjust the voltage to 4V and adjust the topology to a spiral shape, forming a spiral bandgap. If the coupling path frequency is 3-5kHz and the storm probability is greater than the second threshold, adjust the voltage to 5V and adjust the topology to a ring shape, forming a ring bandgap. If the coupling path frequency is 5-7kHz and the storm probability is greater than the third threshold, adjust the voltage to 6V and adjust the topology to a grid shape, forming a grid bandgap. If the coupling path frequency is 7-9kHz and the storm probability is greater than the fourth threshold, adjust the voltage to 7V and adjust the topology to a star shape, forming a star bandgap. If the coupling path shows resonant energy dispersion requirements and the storm probability is greater than the fifth threshold, adjust the voltage to 8V and adjust the topology to a fractal shape, forming a fractal bandgap. If the coupling path shows multi-path superposition and the storm probability is less than or equal to the second threshold, maintain the linear topology and fine-tune the voltage to 3V.

7. The method for efficient dispatching of new energy sources based on a smart grid according to claim 6, characterized in that, S6 includes: A pre-trained spiking neural network model is embedded in the dispatch center, connecting the inverter and storage center to form a distributed control network. It is connected to the optical topology reconstruction layer through an interface, runs the spiking neural network model based on topology configuration and storm probability, and dynamically responds to specific scenarios based on the optical topology dispatch strategy, generates dispatch instructions, verifies the stability of the dispatch instructions. If stable, it is applied to the power grid; otherwise, it returns an update. The optimized dispatch instructions and performance summary are output.

8. The method for efficient dispatching of new energy sources based on a smart grid according to claim 7, characterized in that, The method for dynamically responding to specific scenarios using the optical topology scheduling strategy includes: extracting the topology configuration and storm probability; setting the initial optical topology scheduling strategy to default linear allocation, which manifests as uniform power output; if the topology configuration displays a ring bandgap and the storm probability is greater than a first probability threshold, then the optical topology scheduling strategy is adjusted to an isolation-priority strategy to reduce inverter output; if the topology configuration displays a star bandgap and the storm probability is greater than a second probability threshold, then it is adjusted to a blocking-priority strategy to prioritize backup renewable energy compensation; if the topology configuration displays a fractal bandgap and the storm probability is greater than a third probability threshold, then it is adjusted to a distributed-priority strategy to distribute resonant energy; if the topology configuration displays a grid bandgap and the storm probability is less than or equal to the first probability threshold, then the default linear allocation is maintained.

9. A method for efficient dispatching of new energy sources based on a smart grid according to claim 8, characterized in that, The scheduling instructions are encrypted and distributed to the new energy nodes by the scheduling center. The new energy nodes submit harmonic suppression proofs to the blockchain, which are then verified. The blockchain releases compensation amounts to the demand-side load nodes, and the process is automatically executed based on smart contracts.

10. A smart grid-based high-efficiency dispatching system for new energy sources, used to implement the smart grid-based high-efficiency dispatching method for new energy sources as described in claims 1-9, characterized in that, The smart grid-based high-efficiency dispatching system for new energy sources includes: Quantum sensing module: Embedded diamond NV color center micro-sensor to collect raw data, perform fluorescence intensity correction and harmonic phase matrix reconstruction, and output alarm packet; Optical topology reconstruction module: Receives alarm packets, reconstructs the topology structure, injects chaotic inverse signals, and outputs a configuration summary; Dynamic scheduling module: Generates scheduling instructions based on configuration summary, optimizes allocation in response to specific scenarios, and outputs scheduling instructions; Blockchain consensus module: encrypts and distributes instructions, verifies harmonic suppression proofs, executes compensation, and forms a closed loop.

Citation Information

Patent Citations

  • Power distribution network reconstruction method considering weighted power flow entropy

    CN111416359A

  • Magnetic field measurement system and method, and storage medium

    CN114764131A

  • Computer network security situation awareness system and method

    CN119995874A

  • Virtual power plant control method, system and equipment based on neural network

    CN120474093A

  • Power grid dispatching strategy optimization method and system

    CN120498052A

Cited By

  • Dual-mode neuromorphic magnetic navigation device and navigation method

    CN122468079A