A method, device and storage medium for wide-band harmonic synchronous phasor transmission of a power system

By employing a preset data frame structure for bidirectional data communication in the power system, compressing key characteristic information of harmonics/interharmonics, and combining it with the microsecond precision time stamp of a satellite clock, the problem of insufficient data efficiency and real-time performance in existing protocols is solved, realizing efficient, real-time, reliable transmission and precise event triggering for broadband harmonic synchronous monitoring.

CN121357256BActive Publication Date: 2026-06-12ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
Filing Date
2025-12-04
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

The existing broadband harmonic synchronous monitoring communication protocol GB/T26865.2 for power systems is insufficient in terms of data efficiency and real-time performance, making it difficult to meet the real-time transmission requirements of high-density harmonic data. Furthermore, it lacks an efficient mechanism for extracting and compressing key harmonic characteristic information, resulting in high data redundancy, wasted communication bandwidth, and complex configuration process with poor configuration flexibility, making it difficult to achieve accurate wide-area event triggering and analysis.

Method used

Two-way data communication is carried out using a preset data frame structure, including data frames, command frames, and configuration frames. By efficiently compressing the key characteristic information of harmonics/interharmonics and combining it with the microsecond precision time stamp provided by the satellite clock, high-precision time synchronization and flexible configuration are achieved, ensuring the integrity of key information and saving communication bandwidth.

Benefits of technology

It achieves efficient, real-time, and reliable transmission of broadband harmonic/interharmonic measurement data, reduces communication bandwidth usage, supports dynamic adaptation to monitoring needs, provides a high-precision waveform recording command transmission mechanism, and enables accurate triggering and alignment of wide-area events.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121357256B_ABST
    Figure CN121357256B_ABST
Patent Text Reader

Abstract

This application relates to the field of power systems and provides a method, device, and storage medium for broadband harmonic synchronous phasor transmission in power systems. The method includes: bidirectional data communication between a data acquisition unit and a master station using a preset data frame structure; frame types include data frames, command frames, configuration frames, and clock signals; data frames are uploaded from the data acquisition unit to the master station; command frames and configuration frames are used for exchanging commands and configuration information between the data acquisition unit and the master station; and clock signals are sent from a satellite clock to both the data acquisition unit and the master station. The data field structure of the data frame includes a microsecond-precision time scale, a fundamental phasor, and a harmonic phasor sequence, the harmonic phasor sequence being generated based on the dominant harmonic / interharmonic phasors; the data field structure of the command frame includes a microsecond-precision time scale, a target data acquisition unit code, a command type, and command parameters; and the configuration frame includes an uplink configuration frame and a downlink configuration frame. This application enables efficient, real-time, and reliable transmission of broadband harmonic / interharmonic measurement data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power system technology, and in particular to a broadband harmonic synchronous phasor transmission method for power systems, a corresponding electronic device, and a corresponding computer-readable storage medium. Background Technology

[0002] With the large-scale grid connection of new energy power generation such as wind power and photovoltaics, and the widespread application of power electronic equipment on the load side, harmonic and interharmonic pollution problems in power systems are becoming increasingly serious. Wideband harmonic components (typically referring to subharmonics, fundamental frequencies, integer harmonics, and even interharmonics in the thousands of hertz range) can cause a series of problems such as relay protection malfunctions, equipment overheating, and resonant overvoltages, seriously threatening the safe and stable operation of the power grid. To comprehensively understand the distribution and propagation characteristics of harmonics and effectively manage them, conducting wide-area broadband harmonic synchronous monitoring has become an urgent requirement for the development of smart grids.

[0003] The core of wide-area synchronous monitoring lies in synchronization, which requires monitoring devices distributed at different nodes of the power grid, such as phasor measurement units (PMUs) or dedicated harmonic measurement devices, to sample data based on a unified time reference (such as the second pulse of BeiDou / GPS), and upload the measurement data with time-stamped information to the main station for analysis in real time. This process is highly dependent on efficient and reliable communication protocols.

[0004] In the field of real-time communication in power systems, GB / T26865.2 "Real-time Dynamic Monitoring System for Power Systems - Part 2: Data Transmission Protocol" is commonly used. However, when dealing with the specific requirement of wide-area synchronous monitoring of broadband harmonics, the GB / T26865.2 protocol still suffers from insufficient data efficiency and real-time performance. Summary of the Invention

