CN116846503A - Data synchronization method, system and equipment for energy storage power station - Google Patents

Data synchronization method, system and equipment for energy storage power station Download PDF

Info

Publication number
CN116846503A
CN116846503A CN202310966910.4A CN202310966910A CN116846503A CN 116846503 A CN116846503 A CN 116846503A CN 202310966910 A CN202310966910 A CN 202310966910A CN 116846503 A CN116846503 A CN 116846503A
Authority
CN
China
Prior art keywords
cluster
module
data
clock
energy storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310966910.4A
Other languages
Chinese (zh)
Other versions
CN116846503B (en
Inventor
容海林
邓荣钦
袁虎
庞美金
王宝源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Haide Smart Energy Co ltd
Original Assignee
Zhejiang Haide Smart Energy Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Haide Smart Energy Co ltd filed Critical Zhejiang Haide Smart Energy Co ltd
Priority to CN202310966910.4A priority Critical patent/CN116846503B/en
Publication of CN116846503A publication Critical patent/CN116846503A/en
Application granted granted Critical
Publication of CN116846503B publication Critical patent/CN116846503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0682Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • H04Q9/04Arrangements for synchronous operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/84Measuring functions
    • H04Q2209/845Measuring functions where the measuring is synchronized between sensing devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

The disclosure relates to a method, a system and equipment for synchronizing data of an energy storage power station, wherein the method comprises the following steps: calculating clock deviation of the cluster relative to the heap, marking the clock deviation as cluster-heap clock deviation, and calibrating the clock of the cluster; calculating the clock deviation of the module relative to the cluster, marking the clock deviation as module-cluster clock deviation, and calibrating the clock of the module; the method comprises the steps that when the cluster is in integer seconds, a module data acquisition command is broadcast to modules in the cluster, and in response to the module data acquisition command, the modules report module data to the upper-level cluster in a reporting period; the cluster receives and stores the module data reported by all the modules at the lower stage; and stacking to a cluster in the stack to initiate a cluster data acquisition command and acquire data stored in the cluster. The system and apparatus are for performing the above method. The method and the device can enable all data acquired by all levels of equipment in the stack to be at the same moment, realize synchronous acquisition of the data of all levels of equipment, improve the accuracy of subsequent data analysis results, and facilitate the processes of state detection, fault cause finding and the like of the energy storage system.

Description

Data synchronization method, system and equipment for energy storage power station
Technical Field
The disclosure relates to the technical field of energy storage power station data processing, in particular to an energy storage power station data synchronization method, system and equipment.
Background
The topology structure of the existing energy storage power station and energy storage system generally follows a three-layer communication architecture, and is sequentially defined as sequentially cascaded modules, clusters and piles along the data collection direction, wherein a single module comprises a plurality of series-parallel batteries.
The module is responsible for collecting the voltage, temperature and other data of each battery at the lower stage, and then reporting the data to the cluster through the CAN bus. The clusters are responsible for collecting the data of all modules in the clusters, and meanwhile, the data calculated or collected by the clusters are processed, such as bus voltage, current, capacity and the like, and the data are uniformly reported to the upper-level stacks after being processed. The pile is responsible for collecting the data of all the lower clusters and then carrying out centralized processing, and meanwhile, the pile business logic processing and function implementation are completed by combining the data acquired or calculated by the pile.
Because the number of stacks, clusters, modules and lower-level batteries in the energy storage system is huge, when monitoring the energy storage power station, the synchronization of the voltage, current, temperature and other data of each battery at the same moment is quite important, the system in an ideal state collects the values of the voltage, current, temperature and other values of all the devices at the same moment, if the collected data are not synchronized, the data analysis result is difficult to be accurate, the cause cannot be accurately positioned when the fault occurs, for example, the peak current of a first cluster occurs in the first second, the peak current of a second cluster occurs in the second, if the data collection of each cluster does not carry out strict time synchronization, the analysis of the data cannot judge whether the peak currents of the two clusters occur simultaneously or sequentially, and if the cause analysis is too high in load, the first cluster triggers the protection state to distribute the power to the second cluster to cause the overcurrent again.
In the prior art, clocks of all levels of equipment are usually calibrated through a real-time clock, so that the clocks of all levels of equipment are kept synchronous, but as the data are collected by all levels of equipment without being collected according to uniform steps, the time of the real-time clock cannot be accurate to millisecond level, the data collection is sequential, the synchronization of the data cannot be ensured, the accuracy of the subsequent data analysis results is affected, and the state monitoring, fault finding and the like of an energy storage system are puzzled.
Disclosure of Invention
In order to solve the problems in the prior art, the disclosure aims to provide a method, a system and equipment for synchronizing data of an energy storage power station. The method and the device can enable all data acquired by all levels of equipment in the stack to be at the same moment, realize synchronous acquisition of the data of all levels of equipment, improve the accuracy of subsequent data analysis results, and facilitate the processes of state detection, fault cause finding and the like of the energy storage system.
The disclosed data synchronization method for the energy storage power station is applied to the energy storage power station, the energy storage power station comprises modules, clusters and piles which are cascaded in sequence along a data collection direction, and the data synchronization method for the energy storage power station comprises the following steps:
s01, calculating clock deviation of a cluster relative to a heap as cluster-heap clock deviation, and calibrating a clock of the cluster based on the cluster-heap clock deviation;
s02, calculating clock deviation of the module relative to the cluster, namely module-cluster clock deviation, and calibrating the clock of the module based on the module-cluster clock deviation;
s03, enabling the cluster to broadcast a module data acquisition command to modules in the cluster in integer seconds, and enabling the modules to report module data to the upper-level cluster in a reporting period in response to the module data acquisition command;
s04, the cluster receives and stores module data reported by all modules at the lower level;
s05, stacking to a cluster in the stack to initiate a cluster data acquisition command, and acquiring data stored in the cluster.
Preferably, step S01 is specifically:
the method comprises the steps that a cluster sends a time synchronization request message to an upper-level stack, wherein the time synchronization request message carries a time stamp when the time synchronization request message leaves the cluster and is marked as a first time stamp T1;
when a stack receives a time synchronization request message sent by a cluster, adding a time stamp of the time synchronization request message received by the stack into the time synchronization request message, and marking the time stamp as a second time stamp T2;
the heap sends the time synchronization request message back to the cluster, and adds a time stamp in the time synchronization request message when the time synchronization request message is sent back, and marks the time stamp as a third time stamp T3;
when a cluster receives a time synchronization request message returned by a heap, adding a time stamp of the time synchronization request message received by the cluster into the time synchronization request message, and marking the time stamp as a fourth time stamp T4;
defining the cluster-to-heap clock offset as Toffset1, there are:
Toffset1=((T2-T1)+(T3-T4))/2。
preferably, step S02 is specifically:
broadcasting a synchronous frame to a module in the cluster by the cluster, wherein the synchronous frame carries a timestamp when the synchronous frame leaves the cluster and is marked as a fifth timestamp T5;
immediately broadcasting a following frame to a module in the cluster after the synchronous frame broadcasting is completed, wherein the following frame carries a timestamp when the following frame leaves the cluster and is marked as a sixth timestamp T6;
when the module receives the synchronous frame, recording the current time stamp as a seventh time stamp T7;
when the module receives the following frame, acquiring a sixth timestamp T6 carried by the following frame;
defining the module-cluster clock offset as Toffset2, there are:
Toffset2=T6-T7。
preferably, in step S03, in response to the module data acquisition command, the module reports the module data to the higher-level cluster from the first frame by frame in a reporting period until the last frame ends reporting, and waits for the next module data acquisition command.
Preferably, in step S04, the cluster receives the module data reported by the lower module in real time and parses the module data into a cache of the cluster until the data of all modules in the cluster are received, synchronizes the data of all modules in the cluster into the cache to be reported, and waits for a cluster data acquisition command of the heap.
Preferably, in step S05, the heap acquires data of each cluster at the lower level simultaneously using multithreading.
Preferably, in step S05, when the heap initiates a cluster data acquisition command to a cluster in the heap, it is detected whether each cluster collects module data of all modules in the cluster, if so, the data stored in the cluster is acquired, otherwise, the cluster is skipped.
The utility model discloses an energy storage power station data synchronization system is applied to in the energy storage power station, the energy storage power station includes module, cluster and the heap of cascading in proper order along data collection direction, energy storage power station data synchronization system includes:
a processing control module for calculating a cluster-to-heap clock bias for marking a cluster-to-heap clock bias, and calibrating a cluster clock based on the cluster-to-heap clock bias;
calculating clock deviation of a module relative to a cluster, namely module-cluster clock deviation, and calibrating the clock of the module based on the module-cluster clock deviation;
the method comprises the steps that when the cluster is in integer seconds, a module data acquisition command is broadcast to modules in the cluster, and in response to the module data acquisition command, the modules report module data to the superior cluster in a reporting period;
the cluster receives and stores the module data reported by all the modules at the lower stage;
and stacking to a cluster in the stack to initiate a cluster data acquisition command and acquire data stored in the cluster.
A computer device of the present disclosure includes a processor and a memory in signal connection, where the memory stores at least one instruction or at least one program, which when loaded by the processor performs the energy storage power station data synchronization method as described above.
A computer readable storage medium of the present disclosure having stored thereon at least one instruction or at least one program which, when loaded by a processor, performs the energy storage power station data synchronization method as described above.
The method, the system and the equipment for synchronizing the data of the energy storage power station have the advantages that cluster-stack clock bias and module-cluster clock bias are obtained through calculation through messages, synchronization frames and follow-up frames, clocks of the clusters and the modules are calibrated based on the cluster-stack clock bias and the module-cluster clock bias, the clocks of the modules, the clusters and the stacks are kept synchronous, the method for acquiring data is started through integer seconds, alignment of the acquired data among all levels of equipment is facilitated, the acquired data of all levels of equipment are all at the same time, synchronous acquisition of the data of all levels of equipment is achieved, accuracy of a subsequent data analysis result can be improved, and the processes of state detection, fault cause finding and the like of the energy storage system are facilitated.
Drawings
FIG. 1 is a flow chart illustrating steps of a method for synchronizing data of an energy storage power station according to the present embodiment;
FIG. 2 is a schematic diagram of the data acquisition sequence of the present embodiment;
FIG. 3 is one of exemplary graphs of cluster data collected at the same time in this embodiment;
fig. 4 is a second exemplary view of cluster data acquired at the same time in the present embodiment;
fig. 5 is a schematic structural diagram of the computer device according to the present embodiment.
Reference numerals illustrate: 101-processor, 102-memory.
Detailed Description
As shown in fig. 1-4, the data synchronization method of an energy storage power station in the present disclosure is applied to an energy storage power station, where the energy storage power station includes modules, clusters and stacks sequentially cascaded along a data collection direction, and in one energy storage power station system, a plurality of stacks are generally included, each stack includes a plurality of modules, each module includes a plurality of series-parallel batteries, the stacks and the clusters are connected through a TCP/IP network, and the clusters and the modules are connected through a CAN bus to form a three-layer network topology structure. The data synchronization method of the energy storage power station of the embodiment comprises the following steps:
s01, calculating clock deviation of a cluster relative to a heap as cluster-heap clock deviation, and calibrating a clock of the cluster based on the cluster-heap clock deviation; the method comprises the following steps:
the method comprises the steps that a cluster sends a time synchronization request message to an upper-level stack, wherein the time synchronization request message carries a time stamp when the time synchronization request message leaves the cluster and is marked as a first time stamp T1;
when a stack receives a time synchronization request message sent by a cluster, adding a time stamp of the time synchronization request message received by the stack into the time synchronization request message, and marking the time stamp as a second time stamp T2;
the heap sends the time synchronization request message back to the cluster, and adds a time stamp in the time synchronization request message when the time synchronization request message is sent back, and marks the time stamp as a third time stamp T3;
when a cluster receives a time synchronization request message returned by a heap, adding a time stamp of the time synchronization request message received by the cluster into the time synchronization request message, and marking the time stamp as a fourth time stamp T4;
the cluster-heap clock deviation is defined as Toffset1, the message transmission delay is Tdelay1, and the following relational expression can be obtained:
T2=(T1+Toffset1)+Tdelay1;
T4=(T3-Toffset1)+Tdelay1;
the cluster-to-heap clock offset Toffset1, which is obtainable by the above relation, is expressed as:
Toffset1=((T2-T1)+(T3-T4))/2
the cluster-based clock bias calibration cluster clock is specifically:
and adding the original clock of the cluster to the obtained cluster-heap clock deviation Toffset1 to obtain the calibrated cluster clock.
S02, calculating clock deviation of the module relative to the cluster, namely module-cluster clock deviation, and calibrating the clock of the module based on the module-cluster clock deviation; the method comprises the following steps:
broadcasting a synchronous frame to a module in the cluster by the cluster, wherein the synchronous frame carries a timestamp when the synchronous frame leaves the cluster and is marked as a fifth timestamp T5;
immediately broadcasting a following frame to a module in the cluster after the synchronous frame broadcasting is completed, wherein the following frame carries a timestamp when the following frame leaves the cluster and is marked as a sixth timestamp T6;
when the module receives the synchronous frame, recording the current time stamp as a seventh time stamp T7;
when the module receives the following frame, acquiring a sixth timestamp T6 carried by the following frame;
defining the module-cluster clock deviation as Toffset2 and the frame transmission delay as Tdelay2, the following relation can be obtained:
T6=T5+Tdelay2;
T7=(T5-Toffset2)+Tdelay2;
the module-cluster clock offset Toffset2, which is obtained by the above relation, is expressed as:
Toffset2=T6-T7。
the clock based on the module-cluster clock deviation calibration module is specifically:
and adding the original clock of the module to the obtained module-cluster clock deviation Toffset2 to obtain the calibrated clock of the module.
Because the cluster immediately broadcasts the following frame after broadcasting the synchronous frame, module-cluster clock deviation is calculated according to the timestamp information of the synchronous frame and the following frame, so that the clock calibration of the module can reach millisecond level, and the clock synchronization precision between all levels of equipment is ensured.
S03, enabling the cluster to broadcast a module data acquisition command to modules in the cluster in integer seconds, responding to the module data acquisition command, reporting module data to an upper-level cluster in one reporting period by the module, particularly as shown in fig. 2, enabling the cluster to broadcast the module data acquisition command in integer seconds, for example, 0 ms, enabling each module in the cluster to start reporting module data from a first frame after receiving the module data acquisition command, enabling each module to have thirteen frames, sending one frame every 40 ms, enabling each module to finish reporting within 13 x 40 = 520 ms, stopping after the module sends the data of the round, and continuing to wait for a command for starting data reporting next time.
S04, the cluster receives and stores module data reported by all modules at a lower stage, specifically, the cluster receives the module data of each module in real time and then analyzes the module data into a buffer of the cluster until all the module data in the cluster are received, and the module data of the whole cluster are synchronized into the buffer to be reported and wait for active data collection of the stack.
S05, stacking to a cluster in the stack initiates a cluster data acquisition command to acquire data stored in the cluster, and particularly, the stack can acquire the data of each cluster simultaneously in a multithreading concurrency mode due to the fact that the TCP/IP network connection is adopted between the stacks and the clusters, so that the acquisition efficiency is improved.
When a cluster data acquisition command is initiated to a cluster in a heap, detecting the integrity of each cluster data, namely detecting whether each cluster collects module data of all modules in the cluster, if so, acquiring the data stored in the cluster, otherwise, skipping the cluster.
In practical application, the data of each cluster is collected by adopting the data synchronization method as shown in fig. 3 and fig. 4, so that the data synchronization method of the embodiment can synchronously collect the data of each cluster at the same moment, so as to facilitate the subsequent data analysis.
According to the method, the cluster-stack clock bias and the module-cluster clock bias are obtained through calculation through the message, the synchronous frame and the following frame, clocks of the cluster and the module are calibrated based on the cluster-stack clock bias and the module-cluster clock bias, so that the clocks of the module, the cluster and the stack are kept synchronous, the data acquisition method is started in an integer second, the data acquisition between all levels of equipment is convenient to align, the data acquired by all levels of equipment are all at the same moment, synchronous acquisition of the data of all levels of equipment is achieved, the accuracy of a subsequent data analysis result can be improved, and the processes of state detection, fault cause finding and the like of an energy storage system are facilitated.
The embodiment also provides an energy storage power station data synchronization system, which is applied to an energy storage power station, wherein the energy storage power station comprises modules, clusters and piles which are cascaded in sequence along a data collection direction, and the energy storage power station data synchronization system comprises:
a processing control module for calculating a cluster-to-heap clock bias for marking a cluster-to-heap clock bias, and calibrating a cluster clock based on the cluster-to-heap clock bias;
calculating clock deviation of a module relative to a cluster, namely module-cluster clock deviation, and calibrating the clock of the module based on the module-cluster clock deviation;
the method comprises the steps that when the cluster is in integer seconds, a module data acquisition command is broadcast to modules in the cluster, and in response to the module data acquisition command, the modules report module data to the superior cluster in a reporting period;
the cluster receives and stores the module data reported by all the modules at the lower stage;
and stacking to a cluster in the stack to initiate a cluster data acquisition command and acquire data stored in the cluster.
The energy storage power station data synchronization system of the present embodiment and the above energy storage power station data synchronization method belong to the same inventive concept, and can be understood with reference to the above description, and are not repeated here.
As shown in fig. 5, this embodiment further provides a computer device, which includes a processor 101 and a memory 102 connected by a bus signal, where at least one instruction or at least one program is stored in the memory 102, and the at least one instruction or the at least one program performs the energy storage power station data synchronization method as described above when loaded by the processor 101. The memory 102 may be used to store software programs and modules, and the processor 101 executes various functional applications by running the software programs and modules stored in the memory 102. The memory 102 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 102 may also include a memory controller to provide access to the memory 102 by the processor 101.
The method embodiments provided by the embodiments of the present disclosure may be performed in a computer terminal, a server, or a similar computing device, i.e., the above-described computer apparatus may include a computer terminal, a server, or a similar computing device. The internal structure of the computer device may include, but is not limited to: processor, network interface and memory. Wherein the processor, network interface, and memory within the computer device may be connected by a bus or other means.
The processor 101 (or CPU) is a computing core and a control core of a computer device. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.). Memory 102 (Memory) is a Memory device in a computer device for storing programs and data. It is understood that the memory 102 herein may be a high-speed RAM memory device or a non-volatile memory device (non-volatile memory), such as at least one magnetic disk memory device; optionally, at least one memory device located remotely from the aforementioned processor 101. The memory 102 provides storage space that stores an operating system of the electronic device, which may include, but is not limited to: windows (an operating system), linux (an operating system), android (an Android, a mobile operating system) system, IOS (a mobile operating system) system, etc., which are not limiting of the present disclosure; also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the processor 101. In the embodiment of the present disclosure, the processor 101 loads and executes one or more instructions stored in the memory 102 to implement the method for synchronizing data of the energy storage power station according to the above embodiment of the method.
Embodiments of the present disclosure also provide a computer readable storage medium having stored thereon at least one instruction or at least one program which, when loaded by the processor 101, performs the energy storage power station data synchronization method as described above. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In the description of the present disclosure, it should be understood that the azimuth or positional relationships indicated by the azimuth terms such as "front, rear, upper, lower, left, right", "lateral, vertical, horizontal", and "top, bottom", etc., are generally based on the azimuth or positional relationships shown in the drawings, merely to facilitate description of the present disclosure and simplify the description, and without being otherwise described, these azimuth terms do not indicate and imply that the apparatus or elements referred to must have a specific azimuth or be configured and operated in a specific azimuth, and thus should not be construed as limiting the scope of protection of the present disclosure.
It will be apparent to those skilled in the art from this disclosure that various other changes and modifications can be made which are within the scope of the invention as defined in the claims.

