Power system synchronous measurement method and system based on WAPI network

By utilizing the multi-source synchronization mechanism of the WAPI network and the anti-interference technology of the LoRa module, combined with the piecewise linear compensation model, the problems of time synchronization instability, data packet loss, and measurement error in power system synchronous measurement were solved, achieving high-precision and secure power system measurement.

CN121508148APending Publication Date: 2026-02-10GUANGZHOU BUREAU CSG EHV POWER TRANSMISSION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511694243.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-18
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

In power system synchronous measurement, there are problems such as large fluctuations in time synchronization accuracy, high data packet loss rate, low security, and the inability of static compensation accuracy for measurement errors to meet the requirements of smart grids.

Method used

By adopting a multi-source synchronization mechanism based on WAPI network, combined with automatic switching between GPS and Bluetooth dual modes, frequency hopping and differentiated retransmission mechanism of LoRa module, and piecewise linear compensation model, the reliability of time synchronization reference, the stability of data transmission and the measurement accuracy are improved.

Benefits of technology

It ensures the reliability of time synchronization, reduces data transmission packet loss rate, enhances network security, improves measurement accuracy under dynamic load conditions, and reduces deployment costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121508148A_ABST
    Figure CN121508148A_ABST
Patent Text Reader

Abstract

The invention provides an electric power system synchronous measurement method and system based on a WAPI network, and the method comprises the steps: enabling a host terminal and a slave terminal to determine time synchronization reference data based on a multi-source synchronization mechanism, and carrying out the time synchronization according to the time synchronization reference data; synchronously acquiring first real-time load measurement data and second real-time load measurement data from the power system; the host terminal receives the second real-time load measurement data and gathers the second real-time load measurement data with the first real-time load measurement data to obtain real-time load measurement data; based on the constructed compensation model, the host terminal performs error compensation calculation on the real-time load measurement data to obtain compensated measurement data; and the host terminal uploads the compensated measurement data to the data management platform through the WAPI network and outputs the compensated measurement data. The method and the system have the advantages that the time synchronization reliability is improved, the data transmission anti-interference capability is enhanced, the network security is improved, the deployment cost is reduced, and the measurement precision under the dynamic load working condition is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power system monitoring, and more particularly, to a power system synchronous measurement method and system based on a WAPI network. BACKGROUND

[0002] In the process of power system operation, accurate and synchronous measurement of the load state of power equipment is the key to ensuring stable operation of the power grid and achieving rapid fault diagnosis and efficient scheduling. With the development of smart grid technology, power system synchronous measurement is gradually evolving towards automation and intelligence, usually requiring the cooperation of master terminals and slave terminals to achieve real-time acquisition and processing of key data such as load current and voltage.

[0003] The current power system synchronous measurement technology faces four main technical bottlenecks in actual application: First, in terms of time synchronization reliability, existing technologies rely too much on a single GPS synchronization mode, and factors such as building obstruction and electromagnetic interference in complex factory environments often cause unstable GPS signal quality, resulting in fluctuations in synchronization accuracy and even synchronization interruption, seriously affecting the time consistency of multi-terminal measurement data.

[0004] Second, in terms of wireless data transmission, the dense distribution of high-voltage equipment, frequency converters and other strong electromagnetic interference sources in power plants causes serious signal interference problems for traditional wireless communication modules, resulting in high packet loss rates and making it difficult to ensure the complete transmission of key measurement data.

[0005] Third, in terms of network security, existing solutions mostly use general wireless communication protocols, which have security vulnerabilities in data encryption strength and device identity authentication mechanisms, and require additional deployment of dedicated communication networks, significantly increasing system construction and operation costs.

[0006] Finally, in terms of measurement error compensation, since power system loads have dynamic fluctuation characteristics, existing compensation models are mostly static compensation or single formula compensation, which cannot adapt to the differences in error characteristics of different load intervals, resulting in measurement accuracy that cannot meet the demand of smart grids for high-precision monitoring.

[0007] In view of the above problems, the existing technology needs to be improved. SUMMARY

[0008] In order to solve the technical problems of large fluctuation in time synchronization accuracy, high data packet loss rate, low security, and difficulty in meeting the demand of smart grids for high-precision monitoring in the existing technology of power system synchronous measurement, the present application provides a power system synchronous measurement method and system based on a WAPI network.

[0009] According to an aspect of the present application, the present application provides a power system synchronous measurement method based on a WAPI network, comprising:

[0010] The master terminal and the slave terminal determine time synchronization reference data based on a multi-source synchronization mechanism, wherein the master terminal and the slave terminal access the WAPI network;

[0011] The master terminal synchronously collects first real-time load measurement data from the power system according to the time synchronization reference data;

