CN115442244A - Method and device for calibrating communication interval in electric power real-time simulation and related equipment - Google Patents
Method and device for calibrating communication interval in electric power real-time simulation and related equipment Download PDFInfo
- Publication number
- CN115442244A CN115442244A CN202211072121.8A CN202211072121A CN115442244A CN 115442244 A CN115442244 A CN 115442244A CN 202211072121 A CN202211072121 A CN 202211072121A CN 115442244 A CN115442244 A CN 115442244A
- Authority
- CN
- China
- Prior art keywords
- communication
- interval
- interval sequence
- sequence
- communication interval
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 217
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004088 simulation Methods 0.000 title claims abstract description 40
- 230000001360 synchronised effect Effects 0.000 claims abstract description 21
- 238000012216 screening Methods 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 241000206602 Eukaryota Species 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 2
- 210000003527 eukaryotic cell Anatomy 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 210000004027 cell Anatomy 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
Abstract
The application discloses a method, a device and related equipment for calibrating a communication interval in electric power real-time simulation, wherein the method comprises the following steps: acquiring a communication interval sequence which is closest to the current moment and has a preset length, wherein the communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source; constructing a second interval sequence based on the communication interval sequence, the second interval sequence comprising a plurality of local minima in the communication interval sequence; determining a critical value based on the second interval sequence, and screening elements smaller than the critical value from the second interval sequence to obtain a third interval sequence; and acquiring the mean value of the third interval sequence to obtain a target communication interval. The communication time delay and the jitter caused by the data packet retransmission generated by the communication disturbance are considered, the interference of the communication time delay and the jitter is eliminated to a certain extent, and the communication interval which is closer to the real condition can be obtained.
Description
Technical Field
The present application relates to the field of power simulation technologies, and in particular, to a method and an apparatus for calibrating a communication interval in power real-time simulation, and a related device.
Background
In recent years, to accelerate the solving process to realize non-real-time or even real-time simulation calculation, the simulation calculation of the power system increasingly depends on the powerful calculation power of the calculation hardware system. Because the computing hardware system has sufficient computing resources and storage resources, the method has obvious advantages compared with the traditional single computer. With the interconnection of regional power grids, the scale of a power system is continuously enlarged, and in addition, large-scale new energy and other quick response power electronic equipment are widely used, so that the scale and the operation complexity of simulation calculation of the power system are increasingly complicated, and data interaction among distributed operation subunits (tasks) in the simulation calculation process of the power system is more frequent.
To ensure time synchronization of the various operator subunits, a time alignment signal is typically sent out at equal intervals from a synchronization source, and then received by each of the simulated eukaryotes for further time alignment. Theoretically, the signals emitted by the communication sources are precisely equally spaced, however, the time instants received by the simulated cells are not necessarily equally spaced, possibly due to transmission loss, etc. Therefore, to ensure the time synchronization precision of the large-scale real-time simulation parallel computation, it is very important to calibrate the communication interval.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus and a related device for calibrating a communication interval in power real-time simulation, so as to calibrate the communication interval.
In order to achieve the above object, a first aspect of the present application provides a method for calibrating a communication interval in power real-time simulation, including:
acquiring a communication interval sequence which is closest to the current moment and has a preset length, wherein the communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source;
constructing a second interval sequence based on the communication interval sequence, the second interval sequence comprising a plurality of local minima in the communication interval sequence;
determining a critical value based on the second interval sequence, and screening elements smaller than the critical value from the second interval sequence to obtain a third interval sequence;
and acquiring the mean value of the third interval sequence to obtain a target communication interval.
Preferably, the process of acquiring a communication interval sequence with a preset length nearest to the current time includes:
acquiring each time of receiving a synchronization signal sent by a synchronization source, wherein each time is within K seconds from the current time, and K is a preset numerical value;
calculating a plurality of communication intervals based on each moment;
constructing the sequence of communication intervals based on the plurality of communication intervals.
Preferably, K has a value of 1.
Preferably, the process of constructing the second interval sequence based on the communication interval sequence comprises:
sliding in the communication interval sequence by using a sliding window with a preset size and a preset step length by taking a first element of the communication interval sequence as a starting point to obtain a plurality of communication interval subsequences;
and taking the minimum value of each communication interval subsequence to obtain a plurality of local minimum values, and constructing the second interval sequence by using the local minimum values.
Preferably, the preset size is 3.
Preferably, the preset step size is 1.
Preferably, the process of determining a critical value based on the second interval sequence includes:
obtaining the mean value of each element in the second interval sequence;
and multiplying the average value by a preset coefficient to obtain the critical value.
The second aspect of the present application provides a device for calibrating a communication interval in power real-time simulation, including:
a communication interval acquiring unit, configured to acquire a communication interval sequence with a preset length that is closest to a current time, where a communication interval in the communication interval sequence is an interval between received synchronization signals of a synchronization source;
a local data acquisition unit, configured to construct a second interval sequence based on the communication interval sequence, where the second interval sequence includes a plurality of local minima in the communication interval sequence;
the interval data screening unit is used for determining a critical value based on the second interval sequence and screening elements smaller than the critical value from the second interval sequence to obtain a third interval sequence;
and the communication interval determining unit is used for acquiring the mean value of the third interval sequence to obtain a target communication interval.
The third aspect of the present application provides a device for calibrating a communication interval in power real-time simulation, including: a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program to realize the steps of the calibration method of the communication interval in the electric power real-time simulation.
A fourth aspect of the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for calibrating a communication interval in power real-time simulation as described above.
According to the technical scheme, the communication interval sequence with the preset length nearest to the current moment is obtained firstly. The communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source, and reflects the nearest working condition of a communication channel between the simulation core and the synchronous source. Then, a second interval sequence is constructed based on the communication interval sequence. Wherein the second sequence of intervals comprises a plurality of local minima in the sequence of communication intervals. Because the communication interval is only increased but not decreased when there is communication disturbance, a critical value may be determined based on each communication interval in the second interval sequence, where the critical value may be used to eliminate communication interval anomalies, that is, elements smaller than the critical value are screened from the second interval sequence, so as to obtain a third interval sequence. And finally, obtaining the average value of the third interval sequence to obtain a target communication interval. The communication time delay and the jitter caused by the data packet retransmission generated by the communication disturbance are considered, the interference of the communication time delay and the jitter is eliminated to a certain extent, and the communication interval which is closer to the real condition can be obtained.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a communication interval calibration method in power real-time simulation disclosed in an embodiment of the present application;
FIG. 2 is a schematic diagram of the transmission of synchronization signals between a synchronization source and each artificial eukaryote disclosed in the embodiments of the present application;
fig. 3 is a schematic diagram of a signaling interval and a communication interval disclosed in an embodiment of the present application;
FIG. 4 is a schematic diagram of a sequence of communication intervals disclosed in an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating processing of a communication interval as disclosed in an embodiment of the present application;
FIG. 6 is a schematic diagram of a communication interval calibration apparatus in a real-time power simulation disclosed in an embodiment of the present application;
fig. 7 is a schematic diagram of a communication interval calibration device in power real-time simulation disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following describes a method for calibrating a communication interval in power real-time simulation provided by the embodiment of the present application. Referring to fig. 1, a method for calibrating a communication interval in power real-time simulation according to an embodiment of the present application may include the following steps:
step S101, a communication interval sequence which is closest to the current moment and has a preset length is obtained.
Referring to FIG. 2, to ensure time synchronization of each operation subunit, a synchronization source typically sends out a synchronization signal at regular intervals, which may be a rising edge signal, for time alignment, and each emulation core sends back a reply signal to the synchronization source immediately after receiving the signal. Theoretically, the intervals of signals sent by the communication sources are exactly equal, however, the time of receiving by the simulated nucleus is not necessarily equal, possibly due to transmission loss and the like.
For example, referring to fig. 3, the time instants at which the synchronization sources send out the rising edge signals at equal intervals are t1, t2, t3, etc. respectively, and taking the simulation core 1 as an example, the time instants at which the simulation core receives the rising edge signals sent out by the synchronization sources are t11, t12, t13, etc. respectively, then it can be obtained that the time intervals between the simulation core receiving the synchronization signals of the synchronization sources are Δ ta respectively 11 、Δta 12 、Δta 13 Etc., the sequence of communication intervals may be represented as:
A={Δta 1i ,i=1,2,...,N}
generally, the network is designed to be exclusive, and each simulated eukaryotic cell and the synchronous source share an exclusive communication channel, so the communication interval is stable, that is, each simulated eukaryotic cell and the synchronous source share an exclusive communication channelCommunication interval delta ta 11 、Δta 12 、Δta 13 Etc. with very little phase difference between them.
Although the network is exclusive and will not be interfered by other simulated eukaryons, if the communication medium is interfered, communication failure may occur, and then retransmission may occur, resulting in Δ ta 11 、Δta 12 、Δta 13 The equality is not completely consistent, and theoretically, most of the Δ ta 11 、Δta 12 、Δta 13 The time is constant and occasionally has a value of about 1.5 times (1 time for bi-directional co-transmission), about 2 times (2 times for bi-directional co-transmission), about 2.5 times (3 times for bi-directional co-transmission), etc., and steps S102 to S104 consider that the peak jitter is identified and filtered in the waveform containing the peak generated by retransmission, and finally obtain an accurate interval close to the real one.
Considering the situation that the communication channel is the closest, it is necessary to intercept the communication intervals of the latest period of time, for example, the communication intervals within the latest 1 second, and sort the communication intervals according to the occurrence time to obtain the communication interval sequence.
Step S102, constructing a second interval sequence based on the communication interval sequence.
Wherein the second interval sequence comprises a plurality of local minima in the communication interval sequence. For example, the communication interval sequence may be divided into a plurality of subsequences, which may have partial overlap, then minimum values are extracted from each subsequence, and finally the second interval sequence is formed by the minimum values.
Step S103, a critical value is determined based on the second interval sequence, and elements smaller than the critical value are screened from the second interval sequence to obtain a third interval sequence.
When network interference exists, communication errors occur and data packet retransmission occurs, so that a communication interval becomes large, that is, an abnormal communication interval occurs. Since the second interval sequence includes a plurality of local minima in the communication interval sequence, an appropriate threshold value can be calculated based on the local minima, and the abnormal communication interval can be eliminated by using the threshold value.
And step S104, obtaining the average value of the third interval sequence to obtain a target communication interval.
The method includes the steps that a communication interval sequence which is closest to the current moment and has a preset length is obtained. The communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source, and reflects the nearest working condition of a communication channel between the simulation core and the synchronous source. Then, a second interval sequence is constructed based on the communication interval sequence. Wherein the second interval sequence comprises a plurality of local minima in the communication interval sequence. Because the communication interval is only increased but not decreased when there is communication disturbance, a critical value may be determined based on each communication interval in the second interval sequence, where the critical value may be used to eliminate communication interval anomalies, that is, elements smaller than the critical value are screened from the second interval sequence, so as to obtain a third interval sequence. And finally, obtaining the average value of the third interval sequence to obtain a target communication interval. The communication time delay and the jitter caused by the data packet retransmission generated by the communication disturbance are considered, the interference of the communication time delay and the jitter is eliminated to a certain extent, and the communication interval which is closer to the real condition can be obtained.
In some embodiments of the present application, the process of obtaining the communication interval sequence with the preset length closest to the current time in the step S101 may include:
s1, acquiring each time of receiving a synchronization signal sent by a synchronization source.
Each time occurs within K seconds from the current time, and K is a preset value, for example, 1, 1.5, 2, and so on, depending on how long the communication condition of the historical period needs to be considered.
And S2, calculating a plurality of communication intervals based on each time.
Since the transmission and return of the synchronization signal can occur a plurality of times within K seconds, a plurality of time values can be obtained, and after the time values are chronologically ordered, the time interval between adjacent times is calculated, and a plurality of communication intervals can be obtained.
And S3, constructing a communication interval sequence based on the plurality of communication intervals.
Specifically, the communication intervals are time-ordered according to the time generated by each communication interval, and a time-ordered communication interval sequence a = { Δ ta can be obtained 1i I =1,2,.., N } is shown in fig. 4.
In some embodiments of the present application, the value of K is 1, i.e. consider the case of a communication interval within the last 1 second.
In some embodiments of the present application, the step S102 of constructing the second interval sequence based on the communication interval sequence may include:
s1, with a first element of the communication interval sequence as a starting point, sliding in the communication interval sequence by a sliding window with a preset size and a preset step length to obtain a plurality of communication interval subsequences.
For example, referring to fig. 5, assuming that the communication interval sequence includes N elements, the size of the sliding window is M, and the preset step size is 1, then by sliding the sliding window in the communication interval sequence, N- (M-1) communication interval subsequences can be obtained.
And S2, taking the minimum value of each communication interval subsequence to obtain a plurality of local minimum values.
Specifically, elements (communication intervals) in a communication interval subsequence are compared to obtain the minimum communication interval of the communication interval subsequence, and N- (M-1) communication interval subsequences can obtain N- (M-1) local minimum values in total.
S3, constructing a second interval sequence A by using the local minimum values min 。
According to the test statistical data, the probability of x retransmissions (generally x =3, if the network interference is serious, the number of consecutive retransmissions is large, a larger number can be taken, and it is only required to be 1 larger than the maximum number of consecutive retransmissions) occurring continuously is approximately 0.
In some embodiments of the application, 5. The method according to claim 4, wherein the predetermined size is 3.
In some embodiments of the present application, the step S103 of determining the threshold value based on the second interval sequence may include:
s1, obtaining the mean value of each element in the second interval sequence.
S2, multiplying the average value by a preset coefficient to obtain a critical value:
in some embodiments of the present application, the preset coefficient k may be 1.25.
The following describes a calibration apparatus for a communication interval in power real-time simulation provided in an embodiment of the present application, and the calibration apparatus for a communication interval in power real-time simulation described below and the calibration method for a communication interval in power real-time simulation described above may be referred to correspondingly.
Referring to fig. 6, a calibration apparatus for a communication interval in power real-time simulation according to an embodiment of the present application may include:
a communication interval acquiring unit 21, configured to acquire a communication interval sequence with a preset length that is closest to a current time, where a communication interval in the communication interval sequence is an interval between receiving synchronization signals of a synchronization source;
a local data obtaining unit 22, configured to construct a second interval sequence based on the communication interval sequence, where the second interval sequence includes a plurality of local minimum values in the communication interval sequence;
an interval data screening unit 23, configured to determine a critical value based on the second interval sequence, and screen out an element smaller than the critical value from the second interval sequence to obtain a third interval sequence;
and a communication interval determining unit 24, configured to obtain a mean value of the third interval sequence to obtain a target communication interval.
In some embodiments of the present application, the process of acquiring, by the communication interval acquiring unit 21, a communication interval sequence with a preset length closest to the current time may include:
acquiring each moment of receiving a synchronization signal sent by a synchronization source, wherein each moment occurs within K seconds from the current moment, and K is a preset numerical value;
calculating a plurality of communication intervals based on the moments;
constructing the sequence of communication intervals based on the plurality of communication intervals.
In some embodiments of the present application, K has a value of 1.
In some embodiments of the present application, the process of constructing the second interval sequence by the local data obtaining unit 22 based on the communication interval sequence may include:
sliding in the communication interval sequence by using a sliding window with a preset size and a preset step length by taking a first element of the communication interval sequence as a starting point to obtain a plurality of communication interval subsequences;
and taking the minimum value of each communication interval subsequence to obtain a plurality of local minimum values, and constructing the second interval sequence by using the local minimum values.
In some embodiments of the present application, the preset size is 3.
In some embodiments of the present application, the preset step size is 1.
In some embodiments of the present application, the process of determining the critical value by the interval data screening unit 23 based on the second interval sequence may include:
obtaining the mean value of each element in the second interval sequence;
and multiplying the average value by a preset coefficient to obtain the critical value.
The calibration device for the communication interval in the power real-time simulation provided by the embodiment of the application can be applied to calibration equipment, such as a computer and the like, for the communication interval in the power real-time simulation. Optionally, fig. 7 is a block diagram illustrating a hardware structure of a calibration device for a communication interval in power real-time simulation, and referring to fig. 7, the hardware structure of the calibration device for the communication interval in power real-time simulation may include: at least one processor 31, at least one communication interface 32, at least one memory 33 and at least one communication bus 34.
In the embodiment of the present application, the number of the processor 31, the communication interface 32, the memory 33 and the communication bus 34 is at least one, and the processor 31, the communication interface 32 and the memory 33 complete communication with each other through the communication bus 34;
the processor 31 may be a central processing unit CPU, or an Application Specific Integrated Circuit ASIC (Application Specific Integrated Circuit), or one or more Integrated circuits configured to implement the embodiments of the present Application, etc.;
the memory 33 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory 33 stores a program and the processor 31 may call the program stored in the memory 33 for:
acquiring a communication interval sequence which is closest to the current moment and has a preset length, wherein the communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source;
constructing a second interval sequence based on the communication interval sequence, the second interval sequence comprising a plurality of local minima in the communication interval sequence;
determining a critical value based on the second interval sequence, and screening elements smaller than the critical value from the second interval sequence to obtain a third interval sequence;
and acquiring the mean value of the third interval sequence to obtain a target communication interval.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a storage medium, where a program suitable for execution by a processor may be stored, where the program is configured to:
acquiring a communication interval sequence which is closest to the current moment and has a preset length, wherein the communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source;
constructing a second interval sequence based on the communication interval sequence, the second interval sequence comprising a plurality of local minima in the communication interval sequence;
determining a critical value based on the second interval sequence, and screening elements smaller than the critical value from the second interval sequence to obtain a third interval sequence;
and acquiring the mean value of the third interval sequence to obtain a target communication interval.
Alternatively, the detailed function and the extended function of the program may be as described above.
In summary, the following steps:
the method comprises the steps of firstly obtaining a communication interval sequence which is closest to the current moment and has a preset length. The communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source, and reflects the nearest working condition of a communication channel between the simulation core and the synchronous source. Then, a second interval sequence is constructed based on the communication interval sequence. Wherein the second interval sequence comprises a plurality of local minima in the communication interval sequence. Because the communication interval is only increased but not decreased when there is communication disturbance, a critical value may be determined based on each communication interval in the second interval sequence, where the critical value may be used to eliminate communication interval anomalies, that is, elements smaller than the critical value are screened from the second interval sequence, so as to obtain a third interval sequence. And finally, obtaining the average value of the third interval sequence to obtain a target communication interval. The communication time delay and the jitter caused by the data packet retransmission generated by the communication disturbance are considered, the interference of the communication time delay and the jitter is eliminated to a certain extent, and the communication interval which is closer to the real condition can be obtained.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, the embodiments may be combined as needed, and the same and similar parts may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for calibrating a communication interval in power real-time simulation is characterized by comprising the following steps:
acquiring a communication interval sequence which is closest to the current moment and has a preset length, wherein the communication interval in the communication interval sequence is the interval between the received synchronous signals of the synchronous source;
constructing a second interval sequence based on the communication interval sequence, the second interval sequence comprising a plurality of local minima in the communication interval sequence;
determining a critical value based on the second interval sequence, and screening elements smaller than the critical value from the second interval sequence to obtain a third interval sequence;
and acquiring the mean value of the third interval sequence to obtain a target communication interval.
2. The method according to claim 1, wherein the step of obtaining a communication interval sequence with a preset length nearest to the current time comprises:
acquiring each time of receiving a synchronization signal sent by a synchronization source, wherein each time is within K seconds from the current time, and K is a preset numerical value;
calculating a plurality of communication intervals based on the moments;
constructing the sequence of communication intervals based on the plurality of communication intervals.
3. The method of claim 2, wherein K has a value of 1.
4. The method of claim 1, wherein constructing the second interval sequence based on the communication interval sequence comprises:
sliding in the communication interval sequence by using a sliding window with a preset size and a preset step length by taking a first element of the communication interval sequence as a starting point to obtain a plurality of communication interval subsequences;
and taking the minimum value of each communication interval subsequence to obtain a plurality of local minimum values, and constructing the second interval sequence by using the local minimum values.
5. The method of claim 4, wherein the preset size is 3.
6. The method of claim 5, wherein the preset step size is 1.
7. The method according to any one of claims 1 to 6, wherein the determining of the threshold value based on the second interval sequence comprises:
obtaining the mean value of each element in the second interval sequence;
and multiplying the average value by a preset coefficient to obtain the critical value.
8. A device for calibrating a communication interval in power real-time simulation, comprising:
a communication interval acquiring unit, configured to acquire a communication interval sequence with a preset length that is closest to a current time, where a communication interval in the communication interval sequence is an interval between received synchronization signals of a synchronization source;
a local data acquisition unit, configured to construct a second interval sequence based on the communication interval sequence, where the second interval sequence includes a plurality of local minima in the communication interval sequence;
the interval data screening unit is used for determining a critical value based on the second interval sequence and screening elements smaller than the critical value from the second interval sequence to obtain a third interval sequence;
and the communication interval determining unit is used for acquiring the mean value of the third interval sequence to obtain a target communication interval.
9. A calibration apparatus for a communication interval in power real-time simulation, comprising: a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program to realize the steps of the method for calibrating the communication interval in the power real-time simulation as claimed in any one of claims 1 to 7.
10. A storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for calibrating a communication interval in a power real-time simulation according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211072121.8A CN115442244B (en) | 2022-09-02 | 2022-09-02 | Method and device for calibrating communication interval in power real-time simulation and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211072121.8A CN115442244B (en) | 2022-09-02 | 2022-09-02 | Method and device for calibrating communication interval in power real-time simulation and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115442244A true CN115442244A (en) | 2022-12-06 |
CN115442244B CN115442244B (en) | 2024-01-19 |
Family
ID=84246446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211072121.8A Active CN115442244B (en) | 2022-09-02 | 2022-09-02 | Method and device for calibrating communication interval in power real-time simulation and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115442244B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060291479A1 (en) * | 2005-06-28 | 2006-12-28 | Israel Sasson | System and method for high precision clock recovery over packet networks |
CN105553594A (en) * | 2015-12-09 | 2016-05-04 | 沈阳东软医疗系统有限公司 | PET (Positron Emission Computed Tomography) clock synchronization method and device |
CN109548135A (en) * | 2019-01-28 | 2019-03-29 | 青岛联合创智科技有限公司 | A kind of wireless network time synchronous method of optimization |
CN111048026A (en) * | 2018-10-11 | 2020-04-21 | 美格纳半导体有限公司 | Display driver integrated circuit and method for adjusting operating frequency |
WO2020101088A1 (en) * | 2018-11-15 | 2020-05-22 | (주)네스랩 | Device for acquiring synchronization of narrowband wireless communication system for iot, and method therefor |
US10763918B1 (en) * | 2019-06-10 | 2020-09-01 | Baker Hughes, A Ge Company, Llc | Time synchronization of bottom hole assembly components via powerline communication |
WO2021049406A1 (en) * | 2019-09-09 | 2021-03-18 | 日本電気株式会社 | Slave device, time synchronization system, time synchronization method, and time synchronization program |
CN113014347A (en) * | 2021-02-10 | 2021-06-22 | 深圳华锐金融技术股份有限公司 | Server time synchronization method and device, computer equipment and storage medium |
CN113098646A (en) * | 2020-01-08 | 2021-07-09 | 大唐移动通信设备有限公司 | Time synchronization method and device, electronic equipment and storage medium |
CN113556202A (en) * | 2021-09-18 | 2021-10-26 | 广州慧睿思通科技股份有限公司 | Time domain synchronization point acquisition method, device, equipment and storage medium |
-
2022
- 2022-09-02 CN CN202211072121.8A patent/CN115442244B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060291479A1 (en) * | 2005-06-28 | 2006-12-28 | Israel Sasson | System and method for high precision clock recovery over packet networks |
CN105553594A (en) * | 2015-12-09 | 2016-05-04 | 沈阳东软医疗系统有限公司 | PET (Positron Emission Computed Tomography) clock synchronization method and device |
CN111048026A (en) * | 2018-10-11 | 2020-04-21 | 美格纳半导体有限公司 | Display driver integrated circuit and method for adjusting operating frequency |
WO2020101088A1 (en) * | 2018-11-15 | 2020-05-22 | (주)네스랩 | Device for acquiring synchronization of narrowband wireless communication system for iot, and method therefor |
CN109548135A (en) * | 2019-01-28 | 2019-03-29 | 青岛联合创智科技有限公司 | A kind of wireless network time synchronous method of optimization |
US10763918B1 (en) * | 2019-06-10 | 2020-09-01 | Baker Hughes, A Ge Company, Llc | Time synchronization of bottom hole assembly components via powerline communication |
WO2021049406A1 (en) * | 2019-09-09 | 2021-03-18 | 日本電気株式会社 | Slave device, time synchronization system, time synchronization method, and time synchronization program |
CN113098646A (en) * | 2020-01-08 | 2021-07-09 | 大唐移动通信设备有限公司 | Time synchronization method and device, electronic equipment and storage medium |
CN113014347A (en) * | 2021-02-10 | 2021-06-22 | 深圳华锐金融技术股份有限公司 | Server time synchronization method and device, computer equipment and storage medium |
CN113556202A (en) * | 2021-09-18 | 2021-10-26 | 广州慧睿思通科技股份有限公司 | Time domain synchronization point acquisition method, device, equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
刘灏,毕天姝,徐全,崔世界,时伯年,薛安成: "《配电网高精度同步相量测量技术方案与展望》", 《电力系统自动化》, vol. 44, no. 18 * |
高帅,刘烈曙,张杰: "《基于模拟扩展法的高精度时间间隔测量电路设计》", 《无线电工程》, vol. 46, no. 8 * |
Also Published As
Publication number | Publication date |
---|---|
CN115442244B (en) | 2024-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8108557B2 (en) | System and method for measuring clock skew on a network | |
CN111416617B (en) | Clock synchronization method and device and electronic equipment | |
US8660022B2 (en) | Adaptive remote decision making under quality of information requirements | |
Ridoux et al. | The case for feed-forward clock synchronization | |
JP2018124241A (en) | Information processing device, method, and program | |
US20120174231A1 (en) | Assessing System Performance Impact of Security Attacks | |
EP3598247B1 (en) | Network time correction method and apparatus | |
JP5936716B2 (en) | Signal processing device | |
CN115442244A (en) | Method and device for calibrating communication interval in electric power real-time simulation and related equipment | |
KR101716630B1 (en) | Communication device, communication method and computer readable recording medium recording program | |
CN111464254B (en) | Clock synchronization method and device and electronic equipment | |
CN115347970B (en) | Clock synchronization method, device and equipment of electric power real-time simulation system | |
CN115022207B (en) | Network stability determination method and device, computer equipment and readable storage medium | |
CN111381486B (en) | Controller timing method and device, controller and wind generating set | |
CN115955286A (en) | Communication time delay calibration method and device in electric power real-time simulation and related equipment | |
CN112866767B (en) | Screen projection control method and device, electronic equipment and storage medium | |
Caballero-Águila et al. | Recursive least-squares quadratic smoothing from measurements with packet dropouts | |
JP2010039526A (en) | Computer program and master computer | |
JP2019054333A (en) | Wireless terminal, wireless communication system, wireless communication method and wireless communication program | |
JP2005071280A (en) | Parallel computers, master node and its program, slave node and its program | |
Ferrari et al. | Improving robustness of the synchronization quality of IEEE1588 nodes | |
CN115459897A (en) | Step length synchronous calibration method and device in electric power real-time simulation and related equipment | |
CN115408867A (en) | Method and device for improving calculation precision in electric power real-time simulation and related equipment | |
CN110942196B (en) | Predicted irradiation correction method and device | |
JP7098084B1 (en) | Information processing equipment, information processing methods and information processing programs |
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 | ||
GR01 | Patent grant |