[0005] This application provides a broadband harmonic synchronous phasor transmission method, device, and storage medium for power systems, which can realize efficient, real-time, and reliable transmission of broadband harmonic / interharmonic measurement data.

[0006] In one aspect, this application provides a broadband harmonic synchronization phasor transmission method for power systems, applied to bidirectional data communication between a data acquisition unit and a master station, the method comprising:

[0007] The acquisition unit and the master station communicate bidirectionally using a preset data frame structure; the frame types of the preset data frame structure include data frames, command frames, configuration frames, and clock signals.

[0008] The data frame is sent from the acquisition unit to the master station; the command frame and the configuration frame are used for the exchange of commands and configuration information between the acquisition unit and the master station; the clock signal is sent from the satellite clock to the acquisition unit and the master station;

[0009] The data field structure of the data frame includes a microsecond-precision time scale, a fundamental phasor, and a harmonic phasor sequence, wherein the harmonic phasor sequence is generated based on the dominant harmonic / interharmonic phasor; the data field structure of the command frame includes a microsecond-precision time scale, a target acquisition unit code, a command type, and command parameters; the configuration frame includes an uplink configuration frame and a downlink configuration frame.

[0010] In some embodiments of this application, the microsecond precision time stamp in the data frame and the command frame is generated by the satellite clock by the acquisition unit during data calculation.

[0011] In some embodiments of this application, the fundamental phasor in the data frame includes frequency, amplitude, and phase, wherein the frequency, amplitude, and phase are single-precision floating-point numbers.

[0012] In some embodiments of this application, the harmonic phasor sequence in the data frame is analyzed based on the spectrum within the current data window by the acquisition unit, and the N harmonic / interharmonic components with the highest amplitude content are sorted in ascending order of frequency;

[0013] For each harmonic / interharmonic component, there are frequency, amplitude, phase, and reserved domain; the frequency, amplitude, and phase are single-precision floating-point numbers, and the reserved domain is used to expand the harmonic content information.

[0014] In some embodiments of this application, when the command frame is multicast or broadcast, the target acquisition unit code is used to specify a group of target devices; the microsecond precision time stamp is used to specify the absolute time when the acquisition unit executes the command; the command type is used to identify the command type; and the command parameters are used to identify the command content.

[0015] In some embodiments of this application, when the command type is a start recording command, the command parameters include the recording start reason, the sub-acquisition unit channel mask, and the total recording duration;

[0016] The waveform recording start reason is used to indicate the triggering reason; the sub-acquisition unit channel mask is used to distinguish different sub-acquisition units in the communication architecture containing the data concentrator, with each bit representing a sub-acquisition unit, and the sub-acquisition unit channel mask being set to 1 indicates that there is a recording requirement for the corresponding channel; the total waveform recording duration represents the duration of the entire waveform recording process.

[0017] In some embodiments of this application, the data field structure of the configuration frame includes a number of configuration segments and multiple configuration segments;

[0018] When the configuration frame is an uplink configuration frame, the plurality of configuration segments include configuration type, configuration object ID, channel type, rated ratio, rated value, and range of voltage transformer and current transformer; wherein, in channel configuration, the configuration object ID is the channel ID, and the channel type is used to distinguish between voltage and current.

[0019] When the configuration frame is a downlink configuration frame, the plurality of configuration segments include configuration type, configuration object ID, fixed value action channel ID, time fixed value, and start-up fixed value.

[0020] In some embodiments of this application, the acquisition unit and the master station communicate bidirectionally using a preset data frame structure, including:

[0021] After the acquisition unit comes online, the uplink configuration frame is sent to the master station through the acquisition unit;

[0022] After the master station parses the uplink configuration frame, it sends the downlink configuration frame through the master station;

[0023] The data frame is sent to the main station through the acquisition unit at a preset period;

[0024] The master station or the acquisition unit constructs a command frame to trigger a preset event; wherein, the command frame constructed by the master station is sent to the target acquisition unit to execute the preset event; the command frame constructed by the acquisition unit is sent to the master station via the acquisition unit, and the master station triggers the associated acquisition unit to execute the preset event.

[0025] In another aspect, this application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the broadband harmonic synchronization phasor transmission method for the power system described in any one of the claims.

[0026] In another aspect, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the broadband harmonic synchronization phasor transmission method for the power system described in any one of the claims.

