Electric energy load real-time data acquisition and analysis method based on low-cost scheme

Through dynamic sampling rate adjustment, hybrid network topology optimization and adaptive model switching methods, the problems of high hardware cost, low data transmission efficiency, and difficult to balance real-time and accuracy in existing power load real-time data acquisition and analysis technologies are solved, and low-cost and efficient load monitoring and analysis are achieved.

CN120237632AInactive Publication Date: 2025-07-01BAOLIN INNOVATION TECHNOLOGY (SICHUAN) CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202510433777.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-07-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing real-time data acquisition and analysis technology for power loads has problems such as high hardware cost, low data transmission efficiency, difficult to balance real-time and accuracy, and poor system scalability and compatibility.

Method used

Using dynamic sampling rate adjustment, hybrid network topology optimization and adaptive model switching methods, data acquisition and transmission optimization is achieved through a distributed data acquisition network and a three-level data transmission system, and real-time analysis is carried out in combination with the edge and the cloud.

Benefits of technology

The collaborative design of low-cost hardware and intelligent algorithms has been realized, which significantly improves the economy and efficiency of power load data acquisition, improves the reliability and real-time nature of data transmission, and reduces system operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120237632A_ABST
    Figure CN120237632A_ABST
Patent Text Reader

Abstract

The invention provides an electric energy load real-time data acquisition and analysis method based on a low-cost scheme, and the method comprises the following steps: constructing a distributed data acquisition network, employing a combined hardware architecture of a current / voltage sensor and a low-power-consumption MCU, and achieving the data acquisition optimization through a dynamic sampling rate adjustment mechanism, when the load fluctuation exceeds a set threshold value, the sampling rate is automatically increased, when the load is stable, the sampling rate is reduced to a calibration sampling rate, and a Kalman filtering algorithm is adopted to carry out real-time data preprocessing; a three-level data transmission system is established, the three-level data transmission system comprises an edge acquisition node layer, a convergence gateway layer and a cloud processing layer, an optimized AODV routing protocol is adopted among nodes to construct a star-shaped and net-shaped hybrid network topology, and an optimal transmission path is dynamically selected according to the signal strength and the network congestion condition; a differentiated QoS transmission strategy is designed, and data is divided into three priorities of fault alarm data, real-time monitoring data and historical data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field, and particularly relates to a method for real-time data acquisition and analysis of electric energy load based on a low-cost solution. Background Art

[0002] At present, real-time data acquisition and analysis of electric energy load is one of the key technologies in smart grid, industrial automation and energy management systems. Its core goal is to optimize energy distribution, improve grid stability and reduce operating costs by real-time monitoring of power load data. Currently, with the rapid development of Internet of Things technology and edge computing, low-cost solutions have gradually become a research hotspot. Especially in small and medium-sized enterprises and distributed energy scenarios, low-cost solutions can significantly reduce the deployment threshold and improve the penetration rate of data acquisition. However, there are still many limitations in the existing real-time data acquisition and analysis technologies of electric energy load, which seriously restrict their large-scale application and the exertion of actual effects.

[0003] The contradiction between the cost and performance of existing data acquisition devices is prominent. Traditional electric energy monitoring devices usually rely on high-precision sensors and dedicated data acquisition modules. Although they can provide high measurement accuracy, the hardware cost is high, and the installation and maintenance are complex, making it difficult to promote in scenarios with limited budgets. While low-cost solutions often adopt general-purpose sensors and simplified circuit designs, although the hardware overhead is reduced, there are generally problems such as low sampling rate and poor anti-interference ability, resulting in unstable data quality. Especially in complex electromagnetic environments, signal distortion is serious, affecting the accuracy of subsequent analysis.

[0004] The reliability and latency problems of real-time data transmission have not been effectively solved. Most low-cost solutions rely on wireless communication technologies (such as Wi-Fi, LoRa or NB-IoT) to achieve data upload, but these technologies have inherent defects in coverage, bandwidth and anti-interference ability. For example, although LoRa is suitable for long-distance transmission, its bandwidth is limited and it is difficult to support real-time upload of high-frequency data; Wi-Fi is vulnerable to interference in a dense device environment, resulting in data packet loss or increased latency. In addition, the existing protocol stacks are insufficiently optimized for real-time data and lack effective error correction and retransmission mechanisms, further reducing the reliability of data transmission.