[0012] The slave terminal synchronously collects second real-time load measurement data from the power system according to the time synchronization reference data, and transmits the second real-time load measurement data to the master terminal;

[0013] The master terminal aggregates the first real-time load measurement data and the second real-time load measurement data to obtain real-time load measurement data;

[0014] The master terminal performs error compensation calculation on the real-time load measurement data based on a constructed compensation model to obtain compensated measurement data;

[0015] The master terminal uploads the compensated measurement data to a data management platform through the WAPI network and outputs the compensated measurement data.

[0016] According to another aspect of the present application, the present application provides a power system synchronous measurement system based on a WAPI network, comprising:

[0017] The master terminal and the slave terminal are configured to determine time synchronization reference data based on a multi-source synchronization mechanism, wherein the master terminal and the slave terminal access the WAPI network;

[0018] The master terminal is further configured to synchronously collect first real-time load measurement data from the power system according to the time synchronization reference data, receive second real-time load measurement data transmitted by the slave terminal, aggregate the first real-time load measurement data and the second real-time load measurement data to obtain real-time load measurement data, perform error compensation calculation on the real-time load measurement data based on a constructed compensation model to obtain compensated measurement data, and upload the compensated measurement data to a data management platform through the WAPI network;

[0019] The slave terminal is further configured to synchronously collect second real-time load measurement data from the power system according to the time synchronization reference data, and transmit the second real-time load measurement data to the master terminal;

[0020] The data management platform is configured to receive the compensated measurement data transmitted by the master terminal and output the compensated measurement data.

[0021] According to still another aspect of the present application, the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the method of any of the above aspects of the present application.

[0022] According to still another aspect of the present application, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the method of any of the above aspects of the present application.

[0023] The power system synchronous measurement method and system based on WAPI network provided by the present application, the method comprises: a host terminal and a slave terminal determine time synchronization reference data based on a multi-source synchronization mechanism; the host terminal synchronously collects first real-time load measurement data from a power system according to the time synchronization reference data; the slave terminal synchronously collects second real-time load measurement data from the power system according to the time synchronization reference data, and transmits the second real-time load measurement data to the host terminal; the host terminal aggregates the first real-time load measurement data and the second real-time load measurement data to obtain real-time load measurement data; the host terminal performs error compensation calculation on the real-time load measurement data based on a constructed compensation model to obtain compensated measurement data; and the host terminal uploads the compensated measurement data to a data management platform through a WAPI network and outputs the compensated measurement data. The method and system realize automatic switching of synchronous mode through a multi-source synchronization mechanism to ensure time synchronization reliability, use frequency hopping communication and a differential retransmission mechanism to improve data transmission stability, enhance security and reduce networking costs through a WAPI network, and perform segmented compensation on load measurement data through a compensation model, thereby having the advantages of improving time synchronization reliability, enhancing data transmission anti-interference capability, improving network security, reducing deployment costs, and improving measurement accuracy under dynamic load conditions. BRIEF DESCRIPTION OF DRAWINGS

[0024] The exemplary embodiments of the present application can be more fully understood with reference to the following drawings:

[0025] Figure 1 A flowchart of the power system synchronous measurement method based on a WAPI network according to the preferred embodiment of the present application;

[0026] Figure 2 A structural schematic diagram of the power system synchronous measurement system based on a WAPI network according to the preferred embodiment of the present application;

[0027] Figure 3 A structural schematic diagram of the electronic device according to the preferred embodiment of the present application. DETAILED DESCRIPTION

[0028] Reference will now be made to the drawings to describe the preferred embodiments of the present application in detail. It should be noted that the application can be carried out in many different forms and should not be limited to those set forth in the description and / or claims. These embodiments are provided so that this disclosure will be thorough and complete, and fully convey the scope of the application to those skilled in the art. The terminology used in the detailed description of the embodiments illustrated in the accompanying drawings is not intended to be limiting. Rather, the terminology is used by describing certain embodiments for the purpose of clarity in

[0029] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

[0030] Exemplary method

[0031] Figure 1 A flow chart of the method for synchronously measuring a power system based on a WAPI network according to the preferred embodiment of the present application. As shown in Figure 1 The method for synchronously measuring a power system based on a WAPI network according to the preferred embodiment of the present application starts from step 101.

[0032] In step 101, the host terminal and the slave terminal determine time synchronization reference data based on a multi-source synchronization mechanism, wherein the host terminal and the slave terminal are connected to a WAPI network.

[0033] In the preferred embodiment, the WAPI network refers to a data transmission network that complies with the wireless local area network security standard. Specifically, the WAPI network can be accessed securely by using the WAPI equipment already deployed in the factory area where the host terminal and the slave terminal are located, thereby avoiding the cost of building a dedicated network.