[0027] In another aspect, this application also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the broadband harmonic synchronization phasor transmission method for power systems described in the above aspects.

[0028] The broadband harmonic synchronous phasor transmission method, device, and storage medium for power systems provided in this application enable bidirectional data communication between the acquisition unit and the master station using a preset data frame structure. The frame types of the preset data frame structure can include data frames, command frames, configuration frames, and clock signals. During communication, data frames can be sent from the acquisition unit to the master station, command frames and configuration frames can be used for exchanging commands and configuration information between the acquisition unit and the master station, and the clock signal can be sent from a satellite clock to both the acquisition unit and the master station. The data field structure of the data frame can include a microsecond-precision time scale, a fundamental phasor, and a harmonic phasor sequence, with the harmonic phasor sequence generated based on the dominant harmonic / interharmonic phasors. The data field structure of the command frame can include a microsecond-precision time scale, a target acquisition unit code, a command type, and command parameters. The configuration frame can include uplink and downlink configuration frames. Through this innovative data frame structure, key harmonic / interharmonic characteristic information is efficiently compressed, significantly reducing the data volume and saving communication bandwidth while ensuring the integrity of key information, thus achieving efficient, real-time, and reliable transmission of broadband harmonic / interharmonic measurement data. Attached Figure Description

[0029] Figure 1 This is a flowchart illustrating the steps of a broadband harmonic synchronization phasor transmission method for a power system provided in an embodiment of this application.

[0030] Figure 2 This is a schematic diagram of the communication interaction logic provided in the embodiments of this application;

[0031] Figure 3 This is a structural block diagram of an electronic device provided in an embodiment of this application;

[0032] Figure 4 This is a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. Detailed Implementation

[0033] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0034] In the field of real-time communication in power systems, GB / T26865.2 "Real-time Dynamic Monitoring System for Power Systems - Part 2: Data Transmission Protocol" is commonly used. The GB / T26865.2 protocol defines the communication framework, data model, and transmission mapping for transmitting data from a synchronous phasor measurement unit (PMU). It can transmit fundamental phasor, frequency, and waveform recording data, and to a certain extent supports the transmission of harmonic data.

[0035] However, the GB / T26865.2 protocol still has the following shortcomings when dealing with the specific requirement of wide-area synchronous monitoring of broadband harmonics: (1) When transmitting complete dominant harmonic / interharmonic phasor data, GB / T26865.2 needs to transmit all possible harmonic / interharmonic phasor data, which will generate huge data traffic, making it difficult to meet the real-time transmission requirements of high-density harmonic data, and easily causing communication congestion and data delay at the master station, resulting in insufficient data efficiency and real-time performance; (2) This protocol lacks efficient extraction and processing of key characteristic information of harmonics / interharmonics. Compression mechanism usually transmits the entire spectrum, resulting in high data redundancy, low effective information density, waste of communication bandwidth, and insufficient harmonic information concentration; (3) Its recording trigger command is usually simple, making it difficult to carry high-precision absolute time stamps and complex triggering conditions, which is not conducive to the main station to accurately correlate and analyze events of multiple monitoring points in a wide area, and has the disadvantage of insufficient precision in synchronization and triggering mechanism; (4) The protocol configuration process is complex, and the ability to dynamically change the monitoring focus (such as focusing on a specific harmonic) is weak, resulting in poor configuration flexibility.

[0036] This application provides a real-time communication protocol specifically designed for wide-area synchronous monitoring of broadband harmonics in power systems. This protocol aims to achieve efficient, real-time, and reliable transmission of broadband harmonic / interharmonic measurement data. Specifically, through an innovative data frame structure, key characteristic information of harmonics / interharmonics is efficiently compressed to significantly reduce data volume and save communication bandwidth while ensuring the integrity of key information, thus achieving efficient, real-time, and reliable transmission of broadband harmonic / interharmonic measurement data. Simultaneously, a flexible and configurable communication framework defined by the configuration frame allows the monitoring system to dynamically adapt to different monitoring needs. Furthermore, based on a satellite clock time synchronization signal and data frames and command frames containing microsecond-precision time stamps, a high-precision time-synchronized waveform recording command transmission mechanism is provided, enabling accurate triggering and alignment of wide-area events.

[0037] Reference Figure 1 The diagram illustrates a flowchart of a broadband harmonic synchronization phasor transmission method for a power system according to an embodiment of this application, which may specifically include the following steps:

[0038] Step S101: The acquisition unit and the master station communicate bidirectionally using a preset data frame structure.

[0039] The real-time communication protocol provided in this application embodiment can be built on a TCP / IP (Transmission Control Protocol / Internet Protocol) network to standardize bidirectional data communication between the acquisition unit and the master station.

[0040] Optionally, the acquisition unit may refer to a broadband harmonic synchronous measurement device or a broadband harmonic synchronous measurement data concentrator; the master station may refer to a substation back-end system or a dispatch master station, and this application embodiment does not limit this.

[0041] The core design concept of the real-time communication protocol provided in this application embodiment is to achieve real-time transmission of massive broadband measurement data through an efficient preset data frame structure, while ensuring data accuracy and synchronization reliability.

[0042] In some embodiments of this application, the frame types of the preset data frame structure may include data frames, command frames, configuration frames, and clock signals. The embodiments of this application can form a complete communication closed loop for data acquisition, control, and management based on the aforementioned frame types.

[0043] For example, the communication interaction logic can be as follows: Figure 2 As shown, the main point is to illustrate the interaction logic of the defined frame type in the broadband harmonic synchronous monitoring system.

[0044] Specifically, data frames are sent from the acquisition unit to the master station; command frames and configuration frames are used for the exchange of commands and configuration information between the acquisition unit and the master station; and clock signals are sent from the satellite clock to the acquisition unit and the master station.

[0045] like Figure 2As shown, the system involves a master station, acquisition units, and a satellite clock. The acquisition unit can include a data concentrator and measurement devices, such as measurement device 1, ..., measurement device 3, measurement device 4, ..., measurement device n. The data types exchanged between each device and the master station include data frames, command frames, configuration frames, and clock signals. Data frames are unidirectional, meaning they are sent from the measurement device to the data concentrator and ultimately to the master station, or directly from the measurement device to the master station. In practical applications, they can be periodically or triggered by events by the acquisition unit to be sent to the master station. Command and configuration frames are bidirectional, meaning they are forwarded from the acquisition unit to the master station or actively sent by the master station. Clock signals are sent from the satellite clock to each measurement device, data concentrator, and master station. All data frame interactions are based on a unified, microsecond-accurate absolute time reference, provided by the BeiDou or GPS satellite clock signal. Specifically, this can be manifested in the fact that the time reference provided by the satellite clock is continuous, stable, and synchronized with Coordinated Universal Time (UTC). The time contained in the data frames and command frames of various measuring devices, data concentrators, and the master station is the satellite clock time reference received at the time of frame generation, and thus synchronization is achieved through the satellite clock time reference during data communication transmission.

[0046] In some embodiments of this application, in order to enable those skilled in the art to understand the preset data frame structure used in step S101 during bidirectional data communication, the specific frame structure is further described as follows:

[0047] A universal frame structure is used for all frame types. This universal frame structure is a unified basic structure, consisting of three parts: a header, a data field, and an end, to ensure protocol consistency and parsability. That is, the preset data frames provided in this application embodiment also follow the aforementioned unified structure. The specific universal frame structure is shown in Table 1 below:

[0048] Table 1 General Frame Structure

[0049]

[0050] Optionally, CRC32 (Cyclic Redundancy Check 32-bit) can be used to check the entire frame header and data field. In practical applications, the receiving end can calculate the CRC and compare it with the check code at the end of the frame to verify whether an error has occurred in the frame during transmission, thus ensuring the integrity of the data.

[0051] The field structure contained in the frame header can be shown in Table 2 below:

[0052] Table 2 Frame Header Field Structure

[0053]

[0054] In this embodiment, an innovative data frame structure is used to efficiently compress key harmonic / interharmonic characteristic information. This significantly reduces data volume and saves communication bandwidth while ensuring the integrity of key information, enabling efficient, real-time, and reliable transmission of broadband harmonic / interharmonic measurement data. Simultaneously, the flexible and configurable communication framework defined by the configuration frame allows the monitoring system to dynamically adapt to different monitoring needs. Furthermore, based on the satellite clock time synchronization signal and data frames and command frames containing microsecond-precision time stamps, a high-precision time-synchronized waveform recording command transmission mechanism is provided, enabling accurate triggering and alignment of wide-area events.

