Search

CN-122027066-A - Multi-path multi-time stamp module for cable fault location and time stamp generation method

CN122027066ACN 122027066 ACN122027066 ACN 122027066ACN-122027066-A

Abstract

The invention provides a multipath multi-time stamp module and a time stamp generation method for cable fault positioning, relates to the technical field of cable fault monitoring, and aims at solving the problems that the time stamp precision in the existing cable fault positioning is limited by an ADC (analog to digital converter) sampling rate, the realization of multichannel high-precision synchronization is difficult and the cost is high, and the time feature extraction under a low signal to noise ratio signal is easy to be interfered. The system comprises a field programmable gate array, wherein a clock synchronization module, a timestamp generation module, a timestamp register module, a UART communication module and a control management module are integrated in the field programmable gate array, the timestamp generation module comprises a plurality of independent event trigger input channels, the timestamp register module is connected with the timestamp generation module in a wire way, the UART communication module is respectively connected with the timestamp register module and external equipment in a communication way, and the control management module is respectively connected with other modules in a wire way. The invention solves the problems existing in the prior art and improves the time stamp precision and the cable fault positioning precision.

Inventors

  • YANG ZHENWEI
  • ZHENG YUANXUN
  • LIU MENG

Assignees

  • 康威通信技术股份有限公司

Dates

Publication Date
20260512
Application Date
20260127

Claims (10)

  1. 1. A multi-path, multi-time stamping module for cable fault location, comprising: A field programmable gate array having integrated therein: The system comprises a clock synchronization module, a timestamp generation module, a timestamp register module, a UART communication module and a control management module; the clock synchronization module is connected with the external time service bus, and is used for receiving external second pulse and time service data and synchronizing a local clock comprising a year, month, day, minute, second and nanosecond counter; the time stamp generation module comprises a plurality of independent event trigger input channels, is used for monitoring multiple paths of external trigger events in parallel and generating corresponding time stamps when the events occur; The time stamp register module is connected with the time stamp generating module in a line and is used for receiving and storing time stamp data of each channel and performing time calibration; One end of the UART communication module is in one-way communication connection with the timestamp register module, and the other end of the UART communication module is in two-way communication connection with external equipment and is used for carrying out command and data exchange with the external equipment; The control management module is respectively connected with the clock synchronization module, the time stamp generation module, the time stamp register module and the UART communication module in a wired mode and is used for managing the working state machines of the modules to carry out work flow management and executing commands received by the UART module.
  2. 2. The multi-path multi-time stamp module for cable fault localization of claim 1, wherein the clock synchronization module comprises a time service analysis unit, a time-of-year-month-time-second timer, a second pulse alignment unit and a second counting unit; The time service analysis unit is connected with a time-hour, month, day, time-minute and second timer line; The time-of-year, month, day, time-of-year and second timers are respectively connected with the event trigger input channel lines; The second pulse alignment unit is connected with the year, month, day, time, second timer and second counting unit respectively in a line mode.
  3. 3. The multi-way, multi-timestamp module for cable fault localization of claim 2, wherein the second counting unit comprises a nanosecond timer, a clock per second register, and a clock source unit; The nanosecond counter is connected with each event trigger input channel line respectively, and the nanosecond counter is also connected with the timestamp register module line; the second pulse alignment unit is connected with the nanosecond counter line.
  4. 4. The multi-path, multi-timestamp module for cable fault localization of claim 1, wherein the timestamp generation module further comprises an or gate and a timer; The OR gate is connected with the timer line; the OR gate is used for combining the received external input trigger signals into a global starting signal and starting a timer; The timer is connected with each event trigger input channel line respectively, and is used for starting the timer when any channel is triggered for the first time, and stopping the time stamp recording function of all channels after the timing is finished.
  5. 5. The multi-way, multi-timestamp module for cable fault localization of claim 1, wherein each event trigger input channel includes a timestamp buffer, each buffer storing a plurality of consecutive timestamps.
  6. 6. The multi-way, multi-timestamp module for cable fault localization of claim 1 wherein each event trigger input channel is further configured with a digital anti-shake filter and a digital edge detection unit; The digital anti-shake filter is used for filtering false triggering caused by noise; The digital edge detection unit includes a D flip-flop and an and gate for detecting a rising edge of an input signal of the event-triggered input channel.
  7. 7. The multi-path, multi-timestamp module for cable fault localization as claimed in claim 1, wherein the timestamp register module comprises a plurality of parallel timestamp registers, each having a depth of 10 for storing up to a first 10 timestamps generated by a single event-triggered input channel for a predetermined duration.
  8. 8. The multiple path, multiple time stamping module for cable fault localization of claim 1, wherein the state machine in the control management module comprises at least: An idle state waiting for a start command; recording state, entering after the first trigger event comes, starting a timer and allowing each channel to record a time stamp; The completion state is entered after the timer is overtime or all the time stamp registers are fully written, and the UART communication module is used for notifying the external equipment; and uploading state, namely transmitting the timestamp data stored in the timestamp register to a control management module, packaging and transmitting the timestamp data to external equipment through a UART communication module, and waiting for a zero clearing command after uploading is completed.
  9. 9. The cable fault positioning system is characterized by comprising at least two multi-path multi-time stamp modules for cable fault positioning according to any one of claims 1-8 and an external time service source for providing accurate synchronous time for the multi-path multi-time stamp modules, wherein the at least two multi-path multi-time stamp modules are respectively deployed at two ends of a cable to be tested and used for double-end fault positioning calculation.
  10. 10. A time stamp generating method is characterized in that an external second pulse is received, a local nanosecond counter is latched and cleared, and time of a time-service data update time-hour, month, day, time-minute and second timer is received; the method comprises the steps of monitoring input signals of a plurality of event trigger input channels in parallel through a timestamp generation module, and detecting trigger events; when any channel is detected to generate a first trigger event, starting a global timing window with preset duration; Generating a time stamp for the triggering event detected by each channel in the global timing window, and storing the time stamp into a time stamp register corresponding to the channel; converting the time stamp into a standard nanosecond time unit according to the nanosecond counter value and the latched clock per second when the event occurs; after the global timing window is finished, the time stamps after the time stamp registration and conversion are respectively transmitted to the external equipment and the control management module, and the time stamp generation is stopped.