[0034] Preferably, the host terminal and the slave terminal determine time synchronization reference data based on a multi-source synchronization mechanism, wherein the multi-source synchronization mechanism refers to automatically switching between a first synchronization mode based on a GPS signal and a second synchronization mode based on a Bluetooth signal according to the quality of the GPS signal. Specifically:

[0035] The host terminal detects the number of satellites currently connected to the GPS module in real time in the first synchronization mode. When the number of satellites is not less than a preset satellite number threshold, the host terminal and the slave terminal perform time synchronization through the GPS module. Otherwise, the second synchronization mode is automatically switched to, and the Bluetooth communication module is enabled to establish a direct time synchronization link between the host terminal and the slave terminal.

[0036] Preferably, the multi-source synchronization mechanism further comprises: when a synchronization deviation between the first synchronization mode and the second synchronization mode is greater than a preset deviation threshold, automatically calibrating the mean value of a plurality of effective time synchronization reference information in a self-defined time period adjacent to the time of determining the time synchronization reference data, wherein the synchronization deviation is determined according to the absolute value of the difference between the time synchronization reference information determined by the first synchronization mode and the second synchronization mode, and the effective time synchronization reference information refers to the time synchronization reference data whose synchronization deviation is not greater than the preset deviation threshold.

[0037] The existing scheme usually adopts single GPS synchronization, which leads to the failure of indoor scene synchronization. The preferred embodiment ensures the reliability of full-scene time synchronization through automatic switching between GPS and Bluetooth dual modes. When the GPS signal quality meets the requirements, the master terminal and the slave terminal realize high-precision time synchronization through the GPS module in the master terminal. When the number of acquired satellites is detected to be insufficient, the system automatically switches to the Bluetooth synchronization mode to maintain the consistency of the time reference. The number of acquired satellites refers to the number of currently connected satellites detected by the GPS module in real time, which can be obtained by parsing the NMEA protocol data output by the GPS receiving chip and used to evaluate whether the GPS signal quality meets the time synchronization accuracy requirements.

[0038] The preset satellite number threshold refers to the lower limit value of the number of satellites, which can be set according to the minimum number of satellites required for three-dimensional positioning, for example, set to 4. When the number of acquired satellites is lower than this value, the synchronization mode switching is triggered. The automatic switching to the second synchronization mode refers to when the GPS signal quality is insufficient, the system automatically enables the Bluetooth communication module to establish a direct time synchronization link between the master terminal and the slave terminal, which can be realized by broadcasting synchronization instructions through Bluetooth or time stamp calibration between the master and slave devices.

[0039] Specifically, during the operation of the power system, the GPS module of the master terminal continuously outputs the number of currently connected satellites. When it is found through parsing that the number is lower than the preset satellite number threshold, the master terminal determines that the GPS synchronization accuracy cannot meet the requirements, and then closes the GPS synchronization function and activates the Bluetooth module. The master terminal broadcasts a synchronization signal carrying its clock reference through Bluetooth, and the slave terminal adjusts its local clock after receiving the signal, thereby realizing the time alignment of the master and slave terminals. In this process, the master terminal can more directly identify the degradation of GPS synchronization capability by monitoring the number of satellites in the physical layer rather than the indirect signal strength indicator, thereby accurately triggering the switching action.

[0040] The existing scheme usually relies on increasing Beidou module or deploying wired synchronization as backup of GPS, the former still has satellite signal shielding problem and high cost, and the latter is limited by wiring complexity and lack of flexibility. The scheme uses Bluetooth as a backup synchronization channel, without increasing hardware cost, uses the short distance communication characteristics between master and slave terminals, quickly establishes a high-precision time reference when GPS fails, and avoids the problem of false switching caused by signal strength fluctuations through the satellite number threshold judgment mechanism.

[0041] Through the above technical scheme, when the GPS signal is blocked or interfered, the number of satellite connections is insufficient, the master and slave terminals are automatically switched to the Bluetooth synchronization mode, the time reference consistency of the master and slave terminals is ensured, the time stamp deviation of the measurement data caused by synchronization failure is avoided, and the synchronization collection accuracy and reliability of the power system load measurement data are ensured.

[0042] The application further increases the error calibration step in the multi-source synchronization mechanism, and when the synchronization deviation between the first synchronization mode and the second synchronization mode exceeds the preset deviation threshold, the mean value of the latest multiple valid data is automatically taken for calibration.

[0043] The preset deviation threshold refers to the critical deviation value that triggers the calibration operation, which can be set through experimental test or historical data analysis, and is used to judge whether the time reference difference of the two synchronization modes exceeds the allowed range.

