Power distribution network equipment synchronization time correction method and system, electronic equipment and storage medium
By constructing and analyzing the clock difference matrix and the time synchronization error matrix, calculating and applying correction errors, the problem of time synchronization error between distribution network equipment is solved, and precise time synchronization between distribution network equipment is achieved.
Patent Information
- Application Number
- CN202411548285.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-18
AI Technical Summary
The time synchronization error between distribution network equipment is difficult to accurately estimate, resulting in the time synchronization between distribution network equipment being unable to achieve accurate results.
By obtaining the clock information of the total tables in multiple station areas and user meters in the distribution network, a clock difference matrix and time synchronization error matrix are constructed, the correction error is calculated and the clock information of the station area equipment concentrator is corrected, and time synchronization is achieved.
The time of the equipment concentrator in the table area can be corrected without obtaining communication delay information, eliminate the impact of communication delay error, and improve the accuracy of time synchronization of distribution network equipment.
Smart Images

Figure CN119483797A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clock synchronization of distribution network equipment, and in particular to a method and system for correcting synchronization time of distribution network equipment, electronic equipment, and a computer-readable storage medium. Background Art
[0002] Accurate time information is critical to improving the reliable operation level of the distribution network and the level of user power service management. In recent years, power grid companies have established a time synchronization system between the main power information collection station, collection terminal, and electric energy meter. The clock error is limited to a few seconds, which provides a solid guarantee for the analysis of user power information data, the implementation of time-of-use electricity prices and tiered electricity price policies. At present, the time of the substation equipment is synchronized by GPS / Beidou, and the clock information is regularly reported to the substation equipment concentrator for time synchronization. For example, patent CN103442312A discloses a smart distribution network time synchronization method, which uses GPS as the clock source and transmits the precise time step by step through the communication system, so that the entire smart distribution network can achieve time synchronization. However, due to the large number of time-consuming devices in the distribution network substation, the complex communication link relationship between the devices, and the uncertainty and asymmetry of the communication delay error, the time synchronization error between different devices in the distribution network is difficult to be accurately estimated, and the precise time synchronization between the distribution network devices cannot be achieved. Summary of the invention
[0003] The present invention provides a method and system for correcting the synchronization time of distribution network equipment, an electronic device, and a computer-readable storage medium, which can correct the time of a distribution network equipment concentrator without obtaining communication delay information, eliminate the influence of communication delay errors on the time synchronization of distribution network equipment, thereby improving the time synchronization accuracy of distribution network equipment, and has the advantages of being simple, practical, and highly operable.
[0004] According to one aspect of the present invention, a method for correcting synchronization time of distribution network equipment is provided, comprising the following contents:
[0005] Obtain the clock information of multiple area meters in the distribution network, and construct a first clock difference matrix between the area meters, wherein the clock information of the area meters is synchronized by GPS or Beidou, and the clock information is regularly reported to the area equipment concentrator;
[0006] Obtain the clock information of multiple user meters under each area master meter in the distribution network, and construct a second clock difference matrix between the user meters under each area master meter, wherein the clock information of the user meter is broadcasted by the corresponding area master meter, and the clock information is regularly reported to the corresponding area master meter;
[0007] The time synchronization error between the user meters under each area master meter is calculated based on the second clock difference matrix, and the time synchronization error matrix is constructed based on all the time synchronization error results;
[0008] The correction error is calculated based on the first clock difference matrix and the time synchronization error matrix, and the clock information reported to the substation equipment concentrator by each substation master table is corrected based on the correction error.
[0009] Furthermore, the process of calculating the time synchronization error between user meters under each area master meter based on the second clock difference matrix includes the following contents:
[0010] Calculating the absolute value of each element in the second clock difference matrix to convert the second clock difference matrix into an absolute value matrix;
[0011] Perform dimensionality reduction on the absolute value matrix;
[0012] Perform outlier detection on the absolute value matrix after dimensionality reduction, and remove the row elements and column elements corresponding to the outliers in the absolute value matrix;
[0013] Calculate the average of all remaining non-zero element values in the absolute value matrix and use it as the clock synchronization error.
[0014] Furthermore, the time synchronization error is calculated based on the following formula:
[0015]
[0016] in, represents the time synchronization error between the user meters under the total meter of the kth substation, L represents the data dimension of the absolute value matrix after outlier data is removed, represents the absolute value matrix, d and p represent the row elements and column elements in the absolute value matrix respectively.
[0017] Furthermore, the process of calculating the correction error based on the first clock difference matrix and the time synchronization error matrix includes the following contents:
[0018] Subtract all elements in the time synchronization error matrix from each other to construct a time synchronization error difference matrix;
[0019] Subtracting the first clock difference matrix from the time synchronization error difference matrix to obtain an error correction matrix;
[0020] Perform outlier detection on the error correction matrix, and remove row elements and column elements corresponding to outliers in the error correction matrix;
[0021] Calculate the absolute average of all remaining non-zero element values in the error correction matrix and use it as the correction error.
[0022] Furthermore, the correction error is calculated based on the following formula:
[0023]
[0024] in, represents the corrected error, v represents the data dimension of the error correction matrix after outlier data is removed, represents the error correction matrix, i and j represent the row elements and column elements in the error correction matrix respectively.
[0025] Furthermore, the clock information reported by each area master table to the area equipment concentrator is corrected based on the following formula:
[0026]
[0027] Among them, t i represents the clock information reported by the ith area master table to the area equipment concentrator, t′ i Indicates the corrected clock information. Indicates the correction error.
[0028] In addition, the present invention also provides a distribution network equipment synchronization time correction system, comprising:
[0029] A first clock difference matrix construction module is used to obtain clock information of multiple area master meters in the distribution network and construct a first clock difference matrix between the area master meters, wherein the clock information of the area master meter is synchronized by GPS or Beidou, and the clock information is regularly reported to the area equipment concentrator;
[0030] A second clock difference matrix construction module is used to obtain the clock information of multiple user meters under each area master meter in the distribution network, and to construct a second clock difference matrix between the user meters under each area master meter, wherein the clock information of the user meter is broadcasted by the corresponding area master meter, and the clock information is regularly reported to the corresponding area master meter;
[0031] A time synchronization error matrix construction module is used to calculate the time synchronization error between user meters under each substation master meter based on the second clock difference matrix, and to construct a time synchronization error matrix based on all time synchronization error results;
[0032] The clock information error correction module is used to calculate the correction error based on the first clock difference matrix and the time synchronization error matrix, and correct the clock information reported by each substation master table to the substation equipment concentrator based on the correction error.
[0033] In addition, the present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the above method by calling the computer program stored in the memory.
[0034] In addition, the present invention also provides a computer-readable storage medium for storing a computer program for performing synchronization time correction of distribution network equipment, wherein the computer program executes the steps of the method described above when running on a computer.
[0035] The present invention has the following beneficial effects:
[0036] The method for correcting the synchronization time of distribution network equipment of the present invention obtains the clock information of multiple substation master meters in the distribution network in real time, and constructs a first clock difference matrix between multiple substation master meters in the distribution network, and also obtains the clock information of multiple user meters under each substation master meter in real time, and constructs a second clock difference matrix between user meters under each substation master meter, then, calculates the time synchronization error between user meters under each substation master meter based on the second clock difference matrix, and constructs the time synchronization error matrix of the distribution network based on all the time synchronization error results, and finally calculates the correction error based on the first clock difference matrix and the time synchronization error matrix, and corrects the clock information reported to the substation equipment concentrator by each substation master meter based on the correction error. The entire time synchronization process can correct the time of the substation equipment concentrator without obtaining communication delay information, eliminates the influence of communication delay error on the time synchronization of distribution network equipment, thereby improving the time synchronization accuracy of distribution network equipment, and has the advantages of being simple, practical and highly operable.
[0037] In addition, the distribution network equipment synchronization time correction system of the present invention also has the above advantages.
[0038] In addition to the above-described objects, features and advantages, the present invention has other objects, features and advantages. The present invention will be further described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0040] Figure 1 It is a flow chart of a method for correcting synchronization time of distribution network equipment according to a preferred embodiment of the present application.
[0041] Figure 2 It is a schematic diagram of the distribution network topology structure of the preferred embodiment of the present application.
[0042] Figure 3 yes Figure 1 Schematic diagram of the sub-process of step S3 in FIG.
[0043] Figure 4 yes Figure 1 Schematic diagram of the sub-process of step S4 in FIG.
[0044] Figure 5 It is a schematic diagram of the module structure of a distribution network equipment synchronization time correction system according to another embodiment of the present application. DETAILED DESCRIPTION
[0045] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0046] Reference Figure 1 The preferred embodiment of the present application provides a method for correcting the synchronization time of distribution network equipment, comprising the following contents:
[0047] Step S1: Acquire the clock information of multiple area meters in the distribution network, and construct a first clock difference matrix between the area meters, wherein the clock information of the area meters is synchronized by GPS or Beidou, and the clock information is regularly reported to the area equipment concentrator;
[0048] Step S2: obtaining the clock information of multiple user meters under each area master meter in the distribution network, and constructing a second clock difference matrix between the user meters under each area master meter, wherein the clock information of the user meter is broadcasted by the corresponding area master meter, and the clock information is regularly reported to the corresponding area master meter;
[0049] Step S3: Calculate the time synchronization error between user meters under each area master meter based on the second clock difference matrix, and construct a time synchronization error matrix based on all the time synchronization error results;
[0050] Step S4: Calculate the correction error based on the first clock difference matrix and the time synchronization error matrix, and correct the clock information reported by each substation master table to the substation equipment concentrator based on the correction error.
[0051] It can be understood that the method for correcting the synchronization time of distribution network equipment in this embodiment obtains the clock information of multiple substation master meters in the distribution network in real time, and constructs the first clock difference matrix between the multiple substation master meters in the distribution network, and also obtains the clock information of multiple user meters under each substation master meter in real time, and constructs the second clock difference matrix between the user meters under each substation master meter, then, calculates the time synchronization error between the user meters under each substation master meter based on the second clock difference matrix, and constructs the time synchronization error matrix of the distribution network based on all the time synchronization error results, and finally calculates the correction error based on the first clock difference matrix and the time synchronization error matrix, and corrects the clock information reported by each substation master meter to the substation equipment concentrator based on the correction error. The entire time synchronization process can correct the time of the substation equipment concentrator without obtaining communication delay information, eliminating the influence of communication delay error on the time synchronization of distribution network equipment, thereby improving the time synchronization accuracy of distribution network equipment, and has the advantages of being simple, practical and highly operable.
[0052] It is understandable that Figure 2 As shown, in the distribution network topology, the distribution network includes at least two substation master meters, each substation master meter includes multiple user meters, the clock information of the substation master meter is synchronized by GPS or Beidou, and the clock information is regularly reported to the substation equipment concentrator to keep the time of the substation equipment concentrator synchronized with the time of the substation master meter, and the clock information of the user meter is broadcasted by the corresponding substation master meter, and the clock information is regularly reported to the corresponding substation master meter.
[0053] It can be understood that in step S1, the clock information of multiple area master meters in the distribution network is obtained in real time, and a first clock difference matrix between the area master meters is constructed. For example, assuming that the number of area master meters in the distribution network is n, the clock matrix of the area master meter in the distribution network is: T = [t i ]i=1,2,3,...,n, i represents the number of the total table of the station area, and then calculate the difference between any two elements in the clock matrix T to obtain the first clock difference matrix:
[0054] It can be understood that in step S2, the clock information of all user meters under each area master meter is obtained in real time, and a second clock difference matrix between user meters under each area master meter is constructed. For example, assuming that the number of user meters under the kth area master meter is m, the clock matrix of user meters under the kth area master meter is: j represents the number of the user's electricity meter, and then calculate the clock matrix T k The difference between any two elements in can be used to construct the second clock difference matrix, which can be expressed as:
[0055] It is understandable that Figure 3 As shown, in the step S3, the process of calculating the time synchronization error between user meters under each area master meter based on the second clock difference matrix includes the following contents:
[0056] Step S31: calculating the absolute value of each element in the second clock difference matrix to convert the second clock difference matrix into an absolute value matrix;
[0057] Step S32: performing dimensionality reduction processing on the absolute value matrix;
[0058] Step S33: performing outlier detection on the absolute value matrix after dimensionality reduction processing, and removing row elements and column elements corresponding to outliers in the absolute value matrix;
[0059] Step S34: Calculate the average value of all remaining non-zero element values in the absolute value matrix and use it as the clock synchronization error.
[0060] Specifically, first calculate the second clock difference matrix The absolute value of each element in , thereby converting the second clock difference matrix into an absolute value matrix Then, the absolute value matrix is reduced using the existing data dimension reduction method. Perform dimensionality reduction processing to obtain the reduced-dimensional matrix, then use the existing outlier algorithm to detect outlier data in the reduced-dimensional matrix, and convert the absolute value matrix The row elements and column elements corresponding to the outlier data are removed. Finally, the average value of all the remaining non-zero elements in the absolute value matrix is calculated and used as the clock synchronization error. The time synchronization error is calculated based on the following formula:
[0061]
[0062] in, represents the time synchronization error between the user meters under the total meter of the kth substation, L represents the data dimension of the absolute value matrix after outlier data is removed, represents the absolute value matrix, d and p represent the row elements and column elements in the absolute value matrix, respectively. In addition, the specific data dimensionality reduction method and outlier algorithm belong to the prior art, and the specific process is not repeated here. For example, the existing principal component analysis method can be used for dimensionality reduction, and the clustering method can be used for outlier detection.
[0063] As an example, assuming that the number of user meters under the k-th area master meter is 4, that is, the second clock difference matrix is: First convert the second clock difference matrix into an absolute value matrix The principal component analysis method is then used to reduce the matrix data into a one-dimensional vector. The number of elements in the vector is 4, corresponding to the corresponding user meters. Then the cluster analysis method is used to detect that the data of element 3 in the vector is far away from other data. Vector element 3 corresponds to user meter 3, which means that the data of user meter 3 is abnormal. In order to reduce the impact of abnormal data, the absolute value matrix Remove the elements in the third row and the third column from , and get the new matrix: Finally, based on the formula: d≠p, the time synchronization error can be calculated as:
[0064] In addition, all second clock difference matrices are traversed to calculate the time synchronization error, and a time synchronization error matrix is constructed based on all time synchronization error results, which can be expressed as:
[0065] It is understandable that Figure 4 As shown, in step S4, the process of calculating the correction error based on the first clock difference matrix and the time synchronization error matrix includes the following contents:
[0066] Step S41: subtract all elements in the time synchronization error matrix from each other to construct a time synchronization error difference matrix;
[0067] Step S42: performing a subtraction operation on the first clock difference matrix and the time synchronization error difference matrix to obtain an error correction matrix;
[0068] Step S43: performing outlier detection on the error correction matrix, and removing row elements and column elements corresponding to outliers in the error correction matrix;
[0069] Step S44: Calculate the absolute value average of all remaining non-zero element values in the error correction matrix and use it as the correction error.
[0070] Specifically, the time synchronization error matrix Subtract all the elements in two by two to construct the time synchronization error difference matrix, which can be expressed as: Then, the first clock difference matrix The time synchronization error difference matrix Perform subtraction operation to obtain the error correction matrix, which can be expressed as: represents the error correction matrix. Next, the error correction matrix The outlier detection algorithm is a prior art and will not be described in detail here. The row and column elements corresponding to the outliers are removed. Finally, the absolute average of all the remaining non-zero element values in the error correction matrix is calculated and used as the correction error. The correction error is calculated specifically based on the following formula:
[0071]
[0072] in, represents the corrected error, v represents the data dimension of the error correction matrix after outlier data is removed, represents the error correction matrix, i and j represent the row elements and column elements in the error correction matrix respectively.
[0073] It can be understood that in step S4, the clock information reported by each area master table to the area equipment concentrator is modified based on the following formula:
[0074]
[0075] Among them, t i represents the clock information reported by the ith area master table to the area equipment concentrator, t′ i Indicates the corrected clock information. Indicates the correction error.
[0076] In addition, if Figure 5 As shown, another embodiment of the present invention further provides a distribution network equipment synchronization time correction system, preferably using the distribution network equipment synchronization time correction method as described above, the system comprising:
[0077] A first clock difference matrix construction module is used to obtain clock information of multiple area master meters in the distribution network and construct a first clock difference matrix between the area master meters, wherein the clock information of the area master meter is synchronized by GPS or Beidou, and the clock information is regularly reported to the area equipment concentrator;
[0078] A second clock difference matrix construction module is used to obtain the clock information of multiple user meters under each area master meter in the distribution network, and to construct a second clock difference matrix between the user meters under each area master meter, wherein the clock information of the user meter is broadcasted by the corresponding area master meter, and the clock information is regularly reported to the corresponding area master meter;
[0079] A time synchronization error matrix construction module is used to calculate the time synchronization error between user meters under each substation master meter based on the second clock difference matrix, and to construct a time synchronization error matrix based on all time synchronization error results;
[0080] The clock information error correction module is used to calculate the correction error based on the first clock difference matrix and the time synchronization error matrix, and correct the clock information reported by each substation master table to the substation equipment concentrator based on the correction error.
[0081] It can be understood that the distribution network equipment synchronization time correction system of this embodiment obtains the clock information of multiple substation master meters in the distribution network in real time, and constructs the first clock difference matrix between the multiple substation master meters in the distribution network, and also obtains the clock information of multiple user meters under each substation master meter in real time, and constructs the second clock difference matrix between the user meters under each substation master meter, then, calculates the time synchronization error between the user meters under each substation master meter based on the second clock difference matrix, and constructs the time synchronization error matrix of the distribution network based on all the time synchronization error results, and finally calculates the correction error based on the first clock difference matrix and the time synchronization error matrix, and corrects the clock information reported to the substation equipment concentrator by each substation master meter based on the correction error. The entire time synchronization process can correct the time of the substation equipment concentrator without obtaining communication delay information, eliminating the influence of communication delay error on the time synchronization of distribution network equipment, thereby improving the time synchronization accuracy of distribution network equipment, and has the advantages of being simple, practical and highly operable.
[0082] In addition, each module of the system embodiment corresponds to each step of the above method embodiment one by one, so the specific working principle of each module will not be repeated here, and the corresponding reference is made to the above method embodiment.
[0083] In addition, another embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the above method by calling the computer program stored in the memory.
[0084] In addition, another embodiment of the present invention further provides a computer-readable storage medium for storing a computer program for performing synchronization time correction of distribution network equipment, wherein the computer program executes the steps of the method described above when running on a computer.
[0085] The general form of computer readable storage media includes: floppy disk, flexible disk, hard disk, magnetic tape, any other magnetic medium, CD-ROM, any other optical medium, punch cards, paper tape, any other physical medium with a pattern of holes, random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), flash erasable programmable read-only memory (FLASH-EPROM), any other memory chip or cartridge, or any other medium that can be read by a computer. The instructions can further be transmitted or received by a transmission medium. The term transmission medium can include any tangible or intangible medium that can be used to store, encode or carry instructions for execution by a machine, and includes digital or analog communication signals or other intangible media that facilitate the communication of the above instructions. Transmission media include coaxial cables, copper wires and optical fibers, which include the wires of a bus used to transmit a computer data signal.
[0086] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0087] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0090] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0091] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for correcting synchronization time of distribution network equipment, characterized in that: Includes the following: Obtain the clock information of multiple area meters in the distribution network, and construct a first clock difference matrix between the area meters, wherein the clock information of the area meters is synchronized by GPS or Beidou, and the clock information is regularly reported to the area equipment concentrator; Obtain the clock information of multiple user meters under each area master meter in the distribution network, and construct a second clock difference matrix between the user meters under each area master meter, wherein the clock information of the user meter is broadcasted by the corresponding area master meter, and the clock information is regularly reported to the corresponding area master meter; The time synchronization error between the user meters under each area master meter is calculated based on the second clock difference matrix, and the time synchronization error matrix is constructed based on all the time synchronization error results; The correction error is calculated based on the first clock difference matrix and the time synchronization error matrix, and the clock information reported to the substation equipment concentrator by each substation master table is corrected based on the correction error.
2. The method for correcting the synchronization time of distribution network equipment according to claim 1, characterized in that: The process of calculating the time synchronization error between user meters under each area master meter based on the second clock difference matrix includes the following contents: Calculating the absolute value of each element in the second clock difference matrix to convert the second clock difference matrix into an absolute value matrix; Perform dimensionality reduction on the absolute value matrix; Perform outlier detection on the absolute value matrix after dimensionality reduction, and remove the row elements and column elements corresponding to the outliers in the absolute value matrix; Calculate the average of all remaining non-zero element values in the absolute value matrix and use it as the clock synchronization error.
3. The method for correcting the synchronization time of distribution network equipment according to claim 2, characterized in that: The time synchronization error is calculated based on the following formula: in, represents the time synchronization error between the user meters under the total meter of the kth substation, L represents the data dimension of the absolute value matrix after outlier data is removed, represents the absolute value matrix, d and p represent the row elements and column elements in the absolute value matrix respectively.
4. The method for correcting synchronization time of distribution network equipment according to claim 1, characterized in that: The process of calculating the correction error based on the first clock difference matrix and the time synchronization error matrix includes the following contents: Subtract all elements in the time synchronization error matrix from each other to construct a time synchronization error difference matrix; Subtracting the first clock difference matrix from the time synchronization error difference matrix to obtain an error correction matrix; Perform outlier detection on the error correction matrix, and remove row elements and column elements corresponding to outliers in the error correction matrix; Calculate the absolute average of all remaining non-zero element values in the error correction matrix and use it as the correction error.
5. The method for correcting the synchronization time of distribution network equipment according to claim 4, characterized in that: The correction error is calculated based on the following formula: in, represents the corrected error, v represents the data dimension of the error correction matrix after outlier data are removed, E~ represents the error correction matrix, and i and j represent the row elements and column elements in the error correction matrix, respectively.
6. The method for correcting synchronization time of distribution network equipment according to claim 1, characterized in that: The clock information reported by each area master table to the area equipment concentrator is corrected based on the following formula: Among them, t i represents the clock information reported by the ith area master table to the area equipment concentrator, t′ i Indicates the corrected clock information. Indicates the correction error.
7. A distribution network equipment synchronization time correction system, characterized in that: include: A first clock difference matrix construction module is used to obtain clock information of multiple area master meters in the distribution network and construct a first clock difference matrix between the area master meters, wherein the clock information of the area master meter is synchronized by GPS or Beidou, and the clock information is regularly reported to the area equipment concentrator; A second clock difference matrix construction module is used to obtain the clock information of multiple user meters under each area master meter in the distribution network, and to construct a second clock difference matrix between the user meters under each area master meter, wherein the clock information of the user meter is broadcasted by the corresponding area master meter, and the clock information is regularly reported to the corresponding area master meter; A time synchronization error matrix construction module is used to calculate the time synchronization error between user meters under each substation master meter based on the second clock difference matrix, and to construct a time synchronization error matrix based on all time synchronization error results; The clock information error correction module is used to calculate the correction error based on the first clock difference matrix and the time synchronization error matrix, and correct the clock information reported by each substation master table to the substation equipment concentrator based on the correction error.
8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the method according to any one of claims 1 to 6 by calling the computer program stored in the memory.
9. A computer-readable storage medium for storing a computer program for performing synchronization time correction of distribution network equipment, characterized in that: When the computer program is run on a computer, the steps of the method according to any one of claims 1 to 6 are executed.
Citation Information
Patent Citations
Intelligent power distribution network time synchronization system and method based on PTN+EPON communication system
CN103442312A
Cited By
Control method of multi-station manipulator for stamping washing machine shell
CN120347746A