[0005] The real-time performance and algorithm efficiency of data analysis are insufficient. Traditional load analysis mostly relies on centralized processing in the cloud. Although there are rich computing resources, the data transmission and response latency are relatively high, making it difficult to meet scenarios with strict real-time requirements (such as fault detection or dynamic frequency modulation). Edge computing can partially alleviate this problem, but the computing power of low-cost edge devices is limited and it is difficult to support the efficient operation of complex algorithms (such as deep learning models). The existing lightweight algorithms (such as simplified statistical methods or shallow machine learning models) have low accuracy in load prediction and anomaly detection, especially in scenarios of non-linear load or sudden change load.

[0006] In addition, the scalability and compatibility of existing systems are poor. Many low-cost solutions adopt customized hardware and closed software architectures, resulting in difficulties in integrating with other energy management systems or third-party platforms. The lack of standardization in data formats and communication protocols further increases the complexity of system expansion. At the same time, the absence of a unified energy data model makes it difficult to achieve cross-system data fusion and analysis, limiting the comprehensive utilization value of load data.

[0007] The issues of energy consumption and long-term maintenance are overlooked. Low-cost devices usually adopt low-power designs, but in scenarios of high-frequency acquisition and real-time transmission, their battery life drops significantly, and frequent battery replacement or charging increases the operation and maintenance costs. In addition, the existing solutions have weak self-monitoring and fault warning functions for device status, resulting in difficulties in timely detecting device anomalies and affecting the continuity of data acquisition.

[0008] In summary, although the low-cost real-time data acquisition and analysis solution for electrical energy loads has significant advantages in popularization and application, it still has significant defects in data quality, transmission reliability, real-time analysis ability, system compatibility, and long-term maintenance. Future research needs to make further breakthroughs in aspects such as hardware optimization, communication protocol improvement, lightweight algorithm design, and standardization construction to promote the practical and large-scale development of this technology. Summary of the Invention

[0009] The present invention proposes a method for real-time data acquisition and analysis of electrical energy loads based on a low-cost solution. This method solves the problems of high cost, low data transmission efficiency, and difficulty in balancing real-time performance and accuracy in traditional electrical energy load acquisition systems through dynamic sampling rate adjustment, hybrid network topology optimization, and adaptive model switching, achieving efficient load monitoring and analysis at low cost.

[0010] The technical solution of the present invention is implemented as follows: A method for real-time data acquisition and analysis of electrical energy loads based on a low-cost solution, the method comprising the following steps: constructing a distributed data acquisition network, adopting a combined hardware architecture of current / voltage sensors and low-power MCUs, realizing data acquisition optimization through a dynamic sampling rate adjustment mechanism, automatically increasing the sampling rate when the load fluctuation exceeds a set threshold, and reducing it to the calibrated sampling rate when the load is stable, and performing real-time data preprocessing using the Kalman filter algorithm;

[0011] establishing a three-level data transmission system, including an edge acquisition node layer, a convergence gateway layer, and a cloud processing layer, constructing a star-shaped and mesh hybrid network topology between nodes using an optimized AODV routing protocol, and dynamically selecting the optimal transmission path according to signal strength and network congestion;

[0012] Design a differentiated QoS transmission strategy, divide the data into three priorities: fault alarm data, real-time monitoring data, and historical data, and use TCP with retransmission, UDP with FEC forward error correction, and batch compression transmission methods for data transmission respectively;

[0013] Deploy an edge computing module at the aggregation gateway layer, integrate the FFT transform and sliding window statistical algorithms to achieve load feature extraction, and use the Delta coding technology for data compression to reduce the data transmission volume; build a streaming processing architecture in the cloud, use a framework for real-time load analysis of latency, and establish a feedback adjustment mechanism to transmit the analysis results back to the edge nodes, and dynamically adjust the sampling according to the transmitted data;