[0044] The latest multiple valid data refers to a set of continuous and undisturbed synchronization data in time, which can be filtered out by a sliding window mechanism to obtain synchronization data in the signal stable stage in the last several times, and abnormal data generated in the switching process or transient fluctuation is excluded. The mean value calibration refers to the arithmetic mean calculation of the filtered valid data, which can be realized by accumulating and then dividing by the number of data, and the statistical characteristics are used to eliminate the accidental error of single synchronization deviation.

[0045] Specifically, when the system detects that the time reference deviation of the two synchronization modes exceeds the preset threshold, the calibration process is automatically triggered. In the calibration process, the system extracts the valid synchronization data collected in the signal stable stage in the last continuous multiple times from the cache, such as the last five undisturbed GPS and Bluetooth synchronization time stamps, and calculates the average deviation value of the two.

[0046] The mean value is used to adjust the time reference of the currently used synchronization mode to keep it consistent with the historical reference of the other mode. For example, when the system switches from GPS mode to Bluetooth mode, if it is detected that the deviation of the Bluetooth time reference from the GPS historical reference exceeds the threshold, the mean value of the last five valid GPS time stamps and the corresponding Bluetooth time stamps is taken to correct the current time reference of the Bluetooth module.

[0047] The traditional method directly uses the time reference of the new synchronization source after mode switching, without calibrating the inherent deviation, resulting in jump error of the measurement data. Some schemes use fixed offset compensation, but cannot adapt to the dynamically changing deviation. The scheme calibrates the dynamic mean value, which avoids the high calculation cost of complex filtering algorithm and can correct the deviation in real time, especially suitable for power terminal devices with complex electromagnetic environment and limited hardware resources.

[0048] Through the above time synchronization reference data calibration scheme, the application effectively suppresses the time reference jump error caused by multi-source synchronization mode switching, ensuring the continuity of the time information output by different synchronization modes. The calibration process is automatically completed based on historical effective data without manual intervention, which maintains the real-time measurement while controlling the synchronization deviation within the preset threshold range, thereby improving the phase consistency of the load current and voltage data.

[0049] In step 102, the host terminal synchronously collects first real-time load measurement data from the power system according to the time synchronization reference data.

[0050] In step 103, the slave terminal synchronously collects second real-time load measurement data from the power system according to the time synchronization reference data, and transmits the second real-time load measurement data to the host terminal.

[0051] Preferably, when the slave terminal transmits the second real-time load measurement data to the host terminal, the frequency hopping technology is used to transmit the second real-time load measurement data, specifically:

[0052] The frequency hopping technology includes switching between multiple predefined channels and dynamically selecting channels according to channel interference strength.

[0053] Preferably, when the slave terminal transmits the second real-time load measurement data to the host terminal, the data retransmission mechanism is used to transmit the second real-time load measurement data, specifically:

[0054] The data retransmission mechanism includes using multiple acknowledgment retransmission mechanism for phase and ratio difference data and using one-time retransmission mechanism for basic data, wherein the second real-time load measurement data includes load current and voltage data, the phase and ratio difference data are data reflecting the phase difference and proportional relationship between load current and voltage generated by analog-to-digital conversion of the second real-time load measurement data, and the basic data are amplitudes of load current and voltage.

[0055] In the preferred embodiment, the wireless communication module used by the host terminal and the slave terminal for communication is a LoRa module. The frequency hopping technology includes switching between multiple predefined channels and dynamically selecting channels according to channel interference strength.

[0056] The LoRa module refers to a low-power long-range wireless communication module using spread spectrum modulation technology. Specifically, an industrial-grade chip based on direct sequence spread spectrum technology can be used to implement it. It disperses signal energy to a wide frequency band for transmission, reducing the impact of narrowband interference on communication quality.

[0057] The frequency hopping technology refers to periodically switching between multiple communication channels according to a preset rule. Specifically, a predefined channel list and channel switching algorithm can be used to implement it. It maintains a stable data transmission link by avoiding channels occupied by strong interference. The predefined channel refers to a set of fixed communication frequency bands that are pre-set. Specifically, several sub-frequencies within the power system dedicated frequency band can be used. It limits the channel selection range to reduce the time delay caused by full-band scanning.

[0058] The dynamic channel selection refers to switching to the optimal channel based on real-time monitored channel quality indicators. Specifically, the received signal strength indicator or signal-to-noise ratio can be used as an evaluation parameter. It realizes accurate channel switching decision through a quantitative judgment mechanism.

[0059] Specifically, when the terminal equipment deployed in the power plant establishes a wireless communication link through the LoRa module, it first selects an initial working channel from the predefined compliant frequency band. When the interference intensity of the current channel is detected to exceed the set threshold, the frequency hopping algorithm immediately selects the least disturbed standby channel from the predefined channel list and re-establishes the connection on that channel.