[0055] Specifically, data frames are the most frequent and important data stream in the protocol. During data communication, data frames can be periodically (e.g., every 10ms) or actively sent to the master station by the acquisition unit after being triggered by an event. The core innovation lies in transmitting fundamental and dominant harmonic / interharmonic information that has been intelligently filtered and condensed, rather than the entire spectrum, thereby achieving an extremely high data compression rate while ensuring information integrity.

[0056] Optionally, the data field structure of the data frame can include a microsecond-precision time scale, a fundamental phasor, and a harmonic phasor sequence. See Table 3 below for details:

[0057] Table 3 Data Field Structure of Data Frames

[0058]

[0059] The 8-byte microsecond precision time stamp can include 4 bytes of unsigned fixed-point second data and 4 bytes of unsigned fixed-point microsecond data. The second data represents the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970, and the microsecond data represents the number of microseconds in the current second. For example, the time stamp value corresponding to Beijing time 2025-8-15 10:05:06.000123 can be: second data 1755223506, microsecond data 123.

[0060] The field structure of the fundamental phasor can be shown in Table 4 below:

[0061] Table 4. Fundamental Phasor Field Structure

[0062]

[0063] Optionally, the acquisition unit can analyze the spectrum within the current data window and generate a harmonic phasor sequence by sorting the N harmonic / interharmonic components with the highest amplitude content in ascending order of frequency. Taking N=9 as an example, there are 9 groups of dominant harmonic / interharmonic phasors, each group being 16 bytes, for a total of 144 bytes. Specifically, the acquisition unit can analyze the spectrum within the current data window in real time, such as within two power frequency cycles, and select the 9 harmonic / interharmonic components (including integer harmonics and interharmonics) with the highest amplitude content, sorting them in ascending order of frequency. The spectrum can typically be calculated using FFT (Fast Fourier Transform), and this embodiment does not limit this calculation.

[0064] In some embodiments of this application, each harmonic / interharmonic component may include frequency, amplitude, phase, and reserved domain. That is, when transmitting data frames, the aforementioned information can be transmitted, and the harmonic / interharmonic components that have a significant impact on the power grid and are measured by the measuring device can be uploaded to the main station, so as to realize the main station's effective monitoring of the harmonic resonance of the power grid and thus realize early warning.

[0065] The frequency occupies 4 bytes and can be represented by a 4-byte single-precision floating-point number in Hz, with 4 decimal places allowed, such as an interharmonic of 1000.2340Hz; the amplitude occupies 4 bytes and can be a single-precision floating-point number in V or kV, with 3 decimal places allowed; the phase occupies 4 bytes and can be a single-precision floating-point number in degrees (°), with 2 decimal places allowed; the reserved field occupies 4 bytes and is mainly reserved for future expansion, such as for expanding harmonic content information, but this application does not limit this.

[0066] As described above, the total length of a data frame can be calculated based on the frame header, time stamp, fundamental phasor, harmonic phasor sequence, and frame trailer. Specifically, it consists of: frame header (16 bytes) + time stamp (8 bytes) + fundamental phasor (12 bytes) + harmonic phasor sequence (9*16=144 bytes) + frame trailer CRC32 (4 bytes) = 184 bytes. It should be noted that, assuming a rate of 100 frames per second, the bandwidth per point is only approximately 184*100=17.97kbps. This allows for efficient real-time transmission with low bandwidth usage while ensuring the real-time transmission of harmonic phasor data.

[0067] Specifically, the command frame is forwarded by the acquisition unit through the master station or actively issued by the master station. It is used to precisely control one or a group of acquisition units in a wide area. The core application is synchronous waveform recording triggering.

[0068] Optionally, the data field structure of the command frame can include a microsecond-precision time stamp, target acquisition unit code, command type, and command parameters. See Table 5 below for details:

[0069] Table 5 Data Field Structure of Command Frame

[0070]

[0071] The 8-byte microsecond precision time stamp can include 4 bytes of unsigned fixed-point second data and 4 bytes of unsigned fixed-point microsecond data. The second data represents the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970, and the microsecond data represents the number of microseconds in the current second. For example, the time stamp value corresponding to Beijing time 2025-08-15 10:05:06.000123 can be: second data 1755223506, microsecond data 123. In practical applications, this field can be used to specify the absolute trigger time stamp for a future moment, such as specifying the absolute time when the acquisition unit executes a command. Specifically, after receiving the command, the acquisition unit will wait until the local clock reaches that moment before executing the operation, thereby achieving wide-area precise synchronous triggering.

