A power transmission line fault location acquisition system
By combining four ADC acquisition channels, a PP1S module, and an FPGA module, the problems of low fault location accuracy and false alarms/missed alarms in transmission lines were solved, achieving high-precision and flexible fault location and triggering, and improving the system's fault handling capabilities.
Patent Information
- Application Number
- CN202311685243.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-12-11
AI Technical Summary
In existing technologies, the fault location accuracy of transmission lines is low, with problems of missed and false alarms. Furthermore, traditional signal acquisition systems cannot be flexibly configured, resulting in long fault processing times and an inability to detect faults with short trigger intervals.
The data acquisition system, consisting of a 4-channel ADC acquisition system, a PP1S module, an SRAM module, and an FPGA module, improves timing accuracy and triggering accuracy through the fusion of multiple triggering methods and high-frequency clock correction technology, enabling flexible triggering configuration.
It improves fault location accuracy, reduces missed and false alarms, enhances system flexibility and fault handling accuracy, and adapts to the needs of different scenarios.
Smart Images

Figure CN117666542B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power fault diagnosis, specifically, it relates to a data acquisition system for locating faults in power transmission lines. Background Technology
[0002] Data acquisition systems are a crucial component of fault location, providing the essential data foundation for fault location in transmission lines. Fault location in transmission lines typically employs the double-ended traveling wave method, such as... Figure 1 As shown: Signal acquisition devices are installed at both ends of the transmission line to obtain the arrival times T1 and T2 of the fault traveling wave signal when a fault occurs. The length of the transmission line is L. The distance between the fault point and fault diagnosis device 1 is obtained as follows: X1 = (L + (T2 - T1)v) / 2 The distance between the fault point and fault diagnosis device 2 is: X2 = (L + (T1 - T2)v) / 2 From the double-ended traveling wave fault location formula, it can be seen that there are two factors affecting the location accuracy: one is the time accuracy, and the other is the velocity accuracy. Therefore, how to improve the timing accuracy to solve the problem of low accuracy in locating traveling wave faults in transmission lines is an urgent issue that needs to be addressed.
[0003] In addition, traditional signal acquisition systems generally use a single hardware comparator trigger mode with a fixed and large trigger interval, resulting in a long single fault handling time. This makes it impossible to flexibly configure the system according to different scenarios. Furthermore, the long minimum interval between two faults can also lead to the inability to detect faults with short trigger intervals, resulting in missed alarms and false alarms. Summary of the Invention
[0004] The purpose of this invention is to address the shortcomings of existing technologies by providing a data acquisition system for fault location in transmission lines, thereby solving the problems of low accuracy in traveling wave fault location, as well as the issues of missed and false alarms in traveling wave fault location.
[0005] To achieve the above objectives, the present invention provides a power transmission line fault location data acquisition system, comprising: Four ADC acquisition channels are used to acquire fault location signals for power transmission lines; The PP1S module is used to provide a precise 1-second signal to the FPGA module; Two SRAM chips are used to store the sampled fault location signals; An external crystal oscillator is used to provide a stable clock signal; The FPGA module, as the main processor, completes the acquisition of fault location signals for power transmission lines; The ARM, as a control peripheral, controls the FPGA to perform corresponding fault location signal reading and storage operations through corresponding instructions; The FPGA module includes an ADC interface module, an ADC sampling module, a read / write control module, an SRAM data read / write module, an SRAM interface module, a clock module, a trigger module, a register configuration module, an extremum module, a latch module, and an interrupt module. The ADC interface module connects to four ADC acquisition channels and includes two types of interfaces: a data interface and a configuration interface. The data interface is used to transmit the acquired fault location signals, and the configuration interface is used to configure the ADC. The ADC sampling module is connected to the ADC interface module and includes an ADC configuration module and an ADC data buffer module. The ADC configuration module is used to configure the ADC interface to achieve ADC driving at a specific sampling rate. The ADC data buffer module is used to buffer the fault location signals synchronously acquired by the four ADC acquisition channels. The read / write control module is connected to the ADC sampling module and includes a signal start address latch module, a write control module, and a read control module. The write control module is used to generate a write address and write enable information according to the cache identifier of the ADC data cache module, and send them to the SRAM for continuous storage and writing of the acquired fault location signal. The read control module is used to read fault location signal data from SRAM and output it to ARM through the FSMC interface. It reads one packet of fault location signal data at a time. The reading process is divided into two steps. First, according to the ARM configuration information, the starting address of the fault location signal data is read. This starting address identifies the starting address of the valid fault location signal data in SRAM. Second, the data block address to be read and read enable information are generated based on the starting address. After one packet of fault location signal data is read, it is buffered in RAM inside the FPGA. After buffering, the BLK_RDY signal is set, and the ARM continuously accesses and reads it through the FSMC interface. The starting address latching module is used to calculate the starting address of the valid fault location signal data based on the trigger signal and latch it into the FPGA's internal RAM. The SRAM data read / write module is connected to the read / write control module and is used to allocate read / write timing so that read / write operations on the same SRAM are performed in a 2-write-1 timing sequence. The SRAM interface module connects the SRAM data read / write module and the two SRAM chips, and is used to implement the read / write timing allocated by the SRAM data read / write module. The clock module is used to provide the clock required by the FPGA and the sampling clock of the ADC; the clock required by the FPGA includes the main clock for FPGA data processing and the nanosecond-level high-frequency clock for fault location. The PP1S module, connected to the trigger module and the read / write control module, is used to record the timestamp information of the trigger signal generation time and to perform nanosecond-level correction on the timestamp information; The method for ns-level correction of timestamp information is as follows: a high-speed clock of several hundred megabits is generated by the clock module, and the PP1s signal is counted using the high-speed clock to obtain the 1s signal count value c1; at the same time, the trigger time count value c2 is recorded when the acquired fault location signal arrives; c1 is used to calibrate c2 to obtain the ns-level trigger time t0=c2 / c1 calibrated using PP1S under high-frequency clock, where t0 is the calibrated time information; The register configuration module is connected to the ARM, the read / write control module, and the trigger module. It is used to configure the ARM's status and operation of the FPGA, thereby enabling the ARM to read and write internal information of the FPGA. The ARM configuration of the FPGA's status and operation includes the configuration of the trigger interval and the trigger type; among which, the configuration range of the trigger interval is: the waveform length of the stored acquisition signal is set to 1ms, the minimum trigger interval is 1ms, and the maximum trigger interval is 100ms; Trigger type configuration: including 4-channel hard trigger, 4-channel FPGA soft trigger, and ARM soft trigger; The maximum / minimum value module is connected to the 4 ADC acquisition channels and the trigger module. It is used to compare the fault location signals acquired by the 4 channels after hard triggering, obtain the channel maximum / minimum value within 0.6ms after triggering, and transmit the generated channel maximum / minimum value to the latch module for storage of the fault waveform data of the fault location signal. The triggering module is connected to four ADC acquisition channels. It performs threshold judgment based on the waveform data of the acquired fault location signal, thereby generating a trigger signal and storing the fault waveform. The trigger signals include hard trigger signals generated by a 4-channel hardware circuit, FPGA soft trigger signals generated by the FPGA, and ARM soft trigger signals from the cloud platform. The 4-channel hard trigger signals are generated by comparing analog signals and fixed-level signals on the circuit. The FPGA soft trigger signals are generated by comparing the acquired fault location signals with a set threshold. If the threshold is exceeded, a trigger signal is generated. The ARM soft trigger signals are manually triggered signals and are generated by the ARM control. The latch module is connected to the maximum / minimum value module and the PP1S module, and is used to store and retrieve data information of trigger type, trigger timestamp, and 4-channel maximum / minimum values. The interrupt module is connected to the trigger module and the ARM, and is used by the FPGA to generate an interrupt signal based on the trigger signal and transmit it to the ARM, so that the ARM can perform corresponding operations.
[0006] Based on the above, the processing flow of the triggering module is as follows: The ARM is configured via the FSMC interface to enable soft triggering on the FPGA; ARM is configured via the FSMC interface to enable hard triggering; The ARM is configured via the FSMC interface to enable ARM soft triggering; The acquired ADC data is compared and judged to generate an FPGA soft trigger signal; The analog signals on the line are compared, and hardware triggering is performed through hardware comparison circuit to generate a hard trigger signal; ARM soft triggering allows for manual triggering via cloud platform settings based on user needs; The three triggers are logically combined into cloud platform triggering and hardware and FPGA fusion triggering; hard triggering and FPGA soft triggering are used as actual trigger signals; cloud platform triggering is an optional function and is not used as an actual online trigger signal. In the hardware and FPGA integrated triggering, hard triggering serves as the triggering condition, while FPGA soft triggering serves as the trigger determination condition. By combining hard triggering and FPGA soft triggering, the trigger signal processing is completed, and the final actual trigger signal is obtained.
[0007] Based on the above, the PP1S module is implemented using GPS; after the GPS signal is lost, a system timekeeping function is designed to ensure that the system continues to operate normally. PP1S counter cnt: The count is cleared by the gps_pp1s pulse; under normal circumstances, cnt counts for 160M between two pp1s pulses. PP1S_time0: Updated by the PP1S pulse, updating cnt when PP1S arrives to pp1s_time0; The time_cnt counter: It counts and clears the count based on the registered value of pp1s_time1, and outputs a delayed PP1S pulse signal when the count value is equal to that of pp1s_time1. The delayed PP1S pulse signal gps_pp1s_delay is generated by comparing time_cnt with pp1s_time1, and time_cnt is cleared according to gps_pp1s_delay. The time_cnt counter updates pp1s_time0 to pp1s_time1 based on a count value of 40M. During the update process, upper and lower limits are set for judgment. If the count value is within the threshold, the update is considered normal; otherwise, no update is performed, and the historical normal value is maintained.
[0008] Based on the above, the ADC data buffer module uses two storage RAMs for ping-pong operation. Each RAM stores 64 data points. Data is read out of one RAM at a time, and the read data is transmitted to the subsequent module for processing according to a preset timing sequence.
[0009] The beneficial effects of this invention are as follows: (1) Regarding the issue of improving positioning accuracy: This invention improves fault positioning accuracy by enhancing the accuracy of the fault arrival time; The first scenario: Under normal GPS conditions, by improving the nanosecond-level time accuracy within 1 second, the trigger time correction is completed using the trigger time count and the 1-second count value, resulting in a high-precision trigger time and thus improving the overall accuracy. The high-frequency timing clock used in this invention is 160MHz. Assuming the signal transmission speed of the transmission line is 3*10^8m / s, the distance error in the next clock cycle of the high-frequency clock is 1.8m. The distance error is only related to the counting error. At the same time, the trigger count is calibrated according to the precise PP1S interval counting. If the error of the PP1S signal is ignored, the overall error is the error brought by the high-frequency clock. The theoretical distance accuracy can reach 1.8m, and this accuracy can be improved as the clock frequency increases. The second scenario: GPS anomaly or GPS malfunction causes the GPS second signal to disappear; this invention uses a time counter set in the FPGA to determine the trigger time; when GPS is lost, the trigger count and trigger time correction are performed based on the value of the time counter, solving the problem of being unable to locate the fault when GPS is lost; This invention employs a 28-bit counter and a 28-bit timekeeping counter to maintain timekeeping in the event of GPS loss, thereby improving positioning accuracy in such situations. The final designed timekeeping time is 7 minutes, which can be adjusted according to specific scenario requirements. The fault location accuracy in this case is mainly related to high-frequency clock errors and the use of a fixed PP1s count value. Analysis shows that the overall fault distance calculation accuracy is significantly improved compared to the fault location accuracy in the event of GPS loss, and the problem of inability to locate the location in the event of GPS loss is solved. (2) To address the issues of false alarms and missed detections mentioned above, this invention improves upon the problem by employing a strategy that integrates multiple triggering methods in the triggering module: (2.1) Change the traditional fault triggering method from a single hardware comparator triggering mode to a combination of multiple triggering modes such as hard triggering, FPGA soft triggering, and ARM soft triggering, thereby improving the accuracy of fault triggering and reducing false alarms of fault triggering; Hard triggering is achieved through a comparator circuit when the transmission line signal exceeds a threshold th1. FPGA soft triggering generates a trigger signal by comparing the acquired ADC data with a set threshold value th2; the threshold value can be flexibly configured. Cloud platform triggering is based on user needs. These three triggering modes can be processed independently. Alternatively, a combination of hard triggering, FPGA soft triggering, and ARM soft triggering can be used, with hard triggering as the trigger initiation condition and FPGA soft triggering as the determining trigger condition, thereby improving triggering accuracy. The triggering method designed in this invention can effectively reduce false triggering and missed triggering, and improve triggering accuracy. (2.2) By setting the number of over-threshold points for FPGA soft triggering and setting the trigger time threshold cnt0 (when the ADC data acquired by the FPGA exceeds the threshold th1 and the duration exceeds the set cnt0), false alarms caused by abnormal points such as spikes can be effectively filtered out, reducing the occurrence of false alarms in the system. (2.3) Select trigger type, trigger channel, trigger threshold, and trigger time (FPGA trigger data point setting) according to different scenarios and requirements, so as to set different trigger parameters according to different scenarios, improve the flexibility and accuracy of fault triggering, and reduce false alarms and missed alarms of fault triggering; (3) Traditional equipment has a long trigger interval and a fixed trigger interval, which results in a long single fault handling time and insufficient equipment flexibility; the long minimum interval between two faults will make it impossible to detect faults with short trigger intervals, thus resulting in missed alarms. To address the above issues, based on the analysis of fault signal length, the time interval between two triggers is effectively shortened, making the minimum trigger interval 1ms, which can support continuous millisecond-level triggering and greatly reduces the occurrence of missed alarms due to short time intervals. This invention allows for adjustment of the trigger interval based on the data sampling rate and the effective length of the fault signal, enabling flexible configuration and application. Different trigger intervals can be set according to different needs (the set trigger interval is greater than the minimum trigger interval, and the configuration range is continuously configurable from 1ms to 100ms), thus improving the system's flexibility. Attached Figure Description
[0010] Figure 1 This is a schematic diagram of the traveling wave fault location principle for power transmission lines.
[0011] Figure 2 This is a hardware block diagram of the power transmission line fault location data acquisition system of the present invention.
[0012] Figure 3 This is a processing block diagram of the power transmission line fault location data acquisition system of the present invention.
[0013] Figure 4 This is a schematic diagram of the PP1S module in this invention.
[0014] Figure 5 This is a flowchart of the transmission line traveling wave fault triggering process in this invention.
[0015] Figure 6 This is a schematic diagram of the hard triggering principle in this invention.
[0016] Figure 7 This is a schematic diagram of the FPGA soft triggering principle in this invention.
[0017] Figure 8 This is a schematic diagram of the hardware and FPGA fusion triggering principle in this invention. Detailed Implementation
[0018] The technical solution of the present invention will be further described in detail below through specific embodiments.
[0019] like Figure 2 As shown, this embodiment provides a power transmission line fault location data acquisition system, including: (1) 4 ADC acquisition channels are used to acquire transmission line fault location signals; the ADC adopts AD9231 with a sampling rate of 10M; (2) The PP1S module provides a precise 1s signal to the FPGA module; (3) Two SRAM chips are used to store the sampled fault location signals; IS66WVH32M8DALL is used with a storage capacity of 256Mbit. (4) External crystal oscillator to provide a stable clock signal (26MHz); (5) The FPGA module, as the main processor, performs AD signal acquisition, data storage, reading, ARM communication, etc., to complete the acquisition of transmission line fault location signals; the FPGA module adopts the low-power FPGA A3P400 of the microsemi Proasic3 series. (6) ARM, as a control peripheral, controls the FPGA to perform corresponding fault location signal reading and storage operations through corresponding instructions.
[0020] like Figure 3As shown, the FPGA module includes an ADC interface module, an ADC sampling module, a read / write control module, an SRAM data read / write module, an SRAM interface module, a register configuration module, a communication interface module, a clock module, an extremum module, a trigger module, a PP1S module, a latch module, and an interrupt module.
[0021] ①ADC interface module: Connects 4 ADC acquisition channels. The ADC interface module mainly includes two types of interfaces: a data interface and a configuration interface. The data interface is a 16-bit parallel interface with a speed of 10MHz, mainly used for transmitting sampled fault location signals. The configuration interface is an SPI standard bus interface with an interface speed of 5MHz, mainly used for ADC configuration.
[0022] ②ADC sampling module: The ADC interface module includes an ADC configuration module and an ADC data buffer module; it mainly enables the parameter configuration of two AD9231 chips and the synchronous acquisition and reception of 10M sampling rate data from four ADC acquisition channels. The ADC configuration module configures the external ADC interface, enabling ADC driving at a specific sampling rate. The ADC data buffer module can simultaneously buffer fault location signals acquired from four ADC channels. The data buffer requires four RAM blocks, with two RAM blocks forming a group, corresponding to the ping-pong operation of the two ADC channels. Each RAM block has a data storage depth of 64, storing 32 data points from each of the two channels. Once one RAM block is fully stored, the storage of the other RAM block begins, and the data from the completed RAM block is read out simultaneously. The read-out data is distinguished according to the ADC channel and transmitted to the subsequent modules for processing.
[0023] ③ Read / Write Control Module: The ADC sampling module includes a signal start address latch module, a write control module, and a read control module.
[0024] The write control module: Based on the cache identifier of the ADC module, write address, write enable and other information are generated and sent to the SRAM module for continuous storage and writing of the acquired fault location signal; The write control module divides the storage space according to the 256Mbit storage space of the SRAM and the storage requirement of 128 fault waveforms for 2 channels corresponding to each SRAM. The write address consists of two parts: the bank base address and the bank internal address; the write control module has two storage scenarios: 1) When there is no fault and no trigger, the write control module address continuously accumulates and loops within a bank, continuously writing collected data to an address space. 2) When there is a fault and a trigger occurs, the write control module completes the writing of 0.6ms of sampled data at a 10M sampling rate after the trigger. After the 0.6ms data writing is completed, it jumps to the next bank to continue storing the sampled data.
[0025] The read control module: Used to read fault location signal data from SRAM and output it to ARM via the FSMC interface, reading one packet of 512 fault location signal data at a time; The process of reading fault location signal data is divided into two steps: First, according to the ARM configuration information, the signal start address is read. This start address identifies the start address of the valid fault location signal data in the SRAM. Second, the data block address to be read, read enable and other information are generated according to the start address. After a packet of data with 512 points is read, it is cached in the RAM inside the FPGA. After caching, the BLK_RDY signal is set, and the ARM continuously accesses and reads it through the FSMC interface.
[0026] The read and write speed modes are the same, both using 8-bit parallel transmission at a 40MHz clock, DDR sampling, and 128*8-bit burst mode each time.
[0027] Start address latch module: The starting address of the valid fault location signal data is calculated based on the trigger signal and latched into the FPGA's internal RAM. The starting address of the fault location signal data includes the bank address and the address within the bank, with a storage depth of 128, corresponding to the storage of 128 waveform data entries. The starting addresses of 128 waveforms are stored in the RAM block in sequence. At the same time, the address of the first waveform in the RAM block is latched in the register (reg1). The starting address of the waveform is read by calculating the position of the waveform to be read in the RAM block using the address of the first fault waveform in the RAM block latched in the register (reg1) and the ID of the fault waveform to be read. The fault waveform address at the corresponding storage position is then read.
[0028] The starting address latch module has a waveform clearing function, which includes two types: clearing all waveforms and deleting a single original waveform. Based on the waveform data reading mechanism: first read the waveform address, then read the waveform data; to reduce operational complexity during waveform clearing, the waveform clearing mechanism is designed as follows: The address register (reg1) of the latched first waveform in the RAM block is operated on. Incrementing by one clears the most original single waveform, while clearing by one clears all stored waveforms. This waveform clearing operation does not clear already stored waveform data or waveform addresses, simplifying the operation process.
[0029] ④SRAM data read / write module: The read / write control module is connected to rationally allocate read / write timing, so that orderly read / write operations can be performed on the same SRAM. In this embodiment of the data acquisition system, each ADC corresponds to one SRAM. For a single SRAM, two channels of ADC data need to be written and one channel of data needs to be read at the same time. In order to perform the read and write operations in a reasonable and orderly manner, the read and write processes are divided in terms of timing, with a write-2-read-1 timing sequence. The single channel read and write are both 10MHz bandwidth, requiring a bandwidth of 30MHz at the same time. The SRAM operates at a 40MHz interface clock with an efficiency of 88%, which meets the design requirements. The generated read / write timing sequence is transmitted to the SRAM interface module, and the fault location signal data is read and written in an interleaved manner.
[0030] ⑤SRAM interface module: Connect the SRAM data read / write module and the two SRAM chips, and implement the SRAM read / write interface timing according to the SRAM requirements; This embodiment uses SRAM with double-edge sampling to drive the SRAM for reading and writing waveform data of fault location signals. In practical applications, it is not limited to double-edge reading and writing. The RAM to be stored can be selected according to the specific implementation, and the single-edge or double-edge data reading and writing can be used according to the requirements.
[0031] The SRAM used in this embodiment has a capacity of 32M*8bit. Based on the signal length of 1ms, the maximum storage waveform can reach 128 groups of fault waveforms, each with 2 channels. The SRAM working burst mode is selected as 128 bytes. The write process is continuously performed according to the write information generated by the read-write control module. The read process reads data according to the read information generated by the read-write control module. To complete the reading of a packet of data with 512 points, it is necessary to perform 8 burst operations in a loop.
[0032] ⑥ Register configuration module: The connection to the ARM, the read / write control module, and the trigger module is mainly for the ARM to obtain the internal state information of the FPGA and the ARM to configure the state or operation of the FPGA; thereby enabling the ARM to read and write the internal information of the FPGA. ARM uses the FSMC interface to modify FPGA parameters, including the configuration of trigger interval and trigger type, thus enabling flexible configuration according to different scenarios; Trigger interval configuration range: Based on the traveling wave fault location principle, fault storage length is analyzed according to high-frequency signals. The frequency of high-frequency fault location signals is generally from several kHz to several MHz, and the effective signal length is generally from tens to hundreds of microseconds. In order to store the complete waveform, the storage waveform length is set to 1 ms, and the minimum trigger interval is 1 ms. In specific scenarios, in order to avoid too many trigger signals, it is necessary to increase the trigger interval, and the maximum trigger interval is set to 100 ms. The trigger interval can be configured within the range of 1 ms to 100 ms. Trigger type configuration: Includes three trigger types: 4-channel hard trigger, 4-channel FPGA soft trigger, and ARM soft trigger; The register configuration module can be configured as needed to enable the corresponding trigger types and trigger channels.
[0033] ⑦FSMC Interface: ARM uses the FSMC bus for data reading and writing, where the address bus width is 25 bits and the data bus width is 16 bits; synchronous multiplexing mode is used for read and write operations, and the clock frequency is 10MHz; The FSMC interface enables communication between the ARM and FPGA, and the read and write processes are implemented separately according to the interface timing requirements.
[0034] ⑧ Clock module: Provides various clocks required by the FPGA, including the main clock of 40MHz for FPGA data processing, the 160MHz high-frequency clock at the nanosecond level for fault location, and the 10MHz sampling clock for the ADC.
[0035] ⑨ Maximum / Minimum Value Module: The connection between the four ADC acquisition channels and the trigger module primarily functions to compare the fault location signals acquired by the four channels after triggering, obtaining the maximum and minimum channel values within 0.6ms after triggering. These generated maximum and minimum channel values are then transmitted to the latch module for storage of the fault waveform data. This allows the ARM to determine the maximum and minimum values. If the maximum and minimum value exceeds the ARM's threshold, the waveform is directly uploaded; otherwise, it waits for confirmation before resetting or uploading.
[0036] ⑩ Trigger Module: It connects 4 ADC acquisition channels. The principle is to judge the threshold based on the waveform data, thereby generating a trigger signal and storing the fault waveform. The generation of the trigger signal consists of three parts: the trigger signal generated by the 4-channel hardware circuit, the ARM soft trigger signal of the cloud platform, and the FPGA soft trigger signal generated by the FPGA. The hard trigger signal is generated by comparing an analog signal on the line with a fixed-level signal; The FPGA soft trigger signal is generated by comparing the acquired fault location signal with a set threshold. If the threshold is exceeded, a trigger signal is generated. The ARM soft trigger signal is a manually triggered signal, generated by the ARM controller. In this embodiment, the three trigger signals complement each other, making the application scenarios flexible and the fault waveform judgment accurate. The trigger interval is configured by ARM to the FPGA according to the specific environmental requirements, with a minimum trigger interval of 1ms and a maximum trigger interval of 100ms.
[0037] The processing flow of the trigger module is as follows: Figure 5 As shown: i. Configure the FPGA soft trigger enable via the FSMC interface; ii. Configure the ARM through the FSMC interface to enable hard triggering; iii. Configure the ARM soft trigger enable via the FSMC interface; iv. Based on the FPGA trigger threshold configuration and the FPGA trigger point configuration, compare and judge the acquired ADC data to generate an FPGA soft trigger signal; v. Compare the analog signals on the line, and use a hardware comparison circuit to trigger the hardware and generate a hard trigger signal; vi. ARM soft triggering, triggered according to user needs, and manually triggered through cloud platform settings; vii. Three types of triggering logic combinations, namely cloud platform triggering and hardware and FPGA fusion triggering.
[0038] For the three types of triggering: hard triggering and FPGA soft triggering are used as actual triggering signals, while cloud platform triggering is used as a manual triggering, an optional function, and is not used as an actual online triggering signal; like Figure 6 As shown, due to the stability and determinism of the hardware, it will be triggered as long as the signal on the line crosses the threshold. Therefore, an appropriate trigger level can be selected to reduce the occurrence of missed triggers, but at the same time, it will increase the occurrence of false triggers. FPGA soft triggering principle (e.g.) Figure 7As shown): By comparing the amplitude of the ADC-acquired data with a set threshold, an FPGA soft trigger signal is generated when the threshold is exceeded; FPGA soft trigger signals fall into two categories: when the signal peak is greater than the threshold thr0, or when the signal trough is lower than the threshold thr1, a trigger signal will be generated. FPGA soft triggering compares the collected data with a set threshold, and triggering only occurs after the set threshold has been exceeded for a certain period of time. Therefore, it can improve the accuracy of triggering. However, while improving the accuracy of triggering, it also increases the occurrence of false negatives. like Figure 8 As shown, this embodiment combines the characteristics of hard triggering and soft triggering to design a hardware-FPGA integrated triggering system: I. Hard trigger as the trigger condition; Based on the characteristics of hard triggering, setting an appropriate threshold can reduce the probability of missed fault detection, but at this time there will be more false triggers. II. FPGA soft triggering is used as the triggering determination condition; By comparing the acquired ADC data with thresholds and counting the number of times it exceeds the threshold, a trigger signal is generated if the count exceeds the threshold, thus completing the trigger filtering based on hard triggering and reducing the occurrence of false triggering. By combining hard triggering and FPGA soft triggering, the trigger signal processing is completed to obtain the final trigger signal and achieve high-precision triggering.
[0039] ⑪PP1S Module: Implemented using GPS, this module records the timestamp information of the trigger signal generation. It primarily utilizes a high-frequency crystal oscillator to generate different time information at the nanosecond level within 1 second. It also features nanosecond-level correction of the trigger signal and determination of the trigger time in case of GPS anomalies. PP1S module: The trigger module and the read / write control module are connected. The main function is to generate the count of PP1S under a 160MHz clock and the trigger time value when the external trigger is valid, so as to record the timestamp information of the trigger signal generation time and perform nanosecond-level correction on the timestamp information. The design also considers the possibility of continued normal operation even after GPS loss, i.e., system timekeeping. Figure 4 As shown: 1) PP1S counter cnt: The count is cleared by the gps_pp1s pulse; under normal circumstances, the count of cnt is 160M between two pp1s pulses. 2) PP1S_time0: Updated by the PP1S pulse, updating cnt when PP1S arrives to pp1s_time0; 3) time_cnt counter: The counter is cleared according to the registered value of pp1s_time1, and the delayed PP1S pulse signal is output when the count value is equal to the count value of pp1s_time1; 4) Generate a delayed PP1S pulse signal gps_pp1s_delay by comparing time_cnt with pp1s_time1, and clear time_cnt based on gps_pp1s_delay; 5) time_cnt counter: Update pp1s_time0 to pp1s_time1 based on the count value of 40M (every 0.25s position). During the update process, consider the case of PP1S being lost and then recovered. The first recovered PP1S may have an abnormal value (overflow value). To avoid this situation, upper and lower limits are set. If the count value is within the threshold, it is judged as a normal update; otherwise, no update is performed, and the historical normal value is maintained. 6) PP1S is lost for a long time: PP1S_time0 is not updated for a long time and is subsequently maintained at the historical normal value to ensure counting accuracy in a short period of time (with relatively long-term timekeeping).
[0040] Methods for performing nanosecond-level corrections on timestamp information: The clock module generates a high-speed clock of several hundred megabits, which is used to count the high-precision PP1s signal (standard second signal) to obtain a 1s signal count value c1. At the same time, when the acquired fault location signal arrives, the trigger time count value c2 is recorded. c1 is used to calibrate c2 to obtain the ns-level trigger time t0 = c2 / c1 calibrated with high-precision PP1S under high-frequency clock, where t0 is the calibrated high-precision time information, thereby improving the fault location accuracy in a single fault diagnosis process.
[0041] ⑫ Latch module: The module connects the maximum / minimum value module and the PP1S module. This module mainly stores and reads data information such as trigger type, trigger timestamp, and maximum / minimum values of the 4 channels. It corresponds to the number of 128 fault waveforms stored, and needs to store 128 sets of trigger-related information. The reading of trigger type, trigger timestamp, and maximum / minimum values is performed synchronously with the reading of data, and the reading of data and feature information is completed at the same time.
[0042] ⑬ Interrupt module: The trigger module and the ARM are connected, and the FPGA generates an interrupt signal based on the trigger signal and transmits it to the ARM, so that the ARM can perform corresponding operations.
[0043] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications can still be made to the specific implementation of the present invention or equivalent substitutions can be made to some technical features without departing from the spirit of the technical solutions of the present invention, and all such modifications and substitutions should be covered within the scope of the technical solutions claimed in the present invention.
Claims
1. A data acquisition system for locating faults in power transmission lines, characterized in that, include: Four ADC acquisition channels are used to acquire fault location signals for power transmission lines; The PP1S module is used to provide a precise 1-second signal to the FPGA module; Two SRAM chips are used to store the sampled fault location signals; An external crystal oscillator is used to provide a stable clock signal; The FPGA module, as the main processor, completes the acquisition of fault location signals for power transmission lines; The ARM, as a control peripheral, controls the FPGA to perform corresponding fault location signal reading and storage operations through corresponding instructions; The FPGA module includes an ADC interface module, an ADC sampling module, a read / write control module, an SRAM data read / write module, an SRAM interface module, a clock module, a trigger module, a register configuration module, an extremum module, a latch module, and an interrupt module. The ADC interface module connects to four ADC acquisition channels and includes two types of interfaces: a data interface and a configuration interface. The data interface is used to transmit the acquired fault location signals, and the configuration interface is used to configure the ADC. The ADC sampling module, connected to the ADC interface module, includes an ADC configuration module and an ADC data buffer module; the ADC configuration module is used to configure the ADC interface to achieve ADC driving at a specific sampling rate; the ADC data buffer module is used to buffer the fault location signals synchronously acquired by the four ADC acquisition channels. The read / write control module is connected to the ADC sampling module and includes a signal start address latch module, a write control module, and a read control module. The write control module is used to generate a write address and write enable information according to the cache identifier of the ADC data cache module, and send them to the SRAM for continuous storage and writing of the acquired fault location signal. The read control module is used to read fault location signal data from SRAM and output it to ARM through the FSMC interface. It reads one packet of fault location signal data at a time. The reading process is divided into two steps. The first step is to read the starting address of the fault location signal data according to the ARM configuration information. This starting address identifies the starting address of the valid fault location signal data in SRAM. The second step is to generate the address of the data block to be read and the read enable information based on the starting address; Once the fault location signal data is read, it is buffered in RAM inside the FPGA. After buffering, the BLK_RDY signal is set, and the ARM continuously accesses and reads it through the FSMC interface. The starting address latching module is used to calculate the starting address of the valid fault location signal data based on the trigger signal and latch it into the FPGA's internal RAM. The SRAM data read / write module is connected to the read / write control module and is used to allocate read / write timing so that read / write operations on the same SRAM are performed in a 2-write-1 timing sequence. The SRAM interface module connects the SRAM data read / write module and the two SRAM chips, and is used to implement the read / write timing allocated by the SRAM data read / write module. The clock module is used to provide the clock required by the FPGA and the sampling clock of the ADC; the clock required by the FPGA includes the main clock for FPGA data processing and the nanosecond-level high-frequency clock for fault location. The PP1S module, connected to the trigger module and the read / write control module, is used to record the timestamp information of the trigger signal generation time and to perform nanosecond-level correction on the timestamp information; The method for ns-level correction of timestamp information is as follows: a high-speed clock of several hundred megabits is generated by the clock module, and the PP1s signal is counted using the high-speed clock to obtain the 1s signal count value c1; at the same time, the trigger time count value c2 is recorded when the acquired fault location signal arrives; c1 is used to calibrate c2 to obtain the ns-level trigger time t0=c2 / c1 calibrated using PP1S under high-frequency clock, where t0 is the calibrated time information; The PP1S module is implemented using GPS; a system timekeeping function is designed to ensure the system continues to function normally after GPS signal loss. PP1S counter cnt: The count is cleared by the gps_pp1s pulse; under normal circumstances, cnt counts for 160M between two pp1s pulses. PP1S_time0: Updated by the PP1S pulse, updating cnt when PP1S arrives to pp1s_time0; The time_cnt counter: It counts and clears the count based on the registered value of pp1s_time1, and outputs a delayed PP1S pulse signal when the count value equals the value of pp1s_time1. The delayed PP1S pulse signal gps_pp1s_delay is generated by comparing time_cnt with pp1s_time1, and time_cnt is cleared according to gps_pp1s_delay. The time_cnt counter updates pp1s_time0 to pp1s_time1 based on a count value of 40M. During the update process, upper and lower limits are set for judgment. If the count value is within the threshold, the update is considered normal; otherwise, the update is not performed and the historical normal value is maintained. The register configuration module is connected to the ARM, the read / write control module, and the trigger module. It is used to configure the ARM's status and operation of the FPGA, thereby enabling the ARM to read and write internal information of the FPGA. The ARM configuration of the FPGA's status and operation includes the configuration of the trigger interval and the trigger type; among which, the configuration range of the trigger interval is: the waveform length of the stored acquisition signal is set to 1ms, the minimum trigger interval is 1ms, and the maximum trigger interval is 100ms; Trigger type configuration: including 4-channel hard trigger, 4-channel FPGA soft trigger, and ARM soft trigger; The maximum / minimum value module is connected to the 4 ADC acquisition channels and the trigger module. It is used to compare the fault location signals acquired by the 4 channels after hard triggering, obtain the channel maximum / minimum value within 0.6ms after triggering, and transmit the generated channel maximum / minimum value to the latch module for storage of the fault waveform data of the fault location signal. The triggering module is connected to four ADC acquisition channels. It performs threshold judgment based on the waveform data of the acquired fault location signal, thereby generating a trigger signal and storing the fault waveform. The trigger signals include hard trigger signals generated by a 4-channel hardware circuit, FPGA soft trigger signals generated by the FPGA, and ARM soft trigger signals from the cloud platform. The 4-channel hard trigger signals are generated by comparing analog signals and fixed-level signals on the circuit. The FPGA soft trigger signals are generated by comparing the acquired fault location signals with a set threshold. If the threshold is exceeded, a trigger signal is generated. The ARM soft trigger signals are manually triggered signals and are generated by the ARM control. The latch module is connected to the maximum / minimum value module and the PP1S module, and is used to store and retrieve data information of trigger type, trigger timestamp, and 4-channel maximum / minimum values. The interrupt module is connected to the trigger module and the ARM, and is used by the FPGA to generate an interrupt signal based on the trigger signal and transmit it to the ARM, so that the ARM can perform corresponding operations.
2. The transmission line fault location data acquisition system according to claim 1, characterized in that, The processing flow of the trigger module is as follows: The ARM is configured via the FSMC interface to enable soft triggering on the FPGA; ARM is configured via the FSMC interface to enable hard triggering; The ARM is configured via the FSMC interface to enable ARM soft triggering; The acquired ADC data is compared and judged to generate an FPGA soft trigger signal; The analog signals on the line are compared, and hardware triggering is performed through hardware comparison circuit to generate a hard trigger signal; ARM soft triggering allows for manual triggering via cloud platform settings based on user needs; The three triggers are logically combined into cloud platform triggering and hardware and FPGA fusion triggering; hard triggering and FPGA soft triggering are used as actual trigger signals; cloud platform triggering is an optional function and is not used as an actual online trigger signal. In the hardware and FPGA integrated triggering, hard triggering serves as the triggering condition, while FPGA soft triggering serves as the trigger determination condition. By combining hard triggering and FPGA soft triggering, the trigger signal processing is completed, and the final actual trigger signal is obtained.
3. The transmission line fault location data acquisition system according to claim 1, characterized in that: The ADC data buffer module uses two storage RAMs for ping-pong operation. Each RAM stores 64 data points. Data is read out of one RAM at a time and transmitted to the subsequent module for processing according to a preset timing sequence.
Citation Information
Patent Citations
Failure message integrated device based on FPGA and ARM hardware platform
CN102401871A
Synchronous image acquisition system based on FPGA and ARM
CN207067733U