[0060] In this process, the direct sequence spread spectrum technology expands the transmission signal to a wide frequency band, effectively suppressing the pulse interference generated by the frequency converter; the frequency hopping technology avoids the persistent electromagnetic noise caused by high-voltage equipment through periodic channel switching.

[0061] The predefined channel set is optimized through plant electromagnetic environment testing, ensuring sufficient anti-interference redundancy and avoiding computational resource consumption during channel switching. The dynamic channel selection mechanism ensures that the communication link is always on the optimal channel by continuously monitoring the signal quality parameters of each channel, thereby maintaining stable data transmission in complex electromagnetic environments.

[0062] Traditional solutions usually use single spread spectrum technology or fixed channel communication, which is difficult to cope with both transient narrowband interference and persistent wideband interference in power plant areas. Some frequency hopping solutions use full-band scanning mechanism, resulting in high channel switching delay, which cannot meet the real-time requirements.

[0063] This solution combines LoRa spread spectrum technology and frequency hopping technology to form a dual anti-interference mechanism, retaining the advantages of long-range transmission and enhancing adaptability to complex interference patterns. The predefined channel mechanism reduces switching delay while ensuring compliance with power communication frequency band specifications, avoiding conflicts with other wireless systems in the plant.

[0064] Through the above technical solution, this preferred embodiment effectively reduces the packet loss rate of wireless communication in the strong electromagnetic environment of power plant areas, ensuring the complete transmission of measurement data. The low power consumption of the LoRa module extends the battery life of the terminal device and is suitable for measurement nodes deployed in a dispersed manner within the plant area.

[0065] The synergistic operation of frequency hopping technology and dynamic channel selection mechanisms enables communication systems to adapt to dynamic changes in interference sources and maintain stable data transmission rates. Predefined channel mechanisms enhance anti-interference capabilities while ensuring that communication complies with industry frequency band usage standards, avoiding communication interruptions caused by frequency band conflicts.

[0066] Furthermore, the transmission of the second real-time load measurement data from the slave terminal to the host terminal also employs a data retransmission mechanism. This includes a three-times acknowledgment retransmission mechanism for the phase and ratio difference data generated after processing the second real-time load measurement data, and a one-time retransmission mechanism for other basic data, in order to control the packet loss rate.

[0067] The three-way acknowledgment retransmission mechanism means that after the sender transmits data, the receiver must return an acknowledgment signal. If no acknowledgment signal is received, a retransmission is triggered. The cumulative number of retransmissions shall not exceed three. Specifically, this can be achieved by setting a retransmission counter at the sending end and incrementing the count value after each retransmission, so as to ensure that critical data can still be received completely in a strong interference environment.

[0068] The one-time retransmission mechanism means that the sender will only retransmit the data once if it does not receive an acknowledgment signal from the receiver. Specifically, it can be implemented by using a one-time retransmission flag to avoid excessive consumption of communication resources by basic data.

[0069] Phase and ratio difference data refer to parameters reflecting the phase difference and proportional relationship between the load current and voltage in a power system. These parameters are acquired through synchronous sampling circuits and generated after analog-to-digital conversion. Their accuracy directly affects the precision of error compensation calculations. Basic data, on the other hand, refers to the amplitude information of the load current and voltage in the power system. This data can be acquired through conventional sensors, encoded, and transmitted. Its dynamic changes have a relatively small impact on overall measurement accuracy.

[0070] Specifically, in the context of strong electromagnetic interference in power plant areas, when the wireless communication module transmits measurement data, it first implements a differentiated retransmission strategy based on the data type. For phase and ratio difference data, the slave terminal starts an acknowledgment waiting timer after the initial transmission. If no acknowledgment signal is received from the master terminal within the set time, a first retransmission is immediately performed and the timer is reset. This process is repeated until the cumulative number of retransmissions reaches three or an acknowledgment signal is received. For basic data such as current and voltage amplitude, if the slave terminal does not receive an acknowledgment signal after the initial transmission, it only performs one retransmission and then terminates the transmission process of the data packet. Through this mechanism, critical data can ensure reception integrity through multiple retransmissions when encountering transient interference, while basic data maintains basic reliability through a limited number of retransmissions, thereby controlling the overall packet loss rate and optimizing channel resource utilization.

[0071] Traditional solutions use a uniform number of retransmissions for all data, leading to a high risk of packet loss for critical data even under strong interference, or increased communication latency for basic data due to excessive retransmissions. This solution, by differentiating data types and designing differentiated retransmission numbers, satisfies the high reliability requirements of critical data while avoiding the problem of non-critical data excessively consuming communication resources, without increasing hardware costs.