[0072] For example, when the command type is "Start Recording", the command parameters can include the recording start reason, the sub-acquisition unit channel mask, and the total recording duration. The recording start reason occupies 2 bytes and can be used to indicate the triggering reason. Different definitions represent each possible triggering reason, such as master station triggering, frequency over-limit triggering, voltage over-limit triggering, harmonic over-limit triggering, and associated triggering (triggered by events from other acquisition units). The sub-acquisition unit channel mask occupies 2 bytes and can be used to distinguish different sub-acquisition units in a communication architecture containing a data concentrator. Each bit represents one sub-acquisition unit. When the sub-acquisition unit channel mask is set to 1, it indicates that there is a recording requirement for the corresponding channel. The total recording duration occupies 4 bytes and is an unsigned integer, which can be used to represent the duration of the entire recording process in milliseconds (ms), such as 2000ms.

[0073] Specifically, configuration frames are used for bidirectional communication to negotiate and synchronize system parameters. Optionally, configuration frames can include uplink and downlink configuration frames, which can be distinguished by different frame types. Uplink refers to the communication direction from the acquisition unit to the master station, and downlink refers to the communication direction from the master station to the acquisition unit. That is, the acquisition unit reports the measurement channel configuration based on the uplink configuration frame, and the master station remotely and dynamically downloads the measurement parameters based on the downlink configuration frame, realizing flexible system configuration.

[0074] The data field structure of a configuration frame can include the number of configuration segments and multiple configuration segments. See Table 6 below for details:

[0075] Table 6 Data Field Structure of Configuration Frame

[0076]

[0077] As an example, when the configuration frame is an uplink configuration frame, that is, when the acquisition unit is starting up, resetting, or its parameters are modified, such as at the equipment installation site, it actively sends this frame to the master station in order to inform the master station of the modified content, in order to inform itself of the current measurement configuration. Taking channel configuration as an example, multiple configuration segments can appear in a loop.

[0078] Optionally, each channel can occupy 16 bytes, meaning the configuration segment is 16 bytes in total. Multiple configuration segments can include configuration type, configuration object ID, channel type, rated ratio, rated value, and range of voltage and current transformers. See Table 7 below for details:

[0079] Table 7 Configuration segment structure of uplink configuration frames

[0080]

[0081] As another example, when the configuration frame is a downlink configuration frame, that is, in the scenario where the master station dynamically modifies the working parameters of one or more acquisition units through this frame to achieve remote centralized management, taking the waveform recording start setting configuration as an example, multiple configuration segments can appear in a loop.

[0082] Optionally, each channel can occupy 16 bytes, meaning the configuration segment is 16 bytes in total. Multiple configuration segments can include configuration type, configuration object ID, channel ID for which the setpoint applies, time setpoint, and startup setpoint. See Table 8 below for details:

[0083] Table 8. Configuration segment structure of downlink configuration frames

[0084]

[0085] Optionally, a 4-byte empty field may also exist, but this application embodiment does not limit this.

[0086] In practical applications, combined with, for example Figure 2 The communication interaction logic shown and the preset data frame structure proposed in the embodiments of this application can be represented by the communication process as initial handshake and configuration synchronization, normal data monitoring, and event triggering and response stages.

[0087] During the initial handshake and configuration synchronization phase, after the acquisition unit comes online, it can first send an uplink configuration frame to the master station. After the master station parses the uplink configuration frame, it can send a downlink configuration frame to adjust parameters and complete the initialization. This bidirectional interaction of configuration frames allows the master station to remotely manage and configure the entire monitoring network, dynamically adjust monitoring strategies as needed, and ensures strong system adaptability. Furthermore, the configuration frame's design considers future expansion; the frame structure can accommodate new data types or commands, providing strong flexibility and scalability.

[0088] During the routine data monitoring phase, after initialization, the acquisition unit continuously sends data frames to the main station at a preset period to form a stable real-time data stream. The preset period is a fixed period, such as 10ms, and this embodiment does not limit this. During data frame transmission, a condensed dominant harmonic phasor sequence can be transmitted to significantly reduce the amount of data per frame and the total bandwidth usage while retaining the most critical information. This allows data to be transmitted at a higher rate (e.g., 100 frames / second) with low latency, meeting real-time monitoring requirements and exhibiting high communication efficiency and real-time performance.

