Summary of the invention
Technical problem to be solved by this invention is, overcomes in the digitizing station protective device and guarantees rapidity and accuracy that device moves in the case because of tripping or delay voltage that the loss of small sample data point causes.
For solving the problems of the technologies described above, the invention provides a kind of loss sampling data processing method based on the third-order spline interpolation method, it is characterized in that may further comprise the steps:
1) counts according to the sampled data of the sample frequency of MU in the digital transformer substation and the transmission of every frame and determine the sampling number that allowing loss under the certain calculation accuracy condition satisfying;
2) to protection each sampling number in the buffering area according to setting up mode bit, when the authentic and valid value of corresponding sampled data, put " effectively " and indicate, when invalid, put the engineering noise sign, if estimated value, then put " estimation ", during initialization, all sampled data states all are set to engineering noise;
3) real-time monitoring device signal intelligence, if there is frame losing/mistake frame condition to take place, mark corresponding sample data mode bit is an engineering noise, after treating that communications status recovers, if the sampling number of loss is not more than allowing of having set when asking for the loss sampling number, then respectively to be no less than the efficiently sampling data of 3 points before and after the lost data section, use three rank spline functions to carry out waveform fitting, ask the approximation of loss sampling data then with interpolation method, and the approximation corresponding states of loss sampling data is put " estimation " mark; Otherwise do not take any measure, or only ask the loss sampling data approximation, but do not change the engineering noise sign of its mode bit;
4) when the protection computing, the protection timing element is screened statistics to the sampled data state that participates in computing, when the engineering noise sampled data of finding the participation computing is counted greater than M, and latch-up protection, described M 〉=3; When " estimations " sampled data that find to participate in computing is counted when being not more than N, can be with its protection time-delay corresponding time of counting of increase; When " estimations " sampled data that find to participate in computing is counted greater than N, then latch-up protection, up to the participation computing be " effectively " sampled data till, the scope of described N is 5~10.
The beneficial effect that the present invention reached is as follows: the method for asking for the loss sampling data approximation based on the third-order spline interpolation method provided by the invention; fully adaptive system is rich in the harmonic wave situation; solution is guaranteed the quick-action and the accuracy of protective device because of caused digital protection device action time-delay of the imperfect problem of data source that frame losing/the mistake frame causes or locking.
Embodiment
A kind of loss sampling data processing method based on the third-order spline interpolation method of the present invention may further comprise the steps:
1) counts according to the sampled data of the sample frequency of MU in the digital transformer substation and the transmission of every frame and determine the sampling number that allowing loss under the certain calculation accuracy condition satisfying.With the MU sample frequency was 4800 point/seconds, and every frame comprises 4 sampled point data instances, under one of percentage error of calculation requires, can ask for the loss sampling data approximation of nearly 12 points, promptly allowed continuous 3 frame traffic data error code or loss to occur;
2) to protection each sampling number in the buffering area according to setting up mode bit, when the authentic and valid value of corresponding sampled data, put " effectively " and indicate, when invalid, put the engineering noise sign, if estimated value, then put " estimation ", during initialization, all sampled data states all are set to engineering noise;
3) real-time monitoring device signal intelligence, if there is frame losing/mistake frame condition to take place, mark corresponding sample data mode bit is an engineering noise, after treating that communications status recovers, if the sampling number of loss is not more than allowing of having set when asking for the loss sampling number, then, use three rank spline functions to carry out waveform fitting respectively to be no less than the efficiently sampling data of 3 points before and after the lost data section, ask the approximation of loss sampling data then with interpolation method, and this data corresponding states is put " estimation " mark; Otherwise do not take any measure, or only ask the loss sampling data approximation, but do not change the engineering noise sign of its mode bit;
When 4) protecting computing, the protection timing element is screened statistics to the sampled data state that participates in computing.When the engineering noise sampled data of finding the participation computing is counted greater than M (desirable 3), latch-up protection; When " estimations " sampled data that find to participate in computing is counted when being not more than N (can be different to its value of dissimilar protections, as to the desirable smaller value of quick-action segment protect, the long delay segment protect is then got higher value), can be with its protection time-delay corresponding time of counting of increase; When " estimations " sampled data that find to participate in computing is counted greater than N, then latch-up protection, up to the participation computing be " effectively " sampled data till.
Fig. 1 to Fig. 5 is the waveform fitting situation ask for the sampled data approximation with the third-order spline interpolation method under different loss sampling datas are counted situation after.
Select for use line end to be provided with 330kV, the 250km high-tension line of serial compensation capacitance and shunt reactor, the current waveform when behind the capacitor three-phase shortcircuit taking place is as simulation object, and its equation is described as:
Be of the influence of check cubic spline interpolation to result of calculation, the 20ms internal loss varying number sampled data situation that begins constantly from t=0 has been carried out emulation, now will lose the one piece of data (comprise sampling number and be respectively 4,8,12,16,20, down together) and the simulation result of two segment datas (two segment datas are 4 effective sampling points at interval) is expressed as follows.
Data sampling rate was 4800 point/seconds in the simulation process, and Fu Shi calculates the DFT algorithm that adopts 96 points/cycle.When carrying out the comparison of DFT result of calculation, the interpolation calculation starting point is fixed on the 11st point (t ≈ 2.2917ms) and locates; When carrying out the waveform fitting comparison, the interpolation calculation starting point is fixed on the 1st point (t=0ms) and locates.
Wherein show 1-table 3 and write down the influence of under different loss sampling datas are counted situation third-order spline interpolation method the protection error of calculation.To its further analysis, can obtain following conclusion: 1) interpolation result is different to protection algorithm (DFT algorithm) the result of calculation influence of different times harmonics, and harmonic number is high more, influences big more; 2) generally speaking, the interpolation result error increases and increases with the loss sampling number, and for first-harmonic, when the loss sampling number was not more than 12, the relative error precision was in some thousandths of, and when equaling 16, the relative error precision is in a few percent.
The DFT result of calculation of table 1 each harmonic wave after using cubic spline interpolation under the loss multi-point sampling data cases
Table 1
Table 2 is DFT errors of calculation of each harmonic wave after using cubic spline interpolation under the loss single hop sampled data situation
Table 2
Table 3 is DFT errors of calculation of each harmonic wave after using cubic spline interpolation under two sections sampled data situations of loss
Table 3
Below announced the present invention with preferred embodiment, so it is not in order to restriction the present invention, and all technical schemes that scheme obtained of taking to be equal to replacement or equivalent transformation all drop in protection scope of the present invention.