[0072] Through the above technical solution, this preferred embodiment effectively reduces the packet loss rate of phase and ratio difference data transmission in environments with strong electromagnetic interference, while maintaining the real-time performance of basic data transmission. This enables power system synchronous measurement data to balance transmission reliability and communication efficiency in complex plant environments. Furthermore, this mechanism, together with frequency hopping technology, forms a collaborative anti-interference system, improving overall data transmission quality through a combination of preventative channel switching and transport layer retransmission compensation.

[0073] In step 104, the host terminal aggregates the first real-time load measurement data and the second real-time load measurement data to obtain real-time load measurement data.

[0074] In step 105, based on the constructed compensation model, the host terminal performs error compensation calculation on the real-time load measurement data to obtain the compensated measurement data.

[0075] Preferably, before the host terminal and slave terminal determine the time synchronization reference data based on the multi-source synchronization mechanism, the method further includes constructing a compensation model for compensating the load measurement data, including:

[0076] Acquire historical load measurement data, wherein the historical load measurement data includes historical load current data and historical load voltage data;

[0077] The historical load current is divided into multiple continuous current intervals, and a linear error compensation formula is fitted to each current interval.

[0078] The compensation model proposed in this preferred embodiment is a piecewise linear compensation model. It divides the load current range into multiple continuous intervals and establishes an independent linear compensation relationship mathematical model for each interval. Specifically, it can be implemented using an interval division method based on the inflection point of the error change trend. The interval boundaries are determined by identifying the nonlinear abrupt change points of the error with load variation. The load current range division refers to dividing the load current into intervals based on the fluctuation range of the load current in the actual operation of the power system. This can be achieved by analyzing the correlation coefficient between the error and the load current in historical data. The effectiveness of the division is ensured by verifying the linear correlation between the error and the load within each interval.

[0079] The linear error compensation formula is a linear function expression used to correct measurement errors within a specific load range. Specifically, it can be implemented by fitting historical data within the range using the least squares method, and error correction is achieved by determining the slope and intercept parameters of the formula.

[0080] Specifically, this technical solution analyzes the correlation between load current and measurement error in historical power system operating data, identifying the inflection point of the error trend as a function of load as the boundary for dividing intervals. Within each interval, the error exhibits a strong linear correlation with the load current, and a linear compensation formula for that interval is obtained through least squares fitting. During real-time measurement, the corresponding interval is matched based on the current load current value, and the linear formula for that interval is used for error correction. For example, when the load current is in the 1-3A interval, the pre-fitted formula y = 0.02x - 0.01 is used to compensate for the measurement data, eliminating specific linear error components within that interval.

[0081] Existing compensation models mostly employ a single static formula or a complex nonlinear model. The former cannot adapt to the error characteristics of different load ranges, while the latter's computational complexity exceeds the terminal's processing capabilities. This solution, through a range division method based on the inflection point of the error trend, maintains the computational efficiency of the linear model while improving the model's adaptability to dynamic loads through segmented processing, thus resolving the dilemma between accuracy and efficiency inherent in traditional solutions.

[0082] Through the above technical solution, this preferred embodiment effectively solves the problem of insufficient measurement error compensation accuracy under dynamic load. By adapting the error characteristics of different load intervals to a piecewise linear model, the measurement accuracy is significantly improved while ensuring the real-time computing capability of the terminal. At the same time, the interval division method based on historical data enhances the adaptability of the model to actual working conditions and reduces the implementation difficulty of model maintenance and updates.

[0083] Preferably, based on the constructed compensation model, the host terminal performs error compensation calculations on the real-time load measurement data to obtain compensated measurement data, including:

[0084] Based on the real-time load current value in the real-time load measurement data, determine the current range in the compensation model that matches it;

[0085] The linear error compensation formula corresponding to the current range in the matching compensation model is called to perform error compensation calculation, and the compensated measurement data is obtained.

[0086] In this preferred embodiment, the real-time load current value refers to the real-time sampled data that ensures time consistency through a multi-source synchronization mechanism. Specifically, it can be achieved by using a synchronous acquisition module to obtain the instantaneous current value during the operation of the power system, providing real-time input for dynamically matching load ranges.

[0087] Specifically, during power system operation, the synchronous acquisition module acquires real-time, time-synchronized load current data and determines the current range to which the current value belongs based on preset range division rules. For example, when the current value is in the 3A to 5A range, the host terminal automatically calls the corresponding linear compensation formula for that range to correct errors. At the range boundaries, a buffer threshold is set to avoid frequent range switching caused by small current fluctuations. For example, when the current value fluctuates between 2.95A and 3.05A, the original range determination result is maintained. After completing the range matching, the system extracts the corresponding linear formula parameters from the pre-stored formula mapping table, performs a multiplication and addition operation to generate the compensated measurement value, and the entire process is completed within milliseconds.

