CN114979316B - Ammeter time synchronization system and method based on power line carrier communication - Google Patents
Ammeter time synchronization system and method based on power line carrier communication Download PDFInfo
- Publication number
- CN114979316B CN114979316B CN202210503103.4A CN202210503103A CN114979316B CN 114979316 B CN114979316 B CN 114979316B CN 202210503103 A CN202210503103 A CN 202210503103A CN 114979316 B CN114979316 B CN 114979316B
- Authority
- CN
- China
- Prior art keywords
- message
- time
- information
- broadcast
- ntb
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
-
- 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
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses an ammeter time synchronization system and method based on power line carrier communication. The method comprises the following steps: the CCO receives the message from the concentrator, filters the broadcast timing message from the message, acquires the NTB information at the first moment, attaches the NTB information at the first moment to the broadcast timing message, and sends an HPLC timing downlink message in which the expanded broadcast timing message is packaged; the STA receives and analyzes the HPLC timing downlink message to obtain a broadcast timing message and carried NTB information t at the first time 1 Simultaneously acquiring NTB information t of the current second moment 2 And calculates the time delay delta t 1 =t 2 ‑t 1 By Δt 1 And correcting time information in the broadcast timing message, and sending the corrected broadcast timing message to the ammeter. The invention can correct communication delay aiming at the ammeter under different network levels and different network states, and improves the broadcasting timing precision.
Description
Technical Field
The invention relates to the technical field of communication, in particular to an ammeter time synchronization system and method based on power line carrier communication.
Background
Clock synchronization and accurate management between the ammeter and the concentrator provide technical support for implementation of time-of-use electricity price and step-by-step electricity price policies. The clock broadcast synchronization operation of the meters of the whole station area is generally carried out once in the station area every day, the clocks of the meters are synchronized to the local clock of the concentrator, and the clock synchronization of the slave nodes of the whole network is carried out through the power line carrier communication HPLC broadcast timing command.
Aiming at the areas with more adjacent domain interference, deep local network level and poor communication quality, the time delay of the HPLC local broadcast communication can reach a plurality of seconds, and the high-precision broadcast time synchronization can be realized by adopting a prefabricated time synchronization time mode. Before sending the ammeter timing broadcast command, firstly sending a communication delay related broadcast duration inquiry command to obtain the specific communication duration of the current message in the current local communication environment, thereby correcting the specific broadcast data. When high-precision broadcast correction is carried out, the electric meters in different levels and different network states cannot be distinguished by correction of communication delay, and the correction precision is not high for areas with large adjacent domain interference, deep local network level and poor communication quality.
Disclosure of Invention
In order to solve the technical problems, the invention provides an ammeter time synchronization system and method based on power line carrier communication. In the system and the method, communication delay correction can be performed on the electric meters in different network levels and different network states, so that the broadcasting timing precision is improved.
In order to achieve the above purpose, the technical scheme of the invention is as follows:
an ammeter time synchronization system based on power line carrier communication is provided, a central coordinator CCO is provided in a concentrator, a station STA is provided in a consumer ammeter, specifically,
the central coordinator CCO comprises: the system comprises a receiving unit, a broadcast timing message processing unit and a transmitting unit, wherein,
the receiving unit is used for receiving the message from the concentrator and filtering out a broadcast time correction message from the message;
the broadcast timing message processing unit is used for expanding the broadcast timing message and adding NTB information t at the first moment 1 ;
The transmitting unit is used for transmitting an HPLC timing downlink message encapsulated with the extended broadcast timing message and periodically transmitting a beacon message;
the station STA includes: the system comprises a message receiving unit, an HPLC time correction message analyzing unit, a broadcast time correction message reconstructing unit and a message transmitting unit, wherein,
the message receiving unit is used for receiving the HPLC message and filtering out the HPLC timing downlink message;
the HPLC timing message analysis unit is used for analyzing the HPLC timing downlink message to obtain the broadcast timing message and the carried NTB information t at the first time 1 Simultaneously acquiring NTB information t of the current second moment 2 And calculates the time delay delta t 1 =t 2 -t 1 ;
The broadcast timing message reconstruction unit is used for passing the time delay delta t 1 Correcting time information in the broadcast timing message and recalculating the checksum;
the message sending unit is used for sending the corrected broadcast time correction message to the ammeter.
Preferably, the station further comprises: a beacon parsing unit, configured to, when the CCO does not extend the broadcast timing message, make the STA unable to obtain the first time NTB information t 1 When using beacon message to calculate time delay delta t 2 And pass through deltat 2 Instead of delta t 1 The time correction is performed according to the following formula:
Δt 2 =t 4– t 3
wherein t is 4 Is NTB information when a station receives a beacon message, t 3 Is the time of the beacon start slot in the received beacon message.
Preferably, the time information t' in the corrected broadcast time correction message is calculated as follows:
t’=t+|Δt*(1/f)|
wherein, assuming that the original time in the broadcast timing message is t, f is the clock frequency of the STA 25MHz, when the STA acquires the NTB information t at the first moment 1 When Δt is used for Δt 1 Make corrections, otherwise Δt uses Δt 2 Correction is performed.
Preferably, the beacon message is a central beacon message or a proxy beacon message.
Preferably, the NTB information of the first time is added at the tail of the broadcast timing message.
An ammeter time synchronization method based on power line carrier communication comprises the following steps:
the CCO receives the message from the concentrator, filters the broadcast timing message from the message, acquires the NTB information at the first moment, attaches the NTB information at the first moment to the broadcast timing message, and sends an HPLC timing downlink message in which the expanded broadcast timing message is packaged;
the STA receives the HPLC message and filters out the HPLC timing downlink message; analyzing the HPLC timing downlink message to obtain the broadcast timing message and carried NTB information t at the first time 1 Simultaneously acquiring NTB information t of the current second moment 2 And calculates the time delay delta t 1 =t 2 -t 1 By time delay deltat 1 Correcting time information in the broadcast timing message, recalculating the checksum, and sending the corrected broadcast timing message to the ammeter.
Preferably, the method further comprises the following steps:
the CCO periodically transmits a beacon message;
when the CCO does not filter out the HPLC timing down message, the STA can not acquire the NTB information t at the first time 1 When using beacon message to calculate time delay delta t 2 And pass through deltat 2 Instead of delta t 1 The time correction is performed according to the following formula:
Δt 2 =t 4– t 3
wherein t is 4 Is NTB information when a station receives a beacon message, t 3 Is the time of the beacon start slot in the received beacon message.
Preferably, the time information t' in the corrected broadcast time correction message is calculated as follows:
t’=t+|Δt*(1/f)|
wherein, assuming that the original time in the broadcast timing message is t, f is the clock frequency of the STA 25MHz, when the STA acquires the NTB information t at the first moment 1 When Δt is used for Δt 1 Make corrections, otherwise Δt uses Δt 2 Correction is performed.
Preferably, the beacon message is a central beacon message or a proxy beacon message.
Preferably, the NTB information of the first time is added at the tail of the broadcast timing message.
Based on the technical scheme, the invention has the beneficial effects that: according to the invention, the end-to-end delay compensation between the CCO and the STA is carried out by the accurate NTB time of the HPLC, so that the accuracy of broadcasting and timing of the ammeter is improved. Meanwhile, the device is compatible with conventional equipment in an HPLC network, namely, only the ammeter timing station equipment provided by the invention can perform end-to-end partial delay compensation through the beacon message.
Drawings
FIG. 1 is a schematic diagram of an architecture of an ammeter time synchronization system based on power line carrier communication in one embodiment;
FIG. 2 is a flow chart of a central coordinator CCO in an ammeter time synchronization method based on power line carrier communication in one embodiment;
fig. 3 is a flowchart of a station STA in an ammeter time synchronization method based on power line carrier communication in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
As shown in fig. 1, the present embodiment provides an ammeter time synchronization system based on power line carrier communication, a central coordinator CCO is disposed in a concentrator, and a station STA is disposed in a user ammeter, wherein the concentrator is configured to issue a broadcast timing message; the CCO is used for packaging the broadcast timing message and the NTB information in an HPLC message for issuing, and can periodically send an HPLC beacon message; a plurality of STAs, in fig. 1, sta_1 and sta_15 are taken as examples for illustration, which respectively represent STA of level 2 and STA of level 15, the STA calculates time delay by using beacon message or broadcast time correction message carrying NTB information, corrects time in the broadcast time correction message, and forwards the corrected broadcast time correction message; several electric meters, illustrated in fig. 1 as electric meter_1 and electric meter_15, respectively receive broadcast timing messages from sta_1 and sta_15, and calibrate local time accordingly.
As shown in fig. 2, in the flow of CCO in the ammeter time synchronization method, when a message of a concentrator is received, the CCO screens the message and filters out a broadcast time correction message. Thereafter, the NTB information at the current time is acquired and added to the broadcast timing message, where NTB is a 32-bit timer maintained by the CCO, and all STA devices in the network locally maintain a 32-bit timer that should be synchronized with the NTB of the CCO in frequency and absolute value. The added NTB information is positioned at the tail of the broadcast timing message, and the original broadcast timing message is not modified. And packaging the extended broadcast timing message into an HPLC message, adjusting the message length and the checksum, and transmitting to an HPLC link. At the same time, the CCO periodically generates an HPLC center beacon and sends it to the HPLC link.
As shown in fig. 3, in the flow of STA in the ammeter time synchronization method, when receiving the HPLC message, the STA judges the message type, if it is a beacon message, calculates the time delay Δt 2 =t 4– t 3 Wherein t is 4 Is NTB information when STA receives central beacon or proxy beacon, t 3 Is the time of the beacon start slot in the received central beacon or proxy beacon. If the message is a broadcast time correction message, firstly judging whether the message contains NTB information added by CCO, if so, calculating time delay delta t 1 =t 2– t 1 Wherein t is 2 Is NTB information when STA receives broadcast timing message, t 1 The CCO carried in the broadcast timing message sends NTB information of the time of the broadcast timing message; if not, then obtain Δt 2 To make subsequent time corrections. After obtaining the time delay, performing time correction, and assuming that the original time in the broadcast time correction message is t, the corrected time t' =t+|Δt (1/f) |, wherein Δt is preferentially Δt 1 Correction, deltat 1 And delta t 2 In comparison with Deltat 1 Reflecting the complete end-to-end delay, Δt 2 The delay caused by the network level is mainly reflected, and the delay is part of end-to-end delay. f is the STA clock frequency 25MHz, and the NTB count difference representing the time delay is converted to a time difference by f and rounded to discard the difference after seconds. Raw time plus in secondsThe correction time of (2) is the new broadcast timing time. After obtaining the new broadcast timing time, the checksum of the broadcast timing message needs to be recalculated and sent to the ammeter. And for the broadcast timing message forwarded to the rest of the STAs, the message reconstruction is not needed.
The foregoing is merely a preferred embodiment of an ammeter time synchronization system and method based on power line carrier communication disclosed in the present invention, and is not intended to limit the protection scope of the embodiments of the present specification. Any modification, equivalent replacement, improvement, or the like made within the spirit and principles of the embodiments of the present specification should be included in the protection scope of the embodiments of the present specification.
Claims (6)
1. An ammeter time synchronization system based on power line carrier communication is provided, a central coordinator CCO is arranged in a concentrator, a station STA is arranged in a user ammeter, which is characterized in that,
the central coordinator CCO comprises: the system comprises a receiving unit, a broadcast timing message processing unit and a transmitting unit, wherein,
the receiving unit is used for receiving the message from the concentrator and filtering out a broadcast time correction message from the message;
the broadcast timing message processing unit is used for expanding the broadcast timing message and adding NTB information t at the first moment 1 ;
The transmitting unit is used for transmitting an HPLC timing downlink message encapsulated with the extended broadcast timing message and periodically transmitting a beacon message;
the station STA includes: the system comprises a message receiving unit, an HPLC time correction message analyzing unit, a beacon analyzing unit, a broadcast time correction message reconstructing unit and a message transmitting unit, wherein,
the message receiving unit is used for receiving the HPLC message and filtering out the HPLC timing downlink message;
the HPLC timing message analysis unit is used for analyzing the HPLC timing downlink message to obtain the broadcast timing message and the carried NTB information t at the first time 1 Simultaneously acquiring NTB information t of the current second moment 2 And calculates the time delay delta t 1 =t 2 -t 1 ;
The beacon parsing unit is configured to, when the CCO does not extend the broadcast timing message, make the STA unable to obtain the first time NTB information t 1 When using beacon message to calculate time delay delta t 2 And pass through deltat 2 Instead of delta t 1 The time correction is performed according to the following formula:
Δt 2 =t 4 –t 3
wherein t is 4 Is NTB information when a station receives a beacon message, t 3 The time information t' in the corrected broadcast time correction message is the time of the beacon starting time slot in the received beacon message, and the calculation formula is as follows:
t’=t+|Δt*(1/f)|
wherein, assuming that the original time in the broadcast timing message is t, f is the clock frequency of the STA 25MHz, when the STA acquires the NTB information t at the first moment 1 When Δt is used for Δt 1 Make corrections, otherwise Δt uses Δt 2 Correcting;
the broadcast timing message reconstruction unit is used for passing the time delay delta t 1 Correcting time information in the broadcast timing message and recalculating the checksum;
the message sending unit is used for sending the corrected broadcast time correction message to the ammeter.
2. The power line carrier communication based electricity meter time synchronization system of claim 1, wherein the beacon message is a central beacon message or a proxy beacon message.
3. The system of claim 1, wherein the NTB information at the first time is added at the end of a broadcast timing message.
4. The ammeter time synchronization method based on the power line carrier communication is characterized by comprising the following steps:
the CCO receives the message from the concentrator, filters the broadcast timing message from the message, acquires the NTB information at the first moment, attaches the NTB information at the first moment to the broadcast timing message, and sends an HPLC timing downlink message in which the expanded broadcast timing message is packaged; the CCO periodically transmits a beacon message;
the STA receives the HPLC message and filters out the HPLC timing downlink message; analyzing the HPLC timing downlink message to obtain the broadcast timing message and carried NTB information t at the first time 1 Simultaneously acquiring NTB information t of the current second moment 2 And calculates the time delay delta t 1 =t 2 -t 1 By time delay deltat 1 The time information in the broadcast timing message is corrected,
when the CCO does not filter out the HPLC timing down message, the STA can not acquire the NTB information t at the first time 1 When using beacon message to calculate time delay delta t 2 And pass through deltat 2 Instead of delta t 1 The time correction is performed according to the following formula:
Δt 2 =t 4 –t 3
wherein t is 4 Is NTB information when a station receives a beacon message, t 3 The time information t' in the corrected broadcast time correction message is the time of the beacon starting time slot in the received beacon message, and the calculation formula is as follows:
t’=t+|Δt*(1/f)|
wherein, assuming that the original time in the broadcast timing message is t, f is the clock frequency of the STA 25MHz, when the STA acquires the NTB information t at the first moment 1 When Δt is used for Δt 1 Make corrections, otherwise Δt uses Δt 2 Correcting;
and recalculating the checksum and sending the corrected broadcast time correction message to the ammeter.
5. The method for synchronizing time of an electric meter based on power line carrier communication according to claim 4, wherein the beacon message is a central beacon message or a proxy beacon message.
6. The method for synchronizing time of an electric meter based on power line carrier communication according to claim 4, wherein the NTB information of the first moment is added at the tail of a broadcast timing message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210503103.4A CN114979316B (en) | 2022-05-09 | 2022-05-09 | Ammeter time synchronization system and method based on power line carrier communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210503103.4A CN114979316B (en) | 2022-05-09 | 2022-05-09 | Ammeter time synchronization system and method based on power line carrier communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114979316A CN114979316A (en) | 2022-08-30 |
CN114979316B true CN114979316B (en) | 2023-06-02 |
Family
ID=82982042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210503103.4A Active CN114979316B (en) | 2022-05-09 | 2022-05-09 | Ammeter time synchronization system and method based on power line carrier communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114979316B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116471211B (en) * | 2023-06-19 | 2023-10-13 | 威胜信息技术股份有限公司 | Accurate time setting method for electric power Internet of things |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4416008B2 (en) * | 2007-05-18 | 2010-02-17 | ソニー株式会社 | Communication apparatus and communication method |
CN109672468A (en) * | 2018-12-05 | 2019-04-23 | 南京南瑞微电子技术有限公司 | A kind of HPLC relay system and communication means based on wireless communication technique |
CN111179570B (en) * | 2020-01-14 | 2020-11-06 | 上海辉电电力设备工程有限公司 | Low-voltage distribution room acquisition equipment clock synchronization method based on HPLC carrier communication |
CN113315546B (en) * | 2021-05-24 | 2022-05-20 | 国网浙江省电力有限公司营销服务中心 | Time synchronization method of low-voltage distribution room acquisition system based on HPLC carrier |
CN113630157B (en) * | 2021-08-06 | 2023-05-19 | 国网四川省电力公司营销服务中心 | Clock synchronization method and system based on HPLC communication network delay correction |
CN113746589B (en) * | 2021-09-01 | 2024-01-30 | 钜泉光电科技(上海)股份有限公司 | Zero-crossing NTB-based area identification method |
-
2022
- 2022-05-09 CN CN202210503103.4A patent/CN114979316B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114979316A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI384773B (en) | Creation and use of unique hopping sequences in a frequency-hopping spread spectrum (fhss) wireless communications network | |
JP4810169B2 (en) | Method for synchronizing transmitter transmit clock and receiver receive clock in a wireless communication network | |
KR100735344B1 (en) | Method and system for acquiring time synchronization between base stations in a communication system | |
EP2429105B1 (en) | Node in a wireless system with time and clock frequency synchronizing and corresponding method | |
US20090154447A1 (en) | Absolute time recovery | |
EP1850510A1 (en) | Time synchronizing apparatus for mobile WiMAX analyzer | |
KR20110003327A (en) | Systems and methods for distributing a clock to communications devices | |
JP4853625B2 (en) | Propagation delay time measuring method, synchronization method, and wireless LAN system | |
CN113055117A (en) | Clock synchronization device and method of wireless distributed network | |
CN114979316B (en) | Ammeter time synchronization system and method based on power line carrier communication | |
JP2008527894A (en) | Method for synchronizing receiver clock to transmitter clock in less than 100 nanoseconds | |
CN105245324A (en) | Clock synchronization method and device | |
JP2009284054A (en) | Communication system, radio station, router, and time synchronizing method | |
CN106162856A (en) | A kind of node synchronization method in wireless Ad Hoc network | |
JP5081874B2 (en) | Data collection system | |
CN102821457B (en) | Clock synchronizing method based on software defined radio and software defined radio system | |
CN108809469A (en) | Time transfer receiver synchronized algorithm suitable for radar pulse communication equipment networking | |
CN112272360B (en) | Current differential protection data synchronization method and system based on 5G network time synchronization | |
WO2015090056A1 (en) | Synchronization method, transmission node, terminal, communication system and computer storage medium | |
CN116939801B (en) | Wearable device wireless time synchronization method based on physical layer cross-technology communication | |
KR100901752B1 (en) | Synchronizing method in a radio access station and in a remote unit, radio access station, and remote unit for supporting the same | |
US11929935B2 (en) | Systems and methods to maintain time synchronization between networked devices | |
WO2023077384A1 (en) | Wireless communication method, terminal device, and network device | |
JP2023117659A (en) | Communication device, communication method, program, and communication system | |
CN116846502A (en) | Time service method, time service device 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 | ||
GR01 | Patent grant |