CN100485734C - Electric energy quality and electrical power system malfunction detection wave recording device and method - Google Patents

Electric energy quality and electrical power system malfunction detection wave recording device and method Download PDF

Info

Publication number
CN100485734C
CN100485734C CNB2007100121504A CN200710012150A CN100485734C CN 100485734 C CN100485734 C CN 100485734C CN B2007100121504 A CNB2007100121504 A CN B2007100121504A CN 200710012150 A CN200710012150 A CN 200710012150A CN 100485734 C CN100485734 C CN 100485734C
Authority
CN
China
Prior art keywords
dsp
chip
pin
data
str
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.)
Expired - Fee Related
Application number
CNB2007100121504A
Other languages
Chinese (zh)
Other versions
CN101097653A (en
Inventor
张振川
张石
赵旭
吴菁晶
崔嵩楠
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northeastern University China
Original Assignee
Northeastern University China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Northeastern University China filed Critical Northeastern University China
Priority to CNB2007100121504A priority Critical patent/CN100485734C/en
Publication of CN101097653A publication Critical patent/CN101097653A/en
Application granted granted Critical
Publication of CN100485734C publication Critical patent/CN100485734C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A kind of fault detection oscilloscope device and method for the quality of power and the electrical system are disclosed, which belongs to the field of detection technique of electric system, and it includes three subsystems: detection oscilloscope subsystem, remote-control monitor subsystem, and time setting subsystem; the oscilloscope subsystem can do multi-point diagnosis for electric system, and detects and records the quality parameters of power; the remote-control monitor subsystem consists of precedence sever and Internet client, and it can realize the double action that transmitting fault information and monitoring the daily running of protective and safe device; the time setting subsystem provides the system time and insures the time synchronization with system; the realizing method includes dynamic parameter measurement, fault time division; starting criterion, fault oscilloscope, uploading record, and remote-control command procession. The invention realizes the digitalization, network, intelligent, and integration of detection oscilloscope device, and it can improve the quality of power, ensure the equipment running safely and steadily.

Description

The quality of power supply and electrical power system malfunction detection wave recording device and method
Technical field
The invention belongs to electric system detection technique field.
Background technology
What the existing quality of power supply and Power System Faults Detection adopted substantially all is the product of the nineties.These oscillographs mostly are the thaumatropies from microcomputer protective relay device; adopting resolution is 12 or lower analog to digital converter; processor is owing to be subjected to restriction scientific and technological at that time and price; 8 or 16 s' single-chip microcomputer normally; the RAM capacity is also very little on the sheet, communicates by serial ports or parallel port.Dsp chip technology develop rapidly in recent years, the rapid raising of Automation of Electric Systems level thereupon, by contrast, many performance index of original fault oscillograph obviously fall behind, and are particularly especially backward aspect high speed failure wave-recording and recorder data analysis.
The power failure oscillograph of nineteen nineties substantially all is the microcomputer type equipment that works alone, and needs regularly its internal storage device to be backed up and clears up.Do not possess the real-time Communication for Power ability, can not be in time with fault data recorder and upload in order to further analyzing, and its degree of accuracy all can not satisfy present power failure with real-time and recorded the ripple requirement.Along with the development of DSP technology, the development of the wave device of power failure record at present mainly turns to the development of dsp chip environment, and the record wave device has also been done a lot of improvement on communication capacity.
Summary of the invention
Problem at existing power failure record wave device exists the invention provides a kind of quality of power supply and electrical power system malfunction detection wave recording device and method.
The present invention includes three subsystems: detect record marble system, remote monitoring subsystem, to the time subsystem (as shown in Figure 1).
Record marble system is exactly the quality of power supply of the present invention and failure detector (oscillograph), it carries out the multiple spot fault diagnosis to electric system, the dynamic electrical parameter variation of (front and back a period of time) system and the state of switching value when the enforcement detection takes place with record power quality parameter, particularly fault.The remote monitoring subsystem is realized the double action of failure message transmission and protection and the monitoring of safety feature day-to-day operation.To the time subsystem standard unified time is provided, guarantee system time synchronously.
1.1 detect record marble system
Record marble system is made up of a plurality of record wave device nodes, and each node and host computer are formed C/S (server/customer end) structure, and the multiple spot fault diagnosis is carried out in electric system, the dynamic electrical parameter when record trouble takes place and the state of switching value.Each detects the record wave device is made up of signal condition module, signal processing module and communication scheduling module, signal Processing (DSP) and the detection of communication scheduling management (CCM) bi-processor architecture and the block scheme of wave recording device of being based on shown in Figure 2.
■ signal condition module
The signal condition module is responsible for the isolation and the conversion of electric power digital amount and analog signals and is sampled for the signal Processing template, also will carry out Filtering Processing to analog quantity, to eliminate the interference more than the 5kHz.A record wave device is supported 8 tunnel analog quantitys, can insert 4 road electric currents, 4 road voltages, supports 8 way switch amounts.Analog quantity is directly from power equipment, and switching value is then sent here by the related device dumb contact.The detailed design of signal condition module and realization see that the 4th joint " detects the design and the realization of wave recording device ".
The ■ signal processing module
Signal processing module is the core of whole fault recording system, requires to have very high real-time and accuracy of detection.It is to sampling through analog quantity and digital quantity after the front-end processing, and according to start-up criterion, whether diagnosis has fault to take place.When breaking down, be responsible for recording the change procedure of pass system electric parameter and the action behavior of relay protection and automatic safety device.For the precision that improves DATA REASONING and the processing capability in real time of system, selecting resolution on hardware for use is 16 the A/D converter and the dsp chip of high-speed, high precision.This module is reached with scheduler module communication interface four parts by dsp processor, analog quantity sampling module, switching value sampling module, memory module to be formed, and is connected by two-port RAM with scheduler module, realizes uploading of failure logging.
DSP selects the floating point processor TMS320C33 chip of TI company for use, and TMS320C33 is the 4th model of C3x system, and cost is low, supports 32 floating-point operations, dominant frequency 60M.It has following characteristics:
TMS320C33 has adopted the inside bus structure with very high concurrency, it is program bus (PADDR and PDATA), data bus (DADDRI separately, DADDR2 and DDATA) and dma bus (DMAADDR and DMADATA), the access of extraction, data access and the DMA of program can be carried out concurrently.These buses connect the address space (in the sheet, the outer MEMORY of sheet, peripheral 16M * 32 altogether) of all C33.
TMS320C33 has two external interfaces: main bus and expansion bus, and they all comprise one 32 bit data bus and one group of control signal, and the external bus width can be configured to 8/16/32, uses very convenient flexible.C33 has the addressing space of 16M * 32, for advantageous conditions has been created in the configuration of the mass storage of cheapness, the introducing of RTOS system.
DMA function in the TMS320C33 sheet makes CPU and I/O operation to carry out simultaneously.Dma controller can carry out read-write operation in any address of storer and not disturb the operation of CPU, so TMS320C33 can operate outside slow storage or external interface and not reduce the handling capacity of CPU.
TMS320C33 also has BOOT (be program load) function, and the program of at a slow speed EPROM is loaded into internal RAM district at a high speed, guarantees that DSP can run at high speed when cooperating with slow storage.
TMS320C33 supports the hybrid programming of compilation and ANSI C, and C language development instrument and C built-in function, assembly routine built-in function are provided.Its emulator man-machine interface is based on the graphical window interface of DOS or WINDOWS, and debugged program has multiple breakpoint and single step service, can consult each source file, header file, built-in function etc. at any time in the debugging.The hardware storehouse of the standardization of C33, seriation, software library are very perfect in addition.
Signal processing module design based on TMS320C33 is seen the 4th joint with realization.
■ communication scheduling administration module
The communication scheduling administration module is the bridge that detects record wave device and host computer server.When breaking down, it is responsible for the failure logging of received signal processing module, then metadata cache in FLASH, be uploaded to host computer by communication interfaces such as Ethernet, CAN bus, 485 buses simultaneously, for expert further fault analysis.In addition, communications processor element also is responsible for transmitting the remote control commands that host computer is assigned.
The core cell of communication scheduling management mainly is to be responsible for a series of businesslike works of treatment, and the ARM microprocessor has remarkable advantages in this respect.This programme is selected the STR710FZ2 of ST Microelectronics for use, and it adopts 16/32 ARM7TDMI RISC as processor cores, and extends to the interior Flash of sheet and the 64K ram in slice of 256+16K byte.It also has the external memory interface (EMI) of 4 memory sections of addressable, supports type of memory such as SRAM, Flash and ROM.Three kinds of different start-up mode are provided, comprise Flash in the sheet, start-up mode such as internal RAM and external memory storage.Outside 0~16MHz crystal oscillator that adopts, during operation code, system running speed can reach the 50MHz clock frequency in inner Flash.The standby crystal oscillator of Wai Bu 32KHz can provide calendar function in addition.
STR710FZ2 has 48 multi-function double-way I/O mouth lines, has 14 can be made as the I/O that wakes up and interrupt importing, and 8 high electric current I/O mouths can receive the electric current of 8mA.Its communication interface resource is very abundant, and 2 I are arranged 2C interface (1 and SPI interface duplex), 4 UART asynchronous serial ports, 2 band buffering synchronous serial interfaces (BSPI), the CAN2.0 interface, USB2.0 is the Device interface at full speed, has to hang up and arousal function.Communication scheduling administration module design based on STR710FZ2 sees the 4th joint for details with realization.
1.2 remote monitoring subsystem
The remote monitoring subsystem is made up of host computer server and Internet client.Host computer and each record ripple node are formed the C/S network structure, realize the double action of failure message transmission and protection and safety feature day-to-day operation monitoring.Realize information sharing by the Internet technology, the failure logging of related personnel on also can access server done further fault analysis.Supervisory system is mainly divided three parts: communication module, user interactive module, recorder data memory module.Communication module is integrated, and CAN bus, Ethernet, three kinds of communication modes of 485 buses are communicated by letter with device nodes, and the user can select wherein one or more according to condition.User interactive module is the user interface of whole fault recording system, and its major function that provides as shown in Figure 3.
Upper computer software is developed under the VC++6.0 platform and is finished.Interface and network service exploitation are respectively by two powerful class libraries----MFC[16] and ACE[17] application framework.MFC (the basic class libraries of Microsoft, Microsoft FoundationClass Library) is the encapsulation of Microsoft to huge standard Win32 api function, the framework of application program under the graphics environment is provided and created the assembly of application program.The hierarchical design of MFC allows user's easy expansion framework as required.The message maps mechanism of MFC makes the developer be easy to finish the processing of window events, system message.But MFC also has shortcoming, and as the network programming aspect, the CSocket class that MFC provides has just been carried out simple package to ICP/IP protocol, is not fine to the support of thread, and the thread programming is necessary in the C/S structure.So the developer prefer other framework or use directly that Windows provides to Socket api interface function, used the ACE framework in the native system.
ADAPTIVE Communication Environment (ACE) be a kind of source code that opens for free, adopt kit Object-Oriented Design, powerful, for network development and system development provide practical class libraries, framework and Design Mode, another main advantage of ACE is a professional platform independence.The use of ACE encapsulates operating system API and network interface liking towards the exploitation of exploitation high-performance and real-time communication service application, is having superiority aspect network development and the system development, such as better thread support is provided.ACE provides abundant interface, by these interfaces can realize easily network event separate with the distribution of event handling, semaphore handles, service initialization, interprocess communication, shared drive management, message route, the dynamic-configuration of Distributed Services, concurrent execution with synchronous.Use ACE than directly using the Sockets api function to save for 50% development time.
MFC and ACE framework are respectively having superiority aspect view and the network development, and very strong complementarity is arranged.In native system, be applied simultaneously.
1.3 to the time subsystem
To the time subsystem utilize the function of the accurate time service that GPS provides, system time is provided and guarantees that system time is synchronous.To the time subsystem core function by to the time module realize its and each record ripple node composition C/S structure.To the time template adopt the microprocessor of 16 bit MC9S12D64 of motorola inc to control, receive the gps time data, be distributed to each record ripple node by the CAN bus controller that carries then.
To the time module adopt the GPS OEM product of GARMIN, have the GPS receiver of 12 passages.It can follow the tracks of nearly 12 gps satellites simultaneously, thereby can locate fast.The GPS receiver power consumption of GARMIN is very little, data updating rate be per second once.In design, these GPS receivers have used up-to-date science and technology and high-caliber circuit integrated technology, are reaching high performance volume and the power consumption of having reduced simultaneously.Wherein whole important components and parts comprise RF/IF receiver hardware and digital baseband part, are all designed and are produced by GARMIN, to guarantee its quality and performance.The GPS receiver OEM plate of GARMIN all is easy to use from hardware and software, is fit to do the system integration.Simple system also will comprise external power source and gps antenna except that GPS.Can realize by the serial port of RS232 or CMOS level with communicating by letter of gps system.Satellite orbit parameter, last time data such as position location, time and date can be kept at static memory in the GPS receiver OEM plate, it is the storer power supply that there is reserve battery receiver inside.
To the time template adopt the microprocessor of 16 bit MC9S12D64 of motorola inc to control, is connected with GARMIN by RS232 and receives the gps time data, be distributed to each by the CAN bus handle time of receiving then and record wave device.In addition to the time module also record wave device and be connected by I/O line and each, send each second one to the time pulse.Fig. 4 be to the time module structured flowchart.
The quality of power supply of the present invention and Power System Faults Detection pen recorder (be called for short detect wave recording device or oscillograph) are systems that has altitude figureization, integrated, real-time and possess networking and communication function.Divide hardware and software (comprising algorithm) two parts that its design is introduced with realization below.
2.1 detect the hardware design and the realization of wave recording device
2.1.1 signal condition modular design and realization
According to user requirements analysis, current signal is nursed one's health, import specified current effective value IN=5A, the range of linearity is power frequency effective value 0.5A-100A, measuring error requires at 5A time≤0.025A.System selects the vertical punching miniature precision of soldier's word TA1420 AC current transformer for use, and mutual inductor ratio is 6000:1, and it has totally-enclosed, machinery and environmental resistance is good, voltage isolation capabilities is strong, advantage such as safe and reliable.Fig. 5 is a current signal modulate circuit schematic diagram.
Voltage signal is nursed one's health, amount of imports phasing voltage effective value UN=57.7V, the range of linearity is power frequency effective value 5.77V-115.4V, measuring error requires same polarity input voltage 60V time≤0.5%.Native system is selected the miniature accurate AC voltage transformer of soldier's word TV1013-1 type for use, and mutual inductor ratio is 1:1.Fig. 6 is a voltage signal modulate circuit schematic diagram.
After to electric current and voltage signal isolation mutual inductance, each road input signal has all passed through the one-level voltage follow, in order to increase input impedance, reduces the external disturbance influence.
The main improvement of making according to 2 of signal condition module, select for use 16 high precision bipolarity analog input AD7656 as the ADC conversion chip at the follow-up signal processing unit on the one hand, so simulating signal need not to pass through the unipolarity adjustment process again before input, and can adopt the general-purpose operation amplifier to replace high precision, low drifting operating amplifier.Be relevant with record ripple criterion algorithm on the other hand, algorithm mainly adopts the Wave data under the time-frequency domain is transformed into the component size that calculates in the frequency domain under the different frequency domains by fft algorithm, realizes failure wave-recording in conjunction with concrete criterion condition again.With last time different based on the FIR filtering algorithm, because adopt the frequecy characteristic of the different frequency range that the FFT methods analyst obtains comprising in the power waveform at data processing unit, so just can save high frequency noise, reduce system cost to a great extent in signal condition unit complicated hardware Butterworth filter design filtering special frequency channel scope.
2.1.2 signal Processing and design of communication scheduling module hardware and realization
The whole thinking of design proposal is mainly in two sub-sections: data processing unit and communications processor element.Data processing unit is to gather in real time with 10K sampling rate (50Hz, one-period sample 200 points) that conversion enters DSP data algorithm unit through ADC, starts record ripple process according to the start-up criterion condition, and data are write dual port RAM.Data processing section also need be finished the steering order operation that host computer is assigned.Communications processor element mainly is responsible for system and outside communication function, with the data storage in the dual port RAM to Flash and be sent in PC main frame or the communication network.Host computer also needs communications processor element to assign to data processing section to the steering order of system in addition.Fig. 7 is the detection wave recording device hardware design block scheme that comprises data processing and communication process two parts main devices.
Design partly uses the STR710 based on the ARM7 kernel to finish in communication process.Data processing section adopts TMS320C33 to realize.Select 16 accuracy A D7656 of two bipolaritys for use in the A/D conversion, CPLD selects for use 3200 XC95144XL to realize required logic control instruction.Below the several key parts circuit is simply introduced.
■ A/D change-over circuit
The A/D conversion chip that is applicable to parameters of electric power monitoring background through investigation mainly contains three kinds of model: MAX125, ADS8364, AD7656.
MAX125: the every passage of high speed 3us switching time, 2 * 4 passages, 14 bit strip synchronized samplings keep analog to digital converter.8 tunnel 4 passage throughputs can reach 250ksps.Analog input scope ± 5V, inner band+2.5V Voltage Reference, supply voltage ± 5V, digital quantity output level 5V.
ADS8364:16 position, high speed 250KHz, the synchronous total differential input of 6 passages.Analog input scope 0~5V, single 5V power supply, inner band+2.5V Voltage Reference.
AD7656:16 position, 2 * 3 passage bipolarity high resistant analog inputs, the high-throughput of passage can be up to 250ksps.Optional bipolarity analog input scope: ± 10V, ± 5V, inside comprises the 2.5V Voltage Reference.Simulation power supply 4.75V~5.25V, digital power supply 4.75V~5.25V, logic voltage 2.7V~5.25V.
From user's demand as can be known, 14 AD transformation results have been difficult to satisfy the requirement of measuring accuracy, and the digital level of MAX125 is that 5V and digital signal processing unit DSP voltage are inconsistent, thus MAX125 we at first get rid of.AD7656 and ADS8364 are all 16 conversion figure place high-speed A/D converters, but AD7656 compares ADS8364 a lot of advantages is arranged, ADS8364 is the unipolarity input, so signal also needed the process through a unipolarity adjustment before input, voltage range is adjusted to 0~5V at the input signal of-2.5 ~ 2.5V.
AD7656 is the analog input of bipolarity high impedance, input range can be set at ± 10V, like this can with signal conditioning circuit output-10V~+ the 10V conditioned signal is directly as the input signal of ADC, input range increases and is twice, the signal to noise ratio (S/N ratio) of signal also doubles.So we select AD7656 as A/D change-over circuit chip.
Analog to digital conversion adopts two AD7656 high-speed sampling chips to gather the electric current and the voltage signal of electric system respectively.AD7656 comprises 6 tunnel 16 high-speed channels, realizes the bipolarity analog input, supports parallel port and Serial Communication at High Speed on MS mode, and the design adopts the parallel port mode that the result is articulated on the DSP data bus for obtaining higher transfer rate.Every AD has only used V1-V3, links to each other with the front end voltage follower circuit, and three road signals are sampled simultaneously.Two AD7656 can obtain the transformation result of two-way simultaneously, are respectively low 16 bytes and high 16 bytes on the bus.
The AD7656 sampling process is that DSP sends the signal of visiting ADC to CPLD, is combined into the logical signal sequential by CPLD again, and control ADC finishes sampling and transfer process.The A/D change-over circuit hardware principle that adopts AD7656 to realize designs as shown in Figure 8.
■ logic control element CPLD
Logic control element selects for use 3200 XC95144XL to realize required logic control instruction.The control signal that CPLD realizes comprises: to the sheet choosing and the read-write of external memory space, software mode is realized the DSP house dog, and the detection of the gating of ADC, startup and switching value variation.The logic control element hardware principle that adopts XC95144XL to realize designs as shown in Figure 9.
The ■ reset circuit
The reset circuit of DSP is by TI power source special chip TPS70351, and it is exclusively used in dual power supply 3.3V, the 1.8V power supply of dsp chip and required RESET signal is provided.The boot sequence of DSP and STR is DSP behind the first STR, should be provided by STR so offer the reset signal of DSP.Utilize STR can enable the enable pin of power supply chip TPS70351, reach the purpose of reliable reset DSP, circuit theory is seen Figure 18 in advance.
■ signal processing unit and communications processor element interface---two-port RAM
The signal processing unit module links to each other with communications processor element by two-port RAM.Two-port RAM adopts the IDT7024 chip of 16 of 4K, and this chip has two groups of independently address wire (12), data line (16), chip select line and read-write enable line, and they link to each other with STR with DSP respectively.It has two interrupt pin in addition, and the external interrupt lines with DSP and STR is connected respectively.Can produce interruption when DSP and STR one side carry out write operation on an interrupt pin, the opposing party must could fall to interrupt clearly by reading this unit, realizes simply, the safely and effectively transmission of data.Adopt IDT7024 to realize that the hardware principle of two unit interfaces designs as shown in figure 10.
■ signal processing unit and communications processor element
Signal processing module is the core of whole fault recording system, requires to have very high real-time and accuracy of detection.It is to sampling through analog quantity and digital quantity after the front-end processing, and according to start-up criterion, whether diagnosis has fault to take place.When breaking down, be responsible for recording the change procedure of pass system electric parameter and the action behavior of relay protection and automatic safety device.For the precision that improves DATA REASONING and the processing capability in real time of system, on hardware, select the TMS320C33 dsp chip of high-speed, high precision for use.The existing characteristic introduction to the TMS320C33 dsp chip in front repeats no more here.Figure 11 is based on the signal processing circuit unit schematic diagram of TMS320C33 dsp chip.
Communications processor element is the bridge of record wave device and host computer server.It is responsible for receiving the monitoring analysis and the failure logging of data processing unit, then metadata cache in FLASH, be uploaded to host computer by communication interfaces such as Ethernet, CAN bus, 485 buses simultaneously.In addition, communications processor element also is responsible for transmitting the remote control commands that host computer is assigned.The core of communication process is to be responsible for a series of businesslike works of treatment, and the ARM microprocessor has remarkable advantages in this respect.Scheme is selected the STR710FZ2 of ST Microelectronics for use, and the existing characteristic introduction to it in front repeats no more here.Figure 12 is based on the communications processor element circuit theory diagrams of STR710FZ2.
■ RS-232C serial communication interface
The STR710 microprocessor has 4 asynchronous serial communication interfaces (UART).Communications processor element is communicated by letter with user interactions by hyper terminal by standard 9 needle serial ports that UART2 is connected to PC.Its main effect is in the system debug process, prints Debugging message.The level conversion of serial ports (driving) chip uses the MAX3232 chip of Maxim company, and its circuit theory as shown in figure 13.
■ RS-485 communication interface
The RS-485 standard is a bus communication standard commonly used in the industry spot, and communications processor element provides RS-485 bus communication mode to communicate by letter with host computer.The UART3 that utilizes STR710 is as the RS-485 interface, and the MAX485 chip that chip for driving is used Maxim company wherein uses the direction control signal of P2.15 general purpose I/O as MAX485.MAX485 is a general-purpose chip, and structure is also fairly simple.Need to prove in order to adapt to the use of industry spot environment, increased denoising, anti-jamming circuit in the difference outlet line.Figure 14 is a RS-485 communication interface circuit schematic diagram.
■ CAN bus communication interface
CAN, full name are " Controller Area Network ", i.e. controller local area network is one of most widely used fieldbus in the world.CAN is a kind of serial communication bus of many master modes, and the message transmission rate up to 1Mbit/s can be provided, and this makes that control becomes very easy in real time.In addition, the mistake of hardware calibrating characteristic has also strengthened the anti-electromagnetic interference capability of CAN.
STR710 CAN module comprises the CAN kernel, deposits the RAM of message, message processor, control register and module interface.The CAN kernel is finished the communication function of CAN2.0A, CAN2.0B regulation, and the highest communication speed of CAN can be passed through programmed settings, reaches as high as 1Mbps.The CAN kernel is connected by special-purpose hardware transceiver with Physical layer, and this programme is selected the 3.3VCAN bus driver SN65HVD230 of TI company for use.For can be at the CAN network communication, each message object all will be configured, and message object and being used for carries out receiving filtration to the message that receives ID mask off code all is kept at message RAM.All are handled relevant function with message and all realize in the message processor.These functions comprise: the message transmissions between the receiving filtration of message, CAN kernel and message RAM, message send the generation of processing of request and module interruption.The register of ST CAN module is mainly used in control and disposes CAN kernel, message processor, visit message RAM.By module interface, CPU can directly visit the register of ST CAN module.
CAN bus driver SN65HVD230 peripheral circuit as shown in figure 15, and is the same with RS-485, also increased denoising, anti-jamming circuit in the circuit.
The ■ ethernet interface
Ethernet controller is not with in STR710 inside, and this programme directly selects for use the mode of the IIM7010A ethernet module of WIZnet company to accelerate development process.The IIM7010A ethernet module is made up of W3100A (hardware TCP/IP chip), ethernet physical layer (RTL8201BL), MAG-JACK (RJ45) and interlock circuit.It has contained TCP/IP MAC protocol layer, Physical layer and ethernet connector RJ45, supports 10/100M IEEE802.3/802.3u, easily access network based on ethernet.Comprise hardware Internet protocol: TCP, IP Ver.4, UDP, ICMP, ARP and hardware Ethernet protocol: DLC, MAC.Support MCU bus parallel interface and I2C interface, because embedded hardware Ethernet protocol, so it is linked to each other with the STR710 data bus IIM7010A is regarded as an external memory unit simply, to its read and write data operation and relevant configuration, and needn't be concerned about the realization of concrete Ethernet protocol.The IIM7010A ethernet module is connected with MCU only needs 56 biserial interfaces, can link to each other with system easily.Figure 16 is the ethernet module interface circuit schematic diagram based on IIM7010A.
2.1.3 system power supply part hardware design and realization
Power supply is the place that need are considered emphatically, and native system comprises two main processing units, so consider also that on power supply giving two parts powers respectively.One is that another is to provide 3.3V for communications processor element for data processing unit need provide 3.3V and 1.8V (for the DSP kernel provides power supply).But also comprise the ADC part in system, the power supply that provides for it just comprises ± 15V reference voltage and simulation 5V, digital 5V and digital 3.3V driving power.
The public analog power filtering of ■
Scheme from external switch power supply introducing+5V, ± 15V and public ground, as public part, to every road power supply all pass through π type rectification circuit as system ± 15V reference voltage, simulation 5V and digital 5V, analog power filtering circuit principle is as shown in figure 17.
■ signal processing unit power supply
For the required 3.3V power supply of system digits part is to be obtained through different power supply chips respectively by digital 5V.The power supply chip of signal processing unit is selected the band Reset signal TPS70351 of TI company for use, its simultaneously as requested timesharing 3.3V is provided different voltages with 1.8V.Figure 18 is chip TPS70351 circuit theory diagrams.
■ communications processor element power supply
The communications processor element power supply chip is selected general 3.3V AIC1117 for use, and circuit theory as shown in figure 19.
2.2 detect the software design and the realization of wave recording device
The software that detects wave recording device can be divided into signal Processing and two parts of communication scheduling processing, the former design mainly is the design and the programming realization thereof of detection, analysis and the Processing Algorithm of a large amount of unlike signals with realization, and the latter then is a large amount of different communication processing programs.
2.2.1 signal processing module software function
Signal processing module software mainly is based on the software design of TMS320C33 DSP.This module major function can be divided into input and failure wave-recording function, two aspects of remote monitoring command process function, specifically comprises following aspect.
The ■ dynamic electrical parameter is measured
Dynamic electrical parameter is according to the difference of electric substation and difference.
220kV electric substation:
Analog quantity has 3 phase currents and the zero-sequence current of every 220kV circuit, bus-tie circuit breaker and every transformer 220kV side; 3 phase-to-ground voltages of two groups of 220kV bus-bar potential transformers and residual voltage (residual voltage can innerly generate).Switching value has the relay protection tripping operation of every 220kV isolating switch of operation (to protect total tripping operation to export not phase-splitting to each cover of shared phase selection element; composite auto-reclosing outlet phase-splitting; tripping operation does not overlap and exports not phase-splitting) order; the communication port signal of pilot protection; automatic safety device operational order (containing the reclosing order), the dumb contact input.
500kV electric substation:
The analog quantity that analog quantity has the 500kV side to write down is 4 magnitudes of current of every circuit of 500kV and 4 magnitudes of current of 4 line voltage distribution amounts and every main-transformer.Switching value has relay protection trip signal (every cover protection tripping operation outlet phase-splitting of every 500kV isolating switch of operation; tripping operation does not overlap and exports not phase-splitting); pilot protection communication port signal and automatic safety device operational order (containing the reclosing order), the dumb contact input.
■ fault dividing time-steps
According to the regulation of " 220~500KV electric power system fault dynamically recording technical criteria ", fault simulation amount data should be made up of 5 periods (as shown in figure 22) data by the period.
The A period: the status data before the big disturbance of system begins, output raw readings waveform and effective value, writing time 〉=0.04s.
The B period: the status data at initial stage after the big disturbance of system, can directly export the raw readings waveform, can be observed 5 subharmonic, the while is the power frequency effective value and the DC component value of exportable each cycle also, writing time 〉=0.1s.
The C period: the status data in mid-term after the big disturbance of system, export continuous power frequency effective value, writing time 〉=1.0s.
The D period: system dynamic course data, power frequency effective value of every 0.1s output, writing time 〉=20s.
The E period: the dynamic data of system's growth process, power frequency effective value of every 1s output, writing time〉10min.
Technical criteria also requires the time tag of output data, and to catastrophic events such as short troubles, with system failure zero hour, for example short circuit zero hour is time zero coordinate of this time incident, and error is not more than 1ms; The standard time of incident is given by scheduler module.Because DSP do not have clocking capability, will be in scheduler module software design chapters and sections to the time device drives trifle see timing how.In addition, also should note relevant informations such as the fault type and the position of fault.Fault type is exactly the reason that breaks down.For analog quantity, fault type is exactly the start-up criterion that triggers failure wave-recording, and is out-of-limit as voltage.For switching value, fault type is exactly the type of beginning amount, as relay protection etc.In addition, scheduler module is preserved the relevant identifying information of some faults, as electric substation's information, record wave device (IP address, CAN bus ID number), road information (curtage) etc.After supervisory system receives these data, must consider compatibility, so native system adopts the COMTRADE standard of IEEE to generate record ripple file to exchanges data between other wave recording device.
The ■ start-up criterion
When breaking down, whether system will have fault to take place according to diagnosis with certain, promptly starts and declares play.According to the regulation of " 220~500KV electric power system fault dynamically recording technical criteria ", the failure wave-recording Starting mode should be versatile and flexible, should be able to satisfy following requirement at least:
The electrical network parameter that can set changes and starts, and comprises the reflection amplitude, the out-of-limit startup of rate of change and frequency.
By user-defined external trigger startup, comprise the action outlet contact of protection and safety feature, the auxiliary contact of switch etc., switch is jumped steathily and the fault-free trip of any system to write down and to analyze.
Rising edge and negative edge with switching value are done the startup amount.
Can be manually or external command (as master supervisory system) start.
Information record width before expand starting (can by User Defined).
From top requirement as can be seen; Starting mode mainly is divided into the failure wave-recording of analog quantity and switching value generation; the switching value fault diagnosis detects the state variation of switching values such as relay protection, and whether the analog quantity fault diagnosis need have fault to take place according to the start-up criterion diagnosis.
The ■ failure wave-recording
Failure wave-recording is the core work of total system, and in order to improve the accuracy of fault detect, the native system sample frequency is very high, all will carry out fault diagnosis each time after the sampling and handle, so its operational efficiency and reliability determine the performance of whole fault recording system.
Analog quantity and switch acquisition
The timer that uses DSP inside to carry is controlled the collection of analog quantity, about regulation in the sampling rate " 220~500kV electric power system fault dynamically recording technical criteria ", the high-speed sampling speed of the transient state process during the reflection fault should not be lower than 10KHz, length should not be less than 1s, the resolution of switching value is not less than 1ms, so it is 10KHz that native system is provided with sampling rate, can satisfy above-mentioned requirements.The counter register that timer is set guarantees that sampling rate is 10KHZ.In Interrupt Process, carry out analog acquisition.Two AD sample simultaneously, gather 8 tunnel 16 analog datas each time.Switching value sampling is by CPLD control, when CPLD detects switching value when low, can send out an interruption to DSP, and reporting system breaks down.After switching value was deciphered by CPLD, DSP can directly read its state, can support 8 way switch amounts at most.
Fault diagnosis and record
After the electric parameter collection is finished, carry out fault diagnosis according to start-up criterion.When certain start-up criterion satisfies condition or the state that detects certain switching value changes, will start failure wave-recording, generate record data.The front had been introduced failure logging and had been divided into the ABCDE section, so whole failure process also is divided into 5 stages, and the processing difference in each stage.
The AB segment fault is handled: national Specification, when fault took place, the record wave device should be able to directly be exported the fault electric parameter of the minute quantity that helps accident treatment.These data are untreated electric parameters, and the time is short, and data volume is big, and requiring has higher real-time, and it has comprised the main information of analyzing failure cause, must guarantee its integrality, availability.A, B segment record time respectively are 0.1s, and the A section is before fault takes place, and the B section is after fault takes place.Preserve the electric parameter of gathering with a cyclic buffer in the native system.Buffer length is according to the decision of the way of analog quantity, can do dynamic adjustment according to these parameters.It should be able to write down 0.2 second electric parameter at least, can preserve A, the B segment data writes down so that send to scheduler module if having time.Take out electric parameter from buffer zone then and carry out fault diagnosis.When breaking down, system's meeting record trouble origination point (being the pointer in the buffer queue) and fault type (satisfy which start-up criterion or detect certain switching value state variation) have defined a data structure and have preserved these information in the system.
The CDE segment fault is handled: fault handling has entered the middle and later periods, and failure logging is the effective value of electric parameter, and writing time is long, data volume is little, do not require very high real-time.When fault is in the CDE section, same sampled data also can be saved in earlier in the cyclic buffer, carry out secondary failure diagnosis (following can the introduction), if secondary failure does not take place, carry out the calculating of effective value, system carries out the calculating of an effective value every one-period, phase can be carried out 200 samplings weekly, so by the software timer timing, calculate an effective value when timer arrives the upper limit 200, the timer zero clearing restarts timing then.
In addition, also to consider repeatedly fault handling, promptly in a failure process, break down again.Fault oscillograph should be able to be discerned single failure and fault repeatedly.Be difficult to distinguish them in some cases, can not think and when having satisfied a plurality of start-up criterion repeatedly fault just take place, when primary fault, multiple startup may occur and declare play and satisfy simultaneously, out-of-limit and relay protection starts etc. simultaneously as voltage, and this is a single failure.System can not be simply to discern repeatedly fault start-up time, same sometimes fault, start-up criterion judge that the time of fault may be different, some startup is declared the drama body and is lagged behind, as sudden change amount start-up criterion etc.In order to address this problem, be provided with a time threshold in the native system, 0.2s after fault takes place, promptly the CDE section breaks down and is the fault second time.When secondary failure takes place when, fault handling with introduce above identical, preceding primary fault end, it has comprised complete AB segment record information.
The ■ record is uploaded
Recorder data does not directly send the communication scheduling module in sampling processing.When breaking down, fault has taken place fault handling meeting notifying communication scheduler module prepares to accept recorder data.Scheduler module sends recorder data by two-port RAM notice DSP then.Two-port RAM can trigger the external interrupt of DSP, and DMA is unlocked in Interrupt Process.DMA copies the AB section the two-port RAM to from the buffering formation earlier, the CDE segment data in the record ripple record is copied in the two-port RAM again, sends to scheduler module, finally uploads to host computer.To pack the maximum 3K of packet according to the Data Transport Protocol (will in CAN bus driver design trifle, introduce) of two-port RAM during transmission.DMA can produce interruption to data-moving behind two-port RAM, in Interrupt Process, data are taken out in notifying communication scheduling (STR710FZ2).Both sides use Handshake Protocol during communication, and scheduler module can be given response of DSP after taking out data, and in DSPINT interrupted, DSP had judged whether that recorder data will send, and will restart DMA transmission data if having, and are sent completely up to data.
The ■ remote control command is handled
Dsp software should receive and handle the monitor command of host computer.These orders are by the communication scheduling module forwards, send DSP to through two-port RAM.Analyzing and processing is carried out in order in the total outside Interrupt Process function of DSP.Main order has: force start record ripple, parameter are provided with order, real-time waveform display command.
The order of force start record ripple:
Electric system is not broken down, and the user can force start record ripple, and record ripple processing procedure is the same with the failure wave-recording of introducing above, and fault type is made as force start.
Parameter is provided with order:
Setting to some systematic parameters.Main parameter has: the length of the out-of-limit parameter of voltage, frequency out-of-limit parameter, AD sample frequency, each segment record of recorder data etc.These parameters all are that whole record wave device is passed down by two-port RAM by scheduler module when resetting, and DSP is saved in it in global variable then.Can change these parameters dynamically during system works, when the record ripple took place, the parameter of setting can work behind the record ripple.
The real-time waveform display command:
The host computer user can directly check the real-time waveform data of current power system.The processing procedure of real-time waveform data is similar to AB section record wave process, after having started the real-time waveform function, DSP can be placed on the data of gathering in the buffer zone, is uploaded to STR710FZ2 by dma controller, has only used different transport-types when communicating by letter with dual-port.
2.2.2 signal processing module software design and realization
The ■ command processing function
The order of being transmitted DSP by ARM STR710FZ2 can be divided into four classes: systematic parameter is set, is manually recorded ripple, system debug and System self-test, as shown in figure 24.
The systematic parameter setting command is the main order of system when powering on, it is to be handed down to all kinds of parameter settings of specifying the record wave device by the host computer server end, comprise U and I sudden change amount threshold value, A, B, C and D segment record waveform length, the positive and negative zero sequence setting value of U and I, 24 way switch amount setting values and frequency limits etc.Manually the order of record ripple is that host computer can directly be controlled wave recording device and enters the wavy attitude of record, starts the current waveform of record by standard.Directly issue the analog waveform data by host computer when the system debug order is mainly used in system debug, can throw off the analog waveform situation that actual environment provides setting like this, help the checking and the debugging of start-up criterion algorithm like this.System self-test be system when powering on dsp system can detect the related peripheral circuit condition automatically, and self-detection result is sent to host computer.
■ record ripple is handled function
Occur unusually at current power system waveform, when the data that collect satisfied startup record ripple condition through algorithm, DSP entered record ripple processing function, as shown in figure 25.
All will check ARM whether will go up once the data read that DSP writes DPRAM before DPRAM writes new data at DSP finishes at every turn, method is the data that read in the 0xffd address of DPRAM, as be that 1 expression ARM reads and finishes data, DSP is with this address contents clear 0.If 0 is continued wait and finishes data read up to ARM.After data write and finish, be to DPRAM0xffe address write command sign indicating number, notice ARM STR710FZ2 is from the DPRAM reading of data.
2.2.3 design of communication scheduling module software and realization
The communication scheduling module is to detect the bridge of record wave device and host computer server.When breaking down, it is responsible for the failure logging of received signal processing module, then metadata cache in FLASH, be uploaded to host computer by communication interfaces such as Ethernet, CAN bus, 485 buses simultaneously, for expert further fault analysis.In addition, communications processor element also is responsible for transmitting the remote control commands that host computer is assigned.
■ receives the host computer PC command processing function
Communication scheduling system will unpack from the Frame that the CAN bus interface is received, takes out the data that host computer issues.System debug and parameter setting data for host computer issues calculate the address that writes data to DPRAM.Figure 27 is a PC command processing function basic procedure.
The DPRAM address of parameter setting data=parameter type command code * 4, the end address is start address+4.DPRAM address=the 0xc00 of system debug data, the end address is 0xe00.
At every turn the data read that all will check DSP whether last ARM to be write before DPRAM writes new data is intact, and method is the data that read in the DPRAM0xffc address, as is that 1 expression DSP reads and finishes data, and ARM is with this address contents clear 0; Be that 0 continuation wait is finished data read up to DSP.After data write and finish, be to the 0xfff address write command sign indicating number of DPRAM, DSP is from the DPRAM reading of data for notice.
■ receives DSP Interrupt Process function
ARM response DSP send in have no progeny, carry out receiving DSP Interrupt Process function, enter DPRAM data read flow process, as shown in figure 28.
At first ARM carries out read operation to the DPRAM0xfff address, so that the DPRAM that resets interrupts, also reads the data type that DSP sends simultaneously.Send different data types according to DSP data are carried out different operations.Concerning original waveform data, only data forwarding need be got final product to host computer; But, except transmitting, also need to note to the fault waveform data.If receive fault calibration order, then need to read the time at that time, upload to host computer.All will read the data length that this receives data from the 0xffd address of DPRAM before each reading of data, the 0x000 address from DPRAM begins reading of data then.
Electric parameter detects and the failure wave-recording Processing Algorithm
3.1 design based on the efficient Processing Algorithm of FFT
Based on FFT detect with the failure wave-recording Processing Algorithm be by fast fourier transform algorithm is carried out certain improvement, and in conjunction with the frequency measurement algorithm, sudden change amount start-up criterion algorithm, voltage, the out-of-limit scheduling algorithm of electric current are to obtain required parameter of failure wave-recording and performance index.
3.1.1 fundamental frequency steady-state component algorithm
What fundamental frequency steady-state component algorithm was relatively more commonly used at present is Fourier Transform Algorithm complete cycle, this algorithm is that the subsequence of list entries (or output sequence) on time domain (or frequency domain) extracted by even number and odd number, DFT computing for the long sequence of any one N=2M point, can adopt M decomposition, resolve into the combination of 2 DFT computing at last, thereby reduced operand.
If include fundamental component, integral frequency harmonizing wave component and DC component among the input signal U (t), promptly
U ( t ) = U 0 + Σ n = 1 ∞ [ U Rn cos ( n ω 0 t ) - U In sin ( n ω 0 t ) ] - - - ( 1 )
In the formula: U 0Be DC component, ω 0Be the fundamental frequency angular frequency, U RnBe the real part of input signal nth harmonic, U InBe the imaginary part of input signal r subharmonic, n represents overtone order.The mould a of input signal nth harmonic so nAnd argument For:
a n = U Rn 2 + U In 2 With
Figure C200710012150D00173
Be respectively the amplitude and the initial phase angle of nth harmonic component.
U (t) can obtain after fast fourier transform:
U Rn = 2 N Σ k = 0 N - 1 U ( k ) cos nk 2 π N - - - ( 3 a )
U In = 2 N Σ k = 0 N - 1 U ( k ) sin nk 2 π N - - - ( 3 b )
Wherein, N is the sampling number in every fundamental frequency cycles, and U (k) is a signal sampling value, and n is an overtone order.N is got 1, the real part and the imaginary part of the fundamental component that then can try to achieve in the input signal to be comprised
U Rn = 2 N Σ k = 0 N - 1 U ( k ) cos k 2 π N - - - ( 4 a )
U In = 2 N Σ k = 0 N - 1 U ( k ) sin k 2 π N - - - ( 4 b )
And then can try to achieve the amplitude and the phase angle of fundamental component by formula (2).
Complete cycle, the major advantage of fourier transform algorithm was when only comprising Constant Direct Current component and integral frequency harmonizing wave component in the input signal except that fundamental component, the computational accuracy height, and to other fractional harmonics, algorithm also has good inhibition effect.But the calculated amount of this algorithm is relatively large, and consuming time many, time performance is relatively poor.For the quality of power supply and electric power system fault dynamically recording device, generally connect tens of roads analog quantity input signal, and require to adopt higher sample frequency, with complete, reflect the variation characteristics of each electrical equipment amount of fault transient process all sidedly.Thereby this programme adopts the improvement algorithm-iteration Fu Shi algorithm of fourier transform algorithm complete cycle, has simplified calculating greatly, saves time.
3.1.2 iteration Fu Shi algorithm
At first, after a Fast Fourier Transform (FFT), obtain the imaginary part and the real part of each phase voltage, electric current.Its n is got 1, then can obtain the imaginary part and the real part of the fundamental component that input signal comprises.If the sample sequence of first data window is { U (k) }, k=0,2 ... .N-1; The sample sequence of second data window is { U (k) }, k=1, and 2 ... .N; Relatively two data windows find that data window two is actually by data window one and removes a U (0), have increased a U (N) and have formed.Through following calculating:
F ( k ) = Σ n = 0 N - 1 f ( n ) e - j 2 π N nk - - - ( 5 )
Can obtain the k subharmonic composition in the signal behind the FFT.K is an overtone order in the formula (5), and n is sampled point (from 0 to N-1), and f (n) is the A/D sampled signal, and F (k) is the coefficient of k order harmonic components.
Be calculated as example with fundamental frequency, first data window gained fundamental component behind FFT is:
F ( 1 ) = Σ n = 0 N - 1 f ( n ) e - j 2 π N n = f ( 0 ) + Σ n = 1 N - 1 f ( n ) e - j 2 π N n - - - ( 6 )
F (0) is first sampled point of first data window.
Move after the window, second data window gained fundamental component behind FFT is
F ′ ( 1 ) = Σ n = 0 N - 1 f ( n ) e - j 2 π N ( n - 1 ) = Σ n = 1 N - 1 f ( n ) e - j 2 π N ( n - 1 ) + f ( N ) e j 2 π N - - - ( 7 )
F (N) is the last point of second data window, and is just more initiate.
By formula (6) and (7) more as can be known
F ′ ( 1 ) = ( F ( 1 ) - f ( 0 ) + f ( N ) ) e j 2 π N - - - ( 8 )
In like manner, have for the k subharmonic
F ′ ( k ) = ( F ( k ) - f ( 0 ) + f ( N ) ) e j 2 π N k - - - ( 9 )
So we have just found the relation of former and later two each harmonic componentss of window of iteration fourier-transform, just can obtain the harmonic components of other windows under the known condition of some window harmonic componentss.
The advantage of this algorithm is calculated amount relatively large, under the strong situation of time performance, can simplify calculating greatly, saves time.
3.1.3 frequency measurement algorithm
According to the application aims difference, can adopt different frequency measurement algorithms.Utilize the time interval of waveform voltage signal zero crossing to carry out frequency measurement [5]It is a kind of frequency measurement method relatively more commonly used.The advantage of this algorithm is that calculated amount is little, is convenient to real-time calculating, but exists not enough too.At first be in fault transient process, signal waveform is owing to be subjected to the influence of various aperiodic components and harmonic component, can distort, cause zero crossing to be offset constantly, it is bigger to make that the frequency measurement result exists, secondly, zero crossing accurate location constantly is difficulty relatively, for improving frequency-measurement accuracy, usually adopt other indemnifying measures, be unfavorable for the quick tracking of frequency.This paper utilizes the fast throughput of DSP and the voltage vector of iteration Fu Shi algorithm computation gained to obtain a kind of easy quick and higher frequency measurement algorithm of precision.
The system rated frequency of setting up departments is f 0, system's actual frequency is f, df is the actual frequency variable quantity, Be signal initial phase, f=f 0+ df, then the transient expression formula of signal can be expressed as:
Figure C200710012150D00192
U wherein LInstantaneous value for signal.
Order
Figure C200710012150D00193
Then θ (t) is the signal phase angle, has
u L=Ucos[2πf 0t+θ(t)](11)
If N point of phase sampling weekly, initially sample frequency is Nf 0, sampling time interval Δ t=1/Nf 0Write (11) formula as discrete form, then k sample voltage value is
u t = U cos [ 2 π kf 0 Nf 0 + θ ( t ) ] = U cos [ 2 π k N + θ ( t ) ] - - - ( 12 )
Its Fourier transform results is determined by (4a), (4b) formula.
Be not offset as system frequency, each sampling interval of iteration Fu Shi algorithm is calculated the gained phasor and keep motionless in complex plane.But when system frequency generation offset d f, phasor will the speed with 2 π df be rotated in complex plane.When system's actual frequency greater than the rated frequency f of system 0The time, along being rotated counterclockwise; When system's actual frequency less than the rated frequency f of system 0The time, along turning clockwise.Therefore, can obtain the real-time measurement result of frequency by the variation of measuring phasor argument.Measuring principle is by formula (13), (14), (15) decision.
Figure C200710012150D00195
dθ ( t ) dt = 2 πdf - - - ( 14 )
df = 1 2 π dθ ( t ) dt = 1 2 π θ m + N ( t ) - θ m ( t ) NΔt = 1 2 π θ m + N ( t ) - θ m ( t ) T 0 - - - ( 15 )
θ wherein M+N(t) be the phase angle of current period, θ m(t) be the phase angle in last cycle, T 0Be the time interval between the sampled point, then systematic survey frequency f=f 0+ df.
3.1.4 sudden change quantity algorithm
The sudden change amount is calculated and is mainly used in the various mutation failure that may occur in the detection system, and the sudden change value adopts " cycle-cycle "
ΔI a=||i aK-i aK-N|-|i aK-N-i aK-2N||
Comparison algorithm.With the electric current is example, and sampling number is N, and k some i flowed in power taking k, its last cycle corresponding point are i K-N, its last fortnight phase corresponding point are i K-2N
According to " 220~500kV electric power system fault dynamically recording technical criteria ", must at first import the waveform amount of the sudden change computing in 3 cycles.Under system's normal operation, input signal is the fundamental frequency cycles signal, in case break down, input signal sharply changes, and the sudden change value significantly increases, and can be judged by following formula.
The criterion standard: each difference of phase currents Δ I φ 〉=± 5%IN, exceed and declare acute standard and promptly start failure wave-recording.
3.1.5 positive and negative, zero sequence starting algorithm
Utilize the fundamental component value of iteration FFT,, obtain positive-sequence component, negative sequence component and zero-sequence component in conjunction with following formula.Preface component formula is:
F * a ( 1 ) F * a ( 2 ) F * a ( 0 ) = 1 3 1 a a 2 1 a 2 a 1 1 1 F * a F * b F * c - - - ( 16 )
In the formula
a = e j 2 π 3 = - 1 2 + j 3 2 : a 2 = e j 4 π 3 = - 1 2 - j 3 2 - - - ( 17 )
F aF bF cBe respectively the A phase B phase C phase voltage or the electric current of signal.
Then positive-sequence component is: U . a ( 1 ) = U Rna ( 1 ) + j U Ina ( 1 ) , U wherein Rna (1), U Ina (1)Be respectively the real part and the imaginary part of positive-sequence component.
Negative phase-sequence, zero sequence computing method and positive sequence are similar.By the real part and the imaginary part of each phase voltage that obtains, current vector, utilize following formula can directly calculate each preface component.
Declare acute standard: voltage is out-of-limit: 110%U N≤ U 1≤ 90%U NU 2〉=3%U NU 0〉=2%U N, the same voltage of electric current.
Advantage of the present invention
The design can carry out work under the multiple network environment, and adopted based on GPS to the time WAMS (WideArea Measurement System, WAMS).Each record marble device distribution of the design system is connected with monitoring master station by network on the each point of electric system, each subsystem all by GPS to the time reach time synchronized (referring to Fig. 1) completely.Record marble equipment carries out real-time calculation and analysis to electric system, and when power failure took place, record marble equipment to calibrating fault-time and the fault data that writes down being uploaded to monitoring master station by network, carried out detail analysis again by monitoring master station and calculates at once.
1) detects " digitizing " of recording wave device
The design uses digital signal processing (digital signal processing) technology, along with its constantly development and perfect, becomes one of tool development potentiality technology of 21 century.Digital Signal Processing now had flexibly, accurately, reliable, antijamming capability is strong, equipment size is little, cost is low, speed is fast and easy outstanding advantage such as integrated on a large scale, these analog signal processing technology and equipment that all are existing equipment used are incomparable.
The dsp chip of present TI company is used commonplace at home, and its 6000 series DSP chip performance is very outstanding, is used in the vision signal processing more, and not only cost is too high to design electrical power system malfunction detection wave recording equipment with it, and the design more complicated.
Therefore the present invention uses the TMS320VC33 processor that TI company releases, and this chip has adopted improved Harvard structure, has improved the speed and the flexibility of programming of equipment operation.
Aspect computing power,, make and utilize DSP to carry out handling at a high speed, in real time to possess pacing items up to the floating-point operation processing speed of per second 150,000,000 times.
Aspect precision, the VC33DSP chip that the design uses uses 32 word lengths, and extended precision can reach 40, and has the floating-point operation function, the positive negative of minimax that can represent is identical with the precision of microcomputer, and rig-site utilization is particularly important cheaply to doing the precision small size for this.
The stability aspect, the design adopts the full digital processing mode, is not vulnerable to noise, electromagnetism, the influence of external environment factors such as temperature, and have watchdog function, feasible system is long-term, reliability service, and the correctness of calculating and signal processing results is not influenced by extraneous factor.
These advantages make the present invention be far superior to existing simulation electric energy quality detection apparatus aspect digitizing just.
2) detect " networking " of recording wave device
Undoubtedly, along with the continuous increase of network function, bring significant impact will inevitably for traditional Power Quality Detection equipment.The present invention has very abundant networked function.The transmission of support Ethernet, CAN (Controller Area Network) Network Transmission, RS-232, RS-485 transmission.
In the networked application facet of Power Quality Detection, the present invention has replaced the separate unit instrument that uses in the past, can read measured value by network; And can replace independently data acquisition equipment by distributed data acquisition system, and cross over Ethernet or other networks, implement real time remote analysis to measure and record ripple.The present invention has discharged the potentiality of system, has changed the situation of measuring in the past, has broken the traditional mode that carries out data acquisition, analysis and demonstration in same place.Utilization the present invention, people fully can be by Internet and network technology control instrument equipment effectively, and carry out collection, analysis and the demonstration of data anywhere.
3) detect " intellectuality " of recording wave device
The opertaing device intellectuality is a switching devices requirement in modern society's production and the life, also is the product that modern science and technology combine with conventional art.Here the intelligent implication of being said is meant Power Quality Detection equipment by to the real-time detection of electrical network, and the relevant device that can make control and improve the quality of power supply adapts to the actual needs of electrical network and environment automatically, is in optimal operational condition all the time.
Operating frequency tracking technique of the present invention is adjusted sampling rate in real time, to adapt to the real-time change of electric system waveform.Effectively reduced by wave form distortion, the error of calculation that the frequency drift is produced provides effective assurance for the computational accuracy of total system.
The present invention works under network environment, therefore consider the instability of network, the present invention also has the breakpoint transmission function, promptly runs into network failure in data transfer procedure, the record wave device then saves the data in the memory device that carries, and continues to upload data after network recovery is normal.The problem of loss of data can not take place to cause because of network failure.Guaranteed that the electric power system fault data upload gets promptness and security.
4) detect " integrated " of recording wave device
The present invention adopts the DSP+ARM bi-processor architecture, with DSP and ARM modular design on same circuit board, signal processing module and communication control module are separated, signal processing module is the center with DSP, Communications Processor Module is the center with the ARM chip, and the analytical calculation of uploading the operation of data and signal like this is separate, does not influence each other between the two, not mutual holding time can utilize the abundant interface of ARM that the multiple network transfer function is provided again.Real-time, stability and the networked requirement of equipment have been guaranteed.Bi-processor architecture has also increased the integrated level of equipment when having strengthened design complexity.
Description of drawings
Fig. 1 quality of power supply and Power System Faults Detection network system
The detection wave recording device block scheme of Fig. 2 signal Processing (DSP) and communication scheduling management (CCM) bi-processor architecture
Fig. 3 remote monitoring subsystem host computer user interactive module major function
Fig. 4 to the time module structured flowchart
Fig. 5 current signal modulate circuit schematic diagram
Fig. 6 voltage signal modulate circuit schematic diagram
Fig. 7 detects wave recording device hardware design block scheme
Fig. 8 is based on the A/D change-over circuit hardware elementary diagram of AD7656
Fig. 9 is based on the logic control element CPLD hardware elementary diagram of XC95144XL
Figure 10 dual port RAM IDT7024 interface is realized hardware circuit principle figure
Figure 11 is based on the signal processing circuit unit schematic diagram of TMS320C33 dsp chip
Figure 12 is based on the communications processor element circuit theory diagrams of STR710FZ2
Figure 13 RS-232C serial communication interface circuit schematic diagram
Figure 14 RS-485 communication interface circuit schematic diagram
Figure 15 CAN peripheral driver interface circuit schematic diagram
Figure 16 ethernet module interface circuit schematic diagram
Figure 17 system simulation electric source filter circuit schematic diagram
Figure 18 TPS70351 power supply chip circuit catenation principle figure
Figure 19 AIC1117 power supply chip circuit catenation principle figure
Signal conveying flow figure in Figure 20 process fault detection
Two master datas between Figure 21 signal Processing, communication scheduling and host computer flow to
5 periods of Figure 22 analog quantity fault data recorder
The software configuration process flow diagram of Figure 23 dsp system
Figure 24 is transmitted the four class orders of DSP by ARM STR710FZ2
Figure 25 records ripple and handles function
Figure 26 is based on the software configuration process flow diagram of STR710FZ2 ARM system
Figure 27 PC command processing function basic procedure
Figure 28 receives DSP Interrupt Process function flow process
Embodiment
As shown in Figure 1, system of the present invention comprise the record marble system that detects, remote monitoring subsystem, to the time subsystem.
Detect the wave recording device hardware components and comprise signal condition module, signal processing module and communication scheduling module and system power supply part, as shown in Figure 7.
The signal condition module selects for use 16 high precision bipolarity analog input AD7656 as the ADC conversion chip at the follow-up signal processing unit; Record ripple criterion algorithm mainly adopts the Wave data under the time-frequency domain is transformed into the component size that calculates in the frequency domain under the different frequency domains by fft algorithm, realizes failure wave-recording in conjunction with concrete criterion condition again, as Fig. 5 .6.
Signal processing module is selected the dsp chip of high-speed, high precision for use, and DSP selects the floating point processor TMS320C33 chip of TI company for use, as shown in figure 11.Design partly uses the STR710 based on the ARM7 kernel to finish in communication process, selects the STR710FZ2 of ST Microelectronics for use, as shown in figure 12.Select 16 accuracy A D7656 of two bipolaritys for use in the A/D conversion, CPLD selects for use 3200 XC95144XL to realize required logic control instruction.The reset circuit of DSP is by TI power source special chip TPS70351, shown in Fig. 8 .9.
The signal processing unit module links to each other with communications processor element by two-port RAM, and two-port RAM adopts the IDT7024 chip of 4K16 position, as shown in figure 10.
The level conversion of RS-232C serial communication interface (driving) chip uses the MAX3232 chip of Maxim company; The chip for driving of RS-485 communication interface is used the MAX485 chip of Maxim company; The driver of CAN bus communication interface is selected the SN65HVD230 of TI company for use; Ethernet interface is selected the IIM7010A module of WIZnet company for use, and the IIM7010A ethernet module is selected the W3100A chip for use.Shown in Figure 13 .14.15.16.
The power supply chip of signal processing unit is selected the band Reset signal TPS70351 chip of TI company for use, and the communications processor element power supply chip is selected general 3.3VAIC1117 for use, shown in Figure 18 .19.
The connection of hardware unit each several part:
Detect wave recording device hardware design block scheme and see Fig. 7:
Voltage signal after input1 to the input4 pin of signal conditioning circuit will be nursed one's health is connected respectively to the voltage signal input of input1 to the input4 pin of first AD7656 chip as A/D conversion road.Current signal after input5 to the input8 pin of signal conditioning circuit will be nursed one's health is connected respectively to the current signal input (with reference to figure 5,6,8) of input5 to the input8 pin of another sheet AD7656 chip as A/D conversion road.
DSP D0 to the DSP D31 pin of two AD7656 is connected to 32 data line pins (with reference to figure 8,11) of DSP D0 to the DSP D31 of TMS320VC33 dsp chip.
The control function that CPLD realizes, its CPLD to ADC_RST, CPLD to ADC_CONVST, CPLD toADC_CS, CPLD to ADC_RD, CLPLD to ADC_WR, ADC to DSP_INT, ADC TCLK0, ADC1 toCPLD BUSY, ADC2 to CPLD BUSY, these nine control pins are connected respectively to the corresponding pin of two AD7656, and A/D is controlled.AD0 to the AD31 pin of CPLD is connected on the corresponding pin on the switching value chip, detector switch amount state.DSP A11 to the DSP A14 pin of CPLD connects DSP A11 to the DSP A14 address pins of dsp chip, accepts the address information from DSP.The DSP nPG0 of CPLD, DSP nPG1, DSP nPG3, DSP STRB pin connects the corresponding pin of dsp chip, receives page or leaf gating signal and exterior storage gating signal.The CPLD to DPRAM nCE of CPLD, CPLD to DPRAM nOE, the corresponding pin with two-port RAM of CPLD to DPRAM R/nW links to each other, for the two-port RAM chip provides control information.(with reference to figure 8,9,11)
Two-port RAM chip id T7024 is as the bridge of transmission information between DSP and the ARM, its DSP D0 to DSP D15 data pins connects DSP D0 to the DSP D15 pin of dsp chip data line, with the dsp chip swap data, its DSP A0 to DSP A11 address pins connects address wire DSP A0 to the DSP A11 pin of dsp chip, accepts the address information from dsp chip.STR D0 to the STR D15 data pins of dual port RAM connects STR D0 to the STR D15 pin of ARM chip data line, with ARM chip swap data.STR A0 to STR A11 address pins connects STRA0 to the STRA11 address wire pin of ARM chip, accepts the address information from ARM.The DPRAM to DSP nBUSY of dual port RAM, STR to DSP INT and DPRAM to STR nBUSY, DSP to STR INT pin is connected on the corresponding pin of DSP and ARM chip, and coming provides interruption and status information to DSP and ARM chip.(with reference to Figure 10,11,12)
DSP adopts the TMS320VC33 chip, its DSP to CPLD CLK, and DSP to CPLD reset pin links to each other with the corresponding pin of CPLD chip, and clock information and reset operation are provided.Its DSP D0 to DSP D15 data pins links to each other with the dual port RAM corresponding interface, and with DPRAM chip swap data, address wire DSP A0 to the DSP A11 pin that its DSP A0 to DSP A11 address pins connects the DPRAM chip carries out addressing to DPRAM.(with reference to Figure 11,10,9)
ARM adopts the STR710FZ2 chip, its RS232_TX, and the RS232_RX pin links to each other with the corresponding pin of RS-232C serial communication interface chip, controls 232 interface communications.Its RS485_TX, RS485_RX, the RS485 pin is connected with the corresponding pin of RS-485 communication interface chip, control RS-485 interface communication.Its CAN_TX, the CAN_RX pin is connected with the corresponding pin of CAN bus communication interface, control CAN interface communication.The ETHNET_nINT of ARM chip, ETHNET_nWR, ETHNET_nRD, ETHNET_nCS, ETHNET_RESET, the ETHNET_nRESET pin links to each other with the corresponding pin of ethernet module chip, the control ethernet module.STRA0 to STRA14 address wire links to each other with ethernet module corresponding address spool pin, and STR D0 to STR D7 data line pin links to each other with ethernet module respective data lines pin, utilizes ethernet module to communicate.STR D0 to the STR D15 data pins of ARM chip connects STR D0 to the STR D15 pin of DPRAM chip data line, with DPRAM chip swap data.STR A0 to the STR A11 address wire pin that its STR A0 to STR A11 address pins connects the DPRAM chip carries out addressing to DPRAM.(with reference to Figure 12,10,13,14,15,16)
The DSP_POWER_nCE pin of power supply chip TPS70351 links to each other with the DSP_POWER_nCE pin of ARM chip, and whether DSP works on power by ARM control.(with reference to Figure 18)
The inventive method comprises the software configuration flow process, communication scheduling module of signal conveying flow in the process fault detection, the signal processing module dsp system software configuration flow process based on STR710FZ2 ARM system.
Signal conveying flow in the process fault detection is carried out according to the following steps, as shown in figure 20:
Step 1: system start-up;
Step 2: judge whether to need to revise the criterion definite value; If, execution in step 3; If not, execution in step 4;
Step 3: accept definite value from host computer;
Step 4: measured signal passes through signal conditioning circuit;
Step 5: sample by A/D through the signal after the conditioning;
Step 6: the data after the sampling enter dsp chip and carry out computational analysis;
Step 7: judge whether to break down; If, execution in step 8; If not, return step 4;
Step 8: record ripple, deposit fault data in two-port RAM;
Step 9:ARM reads fault data from two-port RAM, by RS232, and RS485, CAN, Ethernet is uploaded to host computer;
Step 10: finish.
Signal Processing, communication scheduling and host computer this three connect each other, have two elementary streams to, as shown in figure 21.
Article one, the flow direction be from host computer through task scheduling modules, be sent to signal processing module.The content of this data flow mainly comprises all kinds of control commands that host computer issues to record marble system and system configuration parameter etc.Task scheduling modules mainly plays order and data forwarding function.The order that signal processing module is assigned at host computer is handled accordingly and is disposed.Another flow direction is and last opposite process that signal processing module is uploaded to task scheduling modules with the data of gathering through the start-up criterion algorithm, according to the calibration of start-up criterion task scheduling modules startup as a result fault, fault waveform storage and data upload.Host computer receives the Wave data of uploading as the take over party.
It is core that input is handled with DSP with the record ripple, and dsp system software configuration flow process is carried out according to the following steps, as shown in figure 23:
Step 1: beginning;
Step 2:DSP system initialization;
Step 3: judge whether to receive ARM and interrupt; If fill order is handled function; If not, execution in step 4;
Step 4: judge whether start record ripple condition satisfies; If enter the record ripple and handle function; If not, execution in step 5;
Step 5: judged whether that Timer0 interrupts; If enter Timer0 Interrupt Process function; If not, execution in step 6;
Step 6: judged whether that dma interrupts; If enter dma Interrupt Process function; If not, return step 3.
The communication scheduling module mainly is responsible for record wave device and host computer interface section, it finishes the transmission of host computer to the order of recording wave device, parameter etc. on the one hand, also comprise the Wave data that is uploaded to host computer from signal processing module, also should be in the flash of module when system start-up record ripple process with the data storage uploaded.The communication scheduling module is carried out according to the following steps based on the software configuration flow process of STR710FZ2 ARM system, as shown in figure 26:
Step 1: beginning;
Step 2:ARM system initialization;
Step 3: judge whether to receive the PC sort command and interrupt; If, execution in step 4; If not, execution in step 5;
Step 4: enter and receive the PC command processing function;
Step 5: judge whether to receive DSP and interrupt; If, execution in step 6; If not, return step 3;
Step 6: receive DSP Interrupt Process function.

Claims (10)

1, a kind of quality of power supply and electrical power system malfunction detection wave recording device is characterized in that comprising three subsystems: detect record marble system, remote monitoring subsystem, to the time subsystem; Record the marble system multiple spot fault diagnosis is carried out in electric system, implement to detect and the record power quality parameter, the state of variation of the dynamic electrical parameter of system and switching value when fault takes place; The communication scheduling administration module is the bridge that detects record wave device and host computer server in the detection record marble system, when breaking down, it is responsible for the failure logging of received signal processing module, then metadata cache in FLASH, be uploaded to host computer by Ethernet, CAN bus, RS-232C, 485 bus communication interface and remote communication module simultaneously; The remote monitoring subsystem is made up of host computer server and Internet client, and host computer and each record ripple node are formed the C/S network structure, realize the double action of failure message transmission and protection and safety feature day-to-day operation monitoring; To the time subsystem utilize the function of the accurate time service that GPS provides, system time is provided and guarantees that system time is synchronous; To the time subsystem core function by to the time module realize, itself and each record ripple node is formed the C/S structure, to the time template adopt the microprocessor of 16 bit MC9S12D64 of motorola inc to control, be connected reception gps time data with GARMIN by RS232, by the CAN bus time that receives be distributed to each record wave device then.
2, the quality of power supply and electrical power system malfunction detection wave recording device according to claim 1 is characterized in that detecting record marble system and are made up of signal condition module, signal processing module, communication scheduling administration module; Wherein the signal condition module comprises current signal and voltage signal is nursed one's health, and the current signal conditioning system is selected for use the vertical punching miniature precision of soldier's word TA1420 AC current transformer; The voltage signal conditioning system is selected for use the miniature accurate AC voltage transformer of soldier's word TV1013-1 type; After to electric current and voltage signal isolation mutual inductance, each road input signal has all passed through the one-level voltage follow, selects for use 16 high precision bipolarity analog input AD7656 as the ADC conversion chip at the follow-up signal processing unit.
3, as the quality of power supply and electrical power system malfunction detection wave recording device as described in the claim 2, it is characterized in that the signal processing module data processing section adopts TMS320C33 to realize, in the A/D conversion, select 16 accuracy A D7656 of two bipolaritys for use, CPLD selects for use 3200 XC95144XL to realize required logic control instruction, and reset circuit is selected TI power source special chip TPS70351 for use.
4, the described quality of power supply of claim 2 and electrical power system malfunction detection wave recording device is characterized in that the communication scheduling administrative unit selects the STR710FZ2 of ST Microelectronics for use.
5, as the quality of power supply and electrical power system malfunction detection wave recording device as described in the claim 2, it is characterized in that signal processing module is connected by two-port RAM with the communication scheduling administration module.
6,, it is characterized in that its hardware unit each several part connects input 1 to input 4 pin that is connected respectively to first AD7656 chip for the voltage signal of input 1 to input 4 pin of signal condition module after will nurse one's health and imports as the voltage signal that A/D changes the road as the quality of power supply and electrical power system malfunction detection wave recording device as described in the claim 2; Current signal after input 5 to the input8 pins of signal condition module will be nursed one's health is connected respectively to the current signal input of input 5 to input 8 pins of another sheet AD7656 chip as A/D conversion road;
DSP D0 to the DSP D31 pin of two AD7656 is connected to 32 data line pins of DSP D0 to the DSP D31 of TMS320VC33 dsp chip;
The control function that CPLD realizes, its CPLD to ADC_RST, CPLD to ADC_CONVST, CPLD toADC_CS, CPLD to ADC_RD, CLPLD to ADC_WR, ADC to DSP_INT, ADC TCLK0, ADC1 toCPLD BUSY, ADC2 to CPLD BUSY, these nine control pins are connected respectively to the corresponding pin of two AD7656, and A/D is controlled; AD0 to the AD31 pin of CPLD is connected on the corresponding pin on the switching value chip, detector switch amount state; DSPA11 to the DSP A14 pin of CPLD connects DSP A11 to the DSP A14 address pins of dsp chip, acceptance is from the address information of DSP, the DSP nPG0 of CPLD, DSP nPG1, DSP nPG3, DSP STRB pin connects the corresponding pin of dsp chip, receives page or leaf gating signal and exterior storage gating signal; The CPLD to DPRAM nCE of CPLD, CPLD to DPRAM nOE, the corresponding pin with two-port RAM of CPLD to DPRAM R/nW links to each other, for the two-port RAM chip provides control information;
Two-port RAM chip id T7024 is as the bridge of transmission information between DSP and the ARM, its DSP D0 to DSP D15 data pins connects DSP D0 to the DSP D15 pin of dsp chip data line, with the dsp chip swap data, its DSP A0 to DSP A11 address pins connects address wire DSP A0 to the DSP A11 pin of dsp chip, accepts the address information from dsp chip; STR D0 to the STR D15 data pins of dual port RAM connects STR D0 to the STR D15 pin of ARM chip data line, with ARM chip swap data; STR A0 to STR A11 address pins connects STR A0 to the STR A11 address wire pin of ARM chip, accepts the address information from ARM; The DPRAMto DSP nBUSY of dual port RAM, STR to DSP INT and DPRAM to STR nBUSY, DSP to STR INT pin is connected on the corresponding pin of DSP and ARM chip, and coming provides interruption and status information to DSP and ARM chip;
DSP adopts the TMS320VC33 chip, its DSP to CPLD CLK, and DSP to CPLD reset pin links to each other with the corresponding pin of CPLD chip, and clock information and reset operation are provided; Its DSP D0 to DSP D15 data pins links to each other with the dual port RAM corresponding interface, and with DPRAM chip swap data, address wire DSP A0 to the DSP A11 pin that its DSP A0 to DSP A11 address pins connects the DPRAM chip carries out addressing to DPRAM;
ARM adopts the STR710FZ2 chip, its RS232_TX, and the RS232_RX pin links to each other with the corresponding pin of RS-232C serial communication interface chip, controls 232 interface communications; Its RS485_TX, RS485_RX, the RS485 pin is connected with the corresponding pin of RS-485 communication interface chip, control RS-485 interface communication; Its CAN_TX, the CAN_RX pin is connected with the corresponding pin of CAN bus communication interface, control CAN interface communication; The ETHNET_nINT of ARM chip, ETHNET_nWR, ETHNET_nRD, ETHNET_nCS, ETHNET_RESET, the ETHNET_nRESET pin links to each other with the corresponding pin of ethernet module chip, the control ethernet module; STR A0 to STR A14 address wire links to each other with ethernet module corresponding address spool pin, and STR D0 to STR D7 data line pin links to each other with ethernet module respective data lines pin, utilizes ethernet module to communicate; STR D0 to the STR D15 data pins of ARM chip connects STR D0 to the STR D15 pin of DPRAM chip data line, with DPRAM chip swap data; STR A0 to the STR A11 address wire pin that its STR A0 to STR A11 address pins connects the DPRAM chip carries out addressing to DPRAM;
The DSP_POWER_nCE pin of power supply chip TPS70351 links to each other with the DSP_POWER_nCE pin of ARM chip, and whether DSP works on power by ARM control.
7, the implementation method of the quality of power supply and electrical power system malfunction detection wave recording device according to claim 1 is characterized in that comprising:
(1) dynamic electrical parameter is measured:
For 220kV electric substation, analog quantity has 3 phase currents and the zero-sequence current of every 220kV circuit, bus-tie circuit breaker and every transformer 220kV side, 3 phase-to-ground voltages of two groups of 220kV bus-bar potential transformers and residual voltage; Switching value has the relay protection trip signal of every 220kV isolating switch of operation, the communication port signal of pilot protection, automatic safety device operational order, dumb contact input;
For 500kV electric substation, analog quantity has 4 magnitudes of current of every circuit of 500kV that the 500kV side need write down and 4 magnitudes of current of 4 line voltage distribution amounts and every main-transformer; Switching value has the relay protection trip signal of every 500kV isolating switch of operation, pilot protection communication port signal and automatic safety device operational order, dumb contact input;
(2) fault dividing time-steps: fault simulation amount data were made up of 5 period data by the period;
(3) start-up criterion: for analog quantity, fault type is exactly the start-up criterion that triggers failure wave-recording; For switching value, fault type is exactly the state variation of beginning amount;
(4) failure wave-recording:
Analog quantity and switch acquisition: the timer that uses DSP inside to carry is controlled the collection of analog quantity, two AD sample simultaneously, gather 8 tunnel 16 analog datas each time, after switching value is deciphered by CPLD, DSP can directly read its state, can support 8 way switch amounts at most;
Fault diagnosis and record: after the electric parameter collection is finished, carry out fault diagnosis according to start-up criterion; When certain start-up criterion satisfies condition or the state that detects certain switching value changes, will start failure wave-recording, generate record data; Whole failure process also is divided into 5 stages, the processing difference in each stage;
(5) record is uploaded: when breaking down, fault has taken place fault handling meeting notifying communication scheduler module prepares to accept recorder data, and scheduler module sends recorder data by two-port RAM notice DSP;
(6) remote control command is handled: dsp software receives and handle the monitor command of host computer, mainly contains: force start record ripple, parameter are provided with order, real-time waveform display command.
8, the implementation method of the quality of power supply as claimed in claim 7 and electrical power system malfunction detection wave recording device is characterized in that the concrete execution according to the following steps of implementing;
Step 1: system start-up;
Step 2: judge whether to need to revise the criterion definite value; If, execution in step 3; If not, execution in step 4;
Step 3: accept definite value from host computer;
Step 4: measured signal passes through signal conditioning circuit;
Step 5: sample by A/D through the signal after the conditioning;
Step 6: the data after the sampling enter dsp chip and carry out computational analysis;
Step 7: judge whether to break down; If, execution in step 8; If not, return step 4;
Step 8: record ripple, deposit fault data in two-port RAM;
Step 9:ARM reads fault data from two-port RAM, by RS232, and RS485, CAN, Ethernet and remote communication module are uploaded to host computer;
Step 10: finish.
9,, it is characterized in that the dsp system operating process carries out according to the following steps as the implementation method of the quality of power supply as described in the claim 7 and electrical power system malfunction detection wave recording device:
Step 1: beginning;
Step 2:DSP system initialization;
Step 3: judge whether to receive ARM and interrupt; If fill order is handled function; If not, execution in step 4;
Step 4: judge whether start record ripple condition satisfies; If enter the record ripple and handle function; If not, execution in step 5;
Step 5: judged whether that Timer0 interrupts; If enter Timer0 Interrupt Process function; If not, execution in step 6;
Step 6: judged whether that dma interrupts; If enter dma Interrupt Process function; If not, return step 3.
10, as the implementation method of the quality of power supply as described in the claim 7 and electrical power system malfunction detection wave recording device, it is characterized in that carrying out according to the following steps based on STR710FZ2 ARM system for remote control command communication scheduling administration module:
Step 1: beginning;
Step 2:ARM system initialization;
Step 3: judge whether to receive the PC sort command and interrupt; If, execution in step 4; If not, execution in step 5;
Step 4: enter and receive the PC command processing function;
Step 5: judge whether to receive DSP and interrupt; If, execution in step 6; If not, return step 3;
Step 6: receive DSP Interrupt Process function.
CNB2007100121504A 2007-07-17 2007-07-17 Electric energy quality and electrical power system malfunction detection wave recording device and method Expired - Fee Related CN100485734C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100121504A CN100485734C (en) 2007-07-17 2007-07-17 Electric energy quality and electrical power system malfunction detection wave recording device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100121504A CN100485734C (en) 2007-07-17 2007-07-17 Electric energy quality and electrical power system malfunction detection wave recording device and method

Publications (2)

Publication Number Publication Date
CN101097653A CN101097653A (en) 2008-01-02
CN100485734C true CN100485734C (en) 2009-05-06

Family

ID=39011455

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100121504A Expired - Fee Related CN100485734C (en) 2007-07-17 2007-07-17 Electric energy quality and electrical power system malfunction detection wave recording device and method

Country Status (1)

Country Link
CN (1) CN100485734C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11644974B2 (en) * 2018-11-01 2023-05-09 Delta Electronics (Shanghai) Co., Ltd. Time-sharing wave recording method

Families Citing this family (73)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101498757B (en) * 2009-03-06 2012-05-30 深圳市双合电气股份有限公司 Real-time dynamic monitoring and recording equipment of power system
CN101581752B (en) * 2009-06-09 2011-06-22 深圳市双合电气股份有限公司 Power transmission line parameter online measurement method based on fault wave recording
CN101702506B (en) * 2009-10-30 2012-05-30 中国船舶重工集团公司第七一九研究所 Method and device for rapidly detecting short-circuit fault of power system
CN101719087B (en) * 2009-11-26 2011-12-07 中国科学院计算技术研究所 Microprocessor reliability evaluating method and system thereof
CN101762760B (en) * 2010-01-05 2012-10-17 河北旭辉电气股份有限公司 High-speed power waveform recording and analyzing instrument
CN101813737A (en) * 2010-03-18 2010-08-25 成都府河电力自动化成套设备有限责任公司 Multifunctional power failure recorder
CN101860076B (en) * 2010-04-21 2012-05-09 东北大学 Electric energy quality monitoring and analyzing system
CN101826754B (en) * 2010-05-05 2012-07-04 浙江新能量科技有限公司 On-line detection and operation maintenance system of transformer station
CN101886938B (en) * 2010-05-28 2011-11-16 四川大学 Veneer wave recorder capable of passing through parallel bus integrated distribution system
CN101902077A (en) * 2010-07-13 2010-12-01 杭州交联电气工程有限公司 Operating data monitoring and alarming system of converting stations
CN102013081A (en) * 2010-11-17 2011-04-13 苏州德融嘉信信用管理技术有限公司 User-defined credit analysis model method based on credit rating system
CN102128975B (en) * 2010-12-22 2013-05-15 四川省电力公司 Voltage stabilization online monitoring phasor data measurement device and phasor measurement method
CN102169158B (en) * 2011-03-15 2012-12-26 深圳市双合电气股份有限公司 Steady state oscillograph for power system
CN102324781B (en) * 2011-09-08 2014-03-12 天津理工大学 Power supply quick switching control system and switching method thereof
CN103197162B (en) * 2012-01-04 2016-02-17 中国人民解放军第二炮兵工程学院 A kind of Multi-Switch parameter method for diagnosing faults based on template matches
CN106526300B (en) * 2012-03-15 2019-07-09 江苏省电力公司常州供电公司 Short-circuit current of near zone of transformer real-time monitoring device
TWI456208B (en) * 2012-05-08 2014-10-11 Univ Asia Harmonic analysis device and harmonic analysis method thereof
CN102759675B (en) * 2012-07-27 2015-04-01 深圳市中电软件有限公司 On-line electric energy quality monitoring device
CN102761174B (en) * 2012-07-30 2014-06-11 山东电力集团公司青岛供电公司 Fault intelligent diagnosis and analysis system and method based on dispatching integrated data platform
CN102809936B (en) * 2012-08-08 2015-05-06 四川爱特尔科技有限公司 Multi-switching-value combinational logic state implementation method
CN102890214A (en) * 2012-10-23 2013-01-23 江苏省电力公司扬州供电公司 Power quality analysis and control system of regional intelligent power grid
CN102928716A (en) * 2012-11-06 2013-02-13 江苏正佰电气股份有限公司 Intelligent power quality monitoring system
CN102955060B (en) * 2012-11-06 2014-10-08 华南理工大学 Method for removing decaying direct-current component in power system fault signal
CN103019957B (en) * 2012-11-09 2015-09-09 深圳市华力特电气股份有限公司 A kind of power failure record ripple storage means and device
CN103051062B (en) * 2012-12-27 2014-12-10 国电南瑞科技股份有限公司 Intelligent phase selection system and method for multifunctional measuring and control device
CN103217609A (en) * 2013-04-24 2013-07-24 四川省电力公司信息通信公司 Transient state recording data collecting method based on GOOSE
CN103353893B (en) * 2013-07-18 2016-12-28 国家电网公司 Dispatch automated system distributed data acquisition intelligent fault diagnosis method
CN103701788B (en) * 2013-12-20 2017-09-26 深圳市金宏威技术股份有限公司 A kind of communicator and flexible bus of cross-platform flexible bus
CN104198884B (en) * 2014-08-06 2015-04-08 国网山东省电力公司 Differential principle based large-scale power grid intelligent trouble diagnosis method
CN104237827A (en) * 2014-09-13 2014-12-24 安徽鑫龙电器股份有限公司 Electric power meter fault recording method
CN104239643B (en) * 2014-09-22 2018-01-19 国家电网公司 WAMS applications algorithm checking system and its verification method based on fault recorder data
CN104702658A (en) * 2014-09-24 2015-06-10 国网浙江海盐县供电公司 Online monitoring and managing system of HYTMS automatic time synchronizing device
CN104317585A (en) * 2014-10-22 2015-01-28 四川东方电气自动控制工程有限公司 Design method of customable software wave recording
CN104360120B (en) * 2014-11-19 2017-02-22 国家电网公司 Real-time waveform display method with low communication bandwidth requirement
CN104483596B (en) * 2014-12-11 2016-06-08 广东电网有限责任公司电力调度控制中心 Circuit two ends protection time irreversibility time fault information association method and system
CN104502753A (en) * 2014-12-15 2015-04-08 国家电网公司 Networked on-line real-time analysis system for electric power fault recording device and application of system
CN104573380A (en) * 2015-01-22 2015-04-29 中国矿业大学 Intelligent substation fault recording criterion starting method based on permission learning machine model
CN104808163A (en) * 2015-04-08 2015-07-29 国家电网公司 Electric energy quality monitoring system performance detection method
CN104881007A (en) * 2015-04-29 2015-09-02 成都英格瑞德电气有限公司 Practical IPC monitoring module device based on IPM electric power
CN105067915B (en) * 2015-07-27 2018-01-05 云南电力调度控制中心 A kind of recording processing method of the online data signal of integration
CN106876218B (en) * 2015-12-10 2019-10-18 伊顿智能动力有限公司 Fault prediction device and method for vacuum circuit breaker
CN105510819B (en) * 2016-01-04 2017-05-17 江苏省电力公司电力科学研究院 Breaker health status assessment system and method based on fault recording analysis
CN105868287B (en) * 2016-03-23 2021-04-06 南京南瑞集团公司 Multi-source data-based WAMS application system data integration method
CN106154115A (en) * 2016-06-16 2016-11-23 上海交通大学 Distributed feed line automatization terminal and distribution line failure judgement system, method
CN106089782B (en) * 2016-06-20 2017-06-30 福州台江区超人电子有限公司 Parlor fan natural wind control system
CN105974248A (en) * 2016-07-22 2016-09-28 安徽亚辉电气自动化有限公司 Monitoring control system based on power quality analysis device
CN106646127A (en) * 2016-12-10 2017-05-10 东阳市光明电力建设有限公司 Distributed power grid zero sequence fault monitoring system
CN106647235B (en) * 2016-12-29 2019-02-15 福建奥通迈胜电力科技有限公司 A kind of punctual method wireless for recording type fault detector
EP3379272A1 (en) * 2017-03-21 2018-09-26 Danfoss Mobile Electrification Oy Method and system for detecting the occurrence and timing of events in an electric power system
CN107102195B (en) * 2017-04-26 2020-03-20 顺特电气设备有限公司 Electric quantity processing and network transmission method of intelligent transformer terminal
CN107247199A (en) * 2017-05-27 2017-10-13 上海电机学院 A kind of remote power quality detecting system based on ARM
CN107255758B (en) * 2017-06-02 2021-03-23 中国电力科学研究院 Broadband multi-frequency electric quantity unified measurement and analysis system and implementation method
CN107276812B (en) * 2017-06-29 2021-06-04 北京广利核系统工程有限公司 Fault diagnosis device, system and method for Level2 layer redundant equipment of nuclear power station
CN107607805A (en) * 2017-07-31 2018-01-19 国网山东省电力公司电力科学研究院 A kind of distribution overhead line synchronous phasor measurement and operational monitoring terminal and method
CN107831649A (en) * 2017-11-01 2018-03-23 福州开发区慧聚通信技术有限公司 Operating frequency phase wireless synchronization device
CN107807576A (en) * 2017-11-09 2018-03-16 湖北三江航天万峰科技发展有限公司 A kind of intelligent power distribution monitoring management apparatus
CN108107292B (en) * 2017-12-18 2020-02-07 国网湖南省电力有限公司 Service data monitoring system and method of electric energy quality on-line monitoring system
CN108957231B (en) * 2018-07-17 2021-09-14 国网辽宁省电力有限公司电力科学研究院 Distributed system and method for data interaction between host machine and submachine of distributed system
CN108761191B (en) * 2018-08-27 2023-12-19 南京国电南自电网自动化有限公司 Traveling wave protection acquisition circuit
CN109521268A (en) * 2018-12-28 2019-03-26 珠海格力电器股份有限公司 Electric energy metering device, ammeter equipment and configuration method
CN109683060A (en) * 2019-01-14 2019-04-26 国网江西省电力有限公司南昌供电分公司 A kind of distribution network line state monitoring method and system
CN110133439A (en) * 2019-05-16 2019-08-16 西门子电力自动化有限公司 The method and protective relaying device of failure wave-recording for mesolow electric system
CN110346663A (en) * 2019-07-04 2019-10-18 广东科瑞德电气科技有限公司 A kind of method of electric locomotive by pyroelectric monitor terminal fault recording
CN110389275A (en) * 2019-07-19 2019-10-29 淮阴工学院 Smart grid link ground fault wave recording device and method
CN110737981B (en) * 2019-10-12 2023-10-27 中国电子信息产业集团有限公司第六研究所 Production monitoring system of fuel cell
CN110687477B (en) * 2019-10-17 2021-04-02 武汉大学 Rapid short-circuit fault detection system and method applied to high-voltage substation
CN112886705A (en) * 2019-11-29 2021-06-01 北京天诚同创电气有限公司 Controller of micro-grid fault recording device and fault recording method
CN110865297B (en) * 2019-12-04 2022-05-13 绵阳市维博电子有限责任公司 Phase-sensitive track voltage phase angle comprehensive acquisition sensor
CN111856131B (en) * 2020-07-17 2023-12-15 许继集团有限公司 Recording method and device for load data
CN111884341B (en) * 2020-07-31 2023-04-21 国网山东省电力公司寿光市供电公司 Feeder terminal running state monitoring device
CN111896788B (en) * 2020-08-07 2023-02-07 西安远测电力科技有限公司 Trigger method for current recording of opening and closing coil of circuit breaker
CN112986744B (en) * 2021-04-26 2021-08-06 湖南大学 Frequency fault tolerance detection method and system under transient fault condition of power system
CN113341198B (en) * 2021-06-01 2023-03-17 青岛东软载波科技股份有限公司 Power line wave recording method and system based on metering chip register

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11644974B2 (en) * 2018-11-01 2023-05-09 Delta Electronics (Shanghai) Co., Ltd. Time-sharing wave recording method

Also Published As

Publication number Publication date
CN101097653A (en) 2008-01-02

Similar Documents

Publication Publication Date Title
CN100485734C (en) Electric energy quality and electrical power system malfunction detection wave recording device and method
CN101900777B (en) Monitoring method and device of power system
CN102401871B (en) Failure message integrated device based on FPGA and ARM hardware platform
CN101893662B (en) Nuclear phase method for digital transformer substation
CN101236225B (en) Electric network transformer monitoring device monitoring method
CN104242447A (en) Integrated measuring and controlling device and system of intelligent transformer substation
CN101576743B (en) Distributed ring main unit monitor terminal
CN100454026C (en) Cycle sampling method in quality of power supply in electrical network
CN102128975B (en) Voltage stabilization online monitoring phasor data measurement device and phasor measurement method
CN103257295B (en) Based on intelligent micro-grid detection system and the method for the Big Dipper-GPS dual-mode time service
CN101727106B (en) Simulation test platform of process layer of digitalization transformer substation
CN101159376A (en) Low current neutral grounding malfunction detection and positioning device and method
CN103472736B (en) A kind of load modeling device based on real-time disturbance data
CN102073609B (en) Virtual instrument technology-based test method of power system test instrument and application thereof to integrated automatic device and synchronous detection device
CN101566641A (en) Power system transmission line parameter synchronic measurement and recording device
CN110059402A (en) A kind of intelligent substation method for optimizing configuration based on semantic modeling
CN104280636A (en) Matching loop full-digital type power quality monitoring device and method adopting three-tier architecture
CN105676041A (en) Double CPU electric energy quality monitoring device based on DSP and ARM
CN202372607U (en) Fault information integrating device based on field programmable gate array (FPGA) and advanced RISC machine (ARM) hardware platform
CN206460125U (en) Distribution side intelligent trouble recording monitoring device
CN201797372U (en) Nuclear phase system for intelligent digital transformer substation
CN109212462A (en) A kind of fault detection method of single-phase intelligent electric energy meter residual amount exception
CN203981771U (en) A kind of instrument
Ackerman The impact of IEDs on the design of systems used for operation and control of power systems
CN201839094U (en) Measuring and control device for main transformer of substation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090506

Termination date: 20100717