[0014] Automatically switch the acquisition and upload channels through the adaptive analysis model switching mechanism, automatically select the cloud LSTM model or the edge statistical model for transmission analysis according to the network latency status, and integrate and summarize the analysis results for backup, and achieve a balance between analysis timeliness and accuracy by automatically selecting the model.

[0015] The existing electric energy load data acquisition system has the following core problems: traditional solutions rely on high-precision sensors and high-performance processors, with high hardware costs (single node > 200 yuan), and the fixed sampling rate design is prone to data overload (losing key transient features when the sampling rate is insufficient) or resource waste (high-frequency sampling redundancy when the load is stable) during load fluctuations, and the dynamic adaptability is poor; most existing data transmissions use a single network protocol (such as ZigBee or LoRa), and cannot dynamically optimize the path according to the signal strength and network congestion, resulting in a packet loss rate > 15% and a transmission delay > 500 ms, making it difficult to meet the real-time monitoring requirements; the data classification and transmission strategy is rough, the fault alarm data and historical data are mixed in transmission, the reliability of key information transmission is low (such as the loss rate of fault data due to network jitter > 10%), and there is a lack of edge preprocessing ability, and the original data is directly uploaded to the cloud, resulting in a bandwidth occupancy rate > 80%; the cloud analysis model is fixed, and it is unable to dynamically switch the edge and cloud computing resources according to the network state. In high-latency scenarios (such as network latency > 1 s), the timeliness of the analysis results is poor, and relying on the simple edge model leads to a decrease in the recognition accuracy of complex load patterns > 30%.

[0016] The technical breakthroughs of this method include: (1) Based on the hardware architecture of a low-power MCU and dynamic sampling rate adjustment, when the load fluctuation exceeds the threshold, the sampling rate is automatically increased to 1 kHz (reduced to 100 Hz at steady state). Combining the Kalman filter algorithm, the data noise is suppressed to within ±0.5%, and the hardware cost is reduced to less than 50 yuan per single node; (2) The optimized AODV routing protocol constructs a hybrid star and mesh topology, dynamically selects paths according to signal strength (RSSI) and congestion index, the transmission delay is compressed to <200 ms, and the packet loss rate <5%; (3) The differentiated QoS strategy transmits fault alarm data (TCP + retransmission), real-time monitoring data (UDP + FEC), and historical data (batch compression) with different priorities, and the reliability of key data is increased to 99.9%; (4) The edge layer integrates FFT and sliding window algorithms to extract load characteristics, the Delta coding compression rate >60%, and the cloud streaming processing architecture (such as Apache Flink) realizes millisecond-level real-time analysis, and dynamically adjusts the edge sampling strategy through a feedback mechanism; (5) The adaptive model switching mechanism switches according to the network delay threshold (e.g., enables cloud LSTM when <300 ms, switches to edge ARIMA when ≥300 ms), and the comprehensive accuracy rate ≥92%, which is 20% higher than that of a single model.

[0017] As a preferred embodiment, the dynamic sampling rate adjustment mechanism specifically includes:

[0018] Calculate the load change rate based on a sliding time window, the window size is set to 10 sampling periods, and when the standard deviation of the load change rate of three consecutive windows exceeds the threshold, the sampling rate is increased;

[0019] Adopt double buffering technology to achieve seamless switching of the sampling rate, set two data buffers of different sizes, and automatically complete data alignment and timing correction during sampling rate switching;

[0020] Combine the temperature sensor data for sampling compensation, and automatically start the temperature drift compensation algorithm when the ambient temperature changes by more than ±5°C;

[0021] Establish a sampling quality evaluation model, and monitor the quality of sampling data in real time through signal-to-noise ratio and waveform distortion indicators. When the quality score is lower than the set threshold, automatically trigger sampling parameter adjustment.

[0022] As a preferred embodiment, the optimized AODV routing protocol calculates the path weight by introducing a link quality evaluation factor LQE and combining three dimensions of RSSI signal strength, packet loss rate, and transmission delay; and sets a dynamic routing maintenance mechanism to automatically initiate route reconstruction when it detects that the link quality drops by more than 20%; intelligently adjusts route selection according to the remaining battery power of the node, and preferentially selects nodes with a battery power higher than 60% as relays; simultaneously selects 2-3 optimal paths for parallel transmission of key data.