Claims (10)

1. The data synchronization method of the energy storage power station is applied to the energy storage power station, and the energy storage power station comprises modules, clusters and piles which are cascaded in sequence along the data collection direction, and is characterized by comprising the following steps:
s01, calculating clock deviation of a cluster relative to a heap as cluster-heap clock deviation, and calibrating a clock of the cluster based on the cluster-heap clock deviation;
s02, calculating clock deviation of the module relative to the cluster, namely module-cluster clock deviation, and calibrating the clock of the module based on the module-cluster clock deviation;
s03, enabling the cluster to broadcast a module data acquisition command to modules in the cluster in integer seconds, and enabling the modules to report module data to the upper-level cluster in a reporting period in response to the module data acquisition command;
s04, the cluster receives and stores module data reported by all modules at the lower level;
s05, stacking to a cluster in the stack to initiate a cluster data acquisition command, and acquiring data stored in the cluster.
2. The method for synchronizing data of an energy storage power station according to claim 1, wherein step S01 specifically comprises:
the method comprises the steps that a cluster sends a time synchronization request message to an upper-level stack, wherein the time synchronization request message carries a time stamp when the time synchronization request message leaves the cluster and is marked as a first time stamp T1;
when a stack receives a time synchronization request message sent by a cluster, adding a time stamp of the time synchronization request message received by the stack into the time synchronization request message, and marking the time stamp as a second time stamp T2;
the heap sends the time synchronization request message back to the cluster, and adds a time stamp in the time synchronization request message when the time synchronization request message is sent back, and marks the time stamp as a third time stamp T3;
when a cluster receives a time synchronization request message returned by a heap, adding a time stamp of the time synchronization request message received by the cluster into the time synchronization request message, and marking the time stamp as a fourth time stamp T4;
defining the cluster-to-heap clock offset as Toffset1, there are:
Toffset1=((T2-T1)+(T3-T4))/2。
3. the method for synchronizing data of an energy storage power station according to claim 1, wherein step S02 specifically comprises:
broadcasting a synchronous frame to a module in the cluster by the cluster, wherein the synchronous frame carries a timestamp when the synchronous frame leaves the cluster and is marked as a fifth timestamp T5;
immediately broadcasting a following frame to a module in the cluster after the synchronous frame broadcasting is completed, wherein the following frame carries a timestamp when the following frame leaves the cluster and is marked as a sixth timestamp T6;
when the module receives the synchronous frame, recording the current time stamp as a seventh time stamp T7;
when the module receives the following frame, acquiring a sixth timestamp T6 carried by the following frame;
defining the module-cluster clock offset as Toffset2, there are:
Toffset2=T6-T7。
4. the method according to claim 1, wherein in step S03, in response to the module data collection command, the module reports module data to the higher-level cluster frame by frame from the first frame in a reporting period until the last frame is reported, and waits for the next module data collection command.
5. The method for synchronizing data of an energy storage power station according to claim 1, wherein in step S04, the cluster receives module data reported by a lower module in real time and parses the module data into a cache of the cluster until the data of all modules in the cluster are received, synchronizes the data of all modules in the cluster into the cache to be reported, and waits for a cluster data acquisition command of a heap.
6. The method according to claim 1, wherein in step S05, the stack uses multithreading to concurrently collect data of each cluster at a lower level.
7. The method for synchronizing data of an energy storage power station according to claim 6, wherein in step S05, when a cluster data acquisition command is initiated to a cluster in the heap, it is detected whether each cluster collects module data of all modules in the cluster, if so, the data stored in the cluster is acquired, otherwise, the cluster is skipped.
8. An energy storage power station data synchronization system is applied to an energy storage power station, wherein the energy storage power station comprises modules, clusters and piles which are cascaded in sequence along a data collection direction, and the energy storage power station data synchronization system is characterized by comprising:
a processing control module for calculating a cluster-to-heap clock bias for marking a cluster-to-heap clock bias, and calibrating a cluster clock based on the cluster-to-heap clock bias;
calculating clock deviation of a module relative to a cluster, namely module-cluster clock deviation, and calibrating the clock of the module based on the module-cluster clock deviation;
the method comprises the steps that when the cluster is in integer seconds, a module data acquisition command is broadcast to modules in the cluster, and in response to the module data acquisition command, the modules report module data to the superior cluster in a reporting period;
the cluster receives and stores the module data reported by all the modules at the lower stage;
and stacking to a cluster in the stack to initiate a cluster data acquisition command and acquire data stored in the cluster.
9. A computer device comprising a processor and a memory in signal connection, characterized in that the memory has stored therein at least one instruction or at least one program, which when loaded by the processor performs the energy storage plant data synchronization method according to any of claims 1-7.
10. A computer readable storage medium having stored thereon at least one instruction or at least one program, wherein the at least one instruction or the at least one program when loaded by a processor performs the energy storage power station data synchronization method according to any of claims 1-7.
CN202310966910.4A 2023-08-02 2023-08-02 Data synchronization method, system and equipment for energy storage power station Active CN116846503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310966910.4A CN116846503B (en) 2023-08-02 2023-08-02 Data synchronization method, system and equipment for energy storage power station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310966910.4A CN116846503B (en) 2023-08-02 2023-08-02 Data synchronization method, system and equipment for energy storage power station