[0088] Existing solutions typically employ a single static formula to uniformly compensate for all load states, which cannot adapt to the differences in error characteristics across different current ranges. Manually switching compensation modes presents response lag and operational risks. This preferred embodiment achieves real-time and accurate compensation under load fluctuations through dynamic range matching and automatic formula invocation, while maintaining extremely low computational complexity and terminal hardware resource consumption, thus perfectly meeting the requirements of power measurement terminals for low power consumption and rapid response.

[0089] In step 106, the host terminal uploads the compensated measurement data to the data management platform and outputs it via the WAPI network.

[0090] The technical solution of the power system synchronization measurement method based on WAPI network described in this preferred embodiment solves the problem of time synchronization failure due to environmental interference in power system synchronization measurement. It ensures clock consistency in complex scenarios through a multi-source synchronization mechanism; reduces packet loss rate of wireless data transmission under strong electromagnetic interference by combining frequency hopping and retransmission mechanisms to improve communication reliability; enhances data transmission security by implementing encrypted communication compliant with national standards through the WAPI network; and optimizes measurement accuracy under dynamic loads by achieving precise error correction through a segmented compensation model. It has the advantages of improving time synchronization reliability, enhancing data transmission anti-interference capability, improving network security and reducing deployment costs, and improving measurement accuracy under dynamic load conditions.

[0091] Exemplary system

[0092] Figure 2 This is a schematic diagram of a power system synchronization measurement system based on a WAPI network according to a preferred embodiment of the present invention. Figure 2 As shown, the system 200 described herein includes a host terminal 201, a slave terminal 202, and a data management platform 203, wherein:

[0093] The host terminal 201 and the slave terminal 202 are used to determine time synchronization reference data based on a multi-source synchronization mechanism, wherein the host terminal 201 and the slave terminal 202 are connected to a WAPI network;

[0094] The host terminal 201 is also configured to synchronously collect first real-time load measurement data from the power system based on the time synchronization reference data; receive second real-time load measurement data transmitted by the slave terminal 202, and aggregate the second real-time load measurement data with the first real-time load measurement data to obtain real-time load measurement data; perform error compensation calculation on the real-time load measurement data based on the constructed compensation model to obtain compensated measurement data; and upload the compensated measurement data to the data management platform via the WAPI network.

[0095] The slave terminal 202 is also used to synchronously collect real-time second real-time load measurement data from the power system according to the time synchronization reference data, and transmit the second real-time load measurement data to the host terminal 201;

[0096] The data management platform 203 is used to receive and output the compensated measurement data transmitted by the host terminal 201.

[0097] The power system synchronization measurement system based on the WAPI network described in this preferred embodiment and the power system synchronization measurement method based on the WAPI network use the same steps to determine the time synchronization reference data based on the multi-source synchronization mechanism of the host terminal and the slave terminal, then synchronously collect the first real-time load measurement data and the second real-time load measurement data respectively, and then the host terminal aggregates the data to generate real-time load measurement data and uploads the error-compensated data to the data platform. The technical effects achieved are also the same, and will not be described again here.

[0098] Exemplary electronic device

[0099] Figure 3 This is a schematic diagram of the structure of an electronic device according to a preferred embodiment of the present invention. Figure 3 As shown, the electronic device includes one or more processors 301 and memory 302.

[0100] The processor 301 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0101] The memory 302 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may execute the program instructions to implement the power system synchronization measurement method based on the WAPI network of the various embodiments disclosed above, and / or other desired functions. In one example, the electronic device may also include an input device 303 and an output device 304, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0102] In addition, the input device 303 may also include, for example, a keyboard, a mouse, etc.

[0103] The output device 304 can output various information to the outside. The output device 304 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0104] Of course, for the sake of simplicity, Figure 3Only some of the components of the electronic device relevant to this disclosure are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.

[0105] Exemplary computer program product and computer readable storage medium

[0106] In addition to the methods and apparatus described above, embodiments of this disclosure may also be computer program products comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the WAPI network-based power system synchronization measurement method according to various embodiments of this disclosure as described in the "Exemplary Methods" section above.

[0107] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this disclosure. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on a user's computing device, partially on a user's computing device, as a standalone software package, partially on a user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0108] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions that, when executed by a processor, cause the processor to perform the steps in the WAPI network-based power system synchronization measurement method according to various embodiments of this disclosure as described in the "Exemplary Methods" section above.

[0109] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0110] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0111] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0112] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0113] The apparatus and methods of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.

[0114] It should also be noted that in the apparatus, devices, and methods of this disclosure, the components or steps are decomposable and / or recombinable. Such decomposition and / or recombination should be considered equivalent to the present disclosure. The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0115] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.

Claims