[0023] As a preferred embodiment, the edge computing module adopts a modular design architecture, decouples the feature extraction, data compression, and cache management functions into independent processing units, reduces the computational complexity through fixed-point arithmetic and look-up table methods, and dynamically adjusts its window size according to the load change rate, with the adjustment range being 32 - 256 sampling points.

[0024] As a preferred embodiment, the cloud constructs a streaming processing architecture as a three-level processing pipeline, including a data verification layer, a feature calculation layer, and a model inference layer; through a dedicated load prediction model, adopts a lightweight Transformer architecture, controls the number of model parameters within 1M, automatically adjusts the batch size according to the data arrival rate, and performs synchronous recording within the set range; fuses and analyzes the cloud detection results and the edge detection results and then conducts data feedback.

[0025] As a preferred embodiment, the feedback adjustment mechanism establishes a two-way communication channel, and the cloud sends a control command to the edge node every 5 seconds; and simultaneously designs a multi-level adjustment strategy, including sampling rate adjustment, transmission priority adjustment, and computing resource allocation adjustment, and cooperates with a PID controller to dynamically optimize the adjustment parameters to prevent oscillations caused by local anomalies.

[0026] After adopting the above technical solutions, the beneficial effects of the present invention are as follows: This method significantly improves the economy and efficiency of power load data acquisition through the collaborative design of low-cost hardware and intelligent algorithms. The dynamic sampling rate adjustment mechanism captures key transient features (such as motor starting current transients) during load fluctuations, reduces power consumption by 40% during steady state, and compresses the hardware cost by 60%; the hybrid network topology and AODV optimized routing extend the network coverage radius to 500 meters and improve the transmission reliability to over 95%, which is suitable for complex industrial environments; the differentiated QoS strategy ensures zero loss of fault alarm data, the real-time data delay is <100ms, and the historical data bandwidth occupancy is reduced by 70%; the edge computing module compresses the original data volume by 80% through FFT and Delta coding, the cloud streaming processing architecture supports real-time analysis of tens of thousands of data points per second, the feedback adjustment makes the sampling strategy adapt to load changes, and the comprehensive energy efficiency is improved by 50%; the adaptive model switching mechanism balances the advantages of the deep model in the cloud (LSTM accuracy of 95%) and the lightweight model at the edge (ARIMA accuracy of 85%), and can still ensure the timeliness of the analysis results when the network delay > 1s, reducing the overall system operation and maintenance cost by 45%, providing a cost-effective load management solution for scenarios such as smart grids and industrial Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0028] Figure 1 This is the flowchart of the method of the present invention. Detailed implementation manners

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0030] Embodiment:

[0031] As Figure 1 shown, a method for real-time data collection and analysis of electrical energy load based on a low-cost solution. When this solution is deployed in an industrial park, first, electrical energy load monitoring of production line equipment is carried out through a distributed data collection network (current / voltage sensors + low-power MCU).

[0032] When the current fluctuation of a certain injection molding machine exceeds the threshold (±15%) due to a load mutation (such as mold switching), the dynamic sampling rate adjustment mechanism increases the sampling rate from 1 kHz to 4 kHz, and combines the Kalman filtering algorithm to eliminate noise interference in real time (the signal-to-noise ratio is increased to 35 dB). The prior art uses a fixed sampling rate (such as 2 kHz) and cannot balance the requirements of low power consumption and high precision, resulting in a data loss rate of 20% during the fluctuation period.

[0033] Subsequently, the data is transmitted through an optimized AODV routing protocol: in the complex electromagnetic environment of the workshop, the star-mesh hybrid topology dynamically selects paths according to the signal strength. When the signal of a certain node decays to -85 dBm due to metal shielding, the system automatically switches to the multi-hop relay mode, and the network packet loss rate is reduced from 12% of the traditional static routing to 3%. The edge computing module of the aggregation gateway layer performs FFT transformation (the fundamental harmonic separation accuracy reaches 0.1 Hz) and sliding window statistics (window width 200 ms) on the original data, and compresses the data volume by 70% through Delta coding (from 10 MB of the original data to 3 MB). The existing edge devices only support simple mean calculation and the compression rate is less than 50%.

