CN113960413A - Time synchronization method for collecting unit and collecting unit in fault indicator - Google Patents
Time synchronization method for collecting unit and collecting unit in fault indicator Download PDFInfo
- Publication number
- CN113960413A CN113960413A CN202111220704.6A CN202111220704A CN113960413A CN 113960413 A CN113960413 A CN 113960413A CN 202111220704 A CN202111220704 A CN 202111220704A CN 113960413 A CN113960413 A CN 113960413A
- Authority
- CN
- China
- Prior art keywords
- time
- radio frequency
- unit
- frequency chip
- time service
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000005540 biological transmission Effects 0.000 claims abstract description 23
- 230000008859 change Effects 0.000 claims abstract description 9
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/08—Locating faults in cables, transmission lines, or networks
Abstract
The invention discloses a time synchronization method of a collection unit and a collection unit in a fault indicator, which comprises the following steps: step a, the collecting unit MCU outputs a time service pulse level change at the time of T1 to trigger a capture counter of the collecting unit radio frequency chip to start counting, and then sends a time service message with a time stamp of T1 to the collecting unit radio frequency chip; b, the radio frequency chip master control of the collecting unit receives the time service message at the time of T2 and prepares to forward the time service message at the time of T3; c, triggering an inner core timer of the radio frequency chip of the acquisition unit to print a timestamp when the radio frequency chip of the acquisition unit receives the time service message, and then forwarding the time service message to the MCU at the time of T5; and d, completing system time synchronization when the acquisition unit MCU receives the time service message at the time of T6. In the invention, time service pulse output and pulse capture are added among the collection unit, the acquisition unit and the radio frequency device, so as to accurately compensate time synchronization information transmission errors, and the time synchronization precision is less than 1 us.
Description
Technical Field
The invention belongs to the technical field of fault indicators, and particularly relates to a time synchronization method for a collection unit and a collection unit in a fault indicator.
Background
The overhead transient recording type remote transmission fault indicator consists of a collection unit and acquisition units, wherein 3 acquisition units are usually used for data acquisition of an ABC three-phase line respectively. When the fault indicator works, the acquisition unit carries out current wave recording on a line, identifies the condition of the line, and triggers three-phase synchronous wave recording to acquire related waveform data and upload the data to the collecting unit when the line has a fault; the collecting unit sends the information to the main station, and the main station analyzes the fault type and positions the fault point by combining the recorded wave data of each point.
In each link of three-phase synchronous wave recording, master station information summarization, wave recording data analysis and the like, whether the data source time is consistent or not directly influences the study and judgment of faults and the positioning of fault points. Therefore, how to ensure the time synchronization of each discrete unit of the fault indicator system is a precondition for ensuring the stable and reliable operation of the system.
Disclosure of Invention
The invention aims to provide a time synchronization method of a collecting unit and a collecting unit in a fault indicator, and high-precision time synchronization is realized.
In order to solve the technical problems, the invention adopts the technical scheme that: a time synchronization method of a collection unit and a collection unit in a fault indicator is based on a collection unit MCU and a collection unit radio frequency chip arranged in the collection unit and a collection unit MCU and a collection unit radio frequency chip arranged in the collection unit, and comprises the following steps: step a, when the collecting unit MCU is ready to send a time service message with a time stamp of T1, outputting a time service pulse level change at the moment of T1 to trigger a capture counter of a radio frequency chip of the collecting unit to start counting, and then sending the time service message with the time stamp of T1 to the radio frequency chip of the collecting unit; b, after receiving the time service message at the time of T2, the master control of the radio frequency chip of the collecting unit prepares to forward the time service message at the time of T3, then a sending timer of the radio frequency chip of the collecting unit is started at the time of T2, then the master control of the radio frequency chip of the collecting unit writes the time service message with the time stamp of T3 into a sending register of the radio frequency chip of the collecting unit and sends the time service message when the sending timer finishes timing, wherein T2= T1+ delta T1, delta T1 is the message one-way transmission time between the MCU of the collecting unit and the master control of the radio frequency chip of the collecting unit obtained by the master control of the radio frequency chip of the collecting unit through the counting value of a capture counter, T3= T2+ delta T2, and delta T2 is the timing time of the sending timer; c, triggering an inner core timer of the radio frequency chip of the acquisition unit to print a timestamp when the radio frequency chip of the acquisition unit receives the time service message, and then forwarding the time service message to the MCU at the time of T5; when a time service message is forwarded, the master control of the radio frequency chip of the acquisition unit outputs a time service pulse level change at the time of T5 to trigger a capture counter of the MCU of the acquisition unit to start counting and then sends the time service message with a T5 timestamp, wherein T5= T4+ Δ T4, T4 is the time when the radio frequency chip of the acquisition unit receives the time service message, Δ T4 is the difference value between the current value of the core timer of the radio frequency chip of the acquisition unit read when the master control of the radio frequency chip of the acquisition unit forwards the time service message at the time of T5 and the timestamp of receiving a synchronous word, T4= T3+ Δ T3, and Δ T3 is the time required by the radio frequency chip of the collection unit and the radio frequency chip for message transmission; and d, completing system time synchronization when the acquisition unit MCU receives the time service message at the time of T6, wherein T6= T5+ delta T5, and the delta T5 is the one-way transmission time of the message between the acquisition unit MCU and the acquisition unit MCU main control of the acquisition unit radio frequency chip obtained by the acquisition unit MCU through the count value of the capture counter.
In the invention, time service pulse output and pulse capture are added among the collection unit, the acquisition unit and the radio frequency device, so as to accurately compensate time synchronization information transmission errors, wherein the time synchronization precision is less than 1 us; the cost is low by adopting the economical and efficient radio frequency device CC1310 with ultra-low power consumption.
The present invention will be described in detail with reference to the accompanying drawings.
Drawings
Fig. 1 is a control schematic diagram of a time synchronization method of an aggregation unit and a collection unit in a fault indicator according to the present invention.
Detailed Description
Referring to the attached drawings, the invention provides a time synchronization method of a collection unit and a collection unit in a fault indicator, which is based on a collection unit MCU and a collection unit radio frequency chip arranged in the collection unit and a collection unit MCU and a collection unit radio frequency chip arranged in the collection unit.
Step a, when the collecting unit MCU is ready to send a time service message with a time stamp of T1, a time service pulse level change is output at the moment of T1 to trigger a capture counter of the collecting unit radio frequency chip to start counting, and then the time service message with the time stamp of T1 is sent to the collecting unit radio frequency chip.
B, the master control of the radio frequency chip of the collecting unit receives the time service message at the time of T2 and prepares to forward the time service message at the time of T3, then the sending timer of the radio frequency chip of the collecting unit is started at the time of T2, then the master control of the radio frequency chip of the collecting unit writes the time service message with the time stamp of T3 into the sending register of the radio frequency chip of the collecting unit and sends the time service message when the sending timer finishes timing,
wherein, T2= T1+ Δ T1, Δ T1 is the message one-way transmission time between the master control of the collecting unit MCU and the collecting unit RF chip obtained by the master control of the collecting unit RF chip through the count value of the capture counter,
t3= T2+ Δ T2, Δ T2 being the timing time of the transmission timer.
And c, triggering a kernel timer of the radio frequency chip of the acquisition unit to print a timestamp when the radio frequency chip of the acquisition unit receives the time service message, and then forwarding the time service message to the MCU at the T5 moment.
When the time service message is forwarded, the radio frequency chip master control of the acquisition unit outputs a time service pulse level change at the time of T5 to trigger the capture counter of the acquisition unit MCU to start counting and then sends the time service message with a T5 timestamp,
wherein, T5= T4+ Δ T4, T4 is the time when the acquisition unit radio frequency chip receives the time service packet, Δ T4 is the difference between the current value of the core timer of the acquisition unit radio frequency chip read when the acquisition unit radio frequency chip main control forwards the time service packet at the time of T5 and the timestamp of the received sync word,
t4= T3+ Δ T3, Δ T3 is the time required for the message transmission between the sink unit rf chip and the acquisition unit rf chip.
And d, completing system time synchronization when the acquisition unit MCU receives the time service message at the time of T6, wherein T6= T5+ delta T5, and the delta T5 is the one-way transmission time of the message between the acquisition unit MCU and the acquisition unit MCU main control of the acquisition unit radio frequency chip obtained by the acquisition unit MCU through the count value of the capture counter.
The collecting unit radio frequency chip and the collecting unit radio frequency chip are both CC 1310. Specifically, CC1310 includes an 8025T clock chip.
And a data interface between the collection unit MCU and the collection unit radio frequency chip adopts a full-duplex serial port, and the serial port rate is 2M/s. The data interface between the acquisition unit MCU and the acquisition unit radio frequency chip adopts a full-duplex serial port, and the serial port rate is 2M/s.
The present invention will be described in detail with reference to specific examples.
The MCU of the collection unit and the MCU of the acquisition unit have independent system clocks. The time reference of the collecting unit is derived from a space-based system (GPS and Beidou), and the collecting unit provides reliable and accurate time service for the collecting unit.
Step a, a collecting unit MCU prepares to send a time service message with a time stamp of 10:00: 00. First, a timing pulse level change is output at time T1=10:00:00, and a capture counter controlled by the sink unit rf chip CC1310 is triggered to start counting. Then, the time service message with the timestamp of 10:00:00 is sent to the main control of the radio frequency chip CC1310 of the collecting unit.
And step b, acquiring the unidirectional transmission time of the message between the MCU of the collection unit and the CC1310 main control by the CC1310 main control of the collection unit through capturing the count value of the counter, wherein the unidirectional transmission time of the message is delta T1. Since the sink unit CC1310 is hosted by an 8025T clock chip, meeting the high accuracy timing requirement, Δ T1 is accurate.
After the collecting unit radio frequency chip CC1310 is ready to receive the time service packet, it immediately forwards the time service packet, and if the time is T2, T2= T1+ Δ T1. Assuming Δ T1 is 1 second, then time T2 is 10:00: 01.
Suppose that the aggregation unit CC1310RF prepares to forward the time service packet at time T3. Firstly, at time T2, the CC1310 master control starts the sending timer of the CC1310RF, and the delay time is Δ T2= T3-T2. Assuming Δ T2 is 1 second, then time T3 is 10:00: 02.
Then the CC1310 is controlled by the main controller, and the time service message with the time stamp of 10:00:02 is written into a sending register of the CC1310 RF.
And at the time of T3, the CC1310RF is delayed to be ended, and a time service message is sent out.
And step c, the collecting unit CC1310RF receives the time service message at the time of T4. The unidirectional transmission time Δ T3= T4-T3 from the collecting unit CC1310RF to the collecting unit CC1310 RF. The CC1310RF of the collection unit sends a time service message command, the CC1310RF of the acquisition unit receives the time service command, and the transmission time and the transmission distance between the two are electromagnetic wave transmission and are short, so the transmission delay caused by the transmission time and environmental factors (temperature, humidity, pressure and the like) can be ignored; the Δ T3 is mainly hardware delay, including the sending and receiving processes of the time service message. After the processing speed of the chip and the length of the time service message are determined, the delta T3 is also determined. Assuming Δ T3 is 1 second, then time T4 is 10:00: 03.
The RF unit of CC1310 also has a wireless signal acquisition mechanism. The collecting unit CC1310RF receives the time service packet at time T4, and the synchronization word of the time service packet will automatically trigger the RF core timer of the CC1310 to timestamp (i.e. store the current timer value).
When the CC1310 main control forwards the time service packet at time T5, the Δ T4 value is obtained by reading the current value of the RF kernel timer and comparing the current value with the timestamp of the received sync word. Assuming Δ T4 is 1 second, then time T5 is 10:00: 04.
Firstly, the collection unit CC1310 is controlled by a master controller, and outputs a timing pulse level change at time T5 to trigger a capture counter of the collection unit MCU to start counting. Then, the time service message with the time stamp of 10:00:04 is sent.
And d, the acquisition unit MCU receives the time service message at the time of T6. The acquisition unit MCU acquires the one-way transmission time of the message between the CC1310 main control unit and the acquisition unit MCU as delta T5 by capturing the count value of the counter. Assuming Δ T5 is 1 second, then time T6 is 10:00: 05.
And the acquisition unit completes the time synchronization of the system by using the estimated T6 time value.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention and not to limit it; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art will understand that: modifications to the specific embodiments of the invention or equivalent substitutions for parts of the technical features may be made; without departing from the spirit of the present invention, it is intended to cover all aspects of the invention as defined by the appended claims.
Claims (5)
1. A time synchronization method of a collection unit and a collection unit in a fault indicator is based on a collection unit MCU and a collection unit radio frequency chip arranged in the collection unit and a collection unit MCU and a collection unit radio frequency chip arranged in the collection unit, and is characterized by comprising the following steps:
step a, when the collecting unit MCU is ready to send a time service message with a time stamp of T1, outputting a time service pulse level change at the moment of T1 to trigger a capture counter of a radio frequency chip of the collecting unit to start counting, and then sending the time service message with the time stamp of T1 to the radio frequency chip of the collecting unit;
b, the master control of the radio frequency chip of the collecting unit receives the time service message at the time of T2 and prepares to forward the time service message at the time of T3, then the sending timer of the radio frequency chip of the collecting unit is started at the time of T2, then the master control of the radio frequency chip of the collecting unit writes the time service message with the time stamp of T3 into the sending register of the radio frequency chip of the collecting unit and sends the time service message when the sending timer finishes timing,
wherein, T2= T1+ Δ T1, Δ T1 is the message one-way transmission time between the master control of the collecting unit MCU and the collecting unit RF chip obtained by the master control of the collecting unit RF chip through the count value of the capture counter,
t3= T2+ Δ T2, Δ T2 being the timing time of the transmission timer;
c, triggering an inner core timer of the radio frequency chip of the acquisition unit to print a timestamp when the radio frequency chip of the acquisition unit receives the time service message, and then forwarding the time service message to the MCU at the time of T5;
when the time service message is forwarded, the radio frequency chip master control of the acquisition unit outputs a time service pulse level change at the time of T5 to trigger the capture counter of the acquisition unit MCU to start counting and then sends the time service message with a T5 timestamp,
wherein, T5= T4+ Δ T4, T4 is the time when the acquisition unit radio frequency chip receives the time service packet, Δ T4 is the difference between the current value of the core timer of the acquisition unit radio frequency chip read when the acquisition unit radio frequency chip main control forwards the time service packet at the time of T5 and the timestamp of the received sync word,
t4= T3+ Δ T3, Δ T3 is the time required for the message transmission between the collecting unit rf chip and the collecting unit rf chip;
and d, completing system time synchronization when the acquisition unit MCU receives the time service message at the time of T6, wherein T6= T5+ delta T5, and the delta T5 is the one-way transmission time of the message between the acquisition unit MCU and the acquisition unit MCU main control of the acquisition unit radio frequency chip obtained by the acquisition unit MCU through the count value of the capture counter.
2. The method of claim 1, wherein the sink unit and the pick unit are both CC 1310.
3. The method of claim 2, wherein the CC1310 includes an 8025T clock chip.
4. The method for synchronizing the time of the collection unit and the acquisition unit in the fault indicator according to claim 1, wherein a data interface between the collection unit MCU and the collection unit RF chip is a full-duplex serial port with a serial rate of 2M/s.
5. The method according to claim 1, wherein the data interface between the MCU and the rf chip of the acquisition unit is a full-duplex serial port with a serial rate of 2M/s.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111220704.6A CN113960413A (en) | 2021-10-20 | 2021-10-20 | Time synchronization method for collecting unit and collecting unit in fault indicator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111220704.6A CN113960413A (en) | 2021-10-20 | 2021-10-20 | Time synchronization method for collecting unit and collecting unit in fault indicator |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113960413A true CN113960413A (en) | 2022-01-21 |
Family
ID=79465598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111220704.6A Pending CN113960413A (en) | 2021-10-20 | 2021-10-20 | Time synchronization method for collecting unit and collecting unit in fault indicator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113960413A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115032560A (en) * | 2022-08-11 | 2022-09-09 | 石家庄科林电气股份有限公司 | Fault recording starting method of power distribution terminal |
CN115242577A (en) * | 2022-07-27 | 2022-10-25 | 天津津航计算技术研究所 | Bus data conversion device and timekeeping and time service control method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103199950A (en) * | 2013-04-19 | 2013-07-10 | 成都国星通信有限公司 | Method for carrying out high-accuracy time transfer by utilizing E1 special line |
CN107907796A (en) * | 2017-12-28 | 2018-04-13 | 广州思泰信息技术有限公司 | Based on LoRa communication type transient state recording trouble analysis systems |
CN108445279A (en) * | 2018-02-12 | 2018-08-24 | 北京和信瑞通电力技术股份有限公司 | Based on the wireless synchronous sampling method of short frequency in transient state recording type fault detector |
CN109462452A (en) * | 2018-10-26 | 2019-03-12 | 科大智能电气技术有限公司 | A method of improving transient state recording type fault detector sample-synchronous precision |
CN111970080A (en) * | 2020-08-28 | 2020-11-20 | 石家庄科林电气股份有限公司 | Time synchronization method for master and slave equipment |
-
2021
- 2021-10-20 CN CN202111220704.6A patent/CN113960413A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103199950A (en) * | 2013-04-19 | 2013-07-10 | 成都国星通信有限公司 | Method for carrying out high-accuracy time transfer by utilizing E1 special line |
CN107907796A (en) * | 2017-12-28 | 2018-04-13 | 广州思泰信息技术有限公司 | Based on LoRa communication type transient state recording trouble analysis systems |
CN108445279A (en) * | 2018-02-12 | 2018-08-24 | 北京和信瑞通电力技术股份有限公司 | Based on the wireless synchronous sampling method of short frequency in transient state recording type fault detector |
CN109462452A (en) * | 2018-10-26 | 2019-03-12 | 科大智能电气技术有限公司 | A method of improving transient state recording type fault detector sample-synchronous precision |
CN111970080A (en) * | 2020-08-28 | 2020-11-20 | 石家庄科林电气股份有限公司 | Time synchronization method for master and slave equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115242577A (en) * | 2022-07-27 | 2022-10-25 | 天津津航计算技术研究所 | Bus data conversion device and timekeeping and time service control method thereof |
CN115242577B (en) * | 2022-07-27 | 2024-01-16 | 天津津航计算技术研究所 | Bus data conversion device and time keeping and time service control method thereof |
CN115032560A (en) * | 2022-08-11 | 2022-09-09 | 石家庄科林电气股份有限公司 | Fault recording starting method of power distribution terminal |
CN115032560B (en) * | 2022-08-11 | 2022-11-04 | 石家庄科林电气股份有限公司 | Fault recording starting method of power distribution terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113960413A (en) | Time synchronization method for collecting unit and collecting unit in fault indicator | |
CN102866621B (en) | High-precision GPS (Global Positioning System) 1pps (1 Pulse Per Second) timer and timing method of spacecraft | |
CN110928176B (en) | Multifunctional time service equipment supporting multiple time service technologies | |
CN104330082A (en) | Real-time data synchronization method for MEMS (Micro-Electromechanical System)/GNSS (Global Navigation Satellite System) combined navigation system | |
CN108631900B (en) | Pre-stamping method and system of high-precision timestamp | |
JP2008525761A5 (en) | ||
CN110493744A (en) | A kind of synchronous data sampling method and system of master-slave radio sensor | |
CN103326802A (en) | Wireless network system for achieving synchronous acquisition, synchronous acquisition device and method | |
CN201532575U (en) | Timing system of distributive industrial monitoring apparatus | |
CN101771487A (en) | Equipment for network time service precision detection and detection method using the detection equipment | |
CN105391509B (en) | Network interface split-second precision scaling method based on FPGA | |
CN104393981B (en) | The time labeling method and system of a kind of multichannel measurement data parallel | |
CN106100783B (en) | A kind of synchronous method and device of the acquisition of Intelligent substation merging unit data | |
CN101951300B (en) | Method for realizing accurate time tick of Ethernet | |
CN103647614A (en) | Method for reliably improving time synchronization precision based on IEEE1588 protocol | |
CN103873223A (en) | Satellite internal equipment timing method and system | |
CN113419598B (en) | Clock synchronization system and method for multi-SOC (system on chip) | |
CN110120815B (en) | Low power synchronization of multiple analog-to-digital converters | |
CN108983036B (en) | Traveling wave distance measurement system based on electronic transformer | |
WO2023019984A1 (en) | Clock synchronization method for control system, and control system | |
CN205195718U (en) | Embedded network synchronization system based on FPGA | |
CN106455039B (en) | Communication terminal, network and the method for clock synchronization precision are improved in a kind of power distribution network | |
CN202617148U (en) | Network data receiving time recording device | |
KR101965932B1 (en) | UTC Time Synchronization Method for a Device using GPS Module | |
CN112654082B (en) | Timing device, base station, positioning system, calibration method and positioning method |
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 |