1. A power system synchronization measurement method based on a WAPI network, characterized in that, The method includes: The host terminal and the slave terminal determine the time synchronization reference data based on a multi-source synchronization mechanism, wherein the host terminal and the slave terminal are connected to the WAPI network; The host terminal synchronously collects the first real-time load measurement data from the power system based on the time synchronization reference data; The slave terminal synchronously collects second real-time load measurement data from the power system based on the time synchronization reference data, and transmits the second real-time load measurement data to the host terminal. The host terminal aggregates the first real-time load measurement data and the second real-time load measurement data to obtain real-time load measurement data; Based on the constructed compensation model, the host terminal performs error compensation calculations on the real-time load measurement data to obtain the compensated measurement data. The host terminal uploads the compensated measurement data to the data management platform and outputs it via the WAPI network.

2. The method according to claim 1, characterized in that, The host terminal and slave terminal determine time synchronization reference data based on a multi-source synchronization mechanism. This multi-source synchronization mechanism refers to automatically switching between a first synchronization mode based on GPS signals and a second synchronization mode based on Bluetooth signals, depending on the quality of the GPS signal. Specifically: In the first synchronization mode, the host terminal detects the number of satellites currently connected to the GPS module in real time. When the number of satellites is not less than a preset satellite number threshold, the host terminal and the slave terminal synchronize time through the GPS module; otherwise, it automatically switches to the second synchronization mode and enables the Bluetooth communication module to establish a direct time synchronization link between the host and slave terminals.

3. The method according to claim 2, characterized in that, The multi-source synchronization mechanism further includes: when the synchronization deviation between the first synchronization mode and the second synchronization mode is greater than a preset deviation threshold, automatically taking the average of several valid time synchronization reference information within a custom time period adjacent to the time when the current time synchronization reference data is determined for calibration, wherein the synchronization deviation is based on the absolute value of the difference between the time synchronization reference information determined by the first synchronization mode and the second synchronization mode, and the valid time synchronization reference information refers to the time synchronization reference data whose synchronization deviation is not greater than the preset deviation threshold.

4. The method according to claim 1, characterized in that, When the slave terminal transmits the second real-time load measurement data to the host terminal, frequency hopping technology is used to transmit the second real-time load measurement data. Specifically: The frequency hopping technology includes switching between multiple predefined channels and dynamically selecting a channel based on the channel interference intensity.

5. The method according to claim 1, characterized in that, When the slave terminal transmits the second real-time load measurement data to the host terminal, a data retransmission mechanism is used to transmit the second real-time load measurement data. Specifically: The data retransmission mechanism includes a multiple confirmation retransmission mechanism for phase and ratio difference data and a single retransmission mechanism for basic data. The second real-time load measurement data includes load current and voltage data. The phase and ratio difference data are generated by analog-to-digital conversion of the second real-time load measurement data, reflecting the phase difference and proportional relationship between the load current and voltage. The basic data are the amplitudes of the load current and voltage.

6. The method according to claim 1, characterized in that, Before the host terminal and slave terminal determine the time synchronization reference data based on the multi-source synchronization mechanism, the process also includes constructing a compensation model to perform compensation calculations on the load measurement data, including: Acquire historical load measurement data, wherein the historical load measurement data includes historical load current data and historical load voltage data; The historical load current is divided into multiple continuous current intervals, and a linear error compensation formula is fitted to each current interval.

7. The method according to claim 6, characterized in that, Based on the constructed compensation model, the host terminal performs error compensation calculations on the real-time load measurement data to obtain compensated measurement data, including: Based on the real-time load current value in the real-time load measurement data, determine the current range in the compensation model that matches it; The linear error compensation formula corresponding to the current range in the matching compensation model is called to perform error compensation calculation, and the compensated measurement data is obtained.

8. A power system synchronization measurement system based on a WAPI network, characterized in that, The system includes a host terminal, slave terminals, and a data management platform, wherein: The host terminal and the slave terminal are used to determine time synchronization reference data based on a multi-source synchronization mechanism, wherein the host terminal and the slave terminal are connected to a WAPI network; The host terminal is also used to synchronously collect first real-time load measurement data from the power system based on the time synchronization reference data; receive second real-time load measurement data transmitted by the slave terminal, and aggregate it with the first real-time load measurement data to obtain real-time load measurement data; perform error compensation calculation on the real-time load measurement data based on the constructed compensation model to obtain compensated measurement data; and upload the compensated measurement data to the data management platform through the WAPI network. The slave terminal is also used to synchronously collect real-time second real-time load measurement data from the power system based on the time synchronization reference data, and transmit the second real-time load measurement data to the host terminal. A data management platform is used to receive and output the compensated measurement data transmitted by the host terminal.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the method as described in any one of claims 1-7.

10. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the steps of the method according to any one of claims 1-7.