[0089] During the event triggering and response phase, the main station or the acquisition unit constructs a command frame to trigger a preset event. Specifically, the command frame constructed by the main station is sent to the target acquisition unit to execute the preset event; the command frame constructed by the acquisition unit is sent to the main station, and the main station triggers the associated acquisition unit to execute the preset event.

[0090] Optionally, event triggering can be divided into main station triggering and local triggering by the acquisition unit.

[0091] For example, suppose the preset event is a waveform recording event. Master station triggering manifests as the master station monitoring personnel or analysis algorithm detecting a system anomaly, constructing a command frame indicating the start of waveform recording, specifying a unified action at a precise future time, such as 500ms, and sending it via multicast to the target acquisition unit. Acquisition unit local triggering manifests as the acquisition unit itself also initiating waveform recording locally based on exceeding limit conditions. In this case, a command frame indicating the start of waveform recording can be constructed and sent to the master station to trigger the associated acquisition unit to start waveform recording. The microsecond-level absolute time-stamped triggering mechanism in the command frame ensures that hundreds or thousands of monitoring points distributed throughout the power grid can be precisely triggered at the same time, providing time consistency for analyzing the propagation and origin of harmonic events, and exhibiting excellent wide-area synchronization performance.

[0092] In some embodiments of this application, exception handling can also be performed during the event triggering and response phase. Specifically, when any receiving end receives a frame, it can detect packet loss and errors by using the sequence number in the frame header and the CRC checksum in the frame trailer. That is, the integrity and reliability of data transmission are ensured through a unified frame header and trailer structure, CRC checksum, and sequence number mechanism.

[0093] Optionally, for important command frames, an acknowledgment-retransmission mechanism can be used to ensure reliability, and this application does not limit this.

[0094] It should be noted that the broadband harmonic synchronous phasor transmission method for power systems provided in this application, combined with the actual operation and maintenance needs of the power grid, can resolve the contradiction between massive data transmission and real-time performance in broadband harmonic monitoring, and is practical.

[0095] In this embodiment, the acquisition unit and the master station communicate bidirectionally using a preset data frame structure. The frame types of this preset data frame structure can include data frames, command frames, configuration frames, and clock signals. During communication, data frames can be sent from the acquisition unit to the master station. Command and configuration frames can be used for exchanging commands and configuration information between the acquisition unit and the master station. Clock signals can be sent from a satellite clock to both the acquisition unit and the master station. The data field structure of the data frame can include a microsecond-precision time scale, a fundamental phasor, and a harmonic phasor sequence. The harmonic phasor sequence is generated based on the dominant harmonic / interharmonic phasors. The data field structure of the command frame can include a microsecond-precision time scale, a target acquisition unit code, a command type, and command parameters. The configuration frame can include uplink and downlink configuration frames. This innovative data frame structure efficiently compresses key harmonic / interharmonic characteristic information, significantly reducing data volume and saving communication bandwidth while ensuring the integrity of key information. This enables efficient, real-time, and reliable transmission of broadband harmonic / interharmonic measurement data.

[0096] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.

[0097] This application also provides an electronic device, see embodiments thereof. Figure 3 The provided electronic device 300 includes a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and capable of running on the processor 320. When the microprocessor executes the computer program 311, it implements the various processes of the above-described embodiment of the broadband harmonic synchronous phasor transmission method for power systems and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0098] This application also provides a computer-readable storage medium, see embodiments thereof. Figure 4 The computer-readable storage medium 400 provided stores a computer program 311. When the microprocessor executes the computer program 311, it implements the various processes of the above-described embodiment of the broadband harmonic synchronous phasor transmission method for the power system and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0099] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0100] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of the embodiments of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products, or devices. The division of modules in the embodiments of this application is merely a logical division; in actual applications, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not performed. Additionally, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interface, and the indirect coupling or communication connection between modules may be electrical or other similar forms, none of which are limited in the embodiments of this application. Furthermore, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed among multiple circuit modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of this application.

[0101] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0102] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0103] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or modules through some interfaces, and may be electrical, mechanical, or other forms.

