Realization of high-speed data acquisition system for traveling wave fault location in power transmission lines

Publisher:数据梦想Latest update time:2012-04-19 Source: 21IC中国电子网 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction
Accurate fault location of high-voltage transmission lines in power systems is one of the effective ways to ensure safe and stable operation of the system. Modern traveling wave positioning is to achieve accurate fault location by comprehensively analyzing the sampling values ​​of the voltage and current traveling waves that appear on the line after the fault occurs, and determining the exact time when the fault traveling wave head arrives at the measuring point on the line. The transient traveling wave signal after a short-circuit fault occurs in the transmission line has different speeds and attenuation for different frequency components. The shape and polarity of the wave head are related to the change of the wave impedance at both ends of the line, and the amplitude is closely related to the time of the fault occurrence, which makes the traveling wave prone to distortion during propagation, reducing the ability to judge the accurate arrival time of the traveling wave and the recognition of the traveling wave reflection wave. For the acquisition of high-speed transient traveling wave signals with extremely fast change speed and extremely short change process, high-speed A/D conversion units, a large number of data storage units, high-speed addressing and fast storage are required.
In order to use a single-chip microcomputer to sample μs-level or even ns-level high-speed transient signals, a technology based on GPS synchronization and hardware circuits to achieve high-speed data acquisition, high-speed addressing and storage is studied, ensuring the real-time acquisition of high-speed transient signals. This improves the accuracy of fault location of power transmission lines.
Since the acquired signals are high-frequency signals, the conventional method is limited by the operating speed of the single-chip microcomputer itself. The use of computers not only increases costs, but also increases the difficulty in signal processing of high-frequency, long-distance multi-channel signals, and sometimes it is impossible to distinguish the authenticity of the acquired signals. By effectively expanding the periphery of the 8051 single-chip microcomputer, the acquisition and storage are realized by hardware during data acquisition, and the 8051 single-chip microcomputer performs data processing and communication after the acquisition is completed, which better solves the contradiction between the two. The
sampling frequency of the high-speed data acquisition board we developed is 20MSPS; the A/D conversion word length is 8 bits, and the sampling rate is variable; the storage capacity is 512K bytes, which meets the ISA bus standard and other characteristics. It can be widely used in power measurement , relay protection and fault location.
2 Hardware System
For high-speed data acquisition technology, the most important thing is the system resolution, accuracy and throughput rate, especially the system throughput rate, which is the most critical technical indicator that distinguishes high-speed data acquisition from general data acquisition. In the specific implementation of hardware, two aspects need to be considered: (1) the conversion time of the A/D converter. (2) the storage time of the converted data [3].
This paper uses the DS80C320 microcontroller as needed. Under the condition of a clock frequency of 33MHz, the single-cycle instruction execution time is 110ns, giving full play to the performance of the high-speed A/D conversion chip. The hardware circuit block diagram is shown in Figure 1. It consists of CPU1 and CPU2 basic systems, video flicker ADC converter, cache RAM, dual-port RAM, address counter, sampling frequency control, timing control and decoding circuit.

CPU1 is mainly used for data acquisition and communication with PC, CPU2 is used to receive GPS time message, GPS time message can be read by CPU1 from dual-port RAM2 connected to it at any time. High-speed dual-port RAM IDT7130 (2k×8 bits) and IDT7134 (4k×8 bits) are selected, and judgment circuit is internally provided to prevent conflict caused by simultaneous operation of a certain unit. The first dual-port RAM IDT7134 is mainly used by CPU1 to store collected data, synchronization time information and working status, etc., for PC to access regularly, and also to receive commands from PC. The second dual-port RAM IDT7130 has a capacity of 2K bytes and is mainly used for CPU1 and CPU2 to exchange GPS synchronization clock information.
2.1 High-speed A/D conversion
A/D conversion uses flash ADC device AD9048, with a maximum conversion rate of 35Ms/s and a resolution of 8 bits. The internal clock-locked comparator of AD9048 can make the encoding logic circuit and output buffer register work at a high speed of 35 MSPS, and avoid the need for sample-and-hold circuit (S/H) and track-and-hold circuit (T/H) in most systems. AD589, AD741, 2N3906, etc. form a voltage-adjustable circuit, which is provided to RB of 9048, and RT is grounded. AD9618 is used as an input buffer amplifier [4]. Since the data output of AD9048 does not have a three-state gate control, 74LS241 is used as a three-state gate control at the output. Whether AD9048 works depends on the input conversion pulse signal, and sampling is performed on the rising edge of the pulse signal. The conversion pulse comes from the output of the 8254 divider in the sampling frequency control circuit.
2.2 High-speed addressing
For high-speed data acquisition systems, A/D conversion should not be controlled by the CPU. After each ADC conversion, the control circuit sends a corresponding signal to write the ADC conversion result into a unit of the high-speed cache RAM, and then add 1 to the address counter until the address counter is full and a sampling end signal is generated. The control signal blocks the RAM write signal, and the highest bit of the binary address generator is used to notify the host through an interrupt that the sampling is completed.
The address formation circuit can be cascaded by several synchronous counters according to the number of address bits. Five 74LS163s can form a 19-bit address formation circuit. The counter generates an address every time it receives a pulse, and the initial value of the address can be cleared by the timing control circuit. If a circular address is used, after the count is full, the carry signal is used to force the synchronous preset level of the counter to change, so that the counter is restored to the initial value and enters a new round of counting.
2.3 Fast storage
The data transmission rate of the serial communication between the MCU and the host PC often cannot meet the real-time requirements. The maximum data transmission rate of the DMA channel does not exceed 5Mb/s [1]. This is obviously unable to meet the sampling speed of up to 20Mb/s in this system. In order to solve the contradiction between high-speed data acquisition and low-speed data transmission, in the MCU system, the data storage uses a dual-port RAMIDT7134, and a 4k-byte buffer is established between the host PC and the MCU. The MCU only needs to store the pre-processed sampled values ​​into the buffer through one port, and the host PC takes data from the buffer through another port. This
solves the contradiction between high-speed sampling and low-speed data transmission and can meet the requirements of real-time acquisition and control.

2.4 Bus Control
There are several RAMs or I/O ports on the microcontroller system bus. Addressing and data transmission are all implemented by the CPU issuing instructions through the system bus. For high-speed data acquisition, in order to improve the addressing and data transmission speed and avoid bus conflicts or "traffic" jams, a local bus must be established. The system bus and the local bus should be both different and unified, isolated and combined, and connected to each other through reasonable control logic. In the memory mapping transmission mode, the A/D continuously writes the converted data into the cache RAM. The CPU reads data from the cache RAM to the dual-port RAM1 according to the needs of data processing. The dual-port RAM1 also needs to refresh all units. These three operations all occupy the data and address buses on the card, but the time they occur is random, so the occupation of the bus will inevitably cause conflicts. The function of the bus arbitration circuit is to coordinate these three operations. Here, five 74LS241 two-to-one switches are used to coordinate the conflict between the address counter and the CPU1 reading the cache RAM address, and two 74LS241s are used to coordinate the conflict between the cache RAM and the data transmission between the AD9048 and the dual-port RAM.
2.5 PC bus interface technology
It is difficult for the PC system bus to address the 4kb dual-port RAM. This data acquisition card uses the PC bus, also known as the 8-bit ISA bus. It is flexible to use and is easy to form an interface circuit with an 8-bit single-chip machine. It has 62 leads, which are divided into five categories: address lines, data lines, control lines, auxiliary and power lines. This data acquisition card only uses some of the leads: 8 data lines, 10 address lines, IOR and IOW control lines, and power lines. The detailed block diagram of the decoding circuit is shown in Figure 2.


[page] This data acquisition card uses three port addresses 308H, 309H, and 30AH to achieve the addressing of 4kb on-board cache. The decoding circuit here uses GAL20V8 and two 74HC574s. When the PC wants to access a certain address, it first writes the low 8-bit address of the dual-port RAM. At this time, the output signal of GAL20V8 selects 74HC574 (right), latches the data on PC-DB, and forms the low 8-bit address Addrl of the dual-port RAM. Then write the high 8-bit address of the dual-port RAM. The output signal of GAL20V8 selects 74HC574 (left), latches the data on PC-DB, and forms the high 8-bit address Addrh of the dual-port RAM. Finally, by selecting the chip select end cs of the dual-port RAM, a data read/write process is completed.
2.6 Sampling frequency control circuit
The sampling frequency control circuit is composed of a crystal oscillator, a programmable frequency divider 8254 and some control circuits. 8254 is a programmable frequency divider with an operating frequency of 8M~20MHz. Different frequencies can be output through different frequency division numbers, and the value of the frequency division number is 2~65535. Its output is controlled by a trigger control circuit. Its output clock is sent to the address counter, the write signal control circuit of the cache RAM and the conversion pulse input terminal of the AD9048 respectively.
3 Software design
The system software consists of three parts: data acquisition software, communication software, and fault location calculation software.
The general procedure of the system is as follows: The GPS clock synchronizes the clocks of the high-speed synchronous data acquisition systems installed on both sides of the transmission line to ensure the synchronization of the devices on both sides during data acquisition. When the transmission line is operating normally, the high-speed synchronous data acquisition systems on both sides will collect their own line current and voltage data; once the transmission line fails, both sides start recording and saving the current and voltage data before and after the fault. After the fault is removed, the devices on both sides exchange the current and voltage signals on both sides through the modem (MODEM) by using the telephone line or the network. The location calculation software obtains the location of the fault point. Figure 3 is the overall software block diagram of this system.
The top of Figure 3 is the program entry. The first module at the program entry is initialization. After initialization, it is the hourly time synchronization module. At the hourly time, the clock in the PC will be calibrated according to the GPS clock. After the time synchronization, the data acquisition system will start working. The analog-to-digital converter converts the sampled values ​​of each analog quantity into digital quantities and performs self-test. If the power system is operating normally and the start element is not started, the main program will continue to loop in the above program.
If there is a fault in the power system, the start element will start. The main program will jump to the fault handling part. During the fault handling, the data acquisition part will still work normally, but the time synchronization and self-test will no longer be performed. At this time, the device will continuously monitor the external switch quantities such as the auxiliary contacts of the circuit breaker and the protection action signal. If the external switch quantity shows that the fault has been removed, the main program will jump to the fault location part. First, the device will save the current and voltage values ​​on this side; then, it will exchange data with other sides through the MODEM via the telephone line; finally, it will judge the fault phase and get the fault location result.
A basic requirement for the device's starting element is high sensitivity and good selectivity. According to the characteristics of the sampled electrical quantity and the industrial computer, the device uses phase current starting, negative sequence current starting, and zero sequence current starting according to the OR gate logic output.

In the system, the function of the data acquisition software is to synchronize the clocks on both sides, initialize and control the operation of high-speed analog-to-digital (A/D) acquisition, and save the current and voltage signals at both ends. The function of the communication software is to realize the communication between the single-chip microcomputer and the microcomputer, and transmit the collected data to the microcomputer; and realize the communication between the devices at both ends of the transmission line, and exchange the current and voltage signals collected on both sides of the transmission line. The function of the fault location calculation software is to use the wavelet algorithm to process the collected fault current and voltage, eliminate each harmonic and other interference components, and find the fault point. Identify the fault phase, select the fault phase, and display the recorded data in the form of a graph.
4 Conclusion
This high-speed synchronous data acquisition system has the characteristics of high sampling rate, flexible operation mode, high synchronization clock accuracy and compliance with ISA bus standards. With DS80C320 single-chip microcomputer as the core, GPS synchronization time is adopted, and high-speed data acquisition is realized with appropriate peripheral equipment and reasonable bus control technology. At the same time, it has both digital storage oscilloscope function and data analysis ability, which can be widely used in the fields of power measurement , power system fault location and relay protection.

Reference address:Realization of high-speed data acquisition system for traveling wave fault location in power transmission lines

Previous article:Design of high voltage RF signal source based on AD9835
Next article:Noise, TDMA Noise and Its Suppression Technology

Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号