Description

Multi-path multi-time stamp module for cable fault location and time stamp generation method Technical Field The invention belongs to the technical field of cable fault monitoring, and particularly relates to a multi-channel multi-time stamp module and a time stamp generation method for cable fault positioning, which are suitable for a cable fault positioning system based on multi-channel multi-time stamps of a double-end positioning method. Background The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. The high-voltage cable is used as a core transmission carrier of a power system, and in a modern urban power grid and a trans-regional power transmission network, the fault positioning precision directly determines the fault repairing efficiency and the power supply reliability. The current mainstream double-end positioning technology is characterized in that wave recording terminals are deployed at two ends of a cable, characteristic time stamps of fault signals are collected, and fault positions are calculated by combining the length and wave speed of the cable. Mainly depending on the accurate capture of the fault signal edges by the terminals. However, the positioning of the double-end positioning technology is seriously dependent on the capturing precision and the synchronization precision of the fault signal time stamp by the two-end terminals, and certain defects still exist in the practical application and the existing products: (1) In the existing products, the time stamping function is used for stamping based on data sampled by the high-speed ADC, and the precision of the time stamping depends on the sampling rate of the ADC besides the precision of the clock module. For example, when the sampling rate of the ADC is 100Msps, the time resolution can reach 10nS at the highest, and this way of replacing the event time with the sampling time has an inherent quantization error, which makes it difficult to meet the measurement requirement of nanosecond or sub-nanosecond time intervals. (2) When multi-path joint analysis (such as 8 paths or 16 paths) is needed for cable fault signals, a multi-path timestamp chip or module with high synchronous precision is needed, and although multi-paths can be realized, the cost is high and the system integration is complex. (3) When high-time-accuracy signal feature analysis is performed on a signal with a low sampling rate, time deviation correction is required based on a plurality of time stamps of a single waveform, and errors are easily introduced due to noise or waveform distortion. Disclosure of Invention In order to overcome the defects of the prior art, the invention provides the multi-path multi-time stamp module and the time stamp generation method for cable fault location, which realize high synchronization precision, multi-path parallelism and time stamp generation with multiple event recording and calibration capability by designing the multi-path multi-time stamp module based on a Field Programmable Gate Array (FPGA), and greatly improve the precision of cable fault location. To achieve the above object, one or more embodiments of the present invention provide the following technical solutions: a first aspect of the present invention provides a multi-way, multi-timestamp module for cable fault localization, comprising: A field programmable gate array having integrated therein: The system comprises a clock synchronization module, a timestamp generation module, a timestamp register module, a UART communication module and a control management module; the clock synchronization module is connected with the external time service bus, and is used for receiving external second pulse and time service data and synchronizing a local clock comprising a year, month, day, minute, second and nanosecond counter; the time stamp generation module comprises a plurality of independent event trigger input channels, is used for monitoring multiple paths of external trigger events in parallel and generating corresponding time stamps when the events occur; The time stamp register module is connected with the time stamp generating module in a line and is used for receiving and storing time stamp data of each channel and performing time calibration; One end of the UART communication module is in one-way communication connection with the timestamp register module, and the other end of the UART communication module is in two-way communication connection with external equipment and is used for carrying out command and data exchange with the external equipment; The control management module is respectively connected with the clock synchronization module, the time stamp generation module, the time stamp register module and the UART communication module in a wired mode and is used for managing the working state machines of the modules to carry out work flow management and executing commands