[0104] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0105] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0106] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0107] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0108] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0109] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes; these computer program instructions may also be loaded onto a computer or other programmable data processing terminal equipment to cause a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0110] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0111] Finally, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0112] The technical solutions provided in the embodiments of this application have been described in detail above. Specific examples have been used in the embodiments of this application to illustrate the principles and implementation methods of the embodiments of this application. The description of the above embodiments is only for the purpose of helping to understand the methods and core ideas of the embodiments of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the embodiments of this application. Therefore, the content of this specification should not be construed as a limitation on the embodiments of this application.

Claims

1. A broadband harmonic synchronization phasor transmission method for a power system, characterized in that, The method, applied to bidirectional data communication between the acquisition unit and the master station, includes: The acquisition unit and the master station communicate bidirectionally using a preset data frame structure; the frame types of the preset data frame structure include data frames, command frames, configuration frames, and clock signals. The data frame is sent from the acquisition unit to the master station; the command frame and the configuration frame are used for the exchange of commands and configuration information between the acquisition unit and the master station; the clock signal is sent from the satellite clock to the acquisition unit and the master station; The data field structure of the data frame includes a microsecond-precision time stamp, a fundamental phasor, and a harmonic phasor sequence, wherein the harmonic phasor sequence is generated based on the dominant harmonic / interharmonic phasors; the data field structure of the command frame includes a microsecond-precision time stamp, a target acquisition unit code, a command type, and command parameters; the configuration frame includes an uplink configuration frame and a downlink configuration frame; the microsecond-precision time stamp in the data frame and the command frame is generated by the satellite clock by the acquisition unit during data calculation; the microsecond-precision time stamp occupies 8 bytes, including 4 bytes of unsigned fixed-point second data and 4 bytes of unsigned fixed-point microsecond data; The harmonic phasor sequence in the data frame, based on the spectrum analysis of the current data window by the acquisition unit, sorts the N harmonic / interharmonic components with the highest amplitude content obtained by screening in ascending order of frequency; for each harmonic / interharmonic component, it includes frequency, amplitude, phase and reserved domain; the frequency, amplitude and phase are single-precision floating-point numbers, and the reserved domain is used to expand the harmonic content information; When the command frame is multicast or broadcast, the target acquisition unit code is used to specify a group of target devices; the microsecond precision timestamp is used to specify the absolute time when the acquisition unit executes the command; the command type is used to identify the command type; and the command parameters are used to identify the command content. When the command type is a start waveform recording command, the command parameters include waveform recording start reason, sub-acquisition unit channel mask, and total waveform recording duration; wherein, the waveform recording start reason is used to indicate the triggering reason; the sub-acquisition unit channel mask is used to distinguish different sub-acquisition units in the communication architecture containing the data concentrator, with each bit representing one sub-acquisition unit, and the sub-acquisition unit channel mask being set to 1 indicates that there is a recording requirement for the corresponding channel; the total waveform recording duration represents the duration of the entire waveform recording process.

2. The method according to claim 1, characterized in that, The fundamental phasor in the data frame includes frequency, amplitude, and phase, and the frequency, amplitude, and phase are single-precision floating-point numbers.

3. The method according to claim 1, characterized in that, The data field structure of the configuration frame includes the number of configuration segments and multiple configuration segments; When the configuration frame is an uplink configuration frame, the plurality of configuration segments include configuration type, configuration object ID, channel type, rated ratio, rated value, and range of voltage transformer and current transformer; wherein, in channel configuration, the configuration object ID is the channel ID, and the channel type is used to distinguish between voltage and current. When the configuration frame is a downlink configuration frame, the plurality of configuration segments include configuration type, configuration object ID, fixed value action channel ID, time fixed value, and start-up fixed value.

4. The method according to any one of claims 1 to 3, characterized in that, The acquisition unit and the master station communicate bidirectionally using a preset data frame structure, including: After the acquisition unit comes online, the uplink configuration frame is sent to the master station through the acquisition unit; After the master station parses the uplink configuration frame, it sends the downlink configuration frame through the master station; The data frame is sent to the main station through the acquisition unit at a preset period; The master station or the acquisition unit constructs a command frame to trigger a preset event; wherein, the command frame constructed by the master station is sent to the target acquisition unit to execute the preset event; the command frame constructed by the acquisition unit is sent to the master station via the acquisition unit, and the master station triggers the associated acquisition unit to execute the preset event.

5. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the broadband harmonic synchronization phasor transmission method for the power system as described in any one of claims 1 to 4.

6. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the broadband harmonic synchronization phasor transmission method for the power system as described in any one of claims 1 to 4.