[0034] The differentiated QoS strategy ensures a 100% arrival rate for the overloading alarm of the injection molding machine (priority 1) through TCP retransmission. For real-time monitoring data (priority 2), UDP + FEC (error correction rate 98%) is adopted, and historical data (priority 3) is transmitted after batch compression, reducing the bandwidth occupancy by 40% compared with the traditional single TCP transmission mode. The cloud streaming processing architecture (such as Apache Flink) analyzes the load trend in real time. After detecting that the no-load rate of a certain production line is abnormal at night (>30%), the feedback adjustment mechanism issues an instruction to the edge node within 5 seconds, reducing the sampling rate to 500Hz to save energy; while the traditional cloud batch processing has a delay of more than 10 minutes.

[0035] The adaptive model switching mechanism automatically enables the edge statistical model (linear regression accuracy 92%) when the network delay > 200ms, and switches to the cloud LSTM model (accuracy 98%) after the network recovers. The comprehensive accuracy rate is increased by 6% compared with the pure cloud solution, and the analysis timeliness is improved.

[0036] The comparison between the solution adopted in this application document and the prior art is shown in Table 1:

[0037] Table 1 Comparison between this solution and the prior art

[0038] Technical dimension The solution of this application Existing technology Improvement effect Data acquisition architecture Dynamic sampling rate (1kHz~4kHz) + Kalman filter for real-time preprocessing Fixed sampling rate (such as 2kHz), without adaptive adjustment Data integrity during the fluctuation period is increased by 80%, and power consumption is reduced by 30% Network topology and routing protocol The optimized AODV protocol supports star-mesh hybrid topology and dynamic path selection Static routing or single topology (such as pure star), with fixed path The network packet loss rate is reduced from 12% to 3%, and the transmission delay is reduced by 40% QoS transmission strategy Three-level priority (TCP retransmission / UDP+FEC / batch compression) Single transmission mode (such as all TCP or all UDP) Bandwidth occupancy is reduced by 40%, and the arrival rate of critical data is 100% Edge computing ability FFT + sliding window statistics + Delta coding (compression rate 70%) Only support mean / summation calculation, compression rate ≤ 50% Edge processing efficiency is increased by 2 times, and storage requirements are reduced by 50% Cloud-edge collaboration Streaming processing architecture (such as Flink) for real-time feedback regulation and dynamic adjustment of sampling rate Batch processing architecture (such as Hadoop), feedback delay ≥ 10 minutes Response speed is increased by 120 times, and real-time regulation accuracy reaches 95% Analysis model switching Adaptive switching (LSTM / statistical model), dynamically selected according to network delay Fixed model deployment (only in the cloud or only at the edge) Comprehensive accuracy is increased by 6%, and timeliness is improved Fault detection sensitivity Edge FFT harmonic separation accuracy is 0.1Hz, and real-time alarm delay ≤ 2 seconds Rely on cloud analysis, alarm delay ≥ 30 seconds Fault location speed is increased by 15 times, and the false negative rate is reduced from 25% to

[0039] Based on Table 1 for specific description, the core differences and technical advantages of this application document are as follows:

[0040] Dynamic sampling and preprocessing: The prior art uses a fixed sampling rate, resulting in high power consumption or data loss. This solution adjusts the sampling rate (1kHz ↔ 4kHz) triggered by load fluctuations, and combines Kalman filtering to achieve noise suppression (signal-to-noise ratio 35dB). In the scenario of sudden load changes, the effective data capture rate is increased from 80% to 99%.

[0041] Intelligent network transmission: Traditional static routing has serious packet loss in complex industrial environments. This solution dynamically optimizes the path through the AODV protocol (multi-hop relay + signal strength weight), increasing the transmission success rate from 88% to 97% in metal shielding areas, and reducing the routing calculation overhead by 50%.

[0042] Hierarchical QoS guarantee: The prior art cannot distinguish data priorities. This solution uses a TCP / UDP hybrid strategy to ensure zero loss of fault alarm data (compared with the traditional UDP packet loss rate of 15%), and at the same time, compressing and transmitting historical data saves 40% of the bandwidth.

[0043] Edge-Cloud Collaborative Analysis: Traditional solutions rely on cloud batch processing (with high latency). This solution realizes real-time feature extraction through edge FFT + Delta encoding, and combines cloud streaming computing (such as Flink) to complete second-level feedback, shortening the no-load energy consumption optimization response time from 10 minutes to 5 seconds.

[0044] Model Adaptive Switching: Existing technology models are rigid (e.g., only using LSTM requires a stable network). This solution automatically degrades to an edge statistical model during network fluctuations to ensure the continuity of analysis, and the system error is controlled within ±2% during model switching (the analysis interruption rate is 100% during traditional network outages).

[0045] Comparison of Measured Data: In the pilot project, this solution reduced the monthly electricity metering error from 1.8% to 0.3%, compressed the fault diagnosis response time from 45 seconds to 3 seconds, reduced the network operation and maintenance cost by 60%, and improved the comprehensive energy efficiency by 22%.

[0046] As a preferred implementation manner, the dynamic sampling rate adjustment mechanism specifically includes:

[0047] Calculate the load change rate based on a sliding time window, with the window size set to 10 sampling periods. When the standard deviation of the load change rate in three consecutive windows exceeds the threshold, trigger an increase in the sampling rate;

[0048] Adopt a dual-buffer technology to achieve seamless switching of the sampling rate. Set two data buffers of different sizes and automatically complete data alignment and timing correction during sampling rate switching;

[0049] Perform sampling compensation in combination with the data of the temperature sensor, and automatically start the temperature drift compensation algorithm when the ambient temperature changes by more than ±5°C;

[0050] Establish a sampling quality evaluation model, and monitor the quality of sampling data in real time through signal-to-noise ratio and waveform distortion indicators. When the quality score is lower than the set threshold, automatically trigger an adjustment of the sampling parameters.

[0051] The prior art usually adopts a fixed sampling rate or simple threshold trigger adjustment, which cannot accurately capture the transient changes of the load and has poor anti-interference ability. This solution calculates the standard deviation of the load change rate through a sliding window (the window is 10 cycles, and three consecutive times of exceeding the threshold trigger adjustment), and combines the dual-buffer technology to achieve seamless switching of the sampling rate (100Hz - 1kHz), solving the problem of data tomography caused by sudden changes in the sampling rate in traditional methods; the temperature compensation algorithm is automatically activated when the temperature changes by ±5°C, and the compensation accuracy reaches ±0.1%, with a faster response speed compared to traditional temperature drift compensation; the sampling quality evaluation model scores in real time through the signal-to-noise ratio (SNR > 40dB) and waveform distortion (THD < 2%), and triggers parameter adjustment when the data quality drops by 10%. In the industrial motor load monitoring scenario, this mechanism can accurately capture the starting current transient in milliseconds (the sampling rate is instantaneously increased to 1kHz), automatically reduces the frequency to 100Hz during steady state, and reduces the overall power consumption by 35%.

[0052] The optimized AODV routing protocol calculates the path weight by introducing the link quality evaluation factor LQE and combining three dimensions of RSSI signal strength, packet loss rate, and transmission delay; and sets up a dynamic routing maintenance mechanism that automatically initiates route reconstruction when it detects that the link quality drops by more than 20%; intelligently adjusts the route selection according to the remaining battery power of the node, and preferentially selects nodes with a battery power higher than 60% as relays; selects 2 - 3 optimal paths for parallel transmission of key data. The traditional AODV protocol only relies on RSSI for route selection and has poor path stability in complex industrial environments. This solution innovatively introduces the link quality evaluation factor LQE (integrating three indicators of RSSI, packet loss rate, and delay), and the path selection weight calculation error is <5%; the dynamic routing maintenance mechanism completes route reconstruction within 0.5 seconds when the link quality drops by 20%, with a convergence speed 60% faster than the traditional protocol; the node battery-aware routing preferentially selects high-battery-power (>60%) relay nodes, and the network lifetime is extended by 2 times; the multi-path parallel transmission of key data (2 - 3 paths) improves the transmission success rate of fault warning data to 99.99%. In the substation monitoring scenario, this protocol can still maintain an end-to-end delay of <200ms and a packet loss rate controlled below 1% in an environment where metal equipment blocks the signal.

[0053] The edge computing module adopts a modular design architecture, decoupling the feature extraction, data compression, and cache management functions into independent processing units, reducing the computational workload through fixed-point arithmetic and look-up table methods. Its window size is dynamically adjusted according to the load change rate, with an adjustment range of 32 - 256 sampling points. Traditional edge computing uses an integrated architecture with low resource utilization and high latency. This solution decouples feature extraction (80% reduction in FFT computational workload), data compression (65% compression rate of Delta coding), and cache management (hit rate > 95%) through modular design, and uses fixed-point arithmetic and look-up table methods to reduce MCU resource occupancy by 40%; the dynamic adjustment of the sliding window (32 - 256 sampling points) improves the load feature extraction accuracy by 15%. In the electricity consumption monitoring of commercial buildings, this module achieves a ms-level response on the STM32F4 chip with only 50KB of memory occupancy.

[0054] The cloud constructs a streaming processing architecture as a three-level processing pipeline, including a data verification layer, a feature calculation layer, and a model inference layer; through a dedicated load prediction model, using a lightweight Transformer architecture, the number of model parameters is controlled within 1M, automatically adjusting the batch size according to the data arrival rate, and performing synchronous recording within the set range; fusing and analyzing the cloud detection results and the edge detection results for data feedback. Existing cloud analysis mostly uses the batch processing mode with poor real-time performance. This solution's three-level pipeline architecture (data verification → feature calculation → model inference) compresses the processing delay to 50ms; the lightweight Transformer model (with 1M parameters) has a faster inference speed than the traditional LSTM model, and the accuracy remains above 92%; the adaptive batch processing (16 - 256 samples / batch) enables the resource utilization rate to reach 90%. In the regional power grid dispatching scenario, this architecture supports processing more than 100,000 data points per second, with a load prediction error < 1.5%.

[0055] The feedback regulation mechanism establishes a two-way communication channel, and the cloud sends a control instruction to the edge node every 5 seconds; and at the same time designs a multi-level regulation strategy, including sampling rate regulation, transmission priority regulation, and computing resource allocation regulation, and cooperates with the PID controller to dynamically optimize the regulation parameters to prevent local anomalies from causing oscillations. Traditional one-way feedback has a problem of regulation lag. This solution's two-way communication channel (5 seconds / command update) combined with the PID controller improves the system response speed by 40%; the multi-level regulation strategy (sampling rate ±20%, transmission priority 3 levels, computing resource allocation 0 - 100%) can suppress more than 90% of local oscillations. In the photovoltaic power station monitoring, this mechanism shortens the abnormal condition adjustment time from 30 seconds to 8 seconds, reducing energy waste by 25%. All technical solutions have passed industrial-level EMC tests and are suitable for a working environment of -40°C to 85°C.

[0056] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for real-time data collection and analysis of electric energy load based on a low-cost solution, characterized in that: The method comprises the following steps: constructing a distributed data acquisition network, adopting a combined hardware architecture of current / voltage sensors and low-power MCU, realizing data acquisition optimization through a dynamic sampling rate adjustment mechanism, automatically increasing the sampling rate when the load fluctuation exceeds a set threshold, and reducing it to a calibrated sampling rate when the load is stable, and adopting a Kalman filter algorithm for real-time data preprocessing; Establish a three-level data transmission system, including edge collection node layer, aggregation gateway layer and cloud processing layer. Use the optimized AODV routing protocol between nodes to build a star and mesh hybrid network topology, and dynamically select the optimal transmission path based on signal strength and network congestion. Design differentiated QoS transmission strategies, classify data into three priorities: fault alarm data, real-time monitoring data, and historical data. Use TCP with retransmission, UDP with FEC forward error correction, and batch compression transmission for data transmission. Deploy edge computing modules at the aggregation gateway layer, integrate FFT transformation and sliding window statistical algorithms to extract load characteristics, and use Delta coding technology for data compression to reduce data transmission volume; build a streaming processing architecture through the cloud, use a framework to perform delayed real-time load analysis, and establish a feedback adjustment mechanism to transmit the analysis results back to the edge node, and dynamically adjust the sampling based on the returned data; The collection and upload channels are automatically switched through the adaptive analysis model switching mechanism. The cloud-based LSTM model or edge statistical model is automatically selected for transmission analysis based on the network delay status. The analysis results are integrated and summarized for backup. The balance between analysis timeliness and accuracy is achieved through automatic model selection.

2. The method for real-time data collection and analysis of electric energy load based on a low-cost solution as claimed in claim 1, characterized in that: The dynamic sampling rate adjustment mechanism specifically includes: The load change rate is calculated based on a sliding time window. The window size is set to 10 sampling periods. When the standard deviation of the load change rate of three consecutive windows exceeds the threshold, the sampling rate is increased. Double buffering technology is used to achieve seamless switching of sampling rates. Two data buffers of different sizes are set to automatically complete data alignment and timing correction when the sampling rate is switched. Combined with the temperature sensor data for sampling compensation, the temperature drift compensation algorithm is automatically started when the ambient temperature changes by more than ±5°C; A sampling quality assessment model is established to monitor the sampling data quality in real time through signal-to-noise ratio and waveform distortion indicators, and the sampling parameter adjustment is automatically triggered when the quality score is lower than the set threshold.

3. The method for real-time data collection and analysis of electric energy load based on a low-cost solution as claimed in claim 1, characterized in that: The optimized AODV routing protocol introduces the link quality evaluation factor LQE, and calculates the path weight in combination with three dimensions: RSSI signal strength, packet loss rate, and transmission delay. A dynamic routing maintenance mechanism is set up to automatically initiate routing reconstruction when it is detected that the link quality has dropped by more than 20%. The routing selection is intelligently adjusted according to the remaining power of the node, and nodes with a power level higher than 60% are preferentially selected as relays. Two to three optimal paths are simultaneously selected for parallel transmission of key data.

4. The method for real-time data collection and analysis of electric energy load based on a low-cost solution as claimed in claim 1, characterized in that: The edge computing module adopts a modular design architecture, decouples feature extraction, data compression and cache management functions into independent processing units, and reduces the amount of calculation through fixed-point number operations and table lookup. Its window size is dynamically adjusted according to the load change rate, and the adjustment range is 32-256 sampling points.

5. The method for real-time data collection and analysis of electric energy load based on a low-cost solution as claimed in claim 1, characterized in that: The cloud-based streaming processing architecture is a three-level processing pipeline, including a data verification layer, a feature calculation layer, and a model inference layer. Through a dedicated load forecasting model, a lightweight Transformer architecture is adopted, the model parameter quantity is controlled within 1M, the batch size is automatically adjusted according to the data arrival rate, and synchronous recording is performed within the range setting interval; the cloud detection results are fused and analyzed with the edge detection results, and data feedback is performed.

6. The method for real-time data collection and analysis of electric energy load based on a low-cost solution as claimed in claim 1, characterized in that: The feedback regulation mechanism establishes a two-way communication channel, and the cloud sends a control command to the edge node every 5 seconds; and at the same time designs a multi-level regulation strategy, including sampling rate regulation, transmission priority regulation and computing resource allocation regulation, and cooperates with the PID controller to dynamically optimize the regulation parameters to prevent local abnormalities from causing oscillations.

Citation Information

Cited By

  • LSTM electric power Internet of Things ring main unit optimization method, system, device and medium

    CN120806296A

  • Electric energy data accurate acquisition method and system adopting double configuration

    CN120893003A

  • Oil and gas field electric energy metering control method and device based on swan gap system

    CN121172979A

  • Oil and gas field electric energy metering control method and device based on a hon g meng system

    CN121172979B

  • Machine tool operation state acquisition and evaluation method and system

    CN121277099A