Publications (2)

Publication Number Publication Date
CN116846503A true CN116846503A (en) 2023-10-03
CN116846503B CN116846503B (en) 2024-05-17

Family

ID=88170909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310966910.4A Active CN116846503B (en) 2023-08-02 2023-08-02 Data synchronization method, system and equipment for energy storage power station

Country Status (1)

Country Link
CN (1) CN116846503B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212663A1 (en) * 2005-03-16 2006-09-21 Tay-Jyi Lin Inter-cluster communication module using the memory access network
CN104918319A (en) * 2014-03-13 2015-09-16 北方工业大学 Clock synchronization simplified information exchange method applied to wireless sensor network
WO2017107519A1 (en) * 2015-12-22 2017-06-29 中兴通讯股份有限公司 Clock synchronization method and device
CN108650051A (en) * 2018-05-10 2018-10-12 西安电子科技大学 The clock synchronization apparatus and method of general devices at full hardware single step 1588
CN111865469A (en) * 2020-07-31 2020-10-30 江西师范大学 Industrial Internet of things fault-tolerant time synchronization method and system based on block chain
CN112651207A (en) * 2020-12-23 2021-04-13 中山大学 Asynchronous circuit physical realization method and system
CN113038589A (en) * 2021-03-04 2021-06-25 重庆邮电大学 Matrix model estimation time synchronization method based on wireless network clustering topology

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212663A1 (en) * 2005-03-16 2006-09-21 Tay-Jyi Lin Inter-cluster communication module using the memory access network
CN104918319A (en) * 2014-03-13 2015-09-16 北方工业大学 Clock synchronization simplified information exchange method applied to wireless sensor network
WO2017107519A1 (en) * 2015-12-22 2017-06-29 中兴通讯股份有限公司 Clock synchronization method and device
CN108650051A (en) * 2018-05-10 2018-10-12 西安电子科技大学 The clock synchronization apparatus and method of general devices at full hardware single step 1588
CN111865469A (en) * 2020-07-31 2020-10-30 江西师范大学 Industrial Internet of things fault-tolerant time synchronization method and system based on block chain
CN112651207A (en) * 2020-12-23 2021-04-13 中山大学 Asynchronous circuit physical realization method and system
CN113038589A (en) * 2021-03-04 2021-06-25 重庆邮电大学 Matrix model estimation time synchronization method based on wireless network clustering topology

