Data processing method for alternating current sampling of digital transformer station measurement and control device
Technical field
The present invention relates to the measure and control device of electric power digital transformer station, relate in particular to the disposal route that the digitizing interchange is gathered in the measure and control device.Belong to the digital transformer substation technical field.
Background technology
Along with the development of photoelectron mutual inductor technology and Fibre Optical Communication Technology and the popularization of IEC61850 standard; The interchange collection of transformer station's wall smart machine is passed through cable incoming transport electric signal after A/D converts digitizing into by traditional, changes for directly inserting the digitizing electric signal of being seen off by process layer digital interchange collecting device through communication network.The wall measure and control device can receive the sampled value data that meet IEC61850-9-1/-9-2 or IEC60044-8 (FT3) standard from process layer merge cells through communication mode; The variation of acquisition mode can adapt to the new input interface except requiring measure and control device; Also require to take into full account the influence of this variation, thereby formed to the digitized scheme that deals with to the measure and control device technical indicator.
Every measure and control device of tradition transformer station is sampled to the alternating-current electric signal that inserts alone; Adjusting the time in SI through the frequency of calculating AC signal is SF; AC signal each cycle sampled point number under different frequencies is fixed; This AC signal is sampled carried out the spectrum leakage that frequency-tracking can well reduce AC signal, thereby obtains higher measuring accuracy.The interchange collection of the wall smart machine (comprising measure and control device) that digital transformer substation is all derives from same process layer digital data acquisition equipment (merge cells); For of the requirement of satisfied not type smart machine to the interchange image data; This equipment is sampled (being up to 10KHz) with fixing and high frequency usually, thereby sees a large amount of sampled values off.Because sending into the time in sampled value SI of measure and control device fixes; When the AC signal actual frequency not simultaneously; The sampled point number of a cycle is different, therefore can adopt based on Linear Lagrange interpolation principle, and the collection value that is combined the unit input is carried out the data pick-up resampling; Its method is to adopt digital algorithm signal calculated frequency earlier; Adjust the extraction frequency in real time according to signal frequency then, carry out signal extraction, realize the interpolation frequency-tracking through the Linear Lagrange interpolation method.This method has adopted the Linear Lagrange interpolation method, and its principle is simple, but the concrete implementation procedure of its interpolation is complicated, special sampled point for a long time, interpolation efficiency is low, and Interpolation Process itself is a process that secondary is sampled again, can introduce interpolation error equally.
The present invention is directed to digital transformer station measurement and control device and propose a kind of new interchange sampling processing method, need not carry out interpolation, directly utilize existing sampled value to carry out computing, satisfy the observing and controlling accuracy requirement, reduce implementation complexity sampled value.
Summary of the invention
In order to solve the prior art problem, the object of the invention is to provide a kind of acquiring and processing method to digital transformer substation IEC61850-9-1/9-2 or FT3 sampled value input mode, calculates frequency input signal, effective value, and this method thinking is simply clear.Evidence, through this method can be suitable saving CPU efficient, guarantee sampling precision simultaneously, reduce the software design complexity, improve whole efficiency.
Technical matters to be solved by this invention realizes through following technical scheme.
A kind of data processing method that is applicable to the digital transformer station measurement and control device AC sampling is characterized in that:
Merge cells in the digital transformer substation is gathered each electronic mutual inductor output AC sampled signal of transformer station and is inputed to digital transformer station measurement and control device through fixed sampling frequency;
Said digital transformer station measurement and control device calculates actual input AC sampled signal frequency based on fixed data window fourier algorithm;
According to the actual ac sampling signal frequency of being calculated, fixed sampling frequency and fixed sampling frequency corresponding sampling points number are extrapolated weekly the ripple actual samples and are counted;
Count in the actual samples of ripple weekly and can satisfy when calculating effective value precision and requiring,, improve fourier algorithm and calculate effective value precision according to the count data window of adjustment fourier algorithm of the actual samples of ripple weekly.
Concrete steps are following:
One, survey frequency
Employing is calculated the phase angle difference Δ φ between two adjacent data windows based on the frequency measurement method of fixed data window fourier algorithm, when change of frequency, can obtain the changes delta f of frequency according to phase angle.It is f that the system signal of setting up departments is imported specified fundamental frequency
0(the specified sampling period is T
0), the SF of merge cells input is N
0f
0, Δ f and phase angle difference Δ φ variation relation use the discrete differential The Representation Equation to be: Δ φ=2 π Δ fT
0, then system's actual frequency can be expressed as f=f
0+ Δ f=f
0+ Δ φ/(2 π T
0).
Two, calculate that the ripple actual samples is counted weekly
Frequency f according to current actual measurement calculates the actual sampling number of ripple weekly N, ripple actual samples points N=N weekly
0f
0/ f, when | f-f
0| during<permissible error * 50%, can think the constant N=N of being of frequency
0
Three, calculate effective value
With sampling number N is data window, through the sampled value of N point data window is carried out fourier algorithm, tries to achieve real part, the imaginary part of signal, calculates effective value then.
Beneficial effect of the present invention: the present invention is directed to digital transformer station measurement and control device and propose a kind of new sampling processing method; Need not carry out the Linear Lagrange interpolation to sampled value; Directly utilize existing adopted value to carry out computing,, calculate frequency and effective value respectively through the ripe fourier transform algorithm of twice utilization; Satisfy the observing and controlling accuracy requirement, reduce implementation complexity.
Description of drawings
Fig. 1 digital transformer station measurement and control device gatherer process schematic diagram;
Fig. 2 sampling processing process sketch.
Embodiment
Fig. 1 is the principle schematic of digital transformer station measurement and control device gatherer process, and the SC of EVTa is the quadratic transformation device of a phase electronic type voltage transformer among the figure, and the SC of ECTa is the quadratic transformation device of a phase electronic current mutual inductor.Merge cells (MU) will reach 7 current transformers and be in the same place with 5 voltage transformer (VT) central combination; Merge cells provides one group of consistent electric current and voltage data of time for the secondary measure and control device, is connected with measure and control device through the special optic fibre passage at last and transmits digital sampled signal.
Fig. 2 is the AC sampling data handling procedure synoptic diagram of measure and control device.
A kind of disposal route that is applicable to the digital transformer station measurement and control device AC sampling; This method is through after carrying out the fixed window fourier algorithm and calculating said AC signal frequency to the AC signal sampled value of input digit transformer station measurement and control device; Extrapolate this AC signal ripple actual samples points N weekly, again data window is adjusted into N calculates said AC signal through fourier algorithm effective value.
The AC signal rated frequency f of input digit transformer station measurement and control device
0=50Hz, the fixed sample points N
0=192, SF N
0* f
0=192*50Hz, if actual input digit transformer station measurement and control device AC signal (hereinafter to be referred as the AC signal of reality input) frequency be f, the AC signal input fundametal compoment model representation of actual input is:
Am is the input signal maximum amplitude, wherein, and the frequency f of this AC signal and angle
Relational model is expressed as:
Wherein Δ f representes the variable quantity of the relative rated frequency of actual signal frequency.
Sampled value buffer zone shown in Figure 2 is designed to circular buffering, and input derives from the merge cells digital quantity output shown in Fig. 1, and the SF of the actual output of merge cells digital quantity output is N in the instance that this embodiment provides
0* f
0=192*50Hz; When being specified 50Hz weekly ripple be 192 point samplings; Can carry out aliquot uniformly-spaced taking out a little to 192 according to actual conditions during the actual device computing; Taked per 2 modes of taking out any to participate in the actual computation processing operations like observing and controlling, actual operation has adopted 96 points, also can satisfy accuracy requirement and the harmonic wave computing requirement below 19 times.Concrete processing procedure is following:
At first, Fig. 2 medium frequency measurement processing partly through extracting the crude sampling Value Data from the sampled value buffer zone, adopts the frequency measurement method (frequency measurement method is more, also can adopt the actual frequency of additive method picked up signal) based on fourier algorithm.This method calculate between two adjacent fixed data windows phase angle difference d φ and interval time dt, the data point number is M in the data window, time in SI Δ t, the SF of input signal is N
0f
0, draw frequency variation by discrete differential equation d φ/dt=2 π Δ f:
Δf=dφ/dt/2π=dφM?N
0f
0/2π;
Dt=M* Δ t wherein; Δ t=1/N
0f
0(N
0Be the specified sampling number of ripple weekly);
Actual frequency f=f
0+ Δ f; (f
0Be the input signal rated frequency).
The second, calculate that the ripple actual samples is counted weekly, calculate actual sampling number N, ripple actual samples points N=N weekly according to the frequency f of current actual measurement
0f
0/ f need be N with asking the data window size modification of the dynamic data window fourier algorithm of effective value in the 3rd step when ripple actual samples points N changes weekly, prepares corresponding fourier algorithm conversion coefficient for new data window simultaneously.When stablizing measured frequency bond frequency difference Δ f<permissible error * 50% twice, think frequency stabilization, then need not readjust the data window size, 0.01Hz is generally got in permissible error accuracy requirement in observing and controlling is used.
Three, calculate effective value, according to a last step established data window size N, directly obtain N point sampling Value Data, making data window is the fourier algorithm that N is ordered, and tries to achieve real part, the imaginary part of signal, calculates effective value then.
The foregoing description does not limit the present invention in any form, and all technical design methods that mode obtained of taking to be equal to replacement or equivalent transformation all drop in protection scope of the present invention.