Also Published As

Publication number Publication date
CN116846503B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
US9948420B2 (en) Voting scheme for time alignment
WO2012058960A1 (en) Positioning method and device for mobile terminals
CN111586740B (en) Method for configuring minimization of drive tests and base station
US20230064287A1 (en) Position prediction method and apparatus, network element, base station, and storage medium
CN116846503B (en) Data synchronization method, system and equipment for energy storage power station
CN103596190A (en) Method and apparatus for determining cell coverage concentration
CN113794282A (en) Data processing method and device based on intelligent gateway and computer equipment
CN113434184A (en) Equipment upgrading method and device, storage medium and electronic device
CN102420724B (en) Method and device for testing north-orientation performance index
CN102056193B (en) Method and equipment for recording position information
CN110429558A (en) A kind of three-phase recording, which synchronizes, looks for point methods, device and equipment
CN102612058B (en) Method and device for determining performance index statistical result
CN104020375B (en) A kind of apparatus and method for detecting Intelligent substation merging unit time parameter
CN112820092B (en) Method for collecting electricity consumption data, terminal equipment and storage medium
CN115766398A (en) Platform district power consumption information acquisition fault analysis system based on edge calculation
CN114547190A (en) Data processing method and device, storage medium and electronic equipment
CN112433882B (en) Method for recording and recovering micro-service deployment information
CN113852998B (en) Cell switching method based on clock synchronization, terminal and network side equipment
CN110677906B (en) Positioning method, computer device and readable storage medium
CN105553098A (en) Electric energy essential data synchronization processing method and system for power grid loss metering
CN107682174B (en) Method for collecting network equipment support data
CN111625190A (en) Method and device for realizing electric quantity storage based on power distribution characteristics
CN116126845A (en) Data alignment method for battery energy storage system
CN113093713B (en) Test method and device of stability control system
CN109523772B (en) Voltage data transmission method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant